skysight-inc/HackerNews huggingface dataset:
The real issue here is that there is a natural market replacement rate. You sell a million cars a year even though there are 25 million of your cars on the road. That means it will take 25 years to replace all of the cars even if you switch 100% to the new type. If you want to replace them all in 15 years then you would have to sell below cost in order to induce more than the typical amount of demand for new cars.

So replacement at the natural rate is economical, replacement at a faster rate gets expensive quickly. To do that you have to force people to replace cars they otherwise wouldn't have, which either means more subsidies (expensive) or taxes (expensive), or both. On top of that it requires the resources spent on the existing car to be lost when it gets removed from service before its natural end of life, and it causes you to have to build excess manufacturing capacity to build more than the natural amount of new cars, which then goes idle and has to be written off once all cars are of the new type and the measures to artificially stimulate demand are discontinued.

All this to say that it's quite important that the transition starts now with as many electric vehicles as possible, because the more we do now the less we have to compress the timeline later and pay all of these costs.
Wow, that's cool!
> Any resources you can recommend for gradually ramping up

http://www.4clojure.com/problems
Airpods can actually be used as hearing aids.
China’s most advanced Big Brother experiment is a bureaucratic mess
Now who's the owner of the Volkswagen Group? For some time there was a struggle between Audi and Porsche, but eventually Audi won. They are the mothership.

Who's responsible? You still are of the impression that only VW uses this cheating device. Everyone is using it.

Responsible for this device is Bosch.
Keep the crab in a barrel mentality away from here
Callers never talk to dispatchers. Call takers take reports and provide information to dispatchers.
Ah, so that is your work! I always found it amusing.
Because everyone is in a hurry. Productivity is measured in dev hours not CPU hours. This is why we have crap Electron apps.
5nm vs. 3nm
Gandus
> If it was so effective as people seem to claim, I am sure everybody would use clojure

Blasphemy.

http://www.paulgraham.com/avg.html
Thanks! I hadn't thought of doing Markov Chains since I was focusing on RNN/LSTMs, but I think I'll try that for the next article, see how that goes.
no but it's damn good and it makes me very angry

edit: oh this isn't about their targeting ads which are very very on point and are what actually make me upset, about how good it is
Not when you have Javascript turned off.
I've only spent a few weeks using IntelliJ but from that time it seemed like a really well constructed dev environment. Definitely gave me the feeling that this is what modern software development should be like.
I tried earbuds back in the day but never liked them. They fall out when I run fast.

I greatly prefer airliner pilot over the ear headphones. They sound better, block out more noise, and don't fall off

I got some MPOW H5s from amazon. $50. Decent battery life. Bluetooth. Noise cancelling isn't anything to write home about. Sound quality is decent
I don’t doubt it causes bugs. I wish Go had option types, as well. I’m just saying that it’s not unusual behavior, and you’re going to single languages out for the bugs they enable, you’ve a long future of boring arguments ahead of you.
Too many people conflate clojure with high paying salaries. It's not clojure that is earning the salary... it's the kind of engineer who might practice something like clojure that is desirable.
No, they were not.

The heavily religious communities in the early US didn't display any of the tribal behaviour commonly seen amongst the Taliban (which are the cause of most of the governance issues in Afghanistan), just the extremely strict adherence to religion which is in some ways a superficial similarity as the average person in those times was as fanatically religious as only the most hardcore Christian today.

For instance Cousin marriage wasn't a thing at all (which is one of the main ways of maintaining tribal cohesion) while it is still extremely common in Afghanistan and the Middle East today.
Biggest issue for me is the compile time. Especially in comparison to Go it's a huge difference. At work we have a huge codebase with over 1M LOC. I guess for bigger projects you need proper interfaces so you can split up your code into multiple libraries.
Shame is one of the most effective tools in influencing human behavior, and from the sounds of this post and the other coverage on the incident, Verizon has earned far more ire than is directed at them in this blog post.

A lot of people seem to conflate speaking professionally with speaking like a doormat. Verizon, specifically the team in charge of this system, fucked up. There are varying levels to that of course; if you mess up the fonts in the end of month report to your super and he calls you a fucking idiot, he's probably an unbalanced person in need of mental help. If on the other hand you knock dead 15% of GLOBAL Internet traffic out of sheer laziness, I'd say you've earned more than a few 'go fuck yourself's.
It just means that your compiler is theoretically safe if you build a assembler manually and verify it. This can be done by printing the assembly of the assembler (an assembler is just a glorified find and replace if you leave out optimizations) and then translate it into machine zeros and ones by hand (See Intel Reference Manual for more details on the translation table). To speed this up, distribute the typing input, use e.g. Mechanical Turk, minimum wage clerks etc. and compare the result from multiple sources to ensure accuracy. Once your confident that your machine code translation is an accurate representation of your assembler, run the assembler on Stage0 and the bootstrap process should take care of itself.
The one obvious thing that's missing from that page is the network interface.
I sometimes joke that microservices are half of Erlang, badly implemented (I guess Greenspun’s Curse is broken?).

Elixir has been second or third on my todo list for a long time. With the scary news from Vue, it might have just jumped the queue.
> That's not how video works: you show individual images sequentially with no mixing

In the DVD era, PAL/NTSC used to interlace frames, which is a ghetto crossfade. I have no idea how this works in the Bluray era.
Has anyone ever used one of these?
The opiate epidemic has been killing off coal miners with no letup in sight.
https://blog.exploratory.io/how-coal-mining-employment-has-i...
Anecdotally, I'm in my twenties and I have tinnitus.

I have no idea if it's noise induced though. And if it is, jury's out on whether it's from live music, headphones/earbuds, firearms, or power tools.
Show HN: Comntr, a browser extension to leave comments on any website
It's a simple extension that can add comments to SHA1 of the current tab URL. Comments are stored on a $5/mo VPS in the /<sha1(url)>/<sha1(comment)=text form. See https://github.com/comntr/webext/. I I thought it would be cool to have reddit-like discussions for any URL, so here we go. For now the extension is available only on Firefox: https://addons.mozilla.org/en-US/firefox/addon/comntr/. The reason I haven't published its Chrome version is that the Chrome Web Store now requires a phone number and a credit card, which is the same thing as asking for ID. The extension can be installed manually, though: this is how I test it. P.S. I know that giving a random extension access to tab URLs is a questionable idea, but unfortunately I can't write in manifest.json that the extension only needs SHA1 of the URL. And you can always compute the SHA1 yourself and use https://comntr.github.io#<sha1> :)
I would love for one of these to accurately simulate various vacuum tubes. The unfortunately life a guitar amp builder is an absolute crap ton of of prototyping high voltage electronics.
How to improve productivity as a web developer
And at the very least it has dub right? I've thought about it alot.
It's true that "The Selfish Gene" has been a science-based classic of evolutionary biology for over 40 years. But it's also true that in those 40 years a lot of studies have taken aim at the central arguments of the book and in my opinion cast serious doubt on the accuracy of the books conclusions (Or perhaps limit the scope of those views as being a projection of western culture - but not of all cultures on earth, particularly not eastern philosophy, and not the animal kingdom at large)

If you have never read any of these counterpoints, but find that the conclusions of Selfish Gene have shaped your world view, please consider reading some of these counterpoints and seeing if they persuade you to consider new perspectives.

A particularly thorough book detailing these counterpoints is Matthieu Ricard's book:

Altruism: The Power of Compassion to Change Yourself and the World
A choose not to because the lifetime of expensive "high quality" earbuds is about the same as a $2 pair from the supermarket, if I'm going to pay for high end ones I want something that will last more than a few months and I've been burned a couple of times. The midrange ($30-$40) sony ones are the only brand I've had that can last a year.
I mean, how could they trust you weren't a fraudster from a competing product?
As a one-eyed individual, I love this idea. I have my old one sitting in a drawer doing nothing and I will be replacing my current this year. Two glass eyes.
Google warns its employees that Pride protests are against the company’s CoC
There may be an alternate number, but it doesn’t include 911.

Any string of numbers that includes 911 dials 911.
> Scary news from Vue

Do you have a link?
I've got a 3b+ and a 1b, and whilst only the 3b is in use currently, I have plans for the other.

The 3b runs libreelec for a tv in my bedroom. I found my 1b to be too slow for this, but the 3b+ does admirably.

The 1b, I hope to repurpose into a couple of services:

1) a pihole for my home network

2) a Wireguard VPN for connecting my phone back to my home network.

This is all sort of waiting on me getting usable internet, because my 700kbps upload currently sort of makes it pointless. However, I'd like to do this once I have better internet so I can use my phone as if I'm on my home network. This will provide me with several benefits:

1) I will be able to stream media when travelling for work

2) My phone will benefit from the pihole even when out and about

3) I will be able to control my home network as if at home

4) It will provide another endpoint for hurdling the GFW when I work in China

I hope to start all of this next year, once I move house or when I finally receive a proper internet connection rolled out to my place. If the 1b is too weak for those services, then I will probably repurpose it into some sort of automation system for watering plants, since once again due to work travel I routinely have to lug them over to relatives' houses whenever I'm away for a week or more.
> it’s very sad to see

It's really more bitter sweet. Some amount of this has been happening forever, though mass media probably accelerated it. Yes, there is the loss of a distinct culture, but now more people can communicate with each other.
If you search for decibel meters, you will find some as low as $20, maybe cheaper on ebay. You could split it with some friends/family.

You need to simulate making a seal between the meter and the thing you want to measure. You can put the meter through a hole in a piece of foam to measure the sound of regular headphones.

For in-ears, I stared with a toilet paper tube and cut it down to a small cylinder and tried to seal the earbud in there.

I got one and found that my typical listening levels were within safety threshold, it actually made me confident to sometimes turn up some things a bit louder without worrying.

Another thing is comparing what you have to a known reference. The decibel levels of apple ear buds at different volume levels of an iphone are out there if you search. It won't be that accurate but it will give you a general idea.

>all the way up and only ten minutes is safe
I'm curious about VM support for immutability. I think it's a really interesting idea whether low level runtime support can significantly enhance performance of immutable data structures - is that what you're suggesting? Would you be willing to expand on it?

(My perspective: I am turned off by any language that doesn't have a JVM implementation because I have so much knowledge and trust of that runtime. But I have to acknowledge, byte-code level support for immutability is thin to non-existent).
Yep, wound up being about 720 Flickr's which is crazy, and puts things into perspective. (Flickr sold for $25M, Slack now has a market cap of $18B)
Monarch Butterflies Reared in Captivity Lack Migration Ability
> I think the public backlash against BP was tremendous.

I do wonder if the backlash would've been less if it was an American company though. Or at least a less obviously "foreign" company. There did seem to also be plenty of blame to go around with local contractors etc, but they seem to have escaped the backlash - or at least had a public narrative absolving them.
What about us fuckers who saved up and paid for their tuition up front?? Now I get to pay for someone else’s tuition too?
That's an excellent point. There was a neat paper a few years back where they were making the point that Java could actually lead to better performance in complex scenarios than c or c++ because the team could iterate on the algorithm faster and explore different paths.
Ask HN: How do you find a good patent attorney?
I have some patents, but they were always paid for by third parties. I can use those lawyers, but I was wondering if there is some internet-based alternative that I am missing that might be less expensive. Maybe just for patent search and provisional filing?
A few comments above I said "I have a dozen kids". With parents, that is 14 people.

We cook. I look for sale prices. We eat a lot of chicken, but we also get fish.

I count just 3 of you. Scaling up for family size and ignoring the sizes of the people, your $1000 would be $4666 for me. I guess I'm doing well to spend only $4000. Scaling the other direction, you'd be on a similar per-person budget if you spent $857 per month.
In principle this is actually quite a reasonable idea and is a common pattern of many types of physical measurement. Often we have a detailed and accurate physical model of the forward dynamics of a system, given some system parameters, but we can't measure these parameters directly. Instead, we measure some data in a "sensor domain" and we'd like to map it back to the physical parameters.

This setup is known as an "inverse problem" and is often ill conditioned / singular or very complex, therefore requiring some regularization in the form of prior knowledge. Treating the inverse problem as a regression problem (given these observations in sensor domain, predict the state of the system) with a neural network as the regressor is one way of attacking these problems and is becoming very successful in some areas, for example MRI reconstructions, eg https://www.biorxiv.org/content/10.1101/278036v1. In this case you are adding the regularization / priors by constructing the training data with a physical model.

I think this kind of approach is interesting because it scales to input and output spaces with high dimensionality. However, it's not exactly clear to me what kind of estimate such a regressor provides (is it kind of like doing maximum likelihood?)

From a more standard statistical point of view, you'd like to estimate the full probability distribution over system parameters. In this case, the orbital elements and mass of the unknown bodies. Because this inference problem has relatively low dimensionality (I think?) you might do better to treat it as a problem of Bayesian inference and sample it using MCMC. Then you'd have a rigorous way to understand the uncertainty of the estimates and also to attack the problem of "unknown number of bodies" in a systematic way.
You could do this with a free serverless function on aws, why would I pay for it
> This is why we have crap Electron apps.

i've always wondered what would happen to this sentiment if something like V8, Node, Electron or NW.js was already part of the [Windows, Linux, macOS] platforms and didn't need to be distributed with every app.
We need both! In the meantime, I like the idea of ending subsidies for fossil fuels since it incentivizes building a moonshot technology that everyone can adopt, and curbing our reliance on them so that we have time to build better technology.
Some Trees Can Make Droughts Worse
If you read other sources on the story of this guy, most seem to make him seem like a scam. But since I can’t judge what is “fake news” and not, all I can say if fuck this article for making it seem like Ecuador is making a stand against the US for some kind of freedom. Being from Ecuador, I can realize that this is just a political move from Moreno. He fucked over Assange because Wikileaks started revealing the dubious dealings of his family. But now he wants to seem anti-US like his predecessor Correa did by denying the extradition of some small insignificant player line Ceglia. This article makes Moreno seem like a brave leader taking a stand against the US. He is a tool trying to make himself look big after escaping any Wikileaks accusations. Fuck him and Ceglia
At the title, I don't think the planet need to be saved. We/They are saving ourself/theirself.
https://github.com/kragen/stoneknifeforth is 114 non-comment lines of code, compiles to 4063 bytes. (he mentions it's about half the size of the otccelf tinyc)
> My fear is that we take a big sledgehammer to the fossil fuel industry and infrastructure, and in so doing also take a big sledgehammer to our entire economy. So big in fact that we face a generational backlash against de-carbonizing.

It still seems like the best solution is a revenue-neutral carbon tax, i.e. a carbon tax which is merely refunded to everyone in the form of a fixed tax credit.

Then the average person pays e.g. $5000 in carbon tax but receives a $5000 tax credit. But the person who burns a disproportionate amount of carbon pays $7000 and still only receives the $5000 credit, meanwhile someone who burns less carbon pays only $2000 and actually turns a profit after the tax credit.

Then we don't need all of this command and control. People have the right incentives, so they buy electric cars and heat pumps and solar panels, and the problem solves itself. The only real thing you have to tweak is the amount of the tax/credit, to adjust the trade off between being too fast/disruptive and too slow/ineffective.
> The fact that I can't even answer that simple question troubles me.

Well, we don't (AFAIK) know the total amount of non-GDP transfers of wealth that occur. If you limit taxed transactions to just the transactions that show up in GDP, then it's equivalent to asking what the current tax-to-GDP ratio is, which is easy to look up (it's much higher than 10%.)
> But I never claimed that kids should be taught that. What I do
> claim is that kids should not be taught that it's ethical or
> normal/acceptable to try and use malicious functionality to
> institute vendor lockin, creating an artificial monopoly in
> compatible peripherals, because it isn't.

I'm sorry, I didn't buy a Raspberry Pi for my little brother in order to teach him about vendor lock-in. I bought him a Pi so that he'd learn Python and explore the boundary between the electronic, software world and the real physical one that so often seems shrouded in mystery. I did not buy the Pi because I like supporting non-open companies- I bought it because A) it has a great value proposition, especially once you factor in the community support, and B) I like the Raspberry Pi people. They have hearts. They care. I understand them DRM'ing a $10 part when it's not crucial to standard operation (nor a lot of projects) and it's not like you can't just get an old PC and stick a webcam on it.

The way I see it, a Raspberry Pi is more than the sum of its parts- while commercial companies care about the chips and the complexity a solution like a Pi can remove, I personally bought a Pi for my brother to learn on.
Yay, Reddit all over again...
How a Bird Started a Fire at a California Solar Farm
Java's productivity is high with good choice of libraries and an IDE that Intellij that offers fantastic refactoring, code generation and code-intention abilities. And Kotlin's productivity is even more higher since all the above apply along with convenience language features for succinct and functional-style coding.

So I would rate Java as fast and Kotlin as very fast in the dev productivity scale. You can really push the pedal in these two if you are working in an IDE and you can change your design iteratively on the go thanks to excellent tooling.
Funny to see that the problem was a faulty switch. My own Rancilio Classe 6 has had at least two different switches spontaneously short/blow out. Electro-mechanical switches are like 1930's technology...is Rancilio pushing the make-it-cheaply effort 5% too hard?
Nothing is forcing you to switch from your custom solution to the native support. If you don't switch, you are in the same situation as if they native solution was never invented.
It's not set in stone.
How is this worse than the US tech industry? Silicon Valley loves autistic people as long as they're the right kind of autistic, the kind who will routinely get obsessed with their work and not mind being in the office 80+ hours a week.
Ambiguity is the mood coming from California (especially Silicon Valley)
Maybe somebody else knows where to wave the dead chicken to make postgres under WSL work well, but my last two tries (Feb 2018, Nov 2018) suggested that trying to do so invites lots of yak-shaving, pain, and poor performance. And that's just using the package manager to install, if you want to build from source, it may not work at all.

Stories to the contrary and hints how to make it work are welcome.
To some extent there is some legislative action (particularly at the state level) that addresses this.

The term commonly used here is “Balance Billing”, though that refers to a variety of “surprise” bills.
As demonstrated in this article[0], font weight is critical for accessibility, even if the contrast passes WCAG "at any size."

[0]https://medium.com/@mandy.michael/creating-accessible-text-6...

[1]https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-cont...
Does the resampling and bit-depth reduction of the wav file actually help? My intuition is that a modern encoder like Opus will work better if it has more information.
FWIW, I pay $12/year for my domain and $0 for hosting.
These types of AI promotion seem to be a sort of cop-out that suggest we all look forward to a hands-off future where computers will be able to do everything for us.

Then human minds will be allocated away from thoughtful interaction with their environment and into an all-hands-on-deck scenario where neural net operations are given top priority so they can churn out some answers.
Thank you, their website does not have any pricing information for the molds.

Though according to the map on their website the nearest place to me that does the molds is a 5 hour drive away. I guess you could probably get most audiologists to do it for you anyway?
As you get used to the language some of the reasons make sense why it isn't C like. An example I've found is that (arg1, arg2) always defines a tuple wherever it is a function invocation or not. You can pass a tuple around to a tupled-arg function/method (C# style) with multiple args without unpacking it first as a example. Space orientated languages can be better with expressing in-language DSLs as well IMO allowing you to add symbols as appropriate.