skysight-inc/HackerNews huggingface dataset:
there are a lot of nuances in Business Analytics, you maybe can get away with GenAI for naiive questions like "Who are my top5 customers?", but thats not the type of insight usually needed. Most companies already know their top5 customers by heart and these don't change a lot.

Nuanced BI analytics can have a lot of toggles and filters and drilldowns, like compare sales of product A in category B subcategory C, but only for stores in regions X,Y and that one city Z during time periods T1, T2.
and out of these sales, look at sales of private brand vs national brand, and only retail customers, but exclude purchases via business credit card or invoiced.

with every feature in a DB (of which there could be thousands), the number of permutations and dimensions grows very quickly.

whats probably going to happen, is simple questions could be self-served by GenAI, but more advanced usage is still needed interention by specialist. So we would see some improvement in productivity, but people will not lose jobs. Perhaps number of jobs could even increase due to increased demand for analytics, as it often happens with increased efficiency/productivity (Jevon's paradox)
c. elegans can reproduce autonomously, can source its own energy inputs, etc.

also, last i checked, an llm doesn't meet the definition of life form.
That is a reasonable tradeoff for sure. I’m still thinking what could we do to improve readibility on mobile devices though
Ask HN: AI bot to analyze Earthquake affected buildings
Myanmar was affected by Magnitude 7.7 earthquake a few days ago and a lot of buildings are affected. There are cracks in the buildings and people need something to identify + analyze the safety level of their houses.

Are there any ai bot which can triage and analyze the buildings' safety level based on the photos?
That is pretty much what I'm doing with Steam, Proton and my Game Library. 99% the time it works just great.
I'm pretty sure that no amount of fluoridated water is going to save you if you do not brush your teeth.

Even if the fluoride somehow manages to overcome all that and prevent you from getting cavities, the gum disease will eventually cause all your teeth to fall out.
>I don't want any text to be selectable. I don't want pull to refresh on every page. I don't want the left-swipe to take me to the previous page.

Strange. This inability to select any text has always felt like one of the most hostile things developers could ever do. It feels like pure vandalism.

Another thing that causes massive productivity degradation is not being able to keep multiple pages open so you can come back to some state. I cannot imagine how anyone could possibly use these apps for any serious work.

The UX of almost all native mobile apps is absolute crap. But it's not their nativeness that makes them crap. I'm not complaining about the idea of operating systems offering non-portable but high performance UI primitives that make use of OS facilities.

Many native desktop apps don't have these UX issues (at least not all of them at the same time). It's the mobile UX patterns, conventions and native UI frameworks that are causing this catastrophic state of affairs.
Show HN: I made shopping AI chatbot from backend server of 289 API functions
I lived in Germany for a while. There, the water that comes out of your tab doesn't get fluorized. Instead, they add fluoride to tooth paste.

So, is Germany less free or more free?
Ask HN: Code should be stored in a database. Who has tried this?
To me it seems obvious that code should be stored in a database rather than a hierarchical, text-based format.

The main way we navigate and organize code is by folder hierarchies. Everyone has a different approach: by feature, by module, by file type (template, component, etc.), by environment (backend/frontend).

Rather than folders and file names, everything could just be tagged in different ways.

Who has tried this and what is the best tool for working like this today?
Only people I hear say Queen of England is Americans
Struggling to see any of what?
Built an Open Source Website Blocker After Distractions Stole My Workday
I kept telling myself, "Just one quick video," but somehow, my "productive" morning became a constant digital distraction.

Frustrated, I built Ashdeck —a free, open-source website blocker to reclaim my focus. It’s lightweight, distraction-free, and even has a Pomodoro timer.

If you’ve ever lost hours to rabbit holes instead of actual work, this might be useful. I would love feedback from fellow productivity hackers!

Ashdeck.com
Show HN: Ts-result – Rust's Result<T, E> type for explicit error handling in TS
Hey HN,

Like many, I've often found standard error handling in JS/TS (heavy try-catch, ambiguous null returns) a bit cumbersome for representing expected failures explicitly. Inspired by Rust's Result<T, E> enum (Ok(T) | Err(E)), we built ts-result.

It's a lightweight, focused TypeScript library bringing that pattern over:

Explicit Result<T, E> return types for functions.

Type safety via discriminated unions and type guards (isOk/isErr).

Functional composition methods (map, andThen, orElse, etc.) to avoid deep if nesting for success/failure checks.

Modern TS practices (strict types, ESM/CJS exports).

We were evolving an internal version that started looking like Result anyway, so we decided to build a clean, open-source implementation based on the Rust API.

While there are other libraries (some older, some part of larger FP ecosystems like fp-ts/effect-ts), our goal was a minimal, easy-to-adopt implementation of just the Result pattern itself.

It doesn't magically replicate Rust's ? operator or compiler guarantees, and you still need try-catch at boundaries with exception-throwing code, but we've found it helpful for adding clarity and type-safety to our core logic where specific failure states are expected domain outcomes.

Links:

GitHub (Source/Docs): https://github.com/TrylonAI/ts-result

npm (@trylonai/ts-result): https://www.npmjs.com/package/@trylonai/ts-result

We wrote a blog post detailing the motivation, our journey from internal tools, design choices, and how it compares to exceptions or larger FP libraries:
https://trylonai.github.io/ts-result/ts-result-blog-post.htm...

Would love to hear your thoughts and feedback
Well, the watts that come out of the rotational energy must match the ones we need, for energy conservation.
SaaS Overload? Is this the solution
I’m currently building a tool called Consumely (https://www.consumely.ai/) to help businesses optimise and manage multiple SaaS and AI tools - especially around cost and usage tracking.

I’m reaching out to see if anyone in this group is facing challenges with managing their tech stack, especially when it comes to tracking usage, forecasting costs, and dealing with different pricing models.

To help me validate the idea and ensure it’s addressing a real problem, I’ve created a short survey that I’d love for you to fill out. It only takes a few minutes, and your insights would be incredibly helpful as I work on building something that could make this process easier for teams like yours.

Here’s the link to the survey: https://auth.heyjuno.co/chat/kiljcd

Thank you so much for taking the time, and I really appreciate your feedback!

Looking forward to hearing your thoughts!

All the best,
Ollie
Tqdm (Python Progress Bar)
As a random US citizen, chances are high though that you voted Trump and are ok with all this nonsense. So, should be ok?
> the "App Store" is a totally unnecessary concept introduced by Apple/Google so they could scrape a huge percentage in sales.

Actually, when the iPhone was introduced, Apple wanted it to have only a few select native apps (like Maps or Mail) and all the rest to be web apps.

They were browbeaten into opening an app store by the developers, who wanted to do native apps, not the other way around like you say.
Uk is one of the unhealthiest countries
I'm working on implementing this for the company, and the annoying limitations on iOS is that you can't clone apps. If you want Gmail (as an example) as managed app, you can't have another Gmail as unmanaged app. While the company can't see inside the Gmail managed app (without the app itself explicitly providing that feature), the company can remove Gmail (and any local data inside the app) at any time.

Fun fact from the MDM implementation - the most private way (at least to the company policies) to have a company-connected device is to buy a separate phone and install company's MDM on it. On company provided devices, the company may locate company's assets at any time but doing so on a personal device is a privacy breach.
How crazy is this!
"Between 2010 and 2016, Poland received European Union funds equalling 2.7 percent of its GDP; during the same period 4.7 percent of GDP was drained from Poland, according to French economist Thomas Piketty in his book “Capital and Ideology”."

https://rmx.news/article/piketty-the-western-eu-is-enriching...
>So who is left?

People who like and need Windows apps, people who want to have an out of the box experience when running those apps, people who don't like the loss of performance when using Wine, people who generally like Windows but want to have an alternative in case that dislike where Microsoft is heading with Windows development.

That is a lot of people, me included. But since Windows experience is somehow still tolerable, there aren't many willing to invest time or money into ReactOS. There are no corporate sponsors since you don't make money from desktop OS-es unless you use them to sell expensive hardware like Apple did.

Someone like Valve could have sponsored it but they though they can reach their goals with Wine while spending much less money.

Another sponsor for ReactOS can be a state actor like China or EU, somebody with deep pockets who wants and needs to run Windows software but don't want their desktop to be under US control.
No downvotes from me, but where do you think the free will lives? What mechanism produces it? What about that mechanism, if not purely stochastic, is not predictable? If free will can have a real measurable physical effect on this universe, then why can't it be isolated?
On a local level they absolutely do, in a wind farm one turbine can shadow another and reduce its output significantly. It makes wind farm layout a tricky optimisation problem. On larger scales the impact is pretty minimal though, there’s so much energy spread over such a large area that significantly reducing it a global scale is not a concern.
Limited for now, Koto's main role as an embedded language has meant that I haven't had a need, but I would like to provide bindings for other languages at some point, and to enable dynamically loaded Rust libraries.

I'd start by trying UniFFI [1] which looks much simpler than the approach of manually writing a C API and using that as a foundation for higher-level language bindings.

This would also likely be the starting point for a package management system (if there ends up being demand for one). Rust doesn't have a stable ABI so to make sure that dynamically loaded Rust packages are compatible, either Koto would need to be in the business of Rust toolchain management so that packages can be recompiled when needed, or an API layer would be needed. There are some projects that provide ABI-compatibility shims but I don't like the idea of having two separate approaches to FFI, so I'd want to try to build on the foreign-FFI layer once it's in place.

I'm half hoping that by the time I'm interested in working on this Rust will have decided to pursue ABI stability. And there's also something in the back of my mind that's yelling 'Wasm!' at me but I would need someone wiser to convince me that it would be the right direction.

[1] https://github.com/mozilla/uniffi-rs
A PhD student was snatched by masked officers in broad daylight
I think you missed the point of "positive" versus "negative" freedoms.

They have more of one, less of the other.
Wow. I was so bored and unimpressed for the first minute, but from then on it only keeps giving.

Worth watching.
I know but that does not clarify the connection between blue tick, certain pin codes and a certain week in the slightest.

Sure, these are probably all hints to affluent members of society but I was hoping for a more detailed explanation.
I like to take it one step further.

Which country would you choose if you had to be poor?

I’d probably choose Cuba.
If I replaced my water intake with milk it would probably make me sick.

Water has zero calories, is reasonably filling, neutral-tasting, and gives me what my body needs, without any other junk. What's not to like?
Security exploits is the problem, because what common people that don't read WG14 mailings think the word undefined means, and what everyone else involved with creating compilers understand what they are allowed to do, is not the same.
This kind of thing: https://infrastructure.planninginspectorate.gov.uk/wp-conten...

On the face of it it sounds somewhat sensible point by point, but the more you did in, the more it just boils down to finding excuses, any excuse at all, for NIMBYism, often from rich urbanites who moved to the country and want it to be an episode of Downton Abbey, and fret about their house price more then anything else in the world.

This one tries a particularly hamfisted and tendentious "but Ukraine", neglecting that the fucked domestic energy situation is heavily impacted by Ukraine right now.
Not even that long, but I agree on the "underwhelming"...

"Oh I found some niche issue that bothered me and wrote some code to fix it."

-> HN Front Page
Those companies and integrations are already using LLMs. That's the whole point. I'm only talking about LLM products, many of which are free and open source. This has been mainstream for years.
>What it really needs is Ubuntu tier branding and UX work.

That means somebody paying for the work. Designers and UX specialists don't care about free work like many programmers do.
Why? Storage is cheap, and desktop computers have plenty of power to edit. Why on earth would you want to try to stream all of this shit over the Internet?
I wrote a linter for schemas (Postgres only): [link redacted]

I've found it to be a pretty useful way of establishing patterns for data modelling in a team.
If that figure is for the US, then that's ~7M people. Feels like "many" to me.
Sorry if you read my post as snarky - I don't think I missed that point, I meant the question at the end more as food for thought.

The OP contrasts adding fluroide to water vs. not adding fluoride to water and brings up the freedom question. I find that very interesting. But he omits that there's also the variant I sketched, namely that fluoride could still be made available to the population, but not through water.

Now, how does this factoid relate to the freedom (positive or negative) question?

So, please don't read my post as negative, my intent was to bring an additional perspective to the table.
> I'm still not seeing any description of specific challenges you feel are harder in Rust than in C/C++

It's harder to model domains in Rust. C has the same problem and it is a big reason why the industry standard for game dev is C++
You seem to miss the fact that most web app experiences are inferior to that of native app.

The disadvantage of native is barrier to install. Once that's done, the experience to the user is simply superior. True native experience, fast and predictable. As a developer it's easier to build those types of apps as well.

People who haven't used iOS might not understand this though as they've never seen "how things should be".
> What is the overhead on a FUSE filesystem compared to being implemented in the kernel?

It depends on your use case.

If you serve most of your requests from kernel caches, then fuse doesn't add any overhead. That was the case for me, when I had a FUSE service running to directly serve all commits from all branches (from all of history) at the same time as directories directly from the data in a .git folder.
Or just not consume any water.
Will the day come when the LLM will write software/apps for us in some pseudocode that only the llms understand, and deploy into an infra that the llms control and understand, eg it all kind of becomes a big llm black box?
Here in the U.K. at least, vitamins are added to many of the basic foods: like breakfast cereal and bread.

Putting aspirin in the water would be incredibly dangerous: brain bleeds and stomach ulcers would quickly knock out any other health benefits.
If one can make it without breaking the API too much, why not.

The #1 reason I use Django is stability. I have projects that span 4 major Django version without any significant break. That's quite a feature.
> Annexing Canada is the US equivalent of Russia retaining control of Ukraine

Yes, if you disregard a few hundreds of years of history. The reverse, Canada absorbing the US and restoring the continuation of the British Empire, would be more similar, although not equivalent by a long shot.
This was a bit before that feature was really possible to implement cheaply enough to be in every tv. We're taking probably around 2003 or 2004 iirc.
Indeed, OpenResty comes with Lua and LuaJIT built-in.
Earlier version where we've implemented all in Lua, had no need for that. However, as we went fro Lua to Rust (and speed up by using only 15% CPU comparing to the Lua), we added that Lua interface support to the rust, and it worked like a charm.
You're right.

How do you know most people didn't and what was Trump's plan?
Russia was a centralized absolutist empire. The Tsar could more or less do whatever he wanted as long as the army and some other elements of the bureaucracy supported him.

So it’s hardly applicable to the US (or Britain)

> end the civil war with a compromise

I’m not sure it’s was a compromise per se.

Most people in the north didn’t really actively support country wide abolition before the war (neither did Lincoln) nor were they necessarily particularly concerned about the treatment of the African-American population.

Opposing slavery is a very low bar. Most people in the free states were still deeply racist and segregation was effectively (while not necessarily legally) still a thing there. It only became a major issue in the mid 1900s.
Fortunately for everyone, even some of the people who voted for trump are having second thoughts now they are living it.
Why Libre Office takes much more time to start than MS Office? Why does it feel sluggish?

At least you didn't propose to write everything in Javascript.
Also, where is Apple Intelligence at all for any other language? I‘m from Germany and my phone is set to German. There is still no option to even enable it, although the phone was marketed all the same for Apple Intelligence.
Discussions (179 points, 3 days ago, 55 comments) https://news.ycombinator.com/item?id=43485577

(151 points, 3 days ago, 28 comments) https://news.ycombinator.com/item?id=43487465
England has 3 or 4 civil wars in it's history entirely focused on the matter of whether people should do as they're told and shut up. The usual result in those conflicts was a resounding victory for the "No" side.

What's rare is for a nation to have a civil war between sides that agree on almost everything, from the structure of the government to the economic system.
Well, by definition we are simulation LLMs just fine, but per the article we are utterly failing on Elagans, so it seems the smart money is on the latter.
Koto's dynamically typed, but optional type checks were introduced in 0.15: https://koto.dev/docs/0.15/language/#type-checks
Your comment has a lot of merit and more people should take this approach/view
I recall the same, and that there was evidence. Anyone bother digging up a source?
I am using Goawk with good results
If you're not brushing your teeth, periodontitis will get you; the resulting bone decay will cause your teeth will fall out. But sure, great, the water was fluoridated, so I guess it's nice that those now-missing teeth are free of caries?
I think this will be a security mess, get misused for bullying with even worse outcomes, and hopefully there will be legislation that will tame these kind of applications, regardless of how technology cool it might be.
Nuclear proliferation is the way to go, hopefully Ukraine, Germany, Poland, Romania, Finland, Sweden, South Korea and Japan will be the first in this new age.

Denmark should consider it too asap.
Nobody's preventing you from going and finding your own water source either. The government is too much of a nanny state for putting flouride in water for public health, but it's just fine for providing water to you in the first place?
It’s actually a great reminder that a good framing and sales pitch matter a whole lot.

The author isn’t just recounting their story, they’re selling it as a lesson in a generic approach that will make you a better engineer.

Whether they can deliver on that promise doesn’t matter. It’s the feeling that’s clickable.
No, it’s very accurate about republicans today. “Supplant” might be the wrong word: traditionally the saying is “drown it in a bathtub”.
Doesn't WSL do that?
JD Vance's ominous pitch to Greenland
The irony is that people on the Left will claim that red Utah is ignorantly making public health policy, while deep deep blue Portland is considered “progressive.” The public health “experts” are ripping into Utah but haven’t seemed to care about Portland. Perhaps because the public health people are mostly Democrat and care more about politics than actual health? I would love to be wrong — but why is Portland (and much of Europe) getting a free pass from the controversy, but a (relatively low population) red U.S. state isn’t?
America has that too so it’s irrelevant to the question?
(2016) Discussion at the time (237 points, 122 comments) https://news.ycombinator.com/item?id=11796557
It does, vcpkg and conan, but some folks refuse to learn how to use compiled languages and treat C and C++ as if they were Python or JavaScript.
Defaults matter. Most people won't care or know about the change.
and the next 10 after that, and the next 10 after that, and...
More like a Prof.Art. in hand drawing.
Generalizing Std:Midpoint
Windows toolchain (even gnu) just provides old libraries to link with. This should work the same on linux, and AFAIK zig does just that.
This is a bizarre take. Are you also suggesting there’s no reason to have a native app on a laptop? Because it’s essentially the same question. There are many things which a native app can do that a browser just cannot do well, or at all. I don’t know what your needs are, but for example if you’re doing heavy video or audio editing, accessing heavy amounts of RAM or utilizing GPU compute or doing other things on the bare hardware, doing that all from a browser is definitely not there yet.
Is it healthier to use household cleaning products – or not?
I did like them both. They felt much more polished that other Linux distros at that time.
Are you implying people are shilling for it? You can look at my account here to check I've been around for more than a decade and I'm one of those praising Kagi whenever I can because it's a much, much improved experience than I was having with Google until I switched.

It's been over 18 months I'm a paying customer and have absolutely no regrets, I cannot stand Google search anymore after being used to Kagi's results and tools.
Sure, one you install your own OS on.
It also makes it easier for the consumer: don’t want fluoride, move to Utah. Rather than having to figure out what random water district is doing what.
At a corner store I frequent, they recently changed POS systems, and the new ones show a tipping screen. The person there always quickly dismisses it; I think they haven't figured out how to disable it, and are a little embarrassed that the machine is asking you to tip for just ringing up your items.

(Well, they also make espresso drinks and made-to-order deli sandwiches, so I guess it's appropriate to tip if you order those.)