Click here to Skip to main content
15,891,424 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Cloning disks - UEFI hell Pin
Southmountain31-Jan-20 18:15
Southmountain31-Jan-20 18:15 
GeneralRe: Cloning disks - UEFI hell Pin
charlieg1-Feb-20 4:03
charlieg1-Feb-20 4:03 
GeneralRe: Cloning disks - UEFI hell Pin
Randor 1-Feb-20 6:31
professional Randor 1-Feb-20 6:31 
GeneralRe: Cloning disks - UEFI hell Pin
dandy7231-Jan-20 9:23
dandy7231-Jan-20 9:23 
GeneralRe: Cloning disks - UEFI hell Pin
kmoorevs1-Feb-20 10:52
kmoorevs1-Feb-20 10:52 
GeneralRe: Cloning disks - UEFI hell Pin
charlieg3-Feb-20 7:59
charlieg3-Feb-20 7:59 
GeneralRe: Cloning disks - UEFI hell Pin
charlieg12-Mar-20 9:41
charlieg12-Mar-20 9:41 
GeneralIt has been a long time since I've had to use other people's code Pin
honey the codewitch31-Jan-20 7:58
mvahoney the codewitch31-Jan-20 7:58 
My latest experience was mostly a bad one. The code was a zoo, with scarcely any encapsulation or overarching design. It had clearly never been factored, nor had it been maintained in six years. Who was it that said "software rusts?" They're right.

But still, Rolex is done and posted, sooner than I expected. It's rough around the edges but I don't care because everything important works. It's an interim release anyway until I finish my own engine.

The good news is, it supports unicode and some additional regex features like anchors (important for things like C# preprocessor directives that must appear at the beginning of a line - not counting whitespace)

I also integrated it with Visual Studio, and I'm pretty proud of my integration.

For starters, I use it as out of process from visual studio so I didn't have to create hooks into the main program. I just pass command line arguments and capture output.

I used a little trick wherein I reference the Rolex.exe as a Referenced assembly (yes, you're allowed - in .net an assembly is an assembly so an exe is just a class lib with an entry point)

That way the binary is "tied" to the devstudio project, and even though it calls it out of proc, it will carry the assembly with it due to the reference. I couldn't have called it in proc, by calling Main() directly because then I couldn't capture output.

I also use a trick wherein i scan the current project to see if the shared library code was already generated so I don't generate it again. It's cool that visual studio lets you do that. I just wish they'd get rid of the grotty COM interfaces and go managed and clean up the API, but oh well.
Real programmers use butterflies

GeneralRe: It has been a long time since I've had to use other people's code Pin
Eddy Vluggen31-Jan-20 11:51
professionalEddy Vluggen31-Jan-20 11:51 
GeneralRe: It has been a long time since I've had to use other people's code Pin
honey the codewitch31-Jan-20 12:07
mvahoney the codewitch31-Jan-20 12:07 
GeneralRe: It has been a long time since I've had to use other people's code Pin
Eddy Vluggen31-Jan-20 12:33
professionalEddy Vluggen31-Jan-20 12:33 
GeneralRe: It has been a long time since I've had to use other people's code Pin
honey the codewitch31-Jan-20 12:40
mvahoney the codewitch31-Jan-20 12:40 
GeneralRe: It has been a long time since I've had to use other people's code Pin
Eddy Vluggen31-Jan-20 12:57
professionalEddy Vluggen31-Jan-20 12:57 
GeneralRe: It has been a long time since I've had to use other people's code Pin
honey the codewitch31-Jan-20 13:51
mvahoney the codewitch31-Jan-20 13:51 
GeneralRe: It has been a long time since I've had to use other people's code Pin
Eddy Vluggen31-Jan-20 14:08
professionalEddy Vluggen31-Jan-20 14:08 
GeneralRe: It has been a long time since I've had to use other people's code Pin
honey the codewitch31-Jan-20 14:32
mvahoney the codewitch31-Jan-20 14:32 
GeneralRe: It has been a long time since I've had to use other people's code Pin
Eddy Vluggen31-Jan-20 15:04
professionalEddy Vluggen31-Jan-20 15:04 
GeneralThought of the Day Pin
OriginalGriff31-Jan-20 4:45
mveOriginalGriff31-Jan-20 4:45 
JokeRe: Thought of the Day Pin
Alberto Escobar Jiménez31-Jan-20 4:53
Alberto Escobar Jiménez31-Jan-20 4:53 
GeneralRe: Thought of the Day Pin
W Balboos, GHB31-Jan-20 5:48
W Balboos, GHB31-Jan-20 5:48 
GeneralRe: Thought of the Day Pin
Mike Hankey31-Jan-20 7:40
mveMike Hankey31-Jan-20 7:40 
GeneralRe: Thought of the Day Pin
Daniel Pfeffer1-Feb-20 8:50
professionalDaniel Pfeffer1-Feb-20 8:50 
GeneralWhen facebook lists your rear as place Pin
dan!sh 31-Jan-20 3:31
professional dan!sh 31-Jan-20 3:31 
GeneralRe: When facebook lists your rear as place Pin
dandy7231-Jan-20 4:51
dandy7231-Jan-20 4:51 
PraiseRe: When facebook lists your rear as place Pin
Greg Utas31-Jan-20 6:49
professionalGreg Utas31-Jan-20 6:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.