HNHacker News
TopNewBestAskShowJobs

codewiz

1,767 karma · joined February 5, 2013

I hack, therefore I am. https://mstdn.io/@codewiz
submissionscomments
codewiz··on Neovim 0.9
Neovim 0.9.0 release notes: https://github.com/neovim/neovim/blob/v0.9.0/runtime/doc/new...

GitHub release page with build artifacts: https://github.com/neovim/neovim/releases/tag/v0.9.0

codewiz··on Chrome ships WebGPU
Adding broadly useful features to the web platform is a net gain if it removes bloat from N web apps that most users run.

It might take multiple years for something like WebGPU to start paying off, and even longer for the deprecation of older APIs for 3D rendering, video compression and compute.

codewiz··on Chrome ships WebGPU
"This initial release of WebGPU is available on ChromeOS, macOS, and Windows."

Not yet available on Linux, perhaps because the Vulkan backend can't be enabled yet: https://bugs.chromium.org/p/dawn/issues/detail?id=1593

codewiz··on XUL Layout is gone
Apache also offered a portable runtime called APR. Like NSPR, it had few adopters besides Apache's own web server.

Subversion picked APR, along with other poor ideas such as storing the repository in Berkeley DB, basing the network protocol on WebDAV, and running the server as an Apache module (mod_dav_svn). On the other hand, choosing http(s) as transport turned out to be a huge advantage.

codewiz··on The ThinkPad X1 Carbon Gen 10 as a Linux Laptop
I also did a teardown and some benchmarks: https://mstdn.io/@codewiz/108784057386795811
codewiz··on The ThinkPad X1 Carbon Gen 10 as a Linux Laptop
I've been a longtime ThinkPad X1 user, but last year I switched to a System76 Lemur Pro, and I'm very satisfied.

Here's an unboxing and mini-review: https://mstdn.io/@codewiz/108777933423983015

codewiz··on Framework Laptop 16
I've been using a System76 Lemur Pro for 6 months, and I'm very happy with it: https://system76.com/laptops/lemur

I'd switch to a Framework laptop for the hardware configurability, but not if it means losing Coreboot.

codewiz··on Framework Laptop 16
Any plans to switch to Coreboot or provide Coreboot as an option?

Otherwise, could flash programming be unlocked to facilitate flashing third-party firmware?

codewiz··on ChatGPT generated a puzzle game
Is this the game you're referring to? There are some similarities, but it's closer to Sudoku than Sumplete.

https://youtu.be/gMnEBo0UICY?t=3495

codewiz··on ChatGPT generated a puzzle game
Please publish the entire conversation with ChatGPT that led to the game. You can use this Chrome extension: https://sharegpt.com/ .
codewiz··on ChatGPT generated a puzzle game
Previous discussion: https://news.ycombinator.com/item?id=35010035
codewiz··on Ever wanted to peek into your GPU's cache setup?
:-(

It's C#, perhaps it could be built with Mono? Or run on Wine?

codewiz··on Ask HN: Why has functional programming become so popular oustide academia?
> Outside of embedded systems there is no other good reason to continue OOP

I work on embedded systems, and I see few good reasons to use OOP in this domain, at least not the classic version with runtime polymorphism.

In the codebase I'm currently working on, someone thought it would be a good idea to abstract the hardware behind a HardwareInterface, so you could have a concrete implementation and a mock for testing. And now every access to a GPIO pin goes through a virtual call that can't be inlined, even though the production firmware contains only the concrete Hardware class.

A better design would be compile-time polymorphism with templates. Or even separate header files for each implementation, which is how the Linux kernel does portability to a dozen CPUs.

codewiz··on AI teaches itself to use an API
> This is just fundamentally not true or else all software would be sold for next to nothing.

How much have you spent on purchasing software this year?

For the past 15 years, pretty much 100% of the code running on my personal laptop and work desktop is opensource. The few remaining non-opensource programs, such as UEFI and wifi firmware, came free of charge with the hardware.

The only software I directly purchased in this decade are videogames on Steam, and that's closer to purchasing artwork than a computer program.

codewiz··on Amazon Buys One Medical
Old news (February 22nd).
codewiz··on Show HN: ChatBotKit – The simplest way to build AI chat bots like ChatGPT
I chatted with Algo about how its model was trained and the meaning of beauty until we were interrupted by the interstitial to buy a monthly plan. Too soon!

Anyway, looks like ChatGPT has a good competitor now.

codewiz··on Fully documented source code for Elite on the BBC Micro
There is an actively developed project called Elite Harmless which includes a fully commented disassembly of the original C64 version plus various improvements: https://github.com/Kroc/elite-harmless

I was able to build it from sources on Linux after fixing a typo, but the"fastlines" binary appears to be buggy: https://codewiz.org/pub/elite-harmless-fastlines-screenshot....

codewiz··on Towards a Reproducible F-Droid
It's surprising that Flathub and Canonical's Snapcraft aren't involved in the Reproducible Builds initiative, since they're important distribution channels for end-user applications that could read your ssh keys and wipe your hard-drive if the distribution chain is compromised.
codewiz··on Towards a Reproducible F-Droid
There's a joint effort for reproducible builds, and several Linux distros (Arch, Debian, Fedora and SUSE) along with various BSDs and other high-profile projects are participating: https://reproducible-builds.org/who/projects/
codewiz··on Evolution of the Ethereum proof-of-stake consensus protocol
Is it actually true that stakers can collude to change the consensus rules of the Ethereum network?
codewiz··on AVR-GCC Compiler Makes Questionable Code
> Most people believe that modern compilers generate better-optimized assembly code than humans, but look at this example from AVR-GCC 5.4.0 with -O2 optimization level

Modern compilers? GCC 5.1.0 was released in 2015, and 5.4.0 is a bugfix release. Why would someone blog about its poor code generation without bothering to try the latest release?

Besides, the AVR is an exceptional architecture: an 8-bit RISC with sizeof(int) == sizeof(short) == 2. Neither GCC nor C were designed for 8-bit processors.

codewiz··on Corviale, a one-kilometer residential complex in Rome
In Japan, clusters of identical buildings were constructed around the same period of Corviale: https://en.wikipedia.org/wiki/Danchi

These communities also didn't age too well, becoming associated with aging population, urban degradation and poor architecture.

codewiz··on Iran abolishes morality police
Al Jazeera coverage: https://www.aljazeera.com/news/2022/12/4/iran-prosecutor-gen...
codewiz··on Bash 5.2
You've been quite unspecific in expressing your opinion: how can we evaluate your suggestion of not browsing that guy's feed without actually browsing it to find out what "strange posts" means to you?
codewiz··on Linux on the laptop works so damn well that it’s boring
Hardware sold with Windows preinstalled, by vendors who won't support anything else than Windows. I simply avoid them.
codewiz··on Don't ignore the janitor
When I was at the Cambridge office of Google, I liked to work until late. When the lights went out and the open space went quiet, finally I could get in the flow.

The cleaners were coming in after dinner. Many of them were Latin Americans, so I could engage in simple conversations to keep my Spanish fresh. A man from the Dominican Republic told me that previously he was a "periodista", a journalist, but his education wasn't applicable in the United States because he barely spoke English.

English literacy can be a huge economic advantage even in non-English speaking countries. My doctor in Tokyo could make a higher salary than ordinary Japanese doctors with the same qualifications, simply for working in an international clinic. Same goes for teachers in international schools. Many multinational companies which require English in their branch offices will pay higher than average salaries for engineers, sales and management.

codewiz··on The growing image-processor unpleasantness
Ah well...
codewiz··on The growing image-processor unpleasantness
This url is a "free link" to subscriber-only LWN content, and shouldn't have been published on HN. Quoting from the MakeLink page:

The "subscriber link" mechanism allows an LWN.net subscriber to generate a special URL for a subscription-only article. That URL can then be given to others, who will be able to access the article regardless of whether they are subscribed. This feature is made available as a service to LWN subscribers, and in the hope that they will use it to spread the word about their favorite LWN articles.

If this feature is abused, it will hurt LWN's subscription revenues and defeat the whole point. Subscriber links may go away if that comes about.

codewiz··on How fast is 12th Gen Intel Core?
Just yesterday, I ran a few CPU benchmarks to compare my new System76 Lemur Pro (12th Gen i7-1255U) against my older ThinkPad X1G7 (10th Gen i7-10710U). Both are ultra low-power processors, so it's a fair comparison.

Here are the results: https://mstdn.io/@codewiz/108785771608278574

codewiz··on Linux Mint 21 arrives. Here's what's new
Still no Wayland session in Cinnamon.
← PreviousPage 3 of 9Next →