HNHacker News
TopNewBestAskShowJobs

gdxhyrd

233 karma · joined November 6, 2019

submissionscomments
gdxhyrd··on OpenBSD won't update Firefox, advises users to switch to ESR
> So as firefox creates threads, I would think memory could get tight with a statically linked FF.

Threads have nothing to do with that and don't increase memory usage due to dependencies.

gdxhyrd··on OpenBSD won't update Firefox, advises users to switch to ESR
Why? Using different Python versions is a solved problem and no containers are required for that.
gdxhyrd··on Size of node_modules folder when installing the top 100 packages
I guess you are trolling, because a native app can print "hello world" in around 100 bytes.

That's a difference of more than 6 orders of magnitude :')

gdxhyrd··on Copying data is wasteful, mutating data is dangerous
Casting away constness in C++ is something it is virtually never done, and has to be done very explicitly.
gdxhyrd··on Gandi loses data, customers told to use their own backups
GP is talking about the KDE project, not the entirety of GitHub.

And yes, a monorepo is usually the best approach in most cases for a project or even an entire company.

gdxhyrd··on Gandi loses data, customers told to use their own backups
Is is what happens when a CEO thinks everyone else is just under him/her, including their own clients.

They start thinking they are beyond the normal people and that everything is a joke.

gdxhyrd··on C++ Pattern Matching Proposal [pdf]
Functional languages are nowhere to be seen compared to the rest.

Some subset of features inspired in them are used in some languages, but that has nothing to do with functional programming taking over.

gdxhyrd··on Software Disenchantment (2018)
> admittedly feature bloat, ads, tracking, etc. are also a problem, but I think they're mostly orthogonal to under-the-hood performance

I think for webpages it is the opposite: non-orthogonal in most cases.

If you disable your JS/Ad/...-blocker, and go to pages like Reddit, it is definitely slower and the CPU spikes. Even with a blocker, the page still does a thousand things in the first-party scripts (like tracking mouse movements and such) that slow everything down a lot.

gdxhyrd··on Godot Engine – A decade in retrospective and future
If you need reliable support, you have to pay someone. It does not matter which project you are talking about.
gdxhyrd··on Godot Engine – A decade in retrospective and future
Unity is not free. Instead of paying once or a fixed subscription, you have to pay a % of all your profits.

Which, in many cases, is way worse than the alternative pricing model.

gdxhyrd··on Rx v0.3 Released, a modern and minimalist pixel editor in Rust
You are seeing the benefits of 144 Hz, not of VRR.
gdxhyrd··on Incident: Wizz Air and Air Europa Planes in Near Collision over Spain
It is going to change. I use MiB and GiB. I also use the ISO standard for dates, etc. Precisely because they are now standard.

Saying it is not going to change is what makes things harder.

gdxhyrd··on Incident: Wizz Air and Air Europa Planes in Near Collision over Spain
NM or nmi, but not nm.

Confusion in units is never a good thing.

gdxhyrd··on Why are my Go executable files so large?
> Unless you like playing "why did my service got killed this time" every once in a while

There is no playing: the error is logged and quite clear, by the application or by the kernel.

Being consistent, predictable and as deterministic as possible is a key feature of reliable software, and paging into swap kills all that.

gdxhyrd··on Rx v0.3 Released, a modern and minimalist pixel editor in Rust
Downvoter: please explain the reason.
gdxhyrd··on Rx v0.3 Released, a modern and minimalist pixel editor in Rust
No. VRR (GSync) does not do anything if your computer can achieve 144Hz (which for a text editor any computer should).
gdxhyrd··on Rx v0.3 Released, a modern and minimalist pixel editor in Rust
I haven't said you cannot notice. In fact, I said you can, in the right conditions.
gdxhyrd··on Rx v0.3 Released, a modern and minimalist pixel editor in Rust
> vsync is a latency killer

VSync, if done properly, only adds less than a single frame of latency.

That is 17ms tops for 60Hz, which nobody notices unless you are a pro-gamer on an FPS game. Certainly it does not matter for a pixel editor.

gdxhyrd··on Rx v0.3 Released, a modern and minimalist pixel editor in Rust
> The popular "classic" 2d libraries like cairo and skia are very big and complicated to build / depend on

It may be harder than editing a Cargo file, but it is something you do once. They are some of the most mature and tested libraries in the world.

> wgpu will eventually also work on the web, so it's a great option for broad platform compatibility

OpenGL works everywhere today, including the web!

> In terms of efficiency (memory, battery, cpu etc.), the modern graphic APIs have more headroom than the GL-based ones

It doesn't matter for a pixel editor. Even if it did, you would have to do a very good job to beat the driver's GL implementation.

Otherwise, you may end up with something slower or buggier!

> Today, 4K screens are pretty common, and in the future, 144hz monitors will be more and more popular. If I want to render 2d graphics with no latency in those setups, access to the GPU makes things feasible

Perhaps, but again, GL allows you to do that.

gdxhyrd··on Sonos's “recycle mode” intentionally bricks devices so they can't be reused
Which brands?
gdxhyrd··on BSD vs. Ubuntu motd(5)
I actually do not want swap, because I don't want paging to disk. Ever. Just let the process crash.

I have been running swapless for two decades without any issue.

gdxhyrd··on BSD vs. Ubuntu motd(5)
The point is that you don't have to trust anyone outside the source given by the official project you are downloading.

The fact that you can't achieve the ideal does not mean we should claim defeat.

gdxhyrd··on Nim vs. Crystal
The GP is talking about the standard library support etc. of the compiled objects, while still being native.
gdxhyrd··on Nim vs. Crystal
Swift is a corporate-backed language, and everyone knows Apple is trying to lock-in customers (both users and devs).
gdxhyrd··on Ruby 2.7
C++17 is a very close language to C18 if you avoid exceptions, classes and templates.
gdxhyrd··on Windows 10 is getting an easier way to update and install drivers
Doubtful. Apple hasn't provided proper drivers for years, way before 10.14. And regardless of GPU brand.

Not only that, the cost of implementing a Metal frontend is trivial for NVIDIA.

gdxhyrd··on Windows 10 is getting an easier way to update and install drivers
Even for supported cards, Apple's drivers are broken. OpenGL support is a decade old and deprecated. No Vulkan support whatsoever. No Direct3D either. No CUDA even if you own an NVIDIA card.

The only thing that works is Metal, on purpose.

gdxhyrd··on Golang and Rust = Vlang
New languages are something sorely needed.

However, has Vlang delivered on its promises? There were several heated discussions around that topic in HN.

gdxhyrd··on Ruby 2.7
3) Use C++17 with minimal features. This gives you a lot of needed libraries built-in and it is better supported than C99 (due to Windows).
gdxhyrd··on Java JIT vs. Java AOT vs. Go for Small, Short-Lived Processes
Note that some compilers do the same at compile time by using profiling information.
← PreviousPage 2 of 5Next →