« first day (1469 days earlier)      last day (3478 days later) » 

4:05 PM
@AlexM. WAIT WHAT
I can barely even
 
I like how the programmer before me checked if a pointer was null but then went ahead and dereferenced it anyway
"maybe if they see this check they'll ignore the rest of the shit"
 
Everything is working against me with Snow Leopard.
Nobody supports anything about it anymore.
 
oh noes
what will you do?
 
I'll have to upgrade
 
inb4 new OS X versions run too slow
upgrade to a PC
 
4:13 PM
lol
upgrade to linux maybe
 
linux works too
 
I'm fairly sure I will never go back to windows
Willingly
 
@Jefffrey If you're using that, you don't have an ounce of sense..
 
Because Mac OS X?
 
user1804599
Hello.
 
4:17 PM
@Jefffrey ..because 'snow leopard (Panthera uncia), also called ounce, long-haired cat, family Felidae, grouped with the lion, tiger, and others as one of the big, or roaring, cats.'
 
This makes no sense.
I'm losing my sanity.
 
I know
how can you even compare OS X to Windows
OS X doesn't have teh gamez
// Sleep a little so the game loads faster on consoles :)
Thread.Sleep(rnd.Next(3000, 8000));
 
minecraft is all i need
 
I won't sleep (pun not intended) until I prove that's what happens in the AAA scene
(also I'm a thief yes)
 
@MartinJames I'm sorry I've ruined the pun.
 
4:20 PM
@Jefffrey No problem, most of my puns need ruining:(
@R.MartinhoFernandes Yes, but at least you don't have to block while going insane. The madness will call you back.
 
Android is so awesome.
 
@R.MartinhoFernandes there are some random apps like flashlights and so on that require the same permissions
 
Xeo
@R.MartinhoFernandes "Aaaand... nope."
 
Yeah, all Google's fault.
 
they look like sinks for your private data, but only when you find out that some carriers sell phones with those apps pre-installed can you confirm that
 
@R.MartinhoFernandes lol
 
> Auch auf Bild.de findet Coco sich zurecht
 
Bild looks like a nice, intellectual read.
 
@R.MartinhoFernandes :3
 
Xeo
@MartinJames Very.
 
4:40 PM
Does "sich zurecht finden" mean "to find oneself at home" or something?
 
@Xeo I'm kinda guessing that the 'Science and Technology' articles are in short supply.
 
user1804599
@AlexM. wat
 
user1804599
lol
 
see this
1 hour ago, by Etienne de Martel
So he did this:
 
Xeo
@R.MartinhoFernandes Kinda - it just means that you know your way around, and aren't lost (not just geographically)
 
Xeo
@R.MartinhoFernandes What sanity?
 
Heh.. Cameron is refusing to pay his top-ups. With a bit of luck, he'll get cut off:
http://www.theguardian.com/politics/2014/oct/24/david-cameron-refuses-pay-eu-bill-december-deadline
 
Xeo
@R.MartinhoFernandes Yes, you could also translate it as "not-Robot" for the geographical case.
But "Sich mit C++ zurecht finden" also means that you know C++ enough to not be lost, for example.
 
@R.MartinhoFernandes heh, that reminded me of this gamasutra.com/view/feature/132500/…
see The Programming Antihero
 
Xeo
"Ich find mich schon zurecht" or "Ich komm schon klar" is often said if somebody is offering you help for whatever, and you don't necessarily need it.
 
4:45 PM
I think Snow Leopard uses the exponential completion bar
Or whatever it is called
 
Xeo
@R.MartinhoFernandes In this specific case it just means that Coco has no problem using the webpage.
 
Every unit of work basically contributes to smaller and smaller parts of the bar.
So that the last 5% basically take just as much as the rest 95% all put together.
 
@MartinJames "The monies involved amount to about one fifth of the UK’s current annual contribution to the EU budget." They... they wrote "monies".
So weird.
 
@R.MartinhoFernandes It’s because it’s so much they have to dip into the Euro jar, too.
 
@R.MartinhoFernandes IKR. It's actually common usage but I don't know why.. Also, it's not worth bothering about. It's a third of the cost of the Berlin airport fiasco and 1/25 of the incoming British 'HS2' rail fiasco.
 
4:52 PM
A what.
Third?
WTF.
Oh, it is.
So, about the original cost then.
 
Xeo
@MartinJames Wait, there are bigger fails than the BBI in the making?
 
@R.MartinhoFernandes It should be obligatory for ministers and civil servants to describe government spending in well-understood terms, eg: "We should not be wasting half an HS2 on road maintenance", or "Health service boost of 2.5 airports announced today".
@Xeo Sure - UK is excellent at it.
 
@MartinJames But, "cost of one Berlin airport" is not a well-understood term. :P
 
@R.MartinhoFernandes It is in the Lounge, thanks to your efforts:)
 
Xeo
Yeah, it's a rather misunderstood term - even the ones making it don't know its definition
 
4:59 PM
This is a guaranteed BBI-level++:
http://www.bbc.co.uk/news/uk-16473296
You may notice that the HS2 line links up three airports. The ticket costs will be so high that, as soon as it opens, Ryanair will put on a domestic service on the same day at a third of the price.
 
Xeo
lol
 
5:21 PM
panics
Got invited to maybe give an intro talk on Rust, WTF :|
 
Xeo
hahahaha
 
Whatcha laughing at :<
 
@R.MartinhoFernandes you know of such things?
 
Yes. No. Maybe.
 
"Hey, we've still got one slot to fill at the conference, maybe summat on Rust?", "Sure, but where can we find some moron willing to .... Oh! Hang on!....".
 
5:26 PM
Good stuff
just troll them with a bucket of old nails :P
 
I mentioned that I've been looking at Rust to some people a while back and now they're "OMG talk" on me :<
 
hint: no
 
@R.MartinhoFernandes Careless talk costs lives.
 
and evenings it seems
 
5:29 PM
Coins in tiny denominations should die
 
It's the first Rust user group meeting in Berlin. I'm not sure if I'm up to par for it.
 
@CatPlusPlus What would I throw into the charity tins then?
 
I also feel like I'm being denied an opportunity to be a noob for a while.
 
@R.MartinhoFernandes Throw some Owatrol on it.
 
@MartinJames They should install terminals if they want money
 
5:31 PM
@CatPlusPlus Bitcoin ATMs.
 
How do you rattle an ATM? Aren't they a bit heavy?
 
user1804599
1¢ and 2¢ are rounded off here.
 
user1804599
If you buy something for 99¢ you have to pay €1.
 
user1804599
If you pay cash.
 
@rightføld I have a jarfull of EuroUseless coins. I don't know why I keep them.
 
user1804599
5:34 PM
Cash is terrible and silly. I never pay cash.
 
user1804599
I don't even have any cash.
 
I love talking to atheists, because no matter what they say back, I win.
 
What happens in, say, Berlin, if I walk into a bar with 250 2¢ coins and ask for a beer? Are they obliged to serve me?
 
They arrest you for terrorism
Oh wait no that was US
 
And Canada.
You can say North America now.
 
5:37 PM
Oh hey Microsoft bought Nokia
rip
 
user1804599
@MartinJames Them being obliged to serve you anything would be silly.
 
user1804599
However, this is EU so that's to be expected.
 
Hmm.. toying with the idea of rushing off to shop so I can get back before the road-works portcullis shuts on teh A50 at 2000:(
 
boost ptr_containers are pretty useful. Much more convenient than messing with vector of smart pointers.
 
user1804599
They want to forbid smoking in cafes by law.
 
user1804599
5:40 PM
It's so horrible I don't even
 
It's obsession.
 
user1804599
@StackedCrooked Is there unordered ptr set?
 
> Claim that Ebola virus deployed by US to combat Chinese expansion in Africa
 
Ah, that was a nice codementoring session
Apparently I can write in C
 
@MartinJames I doubt they're obliged to serve you, but if they've already served you so you owe them a debt, they're probably obliged to accept the coins as payment. I don't know EU law on that with any certainty, but most governments decree that all denominations of their currency have to be accepted inside their jurisdiction for all debts (e.g., at least in theory, even if you used coins to pay for a house).
 
5:42 PM
@rightføld yeah
 
user1804599
@StackedCrooked is that hash table or useless ordered crap?
 
@JerryCoffin Yeah. I guess the chances of getting a second beer would be small:)
 
user1804599
Hmm wait, you can look up an std::unique_ptr<T> key by T* in C++14 right?
 
@rightføld there's also ptr_unordered_set
 
user1804599
Nice.
 
5:43 PM
@JerryCoffin The US used to have such limits, until about the 1930s IIRC.
(Disclaimer: I don't remember the 1930s)
 
OK, time for a supermarket sweep.
 
user1804599
supermark-and-sweep
 
Fuck it, gonna say yes.
immediately regrets it
 
@R.MartinhoFernandes MOUSE AWAY FROM THE OK BUTTON!
 
@MartinJames Probably. Well, at least at that bar, anyway.
 
5:49 PM
@JerryCoffin I think there is a thing about unreasonable payment means but I'm not sure.
@rightføld In map, not unordered_map.
what terrible wording I just did.
 
@MartinJames I wanna say 'yes', but that means writing an e-mail reply. I 'give up' every other word.
 
Cash is a pain, but many UK bars etc. don't have a card terminal. Our club doesn't have one, so, cash only.
 
phillistines.
 
The UK public service buses are equally useless. The rest of Europe has prepaid cards, at least. UK, it's 'cash only, exact fare, no change" shite.
 
5:53 PM
@R.MartinhoFernandes Until the 1930s, US money was backed by precious metals (Gold and Silver), so at that time, you could trade a $20 bill (for example) for $20 worth of gold or silver. That being the case, they didn't really need to make laws requiring people to accept it. When we went to fiat currency, they did pass such laws (and bills now say: "legal tender for all debts public and private").
 
Fuck it, said yes.
 
@Puppy Doing a quick look, you're right: they're only obliged to accept up to 50 coins at a time for payment.
 
@R.MartinhoFernandes Don't panic - anyone can have a last-minute illness, serious injury or death. You don't have to turn up.
 
panics again
 
Ah, the immediate regret stage.
 
5:56 PM
@LucDanton What's next, self-loathing?
Acute depression? Suicide?
 
I just want his display array when he's gone.
 
@MartinJames There are prepaid cards here in civilization.
 
@Puppy Not here:( FFS, how much would a near-field reader thing cost?
 
@MartinJames lol
 
5:59 PM
@MartinJames Enough to bankrupt the bus company.
 
We have ticket dispensers in every bus and tram here
With CC uplink
 
@MartinJames I just want my possessions identified.
Argh. Enough WinAPI shenanigans. Going home.
 
All sharp objects will turn out to be cursed
 
@R.MartinhoFernandes I left work an hour and a half ago, and I'm an hour behind you. WTF you doing at work so late?
 
6:02 PM
@Puppy ASIO pain.
 
I left early yesterday.
Also, I get to work at 11ish.
 
ah that's gotta help.
I gotta be at work by 9 each day.
 
@StackedCrooked Not really. It was published in 2000, and applies primarily to pre-standard C++.
 
Xeo
I get to work around 9, but we have flexible time
so I can be there at 8
or at 10
10-16 is kinda core-time, though
 
I woke up 2 hours ago
 
Xeo
6:05 PM
Well you're a cat.
 
@StackedCrooked it's old. like older than your mom
 
@CatPlusPlus I guess C# is cursed then
 
6:22 PM
@LoïcFaure-Lacroix ...and so are F# and ReCurser ReSharper.
 
Heh, I still don't grok the tbb scheduler. That code looks so wrong.
Or very unintuitive at the least.
 
Xeo
> *new ...
whut
WHUT
Why can't they do something else? :|
 
the set_ref_count bothers me much more
the user is responsible for maintaining the library's refcounts
@Xeo Yeah, it's so unusual.
 
user1804599
@Xeo too incompetent
 
user1804599
@Puppy okay fuck C++14
 
user1804599
6:28 PM
Boost it is.
 
@Xeo make_shared<FibTask>(std::allocator_arg, ...) ?
Or c.createChild<T>(...)
 
@StackedCrooked Looks like they're basically trying to optimize the code with some hand-rolled continuation passing. Might be effective (have to test to know) but ugly as sin.
 
What's with this new trend of calling something that is standards compliant "kosher"?!
 
user1804599
Yeah, it's racist. Should be "halal."
 
6:33 PM
@Xeo they can be really bold. One of their techniques is Recycling. Where you take an finished task, modify the members variable so it becomes something different and run that bypassing the scheduler.
 
@rightføld Puppy's the one who proposed it for unordered_map, FTR.
 
user1804599
Suck you!
 
traceroute -m 100 216.81.59.173
did you see that ^
 
But yeah, everything for L1 access :P
 
6:34 PM
(tracert on Windows)
 
@JerryCoffin Still new on a geological timescale
 
@Cicada On a geological time scale, all use of human language is "new".
 
@JerryCoffin Hence
 
@JerryCoffin I find it fascinating. But it's so weird that I'm left clueless on how to use this stuff.
 
@StackedCrooked My immediate guess would be: "at least at first, not this way".
 
6:37 PM
huh?
 
user1804599
Let's go on a date.
 
@StackedCrooked I would not use this code as an example of how to use tbb, at least at first.
 
@rightføld How bout Mon May 18 21:53:25 WEST 1925?
 
user1804599
Too long ago.
 
@JerryCoffin Ok.
 
user1804599
6:39 PM
I need something more near in the future.
 
@JerryCoffin The problem is that they don't seem to have many "normal" examples, at last regarding the task scheduler. Their pipeline looks reasonable. And their concurrent_queue is great.
Well, not really great, but easy to use at least.
 
user1804599
Hmm, so I have this idea of implementing an immutable-DBMS. Nothing fancy. But considering C++ vs Scala.
 
also, telnet towel.blinkenlights.nl
 
@StackedCrooked I wish I had some good advice here, but it strikes me as a common problem--along with actual examples, you frequently need some guidance about which examples show what, the normal ways of doing things, and the kinds of circumstances under which you'd be likely to want the technique shown in a particular example. Unfortunately, that sort of information is frequently missing.
 
Good documentation is scarce
 
6:51 PM
 587       // PR 58265, this should be noexcept.
 588       basic_string&
 589       operator=(basic_string&& __str)
:(
stupid ABI
 
@JerryCoffin I keep coming back to the tbb task-scheduler because it is kinda magical. Their extreme dedication to L1 (or so it appears when reading the docs) makes other tools like future::then not attractive anymore.
It's just something I ponder in the weekends :)
 
@FilipRoséen-refp what's that got to do with the linked sample?
 
@Puppy the linked sample? you mean the quoted code?
 
yep
 
Maybe I'll get the opportunity to research as a work project.
 
user1804599
6:57 PM
@StackedCrooked Research what?
 
TBB's task scheduler.
Experimentation and stuff.
 
yeah but I don't see what that has to do awith anything.
 
Herb Sutter is great, but his talks are filled with hypocrisy.
@Puppy "stupid ABI" as in "gcc afraid of changing their ABI, postponing bugfixes because of it"
 
I wonder if GCC is afraid of performance degradations if they remove COW from their string.
 
7:01 PM
nope
 
std::string is copied carelessly in much code.
 
well known to be a pessimization nowadays.
 
(my code)
 
he first goes on to claim that one should not write software against interfaces, but functionality; then he shows an overly complex example involving std::is_same and a lot of other bullcrap
 
I MADE IT! Four minutes b4 end-of-days.
 
7:02 PM
saying that "it's impossible to write this code correctly, so just don't do it"; and sure, you shouldn't write that piece of code, but you can express the same thing far cleaner
 
Of all the things that this may be, I don’t think ‘hypocritical’ would rank high.
 
but I reckon it's the compiler developers at M$ that makes Herb think in overly complex (wrong) terms, since a lot of the cleaner alternatives simply aren't implemented
@LucDanton what is it to state that you are a firm believer in something, if you are going to disregard that later on in your talk?
and it's not a matter of "showing an example of another way to do it"
 
@FilipRoséen-refp What interfaces are being coded against?
 
@LucDanton do you know which snippet I'm referring to?
 
No.
 
Yeah no.
 
what the..
 
a) I’m not interested in videos b) I’m not interested in that video
 
@LucDanton what I'm talking about is directly related to that specific talk, on that specific frame.
 
I wanted to help keep your comments on track.
 
7:08 PM
@LucDanton oh well, that's appreciated.. I guess
 
6 mins ago, by Filip Roséen - refp
he first goes on to claim that one should not write software against interfaces, but functionality; then he shows an overly complex example involving std::is_same and a lot of other bullcrap
What was that about?
 
@LucDanton how he previously stated that one shall not mandate a certain type in a certain scenario where it is applicable, instead one should programming towards mandating functionality (this was when talking about the use of auto, but applies to more than just that)
 
Something like a converting/emplacing constructor?
 
@LucDanton nhaa, let me try to get you up to speed with some code
 
Do go ahead, hypocrisy or not.
 
7:12 PM
@LucDanton he talks about how one should pass arguments in C++, that pass-by-value isn't as neat as it might seem, talking about noexcept, etc etc
@LucDanton having something similar to struct X { std::string _name; void set_name (std::string data) noexcept { _name = std::move (data); }};
 
@FilipRoséen-refp I'm somewhat tired of Herb's videos.
 
@LucDanton // the member-function is indeed noexcept, but if we copy something into data it might still throw, so it's basically a lie
and I agree with that
 
Okay got it. Setter and converting/emplacing constructors face the same concerns here.
 
@LucDanton then he goes onto talking about perfect-forwarding, and how one should write the same function, with a conditional noexcept based on lvalue or rvalue references passed in
 
I.e. consider X(std::string data);
 
7:13 PM
@LucDanton basically, yes. or well; yes, that's it
so, he shows an example of how to write the perfect-forwarding of the value that is supposed to be sinked into the object, with the agenda of showing how "overly complex" it is
 
@FredOverflow Out of curiosity, why that? Is it because of the silly comparison he keeps on making?
 
but it is indeed complex because of the method he is using, and he also goes against a lot of other things he said previously
@Cicada probably for the same reason I'm getting tired of them
@LucDanton are you still following?
 
I’m surprised noexcept is used in those hand-wringing ‘gotchas’. I thought exception guarantees was one of the shining jewels of software engineering that had come out of generic programming in C++ (with noexcept as a language feature being a consequence). Not sure what happened here…
 
because it's an incredible pain to use.
 
Sep 30 at 6:07, by FredOverflow
@StackedCrooked The first video is Herb. Is that another one of his "OMG C++ has become so awesome and MSVC so standards-compliant!" video?
@Cicada ^ That about sums it up.
 
7:17 PM
@LucDanton struct X { std::string _name; template<class String, class = typename std::enable_if<std::is_same<typename std::decay<String>::type, std::string>::value>::type> void set_name (String&& data) noexcept (std::is_nothrow_assignable<std::string&, String>::value) { _name = std::forward<String> (data); }};
 
Is it. Ro0 means you get most uses of noexcept for free, reaping the benefits in generic code.
 
@LucDanton just wrote the above from memory, but that's basically what he is proposing; you get the gist of it right?
 
@FilipRoséen-refp Honestly that’s about enough.
 
@LucDanton constrain the template to only be instantiated with types of std::string, use a type-trait to check if it doesn't throw etc etc
 
user1804599
Oct 7 at 19:59, by rightføld
Herb is high on herbs when he talks about C++.
 
7:19 PM
@LucDanton the problem? by using std::is_same he is contradicting the "write code towards functionality, not interfaces" (and now it doesn't accept string-literals), he is also forgetting a neat little C++11 feature that simplifies the entire thing
maybe because it's not implemented in msvc++, and I do feel sorry for him
 
user1804599
"High on Herbs" sounds like a great name for a C++ web framework!
 
@LucDanton struct X { std::string _name; template<class String> void set_name (String&& data) noexcept (noexcept (_name = std::forward<String> (data))) { _name = std::forward<String> (data); }};
 
user1804599
in PHP, 3 mins ago, by bwoebi
@rightføld and most thing where you need templates for also can be done with macros…
 
user1804599
top kek
 
@LucDanton tl;dr -> the above is why I'm annoyed.
 
7:21 PM
but… isn’t he showcasing the code as something not to do? If so, there is no contradiction.
 
@LucDanton no, he's saying that experts can indeed write this code, but he wouldn't recommend it for "the everyday developer"
 
Right. It’s internally consistent.
 
@LucDanton but it's about the phrasing he's using, if you are really interested you should spend 5 minutes listening to him talk about that slide
@FredOverflow I agree with that
 
hi
 
user1804599
7:33 PM
lol
 
user1804599
class UnsupportedEncodingException extends IOException.
 
>
Men don't need women. Its only a frame of mind that men think they need to have sex with women. Why not just masturbate. Having sex with a woman is just physical work. People need to evolve mentally above being controlled by natural instinct. I just masturbate and watch videos or mentally fantasize. A fantasy character is perfect as to where women in general are PLAIN. Its only nature that gives men arousal for females. A woman Is merely a half man. Us intellects know this and intellects are never controlled by nature
@VáclavZeman lol
 
@FredOverflow What
 
Watch the video. It is long but it I find it rather interesting.
 
> A woman Is merely a half man
 
7:36 PM
@Cicada from the YouTube comments
 
user1804599
If the high byte is written first, is it big endian or little endian?
 
@FredOverflow I have them added to my adblock list :p
 
user1804599
inb4 weed endian
 
@rightføld big
 
user1804599
Nice.
 
7:37 PM
Why do you ask?
 
user1804599
No idea why endianness isn't to be passed explici… oh wait this is a Java API.
 
user1804599
No idea why DataOutputStream isn't just a class with static methods that take a stream and a value.
 
Because static isn't OO or something, everything must be produced by configurable plug-in factories controlled by managers.
 
@rightføld Because it's inconvenient API
 
user1804599
7:45 PM
  def encodeInt(value: Int, order: ByteOrder) =
    ByteBuffer.allocate(4).order(order).putInt(value).array
 
user1804599
Well that's ugly.
 
went to the mall and ate ramen instead of mcdonald's
great success
 
:) enjoy
 
user1804599
@AlexM. good
 
I even got the small ramen with less noodles
couldn't help but add eggs for all toppings though
 
user1804599
7:46 PM
ramen is dutch for windows
 
the third 0.5 * egg is not visible but it's there
 
@AlexM. Looks yummy!
 
disgoosting
 
yeah it was pretty good :)
also TIL it's called shoyu ramen because the broth is soy based or something
 
@thecoshman I'd fuck that
 
7:50 PM
@Cicada which part?
 
@thecoshman The blondie
 
@thecoshman lol
 
@Cicada ?
 
@thecoshman The Russel Howard guy. The presentator =_=
 
oh, Russell Howard, the preseneter?
@Cicada for real?
 
7:51 PM
Well yes?
 
yeah I guess I could see it...
He'll just laugh at you though.
 
i just hate the fake laughs in the background
Ebola ass
 
lol @ the ebola dialogue at the end
was the best part
 
"80 people! Do you know how much that is? THAT'S TWO FORTIES" oh my
nigga can count
 
They sort of faked for TV shows. They film in front of a real audience, but after doing seven takes for the TV, the joke's just not funny any more, so they have to put the original laughter over the top.
 
user1804599
7:54 PM
Ebola is justice.
 
@Cicada it has to be a new meme :P
 
an new meme*
 
a new meme*
A meme new*
 
Xeo
*new aMeme()
 
@Cicada ... no, it's "a new", not "an new". You used 'an' when you want to distance from an opening vowel sound.
 
7:56 PM
Nope
It's an meme
Pretty much everyone here can confirm
 
Xeo
it's not?
 
It is. Ask @Cat
 
wtf
search for 'a new or an new', get shit about passports.
 
Xeo
meh, no time for trolling
 
It's a art
 
7:57 PM
^
high five
 
ooooh... you're being stupids.
 
no, where being smarts
 
smrts?
 
I'm an smart
 
You're an smart people?
 
7:59 PM
It's spelt poeple
 
yes
I'm an several smart people
 
I think your an stupids!
@AlexM. Seven*
 
sevenal?
 

« first day (1469 days earlier)      last day (3478 days later) »