News for hackers. Stuff that matters.

renerick

Re:Can You Find the Comet? on Wednesday April 29, 2026 @04:27AM (#47945587)
Are you or people around you do that for hours every night? Is this a deliberate activity, or are you including random quick glances? How often is yours or people's around you sky watching experience actually negatively affected by satellites?

Sun rises and downs is not affected by satellites, due to overwhelming brightness difference. For casual stargazers, light pollution is much more of an obstacle than the satellites. Plus, for half a day on average, the stars not available at all, unlike Starlink or other satellite services

I'm not a Starlink user either, I do like to look at the sky with naked eyes and telescopes, but I do not share the sentiment that it's imperative to keep it "pure" for the sake of whatever. Also, a personal anecdote, satellite spotting is quite fun :)

Re:Can You Find the Comet? on Wednesday April 29, 2026 @03:37AM (#47945229)
How many hours are spent looking at the sky compared to Starlink usage?
Re:Can You Find the Comet? on Tuesday April 28, 2026 @04:49AM (#47931960)
That looks so cool, ngl!
The divide between the "blue" and "red" sides lies in the conception of which button kills. The blues think that the red button kills the blues. The reds think that blue button kills the blues. I'm inclined to side with the latter
By picking red you didn't contribute to anything at all, this button does absolutely nothing in practice. If you remove the red button, leaving the choice between pressing blue and not participating at all, the choice to not participate seems quite obvious. The red button adds some "weight" to the decision, but it's materially the same
Re:AI URI Scheme on Tuesday December 16, 2025 @04:24PM (#46294711)
This document defines a scheme for "AI-adressable" resources without much care about definition of "AI-addressesable" or even the properties of such resources, that require a dedicated protocol.

I get very strong "E = mc^2 + AI" vibes from it, just shoehorning the coveted letters everywhere

Re:Thin Desires Are Eating Your Life on Tuesday December 16, 2025 @04:03PM (#46294442)
You said it yourself - "sugary drinks... tend towards unfavorable consequences". The change happens as the outcome of the desire, not "in the process of the pursuing it".
Re:A WebGL game where you deliver messages on a tiny planet on Sunday September 28, 2025 @05:20AM (#45402952)
After listening to a certain science fiction podcast and playing through a certain space puzzle game, I think I've got a bit of a soft spot for tiny worlds, especially a world this charming! Good work
Re:Typst: A Possible LaTeX Replacement on Saturday September 27, 2025 @04:06AM (#45393989)
Typst is fantastic and I recommend to dive into it to see how much value it offers. To me personally, the biggest strength is the ergonomics of both the tooling and the language, and how ergonomics persist even between documents of various complexity. Writing a paper in LaTeX is nice, but making something like a CV takes some patience. Meanwhile, in typst it was quick to get started and go all the way to building resumes, character sheets, and I know of at least one occurrence of implementing symbolic math in typst language. It's not without quirks, but still, very solid alternative
I would argue that the second screenshot with redesigned Lighthouse is slightly worse that the "old" design

- the vertical ruler between the sidebar and the content is gone, making page structure less pronounced - the redesigned dropdown menu has no borders or shadows and blends with the primary background - the redesigned dropdown menu lost the little dot which highlighted currently selected option, replacing it with a folder icon, but now it's not useful, because it's the same folder icon for each option - the old design had really nice and noticeable "Add URL" button. I suppose, it was removed in favor of the "plus" button in the sidebar, but it's not nearly as noticeable and without the label it's not clear what it actually does

Sure, the issues in the old version are valid, but I think the redesign introduced more severe usability issues instead of mostly aesthetic issues

Re:What's New in C# 14: Null-Conditional Assignments on Thursday September 18, 2025 @03:12AM (#45286524)
> wants C# to be Python or whatever

Oh, how happy would I be if Python had a sliver of C# features. There's nothing like null-conditionals in Python, and there are many times I miss them

Reusable components are prerogative of the templating system, such as React, or Vue, or server side templates that the framework of your choice uses. Htmx works with already rendered HTML fragments from the back end and doesn't do templating on its own, so there's simply no room for it to "solve" reusable components
Re:Most RESTful APIs Aren't RESTful on Wednesday July 09, 2025 @03:29PM (#44513917)
I felt the need to clarify this point:

> As such, JSON driven APIs can't be REST

I made it sound like JSON APIs can't be REST in principle, which is of course not true. If someone were to create hypermedia control specification for JSON and implement hypermedia client for it, it would of course would match the definition. But since we don't have such specification and compliant client at this time, we can't do REST as it is defined

Re:Most RESTful APIs Aren't RESTful on Wednesday July 09, 2025 @01:03PM (#44512404)
Htmx essays have already been mentioned, so here are my thoughts on the matter. I feel like to have a productive discussion of REST and HATEOAS, we must first agree on the basics. Repeating my own comment from a couple of weeks ago, H stands for hypermedia, and hypermedia is a type of media, that uses common format for representing some server-driven state and embedding hypermedia controls which are presented by back-end agnostic hypermedia client to a user for discoverability and interaction.

As such, JSON driven APIs can't be REST, since there is no common format for representing hypermedia controls, which means that there's no way to implement hypermedia client which can present those controls to the user and facilitate interactions. Is there such implmentation? Yes, HTML is the hypermedia, <input>s and <button>s are controls and browsers are the clients. REST and HATEOAS is designed for the humans, and trying to somehow combine it with machine-to-machine interaction results in awkward implementations, blurry definitions and overcomplication.

Richardson maturity model is a clear indication of those problems, I see it as an admission of "well, there isn't much practicality in doing proper REST for machine-to-machine comms, but that's fine, you can only do some parts of it and it's still counts". I'm not saying we shouldn't use its ideas, resource-based URLs are nice, using feature of HTTP is reasonable, but under the name REST it leads to constant arguments between the "dissertation" crowd and "the industry has moved on" crowd. The worst/best part is both those crowds are totally right and this argument will continue for as long as we use HTTP

Re:When Figma Starts Designing Us on Monday July 07, 2025 @09:41AM (#44490293)
It's not like Figma forces to use those features, right? And also, hot take, "limits the possible expressions" is a good thing for application design. Application is not art, first and foremost it must solve user's use case, be accessible, discoverable, ergonomic and practical to implement. Aesthetics must serve and complement those purposes, not be the focus of the design
Re:Show HN: A local secrets manager with easy backup on Tuesday July 01, 2025 @11:56PM (#44440127)
Text formats have the advantage of better support in version control systems. SOPS does similar thing, it stores encrypted values in yaml/json, and from my experience using this approach with git it is indeed an improvement over, say, Ansible vault, which essentially turns text files into blobs
Re:MCP: An (Accidentally) Universal Plugin System on Sunday June 29, 2025 @12:38AM (#44410391)
> I've programmed machines to use those links so I'm pretty certain machines can use it

I'm curious to learn how it worked.

The way I see it, the key word here is "programmed". Sure, you read the links from responses and eliminated the need to hardcode API routes in the system, but what would happen if a new link is created or old link is unexpectedly removed? Unless an app somehow presents to the user all available actions generated from those links, it would have to be modified every time to take advantage of newly added links. It would also need a rigorous existence checking for every used link, otherwise the system would break if a link is suddenly removed. You could argue that it would not happen, but now it's just regular old API coupling with backward compatibility concerns.

Building on my previous example of hn comments, if hn decides to add another action, for example "preview", the browser would present it to the user just fine, and the user would be able to immediately use it. They could also remove the "reply" button, and again, nothing would break. That would render the form somewhat useless of course, but that's the product question at this point

Re:MCP: An (Accidentally) Universal Plugin System on Saturday June 28, 2025 @03:56PM (#44407659)
H in HATEOAS stands for "hypermedia". Hypermedia is a type of document that includes hypermedia controls, which are presented by the hypermedia client to a user for interaction. It's the user who makes decision what controls to interact with. For example, when I'm writing this comment, HN server gave a hypermedia document, which contains your comment, a textarea input and a button to submit my reply, and me, the human in the loop, decides what to put in it the input and when to press the button. A machine can't do that on its own (but LLMs potentially can), so a user is required. That also means that JSON APIs meant for purely machine to machine interactions, commonly referred to as REST, can't be considered HATEOAS (and REST) due to absence of hypermedia controls.

Further reading:

- https://htmx.org/essays/how-did-rest-come-to-mean-the-opposi...

- https://htmx.org/essays/hateoas/

Re:Compiler for the B Programming Language on Monday June 23, 2025 @02:05AM (#44352859)
Idk, java maybe, but c# doesn't even require .csproj files nowadays, it's really nice to use
That's not true. All nuclear weapons in USSR were built inside modern Russian territory, there was no production in any other republic.

https://en.wikipedia.org/wiki/Soviet_atomic_bomb_project#Log...

Re:Show HN: Photoshop Clone Built in React on Monday May 26, 2025 @04:02AM (#44095107)
So it's basically just static a visual reproduction (aside from the brush). Nothing wrong with that, but I still was hoping for a bit more functional demo, at least with working menus/buttons/dropdowns and layout management.
Re:Claude 4 on Friday May 23, 2025 @04:40AM (#44071066)
NVIDIA sells the shovels, then OpenAI/Anthropic/Google make an excavator out of shovels (NVDIA also seems to work on their own excavators), then some startup starts selling excavator wrapper. I don't know if there are any snakes at the bottom, but there's surely a whole lot of shovel layers on the way down.
It's not just more data, it's deeper understanding of the fundamentals, of the idea and of the tools used, as well as the process of creation itself. It's what makes studying art interesting: why did author chose to do this and that, what's their style, what was the process, etc. For LLM the answers will universally be "because it was in the prompt and there was appropriate training data" and "the author prompted the model until the model returned something tolerable". You may argue that not all art has or needs depth, or that not all people are interested in it, but that doesn't mean that we should fill our cultures with empty boring slop.

> That's very subjective

I was expressing my opinion of this argument which absolutely is subjective

> You don't know how the brain works.

Neither does grandparent comment's author, didn't stop them from making much bolder claims.

This is completely absurd and reductive point of view, which I always assume is a cop out. Just because it's called "machine learning" doesn't mean it actually has anything to do with how human learning or human brain works, and it's certainly not "exactly how" or "very same". There's much more going on on in human creative process, aside from mere "mixing": personal experience, understanding of the creative process, technique and style development, subtext, hidden ideas and nuances, etc. Computers are very good at mixing and combining, but this is not even close to what goes into actual creative process. I hate this argument
Re:What I've Learned from JJ on Friday May 02, 2025 @06:29AM (#43868052)
This article covers my own experience with JJ very accurately. I'll even go as far as to say that if had to write my own article about jj, I'd use exactly the same talking points and examples. Great writeup
I have one anecdote of such thing happening. After intense evening session of The Witness, I had very surreal dream made of brightly colored grids, lines and geometric shapes. Wild experience
Re:How to Force Your Kids to Do Math? on Sunday April 20, 2025 @04:22AM (#43742367)
Explaining loops is independent of the concepts of collections though. It's also more general, since map/filter/reduce use some kind of loops under the hood anyway, the fact that probably shouldn't be ignored in education process. Unless of course you go with pure functional recursive iterator, but good luck explaining that one.

Maps and filters also require understanding of higher order functions and the very idea of passing function around as a value. I would argue that implementing map/filter with a loop and then demonstrating how this pattern is generalized as .map()/.filter() functions is better and more accessible

Re:How to Force Your Kids to Do Math? on Sunday April 20, 2025 @03:52AM (#43742251)
It's hard to debate that mathematical notation has a lot of room for improvement. High level algebra is very cryptic and often looks like an arcane incantation rather than something comprehensible for an unknowing person.

That said, as a person who moderately enjoyed math in high school and university, this functional notation would make me hate math infinitely more. It's would look like Lisp, which, at high level, looks just as cryptic as algebra. The sheer amount of braces and mistakes that would be made when reading and writing them is nauseating.

Infix notation, for all its flaws, provides important visual aid for understanding the structure of the expression (the sum of two fractions looks very different from fraction of two sums for example). Whereas with functional notation it's like working on linear textual representation of abstract syntax tree. Trust me, nobody wants to read, write or transform one by hand

Re:Tailscale has raised $160M on Tuesday April 08, 2025 @03:01PM (#43625352)
Tailscale has Taildrop - built-in peer-to-peer file sharing feature

https://tailscale.com/kb/1106/taildrop

Re:20 years of Git on Monday April 07, 2025 @04:03PM (#43615344)
It's really not that long. Once you figure out that

1. jj operates on revisions

2. revisions are mutable and created before starting working on a change (unlike immutable commits, created after you are done)

3. you are not working on a "working directory" that has to be "commited", you are just editing the latest revision

everything just clicks and feels very natural and gets out of the way. Want to create a new revision, whether it's merge, a new branch, or even insert a revision between some other revisions? That's jj new. Want to move/reorder revisions? That's jj rebase. Want to squash or split revisions? That's jj squash and jj split respectively. A much more user-friendly conflict resolution workflow is a really nice bonus (although, given that jj does rebasing automatically, it's more of a requirement)

One notably different workflow difference, is absence of branches in the git sense and getting used to mainly referring individual revisions, but after understanding things above, such workflow makes perfect sense.

Older »