Better HN
topnewbestaskshowjobs
Log inSign up

an_ko

1,673 karma · joined May 4, 2015 (11y ago) · 297 submissions

https://github.com/anko
Submissions

comment 4mo ago · link · parent

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.

comment 8mo ago · link · parent

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.

comment 9mo ago · link · parent

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.

comment 10mo ago · link · parent

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.

comment 11mo ago · link · parent

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.

comment 1y ago · link · parent

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".

comment 1y ago · link · parent

Could you elaborate on what those "maybe more powerful reasons" are?

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

Does that mean your code is annotated with 300+ instances of `#[allow(clippy::unwrap_used)]` et al?

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

It sounds like you should read the docs. It's just a subject-specific abbreviation, not an advertising trick.

comment 1y ago · link · parent

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".

comment 1y ago · link · parent

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

comment 1y ago · link · parent

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?

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

> 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.

comment 1y ago · link · parent

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. :)

comment 1y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

Could you elaborate on why that works, or why it's necessary?

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

...Why is that better for programming than other ratios?

comment 2y ago · link · parent

Sounds like you should write a vector graphics library.

comment 2y ago · link · parent

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.)

comment 2y ago · link · parent

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.

12345
10