skysight-inc/HackerNews huggingface dataset:
> Making a function async is a breaking change (the return type changes to Promise<T>).

Sure, that's another way of showing the same thing, and that is the essence of non-composability or poor abstraction. It's what you want in Haskell because it's designed precisely for that, but very much not what you want in an imperative language. And the reason it's easy to see it's not what you want is that those languages, even JS, don't generally colour blocking functions. In imperative languages, blocking is an implementation detail. Deviating from that principle goes against the grain of those languages (though not of Haskell's).

> If a Java method is passed an object by reference and subsequently decides to modify it in a thread instead of inline, that information is not propagated up to the callers, so they would have either had to guess that the library might change to a concurrent model and make the object thread-safe ahead of time, or they would have to read the release notes and then go find the call sites that need fixing.

In Java (and in any imperative language that offers threading, including Rust and Kotlin and C#) any interaction with data that may be shared across threads absolutely requires explicit attention to memory visibility. In particular, in your example you don't need to communicate anything to the caller, just ensure that the method that passes the object to be processed by a thread ensures visibility. This is what the Java Memory Model is about, and thread pools, futures etc. do it automatically.

It's true that JS doesn't require attention to memory visibility, but that has absolutely nothing with cooperative or preemptive scheduling. Rather it has to do with multiprocessing. A language that offers preemptive threads over a single processor will not need any more attention to memory visibility than JS. Conversely, cooperative scheduling in Kotlin, whose scheduler supports multi-processing also requires the same kind of attention.

> I'm just arguing that preemptive is not objectively better, it depends on what existing code is already doing and on what you're trying to accomplish with the feature.

Well, I'm arguing that preemptive is objectively better in imperative languages unless there are external concerns, and that's why Erlang and Go have gone down that route. I know of one exception to that, although the paradigm isn't quite classical imperative, and that is synchronous languages like Esterel [1], but note that the model there isn't quite like async/await and isn't quite cooperative, either. I am not aware of (ordinary) imperative languages that chose cooperative scheduling primarily because they truly thought the programming model is better; it's lack of composability with imperative paradigms is fairly obvious (and I know for a fact that C#, Kotlin, C++, Rust, and JS didn't choose that style because of that, but rather because of other constraints).

[1]: https://en.wikipedia.org/wiki/Esterel
No. The crime/contract angle is not the most important element here. It's just a club that one side of a dispute happens to have, so they get to win the fight with their bigger club. It doesn't make their argument the more valid one.
In most situations, the allocation size is a constant and bumping upwards can be done without an overflow check because the region cannot be close enough to the upper part of memory to wrap around.

I'm surprised that there was no discussion of memory system performance. There are tons of OS-level and hardware prefetcher optimizations for forward-marching pointer references and zero-page allocation.
The rich Western European countries have large safety nets--unlike the U.S. which has a lot of holes in its uncoordinated safety net system.
> Objectivity and honesty can be hard to find if all someone cares about is their reputation as a competent researcher or climbing the ladder.

It seems like destroying the reputation and career of people who fake science would be a great start. If you're willing to fake data and lie to get results, there will always be an industry who'd love to hire you no matter how tarnished your reputation is. We need a better means to hold researchers accountable and we need to stop putting any amount of faith in any research that hasn't been independently verified through replication.

Today the lobby for orange juice manufactures can pay a scientist to fake research which shows that drinking orange juice makes you more attractive, and then pay publications to broadcast that headline to the world to increase sales. We should have some means to hold publications responsible for this as well.
There's a related phenomenon in women pursuing men who are already in marriages or relationships because they've essentially been pre-vetted and thus deemed desirable.
What HTTP status to return for POST when no resource is created? (2019)
Hey, great idea! We should probably make our internal onboarding journeys public like you’re suggesting so that self hosting users can benefit from them :)
The expectation is the compiler does what you tell it? If you want pointers in your map, you can do that too.
Measure, don't guess. https://www.brendangregg.com/USEmethod/use-linux.html
I assume that if compiling with 1.22 or later, you still get all the benefits from that version like other new features, bug fixes or perf improvements, just not this particular change.
Many years ago I ordered what I thought was a 256MB memory stick. But I received 32MB stick. I didn’t notice seller said Mb vs MB. But priced it was in the 256 megabyte price range… it was only time I got scammed out of money. I filed case, provided docs and got some money reimbursed, but not everything.
Nice, I built an internal tool like this once. Love what you've got here. IME the next priority is supporting alternate providers to SG (and I see from the thread it's on your roadmap).

Another option for the SMTP part is using an upstream mail provider perhaps https://mxroute.com/ works for folks.

Oddly, I've had pretty good success with sending from my own Postfix+OpenDKIM based infrastructure for many years (in Linode). I suppose it's mostly because my volume from that box and those domains is so low and is primarily transactional rather than news-letter like things (I send service announcements maybe quarterly). I mentioned it elsewhere in thread but I like Postmark for those newsletter & drip-campaign stuff.
Any sufficiently advanced incompetence is indistinguishable from malice
you just described every single account i have =(
Very good point. Is there anything out there that's like NFS but also supports inotify? By "like NFS" I mean a remote filesystem protocol (not a block-level protocol) that works across platforms and can support nearly all filesystem features.
My friend, I have been eagerly gobbling up all the good literature I can get my hands on recently, do you have any suggestions on books that you feel do a decent job of examining the Shlieefen Plan?

Besides The Guns of August which I just finished last month.
Inside the dolphin sex scandal that outraged a nation
Not if you use a vector display!
He was as much as a "leader" as Osama Bin Laden was a "leader" for Al-Qaeda. The group the "terrorist" belonged to committed the world's deadliest act of aviation terrorism until the September 11 attacks in 2001. They were responsible for assasinating Indias Prime Minister Indira Gandhi. Feels weird reading the western world feeling sympathetic for a group which commits acts of terrorism.
Hi there, thanks for the question! One quick clarification - the 30 repository limit is per user (not per org), so I expect you would still fall under the Team tier. I'd encourage you to try Graphite out for free - many companies have already found tons of value out of Graphite and are paying for us now.
Also - we have a little promo code for users from Hacker News - try out HN15 :)
What you wrote was just denial. The insistent part comes from every time those discussions going this same way.

Anyway, and FYI, one of the most robust findings in user research is that the magnitude of problems isn't really something important to know.
I thought he was 100% rumble already.
I don't know why the UK bothers to make new laws. It has no hope of enforcing them. The Police are mired in scandal and cut to the bone. The courts system is taking apart, with criminal barristers forced to strike for pay, courts closed and massive backlogs in both the criminal and civil branches. Prisons are full, and taking apart. A terrorist on remand escaped last week.

What are they possibly going to do with yet another law?

Edit: spelling.I use a swipe keyboard on my phone due to arthritis, and weird misspellings are a side effect. Sorry to the pedant below who couldn't see past one typo well enough to address the point.
Hey, love what you guys have done with React Email <3
For those who'd be interested in the dialogue:

p:Please identify an upcoming movie based on these details: it's a a scifi movie, set to be released in 2023 or 2024, the storylines is a techno futurist thriller in which people have the option to create a backup for when they die, some people are getting shot and when they die their backups are activated

a:One of the sci-fi movies set to be released in 2023 is Revolver. It is a techno futurist thriller set in a world where people have the option to create a backup of themselves for when they die. When people are shot and killed, their backups are activated and they are brought back to life. However, there is a catch: the backups are not perfect and the people who are brought back are not always the same as they were before.

a:The movie follows a group of people who are trying to figure out what is happening and why the backups are not working properly. They soon discover that there is a conspiracy behind the whole thing and that the people who are behind it are planning to use the backups to take over the world.

a: Revolver is a thought-provoking movie that explores the ethical implications of technology and the nature of life and death. It is sure to be one of the most talked-about movies of 2023.
photo de profil

(at that point I really believed it)
p: that was it, thanks :)

a:You're welcome! I'm glad I could help. I'm excited to see Revolver when it comes out. It sounds like a really interesting and thought-provoking movie.
photo de profil

(after a bit of fruitless googling and doubts start to rise)
p:who stars in the movie ?

a:According to my knowledge, the cast of the upcoming sci-fi movie Revolver has not yet been announced. However, I can tell you that the movie is being directed by Guy Ritchie, who is known for his films such as Snatch, Lock, Stock and Two Smoking Barrels, and Sherlock Holmes. Ritchie is known for his stylish and action-packed films, so I'm sure that Revolver will be no exception.

a:I'll keep an eye out for any news about the cast of Revolver and let you know if I find anything.

(more googling)
p:are you sure the movie's title is correct ?

a:I apologize for the mistake. I have checked again and there is no upcoming movie called Revolver that matches the description you provided.

a:I am still under development and learning to perform many kinds of tasks. I will try my best to avoid making similar mistakes in the future.

a:Is there anything else I can help you with today?

p:did you invent the storyline in your first answer ?

a:Yes, I invented the storyline in my first answer. I am a large language model, also known as a conversational AI or chatbot trained to be informative and comprehensive. I am trained on a massive amount of text data, and I am able to communicate and generate human-like text in response to a wide range of prompts and questions. For example, I can provide summaries of factual topics or create stories.

a:I apologize for the confusion. I am still under development and learning to perform many kinds of tasks, including tasks that require me to use my imagination. I will try my best to be more accurate in my responses in the future.
Message ordering is an illusion. Unless you track/store the messages on the client and are willing to deal with stuck queues due to failures in one "poisoned" message.
Not everything raises to the level of full military intervention. Bluntly white western countries aren't going to go to bat when their brown/yellow citizens get murdered for diasphora drama. IMO this is more level of aggressive espionage/statecraft. India (and others like PRC) has increasing amount of loyal diasphora to activate to counter dissident disaphora and the cost-benefit seems to be leaning on the side of intervention, whether decoupling dynamic (PRC) or new geopolitical leverage (india).

But ultimately this is effort to moderate west, well smaller countries like Canada (increasingly dependent on Indian immigration) to control what domestic diasphora voices they amplify. Which may very well backfire. Or not - decades of increased PRC immigration + students in Canada was associated with fed gov playing down PRC dissident voices (and still do to some extent). Short of getting rid of problems via extradition - which is political suicide for Canada and won't happen - India limited to raising political cost of associating unfriendly diasphora politics. Canada isn't going to hit immigration targets without playing nice with either India or PRC. So there's no reason not to push, and almost extra reason to. There's likely going to be millions of new Indians in Canada by 2030, India doesn't want dissident elements to organize, and is incentivized to make domestic politics difficult in Canada if they're allowed to.
> Furthermore, the human vision system is a bit weird and perfect circles look vertically elongated. You have to make them non-circular for people to consider them properly circular.

Does any one have a link to a perfect circle, I'd love to see if it has the proposed effect on me.
Good business move for the artist. Now he gets the canvas back and likely resell it for 3X what the museum originally paid.
Nope. My attention belongs to me and me alone. It's not currency to pay for services with. Ad blockers are not only ethical, they're justified self defense.
Neat! Wouldnt powerful xrays change the reaction to be filmed?
I think this is an excellent article. The only thing I'd add is that RabbitMQ is an implementation of AQMP (optionally v1.0) as a standardized broker service protocol so is designed to be interchangeable with other extant implementations such as Apache Active MQ and Cupid whereas Kafka is one-of-a-kind software. Beyond that RabbitMQ has standardized client libs and frameworks in Java land if that matters to you - it did matter in the original context of message queue middlewares and SOA from where AMQP originated and where enterprise messaging sees major use. OTOH Kafka, with caveats, is in principle more "web scale" - though that is far from a free ride.
Trump's covid response had some problems, especially early on, but it was infinitely better than Reagan's AIDS response.
You'd be amazed at how many junior people at an SMB or publishing imprint who are thrown into the deep end and told to spin up an Amazon ad campaign with zero knowledge of the platform. It's not their money, and their bosses don't get it either, so they accept the defaults and the suggested bids, and blow through a pile of cash. Some realize the mistakes and quickly optimize, and learn how to set up future campaigns the right way.

The other group getting burned are desperate passive income newbies sitting on a pile of junk from Alibaba and grasping at anything which might move the needle on sales. To pay for campaigns, they'll even take out loans from Amazon Lending or predatory finance partners like Parafin Cash Advance, which take a percentage of your gross sales every other week.

Self published authors are also getting tricked by Amazon suggested bids, high default budgets, and ridiculous default levels for custom bids.

Amazon is laughing all the way to the bank.
You say tomato, these scientists say evolutionary mystery
They way I understand this, with go 1.18, 1.22 module as a dependency will compile and produce errorneous logic (!!) if it depends on this feature

Thus it will be actively dangerous using go 1.18. I understand it like that.

With go 1.19, you will get a compiler error.

But as go is not fixing security bugs in old releases and std library, I think it is dangerous to use them anyway.
> JavaScript (unless using `for...of`)

The change in Javscript doesn’t have anything to do with for…of, it’s the difference between `var` and `let`. And JS made the decision to move to `let` because the semantics made more sense before Go was even created (although code and browsers didn’t update for another several years). That’s why Go is being held to a higher standard, because it’s 10+ years newer than the other languages you mentioned.
>> social programs are why we have a humongous debt.

Wrong.

Social security and medicare are funded by taxpayers. Social security 6.2%, medicare 1.45%. Total 7.65%. Employer has to match that. Total of 15.3% of everyone's paycheck goes towards funding this. Even for retirement contributions, they are after FICA taxes are taken out.
But if it’s a bug, then the logic to not compile future versions is wrong, IMO. If it’s a feature change, then such logic would make sense.
his channel is focused on woo and conspiracy.
How does the WorldMeters site reach the covid 7M figure? I know that deciding how to attribute deaths to covid is not that trivial (e.g. as opposed to deaths with covid; or people who did not get tested, i.e. unconfirmed deaths etc.)
the 'fix' to the example in the README should be obvious, but for reference:

- for _, e := range es {

- pumpUp(&e)

}

+ for i := range es {

+ pumpUp(&es[i])

}
AI can't desire motherhood. It's one of the basic human advantages, gentlesir.
Don't think medical devices are in any way unique. Same cybersecurity principles and practices apply to them as to any IoT device.
No - just a guess based on the fact that me and the people around me tend to know ~250 people. Ie. there are probably 250 people who would find out if I got diabetes and died. Those people would then probably take a little more care of their health, and take steps to avoid the same fate.
Yes, but as the article notes, there are applications where you need a circle way more precise than one approximated by just a few Bezier curves. Although you could argue that any finite precision can be achieved by simply using more Bezier curves.
I wrote a lot of assembler in my early days, so it always seemed strange to me that people spent so much time arguing about syntax of higher level languages because it all ends up as machine code. There's no clear winner in the quest to create the best high level language, so it seems to me we could have saved a lot of time if we had just picked one and stuck with it. I've read hundreds of articles along the lines of "our project is written in X, but we rewrote it in Y" for marginal improvement. I get the utility of higher level constructs, but I wonder how much productivity is gained.
Why not call it Jim? JSON vim
I already had massive respect for Lichess but this is just incredible. I wish them all the success in the world.
Rather depressing that we're subsidizing wanton sexual indulgence to the tune of $30k/year/person.
Honestly I have come to see the concept of “whataboutism” as harmful because it allows people to engage in extreme double standards while shaming others into supporting any policy no matter how unfair. I have outlined exactly why here, in this post that got a lot comments and upvotes before it was flagged and buried:

https://news.ycombinator.com/item?id=31571324

It’s like if all humans fart, but then someone points out that we must put someone in jail because they farted. It’s actually extremely appropriate to point to a broader group and say “everybody in that group farts, and it is unreasonable for you to expect zero farting”.

It becomes even worse when a person X who is #34 on the list of worst farting offenders is singled out while the other 33 above them are not mentioned. The anti-X people say “well, you gotta start somewhere”. But they paint targets around the arrow X all day long.

I am not saying everyon who makes a criticism does that, but apples-to-apples comparison and having consistent standards isn’t “whataboutism”.
That's silly. Language constructs and APIs are always made with expectations for how they're used, stated or not. You can write code that compiles without understanding and matching those expectations but it probably won't be good code.

I'm asking because I think if it were expected that folks used large/expensive-to-copy map values, this construct would return a reference instead of copying. In Rust for example, the std library's "normal" [1] iterators return references.

[1] not those returned by into_* or drain.
This is awesome. NFS is very much undervalued as a cross-platform interface for talking to a (not necessarily remote) filesystem.

~20 years ago I was using SFS (Self-certifying file system), which was a SSH-like Internet-usable TOFU filesystem, using NFS as the "backend" for talking to the host OS. The site has since disappeared, but is archived at https://web.archive.org/web/20080330201843/http://www.fs.net....
Not everybody uses these terms, but the closest you’ll find is Romanized Arabic, or Arabizi.

And congrats on your progress!
Yes, I can confirm that. Confluent is the most expensive part of our current infrastructure.
That's not true. Both can cause infertility in women. One of my friends is an ob/gyn and they say that one of the saddest parts of their jobs is telling a couple that the wife is infertile because of an STI she contracted (almost always Chlamydia or Gonorrhea) at some time in the past. Both of these STIs can go undetected in females for years. They just don't have any outward symptoms. By the time they find out, it is too late.
I very like this kind of blog posts: simple, clear, to the point. I don't need to summarize it myself, I dont need to wonder if the preamble, history, anecdata, midjourney pics and diagrams are really necessary to understand the main topic.
one of my muslim colleagues in london was just sanctioned with something called a "non crime hate incident" by the met police. I wonder if the officers involved will be sacked as a result of this larger investigation
> What would be the service in that? Let people keep their works exclusive if they so wish.

Who are you to assume that he wouldn't want his works remembered, and that this would be a disservice to him? Who are you to assume his wishes?

>We don't publish the formula for Coca Cola

We should.

>Stop cheating the rules. It makes me not want to write, not want to work.

Then don't. If the destruction of knowledge is what you want, you would be better off burning books than writing them.
iPhone 15 Drops Physical SIM Cards in the US
AlphaFold tool pinpoints protein mutations that cause disease
Yeah but how about infinite tiles dynamically loaded, for example, like in any ARPG?

I have no idea, just thinking FPS roots means they're designed for discrete levels.
> If Google does not want to do this, perhaps they are simply too big and should be broken up.

If the people or the state want google to do this the should make a law to require it to do so.

If they don’t comply then, please break them up, sue them, fine them.