« first day (2479 days earlier)      last day (2483 days later) » 

12:20 AM
@fredoverflow idk if i told you but i enjoyed your second recursive descent parser video
 
 
1 hour later…
1:35 AM
I want to add a comment to my post to reply to someone else, but can't, do I have to make an answer and hope they get notified?
it's my question, and even my answer their comment is on, but apparently I don't have the rep to add comments
 
whatever you do, don't post an answer unless you're answering a question
 
He's asking for source but the answer's got lots of source already
would you be able to provide a source code sample for this? — Cristian Toma yesterday
posting a second answer would confuse the issue, but I'm new to the site, so not sure how to rope him into a chat so I can figure out what he doesn't know
 
weird, you should be able to add comments on your own posts
 
do I somehow have two users?
 
oh wait
it's not your post
 
Phi
1:47 AM
...weird
...how'd I end up with two
 
lol good job
 
Phi
that's gonna be fun later I bet
 
you can ask for them to be merged, IIRC
 
Phi
that'd be cool
 
Phi
1:48 AM
is there a way to set up a chat with me + commentor like moderators do when the comment chain goes on forever
 
it's automated, generally
once you hit ten comments below the question, you can do that
it'll post all the comments to the new chat, and then you can delete the original ones together
 
Phi
feels like breaking the rules when a moderator is like "you doing it wrong sigh ima fix"
 
are you saying you don't get a link above your comment composition box suggesting you move it to chat once the thread has exceeded a certain number of comments?
 
Phi
I've just only seen the "the comments aren't for extended discussion" move-to-chat
there was never the implication you could move it yourself
 
the link is the move-it-yourself
 
Phi
2:17 AM
facepalms
it wants to merge the accounts the wrong way
 
3:28 AM
when you constantly surround your dog with food - is it like subtly suggesting something?
 
3:50 AM
@BaguetteGarlique neat vid for reference
 
4:09 AM
...386 images?
 
only 378!
 
 
1 hour later…
Xeo
5:24 AM
@StackedCrooked @Mysticial Weekly reminder that Made in Abyss is an absolutely beautiful show and you should watch it.
That anime just hits all the right spots for me.
 
thanks
 
user784668
5:43 AM
@Mysticial can you run something on your ryzen box?
 
@Fanael what is it?
 
MSVC or GCC?
 
user784668
gcc
 
gimme a sec to boot into Linux.
You're lucky that I just switched off that Ryzen box as my main machine. Otherwise, I wouldn't be able to reboot into Linux without wiping all the shit I have open.
 
user784668
5:47 AM
requires -lcrypto for sha384 obviously
 
One of the reasons why I switched off my Ryzen box is because I can't do benchmarks on my main machine since I have too much shit open.
And I only have one Ryzen.
So I switched back to my 8-core Haswell since I have 2 Haswell boxes.
@Fanael What apt-get command do I need to install that?
 
user784668
@Mysticial apt-get install libssl-dev
 
Xeo
> install libssl
> -lcrypto
...
 
user784668
@Xeo Would you want a separate libfoo-dev for every library openssl provides?
 
Xeo
dunno, just feels weird since I'm used to -lblah -> libblah
 
5:55 AM
17.484 seconds user time.
 
user784668
@Mysticial I want the hash though.
 
Processor is running at stock. The turbo varies from 3.7 - 4.1 GHz.
Fuck, I have no way to copy from that machine into here. Gimme a sec.
Need to install Teamviewer.
 
user784668
But that's slightly slower than Haswell, 16.08 seconds here.
 
wait, fuck that... I forgot to turn on opts.
 
user784668
Ryzen would've probably beaten Haswell if I used SHA256 instead
 
5:57 AM
Why do you want the hash?
 
user784668
@Mysticial To see if the results differ, obviously.
 
user784668
@Mysticial But that's like second or two at most, SHA384 is the bottleneck here
 
15.604 seconds
Fuck. Teamviewer won't install.
 
user784668
Can't you, I dunno, copy the hash onto some pastebin?
 
user784668
Or login to SO and post it here :P
 
6:06 AM
almost there
Fucking dependency shit
e65a6426d4b74e4d4e58b92f5df7903ebf422eb40ce6cb8d28ba7bcad1790ad58600de61636ddfe243cc5bea386cb38e
real	0m16.904s
user	0m16.900s
sys	0m0.000s
 
user784668
73d99b858bc1303a0214d448ffc061720e1dc9b2c3f4cd8052f8edc8fc7a6793f7a5a0ab623f61d‌​c779c62adfac10ebe
 
Looks like about 1/16 of the digits matched?
 
user784668
So fast inverse sqrt definitely differs between Ryzen and Haswell.
 
lol
 
user784668
@Mysticial Like that matters at all, it's a cryptographic hash.
 
user784668
6:11 AM
Now, if I were able to revive my K10, I could tell you if they changed it since then.
 
I have a K10 machine in front of me right now. But I don't have Linux installed on it.
 
user784668
@Mysticial And you'd have to port the code from AVX2 to SSE2
 
Right now I have:
- Phenom II (K10) - Windows only
- Ivy Bridge - Windows only
- Piledriver - Windows + Linux (booted into Linux atm, can't reboot for a while yet)
- Haswell - Windows + Linux
- Skylake Desktop - Windows only
- Skylake Purley - Windows + Linux (but booted into Windows right now, and I can't reboot atm)
 
user784668
@Mysticial I have a P6, a dead K10, and two Haswells.
 
What happened to the K10?
 
user784668
6:16 AM
Don't know, mobo died probably.
 
user784668
6:30 AM
LOL
 
user784668
Debian actually has xorg drivers for T23's woefully outdated GPU
 
8:21 AM
@StackedCrooked I gotta say, Stein from hero academia has one of the best character designs I've ever seen
 
8:35 AM
weird ... having problems with entering messages here ...
you don't see many fat aliens in sci-fi movies
why do human send messages into space, when in sci-fi, aliens tend to come over here and kill people?
 
8:56 AM
@Telkitty Give it time. McD and KFC are negotiating with SpaceX now...
 
@Telkitty The burgers will be smaller..
 
but then again, you can send less food sooo ...
 
nwp
On the bright side you can go for quality. You can send 100$ burgers and it is not really noticeable in the budget.
 
9:16 AM
The aliens can barter for the happy meals. Ship in herds of massive space-cows, or something, so that the meals can be prepared on-site in the KFC space-station.
 
9:36 AM
 
Hi! :)
 
hello
 
9:57 AM
I wish my band made tank tops.
 
nwp
I wish gdb would say something other than <not accessible> and <optimized out> in a -Og -ggdb build.
 
@nwp Complain in GCC bugzilla with test cases.
 
@orlp Some guy has an interesting trick to avoid repeatedly checking whether we already reached the first element in insertion sort. Looks usable enough.
 
nwp
@wilx It will be closed because I didn't follow the guide on test cases written in a forum thread in 1992.
 
@nwp Excuses. You are just lazy.
 
nwp
10:55 AM
(inb4 JD is a totally unknown player)
 
11:20 AM
@Morwenn I'm confused
that compares every element with the first element
 
That it does. From my benchmarks, it's way slower than your solution anyway.
 
that's what I figured
hence my confusion
 
The tradeoff was one additional value comparison for every step in the outer for vs. checking --sift != first for almost every element in the inner for, so it looked like it had some potential, but actually no.
 
@Morwenn I don't do that
I already have a trick for that :)
 
@orlp I know, I benchmarked it in a mergesort implementation that couldn't benefit from the trick the way pdqsort does :p
 
11:24 AM
@Morwenn that's what unguarded_insertion_sort is for
 
12:09 PM
Today's funny exploding user, (10k+): stackoverflow.com/q/45389687/758133
 
@Borgleader Thanks man, appreciate the love. Let's hope it doesn't take another 1.5 years for part 3 ;)
 
@fredoverflow LOL - poster lists just about everything that is shitty with C, (so it's a long list:).
@fredoverflow Owait.. the poster forgot to moan about the lack of a string type, (worthy of the name).
 
12:52 PM
Run
 
user1804599
@fredoverflow I replaced generated Java code by generated C code and it was 13 times faster (also did other optimisations though, such as better file format, mmap, and no heap allocations).
 
php is good for backstabbing - like it works, except something is not right, unlike C++ compiler, telling you your syntax errors up front ...
Java is slow, but that's fine - not many of us are writing code for medical emergency equipment
consider the computer system on Apollo 13 and the speed of hardware nowadays, I wouldn't worry too much about Java's slowness
 
 
1 hour later…
2:32 PM
@Telkitty "Hey - if we don't get our postion and alignment data over to the LEM, entered into the AGC, and shut everything down in the next two minutes, we're dead. The CM won't have enough battery left for reentry!"...."Umm, it takes three minutes for the Java runtime to warm up..".
 
this chat is written in C#, that's 'a lot of' speed improvement ...
 
3:25 PM
@MartinJames Haha.
 
@Telkitty "Improvement" implies a comparison between two things, but you don't seem to mention two things being compared here.
 
isn't it obvious? we are talking about comparing java speed to C# velocity
 
@Telkitty It's only tangentially relevant..
 
3:43 PM
@MartinJames I wonder if there are any viable Java processors that actually would make Java run faster than on ordinary PC CPU.
 
3:57 PM
@wilx Not sure. For instance, I guess you would need, say, 16 cores, (one to run the code, 15 to run the GC).
 
@MartinJames Hehe.
There are some listed on en.wikipedia.org/wiki/Java_processor.
 
user784668
@MartinJames holy fuck you're alive?
 
his suspension has ended 3 weeks ago or so
 
user784668
Suspension?
 
SO ban
 
4:01 PM
@Fanael Yup, still here, despite the best efforts of the entitiled snowflakes and SO mods:)
 
user784668
@MartinJames How did you manage to get banned in the first place?
 
@Fanael I was unable to resist describing 'i++ + ++i' code as 'utter trash'.
 
user784668
I mean, it's SO, the average comment on the average question or answer is basically "you suck, go to hell", only needlessly verbose
 
user784668
So I find it incredible it's even possible to get banned
 
@MartinJames Even I did not manage to get banned for more than 1 day. :)
You must be a real shitlord. :D
 
4:04 PM
@Fanael I suppose he was too lazy to add that verbosity
:D
 
@wilx If you want a longer suspension, you need to be less economical with the truth:)
 
:D
 
4:21 PM
Heya again :)
 
user784668
@MartinJames: what's your opinion on people who think multithreading is hard?
 
4:33 PM
@Fanael ..that they're right some of the time, like a stopped clock:) Unfortunately, so many sites introduce deadlocks, race-conditions, priority-inversion etc. before mentioning any advantages of a multithreaded approach. The resulting threadfunk just propagates like influenza:(
 
@MartinJames "threadfunk"?
 
@JennaSloan AKA 'threadophobia' - an irrational fear of multithreaded designs, brought on by shitty websites and poor tutorials:)
 
Immutable everything and you're fine ^^
 
@Morwenn LOL
 
user784668
4:51 PM
@Morwenn I smell threadophobia.
 
@Fanael I haven't used a mutex since school .____.
 
5:10 PM
I hardly ever use an explicit, 100%, mutex either. I use critical section objects to protect queue structs for the time taken to push/pop a pointer/reference, and that's it. In such uses, the period of possible contention is so short that actual blocking on a hard lock rarely happens.
 
user784668
5:40 PM
@MartinJames But locks are SLOW!!!!
 
user784668
That's what I read in a random internets blog #474124145!!!
 
user784668
@MartinJames You should try to minimize the amount spent on acquiring locks, and have a single global lock instead!
 
user784668
(Yes, that's an actual thing I've read)
 
6:31 PM
@MartinJames I use them frequently, but typically for small operations that e.g. just decide what needs doing.
 
@Fanael I'm not all that surprised. I've seen a couple answers on [multithreading] that were not only totally wrong and could not possibly work, but got upvoted and accepted. This is what the shitty tutorial sites do:(
 
7:32 PM
fuck, my car broke donw
3
 
who's donw and will he sue
 
I wish I had a car
 
7:53 PM
I've actually done quite well with cars. In 40 years of driving, I've never been stranded on the road. I've had a couple 'will it make it' moments, and a few 'won't go' breakdowns, and a but only outside my house, (with my own cars, anyway. Hire cars, well...).
TowbarTek :)
 

« first day (2479 days earlier)      last day (2483 days later) »