Hacker Newsnew | past | comments | ask | show | jobs | submit | cpa's commentslogin


Yeah, sure totally the same thing, dude.

seems pretty similar

It's nice to be rich.


This space is very active. I work at the French mapping agency, and we're currently building MCPs to work with our data.

See: https://github.com/ignfab/geocontext (French) Beta MCP instance: https://geollm.beta.ign.fr/geocontext/mcp

Unrelated, but also take a look at the nice high-density LiDAR point data we have! https://visionneuse-lidarhd.ign.fr/?px=4441970.281583222&py=...


LOVE the fact that LiDAR is OpenData!

I am currently working on a website https://hillsha.de that makes it easy to download LiDAR las/laz files for almost every place in europe, the US and some other regions. I also made an iOS app for the same use-case, which can render the LiDAR data in 3D and 2D without PDAL and GDAL. It uses a vibe-coded library instead that combines both in native Swift. The iOS app is still in testing but works great.

Implementing France was a lot more comfortable than almost every other country, very well structured metadata and naming conventions. So thanks for that

(i work at the german mapping agency but this is a private project since i just love working with LiDAR hillshades)


Something something AI



Super cool! I did something similar (in terms of visualisation) a few years back, a map of cities by their birthdate on wikipedia: https://cpa.github.io/wiki-cities-birthdates/


For those wondering what it's for: it's basically NumPy + a JIT compiler with standard Haskell syntax (you mostly just need to change the type signatures, not the code).

It can vectorize, parallelize on the CPU, or offload to the GPU automatically.

It's a very mature project, maybe 10+ years old.


One big difference compared to NumPy (which you may or may not care about depending on how picky you are), is that Accelerate is a higher-order programming model. Basically, you can have 'map' (with a user-provided function), and it will go fast, in contrast to NumPy's model where only first-order operations go fast.


Can you say a bit more about this?

In particular, compare you JAX’s vmap — one model for vmap is that it is a program transformation on first order functions, that returns a first order function (“function” is a bit wonky here: but it’s JAX’s Jaxpr representation), but vmap itself is not a primitive in the Jaxpr language.

Is the same true here about map (can I think of it like vmap)? Or is it true that I can define higher order functions and Accelerate will handle them? What about functions with recursion?

Thanks! If you happen to see this - Futhark is very cool.


I wrote a bit about this some years ago: https://futhark-lang.org/blog/2020-05-03-higher-order-parall... - but note that Jax isn't subject to these constraints; it's more like Accelerate and Futhark.

I'm not a Jax expert. Accelerate's 'map' allows for almost arbitrary sequential code - there is some fine print, because it's an embedded language, and the biggest fine print is that nested parallelism is not allowed. You can define your own Haskell-level higher order functions, and Accelerate will handle them just fine, because essentially all the Haskell-level computation is "compiled away" (by being run) before the Accelerate code is JIT-compiled at run-time. You can consider Haskell to be a meta-language in which you ultimately construct Accelerate program terms, and then those are compiled and run - not too dissimilar from how Jax does it, actually.

Recursion works, but for an uninteresting reason: the recursion is on the Haskell side, and will essentially be unrolled before Accelerate gets its hand on it. This allows you to do some fun things (like partially evaluating a ray tracer on its scene description), but it's often not what you want, and Accelerate provides some combinators (that look like higher-order Haskell functions) for expressing sequential looping.


>It's a very mature project, maybe 10+ years old.

Strange personally never heard or read about Accelerate before. I think it has the same main problem with generic naming language like Futhark (this very issue already mentioned in a different concurrent post).

As a modern array language, perhaps Accelerate should look into D4M as a basis, it's also started 10+ years ago [1].

D4M is based on math like SQL, specifically associative array algebra but not relational unlike SQL. It's more generic since can it caters to most modern data abstractions including spreadsheets, database tables, matrices, and graphs [2].

You can achieve 100M database inserts per second with D4M and Accumulo more than a decade ago back in 2014 [3].

[1] D4M: Dynamic Distributed Dimensional Data Model:

https://d4m.mit.edu/

[2] Mathematics of Big Data: Spreadsheets, Databases, Matrices, and Graphs:

https://direct.mit.edu/books/monograph/5691/Mathematics-of-B...

[3] Achieving 100M database inserts per second using Apache Accumulo and D4M (2017 - 46 comments):

https://news.ycombinator.com/item?id=13465141


Pretty cool!

I've spent a lot of time wrapping my head around monads; whenever I thought I "got it," I would come across some exotic monad that completely blew my mind. The best way to understand them is not to rely on analogies but just follow the rules—everybody says that, but it took me a while to truly realize it.

See, for example, the Tardis monad or the Cont monad: https://www.reddit.com/r/haskell/comments/446d13/exotic_mona...


I tried understanding the rules but actually using it helped me to get it. Especially when I was using a parser combinator to parse a programming language.



In a lot of these there could logically be someone sitting across from them making them laugh, but the woman with the cherry tomato in her fingers is just smiling for the love of the salad.


Top comment of a frontpage post, you're not doing that bad at marketing.


That can be automated quite easily these days. Just make your bot/scraper scan for anything that blames something or otherwise fits narratives that can be used as a vehicle of your own promotion, and hit that.

P.S. Not necessarily implying that the grandparent resorted to that.


Ooof! If I'd thought of that, I'd have kept my trap shut. :(

Art as expression, not as market campaigns, will still capture our imaginations - that's more my driving force than trying to sell more hotdogs.


I absolutely adore it when stumbling occasionally upon great musicians who have laughable numbers of listens on various platforms, dunno if that's mere chance or the algorithm trying to balance things out, but that surely brings some hope for the pure art.


Please keep in mind that such a use is against the Guidelines[0] and will be downvoted and flagged rather quickly.

Since 2023 I always check the creation date of a user before I click on any link in their comment.

[0]: https://news.ycombinator.com/newsguidelines.html


>will be downvoted and flagged rather quickly.

You wish. It is becoming harder every day to find genuine comments or technical insights at the top of HN sections instead of blind love/hate for trendy topics.


It's turtles all the way down.

Even among the "genuine" comments most of them are just people spewing things because the monkey brain has determined that it likes it when the number in the top right goes up and has figured out what kind of things to spew to make it go up (dare I say encouraging this state of affairs is the reason some platforms choose to keep score in such a manner).

Does it really matter whether you're reading something written by an AI shill, a human shill or a human (or AI) who's repeating the shillery? You're being shilled at all the same.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: