News for hackers. Stuff that matters.

an_ko

Re:CoMaps – FOSS Offline Maps on Monday July 06, 2026 @06:47PM (#48811489)
Last I checked, not with StreetComplete. But the OSM wiki has a table of Android apps https://wiki.openstreetmap.org/wiki/Android which column "Record tracks" can be sorted by, to see which apps have that feature.

How I've done similar before is to record a GPS trace with an OsmAnd plugin, upload it to OSM servers, import it as an overlay in the web-based editor on desktop, and used that and satellite imagery as reference to draw in the missing trail.

In a pinch you can also record a trace and edit directly on it in the field with the Android app Vespucci, but its UX is clunky and much less friendly to new contributors than the web-based iD editor.

I always doubt statistics based on self-reporting, when there are such strong incentives not to be caught supporting the opposition. If you say the wrong thing, you may get prison, or very accidentally trip and tragically fall out of a window.
Re:Bun v1.3.9 on Sunday February 08, 2026 @01:28PM (#46937061)
It lets developers on Windows also build and test your package in parallel mode. If you make your build scripts bash, they're Linux-only.
Re:25 Years of Wikipedia on Thursday January 15, 2026 @12:14PM (#46635796)
There's context. Hank Green talked about it in https://www.youtube.com/watch?v=9zi0ogvPfCA, but in short, paraphrasing, and adding my own thoughts:

Jimmy Wales has been poked at with the question of whether he should call himself a founder or specifically co-founder for a long time, by right-wingers who think Wikipedia is too woke, and want to irritate and discredit him as much as possible, and instead raise up his co-founder Larry Sanger. Sanger has right-wing views and a habit of accusing any article as biased that doesn't praise Trump and fundamentalist Christian values, and takes these as proof that Wikipedia has a left lean.

The interview Wales walked out of was for his book tour. I imagine it's the umpteenth interview that week with the same question asked for the same transparently bad-faith reasons, trying to bend the interview away from his book and into right-wing conspiracy theory land.

Re:Using LLMs at Oxide on Saturday December 06, 2025 @09:01PM (#46178532)
I would have expected at least some consideration of public perception, given the extremely negative opinions many people hold about LLMs being trained on stolen data. Whether it's an ethical issue or a brand hazard depends on your opinions about that, but it's definitely at least one of those currently.
Re:Cloudflare outage on November 18, 2025 post mortem on Wednesday November 19, 2025 @07:40AM (#45978893)
I use unwrap a lot, and my most frequent target is unwrapping the result of Mutex::lock. Most applications have no reasonable way to recover from lock poisoning, so if I were forced to write a match for each such use site to handle the error case, the handler would have no choice but to just call panic anyway. Which is equivalent to unwrap, but much more verbose.

Perhaps it needs a scarier name, like "assume_ok".

Re:Social Cooling on Sunday October 05, 2025 @04:25AM (#45479901)
Could you elaborate on what those "maybe more powerful reasons" are?
Re:Seattle Ultrasonics: Ultrasonic Chef's Knife on Sunday September 21, 2025 @04:44AM (#45321100)
Such people should perhaps consider a ceramic-bladed knife. They stay sharp basically forever because the blade is extremely hard, with the downside that it's not repairable with ordinary equipment if chipped. But if the owner would never maintain their metal knife anyway, then it's not _really_ a downside.
Re:The EU could be scanning your chats by October 2025 on Tuesday July 29, 2025 @03:54AM (#44720377)
Why does this stupid idea have to be killed so many times? Being watched constantly means living in fear, but seeing it almost become legally mandated practice over and over again is itself a form of living in fear. I'm so tired.
Re:Don't unwrap options: There are better ways (2024) on Tuesday May 13, 2025 @03:08PM (#43976471)
Does that mean your code is annotated with 300+ instances of `#[allow(clippy::unwrap_used)]` et al?
Cars break too, but roads for cars are typically constructed such that you won't go off a cliff or under a heavier vehicle like a train even if it happens. I believe GP's point is that cyclists' safety in failure scenarios is often not similarly accounted for.
Re:Pitfalls of Safe Rust on Sunday April 06, 2025 @05:38PM (#43605178)
It sounds like you should read the docs. It's just a subject-specific abbreviation, not an advertising trick.
Re:Windows Is Free for Business (2008) on Thursday March 06, 2025 @08:33AM (#43279996)
I believe the post you're replying to is making a joke, referencing a classic complaint/meme that "Linux is only free if your time has no value".
Re:Nebu: A Spreadsheet Editor for Varvara on Thursday March 06, 2025 @08:26AM (#43279936)
For completeness, a critique of Uxn (and other "simpler" computing stacks): https://applied-langua.ge/posts/i-dont-want-to-go-to-chel-c....

This HN discussion about this critique is also quite interesting: https://news.ycombinator.com/item?id=31705239

One of the replies is from Devine: https://news.ycombinator.com/item?id=31708175

Re:Gardener wins £1M payout caused by software bug on Wednesday March 05, 2025 @04:01PM (#43272355)
Would you feel similarly if you went to a casino and won at roulette, only for the casino to claim that there was sand in the bearings or something and refuse to pay out your winnings?
Re:Sublinear Time Algorithms on Monday February 24, 2025 @06:57AM (#43158520)
Fully dynamic connectivity on general graphs comes to mind. https://en.m.wikipedia.org/wiki/Dynamic_connectivity (Graphs, with operations to connect and disconnect nodes, and to check whether two nodes are connected by some path.)

State of the art there is poly-logarithmic time worst case.

Re:Mexico issues legal threat to Google on Wednesday February 19, 2025 @09:31PM (#43110403)
More than 0$, so definitely more than they're willing to lose in a Mexican court case that costs money and reputation, especially given the local courts are unlikely to rule in their favour.
Re:When imperfect systems are good: Bluesky's lossy timelines on Wednesday February 19, 2025 @02:57PM (#43106738)
> It was acquired by IBM in March 2015, and the service was discontinued.

— https://en.wikipedia.org/wiki/Blekko

Perhaps GP has a more interesting answer though.

Re:What XOR is and why it's useful on Tuesday February 18, 2025 @05:32PM (#43095964)
My favourite cursed XOR trick that I think wasn't mentioned is XOR doubly-linked lists. https://en.m.wikipedia.org/wiki/XOR_linked_list

Instead of each node storing the next- and previous-pointers separately, store a single pointer which is the XOR of the two. Which is obviously an invalid pointer. But when iterating, XOR the previous node's pointer with the combined pointer to get the next node's pointer, and so on. You can iterate this way in both directions. Feels illegal. :)

Re:I helped fix sleep-wake hangs on Linux with AMD GPUs on Monday February 17, 2025 @01:21PM (#43081803)
Run a memtest. Graphics cards usually crash badly when given invalid data, which can happen sporadically if you have bad RAM.

If memtest shows a specific memory region as failing, swap out sticks to check which it is, and buy a new one. (Or if you're on a tight budget, you can disable that region with kernel boot options.)

If memtest gives errors in lots of places, might be a bad overclock. Loosen timings or give it more voltage.

Re:Can You Get Root with Only a Cigarette Lighter? on Monday October 07, 2024 @01:09PM (#41768243)
If you kick someone out, you lose them as a customer, and they'll tell all their friends about the free play trick out of spite, so you'll have to patch the machine anyway.
Re:Rust panics under the hood, and implementing them in .NET on Monday September 23, 2024 @03:36PM (#41629680)
Could you elaborate on why that works, or why it's necessary?
Has that really changed recently? Different people have always enjoyed different things, and some don't like puzzles. That was as true a hundred years ago as now.
Re:New Anti-Toxicity Features on Bluesky on Wednesday August 28, 2024 @04:12PM (#41383740)
To clarify how flagging works on HN: Flagging only hides a comment once "enough" users flag it, and even then remains visible to users with the showdead option set in their profile.

Source: https://news.ycombinator.com/item?id=12173809

Re:GNU JUSTIFIED PUBLIC LICENSE on Friday June 07, 2024 @06:36AM (#40607229)
Parody is fair use, and this is part of a submission to SIGBOVIK 2024. http://tom7.org/bovex/ It's also clearly not competing with the original, since its contents are partially nonsense.
...Why is that better for programming than other ratios?
Sounds like you should write a vector graphics library.
Re:I Know What Your Password Was Last Summer on Sunday February 11, 2024 @11:18AM (#39336022)
Thanks, I'll add base64 as one of the trivial transformations to my ongoing brute-forcing effort of all your passwords, multiplying total search effort by a tiny constant.

I'm joking. But what if I weren't? Especially if you're going to announce this on the internet, it sounds far more effective to add 1 character to the end of your passphrase instead, since each exponentiates any brute force effort, and isn't defeatable by a simple pattern.

(Or announce on the internet that you're doing something far more complex, like running bcrypt on all your passphrases to generate your passwords. That would make an attacker's life significantly more difficult than base64.)

(Or always lie on the internet about how you generate your passwords. I hope that's what you're already actually doing.)

Quoting the guidelines:

> Otherwise please use the original title, unless it is misleading or linkbait; don't editorialize.

Editing clickbait to something more useful is fine.

Re:Tear up unused parking lots, plant trees on Tuesday January 30, 2024 @03:09PM (#39195049)
Major European cities with no such minimum parking requirements do fine. They have public transport and bike infrastructure, so many people in dense urban areas don't need cars.

Older »