« first day (930 days earlier)      last day (4019 days later) » 

3:00 PM
@DeadMG I see now
 
@EtiennedeMartel And with the working parts added as well.
 
@sbi ... there are no C++11 compilers for uC?
 
fuck vendors who stick to 5-10yo toolchains =\
3
 
@R.MartinhoFernandes Sounds reasonable.
 
sbi
@Abyx Some proprietary platform built on top a vxWorks from 1996.
 
3:00 PM
So, @Jueecy.new, go with mariadb.org
 
sbi
@R.MartinhoFernandes I think you word a word there.
 
@sbi s/you/would/
 
@sbi kill'em all
 
any way, now that shit has settled, I'm heading off
peace out
 
such things shouldn't exist in 2013
 
3:01 PM
I we stop words
 
sbi
@thecoshman Now that you're leaving, shit will settle.
 
@EtiennedeMartel I've heard its the project the original founder of mysql is developing
 
Microsoft visual studio crashes about 2 times per day when working on pocket edition... Not sure what I'm doing wrong
 
using it
 
@Jueecy.new That doesn't sound good.
 
sbi
3:03 PM
Anyway, back to coding. Thanks, guys!
 
why you keep calling him robor
 
hm... Is it possible to translate C++11 into C89 ? (including std lib code)
 
room topic changed to Lounge<C++>: Robor is a C# helpdesk, come on in [c++] [c++11] [no-helpdesk]
 
@DeadMG Someone (I think it was Cat) made a typo at one point.
 
3:04 PM
@Abyx Yes.
 
It was funny, so I try to keep it alive.
 
no, that was me, but I don't understand why it's caught on
 
because Lounge
 
@DeadMG Dude.
I think that's sufficient.
 
@DeadMG really? but what about memory model and dunno what else?
 
3:05 PM
haha
 
@EtiennedeMartel Well, I assume he's the guy behind such great design decisions as not enabling data integrity by default; ordering strings according to the Swedish alphabetization rules, case-insensitively, by default; and a bunch of other stupid crap.
It's not like he has a very good track record.
 
@Abyx For concurrency, you'd have to fall back to OS API and implementation-defined stuff.
 
@R.MartinhoFernandes We all make mistakes.
 
But MariaDB does happen to fix stuff.
 
@EtiennedeMartel It's too confusing. You should stop referring to the roboy like that.
 
3:06 PM
@EtiennedeMartel Puppy, apparently, is perfect
 
@DanBarzilay
 
@DanBarzilay lol
 
kthxbye
 
15 y.o., huh. gtfo
I mean it's ok to be 15 y.o., but it's not ok to behave like one
 
3:11 PM
lol stackoverflow.com/questions/…
 
how did he get that?
 
@R.MartinhoFernandes no link :(
 
@TonyTheLion Posted it on another room and copy pasted from there, manually.
@LightnessRacesinOrbit I was referring to chat.stackoverflow.com/transcript/26275?m=9214251#9214251
 
@R.MartinhoFernandes ok
so IM BACK
 
It was a Python question, btw.
 
3:12 PM
ahahah
 
please note that I shall from now on be completely ignoring your totally selective "no flags" rule
 
oh :( you got flagged out?
 
@TonyTheLion yes!
 
private: peace const& getPeace() const;
 
3:13 PM
virtual private getter is ok
 
I wouldn't flag you @ScottW
Also BTW, unrelated, @EtiennedeMartel I unfriended you on FB but only because I'm deleting everyone I haven't actually met (and sticking some of those I have onto limited access). Nothing personal!
 
@ScottW Doubt it was me. If it was I'm sure it was justified
so guess how much work I did during the 30-min suspension period?
 
@LightnessRacesinOrbit You know that you aren't actually that far from where I live.
 
@LightnessRacesinOrbit None. You were busy unfriending people on Facebook.
 
3:17 PM
@TonyTheLion I don't know that, because you censor any references to your approximate location!
@R.MartinhoFernandes Correct. And they have completely fucked up the Friends List interface, so it took ages
 
room topic changed to Lounge<C++>: Stop calling him Robor [c++] [c++11] [no-helpdesk]
 
What about PostgreSQL?
 
@LightnessRacesinOrbit perhaps I'm wrong
I thought you lived somewhere else than where actually seem to live
 
@Tony We may well live close to each other; I simply have no information to determine this
Other than that you live in "Europe"
 
3:22 PM
@LightnessRacesinOrbit West of England
 
@TonyTheLion Wales, then? Or further west?
 
@LightnessRacesinOrbit At the border
@LightnessRacesinOrbit Bristol is close enough
 
You're not far from where I grew up and work, then.
Well, in the grand scheme of things anyway
 
Oh Bristol...
 
@LightnessRacesinOrbit Wait...
I thought you were in Reading for some reason
 
3:23 PM
@TonyTheLion I haven't set foot in Reading for 25 years
 
which is why I said close, but then it says Nothingham on your profile
 
Though I was born there some years prior
 
@LightnessRacesinOrbit lol
 
OH THE MYSTERIES
 
Nothingham isn't quite that close
@Jueecy.new I should check peoples profiles before asking
 
3:24 PM
@TonyTheLion No, but the place where I grew up and work is.
 
@LightnessRacesinOrbit close to Bristol or close to Nottingham?
 
@TonyTheLion Forget about Nottingham; it's not relevant
 
Ok, forgotten
 
(it's also a unitary authority, which I discovered only today when getting pissed off that I never received a polling card for the county council elections)
 
Ello.
 
3:26 PM
Well, if you're close to Bristol, I'm always open to meet. FYI
 
@TonyTheLion It might look a little strange talking to a lion
 
damn you for revealing my home :)
 
@Pawnguy7 Hi there.
 
3:28 PM
@LightnessRacesinOrbit That's what all the Derby fans keep telling me :)
 
@MartinJames They say a lot of things. Some of them even form coherent sentences!
 
@LightnessRacesinOrbit Not often :) I suspect that some Derby fans may not be able to speak at all after the Millwall match next week.
 
@MartinJames It'll be an improvement
 
@LightnessRacesinOrbit One Derby season ticket holder has said he's not going because 'I can't run fast enough'.
 
@MartinJames heehee
 
3:38 PM
Sigh. The "Congratulations, you are the x visitor from xtown, you win a free x" still look the same as when they annoyed me years ago.
 
@Pawnguy7 Presumably that means they're still effective. Which is baffling
 
My thoughts exactly.
 
Who is flagging like a loony?
2
 
Anybody else think this look a bit odd?
 
3:44 PM
To me, it is like seeing a black apple. Not sure why.
 
@TonyTheLion I guess room owners see it whenever someone flags?
 
@ShafikYaghmour We see it, but we can't say who flagged. Also all >10k rep users see flags
 
Can anybody on chat flag?
 
I see, so does a moderator get involved every time someone flags?
 
3:46 PM
No.
10K rep users validate/invalidate accordingly
We do have some room friendly smurfs we can call on if things get bad
 
smurfs?
 
mods
cause their names are blue
 
@ShafikYaghmour Moderators have their display name show in blue. "Smurf" is an affectionate term we use for them :)
 
Got it ... I think I am done asking newbie like question now :-)
 
@LightnessRacesinOrbit Alright!
 
3:53 PM
almost home time
woot
 
@Pawnguy7 there are compression artifacts around the apple
 
So, I'm working on a crash report tool that takes a screenshot of the app at the time of the crash and allows users to draw and scribble on the screenshot.
Bets are open: how much time will it take before I get a crash report with a penis on it?
 
Huh someone wrote a book on Understanding and using C Pointers shop.oreilly.com/product/0636920028000.do I'll be darned
 
@StackedCrooked Yes. I didn't think it made a difference at the range, I just stole it from the interwebs.
 
@EtiennedeMartel Sniptool?
@EtiennedeMartel If any of your coworkers are redditors, not long
@ShafikYaghmour lol
 
3:56 PM
@ShafikYaghmour Well, it's hard enough to warrant its own book.
 
@Pawnguy7 stealing is wong
 
@StackedCrooked Well, it was their fault for having a link that will not onebox
 
Ell
@Etienne I made on of these on my work experience. But for PC
 
The Canadian one dollar coin (commonly called Loonie) is a gold-coloured one-dollar coin introduced in 1987. It bears images of a common loon, a bird which is common and well known in Canada, on the reverse, and of Queen Elizabeth II on the obverse. The coin's outline is an 11-sided curve of constant width. Its width of 26.5 mm and its 11-sidedness matched that of the already-circulating Susan B. Anthony dollar in the United States, and its thickness of 1.95 mm was a close match to the latter's 2.0 mm. Its gold colour differed from the silver-coloured Anthony dollar; ho...
 
3:59 PM
@EtiennedeMartel HHNNNNGGGG
 
user142019
@EtiennedeMartel Reminds me of Death Note.
 
user142019
I say heart attacks.
 
@EtiennedeMartel wtf
 
Brony
 
user142019
Tony
 
4:00 PM
@EtiennedeMartel s/scribble/dribble/ FTFY
 
@LightnessRacesinOrbit What's the difference?
 
@TonyTheLion not me. I haven't put my powers into use yet
@EtiennedeMartel quite a lot!
 
@LightnessRacesinOrbit lol
 
@LightnessRacesinOrbit Fluttershyyyyy
Mar 29 at 20:40, by Etienne de Martel
My Little Tony.
2
 
user142019
4:03 PM
@EtiennedeMartel Humans and ponies in one comic doesn't really work well.
 
@R.MartinhoFernandes What am I looking at?
 
a picture
 
@EtiennedeMartel A picture of a vending machine. Pay attention to the item on the right end of the middle row.
(Spoiler: it's a book)
 
@R.MartinhoFernandes I can't read the title, too blurry
 
meh, de.wikipedia. it explains sooo much
 
@R.MartinhoFernandes I don't speak German, sorry... nor can I read it well.
 
@ShotgunNinja It's not relevant anyway.
 
That is an interesting idea. A book vending machine... hm.
 
why not
 
4:11 PM
Does it taste any good?
 
if its crosswords of stuff like that
 
user142019
in C#, 8 mins ago, by Mike F
I like my women like I like my Java runtime: insecure and prone to arbitrary code injection outside the sandbox.
 
@rightfold Oh dear.
 
@rightfold s/humans and //i
 
@LightnessRacesinOrbit You should watch MLP.
 
4:15 PM
@LightnessRacesinOrbit Improper capitalisation. Shame on you.
 
That also.
 
@R.MartinhoFernandes hmmmm?
 
@rightfold if humans ride ponies, it's probably ok
 
@EtiennedeMartel nah
 
user142019
@LightnessRacesinOrbit s#//#p/P/#
 
4:18 PM
@rightfold ok
-3
Q: How to create an array of pointers to a struct

ToniaI have this struct Book{ string id; string title; string author; }; and then I want to create dynamically an array of pointers to the struct. I have already tried this and i get segmentation fault. Book *array[]= (Book*) malloc(sizeof(Book)); I want to create a list of books (...

 
I'm generally asleep between midnight and 6am UK time, if that's any help. — Jon Skeet 3 hours ago
4
 
> You know the Age of Enlightenment and Reason gave way to moral relativism. And moral relativism is what led us all the way down the dark path to the Holocaust.
WTF
 
Ya that's a classic.
Plays into the whole 'blablabla forbidden fruit of knowledge of good and evil' shtick and so on.
 
4:33 PM
@R.MartinhoFernandes Not sure why that is unclear.
 
@LightnessRacesinOrbit Ok.
 
user142019
From now on I will say "pizzae" instead of "pizzas".
 
#dconf After a knock-down drag-out discussion of several hours, I think we've agreed on an rvalue reference solution!
lol, D is now copying C++...
 
it was a stupid idea for them to not introduce rvalue references that were at least somewhat similar to C++'s
 
@R.MartinhoFernandes What
 
4:42 PM
simple fact is, move semantics are required for decent performance in a value-semantics world
 
How did that came to be? Is D designed by committee as well now?
 
@DeadMG Which really isn't D's world, is it?
They have PODs and reference types.
 
it kinda is and it kinda isn't
you can have somewhat-complex value types
 
Magical blitting pods!
 
and then you have that GC rubbish which doesn't suit anybody
 
4:44 PM
@DeadMG You have that postblit crap, but it doesn't really need moves.
 
@R.MartinhoFernandes It really does. Moves support optimizations that postblit doesn't.
 
@DeadMG What kind of optimizations?
 
SSO, off the top of my head.
 
Nope, I don't follow.
 
That doesn't sound right.
 
4:46 PM
it suddenly occurred to me that I no longer quite remember exactly how it screwed things up
 
FTR, value types in D don't have ownership semantics.
 
it has been a little while since I did this, so my memory of it is a bit sketchy
but last I checked, you quite could have owning value types
 
I guess the only thing you can optimise is skipping postblit when you move.
 
yes
a D "move" is "Don't postblit, don't destruct", or something like that.
it breaks SSO because your internal pointers don't get an opportunity to be patched up to point to the new in-object storage.
also breaks things like partial_array and lots of other "SmallX" optimizations
 
... my C++ implementation is memcpyable (if you ignore the fact that non-trivially-copyable is UB and assume no optimisation breaks things)
 
4:50 PM
I guess that depends on what exact implementation strategy you use
as long as you don't point or refer to storage inside your own object, you should be OK
 
Why you gotta have pointers for SSO.
 
I gotta run, food
 
user142019
Run or else you'll be food!
 
user142019
@EtiennedeMartel To me they all say "bitter" and "disgusting".
 
4:58 PM
@rightfold You lack taste.
 
What's SSO?
 
user142019
Small string optimization.
 
SSO = Stupidly Simple Optimization?
@rightfold ah
 
user142019
@EtiennedeMartel No, beer lacks taste.
 
@Mysticial also known as SBO
 
4:59 PM
@bamboon Wait, what would that stand for?
 
@Mysticial small buffer optimization
 
ah
 
It's about placing the storage in the object itself when small enough instead of a pointer to a dynamically allocated area.
 
@rightfold You also lack the experience to fully appreciate it.
 
@R.MartinhoFernandes I'm aware of that. Just wasn't familiar with the SSO acronym.
 
Ell
5:07 PM
People here are very protective over their perceived intellect here
 
Hm. One of my most highly upvoted answers is an answer on a crap question I helped close as duplicate.
 
@EtiennedeMartel ... Should we downvote it?
 
@Collin Well, it's a bit weird.
 
@EtiennedeMartel Agreed, it is funny that it took till 2013 for a book on C pointers to happen, I am also wondering how high the demand for it is today
 
5:11 PM
Folks, does the C++ tag exclude C++11 answers? I have seen plenty of C++ tagged questions answered with C++11 answers.
 
@FredOverflow Wut.
 
@ShafikYaghmour No.
 
@ShafikYaghmour C++ is C++11 now.
 
@ShafikYaghmour Not at all
 
@FredOverflow Wut.
 
5:11 PM
@Mysticial In the butt.
 
The C++11 tag tended to be used pre-standard
 
I started the repon on this and someone asked if it did stackoverflow.com/questions/16059781/…
@FredOverflow That is what I thought but I wanted to check w/ the group before I responded
 
@ShafikYaghmour It's still nice to point out if your answer is C++11, imho.
 
user142019
Aww.
 
user142019
5:13 PM
I want a pumpkin.
 
@FredOverflow Makes sense
 
@EtiennedeMartel Why does the yellow horse have three legs? Or is that two legs and a... "leg"?
 
@FredOverflow She has four. One of them is raised.
 
Oh right, horses normally have four legs. For a moment I thought two was normal. I think I need sleep.
 
5:18 PM
@rightfold Notice at first how Rainbow Dash was quite frustrated with Fluttershy, and now they're almost like sisters.
That's character development right there.
 
Why are guys so interested in cute horses? It disturbs me.
9
 
user142019
OMG PONIES
 
@EtiennedeMartel When I saw that thing in the upper right corner, my first thought was "C++".
 
5:21 PM
@JohanLarsson Hey that's Rarity.
 
set_of belongs to boost::bimaps namespace but I didn't find vector_of in boost::bimaps
is it somewhere outside ?
What header I need to include fro them ?
Oh! :)
Got it <boost/bimap/vector_of.hpp>
 
I was about to dump a link to the documentation.
That I got by googling vector_of.
 
I'm bored.
 
user142019
Me too.
 
@R.MartinhoFernandes Time for a wank, then.
4
 
5:28 PM
@EtiennedeMartel I got in code completion KDevelop ;)
 
The Wrist of Fury.
 
user142019
@EtiennedeMartel So epic win.
 
I have about an hour to kill.
I should have brought a book.
 
@R.MartinhoFernandes Enough for two wanks.
 
user142019
5:29 PM
Robot's getting evil.
 
Oh wait, I did.
 
I see the does that mean we can't post questions that we need help with?
 
user142019
@KronoS loungecpp.wikidot.com/owners:asking-questions pretty much covers it all.
 
OMG that is so funny!
 
right
time to find out how well Wide's upgraded overload resolution algorithm can cope
 
5:42 PM
typedef boost::bimap<boost::bimaps::vector_of<int>, boost::bimaps::vector_of<float> > bimap_t;

bimap_t mp;
mp.left.insert(bimap_t::left_value_type(2, 2.0f));
 
@DeadMG Who cares? The starboard is out of sync, omfglol
 
in C#, 39 secs ago, by Tom W
Say no to bronies.
 
Why isn't this piece compiling ? causing compilation issues with insert
 
@ScottW That does indeed work, although it looks like the second time around it is in sync
 
@Morwenn Irrelevant
 
@DeadMG True, there are not enough levels.
 
@DeadMG Why is this starred?
its disturbing
 
@TonyTheLion Don't ask me, I obviously can't have starred it :P
 
5:54 PM
I don't like every genre. I have some problems listening to noise or free jazz.
@ScottW Never heard of.
 
user142019
@Morwenn I like drone music, actually.
 
user142019
So I guess… :|
 
@rightfold You mean Sun 0)))) ?
 
user142019
@Morwenn They're not too bad.
 
@ScottW How is John Zorn free jazz?
@ScottW I'm still waiting to listen to some mambacore then.
 
user142019
5:57 PM
Bull of Heaven are awesome.
 
user142019
The Chosen Priest And Apostle Of Infinite Space is getting boring after fourty minutes, though.
 
So, I've received my IGDA membership card.
And there are nVidia and Android logos behind it.
 
I mean, this is the title of the track :D
 
user142019
@Morwenn not bad.
 
Well, genres kind of help to identify some things: when you say "rap", you will expect some flow while you will expect some distorded guitars when you say "metal".
 

« first day (930 days earlier)      last day (4019 days later) »