Comment Re:passionate (Score 1) 345
Darn, I replied to the wrong one.
Come on moderators! This is funny! First thing I thought when I saw the headline.
Darn, I replied to the wrong one.
Come on moderators! This is funny! First thing I thought when I saw the headline.
Come on moderators! This is funny! First thing I thought when I saw the headline.
I think you could also add this after the if clause:
else {
pp = &(entry->next);
}
Ugh, yes that's right. I was trying to keep it in his words and forgot to change entry.
Anyway, I'm sure he's referring to the extra conditionals to check prev/current, not for determining the correct entry.
I think this is what he prefers to see in code:
struct node {
int x;
struct node *next;
};
struct node *list_head;
int main(int argc, char *argv[]) {
delete_item( &list_head );
}
void delete_item(node** pp, int i) {
for ( node* entry = *pp; entry; entry = entry->next ) {
if (entry->x == i) {
*pp = entry->next;
delete entry;
break;
}
}
}
I did this about 6 months ago and it's working out great. I would also recommend getting a drafting chair so that you can "sit" at the desk when needed without having to adjust the height. You WILL get tired of standing all the time and it's probably better for your body to alternate between the two.
Yep, all of our college workstations ran TWM as the default. If you really knew what you were doing, you compiled or borrowed FVWM from someone else and built up an awesome config file.
You could always tell who was a hardcore hacker because they had either A) a highly customized FVWM or B) a single window in TWM running emacs, vi or gdb. Everybody else had a mess of windows strewn about the TWM desktop.
This is the option I wanted to pick. That or TWM.
Can't speak for all medical equipment, but I worked on a major IV pump and it used time in exactly this way. The dosages were rate or interval based and the pump strictly used the internal clock to calculate elapsed time. There was a "clock" on the display but it was only used for display purposes, you could set it for 1:00 am Mar 3, 1983 and it would still work correctly.
Mod the parent up. I used to program IV pumps and this is exactly what was done. You never used the wall clock or "display time" for dosages. It was always based on a rate and the internal clock always kept track of time differentials, not the actual time.
It's also got front and rear facing cameras. Ever since I installed a terminal, ssh and a code editor, I haven't felt the need for rooting the device, even though it's possible.
I would mod this up, instead I'll post a comment highly recommending it. I own one and use it as a target for game development. It's also got GPS. I hook up a small USB keyboard for those times when I need to do a lot of typing. It will accept a Bluetooth keyboard, but you can't use those on an airplane.
Of course, the Iconia wasn't even announced until after the article was published.
After using the G-Tablet for a few months, I gave it up in favor of the Acer Iconia. The Iconia runs Android 3.0, has GPS, supports a Bluetooth keyboard and has good viewing angles which G-Tablet had problems with.
Certainly not as small as an iPad but it's been a pleasure to use. I mainly use it for testing Flash games. I looked at a more than a few of the devices in the article and none of them could compare to the G-Tablet or Iconia.
He has not acquired a fortune; the fortune has acquired him. -- Bion