Better HN
topnewbestaskshowjobs
Log inSign up

whizzter

3,098 karma · joined May 5, 2015 (11y ago) · 1,359 submissions

https://whizzter.woorlic.org (yeah old https cert for the time being)
Submissions

comment 1d ago · link · parent

In Sweden all LLC's regardless of listing status are required to post their financial results publicly annually, small LLC's have less strict requirements but if they'd be making money heads over heels people would know.

Also, again I was talking about a mostly bygone era in Europe, tech profits is another almost orthogonal occurence.

comment 1d ago · link · parent

1: Classic rewrites were often about re-architecting things, language rewrites should preserve most knowledge if it's at least nominally present (f.ex. in comments).

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 3d ago · link · parent

480 core xeon kinda hinted at that :D

comment 3d ago · link · parent

Doesn't even need to be that he did it himself, could very well be that he shared a preliminary draft with anyone checking it that had Claude installed.

comment 5d ago · link · parent

No, AI is just exposing 30+ years of sloppy code written in unsafe languages.

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

I think Google Sheets,etc is just too entrenched, I'm at a small shop of heavy Claude Code users but I haven't heard a whisper of even trying those other products.

comment 5d ago · link · parent

Don't know for Portugal explicitly but labor-employer relations have historically been quite different in Europe (and across Europe, since it's still different countries).

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

Can't place it in time but there was an interview with one of the big memory manufacturer firms said that they were waiting out to see if it was a temporary trend.

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 6d ago · link · parent

Meanwhile people using Blazor shipping 50mb of .NET assemblies (maybe it's become better in newer releases but when it appeared that made me nope-out quite quickly).

comment 6d ago · link · parent

git logs are a bit of a pain to search through and also perhaps not the place to insert long instructions, I do remember looking at some repo and just browsing the list made me quickly find what was intended during development.

comment 1w ago · link · parent

I read maybe about 50% but it was all complaints and romanticism without getting to any analysis, I can only guess GP got bored in the same way.

comment 1w ago · link · parent

Won't disagree with that, that's why the rule of 2-3-4 is good, don't bother for 2 instances, consider if it really needs an abstraction at 3 times, at 4 it's probably time before things grow out of hand.

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

Huh? 3DFX "won" initially because the Glide API was simple, lightweight and fast, but the open market pressures of gaming hardware, consumers and developers made OGL (that was "bloated" initially) and D3D (that was improved) win.

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

Hmm, seems that there was Series S for the equivalent of 530 UKP but hardly any of those in stock, the prices seems to be wildly spread (probably due to the previous/current supply issues?).

comment 1w ago · link · parent

Ah missed the part about the "swapped" equality, well since I will go ahead of J later on it's all good! :P

comment 1w ago · link · parent

I think the difference is that in the past we had:

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 first pass will ensure that the smallest element ends up at position 0 even if it's looked at more times.

Bubblesort really is a family of "this is something I figured out myself that runs by looping in O(N^2) by moving things to the front/back"

comment 1w ago · link · parent

Ugh, if the "log" he's talking about is only 10 bits then I can definetly understand his issues, I thought we'd gotten to atleast something like 16bit capture/storage or more before using log scales, I can definetly see the problem then.

comment 1w ago · link · parent

I can kinda see "both sides of it".

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

I think you should reconcile with Clang and hope that they can work on performance for LSP tasks, because while C++ 26 reflections does a lot of "conservative" things right, it also enabled consteval to create structures with novel shapes, so you need consteval in an indexer.

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 was pretty much my experience developing a PS2/Dreamcast game in the 2000-2001 timeframe when working on the PC build, the _REASON_ I did so was because the PC port ran on 3dfx and that crashed the OS every 2nd-4th start so restarting was painful, being able to edit-continue was a godsend.

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

Series/S costs 1000 Euros and Series/X costs about 1700 right now so it'll likely be even higher unless ram prices finally crash.

comment 1w ago · link · parent

I'm usually late in getting new console generations (didn't care for paying for new generation premium), so I remember looking to buy an Series S/X a year ago and it wasn't anywhere, there was wild speculation about a new generation or those handheld things taking over.

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

I think it implies that the recalculated value was close to the original value (ie scaled by 1) for most constants apart from the 2 mentioned.

comment 1w ago · link · parent

I wouldn't be surprised IF MS uses it or plans to, they also had their own "use virtualizastion in a microfashion" in the Hyperlight system (seems they abandoned it as an official project but the project still seems to live on), but perhaps abandoning it was because something Firecracker style might be on the table and easier with community support.

comment 1w ago · link · parent

Not true at all.

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

Yes I do remember, what I didn't remember was what versions they were used in and when it was abandoned.

comment 1w ago · link · parent

Right, my point is that C10k solutions basically revolve around M:N threading models where M being OS threads and N userspace threads, so from the view of the OS/Userspace boundary it's cooperative since the OS does nothing for the N userspace threads, only the M.

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

Exactly, didn't want to go into the details. I think a key point is that back in the green-thread days they were kinda early on trying to do it and "extra" native threads probably felt like makings things worse without benefit since single-core CPU's with little memory every extra "real" thread would cost.

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).

comment 1w ago · link · parent

Yeah, cooling AND underclocking will probably be required to somewhat safely operate these.

That said, 80G for something that you picked up for cheap could be an absolute steal these days.

12345
46