skysight-inc/HackerNews huggingface dataset:
> There are actually ways to manage huge monolithic application that don't require each team to have their own repository, ci/cd, binary, etc.

Would be interested to hear about some of these.
FWIW this was amazon.de, it could be the flow there is different.
I recently saw this on twitter and was amazed by what crazy videos are building with this!
How does versioning work? Is it required that all VM instances run the same version?
Thank you.

I don't know what I have to say to explain this to these people. Maybe it's not quite explainable.

Restrictions haven't pushed their buttons in the same way. The only way to get this across is to describe all of their needs disappearing. But it doesn't hit the same, and it seems petty.

So it goes.
Autotranslation:

https://translate.google.com/translate?hl=&sl=auto&tl=en&u=h...

> The study was carried out from January 2020 to December 2020. [...] It does not provide any highly scientific evidence, but does provide numerous and serious evidence:

Even the press release of the university acknowledges that It does not provide any highly scientific evidence.

> The study is published at: http://doi.org/10.13140/RG.2.2.31754.80323 .

Note that this is a link to a preprint in ResearchGate, not a peer review article. This has the same checks levels than a blog post in WordPress. It is "published" but essentially anyone can publish there whatever they want.
Yeah it's a closed source binary.

We're very happy with it. Great compatibility, no horrendous warm up times, and very meaningful speedups.

Not much more to say. It's the same, just a bit faster.
Isn't there a big risk the typespecs are wrong then?
I'm guessing it is because people who create these hacking tools often need to do HTTP requests, so they just copy in libcurl source and before you know it Daniel's name is associated with all these tools and attacks.
When you get messages like this, sometimes you end up taking it differently to how it appears as a third party. Any threat of violence online can be interpreted as a joke, it's not easy to tell the difference sometimes and it's harder when you're on the receiving end of it.
I haven't done compiler work, but your note makes sense.

However I've been writing a fair amount of ReScript (OCaml but in JavaScript: The Good Parts) for UI work, and we never use catch-all in pattern matching.

It is an all-or-nothing proposition: you want to have complete certainty all the time that the compiler will catch all possible cases when the type is modified.

Without that certainty, discriminated unions are simply a lot of work for nothing in return.

This can lead to verbose code, but sometimes it is solved by generic handlers.

let onControlFlow = (stmt, cb) => {
switch (stmt) {
| If(body)
| While(body) => cb(body)
| Module(_)
| Let(_)
| Statement(_) => ()
}
}

This is an unrealistic contortion of your example, but in user interfaces there are often cases where there is some sort of grouping within an ADT, and thus we can apply the same function to the tagged data common to it.
>[0] Don't come to me with "people have netflix and 4k TV so their lives are better now than 50 years ago"

Why not?

Communication is cheaper. In the past if you moved abroad or simply far enough then you would lose contact with your family. That's not the case anymore. Remember long distance calls?

Transportation is cheaper/safer. Cars of today are way better than those from the past. Let alone anything preceding that.

Food is cheaper. Cheaper transport means cheaper food. When is the last time a developed country had a famine? Can you even imagine something like that? Our immediate ancestors did.

Life expectancy is significantly higher than it was before. Life expectancy in 1950 was 68 years in the US, 72 years in 1975, 76 in 2000, and almost 79 in 2021. In my country life expectancy at birth has gone up 10 years during my lifetime!

There's less violent crime. Violent crime has halved in the US since 1993. This might not seem related to automation and quality of life, but I think it is - if people are living better lives then crime should decrease.

Housing has become more expensive, but housing seems to scale with income - if people have more disposable income in the area, then housing is going to be more expensive.

>retirement age is increasing

Perhaps this was unsustainable in the first place? They were effectively borrowing from future generations. Virtually every country in the world has been increasing retirement age significantly. Retirement policies were created at a time where the expectation was an ever increasing population. That has changed.
>We are probably decades away from a true human generator.

Well, with the goalposts always moving, we're probably always going to be decades away.
I think we all owe Daniel a certain amount of thanks for somehow, incidentally, maybe, preventing nutjob exhibit A from getting a multi million dollar defense project.

And anytime such unrealistic threats are made, this always makes it seem like maybe it's not so bad:

https://youtu.be/Nw1643T0RD0

(One of these days I'm going to cut you into little pieces, by Pink Floyd)
An interesting complement to your view is questioning the role of work in our ethics and sense of purpose, as elaborated for example in Russell's "In praise of idleness".
Martin. The archicture astronaut. Finally returning to earth. Landing the same spot where he took off. But wiser ...
Given that profits are unpaid wages it absolutely does make sense to erect a logical framework that justifies suppressing wages. It would be a mistake to think fairness or moral comes into play as long as it is legally acceptable to discriminate certain people.

https://elsajohansson.wordpress.com/2017/09/13/what-does-a-w...
It's unfortunate that this number stills gets thrown around: https://stackoverflow.com/a/26447543
This situation is no different to any other resale situation - you address your complaint to the person your transaction was with.
> But is it more expensive than...

Like you, i don't believe price to be an argument of concern. I'm merely stating this because over and over, both in French media and on HN, i've seen stated that nuclear is the cheapest energy which is a blatant lie.

> We can reprocess the waste to make more energy with.

Source? From my limited understanding, all nuclear research that produced either less-dangerous waste or re-usable waste was shut down decades ago because there was no foreseeable way to turn that into weapons. The nuclear industry is deeply tied to the military industrial complex and (neo)colonial extractivism (see Françafrique networks for references).

> It's more reliable as a base load than any renewable.

Source? Here in France there's uncountable accidents/scandals in the nuclear industry and reactors are often stopped for weeks/months at a time. The same cannot be said about hydro power (dams) for instance.

> I'd pay a few more pennies than that to figure out the rest of this issue

Economic incentives is only part of the problem in my view. We in the industrialized world are aiming for ever-growing (ideally infinite) energy production and consumption, which necessarily leads to ecocide and other environmental damages. Don't you believe reducing our resources/energy footprint as a society is a more sustainable way to address the problem? There are many strategies we can put in place to reduce energy consumption, but these would contradict basic tenets of capitalism. For the most obvious example (from HN's perspective), see planned obsolescence or how/why we build more devices every few years than there are humans on earth (and yet we keep on having to buy new ones, which is severely damaging the environment).
New years resolutions and other big changes tend not to work very well because they are big changes and we are very bad at big changes. Probably the most important piece of information I needed to make lasting changes to how I spent my day was the combined knowledge and idea:

1) I ran on habits for most of my day

2) I could change about 1% of my day every month

Doing small changes continuously results in a big change within a few years and most of your day is completely different. You can learn to do uninteresting, uninspiring chores if you just put small progressions towards it.
What a wonderfully well-written piece. Kudos to the author.
Whenever I hear the words "gig economy", I mentally substitute the words "shite economy". It's basically just low-paid shite that is exploitative.

A few years back I came across a site that was looking for technical writers. They'd be editors, and you'd have to rework bits that they weren't pleased with. You'd give them the copyright, too. Yeah, right, like I'm going to write a book for a grand and let them have exclusive rights to it. I felt like writing back to these clowns telling me that they were insulting my intelligence.

I would rather write documentation and give away for free than accept their terms. (I do do the odd bit of tech writing, strictly small-scale amateur stuff, of course).
Where I live being a delivery driver is not really a job for an adult. It ranges from 15 year old kids on ebikes to 25 year old students on scooters. Minimum wage for this group is pretty low it wouldn't make that much of a difference.
Karma/backlash for my rude post. I will leave it unedited, but s/makes// in case it is not clear.
We pay either way. The question is whether we pay to subsidise businesses that otherwise would not be viable by compensating through the welfare system, or whether we make them actually compete on equal terms with companies that pay well enough for their workers to earn a living wage.
I agree: it's a good way to handle angry people by taking it in a soft tone and explaining; it may have a positive impact on the person because someone cares, and if the person was just angry at the moment it may also help them learn something. I often tend to take some time to respond to such kind of angry messages though, you really need to make an effort on yourself to get back to a "kind" state of mind for it to work.
Reminds me I wanted to build a textonly proxy (like https://lite.cnn.com/en and similar) for all the web...
What a strange person and what a peculiar email.

What does any of the listed software have to do with curl? You might as well attack GET and POST.

And in the middle of a violent rant, he also gives a backhanded compliment - "Formula 1 racecar" - that's the part I agree with.
yes, very bad . It is off topic 100% and just increases the fatigue we all suffer when Rust is forcefully pushed everywhere.
Satoshi writes:

"Gold mining is a waste, but that waste is far less than the utility of having gold available as a medium of exchange.

I think the case will be the same for Bitcoin. The utility of the exchanges made possible by Bitcoin will far exceed the cost of electricity used. Therefore, not having Bitcoin would be the net waste."

I think we're long past this point and we have better alternatives to PoW now.
Gall's law.
Yeah I think a reply ignoring the threat and just explaining what Curl is would be the best approach here.

Either the person is just a crank and in that case no harm done, or the person has legitimately been affected by an exploit and at the very least it will inform them of what actually happened and how Curl isn't to blame at all.
The elephant in the room is the poor choice of domain name. A lot of people are getting the wrong idea about the purpose of his software.
To make microservies you just first build a monolith
Let me give you an example:

Lets say you have an API that implements a function similar to memcpy. It interacts with more then one user provided pointer. Lets also assume that the API is something big and complicated like a graphics driver, possibly closed source.

If you give it a broken pointer it may crash, but it wont tell you what pointer was bad and in what way. Maybe no pointer was bad, maybe the implementation is broken, or some other param is broken. An API can check other params to make sure they are valid, and many APIs do, bu its not yet possible to check poiners.

You have to dig in to the implementation to do that and that's a lot of work even if its opensource. Crashing in your code is great, because the debugger will tell you what is going on, but crashing in someone elses code is much harder to debug.

Worse, the code may not crash at all, it may over write another allocation by the same process. The implementation cant check the mallocs, it only crashes if the pointer steps outside of a memory block owned by the process.
What are the biggest drivers? It feels like death from a thousand cuts.
I usually just do this with a comment behind the #if false. Yes, nobody is probably ever going to define that particular identifier, but comments are also less restrictive (you can write normal text).
This kind of attack is pretty much exactly what the GP was referring to.
Why is your life so precious?
Do you know how precious you are and how precious your life is? Well, your life doesn't have any meaning without you. You are the meaning of your life. You are unique the way you are and it's none but you who make your life precious. http://bit.ly/37wBlwK
Yes it is. And also, all the other times. This has nothing to do with any vulnerability in curl, just that someone might have used curl to script requests. You might as well attack the HTTP protocol.
yeah but there is such a thing in computing as legacy decisions and I'm pretty sure the addition of tracking pixels is legacy in that they were added before GDPR back in the dark ages when everyone thought surely we'll be allowed to track every person and sell their data as much as we want forever!

So now you find out you're not allowed to track if someone hasn't opted in.

But because of reasons it is difficult for you to fix the thing that puts in the tracking pixel of pixels. So you leave those in place, and you do a check on the server when that pixel gets requested as to whether or not that user should be tracked, and figure that will be good enough.
There are two things wrong here:

The person saw some exploit with curl headers, which damaged their life. That's upsetting, even if the email is misdirected, because Daniel just provided the infrastructure, and did not cause the specific abuse. What is wrong is the threat to life.

The second thing that is wrong is to respond to the second email by doxxing the author to the public. The second email showed that the threat was likely not specific and immanent, but venting. A reasonable response would be to notify the police. Or to reveal this case to the public explaining why this is misdirected, but without the author's name.
Nvidia Announces New Chips Designed Just for Bitcoin Mining
Environment changes are powerful. Same goes for apps like Twitter. I used to have it both on my phone and tablet, and that lead to me checking it hundreds of times a day. Now I only access it in the browser, and in restricted time windows. Much better.

Another "environment setup" example would be buying an analog alarm clock instead of using your phone (and doom scrolling for 30 minutes every morning.

Simple changes, profound effects.
There are other more offensive anagrams I've seen used...
If the person in question throws death threats around, and if that's their real name and address, then doxxing is the least of their concerns...
Apple: It's good if you like crap
As an introvert, I really enjoyed it. I do love bars and miss going there but not a big deal. We had tons of happy hours on Zoom. Yes Zoom is not perfect replacement for in-person socializing but it is not that bad.

On other hand, my wife really didn't like socializing on Zoom. So she didn't socialize as much. Also she really misses in-person gatherings. And my biggest issue been trying to cheer her up.
Offshore Hosting Podcast
"It’s hard to think of a better way for a platform [Facebook] to anger a nation and destroy what’s left of its own reputation than to block health and hospital sites in a pandemic, emergency service sites in a state that recently battled bushfires and the sites of innumerable welfare groups, charities and community organisations, all in a bid to avoid making payments under a new media bargaining code that aims to address the power imbalance between media companies and the big tech platforms.

It’s hard to think of how to look more like an arrogant international monopoly not taking a country and its proposed laws seriously than to implement a ban with no warning and in such a ham-fisted way that a radio station could get its page back up by listing itself as a gift shop and users could still post news articles if they were posted as a link to a tweet. This is a company so sure of its capacity to bully that it was prepared to push the big 'destroy news in Australia” button apparently without spending even a moment thinking through the consequences."

The whole article is priceless.-

(Particularly when it speaks of the relative "ease" of censoring factual news sources vs. F'book's mishandling, to date, of disinformation and fakery, and the usual poison it spreads unto which it sells ads ...)
Due to the broken nature of American politics; what Texans believe on any single issue doesn't really matter unless Texans can organize better than the vested interests paying for climate change denial in policy.
Perhaps i'm a bit odd, but when I'm going to lean on an ORM to do things I expect it to actually do them. I expect that foo.user_id does not exist, because that representation has been transformed into an object. foo.user.id should be the only viable reference to the id. foo.user.id should return the value it already knows, any other property access i would expect will do the equiv of `select * from ...` if the object has not previously been populated.

Now perhaps some ORM's prefer to be thinner, to provide more footguns via a leaky abstraction that mixes implementation details with the object mapping. I don't think those are good implementaations.
Curl is such an essential tool that hadn't Daniel invented it, someone else would have. Nobody is right to hold him responsible for bad uses of Curl.

We already have wget by the way.

A lot of love to you Daniel if you read this and thanks for Curl!
Curse the alphabet!! So many subversives use it to express thoughts...
Unfortunately this is what a mental health problem looks like. Our society is ill trained to identify and deal with this category of heart breaking disease.
Exactly, but it goes further than that. The mentality never made sense since the term NoSQL never made sense to start. It's amazing how many people use a term that just originated from a meeting to talk about alternative databases. How we keep using it, although it's practically impossible to say what NoSQL is. Depending on whom you ask that term means different things. This is a very good introduction to the term: https://www.youtube.com/watch?v=qI_g07C_Q5I

Graph databases are considered 'NoSQL' yet they have relations and transactions. Schemaless is often also one of the properties give to NoSQL, but it's also a bit strange to consider that a NoSQL attribute. Some traditional databases offer schemaless options and databases like Cassandra has schema yet is considered NoSQL. I work at Fauna which has relations, stronger consistency than many traditional databases. It is schemaless at this point but that might change in the future. Since it doesn't offer SQL it's thrown into the NoSQL bucket with the assumptions that come along with it.

None of these one-liners in computer science make sense IMHO and we listen way too often to colleagues who use them. Similarly "Use SQL for enforced schema" might be accurate in many cases but in essence it depends on your situation, and we need to do research about what we use instead of following one-liners ;)
I used for about a year in 2011 to 2012. Never really got on with it - too much stuff that didnt matter.
When I had to prep for the GRE, for a month I would go in the early morning to my dad's office (he only uses it for a few hours) and study there. And there was nothing in the office. No other books, no tv, and the internet wasn't as much fun then. So I had only two options: study or sleep. Obviously I slept a lot, but there's only so much you can sleep! So I ended up studying very well and getting really good scores (not that it mattered a rats ass in the end).
That isn’t doxxing. You have no expectation of privacy if you send a threatening letter to another person.
I don't think I've ever seen anybody else suggest using fixed-length strings in place of unbounded strings. I don't think I'd suggest that either. It's like suggesting C++ folks use c-strings in favor of std::string if they can. Unless dynamic memory is a problem, why care?

I have only heard good things about Dmity Kazakov's library though, so if you need UTF-8 stuff, that would probably be the way to go.
The ecosystem.

You got loads of libraries built around flask, and a lot of doc and tutorials, not to mention how much battle tested it is.

Those can matter much more than hypothetical perfs in a synthetic benchmark.
> Is it readable? Is it writable?

VirtualQuery but the granularity is coarse, pages are 4kb.

> Where does the memory allocation start and end?

HeapSize if that's on heap, and you know the heap.

> Is the memory in the heap or stack, or a memory mapped file?

QueryVirtualMemoryInformation

> APIs that have built in tests (in debug mode) where all pointers are checked, and if anything is broken the API can fail gracefully and give out precise errors.

Visual C++ in debug builds does lots of runtime checks on all levels, C runtime, C++ runtime, and even compiler. For instance, they fill uninitialized and freed memory with magic numbers.
I agree, in the sense that someone who has done something of this nature is more likely to have done such a thing in the past. However, in this case, the victim is someone who is being targeted through his email address, which is embedded in open source software that's contained in gazillions of systems worldwide. That makes it significantly less likely that whomever he would report this to would have gotten another report about this particular individual.
Use Cases, Algorithms, Tools, and Example Implementations of ML in Supply Chain
How long does it take for the resume screening process?
AAAH. But, are you talking about the UK /EE average, or the UK/EE average software engineer? Those are two very different populations....

In EE, as a sw engineer, you will do much better than your UK counterparts if you compare your revenue to the population average. That comes with some perks (e.g. it's easier to afford services, like say, getting a babysitter) and with some downsides (the general society around you is "broken" to a greater extent; I feel that too many people take for granted what they have. E.g. having well heated homes is not a guarantee that magically happens; if the city infrastructure breaks down, you may have problems even if you're otherwise rich).

Getting a house is not everything; if fact, if you're from UK, it's probably quite easy to go to EE and get yourself a house there.... but you don't want that, do you? Because, actually living in London might have some advantages that you're overlooking, and maybe those are reflected into the housing prices, too.