« first day (2925 days earlier)      last day (2028 days later) » 

12:10 AM
The awkward moment when you blow an air kiss to a cute dog but was accidentally caught by the owner while doing it ...
 
 
1 hour later…
1:15 AM
All manual IDE - because you worth it!
 
 
3 hours later…
4:09 AM
Remember when this was the future? halide-lang.org
 
> Is it still a HIPAA violation if you're practicing medicine without a license?
 
Don't let Dr. Mario touch you there, he's not a real doctor
 
 
2 hours later…
6:33 AM
hello everyone
 
hello
 
suppose `I have a map<int, map<pair<int, int> > > m;`
if I do m.erase(5), would it delete the inner map completely from memory?
 
yes
 
cool. thanks
I thought it would just remove the entry of outer map, while inner one would be just dangling memory leak
 
if you want it to leak you could have the map hold a pointer to another map, then something would need to free the memory that was pointed to
 
6:39 AM
oh, so the concept is, if there is a pointer it would be memory leak but if it is stack memory, it will be deleted automatically, am I getting it right?
 
7:25 AM
There is a concept of automatic memory management and RAII. All C++ STL containers manage memory automatically.
The only way you can break automatic memory management is to use pointers and references or use any 3rd party library which breaks automatic memory management.
It's not related to where the data is stored. What's important is having automatic memory management support at every level of type hierarchy.
Memory being heap or stack is orthogonal to automatic memory management.
 
8:12 AM
stupid question that I cannot find on stackoverflow.... is const int& foo the same as int const& foo or not?
oh here
ugh this is confusing
 
nwp
9:06 AM
You should probably look stuff up on cppreference first.
Although it only has it as an example.
Essentially it's left-associative, but if there is nothing on the left it applies to the thing on the right.
 
 
2 hours later…
11:34 AM
I searched for programming questions, github comes first in the search results. This is disgrace.
 
nwp
Of your searching skills?
 
Of disgrace of course ...
Senses, we have zebrafish amount ...
 
 
2 hours later…
1:11 PM
@nwp, can you help me finishing it?
 
nwp
I'm not sure what "it" is, but you probably mean to ask a C++ question in here.
 
thank you very much
 
 
2 hours later…
2:46 PM
I can't remember my enemies, I am sure I have them :'(
 
3:35 PM
@Morwenn lots of neat things on this slide (i know you dont like videos, the timestamp is exactly at the slide in question)
 
4:21 PM
Regarding const int& foo, more or less you can split the variable declaration at the & or * symbol. Everything to the left can be in any order at all, anything to the right has a strict order.
 
haha, the 9900K and 9700K chips win all the single-threaded benchmarks except for the obvious ones.
 
4:43 PM
 
5:06 PM
@Mysticial ??
> It's nearly $200 more than the Core i7-8700K and nearly $300 more than AMD's Ryzen 7 2700X, which also sports 8 cores and 16 threads.
how is that a comparison
the 2700X is, afaict about 300$
so like, i damn hope so that its faster if its twice the price no?
the 8700K doesnt have HT? wth
 
@Borgleader They got killed in the AVX512 single-threaded tests.
Now there's two AVX512 benchmarks floating around that review sites are starting to pick up. (y-cruncher and 3DPMv2) The new chips got killed in both of them vs. Skylake X.
 
 
1 hour later…
6:31 PM
@Mysticial I feel like if theres a benchmark they can afford to lose its that one?
I mean, not that you would agree but :P
Now I'm just waiting for AMD's next salvo before building my next rig
 
6:56 PM
@Borgleader Yeah, I agree. And no I'm not getting one. Still putting off my next laptop for one with AVX512.
I bought my last laptop this time 3 years ago thinking I'd be wasting money because I'd be replacing it a year later with a Cannon Lake one. Nope, definitely got my money's worth.
Though the lack of memory capacity and lack of cores does make it painful to do any on-the-road coding.
 
 
1 hour later…
8:03 PM
Question for USA citizens: Does an alien have to pass some sort of knowledge test to become USA citizen? Are the questions available anywhere? I just want to compare to the test we have here for the same purpose.
 
8:14 PM
Never mind, I found this: my.uscis.gov/en/prep/test/civics/view
 
 
3 hours later…
10:51 PM
@Mysticial Ever had this problem, x370 + Ryzen 1600 isn't posting. Not showing any boot error lights. Any idea how to do a BIOS update when the machine doesn't post?
 
11:05 PM
@Mikhail So the mobo was 1st gen and didn't have the BIOS to support the 2nd round of Ryzens?
 
Well isn't 1600 the first round?
 
2nd round
 
Maybe that's what happened
 
1700, 1700X, 1800X was first round.
 
I dont' really know because its not giving any error lights
 
11:06 PM
Some mobos have a USB BIOS update feature which can be done without a chip.
Check if yours does. If not, you're fucked.
Or maybe take it to a local store for them to do it for you.
 
What stores do a BIOS update?
Maybe buy a 1700 CPU, and BIOS update?
 
I heard a rumor somewhere that Frys and Microcenter might. But I haven't tried to confirm it.
I guess the 1700 is pretty cheap now.
 
Any idea which motherboards actually support 1600?
 
Not sure. I haven't been following that line.
Looks like none of the AMD boards have the USB flash ability.
So you will need to bring it in somewhere. Or do the AMD boot kit thing where they ship you a loaner chip. But that looks messy.
 
I'm actually going to try the boot kit
 
11:17 PM
Yeah, AMD fucked that up really badly.
Lot of budget people who waited for the 2nd round for the cheaper chips got burned by this.
 
I'm sad. Lost about 3 hiurs at work on this. Put in a warenty request for a boot kit.
 
11:57 PM
@Mysticial Does seem like it wouldn't be that tough to have a "safe mode" in the chip to let it boot up in some minimally usable form, even with an ancient BIOS. Big problem I can see is people getting it that way, failing to install the update, and then complaining that their brand new machine is stupidly slow...
 

« first day (2925 days earlier)      last day (2028 days later) »