skysight-inc/HackerNews huggingface dataset:
Last year, my HN comments ranged from −4 to +76, with one outlier at +283.

(Methodology/source: https://news.ycombinator.com/item?id=32547760.)
You backed up the key.
>Are you assuming that dualism is invalid?

I am only noting a reliance of Nagel's bat arguments on dualist assumptions. Those who reject dualism can then draw their own conclusions ;)

>Then it would not be a complete physicalist explanation of consciousness. A complete physicalist explanation of consciousness, by definition, would have to account for subjective experience/qualia/whatever you want to call it.

For sure a physicalist explanation must somehow deal with these things, but what I mean is that it could turn out that the question "what is it like to be a bat?" is simply incoherent. If a question is in principle unanswerable, self-contradictory or nonsensical, then we can't very well demand an explanation.
The monadic/Result pattern only works if your language has a lot of syntactic sugar for it (for example to mix functions that can return errors with ones that can't you need some kind of 'bind'), but when you're used to it and don't try and play too many clever tricks on the side (not _everything_ has to be a monad) then it can be very readable and easy to work with.
"Go tell that to people". (Oh, you just did. Ok, make it effective. "Don't touch your face".)
I wonder if there was ever a Unix version of Lotus Agenda? It was a database/organizer from that era that my father still uses to this day for every last bit of his notekeeping (these days, in DOSbox on Win10). There was a project called "Chandler" that was intended to build a modern clone, but it seems to have gone nowhere.

My dad's frustration with Windows 10 is starting to boil over, and while DOSbox runs just fine on Linux, a (semi-)native version would be better.
To see as much detail as possible without confirming they are here. Sensors aren't unlimited, aliens would be constrained by the same physics as we are.
Error handlers, what is called callbacks in the article, have existed since time immaterial in operating systems. They have also been popular in PL/I and Lisp as signals and conditions. Unfortunately, Unix implementation kinda limited them (there is limited number of system signals, error handlers do not stack), so they never became really popular in C.
I must have misheard it, but from what I understood it took 40 seconds from commanding the Flight Termination System until it triggered the explosion:

https://youtu.be/L2Xzx9Ej578?t=240

"what was the lag of the flight termination system" - "40 seconds"
Also if people are interested in further speedrunning videos, I very highly recommend "Summoning Salt" on YouTube!
I find NaN mostly awkward and annoying in practice. Writing graphics code, you often find that some rendering step just fails completely, and it's because you had a NaN (almost always divide by zero) somewhere along the line. Trying to pin down exactly where it occurs can be a real pain. Rather than silently passing NaN along, it would be much more useful to fail immediately and loudly.

Therefore, I'd be very wary of using this pattern elsewhere, unless you can carry along a backtrace to help track down the culprit.

On the other hand, it is useful that GL shaders will still sorta-kinda work even if you have zero divides, rather than completely blowing up. In many cases this only happens on a single pixel with very specific inputs, and you can just ignore it -- like having a single dead pixel on a monitor.
The real thing may not work if you think it is bullshit.
Understanding GraalVM, AOT and JIT
I tried. I'd need a github account. I don't want to have a github account.
Hiding it means it comes back if the mouse wanders to the "wrong" area of the screen. That's as good as it gets now.
> If your business invests in physical servers anticipating strong growth next year then later finds out actually we're going into a recession and those servers are no longer needed, then that's a sunk cost.

Cloud vendors also mostly sell minimum use packages for discounts in the range of 20 to 80% (called e.g. "committed use discount" or "compute savings plan"). Lots of businesses use those, because two-digit discounts are real money, but they might find themselves in the same spot as with physical hardware they don't need...
Clicking this link changed my Amazon app location to UK and I can’t figure out how to change it back! Thx for the recc though.
The EU Court of Justice confirmed that there is no “threshold” for GDPR damages
Huh. It just means a potato to me (Brit).

I suppose, but OTOH, this is not at all a serious translation. It's at heart an extended joke.
Lambda , Steps functions,... is just pure marketing scam to me , because the price is ridiculous too high for 99% of real world use case.

They're though good enough to deliver an MVP quickly, but that's all about it.
The loom is worthless because it:
- does not produce novel weaves
- is not aware that it is weaving
- is made of bits of metal
- does not understand cloth
- is promoted by some people who were wrong before
Currently we have the problem of merges of two working branches occasionally resulting in a broken one. How does one solve that?
A person vouching for another person. If they vouch for a bot and it's uncovered, they and all the others they vouched for lose access forever. This creates a powerful social dynamic wrt. choosing who vouches for you and who you vouch for.
I'm intentionally ignoring any of the sarcasm in your comment. The time needed for a db dump is always dependent upon the amount of data. This is true regardless of the db software or where it's running.
All of things you are complaining about are well known facts that are clearly stated in the documentation.

I don't care about what is the equivalent computing power in 90s desktop measurement because you cannot replace a lambda function with a 90s desktop, so it is pointless.

The right approach is: I have a problem A that I can implement using AWS Lambda, AWS EC2 or your favourite DHH approved stack, how much of these cost compare to each other.
Think about it like this. The cheapest car today is better than the most expensive car from 40 years ago in almost every single way (barring a few exceptions)

Technology that can affect a huge number of people tend to become more available and more accessible over time. It is the niche things that tend to not evolve or to not become cheaper
Missing:

* errors from async-colored functions (ie. .then/.catch/.finally and higher order combinators on them, ie. we use a lot of p.catch(log.rescue(...)))

* errors in generators

* errors in async generators

Using functional approaches helps working with things like managing severity, error codes, nested errors etc. that may be attached to errors as well as managing higher level concepts like timeouts, retries etc.

This article reads like hello world for errors, there is more to it.
looks like more ergonomic/focused version of fp-ts[1] Thanks for sharing!

[1] https://gcanti.github.io/fp-ts/
Yes, I always felt like building highly interactive user interfaces is like building a game. I guess it feels even more like that if it’s “multiplayer” like Figma.
A 0.5-1% mortality rate for a virus that everyone gets is not "super low."

That's alarmingly high for such an infectious virus. It's why CoVID-19 caused such a spike in mortality around the world over the last three years, and why life expectancy in the US declined by two years.
The "different set of services" is so basic it can be ran anywhere, and near-everywhere is cheaper than AWS
I merely made a joke, I did not imply that "nothing has changed" and reading it as such is rather uncharitable.
Also, Google lost the bid on Github when MS acquired them and Gitlab is the next best thing for them to partner with.

Of course "Explain this vulnerability" does not exactly sound like a compelling use case. This press release is hot garbage that adds to Google's problems instead of solving them by being bland, vague, hand wavy, and unspecific.

I think MS has a the vastly superior play here with e.g. co-pilot, partner ships with openai, and a lot of people already using gpt 4 powered plugins in their IDEs.

The right level of ambition for Google & Gitlab would be "Create a pull request to address this vulnerability" or how about "Review this pull request". Gpt 4 can do code reviews with the codeGpt plugins for vs code and intellij. And it actually finds stuff when you do that.

Or they can just wait for MS to roll that out with Github. I have no inside information as to whether they are planning any such thing. But it's an obvious move and they have a lot of the pieces needed for doing a decent effort for that. Including AI that is more than a press release, actually works, and is being used productively by real developers already.

Why does every press release from Google read like "The dog ate my homework. Again.", lately?
The advantage of errors as return values is simplicity and localization of the impact.

Each of the three major paradigms (return values, exceptions, error handlers) has pros and cons, neither is strictly superior.
Thank you!!
Yes, we do cover the entire world, checkout: https://placekit.io/terms/coverage.
To be precise, we support 246 countries over 249 from the ISO-3166-1 list (https://en.wikipedia.org/wiki/ISO_3166-1) for now. Improving the global coverage is a continuous effort and we'll add the remaining missing islands very soon!
Runtime Dependency Management? Instld
Scientists find link between photosynthesis and 'fifth state of matter'
Astronomers find distant gas clouds with leftovers of the first stars
Space Elevators Are Less Sci-Fi Than You Think (2022)
Was this missing a /s ? Poe's law applies so hard to people's language syntax preferences. By which I mean most of you are wrong, to be clear.
GECKO all the way. :) I think AWS gave a reasonable price to Retail. The migration caused the biggest outage of the website but at the end there was some pretty nice cost saving on the YOY infra cost.
Kinda depends if you can run replication from aurora to regular database
Sadly Go doesn't force you to handle the error (this passes go vet):

a, err := strconv.Atoi("blah")
b, err := strconv.Atoi("123")
if err != nil {
log.Fatal(err)
}
return a + b

This could be fixed to emit a vet error, but ultimately it is inferior to only returning either error or success, instead of returning both even through logically only one exists.
Well if you're set on training something for a specific budget then it does of course make sense to pick the most optimal model size, true.

But the problem is that these models don't exist in a vacuum, and have to go against slightly larger ones that are also compute optimal and use more data, which will definitely perform better.

Then again maybe there is a sweet spot for a model that's small enough to run effortlessly on regular machines while only serving as a control node in an autoGPT style setting, where it fetches the context it can't possibly have from a curated online database to make up for its shortcomings.
Now I know Mr Beast's target demo.
I don’t see this wording in the original page.
What's concerning is that when people use Observables, 90% of the time you need to break out of them again.

Subscribe, (value) => currentValue = value, do some calculation, onDestroy unsubscribe..

I don't know whether people really solve complex problems or whether they just appear complex when you use RxJS.
> Do you think the Lambda team want people to use as many of their services as possible even when it's not actually appropriate and there are better architectures and approaches available?

They most definitely want to as that would most likely mean more money (and promotions) is flowing there.
For a technical standpoint it's a system that generates OTPs from another Auth source, like biometrics or even a classical password.

From a practical one it's another way to get people to relly on major comporations for all Auth ises so they yet have another thing anchoring to their ecosystem.
I was under the impression that Russia has been doing something akin to that?
I've always heard it as "single instance."
How does recursion / recursive queries work, e.g. tree-like data structures? How are cycles represented and handled? Particularly around performance?
The cloudflare one, since OpenAI use it themselves?
Yes.

If you don't have it, that's an F grade.

Ruby modules get a D, and Java interfaces a C-.

C++ gets a D- with its base classes having to be declared "virtual" nonsense in order that your object isn't a Duck in four different ways due to diamonds in the inheritance lattice.
If You Double-Park and You’re Rich, Should You Pay a Higher Fine?
New Layer of Abstraction, Not the End of Software Engineering
An optimistic view on how Software Engineering will progress in the upcoming years
The only problem with that is that Docker lambdas boot slower than lambdas with the built in runtime (not ridiculously slow, but could be 2x or something). God help you anyway if you’re trying to do something latency sensitive on Lambda, but if you are then you probably don’t want to add more time for a docker pull.
Even if you’re talking about just ripping your own games, you are on uncertain legal footing if there is any DRM you have to circumvent to do it.
>Another pain with monoliths is that they can only be deployed if the entire monolith is passing all tests. When you cannot deploy your changes because someone else on an entirely orthogonal team broke something in the monolith which is not related to you it gets old really quick.

You can just... not allow code not passing test into master branch. They can fuck around in their own one, that's what branches are for
Check my other top level comment in this thread :).
A Great Copper Squeeze Is Coming for the Global Economy
That's been my experience too. Google mostly accepts things as long as the domain isn't brand new, but Microsoft will just not work with you because they don't like the IP block you are on.
no replication for this one as well, huh. oh well
I have seen demos from azure got service and how easy it is to configure and use.

It's production ready. Companies only need to start using and fine-tuning it.

This should get rid of plenty of manual service request.

And in my opinion the biggest leap is that it's now much easier than ever to fine-tune something like this.

The last 1% does need much much less personal
They will understand their password has been replaced by fingerprint reading or pin on their smartphone. They won't bother with the technical aspects behind it.

And they will be fine with that because they have already been introduced to this because that is the way they authenticate locally with many apps on their smartphone already.
Biden races to come up with AI plan
I think that we've had previous discussions on this very story, here. It's familiar.

Sadly, it's not unique. Many charities and whatnot also end up trading their good name, to enrich corporations. My mother used to run a nonprofit, and told me about it. In her case, I think they only made about 5% of the proceeds, and were happy about it.

The "Trade on a nonprofit's name, and make money" model is quite old (My mother's org was doing it 30 years ago).
Funny, I saw that same line and thought "oh yes, that is much cleaner". Well, it is a little goofy to have what looks like a function call in the middle of a type signature, but the `Send + 'static` are simply what's needed if you want to use some sort of magical N:M thread pool in a language with TLS.

Honestly, a lot of the challenges people face with Rust async is because they're trying to use a really low-level primitive instead of just using normal threads. They come from a language like JavaScript or Python where async is the only option for concurrent I/O, and they don't realize that JS async is a completely different construct from Rust async. They'd be better off using threads.
I found out about this today; coincidentally, it was also my wife's birthday. Used it to wish her a surprise.

In the end, the expression on her face was totally worth it. Thank you for making amazing interactive games as always!
‘Put a man on it’: the short story of my medical research career
If you return an `Either[Error, T]` (to use Scala syntax) then in case of error you never have to construct a T and the caller can never read one by accident on the error path, whereas if you return a pair (T, error) then you can hit at least three cases:

1. T is an int that's sometimes legitimately zero, if you return (0, err) and the caller isn't careful they can look at the 0 without realising it's not valid.

2. T is a 'pointer' type so you return (null, error) and the caller tries to dereference the pointer anyway (one example I've seen is inserting a logging statement for debugging purposes just _before_ the error-check, along the style of `logger.debug("foo {t.name}")` where the braces interpolate stuff).

3. T lives in a strongly typed world where there's no convenient null value available (maybe your language distiniguishes between "definitely a T" and "either a T or null") so you somehow have to construct an instance of a T even though you're never going to use it and it'll most likely be invalid in some sense.

That doesn't mean the golang approach is bad - especially not in golang itself - but you do need to know how to use it correctly. Then again, using monadic error handling in golang would probably be strictly inferior - it's not that you can't define one, but the language doesn't have the syntactic sugar to handle it like e.g. Scala does, and I find that being able to use that sugar to get some readability for the approach is the whole point of monadic error handling.
Wouldn't that be misandrist?
I guess the idea is they will ask you to grab your smartphone the same way they do it for 2FA. For the end user it will be just like using the 2nd factor of authentication without the primary one (login + password).
The smoking gun is probably the box that was previously labelled "Media Conversion Service" (Elemental MediaConvert - easily 5-6 figures/mo. for a small amount of snappy on-demand capacity, or crippled slow-as-molasses reserved queues) now labelled "Media Converter" running on ECS. For example, vt1 instances are <$200/mo. spot and each instance packs enough transcode to power a small galaxy, for fine-grained tuning an equivalent CPU-only transcode solution isn't that much more expensive either.

At some point the industry will wake up to the fact the AWS pricing pages are the real API docs, meanwhile dumb shit like this will keep happening over and over again, and AWS absolutely are not to blame for it, any more than e.g. a vendor of cabling is guilty of burning down the house of someone who plugged 10 electric heaters into a chain of double-gang power extension cords
I don't have any proposal here, just an observation about self inconsistency
Relative to the scale of the universe, yes, I guess it is flying beside it.
Biden races to come up with AI plan,

A vision for the future, he wants to span.

A world where machines and humans unite,

To solve problems, innovate and ignite.
The correct thing to do is user-initiated subscription signup. That means the e-mail subscription itself must be user-initiated and not part of or blocking some other flow.
> In F# you can use `f()` or `g ()`, but if you are chaining them, `f ().g ()` is not the same thing as `f().g()`, so you are forced to write `(f ()).g ()` if you use spacing.

Never encountered it, but after thinking it through, I think I see why it behaves differently. a standalone `()` is the unit value, while a `f()` is a function call. And `f ()` is passing the unit value into the function f.

And now I think I can't unsee that wart on f#. (I personally mostly use the `f()` style of function calls)
Maybe the US should invert the law and make everything illegal, with specific things being made legal, like a whitelist.
How do scalpers get around ID requirements?

Purchases/lotteries/whatever allow one entry per natural person, using an ID. You have to indicate ownership of that ID to take up the entry ticket. Then you have to show the ID on entry. Typically such places will buy back tickets and you get a refund if they sell.

You can use 'receipt of state assistance' (in the UK this is called 'benefits') as a marker for poverty [definitely not perfect!] and only allow access to, for example, a low cost lottery on entry for such poor people.

It's not perfect, but is that not at least good?
> Maybe you should have gone to China last year or the year before to enjoy the authentic Chinese experience of living in a cage without food because grocery shopping was verboten.

That's the bailey, the wide-ranging generalization about China as dystopian hellhole that you want to make. When you get pushback, you retreat to the defensible motte of: Well, there were some lockdowns for limited time periods in some places in China. The second the coast is clear, you go back to occupying the bailey.

Motte-and-bailey: https://en.wikipedia.org/wiki/Motte-and-bailey_fallacy
Locality of reference matters.

It's fine to split things up, but we have to be careful how we do it + aware of the overheads.
Congratulations on launching! I love how your OpenAPI definition is front-and-centre. I'll be adding it to the APIs.guru OpenAPI directory ASAP.
I’d expect that it’s not cached. But then I would go ahead and call that memoization.
It's way too easy to just add a lot of friction if you go too far.

I also think it would be way healthier if teams acted as "maintainers" rather than "sole developer" of a service.

For example if team A wants feature from service team B manages they should be free (after communicating that so there is no confict/work duplication) to just make that feature and submit pull request to the team B.

Then team B can make sure it's up to their standard but that's shorter work than getting the whole machine of "submit a ticket for team B to add feature, find manpower to do it, and schedule work" running.
Here in Australia I once saw a community choir shut down over the combination of copyright and public liability. I haven't seen a second choir so I don't know how common that is.

While destroying the last microfilm copy is a tragedy, I'm less confident that the person is being irresponsible. Preserving culture legally is difficult to do. Some people have weird beliefs that the law is somehow advisory and common sense rather than the law.
Yes. There is a tribunal waiting for them.
If you are looking at metrics, you are sending spam. Simple as.
Callee: creates a complex object and does several steps of initialisation. Last step fails, so it returns a partially initialized object and an error.

Caller: checks the error, which is not fatal, but expects to get a nil in this case. Ends up with a non-nil partially initialized garbage.

Yes, someone screwed up. Yes, it's a bug. Doesn't change the fact that there are better error handling approaches that eliminate this kind of bugs completely
I wonder how Elon actually feels about his purchase of Twitter for $44B.
That is good to hear. I was under the impression that with TOTP you could only initialise once.
I was referring to the prolog programming language. What would happen if we replace the rationale with a concrete program in prolog: Example
tag = daughter(X), rationale = father(_,X),female(X); mother(_,X),female(X).
I confess I had a failed de-dupe bug on HN (last week I think?) and so I just assumed you fell victim to the same bug and didn't realise the posts are subtly different.
Not getting it.

Why would his salary change?

Or is this again a waitress issue? Instead of paying them proper money they get nothing and royalty?