941 reputation
169
bio website retracile.net
location
age
visits member for 4 years, 2 months
seen Jul 25 at 22:29

Software engineer, http://retracile.net from kernel to security to source control. And I have my own business, https://brickbuiltnameplates.com — LEGO® nameplate sets for your desk!

(Not affiliated with The Lego Group.)


Sep
29
awarded  Yearling
Sep
24
awarded  Autobiographer
Sep
29
awarded  Yearling
May
14
awarded  Announcer
Sep
29
awarded  Yearling
Aug
30
comment Teaching version control (git, mercurial) to undergraduates?
@Matt: I used RCS + home-grown scripts in my very last CS class, at the direction of the professor. A student asked about using CVS instead and the prof scoffed, deriding it as "RCS plus some buggy scripts". The irony was not apparent to me until much later, sadly. (Oh how time flies... this event predates Subversion.) To have had CVS from the beginning...
Aug
30
answered Teaching version control (git, mercurial) to undergraduates?
May
15
comment designing large scale applications in a low level language
As for the Linux kernel, the driver code uses structs with function pointers, as do a number of other areas. Once you've seen the pattern, you should be able to find more examples in the kernel sources.
May
15
comment designing large scale applications in a low level language
And of course the extreme case is to write a programming language in C, and then implement your large application in that language. Though you might call it a "DSL"... ;)
May
14
answered designing large scale applications in a low level language
Apr
7
awarded  Great Answer
Apr
5
awarded  Mortarboard
Apr
5
awarded  Good Answer
Apr
5
comment How do you maintain focus when a particular aspect of programming takes 10+ seconds to complete?
@faif In that case, you want to use ; instead of &&. Your second example will only run show_message if make succeeded, which isn't quite what you want. To be clear: I do like the example you gave, I'm just being picky about the implementation details. ;)
Apr
5
comment How do you maintain focus when a particular aspect of programming takes 10+ seconds to complete?
This works well in combination with my answer... set your speakers loud enough to hear it across the room in your walk so you can cut it short. (Such as that 10-minute build that terminates after 30 seconds due to a syntax error.)
Apr
5
comment How do you maintain focus when a particular aspect of programming takes 10+ seconds to complete?
@faif: you don't need the &&; having it means you're setting a variable in one command, then running a command that uses it as a second command. If you remove the && you will set the variable for the xmessage command only, and you won't have a left-over MSG variable hanging around in your shell.
Apr
5
awarded  Nice Answer
Apr
5
answered How do you maintain focus when a particular aspect of programming takes 10+ seconds to complete?
Mar
1
revised Scheduling Algorithm for Scheduling Life
added 331 characters in body
Mar
1
answered Scheduling Algorithm for Scheduling Life