« first day (1076 days earlier)      last day (3877 days later) » 

7:00 PM
@TonyTheLion yeah and the office space rental price in the building of the stock exchange is usually substantially higher than those a few miles outside
 
@JerryCoffin do you mean the assembly code looks more like the code you wrote there?
 
@TemplateRex why higher?
 
@Jefffrey The place where you call a function from. Reading from an uninitialized variable (in this case, the pointer that was passed in that will be read from to check for validity) is UB.
 
@TonyTheLion I meant rental price
 
oh ok
 
7:02 PM
they want to be as close as possible to the exchange's computers
 
of course
time is money
milliseconds could lose millions
 
they should just discretize the trading windows in units of .01 or .001 seconds. problem solved
 
its a bit of a crazy world this finance world
 
@Jefffrey Also, if reading from xp is UB then reading from *xp is too.
 
I'm only really starting to learn about it
 
7:03 PM
@Crowz Yes.
 
I hate that. It makes me think of Economy 2.0 and that's scary.
 
@Robot hate what? flash trading?
 
Economy 2.0
lolwat
 
@TemplateRex Yes.
 
Idea: http://Kickstopper.com. It'll be just like Kickstarter, but for stopping projects. #seekingtechnicalcofounder
2
lol
 
7:05 PM
@sehe Actually it's just that I thought it was funny
 
@R.MartinhoFernandes paper for you: pubs.aeaweb.org/doi/pdfplus/10.1257/jep.27.2.51
 
@TonyTheLion He should kickstart it.
 
Moore's Law vs Murphy's Law
 
@R.MartinhoFernandes Hahahah
 
it has some pretty scary anecdotes, apparently the NYS got caught in a race bug when handling orders and lots of millions were being lost
 
7:07 PM
@TemplateRex Oooh, thanks.
The PDF seems crappy.
 
@TemplateRex I might read that.
 
Now imagine you're a blind person and ask a screen reader to read that.
 
Happened during Facebook's IPO, took 19 minutes to reset
 
Xeo
hmm... something out there like munit :: m ()?
 
@Xeo return ()?
> (Free shipping to USA, $20 for shipping to Canada or $15 for international shipping).
This is great in so many ways.
 
7:12 PM
@R.MartinhoFernandes lol
 
that pillow makes me wanna punch it
 
1) Shipping to Canada is more expensive than shipping to the antipode; 2) Canada does not count as another nation.
 
pummel it, really
 
Xeo
@R.MartinhoFernandes needs parens / $ if used with other stuff :/
@R.MartinhoFernandes Can you ship to Canada and request international shipping?
 
@EtiennedeMartel Some woman, I haven't had time to go yet. I have classes.
 
Xeo
7:15 PM
parse p "" >>> left (const $ return ()) -- Wheee~
 
the surcharge is probably for tax purposes, maybe the Canadians demand retribution for American tax punishment for pharmaceutical imports
 
@Borgleader Right, HR.
 
They're right next to Microsoft
 
@Tuntuni Yes, the body of the function is of course UB in that case. But there's no UB in the "call site" per se.
 
> "Yes! It's going to be a theme anthology of Unicorn Bukkake stories!"
 
7:22 PM
@R.MartinhoFernandes Vat
 
That was the line that sparked Charles Stross' next novella, Equoid.
 
ok, I wrote a C++ JSON serialization library, and then I realized that JSON is no good for C++ because it has no type information, so I can't effectively load polymorphic types.
 
just be stringly typed
 
This may be a really stupid question, however, I have this strange problem.
Write a program to enter the length and width of a rectangular-shaped garden. Calculate
the area of the garden and the cost of turfing a lawn if a 1 metre border is around the
perimeter of the garden. Assume the cost of turf is £10 per square metre. Display the result
of these calculations.
Length 6, width 4. Cost of turfing = £80.00
That doesn't make sense, right?
 
@sehe: if you're around, a task that isn't tagged with Spirit, but might benefit from it anyway. stackoverflow.com/q/19036694/179910
 
Am I being stupid?
 
hmm, no 80 would only give you 8 turfs and you need 18 to get around a 6x4
16 even
 
@TheBlueCat Yes. Now let me read your question.
 
7:28 PM
There's also
Length 21.6, width 13.75. Cost of turfing = £2303.00
 
@TheBlueCat 1m border means effective dimensions of 4x2 = 8, 8x10 = 80
 
@Xeo Reminds me of when I got something like "Awesome Hammer of Pwnage" from Wall of Flesh.
 
Xeo
Yea
 
melak47: I see, thank you.
 
Xeo
Pwnhammer
 
7:30 PM
@EtiennedeMartel Meh, that sucks.
 
Xeo
Wall of Flesh is so easy if done right
but hardmode bosses are fun
 
..okay
 
@R.MartinhoFernandes Erm.
 
@EtiennedeMartel don't fret, I'm sure ponies are from hell, too!
 
Ell
8:06 PM
Okay I want to murder someone. Grr. Need some alcohol to calm myself :o
 
so far I got nan() and atoi()/iota()
 
edit: I suck at reading.
 
Ell
8:22 PM
Anyone tried chocolate vodka here?
 
it's called a Kofi Annan
and it makes you puke
vodka apple juice OTOH tastes like apple pie
 
Ell
Kofi Atta Annan is a Ghanaian diplomat Apparently
 
Ell
Haha
 
look at the last msg, with Gary Sinefeld spam :-)
and the George Costanza picture
that must be one of Kramer's scams :-)
 
Xeo
8:35 PM
so interesting
 
@Xeo is that Sergey Brin?
or some other dude with a big beard?
 
Xeo
no
Veritasium
 
photoshop is so fucking slow it's not even funny :/
I am making the final renders into GIFs
and importing just takes forever
maybe I should save the frames as BMPs instead :/
 
@BartekBanachewicz in C++14 you will be able to render them at compile-time ;-)
 
@TemplateRex I have to do just 6 GIFs but it's taking forever
 
8:41 PM
@BartekBanachewicz so it's the new "I'm compiling" excuse?
 
also I have no idea what I'm doing and I am afraid that pathological extension is physically impossible to happen the way I've animated it
 
@TemplateRex except it needs constant human interaction in between :/
 
you can't script the interaction?
 
the file (frame) loading is scripted, but I can't script all the cruft around it
well, it's not worth it considering it's done 6 times
it takes 1 second to load a frame T_T
I am shopping for those in the meantime
 
8:45 PM
photoshop can't script it or do you need to do something based on the rendering results?
 
Ell
Wait
Are you just making gifs out of frames?
 
@Ell yep
@TemplateRex maybe it can, but I can't really script photoshop
 
Ell
If I were you
 
everything else is fast, just importing sucks
 
Ell
I'd use gifsicle on the command line
 
8:48 PM
@Xeo Hmm. Another programming language?
 
@Ell bah, 4/6 done
 
@sehe Yes I am. No you can't. Sod off. (This is me ruining the atmosphere. The above was, I'd say, a perfectly fine constructive instruction, I was being terse but not snarky or otherwise toxic. We're here to trade programming knowledge, not fine points of etiquette. Cf.: blog.stackoverflow.com/2012/08/…) — millimoose 3 hours ago
 
Xeo
@sehe yea
 
^ wow. I didn't know I offended anyone
 
the whole process has about 8 stages from Sketchup :/
 
8:49 PM
@Xeo I don't know how that is relevant. But, you probably mean other cultures aren't as civilized as the c++ club?
 
Ell
gifsicle *frame.gif > anim.gif
 
@Ell frames are PNGs, I think that's a part of the suckage
 
@BartekBanachewicz what are you making?
 
Ell
gifsicle *frame.png > anim.gif
:D
 
Xeo
@sehe I mean how his code looks
 
8:51 PM
@Pawnguy7 animation renders of a human spine
@Ell w/e
 
Ell
I guess just keep it in mind for next time
 
@Xeo Then I'm even more confuzzled on how that matters for his comments and general conduct. But I don't really care. He confirmed that he was just being abrasive by being downright abusive to me. He's not worth my attention
 
Ell
Could save you time
 
Xeo
@sehe Oh, I meant the OP. Sorry for the confusion.
 
@Ell is it crossplatform?
 
8:53 PM
@Xeo Ah. Clear now
 
@sehe but then there are also civil exchanges like this: stackoverflow.com/q/18996197/819272
 
@JerryCoffin having looks
Just a casual observation (don't take it the wrong way, please): Lately, about 1 out of every 3 questions you asked were marked as duplicate. You can do better! Please take a bit more time researching your questions: it saves us more time for your other ones (which often are interesting enough!) — TemplateRex 24 hours ago
@TemplateRex ^ wow. +10 imaginary karma points to you
 
Ell
@bartek not sure. Its in Ubuntu repo though
 
@sehe lol, but I was most impressed with his reaction
 
Ell
There is os x port and unmaintained windows port
Isn't it a shame that that reaction is surprising?
 
8:57 PM
laaaast ooooneee
 
@AlexeiLevenkov - but why use intelligence when a computer can do it for you? :) I think some people have lost the ability to think at times. — woodchips 2 hours ago
 
@TemplateRex I have that, but the bigger model
 
Hardware does get faster more rapidly than software gets slower -- I'm finding Eclipse perfectly usable on modern hardware.
4
 
9:04 PM
looking for sth for the holidays for my nephew (who's 8)
 
@TemplateRex that's push and pull. So, credit goes to you.
 
@TemplateRex A combat knife.
 
@EtiennedeMartel wut? do you live in Montana? what's for his 9th bday? a rifle?
 
@TemplateRex I'm in Canada.
 
when you are in a densely populated country, combat weapons are not such a good idea
 
9:06 PM
@TemplateRex it's... hm, decent, but you could build such a set yourself for much less, me thinks
 
yeah, a knife to defend against (polar) bears
 
Ell
My dad bought me a knife for Christmas
its in my mouth right now in fact
 
@Ell wearing a red bandana? and " your war is over" ?
 
Ell
Haha nah, just playing with it :D
 
"It can be summarized with one word: hard. What makes it hard to learn?"
 
9:12 PM
Looks like we are going to have several TSes, incl. one for dynarray and runtime-bound arrays, and one for parallel algorithms #cxx #wg21
 
What do you think about repeating "hard" here?
 
meh, what's so wrong with dynarray %)
 
Ell
Idk
it doesn't act like a normal container
 
@Pawnguy7 that's what she said
 
@Ell and std::array does?
 
Ell
9:23 PM
I don't know to be honest, about the issues surrounding dynarray
 
@BartekBanachewicz any actual feedback?
 
Ell
I asked here before but forgot answer :(
 
@Ell, nevermind I also forgot it :)
 
Ell
I think my opengl faces are backwards :o
 
I just hate the name
dynarray seems like it should resize
but then that is a vector
 
9:27 PM
@ÓlafurWaage nah it doesn't
 
it doesn't resize, i know that, but the name makes me think it does
 
it sounds like std::array, but dynamic
 
@JerryCoffin I would honestly never use Spirit for this, unless it's either more complicated or part of something more complicated:
0
A: strtok how to also include delimiters as tokens

seheYou need more flexibility. (Besides, strtok is a bad, error prone interface). Here's a flexible algorithm that generates tokens, copying them to an output iterator. This means you can use it to fill a container of your choice, or print it directly to an output stream (which is what I'll use as a...

 
well, actually "vector" is not that good name, because in math vectors doesn't resize.
 
Yea, that name isnt good as well
 
Ell
9:30 PM
In physics a vector isn't even a list :L
 
@sehe It did seem likely to be overkill if this was all that was wanted, but it seemed likely that if he wanted this much, he'd very likely want at least a little more, in which case that "more" might be enough to justify using Spirit.
 
so it's all about getting used to a name. after few months "dynarray" won't look so bad to you
 
@JerryCoffin Yeah. I'll drop a hint at his question (about Boost regex_token_iterator as well as Spirit. I think I have several answers that include this)
 
Sure, but this is the best time to comment on names, before they are set in stone
 
@sehe for a minute, knowing your spirit karma (pun intended), and reading enum tokenize_options, the 1 << 2 bit flags, I had to check twice that I hadn't just read some Spirit 1_ >> 2_ stuff
 
9:32 PM
brb
 
Ell
Meh I feel regexes aren't for tokenising
 
I feel that regexes are slow, but it's just a feeling.
 
@TemplateRex hehe
@JerryCoffin By the way, I just fixed a bug with the last token not being flushed :{
LESSON LEARNED: always test your code
 
Xeo
I always test my code in an environment that is close to production - you might even say it's the same!
 
@sehe that's one thing I picked up from Andy Prowl: always give a Live Example.
 
Xeo
9:38 PM
from him?
 
unit-tests ftw.
 
@Xeo well he gave so many answers, and he consistently gave live examples, so here on SO I try to do that as well. For real code that I use myself, I already did that.
 
in C#, 1 min ago, by Kendall Frey
What is the most used language in programming? Profanity.
 
@TemplateRex I never post answers without. The point is for me to learn. I can 'sketch' answers, but it doesn't give me speed, routine, agility or experience.
 
@sehe exactly, it creates muscle memory
 
9:41 PM
Anyways, I swatted another "bug" (or feature) that included the trailing \0 char as a token there
@TemplateRex And brain muscle. You get much faster on your feet thinking ahead and getting to the point.
 
Xeo
Wow, that Chris Johnson guy is on a run
 
@Xeo I don't see anything in chrome browser
 
Xeo
wtf
search manually, goto "newest" and then the last page
gah, it even dropped the tag in the search
grrr
[c++] is:answer "live example" was the original query
 
@Xeo my coliru and ideone answers. But I've had numerous ones with full gists
 
Xeo
Funny, no answers containing "coliru" for me. I'm pretty sure my latest live examples live on there, though.
 
9:47 PM
@Xeo OK, but most of your high-rep answers were from before when I got really active here, so I guess I didn't associate you as much as Andy with Live Examples.
I got my bronze C++ badge a day or so before Andy in January, but then he kinda got the better of me ;-)
 
Xeo
He went on a spree, yea
He even stole my C++11 gold badge because I was getting lazy on SO around that time.
Also, gratz @R.MartinhoFernandes for the C++11 gold?
 
the most impressive thing was that he got into the top-10 by rep for the year, in a lot less popular tag than Jon Skeet & Martijn Pieters
 
Does auto& ref_to_element= my_std_vector[i]; do what I want it to do ?
 
Xeo
yes
 
David R. needs 6 more answers
 
9:50 PM
@Mikhail What do you want it to do :)
 
@sehe reference to an element...
 
Xeo
@sehe Unless he has a terrible naming sense, it should be rather clear from the snippet :P
 
user1804599
Carom billiards is fun.
 
Ell
Creme brulee is yum
 
user1804599
yum and irrelevant.
 
9:56 PM
@millimoose It was you that suggested I needed better arguments. Note how I never accused you of being impolite. I wondered why you didn't phrase the comment in a way that could work so much better. Sorry if I assumed you didn't because you don't have the time. Anyways, kinda suprised at the whole personal attack that followed. I'll leave that be. (PS. The OP can read the comments too, so I was explaining to the OP as well). — sehe 52 secs ago
@Xeo You never know
@not-rightfold It is. Shame that it's associated with old men
 
Xeo
Who the fuck is millimoose even.
 
Ell
Is it still homophobic to say faggot, even if some gays aren't offended by it?
 
@millimoose Well, again, apologies if that offended you. In fairness, my sentiment isn't even about your comment in isolation. See here e.g. for what triggered my remark. Thanks for your contributions (as you can see, I know what that takes). But let's try not to forget that the small things matter as well. — sehe 15 secs ago
 
@TemplateRex you see, it can still work out, but it requires so much more patience ^^
 
10:01 PM
 
> The owner of this website (www.tickld.com) does not allow hotlinking to that resource (/q14a7cwo88qm).
 
user1804599
@sehe Well, there were only old men besides me and my friends.
 
user1804599
:P
 
@sehe Dafuq? it works for me...
 
@not-rightfold Damn shame. Bring some girls next time - they should scare the grandpas away
@Borgleader Because: cookies
 
user1804599
10:02 PM
@sehe I think it would only attract more grandpas.
 
user1804599
The girls who work there are quite hot.
 
@not-rightfold Depends on whether they're ugly.
 
@not-rightfold Nonono. They don't have insurance for the heart risk
@not-rightfold So, you showed them how skilled you are with your long cue
 
@sehe The image says: "I'm not calling him a faggot because he's gay. I'm calling him a faggot because a faggot." - Louis CK
(you can find it by googling: louis ck faggot)
 
user1804599
@sehe Actually, they'd have pwned me.
 
10:06 PM
@not-rightfold Who? Hot girls? That's a GoodThing(TM)
 
user1804599
@sehe No, the old men.
 
user1804599
Who already play the game for over sixty years.
 
user1174868
Hey gang
 
user1174868
I was wondering where I could read about the big O of sorting data as you get it vs afterwards
 
@ripDaddy69 Big-O can be same either way. E.g. insert each item in a balanced tree [O(log N)] as it's received gives O(N log N), as good as any comparison-based sort can do.
 
user1174868
10:20 PM
@JerryCoffin I was thinking though, doesn't it depend heavily on the data? For example if I have a range of numbers from 1 to 1000 doing an AVL tree would be kind of weird to build as you get it wouldn't it?
 
@ripDaddy69 If you know enough about the data, you may be able to do better than general-purpose algorithms (true whether doing sorting as data is received, or after all the data is received though).
 
user1174868
10:37 PM
Ok thank you
 
Oh, lol. I thought that was trivial, I've expanded the bit under // etc now. Cheers (ps. I'm assuming tilbage means available or empty or something. We don't all speak Mandarin :)) — sehe 52 secs ago
 
@EtiennedeMartel Well, thanks but I meant other songs (from other artists) :)
 
@Jefffrey Look up Jazzanova.
 
Ell
10:52 PM
Acid jazz funk
 
user1804599
I’m going to sleep.
 
user1804599
Bye.
 
Bye
@EtiennedeMartel Hmm. Too quite (those 2 songs I listened to). Misteur Valaire is good though. :9
:7
 
@stefanusdutoit @michaelpricedev No, there can't. CWG came to the conclusion that a digit separator should separate digits.
Don't fall asleep now
that would be a waste of time
Night all
 
11:34 PM
real programmers don't sleep, huh
 
Kinda scary (SFW)
4
@Abyx Here I am. Am I a real programmer now?
 
dunno
maybe you're an imaginary one.
after all you all exist only in my imagination.
you can never be sure what's real in those virtual chats
 
@Jefffrey The basic rite of passage is a minimum of 30 hours straight of debugging somebody else's shitty code.
 
@JerryCoffin Ok, I'll debug yours. :P
 
11:49 PM
remember the Cicada? what it real? and what exactly it was?
 
@Jefffrey Remember -- I started writing code at a time that most compilers had lousy optimization, and in some cases saving a few bytes here or there was a big deal. I'm pretty sure some of it would give me nightmares if I read it again...
 

« first day (1076 days earlier)      last day (3877 days later) »