MurphyA/hacker-news huggingface dataset:
by awesome_dude | 2025-08-31 05:38:59+00:00
> Our coding standards require that functions have a fairly low cyclomatic complexity. The goal is to ensure that we never have a a function which is really hard to understand.

https://github.com/fzipp/gocyclo

> * We also require a properly descriptive header comment for each function and one of the main emphases in our code reviews is to evaluate the legibility and sensibility of each function signature very carefully. My thinking is the comment sort of describes "developer's intent" whereas the naming of everything in the signature should give you a strong indication of what the function really does.

https://github.com/mgechev/revive

> Now is this going to buy you good architecture for free, of course not.

It's not architecture to tell people to comment on their functions.

Also FTR, people confuse cyclomatic complexity for automagically making code confusing to the weirdest example I have ever had to deal with - a team had unilaterally decided that the 'else' keyword could never be used in code.
by m463 | 2025-08-31 05:39:19+00:00
"sideloading" connotates something that is negative.

On systems before apple's locked-down iphone, it was just called "installing".

The PC revolution started with people just inserting their software into the comptuer and running it. You didn't have to ask the computer manufacturer or the OS vendor permission to do it.

And note that apple doesn't allow you to protect yourself. You cannot install a firewall and block arbitrary software on your phone. For example, you can not block apple telemetry.
by YZF | 2025-08-31 05:40:56+00:00
GDP is still growing and inflation has come down. I agree tariffs contribute to inflation: https://www.frbsf.org/research-and-insights/publications/eco...

Before tariffs, in the post-pandemic recovery, we also didn't see hiring go back to pre-pandemic levels. There are other forces like AI adoption.

I don't have good intuition around the connection between tariffs and jobs. Yes, higher inflation may require cooling down the economy. But right now it looks like rates will be going down and anyways rates haven't really slowed down the economy that much. Inflation did come down. Inflation can have some benefits too for employers, it erodes the employee's salaries (and potentially other costs). If companies can raise prices and not pass that on to employees or to their suppliers (as they've seemingly done during this last inflation cycle) then it can be a win for them. A weaker dollar can also help US companies compete globally.

If companies are doing well and growing, and they seem to be, why aren't they hiring more? The largest US tech companies are sitting on piles of cash and making huge profits, for some time now. Is it just that they've become more productive and need less people? Maybe they don't have anywhere to put more people towards? Maybe they're hiring outside the US (this one is not a maybe- they are). Is the uncertainty related to progress in AI? to other macro factors?
by rixed | 2025-08-31 05:41:57+00:00
Yes I'm aware of that, and I had this in mind when I wrote that "IQ tests measure the ability to solve quickly some abstract problems in an exam-like situation." Maybe that was not carefuly worded enough.

I am of the opinion that, although there is some generality in IQ tests, they measure only one specific aspect of cognitive ability defined by: abstract + quick.

My intuition is that cognitive abilities encompass much more than that. Anyone who have ever argued at length with that smart but obtuse engineer who can't tell the forest for the tree will know what I'm refering to. To me, a better test for "cognitive abilities" would also measure how someone is able of nuance, of humor, of seeing things from different perspectives, of introspection, etc, not just solving puzzles that can be described in a couple of sentences.

And I'm not talking about "emotional intelligence" here. To me, E-I is just the other side of that same flawed model that smells too much like modern day phrenology.
by esperent | 2025-08-31 05:42:28+00:00
> some grace for when it was written

I reread it last year and I needed to give it a lot of grace, mostly from it's treatment of women. To Asimov's credit, there's no overt sexism - he manages to bypass that by having almost no female characters at all. There's a single female character who has no agency, every other character is white and male. I understand it's a product of it's time, and avoid judgment. However, the lack of women feels weird and makes it hard to enjoy.

To be fair, the later books in the series which were written in the 70s are much better in this regard.
by breppp | 2025-08-31 05:44:04+00:00
> Did the Nazi homocaust of Jews seek to destroy all Jewish people, no.

The entire goal of the holocaust was destroying all Jewish people (and many who weren't). This was exactly why this was dubbed "The final solution to the jewish problem". You might want to educate yourself a bit more on the subject

> The whole world, outside of the US (thanks AIPAC!) and maybe the UK is convinced that Israeli atrocities on Palestinians is clearly genocide.

The whole world was convinced that the Germans were mere victims who only need one more concession, Hitler was merely trying to fix the injustice of Versailles. Further, there was wide support for the German efforts to solve their "Jewish problem", As Jews of course have caused World War 1 through bond trading and caused millions of deaths, famine in Germany as well as Communism and its subsequent millions.

That may sound funny to you now, but that was a popular opinion in elite universities. When words lose meaning and truth become second, all kind of stories seem true
by kccqzy | 2025-08-31 05:45:35+00:00
I don't want people to know the precise date time of taking the photo. I don't want people to know whether I'm frugal and staying on iPhone 12 or I splurged and upgraded to iPhone 16 Pro. I don't want people to know the version of iOS I was running. I don't want people to know the name of the software that I used to adjust the curves and white balance.
by geoHeil | 2025-08-31 05:46:03+00:00
Benchmarks are like single match scorelines: interesting, but rarely comparable. We built a public ELO score leaderboard for analytics engines that treats every public benchmark (TPC-DS, TPC-H, SSB, vendor blogs, community posts - even the messy ones) as a “match.”

Why ELO? Because comparing databases is more like ranking football clubs over a season than timing a single sprint. Creating a relative robust and relative score is what counts.
Show HN: NextClip – AI Video Editor for Talking Head Videos
by devhustler | 2025-08-31 05:47:24+00:00
## Transform boring talking head videos into scroll-stopping content in 5 minutes

*The Problem:* Content creators spend hours editing talking head videos, manually removing filler words, adding captions, and inserting visuals. Most give up and post boring, unengaged content that gets scrolled past.

*The Solution:* NextClip uses AI to automate 90% of the video editing process. Simply upload your raw talking head video and watch as AI cleans your audio, adds engaging captions, and intelligently places visuals exactly where they'll have maximum impact.

## Key Features That Make NextClip Different

* One-Click AI Audio Cleanup* - Instantly remove filler words, duplicate takes, and awkward silences - Click any word in the transcript to delete it from the video in real-time - Remove silences of specific lengths (0.5s, 1s, 2s+) with precision

* Smart Transcript-Based Editing* - See your entire video as text - Click to delete words/sentences instantly - Visual indicators show where edits were made - Undo any change with another click

* AI-Powered Visual Enhancement* - Highlight any text to add B-roll, overlays, or graphics at that exact moment - Auto-add visuals throughout your entire video with one click - Choose from Pexels library, upload your own media, or use GIFs - Smart placement based on content analysis

* Attention-Grabbing Captions* - 18+ professionally designed caption templates - Full customization: fonts, colors, animations, highlighting - Optimized for platforms where 85% of videos are watched without sound

* Smart Audio Mixing* - Curated music library + upload your own tracks - Automatic level balancing keeps your voice clear - Professional sound quality without the complexity

## Built for Modern Creators

- *No timeline complexity* - Edit through transcripts, not timelines - *Real-time preview* - See changes instantly as you edit - *Platform optimization* - Perfect exports for YouTube Shorts, TikTok, Instagram Reels - *Brand consistency* - Save custom themes for repeated use

## Perfect For - Solo creators who want professional results without the learning curve - Content creators posting regularly across multiple platforms - Anyone tired of spending hours on basic video editing tasks - Creators who want to focus on content, not technical editing
by echelon | 2025-08-31 05:48:01+00:00
Why is Amazon gobbling up failing studios on the cheap?

Why is Amazon able to buy franchises like Lord of the Rings, advertise them for free on the side of its delivery vans and packaging, then offer the content completely for free to its mail order subscribers? That's dumping and competes with the non-AWS subsidized offerings of non-tech film studios.

Why did Amazon, Apple, and Netflix offshore production to the UK, Eastern Europe, and Asia when the US has infrastructure and subsidies? Almost everyone I know in IATSE is out of work and contemplating leaving the industry for good.

It's a pretty thorough destruction or assimilation if you ask me.
by charcircuit | 2025-08-31 05:48:06+00:00
>the adult thing to do is not to simply disregard the rules

The adult thing is to do best by the users. Critical file system bugs are worth blocking the release of any serious operating system in the real world as there is serious user impact.

>Is that good for the users?

I think it's complicated. It could allow for a faster release schedule for bug fixes which can allow for addressing file system issues faster.
by marc_abonce | 2025-08-31 05:48:40+00:00
The most important advice for people in this situation, from the article:

> I’d say my overarching advice, based on how difficult tech recruitment is right now, is to sadly play along. But — and I cannot stress this enough — make sure you document everything.

> What I mean by that is every single time AI tools cause problems, slow-downs and other disappointing outcomes, document that outcome and who was responsible for that decision. Make sure you document your opposition and professional advice too.

Personally, I would just add a warning to be careful to blame the tool, not the person. Otherwise, you will be seen as the "bad" person in the story even if your report is technically correct.
by AngryData | 2025-08-31 05:48:56+00:00
Why does China's growth need to be curbed or opposed in any way? What does that accomplish? The only thing we need to be doing is ensuring our own stability, be decently self reliant, and improve the lives of our citizens. It is in inevitable fact that China will eventually surpass us economically, they have far more people, fighting that is just crabs in a bucket fighting over who gets to stand on top of the others.
by koverstreet | 2025-08-31 05:50:07+00:00
that would be bcachefs :)

It's an entirely clean slate design, and I spent years taking my time on the core planning out the design; it's as close to perfect as I can make it.

The only things I can think of that I would change or add given unlimited time and budget: - It should be written in Rust, and even better a Rust + dependent types (which I suspect could be done with proc macros) for formal verification. And cap'n proto for on disk data structures (which still needs Rust improvements to be as ergonomic as it should be) would also be a really nice improvement.

- More hardening; the only other thing we're lacking is comprehensive fault injection testing of on disk errors. It's sufficiently battle hardened that it's not a major gap, but it really should happen at some point.

- There's more work to be done in bitrot prevention: data checksums really need to be plumbed all the way into the pagecache

I'm sure we'll keep discovering new small ways to harden, but nothing huge at this point.

Some highlights: - It has more defense in depth than any filesystem I know of. It's as close to impossible to have unrecoverable data loss as I think can really be done in a practical production filesystem - short of going full immutable/append only.

- Closest realization of "filesystem as a database" that I know of

- IO path options (replication level, compression, etc.) can be set on a per file or directory basis: I'm midway through a project extending this to do some really cool stuff, basically data management is purely declarative.

- Erasure coding is much more performant than ZFS's

- Data layout is fully dynamic, meaning you can add/remove devices at will, it just does the right thing - meaning smoother device management than ZFS

- The way the repair code works, and tracking of errors we've seen - fantastic for debugability

- Debugability and introspection are second to none: long bug hunts really aren't a thing in bcachefs development because you can just see anything the system is doing

There's still lots of work to do before we're fully at parity with ZFS. Over the next year or two I should be finishing erasure coding, online fsck, failure domains, lots more management stuff... there will always be more cool projects just over the horizon
by randycupertino | 2025-08-31 05:50:16+00:00
We have had a huge push for mandatory ChatGPT use as well at my 800 person company - 4 mandatory IT trainings about it, told how much we use it will be factored into our performance reviews, hyped up by management at all-hands, told if we don't use it we will be outperformed by those who do.

I am curious if they read what we're prompting into the system and considering our use case as well.
by rixed | 2025-08-31 05:51:41+00:00
Apologizes gladly accepted. But maybe my question was not clearly phrased - it was not "Why are tests bad". You contrasted "doing no harm" with "doing good" and I wanted to ask what good have IQ tests done. Because to me the harm is kind of obvious (overinflating the importance of one criteria and ideological agenda) but the good not so much (obviously, I'm not questioning the good of any cognitive ability per see, I'm questioning the good of assigning a numerical value to it and making it a characteristic of some individual).
by 01HNNWZ0MV43FF | 2025-08-31 05:52:03+00:00
I wish there was will for a global government

But both the US and China have unacceptable mass surveillance, and the US will not even vote to take care of its own homeless citizens.

A subset of environmentalists will condemn pollution then ask for more roads, cheaper gasoline, and cheaper meat.

I don't think I'll live to even see a good national government
by m2f2 | 2025-08-31 05:52:17+00:00
I have used my company LLM thingy. Able to summarize and document code leveraging remarks and general code behavior just because LLM just ingested the full python docs.

About generating things well... it just copypastes the same snippets you could find on stackoverflow, including bugs - if the task you throw at it has already been answered.

For complete and complex code... well it spews out the same useless advice you could get from a drunk non expert person while sitting at the bar.

Issue is... LLMs are too big to fail, everyone just poured billions in this huge statistics bean counter, and... someone has to justify those expenses at board meetings.
by mgh95 | 2025-08-31 05:52:22+00:00
> It's quite possible that any one new AI tool is wrong, but it is unlikely all of them are. A great historical analogies are the adoption of PCs in the 80s and the adoption of the internet/web in the 90s. Not everything we tried back then was an improvement on existing technologies or processes but in general if you weren't experimenting across a broad swath of your business you were going to get left behind.

There is a difference between experimentation and mandated usage, however. In the former, you typically see "shadow IT" attempt to access useful tools outside the bounds of what is considered acceptable, as compared to mandated usage. This indicates a greater willingness to adopt.

There is also a difference between a technology replicating an existing functionality in a new medium (email vs usps) and introduction of a new technology. In the former, there is clear market demand, and only a matter of redirecting existing demand to new tools. In the latter, it is unclear if the technology will be useful.

I don't think that just because LLMs are a new technology which use computing makes them the internet and I don't think it's accurate to analyze them through the lens you propose.
by fcatalan | 2025-08-31 05:54:48+00:00
I'm Spanish. I make about 40k/yr. I wouldn't move to the US for, say, 200k.

I have excellent 0€ out of pocket 0 paperwork healthcare. I walk to my 35 hours per week job. I have about 50 days of vacation each year. I have a small second home down in the beach to enjoy them. In my 150k people hometown some years there is a murder or two, and most years there isn't one. When people rob a business they might threaten with a tiny Swiss Army knife, or maybe just yell very hard.

I'll stay thanks.
by smt88 | 2025-08-31 05:55:39+00:00
It absolutely doesn't "work in practice" for the web.

Read-only sites, like personal blogs, are easy to self-host but vulnerable to DDoS attacks if targeted.

Writeable sites, like anything with a form or message board, are now too expensive to run because of spammers and hacking bots.

We're now all paying rent to Cloudflare or Substack or whatever because you can't just be an isolated island on the open web anymore.
by bmacho | 2025-08-31 05:55:50+00:00
Basic things that browsers lack:

- hooks between network steps - hooks between steps while rendering/interacting with a website

Things that I want to do but I can't:

- catch a request and modify it, e.g. when a webpage tells my browser to visit ajax.googleapis.com/jquery.js then my browser SHOULD NOT DO IT. Seriously, just don't start running shit on my computer when I click something. Noone wants that, apart from Google. Not the users. I should be able to modify that request, and serve jquery from somewhere else. - stop the browser's javascript execution - run my own javascript (these two are currently unavailable together, if you don't allow javascript on a webpage, then you can't run your own) (or modify HTML/DOM in some other language)

I don't think Firefox is worth supporting, I believe it is a Trojan Horse of Google (or at least a Useful Idiot), and its existence is the main reason we have exactly 0 browsers (open source or proprietary) right now. It should die, so something else might flourish.
by YZF | 2025-08-31 05:56:14+00:00
"Eating duration <8 h was linked to 135 % higher cardiovascular mortality, but was not associated with all-cause and cancer mortality."

...

"Although a positive association was observed between eating duration <8 h and cardiovascular mortality, further research is required to understand whether this risk is attributed to the short eating duration itself or residual confounding resulting from its contributing factors."

I think I've seen a preprint of this study discussed a little while back. What some experts(?) were suggesting is to widen the window to something like 10 or 12 hours.
by mkagenius | 2025-08-31 05:56:15+00:00
The question shouldn't be whether we should use it or not but that how can we use it so that we are more productive than before.

In future, there will be some sort of "method" or should I say "art" in how we use the ai tools.

It's very easy (and frustrating) to just say "try again, <error log>" without knowing fully what's going on. The transformation from a coder to a code manager would need some sort of learning to be good at it.
by pjmlp | 2025-08-31 05:56:46+00:00
Yes, this is pretty much the reality around my bubble, with OKRs for how much is being used in practice, can hardly wait for the bubble to burst.

Using AI powered tooling is one thing, better IDE workflows, writing and voice recognition, translations and so forth.

Copying text around into and out of a chat window is worse than just writing COBOL, and at least COBOL is deterministic.
by morsch | 2025-08-31 05:58:20+00:00
> Mitigation for the things that affect the most number of people is how the world works.

Millions of people hurt themselves, physically hurt themselves, every day, doing things that we could easily restrict. Yet we still allow them to buy knives, glassware that can break, hammers, power tools, non automated vehicles of all kinds, the list goes on.

We also spend a lot of time educating them on the dangers, far more than is spent warning about online scams, and we do it at a far earlier age (age 0, for some of them).

Of course we still allow the sale of safe knives and plastic mugs, so people are free to choose; that point still stands. I'd argue that there is more competition in tableware, and less friction shifting between it, than there is in mobile operating systems.
by EE84M3i | 2025-08-31 05:59:07+00:00
A comparison can be drawn to the scales used for measuring earthquakes. Although the Richter scale is quite common in many parts of the world, in Japan the Shindo scale is primarily used. This measures the local ground shaking intensity, as opposed to the Richter scale which measures the amount of energy released in the quake.

https://en.wikipedia.org/wiki/Japan_Meteorological_Agency_se...
by some_furry | 2025-08-31 05:59:27+00:00
> It always seems to be a challenge to upgrade dependencies for these projects. Its usually because (in building the thing) one can't fully follow the "prescribed" way of doing things with the god framework, because each project has to deal with a niche infrastructure environment and/or business context that requires some hack or additional dependency. Then when you need to, say, upgrade a language version, you can't follow the god framework's guide for doing this (if there even is a decent one) because it will break your workaround. So you end up with this hodgepodge which never gets updated until it reaches a critical point where it cannot continue to run on your infrastructure, and it forces a big migration project.

Can you give any specific examples?

I'd like to see which of these are open source. And whether or not they're funded for maintenance.
by cncjchsue7 | 2025-08-31 05:59:40+00:00
> They found the elevated cardiovascular risk was consistent across socioeconomic groups, and strongest among smokers and people with diabetes or existing heart disease - suggesting they should be especially cautious about long-term, narrow eating windows. The link held even after adjusting for diet quality, meal and snack frequency, and other lifestyle factors, researchers found.

Did they account for who was overweight? Cause it doesn't sound like it.