HNHacker News
TopNewBestAskShowJobs

mahkoh

419 karma · joined January 26, 2014

submissionscomments
mahkoh··on Windows XP 2024 Edition is everything I want from a new OS
You had audio latency issues and instead of googling "Linux audio latency", you spent several hours installing distributions, kernels, graphics drivers (?), and UIs (??). You could have avoided this by doing what any windows user would have done in your situation.

>This article describes how to configure your system for recording, mixing and playing back audio as well as using it to synthesize and generate sounds. Those activities are subsumed under the term professional audio (pro audio) and typically require low latency performance.

First link.

mahkoh··on Bad NEWS, Emacs
I believe Mozilla has been successful with a similar strategy.
mahkoh··on Stack Overflow announces 28% headcount reduction
How would this be different from not allowing Ai?
mahkoh··on Wired has removed "How Google alters search queries" story
>Everyone knows Google has been swirling the tank for over a decade for actual web search and AI will likely finish the job.

Everyone knows this? GOOG stock is near an all time high with search being more than 50% of its revenue.

mahkoh··on AWS IPv4 Estate Now Worth $4.5B
You have decades of networking experience but you are unable to get ipv6 to work, something that over 40% of internet users are using daily.

[1] https://www.google.com/intl/en/ipv6/statistics.html

mahkoh··on The Case for Nushell
Nutshell requires me to write `| save --raw --append <path> ` instead of `>> <path>`. I don't have the nerves for this type of inefficiency so I'll stick to zsh.
mahkoh··on macOS 13.5 no longer allows setting system wide ulimits
By tinkering and UX you mean writing a wrapper for every application that needs more than 256 open files.
mahkoh··on Defecting from North Korea is now harder
Android 13:

This site can’t provide a secure connection

archive.ph uses an unsupported protocol.

ERR_SSL_VERSION_OR_CIPHER_MISMATCH

mahkoh··on Easy Interfaces with Zig 0.10
Rust traits do not require dynamic dispatch nor a jump table. Therefore rust traits are inherently faster than zig unions.

They can be used via dynamic dispatch but this is not the default.

mahkoh··on Gitlab Now the Main Development Platform for Wine
What could be simpler than having to press "Show More" 20 times because you can't Ctrl-F what you're looking for? Especially in larger project, as you say.
mahkoh··on Is there a maximum size for Windows clipboard data?
>In Linux, you have to worry about KDE programs vs GNOME programs having different clipboards, for example.

I don't worry about this on linux because it's not the case.

I suppose if I were on windows I would have to worry about legacy programs that only understand UCS-2 not being able to talk to modern programs that only understand UTF-8.

>Its also why compatible suites of programs (ie: Adobe) can be so useful when those custom formats come into play. Adobe can copy/paste layers from Photoshop and send them over to other programs. If the photoshop layer isn't understood, it seems to become a Bitmap, which works when I'm on a VBulletin forum over in Firefox land.

I'm able to paste images from GIMP, Krita, and Thunar into forums just fine.

mahkoh··on MenuetOS
Any paper that proposes to remove functionality without attempting to steelman said functionality can safely be disregarded.
mahkoh··on Oggify: Download Songs Directly from Spotify
Incorrect https://de.catbox.moe/uxy8eb.png
mahkoh··on Oggify: Download Songs Directly from Spotify
>You can't even take a screenshot of a Netflix show

Works fine on linux even in 1080p.

mahkoh··on Rustc_codegen_GCC can now bootstrap rustc
>FWIW though I think GCC is really playing with fire when it comes to it's future - the mailing list approach to development deters new contributors, the testing infrastructure is quite arcane, etc.

And LLVM is better? At the start of last year I found and fixed a small bug in LLVM[1]. I submitted the fix via their Phabricator instance and it was approved by project members after a few days. As per the contributor guide, I then asked for a project member to commit my patch to the LLVM repository. This is because in Phabricator there does not appear to be an automatic way to commit approved changes. A project member has to manually take the patch and apply it.

A few weeks ago I tried to see what happened to my patch and found that it had never been applied. So basically my work and that of the reviewers was simply lost because of their infrastructure.

[1] https://reviews.llvm.org/D96334

mahkoh··on Win32 is the stable Linux userland ABI (and the consequences)
I suppose you would then statically link all gpu drivers into your graphical application? And whenever a new gpu or a new driver is released, you will recompile your application. In case a new driver drops support for older cards, you would then include multiple versions of the driver in your binary. Naturally your binary will be several hundred megabytes large. An interesting idea. I was not aware that proprietary drivers even allowed this.
mahkoh··on Win32 is the stable Linux userland ABI (and the consequences)
If developers start targeting proton, then Valve will be the gatekeeper that decides which windows apis get widespread adoption in games. Contrary to what the title says, proton will become the stable win32 api. Microsoft's distribution of the proton api could then be called "upstream" or "rolling release".
mahkoh··on Flutter is the most popular cross-platform mobile SDK
That is unrelated to my question. I'm using hinting and have everything sub-pixel-related disabled. If flutter does not support this, then flutter cannot look native.
mahkoh··on Flutter is the most popular cross-platform mobile SDK
>- Flutter widgets can be made pixel perfect replicas of native UI components.

How can I make flutter use native font rendering? I've played around with it a bit and fonts look completely off, don't respect my systems hinting settings, etc.

mahkoh··on Windows 11 Pro will soon require a Microsoft Account during initial setup
systemd respects the users freedoms:

    Freedom 0: The freedom to run the program for any purpose.  
    Freedom 1: The freedom to study how the program works, and change it to make it do what you wish.
    Freedom 2: The freedom to redistribute and make copies so you can help your neighbour.
    Freedom 3: The freedom to improve the program, and release your improvements (and modified versions in general) to the public, so that the whole community benefits.
As such it is impossible for systemd to make the user do anything. If it did, the user could simply modify the code and share his improvements with similarly minded individuals.
mahkoh··on PostgreSQL query performance bottlenecks
The maximum value in a postgres timestamp is `294276-12-31 23:59:59.999999`. Overflow means that `created_at + interval '90 days'` exceeds this value. This causes an error.
mahkoh··on PostgreSQL query performance bottlenecks
They are not equivalent since `created_at + INTERVAL '90 DAY'` can overflow for every single row whereas `now() - INTERVAL '90 DAY'` is a constant for the purpose of the query execution.
mahkoh··on Isolating Xwayland in a VM
The linked talk is full of half truths and misinformation by omission and already was when I first watched it in 2013. Most significantly the speaker conflates the X protocol and Xlib which nobody was using to write new software even back then. He says that gedit performs lots of blocking calls during startup. That's a problem of Xlib. With XCB you can perform all of these calls in parallel. He says that referring to an object that doesn't exist causes your program to abort by default. That's a problem of Xlib. With XCB, this simply returns an error that you can handle like you would do with any other API. He gets called out for this by one of the attendees but brushes it away with "but it's really hard to do". It's actually not.

I'm not going to go over the whole video since it was primarily made for entertainment and therefore any point can be defended by "he was exaggerating for comedic effect". Invoking this video is akin to invoking late night tv hosts when talking about politics.

And then of course he also has some valid points which are unfortunately diminished because the uninformed watcher will not be able to distinguish them for the invalid points.

mahkoh··on The QOI File Format Specification
Looking at the spec, the only multi-byte data are the width/height in the header. So only two 4-byte swaps per file.
mahkoh··on There's never been a better time to build websites
On the remix.run site it says

>Remix is a seamless server and browser runtime that provides snappy page loads and instant transitions by leveraging distributed systems and native browser features instead of clunky static builds. Built on the Web Fetch API (instead of Node) it can run anywhere.

I found no mention of the blockchain here or anywhere else. Why are they touting their own horn so much if they are clearly not Web3 ready?

mahkoh··on Move myself to inactive
Are you the guy that people from 4chan attempted to kill over the fork?[1] Do you know when the case will be going to court?

[1] https://github.com/tenacityteam/tenacity/issues/99#issuecomm...

mahkoh··on Rust Moderation Team Resigns
Selective enforcement of CoCs? Hard to believe. The Rust Code Team has my full confidence.
mahkoh··on BCHS stack – BSD, C, httpd, SQLite
I'm running a moderately popular website with this stack on a $5 VPS. More precisely I'm running an ARNPCoW (Cloudflare or WireGuard) stack. That is, an ARNP stack that serves https from behind Cloudflare and drops packets that don't come from one of Cloudflare's advertised IPs unless they are from a WireGuard connection.
mahkoh··on The Perl Foundation is fragmenting over Code of Conduct enforcement
>In some ways Code of Conducts is another way of enforcing 'business' culture onto programming and hacking.

The primary purpose of CoCs is to enforce power relations.

For example, apple plainly committed misconduct when they unilaterally bullied the W3C into not adopting SPIR-V as the shader language for WebGPU. The implicit threat was that they would simply kill WebGPU by not making it available on iOS where they have the browser monopoly (which itself is a violation of good conduct.)

All other browser vendors, game engine vendors, and users supported the adoption of SPIR-V but in the end Apple got their way and WGSL was created as a bespoke shader language for WebGPU. (Naturally afterwards many post-hoc justifications were invented for this move.)

Users and game engine vendors were quite upset at this because they now have to learn and implement a new shader language. When they expressed their discontent, those complaints were quickly and forcefully shut down with reference to the CoC (which apparently does not apply to Apple.)

mahkoh··on ZeroVer: 0-Based Versioning
That's why our team at GigaCorp has switched to not using minor version numbers. In the past we had customers who expected continuous security updates without updates to the minor version due to some internal policy. All of our new products use 0.0.x versioning where x is incremented for each release. This way we can easily push out new releases and our customers have no reason to delay updates.
← PreviousPage 2 of 4Next →