@cartman82 said in He who laughs last...:
the guy saw the code, saw the deadline and noped the fuck out.
A perfectly reasonable response, at a guess.
@cartman82 said in He who laughs last...:
the guy saw the code, saw the deadline and noped the fuck out.
A perfectly reasonable response, at a guess.
@gordonjcp Auto-formatting in Excel is really annoying. Try putting a single quote at the start of each value to tell Excel to leave it the fuck alone (that single quote won't be displayed).
@Cursorkeys said in Witchcraft not sufficient to understand octal numbers:
The real is
ParseInt
, on a modern language, accepting a string as a octal representation without a format/base specifier. I've only used octal on embedded, never on anything else. Without a base specifier then a base-10 radix should be assumed, it's what ≈100% of people will want.
The real is using a leading "0" to specify octal instead of, say, "0o", to be similar to "0x" for hexadecimal and "0b" for binary.
@steve_the_cynic The function is called absmax, so I guess returning the maximum absolute value is deliberate (making 2 the correct return value in your example). Seems like a really edge case, but why not. The implementation is a huge , though, on that we can agree.
@Cabbage That's one nasty river, for sure.
I assume the reason she hasn't sued yet is lack of funds for a lawyer. If she has kept records of everything as she says, a competent lawyer could have a field day with this case.
@cartman82 I've never smelled anything out of an e-cig. And I hate the smell of tobacco smoke with a passion, so I'd speak up if I did. Maybe it depends on the e-cig model or what they put in it. A former colleague smoked that inside, but he always asked first, and it didn't smell. If your colleague's e-cig smells disgusting, then he should go outside to smoke it. It'd be the same thing with strong-smelling food.
@polygeekery I really need to catch up on sleep.
@mrl said in The Linux command line sucks:
@gurth said in The Linux command line sucks:
Far better to just be told what the general idea is and how to start the game, then learn the rules as you go, if and when they become relevant.
Which means losing horribly to someone already knowing the rules, plus making a ton of errors in next games, because some rules never 'became relevant' in the first play. Not to mention that the first game will drag forever, being interrupted constantly by explaining some random things that come into play atm.
This is just catering to sloppy players with goldfish attention spans.
You're probably going to lose horribly to someone who is a lot more experienced in the game than you anyway. And any experienced player teaching a game to a newbie will explain the mistakes, unless they're a complete asshole (and if they don't, they're not really teaching the game).
@luhmann Also, seeing no one around doesn't mean there's no one around. You should always signal in case there's someone you didn't see. The article has "don't let facts get in the way of a rant" written all over it.
@masonwheeler said in Reflecting on one very strange year at Uber:
I forwarded this absurd chain of emails to HR, and they requested to meet with me shortly after. ... Our meeting ended with her berating me about keeping email records of things, and told me it was unprofessional to report things via email to HR.
Keeping an actual paper trail as evidence of a problem, keeping it from being "your word against their word" is unprofessional?
It prevents them from sweeping the problem under the rug. Yeah, it's a red flag.
@djls45 The abbreviation "Xmas" dates from the 16th century, and the X is a Greek chi standing for Christ (and it's supposed to be pronounced exactly as the full word). So the abbreviation itself is not an attempt at taking the Christ out of Christmas. Feel free to argue that the "Exmass" pronunciation is, however.
@sloosecannon said in Temperature Conversion:
Speaking of fun with temperatures, I enjoyed myself recently by asking my coworkers (some of which are not the brightest crayons in the box) how warm something that's twice as warm as 0°F was. The mental contortions were fun to watch
That's evil. The question doesn't make sense.
@blakeyrat said in Liked for LIBEL:
I honestly think the US (and maybe the UK) are the only sane countries in this department.
The UK? Sane in this department?
@carrievs That thought didn't even consider crossing my mind. I don't want to be near a giraffe-sized reptile with that big a beak.
@mott555 said in Temperature Conversion:
@Khudzlin said in Temperature Conversion:
@sloosecannon said in Temperature Conversion:
Speaking of fun with temperatures, I enjoyed myself recently by asking my coworkers (some of which are not the brightest crayons in the box) how warm something that's twice as warm as 0°F was. The mental contortions were fun to watch
That's evil. The question doesn't make sense.
It makes perfect sense if you think in an absolute scale. If you double 0°F, you get 459.67°F.
Not even then. "Warm" does not refer to thermodynamic temperature.
@BernieTheBernie I recommand a forceful application of a clue-bat. To be repeated until it works.
@ben_lubar said in How dare you use the possessive form of someone's name...:
Aren't all languages that start with L made-up?
Latvian?
@thecpuwizard 24 is a multiple of 8. You probably mean powers of 2 (from 8 up).
@masonwheeler said in Case (in)?sensitive filesystems are :
Is it pronounced with a U? In Britain or anywhere else?
What the hell does pronunciation have to do with case sensitivity or variant spellings? Also, English is among the worst languages for its spelling-pronunciation relationship (right up there with French).
@Rhywden After some trips to Bavaria, I still wonder how anyone can understand Bavarians when they speak (yes, including other Bavarians).
@boomzilla said in Secure electronic voting system:
@remi yeah, they've been hiring and training people at a pretty furious pace. I believe the average pay works out to about $17/hour so you have take what you can get.
So they're paid much more than fast food employees? Outrageous!
@boomzilla said in Why is polygamy illegal?:
I think there's also some factor of cultural evolution. I think polygamy probably has some destabilizing effects at that level. Wealthy and powerful men start taking more women out of the market, leaving many young men without marriage prospects. Unattached and uncivilized young men are bad.
The term "polygamy" doesn't just cover polygyny (one man marrying several women), but any arrangement called "marriage" involving more than 2 people (in various combinations). I agree with you that the wealthy and powerful making life even crappier for the poor is bad, but this is not the whole story when you talk about polygamy.
@gąska And admitting alcohol consumption during the weekend will screw your chances? Way to break the stereotype about Poles.
Would call the guy a douchebag, but he obviously doesn't know squat about feminine hygiene products.
The pedestrian is not entirely blameless in this (though Uber deserves plenty of blame): she was dressed in dark clothing and crossed out of direct illumination; and more, she didn't look at the oncoming car before impact You don't cross a fucking road without looking about for fucking vehicles, for fuck's sake.
@Jaloopa Ah, you want braces to be all alone. How cruel and intolerant of you.
@Gurth said in Case (in)?sensitive filesystems are :
@Khudzlin said in Case (in)?sensitive filesystems are :
English is among the worst languages for its spelling-pronunciation relationship (right up there with French).
English is far worse than French — at least with French, if you see a word written down you can probably pronounce it correctly (given a basic knowledge of the rules, of course) but you can be hard-pressed to write a word correctly if you only know its pronunciation.
I used to think so, too. But when you dig just a bit, you get stuff like "les poules du couvent couvent", in which the last 2 words are pronounced differently (the second last has "en" pronounced as [̃ɑ], and the last not pronounced at all - the final "t" isn't pronounced in either case).
Edit: fuck that shit, can't place the tilde correctly...
@dcon said in So much for the days of no Mac Malware:
You need to record that and have it popup everytime they login. Might be effective...
Nah, they'll just click OK and ignore it.
@error said in Secure electronic voting system:
I tried to vote in the 2016 election, but they wouldn't let me vote in the county I lived in because I was registered in a different county, and they wouldn't let me vote in the county I was registered in because I lived in a different county.
After a long argument with the election official, I was allowed to cast a provisional vote in the county I lived in. I was notified by mail after the election ended that my provisional vote had been rejected.
Dallas county and Collin county are immediately adjacent, and indeed several Dallas suburbs straddle the county line. I had moved about 10 miles north.
Filed under: Every vote matters!, tl;dr: I cast one of the millions of illegal votes for Hillary.
That's surreal. In France, you vote where you are registered, though you are encouraged to change your registration when you move (there was a time I was registered in a city about 350 km from where I lived). Doing so only requires a quick visit to the town hall of the new place (with proof of identity and residency). The change is effective at the start of the following year (you are then removed from your previous place's electoral register and added to your new place's).
@raceprouk Maybe they need disposable income. Anything hoarded doesn't qualify, by definition.
Another stupid wheel-reinventing exercise. Any date/time library worth the name will have ways for format time any way you could want to: 12 or 24 hours, with or without padding 0's...
Prescribed treatment: ruthless application of cluebat, cluehammer or the like, as often as necessary, for as long as necessary.
On this subject, there several separate things that are treated as (almost) equivalent by a lot of laws:
I doubt anyone will disagree #1 is bad. Treating #2 as equivalent to #1 (usually through law that define "child" as anyone under 18, regardless of the age of consent) results in ruining teenagers' lives for no real gain (and that goes doubly in the cases of teenagers being charged for creating child pornography of themselves). Treating #3 as equivalent to #1 is punishing sexual deviance (thoughtcrime) rather than actual acts. If someone is excited by children having sex, I'd rather they jerked off to virtual pictures rather than have go around frustrated, because that'd make them less likely to actually molest children (bear in mind that the availability of porn is correlated with lower sex crimes rates).
@asdf Yeah, this is in the same vein as laws against prostitution or against "sodomy" (quotes necessary because of how broad the legal definitions can be).
@timebandit Yeah, I have to admit you Québec folks have come up with some nice words. For "fake news", I'd go with "intox", which existed long before the 'fake news' fad. Also, no one uses "fouineur" for "hacker", we use "pirate".
@Yamikuronue said in Lockhart teacher Sarah Fowlkes arrested for alleged improper relationship with student:
@dangeRuss Looks like that's specifically illegal: http://www.sharpcriminalattorney.com/practice-areas/improper-relationships-educators-students/
It does seem very broad though. "The law may pertain to any student that is enrolled in the same school district as the educator or is a participant in any activity sponsored by a public or private school or school district." And criminal penalties for an ethical violation, too.
@djls45 It's about using "loc" then "lines of code" in the same sentence, at a guess.
@topspin said in The most pointless ISO standard I've encountered:
@Gąska said in The most pointless ISO standard I've encountered:
@Carnage said in The most pointless ISO standard I've encountered:
@JBert said in The most pointless ISO standard I've encountered:
@dcon said in The most pointless ISO standard I've encountered:
@Gąska said in The most pointless ISO standard I've encountered:
tripcode
That's a character encoding that's designed to trip up all programmers?
You might be thinking of EBCDIC:
The gaps between letters made simple code that worked in ASCII fail on EBCDIC. For example,
for (c='A';c<='Z';++c)
would setc
to the 26 letters in the ASCII alphabet, but 41 characters including a number of unassigned ones in EBCDIC. Fixing this required complicating the code with function calls which was greatly resisted by programmers.Or, as I discovered at a gig, a character set that was almost exactly, but not quite, like ISO 8859-1.
ISO 8859-2?
8859-15
My guess would be Windows-1252.
@Steve_The_Cynic Congratulations! And welcome to France, you bloody rosbif! The questions don't seem too bad, to be honest. Though I couldn't have named 3 members of the government.
@remi said in "Le mobile multifonction":
@khudzlin It can be argued that it is stupid to even have a normative commission for the language. But once it exists, you can't really blame it for doing its job.
Well, I know there are some other languages with normative institutions. There's a Spanish language academy, for instance, iirc. I also know English doesn't have such institutions at all.
Funnily, these proposals usually draw more criticism and mockery from outside France. French people are just used to ignoring it and use whatever they want.
Yeah well, I know I'm not going to adopt whatever they spout without thinking about it. If they come up with something I like, I'll use it. If they come up with something I find ludicrous, I'll mock it. And I bet you do the same.
On the basis of past behaviour by the Unicode Consortium, they'll just declare that they will no longer be sticking to the guarantee to keep codepoints no larger than 0x10FFFF and then they'll have plenty of room at a cost of seriously annoying anyone who works with Unicode in computers.
Again.
The 0x10FFFF cap exists only because of UTF-16, which became so widely used only because of the previous 0xFFFF cap (UCS-2). UTF-8 can easily deal with 31 bits.
@Jaloopa Well, he seems to indent way too much, but the braces are ok.
@LaoC said in Case (in)?sensitive filesystems are :
@Bulb said in Case (in)?sensitive filesystems are :
neither Windows (that use UCS-2, but don't really understand it),
Not since Windows 2000, now it's UTF-16. Worst of both worlds: variable length and always at least twice the memory.
Many old Windows programs ignore the fact that UTF-16 is variable-length and don't handle surrogates. In effect, they're using UCS-2 instead. I agree that UTF-16 is the worst Unicode encoding: it has variable length (though only UTF-32 doesn't), endianness (only UTF-8 doesn't) and it takes more space than UTF-8 (though less than UTF-32, obviously).
You could do it like movie credits: saying who did what.
@djls45 said in Signs your code is unmaintainable:
I'd always wondered what those other weird paper sizes were. A4 is ~5.9 mm narrower and ~17.6 mm longer than the 8.5"x11" paper size. TIL
The ISO paper sizes are defined by an aspect ratio of sqrt(2), which makes them great for scaling. Increasing the number by 1 while keeping the letter halves the area of the sheet. The A series is defined by A0 being 1 m², the B sizes are the geometric mean between adjacent A sizes (B0 being larger than A0) and the C sizes use the geometric mean between A and B sizes with the same number.
@timebandit said in "Le mobile multifonction":
@quijibo said in "Le mobile multifonction":
arguing French broadcasters should say it the French way
You NEVER translate people's name.
Hang those purists !
Actually, names of historical figures, such as monarchs, are usually translated. And current popes get the same treatment.