HN user

ellenhp

888 karma

Software engineer and map connoisseur.

ellen.h.poe@gmail.com

Posts6
Comments79
View on HN

They probably update these answers offline. I tried "how do you profit from options" and got:

Call Options: You buy these when you believe a stock's price will go up. If the stock rises past your strike price, the option's value increases, allowing you to sell it for a profit or exercise it to buy the stock at a discount.

Put Options: You buy these when you believe a stock's price will go down. If the stock falls below your strike price, you profit.

Which leaves me wondering if changing the search textually busts some cache that they update using a slower/smarter model.

I don't know how much it has to do with the administration and the top-level comment here was flagged so I'm lacking context but American exceptionalism is instilled here from birth so it does not surprise me in the slightest that founders grow up with the idea that they are built different and destined to change the world. Acting out the fantasy via fraud takes a special kind of person. It's not clear to me whether the dishonesty is uniquely American but I somewhat doubt it. The color of the delusion is, however.

Roc Camera 9 months ago

If someone cared enough to spend money on this I think it would be an easy to medium difficulty project to use an FPGA and a CSI-2 IP to pretend to be the sensor. Good luck fixing that without baking a secure element into your sensor.

Thanks for the summary of the document, but not quite what I asked for. Why would e.g. a VHDL engineer need to have read it to deserve the title senior?

Replacement.ai 9 months ago

You're off base here for what may be a rather subtle reason. While I am not a marxist, I do think that the purchasing behavior of the wealthy makes much more sense when you think about things in terms of the labor theory of value.

The evidence for this is all around us. As automation of manufacturing has brought former luxuries into reach for middle-class families, those with means move on to consuming items that require more and more labor to produce. "Handmade" scented soaps. "Artisanal" cheeses. Nobody with money wants their wedding invitation to arrive at a destination with machine-canceled postage. It's tacky. Too automated, too efficient. In fact, I bet the ultra-wealthy don't even use postal mail for delivering their invitations, because it's not labor-intensive enough to be tasteful. Private couriers are probably the move. You can see this pattern over and over again once you know what to look for.

There will always be a demand for human labor, because value is a human construction. That said, the rate at which the economy will change because of AI (if the True Believers are to be believed) is probably too fast for most workers to adapt, so you may not be entirely wrong in your conclusion depending on how thing shake out, but the way you got there is bogus imo.

Over the last few weeks I’ve been hard at work building a FOSS maps app for Android from the ground up based on Material 3 components and industry standard maps tooling. It has online and offline modes, and integrates well with self-hosted maps services like Headway[0] deployments. I’m really quite pleased with it and I hope others enjoy using it as much as I’ve enjoyed making it. I’m about 2 weeks in to development so expect some bugs. But it has most of the features you’d expect like search, directions and navigation. It’s shockingly usable already.

I’ve been yearning for something better in the FOSS maps space for a long time. I don’t think I’m the only one. I’m really hopeful that Cardinal Maps can grow into that something for myself and others.

If you’re stoked about this project I’d appreciate contributions and beta testers. There’s an obtainium link in the repo README.md if you want updates. :)

[0] https://github.com/headwaymaps/headway

There are a few piece of this that rely on proprietary data, especially the FastText training step, so that's a dead-end unfortunately (would love to be proven wrong). I'd consider subbing in a small bert model with a classifier head for something FOSS without access to tons of user data, but then you lose the ability to serve high qps.

Sibling commenter covered most of what I have to say but the other reason this is wrong is because many bicycles can go 20-30mph, and I'm just going to leapfrog you anyway at the red light you're racing me to wait at.

Other times cars try to kill me to save themselves a few seconds:

1. turning right into a parking lot ahead of me

2. turning right out of the parking lot ahead of me

3. rushing to open their driver's side door right in front of me so they can get out and get to their destination faster

I've had a crash for #1 and #3, so this isn't theoretical. Watch for bicycles.

Well there are two competing factors, one of which you pointed out--not every woman who experiences harassment reports it. The other which may be less obvious is that the people who behave this way tend to do so not only repeatedly but frequently. Eventually they may harass the wrong woman and get reported. Without knowing the numbers I can't speculate more about whether lyft knew about the driver who harassed me.

I've been treated to the the "you're so beautiful, do you have a boyfriend" act about 2% of the time[0] I get into a stranger's car pretty much across the board, which makes me a little bit skeptical about whether these companies do meaningful oversight. It's possible that these incidents go mostly unreported though. I didn't report mine.

As an aside, this is why I generally trust public transit more whenever it's an option. The worst case scenario is just so much less sinister when there are other people around than it is in a car alone with a stranger.

[0] once in a lyft in seattle, the other in a taxicab in barcelona. figuring I've taken about 100 lifetime solo car rides with strangers which is probably an overestimate.

Cross Views 1 year ago

nowadays

People have been writing provocative titles for things since before the internet.

existing remotely exploitable wireless security vulnerabilities

That's just it though, in my opinion being able to flash the thing at all would count as a remotely exploitable wireless security vulnerability. The first thing I'd do if mine was flashable is lock it down to make sure it was no longer flashable. Does that make sense? I might not be articulating myself well here.

Disclaimer I don't have a pacemaker: As a biohacker, I think this is a really bad take. I regularly put things [1] in my body of questionable provenance, and then cut them out of myself without anesthesia when they don't suit me anymore, but I like being alive too much to mess with a medical device like a pacemaker. Pacemaker hacking sounds hardcore and like, respect to anyone who does it but I don't think it should be easy to flash one of those things because I'd really prefer nobody do that to me in my sleep.

[1]. https://dangerousthings.com/

It's after midnight here so take this with a grain of salt but the generated timetable for the puget sound is taking up about 40 MiB on-disk and the server process is using 100k of RAM I think. Most of the timetable is zero-copy so it can be memory mapped on a platform that supports it. So yes, I think it would run on a phone. See also mobroute, which powers Transito

https://git.sr.ht/~mil/mobroute

https://git.sr.ht/~mil/transito

Yeah I strongly suspect that there's something in the GTFS spec that I'm missing that's resulting in some vehicle journeys not being added to the timetable. This would also explain why it completely fails to find routes on the return trips for some of the examples. I'm still pretty stoked about it and hopeful I'll get the bugs ironed out. :)

edit: also if you look at the Berlin to Barcelona trip you'll see a bus, which makes no sense to me whatsoever, so I suspect that some of the high speed rail trips didn't make it from the GTFS feed into the packed timetable that I'm serving itineraries from.

There are ways to make it work on a budget, but with Nominatim you do need 64GB of physical memory at a minimum for the planet. Some of the other replies in this thread have offered resources on how to find that for cheap. My go-to for this is hetzner but I'm super curious if there's anything west of the atlantic that compares because the latency going to Finland is brutal, even with mosh instead of ssh.

Good luck! Don't use Airmail in prod (yet?), if that thought crossed your mind. It's just a demo for now and that's probably how it should stay for a while longer :)

Isn't this an ad for something you're selling?

No. This is a demo of an open-source project that I've released for free.

To me it seems like something that has been around for a very long time and is now being resold under a new label of "geocoding"

That's just what this class of software is called.

https://developers.google.com/maps/documentation/geocoding/o...

https://docs.mapbox.com/api/search/geocoding/

https://geocode.earth/

https://github.com/komoot/photon

https://nominatim.org/

https://pelias.io/

https://www.here.com/platform/geocoding

https://developer.tomtom.com/geocoding-api/documentation/geo...

https://geocoding.geo.census.gov/geocoder/

https://github.com/Qwant/mimirsbrunn

All of these call themselves geocoders.

25 years ago tiny contained $100 GPS units had the entire US on a 2 GB flash card.

Yeah! Super cool feat of engineering accomplished mostly by requiring you to do structured search, if I remember correctly. I never drove with one as they were a bit before my time. I remember them being very fiddly, but that was an observation I made from the back seat of a car as a child so, grain of salt. And yes to google maps offering this for free as a part of their maps client. Not free if you're a 3rd party software developer though, as you'll see if you click through the first link I posted above.

I was annoyed, and that was intended to be a little condescending yeah. I'm not going to let someone who goes by the name "CyberDildonics" tell me to be more professional online without being a little bit snarky in response. I hope that isn't against the rules.

edit: Looks like it is in fact against the rules, but I think I'm tentatively going to leave the comment up because I did provide a valuable answer to the parent commenter's question. Mods can do what they will of course. :)

I love Photon, it's generally my favorite of the bunch to work with. My only objection to Photon is that it's kind of tough to build an index for it, but I think if memory serves GraphHopper (?) publishes one so that's kind of moot unless you have special requirements. Airmail is not in a state where it's usable for anything other than a demo, so if I were building something new today I would use Photon for it, unless I needed OpenAddresses in which case I'd use Pelias.

Writing a geocoder is hard because they combine natural language processing (i.e. address parsing, an exceptionally hard problem) with the need to search through a very large dataset, typically 300-500GB but sometimes more. Doing that for each query generally requires using ElasticSearch, which doesn't respond well to being run on a VPS with 512MB of RAM. If you're not interested in this subject, there are lots of other posts on this site you can go read about.

Edit: In addition to the RAM requirements, you need a persistent volume containing the entire index attached to each serving instance, which is a real bummer when you want to scale horizontally.

When you write like this it sounds very unprofessional. Also you are basically saying "this is really expensive, unless it isn't".

Likewise actually, it's kind of unprofessional to respond in this way to somebody's personal writing style for a writeup on her personal blog about a personal project. Go read some other Show HN thread, there's lots of genuinely cool stuff here, no need to pick on someone for writing in a way you disapprove of.

I think I priced Nominatim on EC2 and it came in around $350/mo because you need 64GB of RAM. Also on EC2 Pelias ended up being close to $100/mo. Keep in mind that I'm including EBS prices for around 500gb of storage for both of those. If you go with a bare metal server on hetzner (which most regular folks would do, and what we do for maps.earth) you can definitely come in under that.

Even if I'm off by a little bit or if EC2 prices are a bad benchmark, the fact remains that you need 100x less RAM to run Airmail than Nominatim, which felt novel enough to post about.

Headway maintainer here. You don't need 10T of nvme storage unless you want to try and build tiles, a routing graph and a search index for the full planet without using a deduplicated filesystem. Eventually I hope to eliminate the need for deduplication but that's not currently a huge priority, since most Headway users don't run full-planet instances anyway. To my knowledge I'm the only one who does. Most people just run a smaller instance for their city.

It's not the same as OsmAnd obviously because it runs in the browser but it does try to fill the same niche. Also 64G of RAM for building the planet is a tiny machine! We don't know how good we have it these days. This used to be completely intractable for mere mortals. :)