skysight-inc/HackerNews huggingface dataset:
For the most part history does have a dim view of the mainstream leftist movements (socialists and communists) from the 20th century.

I don't know much about Paine, but trends are pretty clear.

(Right-wing populists have a similarly spotty record, but that just proves my point of a dim view of both sides in this era)
Open-source photorealistic simulator for autonomous driving by MIT researchers
Ask HN: What is the best way to Upload Images to AWS S3?
I am building a full stack Nodejs, Express.js and React application with a file upload functionality.

What will be the best approach to upload the file?

1. Upload the file from frontend to S3?
2. First upload the file to backend and then upload the file from backend to S3?

What will be the best option? In my opinion the first approach is better as it doesn't require extra load on backend if the file is larger, but I am not sure about the security issues to keep the AWS credentials in the frontend code.

Any suggestions are welcome :)
Serious question, why is this on Hacker News? is it a classic of some sort?
Voluntarily signing up for becoming a moderator for free borders on sociopathy. Some of these people are on a real power trip.
I tried something similar when I went overseas. In my case, I tried to use Twilio and even got everything setup to forward correctly to the number I got in whatever country I was in at the time.

But that doesn’t work for 2FA. I ended up locked out of my online banking accounts for my whole trip and it was a huge headache. My recommendation would be to port your number over to Google Fi and then just use that in whatever country you’re going to. It’s a bit more expensive that local cell service in many countries, but there’s nothing like having your phone just work wherever you go.
isn't that the case in most programming languages ? In essence, if you have an expression exp then (exp) is also an expression. So nothing special about OCaml in that regard.
[note, just checked python, php, and js and it is the case]
An important related question is: why don’t animals have rights?

I think something special happens to humans on the journey from embryo to child. Something like an awareness of their relationship to the world, that makes death more tragic.

As an aside, I think the same transition happens in many animals and their deaths can be just as tragic, although obviously nothing in U.S. law acknowledges that.

In fetuses, I don’t know when this “relationship to the world” begins, if it has really begun in earnest in the womb, or if it even has begun in earnest as a newborn.

But the problem with law is that such things must be codified.

I know “at conception” is too early, since we destroy similar creatures by accident every day. And even a sparrow has a richer concept of their relationship to the world than an embryo.

I’ll also add that “on their first day of kindergarten” is certainly far too late. By that time many of us have a very rich self concept.

“At first breath” is a clear middle ground, easy to interpret legally. It certainly seems that the “understanding of one’s relationship to the world” is greatly enriched at that moment of birth, and quite actively thereafter. And importantly, “at first breath” happens to be a moment where the child is no longer a danger to the mother. People have a right to self defense that clearly ends for the mother at that point.

All of that said, I think it’s possible some form of person is ”murdered” in some abortions. Just like some people are “murdered” in war. But there are simply limits to what can be fairly decided through the legal system.

At some point, other forms of justice take over. For me, not trying to push this on anyone, but that’s God’s justice. Many evils are punished not by the courts but by something greater, and that’s OK with me.
Note that I do not claim that pro-life activists have no serious moral aversion to abortion. I believe that they do. I think pro-life activists believe unborn fetuses have certain rights worthy of protection.

However, their rhetoric goes much further than that. Their rhetoric says that abortion is equivalent to murder, and thus justifies curtailing inalienable rights held by women.

The right of self-defense of others is something very close to universally accepted. If there were an equivalent number of five year old kids being aborted, we would not see milquetoast efforts like sit-ins and prayer vigils, actions with both little consequence and impact.

I believe Eric Rudolph believed abortion is murder. But all those people at prayer vigils, sit-ins, Red Rose Rescue, and pregnancy centers do not. They see it as something bad, but less than murder.

If a half million five year old kids are being murdered, you can't just go about your life and attend an annual March for Life protest. What kind of a person doesn't do more? This is systematic, legal, mass-scale child murder we're talking about.
HN definitely shows a vile, callous and selfish side of humanity
What limitation do you encounter with `impl Trait`? They might be removed by `type Alias = impl Trait;` soon.

https://rust-lang.github.io/rfcs/2515-type_alias_impl_trait....
I feel similarly after diving into Terraform for the first time
If you use RSS it may also appeal to you that Raindrop supports creating public RSS feeds from collections.
OP could easily have been wrong. It's possible to have an interviewer that is just rude, but will still judge you fairly.
Worth mentioning the 6501 which was launched by MOS Technology alongside the 6502 and was pin-compatible with the 6800.

Motorola sued alleging patent infringement and misappropriation of trade secrets.

MOS Technology settled, paid Motorola $200,000 and dropped the 6501.
i discovered this by chance some time last year. being in a city those were the only things visible besides a few other stars, so that line spreading over half the sky really stood out. it was only 3 visible planets and the moon, although pluto was in there too, just not bright enough.

obviously not as impressive as the current view, but although i had an interest in watching stars already a few decades earlier it was the first time i noticed that this was happening, and it made me feel much closer to our solar system.

i was looking up there and thought: wow, this is my neighboorhood. this is home.
> Self hosted would cost us more in devops money than we'd end up paying even for a premium SAAS contract for whatever you would use for this. People think devops is free, it rarely is and usually is the most expensive thing in terms of cost. Especially doing it properly can eat into development time quickly.

Perhaps you have no idea how to manage servers but launching an instance and a docker container isn't magic which requires a single weekend of learning and it costs that one time operation and $10/mo for the server. (What the hell is a premium SaaS contract? Are you being oversold by some salesperson?)

Certainly not knowing how things work is rather expensive thinking it is expensive.
Fresh in both languages. But on studying the Effective Haskell book, there's a whole chapter (chp 14) on learning how to read and write efficient and faster Haskell code. Training that mental model of understanding how IO gets evaluated didn't seem too difficult. It feels akin to remembering how to write fast SQL code - you just practice a bit and measure.

In chp 7 on understanding IO, there's also another great section that explains how IO evaluation is often confused. I share an example from the book that reads, writes, and prints files.

Memory intensive func because it attempts to read _all_ files at once because the execution of reading and writing actually only happens when the print fn is called (putStrLn files). makeAndReadFile is actually doing both reading and writing - a normal task in all other languages.

slow =
let files = mapM makeAndReadFile [1..500] :: IO [ String ]
in files >>= (putStrLn . show)

Efficent version. Here we force reads and writes to actually occur per file instead of waiting til the print. Seems like a pretty easy step to misunderstand.

safe :: IO () safe =
foldl ( \ io id -> io >> makeAndShow id ) (return ()) [1..500]
I never understood the privacy aspect. If an alien were to come down and have human biology explained and was asked about their thoughts on abortion, I doubt they would invoke privacy. Maybe bodily autonomy, but not privacy. Perhaps I'm missing something.

In regards to bodily autonomy, again if the fetus is a life, you have to be a good steward of the life. I don't think you have a (moral) right to harm your body to the detriment of the life, much like you don't have a right to drive off a cliff with someone inside your car with you. And if someone assaults you and results in you losing your baby, I don't think that's the same as a regular assault.
This is not a state issue or a cultural issue, it is an individual issue.

It does not matter what people in Kentucky think. They do not have the right to an opinion on another person's life decisions. Even if every person in Kentucky, or every person on the planet believed abortion is wrong, that would not impact an individual person's right to an abortion. Abortion is outside the scope of what governments can legitimately legislate, because individuals have sovereign control over their bodies.
You paid a registered business that pays their own taxes and reports their own income, sales tax was paid, you were the customer.

For business to business transactions for contract work or person to person transactions beyond a certain threshold, 1099s are legally required.

The difference is if you’re hiring “some guy” vs being a customer of a business.
> In New York City, it was effectively impossible to get a permit to carry a concealed firearm in public unless one had connections and influence in the police department.

Did the law actually require connections, or was the law being applied unfairly? If the latter, the correct solution would be to force the law be applied fairly, not just throw out the entire law. Of course, the people who complain about "activist judges" are fine with judges legislating from the bench as long when it's in a way that furthers their agenda...
Why would you assume any precedent for behavior matters from a court that’s issued a majority opinion overturning a case where multiple of the co-signing justices had declared it settled case law?

They just overruled the NYC gun ban. They will pick and choose whatever they want
Developer Avocados: The Good Kind of Fat (2018)
States rights is a huge talking point, it has never been a sincerely held belief. Take marijuana, the same people clamoring for "state's rights" don't let federal states decide the issue. They support federal law that makes it illegal nationwide. You can bet every dollar they will do the same for abortion.
Strangely, Google maps doesn't do this and just presents us with a list without any context
You’re confusing money supply with inflation. Bitcoins supply is incredibly constrained, and yet it is inflating at an incredible rate. This is the opposite of what is happening in Zimbabwe where supply is not constrained at all and inflation is lower than what bitcoin is at YTD.

Inflation is a measure of how much goods and services you can get for a given unit of currency. It is not a measure of how much currency exists, although it can be affected by that.

My math is that you need three bitcoins to buy what one bitcoin got you 6 months ago. That is an inflation rate of 600% per year. The world is losing its mind right now because good currencies are inflating at 8% instead of 3%.

On the whole, yes bitcoin is a high reward investment, if you bought it at the right time. It tends to inflate and deflate pretty wildly.

All that means is that, according to most economic consensus, it is a very bad currency. Deflation isn’t a good trait in a currency since it incentivizes saving over using capital to create economic activity. Deflation also tends to favor those who have money, and makes borrowing money a bad idea, which also suppresses economic activity. Massive inflation is bad too, for obvious reasons.

You want your currency to be predictable and stable. A slight amount of inflation is, by conventional economic standards, a good thing.
I will bet you a lot of money no such raid on the Supreme Court occurs, unless you mean a street protest with signs and public speakers to be a "raid"
I've lived all over the U. S., and I can only offer a question: how else would you pronounce it if not "huvver"? Rhymes with "over" or "stove" is the only alternative I can come up with, and that can't be right (having never heard that pronunciation leave anyone's lips).
Uplevel Your Founder-VC Relationship
A similar issue re: NVH comfort is noted with open-sea high-speed catamaran ferries.

Conventional ferries can tackle the Cape Breton-Newfoundland route over 7-12 hours, depending on the destination port (Port-Aux-Basque vs Placentia) and weather conditions. Spending this long on a boat with nowhere to go is brutal and feels like you are back in the 1800s.

In 2000, a high-speed catamaran ferry (MV Max Mohs) was commissioned to make the shorter run over about 3 hours. It was short-lived as many passengers were intolerant to the vibrations (and probably cost of running was much higher).

I am not sure what I would like: much shorter time onboard but being slightly uncomfortable, or being stuck in one spot for a long time.
I can Paypal and Apple Pay and ACH you already. For likely much cheaper.

Crypto adds nothing.
I noticed that people who buy these usually pay with their golden credit cards and their expensive SUVs have license plates with a leasing firm brand on it (I'm in EU, leasing is not usual)...

I mean, another commenter said this class of buyers is class-anxious and class-confused. That seems absolutely true to me - these people can't actually afford this stuff. The actually rich people I know don't have golden credit cards (they have the levels above and never show it) and don't drive expensive cars (most have no cars nowadays, on-demand rent is better).
https://thehill.com/regulation/court-battles/3535841-thomas-...

It is a powergrab. Christian conservatives have the Supreme Court.
This was all planned. Don't kid yourself.
> Rust is being sold as magically making software safe and people selling that completely ignore the fact that logical bugs are also a thing.

I don't think that's true. Sure, there are zealots who oversell things, but reasonable people (including those who are actual leaders in the Rust community) are realistic about the classes of bugs that Rust eliminates, as well as those Rust doesn't help with.
Except that's not the universal framing.

There is one side that is fighting very hard to not only make it at conception, but potentially even before conception (there are reasons to believe that the supreme court might come for birth control next - and there are large portions of the same religious community that put them in power that want that).

For many people on the other side the fetus doesn't get rights until it is born. And up until that point, it is a bundle of cells wholly dependent on the mother, and therefor part of her body (and thus, her bodily autonomy). Indeed, there's a reading of the bible that supports this interpretation - it mentions multiple times a baby becoming alive "at its first breath".

For many people, the answer lies somewhere in the middle, but it's not clear at all that those people represent a majority.

The issue touches on strongly held moral beliefs on both sides - rights to life, right to bodily autonomy, and questions about when life starts.

There is no simple universal framing that we can all agree upon.

----

And even aside from framing, even if we could agree on a framing, the issue gets really complex, really fast. Lets say we do agree that the question is about when a life becomes a life.

Pregnancy is dangerous, as I well know. My wife and I lost three pregnancies. One of them was at 20 weeks. My son was already dead by the time we got to the hospital, but they had to remove his body from my wife's body or it risked a deadly infection. The medication they used to do that, in this case to trigger labor, was an abortion medication. The procedure they would have performed had that failed, was a DNC - an abortion. Both are already being banned by trigger laws in many states. In a room down the hall, a dear friend of ours who'd been struggling with infertility and loss was having a DNC the same day we lost our son, due to yet another failed pregnancy. Again, without that procedure, she would have died.

So you very quickly get into other complexities even when you do boil it down into a question of when life starts. And even then, the argument for banning it the way many states are (completely, with no exceptions) becomes hard to make about anything but control.

You can say it's about saving the life of the child - but we don't force dead people to donate their organs even when it would save a life. These laws will force women to die, even when there is no living child left to save.
Ah, but how many lives would you sacrifice to maintain your privacy? (And whose lives would you be entitled to sacrifice?)
> Many algorithms, almost all actually, are naturally expressed in imperative style with mutable arrays or variables.

https://www.goodreads.com/en/book/show/594288.Purely_Functio...
> electoral system is flawed.

Obviously this is the problem. But its flaws have lead us to a situation that makes it impossible to fix them. Either we work within the system we have or we're left powerless.
Call ID is the same. Some trunks come with ability to set any number you like, without any verification. You just provide the number you like in a SIP INVITE message header, and that's it.
so long “I don't know half of you half as well as I should like; and I like less than half of you half as well as you deserve.”
I use RSS quite a lot at this point.

I use it to read HN and various blogs & Ars Technica, and to sync my read/unread status between my phone, ipad, and computer (I use NetNewsWire and Feedbin).

I publish a blog that has an RSS feed, although very few RSS subscribers.

I use a service to convert my blog's RSS feed to a daily newsletter for subscribers (who have no idea there is RSS involved). I have around 100x as many newsletter subscribers as RSS subscribers.

I use a different service to automatically link new blog posts on Twitter & LinkedIn whenever they appear on my blog's RSS feed.
Crypto seems to have one actual rule and it’s “don’t fuck up” and they violated that.
Not that I disagree with you, all of those things would be nice. But its kind of like the "let them eat cake" proposal.

- Who is going to pay for this, when the glut of your most productive workers (tax base) is about to retire. US demographics don't support a larger tax base, but a smaller into the near future.

- People don't have babies because they live in cities. And cities are expensive to live, and space is at a premium. US already has near the highest standard of living in the world. Yet it can't overcome cities being expensive places to live. This is kind of universal.

- We are facing a period where Globalization is coming under sever strain. This points to lower standards of living in the future not higher. Look at the price of energy in Europe for instance. All the things you propose would require more people to pay more taxes, at a time when inflation and cost of living is going up.

I do believe that the birth rate will go up, but that might be if the supply chains break apart due to conflicts around the world. Then more people will be forced to move out to country just to survive. And having more space would lead to more babies being born, since kids are useful on farms.
Without knowing what your startup did, non-"As a Service" game studios are an interesting animal in the world of software development because their products have a clear Release Date. To me, this sounds like the developers didn't want to do more cerebral, optimization puzzle boxes, so they decided to close up.

Like someone else mentioned, it's more like a band breaking up because artists no longer want to follow the framework and expectations that they have progressed into.
It's not the ardent pro-life people that I'm concerned about reaching, but most Americans who aren't that radical. The lack of scientists speaking out about abortion and bringing reason to the public discussion has led to a vacuum where the only voice they hear are either religious nuts or social activists trying to be heard. Social activists usually lack the scientific training and background to break it down and explain the problem.
> But regulation shouldn't entail handing vast amounts of personal details

Please, do tell, how one can regulate and curtail illegal activities without asking for these details?

> the ability of intermediates to be able to track you fully afterwards.

Fair. This should not be allowed.
the planets don't move that fast. it won't stay a perfect line, but weather permitting it should be observable for a few weeks. mercury should be the first to disappear, since it moves the fastest.
> we need to get away from the thinking that there is a "natural climate" that we can revert to.

Very hard disagree. This is about all that matters. We've turned up the bunson burner heating up the Earth. What we don't know is _precisely_ how the entire climate system will respond to it, but it is a pretty good guess that if we leave it long enough and keep cranking it up that it'll eventually get really bad. We already see the weakening of the temperature gradient between the arctic and lower latitudes and the weakening of the jet stream and the formation of atmospheric blocking that is creating both large and persistent record heat spells in the northern hemisphere summer and cold snaps in the NH winter. We need to stop making that worse and rolling the dice to see how bad it'll get (which is a dictionary-definition _Conservative_ viewpoint).
It seems like there's are a handful of incredible, once-in-a-decade, astronomical events to look at every year.
You didn’t swim it? Lame.
I no longer care about crypto. It's finally in its last cyclical stage. Although I'm curious what the next "crypto" will be.

In the 90s it was e-gold, early 2000s, it was liberty reserve, then bitcoin and crypto derivatives.

This is perhaps the most destructive wave. Some countries that went thru a ponzi frenzy did not recover: Albania.
You are incorrect.

"This right of privacy, whether it be founded in the Fourteenth Amendment's concept of personal liberty and restrictions upon state action, as we feel it is, or ... in the Ninth Amendment's reservation of rights to the people, is broad enough to encompass a woman's decision whether to terminate her pregnancy."

— Roe, 410 U.S. at 153
That is claim with zero backing. The center between any two arguments is not some superior choice because it’s between the two sides.

If two wolves and a sheep are deciding on lunch would the sheep consider only having two legs eaten a better deal for everyone?
Which all people of course do. Or is it more like 0%?
It's unfortunate how many upvotes this got from the title
This is another reason why using password managers is good. I let it auto fill, so if I got redirected to a bad domain, it wouldn't autofill, and I'd double-check the domain.
I don’t feel like the convenience of having the court being so hard to overrule is a good enough reason for it to act as a superlegislature when convenient.

I completely understand that only one party is willing to make that interpretation on this topic. I think it is noteworthy that “the religious right” did not act as a superlegislature itself, given the opportunity, and simply removed it back to Congress or the states when in the absence of a law from Congress.

I observe that there are or were other ways to reach the outcome that the other party wants, that party has bungled all of those ways, and will likely continue to do so.
Tips for Containerizing a Spring Boot App