HNHacker News
TopNewBestAskShowJobs

Decabytes

3,924 karma · joined September 20, 2017

I have a blog called "Deus In Machina" on Substack to improve my writing. If you check it out, I hope you enjoy your time at the digital hearth :)

https://www.deusinmachina.net/

submissionscomments
Decabytes··on UEFI Bindings for JavaScript
I’m always amazed and slightly envious of what programming languages with large developer bases can do. I mean if a language is Turing complete it can do anything, but JavaScript takes this to the extreme.

Mind you I never said anything about quality or performance, obviously doing everything in JavaScript comes with it’s own issues but if you were to say that someone got JavaScript running in the Linux kernel as a POC I wouldn’t even be surprised

Decabytes··on Hoot: Scheme on WebAssembly
I wish Guile had better windows support
Decabytes··on We tasked Opus 4.6 using agent teams to build a C Compiler
For me the real test will be building a c++ compiler
Decabytes··on PlayStation 2 Recompilation Project Is Absolutely Incredible
I hope the steam machine 2.0 can be a good target for developers for years to come like the ps2 was
Decabytes··on Still using Firefox – but not because of its vision
I’m using Zen which is based on Firefox and I have been enjoying the experience
Decabytes··on Python is not a great language for data science
Python pays the bills. If it was up to me I'd use a different language, but there is no denying that its got a strong story in just about every field now. As I've gotten older, I've come to realize that programming languages are vehicles for solving computer based problems, and I've learned to find joy in solving those problems in whatever language my company/project is using.

But in my personal projects, my favorite language to use it Dart.

Decabytes··on Java 25 officially released
My biggest Issue with Java, is that it isn't streamlined. There are multiple implementations of the jdk that could be used, Many different build systems, etc. The C# ecosystem is smaller for sure, but it is much more streamlined
Decabytes··on Nvidia's RTX 5090 power connectors are melting
Let's not forget that the 90 series cards in each generation won't be top end forever. Soon they will just be used cards like all other technology. And someone might be building their first computer, got a good deal on eBay on a 5090 which is 5 or 6 generations old, and cobble it together with some other old parts, and maybe a weak PSU, or an older 12vHP cable
Decabytes··on Nvidia's RTX 5090 power connectors are melting
I really hope this means that we reign back in the power on these high end cards. 600 what is just too much for a connector like this. 450watts seems much safer (though I wish the spec as a whole had better margins). Nvidia really just tried to pass the 5090 as a new generation by pumping more power through it and it shows.
Decabytes··on JetBrains Fleet drops support for Kotlin Multiplatform
I personally find value in having two editors. A light editor like Emacs for writing Markdown, git, quick scripts, and a JetBrains IDE for longer running projects, and debugging. I don't feel the need to wholly replace one with the other
Decabytes··on Donald Knuth's 2024 Christmas Lecture: Strong and Weak Components [video]
The thing I find most inspiring about Donald Knuth is his decades long commitment and discipline. As a serial project, language, and distro hopper, I have a lot I could learn from him
Decabytes··on An update on Dart macros and data serialization
> Runtime introspection (e.g., reflection) makes it difficult to perform the tree-shaking optimizations that allow us to generate smaller binaries.

Does anyone have any more information on How Dart actually does Tree Shaking? And what is "Tree Shakeable"? This issue is still open on Github https://github.com/Dart-lang/sdk/issues/33920.

I think this quote accurately sums things up

> In fact the only references I can find anywhere to this feature is on the Dart2JS page:

> Don’t worry about the size of your app’s included libraries. The dart2js tool performs tree shaking to omit unused classes, functions, methods, and so on. Just import the libraries you need, and let dart2js get rid of what you don’t need.

> This has led customers to wild assumptions around what is and what is not tree-shakeable, and without any clear guidance to patterns that allow or disallow tree-shaking. For example internally, many large applications chose to store configurable metadata in a hash-map:

Decabytes··on Can you read this cursive handwriting? The National Archives wants your help
I’m interested to give this a go because I want to practice reading cursive. I do a lot of longhand writing including writing all my notes in cursive. It’s exciting to watch my binding fill up with all sorts of different subjects!

I like to write in cursive for a few reasons

1. I find it makes my hand cramp less 2. It offers some shallow privacy in public 3. I don’t want to lose the skill 4. It’s fun!

Decabytes··on What do you think about using a game engine for UI?
I think the two main issues from this approach are increased battery usage on mobile devices, and accessibility issues with things like screen readers. I’d recommend giving Flutter a try. It is the easiest way I’ve found to make a cross platform app that works everywhere, and fulfills the two criteria I mentioned above
Decabytes··on Silver amulet is the oldest evidence of Christianity north of the Alps
It's super cool to see the digital unraveling of scrolls become more accessible. It's also amazing that we can still read the text of something that is nearly 2000 years old.

One thing I don't understand is the picture of the scroll though. I don't see how they were able to figure out the letters? They don't look like an alphabet to me

Decabytes··on Why Smart C Coders Love Lua
I like Lua, but after going all in on Gambit-C^1 for a bit, I'm not sure anything can top its level of integration. Besides compiling to C, it just lets you straight up write C inside of a .scm file.

    (c-declare #<<c-declare-end
    #include <stdio.h>
    c-declare-end)

    ((c-lambda () void
    #<<c-lambda-end
    printf("Hello World!\n");
    c-lambda-end))
and then run the corresponding executable

    gsc -exe embed.scm && ./embed

1. https://www.deusinmachina.net/p/gambit-c-scheme-and-c-a-matc...
Decabytes··on AMD Ryzen 7 9800X3D Linux Performance: Zen 5 With 3D V-Cache
It’s frustrating how I can get a 7950x3d and 32 gb of ram for less than the price of a RTX 4080, but it underperforms poorly vs a graphics card
Decabytes··on State of Python 3.13 performance: Free-threading
I'm glad the Python community is focusing more on CPython's performance. Getting speed ups on existing code for free feels great. As much as I hate how slow Python is, I do think its popularity indicates it made the correct tradeoffs in regards to developer ease vs being fast enough.

Learning it has only continued to be a huge benefit to my career, as it's used everywhere which underlies how important popularity of a language can be for developers when evaluating languages for career choices

Decabytes··on A comparison of Rust’s borrow checker to the one in C#
My biggest issue with C# is that it doesn't have a good cross platform GUI. Maui dev is too slow and lacks a lot of the features a lot of people want, and Avalonia still uses the hybrid axml approach that just feels bad. I wish C# had a Flutter like library that utilized C#'s Hot Reload features
Decabytes··on A comparison of Rust’s borrow checker to the one in C#
F# provides escape hatches to OOP since it is closely tied to C#.
Decabytes··on Skeptical of rewriting JavaScript tools in "faster" languages
Honestly I think the future of languages is strong and sound type inference. Writing Dart, F#, Swift, Crystal, and even modern C# has shown me to varying degrees how good a language can be at type inference, and what the tradeoffs are. I much prefer it to the gradually typed approach, but I've found that library authors in gradually typed languages usually type the entire library and as a developer I always appreciate it.
Decabytes··on Ask HN: If you were rewriting Emacs from scratch, what would you do differently?
Honestly I think you could go a long way with default evil mode, and updated documentation with evil keybindings in mind.
Decabytes··on FreeBSD: How Can We Make It More Attractive to New Users?
As a developer it’s support for more programming languages and tooling. As well as rallying behind semi modern hardware like the Framework laptop.

I’d love to be able to put FreeBSD on a Framework and have the WiFi work right off the bat.Then be able to download Dart and Flutter, and build directly on FreeBSD.

As it stands, I can make it work with my thinkpad and if I want to program in C/C++ In Emacs and Vim things work just fine, but most people want more than that in this day. and age.

Decabytes··on AMD Unveils Its First Small Language Model AMD-135M
Since most people can’t run these LLMs locally, I wonder what a model would look like where we have hyper tuned models for specific purposes, IE a model for code, a model for prose, etc. you have a director model that interprets what downstream model should be used and then it runs that. That way you can run the model locally, without needing beefy GPUs. It’s a trade off of using more disk space vs needing more vram
Decabytes··on Swift 6
Apple never set out to create Swift. Chris partner worked on it for fun in his spare time, and when he realized it could go somewhere he went through the channels to get it turned into an official project. With that being said it was tailor made to address important issues for Apple developed. For example, it has great interop with Objective-C which was a requirement to get it adopted, first at Apple, and then with the wider community. It is also built with safety and security in mind removing lots of undefined behavior and adding null safety. It is also statically typed while JavaScript isn’t. There are a whole host of other goodies that it has that make it better for Apple developers than just adopting JavaScript. Chris partner has lots of talks where he goes over the reasonings
Decabytes··on Do Not Sign the Qt License Agreement Unchanged
I can't speak to that personally but I found an article^1 that goes over using flutter with C++ and another that goes over debugging C++ with flutter^2. Flutter also has a template project that includes scaffolding for building C/C++ projects that can be asked from the commandline with

> flutter create --template=plugin_ffi demo_library --platforms android,ios,macos,windows,linux

Hope this helps!

1. https://dev.to/andycall/the-comprehensive-guide-to-using-cc-... 2. https://dev.to/andycall/setting-up-a-development-and-debuggi...

Decabytes··on Do Not Sign the Qt License Agreement Unchanged
TBH for the GUI work I do, Flutter has been fantastic. Really great developer experience with hot reload and hot restart even on Linux. It’s a great technology and I think more people should give it a try
Decabytes··on From Julia to Rust (2021)
I'm still not understanding the switch to Rust other than for education (which is fine). All of the things you get from Rust with memory safety you get in Julia with the Garbage Collector?
Decabytes··on Apple explores robotics in search of life beyond the iPhone
Apple is probably only interested in doing things that elevate their brand by making it feel more premium. But if they wanted to, they could focus really hard on increasing Swift adoption by making the tools a lot better and porting Xcode over to other Operating Systems. They would gain more mindshare amongst developers, but that’s probably not interesting to them outside of the Mac/ios ecosystem
Decabytes··on Ask HN: What are you working on (August 2024)?
A flutter based solo rpg that is a Hack of IronSworn. It is set in a world 40 years after an event called the arkfall, and where alien Arks crashed landed on earth bring with them many new flora and fauna and terraforming the earth at the sites of the crash.

The setting is like retrofuturistic version of 1998 with survivalist elements.

I’ve been enjoying flutter, and Have found it easier than other cross platform GUI technologies I’ve used. Dart is pretty easy to learn too and I’m considering it for other non flutter based tools as well

← PreviousPage 3 of 19Next →