skysight-inc/HackerNews huggingface dataset:
My absolute favorite is the one on Wright Brothers, but that one is already mentioned by another member, so I will give the second best which is Walter Isaacson's biography of Leonardo Da Vinci. I have set myself the goal to regularly read the last chapter over again. He is so fascinating!
>Polling shows that the majority of Canadians supported the use of the act.

The majority of southerners supported slavery and breaking away from the union.
I feel like the example you gave is pretty bad as to me that's a perfectly sensible function definition. I didn't write Swift from the beginning but I believe a function like this would've been valid Swift from the beginning? Just seem like core features of the type system.
Languages not ruled by a BDFL are subject to every team member wanting to get their pet feature in, motivated by ego, fame, and career.

This happens with all corporate software, as people compete to (for instance) foist their new videoconference system into your calendar flow. That's sort of tolerable for end-user software, but horrible for programming languages where feature-feature interactions grow as N^2.
Sorry I read "all" but you wrote "also", which is more in accord. Sorry!

Nevertheless I think what you said is a special case of what I said.
I always say my appreciation for functional programming comes from having spent enough time in imperative hell.

That being said I think learning programming in an "expressions only" environment can enable the student to deal with more complex problems earlier, merely by making certain types of errors impossible.

I think the Elm programming language is the sweet spot for that.

- it does have elegant (Haskell like) syntax

- it has still a simple syntax because it deliberately omits certain features (namely typeclasses, do-notation)

- it has a self contained build system (compiler, package manager, repl, dev server) with a rich ecosystem of libraries

- it is comparatively easy to ship something tangible because it compiles to JS for the browser
Towards the end of writing my Master's thesis, more often than not, I would go through sci-hub to get papers, the simple reason being that even if my university had paid for access to that specific journal, I'd have to jump through hoops to get it.

5-10 minutes jumping through hoops versus 30 seconds getting it on sci-hub. Easy choice.
And it uses almost all of the tricks in the book in a single analytic model

Statistics+optimization+dynamic systems+linear algebra
How to Make the Step Up from Intermediate to Senior Engineer
> Then I watched a designer effectively scan my home into a 3D model with her phone and return it from her assistant’s iPad with proposed changes reflected within thirty minutes.

Curious to know which app she used for that?
That sounds like a better idea for everybody who isn't me.

Naturally I've accumulated a few local patches over the years so I'll have to figure out which of them are obsoleted by the improvements in that version and which of them I want to port first ;)

(thanks very much for sharing that this exists though, I shall be digging in when I have available tuits)
How.... Well. Crap. And now it's outside the delete window

How's one traditionally remedy this?
Sandybridge in 2001.
Fair. What remains to be seen is whether the political will to delete outmoded extensions exists.
Completely agree.

The difference between then and now is that EVERY use case was changing. As smart phones have "mastered" to the common ones, the real change is happening at the edges and it's crazy what other industries are doing with the platforms.
AFAIK SQLAlchemy 2.0 (coming soon?) will use a new system for full typing.
You know what's even more common and isn't a conspiracy theory ?

Engineers letting technical disagreements turn personal.

And Chris himself said he disagreed with the technical direction of the project.
Using crypto to fund illegal activities is already well explored and I don't think your post has much to add to the pitch for crypto.
> And every one I’ve heard of considers Oracle a predatory vendor and they want to stop using them.

Ok, but talk is cheap. If you want to know what people actually want, ignore what they say and pay attention to what they do. Oracle's revenue and net income have been pretty steady for at least the past 5 years. Unless they've found some major new revenue stream, it certainly doesn't look like their customers are leaving in droves.
Make it easy to get contraception.

Make it easy for young men to get and then reverse vasectomies.

Invest much more in the education system and children in general.

Make it easy to get an abortion.
Malick isn't the best example here. Tree of Life was made for around $30 mil and his most recent, A Hidden Life was made for in the vicinity of $8 mil. In the context of our current blockbuster climate where the latest Bond movie costs upwards of $300 mil to make, I wouldn't call Malick's films "big expensive movies," and I certainly wouldn't compare it to Coppola's $120 mil+ price tag. Hollywood has shown that it will only give that kind of money to films that fit a strict, suffocatingly rigorous formula (i.e. existing IP, car chases, explosions, world-saving heroes, etc). It most certainly will not fund a project to the tune of seven figures based on an original idea that has been described as “a love story that is also a philosophical investigation of the nature of man.” If you don't have a remake or reboot of an existing IP, you're not getting funded, period.

Also Malick is a consistent awards contender in years where he releases a movie. Tree of Life is one of the most critically acclaimed films this century and studios like to invest in critical prestige when they can, given a reasonable budget. His movies also generally make their money back. This is also why networks will let TV shows like Crazy Ex Girlfriend and The Americans go on towards a natural conclusion, instead of canceling immediately, even if viewership is low. Coppola simply does not have that reputation anymore. In fact, I think he lost it all the way back in the early 80s. After Apocalypse Now, he failed to make a movie that captured unanimous critical favor like his string of hits in the 70s. Four of his last five movies have been largely panned. His 1996 flop, "Jack," is one of the worst movies I've ever seen and a lot of other critics agreed. A movie like that typically ends careers. He does not have the cachet to warrant an investment of $120 mill on an idea that appears at first glance to have dubious mainstream popular appeal. With that said, I would certainly see it.
I also thought that, but it needs some previous knowledge about the Earth, simplifications and approximations. Let's get to calculations:

First we'll consider the mass of the Moon substantially smaller than that of the Earth and that its orbit is circular. In this case, in its orbit around the Earth, the weight of the Moon is the centripetal force:

W = F_cp

mg = mw^2R (R being orbit Radius)

g = w^2R

GM/R^2 = w^2R

Assuming you have the gravity g_e on the surface of the Earth and its radius R_e, we can derive GM (M being the mass of the Earth):

GM/R_e^2 = g_e

GM = g_e * R_e^2

Replacing GM on the previous equation, we get:

g_e * R_e^2/R^2 = w^2R

R = (g_e * R_e^2 / w^2)^(1/3)

Note that w (angular velocity of the Moon) is easy to calculate: 28 days per rotation and gravity on the surface of the Earth is around 9.8 meters per second. Radius of the Earth can be calculated by other means. Nevertheless, we now have an approximation for the orbital radius of the Moon. Considering the Radius of the Earth, distance to the Moon from someone at the surface of the Earth is given by:

D = R - R_e

Now, to calculate the radius of the visible Moon disk using triangle similarity, use a small disk (with radius r) and hold it at a distance d from your eye until it becomes the same apparent size of the Moon disk. Applying similarity of triangles, the radius r_m of the Moon is given by:

r_m/D = r/d

r_m = D*r/d

Note that we are no calculating the radius of the Moon, but the radius of the visible Moon disk. Considering D is much bigger than d, it is a good approximation.

I wonder how precise this will turn out though.

Personal anecdote: a gifted uncle of mine once calculated the duration of total Moon eclipse using similar methods. Distance to the Moon was approximated to 1.5 light-seconds. He got the estimated time wrong by around 5 minutes. He did it using mental calculations only.
Yes, the use of "outwith" was deliberate!
There is no evidence it was "Trudeau's personal photographer" that took the picture in question. Zero.
There's also the helium network (https://explorer.helium.com/) which has a surprising amount of coverage, especially in urban areas.
I've recently attempted to use Swift UI for a very simple Mac app, and I have to concur: Swift UI is garbage.

The syntax is incomprehensible and inconsistent, the documentation is ridiculous, the feature set is severly lacking, and worst of all it's unbelievably slow. I have the fastest processor that Apple sells and a proof-of-concept app that I made in a few hours that consists of three Swift files takes 30 seconds to compile. I can't imagine what building non-trivial apps with it wouldbe like.
Putting your kids first doesn't mean you can't take care of yourself. You are implying that, but no one else is.

Of course children need a happy and healthy parent to care for them, so your needs are still included in the mix, in case you were worried about that.
at the very least i believe a public sector union in a democracy shouldn't have the right to strike and keep their jobs. You can't hold the rest of the country hostage like that. The government belongs to the people and the people's right to have a functioning government supersedes your right to strike.
> Ali is not guilty, marketing is purely scam these days, he is just following the trend.

Following criminals is not a valid justification in front of a jury. Crime is a common occurrence, it does not make it not crime. Everybody is the same is just an excuse for criminals to not feel guilty about their acts.
"earned any trust at any point during the response to COVID?"

Free vaccines[0], free test kits[1], deployed troops to help hospitals [2], FDA fast tracked vaccine [3], food assistance [4], PPP saved a ton of businesses.

"Trust is earned not given."

If you live in the United States, I have a hard believing that you have derived a net negative from the US government. We should all be extremely skeptical of government leaders, especially those that are elected in a popularity contest. However, to say that the US government, at this point in time, should be inherently distrusted is what got us to this failed Covid response.

We should have had 95% vaccine rates and moved past Covid six months ago.

[0] https://www.hhs.gov/coronavirus/covid-19-vaccines/index.html
[1] https://www.covidtests.gov/
[2] https://www.cnbc.com/2021/12/21/omicron-us-to-deploy-troops-...
[3] https://www.cnbc.com/2020/08/30/fda-willing-to-fast-track-co...
[4] https://www.usda.gov/media/press-releases/2020/04/17/usda-an...
(caveat: i too worked there) i think what you wrote matches my experience, is basically perfectly said.
>Aside from a billion dollars+ in trade blocked when the protest -- having achieved nothing terrorizing the residents of Ottawa and blasting horns/setting off fireworks around the clock

I don't think, it is entirely fair to blame it all on one side. What the government could have done is meet with the protestors and solve the problem diplomatically. Agree on a reasonable compromise, like suspending some restrictions conditional to hospital utilization. The protestors with reasonable demands [0] would have then condemned the complete nut jobs, most general public from both political camps would have supported the peaceful resolution and Trudeau would have been known as a good diplomat. After all, it's his direct job - negotiate terms on behalf of people he represents.

Instead, he decided to basically threw a tantrum and declared that it's below his royal highness to go negotiate with some pesky trucker plebs, quickly passing emergency regulation barring public assembly on the Parliament Hill and near "official residences" [1]. This is the most divisive and nonconstructive way of handling the situation, and I do think this is done on purpose.

[0] https://www.youtube.com/watch?v=P8tzXazvyHQ&t=44s

[1] https://www.gazette.gc.ca/rp-pr/p2/2022/2022-02-15-x1/html/s...
https://forums.swift.org/t/support-negative-availability-lit...

https://forums.swift.org/t/se-0290-unavailability-condition/

https://forums.swift.org/t/se-290-second-review-unavailabili...
I don't support these policies, but they are already well in place in the USA. They don't need Canada to perform a trial run.

The US has has a long history with warrantless asset seizure, the most recent being the laws passed in the 1980s and still used today with the stated intention of curbing the illicit drug trade. In short, officers can size cash, valuables, vehicles, and property they believe might be used in a crime. Simply traveling with a few hundred dollars or more can be considered suspicious. Hundreds of millions of dollars are sized every year by police this way.

The US government can also freeze bank accounts of people they believe to be involved in crimes.

In all these cases, victims can go to court to reclaim what was taken from them and to get their accounts unfrozen. The same is true with what happened in Canada. There is very little difference with what is already the reality in the US.
It saddens me to think that a polite exchange in which all parties are incorrect, come to a better conclusion, and leave amicably is so rare as to be remembered across a span of time greater than my entire lifetime.

Good conversations are so rare. It has been a long time, for me.
Hmm I've always thought of C in terms of "portable assembly". Not so much that features were omitted because they weren't performant enough, but because they strayed too far away from machine-primitive operations.
It is not the same. I have used one 5 years ago on Dell XPS 13. It still reflected more then on ThinkPad X1. And the whole experience was worse then on MacBook Pro.
Another example... this Arc code doesn't finish evaluating until a couple round trips with a web browser are finished. Absolutely cursed

(defop said req
(aform [w/link (pr "you said: " (arg _ "foo"))
(pr "click here")]
(input "foo")
(submit)))

(If you didn't know, Arc is implemented in Racket, and powers this site...)

http://paulgraham.com/arcchallenge.html
Society needs less kids overall imho, based on the quantity of capable family units fit to parent. Parenting and children should be a privilege, not a right.

More money doesn’t fix terrible parents/households, and they’re numerous to say the least.
Ok, but who's going to look out for the employment rights of the individuals? Wouldn't you argue that's even more important the larger the employer gets?

The way it tends to work in Canada is that if certain essential workers strike and it harms the public, they can be ordered back to work. Seems like a reasonable place to draw the line.
Afghan Box Camera
"...as employers and governments mandate more and more web services."

It's not compulsory, especially governments. I never deal with government on the web at a personal level. If they expect me to fill in forms I simply say that I do not have the web and would they please send me a paper copy - which they're obliged to do at law - same goes for the census.

If the government expects me to do business with it on the internet then it will have to legislate to make it compulsory AND then provide me with the necessary dedicated hardware for said purpose.

Why would I act this way? Well, for quite some years I was the IT manager for a government department and I know how they work (or I should say don't work).

BTW, as IT manager I never used email within the department (perfunctorily emails sent to my office were received by secretarial staff). If the CEO wanted to send me an important memorandum then he had to have it typed up on paper and personally sign it (and I would reciprocate the same). When in government you quickly realize that atoms on paper and especially a written signature is real guaranteed worth - unlike ephemeral emails that can vanish without trace.

I'm forever amazed at the trust the average person has in these vulnerability-ridden flaky systems.
"BUT EVERYBODY ELSE WAS DOING IT!" - 6 year old me.
Hyperloop lays off half of its employees as it pivots away from passenger travel
> a very thin abstraction over assembly.

I think this statement implies that it’s clear and obvious what assembly will be generated from a snippet of C/C++ code. But few people can understand everything that optimising compilers and modern processors do to normal looking code. An example of this lack of knowledge is seeing people disagree on if a snippet contains UB or not.

If C is so simple, why do people struggle to write it?
>"When you rely on incentives, you undermine virtues. Then when you discover that you actually need people who want to do the right thing, those people don't exist." —Barry Schwartz

Quite so. And things may be worse than that. It may be that both incentives and virtues are unreliable. For example, the famous day care study mentioned in Freakonomics casts doubt on the utility of incentives when it comes to social problem-solving:

https://sites.google.com/site/cvhsbahm/economics/econ_calend...

Moreover, my guess is that virtues themselves may also be unreliable because they're are about outward behaviour, which is often inherited and not explicitly understood, and which may not be passed on.

Jacob Bronowski, scientist and author of The Ascent of Man, identified the primary scientific virtue as what he called the habit of truth. This is to rigidly tell the truth about all things, both in private and in print, including about the minutest details, in one's scientific work.

It is a matter of opinion, but it seems that the habit of truth no longer pervades the scientific enterprise, now fully professionalized and bureaucratised.

Perhaps it was lost because it was only a habit. Whereas the love of truth, beauty, and so on, are spiritual values: modes of being rather than habitual outward behaviours. Which may explain why (according to Ed Dutton and Bruce Charlton), many 20th century scientific geniuses were first generation atheists. They inherited a reverence for truth and reality; they were able to make important scientific progress, but their ardour could not be sustained beyond a generation or two.

https://geniusfamine.blogspot.com/
As a lay-person, I wondered about using solar power in Africa and then shipping ammonia to Europe (or wherever). https://www.ammoniaenergy.org/articles/round-trip-efficiency... says that using fuel cells as transport yields only about 19% efficiency ... but that's comparable to 20% efficiency for fossil fuels. It's much better for stationary projects, up to twice as much.

But as you say, it seems much better to build much more solar power capacity locally. If the local utility makes ammonia (or some other form of storage) to store for the winter, that seems to make more economic sense.
I don’t generally pay much attention to this space. However, I’ve heard two interviews with Chris, both on Lex Fridman‘s podcast, and I don’t get a sense that he is an emotionally fragile person. The space he’s been operating in for ~20 years is filled with strong and often ideological opinions.

Just sounds to me like he felt like he was wasting his time.
Do you? I never have and I do not see any instructions on Schedule D to breakout individual transactions if they were already included in 1099-B.
I've read a bit of this textbook on projective geometry: https://www.amazon.co.uk/Perspectives-Projective-Geometry-Th...

To some extent, the book justifies Arthur Cayley (the inventor of matrix algebra)'s adage that "Projective geometry is all geometry". Towards the end of the book, models of non-Euclidean geometries are built within CP^2. I've written up an overview in this Wikipedia sandbox: https://en.wikipedia.org/wiki/User:Svennik/sandbox
I cannot stand go almost solely because it’s error handling. We have the ability to do so much better.
So brave, so daring.
> so hungry for the image of success that they'll do anything to achieve it

I'd flip that sideways a bit and say that it's normalized the achievement of success (that is, the end rewards) to consumers / viewers, while omitting the effort to get there, to such a degree that no one thinks to look for or ask "How?"

Everything in the BBC article was pretty trivially verifiable. But most people didn't. That feels wrong.
Oh wow, thank you for this! I have been fascinated by Information Theory for quite some while now, so I hope David McKay's book is a good introduction to it.

One of my personal favourite in Philosophy is "Finite and Infinite Games" by James P Carse. It had a profound impact on how I look at situations. I hope one of your suggestions does the same :)
Hundreds? Could be.
Thousands? I can see that happening, yes.
Tens of thousands? Perhaps.
Hundreds of thousands? I can see that as a very real possibility .
Millions? I could see that happening.
Water could reach the rebar from the ground, but I would think waterproof membranes and proper drainage should allow it to remain mostly dry. The foam panels should also reduce the amount of air that gets to the concrete and the rebar. Of course, you want concrete to be wet for curing, but how would water and oxygen reach it after it drys out? Do you think the oxidization process will not stop after curing?
VRBO made 2 billion in bookings, which is impressive but still less than one fourth of AirBnb.
Neither is ram by banks, they are the recipients of regulation there, not creators.
I was pointing to PG himself with my comment, and not the poster.
That's a pattern to reduce on queue size (the one between broker and consumer), but it still means the broker (here Kafka) would need to queue up everything that any consumer might potentially need.

It can work, and the data is at least limited by the amount and speed of producers. But it can also get a bottlneck.

> How do you even solve it, in principle for systems like this? What should happen if a client can't process all messages? Do you drop some? Should the server persist messages on disk? (And how / when?)

This will all pretty much depend on the problem domain. If one can't drop messages, then it pretty much all doesn't help. But usually in systems clients do not need all the past history - they might just need the newest data. So it's possible to detect in various parts of the system (even the server or broker before the TCP stack) that some data is superseeded with a newer version, and then drop the old variant instead of sending it too.

If purely "latest state" has to be transferred to a client, the max amount of data which needs to be queued is always sizeof(state). now this gets again tricky, because the state could be big and completely resending it might also be expensive. So a compromise solution that is sometimes used is sending the client one snapshat of the complete state when connecting, and then falling back to sending events/diffs. If one client falls behind on processing diffs, the will likely reconnect and get a new starting point. Obviously also has its gotchas, since you don't want to get to a point where there's constant fetching of initial state which is most costly. But at least it limits the amount of data that is queued anywhere in the system to "whatever is required between 2 state snapshots".
I just find it hard to believe that the typical office worker likes their job enough to do that, but would find software development at ~double their salary not worth it. People don't want to spend their days in Excel either, but millions do.
This is pretty sad. Swift has some good ideas in it, and thankfully those ideas are making their way into other languages.