skysight-inc/HackerNews huggingface dataset:
> You're mistaking challenges in building a global app for malicious intent.

Perhaps the grandparent comment of mine did, not me.

> We'll add something back to the FAQ on this, thank you all for pointing it out.

So people don't read onboarding instructions, but you're going to bury the pricing info in an FAQ in the App Store where it's hidden below the fold?

The fix is quite easy. Here's a redesign for your in-app registration screen:

Create account

┌────────────────┐
│Name │
└────────────────┘
┌────────────────┐
│Email │
└────────────────┘
┌────────────────┐
│Password │
└────────────────┘

┌────────────┐
│ Register │
└────────────┘
7-day free trial,
$6.67/mo after
General tip: few if any HN searches are better and faster than hn.algolia.com; the desired article is still there: https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

Hint: I almost always use Sort By Date, not Sort By Popularity because I often have the same problem—saw something days ago, didn't read, but want to check out now
Musk could also work to make Tesla more competitive with BYD in the mainstream American car market instead of making Tesla double and then triple down on a weird niche product like the Cybertruck that will never appeal to many people. Tesla had a huge lead in EV tech that they seem to be squandering by not addressing boring stuff like build quality, giving BYD plenty of time to catch up. Their whole product line is starting to look stagnant.

Keeping BYD out won't help if all the other car makers also catch up. If BYD pulls far enough ahead they could just create a US division and make cars here like Toyota and Nissan do. Nissan is on the ropes, so maybe BYD could just buy them and make that their US brand and get all their factories and supply chains.

If Tesla kept iterating on the Model 3, released the Model E, and Musk stayed out of divisive politics that alienate customers, Tesla had a chance to own the mainstream of the US auto market for the next 50 years. I'd say that's gone now.
Test-time regression: a unifying framework for designing sequence models
> Ultimately philosophy is the study of how to think.

That would be (philosophical) logic, which is a branch of philosophy, both as an art (the practice of correct reasoning) and a science (the study of what constitutes correct reasoning). Of course, one's mind is sharped during the proper practice of philosophy, but per se, that is not the ultimate aim. The ultimate aim are the most general first principles. For example, metaphysics is concerned with the first principles of being qua being; epistemology with knowledge qua knowledge, and so one.
Databricks closes $15.3B round, Meta joins as 'strategic investor'
The best you can do is at least make the badness legible so you can fix and optimize your structure in an intelligent way instead of getting randomized default primate settings.
yes, HN is becoming increasingly hyperpartisan and not even in a very interesting way
> You can tell if fresh salad has E. coli by the look of it?

You're right–I didn't think about fresh, prepared foods.

> if fresh eggs contain Salmonella?

Pasteurised eggs (washed in a factory, I'll note), no. Fresh eggs, hell yes--they smell and look weird.
Competition and Marketing Authority to investigate Google search
True, but I was commenting on the fact the commenter specifically called it a verb, while using it as a noun. I can't quote it now because the comment seems to have disappeared.
Calling him a non-violent first time offender is very odd given the magnitude of what his crimes were. He created a very large scale marketplace for all things illegal. Independent of his own hiring of hit men (hello non-violent?), selling substances that lead to overdoses, guns, bomb making materials, etc is certainly my definition of violent. Then add the scale; I fully agree with life sentence without chance of parole. This pardon is shameful.
It's much easier to do this than many people think as wealthy individuals frequently borrow against their non-liquid assets. This circumvents the price drop associated with flooding the supply of some stock.
"They were dismissed with prejudice."

Lucky him, as his pardon doesn't cover them.
But he could still be charged at the state level, and at the federal level with any other crime.
For me it's less about training for a job, and more just curiosity - what makes one answer to these questions better than another? I wonder what criteria they use and knowing that criteria would be helpful to me when looking to develop my own thinking.
He wrote about them extensively in his journals - journals he could have disclaimed if they were faked but were obviously not.
That is easily small enough to host as a static SPA web app. I was first thinking it would be cool to make a static web app that would run the model locally. You'd make a query and it'd give the FFMPEG commands.
Where was this during the election
How People Make a Living on TikTok
>Apps to fight apps has never worked for me. When I'm bored/tired enough, it becomes a game to disable my own restrictions.

You see, I've actually had some success with using Blocksite on my phone and blackholing things on my laptop by editing /etc/hosts. Of course if you have the access to put these filters in-place then you'll have the access to remove them, but the time it takes to fire up the blocker on my phone and disable it or to pop open a shell and type "mv /etc/hosts /etc/hosts.bak" is time enough for me to go "Am I actually accessing this because I care about some particular piece of content or am I just trying to plop myself into the dopameme stream?" It's not about 100% physically preventing myself from accessing these sites. It's about interrupting the flow. I used to have a problem where I'd be doomscrolling FB or TikTok in particular, realize that I haven't had any actual fun in about half an hour, close the app and exit the loop for a second, start looking for something else to do and then compulsively open the app again and start doomscrolling. Getting rid of the apps and having the web version default to being unavailable has made it so that I can still do the social part of social media with real people who send me content that I actually like and want, but I can't do the completely antisocial part of social media where robots send me content designed to piss me off and frighten me so that I interact with them and their masters get money.

I think there's one common element between our two approaches though: intentionality. Whether it's opening up a second app and disabling it, or walking into the other room to physically pick your phone up, there's an intervening step that allows us the space in which to go "Do I actually want this?"
I found those are often on ebay with 2-3 day shipping sometimes. Same product image and everything. Usually a few bucks cheaper than the same item on amazon.
It's a philosophical difference. As someone running a market where buyers and sellers meet I think it's valid to let the buyers and sellers participate in the exchange among themselves at their own risk. The person running the market doesn't need to treat the participants like children. Plus, if you're on the TOR network and buying obscure research chems using crypto in the early 2010s I think it's safe to assume you're more sophisticated and aware of what you're getting into than the average person.
Not everyone who indirectly cares about anonymity is an activist who feels they need to go to great lengths to disguise their identity. Sometimes anonymisation is part of a process, and the ability to collect potentially deanonymizing data this way is still a privacy breach.

E.g. imagine sending otherwise anonymised participants in a clinical trial a questionnaire, containing an image. The owner of the image could then partially deanonymize the trial participants. Or voters. Or demonstrators in a rally.

Not everyone who cares about privacy is Edward Snowden material.
The Daresbury Laboratory in the UK had a giant Van de Graaff generator housed in a high concrete tower. I remember staying on site and waking up in the middle of the night with a really creepy feeling that turned out to be caused by that thing operating.
I understand what a precedent is in law and in life :) It seems like an illogical position to hold here.

Biden did bad pardons, now Trump has no other course (eg fix the system), but to do bad pardons as well? Except when Trump does it it is not bad because Biden did it first?
An advisory counsel may not get paid but they submit findings to the Secretary. There's a long tail where the government becomes more aware of long standing and emergent issues.

Industry associations have no such reach unless individual members make it so, and unofficially at that.
I looked up those stats. First of all, it is literacy in 'English'. A good portion of the country does not speak English at home. Second, it was assessed in 2003, and a disproportionate amount of those with 'below basic' prose literacy were over age 65 at the time. The assessment before was done in 1992 and there was an a marked increase in quantitative literacy between the two.

* https://nces.ed.gov/naal/kf_demographics.asp
The laws already exist. Antitrust suits would do a very good job of effecting change here.
https://archive.ph/q0hwF
It is not hearsay that CISA is part of DHS. This is an easily verified fact.
I built auto-summarization and grouping in an experimental branch of my hobby-retrospective tool: https://github.com/Sebazzz/Return/tree/experiment/ai-integra...

I’m now just wondering if there is any way to build tests on the input+output of the LLM :D
> I think fisherman know how to be safe without bureaucrats in DC that have never been in a fishing boat butting in.

There's 1000 years of people killing themselves needlessly that says they don't.
ChatGPT crawler can be tricked into DDoSing sites, answering your queries
> It’s UI, like forms and buttons and inputs and tables

For the most part yes, until you have a very specific requirement like complex drag and drop interactions or a complicated UI component like a calendar view. Also don't underestimate how much work it is to make a good component library from scratch, picking a framework based on the available gui libraries is important. I would say you should pick the gui-library first and then the framework.

> Isn’t this backend-related? Generally framework agnostic?

Depends, sentry.io for example has a pretty good NPM package that integrates well with react giving more detailed errors. Some deployment/hosting solutions integrate better with some frameworks (although it is mostly a concern for SSR or static site generators projects).
Giant, Mysterious Spires Ruled the Earth Long Before Trees Did
Portland tried this. It was a resounding failure.
I love the onesec extension and I've often thought society would be better off if this were the way Apple and Google implemented their app timer functionality on iOS and Android. If you could just mark certain apps as addictive and be given a simple few-second prompt before displaying each of them, it'd stop or soften a lot of the addictive loops, I think. I use onesec app on Android solely to do this to YouTube, but the fact that it isn't native introduces some weird bugs, especially when opening YouTube links from other apps (which I live with anyway, but alas).
The large majority of people do not have a lower standard of living than their parents at the same age. My dad’s family could not even afford shoes for him and he lived in Europe.

I am sorry that you feel you are downwardly mobile, but you should not assume your experience generalizes.
Sounds like she majored in Mathematics - but Wikipedia say Political Science.

https://en.wikipedia.org/wiki/Jo_Freeman
Ugh. I don't necessarily do "doom" scrolling, but lately I have gotten drawn into wasting time on these various stupid "shorts" or "reels" or whatever, mostly on FB. It's weird too... for ages I was vehement about never, ever clicking on any of that crap on FB or Youtube (and I barely use Instagram at all and don't even have TikTok). But one day, somehow, I got suckered in by a thumbnail of a cute dog or something, and lately I've been finding myself wasting an hour or more at a time, idly watching stupid videos of low value crapola. :-(

This is a habit I feel like I absolutely have to shed. Luckily, a lot of the impetus to do that will go away when I ditch FB, which I'm going to do as soon as I get my new personal website/blog set up.
The Tyranny of Structurelessness and The Gervais Principle are the two essays that I think about a lot at work.
Cool. Are you aware of good games that use LLMs like this?
Unfortunately yes, because you often do need it.
First thing I thought of lol
Maternal Healthcare: Training Language Models to Identify Urgent Messages
Why chain rather than reprobing on full key collisions?
In some cases it’s pure ignorance. In others I suspect they want to prevent the “infinite free trial accounts” hack.
> The constitutional framework is clear - federal law has priority over state law.

It is anything but clear and the subject of ongoing legal battles. https://www.cato.org/commentary/yes-states-can-nullify-some-...

Again, you picked an example of a real conflict between state and federal law and compared it to an unambiguous law passed by congress confirmed by the supreme court that the incoming POTUS will simply ignore.

No, that is not normal. Feeling like i'm going to be gaslit everyday for the next 4 years so i'll save that statement somewhere in a word doc.
Ah ok, thanks for the education. I guess that's really where I was coming from. I get the complexities, but it's hard to see another democratic state having such policies.
Yes, but my sense is that in Europe, you can "survive" easier than in the US.

There are several key differences.

In the US, everything is spread out so you absolutely need to own a car in many low cost of living (COL) places; there's no option for transportation. In the US, healthcare can absolutely destroy you and you cannot get quality healthcare at a decent rate without a job that provides it as a benefit. Access to transportation networks is also poor compared to Europe and Asia where trains are abundant, fast, cheap, and accessible by wide networks of public transport. The way the US has been built out is not amenable to that in low COL areas.

So I acknowledge that there are lots of problems world wide in different countries and wages are lower and taxes are higher in general in the EU, but there are more social safety nets compared to the US. The baseline "cost of existing" in the US is simply higher.
https://en.wikipedia.org/wiki/Jules_Feiffer
if you're from outside, it's more or less the same.
if you're from europe, it's harder (but not that much harder if you're in tech).
Having to spend thousands for insurance every year (even if you’re totally healthy) and not having it even be remotely effective, is not my definition of “prosperous”.
So, nothing to do with the nationality of the founder-as-prominently-mentioned-in-the headline, but... cultivated meat seems, actually, to be getting pretty good!

I mean, it's pretty much everywhere already in pet food, where source-disclosures are not mandatory, but one event I recently attended and that was all about "lab meat" (as well as heavy on the wine pairings) definitely catered to humans as well.

And,for a basic cow, lamb or pig steak, science is pretty close to recreating a like-for-like experience! Of course, there are edge cases, such as rendering fat, but abandoning those ideals won't invalidate the basic premise.

And yeah, I know that the Tangerine Savior will now make Existing Livestock Last Forever, but for those of us living in reality, it's good to know there are sustainable alternatives.
>Except we're not dealing with software here.

You're not, sure. The people who are in charge view the whole apparatus as a machine, and the people doing the work as cogs in that machine.
Like last time people will pay, unless the economists at Netflix have been laid off. When they prevented people from sharing accounts, not that many people apparently cancelled, nor when they raised the price last time. People become addicted to their streaming outlets and FOMO, so in the end, I think they will continue to pay.
'and enforced.'
I teach the introduction to computing class at MSU and agree entirely: most students need to start with the absolutely most simple introduction to computing possible.

My favorite two models are:

The Scott CPU

https://www.youtube.com/watch?v=cNN_tTXABUA (great book, website is now offline unfortunately: https://web.archive.org/web/20240430093449/https://www.butho...)

An extremely simple non-pipelined 8 bit CPU. The emulator lets you step through tick by tick and see how the machine code is driving an operation. I spend one lecture showing each tick of a bitwise AND and following the data around from the instruction into the instruction register, how the instruction selects the general purpose registers, runs it through the ALU and then moves the data back from the accumulator into a register. It's one of my favorite lectures of the year.

The Little Man Computer - https://www.101computing.net/LMC/

A higher level Von Neumann style computer that helps introduce students gently to assembly where they can fully understand the "machine code" since it's just decimal. We then build an emulator, assembler and compiler for an extension to LMC that introduces the notion of a stack to support function calls.

It's a fun one semester class, not as intense as NAND-to-Tetris but still an overview of how computing works.
I am not sure that you understood what i wrote. Inheritance's flexibility is its very strength that allows you to express different concepts elegantly. Also no amount of Automation/Tooling/etc. can substitute for documentation explaining the intent behind the code.

The main thing i would like to see in C++/Java/whatever is support for "Design-by-Contract" (DbC) similar to that given in Eiffel. There is already a proposal for C++; see this recent HN discussion - https://news.ycombinator.com/item?id=42131473 Basically this is a way to apply Hoare Logic to functions/methods directly in the implementation language itself. Now use this across the types/classes in a inheritance hierarchy and you can enforce the semantics that you want to express.

Regarding a concrete example; I have already pointed you to Bertrand Meyer's OOSC2 and three specific chapters to read; They walk you through proper examples with explanations. Additionally also see his Applying Design By Contract paper (pdf) here - https://se.inf.ethz.ch/~meyer/publications/computer/contract.... If you would like to see complete application code using a C++ OO framework i suggest creating a sample MFC app using Visual Studio C++ wizard and just looking at the generated code without adding anything of your own. It uses a Document/View architecture (a variation of MVC) where your app specific classes derive from MFC framework given classes. The framework invokes your derived methods (i.e. downcall) which can as needed call back to base's method (i.e. upcall). There is a strong coupling between the framework classes and your app specific ones by design. You can see how different usages of inheritance are implemented to give a powerful app framework; see documentation starting here - https://learn.microsoft.com/en-us/cpp/mfc/document-view-arch...
My strategy is to do a lot of "Not interested" curation about any negative content, like ragebait, thirstbait, politics, etc.

This leaves mostly meditation and health advice, spiritual and religious uplifting content, cute animals videos, sweet things to share with friends, etc.
Sure, but if the background has a lot of features it will still confuse the algorithm unless it has some special settings for ignoring the background.
What will you replace Jira with, out of interest?
> Why thousands of stores are closing in California?

Because everyone's buying everything online and getting it delivered to their homes.
User Testing Without Users
Thanks for writing this up. I'm on the Next.js team, so wanted to help provide more context:

> Next.js middleware run in an environment that's neither Node.js nor browser a browser environment. Some of Node’s API is supported, some isn’t.

Agreed, this is super painful and one of our top requests to fix. We're working to allow access to all Node.js APIs in Middleware. Tracking here: https://github.com/vercel/next.js/discussions/71727

> The docs mention that you should treat Server Actions like public API endpoints and Next.js 15 makes exploitation harder. However, this is still a major footgun.

Next 15 makes this much better than a standard API route. We automatically strip unused endpoints, and we add unguessable, non-deterministic IDs to secure the server actions. There's no way to get around thinking about AuthN/Z with any server APIs: https://nextjs.org/blog/next-15#enhanced-security-for-server...

> You need a 3rd party library (npm i server-only) to make sure that server code only runs on the server.

This is slightly misleading – code will run server only when you place it in a Server Component. That never makes it to the browser and you can safely fetch data there. What `server-only` does is help prevent cases where you have a shared data layer in your application, and someone might import and try to use a function designed for the server on the client. This directive then makes it error out during compile time.

Love the suggestion for trying to find ways to make this a TS hint versus waiting for compilation though. Good idea.

> Layout components can't access searchParams or pathname. We added x-search-params and x-pathname headers to incoming requests in our middleware.ts to work around this limitation.

This is intentional: https://nextjs.org/docs/app/api-reference/file-conventions/l...

What are you trying to do where you couldn't use, for example, useSearchParams in a client component for this?

> It's easy to accidentally bundle and ship server-only code to the client. There is server-only, hopefully it's going to be part of Next.js at some point.

Exactly, this is what `server-only` is for – it won't be part of Next.js core because it's designed for the broader React ecosystem, but we do recommend using it for cases like this.

> It looks like the View Transitions API is coming to React and will likely be the best solution in the future.

Indeed, View Transitions are currently already available in the latest Next.js canary and we'll be sharing more on this very soon.

Hope this all helps, thanks for writing this up!
Yeah, to me the issue isn't "doom" scrolling, it's just scrolling in general. By which mean mind-numbing consumption of low value content - auto mechanics showing off "you won't believe what my customer brought to my shop", car chases/crashes, dogs playing around doing silly stuff, trains crashing into things, all those fake "interview" segments where some guy is asking hot girls "what's your body count" or "what's your favorite position", blah, blah, etc.

Some of the stuff is genuinely funny and entertaining, and it would probably be OK in very limited doses. But I have fallen into a habit of (occasionally) starting out watching on ofe those things, and then continually swiping to the next one and watching that crap like a zombie until a hour has gone by. No bueno.
Mine lived in America. Where the story in the article is taking place.

This is, in fact, a generalized experience: [0]

[0]https://www.pewresearch.org/social-trends/2019/02/14/millenn...