« first day (1312 days earlier)      last day (3640 days later) » 

12:00 PM
which. I. WANT.
I am not going to write numerical for loops.
 
this is nothing different to when everything had to be ogl instead of dx.
it's just now everything has to be haskell instead.
 
user1804599
@BartekBanachewicz for-of in ES6 :D
 
user1804599
Funny that ES6 uses in for props and of for elements and CS the other way around.
 
@DeadMG Hmm, true. :(
 
@DeadMG except DX and OGL are extremely similar
 
Xeo
12:02 PM
@R.MartinhoFernandes I pledge innocence!
 
But one of them is clearly superior
 
@BartekBanachewicz It doesn't really matter.
what matters is that you couldn't see past your preference for OGL
and now you can't see past your preference for Haskell
it's the same trait just with different technologies.
 
user1804599
Burtik what is it that you have to write?
 
Burtik
I'm stealing that
 
Isn't this passed in a register?
 
12:07 PM
yep
 
ECX if I recall
 
Xeo
ECX or so
 
but the debugger likely means that it can't read the memory pointed to by this
 
<Unable to read memory> Q_Q
 
12:08 PM
rather than the memory in which this resides.
i.e., your this pointer points to busted memory.
 
@DeadMG It usually still shows me the address followed by gibberish.
 
also it can happen if you're stepping into a function
there's this odd step where you're in the function but the parameters haven't been loaded yet and they all show garbage
 
@R.MartinhoFernandes ECX/RCX with thiscall
 
[this]{} captures by reference, right :S
 
Xeo
ye
 
12:10 PM
well this itself is captured by value
but since it's a pointer...
 
I have a strange loop.
 
@DeadMG my preferences aren't unbased. It's just if I see that I would do something much better in Haskell, it's hard to do it in a way that's idiomatic to say JS
 
Xeo
@R.MartinhoFernandes Is it called moeb or loeb?
 
@BartekBanachewicz The problem here is that you care too much about idiomatic and not enough about finishing the job.
 
12:10 PM
@BartekBanachewicz You just need to say learn JS.
 
I have been learning JS for the past half year
 
@R.MartinhoFernandes "learn JS"!
 
Well, it sounds like you can't think in JS.
(Can I blame you?)
 
I'll allow you
 
I look for the best solution I can for a problem. The fact that JS cant express it...
 
12:13 PM
Then you're a terrible programmer
 
means that you're not thinking correctly.
if you have a solution that JS cannot express, then you don't have a solution at all.
 
I admit, I am having problems engineering suboptimal solutions in terrible languages
 
Look at that ego
 
ah, you need to take pride in the end result
 
Of course
 
12:14 PM
I hate my parser code, and my lexer code, and my analyzer code.
 
If I ever stopped doing that I'd quit programming
 
but there's nothing like watching it actually work.
 
I really really like my Nonius code and watching it work is blissful.
Take that.
 
lol
oh that reminds me
I need to fix like, 100 tests that are failing right now or someshit.
 
> grumpy_cranberry
lol
 
12:16 PM
this refactor is all going to be worth it when I can issue warnings and recover from errors and shit.
 
I think that we have to keep the beauty of the solutions in mind
Without it we'd be all writing C
 
no, you really don't.
 
Language is irrelevant
 
beauty is irrelevant.
what matters is function.
 
@WilliamAndrewMontgomery That's me.
 
12:17 PM
we didn't move away from C because it's ugly, we moved away because it's unreliable as shit to manually free all your memory.
 
And so better solutions had to be crafted
 
@R.MartinhoFernandes I know, I checked the post history, it gave you away :D
 
I think you're abusing the past tense.
 
yes.
but you've only got two options
either get a better solution, or work with your current solution.
 
12:18 PM
Luckily for you, the past tense is not a minor.
 
it's not gonna work if you stick with your current solution but half-arse it and cry and try to pretend that it's really the better solution.
 
I got a better solution and it's called haskell
 
then go use it
but if you've gotta stick with JS, then there's little point trying to pretend it's Haskell, might as well accept that it's JS and finish the job.
 
I would, but its a team project
 
12:19 PM
then you're stuck with JS, so go write some JS solutions.
 
@BartekBanachewicz That's an even stronger reason to accept that it's JS and finish it.
 
You know JS is rather extendable
Also the project is just starting
I am the first one writing and prototyping
 
your teammates probably won't be able to read or maintain your Haskell-esque code for shit.
 
If i can show that Haskell fits better i night be able to convince them to switch
 
if it even works well in the first place
 
user1804599
12:20 PM
 
Of course it works
 
if they're not well-educated in Haskell but they can do JS then you can't move from JS to Haskell.
there's no "Of course" about it.
solutions in Haskell are not magically bug-free.
 
reddit is awful
 
> fatal error LNK1180: insufficient disk space to complete link
:(
 
Oh look, Unity goes C++ Or rather, some weird hack to compile IL to C++
 
12:29 PM
@rightfold da fuck?
 
basically they can write in C# then compile to IL then compile to C++ then compile to JS using Emscripten then JIT to native code
2
sigh
 
> ahmed2022
> BlackbirdJedi: seach about dark matter, its not night
> BlackbirdJedi
> ahmed2022: IT'S NIGHT, THE SUN IS ON THE OTHER SIDE OF THE eARTH, NUMPTY
 
@LightnessRacesinOrbit you're still on that
 
@BartekBanachewicz so, now C++ is an assembler language
 
12:32 PM
It has always been
std::mov
 
@BartekBanachewicz Why even bother with the C++.
 
> The cost of porting and maintenance of architecture specific code generation is now more amortised.
 
CIL -> LLVM IR -> native seems a lot more straightforward.
Oh, scratch that, that's what Mono does.
vOv
 
@R.MartinhoFernandes Too simple, can't work, needs more layerz
 
We people created this world where a man compiles to C++
 
12:33 PM
@R.MartinhoFernandes and they used Mono before, but now they switch to C++
 
Because something.
 
> We’ve seen 2x-3x performance improvements in some of our script-heavy benchmarks.
 
It doesn't make any sense to me.
 
Because their Mono was too old I think
 
@BartekBanachewicz Yes, they also have a pre-LLVM Mono runtime.
vOv
 
12:34 PM
lol
 
It's like they are willingly ignoring that what they want to do has been done already.
 
@WilliamAndrewMontgomery popped back on after 24
"anybody who can explain this to me" oh look English is really easy to pick up everybody should be forced to speak it
 
> location Netherlands
> age 17
that explains it
it's another radick slupek
 
@R.MartinhoFernandes That's not actually the case.
 
@WilliamAndrewMontgomery You're such a grumpy cranberry.
 
12:36 PM
if you actually talk to the LLVM guys about what their optimization passes can and cannot do
 
ffs
 
you quickly realize that actually, a huge chunk of the good stuff is in Clang, not LLVM.
 
@DeadMG Why not? C++ magically adds performance?
 
@R.MartinhoFernandes apparently
 
@R.MartinhoFernandes No, the pre-IR optimizations in the C++ compiler do.
 
12:37 PM
which amounts to the same
 
Well done then.
 
> Wallace Eli
> RickFromFrance: Thank you very mouch.
 
adding intermediate step speeds it up
 
Still, they should just write a Mono backend.
 
the LLVM IR optimizations have some amazing restrictions, like, "Can only optimize code that occurs before any branches".
 
12:38 PM
I'm still delighted at my 99% CPU time drop yesterday. Such a good bug.
 
> RickFromFrance
> Wallace Eli: You're wellcome
 
China bans the installation of Windows 8 on government computers http://bit.ly/1mRS1Ra
 
> Wallace Eli
> International Space Station , now the location of the daytime it?
 
"USA complains about how this is not free trade blablabla"
 
12:39 PM
Actually, they have their own VM to run the C++ binaries.
lol
 
> juanjoseluisbenitez7
> holaaaaaaaaaaaaaaa
 
@BartekBanachewicz o.O
 
> Edson Fagundes Gomes
> MI BROTHER IS RESIDENTE IN CANADA
 
please stop
 
> Edson Fagundes Gomes
> BOM DIA TERRA ABENÇOADA
j/k, I'll stop
 
> yeah, I'm gonna use c# sharp now so I can be like all the cool kids, hip and not old. I'm already cool for just saying it.
> c# sharp
 
I like em young too - that's why I buy baby chicks, adopt kittens & like puppies
 
@chmod711telkitty And then when they grow old you just eat them?
 
I did have to give my cat away when I moved overseas when I was a child
 
12:44 PM
fuck
 
not sure about the chooks ... will have to see in 2-3 months
 
need headphones and second hand to code
right hand currently being slept on by dog
 
yay my module works
 
@BartekBanachewicz What does it do?
 
imports itself
which is quite an achievement for an ES6 module when you think about it
 
12:48 PM
shit
 
import _ from "utils";
import Map from "Map";
 
need to deal with those recruiter subhumans
 
why don't you contact companies directly?
 
all job adverts here seem to be recruiters
 
@DeadMG go to companies websites, there is almost always a tab called "vacancies" or "jobs" or something similar somewhere ... not necessarily on the main page in which the case you have to browse around a little
 
12:50 PM
@DeadMG indeed.co.uk ?
 
I farted maybe thatll get me my right hand back
 
Hi, I just wanted to ask you to what site you refer more often in your answers www.cplusplus.com or en.cppreference.com and why?
 
@frostnational cppreference because cplusplus used to suck
cppreference is better in general
 
I just wanted to ask you to send me moneys
 
I try not to popularise cplusplus.com because newbies already think it's "the C++ website" and I don't want to help them get it wrong
plus the forums there are full of shit
I do personally use the reference from time to time, though, because I like the layout and it's generally sufficient for my needs
 
12:54 PM
@DeadMG fuck adverts. Contact the companies you'd like to work in yourself.
 
if you're a good programmerâ„¢ you shouldn't have a problem in landing at least a few offers
@LightnessRacesinOrbit that space sim note is lame
 
yeah, I just don't know how to sell myself on my CV with no work experience
 
Think I'm gonna jump on the "fuck VS2013" train
10
 
12:56 PM
Okay, it's clear. Thanks.
 
@LightnessRacesinOrbit reminds me of high school gamedev wannabies that never finish anything
 
Disabling "Whole Program Optimization" in "General" sheet is totally useless unless you turn off the very same option under "All Options"
 
@AndyProwl all aboard! choo choo!
 
@DeadMG aim for an entry level position or a paid internship?
 
lol
 
12:57 PM
@BartekBanachewicz thanks for your constructive input
 
@BartekBanachewicz I am, but it still feels weak
 
And well I wouldn't have to disable whole program optimization if I didn't get an ICE at link time and the linker didn't try to use 11 GB to link a simple project
 
@DeadMG It shouldn't. On the interview you'll win with any recent graduate. Show that on CV.
 
(in release only)
 
@DeadMG Seems like that's it.
 
Xeo
12:59 PM
3
A: Is return type deduction possible?

rubenvbYou can use std::result_of. I don't know why you'd use decltype outside of template context. It does not generally improve readability or the code's "kung-fu" level.

@rubenvb wat
 
@AndyProwl Can it even use that much?
 
@R.MartinhoFernandes It can, but sometimes it errors out
 

« first day (1312 days earlier)      last day (3640 days later) »