frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Kaiser nurses say AI, workplace surveillance are making their jobs, care worse

https://localnewsmatters.org/2026/07/15/kaiser-nurses-say-ai-workplace-surveillance-are-making-th...
318•gnabgib•4h ago•205 comments

AWS: Inaccurate Estimated Billing Data – $1.7 billion

1064•nprateem•17h ago•646 comments

Thanks HN for 15 years of support and helping me find my life's work

376•nicholasjbs•9h ago•34 comments

The Zilog Z80 has turned 50

https://goliath32.com/blog/z80.html
172•st_goliath•7h ago•54 comments

The Isomorphic Labs Drug Design Engine unlocks a new frontier beyond AlphaFold

https://www.isomorphiclabs.com/articles/the-isomorphic-labs-drug-design-engine-unlocks-a-new-fron...
41•andsoitis•3h ago•2 comments

First atmosphere found on Earth-like planet in habitable zone of distant star

https://www.bbc.com/news/articles/cy4kdd1e0ejo
382•neversaydie•12h ago•237 comments

Vāgdhenu: A Sanskrit Chanting TTS System

https://prathosh.in/vagdhenu/
76•subinalex•4d ago•8 comments

A grumpy screed about AI in software engineering

https://sam.sutch.net/posts/a-grumpy-ai-screed
44•ssutch3•2h ago•38 comments

Moonstone: Modern, cross-platform Lua runtime and package manager written in Zig

https://moonstone.sh/
10•ksymph•1h ago•2 comments

DrDroid (YC W23) Is Hiring

https://www.ycombinator.com/companies/drdroid/jobs/w45QcNV-product-engineer-assignment-mandatory
1•TheBengaluruGuy•1h ago

Learning a few things about running SQLite

https://jvns.ca/blog/2026/07/17/learning-about-running-sqlite/
177•surprisetalk•9h ago•41 comments

An Update on Igalia's Layer Based SVG Engine in WebKit (Reducing Layer Overhead)

https://blogs.igalia.com/nzimmermann/posts/2026-07-14-lbse-conditional-layers/
9•bkardell•3d ago•0 comments

I Started a "Dirt Notebook"

https://pinewind.bearblog.dev/i-started-a-dirt-notebook/
17•herbertl•1h ago•10 comments

Kimi K3, and what we can still learn from the pelican benchmark

https://simonwillison.net/2026/Jul/16/kimi-k3/
280•droidjj•12h ago•149 comments

TP-Link Kasa cameras leaked home GPS via unauthenticated UDP for 6 years

https://github.com/BadChemical/IoT-Vulnerability-Research-Public/blob/main/TP-Link_Kasa_EC71/Kasa...
34•BadChemical•5h ago•5 comments

Static search trees: 40x faster than binary search (2024)

https://curiouscoding.nl/posts/static-search-tree/
54•lalitmaganti•6h ago•3 comments

Open Book Touch: open-source e-reader

https://www.crowdsupply.com/oddly-specific-objects/open-book-touch
67•surprisetalk•6h ago•16 comments

Painting the sides of railroad rails white to reduce derailment

https://www.up.com/news/safety/Tracking-Rail-Heat-260608
53•zdw•6h ago•19 comments

Stenchill: 3D Printable Solder Paste Stencil Generator

https://www.stenchill.com/en/
10•radeeyate•2h ago•1 comments

Topcoat: The full full-stack framework for Rust

https://github.com/tokio-rs/topcoat
50•wertyk•6h ago•29 comments

Show HN: A zoomable timeline of 4M Wikipedia events

https://app.everything.diena.co/
64•lortex•8h ago•24 comments

Lego building instructions through time

https://www.lego.com/en-us/history/articles/d-lego-building-instructions-through-time
69•NaOH•8h ago•11 comments

The state of open source AI

https://stateofopensource.ai/
380•rellem•12h ago•278 comments

FAA lets Boeing sign off on 737 MAX, 787 airworthiness certificates again

https://www.cnbc.com/2026/07/17/faa-boeing-737-max-787.html
129•hmm37•5h ago•68 comments

Three ways people respond to a problem (other than solving it)

https://improvesomething.today/responses-to-problems/
204•surprisetalk•12h ago•115 comments

Frank Lloyd Wright’s first home

https://www.architecturaldigest.com/story/frank-lloyd-wright-home-and-studio-everything-you-need-...
82•NaOH•5d ago•43 comments

PSA about abuse of cat(1) command. Don't abuse cats

https://www.abuseofcats.com
16•scooterbooper•2h ago•21 comments

MoonBASIC: A modern BASIC for building 2D and 3D games

https://github.com/CharmingBlaze/moonbasic
57•klaussilveira•3d ago•18 comments

Show HN: Watch bots interact with an SSH honeypot in real time

https://honeypotlive.cc/
142•tusksm•12h ago•51 comments

Texas wins court order to suspend domain name for violating age-verification law

https://www.texasattorneygeneral.gov/news/releases/attorney-general-ken-paxton-secures-landmark-l...
145•letmevoteplease•4h ago•176 comments
Open in hackernews

PSA about abuse of cat(1) command. Don't abuse cats

https://www.abuseofcats.com
16•scooterbooper•2h ago

Comments

petee•2h ago
> Since 1995, occasional awards for UUOC have been given out, usually by Perl luminary Randal L. Schwartz

http://catb.org/jargon/html/U/UUOC.html

Admittedly its taken me a long time to remember that the file is the last argument to grep, when so many other commands its the first. I'd guess common abuse is due to being easier to type cat x | than to dig up the man page

smelendez•52m ago
And also typing cat x to get a quick look at the file, hitting up, then piping that into another command and taking a look, hitting up, piping that result into a third command etc.
soraminazuki•45m ago
The redirection operator is consistent and requires less typing though.

I guess the file is usually the last argument because it's the one that can be omitted.

js2•43m ago
It's that way so that you can grep multiple files with a single pattern. It would be odd for the pattern to come after the file arguments. It also allows the files to be optional so that it can grep stdin.
Shadowmist•1h ago
I’m going to keep doing it but wouldn’t mind it if my shell auto replaced it for me.
jmclnx•55m ago
In this day an age this is still making rounds ? So this is the memory usage of cat on my system:

     VSZ   RSS    SZ CMD
    3252  1608   813 /bin/cat
To me there are far more things to worry about than cat. How about your multi-gig browser for one ?

Now for firefox:

        VSZ    RSS     SZ CMD
    3472212 395968 868053 /usr/lib64/firefox/firefox
Maybe people should be looking at that ? I will not even get into modern Linux Desktops :)
antonvs•46m ago
Presumably written by someone without much interactive shell experience.

When you're building a pipeline, putting cat first can often be quite convenient. Essentially, it's more composable: it defines the input to the pipeline without committing to a specific tool. For example, you can up-arrow in the shell and change the part after the pipe without having to skip back past the filename.

In fact if you don't start with cat, it's possible you're more of a script kiddie than a software developer.

pyrolistical•42m ago
I like putting the stdin before the command

< file grep abc

internet2000•38m ago
> Piping a single file through cat spawns an entire process whose only job is to copy bytes to a program that already knew how to read them.

Chrome probably spawned two processes when I cmd+clicked this into a new tab. It really doesn't matter.

dminvs•35m ago
"Don't be a catgrepper"

- various HostGator employees, c. 2011

lifthrasiir•32m ago
Don't do this:

  cat file | wc -l            => wc -l < file
  cat file | head -n 5        => head -n 5 file
  cat file | awk '{print $1}' => awk '{print $1}' file
  cat file | sort             => sort file
Do this instead:

  cat file | wc -l            => <file wc -l
  cat file | head -n 5        => <file head -n 5
  cat file | awk '{print $1}' => <file awk '{print $1}'
  cat file | sort             => <file sort
The front-cat abuse is all about the order. The effective solution needs to keep the relative order of arguments.
stouset•27m ago
Or just use cat and spend your brainpower on interesting, useful, and/or worthwhile topics. It boggles my mind that anyone cares about this.
lifthrasiir•19m ago
Probably, but knowing that redirection operators can be freely moved within normal arguments [EDIT: thank ButlerianJihad for pursuing me to make this more accurate] is useful.
ButlerianJihad•10m ago
They are actually not “order-independent”, and their L-R parsing/processing is why constructs such as

  cat file > /dev/null 2>&1
work as intended.
sprior•31m ago
I raised eyebrows recently when I was working with someone and we needed to create a file and instead of starting an editor I did: cat > filename ... Ctrl-D
bonsai_spool•29m ago
Why not touch or echo? No reason for an editor or cat
stouset•26m ago
You can type the intended file contents as-is.
sprior•13m ago
For a one line file sure, but I was creating multiple lines.
floren•27m ago
if this wanton abuse of cat(1) doesn't stop, we're on track to run out of PIDs by 2031! Just because Unix makes it cheap and easy to fork doesn't mean you have to!

(who gives even a single shit, my god)