Better HN
topnewbestaskshowjobs
Log inSign up

do_not_redeem

1,301 karma · joined Nov 17, 2024 (2y ago) · 360 submissions

WHY DID YOU REDEEM
Submissions

comment 9mo ago · link · parent

> Pure-Go tree-sitter runtime — no CGo, no C toolchain, WASM-ready.

No you didn't. The readme is obvious LLM slop. Em-dash, rule of three, "not x, y". Why should anyone spend effort reading something you couldn't be bothered to write? Why did you post it to HN from a burner account?

2.

New repository settings for configuring pull request access(github.blog ↗)

3 points · by do_not_redeem · 9mo ago · discuss

comment 9mo ago · link · parent

Zig supports this. If you compile with -fsingle-threaded, operations on mutexes turn into nops, atomics become simple loads/stores, etc.

comment 10mo ago · link · parent

Okay, let's say the cache is cold and you're on an old clunky spinning rust 5400 RPM hard drive. Do the math. How long will it take, worst case, for the platter to spin to where calc.exe is stored?

comment 10mo ago · link · parent

I won't spoil the article, but if you read to the end you'll find out what this "FMZ" project is called.

comment 11mo ago · link · parent

It was an offhand 20 words out of a 5000 word article and a very pertinent example. I guess the question is, why were you not bothered by the negative opinion about instant coffee or particleboard or malls or Tinder or McNuggets, but hearing anything negative about LLMs is worth singling out to complain about?

comment 11mo ago · link · parent

The site is open source and the commits are still there. No need to be so dramatic.

https://github.com/ziglang/www.ziglang.org/commit/c8d046b288...

comment 11mo ago · link · parent

To be fair, Windows 8 only came out in 2012, so they haven't had that much time to finish the settings migration. But they're making good progress. If they keep up this pace of moving 2 settings per month, they should be able to finish by 2053.

comment 12mo ago · link · parent

I wonder what tools the Zig team has to deal with trolls like this.

Is the zig name or logo trademarked? What about the mascot he's using as his github picture?

They're violating the terms of the MIT license as mentioned in the article, so maybe Zigtools has legal standing.

As for lying about no AI, being an asshole isn't illegal, so no angle there.

Any other ideas I missed?

comment 12mo ago · link · parent

Congratulations on the move!

> Thank you to the Forgejo contributors who helped us with our issues switching to the platform, as well as the Codeberg folks who worked with us on the migration

I'd love to see a writeup about these problems/solutions at some point.

comment 1y ago · link · parent

I think gorhill is far more trustworthy than a whole new browser based on crypto.

comment 1y ago · link · parent

Reading between the lines, it seems like Google is playing a bit of chess here. Reminds me of the Beeper Mini stunt, except this time by a trillion-dollar company they can't just sweep under the rug.

> we welcome the opportunity to work with Apple to enable “Contacts Only” mode in the future.

> I applaud the effort to open more secure information sharing between platforms and encourage Google and Apple to work together more on this.

Your move, Apple.

comment 1y ago · link · parent

> when you actually take a look what they are complaining about it is not actually an ad

https://www.windowslatest.com/wp-content/uploads/2024/04/Sta...

Opera Browser [Promoted]

--

https://www.ghacks.net/wp-content/uploads/2017/03/file-explo...

Buy OneDrive for $6.99 a month

--

Do you think these aren't ads?

comment 1y ago · link · parent

> I can send multiple queries over a single TCP connection and receive multiple responses over the same single TCP single connection, out of order. No blocking.

You're missing the point. You have one TCP connection, and the sever sends you response1 and then response2. Now if response1 gets lost or delayed due to network conditions, you must wait for response1 to be retransmitted before you can read response2. That is blocking, no way around it. It has nothing to do with advertising(?), and the other protocols mentioned don't have this drawback.

comment 1y ago · link · parent

yt-dlp + 4K works fine for me. The only special thing I remember doing is adding the impersonate feature (which it prompts you to do if it needs it). In other words, instead of `uv tool install yt-dlp`, run `uv tool install yt-dlp[default,curl-cffi]`

The version in the Arch repos does not include the impersonate feature.

comment 1y ago · link · parent

Nature is cruel. Every living thing wants energy for itself, but there's only so much to go around. The leaves cry out in ultrasonic frequencies as they're harvested, and then we add insult to injury by drowning them in salad dressing before we chomp away blissfully. You want to live, just like they did. So you eat. If only the universe had infinite resources to go around, but instead the march of entropy leaves us fighting over an ever shrinking pie.

comment 1y ago · link · parent

Sure maybe 20 years ago. But back then Linux's userbase was also on Windows, because desktop Linux hadn't really become usable yet. I think nowadays Firefox's marketshare is a lot higher on e.g. Ubuntu (where it's the default) than it is on Windows (where Edge is the default).

comment 1y ago · link · parent

Appealing to that crowd is how they grew their market share the first time around. The techies came first, trust was established, and then they recommended it to everyone else.

Do you really think AI features are going to move the needle here? Is your grandma going to think "Wow, Firefox can summarize my emails!" and switch web browsers?

comment 1y ago · link · parent

> complete non-usage of cell phones while driving

Well, this would also ban things like GPS, or hooking up Spotify to your steering wheel media buttons.

I think targeting texting + social media is the right approach.

comment 1y ago · link · parent

Not a single mention of defer? There's no way I'll ever go back to writing goto towers.

Yes, I'm aware that some specific C toolchains have nonstandard extensions that accomplish the same thing, but if you lock yourself into one of those, the "Portability and Presence" section (and really, the first 20% of the article) goes out the window.

comment 1y ago · link · parent

You're sending people's bank account numbers to Microsoft?

comment 1y ago · link · parent

Well said. Five-digit years are the Shadow the Hedgehog of rationalism. But he successfully derailed the thread and took the spotlight for himself, so... mission accomplished, I guess.

comment 1y ago · link · parent

GP is talking about thresholding and thresholding is used in more than just OCR. Thresholding algorithms do not hallucinate numbers.

comment 1y ago · link · parent

sure, if you don't mind it hallucinating different numbers into your image

comment 1y ago · link · parent

Even the basic stuff like `openFile` is deprecated. I don't know what else to tell you. Zig won't maintain two slightly different versions of the fs functions in parallel. Once something is deprecated, that means it's going away. https://github.com/ziglang/zig/blob/init-std.Io/lib/std/fs/D...

comment 1y ago · link · parent

This isn't quite accurate. If you look at the new IO branch[1] you'll see (for example) most of the std.fs functions are gone, and most of what's left is deprecated. The plan is for all file/network access, mutexes, etc to be accessible only through the Io interface. It'll be a big migration once 0.16 drops.

[1]: https://github.com/ziglang/zig/blob/init-std.Io/lib/std/fs.z...

> Do I have to refactor? No, the old API works flawlessly

The old API was deleted though? If you're saying it's possible to copy/paste the old stdlib into your project and maintain the old abstractions forward through the ongoing language changes, sure that's possible, but I don't think many people will want to fork std. I copy/pasted some stuff temporarily to make the 0.15 migration easier, but maintaining it forever would be swimming upstream for no reason.

comment 1y ago · link · parent

That's a fine default stance. But uBO is one of, and some would say the only, extension that you should evaluate on its own merits rather than stereotyping with the rest of the category.

comment 1y ago · link · parent

Even if the file is cached, fread has to do a memcpy. mmap doesn't.

comment 1y ago · link · parent

They aren't doing it with the intent to damage his business. They're just doing something they would have done anyway.

You can't claim tortious interference just because someone throws a wrench in your business plans. Sanborn has about as much of a case as Microsoft has against Linus Torvalds for creating Linux and hurting their sales of Windows. (I'll give you this one for free: none.)

comment 1y ago · link · parent

I disagree. All the major browser vendors have invested into the ads space to some degree. I'd rather have my content blocker built by someone without a conflict of interest.
12345
12