skysight-inc/HackerNews huggingface dataset:
Exactly. It's a great DX. Once you do it, you don't want to go back.

I've been a more than one agency where someone would try to spin up and older project and it would take up to day or two when all said and done.

Then recently I was at an agency that used VSC+SSH and did the "local dev" envs on Digital Ocean. But most of the clients were on Kinsta so - to me - why even bother with DO? Just "local dev" on Kinsta, repos on Git*, etc.

The only thing I never figured out was how to do phpcs / wpcs via that VSC+SSH connection. I believe there's way but never dug into it. While PHPStan should be easier as it's a CL-based tool. But having a checklist of things I might want in the dev env and having the installs automated would be so so nice.

In any case, you get the point.
A lot of basic research is government funded, i.e. grants for ongoing research at public universities, but except in extreme outlier cases like the global pandemic, private biotech companies don't get free government handouts for their drug research, and certainly not in meaningful amounts. For perspective, privately funded medical research spend is more than 5x the total NIH budget, and only a portion of the NIH budget actually goes to drug research.
I don't know about photography, but these people sure had an iron grasp on drawing the rest of the fucking owl.
Thats kind of disappointing. If certain companies are using certain patents to prohibit trade or commerce then that should be fair game to sue companies for.
Publicly-licensed works are 100% copyrighted. That's why they need licenses. A true public work doesn't need or get any licensing. Linux is copyrighted, and licensed, to become f/oss. Shakespeare is actually public domain, no license required.
Yeah, but the MBAs can take away your food supply.
Margin Call might be the most accurate one (as accurate as a movie can get) and one that actually peeks into modern finance operations.
The way the system is set up, if the drug is FDA approved, insurance companies and medicare basically have to pay for it, regardless of the price. The drug companies are testing exactly how far they can push this before the system changes. So far it has remained resilient.
Typical Second Layerist. This is the future of money we're talking about, but you'd rather live in the past.
Ask HN: Do you think Adobe's AI will replace Photoshop?
I had an interesting thought because I personally don’t think it will replace photoshop etc because it requires emotional intelligence and loads of thought to make something creative and even with Gen AI you need to know what you want to type it in specifically. Most ordinary people don’t use photoshop but the creatives that do they may use it to assist but I feel they may not utilise it all the time because they already do so much research and work to make something happen. Also you could replace a function of your job thus also devaluing your own job and employers might reduce your salary as a result.
The problem with writing cold emails
> Who needs to do a driveby shooting if you could drop a homemade bomb from a McDonalds bathroom 20 miles away using some jailbroken drone?

Driveby shootings are super easy. Drone bombing someone is way harder. Especially from 20 miles away. I don't see how Ukraine would change that.

Getting away with driveby shooting requires about the same amount of faff as getting away with a drone murder. (Because in both cases unless you biff it spectacularly the police is not going to catch you red-handed. They are going to find you based on who wanted the person gone.)
Economics is not actually a Nobel Prize, which leaves us with 5:

Literature - unlikely

Peace - I can construe some scenario, but - again - unlikely.

Physiology or Medicine - For the Apple Watch?

Chemistry - unlikely, they don't do fundamental research

Physics - same
It sounds like it's not an automated rating system and doesn't rank people. It only identifies really good people and really bad people.
I think this is just human nature. Dalio just systematized it and put it out in the open. We are primates.
> Drones and IUDs may be less traceable than guns and offer even less risk to the user.

Gotta watch out for those intra-uterine devices - they can take out a city block. ;)
Well you're in luck, because 2024 is the year of the Linux desktop.
Specifically in Golang, an issue I encountered writing SQL queries is when you expect the response will contain null fields. Specifically in Go, at least with the stdlib database/sql client, there's a lot of boilerplate code you need to add to make raw queries without an ORM to map to a sql.NullT object (where T is the Golang equivalent type for the column), then check for each row if the sql.NullT object is "valid" and then copy the column values for each row over to a new struct after doing each sequential null check. An ORM might have saved me about 50 lines of code for just this one query that I'm looking at, just in handling null types alone.
How did she get that job?

She wrote a paper that provides a new legal basis for antitrust enforcement in the U.S. that allows for different theories from the currently prevailing "consumer harm" doctrine.

Who did she know?

Her paper on antitrust was a huge deal in the legal world. It would be more accurate to ask, "who knew her?" and the answer would be pretty much everybody in the legal community.

What the actual hell is this?

It was an attempt to block a merger. Which was slightly more successful than the last FTC action against Microsoft...which led to them unbundling IE for a few years. And that failure was back when the FTC was full of experienced lawyers coming off decades of actively pursuing antitrust cases.

Like I don't care about her ideological positions or wtv, but has she actually succeeded in any anti trust case? Cuz I have been rage clicking through her history, and while her academic record is impressive, I see nothing successful during her tenure at the ftc.

The FTC hasn't had a successful major antitrust case in decades...
I think that the burden lies with those making a positive claim of intent.

As far as the facts:
1) The legislature and courts in Maine were ignoring the treaty obligations long before this change.

2) There is no evidence that this made it easier to ignore treaty obligations

3) The change had no bearing on actual application of the law with respect to treaties

4) The vast majority of the content marked for redaction is procedural, describing the how the state of Maine would be formed. When elections happen, who gets the guns, and who has the treaty obligations.

5) Treaty obligations are not typical contents of constitutions, nor do they need to be to be binding.

I dont think that you need to deny the existence of institutional discrimination to make this case
Yeah, I could do that but I know how much of a tar-pit it really is so I'd be hesitant to inflict that on anyone else :)
Yes, given how, ahem, life-like the drawings are.
They are excellent predictors of what they have been taught to predict: composing text in different languages. They are so proficient at these predictions that it is challenging to distinguish LLMs text from human-written text. As a byproduct of learning from Common Crawl, they are adept at predicting average "internet-human" behavior, leading to phenomena such as "Sydney". Their predictive capabilities are so impressive that you can play chess with them and find a formidable opponent. Despite never having seen anything beyond the text in their training data, they demonstrate spatial comprehension. They are universal approximators...
I wonder how many years would be saved by removing Google ads, Google analytics, Google recaptcha, etc.
> Tuta became understandably a walled garden that my other tools couldn't easily work with.

This is the part that resonates with me very strongly right now. I have always been concerned about privacy, security... re: the applications I use. Recently, I started to question this in regard to some applications.

I needed a WiFi-friendly way to SMS & call for about a year and opted for Signal. The year's over, no longer need Signal. Now I find that I can't delete Signal without losing the (very boring) chat files forever.

Signal does not support exporting, saving chat logs. I looked into 3rd-parties:

1. Great solution by YourFavouriteElite (2 years old) - sadly it failed

https://www.reddit.com/r/signal/comments/irbxii/how_can_i_ex...

2. Two Windows solutions here (failed to run in WINE, will need Windows to test):

https://www.ticktechtold.com/export-signal-pdf-csv-html/

3. Also... I'm finding that I'm having problems communicating with Apple users over regular SMS. I will often not receive their SMS messages unless I turn on WiFi (I'm on Android). This could be several hours after they sent it. I have not bothered to investigate further but it feels like more walled garden stuff, competing protocols, etc..

There just doesn't seem to be a nice 'in-between' between security/privacy and closing yourself off from your data.

'nuf said. I think I'm ranting now mostly because I didn't make the right choice early on for my needs. I just didn't think it through.
Which could be user upgradeable with a snip and a soldering iron.

It’s just a smoothening capacitor, so higher voltage rating is the critical part and can probably get away with non-exact muF capacity.

Possibly removable if you have a lead acid or lithium-ion battery capable of providing lots of current when needed and cleanly.
Drink less water or get a medical exemption? That's what the parameters are there for. But even with am exemption you can't be taking a piss for like an hour straight multiple hours a day and be a street cop, at least you should be doing admin duty.
Six. Six managers Bob.
Apple finally kills its awkward 13 inch MacBook Pro
How does it "require too much information" for a writer to have knowledge of their own culture?

No one is putting a gun to "ethnic writers'" heads and making requirements of them, or forcing them to "represent", all that's happening here is that more non-Anglo authors are choosing to write science fiction from other than the default cultural perspective of the genre, and more publishers are publishing it. I don't understand what your objection is.
Safety critical in aerospace uses MCDC as the gold standard for testing.
I remember a Cringely column around the time Mayer took over suggesting Yahoo's best strategy would be simply to invest in a large number of startups in early funding rounds, i.e. not expensive unicorns.
No early return is critical to understanding and maintaining functions of more than 10,000 lines. (probably the limit is around 100 lines, but in my experience functions are either less than 100 lines, or more than 10,000 lines - you rarely see anything in the middle in the real world). I'm a firm believer in not writing long functions so I like early return, but having had to deal with 60,000 line functions early return makes it even harder to figure out how to get someplace or why you didn't.
So the median pharma industry profit margin is 13.8%. Forget lowering it to fortune 500 average... take it zero. How much lower do drug costs get? Not much. This pill is still going to cost many thousands of dollars.
I appreciate that we're probably going to continue to have opposite opinions on this.

MSI (and MSIX) are complex databases of pain, but they absolutely know how to uninstall everything that they are told to install and that machinery is well tested now across way too many Windows versions. On the other hand, if someone even bothers to test a script-based uninstall is a crapshoot.

> the idea of "help some of the upstream packages clean up their installers" is irrational and unrealistic

Not really, it is standard open source practice. Installers aren't the most interesting or glamorous thing to maintain so they often welcome any help that they can get.

Most Windows users still don't use any package manager in 2023 and still prefer good installers directly from upstream sources.

> some of those tools may be even done with the upgrades, which doesn't mean they shouldn't get a package.

Ruby's Windows installer has long been run by third party developers. Git for Windows started as a third party operation before getting officially blessed. Open source is full of instances where the person packaging the software is not the original developer. (That most of Linux packaging, even, it's not just a Windows phenomenon.) Without "official" blessing from upstream it can be hard to get people to trust your distribution, but if upstream isn't bothering with maintenance anyway, it is no longer their project. (That's also extremely common in Linux software packaging, new maintainers are often blessed because they did a good packaging job.)

> Furthermore, many choco packages are embedded and contain the software

My experience was very few of the packages I used did that and almost all revolved around some ad hoc Invoke-WebRequest or similar somewhere in their PowerShell scripts, but obviously that is my own anecdotal experience and I'm glad for you that you've had a better time trying to CI/CD with choco than I ever had.

Some people have built custom sources for winget to help with CI/CD scenarios. Out-of-the-box caching/CDN for the primary public sources is still an active discussion, but the neat thing is that it is an active discussion out on GitHub so that you can directly voice your "serious" use cases, if you wish. A good thing about winget is that it is extensible (custom sources) and developed in the open on GitHub (Chocolatey went corporate and a lot of discussion moved proprietary and some of it went closed source years ago).
An operation may take longer than a single tick of the event loop, and may have it's own rules regarding state transitions.

To be clear, I'm not saying "don't do any communication by sharing state", just that there are use cases where it's possible to make it much simpler to reason about.

As an example, you might control the state of "making a HTTP request to perform a search", within the frontend of a single page app that has a map, search filters, and results.

One strategy is to use a buffered channel (1 element), and, when the search filters are updated, drain then re-send the request to the channel.

The logic processing these requests would then just need to sit there, iterating on / receiving from the channel. It could also support cancellation, if that was desired.

(I'd imagine the results would be propagated via some other mechanism, e.g. to a store implementation)
> I don't give a solitary care about the spying a foreign government does. Why should I? They don't have jurisdiction over me. I care about what it does with that intel, but that is completely separate, which gets us to your Reason 2.

In the "realpolitik" environment you mentioned, when you lose control of your private information, you lose control of what's done with that information. That's is a good reason to care about protecting information and not regard this as "completely separate".

An example that people mention a lot in the domestic context is that laws and governments can change, so that information that was innocuous before could be sensitive in the future.

Someone doesn't need to have jurisdiction over you in order to harm you with your secrets. They could taunt you about them, they could blackmail you with them, they could use them to compete with or undermine your business, they could pass them to your government as a tip, they could reveal them to your political opponents...

You might say that this is all Reason 2 and not Reason 1 material, but if a government has unauthorized access to secret information of its choice, it's going to be hard to control or predict how it may use that information against your interests later. But, you might say, I also can't actually control whether they get unauthorized access to my secrets, so I just have no power over them at all, so why even talk about it?

Well, I'd say that lots of people who read HN have practical opportunities in their careers to engage in espionage or not, to make it harder or easier, to expose it or not, and so on. Governments are going to ask some people reading this thread to do them favors. They can't necessarily guarantee the safety of their own information, but they can significantly affect the safety of other people's information. It matters whether they think that's desirable or not!
Government-issued identity verification is at least as good as private-entity-issued identity verification, since, you know, the government is the one with the databases of identities.
Man with Parkinson's Can Walk Again Thanks to a Device in Spine
Or maybe he just had a boat because he liked to fish or whatnot, and that turned out to be really lucky for him.
Really? But I believed otherwise
> There's nothing stopping anyone from writing their own DAO layer with bespoke SQL statements and allowing intellisense to index the API over the top of that.

That sounds like a homebrew ORM. It could end up being better than any out-of-the-box solution. Or you could make a spaghetti code mess. But I’d rather spend my time elsewhere.

In my opinion the bespoke app code is the center of everything. The database is on the periphery and should conform to my needs as a software engineer building a user facing product. I need to live in reality, though, and understand the database accessed through an ORM is a leaky abstraction. But for many common use cases (find by ID, update a field for a row, etc) I can forget that it’s Postgres under the hood.

I know SQL well enough, understand how to craft a decent schema, how to keep the database happy as tables grow in size. But the main job is writing web app code, not operating as a DBA.

I operate on the principle that the center of the app can be determined by finding where most of the bullshit is. For an app where you’ve got some tables and indexes, the database is too idyllic to be the center of bullshit. Your app code probably has 1000x more bugs and spaghetti to it.
> Available data from a clinical lactation study in 14 women indicate that zuranolone is present in low levels in human milk (see Data). There are no data on the effects of zuranolone on a breastfed infant and limited data on the effects on milk production.

That's an immediate reject. Everyone is able to decide on how much risk their willing to take on, but I don't think it's controversial to conclude that it's ill-advised to administer a medication to infants without testing.

On the other hand PPD is associated with maternal suicide, HR 19.300 (95% confidence interval (CI): 5.977–62.255)[1]. While it's not possible to conclude that Zuranolone reducing PPD would also reduce maternal suicide, avoiding that HR is notable. How much would you pay to reduce avoid feeling so bad you successfully committed suicide?

1. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9099720/
> I don't understand why so many people find this simple, well established explanation unsatisfying and hard to accept.

Because when people try to put it into practice in a form that's not dangerous they struggle, and when humans struggle at something they feel compelled to theorize the struggle. "There must be a reason this isn't working for me," they say, "one that doesn't ultimately reflect on my morally culpable lack of capacity to exert my will." [To be clear, I don't think people are to blame for lacking willpower, I'm just identifying the logic here.]

Looking around, they observe that some people have more success on a diet where they restrict some particular type of food X. This success comes from playing a trick on the brain, making it think that it is not in a position of deciding to eat less every day, but is being forced to eat less. Some restrictions manage to play this trick on the brain successfully for some people some of the time. People promoting diets that are not just "calories in, calories out" are hoping to take advantage of this effect. When these diets become popular, it's because the logic I identified allows people to say "it's not that I failed to force myself to eat less, it's that I didn't stop eating carbs" - or what have you.

One reason it's hard to eat less that you didn't bring up is that the body reacts to you eating less by reducing your metabolism. I don't mean this in a magical fashion where the body has a high efficiency mode or that you can somehow gain weight while eating fewer calories than you consume, but in the simple ordinary sense that people dieting tend to be tired and more lazy. Your body does not want to stay at the same level of activity while dieting, and so you lose less weight than you'd expect with a simple metabolic rate calculation. You can allow for this of course, but it means you have to cut even more.

So I don't know that many people reject the basic physics of calories in, calories out per se. Most reasonable people talking about this are more interested in why attempting a pure "eat less food" diet tends to fail, and what tricks can be employed to achieve appetite reduction. The various individualized factors can be overwhelming, especially when you consider that many people don't have access to adequate nutrition and healthcare.
This is the kind of thing you write once to abstract out async things in a function and call it a day. It really isn't that bad. Besides you can just use:

smol::block_on(async {
println!("I'm async!");
});

if smol is an option.
I didn't say it prohibited size_t, only that it suggests avoiding it like other variable-sized types. In practice, compliance checkers will turn advisory rules into warnings, which means every usage of a size_t can potentially become a warning message. It's a lot of unnecessary noise for writing correct code.
You can see a lot of bugs found (and being fixed) in that MR. Should Gnome add lots of new bugs for little gain?
Do I misunderstand something or this is not that big of a deal?

> Last month, the company completed the first version of its next iPhone, iPad and Mac operating systems. That iteration is known as M1 since it’s the first major milestone.

> Apple is lifting the pause this week.

So it's a pause for at most one month, most probably not a chance for a release like Snow Leopard.
> But I just think it's getting ridiculous that we're expecting new and upcoming writers to be able to do all of these things in order to fit into possible niche genres that generate little to no profit.

Who, pray tell, is "expecting" writers to do this? We're living in the digital content-driven death of monoculture, there's a Cambrian explosion of subgenres and niches out there in the literary world. Writers can write what they want to. There's room for both niche sci-fi such as these works, and a title with more mass appeal, such as Mexican Gothic. Book websites such as this are just as happy to populate SEO listicles full of affiliate links to advertise these works. Not to mention, it would appear that the YA market is bigger than ever, and there's much overlap with ethnic writers. And then there's the infinite demand (now with higher interest rates, perhaps less so) from streaming services for new works to adapt. There's been multiple times I've looked up something from a list of, say, AAPI sci-fi/fantasy novels that I've never heard of, only to find out adaptations are being worked on for them. (examples include Iron Widow by Xiran Jay Zhao, The Poppy War by R.F. Huang, and Jade City by Fonda Lee).

Who are you to suggest that the authors behind these works are doing it out of some misprioritization of what the market is looking for? As far as the literary world is concerned, it would seem like it's looking for everything.
I can see Comcast’s slogan now.

“Comcast - bringing all of the customer service you relied on as your cable provider into your pocket”.

Besides, it would have been scientifically impossible for Comcast to be a real competitor with Sprints limited spectrum allocation.
You drive in sf a lot? There’s double parked cars every two blocks, trash everywhere on the street, random crazies in the middle of streets, etc. Not hard to imagine something unexpected happening every few miles. Mind you 5 miles is almost entire length of the city