HNHacker News
TopNewBestAskShowJobs

potatochup

491 karma · joined January 22, 2019

submissionscomments
potatochup··on Milk bag
We would take the bag out, inflate it a bit, and use it for a pillow when on longer hiking trips.
potatochup··on Rust Cryptography Should Be Written in Rust
At my $BIGCORP, we have a multi-mode (discrete/continuous) simulation engine written in Rust. It has to be extremely fast, and interface with both firmware written in C, and scripts written in Python. C++ was the only other viable option, but none of us were confident writing safe and performant C++, so we picked rust instead.

Now that I've been using rust for ~5 years, I reach for rust for when I have to do almost anything else. I write small backend services in rust[1], and small utilities that would previously have been python scripts[2]. The only thing I still use any other language for is python for writing test scripts + interactive data exploration, and typescript for front end stuff. We still use a lot of C for firmware because the Rust target support isn't as good as C yet.

[1] you might argue that Go might be better suited for this, but I disagree. The lack of null safety and less strict typing would come back to bite me a lot. A typical backend service we write is 10x simpler than our simulation engine so 1) compile times are approx the same as the project is small and 2) we usually don't care that much about performance for these services so we can just clone or RC away any problems we might have with the borrow checker. Swift might be a nice, but the ecosystem isn't there for backend apps last time I looked.

[2] Total LoC for small scripts ends up being about the same for python/rust in my experience. Development time is approx the same, but I much prefer maintaining small rust apps when I come back to it after 6 months. You _can_ set up safe and maintainable python projects with external libraries for validation, but its too much effort when rust has it all out of the box. Also, python deployment/venv management is still immensely frustrating

potatochup··on VW in talks to adopt Tesla’s EV charging plug, but Toyota is staying silent
This is already the case. CSS1 (NA) is incompatible with CCS2 (Europe). NA is just swapping out CCS1 for the Tesla physical plug. China also has its own standard. I don't see it as a huge issue. Cars are infrequently moved between continents anyway, and manufacturers have far bigger regional differences they already deal with.
potatochup··on Maine becomes first state to decriminalize selling sex
While I do agree the conditions described on that article are deplorable, I think the same kind of conditions would apply (if not worse) if prostitution was criminalized. Making it illegal won't stop it from happening.
potatochup··on MdBook – A command line tool to create books with Markdown
Embarrisngly, I'm using both for docs at work (they were both projects I started).

Mkdocs is more flexible, has more themes, better ecosystem. Mdbook has better defaults, easier deployment, is more standard across rust projects

potatochup··on SF Becomes First U.S. City Where Electrified Cars Make Up 50% of Sales
4 (S3XY), but yeah, the point still stands.
potatochup··on Meta to Buy Almost 7M Carbon Credits
One of these things is not like the other...
potatochup··on I’ve been single all my life
Most running clubs I've tried are 50/50. Dance classes/social dancing are usually female-heavy (The SF bay is probably an exception here). No one minds if you're bad at dancing as long as you are friendly and don't injure anyone.
potatochup··on Tesla workers shared sensitive images recorded by customer cars
Sorry, poor choice of words. They are the same thing (uploading/sharing).

Sharing/uploading is a setting in the UI. I don't have a screenshot handy but you can see the details on https://www.tesla.com/about/legal.

potatochup··on Tesla workers shared sensitive images recorded by customer cars
You can opt out of uploading anything to Tesla, but sharing is on by default.
potatochup··on CAN Injection: Keyless car theft
Age doesn't really matter in this case. This is laziness on Toyotas part by not authenticating the messages between the "Smart Key" ECU and the main engine control microcontroller.
potatochup··on Ask HN: How have you dealt with socializing in remote working?
I worked out of a co-working space, have social hobbies (dancing). The co-working space was a big help for breaking up the work day.
potatochup··on EVs Coming in 2023
The other thing to consider is _when_ the 40,000 price was announced. The model 3 was originally promised to be 35k, and thats roughly held true _if_ you account for inflation. Should Musk account for inflation when making announcements? Well, yes, but he'd need to be accurate with his timelines first...
potatochup··on Denver’s e-bike subsidy program produced more new riders, fewer car trips
That probably includes capital/depreciation? But I agree it seems high
potatochup··on Germany refuses to agree to EU ban on new fossil fuel cars from 2035
> Remember that for best battery life you really need to only charge to 80%, and and never let the battery get below 20%

This depends on the cell chemistry. LFP cells don't have this restriction (which is what many low performance EVs use, especially those coming out of China)

potatochup··on We will not ‘walk out’ of UK, nor comply with any request to bypass encryption
I complained to one of my local NZ MPs about how the anti-spam legislation was ineffective since it's ambiguous. I got a polite response detailing how legislation is usually crafted that way and then left to the courts to decide what constitutes "consent for marketing communications", with some links to various case law decisions. I disagree in principle but I really appreciated the detailed response.
potatochup··on Valent Is a KDE Connect Client for GTK-Based Desktops
It's a phone app that allows control of your desktop. you can control music, send files, use the camera from your phone to get pictures on the desktop, etc
potatochup··on Argonne: Lithium-Air battery 1200 wh/kg, 1000 cycles
I think the low speed noise maker is just in reverse though? At least it's true for the Amazon vans around me
potatochup··on Grid scale buffering with molten salt batteries that run at 500 Celsius
Do you mean the Tesla power wall? This thing has quite a large footprint (10ft container) so I can see the power wall still being used household backup solution.
potatochup··on Tesla announces new engineering headquarters in California
This is just the engineering headquarters. Corporate HQ is still Texas, and design engineering never moved out of the bay. Nothing too exciting to be read out of this announcement.
potatochup··on We're Curbing Starlink's Use in Ukraine
Tesla received a lot of govt investment early on, but aren't they making boatloads of money now? The clean car credits they get from other manufacturers are a small fraction of their revenue.

The other companies in don't know about.

potatochup··on Meilisearch 1.0 – Open-source search engine built in Rust
As someone who primarily writes rust for work, it appeals to me because I feel much more confident I can fix an issue myself if I need to. Same with python (which I'm equally familiar with), although I have much less confidence when modifying python code that I won't break something unrelated.
potatochup··on Building a legged robot in 80 days
Rather than "instead" it can be both. I don't want mechanical engineers hand writing observer models and PIDs in bare metal C, but I also don't want software engineerings designing my observer models and PIDs. They are different tools for different jobs.
potatochup··on Building a legged robot in 80 days
Is this really that bad? Presumably the autogenerated c doesn't have any array over reads and it probably initializes values properly
potatochup··on Easter egg in flight path of last 747 delivery flight
Full size cars are designed to crumple because its less dangerous for the occupants
potatochup··on Spotify is first music streaming service to surpass 200M paid subscribers
Fwiw, android+firefox+ublock origin works great for no ads on YouTube.
potatochup··on Google exec fired after female boss groped him at drunken bash, suit says
Team/tech Lead?
potatochup··on The high cost of expensive housing and how Auckland fixed it
House prices have certainly dropped since peak pandemic madness. It remains to be seen if they stay low, although there has been plenty of construction, and some supportive policy from the govt.
potatochup··on The strange and awful path of productivity in the US construction sector
In older areas it's also that the plots are not identical. The land cost is so high that it makes sense to spend extra on building customization to better utilize the land rather than plonk down a cookie cutter house that doesn't make good use of the views/sun/space/etc
potatochup··on San Francisco Falls into the Abyss
And that if you live in SF, almost any other place in the USA is a cost of living decrease.
← PreviousPage 2 of 8Next →