HNHacker News
TopNewBestAskShowJobs

rwbt

998 karma · joined November 6, 2012

submissionscomments
rwbt··on Tcl/Tk 9.1
Not the OP but Tcl comes with batteries included and more "full fledged". Lua is just so much more lightweight and so easy to just drop it in any codebase.

The biggest reason to use Tcl even to this day is to write Tk GUI programs.

rwbt··on BYD Slashes Price of Electric Car and Becomes Cheapest in Australia [video]
I'd love a city run around car inclusive of all taxes for $15k or less.
rwbt··on Apple iPod Engraver (2019)
Apple always highlighted that engraved products cannot be returned during the purchase.
rwbt··on Good Tools Are Invisible
I thought about Fossil too, once I read the article. I don't even know what version I'm on and never even think about it.
rwbt··on Social media bans for teenagers lack evidence and pose risks, scientists say
> First, enforcing a youth social media ban raises major ethical concerns. Enforcement efforts invade people’s privacy and are likely to hurt marginalized people more. For example, the technology that determines age based on selfie uploads makes more mistakes with young faces and people of color. Banned youth may also miss out on important resources and communications provided via social media, as schools, clubs, and most other youth-serving organizations use social media as a main form of communication.

Really grasping the straws with this argument...

rwbt··on LÖVE: 2D Game Framework for Lua
I use this framework to build prototype applications and it's always a delight. Something about Lua just feels right. Once I'm satisfied with a demo or prototype, I later on port it to native C/C++ implementation.
rwbt··on The only moat left is money?
That's not really a bad thing, IMHO. Many people successfully make a living creating niche products.
rwbt··on I'm a laptop weirdo and that's why I like my new Framework 13
They just offered free batteries.
rwbt··on I'm a laptop weirdo and that's why I like my new Framework 13
Nope. I don't think they even recognized the defect till many years later (probably for legal reasons?).

For users, that were still under warranty - they offered free RTC batteries (which also stopped working later).

Either way, I won't buy anything from them going forward.

rwbt··on I'm a laptop weirdo and that's why I like my new Framework 13
I appreciate the response, but my suggestion would be to offer a mail-in service program so that users don't have to fiddle with potentially dangerous soldering (ideally Framework bearing the shipping costs or atleast subsidizing it).
rwbt··on I'm a laptop weirdo and that's why I like my new Framework 13
The permanent fix involves soldering stuff on the mainboard, which I don't have any prior experience. The RTC substitute module you mention is just the ML220 coin battery that will also eventually stop working.
rwbt··on I'm a laptop weirdo and that's why I like my new Framework 13
I purchased the first generation of FW13 laptops and got burned. The CMOS/RTC battery drains if not plugged in so the laptop never keeps proper time. I don't think I've ever used a gadget in the last few decades that needs setting the correct date & time every time I turn it on.

Granted, it was their first ever shipping product so I gave them a free pass but I thought they would atleast issue a recall or have a repair program where you send in the laptop to get it fixed. Instead they first denied it was even an issue, later on when enough people complained - they started a battery program where they send you a new ML220 coin battery that will also eventually stop working.

I was told buying a new mainboard (12th or 13th gen Intel) would fix it, but I decided to just buy a new ZenBook instead.

rwbt··on Thoughts on Go vs. Rust vs. Zig
I don't think it's UB if you init the struct before using it atomically from multiple threads.
rwbt··on Orion 1.0
I switched to Orion from Safari a few months ago and so far loving it. I tried Orion a couple of years ago but it wasn't as reliable. Now it seems very stable and the kagi search integration is really nice.

On a side note - I don't know why Apple still doesn't let you set a custom search engine in Safari even today, so random.

rwbt··on Is Odin just a more boring C?
One can use `@(require_results)` to force the user to check for error. That paired with `or_return` or `or_else` in Odin mostly take away all foot guns.
rwbt··on Is Odin just a more boring C?
I'll add another point i.e. Odin is effectively done from a language point of view unlike Zig or others. The project is currently working on improving the std library and toolchain but the language itself is finished according to it's BDFL.

From my experience so far, Odin is a delightful modern alternative to C.

rwbt··on Is Odin just a more boring C?
Odin supports multiple returns and the `make` proc returns an error value that can be optionally checked.
rwbt··on Ode to libraries (the book ones)
Great write up and I share very similar ideas. But I wish there was something a little more than a library where people with similar interests can actually socialize and build a sense of community.
rwbt··on SDS: Simple Dynamic Strings library for C
I think it makes it obvious that the string 's' will be mutated.
rwbt··on U.S. preparing IPO for Fannie Mae and Freddie Mac later this year
How exactly?
rwbt··on Odin, a pragmatic C alternative with a Go flavour
Can't comment on RTTI, but lack of conditional imports are indeed an annoyance but I'm willing to put up with it because of all the other niceties in the language.
rwbt··on Vit D supplementation to prevent acute resp infections: review and meta-analysis
Just curious, other than taking Vitamin D pills - what are some natural diets that are rich in Vitamin D?
rwbt··on Shift-to-Middle Array: A Faster Alternative to Std:Deque?
AFAIK, Apple's CoreFoundation CFArray also works similarly[0]. NSMutableArray works little differently (using a circular buffer). From the always excellent Cichenowski[1].

[0] - https://github.com/opensource-apple/CF/blob/master/CFArray.c [1] - https://ciechanow.ski/exposing-nsmutablearray/

rwbt··on Show HN: Nash, I made a standalone note with single HTML file
a simple download page for beta software in a closed group, a birthday invite with all the relevant info
rwbt··on Show HN: Nash, I made a standalone note with single HTML file
Thanks for making this. Sometimes I want to just write a quick note and serve as a static html file and this is very useful for that purpose.
rwbt··on A Minimalist TypeScript for C
Interesting project, similar to Cake[0]

[0] - https://github.com/thradams/cake

rwbt··on What's Next for WebGPU
Maybe it makes more sense as a community project. Not sure how difficult it'd be to extract it from Webkit...
rwbt··on What's Next for WebGPU
I wish Apple made a standalone Webgpu.framework spinning it off of WebKit so that apps can link to it directly instead of having to link to Dawn/wgpu.
rwbt··on Money was never the end goal – mrdoob – threejs creator
If I recall correctly mrdoob used to be (or still is?) employed by Google. I'm sure this is his passion project.

Even the Box2D library is written and maintained by one person as a passion project who happens to also have a successful tech job.

rwbt··on Marketing the Odin programming language is weird
I recently used Odin in a commercial project and had a great experience. For me the biggest hurdle was not the language, but having to write programs without an IDE like Visual Studio/Xcode. Having to write my own build scripts (shell or batch files) etc and maintaining them is a PITA.

But I'm glad I did it because it checks off all the "C but nicer" checkboxes.

Page 1 of 9Next →