skysight-inc/HackerNews huggingface dataset:
I hate bash, but it's always the first thing I start scripting in when I need to glue some things together. I tend to go in the following order as complexity and a need for robustness increases.

1. Bash (or ysh, which I do prefer but isn't as available)

2. Python, using the `sh` package as needed. It's been great for upgrading shell scripts, and `sh` is really nice to use.

3. Rust, usually. That's my personal language of choice for "real" projects.

I have a number of projects at each stage actually, though most of the things I'd call a real "project" with it's own repo end up as Rust projects.
Several of the diesel ferries that operate from Auckland harbour will be replaced with electric ferries next year and in 2026. Apparently ferries in Auckland carry only 6% of public transport passengers, but account for 20% of the public transport emissions [0].

0. https://at.govt.nz/bus-train-ferry/ferry-services/low-emissi...
Does MIT include the market value of their kidneys in their assessment? You might have lost track of what is being discussed here.

Anyway no, they should not cut their kidneys out and sell them.
Uhhhh, in general this is true, but in this particular scenario they have a stronger incentive than almost anyone to understand true preference shifts created by these drugs.

It doesn't mean they end up with the correct findings, but they are absolutely incentivized to try to produce correct findings.

Lazy and inapplicable heuristics are not legitimate insights.
Literally no information about this site or how it works.
Tbh, I'm not sure its rent seeking, but whether the 'value' is for the company or for society is extremely questionable
I don't know why people keep saying this. There are some features of Next.js that are better supported on Vercel. That doesn't mean that you have to use Vercel. In fact if you are just building a static React site without any server components (so, 99% of sites created with Next.js) then it makes literally no difference where you deploy it.
>My understand of those drugs is that they don't actually make you lose weight, they just cut your appetite so you can follow a diet to lose weight without hunger hammering at the door.

While acknowledging that the mechanism is different, this was the same effect of Ephedrine, which went through a similar craze as Ozempic before the full complications were known. My bet is that this will be similar, where the risks end up being outweighed by the benefit for extreme obesity and diabetics, but that the cosmetic weight loss aspect of it will become outlawed or highly regulated.
Ok, I thought I'd raise the subjective "issue". There is a port of Antlr to .net, but I don't know whether it is well maintained or how compatible it is.
Google starts getting into the way too much. Recently I searched for German football clubs that "fan rivalries" and Google refused that and only gave me results for "fan friendships" .
One area where Google search is terribly broken is porn.

If your search for some specific term "$foo", nearly every result is just 'search site $bar for "$foo"', taking you to the site's search page, regardless of whether $foo is actually found on the site.
This observation is very interesting. I hope that it is studied more closely and we can read some peer reviewed research on the matter. One idea popped into my head: Could part of the cause be that people's mood and self-esteem improves during (GLP1 agonist-induced low hunger) weight loss? TL;DR: If you feel like shit about yourself (and body), then you are more likely to eat poorly, and vice versa.
Building Databases over a Weekend
Discussions (80+43 points, 43 days ago, 21+9 comments) https://news.ycombinator.com/item?id=41780848 https://news.ycombinator.com/item?id=41777359
The way I would recommend handling this is using the `loaderFile`: https://nextjs.org/docs/app/api-reference/components/image#l...
I like to use pv as a quick and dirty operations per second counter. Sometimes I will write a program or script that does a bunch of things in parallel (e.g. RPCs to a service I'm working on), and prints one line of output for every operation completed. Then I pipe that output to pv using the --lines option to count only lines. It shows how many lines are being printed per second, which roughly counts operations per second. (IIRC, also need to pipe to /dev/null to prevent pv's fancy output from clobbering the tool's output).

Fun stuff! Especially when combined with GNU parallel, in cases where the thing I'm measuring isn't already parallelized, and I want to be lazy.
When people say "unprovoked" do they not know the history, or they think the history doesn't matter, or do they just not care?
Some 28 years ago I taught myself everything could get/find from graphic design, basic development, server administration, etc, all downloading commercial warez over dial-up with AOL and Usenet. I didn't need a class or subscriptions, with every software and book I could have wanted, I had the best lab in the world with any software available I could want with piracy.

Fast forward 30 years now it's mostly the same as it was, only open source replaced all the commercial, and little has changed that I can still get the rest too. You can pay as much or little as you want in life if you know how.
It isn't hard to imagine that the last 10% of mass a bodybuilder has added was hard won and easily lost. That isn't representative of most people.
On my POWER9 system it took 45 minutes.
In New York, companies doing road work are required to leave a small plastic circle embedded in their patch that can be used to identify who did the work. They seem to most often be blue though I’m not sure the color is a requirement. Once you see it, you’ll notice them everywhere.
> Losing weight without losing muscle mass is very hard.

Lots of amateur body builders can do it. There are whole training guides about how to lose body fat, but maintain as much muscle mass as possible. Granted, they are probably a minority because they have higher discipline and motivation than the average population.
Sounds like a perfect counter to using steroids in bodybuilding which can cause an enlarged heart. I wonder if we will start seeing GLP-1 in bulk cut cycles more moving forward.
What are use cases for handling the authorization at the JVM level?

As opposed to do it at the OS level or platform level e.g., SELinux, AWS security policy
> NPR also asked the Israeli military repeatedly if it was using the sniper drone technology in Gaza. It did not respond to the question.
He did the one thing that was unambiguously, knowably, certainly incorrect, which was to slow down testing: https://youtu.be/Ti4sSRonNwY?t=27

And he did it because he didn't like "his numbers."

Lots of mistakes were made, some less excusable or more harmful than others, but this wasn't "a mistake." This was inarguably and knowably a selfish decision to put self above millions of Americans.

> The real problem is that the political capital needed to get people to agree to something like lockdowns or wearing masks was all spent in 2020

Let's not act like this attitude emerged out of thin air. Trump also had an opportunity to bring Americans together against a common threat, and he (and his lookalikes abroad) decided to turn it into the cultural catastrophe that you're now supposing was inevitable.
i saw what you said, i believe what you are saying, but I'm talking about something different: if you independently with no knowledge of other logos, inadvertently, purely by chance, recreate an already existing logo, the person who deploys this logo is liable for trademark and/or copyright infringement.

I'm asking "when does the trademark and copyright search take place, who does it, if it uncovers that your work is not what a court would consider to be "original/unique", then what happens?" I'm expecting you would accept liability, but are you even aware this issue exists? are you at a bare minimum offering a do-over?

it's a mistake to deploy a new logo with no consideration of the intellectual property issues. sure, if you're small, you'll get a cease and desist and you'll switch to a new one. but if you achieve any type of success and are then sued, it's a major headache to deal with.
Nutrient deficient, sure, protein deficient? Probably not.
>The top ranked university in Europe is Oxford, which educates more than twice as many students as MIT with half the budget. I doubt this is because Oxford is cutting corners on educational curriculum.

Maybe, maybe not. It could just be from cost-of-living differences: salaries for many jobs (particularly highly-educated ones) pay a fraction outside the US what they do inside the US. How much are Oxford professors and staff getting paid compared to the ones at MIT (which is Boston, which is a very high cost-of-living city for the US)?
My reaction, also.

"You used me... for LAND DEVELOPMENT! ...That wasn't very nice."
> It's quite easy to come up with examples where the official progressive position is nonscientific; Lysenkoism, for example, is as popular in left-leaning politics as ever (in the context of human biology).

You believe the left believes children of parents with amputated arms will be born with amputated arms, that genes don't exist, that any species can be changed into any other species at the genetic level by manipulating only environmental conditions, and that random mutations do not occur?

Who do you think believes this? Name specific people who aren't irrelevant.
Now I'm very curious about analytical AO and shadows as you mentioned Last Of Us uses. I'd heard about the spheres but never seen an explanation of how they get turned into shadows
People are always shitting on bash but I like it.
Gotcha. That means if I run Next for just frontend + server side rendering stuff then I can always self host it?
Simple CSS only toggleable switch component for LiveView
Those were the same people causing the second order effects. And the second order effects they caused killed my grandma. So I don't see the problem with referring to them as such.
Nextjs has a flaw archtecture fo the ease of starting a project. It will bite u in the long run.
That's an excellent hypothesis. Wouldn't be surprised at all if that was a component!
Consequences: 39 warning letters. https://www.ftc.gov/news-events/news/press-releases/2024/01/...
This sort of makes me sad. Redis has strayed from what its original goal/purpose was.

I’ve been using it since it was in beta. Simple, clear, fast.

The company I’m working for now keeps trying to add more and more functionality using Redis, that doesn’t belong in Redis, and then complains about Redis scaling issues.
Or uh, we could stop the virus in its tracks and go back to normal? This was the New Zealand plan, and it worked.
It concerns me how discussions, such as this one go on HN. This is an important topic. With the epidemic of obesity we now find a drug that appeals to a large number of people. This is an important topic as well.

What is the current comment receiving most of the comment?

"That's the sort of headlines that smells like bullshit to me"

That's the sort of comment that smells like bullshit to me. What kind of place is this?

Many times I find the posts on HN interesting, but increasingly these kind of comments make me wonder about Y Combinator. Is this really the best they can do?

And for us readers who are supposed to be so called hackers, is this the best we can do?
I'm not sure why this is so heavily downvoted. You raise some good points. I would add: The era of comical bulking is coming to an end. More and more scientific literature points to modest calorie surplus is the key to muscle gain (along with regular weight training).
Hah, looks like you guys found my account error via my profile email, nice! Thanks for fixing that bug. I'll try again tomorrow when the fix is pushed.

My other request is probably not in line with your business model. I get the sense that Autotab is always communicating with some server on your end, probably for the various bits of AI functionality. What I was asking for is the ability to export the actions/workflow as, say, a python script (like a Selenium script, or even better, a script which drives your browser) which performs the actions in the Autotab workflow.

I need AI understanding when creating the workflow, or healing in case of an error, but I don't always need it when just executing a prepared script. In those (non AI needed) cases, I don't really want to use up my runtime minutes just because I'm executing a previously generated workflow.
Would be fun for a graph db
You keep taking the GLP1 agonist, otherwise you gain the weight you lost.
> If it didn’t, this scam wouldn’t work.

It would, as this scam relies on the domain authority, regardless of their "offline authority".
Guessing those schools can't provide access to the exclusive social network you get by restricting admissions.
> Most companies don’t have an issue with clear communication because they’re not worried about what’s being said will end up part of a criminal investigation.

Only if you count "most companies" by company, i.e. most companies are therefore small businesses. And of course they're not worried because they're small and not subject to these kinds of investigations. They're not profitable enough to be targets.

But if you count "most companies" by where most people work, you're talking about medium-to-large corporations. And it's standard these days to have policies exactly like Google's, to not retain instant messages for example, and delete e-mails after a short number of years. Because they're big juicy targets for frivolous lawsuits.

So no, this isn't a win-win. People say dumb stuff all the time that a lawyer can take out of context. That doesn't mean a corporation is a criminal organization, as you suggest.

Corporations sue each other all the time, not because the corporation being sued is criminal, but because the corporation suing thinks it'll be able to get away with it. But you seem to be ignoring that.
I don’t think we can expect to retain 100% of muscle mass, and losing just 1/5th sounds like a good outcome.

I’ve understood that generalizing anything in today’s time is a losing game. I know many people with IBS/GI issues and I am also sure they have different underlying causes. Our gut biome and how digestion works in general needs to be researched much more.

I don’t know why progress has generally been so slowly on that front. For instance, GLP-1 was discovered in the 1970s. It took us another 40 years to commercialize it in the form of Semaglutide and another 10 years to get it ready for human consumption.
Ask HN: What are the nice feature you need in a programming language?
I'm developing a programming language, the keywords and features mostly based on Swift 5 but some additional features like,

1. async function will be called from no async function but no async/await keyword. If you want to block main thread then block_main() function will be used. block_main() /* operations */ unblock_main()

2. protocol can inherit another protocol(s) & protocol can confirm a class like swift.

3. no `let`. only `var`. compiler can optimize further.

4. if (a == (10 || 20 || 30) || b == a) && c { }

5. `Asterisk` is replaced to `x` operator for mul operations.

What are the features you found or you need in a programming language?
aw, damn, the response I was looking for was "good bot"
I and everyone around me questioned their statements and came to the conclusion they were in fact true. That is what "trust the science" means. It does not mean "do whatever I say" - it means "I am right and you can verify that, so you should probably take what I'm saying into consideration lest we all suffer."

The right wing somehow took "science" to mean "Anthony Fauci"...
There's an "illegal child labor" angle to it, I suspect, T&Cs be damned.
Check out https://ibis-project.org/
> We need to change the law to reflect this new reality, that anti trust isn’t just about monopolies but other large companies too.

Why do you say that? Perhaps you're right, but I'm curious the reasoning.

I ask because Apple has earned its way out of near bankruptcy 25 years ago, by risking and investing and innovating, and their customers are still outnumbered by Android users, last I saw.

Agreed about the App Store mess.
Well hopefully Trump and his DoGE head Musk will eliminate the Department of Education soon, so that most public universities will have to shut their doors and Americans can stop wasting money on college education. Then all the college students can go to work at meatpacking plants and farms to replace all the illegal immigrants that are about to be deported. This will definitely help America re-assert itself as a world power and a great place to live.
Media has a short memory. This will be just like geohot's very brief tour of Twitter: in like a raging bull and out like a forgettable fly.
I’m active in the WebPKI community (you might want to check out my Substack: https://webpki.substack.com/)

EV and OV when it includes dns names still requires domain control validation anyway.

EV certs are generally manually verified. This means there’s a human factor in the middle of this process. DV certs can, and should, be fully automated.

Multi perspective validation is about to be required too: https://cabforum.org/2024/11/07/ballot-smc010-introduction-o...
I must disagree with your comment. Personally, I have witnessed so many people struggle for years with their weight. Being overweight and struggling to lose weight must be a 50 factor model: Multiple social, economic, and mental/physical health factors. These GLP1 drugs really are a game changer.
Scientific Advertising, Claude C. Hopkins (1923)
Is science authority? If science is not authority, then distrusting authority and trusting science are not in opposition.
> bash: 3/5 stars (no one really knows bash)

LOL, so true
This is awesome. I was just trying to get a rudimentary version of this for some "user" interaction heavy data extraction. Definitely giving it a try.

For a case with lots of requests how does Autotab handle ip-blocking? Does each run use a different portal instance?
I've always loved the flavor of Apple's dissonant marketing. Invest in progressive advertisement that puts educated liberal customers in the back of your pocket, while wining-and-dining Donald Trump behind closed doors. It wouldn't be insidious if it didn't work flawlessly.
Frankly given the numbers of hours of entertainment most people got out of Pokémon Go, I suspect this might be one of the cases where people have been best compensated for their data collection.
I mostly agree. One thing to add:

Your tests should test the API of the code/module/system you are responsible for. Nothing else.

And the tests should really push your API to the limit and beyond. For example, if your API is a server (with a HTTP API) then have N clients try to use it at the same time, as fast as possible, and see what happens.

And of course measure memory usage, disk usage etc. while running these tests continuously for days.

This will automatically test everything you depend on. And you will know instantly of any of the dependencies you rely on have changed in a way that impacts your code.

I have had zero (yes zero) bugs in production for years. Only because of tests that really push the servers I am responsible for hard. Way harder than any customers would.

While the tests often reveal that I am very capable of adding bugs to the code :)

The systems I typically work on are large C++ applications used by large international companies you most likely have heard about.
20d10 used to seed Pennsylvania election recount
Gotta add some Angostura bitters nowadays to give your Moxie some moxie.
You are right that slavery is economically inefficient and that economists were one of the fiercest crusaders against slavery etc.

However: lack of demand is not a problem. People can create any amount of total nominal demand for basically free, as long as you have access to a printing press. (And with some minor caveats that's generally true in a gold standard setting, too.)

And even without that: your argumentation would suggest that as long as the slave-owners lavishly spend the money they save on wages, the economy would do just as well as without slavery. That's not the case; have a look at the arguments of the very economists you mention.
It's 40 words and makes three separate points in those words. I don't think it's too verbose, and I don't think your suggestion helps.
> If you continue to eat a protein and nutrient deficient diet (which is probably a majority of Americans)

Is it true the majority of Americans eat a protein deficient diet? I always thought there was too much protein in the western diet - nearly at every meals versus how we would have evolved with somewhat limited access.
The claim that "a majority of Americans" eat a protein deficient diet is absurd on its face.
Did the consultant describe the change in focus group results or just the latest ones?

I was under the impression that consumers have been asking for healthier food compositions for decades, probably since the 70s or 80s when all the FUD around fat started. Maybe GLP1 agonists bring their buying choices more inline with the focus group results which would be an interesting phenomenon.
Uh, I think most highly in/shape people have normal sized, very healthy hearts and their bpm is like 45.

Their hearts are not physically smaller, nor did they shrink during their build-up to current physique.

Saying things like this is harmful at best. Please don’t.
Programs like Stars College Network (https://starscollegenetwork.org/) and Questbridge (https://www.questbridge.org/) help to bridge this gap in knowledge. They are really good programs, based on my limited to exposure to them as a Caltech alumnus. It was an incredible stroke of luck that I knew Caltech even existed growing up in a very small town pre-Internet, and these programs take some of that luck out of the equation.
I’m saying you can terminate cleanly without needing a repeater.

To be clear, I’m saying to terminate each end of the cut cable to a terminating device that continues the flow of light, not just the termination at the beginning/end of the line. Sorry if that wasn’t obvious.
Any modern CPU is far more "beautiful" than this cathedral if you understand the incredible cleverness in how it works and how it is made. And a modern CPU is vastly more useful!
I've come to realize what we think as progressive places are what I consider "inclusively conservative" as in liberal socially, but very much bound to keeping wealth strata in place.

San Francisco + older bay area cities are a prime example of being a bastion of free market capitalism in the guise of progressivism.
Everyone is entitled to their opinions.
From 1000-1700 there was increasing wealth in Europe not through serfdom intensifying (but see Poland) but through increased trade, fishing, agricultural improvements and culminating in the steam engine. Watermills were medieval inventions.

Smith's pin factory has no steam engine. Nor did Slaters mill which created US industrialization. Steam required institutions to grow, institutions that had created growth earlier.
European colleges are incredibly thrifty, though. German universities for example can lack dorms, student unions, and professors lack TAs to grade homework (so homework isn't graded) and your entire grade depends on one final.

We could do this in the USA also, or perhaps even bother with online universities, except those are generally considered not very useful as degrees.
> I have been tricked into working to contribute training data so that they can profit off my labor

You were playing a game without paying for it. How did you imagine they were making money without pimping your data?
Oooh! I need this. Thanks!
When you run Autotab in the app it runs locally, so no IP blocking issues there. If you want to run it in the cloud eg via API, by default your IP will be from the data center but we have residential proxies that we can enable on a case by case basis.