skysight-inc/HackerNews huggingface dataset:
The D1 Mini is my favorite ESP8266 board right now. It has built-in WiFi of course. It is physically smaller than a NodeMCU, but still exposes enough GPIO pins to allow interesting peripherals. The built-in micro-USB connector and USB-Serial chip means that programming it is easy, it doesn't need a separate programmer like the ESP-01. Unlike the ESP-01, the D1 Mini exposes the GPIO16 pin (aka D0) which is required to wake the board from DEEP SLEEP. The ESP-01 requires a soldering hack to enable DEEP SLEEP.

The LDO voltage regulator on the D1 Mini is so good that in DEEP SLEEP mode, it consumes only about 200 microamps, so I use it directly in battery-operated applications. In comparison, the ESP-01 goes down to 40 microamps in DEEP SLEEP, so the overhead of the voltage regulator is only about 160 microamps. (Edit: Both of those numbers include the DHT-22 temperature sensor).

My outdoor temperature sensor uses a D1 Mini with 3 x AA NiMH batteries feeding the voltage regulator, and it lasts 4 months. It wakes up for 5 seconds, every 15 minutes, reads the temperature and battery voltage, then transmits the info to an MQTT server. In theory, the ESP-01 (w/ soldering hack) would last 6 months on those batteries, but the difference isn't worth the extra hassle of an ESP-01 for me.
Spotify Is Paying Podcasters Thousands of Dollars to Buoy Its Sponsorship Tool
Sure, but that does not mean that their side is always the wrong one on every issue. They can do evil and good at the same time.
I wish we could pay for them here .... we have to wait at least 6 months before even being able to sign up to get something. (Netherlands)
I agree that TypeScript isn't an obvious choice for writing a compiler, but self-hosting still has advantages. It tests out the language at scale, and there's the 'dogfooding' aspect that the compiler developers use the language they created (although as you say they're using it for an unusual purpose).
The Second-Generation Covid Vaccines Are Coming
Automating Excel File Creation and Distribution with Pandas and Outlook
Didn't read your linked study, the linked blog post threw out the actual data though. Not surprising you get nothing of use when you start with:

> Each attribute also has a feature named raw_value, but this is discarded due to inconsistent reporting standards between drive manufacturers.

Sure, raw_value is inconsistent between manufacturers and sometimes models, but it's the most real data.

Edit to add: reread the Google survey, which says more or less bad sector counts were indicative of failure in about half the cases; in 2007.

One thing to note is drives made now may perform differently than those in the 2007 survey. Different firmware, different recording, better soldering (200x is full of poor soldering because of RoHS mandating lead free solder in most applications, and lack of experience with lead free solder leading to failing connections).

I found, in 2013ish, with a couple thousand WD enterprise branded drives that just looking at the sum of all the sector counts and thresholding that was enough to catch drives that would soon fail. If your fleet is large enough, and you have things setup so failed disks is not a disaster (which you should!), it's pretty easy to run the collection and figure out your thresholds. IIRC, we would replace at 100+ damaged sectors, or if growth was rapid. Some drives in service before collecting smart data did seem to be working fine at around 1000 damaged sectors though, so you could make a case for a higher threshold.

SSDs on the otherhand seemed to fail spectacularly (no longer visible from the OS), with no prefailure symptoms that I could see. Thankfully the failure rates were much lower than spinning disks, but a lot more of a pain.
Join the Development of a WordPress Alternative
Hate WordPress?
Looking to start your own website?

What we offer
- Unique Website Hosting.
- Open source PHP snippets and code.
- A fun, tightly knit, Discord community.
- A powerful, easy to learn CMS.

Wanted
We are looking for back end PHP developers, UI designers, and people wanting to make their own website!

Languages
HTML, CSS, PHP, MySQL, JavaScript, JSON, Python.
https://discord.gg/nmJ76hN
These boards are designed to run whatever script you flash to it in a loop and will do so as long as the board has power. The script your write is the operating system.

Think: relatively simple, dedicated, repeatable applications (if/then scenarios)

Controlling lights in your house, simple robotic behaviors (sensor I/O and motor control, nothing ML related), or reading/displaying sensor data (temperature, light, etc), are common applications for microcontrollers.

There isn't enough onboard memory to run anything too complex like an OS. If that is the route you want to go, the Pi Zero might be more suitable for an entry-level board that can handle a Linux kernel.
Is it batch perhaps? I’m pretty ignorant too.
Twitter suspends the account of Venezuela's new National Assembly
A five month quest to ship a single line of code
CDC has recommended groupings: https://www.cdc.gov/coronavirus/2019-ncov/vaccines/recommend...

I would imagine that as we get further into the effort, most/all states will end up doing something like this. And in any case, the companies in the article will be prepared for rollout to general population.
It depends on what the environment is for. Your company work, or individual projects?

If you're an individual, then it would benefit someone who has multiple devices and/or multiple operating systems and doesn't want to manage their environment across all those devices and operating systems. For example, I personally have OSX, Windows, and several different Linux distributions on my laptop itself. My desktop also runs several operating systems.

Managing software across all of those is a pain. With Docker, I only have to manage the containers, and just have Docker installed on all the operating systems. Instead of managing like 50 different dependencies across 7 systems (think 7x50), I only have to manage Docker inside each system.

If you're working for a company, they will have their own dev environment. Instead of setting up and troubleshooting all their dependencies on your computer, you can just use their containers.
> I spent two and a half years on [a submarine].

Hah! I spent a week aboard a fast attack, on TAD just before nuclear power school; the experience gradually convinced me that I should be a surface nuke. (My tuber buddies at nuke school joked that by making the switch, I raised the average IQ in both communities.)
the solution to this is to enable NFS for your volumes. The default volume configuration is a huge bottleneck for docker on macos
If your project is targeting an environment you don't control, and doesn't behave exactly like an environment you have exclusive access to, your code won't run the same way in the production environment as it does on your machine. There are different strategies for dealing with this, but Docker seems to be the sweet spot for making it easier. You use Docker to create a container that mimics the production target, and then use that container to develop in.

You could reconfigure your laptop to look exactly like the production target, but then you have to keep doing that every time you change projects.

Before Docker, I used VMs for this, but VMs have certain disadvantages that Docker addresses. Like size, and documentability. Every time someone wanted me to look at a project, we had to figure out a way to transfer and store a copy of a 20+ GB VM. And they couldn't tell me everything they did to create that VM from scratch, because VMware doesn't do that and neither does Hyper-V. With Docker it is just a small text file that describes everything it takes to create what was previously a massive, undocumented VM image. It forces you to document how to create the environment, and it saves on the space and time of transferring VMs around.
> Slovak investigators, working with Europol, the European Union’s law enforcement agency, cracked Kocner’s phone and gained access to encrypted communication via the instant messaging app Threema.
Your post reminded me of this humorous drug education film parody:

https://vimeo.com/44733000
I imagine that’s true. I don’t expect that the researchers building early networks behaved as people do online today.

It’s a shame that this thing that excited me (internet) has become something that I now consider a huge barrier. Not that we should be without the benefits; I simply don’t know how we reconcile the vile aspects.

Eternal September:

https://en.wikipedia.org/wiki/Eternal_September
1. Land use for agriculture is going down in the US [1], as with most developed countries. Factory farming is more intensive per acre, leading to fewer. Likewise forests in Europe are expanding [2]. Industrialized agriculture leads to less land cultivated because of its greater production per unit of land. Much of the land used for agriculture today was deforested over 70 years ago.

2. NASA puts the estimate at 300-1000 years [3], but it looks like this includes carbon sequestration as one of the decay methods not decay in the atmosphere like methane. Absent sequestration, carbon dioxide lasts a lot longer.

3 & 4. While methane has greater short term effect, the total amount of methane being released is orders of magnitude less. About 2.5 ppm of carbon dioxide is added each year, as compared to methane's 5-7 ppb added each year. Note the difference in units, parts per million versus parts per billion. Sure it's 25x greater impact, but it's emitted 500x less and decays 30-100x faster. That's why methane's contribution to thermal imbalance is relatively static while carbon dioxide's is increasing [4]. Carbon dioxide is overwhelmingly the cause of climate change.

1. https://www.ers.usda.gov/amber-waves/2017/december/a-primer-...

2. https://www.weforum.org/agenda/2019/07/forest-europe-environ...

3. https://climate.nasa.gov/news/2915/the-atmosphere-getting-a-...

4. https://www.climate.gov/news-features/understanding-climate/...
Define “soon”.

It seems like February will have a bit of a vaccine supply drought. But Pfizer and Moderna are scaling up, and hopefully the Johnson & Johnson vaccine gets approval and gets past initial production hiccups.

So, maybe hope for March for jabs for “front-line” workers? Warehouse workers, bus drivers, cashiers…
The fact is that there is no correct "text string" type, because there are no valid operations on so-called text strings in general.
> "This thing comes with documentation, right?"

This is the most painful part for me. If you're trying to understand some code written in Gratuitous Object Astronautics style, it's almost universally assumed you're fully aware of why the product contains hammer factory factory factories, how factories work, and how get an actual hammer to swing.

The Gratuitous Object Astronautics culture is so accustomed to all the nonfunctional boilerplate that skilled, self-gratifying, astronauts never need to document their cleverness. This leaves casual tourists in the dark, which is a problem in any organization.
www.truzo.com

unfortunately banks charges relating to payments govern the cost of an escrow service hence it makes more sense for larger value transactions
Yes, low-wage workers are famously litigious and apt to bring frivolous and endless claims unless the government steps in to protect the negligent employers.
I guess the whole point of the question is that there is no documentation.
Generally, if you can get away without using a full Linux SoC then it’s better to use a microcontroller platform like this.

Microcontrollers allow much lower system complexity, more predictable timing and real-time response times, and nearly instant boot times.

Virtually every USB port can supply at least 100mA, so for most applications there’s no difference between using 9mA or 90mA. That said, if you’re making a battery project you’ll almost certainly be able to stretch the microcontroller further. Micros generally have fantastic support for low power sleep modes.
Many diaspora from the global south, who grew up in countries with state media, but now lives in the west will tell you even the free-est western fifth estate is prone to manufactured consent that is frequently indistinguishable from state propaganda. IMO perfunctory rationalization extends into this labelling as well. Of all media sources, state media is probably the easiest to identify. Presumably that's what Twitter's labelling is for, unless it's actually a wiki style reliable source list, in which case it should be advertised as such. If not then BBC / CBC is government funded state media and should be labelled as such.
Using satellite imagery and deep learning to count elephants in landscapes
You know what else destroys the structure of the plant? Chewing.
> I think this is a wrong use of the term "dependent types".

The operative term here is "a certain amount." `typeof` in Typescript is definitely a dependent type operator (it takes a runtime value and extracts its type which can then be used as a type signature for other types).

You don't have full-spectrum dependent types a la Idris, but you do have some amount of dependent typing. See for example

type MyResult<T extends boolean> =
T extends true ? { tag: 'a' } : { tag: 'b' }

function outputTypeDependsOnInputValue(
value: boolean
): MyResult<typeof value> {
if (value) {
// replacing 'a' with 'b' is a type error
const result: MyResult<typeof value> = { tag: 'a' };
return result;
} else {
// replacing 'b' with 'a' is a type error
const result: MyResult<typeof value> = { tag: 'b' };
return result;
}
}

Now there's a good deal of limitations and hackiness here in how you call this function (in particular you need some weird overloadedness to preserve the types at call sites), but it is really some measure of dependent types! I'll include a full example at the end of this post.

> Dependent type systems are complex because they also want to be sound.

Dependent Haskell, if it lands, will not be sound (TypeInType). Idris 2.0 currently also is explicitly not sound. In the case of Idris that's mostly a matter of prioritization, but it's enough to demonstrate that soundness is, perhaps surprisingly, not a huge priority for even all full-spectrum dependently typed languages.

Full TS example:

type MyResult<T extends boolean> =
T extends true ? { tag: 'a' } : { tag: 'b' }

function outputTypeDependsOnInputValue<T extends boolean>(
value: boolean
): MyResult<T>

function outputTypeDependsOnInputValue(
value: boolean
): MyResult<typeof value> {
if (value) {
const result: MyResult<typeof value> = { tag: 'a' };
return result;
} else {
const result: MyResult<typeof value> = { tag: 'b' };
return result;
}
}

function worksWithA(a: 'a'): void {}

function worksWithB(b: 'b'): void {}

function useOurFunction(value: boolean): void {
if (value) {
const result = outputTypeDependsOnInputValue<typeof value>(value);
worksWithA(result.tag);
// worksWithB(result.tag) is a type error
} else {
const result = outputTypeDependsOnInputValue<typeof value>(value);
worksWithB(result.tag);
// worksWithA(result.tag) is a type error
}
}
I wonder if Twitter has crossed some kind of imaginary line now that almost compelled it to censor more. I would have liked to see more actions like this in the past, but maybe Twitter needed to cross the Rubicon and censor the president in order to feel comfortable with censoring other countries and entities
I mean in a sense, the fucked up behavior of system package managers relative to the actual concerns of building and distributing software to the masses is the reason we need Docker to sandbox environments in the first place. It's 2021, there is next to no reason why the default behavior is installation to /usr/lib with shared objects that are rarely shared, with global access when installed for one application used by one user, and linked dynamically when the object never changes over the lifetime of the running application.

For all its warts this is something that npm gets right. Package management is a tool for software development, not software distribution to end users.
vetted dosage recommendations on the bottle?
But you can easily switch projects in-company, take a look at the one next cubicle etc. You switch machines. You decide work from home etc.
Related, looks like Signal recently added a support doc for this issue.

https://support.signal.org/hc/en-us/articles/360055276112-In...

More discussion found at https://community.signalusers.org/t/signal-should-warn-users...
Correct me if I’m wrong, but wasn’t Italy a bunch of duchies up until the 19th century?
>Twitter is banned in China. Why should Twitter let the CCP use their platform for propaganda campaigns?

So because somebody else limits freedom of speech, we should abandon our values and limit theirs?

>Do you think Twitter banning them is as bad as CCP concentration camps in Xinjiang?

Do you think Twitter banning them helps those interred in concentration camps?
I don't understand how more aid will help rather than exacerbate the problem.

If the previous stimulus checks artificially propped up the economy, gave stock market a boost and led to this Well-off people getting More-well-off effect, how will another stimulus package be any different? The only way I see of doing that is sabotaging the economy (ie, mini-recession) or full on socialist/communist control to distribute the wealth, neither of which sounds pleasant or great in any way shape or form.

Not an economist, just my two cents.
For that you probably need to get to a higher level https://en.wikipedia.org/wiki/Nirvana.
Two people are taking part in a scientific study to investigate people's approaches to problem solving. One of the two is an engineer, the other is a mathematician.

The researchers set up an experiment by putting a sink, an empty bucket and a waste paper bin in a small room. Then they set the bin on fire, and call the engineer in to see how he approaches the problem.

The engineer takes a quick look around, assesses the situation, and then takes the bucket, fills it with water at the sink, and pours it on the fire.

The experiment is then set up again and repeated, this time with the mathematician. Like the engineer, he quickly fills the bucket and puts out the fire.

Next, a slight variation is made to the experiment: it's the same as before, except that the bucket is filled with water in advance.

As before, the engineer goes first. Upon seeing the fire, and the bucket full of water, he pours the water on the fire without hesitation, and all is well. The team nod to each other and mumble approvingly, writing the results on their clipboards.

Now it's the mathematician's turn again. The team resets the experiment and calls in the mathematician. He looks around at the situation, and sees the bucket of water, the sink and the burning bin. He then calmly picks up the bucket, pours the water down the sink, puts the bucket back down, and stands back. "There you go", he says, "done!".

The researchers look at him, and at each other in total bewilderment. "What do you mean, 'done'" they ask, "the bin is still on fire!".

"Yes", says the mathematician, "but I've reduced it to a previously solved problem.
I'm not surprised by the conclusions, I've never seen anyone claim SMART has ever been useful, unless the HDD is already known to have issues that are already noticeable without SMART, SMART just makes it possible to diagnose the actual problem. Though, of course this is limited by my own anecdotal research and personal experience.

What I wonder than, is if sensitive isolated microphones could be tried for this purpose? We already know that sounds (ie yelling at the drive) can vibrate the platter enough to cause performance degradation. If there were internal mics in each HDD recording sound as the HDD spins and correlate that to HDD activity, could that be correlated with failure rate?
Great post, glad to see something written from beginning to end. One thing that surprised me though is that there wasn't a single word lost on feature selection (by looking at feature importance for correct predictions) or feature engineering by combining features or somehow else applying domain knowledge. So for example, trying to figure out if you can put different attributes in relation to each other to get a better feature (e.g. number-of-spinups / operating-time-in-hours). Personally that would be the first thing I'd try, and coincidentally it's also the most fun aspect of machine learning for me ;)
It depends on how large your organization is and what specific quirks need to be configured to do your work.

Its not unusual for large organizations to have internally hosted registries (Artifactory), source control and network proxies. This usually requires setting up different config files (.npmrc for Node.js/NPM), installation of custom root certificates, ssh keys, etc. None of that includes project/team specific configurations and workflows.

Take all that and multiply it by thousands of developers and you have a recipe for an endless stream of Slack chats, email chains, and Teams messages repeating the same config questions and answers.

If you can reduce all that down to a single docker pull, while making sure everyone's development environment is consistent, it can be a big win.
$15 an hour mandatory will be a sure way to crash the economy, notwithstanding we are already at a likely top of one of the longest running bull markets in US history - - with big spending democrats at the helm. Biden will get all the blame for the next years of recession.
Sorry, just to clarify - are you saying that self-hosting Beeper is a lot of work, or that self-hosting Matrix with bridges without Beeper is a lot of work?
Prostate cancer can be precisely diagnosed using a urine test with AI
Without connections in the industry it would be hard.

These things cost time and money. It’s not something you can do in one year. You need five to seven years... if you’re on the right track.

Also you cannot know in advance if a clinical product can be repurposed because that’s not evident till you begin studying your first target (where the data might show other unpredicted positive outcomes elsewhere.)
Schlepping around and running a whole VBox/Vagrant VM is heavy enough that I will be motivated to see if I can’t get it working under MacOS. Running a container is less offensive.
> I run a single-user instance

How has that experience been? The thought crossed my mind but I didn't know if the effort/cost would be worth it.

Also, how much of your curated feed is Mastodon-like, and how much is other kinds of content? Been poking around at blog platforms that connect to the fediverse and would love to hear some insight if you have any.
I use Signal on Android and I definitely have no Google account. It seems to be an optional component of Signal. As well I never was asked sign up anywhere.
> I see this brought up a lot as an argument. So why do we want this? How often do people switch companies?

It's not about you. The people coming in generally need confirmation and help when setting up their environments. Someone there would have to take time out of their day to help you. A few hours, a few days, a few weeks, a few deleted companies (https://news.ycombinator.com/item?id=11496947).

Here's an even more fun one: https://news.ycombinator.com/item?id=14476421
Ah hah, thank you!
> There's nothing particularly interesting about us vs. any other ant colony.

I'd hope not. 'Interesting' ant colonies sometimes get molten aluminium poured down them to make a cast of the nest.
Prop 19 only made is so that heirs inherit the tax status if they use the home as a primary residence. So you can still own 3 houses, and give each one to a child and they will inherit the property tax if they live in it.
True maybe when it first came out but not so much nowadays. Authorized resellers still have the $5 price but the shipping is “steep”.