skysight-inc/HackerNews huggingface dataset:
That's not far from how an anti-aircraft gun works. You create a cloud of shrapnel on the trajectory of the plane and its own velocity will damage it.
Or D), blow the whistle and get out of academia.
Classes: JavaScript developers couldn't be arsed to learn prototypical inheritance, so they added class-based inheritance. Except they didn't really--classes in JavaScript are just an abstraction built around prototypical inheritance. So now you have to understand prototypical inheritance to understand how the class abstraction leaks. It's fewer lines of code, but it brings in a bunch of implicit complexity.

Promises: this is just syntactic sugar around callbacks, and does nothing to address the underlying problems of why callbacks were painful. It does introduce two ways of doing the same thing though, so now if you want to write any sort of abstractions you have to handle both ways.

Leaning hard into global frameworks that actively resist reusability and composition: Angular, Ember, etc. just start from the assumption you're writing an SPA. React is a rare gem of an exception, and is an awesome project, but there you have Flux/Redux/etc. trying to turn every React App into an SPA. This is probably the clearest example of JS projects being unsustainable: if you sacrifice reuse and composability in order to have a framework that does a lot for you, that lets you spin up projects quickly, but the project will slowly grind to a halt. React projects are great as long as you can fight the fight to keep Redux et al out, but eventually Redux fanboy gets it in and it quickly consumes your project. Global state is bad, folks. And don't tell me about reducers: I know, and if you think that means there isn't global state, that's only because you don't understand what global state and/or reducers are. I also am not interested in hearing about the other library you use to clean up your Redux code--instead of piling on more libraries to fix the problems you introduced, don't introduce the problems in the first place.
Yes, stores that push the products made by them over other alternatives are worse for the customer and harmful to the market.

I don't think there's anything wrong with stores recommending something in general. For instance, I don't think there's anything wrong with the "amazon's choice" label that Amazon uses.

This feels different to me, because as I said originally, this isn't Amazon recommending their brand. Amazon still ranks search results based on some combination of popularity and (probably) profitability.

To return to the in-store scenario: let's say you asked someone in Target to recommend crackers. The employee has a recommendation, but to hear it you first need to be shown the Target brand crackers, and then the employee will give you their recommendation.
I'll take that over my policy I have now, where anything after 2 clicks on the website ends up with "We're not telling you that information unless you call us". I'll take some UX quirks if it means the old companies with no competition will die out faster. I'd even pay more for this.

edit: I just found out that their policy framework is open-source on Github (https://github.com/lemonade-hq/policy-2.0). That's huge to me.

And they use regular English to explain everything with real examples like how they'd cover an Airbnb if you had a fire, and what a deductible is. Meanwhile I couldn't find my policy on State Farm's site and had to dig through Dropbox to see that the its line items are furs, silverware, and waterbed damage. What year is it?
Can you elaborate on what makes ecstacy like Russian roulette?
I have said this multiple times in the past (https://news.ycombinator.com/item?id=23361176 https://news.ycombinator.com/item?id=23243626) and will say it again - You (business logic developers) are not meant to use K8s directly, you are supposed to use a PaaS built on top of K8s (like Cloud Functions, Lambda etc)
Is anyone researching these things as a receptor cleanse? Like each receptor is like a clogged faucet blocking seratonin binding normally and the drugs either bind in its place or cause the creation of so much neurochemicals that they flush out the receptors and they functionally normally for some time.
i3 seems like it would be perfect for me but I guess I'm just far too used to gnome to really change now. I no longer even install extensions and mostly stick to the defaults. In fact, Linux has been "just working" for me for years now.

Anyhow, great article.
I think the bigger issue is the ambiguity of what constitutes a violation. As written in the article, this guy was under the impression that what he was doing was acceptable.

If it's perfectly clear what it covers, then the employee can decide whether it's acceptable, try to negotiate it, or decline the terms, just like any other provision in a contract.
Deno [1] is a new JS runtime by one of the creators of NodeJS, Ryan Dahl.

He had a great talk [2] about the lessons he learned when creating/maintaining NodeJS. Many of these lessons are being applied to Deno.

[1] https://deno.land/

[2] https://www.youtube.com/watch?v=M3BM9TB-8yA
Water hammer is cause by the inertia of flowing water. Water flows, it stops. Bang.

It might be in your case that water hammer is triggering an oscillation in ... something. A valve, pipes that arn't strapped down?

There could be a dead end in the system (essentially a hammer arrester) that is full of air which water is sloshing into and shaking in the process.

What I think I'd try to do is isolate the cause. E.g. if you turn off the service valve into the house can you trigger it by opening and closing the hydrant?

Maybe you are triggering a _pump_ upstream from you?

In any case, if pipes are shaking or the pressure is obviously spiking then it increases the risk of failure... so it's not something that I'd personally want to ignore.
technically much lower accuracy on African-American and Asian populations (in the US)[1]. More importantly technical issues aside the primary use case of facial recognition seems to be the policing of minority or vulnerable populatoins and erosion of privacy more broadly, which tends to hit minorities the worst.

[1]https://www.wsj.com/articles/facial-recognition-software-suf...
The Wild West of Executive Coaching (2004)
Show HN: An (active) study on font readability
A small study into what fonts people find easiest to read. Came from a point of frustration on the lack of valuable discussion around typography on the web. Feedback is very welcome, though I certainly don't recommend looking at the source code :]
I'm not, though
> One of the little joys of math, well known, but always makes me smile: Though there are infinitely many rational numbers, they are countable.

I think 'infinite but countable' isn't so surprising—even without a formal definition, I think most people would expect the counting numbers to be countable—but maybe the fact that there are infinitely many more rational numbers than counting numbers, and yet there are exactly as many rational numbers as counting numbers?

(This is one of many ways of phrasing it, but it perhaps understates how much bigger the rationals seem to be than the counting numbers; the description I've given would apply as well to the set of all integers, whose countability is still perhaps surprising, but not as surprising.)
Yes, I understand that. But also from the article:

> Participants with higher levels of chronic loneliness at baseline reported less craving for social contact after 10 hours of isolation

Based on what the article states I guess this is similar to people that react differently to fasting; those that are used to loneliness for whatever reason (In my particular case I understand it to be my "natural" state) are better prepared to go through this.

I guess the idea was to be able to _really_ measure the effect of being alone in the least harmful way so they went all in (Not even allowing the participants to read) trying to make the time of the experiment as short as possible.
Stroke order is very important when writing kanji, for good reason: it helps memorize the characters and also makes them look well-balanced. Also, trying to read cursive Japanese or Chinese is a futile endeavor if you don't know the stroke order. So it's only natural the Japanese would impose a stroke order for latin letters as well.

I got a 100% on the test by systematically choosing the way most dissimilar to how I would write each letter.
How to Succeed in Your Tech Internship
Or signs next to their house-branded products that basically say "Buy $FAMOUS_BRAND $X if you like but if you look at the ingredients you'll see we're the exact same thing and we're cheaper."
Even though the last dairy in Palo Alto shut down a few decades ago (and we are down to two creameries) milk delivery was revived about 15 years ago. Milk products and eggs. Pretty convenient when you have A teen ager at home, even before the virus.

Plus they are just nice folks. When kiddo was small they took him for a spin on the truck which is designed for quick-on-quick-off so isn’t controlled like a regular vehicle.
And how does every-other day childcare work for the at-home kids? Mom or Dad just stay home from work every other day? The alternative is paid daycare, where you’ve just recreated the problem outside of school, at a tremendous expense.
Inclusive Code
Maybe, but unlike a lot of other types of startups the IP they are making here is content and it can live for decades (esp if it’s as good as you say)
> I mean, I can sue you for stealing US nuclear secrets. Now if only I had some evidence...

#1 - No you can't, because only government officials can prosecute "crimes", as opposed to civil causes of action. (I think this distinction is stupid; it is not part of anyone's view of the world and it doesn't have any useful effects. But it will definitely stop you from prosecuting someone for espionage.)

#2 - No, you can't, because you don't suffer any injury if em-bee steals US nuclear secrets.
You can always quit. I’ve spent time at startups and some have quite good, one fantastic.

The benefit is that in a small startup you get so much more exposure and are not siloed away.
So are they gonna give all the schools more money to hire all the additional teachers they're gonna need for this?
Well, there is a ton of statistics. If any of it showed clear signs of systemic racism, you could just post it and say, here it is! Usually it gets debunked -- weak-ass research that doesn't replicate being one category -- those addressed by controlling for some obvious variables another.

The thing is, it's pretty easy to back claims that racism happens in the small, because it's true.

But "systemic racism" is a different claim than that.
> I wish someone can make a deployment orchestrator for your private DC that is as simple to use as Heroku is.

This is what I'm working on, although it is built on top of Kubernetes! We feel Kube suffers from a disconnect between the insane complexity requirements of enterprise deployments and what most coders and businesses actually need - which is exactly what you said: a consistent Heroku-ish experience on their own hardware or whatever cloud is convenient. Kube needs what Git needed - a GitHub. Feel free to reach out to me (email in profile), I'd be happy to chat your ear off about it!
That works too depending on your requirements. Either way, authentication is not a hard problem to solve.
Yeah, I believe the line is “... judge my vow” for that reason. (Sphinx supplies the “I”)
Great example of a Submarine (http://www.paulgraham.com/submarine.html)
Of course you can compare different things to each other.

That's what comparison is for.
You'll probably get 10 different answers here too.

I use uwsgi in emperor mode. I have a Makefile that runs a few SSH commands on production to clone my git repo at a specific commit, builds a virtual environment from requirements.txt, and atomically swaps a symlink to a uwsgi socket. Nginx in front of it all. It's pretty much the Python equivalent of FTPing HTML files to a web server.

Uwsgi is terrifying because it has so many options (and I wonder how secure it is), but it has never failed me. Packaging and containerizing things sounds cool, but I just can't justify spending time on it when my setup works fine (I'm a solo dev).
Amazon also knows my previous buying shopping history, it can target princely the white labeled product of its, which I have been buying regularly.

It is more than best shelves.

Tyranny and data moat when marketplace also becomes your competitor.
Were you tested for antibodies?

I know at least half a dozen people who have the exact same theory - a couple got tested and it came out negative
He’s saying it’s not a problem for the future, because that implies it’s not a problem now, which he asserts that it is. It’s humor
This made me laugh out loud, what monster can downvote this?
Repetition and Learning – misconceptions about effective studying
They keep showing up here, and I don't know why the target audience for Hacker News would care. This just makes me like the brand less.
I'm also on a 2-person project on DigitalOcean k8s, also very happy.

K8s is kind of messy compared to Heroku, which I don't love, but is also way more powerful and can be more secure. I don't know what I'd use instead of it, exactly as you said.

Also, we run a VPC-only K3s node for some simple internal tools that works great as well.
JS engines should be able to ignore TS annotations, out of the box. https://github.com/samuelgoto/proposal-pluggable-types
I payed for it, not a huge fan so far.

It's only usefull if you are a big fan of a particular celebrity.

It's not usefull as learning material, as an exemple, the singing 'class' say to go search youtube to find the lessons you need instead of giving step instructions.

They have very good marketing and they must spend a lot on advertising.
Not a new problem: a lot of those parents are already in that situation now. People seem to be working it out.
When I was studying photojournalism on the side, for a while I ran a vintage radio scanner over the various local police/fire/etc. public simulcast frequencies. It didn't pay off with any "breaking news" leads, but one of the surprise benefits was the strong impression of professionalism and good nature by many.

I should be clear that I know there's tragic racism and other injustices everywhere, and that problems tend to be worse than is visible to most people, and I think now is the time to finally right some wrongs that we should've a long time ago. Perhaps relevant to that, it was really reassuring to observe signs of goodness in the institutions that many people never have occasion to. Problems need to be solved, but there's hope from multiple directions.
I view this as the primary reason that protests and rioting have been significantly more widespread recently.

In order for someone to feel good about protesting and rioting, it helps if people around them are doing it, so that it seems socially acceptable, and so that negative consequences are less likely to occur.
Normally you would need to see this physically near you, but now with viral algorithms, all it takes is one protest in one location, broadcast to a billion people, and many of them will start to believe "there's all theses protests going on everywhere, so I might do it too".

In some forms this is useful, but in others it is extremely dangerous and can allow for mass unrest based only upon what uncontrollable algorithms end up promoting due to what is the most viral content.

Humans evolved in significantly smaller societies than they live in today, and it's very difficult to have proper intuition about how many people are doing various things after seeing hundreds of examples of them on the Internet. As a result I notice many people making estimates about the frequency of activities that are not only off by one order of magnitude, but sometimes more like three to six.
Yep. If I need a USB cable or some other electronics commodity, I at least know that the Amazon Basics isn't a knock-off and it's at least good enough. That, of course, reflects badly on Amazon in other ways but it is, as you say different from store brands which are mostly about undercutting perceived premium brands with good enough product for people who aren't fussy. (Or for offering a cheaper alternative for things that really are commodities.)
But this makes no sense. Why would a cloud operator even bother with k8s if the customer is only interacting with functions? It’s much more efficient to bypass Kubernetes and run directly on the cloud’s native system (like borg).

I think you’re right though - Kubernetes is a massive red herring, we should ideally be running containers/functions on as close to bare metal as possible. Fundamentally, VMs are the wrong abstraction if all your code is containerized.

Joyent’s triton is the closest thing we have to this... I really don’t know why AWS/Azure/GCP haven’t cottened onto this, it would massively reduce their COGS and improve our developer experience.
There are certainly people a lot better than me when it comes to CSS. Some of the dynamic aspects of CSS (i.e. anything that contains a "duration" for instance) seems somewhat unnatural to have in the CSS, but that might be taste.

I once worked for a company large enough to have its own designer who created the designs in Photoshop. Then we had another guy who created HTML templates + CSS from it; then all I had to think about was the back end code, those were the days. Now I'm a one man band struggling with some of the instruments :-)
Well anything involved with traditionally working for a living is hellish to this generation (myself included). Given a choice I would wake up and do what I wanted that morning which usually is productive but not always and there’s no requirement it should be. But what are you going to do, work makes society run so we must do it.
Don't Sweat the Name
Boosted Board: from flight risk to $70M failure
Worth noting that sometimes technical challenges may arise because of the way technology was designed as opposed to being inherently challenging

https://www.npr.org/2014/11/13/363517842/for-decades-kodak-s...

but, yes, dark skin reflects less light than light skin. by definition.
Friendly reminder Google is this x100.

"Content" blockers are now important privacy hygiene. Google has been both neutering those and giving themselves special fingerprinting tokens in Chrome:

https://news.ycombinator.com/item?id=22245101

https://source.chromium.org/chromium/chromium/src/+/master:c...
I have heard that AWS's Kubernetes offering (EKS) is plagued with bugs and scaling challenges, while Google's is top tier.
>> When they open fire or march on a peaceful crowd

> As far as I know, the last time that happened in the US was May 4, 1970. A terrible, terrible day.

There are plenty of videos and stories of police firing and marching on peaceful crowds during this round of protests, if you care to look. I don't know what your intent is with writing off five decades of protests, but bluntly ignoring this is counterproductive to any hope of mutual understanding.
This is such baloney. If the company has no ability to function without you for a week or two (barring emergencies) it's clearly a doomed enterprise.

Any boss who makes these demands does not understand how employee burnout effects the long-term health of the company and does not value your role enough to safeguard the contributions you make through well-managed redundancy plans.
Huh, have they considered Kubernet... nevermind.

In seriousness, we find k8s makes handling our traffic spikes a doddle. As in, we don't have to do anything.

Of course, we didn't necessarily need K8s to accomplish that, but it's the tool we used, and the complexity cost is paying off for us.
I would if I were allowed to fly overseas ;)
It's important not to read this as a critique of Typescript. Rather, it's a note that it's not a good fit for this one particular performance critical piece of code.

It sounds like they are discussing the central code runner of deno. I would have expected this to be compiled to JS in any case, but it seems like they are compiling the runner, then compiling user code. Of course that's slow. It's also not representative of a normal TS use case, which is unfortunate because I expect we'll see this discussion shared all over the web as an argument for dropping TS.
Comparing genomes to computer operating systems (2010) [pdf]
> Also, we run a VPC-only K3s node for some simple internal tools that works great as well.

We do exactly the same thing! We have a one-node k8s for all these dev things that just works. Everything is containerized for local dev anyway so moving it to k8s was just writing the deployment manifest.

On heroku, all of these would be separate dynos (or one glued-together dyno that does everything). On a self-hosted VM we'd have to deal with managing that.

I liked this approach so much that I now have a small 1-node personal cluster that hosts all of my private hobby projects that aren't ready for prime time yet, that were on heroku previously. Costs me only $10 + (persistent storage + IP address if needed)
> I know up until injuries this was in France but when I press your boobs

> Jun 9, 2020 12:17 PM

Sounds like it's getting them very wrong.
Not going to happen since Amazon is 100% not doing this to protect any proprietary knowledge, but rather as a threat to other employees who may be thinking of leaving.
I went to public school in the US in the 90s, and I learned to write just like that NYT piece. Did you learn differently?
US States where it’s legal for cops to have sex with prisoners in custody
I didn’t lose a lot but enough to feel it! Trading options can teach you a lot, it is one of the few areas where you need to form an opinion, reinforce it and then have it either affirmed or torn down (at great cost). Sometimes I wish political, social and economic opinions had to withstand such an immediate and potentially costly test, would certain teach some people some things.
Heroku is also very cheap on the low end. EKS costs at least $72/mo before adding compute & storage. That would get you a lot of dynos.
Signal does weird stuff sometimes. For a while it has been bugging me to add a last name with the only options are either to add one or to “remind me later.” And they of course never forget to remind you again and again, week in and week out. Until I eventually succumb and add one I guess?

Not sure what their angle is.
Stroke order for radicals (部首) is important, but IMO precise stroke order isn't so important (example: how to write "口").
We live in the age of YouTube and almost unlimited access.

Any group can get together, make a film, put it up on YouTube, etc.

The thing is, membership in a group is no longer sacrosanct. Ask all the women who opposed men entering their space by being trans. Further, freedom of speech guarantees you can never have a monopoly or even majority of the portrayal of anything.

You do have some options though. Someone says “oh, I saw X movie, I know all about you”. Better than saying “that movie sucks” is “you really should check out Y. They really went out of their way to get it right”.

Black, Hispanic, etc portrayals have all gone through “lazy, stupid, subservient, gangster, normal guy in sweater with honest job, formerly criminal, now reformed older wiser person” till finally successfull, intelligent maybe lawyer, doctor, whatever person who is X first, ethnic second.

Having a few films at the ready is the best but most expensive solution I suspect.
Show no mercy: The tragedy in Xinjiang
IMO swap should be a found using fio with a rw test using 4-16k (Linux does 16k reads on swap req due to vm.page-cluster) threaded to the number of processors on the system * the amount of time you're willing to let the OOM thrash around.
The swap should also use zswap to compress in ram and shunt uncompressable to swap.
You're right, thanks. Fixed.
The latency with the Pi is too high to handle all stores, I could easily do that if I was using a more powerful device.