<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: nullwasamistake</title><link>https://news.ycombinator.com/user?id=nullwasamistake</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Mon, 27 Apr 2026 11:40:18 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=nullwasamistake" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by nullwasamistake in "Dissidents Are Using Shortwave Radio to Broadcast News into China"]]></title><description><![CDATA[
<p>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 someone with a penchant for only replying to policital threads of a certain flavor?<p>His profile is public, it's not like I made everything up. He posts on articles with "China" in the name about 90% of the time. And basically never replies to his own comment responses or posts that don't relate to China.<p>> Don't post accusations of astroturfing or shillage in the threads—the poison that adds to the site is much worse than whatever it's trying to combat.<p>I don't agree at all. If I didn't say anything about the guy's post history would you have checked?  I don't think so. And even though you did, it's very clearly biased towards "China" news articles and the CCP party line.<p>I'm out. Leaving on my own this time. I appreciate the great work you and the moderators do. But if you can't admit the most obvious AstroTurf shill account I've ever seen is real, there's no point sticking around being a thorn in your side.</p>
]]></description><pubDate>Sun, 18 Aug 2019 01:30:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=20727653</link><dc:creator>nullwasamistake</dc:creator><comments>https://news.ycombinator.com/item?id=20727653</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20727653</guid></item><item><title><![CDATA[New comment by nullwasamistake in "The first solar road has turned out to be a disappointing failure"]]></title><description><![CDATA[
<p>Somewhat. OP also mentions generating energy from the pavement, which I don't think will ever be reasonable.<p>Solar car park covers are a great idea. Easier access than roofs, don't need to be water proof. Good cooling airflow underneath. Tend to be close to cities where power is easier to transport.<p>Solar parking lot covers are the best ROI solar installations I can imagine.<p>Surprised Telsa isn't doing this with their SuperCharger stations</p>
]]></description><pubDate>Sat, 17 Aug 2019 21:13:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=20726432</link><dc:creator>nullwasamistake</dc:creator><comments>https://news.ycombinator.com/item?id=20726432</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20726432</guid></item><item><title><![CDATA[New comment by nullwasamistake in "Parsing JSON Is a Minefield (2018)"]]></title><description><![CDATA[
<p>Just get a boring webapp job in CRUD world :)</p>
]]></description><pubDate>Sat, 17 Aug 2019 21:03:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=20726360</link><dc:creator>nullwasamistake</dc:creator><comments>https://news.ycombinator.com/item?id=20726360</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20726360</guid></item><item><title><![CDATA[New comment by nullwasamistake in "The first solar road has turned out to be a disappointing failure"]]></title><description><![CDATA[
<p>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 through after a century, but maybe 20% and very diffuse. Bad for solar panels.<p>Roads don't absorb enough energy to generate power, they're not flexible enough. They're designed to not absorb energy since it hastens breakdown. Potholes are a good example of a road surface energy absorber :) .<p>Solar roofs are a far better bet. Elon is onto something there, but time will tell if costs can be brought down enough. Besides the good PR, solar roofs substantially reduce heat absorbtion, important in the sunny climates solar works well in. And we have a ton of wasted roof space. Many companies would willingly allow roof panels to be put up for free if the economics for power generation were good enough.</p>
]]></description><pubDate>Sat, 17 Aug 2019 20:57:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=20726322</link><dc:creator>nullwasamistake</dc:creator><comments>https://news.ycombinator.com/item?id=20726322</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20726322</guid></item><item><title><![CDATA[New comment by nullwasamistake in "The first solar road has turned out to be a disappointing failure"]]></title><description><![CDATA[
<p>This was a PR stunt from the beginning.<p>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.<p>Car windshields are scratched to hell after a decade. Grocery checkout scanner windows are made of Sapphire, nearly as hard as diamond, and still need to be replaced.<p>Solar roads will never be a reality. Optically clear material hard and malleable enough seem a physical impossibly. Metals are the only suitable material and they cannot be made transparent due to hard physical constraints.</p>
]]></description><pubDate>Sat, 17 Aug 2019 20:47:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=20726249</link><dc:creator>nullwasamistake</dc:creator><comments>https://news.ycombinator.com/item?id=20726249</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20726249</guid></item><item><title><![CDATA[New comment by nullwasamistake in "Async-std: an async port of the Rust standard library"]]></title><description><![CDATA[
<p>Java</p>
]]></description><pubDate>Sat, 17 Aug 2019 17:45:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=20725215</link><dc:creator>nullwasamistake</dc:creator><comments>https://news.ycombinator.com/item?id=20725215</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20725215</guid></item><item><title><![CDATA[New comment by nullwasamistake in "Parsing JSON Is a Minefield (2018)"]]></title><description><![CDATA[
<p>JSON sucks. Maybe half our REST bugs are directly related to JSON parsing.<p>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 binary blob?<p>We tried using OpenApi specs on the server and generators to build the clients. In general, the generators are buggy as hell. We eventually gave up as about 1/4 of the endpoints generated directly from our server code didn't work. One look at a spec doc will tell you the complexity is just too high.<p>We are moving to gRPC. It just works, and takes all the fiddling out of HTTP. It saves us from dev slap fights over stupid cruft like whether an endpoint should be PUT or POST. And saves us a massive amount of time making all those decisions.</p>
]]></description><pubDate>Sat, 17 Aug 2019 17:45:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=20725211</link><dc:creator>nullwasamistake</dc:creator><comments>https://news.ycombinator.com/item?id=20725211</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20725211</guid></item><item><title><![CDATA[New comment by nullwasamistake in "Async-std: an async port of the Rust standard library"]]></title><description><![CDATA[
<p>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.<p>With a simulated load of ~20 users we were running over 1000 threads.<p>Several posts in the chain say that 20k+ threads is "fine". Not unless you have a ton of cores. The memory and context switching overhead is gigantic. Eventually your server is doing little besides switching between threads.<p>We had to rewrite our s3 code to use async, now we can do many thousands of concurrent uploads no problem.<p>Other places we've had to use async is a proxy that intercepts certain HTTP calls and user stats uploader that calls third party analytics service.<p>Just sayin it's not that unusual to need async code because threading overhead is too high</p>
]]></description><pubDate>Sat, 17 Aug 2019 16:24:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=20724739</link><dc:creator>nullwasamistake</dc:creator><comments>https://news.ycombinator.com/item?id=20724739</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20724739</guid></item><item><title><![CDATA[New comment by nullwasamistake in "Rails 6.0"]]></title><description><![CDATA[
<p>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 it</p>
]]></description><pubDate>Fri, 16 Aug 2019 23:24:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=20720646</link><dc:creator>nullwasamistake</dc:creator><comments>https://news.ycombinator.com/item?id=20720646</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20720646</guid></item><item><title><![CDATA[New comment by nullwasamistake in "Rails 6.0"]]></title><description><![CDATA[
<p>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.</p>
]]></description><pubDate>Fri, 16 Aug 2019 23:23:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=20720637</link><dc:creator>nullwasamistake</dc:creator><comments>https://news.ycombinator.com/item?id=20720637</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20720637</guid></item><item><title><![CDATA[New comment by nullwasamistake in "Async-std: an async port of the Rust standard library"]]></title><description><![CDATA[
<p>Threads are bad for high concurrency. Specifically when you need to call out to another service that has some latency.<p>Say you have 1000 threads. To handle a request each one needs to make 50ms of external or DB calls. In one second, each thread can handle 20 calls. So you can handle 20k requests/second with 1000 threads.  But Rust is so fast it can serve 500k requests a second. So with regular threads, you need ~25,000 threads. The OS isn't going to like that.<p>With async you can run a single thread per core, with no concurrency limits. So you get your 500k requests without overhead. With fibers you just run 20k fibers which is a little bit of overhead but easy to do.<p>This is the core reason everyone is pushing async and fibers in fast languages. When you can push a ton of requests/second but each one has latency you can't control, regular threads will kneecap performance.<p>In "slow" languages like Python, Ruby, etc, async/fibers don't really matter because you can't handle enough requests to saturate a huge thread pool anyways.</p>
]]></description><pubDate>Fri, 16 Aug 2019 23:20:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=20720624</link><dc:creator>nullwasamistake</dc:creator><comments>https://news.ycombinator.com/item?id=20720624</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20720624</guid></item><item><title><![CDATA[New comment by nullwasamistake in "Async-std: an async port of the Rust standard library"]]></title><description><![CDATA[
<p>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.<p>As soon as you do that, your code isn't async anymore. And if you're using a framework like Vert.X or node that only runs one thread per core you're in big trouble.<p>The most reasonable answer I've seen to all this is Java's Project Loom. An attempt to make fibers transparently act like threads, so you can use regular threaded libraries as async code.<p>Rust is going to have the same problem Java does with async. A lot of code was written way before async was available, and it not always obvious whether something blocks.</p>
]]></description><pubDate>Fri, 16 Aug 2019 23:12:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=20720578</link><dc:creator>nullwasamistake</dc:creator><comments>https://news.ycombinator.com/item?id=20720578</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20720578</guid></item><item><title><![CDATA[New comment by nullwasamistake in "Rails 6.0"]]></title><description><![CDATA[
<p>Eh I guess I meant "traditional" web MVC where HTML template for the whole page is pre-rendered on the server.<p>We use gRPC web, so backend is a bunch of RPC endpoints. Front end is regular SPA.<p>This has worked great for us because it reduces backend to "shipping objects" instead of all the bs you normally have to deal with in HTTP.<p>With gRPC there's no use for rails, or any HTTP server framework. As far as I can tell, this is the future of web endpoints, so rails will die out.</p>
]]></description><pubDate>Fri, 16 Aug 2019 21:14:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=20719773</link><dc:creator>nullwasamistake</dc:creator><comments>https://news.ycombinator.com/item?id=20719773</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20719773</guid></item><item><title><![CDATA[New comment by nullwasamistake in "Rails 6.0"]]></title><description><![CDATA[
<p>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.</p>
]]></description><pubDate>Fri, 16 Aug 2019 19:07:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=20718542</link><dc:creator>nullwasamistake</dc:creator><comments>https://news.ycombinator.com/item?id=20718542</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20718542</guid></item><item><title><![CDATA[New comment by nullwasamistake in "Launch HN: SannTek (YC S19) – Breathalyzer for Cannabis"]]></title><description><![CDATA[
<p>>A similarly impairing dose of cannabis results in 0.00001 ppm<p>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 it will practically be a divining rod.<p>Police already abuse sniffer dogs frequently, we shouldn't allow them to use another unreliable tool to arrest people.</p>
]]></description><pubDate>Fri, 16 Aug 2019 19:01:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=20718486</link><dc:creator>nullwasamistake</dc:creator><comments>https://news.ycombinator.com/item?id=20718486</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20718486</guid></item><item><title><![CDATA[New comment by nullwasamistake in "Await in Rust"]]></title><description><![CDATA[
<p>I understand why you didn't, but async brings a whole new opportunity to try! At least in library form.<p>Fibers are great because you can pretend they're threads. Everyone knows threads. Async is a legit PITA even if you're familiar with it. And the local state stored for a fake thread is often useful. When doing async I find myself frequently building hacky hashmaps to hold local variables values. websocket code is a good example of worse-case. 20k ongoing connections held by async (1 thread per core). It's a nightmare in everything except Vert.X Sync (fibers in Java) or maybe Golang and Erlang.<p>With fibers you get to keep all your local variables and "pretend" threads actually exist. It's a huge boon for productivity in the few languages where it's possible</p>
]]></description><pubDate>Fri, 16 Aug 2019 04:28:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=20712176</link><dc:creator>nullwasamistake</dc:creator><comments>https://news.ycombinator.com/item?id=20712176</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20712176</guid></item><item><title><![CDATA[New comment by nullwasamistake in "Removing One Maine Dam 20 Years Ago Changed Everything"]]></title><description><![CDATA[
<p>This... Is a prison recipe :). Fish, chip coating, cook in the chip bag in microwave.<p>Not saying it's bad, I've done it. Chips are a great substitute for bread crumbs.</p>
]]></description><pubDate>Wed, 14 Aug 2019 05:40:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=20692964</link><dc:creator>nullwasamistake</dc:creator><comments>https://news.ycombinator.com/item?id=20692964</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20692964</guid></item><item><title><![CDATA[New comment by nullwasamistake in "Fewer Than Half of Google Searches Now Result in a Click"]]></title><description><![CDATA[
<p>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 features put together. AWS S3 is a great example, it's just like Dropbox for nerds.<p>A lyrics website recently put fake lyrics on their site to prove Google was copying, and sure enough the fake lyrics showed up a couple weeks later.<p>Google isn't just taking content from "evil" companies like Yelp, they're doing it to everybody.<p>Job search, shopping, song lyrics, news, and who knows what else, is all being somewhat blatantly lifted. And nobody can stop it because blocking Google is a death knell to any site</p>
]]></description><pubDate>Tue, 13 Aug 2019 18:33:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=20688856</link><dc:creator>nullwasamistake</dc:creator><comments>https://news.ycombinator.com/item?id=20688856</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20688856</guid></item><item><title><![CDATA[New comment by nullwasamistake in "Tourism Is Overwhelming the World's Top Destinations"]]></title><description><![CDATA[
<p>They are environmentally efficient, see the link I posted. They're one of the most fuel efficient means of transport</p>
]]></description><pubDate>Tue, 13 Aug 2019 13:24:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=20685551</link><dc:creator>nullwasamistake</dc:creator><comments>https://news.ycombinator.com/item?id=20685551</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20685551</guid></item><item><title><![CDATA[New comment by nullwasamistake in "Tourism Is Overwhelming the World's Top Destinations"]]></title><description><![CDATA[
<p>It can locally, but not economically in a huge country like the US. Electrified rail is a lot more maintinence.<p>For long distance travel were going to be using fossil fuel for a long time, at least until batteries double or so in density.</p>
]]></description><pubDate>Tue, 13 Aug 2019 13:23:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=20685541</link><dc:creator>nullwasamistake</dc:creator><comments>https://news.ycombinator.com/item?id=20685541</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20685541</guid></item></channel></rss>