skysight-inc/HackerNews huggingface dataset:
The prevention of starvation is the problem which currently requires food but in the future may not (photosynthesis, man machine merger etc)
How to flash an LED: writing ARM assembly for an STM32 microcontroller
Bloom Energy fixing broken ventilators from the national stockpile
But this is exactly why people keep piling on about python 3, as an "upgrade" it was worse than what tried to replace for 8 years.
Is it correct that I can just buy their products and own them? No online activation, no telemetry, no license checks?
Or maybe hospitals aren’t using a consumer smart thermometer and more people are now hospitalized.
Chamath Palihapitiya's Social Capital Annual Letter (2019)
The whole year has been an April's Fool joke so whatever...
> With regards that anything can be streamlined: sure, but it’s also about the amount of investment
> that would take.

Yes, I can't deny there is more up-front cost in C for some things.

> The fact that you hate function pointers and void* context pointers is an
> exact confirmation of my premise: people think it’s too much of a hassle.

My point was that there's usually a better way to get around a language's (in this case, C) limitations, and it's not necessarily macros every time. At least for the problem of abstract base classes, I rather liked your hinting of the linker swapping out the desired implementation for test binaries. That makes sense, since I think I've never seen an abstract base class (which is abstract for testing purposes) have more than one implementation per binary.

As for mocks, the fact that they're hard to do in C may be a feature in disguise...
lately I've been reminded that The Plague by Albert Camus had an influence on me. I was unfamiliar with existentialist philosophy before reading that (in translation, for a high school English class).
Hi, thanks for the follow up. So all of the content listed in the table of content is currently available in the ebook then?

I ask because there's 3 or 4 titles on your "coming soon" page that I'm very interested in but I have limited funds for a purchase. Cheers.
From my link "a person who engages as a business in the transfer of funds is an MSB as a money transmitter, regardless of the amount of money transmission activity." (emphasis mine)

So, YES. Did you just stop reading after your bias was confirmed?
Realize you’ve screwed your self over for underbidding and not do it again?
I have a large hosts file on my Mac with Steven Black's blocklists. It takes a few seconds to load in vim but doesn't seem to cause any problems with lookups.
Why is Rails boot so slow on macOS?
It's designed to limit the damage when people put their AWS admin credentials on GitHub or in their Android app and someone uses it to mine Bitcoin :)
While true, the disease was being spread weeks or a full month ago by asymptomatic people who didn’t know they had it before quarantines were in place. And that’s when we had every major news source, including the NYT, telling people that masks aren’t effective and not to buy or wear them.
Assuming you were incorporated and had a business account - declare bankruptcy and the bill goes away. I don’t understand why you would still pay the bill if you were going out of business anyway.
Daily-updated list of evidence against Covid-19 panic
Show HN: PokerTime – a realtime planning poker app for remote teams
In a perfect free market for a commodity price is the marginal cost: in other words if there is demand for N barrels of oil per day at the market price, that market price is the cost of production for the Nth most cheapest production cost. Anybody whose cost of production is cheaper makes money.

For a long time that marginal cost was Canadian oil sands oil, which cost about $40 a bbl to extract and $10 to ship. The Saudis who can produce at $10 a bbl were making money hand over fist.
In addition, some places like the US are really a collection of states. The federal government has little to do with testing policy, so it varies considerably by the state. Producing a total for the aggregate United States really blurs things.
Related: A very basic prototype I’ve been working on, but for video zines https://kickscondor.com/slaptrash

Seems you could do something along these lines to avoid the video generation part.
Sure, you just tell Zoom to make a video conference with 40 people in a class work over a 128K connection.
I could see this being really useful for creating product onboarding video tutorials - wondering if there's an ability to preview and edit/adjust before exporting the final video?
This does not speak anything about end result. You might end up with 1000 GC collections per request. Each will be 1 ms, but total will be 1 second. It's still non-determenistic.
Saudis want to put Putin out of the oil biz.

As such, gasoline in some parts of the US is currently going for $0.99/gal (0.24€/L, 0.21£/L or 20 Rs/L).

And it's sort of funny/sad that what is called "blacktop" can be had for less than free. Transportation and steamroller not included.
Reminds me of the scene from Deutschland 83 where the Stasi have evidence against a Western Beuracrat that could've had him tried as an Eastern spy, tarnish his reputation, and show his wife evidence of his affair.

His solution? Kill himself before the Stasi's deadline.
That said, it's a lot easier to take precautions on surface contamination versus aerosol contamination.
There are a ton of engineers that don't know this. They like building things, and talking to users is hard. So they just build stuff and throw it over the wall.

And I get that. I have hobby projects because it's nice just to go wild and code for my own entertainment. My home lighting system is a custom Scala actor-model daemon, because 5 years ago I thought Scala was cool. (In retrospect: nope!) Building things is fun.

But when I'm on the clock, I've learned to be relentless in understanding actual users and their needs, and ruthless in pruning back the many things I'd like to build down to what actually serves people.

That's not easy even in the best of cases. And in companies that have waterfall-ish leanings or command-and-control managers, it's often impossible. So a lot of programmers learn to build whatever they're told, regardless of whether it solves a problem. And a good chunk will do it in ways that entertain them, because when managers drain all meaning out of a job, we are forced to find ways to create some for ourselves.
Holy crap dude, that's some nightmare shit right there.

Does AWS update the billing console per day or upon request? I get charged per month, but I should add a habit in my habit tracker to learn more about my expenses...
How many is a shitload of instances? Are we talking tens, hundreds, thousands?

In my experience AWS had very stringent limits on the amount of active instances of each type (starts around 10 for new accounts, 2 for the more expensive instances). It takes tickets to support then days of waiting to raise these limits.

That should have prevented your company from creating tens of instances, let alone hundreds, unless that's already your typical daily usage.
AWS is pretty flexible on first-time mistakes in a particular account; I've personal knowledge of several $5-10k "whoops" bills being nulled out.

There may be a maximum threshold for this, though.
wow, that sounds worthy of a re-read in english just for that. thanks!

just in case there are other Romanians around, the best translation I've found is the one by Antoaneta Olteanu (from Corint).
I’m writing a book, donating profits to Covid-19 efforts, documenting process
absolutely hoping to get feedback here.

the framework and all demo apps are using the MIT license, so they are meant for others to step in.
If what he's doing is so worthwhile as you say, shouldn't he donate?
This is not inevitable. The government could stop it.
The author mentions decision fatigue and then cites that well-known judge study [1], implicating decision fatigue as an observed effect. However, the judges study probably isn't the best example of decision fatigue; see program_whiz's explanation [2] from another thread [3] on the judges study:

> Here is the refutation being referred to in the article, the article author did a poor job explaining it, and the reason to reject isn't "effect is too large", because the effect is real -- but this study explains it: http://journal.sjdm.org/16/16823/jdm16823.html

> 1. Prisoners are ordered by whether they have an attorney (so those going last in a session are self-represented)

> 2. Judges order prisoners often by "complexity of the case", so the ones taking most time are first (and therefore most likely to have a favorable decision, a short/easy case is probably a no-parole situation)

> 3. Statistically, the cases that gained parole take longer than those that don't, so even if they are random/normally distributed, then if one falls at the end, it will come back to the beginning of next session. A simulation shows that even with random ordering, you still get the same graph (because the long/complex cases that could be paroled tend to be moved to next session when the session is almost out of time).

> So after reading this, the graph means: Ratio of cases with a lawyer that can be finished in the remaining time in the session.

> Both values are decreasing as the session continues, so it produces a heavy down sloping graph that resets each session to some approximately random value (.65).

[1] Extraneous factors in judicial decisions | https://www.pnas.org/content/108/17/6889

[2] Here is the refutation being referred to in the article ... | https://news.ycombinator.com/item?id=14703990

[3] Impossibly Hungry Judges | https://news.ycombinator.com/item?id=14701328
It's not just that they're not cool, it's just that when you have billions of users, even if only 0.00001% takes the joke seriously it can lead to personal tragedy such as people losing their jobs.

https://www.telegraph.co.uk/technology/2016/04/01/gmails-mic...
Ask HN: Will auto insurance premiums go down?
If everyone is driving their cars less, there’s fewer traffic accidents and the risk of driving would be reduced. Assuming the auto insurance market is competitive, why aren’t premiums going down (or are they)?

I assume this would be offset by house insurance premiums maybe going up (given more time at home working but less chance of burglary). Should we all be renegotiating our auto insurance?
Launching GMail on April 1st was funny.

Nobody believed that 1GB of free email storage was real, back then ~10MB was the norm.
It's not clear to me why you think that this anecdote had any particular intention. My intention was not to promote any position at all, but rather to tell an amusing personal story that I was reminiscing about because of an email I got from a young friend.

Anecdotes are by definition anecdotal; I am not promoting an anti-science position by relating a personal anecdote and I resent the statement that I am doing so.

If you'd like to write a blog article that promotes scientific thinking, I strongly encourage you to do so.
But far more people have a better life because the oil cartel isn't United anymore.

Cheap oil is better for billions of people in India, China, and Africa
Yeah, they could force doctors and nurses to work overtime for free.
This book has a very concise writing style. I really wanted to keep it small enough to carry on an airplane (when we are allowed to fly again). I'm really proud of the final product and very happy with the editing staff at No Starch who helped me produce a very polished product.
Ask HN: Why aren't there many credible online bachelors programs?
There are swaths of masters programs out there that can be completed online, and are backed by legitimate, well respected institutions.

bachelor degrees, on the other hand, seem to be pretty desolate. There are a handful of well known, decent schools that offer online bachelor degrees, but majority seem to require existing credit or offer non-sense sounding degrees in favor of normal ones (i.e. I've seen schools offer degrees in Professional Studies, Organization studies or Interdisciplinary Studies vs. Computer Science or Physics). Occasionally, you can find a legitimate looking CS degree from a legitimate school, but the programs still seem be below what you would get in-person.

I imagine there has to be a number of uneducated, working people who want to achieve more, or who's career progression many be held back because they don't have that credential, but the only schools advertising to them are the for profits, who charge exorbitant amounts for what seem like below average programs.
Title should be “The rise of fact checking”
self-hosting and remote code execution don't go well together. In that very moment it's not apt for non-tech users which is the main target group AFAIK. Very sad. Just too much complexity.
It's been announced here (Ireland), though the official government contact-tracing app is as yet unreleased. It's believed to be a based on Singapore's BTLE one.

It's largely irrelevant though. As much as it may help a little, this just isn't manageable through contact tracing. While Singapore are being lauded for their CT approach, they've still largely been successful in their efforts due to social distancing (and a culture of widespread adherance), along with things like widespread testing, and effective govt. communication of data.
What kind of preview are you thinking about?

Building a full video is fairly quick compared to traditional editing tools, so I haven't built any faster preview yet. I usually just build the whole thing and look at it, then tweak the script and build it again.

You can easily upload just the script file into an existing project and re-build the video as many times you like, then download the version you are happy with at the end.
“Today I cut my pay to $0. I'm committed to laying off 0 of our employees.”
Honestly, you really can't separate the two. Half the bureaucracy is the direct result of political action, and each political action further constrains the ability to quickly mobilize further political actions due to the necessity of conflict resolution.

It would be more accurate to say some politicians solve problems for some time; after which their solution becomes someone else's problem.
Why didn't I file bankruptcy? This happened in Australia and declaring bankruptcy was not the right thing to do - for many reasons, not the least of which it makes it much harder to operate as a director of a previously bankrupt company, but in the worst case my bank would have just gone after me as I'd given a personal guarantee.
The same concept applies in the human foot in the form of three arches that allow us to walk and run.

I recently read an article about the role of the tranverse arch on HN, but can't find the link. Here are two others that talk about the same thing:

https://www.nature.com/articles/d41586-020-00472-z

https://www.nationalgeographic.com/science/2020/02/why-human...
China and Huawei propose to replace IP with “New IP” that supports gov't control
You can redefine Math.round. It's an ordinary method from rt.jar. You can change rt.jar or you can redefine it with java agent.

Not as straightforward as with JS, but Java JIT still have to account for those things.

May be it will assume some things about standard classes for optimization, but for user classes that will be true anyway.
This is great. Some practical downsides though: it's not available for all architectures (e.g. WebAssembly); the license is GPL, which makes this unsuitable for some applications; and finally the project is run by Oracle, which is reason for some to avoid this project.
I think what's confusing, is that if one doesn't switch, the first selection is still 1:3 - since you randomly picked 1 door out of 3 (the fact that one is revealed does not change that).

The strange thing is that "choosing to stay" somehow doesn't behave like a new 50/50 choice, but choosing to change does.

Intuition implies that given a random choice between a, b and c - chances are 1:3. And given a new choice a or b, chances are 50/50. But you only get to act on new information (make a new choice) if you change.

I must admit I'm still confused on this, and wonder if it bears out in simulation (that always change is better than random stay/change when offered to choose again

Ed: paultopia has a nice simulation and explanation below:

https://paul-gowder.com/montyhall/

Significantly - staying means the player remains at 1:3, but since we now know the chosen door, or the alternate, holds the car - if staying is 1:3 wins, changing must account for the remaining 2:3 - since there are only two options. And random choice is also better than staying (it's 50/50) - but worse than changing.
The guy who invented copy/paste, Larry Tesler, recently passed away last month.
https://www.bbc.com/news/world-us-canada-51567695

> Possibly Mr Tesler's most famous innovation, the cut and paste command, was reportedly based on the old method of editing in which people would physically cut portions of printed text and glue them elsewhere.

> The command was incorporated in Apple's software on the Lisa computer in 1983, and the original Macintosh that was released the following year.

Here is Larry's website. RIP.
http://nomodes.com/Larry_Tesler_Consulting/Home.html
I think it is not possible to compare. The book is an epic experience and a teaching (that also takes time). The film is a good film. I saw it after reading the book. The effect is the same as reading Mario Puzo and after seeing the movie The Godfather (great movie but the book is another story)
I live in Italy in a city with several hundred cases. I have a country house, and we're not moving there. We stay the fuck at home and we are under 50, we'll be fine. Don't be that guy, stay were you are.
Coronavirus communication: Video chat app Marco Polo helps connect you
I liked Google Gulp.

https://archive.google.com/googlegulp/
Maybe they already have a full-time job?

Anyway, it's free software. Anyone in the world can do that if they want. You can do that.

Also, it's poorly scoped. Pihole is just an app. Any ownclowd provider can more efficiently host it along with a bundle of every other app people
want to "own" but not run locally.
It may be because some people are starting to feel modern languages are bloated.
What's the technical process to ensure that this never happens? Nowadays, having to have someone "watch" the test and then kill the instances is manual labor which is a no-no. So how do you make it so that your test fires up the instances, and then kills them when the test is done.
A JIT is just another cache, like memory. Yes, it’s hard to predict, but not fundamentally that different from caching in any language. It does mean perf tests have to be end-to-end and match real-world loads, but it doesn’t mean it’s “impossible” at all, it means you need to measure.

Is this a real problem? I’ve been profiling my JS for years and never actually run into a mysterious problem where some important code I profiled was way way slower in prod than when I was profiling. Has that happened for you? How often does this happen? I take it as an assumption that profiling is something you mostly do on inner loops & hot paths in the first place. I mean, I profile everything to look for bottlenecks, but I don’t spend much time optimizing the cold paths.

> Get notified about deopts in hot paths

Studying the reasons for de-opts help you know in advance when it might happen. If you avoid those things, do-opts won’t happen, and you don’t need notifications.

For example, ensure you don’t modify/add/delete keys in any objects, make sure your objects are all the same shape in your hot path, don’t change the type of any properties, and you’re like 90% there, right?

> statically require that a given section can & does get optimized [...] compile likely sections in advance to skip warmup

While these don’t exist in V8, it’s maybe worth mentioning that the Google Closure compiler does help a little bit, it ensures class properties are present and initialized, which can help avoid de-opts.
I remember doing something similar for real estate a few years ago. Could be an interesting segment for you?
To be fair, there have also been plenty of times in this situation where the senior dev was wrong. You were right to question things and we should make sure to continue to encourage questions. The difference between a new grad and a senior dev is that the senior dev has the real-life experience to make the "yes/no" decision as to whether the new grad's input actually makes things better (e.g. it could be true that it doesn't matter if it is asymptotically faster if we are always working with small data). It's also a trait of a senior dev to be able to stay level-headed in these situations
Here is one calculation that estimates the Equal Value Life Year Gained as 15 years. Then, if we do nothing to mitigate the pandemic and 1 out of 200 people die, then the average person looses 27 days.
https://www.forbes.com/sites/theapothecary/2020/03/27/how-ec...

This article says it's 7.8 years on average and up to 13.26 million QALYs are at stake in the US. So it's expected that life expectancy for the whole population will decline by at most 14 days due to Covid 19.
https://www.nationalreview.com/corner/another-covid-cost-ben...
Get in line Saudis, there are a lot of people doing phone spying campaigns in the US.
> a malicious iOS cannot typically take over the OS, other applications, or exfiltrate data from other applications

Neither can a malicious Linux application.
Not that I'd want production infra to be wiped because I went over a spending limit by $1 - but can't you setup a billing alert that goes to an alarm action to terminate all your EC2 instances as soon as the billing alert triggers? Or a lambda function that iterates through your account and deletes everything?

I'm not sure why AWS would build something like this though themselves. To stop spending money EVERYTHING must be deleted (s3 / glacier / etc). If someone in accounting loads the wrong budget amount you lose all your data.

Amazon's focus seems more on making sure your data is kept and available.
Startup Just 3D-Printed 100 Life-Saving Valves for Only $1
You could also setup PiVPN[1] on the same Raspberry Pi running Pi-hole with Wireguard and setup all your mobile devices to automatically connect back home when they're off the home wifi.I've had this setup running for a couple of months now and couldn't be happier with it.

[1]: https://github.com/pivpn/pivpn
I love these paintings, reminds me how much I loved my art history classes in college. The interplay of math and art in the textures and sight lines are fascinating for me.
Or, and I’m just saying maybe, we could use this crisis as an opportunity to create a Federal-level reinsurance program. This isn’t quite Medicare for all but it would guarantee costs higher than some reasonable number are spread across the entire population.
Arduino and .NET Communication Library
Discord is a good idea, we'll try that! Thanks :)
You are welcome but better thank Buzz Aldrin, he posted this on Twitter and I thought some people here might like it.

https://twitter.com/TheRealBuzz/status/1243958872131481601
Pi-hole already does that. You can run pi-hole on your local OS with Docker. It's 5 minutes to install.
Does anyone know of a tool like this for streaming high-quality photos? I’ve been playing some board games with friends using an iPhone on a mic stand - we couldn’t use video streaming tools because the quality has been all over the place (and you can’t zoom in on the board.) So right now we have a simple app that takes a high-quality photo every few seconds and uploads it to a web server where all the players can view it - their browsers are long-polling for new images.

But it seems that WebRTC could improve this by not requiring the server code. I also just wonder what else there is along these lines.