skysight-inc/HackerNews huggingface dataset:
"air quality in most places has continued to improve, forest cover has increased, and more rivers are safe to fish in" This makes me really happy to read. I know that in the 90's, there was pessimism around the environment already (e.g., the hole in the ozone layer). It's really nice to know that from this person's perspective, things are improving.
If this is really your impression of the industry, you must be really young. It’s not “long-moated”. Intel was in a similar situation when the Opteron was current, and before they had to go head-to-head with Sun and IBM and before that nobody would even think of putting intel in a server at all. The period during which Intel’s products were the obviously superior choice lasted maybe 5-8 years at most. And it wasn’t some nefarious plot, either. Just good product.
Could it be remedied by getting more experts to join? In cases like that, the hivemind is stronger than accreditations. It might just be a good idea to have some kind of moderation that can overrule people. Although that also adds the risk of alienating people who're very adamant about their identifications.
+1 for this, Aio libs make all of this so effortless - aiohttp, aiopg, aiomysql, aiobotocore, I’m about to try aiokafka next.

Just an effortless programming experience.
Considerations for Switching to UI Automation
I didn't believe you but you're right. The uint8_t gets promoted to int, not unsigned int.

https://godbolt.org/z/icQHw3
Apple might be stingy about conditions vs warranties (understandably). But you can always go to a third party. Your warranty isn't much good anyway if you have damaged it I'd assume.

I meant the work portion of the cost, (at a third party if required e.g. because apple don't want to touch it) is probably around €20.
I was about to ask why you didn't use a timedelta, and then found out that datetime.timedelta doesn't support anything greater than week.

It also has this incorrect example: https://docs.python.org/3/library/datetime.html#examples-of-...
I'm not conflating anything, as far as I'm aware. The question was:

"the art of writing compilers and interpreters has effectively been lost"

I'm curious, how does that happen? Were the techniques used in compilers and interpreters of yore never recorded for posterity in academic papers or technical documentation?

I think I did a pretty good job in answering it, although it was a bit rambling.

The people on the standards committees for these languages are generally also the ones implementing compilers, at least at first. The ones that don't have significant overlap between the two fail. ALGOL-68 comes to mind in the past, FORTRAN-03/08 comes to mind now.

Also, there were fast Lisp compilers back then (as fast as Lisp can get, at least, and keyword "compilers" as I'm not misinterpreting the two), along with decent (eh) Smalltalk compilers: Ruby isn't that unique. An optimizing compiler for Ruby could have used many of the techniques, given that most of the bottlenecks in Ruby are the same as many Lisps. Of course, it won't map perfectly, but much of it would. (I will admit that this paragraph is written with primarily old versions of Ruby in mind, because beyond 2007 or so, when it was basically a Lisp with Smalltalk tendencies under the hood, I haven't really kept up.)

Many techniques absolutely have been lost over time, even in obvious spots, where you'd expect them to be maintained quite well; I have a folder of poorly-OCR'd, poorly-scanned ACM papers of novel, technically-interesting & fast pre-1990 compilers with significantly less downloads than citations. Academic papers aren't really where you'd expect to see "lost" techniques, but publishing is a wasteland, and most non-famous on this subject (and computers in general, partially; ever tried to find more than a handful of papers on Sun's Spring?) written between 1970 and 1990 are practically lost. The industry has the memory of a dormouse, though it might get better now that more and more things are becoming source-available.
It's not required for everyone — only people Discord find suspicious for some reason.
A $200 battery replacement for my 2014 MBP 15 turned into a $600 logic board replacement.

The reason? The Thunderbolt ports don’t work.

Not only was I aware of this, but I also explicitly told the Apple store technician that I did not want to repair them.

I just told them to send it back. They lost $200, and probably my next laptop purchase.
This is accumulated stats, please include the number of active cases too.

And the most of the accumulated cases are from Hubei. I agree the quarantine seems to be effective.
is there something special about 2020 (regarding leap years)?

the rule I know is divisible by 4 && ( not divisible by 100 || divisible by 400) so 2020 is not even an edge case.
It's pretty cool but I wish scrolling around wasn't infinitely slow.
For those who don't want to create an account: https://www.youtube.com/watch?v=futh125ovR8&list=PLEzY0VQMBw...
99.5% of non-OEM batteries for phones and laptops are scams and you can’t tell the difference ahead of time.
I think these things are more possible than people believe.

If it were truly an existential threat the US would remove the Taliban very quickly (that doesn't imply a safe orderly society would result).

But Afghanistan, like Vietnam is an optional and non-essential conflict at this point with unclear definitions of victory. Maybe "victory" is packing up and going home at this point.
Ah Elon, you always have an excuse
The page seems to be marketed for schools, but it's hard to find the features I would care about as a school. It looks like I'm unable to sign up as a supervisor without some verification code, so it's hard to explore and see what features might benefit me.

Inevitably, there will also be questions about how you are different than X, it would be nice to have a feature comparison up front, so I know why I would want to choose tutorbook over something like https://www.joinknack.com/, https://kudocollab.com/, http://www.tutorbuddies.com/, etc.
Nice. I honestly have been looking for something like this for awhile. All the examples I found with slate were either insufficient or outdated (i.e. canner editor) -- and in a focus on speed (being a solo founder), I couldn't compromise. I'm going to try to implement this for my editor on my site. Would be cool to be able to publish content with custom components (closest I could find for CKEditor [which I'm using] is: https://ckeditor.com/docs/ckeditor5/latest/framework/guides/...) -- but the implementation for that is rather clunky (more so on the render side -- e.g. how do I save the data in my database such that I know which components to call? CSS classes? data attributes?) So the underlying structure of having JSON for the data structure with Slate (and now this) gives me more confidence as a dev.
Can you please clarify:

(1) Which category of mask are you saying provides "no" self protection -- ASTM 3 and N95? (I've read over your post multiple times, and not entirely clear).

(2) So to be clear - are you saying that N95s provide "no" self protection? Not just that they can be misused; or that protecting against surface droplets is more important; but literally "no" self protection?

(3) And if the answer to (2) is yes, can you provide a source or two we can use for further illumination on this topic?

I'm not trying to waste your time, here. I'd actually really appreciate your input.
I'm not sure I believe any of the numbers I've seen, but I strongly doubt the Taliban can be described as "smaller numbers" in Afghanistan.
in case you use umatrix, outline requires you to turn off referrer spoofing
Ask HN: Best career move for an engineer with RSI?
I have a humanities degree from a Big Three college and a few years experience as a software engineer (no management). I'd like to carry on in tech, but with less reliance on my keyboard. Voice input for non-coding tasks is OK, but the best input is no input.

Here's the rub: I'm cerebral, ambitious, and want to earn a high salary.

Any tips?
Yes, I think it's incredibly useful for communication among informed people. For example, @BullshitQuantum, which just replies to news releases with 'bullshit' or 'not bullshit', is great.

The problem is that with such a small amount of space, you can't tell what's credible and what's not unless you already know who's right... I trust @BullshitQuantum only because I can check a fair number of its calls. How is anybody not trained in quantum mechanics supposed to tell @BullshitQuantum's takes from the hundreds more that actually are bullshit?
So this is the kind of person who uses WPEngine. I could never imagine a company built around just wordpress hosting. It also does seem that WPEngine needs to start offering different products to stay relevant... not a nice position to be in, I imagine.
> There is a very strong incentive to create plausible scientific models that show climate change is not a problem if that is in fact the case.

I guess that proving the absence of something is harder, and less rewarding in terms of recognition, than proving its presence. Many climate studies are interspersed with "may", "could", "likely"- but to prove an absence you need a higher degree of certainty. Also, there is of course a publication bias- research that doesn't produce significant results is less likely to be published. "We modeled the impact of global warming on this crop, and it didn't seem to change" is not as sexy as "the model for this staple crop failed spectacularly and at current temperature projections hundreds of million will die of hunger in 30 years".
As someone who lives in Scotland, having a car is becoming a curse if you live in a city. Too many bus lanes and one way systems. I would rather take public transport as it’s less hassle.

Great for the environment, but it means that I actually go in to cities less than I normally would now that I live outside the city and have a car. I already pay for the car, and the extra cost of the public transport is expensive in addition to this. So I go less.

As an aside - I can’t understand how businesses survive as a result of this seemingly conscious decision by councils to cripple incoming consumers coupled with Amazons shady marketplace that doesn’t play by the same rules in terms of fake goods.
Ask HN: Other platforms like /r/forhire to get short-term work as a jr. coder?
As a self-taught Python dev,/r/forhire on Reddit has been a great platform for me. I got my first job there and currently makes up a good portion of my income. It has a very different vibe than other platforms like Upwork and has a very organic feel to it.
For the perfect number question, you can always just argue that precomputing a 512 MiB bit array that has 1 in position n if n is a perfect number, then indexing into that bit array is O(1). Because the range is constrained, you don't need to know anything about perfect numbers to come up with this.
No idea, also curious.
If you like this kind of stuff you might be interested in https://candidegardening.com/GB/about if you haven't joined already. Should be quite uk centric.
https://news.ycombinator.com/item?id=22451215
Flag it and move on. The flagging system works pretty well for this kind of thing.
Would love to hear from you on how it goes :)
So can I put this on my site to kind of make a cms for my site to add pages or blogs/blog posts etc?
The issue is that airlines would simply modify this design to increase passenger density instead of offering the same density but with more space. The solution to ever-shrinking space in the airplane, however, is economic, not technical. Imagine if you could select a 1X-3X room in increments of 0.5X with proportional pricing when you buy a ticket. Airline does not lose money and customers get what they can afford. Right now we only have 1X, 1.15X and 3X options which unfortunately neither sufficient to fit the curve or even have same distribution or pricing.
As an aside, draw.io (now diagrams.net I see, why the change?) is a nice tight project.

I was an early adopter (i.e. from beta releases) of lucidchart and really liked their first few years; convinced two companies to get a bunch of licenses. Over time they've become a hot mess of bad patterns in SAAS and I won't touch them for a few years now (and let a license for ~100 people expire).

Congrats on keeping things simple and not making it harder to use over time.
> In France any store selling electronic products is mandated by law to accept your used batteries and electronics, and I'm sure most of europe has a similar thing.

So what do they do with the batteries and electronics afterwards? Do they ship them to a developing country to dismantle and dispose of properly?
The violation is using the enterprise app distribution platform for customers. It’s similar to what Facebook was busted for.
If a phone would be 1mm thicker when having user replacable battery, that means the manufacturer has given up the opportunity to use that 1mm extra thickness for battery capacity. Which is the same as standby time, or performance.

Watches usually don't have a problem with cpu performance/standby time so it's perhaps not a good comparison.
Residential Power, Solar will hit a tipping point soon for home installs. And I'd expect the proliferation of microgrids around renewable sources mixed in with batteries.
I don’t think biologic math always works combinatorially like multiple sky dives.

This sometime troubles me with radiation dosing comparisons. Another is time distribution, when a radiologic imaging study is equated with exposure from X amount of time in an airplane at high altitude. The time frames are different—- drinking 1 liter of water in an hour is usually safe, and drinking 50 liters of water is fine spaced out over a longer time period—-but not 50 liters over an hour. Radiation doses are often quite time dense.
There’s no way you can confirm it was the dev. Almost Everyone has had the flu this year basically regardless of flu shot status. I had a flu shot and got influenza A. It took a week to recover but the fever only lasted half a day. Tamiflu helped. My case corrresponded with a peak in cases in my state.
That's a pretty fucked up misquotation
Yeah, because it didn’t fit a narrative. It didn’t have a scary name. In 2018, 80,000 people died from the flu in the United States alone. 80,000. The bulk of those deaths happened in a four month window. Sometimes hundreds or thousands of people died PER DAY. Think about that for a moment. Let that sink in. There was a weekend in 2018 that likely saw more deaths from the flu in the US alone than during this entire saga globally, which started back in November.
Greenland is one of the few places we have reasonably accurate temperature reconstructions for the recent past.

And they show that during the past few thousand years, when human co2 output was negligible, the temperature changed over decades by 5C.
Actual negotiations are against adversaries in private; why force someone (Sanders or anyone else) to negotiate against themselves in public?

If you ask any presidential candidate about the chances of their platform passing as-is, they will all have the same three things to tell you: 1) Vote for members of congress who will support my agenda and this won't be a problem; 2) Give me a mandate to implement my agenda so I have more political capital for negotiations; 3) You need to plant a flag in the ground so that you have something to anchor negotiations later, which might involve compromises.

If your point is that voters, the media, and politicians spend way too much time on platforms when they are mostly just signalling devices, I agree.
BTW: I do get your point (I think - it's hard to brain-meld, but I think I do), but I believe that I have made my point badly. Which is simply: Managers are made out of people. People are made out of monkeys. Monkeys don't know how to deal with anything they've not got exposed to. So they are left with analogy (and direct experience) and morals and values and frameworks for morals and values. And incentives.

Gosh! That's a lot!

If an airplane hits the world trade center, would I push the fat man in front of the train? (Sorry - moral philosophy question)... Ummmm. I don't know! Would you? WOuld I? How long would I brain freeze? Would I ask people to stay? Go home? Take books? The vault? I don't know! What would you do?

My point here is simply this: You don't know what you were do, in real time, until you are in the hot-chair. You don't! Nobody does. And you will get it wrong. And anything you decide (anything!) will be criticized for decades. By people who were not there.
Pollution in China before and after Coronavirus shutdown
I don't use the app but a mobile browser (FF) and the experience seems much better and share friendly.
Looking only at the total numbers paints a misleading picture.

It is no longer growing exponentially in China because they have quarantined millions of people. It was growing exponentially prior to the quarantine.

It is growing exponentially in other countries with recent outbreaks. Look at the growth charts for South Korea, Italy, and Iran.

While it is good news that the growth can be contained via quarantine, it is incredibly misleading to claim "this is just like the flu". The flu doesn't require the government to force people to stay locked up in their homes in order to prevent outbreaks.
The problem with ideas is that they start of as perfect in our heads. But the more they touch reality, the more they crumble. They become messy, they start to incorporate tradeoffs.

It takes a lot of perseverance to further shape your idea to match reality.

So I agree that they shouldn't die too fast. An idea is always the starting point, but never the end.
Yeah, its the EU Waste Electrical and Electronic Equipment Directive. For any item covered by it made after 2005 it's the producer or distributor's responsibility to recycle it.
Oh this is a tried-and-true strategy that both nVidia and Intel follow again and again. And it works like a charm.

Think of market share as a fragile glass or ceramic cup sitting right at the edge of the table. You're usually oblivious cz it hasn't fallen (or you're busy with other stuff). Then you notice it has tipped over and is now in free fall. If you have very good reflexes, as a big market share company, you catch it mid-air (you lower the prices to the point where it prevents the drop from breaking anything). If you succeed, now you have the cup in your hand; it didn't hit the floor, and it didn't shatter. Great. Now you slowly raise that cup back to the tabletop level (you raise the prices back to the same level in a few years) and place it at the table. Done.

- AMD revenue is between $5-10b,

- nVidia, between $10-20b

- Intel, over $50b.

Intel and nVidia can eat AMD alive anytime they want. Invidually or together. Once, or many times.
The first computer I built myself was an 800MHz Athlon, so I am somewhat familiar with Intel’s history of competition.

Moats don’t have to be malicious or nefarious. Sometimes there are just high barriers to entry to compete.

See tractors with DRM, for instance. Apparently building tractors and a tractor repair/parts network is a very expensive undertaking.
Honest question: do you think Teslas are, on the whole, overpriced? I am neither an owner nor an expert in electric cars, but I have been routinely impressed with the rate at which the price has come down. I don’t doubt that the $35k Model 3 configuration is probably non-sensical (at $35k minimum spec seems silly) but also it seems pretty competitive for an electric car that can replace a gas car. My personal hunch has always been that the price for relatively cheap Tesla configurations that make sense probably are limited by volume and initial cost of R&D and scaling up manufacturing. (Of course almost any company does some market segmentation for better or worse, so I’m sure the prices of options are non-sense.)

Not to say the prices won’t go down. But I actually didn’t think the reason they were high was due to mature, moated companies. My personal belief is that Tesla would be foolish to rest on their success in such a way when other companies with a lot more resources are surely going to be competing more competently soon.
> If you are 70+ or severely ill this IS pretty bad because, unlike the flu, their is literally no defense. If you don’t fit that profile it’s just a bunch of FUD.

The 34 year old Chinese doctor who spoke up about the virus died.

https://www.bbc.com/news/world-asia-china-51403795
They still might. After 20 years I'm guessing the US doesn't just "last helicopter out" with the Vietcong closing in.

I'll be there will still be US presence/monitoring in Afghanistan for some time to come.
Where can you get a battery changed for $20, including installation costs? Except maybe China.
I respect wanting or needing to do this with just the builtin datetime module. For everyone else, I recommend relativedelta from the dateutil package: https://dateutil.readthedocs.io/en/stable/relativedelta.html

e.g.:

>>> from dateutil.relativedelta import relativedelta
>>> date = datetime.utcnow().date()
>>> date
datetime.date(2020, 2, 29)
>>> date + relativedelta(years=1)
datetime.date(2021, 2, 28)
If 1mm worth of battery capacity is important, why do Apple and others keep making phones progressively thinner?
How often do you go diving with your iPhone?
One of the biggest mistakes in IT ever, in my opinion.

I'd even go so far to say that defaulting to signed instead of unsigned was also one of the biggest blunders ever. I would've never defaulted to a type that inherently poses the risk of UB if I have another type that doesn't.

Though it's also possible that precisely that was the reasoning for it.

Some more thoughts on unsigned vs. signed: https://blog.robertelder.org/signed-or-unsigned/
This is really cool. Was this just something you wanted to do, to scratch an itch, for work etc?
TBH my suggestion is to work on making this more clear of who it's for. Maybe add a comparison to other current solutions out there, since at first I was a bit confused what it's trying to do. Maybe use like intro.js or something for it.
Can you say more about the AI identification? I use iNat frequently and have never seen it suggest or recommend an ID from my photos.
Oh, certainly! My claim isn't that libre software harms knowledge transfer at all. It's great!

But free compilers won so quickly even when they weren't obviously better that many proprietary compilers died quick, unceremonious deaths, with no obvious successors, and leading their authors to go into different areas. This was a bad thing, in my opinion, because a lot of early compilers were written in incredibly clever ways, and those clever ways died with them.

I think my comment was also worded poorly:

> I appreciate

> that free software "won" to some extent

is how I was hoping it would be interpreted, but I think it was interpreted as:

> I appreciate

> to some extent

> that free software "won"

Free software winning was absolutely the right thing, I just wish it would have been a bit less sudden.
My wife is ICU medic
Supposedly any company in the EU that has data on you needs to proactively make you aware of this and allow you to have this data erased or rectified.

I don’t think all or even most companies respect this rule yet (I haven’t heard of a single company about my data so far) but I think it’s a powerful idea that would keep companies like Clearview from being able to build up such large databases without people knowing about it.

I really hope the EU will keep strengthening subject rights as I think it’s a very good solution to most problems involving the use of personal data.