Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nullwasamistake
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
1.
▲
by
nullwasamistake
7y ago
Thanks for looking Dang. I don't agree with you this time though. Hiding abuse out of the comment chain behind emails is a good way to make things disappear. What kind of community is this if you can't question the motives of some
2.
▲
by
nullwasamistake
7y ago
Somewhat. OP also mentions generating energy from the pavement, which I don't think will ever be reasonable. Solar car park covers are a great idea. Easier access than roofs, don't need to be water proof. Good cooling airflow unde
3.
▲
by
nullwasamistake
7y ago
Just get a boring webapp job in CRUD world :)
4.
▲
by
nullwasamistake
7y ago
Solar roads and sidewalks are a PR stunt. Abrasion is no joke, nothing optically transparent survives on the ground. You can see this easily in the cellar "pavement lights" common in NYC and other old cities. Light still passes th
5.
▲
by
nullwasamistake
7y ago
This was a PR stunt from the beginning. We can't even make roads last 20 years with the most durable materials we can find. We make them out of rock and they still fall apart. Car windshields are scratched to hell after a decade. Groce
6.
▲
by
nullwasamistake
7y ago
Java
7.
▲
by
nullwasamistake
7y ago
JSON sucks. Maybe half our REST bugs are directly related to JSON parsing. Is that a long or an int? Boolean or the string "true"? Does my library include undefined properties in the JSON? How should I encode and decode this binar
8.
▲
by
nullwasamistake
7y ago
We have some pretty vanilla file upload code that needs async. S3 latency is fairly high. If you're uploading a few tiny files per user per second, thread usage gets out of hand real fast. With a simulated load of ~20 users we were run
9.
▲
by
nullwasamistake
7y ago
Amazon still runs a bunch of Perl in the back. Just because you're stuck with some design choice doesn't mean that framework has a solid future. People still write plenty of COBOL but you don't see any new applications using
10.
▲
by
nullwasamistake
7y ago
I'm convinced RPC frameworks are the future of REST. It's too crufty without them. Most of the rails stack just isn't involved in those calls, so there's not much purpose using it.
11.
▲
by
nullwasamistake
7y ago
Threads are bad for high concurrency. Specifically when you need to call out to another service that has some latency. Say you have 1000 threads. To handle a request each one needs to make 50ms of external or DB calls. In one second, each t
12.
▲
by
nullwasamistake
7y ago
Yeah for sure. In Java/C# I see people do this all the damn time. Use async method for REST endpoints then make a blocking DB call. Or even worse, make a non-async REST call to another service from inside an async handler. As soon as y
13.
▲
by
nullwasamistake
7y ago
Eh I guess I meant "traditional" web MVC where HTML template for the whole page is pre-rendered on the server. We use gRPC web, so backend is a bunch of RPC endpoints. Front end is regular SPA. This has worked great for us because
14.
▲
by
nullwasamistake
7y ago
Eh, no. The whole MVC pattern is obsolete and every web project I've worked on less than 5 years old is a SPA. It's gone the way of PHP. It will always be around in legacy stuff but hardly anyone is building new project with it.
15.
▲
by
nullwasamistake
7y ago
>A similarly impairing dose of cannabis results in 0.00001 ppm Yeah this isn't going to work. The detection threshold is so low it's gonna go off if someone is smoking weed within 500 feet. There will be so many false positives
16.
▲
by
nullwasamistake
7y ago
I understand why you didn't, but async brings a whole new opportunity to try! At least in library form. Fibers are great because you can pretend they're threads. Everyone knows threads. Async is a legit PITA even if you're fa
17.
▲
by
nullwasamistake
7y ago
This... Is a prison recipe :). Fish, chip coating, cook in the chip bag in microwave. Not saying it's bad, I've done it. Chips are a great substitute for bread crumbs.
18.
▲
by
nullwasamistake
7y ago
It's not the same as copying the "feature", in many cases Google straight up takes your content and puts it on their homepage. The difference between a product and a feature is nothing. Every app made is just a bunch of featu
19.
▲
by
nullwasamistake
7y ago
They are environmentally efficient, see the link I posted. They're one of the most fuel efficient means of transport
20.
▲
by
nullwasamistake
7y ago
It can locally, but not economically in a huge country like the US. Electrified rail is a lot more maintinence. For long distance travel were going to be using fossil fuel for a long time, at least until batteries double or so in density.
21.
▲
by
nullwasamistake
7y ago
This source from US govt shows that planes are very efficient in MPG https://afdc.energy.gov/data/mobile/10311 Cabron density of kerosine vs gasoline isn't that different. Maybe the carbon footprint website
22.
▲
by
nullwasamistake
7y ago
This doesn't change flying being a more efficient means of travel. Despite many incentives to carpool and take public transportation, planes are still more efficient because the high travel speed makes being packed like sadines worth i
23.
▲
by
nullwasamistake
7y ago
An SUV with 8 people can get 200 mpg/person. The link considers average occupancy. Planes are highly efficient because they're usually full
24.
▲
by
nullwasamistake
7y ago
2% is from Quasar, a Java fiber library. Some simple benchmark compared it to async code. Now that rust has async, couldn't they make fibers an opt-in replacement for threads? Your libraries use async, but you can handle those calls wi
25.
▲
by
nullwasamistake
7y ago
Fuel is a huge airline expense so people are packed into an aluminum can at maximum density. It's public transit, except the seats are nearly full at every stop. Fuel economy is about 75 mpg per passenger. This is nearly twice the aver
26.
▲
by
nullwasamistake
7y ago
Fibers are way better than async. Go has them and Java is working on it with project loom. It's a slight performance disadvantage (maybe 2%) but light-years easier to work with. Languages with fibers figure ou execution suspend points
27.
▲
by
nullwasamistake
7y ago
> I predict that long, slow, possibly "eco" trips will become fashionable as a new way to signal wealth (much in the way that travel to far-flung corners of the Earth used to). This is very much still a thing. Personal hunting
28.
▲
by
nullwasamistake
7y ago
IMO this is an elitist point of view. Taxing will only serve to make travel a luxury for the elite, as it once was. The only reason tourism has increased so much is because it's become affordable to the middle class. The economy will a
29.
▲
by
nullwasamistake
7y ago
Tinfoily, but perhaps US anti missile systems are more effective than were lead to believe.
30.
▲
by
nullwasamistake
7y ago
Adding to that, there's special regulations for almost anything. Hotels, work sites, warehouses. The national fire code is quite a tome, and usually local rules are added on top
More ›