« first day (3222 days earlier)      last day (1743 days later) » 

4:03 AM
 
 
2 hours later…
5:43 AM
@TelKitty Is there a market for this?
 
 
3 hours later…
8:14 AM
@wilx I know at least a few people who would want that
 
Just curious if anyone is from Montreal?
 
 
3 hours later…
11:32 AM
Hi there
just a quick question - does stl Vector class store a copy or a reference to the objects it contains?
 
if it's a vector of objects then it "contains" the objects themselves
 
What does it mean? If I'd make C * pt=new C();
Vector <C> vc;
 
vc is empty
but if you do vc.insert(*pt); then vc contains a copy of *pt
 
vc.insert(*pt);
 
yes
 
11:39 AM
delete pt;
what will be in the vector?
 
the thing you inserted, this is really more a topic for chat.stackoverflow.com/rooms/116940/c-questions-and-answers
 
k, ty
 
12:30 PM
@BbIKTOP instance, it owns them. As to if it makes a copy that depends on how you construct them into the vector hence the existence of emplace_back
 
12:50 PM
Sorry, not sure i understood that
What do you mean bu “own them”?
Sure, copy constructor can return reference as well
 
@BbIKTOP no it doesn't this isn't Java
a copy constructor initializes a separate object copy
reference in C++ has a VERY specific meaning that involves pointers
 
1:19 PM
@Mgetz I don't think there's anything in the standard that mandates use of pointers for references, care to prove me wrong?
 
@ScarletAmaranth technically I think you're correct... but the standard seems to assume it
 
 
4 hours later…
5:12 PM
@Mgetz I don't see anything there to support the claim that a reference really is a pointer in disguise, or anything like that.
 
I thought that's what I said?
 
5:32 PM
I have an online game, i'm executing querys from game source to store items/players/etc in a mysql database. Should i use Synchronous/async/blocking/non-blocking querys ?
 
@IrinelIovan depends on how your causality works, might be a good question for programmers
 
6:00 PM
@Mgetz Perhaps I misinterpreted what you were saying.
 
 
2 hours later…
7:55 PM
@Mysticial random curiosity, what do you think of the alleged "cooper lake?" CPUs?
 
@Mgetz Intel is fucked.
I have some insider info which I'm not sure if it's clear to disclose publicly.
 
Is Cooper lake what I think it is? basically a poor ass implementation of what was basically TR1?
only intel?
 
I actually don't know. I do know that it's the same socket as Ice Lake. And Ice Lake will have 8 channels/socket. But that's public info already.
 
looks like it, three die package
 
I don't know what that says about the die package.
 
7:59 PM
yeep it's going to have the same issues as Threadripper 1 en.wikichip.org/wiki/intel/cores/cascade_lake_ap
lol
@Mysticial it says cascade lake is two dies and cooper is three
which still means those parts are going to be stupid expensive and have massive memory issues.
 
Memory issues getting worse is just an exponentially worsening trend.
 
@Mysticial yeah but I don't see intel being generous with L3 cache... they never have been even when it could have saved them.
 
@Mgetz Their mesh is shit enough that it's as good as non-existent for all practical purposes. :)
 
those 56 core parts have barely more L3 than the 3950X
 
And they explicitly told me that it will continue to get slower because of "power consumption".
 
8:05 PM
AMD is providing 256 MB of L3 on the top end Epyc part
@Mysticial so they have no idea what they are doing...sounds about right for them right now
 
I don't think they're lying, but I don't think they realize that performance regressions like that are going to turn away customers.
 
Well when compute really isn't what most people are looking for and the per-core effective performance per watt is better on AMD they are up a major creek
I can see Amazon and friends being all over Epyc
 
8:32 PM
Intel is kinda fucked right now.
They're behind in both process and interconnect.
Their only advantage (core design) is effectively nowhere as they haven't backported it to 14nm.
If and when they get their 10nm up to speed with high clocks, that may save their desktop line. But on server side, they're kinda fucked until they fix their interconnect. (i.e. their mesh needs to either get faster or something better)
 
@Mysticial the irony of intel being behind on process, when that was for years their claim to fame is rather amusing. As for interconnect... yeah AMD is waaaaay ahead and has been since they started with Hypertransport ages ago.
 
@Mysticial I think if I were going to write about monocultures, I'd use Intel as the prime example. They do a great job of showing both the strengths and the weaknesses. They've concentrated almost exclusively on a few specific areas. When those go well, they're unbeatable--but when they run into a problem with either, their business falls apart. Worse, the only route they see to recovery is to fix the specific areas where they've previously been strong.
 
In terms of fucking I'm with Mysticial on this, Intel is getting fucked and AMD will be doing most of the fucking.
 
@Rick eh... Nvidia will have a fair hand in it soon. Mostly because they are doing it to everybody on the GPU side
 
@Rick If anybody at Intel is getting an orgasm, they're pretty masochistic.
 
8:40 PM
seeing how they have planned for the future, it seems like they might be the masochistic type.
 
@JerryCoffin I thought that level of corruption was reserved for pharma?
 
@Mgetz I think corruption is pretty pervasive...
 
@Rick The thing is that I've been somewhat of an Intel fanboy for the better part of the last decade with most of my optimizations aimed at Intel. (also a side-effect of them having the most interesting ISAs) But for AMD to step in and out-muscle Intel in everything - including the areas which are supposed to be (highly) advantageous for Intel says a lot.
 
I'd go so far as to say that the primary limiting factor on corruption in US federal politics is politicians lacking the intelligence or imagination to dream up new forms of corruption in which to participate.
 
yeah it does say a lot, since intel engages in routine anti-competitive behavior.
 
8:49 PM
"y-cruncher is an Intel benchmark! It's an Intel-biased benchmark! It uses the Intel compiler." It is optimized for Intel processors." - Well, AMD won anyway.
Both on desktop and now on server as well.
 
@Mysticial Out of curiosity, have you tried compiling it with AMD's compiler?
 
And I have to admit, one of the critical algorithms in my pi program is "sub-optimal" for Zen's FPU layout. But it will take a complete rewrite of the algorithm to rectify that. Though it's hard for me to make any guesses on what the speedups will be (if any).
@JerryCoffin I haven't. It's been on the back of my mind for a while. Just don't have the time.
 
@JerryCoffin There is a lot of corruption at the top, I didn't realize how pervasive it was until this whole Epstein thing came out. I guess when things are going good no one notices the decline.
 
@Mysticial How dare you let trivial details like earning a living get in the way of satisfying my idle curiosity? Shame on you!
 
Right now, my priorities for the project are on the disk I/O and NUMA-scalability side - which arguably has a larger impact since it's all memory-bound anyway.
 
8:53 PM
@Rick I have the disadvantage of having lived through Watergate--and I'm pretty sure most of the difference between Nixon and most of his successors is that he sucked at running or participating in a conspiracy, so he got caught.
 
@JerryCoffin pretty much
most of the rest knew better than to tape things unless they wanted to get caught
 
I suppose in fairness, I don't think either of the immediate reactions to Nixon (Ford or Carter) was corrupt. But Ford (quite knowingly) committed political suicide by pardoning Nixon (even though I think he made the right decision). Carter was honest but completely inept as POTUS.
 
9:11 PM
@JerryCoffin I don't know, I read The Dark Side of Camelot and about watergate. This seems different, these were kids being picked up from schools and involved big names like Alan Dershowitz. The state seemed to have been trying to cover it up. For the longest time, this guy never got more than a slap on the wrist. This story broke in 2018.
 
9:46 PM
for some reason that led me to this:
https://twitter.com/kashthefuturist/status/1159610222148669440
 
10:06 PM
@Mysticial have you ever tried computing pi with CUDA/GPU
 
10:17 PM
Anyone some idea how I can merge code that suck while making sure it's going to get fixed later?
I think my best bet is to leave some comment like "WTF fix this because this is stupid" in the file
But I fear nobody is going to fix it because "not their problem"
by the look of it, i'm the one who'll fix those things :/
 
11:25 PM
@Rick I haven't.
 
Time to compute 100 millionth digit:
– GPU (GTX 680): 1.57 seconds
– CPU (3.4GHz i5): 211 seconds
Time to compute 500 trillionth hex digit:
– -: one 4-GPU machine
• 24 days
• Hardware costs: $5000
– Yahoo: 1000 8-core machines
• 23 days
• Hardware costs: $500,000-ish
 
@Rick hyper loop for fishes?
 
@LoïcFaure-Lacroix I guess the fish get the hyperloop before us
 
11:41 PM
We'll call them test subjects from that moment.
I'm not so sure thought... how long can a fish survive without being in water? Because it doesn'T look like it's pumping water.
 
Yeah, I think they just lube the tube. probably more energy to continuously pump water than just the fish on its own.
 
Also fish seemed to be go against gravity in the tube for too long. I understand how a fish could jump, but that will take a split of a second not 5 seconds or more in a tube.
 
Well those things are usually designed to help the fished to go up, so I doubt lube is enough. In canada we do have something like a fish escalator that makes it easier for fish to go up instead of using the river which is more difficult
 
11:56 PM
@LoïcFaure-Lacroix Canada has escalators for fish to make their life easier going up rivers. This was built for dams which block fish from swimming up a river.
 
2
A: Monte Carlo on Cuda

MikhailYou seem to be doing a lot of manual memory management. That's bad, and leads to bugs and hard to read code. Consider this code where thrust::device_vector is used instead of raw pointers. #include <curand.h> #include <iostream> #include <cuda_runtime.h> #include <thrust/device_vector.h> #include <

 
@Rick We have a lot of dams in Canada, I wouldn't be surprised if we have something similar for some of them.
I mean escalator not fish pump
 
@Mikhail interesting
 

« first day (3222 days earlier)      last day (1743 days later) »