Better HN
topnewbestaskshowjobs
Log inSign up

DennisL123

289 karma · joined Apr 7, 2014 (12y ago) · 72 submissions

Submissions

comment 3mo ago · link · parent

Nice work. Getting DT edge cases right can be quite some work.

Shameless plug: My own DT for int32 coordinates in Rust, and compiled to wasm with a bit of visualization. Click to add and remove sites, hit animate for a bit of lava lamp like vibes.

https://hermes.leytron.de/delauney/

comment 3mo ago · link · parent

I wish the article was written in a better way. It throws put many percentages in different contexts. 50-26-37-41- …

Not saying any particular number is wrong, just wishing it was a clearer way of writing.

comment 4mo ago · link · parent

There’s something missing in the discussion. Building software is about achieving outcomes, not about generating output, ie tokens. Yet, the ai business case is selling output, obviously. Not sure how to reconcile the two. Ideas?

comment 4mo ago · link · parent

Use FOOD30 for 30% off.

comment 4mo ago · link · parent

In a world without AI/LLMs/agents the rewrite would have been major news how much better software gets when ported to Rust.

comment 4mo ago · link · parent

Yes, been using it for 18’ish months. Works great.

comment 5mo ago · link · parent

Now, that’s a Commodore phone I can get behind.

comment 5mo ago · link · parent

not so sure about this one.

comment 5mo ago · link · parent

<snark> Arguably the one thing C++ is great at is its type system. Makes total sense to cast it away. </snark>

comment 6mo ago · link · parent

> Friend, you’re diabetic. Your survival is ultimately your own responsibility. Prepare yourself for a few hard truths.

This.

comment 6mo ago · link · parent

Does the policy fix the issue of many low quality PRs being submitted? Unlikely.

Will it fix a related but different problem? Likely.

comment 7mo ago · link · parent

Gotcha. It seemed though from the replies on the github ticket that at least some of the problem was unrelated to effort settings.

comment 7mo ago · link · parent

Happy to have my mind changed, yet I am not 100% convinced closing the issue as completed captures the feedback.

comment 8mo ago · link · parent

If agents can already read and rewrite code, literate programming might actually be unnecessary. Instead of maintaining prose alongside code, you could let agents generate explanations on demand. The real requirement becomes writing code in a form that is easily interpretable and transformable by the next agent in the chain. In that model, code itself becomes the stable interface, while prose is just an ephemeral view generated whenever a human (or another agent) needs it.

comment 9mo ago · link · parent

Yes, the idea was to transition to a variant of MLD that lends itself to the offline use case and would use an updated modeling to be more space efficient while preserving performance. There exists an incomplete (and private) PoC written in Rust.

comment 9mo ago · link · parent

Who knows .. ;)

comment 10mo ago · link · parent

Agree, mercator projection isn’t great. But it’s pretty simple.

All of the mapping apps are rooted in paper maps. That’s what most people find accessible in a natural way.

So, in any 2D world view some projection must be chosen, and you can fundamentally chose between true angles or true size. Because of that choice any projection is a distortion. Choosing true angles has advantages when it comes to turning projected data into something like turn instructions in your nav app. And then again, mercator projection is easy to use. So, bottom line it’s a mix of people are used to it and simplicity of using it.

comment 11mo ago · link · parent

Last minute I sold 200 €/$£/¥ worth of product. At this rate and because online sales is 24/7, I am hitting 200*60*24*365 = 105.120.000 ARR. tada!

comment 1y ago · link · parent

In the US the price varies a lot by state [1].

[1] https://www.electricchoice.com/electricity-prices-by-state/

comment 1y ago · link · parent

Yep, that’s the one. There are a number of follow-up papers that engineer individual aspects of the implementation.

comment 1y ago · link · parent

I was referring to variants of Customizable Route Planning. Easiest to implement is likely the partitioner of Sommer et al, and a unidirectional multi-level dijkstra.

comment 1y ago · link · parent

OSRM founder, here. Yes, you are right, many of the speedup techniques are related. My personal opinion is, tho, that looking at the identification of important nodes is best captured by the ideas of applying partitioning to multi-level dijkstra and by what’s called hub-labels. The latter has a close relationship to Contraction Hierarchies.

comment 1y ago · link · parent

Efficiency, not effectiveness. They are all effective in the sense that they produce sorted results. Even the non-modern sort algorithms are effective in the sense that the results are correct. This should be about the efficiency with which they do it, right?

comment 1y ago · link · parent

A way to give radix sort a performance boost is to allocate uninitialized blocks of memory for each bucket that are of size n. It exploits the MMU and you don’t have to worry about managing anything related to buckets potentially overwriting. The MMU is doing all the bookkeeping for you and the OS actually allocates memory only on page access.

comment 1y ago · link · parent

A winner tree uses extra space, doesn't it? That might exclude it from certain applications to be an alternative. Four-ary heaps are roughly (ymmv) twice as fast as binary heaps by exploiting cache locality in a better way for small key/value types. And it seems to be a sweet spot since eight-ary heaps don’t deliver additional improvements.

comment 1y ago · link · parent

A BUILD.md could be useful.

comment 1y ago · link · parent

Interesting stuff. Not sure if I read this right that it‘s 16 und 32 bit values of integers that get sorted. If yes, I‘d love to see if the GPU implementation can beat a competitive Radix sort implementation on a CPU.

comment 1y ago · link · parent

OSRM lead dev here. Love to see this large of an instance being solved.

comment 1y ago · link · parent

It precomputes partial routes that are combined at run time. :)
123