« first day (3169 days earlier)      last day (1762 days later) » 

1:49 AM
cl : Command line warning D9002: ignoring unknown option '/arch:SSE2'
 
 
4 hours later…
6:06 AM
 
 
3 hours later…
8:45 AM
@Mikhail Good thing using enum is coming to C++20
Stop asking for features already in C++20 x)
Three times in one day, c'mon :')
 
9:20 AM
@Mikhail lol
@Morwenn Just read that executors and networking stuff won't make it :(
Ah well. Gonna stick with asio for a while anyway.
 
Don't worry, many people don't want ASIO in anyway :')
libstdc++ ships an experimental version of the Networking TS though
 
 
2 hours later…
11:49 AM
@Mikhail Are you calling C++ a heavyweight in the software development industry?
 
12:23 PM
Hey, I got a Lifejacket badge :D
 
 
1 hour later…
1:25 PM
 
1:52 PM
@Morwenn shouldnt it be a yellow jacket badge? :P
 
2:08 PM
no
 
 
1 hour later…
3:25 PM
my DSP algorithm which makes millions of these scaled divisions. for such usecases you should parallelize your algorithm with multithreading and SIMD, or move it to the GPU. Scalar code is not meant for things that are executed that many times — phuclv 8 hours ago
If you follow the rest of the comments, it looks like the premature optimization camp is taking this to new levels.
> Don't optimize your code! Use GPU instead!
 
3:43 PM
@Mysticial eh.. in the millions GPU would probably scale better
depends on the flow etc.
also the issue is their shift and div
the upcast means that the compiler MUST preform 64bit division
@Mysticial am I wrong in interpreting what they are asking for a ((UINT32)((UINT64)b<<32)) / a;
 
@Mgetz I didn't even read the question. I was more fascinated by the comments.
 
@Mysticial so the question is how to force div ecx vs div rcx which doesn't make sense given the code
the result is vastly different
 
I'm interested in those new intrinsics.
Do they crash if the quotient doesn't fit into the word? (like the instruction does)
 
@Mysticial try it?
 
Can't. Not at home, and I'm not on VS2019.
Can't upgrade to VS2019 because of bugs.
2
 
3:58 PM
regardless I think the OP is getting in a huff over the compiler doing exactly what they are asking for. Also that should result in the code always producing 0/a
 
Is it just me or is that every time I see Basile involved in a performance or Windows question, he gets shit on for mentioning premature optimization or Linux?
 
@Mysticial well he comes off as a very wrong zealot
and he's wrong here too, this isn't a quality of implementation issue
it's the compiler producing correct code
 
He absolutely is wrong here. And I've definitely noticed him go on the equivalent of FOSS rants on Windows questions - which more or less get what they deserve - downvotes.
 
Yeah it's not productive
if I didn't think it would automatically get declined because of the poster I'd flag it NAA
because it's not
 
4:15 PM
@Mgetz I get a lot of emails from FOSS crusaders about my pi program asking why I don't open source. But I can't put the answer in my FAQ since it's inherently offensive to them and it tends to start fights.
 
@Mysticial I think we had that discussion? Either way I don't really care. I think it would be nice to have some of the code open source but understand and respect your reasoning.
tbf most of the things you're doing have open or semi-open implementations that are highly optimized anyway
 
@Mgetz There are some very strong FOSS zealots out there. And I've gotten tired of telling them to fuck off over and over again.
 
@Mysticial Well there are people that don't understand the concept of "This code I don't own and can't license to you even if I wanted to"
 
they'll only give up once there is an equivalent pi program out there
 
This is one of the many reasons MS isn't able to open source all of windows
and why they are open sourcing bits at a time
 
4:20 PM
I've someone tell me that it's criminal to not open-source mathematical code. I was like, "wut"? In which jurisdiction?
And they were specifically naming out Wolfram Mathematica as an example.
 
@Mysticial I didn't think that was open source...
 
@Mgetz It's not. That's why he was pissed.
 
oh... he really expects a company to open source something that's literally their bread and butter... RIIIIGHT
 
And apparently my pi program at the time was the straw that broke his back and we went off on me in email.
 
because people are going to pay sooo much for support
Honestly the only reason I was curious about y-cruncher was to add a GPU component if I could. Literally as a way of doing harder burn tests.
"Your CPU only draws 300w under load, want to REALLY stress your system, let's add some stupid hot GPU on top of that too!"
also as a way of stressing the PCI-E bus
 
4:25 PM
Porting parts of it to GPU as a stress-test is doable. Porting enough of the program to actually compute on the GPU is a long-shot.
Though I question the viability of it as a GPU stress test since it's all double precision.
 
@Mysticial Some people deserve to be offended. "I have a right to the results of your labor" is an offense that deserves something offensive in return.
 
So you're not really stressing anything but the HPC cards with full DP throughput.
 
Depends on what you're doing. And honestly I'd probably do double, single, and simulated extended
which would usually stress integer hardware
if you're paying for a quadro... you might want to know how well it works
 
@JerryCoffin In my FAQ section, the answer I put for "is y-cruncher open-sourced" is carefully worded in a way to tell people to politely fuck off.
And it has worked. The # of emails I've gotten has gone down.
 
@JerryCoffin They do, if and only if my labor is being paid for by taxpayer dollars
 
4:33 PM
@Mgetz Even then they don't necessarily. Quite a few government contracts have provisions about what parts of the work are required to become public domain, and what parts the contractor owns, but provides to the government at a fixed price. Allowing the developer to maintain rights in the work (generally) means getting it at a substantially reduced price.
 
@JerryCoffin eh... I think the point in general stands
if they want something to be public domain, pay me with public dollars
 
@Mgetz There's also stuff that's public domain because copyright expired (though with Disney lobbying for longer copyright duration, that may never happen to most software).
 
@JerryCoffin apparently they've given up for this round. I expect they'll try to sneak it in through right before mickey
 
@JerryCoffin With software you have the advantage of being able to withhold source code. You can't really do that for the general character design of Mickey Mouse or something.
So you license the binary, but not the source code.
 
4:44 PM
Fair, I think Disney is well aware of the issues another extension would mean for them
 
@Mgetz In Disney's case, I think it mostly comes down to waiting for a favorable climate in congress. When they appear to give up, I strongly suspect it's their political strategists basically telling them "we think we can save $N million in bribes lobbying by waiting until after the next election."
Which is to say: they're aware of the issues, but ultimately don't care all that much.
 
@JerryCoffin right now they have an extremely favorable congress that's likely to get less favorable in the future. I honestly think what happened is Eisner got tired of getting the same line from the old guard when it clearly didn't match up with the actual data.
 
@Mgetz Entirely possible, I suppose--I'll openly admit I haven't recently been following things very closely.
 
@JerryCoffin Disney has largely shifted to careful community management to get what they want. Also with some exceptions they are actively using the remix community for recruitment and content.
 
@Mgetz Looks like the 16-core delay is more about finding enough high-binned parts:
 
4:52 PM
@Mysticial which is what I figured, or sorting out process issues to build up enough part count.
I have a sneaky suspicion that some of the 12 cores could easily run at 1.5GHz 16 core just fine
 
5:39 PM
@Mgetz I doubt it. If memory serves, they're using a pair of 8-core chiplets. If they have a chiplet that can run all 8 cores slowly, that probably gets binned for use in low-speed, high core-count server CPUs. Chiplets for a 12-core CPU probably have at least one core with a defect that prevents it from working at all.
This early in production, the low-end parts are low-end because they've failed tests to be binned higher. When production has stabilized a lot more, there's a much better chance that a low-end part simply hasn't ever been tested at higher speed, because they've already filled the quota for high-end parts.
 
Dunno, not involved in that
 
6:06 PM
Hi all,
can anybody suggest me an easy-to-use application or something similar which is able to build a graphical UML model from a bunch of C++ header and implementation files?
Thank you in advance.
 
@rudicangiotti for run-time profiling, I used to do a lot of llunak.blogspot.com/2019/05/linux-perf-and-kcachegrind.html . This also makes a nice layout, just to figure out whats going on.
 
@Mikhail, thank you so much. I'm gonna take a look.
 
6:41 PM
@Mysticial so it looks like the 64core part from AMD is confirmed, 225w TDP so my guess would be 1.2-1.5GHz, probably with large on substrate caches
but yeah I suspect you're right in saying that's a specialist part
kinda useless if you can't get enough bandwidth
tbf it looks to be 8 channel memory, so it should in theory overclock really well
 
7:09 PM
Do people actually get in trouble for writing shit code?
 
Sure, people get fired.
And if you write shit code in an interview, you don't get the job. You might even get walked out halfway through.
 
7:42 PM
I rarely see syntax issues. How about this, somebody writes a bunch of widgets that need to be combined for correct functionality. The widgets should have a hierarchy, with widgets inside other widgets. In their implementation, they are separate and need to talk to each other, flowing, invalid state through the program. Combining the spaghetti code will take me a few days.
 
@Mikhail Are you high?
Just asking :)
 
No, but somebody called me qt the other day.
 
@StackedCrooked He's high.
 
Yeah.
 
Actually I just got back from a startup graduate photoshoot
Also fuck you guys, I'll just assign myself more important sounding job titles
 
I also should preemptive assign myself a really high Chinese social credit score
 
@Mikhail I like the book "Coders at Work", it contains interesting insights from veteran programmers. One of my favorite quotes is this one. It's really true. Very often complex code can be replaced by simple code after taking a step back and rethinking the problem.
"there are very few inherently hard programs"
Also:
What's Beethoven's favorite fruit? Banananaaaa...
 
8:09 PM
Why did Beethoven dump his chickens?
 
Dunno?
 
They kept saying "Bach, Bach, Bach"
 
lol
Now I'm trying to remember what chickens sound like.
 
He's definitely high.
2
 
8:12 PM
okay, fuck you all, I need to get back to twiddling at these widgets
 
 
2 hours later…
9:58 PM
This answer doesn't use the language or any of the libraries used by OP. It also doesn't address the special considerations surrounding UDP, because that's a connectionless protocol and you do need other provisions to get the peer address with a datagram received. Finally, you are using printf to print the address that accept bound to (that's not the sender), regardless of the fact that this does not result in the endpoint in usable form. @rafix07' comment has the correct approach and predates this answer. — sehe 15 mins ago
@StackedCrooked Well, certainly not like that.
@Mikhail so, a callgraph is close enough to UML
 
10:09 PM
He doesn't need UML, he already has the C++ files. He needs to figure out whats going on...
 

« first day (3169 days earlier)      last day (1762 days later) »