HNHacker News
TopNewBestAskShowJobs

an_ko

1,673 karma · joined May 4, 2015

https://github.com/anko
submissionscomments
an_ko··on CoMaps – FOSS Offline Maps
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.

an_ko··on Traffic from Russia to Cloudflare is 60% down from last year
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.
an_ko··on Bun v1.3.9
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.
an_ko··on 25 Years of Wikipedia
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.

an_ko··on Using LLMs at Oxide
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.
an_ko··on Cloudflare outage on November 18, 2025 post mortem
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".

an_ko··on Social Cooling (2017)
Could you elaborate on what those "maybe more powerful reasons" are?
an_ko··on Ultrasonic Chef's Knife
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.
an_ko··on The EU could be scanning your chats by October 2025
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.
an_ko··on Don't unwrap options: There are better ways (2024)
Does that mean your code is annotated with 300+ instances of `#[allow(clippy::unwrap_used)]` et al?
an_ko··on Bicycle riders' knowledge and experience of structural weakness in bicycles
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.
an_ko··on Pitfalls of Safe Rust
It sounds like you should read the docs. It's just a subject-specific abbreviation, not an advertising trick.
an_ko··on Windows Is Free for Business (2008)
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".
an_ko··on Nebu: A Spreadsheet Editor for Varvara
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

an_ko··on Gambler wins £1M payout from online game vendor in High Court case
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?
an_ko··on Sublinear Time Algorithms
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.

an_ko··on Mexico issues legal threat to Google
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.
an_ko··on When imperfect systems are good: Bluesky's lossy timelines
> 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.

an_ko··on XOR
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. :)

an_ko··on I helped fix sleep-wake hangs on Linux with AMD GPUs
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.

an_ko··on Can you get root with only a cigarette lighter?
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.
an_ko··on Rust panics under the hood, and implementing them in .NET
Could you elaborate on why that works, or why it's necessary?
an_ko··on The quest for a Wiki-less game
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.
an_ko··on New Anti-Toxicity Features on Bluesky
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

an_ko··on GNU Justified Public License
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.
an_ko··on BenQ releases 3:2 aspect ratio 28 inch 4K+ monitor designed for programmers
...Why is that better for programming than other ratios?
an_ko··on Rive Renderer for real-time vector graphics is now open source
Sounds like you should write a vector graphics library.
an_ko··on I Know What Your Password Was Last Summer
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.)

an_ko··on Largest EV range test: Tesla dethroned by automaker you may not know yet
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.

an_ko··on Tear up unused parking lots, plant trees
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.
Page 1 of 9Next →