« first day (934 days earlier)      last day (4243 days later) » 

15:00
hm
@LightnessRacesinOrbit The US has an indoctrination system that might accidentally provide minute bits of education at times, but rarely and accidentally. Unfortunately, differences from European systems are also minute.
7cows1cowpie
Customer* CustomerList::retrieve(const int index) const{
        if (index<1 || index>size)
                return false;
        else{
                Node *cur = find(index);
                return &(cur->data);
        }
}
when is "static if" actually coming to c++?
spot the bug
15:00
@7cows Never.
anyone knows the progress on it?
7cows - lol
Xeo
Xeo
@TonyTheLion >=size?
@TonyTheLion poor spacing?
Xeo
Xeo
15:01
Also, wait, why <1?
@Xeo Looks 1-based
Xeo
Xeo
That is fucked up!
@TonyTheLion return false;?
@Xeo also the return type vs return false
WATWERGZTJKELÖRAHGKLRHGLKERJTER
15:01
@R.MartinhoFernandes yea
0
Q: calling a function through a pointer - access violation reading location

Burak ÖzmenI have a function that returns a Customer object (not pointer) like this: Customer CustomerList::retrieve(const int index) const{ if (index<1 || index>size) return false; else{ Node *cur = find(index); return (cur->data); } ...

user784668
false is compile-time integral 0.
downvote fest!
@TonyTheLion I was first!
Xeo
Xeo
@TonyTheLion Well, false is convertible to a null pointer, so... :D
@Fanael no it's not. false is false. however, it does convert to 0.
15:02
@Xeo still weird
@TonyTheLion "Your smile won't save you from the downvotes"
1 message moved to bin
@LightnessRacesinOrbit :P
user784668
@LightnessRacesinOrbit bool is integral
@R.MartinhoFernandes >.<
@Fanael but not an integer
There's a DR to fix that crap, btw.
15:02
type system bitch
I think i will kill myself if that is the case. — Burak Özmen 2 mins ago
58 secs ago, by Fanael
false is compile-time integral 0.
Let's encourage him
Don't see 'integer' here.
user784668
@LightnessRacesinOrbit I never said anything about integers.
15:03
@LucDanton 0 is an integer
user784668
false as old-fashioned nullptr is legal, exactly because it's a compile-time integral 0.
@Fanael 0 is an integer. You said: "false is compile-time integral 0", but it is not. false is compile-time integral false.
@Rakkun hahaha
However I'm pretty sure that false is a valid null pointer literal
Xeo
Xeo
15:04
@R.MartinhoFernandes Yeah, and only allow literal 0 as a proper null pointer, next to nullptr
1 min ago, by R. Martinho Fernandes
There's a DR to fix that crap, btw.
Well GCC warns about return false; when returning a pointer
user142019
Which is good.
an integral constant expression (5.19) prvalue of integer type that evaluates to zero
Xeo
Xeo
Do you really think OP is compiling with warnings?
2
15:05
s/with warnings//
Xeo
Xeo
Well, he has to compile to execute and fail...
@LightnessRacesinOrbit '0' doesn't appear either, it's '0'. As in 'zero'.
Oh well, then:
s/is compiling with warnings//
@Fanael [C++11: 3.9.1/7]: [..] A synonym for integral type is integer type. [..]
user784668
@LightnessRacesinOrbit go report it upstream, then.
15:07
@Fanael Report what upstream? That people in the Lounge are talking shit?
Wooo, brandishing standard quotes against each other!
Xeo
Xeo
Shoot your quote on the count of 3!
1..
2..
@R.MartinhoFernandes it's serious shit
@Xeo "
room topic changed to Lounge<C++>: We're talking shit. [c++] [c++11] [no-helpdesk]
15:07
Pedantry at its best
@LucDanton false does not evaluate to zero. false evaluates to false, but it may be converted -- implicitly -- to integer zero (i.e. 0). Perhaps that's where you're getting confused?
@R.MartinhoFernandes and it stinks
basic type systems
now to wait for pointless badges to recalculate :P
Xeo
Xeo
@LightnessRacesinOrbit Aka the expression false evaluates to 0.
15:08
@LightnessRacesinOrbit Talk to the DR.
Xeo
Xeo
It may, anyways.
@Xeo No it doesn't!
00000000000000000000000000000000000000000000000000000000000000000000000000000000‌​000000000000000000000000000000000000000000000000000000000000000000000000000000000‌​000000000000000000000000000000000000000000000000000000000000000000000000000000000‌​000000000000000000000000000000000000000000000000000000000000000000000000000000000‌​00
Xeo
Xeo
...
user784668
@LightnessRacesinOrbit "Types bool, char, char16_t, char32_t, wchar_t, and the signed and unsigned integer types are collectively called integral types."
user784668
15:08
So it is integral.
user784668
So yeah, go report it upstream.
happened to nice lines
@Fanael Yes, I am aware of that.
@R.MartinhoFernandes about shit
15:09
inb4 binning
@Fanael Report what? That someone in the Lounge pretended that false "evaluates to zero"?
ttl can't inb4
Xeo
Xeo
int x = false;, the expression on the rhs evaluates to 0.
@Rakkun Be patient, grasshopper.
@Xeo No, it doesn't.
15:10
oh gawd, the pedantry
It will be converted to 0 for the initialisation of x, but the expression itself is a boolean. Nothing more, nothing less. It is false.
It's not hard to understand
@TonyTheLion As long as it's not aimed at my face, I'll stay!
@TonyTheLion pew pew pew!
I'm only in to point out that 'false [... is] a compile-time integral 0' is a perfectly cromulent way to express 'false works as a null pointer constant'. It matches the wording that is under a DR, meaning that wording itself is the defect. Not what Fanael said.
15:11
Hmm, time to check if there's still dessert left.
I'm going to go sit on a rock and ponder as to why this bug exists.
@R.MartinhoFernandes And then don't forget to check right ()
user784668
@LucDanton tl;dr tomalak too pedantic for his own good
@Fanael Using 'pedantry' here would be a waste of 'sophistry'.
15:12
@EtiennedeMartel NSFW?
user784668
Right.
I have one font in OpenType and TrueType formats. Which one is better to be installed on Windows?
user784668
@TonyTheLion SFW, but contains ponies
Xeo
Xeo
Assuming ponies are SFW at your place.
They can trample all over my keyboard
so potentially NSFW
15:13
@Rakkun There was actually some on the left, right, and center. I took the one on the left, as promised.
@TonyTheLion I doubt you will get fired because a pony was in your office... unless you let it in... or did something to it
@wilx OT supports more features.
Ok.
Whether the font makes use of them is obviously a different matter.
@thecoshman ...or it poops on the boss' desk.
15:14
@TonyTheLion No they won't.
Because friends don't do that.
@wilx Neither. Bitmap is vastly superior.
:)
@Rakkun So you coming to Berlin?
@JerryCoffin if you didn't let it in or lead it there, it's not your fault.
@R.MartinhoFernandes brace brace brace!
Xeo
Xeo
breach breach breach!
user784668
15:17
@Rakkun kids these days… converting the characters to morse and displaying them using blinkenlights is much better than bitmap fonts
@R.MartinhoFernandes Dresden. But I'll make a stop by Berlin, yes.
@Xeo :P
@JerryCoffin I would laugh so hard if that happened
@thecoshman Square or curly?
user784668
@Rakkun opening
Xeo
Xeo
15:17
@thecoshman You watchin' Etho, Beef, Pause play Ruins of the Mindcrackers?
Damn, I missed an opportunity to blame copulas didn't I?
@xeo what do you make of pause... I honestly find it hard to understand how anyone could cope playing games with him with him always running of ahead
@Xeo indeed
@thecoshman Good luck convincing him/her of that.
@Fanael Ah, good ole blinkenlights.
@R.MartinhoFernandes So, you learned Icelandic now? It's a bit outlandish, I hear.
Xeo
Xeo
15:19
@thecoshman Hm... not like Etho doesn't do that too. But, if they're having fun, it's fine, right?
@sehe Just a bit of Swedish.
@sehe hhhehhehe
@Rakkun technically, curly ones are braces and square ones are brackets... well... so goes one way of naming them. but's smarter then just trying to describe them all
@R.MartinhoFernandes Martin the Polyglot.
@Xeo not like pause imo, and have you watched him playing that back heist game with the likes of guude and GB?
15:20
@thecoshman Oh my. The pedantry spores have infected you too!
Xeo
Xeo
@thecoshman Nope
Has anyone noticed TV shows vastly overestimate the ability of programmers?
@Rakkun I like clarity, fuck me right!
@R.MartinhoFernandes Everything for the girls :/
@EtiennedeMartel I was already trilingual before I moved to Berlin.
15:20
@Crowz No shit.
@sehe Erm, what?
@Crowz Orly??
@Rakkun He's a wannabe
@Xeo it's a good giggle, but my lord does pause lead the team ahead of everyone
@R.MartinhoFernandes Sexy Robot.
user784668
15:21
@R.MartinhoFernandes English, C++ and Haskell?
@R.MartinhoFernandes Oh, conjecturing a bit freely
@thecoshman And then left!
any way, time to head home
@Rakkun two fucks? sure!
@Fanael French, Portuguese, English, I bet
shit to sort out... perl to dabble with :P
15:21
@thecoshman perl to sort out... shit to dabble with :P
user784668
Perl?
user784668
You gonna write Evil Mangler 2?
@sehe I only know two sentences in Swedish, and one of them is "I love you".
The other one is "Go to hell!".
Xeo
Xeo
lol
I just realized, I'm so smooth, I might actually be made of butter.
15:22
Obtw to you Android users (and master race therefore), check out the new Google Play, it's nice!! (Particularly the music shop)
@R.MartinhoFernandes See? You're so romantic.
@R.MartinhoFernandes I can say "I sit here playing Dota"
user784668
I know false sentences in Swedish.
@Rakkun Fuck Basshunter.
Xeo
Xeo
15:23
haha
@EtiennedeMartel Quite.
@R.MartinhoFernandes Yes! It suggests you albums to buy based on your youtube searches
I actually bought 20€ of music immediately
@Rakkun Like the one that lead to youtube.com/watch?v=MOEjwVjNSiY?
@Rakkun Oh, hey, clustering. That's high tech stuff.
@R.MartinhoFernandes I wish I could buy that - oh yeah ! ahahaha
oussa
chez canapi
15:24
Amazon recommendations are the worst.
wassa
des canapés
en acajou masssssif
Stupid pile of crap keeps recommending me the stuff I bought the last time.
uitte sinkandeuvindeu
et c'est gratuiii
(en plus les prix ils sont trop bien !)
user784668
le merde
chienne
15:26
@R.MartinhoFernandes hmmm, I have usually had a pretty positive experience w/ amazon recommendations but that is in the US and I think their different sites act differently
@R.MartinhoFernandes what the fuck is that
Ça arrache.
(did I spell it correctly?)
@Abyx What were you trying to write?
@Abyx s/s/c/, if you meant "bitch".
15:27
@R.MartinhoFernandes ah, right
fuck that French
obtw, has anyone seen iron man 3? anyone else thinks guy pearce totally looks like a buff stéphane rousseau? :D i was confus for a moment
@Abyx Fuck youuuu.
@LightnessRacesinOrbit No idea. Rakkun linked it here months ago (fuck my memory).
@R.MartinhoFernandes <3 and it's in there foreveeer
@Rakkun btw, should I watch iron man 1&2 before 3?
15:28
@Rakkun Fun fact: Stéphane Rousseau est Québécois.
@Abyx No need, but it's nice to. Also, Avengers.
@EtiennedeMartel Je sais je sais ! Il est génial aussi (accessoirement)
@Abyx Iron Man is good, Iron Man 2 sucks, and Avengers is made of awesome.
ok, thanks
I wouldn't say it sucks. It's just not as good.
Imma stealing his wi-fi...
15:29
I would suggest using call_once rather than std::call_once. It doesn't make a difference here, but one should generally prefer to call functions unqualified to allow ADL to take effect. Since flag is of type std::once_flag, namespace std will be an associated namespace, making the std:: unnecessary. — Adam H. Peterson 3 mins ago
... with Javascript
@Jueecy.new what series is that from
@TonyTheLion, person of interest
15:30
also I've seen Iron Man 3 and I thought it was good
@R.MartinhoFernandes Don't worry, we got your back.
Last Friday a friend recommended Iron Man 3 as "download it".
@R.MartinhoFernandes Right now? But you'll only get crap quality!
Wait until it comes out on Blu-Ray. Then torrent the shit out of it.
Yeah, that's what he meant.
The important idea is "not worth your money".
@TonyTheLion, and you haven't seen the super cracking algorithm to compress 250Tb into 8Gb:
15:32
I'm getting so pumped for Pacific Rim, though.
@R.MartinhoFernandes Umpf. Or wait a bit, rent it for 2€ in HD? That's cheap, isn't it? <Google Play Movies ad>
@Rakkun Same idea, no?
The fuck does that mean?
15:32
@EtiennedeMartel Louer ?
@Rakkun How much do they pay you?
@Feeds wut?
@R.MartinhoFernandes no
@Rakkun J'pense que t'as raté la blague.
15:33
@EtiennedeMartel Toi, faire de l'humour ? Jamais.
@Rakkun Je suis un feu roulant de blagues.
@Jueecy.new fread, lol
PHP on Windows. Lawl.
15:35
@Jueecy.new I like the includes at the end.
@TonyTheLion #includes at the end, lol
@LightnessRacesinOrbit Eh, the only Power Rangers series I watched was Mighty Morphin.
@EtiennedeMartel Same
I like this music though
15:35
{
0 return;
}
()main int

#include <stdlib.h>
3
@Rakkun What's with the extraneous semicolon?
cause backwards
@R.MartinhoFernandes french
@Rakkun not to ruin the fun, but that was probably just a reminder (as @EtiennedeMartel made me notice)
15:37
@Rakkun Is that some Go?
@Jueecy.new Yeah.
@R.MartinhoFernandes Whoops. Got a little too excited.
I like the flipped {}s, btw. (and I would just faint if they were not flipped, but hacked with RLOs or RLEs to look right)
@R.MartinhoFernandes 1% of previous total or initial?
Calisse que ça pique, Etienne
Said my coworker.
Should I be worried?
15:40
I just killed a tick.. in my office..
@EtiennedeMartel Depends. Is he French ?
Then carry on.
@EtiennedeMartel Depends. What were you two doing?
@EtiennedeMartel Translation?
15:41
@R.MartinhoFernandes Writing code.
@DeadMG To the right
@EtiennedeMartel yeah sure
@DeadMG 'Devrais-je m'inquiéter ?'
@LucDanton I loled
@Rakkun I don't see any translation to the right of anything
15:42
@LucDanton lol
user142019
Soon I'll get to work with 3D printers.
user142019
Why not?
user142019
You don't look at your keys anyway.
Where did you put the keys?
Wait, don't tell us.
@R.MartinhoFernandes See, precisely the bare minimum for disco survival
user142019
15:47
@ScottW Use a parasol.
@R.MartinhoFernandes (I know. I've only been in "safe" - non-public - disco's myself. Twice, if I count the dorm party at my "frat house")
@sehe I don't frequent discos.
@R.MartinhoFernandes More ads?
user142019
@sehe gertruDISCOllege
15:48
@rightfold Nope. I never went to any school parties either.
In Sweden you cannot buy alcohol after 17.
Minimum age: 18, Maximum age: 17
@R.MartinhoFernandes What.
That's what Swedish guy said.
They always have to keep stock.
Problem solved
15:48
What a bunch of prudes.
'round here it's 23:00.
user142019
@sehe 17 > 18 for very large values of 17.
2 + 2 = 5.
user142019
Cannot assign to an rvalue of type int.
15:50
@EtiennedeMartel Really?
@R.MartinhoFernandes Yeah.
@EtiennedeMartel :)
@EtiennedeMartel (1984 or Radiohead or both?)
@R.MartinhoFernandes yeah yeah, I got it. Often, I just prefer to not-get-it (ungetc() IIRC)
@R.MartinhoFernandes 1984. Although you are aware that the title of the Radiohead song comes is a 1984 reference, right?
15:52
@LucDanton: Rechecked with some committee members and they confirmed that the original intention was supporting extra template arguments, but that when template template arguments were actually implemented (at the language level) they found out that it couldn't be done. As it is now, types in the standard library are not allowed to take any extra argument. — David Rodríguez - dribeas 12 mins ago
More proof of the evil of template template parameters.
user142019
It's so humid outside.
@LucDanton lol
But but kinds!
(Still haven't checked GHC's kind-level polymorphism; still sounds too crazy to touch)
@LucDanton variadics did seem to solve most of the problem for me. What else is the main problem now?
@sehe You are right on that front. There is no 'now' though, this goes back to 98, when there were no variadics.
Man. I am starting to love the Markdown+Pandoc+XeLaTeX combo.
I have just easily done presentation slides using this.
@wilx Pandoc is really kewl.
Xeo
Xeo
@sehe Type, non-type and template template parameters.
Yeah, with a bit of fiddling with its parameters, using templates, I could even use corporate fonts. Now I only need to figure out how to use corporate colours as well and I am set.
@EtiennedeMartel I like how that video is a reference to Animal Farm.
15:58
@R.MartinhoFernandes I still need to read that book.
I almost bought a copy last Saturday.
@EtiennedeMartel I need to stop buying books on impulse :|
Also, it was in German.

« first day (934 days earlier)      last day (4243 days later) »