« first day (1322 days earlier)      last day (3643 days later) » 

welp
time to say bye
...
 
@LightnessRacesinOrbit erm.. well the bread exploded
The fact that you googled her name reveals something about you :)
 
gah, I can't find any gif of it anymore
one of the most interesting bugs I encountered while working on a game was when I put a bread dough on fire and I got the growth steps wrong
and in a few seconds the whole cave was filled by one huge bread
5
 
it looked menacing while growing lol
 
12:06 AM
@StackedCrooked duh
Google image search for anime girl is disappointing FYI
 
too mainstream eh
 
the bread incident happened when I was still on my 3G USB modem, and only uploaded it on dropbox, then linked everywhere else to it
uploading the 25MB gif back then took two hours, it's natural I wouldn't have tried it on another website
 
@AlexM. gives "yeast infection" a whole new meaning, eh
 
lol yeah
it's 3AM and I'm sleepy, that's something new
I'll try to get some sleep
cya
 
-5
Q: "Xamarin Cross-platform Application Development"

user3103124Hello Jonathan Peppers, Will you be providing book revisions to align with changes due to Xamarin 3? Thank you. Dennis Luther

 
12:17 AM
@HamZa lol
 
hehehe
 
@JonathanPeppers http://stackoverflow.com/q/23944854/560648 lol?
oh my:

Indian Enthusiastic Programmers

Anyone can join, it's not only for indians. Room is most acti...
> Room is most active in IST
Perhaps Indian Standard Time only applies for part of the day, and for the rest of the day there is simply no time in India
 
@HamZa what? LOL
 
pahahah
It's still on their starboard.
anyway
 
12:25 AM
@LightnessRacesinOrbit The conversations in that room...
 
dafuck is this referring to =/
 
SSD relative to fucking magnets
 
@Borgleader read the dafucking comments
@StackedCrooked fucking magnets seems like an inoptimal approach to data storage
 
I also prefer SSD.
 
huh, I appear to have a 9gag account, and my avatar appears to be Emma Watson. and I appear to be logged in. whut.
 
12:32 AM
@LightnessRacesinOrbit i read some of them but they were explanations of what SSDs were
 
@Borgleader so you think maybe that's relevant?
2
A: regex("(abc|aa.*|bb.*)") Vs regex("(aa.*|bb.*|cc.*)");

Lightness Races in Orbitstd::regex is not supported in GCC until 4.9. In 4.8.2 you'll get all sorts of odd behaviour.

This is probably my favourite low-hanging fruit at the moment. Wish it came up more often.
 
i should have googled ssd breakthrough
 
Is there a way to get the downvotes removed? and possibly the question rolled back? — Adamc23 May 16 at 15:27
(OP didn't tag originally so I can't bring the power of the Gold Ranger to bear)
0
Q: C++ complex number multiplication

KaliMaIf I have (1+i)^2, the answer should be 2i But if I do std::complex<double> i = sqrt(1), one = 1; cout << pow(one+i,2) << endl; It outputs (4,0)

lol
@MooingDuck yeahh I see you there
@tomalakgeretkal strange place to post that. Hopefully he's not a random person that's emailed me for help and I sent him there...
 
@Borgleader Industrial revolution.
 
@StackedCrooked heh
 
12:47 AM
Who is this Jonathan Peppers guy? Try twitter, @jonathanpeppers — jonathanpeppers 19 mins ago
fixed
nn
 
0
Q: Should we weigh questions on the home page?

justcool393Today, podcast 59 was released and the meat of the discussion during the podcast was focusing on how we can give them more publicity. There were a few proposals to solving the problem including having upvotes give more publicity and have users be trusted when they reach a certain rep level (like...

^^ /cc @Rapptz You seemed like you had an opinion? :)
@Xeo Why are you awake? :)
 
1:06 AM
omg I never did the calculation until now ... I have moved house 25 times in my entire life!
 
lived in a couple of countries, worked/studied in a couple of more, also moved in & out of between my parents properties & mine a couple of times, not to mention my parents moved house a couple of times when I was young & when I was in uni and first started working I tend to move to be close to uni/work
 
1:39 AM
can you have template parameters that cannot be deduced on a constructors?
 
Xeo
@Mysticial I have no fucking clue
My PC seems to have turned on by itself
(For why I'm actually awake, I need to take a piss)
 
2:04 AM
This comuter is absurdly slow. it takes like 30-50 minutes to open up chrome and join this chat room
 
I think it's time to use a computer in the cloudâ„¢
 
user3010322
What the hell did you do to your computer to make it take 30-50 minutes to open up one of the fatest opening web browsers? o.0
 
user3010322
Are you like running a 24/7 render farm or soemthing?
 
Windows XP on a Pentium 4 with 1GB of RAM. Runing modern day chrome, and dropbox.
 
user3010322
... Lmao.
 
user3010322
2:17 AM
1 GB of RAM.
 
user3010322
What kind of poor plebeian life are you living. :(
 
user3010322
Windows 7 8 GB of RAM should be your baseline, especially if you're going to develop!
 
it's in the mail
it would help if I could remember to stick to one tab at a time. Three tabs brings it well over the 60 minute mark
 
user3010322
Sounds like a horrible life.
 
my friends started a weekly gaming night right after my "new" computer had died, and I've missed three weeks :( and there's like a week and a half or more til it gets here
 
2:27 AM
it's all over for you little duck.
 
because of the customizations I ordered
 
:(
 
user3010322
This is why you order parts and piece and assemble it yourself.
 
user3010322
Two days max.
 
laptop
plus a warantee
 
user3010322
2:31 AM
Oh yeah, you said you were gonna get a laptop...
 
2:43 AM
why is my doge so weird?
 
3:16 AM
I like the mobility. Not that I move much, but like once a month I want to take it somewhere, or play in bad or something
 
3:33 AM
posted on May 30, 2014 by Visual CPP Team

Hello, In my previous blog, I introduced PDBProject Extension VS2103 as an alternative way to leverage the IDE features. In this post, I would like to introduce Solution Dependency Viewer Extension as an easy to understand overview of your solution...(read more)

 
4:00 AM
0
Q: Users that live off of old questions

Anubian NoobLet's look at the top question on SO: Why is processing a sorted array faster than an unsorted array? The top answer was by Mystical, who's a pretty high-rep user. However, looking at his reputation page, he gets almost 100 rep a day from that one answer! Is this a problem? Should there be som...

 
 
4:37 AM
hi, how come std::vector<int> left(arg.begin(), arg.end()-middle);
std::vector<int> left2(arg.begin(), arg.begin()+middle); gives different subsets ?
 
Hi.
@MooingDuck that's normal?
I used WinXP with 160MB of RAM.
@Lightness there is never any time in India because its urgent,,,sir
Oh god, that room is depressing.
Just a series of "Hello, can you help me".
Most without even being acknowledged.
You can probably weaponise the acumulated desperation
That said, I should go. Gotta make 70km today if I don't want to end in some backwater.
 
4:58 AM
~_~
 
user1804599
5:58 AM
I need a neutron star.
 
Don't we all.
 
Xeo
6:17 AM
Right. Mornin.
 
user3010322
Guys.
 
user3010322
I need a song called or using the lyrics "Talk to Me"
 
@Xeo Left. Evening.
 
user3010322
@ScarletAmaranth Inbetween. Afternoon.
 
well; bus in 7 minutes - off I go :) latarr
 
user3010322
6:34 AM
 
@Xeo I'm not even halfway through the latest episode of NGNL. And all I can say is, god fuck...
 
Xeo
@Mysticial :D
It's just so increadibly good
I loved how they are all over Hatsuse
 
6:56 AM
And whole "let's bet panties" thing.
 
Xeo
So good
Best series this season by far
 
Xeo
7:15 AM
The end was intriguing though
Damn. I wanted to get something from Amazon this morning, but now I forgot
And I know it was something rather important
AAAAH
Stuff to repair my bike!
 
> You can't do this. [Doing this] would be a big security problem (and also not very useful).
> Suggest some way to do it.
SO is funny sometimes.
 
7:32 AM
SO funny
 
(¬_¬)
 
my debugging points are not getting called ... oh hey, another friday night to hang out with you people. sadness :p
 
-16
Q: Don't you think that to downvote questions is quite stupid?

P82I am trying to speak to people who understand the meaning of the word logic. And according to logic - listen, if someone doesn't know something he can ask a question which to people who know the topic may seem stupid. It's clear - asking man doesn't know what he asks. What I suggest - instead...

2
^^ Bit of butthurt drama.
 
> I am trying to speak to people who understand the meaning of the word logic.
2
Beautiful.
 
> EDIT: For those who likes downvoting. What I've observed. There is a question on site. People reading but not answers. One day, two days, three days. At the fouth day someone downvoted. What what I see. At the same day it's downvoted againg and again! When I see such behaviour I remember the behaviour of jackal. And you?
Grammar is strong with this one.
 
user1804599
7:44 AM
@Mysticial lol his Q/A ratio
 
:( ... I put the debugging points in the wrong class, of course it doesn't get called ...
 
user1804599
And guess what? All his answers are to his own questions.
 
Wait. Crap. I just reached my 100th answer and it was wasted on a dumb question. :(
 
Xeo
aww
 
Ven
hai guis
 
7:48 AM
What happens when someone goes against Jon Skeet on meta? Severe butthurt drama/trama.
 
I'm pretty sure Jon Skeet is just a sophisticated botnet.
 
> Don't forget, that there was a time when and you asked for help from others
 
botnets are not out there to help people
@AndyProwl lol, fail
 
user1804599
@StackedCrooked loli, fail
 
7:54 AM
> Good news for all you taffy addicts and crystal meth smokers out there — a Harvard-led team of scientists has just devised a way to regrow teeth.
 
Xeo
lol
 
lol
 
> You seem to be clever, you can speak, you can read. But empty eyes betray you.
This guy's funny
 
@AndyProwl robot
 
It's been a while since I've seen someone that butthurt.
 
7:59 AM
@AndyProwl woah, low standard for 'clever' - can speak, can read so is clever ...
 
Perhaps this is his level. Or he just doesn't know how to express himself in English
He sounds like a help vampire trying to disguise his nature
> Simple example - someone downvoted my question and my chance for help is minimal. It's real humanistic!
ok, back to work I shall go
 
user1804599
8:14 AM
Hmm.
 
user1804599
I have to implement a function f :: Int -> String such that f 0 = "A", f 1 = "B" and f 26 = "AA" etc. :v
 
Xeo
Sounds easy enough
 
user1804599
Yeah, I guess so.
 
user1804599
Just have to convert it to base 26 I guess.
 
I'd like to use a class std::comment if it existed. It is funny to capture comments at runtime
 
user1804599
8:23 AM
f = (n) ->
    result = ''
    while n > 0
        remainder = (n - 1) %% 26
        result = String.from-char-code(remainder + 'A'.char-code-at(0)) + result
        n = (n - remainder) / 26
    result.substr(1)
 
user1804599
This works, but the .substr(1) at the end is really fugly. :[
 
user1804599
8:39 AM
Ah, I need to use Math.floor because JavaScript is a terrible programming language.
 
@rightfold What's that function supposed to do?
 
user1804599
28 mins ago, by rightfold
I have to implement a function f :: Int -> String such that f 0 = "A", f 1 = "B" and f 26 = "AA" etc. :v
 
Aha.
 
8:59 AM
morning
 
mournin'
 
hey
on scrum call atm, and phew i'll have no fight with the code debacle
 
9:19 AM
0
Q: Using Define for throwing exceptions

simCurrently, I am refactoring some old project which has been written by somebody of our ex-workers. I have encountered with wrapping of throwing exception with a define. Something like that: #define THROWIT(msg) throw common::error(msg) I can see some benefits of it, but they not so huge for m...

why
why would anyone write that
 
user1804599
Because they are complete idiots.
 
> common::
 
user1804599
I want case classes in PHP. :<
 
we know you are doing PHP, no need to emphasize ...
 
9:35 AM
If SG-1 was intended to promote the USAF and the US, then I'm sure it's deliberately ironic that SG-1 went bumbling out into the galaxy with an arrogant sense of entitlement and made everything at least ten times worse (aside from the one episode in which there are no galactic enemies left). — Lightness Races in Orbit 51 secs ago
hehe
 
Does anyone actually listen to the SE podcasts?
 
I don't read any social network stuff and I don't watch TV. But I do watch TV series on the internet & I am following a few well written online novels
 
> Sleeping in a room with too much light has been linked to an increased risk of piling on the pounds, a study shows.
>
> A team at the Institute of Cancer Research in London found women had larger waistlines if their bedroom was "light enough to see across" at night.
>
> However, they caution there is not enough evidence to advise people to buy thicker curtains or turn off lights.
 
I disagree.
compared to particles that spontaneously arise, or teleport across the universe in an instant, or occupy multiple places simultaneously, it seems pretty pedestrian.
 
I sleep better when it's dark, it might be conditional since I always sleep in the dark, thick curtain helps too. Sometimes I nap in the afternoons but it's not often
 
hmm
 
@DeadMG What I meant was, the media's interpretation of these studies and the constant ridiculous "correlations" is getting silly.
 
if you export a class to C++, does that count as an implicit use of all your member functions?
 
depends what you mean by "export a class to C++"
 
@LightnessRacesinOrbit I dunno, they seem to be pretty explicit in quoting the author of the paper, who says "We don't know if there's a causative factor, and it warrants further study rather than immediate conclusion".
@LightnessRacesinOrbit Well, if you, say, have a function that takes a base type, and you pass it a Wide type that is derived from that C++ base type, or if you have a C++ template that receives a Wide type.
 
9:50 AM
@LightnessRacesinOrbit GREEN JELLY BEANS LINKED TO ACNE
 
after all
I could convert the Wide type to a C++ type, then look up all the member functions and implicitly export them
 
wxString sect_opt[v_ports.size()];
for(int i = 0; i < v_ports.size(); i++)
    sect_opt[i] = _T(v_ports[i]);
> error: 'Lv_ports' was not declared in this scope
 
well, I am not sure how relevant it is, but short self-reported sleep duration is associated with elevated body mass index. since most adults are conditioned to sleep better in the dark, too much light might reduce the number of hours slept, thus it increases BMI/obesity rate
 
Hint: Post an SSCCE. — Jefffrey 41 secs ago
 
epic fail.
 
Xeo
9:52 AM
The author of that code sucks
 
I don't know, am I being too harsh guys?
 
yes.
 
> hint: that is a example, in the hole programm I will use a function to get the strings
 
Xeo
it's trivial to see the error there
 
Am I being a dick?
 
9:53 AM
a basic familiarity with WinAPI and _T makes it trivial to see the error
 
Xeo
_T only works for literals
 
There is zero tax burden on either of them, so that figure is completely meaningless.
 
jeffrey you shit
didn't I tell you off last time about making pointless edits?
 
ahahahah
 
9:57 AM
It's just £10bn being moved so that instead of John buying food with it, it's the hooker buying food with it.
I get that that is technically economic activity, but it's not business activity and as such it's not particularly interesting.
 
tax prostitution - profit
 
(without code quotes it's ugly as fuck though)
2
 
@DeadMG Uh, his edit was entirely correct, and I've restored it.
 
AHAHAHAHA
 
Only a totally butthurt individual would go so far as to revert correct formatting changes.
 
9:58 AM
it was a pointless formatting change
 
Even if I were to accept that (which I won't), the purpose of reverting it is??
 
it can stay as it is unless you have something actually meaningful to add
 
@DeadMG Does it hurt?
 
user1804599
@Jefffrey Noo you're a tentacle. :>
 
Better than ;)
 
9:58 AM
@LightnessRacesinOrbit Principally to smack the editor in the face.
 
Formatting is meaningful.
 
not that it really smacks them very hard.
but you do what you can
 
@DeadMG So, a childish sense of retribution then.
What a cock.
 
whatever works for you
 
Where did all the flaggots come from?
 
9:59 AM
it's my answer and I don't need to justify reverting edits on it by other people
 
Just edit it yourself. You can quote code with `code`
 
@MartinJames what's flagged?
 
Also, I HATE Hungarian.
 
@DeadMG It's not "your" answer. You need to justify everything you do.
 
I know and I totally don't care and I'm certainly not going to edit it myself.
 
10:00 AM
@DeadMG You already did, twice. So you clearly care quite a bit.
 
well if you think that formatting is so important then go post your own answer with super sweet formatting
don't hijack mine
 
Windows always picks the worst of times i.imgur.com/6EWtKcE.png
 
:lol:
 
user1804599
@sehe dat text rendering
 
@LightnessRacesinOrbit Some shit 'from Java and Android era' - looks like just code to me.
 
10:01 AM
@DeadMG You licensed it to the community when you posted it. That's why "edit" functionality exists. Why are you being such a kid about this?
@MartinJames Ah that. Wall of code spam - I validated it, actually
 
@rightfold give them a break, it's pre-boot screen
 
user1804599
Man.
 
@DeadMG that's a blatant lie! Rolling back is an edit. Also, you're usually quick to point out that per SO policy, the community owns posts. As the FAQ (used to?) say(s) "If you can't handle this, perhaps SO is not the site for you"
4
 
user1804599
I so want to ditch in favour of Require.JS this horrible JavaScript combiner script I wrote.
 
You wrote it in favour of Require?
 
10:04 AM
@sehe As usual, he can dish it out but can't take it. He's just being a kid for a few hours. I'm sure it'll pass.
 
user1804599
write_build(build_file, 'cat', '$builddir/mss.js', *js_files) really sucks tentacle.
 
I so want Hungary to declare nuclear war on Russia, China and US simultaneously.
 
Oh gosh. I wanted to open betting on how much longer Windows would be stuck at "100% complete" but it just crashed the seconds before I could snap the screenshot
@MartinJames you do?
 
@LightnessRacesinOrbit Drugs are tax-free in Britain? ;)
 
@FredOverflow of course
 
10:08 AM
So I just walk into a drugstore and buy them?
 
I'm copy/pasting from a pdf image with translations into my old non-unicode app. Even with the input method set to Hungarian, the accents etc. are not pasting correctly.

It would be easier if Hungary ceased to exist :)
@FredOverflow Not exactly, no.
 
user1804599
Man.
 
user1804599
Current working directory being a mutable global is such a bad idea.
 
user1804599
It should be passed as an argument to main.
 
@FredOverflow what
@rightfold Then how would you switch the current working directory?
 
10:19 AM
OH FFS now what. All the folders in my VM drive Z have gone read-only. Why did I even bother getting up today?
 
huh.
TIL about std::wstring_convert.
 
@rightfold Current working directory is such a bad idea.
 
dunno why, I felt like it. Proofreading and public shaming welcome.
2
 
Xeo
@BartekBanachewicz "They're an interface for stuff." - Done.
 
@Xeo well, I tried to approach a typical imperative programmer that approaches the subject poking it with a (long) stick.
 
10:22 AM
> You might recognize that it's written in your favorite programming language
 
user1804599
@LightnessRacesinOrbit uh, you won't.
 
paha
you're such a joker
 
user1804599
It shouldn't actually exist at all.
 
@rightfold And why not?
 
user1804599
Because process-local state sucks.
 
10:23 AM
It's not global. It's local to your current terminal context.
 
I suddenly feel that my "article" is relevant :P
 
user1804599
@BartekBanachewicz Hurray, YAMT.
 
well it's not actually a tutorial, I guess.
 
user1804599
Monad is generalisation of function.
 
Xeo
@rightfold No, that's arrows
 
user1804599
10:24 AM
That's the only thing there is to it, and nothing else.
 
user1804599
@Xeo Monads too.
 
@rightfold it's a monoid where mappend is chaining computations, and computations are on itself, so it's a monoid in the category of endofunctors.
 
Xeo
@rightfold Kleisli arrows maybe, but that's arrows again
@BartekBanachewicz Instead of doThingA >> doThingB, write do a; b.
 
I think I should remove s', w' and change them to something like newS, newW or changedS
 
Xeo
Then you don't need the explanation
 
10:30 AM
@Xeo yeah, that too.
the less uncommon syntax the better.
 
Xeo
Sup
How's your trip going so far?
 
Stopping for lunch at Zehdenick.
 
> giving object-based designs (prototype-based designs are similar enough with regard to the topic that it’s not worth mentioning them separately here
s/object/class/
 
Starting right now with some ice cream.
Then real food.
 
Xeo
10:37 AM
Great way to start a lunch!
What about your shoes?
 
It's warm so I'm using my sandals
 
are you gaining the requisite distance to get your train back that you booked?
 
> For those who know what they are, feel free to skip this paragraph. (insert short readable explanation).
no comment
 
@Xeo You need shoes to eat ice cream?
 
Yeah I'm on schedule
 
10:39 AM
Bah as soon as the Haskell starts you lose me entirely
though I'm not studying it closely
 
I'm now eating a choc-ice barefoot. Restriction seems to not apply in UK.
 
But if I don't get to Nykøbing I doubt anyone will notice that I'm not using the whole span that the ticket covers.
 
I had high hopes that you were going to show monadicness in a context that I'm familiar with
> the compiler is able to infer that for ourselves
s/ourselves/itself/
> explicitely
 
Been cycling along the Havel river so far. Quite nice.
 
std::vector::emplace_back is sexy.
 
10:41 AM
@R.MartinhoFernandes Inflatable bike?
 
@BartekBanachewicz You started out OK, but then you quickly ensured that nobody, ever, who doesn't know what monads are will never find out from you by trying to explain them in Haskell.
 
@LightnessRacesinOrbit well, the first part is rather trivial. New things start when haskell starts. I hoped that showing the very same example, but expressed with monadic context would be the "click" some people need. Apparently it needs more polishing
 
No. I cycle along the shore.
Bartek is writing a monad tutorial?
 
Xeo
The problem I see with @Bartek's tutorial on monads is that it only gets into specific monad instances, not why we have something called "monad" at all.
 
@DeadMG I deliberately reduced syntax characteristic to Haskell to a minimum (and again, I'll probably remove ' because they are confusing.
 
10:42 AM
It's a burrito. Done.
Hmmm burritos.
 
An inflatable bike sounds like more fun.
 
@Xeo yes, because that's, OTOH, a main complaint people have against most of the tutorials. "What can I do with them? Why should I bother?"
 
I wonder if there's a Mexican food place around here.
 
Xeo
You can't do much with "a monad" by itself, is the thing
22 mins ago, by Xeo
@BartekBanachewicz "They're an interface for stuff." - Done.
 
@BartekBanachewicz It's too different from the previous examples. Maybe introduce the Haskelisation before the monads.
 
10:43 AM
@BartekBanachewicz If it's not zero, it's not enough.
 
@R.MartinhoFernandes Oh
 
@DeadMG Do you mean that it's not readable or that you have a personal problem with it?
 
@BartekBanachewicz nods The practical approach is promising.
 
Replace the syntax with Prolog for maximum effect.
 
10:45 AM
> behavior
 
Or replace it with C++ for maximum awkwardness.
 
@R.MartinhoFernandes that would convince at least puppy
 
@BartekBanachewicz What I'm saying is that basically everybody who can read Haskell can already do monads.
 
> Now, this was tutorial about Monads
Why are you speaking like Vlad?
 
10:45 AM
Haha yeah right.
 
Xeo
@DeadMG lolno
 
there's practically nobody in the audience of "Can't do monads but can read Haskell".
 
"I take tutorial and I go to car and I write program for make good sexy time yesss?"
 
Yeah right.
 
Xeo
Otherwise, there wouldn't be so many monad tutorials out there
@DeadMG Wrong. Oh-so-very wrong
 
10:46 AM
@DeadMG is having one of those days. I suggest we all leave him be for a little while.
 
@DeadMG I'd differ, but even then, you're not supposed to understand underlying mechanics and everything. Just the idea.
would adding semicolons help? :P
 
Proof-reading complete. I look forward to reading the next revision.
 
Anyway, since monads are quite uninteresting without do-notation, not using Haskell syntax makes any monad tutorial doomed to fail.
 
Kermit The Frog explains recursion, at least the voice reminded me of him :)
2
 
@LightnessRacesinOrbit thanks. I'll try to improve, your suggestions are very valuable.
 
10:49 AM
Need to save battery for navigation. See y'all later.
 
@R.MartinhoFernandes have a nice ride!
 
Xeo
Bye
 
@FredOverflow lol
 
that's pretty cute
@BartekBanachewicz np
It's a very promising start.
@FredOverflow my old prof again
I'm only a mile or so from his office right now :)
 
@LightnessRacesinOrbit Okay I'm jealous now ;)
 
10:54 AM
@LightnessRacesinOrbit neat stuff
 

« first day (1322 days earlier)      last day (3643 days later) »