News for hackers. Stuff that matters.

roryokane

Re:Triple-A Minesweeper on Saturday October 10, 2026 @12:29PM (#50034474)
Also, if you hold off on sweeping all the mines, you’ll hear more dialogue over time that parodies other aspects of these games.
Re:Ideas on modernizing the open-source desktop on Saturday September 26, 2026 @11:42PM (#49863152)
FYI, macOS 26 Tahoe introduced a first-party clipboard manager too. Official docs are at https://support.apple.com/guide/mac-help/search-your-clipboa... and a more detailed guide is at https://www.cultofmac.com/how-to/mac-clipboard-history#enabl....
Re:Ideas on modernizing the open-source desktop on Saturday September 26, 2026 @11:40PM (#49863136)
> On macOS the desktop path is where screenshots go... so mostly I just have a litter of 100s of screenshots there. […] you could […] avoid generating junk files.

Some features that may help with this:

After opening the Shift-Command-5 screenshot interface, in the “Options” menu, you can change the folder your screenshots are saved to from the Desktop to any other folder of your choice. Files will still be saved, but you may find it easier to organize those files, as they will be separated from anything else on your Desktop.

After opening the Shift-Command-5 screenshot interface, in the “Options” menu, you can change the save location to Clipboard. Or when taking a screenshot with any other shortcut, you can save just that screenshot to the clipboard by also holding Control. Copying to the clipboard ensures there is nothing to clean up afterward.

If you want to take two screenshots and then paste both, you can still use the clipboard if you enable macOS’s clipboard history feature. That would let you copy both screenshots, then paste them both into your app. To enable clipboard history, see official docs at https://support.apple.com/guide/mac-help/search-your-clipboa... or a more detailed guide at https://www.cultofmac.com/how-to/mac-clipboard-history#enabl....

Re:Hacker News in Uncompromised Detail on Sunday August 23, 2026 @02:11PM (#49411048)
Algolia is a generic search provider. I didn’t say otherwise. They “launched a search tool for Hacker News”; they didn’t launch as a search tool.
Re:Hacker News in Uncompromised Detail on Sunday August 23, 2026 @12:33PM (#49410172)
A few corrections:

• The company that launched a search tool for Hacker News in 2014 is called Algolia, not Agolia.

• Algolia is not just another search tool, but Hacker News’s official one. It’s the tool you’re redirected to if you enter text into the “Search:” text field that appears at the bottom of many HN pages, such as the home page and story pages.

• The paragraph about the comment ‘Did you win the Putnam?’ is missing the link: https://news.ycombinator.com/item?id=35079. It would also be worth noting that that comment was made in 2007.

Re:The lost joy of music piracy on Friday July 17, 2026 @02:46AM (#48944078)
If you liked FF-Shrine, there are some active successor sites. Search for Sitting on Clouds (which is like FFShrine’s Galbadia Hotel) and SquidBoard (a forum).
Re:Show HN: Asciidia – LLM-Powered Game on Saturday May 23, 2026 @01:43PM (#48249564)
If anyone’s curious about games like this, the Scribblenauts series also has games that allow you to type the name of an object and spawn it in with game-like properties.

Scribblenauts is not LLM-based – its first game was released in 2009. The creators just spent a lot of time making a database of objects that people might ask for, their game properties, and what they look like in the game’s simple art style. Scribblenauts is also different in that it is a 2D puzzle platformer set in small levels that have their own goals, rather than a top-down MMORPG like Asciidia.

While I found the concept of Scribblenauts cool, I quickly grew bored of the puzzle levels and the shallow combat mechanics. It didn’t help that a Black Hole could solve almost any problem by destroying an obstacle. This game’s monetary cost for casting solves that, at least, though I don’t know if the economy would be a significant limitation in the long term.

Re:Show HN: Asciidia – LLM-Powered Game on Saturday May 23, 2026 @02:56AM (#48245373)
Cool idea for sure, but at this point, it’s more confusing than fun for a new player trying to learn the systems and goals of game.

Some people have griefed the starting area by placing turrets that kill your character when you’re in range. It makes for a confusing first 10 minutes when you wander around and aren’t sure why you’re dying. Even after that, it’s not clear to me how to interact with hostile structures, or how to tell which structure is on my team and will therefore attack me.

I tried creating a few weapons, but neither worked. I had a Short Bow equipped and Arrows in my inventory, but the Short Bow kept saying “out of ammo”. Same with a Torpedo Launcher when I had Photon Torpedoes in my inventory. When I created a plain Torpedo, I could shoot it, but it just flew off and disappeared without affecting the structure I aimed at.

There is an NPC asking for a boat, which is a cool idea for using the conjuring system, but I can’t get near him for long without dying to a griefer’s turret, so I don’t feel like trying to solve his quest.

Hypothetically, someone who doesn’t live in the United States and is considering accepting a job there might appreciate the insight from prediction markets on the upcoming U.S. presidential election. If the likely candidate promises to enact policies that would make that person’s life worse, that would give them reason to reject the job offer.

Other hypothetical prediction markets whose insights would be useful include those used in futarchy, a proposed government system in which decisions are made based on betting markets. The proposal: https://mason.gmu.edu/~rhanson/futarchy.html; some analysis: https://www.lesswrong.com/w/futarchy. In futarchy, prediction markets would be set up for, for example, “average happiness of citizens (as measured by regular survey) will increase in 1 year if Bill ABC passes” and “average happiness of citizens will increase in 1 year if Bill ABC does not pass”. The government would pass or reject proposed bills according to whichever market predicts higher happiness, and the market describing the event that did not happen would be closed and its money refunded.

Re:LLMs Corrupt Your Documents When You Delegate on Sunday May 10, 2026 @08:09PM (#48089521)
Many diff tools, such as delta (https://github.com/dandavison/delta) and the ones built into VS Code and IDEs by JetBrains, can configured to highlight changes within each line (by word) and ignore changes to whitespace. Those features save me a lot of time when I review diffs that include indentation changes or variable renames.
Re:LLMs Corrupt Your Documents When You Delegate on Sunday May 10, 2026 @07:34PM (#48089247)
In history, why did scientists research gravity for so long? Were they too stupid to realize that they were obviously being pulled towards the ground? No. They hoped to learn about the details. Eventually they learned details that were not apparent from everyday experience, such as the formula for how gravity scales with mass.

It’s the same here. For example, this study concluded that most changes are safe and some are very bad, as opposed to most changes being slightly bad. That is not obvious, especially to infrequent LLM users.

Also, even “obvious” conclusions are within the scope of science. I’ve spent too long writing this already to look up an example, but I bet there have been countries in the past whose leaders chose “obviously-good” monetary policies that economic research could have shown was counterproductive. The world is complicated, and without systems of communication such as academia, it’s hard to be sure if what you see is what everyone else sees.

Re:Zed is 1.0 on Wednesday April 29, 2026 @07:02PM (#47955845)
While larger icons might be ideal, note that (according to those linked discussions) those icons also have associated keyboard shortcuts, which are displayed when you hover over each icon. If you memorized those shortcuts, you would no longer have to “pixel hunt” to switch modes.
Re:Why the heck are we still using Markdown? on Saturday April 04, 2026 @04:22PM (#47642967)
I like most of Djot’s simplifications, but its requirement to write nested lists with blank lines between every change in indentation is a dealbreaker for me:

  - Djot requires
  
    - writing nested lists
  
      - with blank lines in between
  
    - successive list items at the same level
    - can skip the blank line
  
      - but not this list item
Yes, supporting indented list items without blank lines in between would make Djot’s parser more complicated. But I write nested lists all the time in my notes, and extra blank lines would distract from the content. For me, it’s not worth it to make my raw text ugly just to make the file easier to parse.

Djot could have avoided the blank line requirement by not trying to join hard-wrapped lines back into one paragraph / list item. That would work for me because I only soft wrap my text. Djot’s choice to support hard wrapping caused all of its users (including those who hard wrap) to have worse nested list syntax.

Re:A Coherent Vision for the Future of Version Control on Sunday March 22, 2026 @02:09PM (#47480351)
Even if you don’t use p4merge, you can set Git’s merge.conflictStyle config to "diff3" or "zdiff3" (https://git-scm.com/docs/git-config#Documentation/git-config...). If you do that, Git’s conflict markers show the base version as well:

  <<<<<<< left
  ||||||| base
  def calculate(x):
      a = x * 2
      b = a + 1
      return b
  =======
  def calculate(x):
      a = x * 2
      logger.debug(f"a={a}")
      b = a + 1
      return b
  >>>>>>> right
With this configuration, a developer reading the raw conflict markers could infer the same information provided by Manyana’s conflict markers: that the right side added the logging line.
Re:A Coherent Vision for the Future of Version Control on Sunday March 22, 2026 @02:03PM (#47480282)
Did you know that VS Code added support for the same four-pane view as p4merge years ago? I used p4merge as my merge tool for a long time, but I switched to VS Code when I discovered that, as VS Code’s syntax highlighting and text editing features are much better than p4merge’s.

I also use the merge tool of JetBrains IDEs such as IntelliJ IDEA (https://www.jetbrains.com/help/idea/resolve-conflicts.html#r...) when working in those IDEs. It uses a three-pane view, not a four-pane view, but there is a menu that allows you to easily open a comparison between any two of the four versions of the file in a new window, so I find it similarly efficient.

The whitepaper says that the benchmark counted accessibility problems using the tool axe-core (https://github.com/dequelabs/axe-core). It’s too bad that neither the site nor the paper contains any examples of an LLM output and its list of detected problems. I am curious about these aspects:

• Which of axe-core’s rules (https://github.com/dequelabs/axe-core/blob/develop/doc/rule-...) LLMs violate most often

• Which groups of users are most affected by those rule violations (e.g. blind users or deaf users)

• Whether it’s likely that I unintentionally violate those same rules in web pages I write

Examples of rule violations and statistics on most-violated rules would make the website more convincing by showing that the detected accessibility errors reflect real problems. It would rule out that the only detected error was a single noisy false positive rule in axe-core. I bet that most readers are not familiar enough with axe-core to trust that it has no false positive rules.

Re:Vanilla CSS is all you need on Sunday December 07, 2025 @03:23PM (#46184795)
The section “Utility Classes: Yes, They Still Exist” is unfair in its comparison of Tailwind with pure CSS. It doesn’t take into account Tailwind’s recommendation in https://tailwindcss.com/docs/styling-with-utility-classes#us... that “if you need to reuse some styles across multiple files, the best strategy is to create a component” in your front-end framework or templating language. So its example of a “typical Tailwind component” is incomplete.

A better comparison would use, for example, a React component:

  function Button({ children }) {
    return (
      <button
        className="inline-flex items-center gap-2 px-4 py-2 rounded-full
                   border border-gray-300 bg-white text-gray-900
                   hover:bg-gray-50 focus:ring-2 focus:ring-blue-500"
      >
        {children}
      </button>
    );
  }
  
  // Usage:
  <Button>Save</Button>
This would counter all of the article’s arguments in favor of pure CSS. If the website used a `Button` component like this, it would also be true that the “HTML stays readable”, that “changes cascade”, that “variants compose”, and that “media queries live with components”.

A better argument against Tailwind would be the added complexity of having a build system and a front-end framework or templating language, if your project doesn’t already have those for other reasons.

(adapted from my better-formatted comment at https://lobste.rs/c/oznzzj)

Re:Rebecca Heineman has died on Saturday November 22, 2025 @02:38AM (#46012913)
It’s not just on mobile – PC Gamer’s website does that on desktop too. Even with uBlock Origin. :(
Re:GPT-5.1: A smarter, more conversational ChatGPT on Thursday November 13, 2025 @08:25PM (#45922828)
standardly’s comment has only hyphens, not em dashes. Em dashes are much longer: - vs. —
Re:Switch to Jujutsu Already: A Tutorial on Sunday October 12, 2025 @12:44PM (#45559583)
Jujutsu’s changelog (https://jj-vcs.github.io/jj/latest/changelog/) goes all the way back to 2022 and shows there was a release as recently as two weeks ago. I don’t see why the maintainers would stop at this point.

Also, from Jujutsu’s README (https://github.com/jj-vcs/jj#mandatory-google-disclaimer):

> I (Martin von Zweigbergk, [email protected]) started Jujutsu as a hobby project in late 2019, and it has evolved into my full-time project at Google, with several other Googlers (now) assisting development in various capacities.

Re:Slow on Saturday August 02, 2025 @03:33AM (#44765524)
I made the “sit” gloss long: “to rest your body on your bum (while your bum is on a thing such as a chair or the ground) while your back is up”.
I don’t see anything specifically about boyhood or childhood on that page or on the rest of that sub-Reddit’s wiki. Do you have a more precise link?
Context: the Online Safety Act (https://en.wikipedia.org/wiki/Online_Safety_Act_2023) is a law of the United Kingdom. Previous discussion on Hacker News: https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...
Re:I should have loved biology too on Wednesday April 23, 2025 @12:46AM (#43768671)
> the two words do not sound even remotely the same

Pronounced correctly, “segue” sounds just like “Segway” – not like “seg-oo”, as you might have assumed.

An excellent example of why dash length matters. Because of the wrong usage of ‘—’ and ‘-’, it took me 10 more seconds of rereading and re-parsing your comment to understand what that first sentence meant.

I see what you did in the second paragraph too. It’s another example of “a millimeter of difference in the length of a line” mattering in that it looks weird, though it’s not much harder to read.

Re:AI 2027 on Sunday April 06, 2025 @12:42PM (#43602802)
That’s a misreading of the phrase “proportion of YES votes”. If 30% of judges vote YES, then only 30% – not 100% – of the prediction’s market cap is awarded to those who bet YES. The remaining 70% of the market cap is awarded to those who bet NO.

The market correctly rewards those who bet NO in such a case. Therefore, bettors have no reason to bet YES if they really think NO.

Re:AI 2027 on Sunday April 06, 2025 @02:21AM (#43599335)
> [The Manifold prediction market] only requires 30% of judges to vote YES for it to resolve to YES.

That’s a misreading. If 30% of judges vote YES, then only 30% of the prediction’s market cap is awarded to those who bet YES, while the remaining 70% of the market cap is awarded to those who bet NO. The market correctly rewards those who bet NO in such a case. Therefore, bettors have no reason to bet YES if they really think NO.

Older »