1,880 karma · joined November 17, 2013
Well excuse me for not fitting your prejudiced profile for a neurotypical extroverted 20-something white male. Yes, I might have needed the clarification between "how long will it take you to paint the room" vs "how long until the room is back the way it was with the walls in a different colour", but you help noone when you talk down to the painter like that. You asked a question and I misunderstood, because we use slightly different language and I have a ton of other things to think about all the time.
Can we stop this "oh let's treat engineers like they're children with mental development issues" already? I'm not some god in an ivory tower, I don't want you to kneel before me, I just want the usual everyday respect you afford to your peers and to engage with me as one professional with another.
This kind of treatment is not ok.
Plus, you are (were) one of the dorks and your sister is one of the cool kids. The two groups have noticeably different modes of socialising.
So,
copy_sz = src_sz < (dest_sz - dest_off) ? src_sz : (dest_sz - dest_off - 1);
...
*dest_end = '\0'; char buf[256]; buf[0] = 'x'; buf[1] = '\0';
strcatm(buf, buf, buf, buf);
producing a string of 16 'x's // This code is licensed under CC0.
// A copy of the license can be obtained at https://creativecommons.org/publicdomain/zero/1.0/
// May you forever catenate in peace.
#define strcatm(...) strcat_multi(__VA_ARGS__, NULL);
char* strcat_multi(char *dest, ...) {
va_list srcs;
char *dest_end;
const char *src;
size_t src_sz;
va_start(srcs, dest);
for (dest_end = dest; *dest_end; dest_end++);
for (src = va_arg(srcs, const char *); src; src = va_arg(srcs, const char *)) {
src_sz = strlen(src);
memmove(dest_end, src, src_sz);
dest_end += src_sz;
*dest_end = '\0';
}
va_end(srcs);
return dest_end;
}
There. Now go and catenate, children.Plus, e.g. Comodo gives you a firewall. While I know that Windows has a perfectly good firewall, it doesn't come with a systray icon with a button labeled "protection from active network probes: active" or whatever.
Personally, I just have a router between me and the big bad internet and use Security Essentials plus Common Sense 2012.
Annnd that's a downvote. This community prides itself on good, honest discourse and high-level language. Please don't bring us down to the level of a 7-year-old redneck.
Paper maps work by having a reference on the back telling you at which rough coordinates building N in district X is and our homegrown online maps simply have all the GPS coordinates for every building.
However, in Google's case, half the time it fails if I write "City, district number". It knows, say, building 219, but not 220, even though they're right next to each other. It seems to treat the entire "district number" string like a property name, like if you have a property called "the awesome steakhouse" and type "the awesome steakhouse" in maps, it shows you where the awesome steakhouse is in the city.
/rant
I am not trying to harp on Vim or Emacs, I myself am a Vim user and use it for C++ code.
People like him are what's wrong with society today and nothing short of a bloody revolution will set us back on the right path.