skysight-inc/HackerNews huggingface dataset:
Allowed, yes. But the PEP that introduced walrus operators says not to do it.

Every possible line of code has an alternate ugly way to write it. This isn't a valid criticism. Anyone who decides to start writing simple assignment statements like that deserves to be ridiculed for writing ugly code.
Rather than thinking of the six-figure professional overdoing it on ribeye and baked potato, think about a 20-year old without a job and no family to support them. On a good day they might have one meal of ramen noodles.
Good point, though it's less my familiarity with Python and more that I tend to simplify and call generator expressions as list comprehensions unless the laziness is important to call out (meta laziness there? ;) ). Mainly since L.C.'s were first and describing the differences is tedious.
I've been thinking about the same thing but for deer. They keep eating my bushes in the middle of the night, so I'd like a little patrol car to chase them away.
Because not that many people outside of Japan are that interested in it. Similarly, there aren't that many people outside of India who are interested in Bollywood movies, so you don't see them played in cinemas except in places where there's a lot of Indian expats/immigrants. Art is highly cultural, so there's usually not that much of a market for it outside its culture of origin.

Anime/manga does do pretty well outside of Japan, compared to the cultural output of so many other nations (how many Czech movies have you watched lately?), but it'll as popular as you seem to wish it would be.
That's a huge systemic failure of western civilization. The "path of least resistance" should be somewhat healthy.

> It takes effort to do anything else.

True. But the point of having a civilization is arguably that thriving should require less and less effort.
This is measurably false. Climate change denial is a pretty obvious example that hurts everyone. The facts are available, relatively easy to find, but people still tow their party lines about it being a "hoax from China", or some such nonsense.
How to write a better technical design document
Breaking into computer systems was already something that was happening then. Maybe they went a little overboard with the wording but it's not like Congress invented hacking.
I think one reason is self-selection bias: Because all programming languages are text, everyone who is a programmer is necessarily adept, comfortable, and intimately familiar with representing programs as text.

There is a whole other kind of programmer which doesn't exist yet— a visual coder— all of whom are doing something else right now, because there are no tools for them. It takes a large leap of imagination for a text-coder to empathize with these still non-existent visual-coders and make the tool that they need, and a large leap of imagination to envision a complete visual coding system from the ground up which can be used to solve actual problems and compete with the very mature text code tools that are already out there.

In short, "massive amounts of cultural inertia".
Your comment is how things "should work", but really not how they do. At least in the U.S.

The drive from Las Vegas to Los Angeles is about 3.5 hours. It's a 90 minute flight.

If you try to do it by Bus it takes 12 (often for about 1/2 the price of the plane ticket), and for some reason a train with NO STOPS took 16 hours. Which was discontinued just a couple years ago, because no one was using it.

Maybe someday we will get a high speed Mag Lev train for this commute, because mass transit has completely failed this commute.
We do use libraries as much as possible. However we avoid putting business logic into libraries.
For one it's much easier to make good tasting unhealthy food that it is to make good tasting unhealthy food.

It is very easy to make things taste good by loading them with fat and sugar.
Start by banning plastic straws in space.
So what are you eating nowadays? I don't think pure meat is viable for long term as I understand it does not provide all that our bodies require to function properly, ie scurvy.
FCC gives ISPs another $563M to build rural-broadband networks
Exactly, I've had to live in a budget recently and I went from keto adapated to only rice/potatoes/beans. I gained weight and overall felt terrible but managed to stay well under budget.
You don’t even need to go to the level of a Bellard or Carmack to recognize the existence of 10x engineers. This pushback seems to derive from the egocentric assumption that 10x means “Ten times better than me.”

If we flip this around, does anyone doubt the existence of 1/10x engineers? I’m not referring to low end outliers who clearly can’t code. But I f you think through all the engineers you have known who have actually been employed and worked in the field, is there a 10x spread between the best and the mediocre-at-best?

Lots of folks are familiar with the Dunning-Krueger effect for what it says about the perspective of those with less experience/skill. However, it also postulates that people with more experience/skill also see the world incorrectly — from the other direction. They are prone to assume that most people are at least as skilled as they are.

This pushback against the notion of a 10x engineer seems like the perfect union of Impostor Syndrome meets Dunning-Krueger. We worry that we’re near the bottom of the curve due to our own insecurities while being partly blinded to the deltas in skill both above us and below us.

Edit: Clarified that I was interpreting 10x as highest to low-average, not highest to lowest outlier.
Dropbox silently installs new file manager app on users’ systems
I'm not saying it is an issue, but I have never seen
peanut butter from India for sale in the U.S before.
I see math as the language of thinking. Math doesn’t really have a domain beyond: how do we think, how do we know, and how do we communicate our knowledge. The progression of mathematics has been the systematic removal of domain. Numbers are widely applicable because they are very abstract and devoid of domain, and they are one of the least abstract things in mathematics.

I agree with your gist, there are lots of things where studying that thing is virtuous beyond its direct application. But also, I’d contend that thought is the subject of mathematics and not just a virtuous side-effect.
Related: https://www.vox.com/the-goods/2019/7/17/20698271/faceapp-pri...

"The panic about FaceApp’s old-person filter isn’t wrong, exactly. It’s just tinged with xenophobia and devoid of context."
Next time I visit my parents, I will have to check which of our 80's keyboards are still in the attic.
> The best way to deal with space would probably be to let judges stretch earth law

Step 0: Which ones? US judges? Chinese judges? Maybe Saudi ones?
When I was obese, stress and using vehicles were the biggest drivers.

High power people are certainly stressed.

They may drive/be driven around everywhere.

They may neglect exercise due to the two factors above.

But they could be executing well at a job, possibly at the expense of these other things.
I want to make the same thing.

But for humans.

From the Earth.
As a google employee the first person who comes to mind is Sanjay Ghemawat. Jeff Dean is upheld to mythical levels within Google but he pair programs with Sanjay who is almost unknown.

Jess Frazelle is pretty famous for her work on dockerization as well.

https://en.m.wikipedia.org/wiki/Sanjay_Ghemawat
"The Thirty Million Line Problem" by Casey Muratori might change your mind.
Author here.

I would say that modeling the computational process in math is not typically helpful (you already have a formal programming language) you should model the real-world (or at least computer world) problem you are trying to solve.

Carefully define operations and constraints, introduce abstractions for solving them, etc.

Do you have an example of an I/O problem you have thought about that you would like me to talk more about?
Wouldnt white meat, and especially chicken and turkey, be much cheaper ? In any generic supermarket in France, 1 Kg of chicken, the good kind with no additionnal hormones and grown up on the outside (as opposed to factory chicken) costs maybe a third of the equivalent in beef, and is also significantly lower than pork (and we're not talking high quality beef and pork there).

Not making any opinion as the overall point of you comment, just wondering why beef if money is the big factor.
That’s my nightmare. I spent a long time in a shop like that. Never again. Working from home is amazing.
The open secret there is that it's infeasible to accurately measure ad performance, and embarrassingly easy to come up with metrics that would make basically any ad campaign look like a success without looking suspect to anyone but a trained statistician.

Which will work out just fine, so long as your advertising client isn't someone like RStudio.
Exactly, fear is a good motivator. In our community mailing list every time there is an earthquake somewhere in CA, emails start flying about earthquake insurance.

In the above case, a crime is a good motivator for people to start looking into protection and crime prevention options.

So, yes, I think there is some real value in exploring context as the Ad driver.
Then why have US tech companies like Facebook taken so much flack in the past year for privacy issues? The fact that that has been the case, contradicts your underlying point. Further, on a personal level it likely depends on where you're located.

As an American, it matters to me whether the company doing the spying is located in California or Russia. If you're Russian, you might particularly care if the company in question is in California instead of Russia.

Russia is a hyper regressive, anti liberal, anti democratic, low human rights, dictatorship. My interests are particularly not served by allowing companies from Russia to spy on me.
I definitely agree with this, although even for the "zero negative consequences" argument I usually counter with "one of your friends loaded all their contacts into some app that shows them who's calling them, and now you're bombarded with text messages offering you black market loans, tons of marketing calls, etc." (which is actually true in Israel).

Anyway, I was going with "defeatist" mostly because it reminded me of an attitude I personally sometimes display when it comes to being overweight: "I already ate above my maintenance window today, I might as well just eat everything in the pantry and fridge and order some family-size pizzas". So, "I've already failed once, might as well keep failing."
Show HN: PassingSage – Share the best parts of what you're reading
Some rich people just got lucky. Being rich doesn't change the fact that they are a human living in a society free flowing with quick calories.
Is it measurably false? I seem to remember seeing statistics that showed those convinced it very much is happening were over 50% and rising of even the US population while those who were convinced it was NOT were under 7% and dropping. I would suggest that this is in fact an example to the contrary.

Do you have any evidence to suggest that these beliefs are so widespread as to influence a majority of the population and require intervention for a properly functioning democracy as the parent was suggesting?
I've seen lots of people under the false impression that salts need to be kept secret, and jump through some hoops to do stuff like encrypt salts before storing them. Well intentioned, but misinformed and error prone, and likely indicates that they're not using standard login/password hash libraries and might be doing other things wrong, too.
You hear them as you speak? You can't effectively do this. It sounds like the people on Jerry Springer to me. Without a mediator, the problem never gets solved because they think they're effectively able to listen and talk at the same time, but they're doing one thing (talking) more dominantly.
The culture -- protestant, individualistic, greedy, guilt-ridden, civic/community dissolution, glorification of violence, etc...
This already exists in a form alongside SNAP, called TEFAP[1]. Except food isn't directly distributed to receipts, instead it goes to soup kitchens, food pantries, local distribution organizations and the like.

[1]: https://en.wikipedia.org/wiki/Temporary_Emergency_Food_Assis...
while you could not have changed the social order, you could have treated women with more respect than was the norm, especially your own wife. allowed your daughters to learn what they were interested in instead of forcing them into their assigned roles. these exceptions existed, and you could have been one of them.
> That's false, isn't it? C# is a memory safe language, period. It relies on GC for that.

True. I think they are conflating memory-safety and thread-safety here. Rust definitely offers better thread-safety properties. This is somewhat nice, since in my experience thread-safety issues are the more commonly undetected bugs - which are later on tricky to find and might require big refactoring efforts to fix. They are also often the source of the memory-unsafety issues.

Imho Go currently has the best blend of both properties for a GCed language - since the race detector does a good job of detecting thread-safety issues. I wish for Java and C# to get the same.
> Fast inverse square root is genius but it would just be way-too-clever technical debt if Carmack hadn’t written it and others didn’t learn from him.

FISR is a beautiful hack, but it hardly technical debt. This is the original code. Note how the trick has been hidden behind a normal API such as `Q_rsqrt`:

float Q_rsqrt( float number ) {
long i;
float x2, y;
const float threehalfs = 1.5F;

x2 = number * 0.5F;
y = number;
i = * ( long * ) &y; // evil floating point bit level hacking
i = 0x5f3759df - ( i >> 1 ); // what the fuck?
y = * ( float * ) &i;
y = y * ( threehalfs - ( x2 * y * y ) ); // 1st iteration

return y;
}

This is how you walk the fine line between technical debt and useful hack.
How do you get carbohydrates? Isn't meat expensive?
They hit the sweet spot (no pun intended) between addiction, profitability, and marketability (stuff like convenience, spoilage resistance, etc.).
What you are saying is that he wasn't a solo developer? I don't think that is really a requirement for the term. From everything I've read about his work habits, what he created, etc, him being a 10x programmer would be an understatement for the common usage of the term.
I'm always mindful of complexity when designing algorithms but I would barely consider it math. It's not an exact science and you're hardly quantifying anything. Complexities are essentially just eyeballed approximations.
I am honestly unable to decide whether the original tweets by @skirani were said in seriousness or as sarcasm!
> Public Health England’s eating advice,

Not sure why there is no question if the Public Health advice is actually good to begin with. In France for decades the French authorities heavily promoted the consumption of milk-derivative products as part of a "healthy diet" and this seems to have sparked the percentage of people suffering from lactose intolerance.

Eating advice is usually based on very poor quality data to begin with, and observational studies is not really good science either.
Not the study I’m talking about.
There are several of these providers, and the only one I noticed saying how they acquired the IP's was Luminati [0]. I didn't look too carefully on all of them though.

> When these application vendors integrate the Luminati SDK, their users are offered the alternative to not watch these video ads in return for opting in to the Luminati network.

https://luminati.io/faq#lum-peers-join.
Probably the idea was to keep the current from crossing the heart/chest area, the right side being further away (to some extent in most people).

There's a similar rule for HV work (and when working with vacuum tube-based equipment) - "one hand in pocket"; again, the idea being that if you're working on a live system, you aren't touching things with both hands leading to a shock across the heart area.

Another rule for live systems (this applies both for higher voltages and for low voltage systems - it's mainly to protect the circuit and components):

If you have to test/measure a live system, it's best to hook up the test equipment in the "dead" state, then power up the system, then shut down before removal or changing the position of the test leads, etc.

But if this isn't possible, the next best thing to do is to hook one lead (if say using a multimeter) to a common reference point (that depends on the circuit and what you're measuring and where - but usually it's a shared ground point), and probe with the other using only one hand. Try to never probe with both hands/probes - because it can lead to inadvertent shorts and other problems. As always, there are exceptions to this rule, but they should only be considered after very careful thought and planning.
I'm genuinely shocked you find an all-meat diet to be the best calorie/protein to cost ratio, especially for red meat.

When I was poor it was beans and rice, maybe chicken, and vegetables were the "fillers," I could get them dirt cheap at the local mexi-mart.

Where are you getting beef and pork that it's cheaper than beans or chicken?
Back when people dropped dead around age 50...
I personally prefer the "slow walk" of UI improvements instead of a full-blown UI redesign. Examples are eBay, Paypal, and (in a way) Amazon. eBay and Paypal are both stuck in a half-design stage, where 50% of the pages are designed and 50% of the very functional pages have been redesigned but not rolled out... in perpetual beta, because the redesign cannot accompany all the features of the old. Amazon very slowly rolls out new button designs and side-menus, probably whenever Bezos is sleeping. But some of the buttons in the rarely-used sections of their site are still using the old familiar yellow JPGs.
This is ethical application of AI I can get behind
Very politely, I want to comment that the problem wasn't your HTTPS cert expiring unexpectedly, but how your application handled storing in progress work.
God, it's not only me then. I have to zoom in until the nav is in icon-link mode. But then the feed is too big. I don't want to bother styling extension (I don't love to have more).
Show HN: Merge Spreadsheets – Easily Combine Multiple Spreadsheets
People engage with science can promote unbelief or beliefs about God(s)
Nice, my favorite big power story was a technician who was bringing up the next set of "rows" in a very large web scale data center.

One component of that task was running thousands of feet of CAT-6e cable. Of course you want to be sure your spool of CAT-6e cable has no wire breaks in it before you start using it[1] to wire up racks so there was a step that involved putting a connector on the stub of cable that was inside the reel, and a connector on the end of the cable that came off the reel, and then hooking up an instrument between them to measure the resistance/propagation/etc.

It is convenient to work at waist height for this, so our hapless technician had the cable spool put on a convenient big square brick like metal structure outside the building. He added the connectors, hooked up the tester, and the tester exploded. (well not completely but it did experience some rapid unplanned disassembly due to a large number of capacitors suddenly not existing.

The "brick like structure" that the technician was using as a table top happened to be one of the transformers that was converting high voltage down to 440V 3-phase for the data center. When he effectively shorted the cable loop with his tester he air coupled into the field around the transformer and put > 400V into the tester. Whoops!

[1] tracking down a bad network cable is not a lot of fun.
I think the only reason it might be hostile to agile is if your interface keeps changing (api other things contact it with, or what it contacts others via)

But if those things are constantly in flux, it really isn't a good candidate for splitting into a microservice in the first place.
There's also Midori written in a spin off language of C# by Microsoft:

https://en.wikipedia.org/wiki/Midori_(operating_system)
They're easier to store and last longer than fresh alternatives so they're both cheaper for the store to stock and sell and easier to use as a consumer because they won't go bad waiting to be used.
Except of course that if a car is purchased with drug proceeds the government will keep the car AND get the money back from the vendor if they can.

So if they actually manage to do that (obviously people don't generally commit crimes because they're swimming in money), then no, this is wrong information.
I certainly didn't mean to imply that only someone unfamiliar with Python could prefer the Kotlin version! Perhaps you thought I meant that, but I didn't.
Are you also incredibly wealthy?
Great response, thanks for that. I admire all of the engineers you mentioned as well.
Machine Learning in Agriculture: Applications and Techniques
Let's cargo cult the advice on this ftw. Also let's piss off our managers by saying, "Yeah, I heard this on Hacker News." Here for the downvotes to get back to 666.
> Google 2FA via Authy

"Google 2FA" is TOTP, an open standard, not a Google produced solution.

https://tools.ietf.org/html/rfc6238
Well, I personally wouldn't put any web-browser in the performance applications category. They are important applications, no doubt, and increasing their memory safety is always a plus. But there is something "soft realtime"/definitive about fitting the rendering of millions of textured-polygons, and running AI, Physics, data streaming, audio, gameplay code in a total budget of 16ms per-frame for hours and hours.
Part of the advice [0] is "Over a third of the diet should come from fruit and vegetables". Also "Aim for at least two portions (2 x 140g) of fish a week".

Neither of those two are necessarily cheap. However I don't see that approaching 74% of the income either when you choose sensible options for vegetables and fish.

0: https://assets.publishing.service.gov.uk/government/uploads/...
In aggregate, people's desire to be noticed is vastly larger than their desire for privacy.

The latest case -- going beyond anything I can parody -- is this first-person NYTimes tell-all about a married couple being overheard in the midst of a sexual morning.

https://www.nytimes.com/2019/07/12/well/family/when-our-daug...

Why bother sounding alarms about Alexa, Google Voice, etc. perhaps listening to our bedroom conversations?
There's a slice of the public that will go to a lot of trouble (write article, etc.) to make sure that such moments become public.
People reading an article about a tragedy are no more likely to be interested in background check services than the population as whole.

Are you sure about that? New mother, wondering where she is going to find a babysitter, wouldn't feel an increased pressure to think about security cameras and background checks after seeing something like that? I can't speak for all of them, of course, but of the few I've known such things become topics of neighborhood conversation. Perhaps you have better data.
I work at a Minneapolis area company. A few years ago there was an employee who was showing signs of mental illness. He was let go, and the next day we were issued key cards for entry into the building - it was open prior to that.
The path of least resistance is not a social issue, it's purely practical. It isn't a "failure of western civilization" that wheat based goods are an extremely economical way to satiate hunger.

It is a failure of individuals that they fail to do anything outside of the path of least resistance.