HN user

krig

2,084 karma

[ my public key: https://keybase.io/krig; my proof: https://keybase.io/krig/sigs/m-lIDzRlO0Ik81zuGBbYiM_j9JgCSYO528Uh2deID4A ]

Posts55
Comments336
View on HN
write.as 2y ago

Designing a keyboard layout, part 3

krig
2pts0
mas.to 2y ago

Google lays off entire team while they are testifying to the city council

krig
157pts59
github.com 2y ago

Graphite Keyboard Layout

krig
5pts1
news.mongabay.com 4y ago

Pesticides released into Brazil’s Amazon to degrade rainforest

krig
3pts0
www.youtube.com 4y ago

Ekkono's Edge Machine Learning on a Commodore 64

krig
1pts0
maaslalani.com 5y ago

Slides: Terminal Based Presentation Tool

krig
7pts1
www.youtube.com 5y ago

How to Setup M8 Headless Music Tracker on macOS [video]

krig
1pts0
tricycle.org 5y ago

The Buddhist history of moveable type before Gutenberg (2016)

krig
83pts42
shop.dirtywave.com 5y ago

Dirtywave M8 Tracker preorders now open

krig
3pts0
www.vice.com 5y ago

Sierra Was Captured, Then Killed, by an Accounting Fraud

krig
6pts0
twitter.com 6y ago

Sage taking time off from the Ceph project and from Red Hat

krig
1pts0
www.youtube.com 6y ago

Seven years in Tibet^W^Wat Home [video]

krig
1pts0
youtu.be 6y ago

Creative Cribs: Valgeir Sigurðsson [video]

krig
1pts0
kenthendricks.com 6y ago

Things I Learned in 2019

krig
2pts0
github.com 6y ago

Mutable Instruments' Eurorack Modules

krig
201pts99
www.ft.com 6y ago

Five books that explain the Hong Kong protests

krig
1pts0
github.com 7y ago

A Bestiary of Single-File Implementations of Programming Languages

krig
2pts0
lists.nongnu.org 7y ago

Re: [Sks-Devel] Data Protection Concern (GDPR and PGP)

krig
2pts0
lwn.net 7y ago

Lisp and the foundations of computing

krig
17pts0
www.youtube.com 7y ago

Open Source Superhumans (linux.conf.au 2019 video)

krig
1pts0
www.theatlantic.com 7y ago

Why So Many People Hate Winter

krig
2pts0
github.com 7y ago

Show HN: Lisp with copying GC in 537 lines of C (plus Lisp 1.5 on top)

krig
152pts34
ceph.com 9y ago

Cephalocon 2017 is cancelled

krig
3pts0
github.com 10y ago

Csync2 – file synchronization tool using librsync and current state databases

krig
3pts3
github.com 10y ago

Booth 1.0 has been released (Geo-cluster based on Pacemaker and raft)

krig
3pts2
www.kri.gs 10y ago

Show HN: EventControl, jQuery timeline control with support for stacking events

krig
2pts0
www.kri.gs 10y ago

Show HN: EventControl, jQuery timeline control with support for stacking events

krig
4pts1
github.com 10y ago

Basic Triangle Example in Vulkan

krig
2pts0
kotaku.com 10y ago

Witness Speedrunner Takes 30-Minute Sandwich Break, Beats World Record

krig
1pts0
hawk-ui.github.io 10y ago

Show HN: Hawk 2.0 is released (Web interface for Pacemaker clusters)

krig
3pts1

I just reported the bug, it was the bot that was proudly mentioned in the announcement which created the PR and the code...

Right, this is accurate. Except I thought taylordotfish worked for bun, so I guess no one at bun has looked at it at all then.

Bun, Zig, and uWebsockets are passion projects run by individuals with deep systems programming expertise. furthest thing from vibe coding imaginable.

Sure, I definitely will not throw projects like Zig into that bucket, and I don't actually think Bun is vibe-coded. At least that _used_ to be true, we'll see I guess...

Don't read a snarky comment so literally ;)

Prior to Bun, there was little focus on performance.

This is just completely insane. We went through more than a decade of performance competition in the JS VM space, and the _only_ justification that Google had for creating V8 was performance.

The V8 engine was first introduced by Google in 2008, coinciding with the launch of the Google Chrome web browser. At the time, web applications were becoming increasingly complex, and there was a growing need for a faster, more efficient JavaScript engine. Google recognized this need and set out to create an engine that could significantly improve JavaScript performance.

I guess this is the time we live in. Vibe-coded projects get bought by vibe-coded companies and are congratulated in vibe-coded comments.

This announcement made me check in on the arbitrary code execution bug I reported that the Bun Claude bot created a PR for about 3 weeks ago:

https://github.com/oven-sh/bun/pull/24578

So far, someone from the bun team has left a bunch of comments like

Poor quality code

...and all the tests still seem to be failing. I looked through the code that the bot had generated and to me (who to be fair is not familiar with the bun codebase) it looks like total dogshit.

But hey, maybe it'll get there eventually. I don't envy "taylordotfish" and the other bot-herders working at Oven though, and I hope they get a nice payout as part of this sale.

I’ll remove even more and _still_ call it a lisp and there is nothing you can do to stop me.

Any memory management solution will run out of space and terminate unless there is literally infinite memory available.

But I guess hash tables is what people think about when thinking about what makes something a lisp or not.

Is that really the whole reason for this grudge? He gave you a bunch of comments to work from! I was expecting a lot less from your description.

I don't find it too hard to figure out what he meant - he doesn't want to you change the case style of procedure calls, but he _does_ want you to remove redundant namespacing as in the CURL prefix.

Maybe you could have looked at some other vendored libraries to see how they handled things like constant naming and other formatting?

Well, first of all, I guess I am wrong! Hey, I'm not Bill, just a user of the language.

A couple of clarifications, though: I did mean unsafe rust, not the safe subset. No need to get rude!

Second of all, I am of course not under the illusion that Odin prevents use-after-free (and thus, technically, it does allow UB I guess). I just don't think Bill is either. So clearly he doesn't mean UB by the same definition as you do.

_My_ use of UB has always been in the context of what a compiler will do during optimization, and the discussion I've seen in the context of C compilers is that they perform optimizations that remove code or change code in surprising ways because the way the code was written technically resulted in UB. But I'm neither a spec writer or a compiler author, so I don't really care that much about the actual definition of the term.

Anyway, best of luck in convincing Bill to use the term correctly as well! I won't mention UB when talking about the benefits of Odin in the future. :)

Well, the statement is circular, colloquial speech doesn't have to be coherent. It's my understanding of what people generally mean when they complain about UB in the C standard, and it seems to be what gingerbill means too.

My take on what he is saying is that the odin compiler won't try to exploit that there is some behavior which is platform-defined or only knowable at runtime to do aggressive optimizations etc.

https://xcancel.com/TheGingerBill/status/1495004577531367425

To point out that use after free is possible in Odin is not really a gotcha unless you really are just arguing semantics. That's by design, just like use after free is possible in C or C++ or Rust too.

I don’t think he works for me. I am not paying him. To the contrary, if anything _I_ am in debt since I am using all this code that he put out there for free.

I guess there are a few things I could do in that situation. Move on to something else, try to figure out why he didn’t like it on my own, fork the language if it’s big enough and important enough to me.

But yeah, maybe he is busy? Maybe he thinks you are capable of working it out yourself?

Not to be too harsh about it, but yeah, that’s just the way it is sometimes. Maybe he was having a bad day, that happens to people.

Well, sure. If that’s what you mean by having UB then it’s trivially true for any language with a C FFI for example, or rust with unsafe. I guess what I consider UB is when the compiler exploits UB for optimizations, like discarding code that could invoke UB, which as far as I know odin doesn’t do.

Sorry to hear that! I haven’t had any such experience, quite the opposite.

But I’m also an old. If someone tells me my code is shit, 1) they are probably right, and 2) I don’t really care. I can probably look at their code and find flaws in it.

In the end, Odin is Bills project and he decides what goes into it, I’m fine with that.

First off, you wouldn’t write an actual interpreter for lisp like this if you wanted to use it for anything serious, it’s very slow.

The parser is very simple thanks to the s-expressions, and the only builtin special forms really needed are quote, cond and lambda, that’s pretty much it. The only data structure is a list, so functions are just lists, function calls are lists etc.