« first day (730 days earlier)      last day (4233 days later) » 

4:05 AM
LOL
 
LOL
 
That genuinely made me laugh omg...
 
good evening everyone :)
 
evenin
 
what is everyone up to? :)
 
4:09 AM
@ITNinja: I gotta ask, do you know the youtube series "The website is down" ?
 
@Borgleader nope :) sorry
 
If you have a few spare minutes, I suggest you check it out.
 
@Borgleader why? o.o
 
Its really funny :)
 
ahh, I will check it out some time :)
 
4:17 AM
It is 6 AM and I still haven’t slept. :D
 
@Mysticial: You said you were working on a new version of y-cruncher and that it would be much faster correct?
 
@Borgleader Faster yes. Much faster, depends on what you define it as.
I had posted some side-by-side benchmarks a day or so ago.
 
Well I was curious as to how you could make a Pi calculation faster. I mean... there are multiples ways of doing it? Or did you just optimize the shit out of your code?
 
But the improvement is highly dependent on a number of things.
@Borgleader In this particular version, I'm removing a few sources of overhead and I'm cutting back a few levels of abstraction indirection.
There's only a few minor algorithmic improvements.
 
Oh ok
 
4:28 AM
I got rid of the memory allocator from all performance critical code. (that was apparently a pretty sizable bottleneck that I didn't expect)
And I did something else that involved breaking a level of abstraction to remove some redundancy.
 
Why would you write an allocator if not to make things perform better?
 
@Borgleader The allocator was originally built to efficiently handle multi-threaded calls and to achieve determinism.
But since that was introduced, I've gotten good enough at this to no longer need it.
 
Ah I see
 
These were particularly nasty optimizations that couldn't have been done to the old version (v0.5.5 and earlier).
There's one more big algorithmic optimization I intend to do for 0.7.x. But I haven't started thinking about it yet.
 
Hi folks.
 
4:35 AM
One of the nastier optimizations is this: A x B = D and A * C = E. If A, B, and C, are all bignums of roughly the same size, then there is up to 17% computation redundancy in calling mul(A,B) and mul(A,C).
 
Can't sleep. :-/
 
so basically if A ~= B ~= C, you just assume D = E?
 
No, even if they are completely different, there is 17% redundant computation.
It has to do with the FFT-based algorithms that are used for large multiplication.
 
o.O You... use FFTs to multiply big numbers? I had no idea you could do that
 
But in order to get rid of this redundancy, you cannot encapsulate a mul() function.
So you can't implement it as just a simple math equation anymore.
That's what's difficult about it.
 
4:43 AM
And that's faster than a regular multiplication?
 
There's a whole bunch of multiplication algorithms.
O(N^2) is the one we all know
There's also O(N^1.53) and O(N^1.46) algorithms.
FFT-based algorithms get you close to O(N log(N))
 
by regular I meant the same as the assembly mul a, b
 
oh no, I'm talking about bignums
not word-size numbers
 
Oh so numbers beyond your run of the mill 32bit ints...
That explains a lot =.=;
 
So if A, B, and C are each a million digits large: There's a faster way to do mul(A,B) and mul(A,C) than two function calls to the bignum multiplication function.
 
4:48 AM
I have honestly learned nearly 2x more in a month of watching chat in this room then I had before I joined lol.
 
That's not an optimization that can be exploited if you use a library that only provides normal multiplies. So it's not an optimization that most people do.
 
Huh... I'm not a math wiz but I'll look that up. That sounds interesting.
 
@Borgleader There isn't much literature on the optimization that I'm talking about. That's because it's generally considered too difficult and too error-prone to do.
But FFT for multiplication is everywhere.
Once you get an idea of how that works, it's obvious to see where the redundancy lies with A * B and A * C.
@ITNinja Yep. We also learned about urinals yesterday. :)
 
TIL I learned people in this chat are bonkers for baby bats
 
@Mysticial lol xD I'm not sure I want to know whats next....
 
4:55 AM
I also learned I shouldn't expect (at least for now) to be on par with the rest of the people here cuz the competence level is pretty damn high
 
yeah, I dont bother conversing often in here because I cant even give a basic answer to many of the questions asked in here.
 
I'm here to gain knowledge by osmosis.
 
@ITNinja Some of the questions we ask here are indeed very difficult to answer.
For example:
yesterday, by Rapptz
Are there professional urinal reviewers?
 
@Mysticial lol xD
see, a lot of the stuff that is asked in here, I know how to do it, its just it takes me a while to put something together to actually show that I can do it xD
and usually by the time that I do, theres activeusers^2 answers in the chat already -.-
 
Maybe if you don't think the users will follow the inverse-square law.
 
5:05 AM
lol
 
But I love the fact that we can easily have ridiculously off-topic conversations.
 
yeah, those are fun to watch lol. However, I still laugh when I see templates when working in c++ because it reminds me of how often you see people making them in here lol...
 
Off the top of my head: The last 3 ridiculous conversations we've had are: Urinals, DFC, and dick size.
 
What's DFC?
 
@Mysticial Not in that order, though.
 
5:12 AM
@R.MartinhoFernandes Were you not there at the time?
 
But Martinho never stops bringing up his dick size.
Or maybe it's @sehe.
I can't really tell.
 
@EtiennedeMartel What?
 
Har har.
 
@R.MartinhoFernandes Start here:
Aug 30 at 18:45, by Mysticial
like DFC... I was embarrassed that I didn't know that one when it came up in a conversation...
 
5:15 AM
you were there
 
Its the second definition in Urban Dictionary
I had to look it up
 
We almost scared the Cat out of the room.
 
Yeah, but Cat is quite impressionable.
 
Some men enjoy rather small breasts.
 
Too big is no fun
 
5:18 AM
B-D range is fine by me.
 
OP had an accident, and the question got closed, then opened a new one. I think it's best to just delete this one.
-5
Q: Accessing native memory through JNI. What am I doing wrong?

mimicocotopusI accidentally hit submit too soon and before I could type this in to edit I got horribly flamed: I'm writing a program which loads a large amount of data into memory (a graph loaded from a file) and then accesses it through Java on Android. I've been having a lot of trouble, however. I just wro...

 
Lol someone just randomly downvoted my +15/-0 answer(this). No comment or anything of course.
 
@Rapptz: I was actually having the same debate the other day, I thought she (sabrinacichy.deviantart.com/art/…) was fine, and my friend who I was arguing with thought too small.
 
that's too small? lol
 
Not in my taste.
 
5:29 AM
@chris Shit happens. Some people will downvote for stupid reasons like jealousy or too many votes.
The person who downvoted you upvoted the other answer.
 
@Mysticial, Good point. I had a suspicion of who, but they didn't lose any rep, so I guess I was wrong.
 
Jealousy downvotes and close-votes are pretty common.
 
5:42 AM
@Borgleader Another for you to argue about:
 
Definitely fine imho
Holy crap Andrei Alexandrescu is hilarious
 
Anyone wanna reopen this?
22
Q: Can code that is valid in both C and C++ produce different behavior when compiled in each language?

MehrdadC and C++ have many differences, and not all valid C code is valid C++ code. (By "valid" I mean standard code with defined behavior, i.e. not implementation-specific/undefined/etc.) Is there any scenario in which a piece of code valid in both C and C++ would produce different behavior when compi...

1 more vote needed
 
I can't actually vote on that. I don't have 3k rep :(
 
And just like that, it's back to the top of the multicollider. :)
I'd expect that to probably reach 100+ when I wake up in the morning. It's about time we had another one of those in C/C++.
 
6:01 AM
It's actually a great question.
 
Technical C and C++ questions have a hard time getting up to 100. (at least not without getting linked)
This one looks promising.
 
TIL default in a switch can be the first case.
 
@Borgleader I heard about that from somewhere.
Never tried it though.
 
@Mysticial Well I heard it from Andrei Alexandrescu in his variadic template talk I linked a few posts ago.
 
default is a keyword, why wouldn't it happen?
Because of the fall through?
 
6:08 AM
I always assumed default worked like a black hole. As soon as you reach it you fall in and its done.
 
I remember learning in my first year C++ class that default can go anywhere :p
 
Holy crap... I think I shouldve read a book on templates before watching this video
Recursive variadic templates T_T
 
@Borgleader Probably want to get used to that -- most variadic templates are recursive.
 
Anyway, bye guys. Going to sleep.
 
night
 
6:20 AM
@Rapptz G'night.
 
@JerryCoffin: It sorta makes sense to me because it reminds me of the pattern matching in Scala but I don't code templates so it's all new to me
 
@thecoshman What exactly constitutes a "unity man"?
 
@Borgleader Variadic templates are new for nearly everybody. Typical use, however, is pretty much like classic Lisp: instantiate on the first argument, handle the rest recursively.
@FredOverflow Unity is Ubuntu's GUI, so presumably he's talking about whether you use Unity.
 
Oh. I don't.
 
@JerryCoffin: Haven't actually tried Lisp
 
6:31 AM
@Borgleader Need to fix that omission. Seriously, it's a pretty enlightening experience, even though chances of using it to write real code are remote (at best).
 
@Borgleader I did. My parents sent me to a speech therapist to unlearn it.
4
 
@JerryCoffin: I'll try to find some time to do so then.
 
@FredOverflow Jerry is right on the money
 
How much money did he win?
 
@FredOverflow Just enough to pay Herbert Schildt exactly what one of his books is worth.
 
6:45 AM
Well, I once read that the C standards costs 100 bucks, but the annotated C standard by Herb only costs 40 bucks or something, so one can calculate how much value his annotations add... :)
 
@FredOverflow I've written that myself...
 
I'm pretty sure you're not the first to come up with that particular joke ;)
 
@FredOverflow I'm dead certain I'm not, though I was probably pretty close -- I think I first wrote it around 1991 or so, when the C standard was still pretty new.
 
@FredOverflow ¬_¬
 
@JerryCoffin Oh. I stand corrected, then.
 
6:52 AM
@FredOverflow No correction there -- as I said, I'm dead certain I wasn't the first to write it (well, as certain as I can be based on my rather mediocre memory).
 
@JerryCoffin That's okay, we're talking 1991 here. I can't even remember what I had for breakfast yesterday.
 
@FredOverflow I can generally remember 20 years ago better than I can yesterday (senility setting in...)
 
Moaning
 
Morning @sehe :)
 
evening
 
7:01 AM
@Chimera Nice.
@FredOverflow 1991 never existed, as far as I remember.
 
@NikiC I knew you'd pick up on my evil sarcasm the other day :)
@R.MartinhoFernandes It only exists as the mythical year in which I turned 15
 
@sehe It was really evil after all ;)
 
@Mysticial Still here, what time is it over at your side of the globe? (Oh, and try not to fall off!)
 
2am
 
@NikiC Not everyone picked up on that, or they were so busy following Cicada's counter troll :)
@Mysticial Ok. Your shift's over. You can go to sleep now. I'm back I'm retired :)
 
7:05 AM
I'm doing homework... due tomorrow.
 
Today, you mean?
 
ya wateva
 
6 hours ago, by daknøk
Legendary badge.
 
@R.MartinhoFernandes :-)
 
@sehe I'm trying really hard to related that to the message you replied to.
But I cannot.
 
7:09 AM
@R.MartinhoFernandes Sorry. Just imagine that, if you're like me, caffeine deprived on a monday morning, and obviously the universe revolves around those ingredients, your message might have been a reply to mine. (Yeah I'm sorry, that's petty and sad...)
 
I've been caffeine deprived for months now.
 
@R.MartinhoFernandes See, you can feel how that is are a robot...
 
Only the first week or so involved some amount of suffering.
 
mornin
 
I realized that I no longer pine for a coffee when I'm with someone that orders a coffee.
I think I'm cured.
 
7:11 AM
@R.MartinhoFernandes Well, when I order a coffee, invariably I get a headache. So I just make it/get it myself :) (marriage)
 
@sehe Wait, what.
 
@R.MartinhoFernandes What? Bad puns only go on fridays now?
 
(Also, you still insist on using g out of habit; that thing is dangerous when not needed)
 
@R.MartinhoFernandes As if I wouldn't know? Anyhow, there's always u, U, g-, :se undofile and VCS
Just be glad I redacted it from :%s/ret/f/g :)
 
7:15 AM
Today started well... they replaced grapes with apples :)
 
I presume that GUN toolchain might be related to what others know as the GNU toolchain? — sehe 4 secs ago
@LuchianGrigore 'They'
 
they
the man
(EA)
 
Oh well. That'll be noticed. Not
 
It was all quiet in here
 
Are the apples green or ripe?
 
7:19 AM
lemme just google ripe
ah
no
yellow
 
oh wait
yes
:))
 
Ok. I have no idea why I thought to ask that.
I guess I'm still waking up.
 
ripe does have several meanings, in his defense
 
I didn't know any of them though
 
7:22 AM
^ TIL we're doing dark social here. All the time. We should start wearing masks and use scary voices. (source)
 
@sehe You don't already?
 
@R.MartinhoFernandes Sorry. Mine is at the laundry service. Monday again...
 
wth is dark social?
 
@LuchianGrigore You don't want to know
 
I wouldn't rely on that article
 
7:30 AM
What about it.
 
"This means that this vast trove of social traffic is essentially invisible to most analytics programs. I call it DARK SOCIAL."
How the hell did they get the percentage if it's invisible?
 
They have X-ray glasses.
 
Also, I'm pretty sure the chat is not invisible
 
@LuchianGrigore Fyi: the discoloured text is a hyperlink. In most browsers you can select it and follow it to reveal another page. In most textmode browsers you would use <Up>/<Down> to select the link and press <Enter> or <Right> to follow the link. In some modern graphical desktop environments, the two actions can be combined with a pointing device ("mouse"): navigate the "mouse cursor" on the hyperlink, and use a button (usually integrated on the actual pointing device) to open the linked pagee
@LuchianGrigore Just measure how much traffic can not be tracked by referrers/cookies
 
@LuchianGrigore Dark social is like dark matter you see. Nobody really know if it exists but if it does, there's a lot of it
 
7:34 AM
@LuchianGrigore Depends on how people use it. I'm pretty sure, the way I copy/paste links is untraceable to a random webserver.
 
@sehe What do you mean? I can clearly see http://chat.stackoverflow.com/rooms/10/loungec in the referrals for my blog.
 
@R.MartinhoFernandes I didn't talk about them. Also: Message ID 5777777. Woot (sadly, as many prime factors as your chat user id)
@R.MartinhoFernandes PS. github does site stats for github pages/blog?
 
that was one huge ass balloon
 
@sehe I'm using Google Analytics. Because I like seeing graphs :)
 
@R.MartinhoFernandes Wokay. I should look into that. Once.
 
7:38 AM
@thecoshman Ah, so the guy jumped from the height of the Statue of Liberty. Nice.
 
@R.MartinhoFernandes are you a manager?
 
@thecoshman What.
 
@R.MartinhoFernandes o_0
2 mins ago, by R. Martinho Fernandes
@sehe I'm using Google Analytics. Because I like seeing graphs :)
 
damnit! Another question I answered gets closed.
 
How do you infer that I am a manager from that?
 
7:40 AM
@Chimera but you still get rep don't you?
 
@Chimera You pick the wrong friends
@thecoshman Until deletion. Also: that sounds desperate
 
@R.MartinhoFernandes 'Because I like seeing graphs' ... pointless data is a managers best friend
 
@thecoshman nope... not yet.
 
@sehe ah right, and I guess it does
 
@thecoshman Ah. No. It just makes my ego feel comfy.
 
7:41 AM
@thecoshman How can you do pointless graphs? There is no true solid line, even on physical plotter prints
 
@sehe you really had to didn't you
 
@thecoshman Used a lot of helium also.
 
@thecoshman irrelevant
@Chimera This was a bit surprising, though:
 
@Chimera at least they weren't... full of hot air! (SCNR)
 
for( i = 1; i < x+1; i++)
{
    {
        printf("%d", i);
    }
}
 
7:44 AM
@sehe Yeah, it could have been a few different ways.
@sehe It works, I tested it.
 
I think he was talking about the extraneous set of braces.
 
@Chimera You mean it could have been { { { { { printf("%" "d", ((((i))))); } } } } } ? :)
 
Btw, isn't it like, about fucking late in the US?
 
@sehe Lol yeah! That was left over after some editing... doh!
 
@R.MartinhoFernandes lol, I didn't even notice that extra braces :P
 
7:46 AM
@R.MartinhoFernandes Yeah, I should be getting to bed.
 
@R.MartinhoFernandes fucking the late would be necrophilia AFAICS
 
@Chimera or early... depending on your point of view :P
@sehe only if you mean 'late' figuratively
 
@thecoshman rather, literally
 
@thecoshman yep.
 
@Chimera Don't feel pressured :)
Figurative necrophilia?
 
7:47 AM
In that sense, we're all getting late some dat
 
@thecoshman That's what happens when you race to get an answer out...
 
@R.MartinhoFernandes Art form
 
@sehe nope, if some you fucked someone who was literally late it's not necrophilia. It would only be if the they were figuratively late, using it as a eupohmism for dead
 
@sehe Yeah, I like that syntax even better.
 
Ok, I'm letting this one pass because it's a big word.
 
7:50 AM
@R.MartinhoFernandes which word?
 
I said I'm letting it pass.
 
@R.MartinhoFernandes Oh I don't. :-)
 
@R.MartinhoFernandes pass away so you can you please your inner necrophiliac?
 
Xeo
@thecoshman third to last
 
(I'm picturing @thecosh madly googling the hell out of each word in that sentence, double checking each one)
@thecoshman Ok, that sentence is seriously fucked up.
 
7:53 AM
I hate it when I work on an answer only to realize 2 or 3 others answered nearly the same way before I finished.
 
Xeo
I hate it when I write an answer and the question gets deleted. :(
 
oh, euphemism it should be, sorry... oh god, yet, the rest of it is just utter garbish (so bad, its both rubbish and garbage) as well
 
lol
I hate it when people complain about stuff that happens when they write an answer.
:P
 
@R.MartinhoFernandes :-)
 
Don't write answers and it doesn't happen!
 
7:55 AM
 
@Chimera it is possible that log() already does Briggs logarithm. I didn't look it up
 
damn, it's nice to have proper computing power again
 
agai, indeed :)
Is that archaic spelling for agay?
 
Woo, pups. Are you back on the island?
 
7:58 AM
No, his account has been hacked by a positive individual
2
 
@sehe That's a nice solution also.
 
I am indeed back on The Island
 
@Chimera I like to overengineer on silly question like that. The VLA with semi-correctly calculated bounds is... makes me giggle
 
@DeadMG enjoy your self did you?
 
eh
 
7:59 AM
@sehe :-)
 
next time I travel, must have lappy
else it's just so unbelievably boring
 
So, what the fuck really happened back there?
 

« first day (730 days earlier)      last day (4233 days later) »