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…
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…
Just get a boring webapp job in CRUD world :)
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…
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…
Is there a reason why almost every single comment you've made in the entire year history of your account on a tech news website involves China politics? In fact, almost every post you've replied to has the word "China"…
Java
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…
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…
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…
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.
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.…
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…
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…
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…
>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…
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…
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.
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…
They are environmentally efficient, see the link I posted. They're one of the most fuel efficient means of transport
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…
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 doesn't…
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…
An SUV with 8 people can get 200 mpg/person. The link considers average occupancy. Planes are highly efficient because they're usually full
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…
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…
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…
Just get a boring webapp job in CRUD world :)
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…
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…
Is there a reason why almost every single comment you've made in the entire year history of your account on a tech news website involves China politics? In fact, almost every post you've replied to has the word "China"…
Java
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…
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…
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…
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.
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.…
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…
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…
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…
>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…
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…
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.
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…
They are environmentally efficient, see the link I posted. They're one of the most fuel efficient means of transport
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…
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 doesn't…
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…
An SUV with 8 people can get 200 mpg/person. The link considers average occupancy. Planes are highly efficient because they're usually full
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…