3,098 karma · joined May 5, 2015 (11y ago) · 1,359 submissions
comment 1d ago · link · parent
Also, again I was talking about a mostly bygone era in Europe, tech profits is another almost orthogonal occurence.
comment 1d ago · link · parent
2: Terminal emulators is that classic straw-man in this context, ages of built up cruft to handle that often produces soft-errors, but ironically the explosion of neo-terminals with GPU acceleration has still happened because in practice so much of the legacy cruft involves applications adapting to legacy-terminals, not legacy application behaviour if you base your terminal on one of the more sound options.
3: Nginx is a http server, most things apart from encryption and the OS is within the control of the applicaion itself and there's plenty of test-suites when it comes to interfacing with the world.
Do I advocate rewriting the Linux kernel(with all hardware quirks) or LibreOffice (with UI concerns)? Ofcourse not, but http servers that are exposed to the internet all the time shouldn't be vulnerable over and over again.
Nginx is after all one of the most popular servers worldwide for a bunch of years, but despite that and any "many eyeballs" theory we still have some AI plucking out these vulns. Last week there was Apache and PHP multiple times.
comment 5d ago · link · parent
People joke about the "Rewrite it in Rust" crowd, but that call is rooted in an unease anyone with a sceptic mind has had about all the C and C++ code we've got running our infrastructure running around tracing pointers with little lifetime- or bounds-checking. (Yes, it's a runtime cost but it's 2 CVE's, one for each class)
comment 5d ago · link · parent
People "showing up" for their employers to weather storms wasn't uncommon in the 80s/90s before the stock markets and globalization created a larger disconnect between where profits went and thus also employees, them showing up could thus translate to bonuses,etc down the line (and probably that they had been getting them during "good times").
Some of it is still codified, in Sweden f.ex. there's a "Salary Guarantee" that the tax-agency will provide backpay to employees in case of bankrupcies (to combat possible fraud, the flipside of it is that even in LLC's C-level and boards of employers can become personally on the hook for such debts making them less risk-prone and more likely to file bankrupcies instead of trying to save companies).
So that's one way these different breaking points are, bankrupcy itself, but also the line where salary guarantee isn't given anymore (when you're just supposed to go since the state won't reimburse you further) and when people lose trust in any possibility of a rescue.
comment 5d ago · link · parent
That said, it might've already been a year ago already when CXMT was less of an actor and they probably hadn't had time to reap enough profits from the craze yet to justify spending.
comment 1w ago · link · parent
Because when you have 20+ repetitions you start needing buy-in for fixes because the testing needed might be beyond something simple.
comment 1w ago · link · parent
Like Glide, CUDA took off because getting started is so much easier than getting started with OpenCL,etc, so a ton of researches could do stupid prototypes without getting bogged down in implementation details and once those prototypes took off a ton of code was tied to Cuda (seriously, look at OpenCL vs Cuda hello world or simple 1d kernel examples).
Now with higher level Python bindings being popular and US export restrictions, people has put effort into stuff like PyTorch supporting other API's, because there is enough industry pressure to have alternatives, the question is how long the CUDA moat can keep giving NVidia a hardware premium.
So, CUDA really wasn't anything they embraced or extended (even if they did so with GL,etc), it's their own API thus GP's parallell to 3dfx/Glide and the question is how long they can keep milking that moat (especially, since iroincally, AI's probably makes porting to other frameworks far easier).
comment 1w ago · link · parent
1: Actual people reaching out with something specific, but at least it was real people so the ratio was sane.
2: Totally sloppy sausage enhancment spam
The difference now is that the spam, while at least marginally relevant is targeted enough that you need to spend brainmatter to discern it before tossing (but what many of them don't realize is that their spam will become spam nonetheless and make the reputation sink).
comment 1w ago · link · parent
Technically, the issue if I'm getting is that the camera physically (or in teh encoding) will be better at capturing within a certain range that you adjusted for, having parts above or below that isn't capture properly and if material is in those above or below ranges the output after grading will not have a good range of values (ie possibly introducing banding).
Underexposing probably feels like a "safe fix" rather than adjusting properly all the time since with more limited ranges it'd be easy to "wash out" with overexposure (irreparably removing things due to clipping), and with budgets cut it's probably easy to just skimp on a lot of these "details" if the system "is capable".
So it's budgets/speed/creativity at shooting time vs material that might just not be good to work with in the end. (Also as he mentions some of these systems aren't as sensitive, probably leaves a situation where some people who's used the better systems just don't realize that it's a problem coming to others).
Edit: Noticed some other comment mentioning that these "log" encodings are 10bits, yeah that's going to leave a bad trail of numeric resolution if you've exposed badly, it'll probably be workable for a huge range but it's not enough by far to recover really badly exposed stuff.
comment 1w ago · link · parent
ie.
auto val = make_named<"x","y">(1, 2.3);
// val is now a struct with an integer field named x and a double field named y
comment 1w ago · link · parent
That said, still using debugger driven development and edit-continue to this day and marvel at the lack of experience of people touting Lisp or Erlang or whatever as the only places in the world with some kind of hot-code replacement.
comment 1w ago · link · parent
It seems to be back in stock now, but at a cost of about 1000 Euros for a Series/S I'm not really feeling enticed even if GTA 6 is around the corner. They probably really shot themselves in the foot by not having units out a year ago and now fewer will buy due to pricing.
comment 1w ago · link · parent
comment 1w ago · link · parent
1: Many tricks worked for outdated CPU's more or less weird instructions (and those haven't gotten equally much updated as modern C compilers to benefit, and the benefits of modern C compilers is more into control- and data-flow analysis rather than esoteric instruction selection, so even ports of modern compilers to old platforms probably won't use it).
2: Many x86 tricks would lead to slower code today, already with the Pentium Pro Intel started focusing on optimizing the CPU's so that they run code that compilers produce faster and kinda ignored and/or "failsafed" certain patterns with slower execution paths.
As someone writing software rendered graphics in the 90s you had the trick of 64k-aligning textures and then updating the 8bit parts of 32 bit registeres like AH/AL (or CH/CL,etc) before loading the texture from the corresponding address in a register (like EAX/ECX that contains all 32bits), code that ran fine on a Pentium 133 could behave like a slug on a Pentium Pro 200 if they did that.
The Pentium 2 actually added optimizations to handle those cases since some games,etc suffered on PPro, but I would be surprised if they've retained those fixes in CPU's after 2010 since it complicates CPU register tracking and software rendering went the way of the dodo (and software that still used those tricks would be handled by the enormous CPU power of today even if slightly slower), and anyone doing a software renderer after 2005 would probably support more than 256x256 textures and not spend too much optimizing for that particular case (256x256 textures was a very sweet spot, both due to registers but also ram sizes of the 90s).
Same thing with the x87 FPU code, it's wonderful for sizecoding since the stack based nature makes registers implicit, but the problems like stateful integer conversions (If you remember /QIfist) are done away with SSE/AVX (iirc modern MSVC doesn't even generate code using x87 FPU anymore, it's all SSE now).
3: I'd be very surprised to see a compiler use the stack-pointer based tricks mentioned in the article, a C compiler has to respect ABI promises so that stuff is simply too much pain to try to make work in a stable fashion so I really really doubt that any compiler writer has more than entertained the notion of using it before brushing it aside as a bottomless pit of compatbility fixes.
comment 1w ago · link · parent
That the Erlang runtime hides it from the developer, doesn't mean that it isn't cooperative. So yes, for the Erlang programmer it's preemtive but from an OS/C standpoint it's cooperative (Like toast0 mentions in his sibling comment about NIF's exposing the cooperative nature of the runtime to programmers is telling about why it's considered "complicated" and not recommended practice).
comment 1w ago · link · parent
The C# async system iirc has "blocking workers", ie extra threads that takes care of blocking syscalls, so you're limited by a queue of them "waiting" for their respective "async" workload to finish but the rest of the runtime can chug along concurrently, iirc Project Loom also adopted that, so you have M:N for most code but some extra theads to take care of legacy codepaths (that the Java ecosystem has rewritten a lot of things into pure Java helps since native code calling is probably fairly "obscure" these days).