skysight-inc/HackerNews huggingface dataset:
I don't understand why state management is filled with so much weird terminology. When I started working on a React app years ago every state management package I saw was filled with it - and they still are.

I ended up rolling my own solution [1] to escape all that so I could focus on getting things done. It's been working great for me in production. Too bad there's no popular option that works similarly.

[1] https://github.com/facepunch/react-class-model
It still needs to be driven by someone who knows what they're doing.

Just like when software that was coming out, it may have ended jobs.

But it also helped get things done that wouldn't otherwise, or as much.

In this case, equipping a capable lawyer to be 20x is more like an iron man suit, which is OK. If you can get more done, wit less effort, you are still critical to what's needed.
Why an end-of-the alphabet last name could skew your grades
Show HN: Data Connector – Chat with Your Database and APIs
Hey HN!

Wanted to share a project I have been working. Data Connector is an open source tool for interacting with Databases (Postgres, MySQL, SQLite) using natural language. Prompts are handled using a ReAct[1] agent which has access to the schema and a tool for executing queries.

It also has experimental[2] support for calling APIs (OpenAPI, GraphQL) which allows for queries that can span multiple systems (Find this user's details in Clerk, etc).

We have mostly been using it for managing our local development environment, but it has configurable controls for running in other environments.

- Privacy Mode which never sends query results back to the LLM context, instead the result is returned to the user as JSON

- Approval Mode which requires manual approval of each query before it is executed

Data Connector runs within a private subnet, connects to the database and polls for new queries. There is no requirement to open traffic to the database or share credentials / connection strings.

Data Connector is built using another project we are working on Inferable (also open source) which is a runtime for building and observing LLM-based agents.

Would love your thoughts!

[1] https://arxiv.org/abs/2210.03629

[2] We have been testing these with various schemas and are currently working on better handling for large OpenAPI specs, etc.
Everyone here being: people who were obviously lying (since people locked in their cruise ship cabins somehow managed to contract it).
They built a very nice declarative CI/CD system before Github Actions existed. I think I was on Bamboo (and Jenkins) before going over to Gitlab and it was a breath of fresh air, a huge understatement. 2015ish.
This makes me think that we have reached diminishing returns
It doesn't need qualia or consciousness, it needs goal-seeking behaviours - which are much easier to generate, either deliberately or by accident.

There's a fundamental confusion in AI discussions between goal-seeking, introspection, self-awareness, and intelligence.

Those are all completely different things. Systems can demonstrate any or all of them.

The problem here is that as soon as you get three conditions - independent self-replication, random variation, and an environment that selects for certain behaviours - you've created evolution.

Can these systems self-replicate? Not yet. But putting AI in everything makes the odds of accidental self-replication much higher. Once self-replication happens it's almost certain to spread, and to kick-start selection which will select for more robust self-replication.

And there you have your goal-seeking - in the environment as a whole.
SAT turns up everywhere because it's almost universal kind of problem. Since it is NP complete, everything in NP can be transformed into an instance of SAT. Since P is a subset of NP, everything in P can be also be turned into an instance of SAT. Nobody knows if things in PSPACE can be, though.
> Fond memories of the time I discovered this effect for myself using a medicine ball and a friend's hamster I was petsitting at the time.

Uh..
>in a way it’s not intended to do

Yeah that just isn't true.
No matter how much you want it, the days of html pages with anchor tags and <table> elements centering content are gone.

Move on man.
Incremental improvements I don’t think counts as the innovation you were hinting at.

Especially not when both phone manufacturers and car manufacturers are engaging in more and more rent seeking behavior
No, additional context does not cause exponential slowdowns and you absolutely can use FlashAttention tricks during training, I'm doing it right now. Transformers are not RNNs, they are not unrolled across timesteps, the backpropagation path for a 1,000,000 context LLM is not any longer than a 100 context LLM of the same size. The only thing which is larger is the self attention calculation which is quadratic wrt compute and linear wrt memory if you use FlashAttention or similar fused self attention calculations. These calculations can be further parallelized using tricks like ring attention to distribute very large attention calculations over many nodes. This is how google trained their 10M context version of Gemini.
When your business is cost control on human life, it's not surprising that decency goes out the door.

Also the media seem to have settled on "Citi Bike Assassin."
>But expanding the same logic, should politicians have the same treatment since their decisions have way more consequences [2]?

Yes? Like not even a little bit?

The liberal ideal of Democracy is as an alternative to violence. When Democracy fails, you are expected to correct it with violence. The system doesnt work without this failsafe.

I really dont understand where this civility at all costs idea came from.

Shit yankistan was literally founded on this ideal. They venerate people like John Brown who got to the wetwork of abolition years before there was a civil war.
Hacker News is a bunch of older grumpy folks that want to keep using jQuery. Also some had a bad time with classic redux patterns that were a terrible atrocity - but also not reacts fault, however they have a strong association with each other. Modern react w/ modern state management patterns is a joy to use.
If a $200/month pro level is successful it could open the door to a $2000/month segment, and the $20,000/month segment will appear and the segregation of getting ahead with AI will begin.
Congratulations and thank you to Sid, the GitLab CEO, for building an incredible company and product.

GitLab was the first code host to add more products (CI, security, ops, helpdesk, analytics, etc.) and create a whole suite, and GitHub followed. GitLab also built for the enterprise years before GitHub started to give appropriate love to the enterprise. Some people think that GitLab is a GitHub clone. Quite the opposite!

Even if you don't use GitLab yourself, you've been a huge beneficiary of the dev workflow GitLab envisioned and created, and of the competition they've given to Microsoft/GitHub. Competition in this space makes everything better.
You can really only hang a claim on "abusing things not build to actually do that" on the same peg that "purity" hangs on, though?

I mostly agree with the point that this is orthogonal to frameworks. I'm just putting that in here for why people disagree with many common web frameworks. A lot of the complaints that many of us have, are ultimately rooted in what they are building on top of. CSS, in particular, is remarkably ill suited for interface design.
See above. I could tell it spread airborne and said so here at the time.
"HTTP can go away"... uh, then how does the web client and server communicate with each other?
Unlike those other things, which are external contaminants that find their way in due to non-sanitary processing conditions, cadmium and lead in chocolate come from the soil the cocoa trees grow in, and end up in the beans themselves, in a way that is effectively impossible to extract from them.

Also, from what I've read in other sources, the higher the cocoa content in chocolate, the higher the mineral content (including these "bad minerals") in the chocolate.

And also — frustratingly — the soil that has these soil minerals, is also the soil that imparts what people generally consider to be more interesting/tasty terroir into the chocolate. The single-source, ethical, sustainable chocolate? Highest heavy-metal content.
Formula E's new all-wheel drive formula car races this Saturday
I applaud your willingness to put people over profits, but there is still a part of your (conditional) statement that makes me quite uncomfortable:

>then all who profit from criminal corporate behavior should be punished.

American, European, and British citizens profit from exploitation of the global south, exploitation that often includes violence. Should all American, European, and British citizens be punished simply for being beneficiaries of activity they don't necessarily endorse or support?

What about shareholders who didn't make a choice to purchase shares of the companies in question, like recipients of pensions where the pension fund purchased shares in pursuit of producing a return for the workers they have promised to support financially?
Well not for me it's not, that is a zoom function.

En dash is Alt+0150 and Em dash is Alt+0151
They should place their Git backend on the blockchain to collect all the power stones.
I find it can be liberating to Marie Kondo it.

Does that project no longer spark joy? Delete.

But then, I get a rush out of dropping off loads of unused stuff at Goodwill.
I'm a bit confused. The documentation says it is static and strongly typed, but the example for functions is:

def multiply(a, b):
print("Multiplying", a, "with", b)
return a*b

How is this strong and static? If I don't need to specify what my function takes, isn't that duck typing? Maybe I'm missing something?

It would be really nice to have strong, static types. It's the only thing keeping me from learning Elixir, so this could be a nice alternative.
[uneducated impressions:]
Sure, it sounds like technicality. It is a shame it is not treated as such. The right solution would be to force government officials to do their job and get warrants on time next time.

Just physical access not mentioning firmware update means your device is compromised.

It sets a bad precedent.

It is not like people have too many rights as it is.
A funeral is probably the best way to shut off that line of discussion.
> Aside from favoring the long em-dash (—)

This is a huge improvement over previous GPT and Claude, which use the terrible "space, hyphen, space" construct. I always have to manually change them to em-dashes.
But how do you hide the floppies?

Just having that media would be suspicious in and of itself...
Just use mithril and never look back. You can learn the API in one day and move on with your life creating compact and performant apps.

React is unbelievably overengineered, classic case of creating solutions to self-invented problems.
Yeah I chuckled at that
I go further than judging a book by its cover, I judge it by its name!
The react team have done an incredible job maintaining backwards compatibility across versions over the years. They’ve even fought for bug parity when doing major internal rewrites.
I was curious about the opposite: What does this offer on top of Erlang? Is it just a new syntax for effectively the same language?

IMO, the pure operator precedence syntax of Erlang is peak homoiconigraphy. I prefer that over syntactic sugar. But also I'm a fan of Prolog...
Day after nuclear power vow Meta announces largest-ever fossil fueled datacenter
No previous fiction that looks like this nonsense fiction has the fictional characters do fictional things that you are interpreting as deception, but it’s just fiction
Why should your employer be the buyer? It's just a way of chaining people to specific jobs. I'm constantly perplexed by people's eagerness to rationalize the structure of an obviously dysfunctional ysstem.
I think AI-powered is fast approaching the "webscale" status.
The problem with analyses like these is that every CEO is protected by state limitation of liability. These people are shielded from legalism. They can lose their business potentially but their personal status (other than that tied into equity in the business) is pretty much 100% shielded.
I moved on. To native apps.

It’s great.

Btw the web tech has come a long way since. Native browser API is amazing, CSS is wonderful and I’m particularly excited for Web assembly. Drop the virtual DOM stuff and all other Frankenstein BS and working on the browser is actually fun again.
We watched it live in 2020 and we failed so hard that this is probably the worst time for any new pandemic, especially one that can be described as being in any way "flu like". We've learned from experience that no matter how many people start dying, huge parts of the population will not take it seriously and that governments will only care about keeping the workers busy making money for their employers even while those employers refuse to provide them with PPE or sick time. Nobody trusts the CDC as it is, and that will only get worse with the coming administration.

I'm just hoping that this isn't anything new, and that it doesn't spread very far.
For whatever reason, backend devs can be incredibly precious about their tech stack and rightly or wrongly believe that frontend devs make "silly" choices by not using their preferred stack.

It's a form of technical smugness that pervades this site for any frontend JS thread.

You rarely see frontend devs criticise backend devs on their tech stack.
Unfortunately the architecture of IPAWS can introduce fairly long delays. The EEWS system uses a dedicated channel to deliver alerts to WEA more quickly, since a study by USGS/NIST had determined that IPAWS could not meet time objectives (typically ~5 minutes end to end). The tsunami warning center, like basically everyone except for USGS, has to originate alerts through IPAWS. The performance and latency problems with IPAWS have been flagged by GAO a couple of times now but it's not something that receives much investment. All-Hazards Radio (weather radio) should actually be a faster alerting mechanism for tsunamis, in practice, since NOAA operates that system themselves.

The Android Alerts are actually coming off of IPAWS as well, but I believe they take a feed directly from the publishing system and do all of the routing themselves. Their implementation is of course quite a bit faster than IPAWS rather creaky and sort of batch-centric architecture.
"Be careful. If you scare away my demons, my angels might leave as well."
Yeah it's a fairly standard clause in the business paid versions of SaaS products that your data isn't used to train the model. The whole thing you're selling is per-company isolation so you don't want to go back on that.

Whether your data is used for training or not is an approximation of whether you're using a tool for commercial applications, so a pretty good way to price discriminate.
Censorship in Schools
Tara Garcia Mathewson of The Markup discusses digital censorship in
schools colleges and universities.
Claude is much better at coding and generally smarter; try it instead.

o1-preview was less intelligent than 4o when I tried it, better at multi-step reasoning but worse at "intuition". Don't know about o1.
Not really.

Work has been done to make faster Ruby language implementations.

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
Most good plans will have actions / tasks that reduce risk or uncertainty as highest priority.

A good heuristic in the absence of a detailed high level plan is "work on the highest risk things first".
Simplify your stack with fewer moving parts - TrailBase is an easy to self-host, single-file, extensible backend for your mobile, web or desktop application providing APIs, Auth, FileUploads, JS runtime, ... . Sub-millisecond latencies eliminate the need for dedicated caches, no more stale or inconsistent data.

Just released v0.3 overhauling the SQLite execution model providing a nice speed bump. Now, APIs are roughly 20x faster than SupaBase, 10x faster than TrailBase: https://trailbase.io/reference/benchmarks

Check out a live demo of the admin UI on the website: https://trailbase.io. Love to hear your thoughts
$200 per month. Ok no.
AWS recently announced S3 Tables, and the interwebs blew up. But is it just fools gold?
Ah, I see. Since I don't touch unsafe Rust very much at all, I completely forgot about this type. It makes sense that having a "safe" way of dealing with this would be useful, especially for a "C++ successor" language.
I manage a Digital Literacy Program for seniors. This is a great idea. But for example, most seniors I work with are total beginners. Simply getting to signing up for an udemy course and figuring out player controls on this course are pretty big obstacles.

The long running "Easy Tablet Help for Seniors" is much simpler and free.

Sorry! Don't want to discourage your work though!
They did solve it (from the guy that originally reported the suspense issue): https://bsky.app/profile/tkdodo.eu/post/3layw6wk5bs2b
If the risk is extinction as these people claim, that'd be a short sighted business move.
Unpacking could also be done with a 243-entry lookup table instead of doing math.
> GitLab Inc., (NASDAQ: GTLB), the most comprehensive AI-powered DevSecOps platform

Oh, that description explains why the core pipeline authoring and capabilities have made almost no progress in the last few years. I actually thought gitlab still branded itself as a "classic" dev ops tool.
Pedantry: (wrt all) an arbitrary counterexample would be Abramsky, Domain Theory in Logical Form (1991), which is a 20th century tract on logic, but (although they may share a common Limit between them) is also something Other than a response to Hegel.
If you prompt it even in a roundabout way to plot against you or whatever then of course it’s going to do it. Because that’s what it predicts rightly that you want.
From the results section:

> In the age and calendar time stratified Cox proportional hazards models, no significant associations were observed between total chocolate consumption and risk of T2D in the pooled dataset (table 3). After adjusting for lifestyle and dietary risk factors, we found that participants who consumed ≥5 servings/week of any chocolate showed a 10% (95% CI 2% to 17%; P trend=0.07) lower relative risk of T2D compared with those who never or rarely consumed chocolate.

To me, this sounds like there was no correlation, but after weighing the data by other factors (including BMI, according to the methods section) a correlation appears. Does that mean if members of a subgroup eat lots of chocolate, but also have much higher BMIs, because they also eat lots of everthing else, they could have a lower adjusted risk for type 2 diabetes, even if they actually have a higher incidence of type 2 diabetes? Am I misinterpreting?
JSX syntax doesn't change every month either. React itself, as a library, has a great deal of backwards compatibility.

What does churn is the tooling (e.g. abandoning Webpack for Vite). But the actual API and syntax has remained virtually unchanged. You can still write and use class components today. Hooks themselves are nearly 7 years old at this point, with no sign of changing. You are not required to use "server components" or any of the new features in React.

Meanwhile people in this thread recommend "simple" alternatives like Vue that produce breaking changes so massive it splits their ecosystem in half.
I genuinely think this is a great thing to offer and very much needed. Great work. Your ffmpeg tutorial also looks really interesting, and I'll definitely be checking that out when I have time.

But please consider removing or changing that huge cookie banner on the main page. The amount of people that will simply choose to not interact with the site at all and X out immediately when seeing this might be higher than you think. That would be my first instinct.
LA Times Owner Personally Reviews Opinion Headlines to Avoid Offending Elon Musk
The original title is:

> LA Times Owner To Personally Review Opinion Headlines To Avoid Offending Elon Musk

It is already happening. The relevant referenced article from Status [1] is paywalled. The author of the referenced article summarized [2]:

> Scoop: After the LA Times published a piece by @vpheffernan about Elon Musk that carried a headline owner Patrick Soon-Shiong didn't like, a new rule was implemented: Prior to publishing opinion stories, headlines must be emailed over to Soon-Shiong, where he can then choose to weigh in.

...

> More: In a conversation with right-wing media personality Scott Jennings, Patrick Soon-Shiong revealed that he plans to put an AI-powered "bias meter" on stories published by the LA Times. "People are now deeply fucking concerned," one staffer bluntly told me Wednesday night.

[1] https://www.status.news/p/los-angeles-times-patrick-soon-shi...

[2] https://www.threads.net/@oliverdarcy/post/DDLwBiTMxbB
The grand vision, the problem being solved, is that humans suck at driving, especially when drunk and texting. If no human ever drove drunk again, it would literally save lives. You can be cynical about the profit motive, because there is one, but fundamentally, reducing traffic fatalities, which is over a million a year, was Sebastian Thrun, one of the original researcher's, stated goal. That it changes the rest of society and makes him a ton of money along the way is just a nice side benefit.
He's the former CEO of Staples. He's going to have to change his name to Bill Gitlab.
no one uses or writes new graph databases. sad
It is nice that things aren't so bad that nobody is even keeping an eye out for things like this. There's some comfort in knowing that somewhere smart people are looking into it.
I wonder if OpenAI can break into enterprise. I don’t see much of a path for them, at least here in the EU. Even if they do manage to build some sort of trust as far as data safety goes, and I’m not sure they’ll have much more luck with that than Facebook had trying to sell that corporate thing they did (still do?). But if they did, they will still be facing the very real issue of having to compete with Microsoft.

I view that competition a bit like the Teams vs anything else. Teams wasn’t better, but it was good enough and it’s “sort of free”. It’s the same with the Azure AI tools, they aren’t feee but since you don’t exactly pay list pricing in enterprise they can be fairly cheap. Co-pilot is obviously horrible compared to CharGPT, but a lot of the Azure AI tooling works perfectly well and much of it integrates seamlessly with what you already have running in Azure. We recently “lost” our OCR for a document flow, and since it wasn’t recoverable we needed to do something fast. Well the Azure Document Intelligence was so easy to hook up to the flow it was ridiculous. I don’t want to sound like a Microsoft commercial. I think they are a good IT business partner, but the products are also sort of a trap where all those tiny things create the perfect vendor lock-in. Which is bad, but it’s also where European Enterprise is at since the “monopoly” Microsoft has on the suite of products makes it very hard to not use them. Teams again being the perfect example since it “won” by basically being a 0 in the budget even though it isn’t actually free.
GTLB is perfect for ESG investing because it’s powered entirely from hot air generated by buzzwords.
Nice! How do you figure out which repos to list? Is there a submission/approval process?
In a similar way to the way humans keep important info in their email inbox, on their computer, in a notes app in their phone, etc.

Humans have a shortish and leaky context window too.
Long excel formulas are really just bad "one liners". You should be splitting your operation into multiple cells or finding a more elegant solution. This is especially true in excel where your debug tools are quite limited!
Intelligence Arbitrage