Better HN
topnewbestaskshowjobs
Log inSign up

nusaru

244 karma · joined Feb 10, 2020 (6y ago) · 94 submissions

Submissions

comment 4mo ago · link · parent

I like the idea for this project, but not a huge fan of the AI-written docs.

comment 5mo ago · link · parent

Why not use an arena allocator?

comment 9mo ago · link · parent

I look forward to the day that jjhub becomes available...

comment 1y ago · link · parent

Relevant GitHub issue: https://github.com/ghostty-org/ghostty/issues/189

comment 1y ago · link · parent

Switched. For anyone else thinking of doing the same, zoxide can import your data from autojump: https://github.com/ajeetdsouza/zoxide#installation

Here's the command I ran on macOS:

    zoxide import --from=autojump ~/Library/autojump/autojump.txt

comment 1y ago · link · parent

> in the US

Huh? What does this mean? Are there other systems in the US that I’m not aware of?

comment 1y ago · link · parent

Immediately got a banger: "Dimensions of being" https://suno.com/song/dd3dbde0-4df6-4aec-a9be-bd2f64c281c8

comment 1y ago · link · parent

> Personally I didn’t have borrow checker problems, but that’s because before I started using Rust at work I’d designed and built my own borrow checker. I don’t know if that’s a scalable pedagogy.

Yeah... maybe not, but I can see this being a project in an undergraduate course.

9.

Soft hyphen(en.wikipedia.org ↗)

4 points · by nusaru · 1y ago · discuss

comment 2y ago · link · parent

> Ruby is the union of all earlier languages, and it's not even formally documented.

It's documented, but you need $250 to spare: https://www.iso.org/standard/59579.html

11.

CSC 485B: Data Compression(youtube.com ↗)

1 points · by nusaru · 2y ago · discuss

comment 2y ago · link · parent

To answer your first question: no, past posts can’t be edited (at least not in the iOS app).

Answer to second question: https://news.ycombinator.com/item?id=40927209

comment 2y ago · link · parent

Yeah, here's a quote from the 1.50 release post last week:

> Although Theia IDE is still in beta, the steady progress suggests that we will soon be exiting the beta phase.

comment 3y ago · link · parent

> macOS Ventura 13.6

Well dang, I just upgraded yesterday, too. Fingers crossed that nothing breaks...

comment 3y ago · link · parent

What does "allocalypse" mean here? Were memory allocations in Zig less explicit in the past?

comment 3y ago · link · parent

> This is the final step before merging YARP into CRuby, and we’re very excited to see it come to fruition. This work will be done in the next couple of work days.

It continues to amaze me the pace at which kddnewton and co. are able to work. His tweet[1] from a few months ago is really relevant here. Being full-time employees and not just open-source volunteers makes a huge difference!

[1]: https://twitter.com/kddnewton/status/1639258413120073730

comment 3y ago · link · parent

Second paragraph in OP:

> One approach to building a native GUI for a cross-platform application is to write all of the business logic in a cross-platform language (C, Rust, Zig, etc.) and then write the platform-specific GUI code. This is the approach I take with my my terminal emulator and it works really well. As of the current date writing this post, 93% of my repository is business logic in Zig and C, and 4% is macOS-specific GUI code in Swift.

18.

Linking and Binary Hot Code Loading with Jakub Konka(open.spotify.com ↗)

1 points · by nusaru · 3y ago · discuss

comment 3y ago · link · parent

That’s crazy, my city alone has more than 1/100 the population!

Edit: 10x to 1/10

Edit 2: 1/10 to 1/100

comment 3y ago · link · parent

Relevant autodocs:

Server: https://ziglang.org/documentation/master/std/#A;std:http.Ser...

Client: https://ziglang.org/documentation/master/std/#A;std:http.Cli...

comment 3y ago · link · parent

Actual, actual press release: https://github.blog/2023-05-08-github-code-search-is-general...

HN discussion from yesterday: https://news.ycombinator.com/item?id=35863175

comment 3y ago · link · parent

Should be noted that Rust (one of the most prominent languages with traits) doesn't allow you to implement a trait for an object you do not own. A common workaround is to wrap that object in your own tuple struct and then implement the trait for that struct.

comment 3y ago · link · parent

Here you go: https://docs.rubocop.org/rubocop/cops_style.html#stylecaseeq...

comment 3y ago · link · parent

I find your comment hard to believe—because it’s so wholesome. Your parents rock!

comment 3y ago · link · parent

Good point. He probably learned his lesson (at least for launches) from that point on.
1234