« first day (1418 days earlier)      last day (3523 days later) » 

12:00 PM
it's fairly complete
they don't like it very much though since I did not fill in any previous experience
 
you're applying for a junior position anyway vOv
 
inorite
 
@Ell afaik, most of us don't work as consultants
 
12:02 PM
Bartek & lightness avatars can be a cute couple
 
> the time at eBay headquarters in San Jose, California in the United States
 
Ell
@LightnessRacesinOrbit I misread that as downsdetector.co.uk :S
 
@Ell I've never worked as a consultant and I don't think I'd want to. My only advice would ever be "Your software is terrible, throw it in the bin and find yourself something better to do."
 
@Ell haha
@R.MartinhoFernandes but whyyyyy
@chmod711telkitty wot
 
Ell
I just don't know what to put into google :P a lot of places need software
 
12:04 PM
go work for pornhub
 
@LightnessRacesinOrbit Maybe a safeguard against timezone woes? If you always report times in eBay time, you don't run the risk of reporting the wrong time because it rained in Argentina.
 
@R.MartinhoFernandes to be fair, it rains quite a lot in Argentina
 
@R.MartinhoFernandes You do if they move their headquarters, though.
 
what the fuck has Randall done
 
@Puppy Yes, but I'd expect them to be aware of that and act accordingly.
 
Xeo
12:08 PM
@LightnessRacesinOrbit ?
Did he trap you?
 
he made a fucking weird post
 
@BartekBanachewicz Turns out that I left a link to my blog on Careers 2.0 instead of my website.
that can't have aided matters.
 
Xeo
@LightnessRacesinOrbit Eh
 
this .. this ...
 
Xeo
Yes, I saw that already. I don't get what's so "fucking weird" about it
 
I think it's kinda neat
 
how can I say "divide by two in domain of T"
/ T { 2 } ?
 
if you already have a T, then just divide it by two and let T figure out what that means.
 
the worst thing about being a talentless newblet is that ... there is no hope.
 
12:24 PM
overloaded numeric literals are weird
btw you know
now that fred has linked "the free lunch is over"
I am starting to understand why FP might be such a big hit nowadays
 
Yay emerge firefox see you in ten hours!
 
maybe the free lunch is over because ... too many of their employees are overweight
 
> Concurrency is the next major revolution in how we write software. Different experts still have different opinions on whether it will be bigger than OO, but that kind of conversation is best left to pundits. For technologists, the interesting thing is that concurrency is of the same order as OO both in the (expected) scale of the revolution and in the complexity and learning curve of the technology.
 
@ThePhD I don't see that as problem.
The still-effective comeback is "what is random access for?"
 
ooh PebbleBucks is opensource
I could fork it to work with Starbucks.pl
 
12:32 PM
@R.MartinhoFernandes your ass?
 
The difference between Swiss and American news media. http://t.co/mhC0i7YXmL
4
 
Ell
Do any of you guys use firefox and have the lounge pinned?
 
@Ell Look for places that are hiring software developers?
@Ell Yup?
 
Ell
I like how it saves space but I find it kind of clunky to switch to quickly
 
@Ell I have a dedicated monitor for the lounge
 
12:35 PM
@Ell I have.
 
@EtiennedeMartel Impressive.
 
Ell
At the minute I do ctrl-L, type "l", down arrow key, enter
but I want a quicker way and I'm not sure what's best
 
@FredOverflow maybe they don't supply the free lunch any more after a health check? I could not but notice the magpies in the parks are at least 20% fatter than the wild ones in remote areas because they get free handouts from human
 
@Ell I just ctrl-tab to it (since my active tab is usually one of the last ones, so ctrl-tab once or twice wraps around to the lounge)
 
Ell
I never knew about ctrl-tab, I always used ctrl-pgup/pgdown
 
12:39 PM
uh
this code uses a lot of >=
I am subconsciously adding another ">" to them :P
 
Ell
I want to write a maths webapp
Typing prose is much quicker on a keyboard, but writing maths isn't, and I feel like it ought to be
 
@Ell Ctrl+1, Ctrl+2, Ctrl+3, ...
 
Ell
@R.MartinhoFernandes Hm. Doesn't work for me o.O
 
works just dandy for me.
maybe it's a Windows Master Race thing.
 
Xeo
@Ell Linux? I think that uses alt-1 etc
 
Ell
12:45 PM
@Xeo Ah yeah cheers
That's pretty useful, thanks guys :P
 
Xeo
Eww naked new!!
and even delete!!
what about that code is pretty?!
 
Your reaction.
 
Xeo
You're even leaking port. Tztztz.
 
It's on purpose.
 
Xeo
12:49 PM
I guessed as much.
 
robot
what operating system is you using?
cause I saw "Made further changes to EV_CLEAR handling in the kqueue backend, to address other cases where the close() system call may hang on Mac OS X." in Boost 1.56 changelog
 
Windows because I can't repro this elsewhere.
 
ah ok
 
Oh, should mention it.
 
@R.MartinhoFernandes Your code is bad and you should feel bad
 
12:50 PM
I got scared when I saw I was using 51% of the available RAM with just chrome but then I remembered I've only 4GB on the laptop
I should get more ram on it too
though if I upgrade it I won't feel like getting a new one anytime soon
it's a dual core disguised as a quad but it still does the job well
 
Xeo
Hm, damn, thanks to the massage I totally forgot to eat.
 
in JavaScript, 1 min ago, by Benjamin Gruenbaum
@MarcGravell well, flagging (user flags, not mod flags) has been really broken for a while now (legitimate messages get get users banned, bad messages tend to get by just fine). Better room owner access control would be really nice.
This got flagged.
 
Xeo
what
 
@R.MartinhoFernandes Ye I can get it not to hang on my end.
 
food is essential
you can trust Puppy to have plenty of experience on this.
 
Xeo
12:54 PM
@Puppy I know. Which is why my stomach is telling me to grab some.
 
I have teh steaks for dinner:)
 
@Xeo oh wait, maybe that's where I got it in the first place :) I sometimes "deferred-open" tabs and only later do I encounter them (at which point in time I can't tell how it got opened)
@Xeo grab someone
 
@sehe Personally I find other humans are too effective at resisting being eaten, especially in groups, for them to be a useful food source.
 
@LucDanton I tried on Linux before and couldn't repro.
Kinda annoying too, because I couldn't get debug output on Windows. (Mysteriously, on Windows I can only get that output if I redirect to a file)
 
12:58 PM
@Puppy You underestimate the extra satisfaction you can get from the victory
 
Xeo
Hm. Didn't C# have something akin to .? as an operator that forwards null?
 
@Xeo Wiki tells me it’s ??, possibly?
 
Xeo
Nope, that's just something_null ?? a_default :(
 
@Xeo it has ?? which is basically (a != null) ? a : b and c#6 is adding .?
 
Oh, looks like I thought yours was the null coalescing op.
 
Xeo
1:01 PM
Not usable for accessing members
@Mgetz ah, so it's C# 6
 
Supposed to be called the null propagating operator then?
 
Xeo
right
"propagate" is the word I was missing there
 
is this correct or is it missing something? coliru.stacked-crooked.com/a/74ce907ccce1a831
 
Xeo
make_array<int>(3.0, 2.f) version, maybe
 
Xeo
1:05 PM
also, if you're using common_type, you also need a proper static_cast to that type
Since init-lists don't allow differently-typed initialisers
 
@Xeo Init lists do. Init-lists don’t, or something like that :Þ
 
Fucking sequence-point crap was the top of the new questions this morning. I've been shopping, got back and... guess what is top again?
 
Xeo
@LucDanton list-initialisation, if you wanna be pedantic :)
 
> list-initialization limits the allowed implicit conversions by prohibiting the following:
seems to follow sane rules that you want with this as well
 
Xeo
oh right, 'twas just narrowing conversions
 
1:08 PM
oh and constexpr is missing, if C++14
@Xeo and disallowing narrowing conversions by default seems sane
 
You kinda want C++14 for std::common_type. Not a crime if it’s not though. No SFINAE in C++11.
Well, I want it.
 
I don't understand
why do I want c++14 with common_type?
 
Heh, I can’t make a demo. 4.9 SFINAEs even in C++11 mode apparently.
 
@LucDanton could you give a "demo" of what you would expect to go wrong?
 
Xeo
1:11 PM
accessing common_type<T...>::type when there's no conversion available is a hard-error in C++11, soft-error in C++14
 
why would I want a soft-error?
 
Well, if you do add an overload ;)
 
if there is no conversion available, what behaviour would be sane?
 
A ‘no relevant overload found’ error with appropriate concepts appearing when the candidate overloads are enumerated.
 
@LightnessRacesinOrbit eww
 
1:16 PM
 
it seems GCC only adds a warning, rather than an error on implicit narrowing conversion
 
Gah, even recent enough GCC 4.8 SFINAEs!
 
Ell
f(x) = x/x, g(x) = 1. Are these two functions the same?
 
depends on the interval in which x takes values
 
@sehe seems legit D:
@Ell bo
 
1:28 PM
f(0) != g(0)
 
zch
@AlexM. SIGFPE
 
@Ell try typing them into ghci :)
 
pretty neat: vimeo.com/89394659
 
Prelude> let f x = x / x
Prelude> let g x = 1
Prelude> :t f
f :: Fractional a => a -> a
Prelude> :t g
g :: Num a => t -> a
look I was so nice to type it for you :P
 
what's the difference between spammers and big corporation's marketing team or are they essentially the same thing?
 
1:31 PM
@nightcracker I thought that there could be an example with ambiguous ranking of integral types, but I think I misremembered. An actual example would probably need contrived user-defined conversions/class hierarchies, or generic lambdas (but if you have generic lambdas you have a nice std::common_type so…).
 
@LucDanton so this version looks good?
 
The gist of it being that you find two types that don’t have a common type, but can still each be converted to one type C. Then I would expect make_array<C>(a, b) to fail, instead of doing the right thing (with a badly behaved std::common_type).
@nightcracker In C++14, yes. In C++11, I’m not sure you need to worry about those cases.
 
@Ell They don't behave the same for x where division is undefined, like infinity, NaN or 0.
 
Ell
Right okay, I thought that was the case
 
Ell
and now I realised whenever you divide by variable in any circumstance, you should add that that variable can't equal 0
 
why bother?
the reader is probably smart enough to realize that division is not defined for every possible thing, ever.
 
I haven't divided by 0 in ages
 
#greatsuccess
 
1:39 PM
uh
uh #2
 
Prayer in C ... guess you guys would turn into prayers if forced to write in C
 
the aviation one is funny.
 
@LightnessRacesinOrbit hehe
 
"You'd be arrested for... well, I'm not sure what."
 
1:41 PM
:D
 
@BartekBanachewicz What?
 
@VáclavZeman I suspect the first one is the original one
 
@BartekBanachewicz Ah.
 
@Ell Since you’re mentioning integer division, there’s also the classic INT_MIN / (-1).
 
Ell
1:48 PM
@Puppy for correctness sake
 
Mmm, the bra advert on my usual news site again. :)
 
@AlexM. I'm plenty paranoid enough to opt-out of this crash reporting opportunity
 
@LightnessRacesinOrbit lol
 
 
@sehe #reliability
 
1:49 PM
#privacy #sensitivity
 
@sehe "we need to make sure it wasn't one of your passwords that caused the crash... yeah"
 
@sehe You can analyze it locally and send a limitted bug report only.
 
gosh
this article is so... enlighting
I was so dumb before reading it
 
@AlexM. sumtin' like that. It's the OS crash reporting though, kinda sure it has no special casing for KeepassX, but still; I wouldn't want it sending the raw memory dump in the first place
 
1:51 PM
@VáclavZeman The Free Lunch is Over
 
@BartekBanachewicz it was so dumb that didn't read it yet. It's yeeeeeeeeeeeeeeears old o.O
 
@sehe Does it ask for a password when you submit a report?
Aw, didn’t even try :(
 
@Ell The code is no more or less correct regardless of whether you re-state a fact that everybody already knows.
 
on an unrelated note I really like my enlarged fonts so far
 
1:52 PM
why not state every time you de-ref a pointer that it cannot be NULL?
or every time you call a function that it must have been defined with the appropriate ABI?
 
Ell
@Puppy It's not code, I was talking just general maths
and of course correctness is required to gain exam marks
 
gotta work on colour-coding too
 
the same general principle applies in both cases.
although exam marks are a bit of a different thing
 
@LucDanton I suppose it would ask root/sudo authentication - depending on options available.
 
Ell
Yeah
 
1:53 PM
 
1
Q: gcc craps with template recursion, clang does not

user4004359Comparing clang 3.4.2 and gcc 4.9, which is correct for the following code? #include <iostream> template<typename T> struct SelfRec { static const int value = SelfRec<T>::value; }; int main() { std::cout << SelfRec<int>::value << std::endl; return 0; } clang prints 0, gcc gives t...

 
@BartekBanachewicz moar distractjuns
 
> Everybody who learns concurrency thinks they understand it, ends up finding mysterious races they thought weren’t possible, and discovers that they didn’t actually understand it yet after all.
thank god for STM
 
0
Q: Why C++ version of file parser is slower than Python one?

Gelo VolroThere is such a code, which parses a file: #include <string> #include <vector> #include <sstream> #include <fstream> using namespace std; std::vector<std::string> &split(const std::string &s, char delim, std::vector<std::string> &elems) { std::stringstream ss(s); std::string item; ...

 
ironically my application can contain races because while my get and put are atomic, the operations using them are not :F
 
Ell
1:56 PM
@LucDanton ahh that's interesting
 
@milleniumbug My GCC loops in constant space, what an improvement.
 
@BartekBanachewicz Time for another classic: There Is No Silver Bullet
 
@GeloVolro you should disable autocorrect
apparently it replaced "hello" with your question
 
Xeo
@milleniumbug Shouldn't that be indeterminate, and thus UB on reading?
 
hey you bitbucket users
 
1:59 PM
@Xeo UB for compilation is a bit unusual. There’s also the consideration of required diagnostics.
 
can I move issues from one repo to another?
 

« first day (1418 days earlier)      last day (3523 days later) »