News for hackers. Stuff that matters.

Zinu

Re:Show HN: Mcptoon – Token-efficient MCP CLI client on Tuesday August 11, 2026 @02:06AM (#49253925)
I don’t think the Show Me section makes sense, the TOON variant clearly doesn’t have the same information. And the examples in the “How TOON works” section focuses on number of characters instead of tokens. I would think “null” is a single token anyway, why bother replacing it with an uncommon character?
Re:Shorter is longer than longer [video] on Tuesday July 21, 2026 @05:30AM (#48989997)
It's a video talking about and showcasing some "strange loops" (an idea coined by Douglas Hofstadter in his book "Gödel, Escher, Bach").

Probably most interesting to the people here is the quine relay: https://github.com/mame/quine-relay ("a Ruby program that generates a Rust program that generates a Scala program that generates ...(through 128 languages in total)... a REXX program that generates the original Ruby code again")

Also around 6:50 he shows a nice little easter egg in the quine of a RubyConf talk by Yusuke Endoh (mame). The talk is also full of really nice examples: https://www.youtube.com/watch?v=VDk---TgCv4

Games on Whales runs containers, it doesn’t stream your desktop or your steam installation for example. So use case is for those that use the PC directly but also want it available via moonlight without a display connected.
Re:I tried to prove I'm not AI. My aunt wasn't convinced on Wednesday March 25, 2026 @07:07AM (#47515771)
Isn’t that just like Postident in Germany?
Re:Google paid a $250K reward for a bug on Monday August 11, 2025 @05:21AM (#44862269)
The money itself might not be dirty, couldn’t you just claim something like “I sold a secret, highly valuable algorithm to this guy”? Tax would still need to be paid of course
Re:Canvas is a new way to write and code with ChatGPT on Thursday October 03, 2024 @03:29PM (#41734088)
Those look more like one-off prompts, and not a proper chat/collab with Gemini.
No it wouldn't, companies like Nintendo and Sony make money from selling games on their platform, and they still need to sell as many of their consoles as possible to do that.
I'm from Germany and see it every time in incognito
Re:Tachiyomi – It's Joever on Sunday January 14, 2024 @01:41AM (#38988096)
It’s more like a torrent client that has thepiratebay built into it. The main point of Tachiyomi is to have easy access to pirated content directly in the app. Tachiyomi without extensions is useless.

Another analogy: An emulator that also displays all ROMs and lets you play them directly. It downloads ROM from various websites, similar to Tachiyomi.

The example at the end made me wonder if Apple's model is actually better than GPT2 for text prediction. It generated garbage, but all that garbage made somewhat sense in the context of only the word "Today".

Whereas GPT2 hallucinated random stuff about the US government. A text prediction model should predict what the user wanted to type, so if you evaluate the models based on that, GPT2 actually performed horribly, since the user showed zero intent in talking about the US.

Re:Print(“lol”) doubled the speed of my Go function on Thursday August 24, 2023 @06:41AM (#37247274)
It's only factor 2 with an increasing array though. At which point you can just take the last element, that's way faster.

So really you end up having to make assumptions about the input to get the performance boost.

What do you mean? How can the connector in the phone break when it’s just a hole?
> If attestation isn't triggered then prior behaviour will happen

That’s up to the web server to decide, it could just block you instead, and there is incentive to do exactly that.

> attestation isn't to prove you're using an approved device

That’s what it is doing though, so it can and will be used for that.

Money from advertisers doesn’t decrease long-term without uBO/yt-dlp users (since they don’t watch ads and pay for them). So less operating costs for Youtube, and more money for creators (in theory, if YT doesn’t keep the costs savings). That should help the platform, not kill it.
Re:Ask HN: What are some of the best Reddit alternatives? on Thursday June 15, 2023 @04:45PM (#36346286)
I visit GameFAQs sometimes. But I also find that site can be very toxic and aggressive at times.
Re:GPT4 hallucinating a FTP server at ftp.disney.com on Wednesday April 05, 2023 @04:25AM (#35451020)
Does "it" refer to GPT, or are you talking about humans in a derogatory way?
Re:Rendering my (billiard) balls in a fragment shader on Sunday September 11, 2022 @04:33AM (#32797860)
In the final video, there are still some texture artifacts whenever the number is on the edge (e.g. the ball 4 at 5 seconds). Maybe because of mipmaps? I can't really think of a reason why it happens. It even happens at the bottom of the 4, even though that part is white in the texture.
Re:Rendering my (billiard) balls in a fragment shader on Sunday September 11, 2022 @04:19AM (#32797790)
I'm also new to shaders, so I might be wrong: Camera distortion (/perspective) is done in the vertex shader, this post here presents a fragment shader. So if you take a quad, in the vertex shader then rotate it so it'll face the camera (i.e. all vertices have same z/depth value in clip space), you can then probably use this fragment shader to render the ball.

You have to rotate the quad to face the camera, since it has to cover the area where the ball may render (imagine the extreme case: if the quad is perpendicular to the camera, it looks like a line to the camera, you could only render the ball within that line, it wouldn't protrude to the left or right).

Re:Moon Illusion on Tuesday June 14, 2022 @09:15AM (#31738969)
When you come across this illusion, you can "break" it by getting a piece of string and holding one end over the moon and one over the sun, and you'll more easily see how the moon does after all point at the sun. Lying on the ground can also help.
They chose Python since it's essentially a free, open-source alternative to Matlab.

Also, Python is used as a scripting language on top of C, and C is popular.