skysight-inc/HackerNews huggingface dataset:
I grew up in Assisi, Italy, and lived there until ~2008.

Assisi was home to St.Francis, one of the most popular saints in Christianity, and it's a tiny village (5,000 residents) with >1.3M people visiting it every year, mostly for religious reasons.

Growing up there was really a unique experience in that regard, especially when tourism is such an important share of the local economy.

I met so many people from abroad, and befriended so many, over the years, and at the same time I almost took it for granted.

I think my mind benefited from this great influx of foreigners.
It's that automated part where the vulnerability arises.
on the contrary, i've seen code slow down by 50% due to a log.debug() that wasn't even emitted in prod. should've seen my face when i saw the pyspy flamechart.
The Economist Who Would Fix the American Dream
Oh yeah, this is a relatively recent approach to killing off the second hand book market. Now I believe you can even buy just the access to assignments/homework for >$100, which is essentially all profit for them, they don't even have to manufacture a book.

I'm only aware of it because my wife went back to school to completely change field (microbiology now, rather than software)
There are devices kinda like this, but they are hacky and unreliable.
Kickpay (YC W15) Launches Partner Program with EasyPost (YC S13)
All my results on the first screen on mobile and web are just ads... The good old days of discovering new websites and new ideas went away after the top results ended up being just ADS or super branded sites that we already know about...
Admirable values.
So how hard are you willing to short the entire software industry over the next 10 years? I definitely wouldn't bet against automation in the next few decades.
The changes to f-strings just seems like a step in the wrong direction. Don't make the string content implicit!
> You set up your new web project, plunk your webfonts alongside other assets like images and JavaScript libraries, and commit your stuff to a public repo on Github. Not realising that this violates the license of the commercial fonts, you now made them available to anyone who can use Github’s search function. It happens — apparently.

> So, what to do when you want to use commercial fonts and be legit about it?

> Long story short, you can’t commit them to a public repository. There’s really no way around it: if you are not allowed to share the font with folks who don’t fall under its license, you can’t make it a part of your repo.

> Your options are to go for a private repo, or keep a note in your public repo telling the folks who’ll be using your project to license the fonts and add ‘em themselves. Stick your assets/fonts directory in a .gitignore so you’ll never accidentally commit them, and Bob’s your uncle.

It clearly isn't obvious. It seems explicit to me that the author is talking about all commercial fonts and that NONE of them should be in public github repos.

For an article that spends such a long time talking about how they searched for filenames, there is very little time spent exploring the actual copyright implications of using licensed fonts in opensource software or .
Running an unsigned app is a bit of a pain... though, imho probably worth it for the modest improvement in security.
Manholes Rebranded to “Maintenance Holes” in Berkeley
Real-Time tracking of pathogen evolution (mapping the ebola outbreak)
Not really. It's obvious that Netflix or any other corporation doesn't care about minorities, gay rights, women, or what have you.

They're just pandering to younger generations who are (as it's always been) more liberal, and right now have more disposable income—which is what companies are after.

The action of showing off how progressive these companies are while at the same time not giving a damn is what virtue signalling is (at least, to me).

I actually have similar ideas to the ones that are being pushed, ex., I don't oppose mixed-race couples, gay couples, etc. It's just annoying for everything to be about that nowadays.
I don’t know why you are making this personal.

I am questioning the system and the foundation of the system. I am claiming that it has outlived its usefulness and we can build another social construct that doesn’t have to be defined by old thought patterns and ossified concepts.

We keep changing..don’t we? And shouldn’t our way of life change too?
Well, driving by using the rear view mirror isn't a wildly successful strategy. Many people are surprised by the difference between testing strategies for ML working to predict physical phenoma and complex systems like the markets; you can backtest market strategies to bits and it matters not even a bit, it means nothing.
Very common pattern, confusing nonetheless. It does two different things at once where traditionally Python is explicit and only does one thing at once.
As if the effects of that fall in income won't compound, and as if you were factoring in purchasing power parity and negative as well as positive externalities. Stop with the baby arguments Rayiner.
"Including sometimes the ruler himself."?

So sometimes the ruler was buried without themselves?
I replied to half of that already through the other reply to this... in the EU we get Better Call Saul and we get Fargo... but not Legion!

Who wouldn’t want more Noah Hawkley.
https://news.ycombinator.com/item?id=20464139

> Not arrested. There was a misunderstanding, I cleared it up.

I'll repeat for downvoters in the back: waiting to learn details is generally better than speculation.

Settle down & get the facts straight before repeating things (see point #9 in the NPR link above).
Tragedy of the commons, all over again.
To be honest, 80% of what I want is a self-driving car that can drive itself on the highways during regular weather conditions. Getting it on and off the highway, I don't mind doing that manually. I would love to be able to read or work during the hour that I spend on the highway everyday. I would love to take a overnight road trip where I can go to sleep in SF and wake up the next morning in LA. I'm aware that accidents/bugs will happen, and as long as the car's safety record is better than that of humans, that's fine with me. I've never spent more than $20k on a car before, but for a car that can drive itself on the highways, I'd pay a whole lot more.
Font licenses make the difference very, very clear.

> The following are allowed by this agreement; you may:

> 1b. Use the WOFF, WOFF2, and EOT web font formats provided by Process to style text on your websites via the CSS @font-face rule for an unlimited number of websites whose content is controlled by you. You agree to use reasonable measures to ensure the fonts are available only for the process of styling text on websites. At a minimum, and by way of illustration not limitation, reasonable measures include i) preventing unlicensed third-party access, i.e. hotlinking and, ii) not allowing direct download of the fonts unrelated to the process of styling text for your website.

and

> This agreement expressly prohibits the following; you may not:

> 2e. Store or use the fonts in any way that makes them accessible to the public or non-licensed third parties, except where such use is expressly allowed by this Agreement. This includes, but is not limited to, distribution of the fonts through file sharing services and online version control repositories accessible by the public.

https://processtypefoundry.com/help/base/webfont-license-agr...
Can anyone clarify what sort of "clickstream" data Chrome is purportedly collecting?
> You can have all the merits in the world, but if people don't know about it then you're out of business.

With the rise of social media, this is about 20 years out of date. If you have a great product and 100 users, 1000 people are going to see glowing testimonials at zero cost.
there's a difference between stability and stagnation and IMHO Python gets it.

finished is dead, to put it less mildly.
Marshall Islands Stick Chart
I'd say you should always have CPU monitored, but I get that you might night care to aggressively alert on it. It can be invaluable for hunting down root-causes after the fact: nothing's perfect from the first deployment. I single bad host is best if it crashes, but is a lot more dangerous if it's just wonky.

Things like CPU hopefully shouldn't be your key/gold service-up metric, but paradoxically, the more mature your system the more CPU can tell you; you can catch problems before they happen. It can help notice things like bad CPUs.

Memory stays pretty important in my experience; even more than CPU.

And in addition to all the other responses there are also different levels of pages: Some are page me at 5am, some can wait till morning, and some can wait till Monday. FAANG is more likely to have their own hardware so you actually get deeper/more diverse monitoring needs than a shop on AWS or something.

Source: FAANG-ish tier infra work
The Uber did recognise Elaine Herzberg as a pedestrian in the last 2 seconds before hitting her, after failing to do so for the 4 previous seconds [1]. It could have activated its breaks and she may have had a chance to survive (though probably not unscathed).

However, the car's auto-breaking decision had been disabled because it was considered too conservative. So the only agent who could have reacted in time was the woman driving the car, who, as we know, was on her phone.

Much as I find the hype around self-driving cars brain-dead, in this case, the car's AI was not at fault. Even if it could have made the decision to stop in time, the agency to act upon this decision was removed from it.

_____________

https://en.wikipedia.org/wiki/Death_of_Elaine_Herzberg#Cause...
https://en.wikipedia.org/wiki/Fourteen_Words
I long for a language which has a basic featureset, and then "freezes", and no longer adds any more language features.

You may continue working on the standard library, optimizing, etc. Just no new language features.

In my opinion, someone should be able to learn all of a language in a few days, including every corner case and oddity, and then understand any code.

If new language features get added over time, eventually you get to the case where there are obscure features everyone has to look up every time they use them.
> := is the assignment operator in tons of languages

It is? Which ones? Other than Go, I can not think of a single language that has ":=" as an operator. Java does not, JavaScript does not, C/C++ do not, Ruby does not, I don't think PHP does, Erlang/Elixir do not, Rust does not... (I could be wrong on these, but I've personally never seen it in any of these languages and I can't find any mention of it in these languages' docs).

I tried looking around the internet at various popular programming languages and the only ones I could find that use ":=" are: Pascal, Haskell (but it's used for something else than what Python uses it for), Perl (also used for something else), and Scala (but in Scala it isn't officially documented and doesn't have an 'official' use case).

I don't have a strong opinion about ":=" in Python but I do agree that it's unintuitive and thus not very "Pythonic".
> We have to run untrusted and unchecked code of vendors who run code to track your movements around the web and in their applications? (Even worse)

I don't think that is the case. Simply because a WASM application will have to request the permissions it needs up front (assuming a sane runtime) and you don't have to give anything run in background permissions... also, it won't have access to other apps, so it can't really track you.

The bigger issue with Desktop linux is very few people run it, and targeting a specific subset for linux as separate from other platforms is difficult and costly, to say the least.
I would add - you should start your monitoring with business metrics. Monitoring low level things is good to have but putting whole emphasis on it is missing the whole point. You should be able to answer at any point of time whether users are having a problem, what problem, how many users, what are they doing to workaround?

In other words, when person is in ER, doctors are looking for heartbeat, temperature, ... , not for some low level metric, like how many grams of oxygen is consumed by some specific cell.
Ah Sneferu ... the OG who started this whole pyramid for burial chambers trend. If I'm not mistaken, before this fella, royal tombs were buried (concealed) in caves dug into mountain sides - far from Cairo. This guy Sneferu thought "why don't we build a mountain like tomb right here?"

The reason it is "bent" is because they ran out of boulders and so had to reduce the pitch to reduce the number of blocks required to finish the project.
TurboTax (Intuit) and H&R Block mostly
How to Dress for Space
The problem is that the mistakes even a much-better-statistically-than-human driverless car will make are going to be different types of mistakes than a human would make.

A driverless car that kills half as many people per mile as normal driver BUT the ones it does kill are in ways that people feel sure that a human driver would not have been killed then it’ll still be a problem.
For something as finely tuned as pylint, my sensible default and your would never be the same.

I don't want it to scream on a missing docstring for every single thing. I do want to be able to use a, b and x as variables. No, this root var is not a constant, don't ask me for uppercase. Etc.
Read it "if y" - that's what's being tested.

The walrus simultaneously names the value being tested so you can refer to it within the condition; it's sort of the inverse of Perl code using $_. So instead of

if (do_something()) {
act_on($_);
}

you have

if placeholder := do_something():
act_on(placeholder)

But when reading aloud, however you'd read the perl will flow as more natural english. "If the string contains z, do something with it".

If you really want to read the Python as it's written, it corresponds to the second of these sentences:

- If the substring from 3 to 5 is "fg", crash.

- If variable_name, the substring from 3 to 5, is "fg", crash.
What’s being transferred here isn’t ownership of all the code, but control of the project and the IP associated with it.
Also from Fair here.

A lot of the cost savings were because we could decrease the size of our elasticsearch cluster. This was mostly due to the flattening of the elasticsearch document schema, which improved performance dramatically but also allowed us to run significantly fewer ES nodes.
Regular = can only be used in statements. Walrus := can only be used in expressions. There's no overlap there. However, := does simplify certain expressions (like those nested if-else statements and the common "while chunk := read()" loop), which I think does justify its existence.
It looks to me like it could be an assignment to const, or, a copy vs a non-copy - it’s not obvious at all. I’m sure:
‘?=‘
was fought over and rejected, but that’s what I’d have expected conditional assignment to look like.
Also, why abandon printf-style? All languages tend to converge to printf over time, it's simply the most tried and tested model out there!
I suppose you heard from the right wing echo chamber that Tlaib called for the destruction of Israel and just passed that lie along uncritically as though it were a call for bombing or overthrow. Do your homework. It was actually a call for unification.

I showed that the accusation "hates the US" is an simplistic and empty claim without details. Provide some evidence of this hate. Of course I don't accept claims of patriotism uncritically. I listen, and understand, and then judge. You should try it.

You fail to admit your error in trusting Trump's claim about polls and resort instead to profane insults. You don't like their politics, fine. Criticize that.

How about proving you're not such a big Trump supporter. What don't you like? You downplay his racism, repeat his claims, and puff up his resume. Or is that just defensiveness?

Regarding censorship and gestapo tactics - I was not aware that the left was constantly denigrating and the free press and occasionally threatening it. I wasn't aware that the left was caging people without trial.

I will give you one thing. Hate of Trump is indeed off the charts. He's blamed for everything under the sun and some of it is ridiculous. Of course that's irritating. You must realize that Obama experienced it too. Irrational partisans should be ignored. They are uninterested in rational discourse.

Trump's racism is a complicated thing. He's not a neo-nazi style racist who openly proclaims his white supremacy. He seems to like and admire many successful black folk. He may not even believe in the inherent superiority of all whites, so I understand anger over simplistic attacks that assume racism is a binary. It is not.

Don't you see though, that Trump uses the coded language of racism? The dog whistles, the disclaimers of modern racism? Most Republicans now accept that overt racism is widely reviled and so those few who are very racist or the many that pander to racists, have learned a coded, subtler style. Trump is testing the boundaries to see how close he can come to old-school overt racism without more of his own party turning against him.

Don't let a reaction to the worst elements of the left force you into a box. You may be surprised that when you get past the surface noise, there is much of value to be gained by understanding the full worldview, the values and assumptions of the other side. You may not agree, but at least you'll be judging based on substance, not an uncritical acceptance of claims made by right wingers.
Assignment can be confusing already.

>>> locals()['a'] = 1
>>> a
1

If anything, the walrus operator allows for tightly-scoped assignment, which is good in my opinion.
Not really, but neither are ugly nested if statements (Flat is better than nested, readability counts, etcetera). You need to make tradeoffs.

Maybe it would have been better to only have a single := assignment operator to begin with. But it's a few decades too late for that.

For what it's worth, := is for expressions only. Using it as a statement is a syntax error. So there won't be a lot of cases where both are equally elegant options.
Passion Lab: Parallel Algorithms for Scalable Sparse ComputatIONs
Netflix's UI is user-hostile in many ways. I don't mind having these defaults, but at least give me options to customize the way I use the app. I don't want a 5-second countdown, I want 15 seconds.

I know Netflix likes to keep the UI simple, but simple is stupid if I still have to use JustWatch/IMDB/RottenTomatoes to figure out which show to actually watch and then search for it in Netflix. That's me unknowingly avoiding the Netflix UI! Netflix should be striving to become the hub, not the endpoint.

The fact that the alternatives in the pirate realm are better in many ways is ridiculous.
It's been the same conversation for 10 years! Here's a comment I made 4 years ago https://news.ycombinator.com/item?id=10133049

It still takes a team of highly paid engineers to build and maintain an authentication page. Seriously - I guarantee you there is a 100+ person team at Google that handles login. Self driving cars are a very, very long way away. The problem space has unquantifiable and insurmountable complexity.
What you do with your own data is your decision, but if these details are enough for you to _recommend_ that other people not use it, then your advice needs to come with an "I ignore math in favor of uninformed prejudice" disclaimer, because you're making things worse with your security mysticism.
There was a period where the developer considering reversibility. I wonder where that arc ended up.
Hehe, happens :)

But, suppose the sun did interfere - how would you filter this out? Due to the black-body nature of the source, the amplitude would be stable, but the phase wouldn't be - you'd get entirely uncorrelated white noise, right? How can you filter that?
The argument that GP seems to be making is that only relying on defined behavior ensures that your game will work on all NES systems made by Nintendo as well as any clone systems that follow the specifications that Nintendo issued for programmers on the NES.
This isn't really true. There's one way to do assignment, `=`, and one way to do special assignment that also works as an expression, `:=`. You should always use `=` unless you *need `:=`.
Ah okay. I just assumed that the fact that my paycheck itemizes the tax withholdings that they were already receiving or at least aware of my taxes to date.
Thanks! Do you know if there's a free app? I don't need fine-grained control, just a metred/unmetred switch, and it feels excessive to pay $8 for that.
Oracle's PL/SQL uses it. I believe it was based on ADA... googles ... Yes ADA uses it as well.
The people who draft these licenses are pretty smart and explain VERY CLEARLY what is and is not allowed. For instance!

> The following are allowed by this agreement; you may:

> 1b. Use the WOFF, WOFF2, and EOT web font formats provided by Process to style text on your websites via the CSS @font-face rule for an unlimited number of websites whose content is controlled by you. You agree to use reasonable measures to ensure the fonts are available only for the process of styling text on websites. At a minimum, and by way of illustration not limitation, reasonable measures include i) preventing unlicensed third-party access, i.e. hotlinking and, ii) not allowing direct download of the fonts unrelated to the process of styling text for your website.

and

> This agreement expressly prohibits the following; you may not:

> 2e. Store or use the fonts in any way that makes them accessible to the public or non-licensed third parties, except where such use is expressly allowed by this Agreement. This includes, but is not limited to, distribution of the fonts through file sharing services and online version control repositories accessible by the public.

https://processtypefoundry.com/help/base/webfont-license-agr...

Seems pretty clear!
I find the different philosophies of languages amazing.

Just recently 'Declined Proposal: A built-in Go error check function, “try”' https://news.ycombinator.com/item?id=20454966 made the front page, explaining how a controversial potential Go feature was being declined early.

Python on the other hand, went ahead with what seems to be a proposal at least as controversial as 'try' in Go.
That sounds defeatist. We don’t have to accept anything we don’t reasonate with..I would like to believe that we have at least come that far..

I agree that people can do whatever they want but like I said earlier, it restricts people. I beckon the same examples...immigration, taxation, insurance etc.

Why can’t I include my elderly neighbour in my health insurance? If my parents visit me and they are not citizens, I have to purchase a tourist health policy for them and they are family..why should only my spouse and children be considered family.

If I have a partner I love and would like to travel to another country to live for a few years, I can’t do it unless they are a spouse. Etc.

I don’t want to touch taxation. But you get the idea.

We reward legal and religious marriages while unions and friendships or other relationships are not equitable. Why?
":=" is a fairly common operator symbol that I've seen used in other programming languages (e.g. Golang) and in mathematics. But I've never seen it called the "walrus" operator. Its fitting and memorable though, I like it.
If the market decided, the planet wouldn't last, because markets are absolutely incapable of long-term strategic planning - long-term meaning half-century or more.

When your accounting system includes biases that specifically exclude certain kinds of value - i.e. anything currently labelled an externality - there's going to be a hard limit on the rationality and foresight of any decisions that rely on it.
Great article! Bookmarked for some upcoming discussions ;) Thanks
Tell Tesla then, they cannot make a full fast lap of Nurburgring.

Actually, most cars can break so much so often before they lose performance because of overheating or even burning brakes.