frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Our small team vs. millions of bots

https://www.fsf.org/blogs/sysadmin/our-small-team-vs-millions-of-bots
1•chmaynard•2m ago•0 comments

Quantum Cloud: From Lab to Live

https://www.mckinsey.com/capabilities/mckinsey-digital/our-insights/the-year-of-quantum-from-concept-to-reality-in-2025
1•karlperera•4m ago•1 comments

Larry (Cat)

https://en.wikipedia.org/wiki/Larry_(cat)
2•dcminter•6m ago•0 comments

What's new in Java 25 for us, developers?

https://www.loicmathieu.fr/wordpress/en/informatique/java-25-whats-new/
2•loicmathieu•8m ago•0 comments

Ask HN: What are the best resources to learn Rust in 2025?

2•_Crownwell•12m ago•0 comments

What's the fastest way you've built a useful AI agent?

https://www.lyzr.ai
3•niruwu•12m ago•1 comments

Writing a Game Boy Emulator in OCaml

https://linoscope.github.io/writing-a-game-boy-emulator-in-ocaml/
1•ibobev•14m ago•0 comments

Show HN: Juskim – Chrome ext to auto-TL;DR every article before u start reading

https://chromewebstore.google.com/detail/juskim/jpgdpmeemjcdieahhjljhljhmpiifmkn
2•gnurpreet•17m ago•0 comments

The Work of Building for Other Engineers

https://humansinsystems.com/blog/the-work-of-building-for-other-engineers
1•adrianhoward•20m ago•0 comments

An attempt at defining consciousness made based on information theory

https://docs.google.com/document/d/1RN56GMpE8D4tc8k9Bw9YfSeJ4FZOyixkxWKpN_H0A34/edit?usp=drivesdk
1•Trenthug•21m ago•0 comments

OSI provides feedback to the EU Cybersecurity Act

https://opensource.org/blog/keeping-europe-safe-and-advancing-open-source-osi-provides-feedback-to-the-eu-cybersecurity-act
1•doener•25m ago•0 comments

Malaria as neurosyphilis treatment: A historical case study in medical ethics

https://medicine.yale.edu/news-article/malarial-fever-as-neurosyphilis-treatment-a-historical-case-study-in-medical-ethics/
1•thunderbong•27m ago•0 comments

The Parrot in the Machine

https://www.nybooks.com/articles/2025/07/24/the-parrot-in-the-machine-the-ai-con-bender-hanna/
1•almost-exactly•28m ago•1 comments

Fictional K-pop bands zoom to top of US music charts

https://www.bbc.com/news/articles/clyl1zyv1y2o
2•ranit•29m ago•0 comments

Show HN: Refinery – stop hardcoding test cases

https://www.testrefinery.com
1•atultw•32m ago•0 comments

Show HN: I built a tool that reveals hidden APIs the browser hits (open source)

https://github.com/hyperbrowserai/hyperbrowser-app-examples/tree/main/deep-crawler-bot
1•aparupganguly•34m ago•0 comments

Headless, zero dep. modal stack manager for React

https://github.com/AlexDemzz/react-easy-modals
2•alexdemzz•38m ago•1 comments

Pud's Small Batch Headphones

https://pud.com
1•keyle•39m ago•0 comments

When Will Robots Go Mainstream?

https://joincolossus.com/article/when-will-robots-go-mainstream/
2•almost-exactly•41m ago•0 comments

Why most Kimchi Premium trackers are basically useless

https://www.coinapi.io/blog/how-coinapi-helps-with-tracking-the-kimchi-premium
1•adafromcoinapi•43m ago•0 comments

Surflow: Tab Tagging System in Tree

1•asam-0•46m ago•0 comments

Post-Scarcity Blues [video]

https://www.youtube.com/watch?v=q_t3h2AZ0KY
1•doener•48m ago•0 comments

Show HN: vGhost – Vue directive to unload offscreen elements and maintain layout

https://github.com/isaact/vue-infinity
1•tewolde•49m ago•0 comments

Sombrahq/sombra-CLI: a CLI to scaffold and update projects from production code

https://github.com/sombrahq/sombra-cli
1•yunier-rojas•50m ago•0 comments

Man goes viral after working for four startups at the same time

https://www.nbcnews.com/tech/internet/man-goes-viral-working-four-startups-time-rcna216890
10•gshakir•51m ago•16 comments

Baidu Researchers Propose AI Search Paradigm

1•msolujic•52m ago•0 comments

Cats Confuse Reasoning LLM: Query Agnostic Adversarial Triggers for Reasoning

https://arxiv.org/abs/2503.01781
1•ipnon•56m ago•0 comments

Nonce CSP bypass using Disk Cache

https://jorianwoltjer.com/blog/p/research/nonce-csp-bypass-using-disk-cache
2•Bogdanp•1h ago•0 comments

Air India Accident Discussion Organised by Subject

https://paulross.github.io/pprune-threads/gh-pages/AI171/index.html
4•parados•1h ago•1 comments

Parsing layout, or: Haskell's syntax is a mess

https://amelia.how/posts/parsing-layout.html
3•fanf2•1h ago•0 comments
Open in hackernews

Ask HN: What's your favorite little script you've written?

6•nbbaier•5h ago

Comments

protocolture•5h ago
This thing.

https://github.com/protocolture/petulant-exchange-export/blo...

Its the most useless script ever devised by man.

The requirement was to ensure that there was no impact on production while pulling down a set of mailboxes from exchange.

Fun fact, at the time this was written, exchange was already smart enough to perform error checking, limit the concurrent exports etc. It was all done under the hood.

But my manager was absolutely insistent that everything be done within our control, and he wasnt satisfied by Exchange documentation.

Its a relic now, I think exchange powershell commands have changed twice, shit I dont think exchange handles exports any more, but thats within the purview of microsoft purview.

It also represents maybe 1/3rd the energy I have devoted to powershell in my entire career.

alganet•4h ago
This polyglot that work across many interpreters from within a single source, and create no temporary files:

https://gist.github.com/alganet/2c1c004d0580e8d92cc1c167fa4f...

It's quite small, simple and has no dependencies (mshta and zenity are just example calls).

There's a larger version that can do even more interpreters and even launch its own webview:

https://gist.github.com/alganet/9eec864a2caa44ef1f9ca2e188b8...

--

These are recreational in nature. Crafting a source code that runs in many interpreters and does something meaningful is a fun brain tease.

1vuio0pswjnm7•4h ago
A one-liner script for shell output redirection that inserts instead of appends

Typically

   cat file2  >> file1
If want to place file2 at the top of file1 instead of the bottom

   cat file2 file1 > file3
   mv file3 file1
Too much typing, margin for error

The script is called "ins"

   ins file1 < file2
Can also use line number

   ins file1 25 < file2
Inserts file2 at line 25 of file1

One of the most useful scripts I have ever written

Only uses sed or ed

MountainMan1312•4h ago
http://git.tgwil.net/util/sortashuffle/tree/sortashuffle.py

I have a lot of (legally acquired) shows and movies. I like making playlists with many shows that fit a theme (e.g. a cozy sitcoms playlist with MASH, Sanford and Son, Seinfeld, etc.). Some playlists have over 5000 episodes. I calculated one and it was almost a year of playtime if I only let it play while I'm sleeping (my primary use-case).

I want to shuffle the shows I'm watching, but I can't stand standard shuffling in VLC because it puts, for example, S8E4 before S1E1. Total loss of plot. So I wrote a shuffler that shuffles shows but keeps the episodes in order.

It deploys symlinks numbered 0-n, as well as an index of what episode each number corresponds to. Then I just slap the whole folder in VLC and let it play until I get bored of that theme.

I just make a copy of the script for each playlist and put it in the playlist folder. It has to be run as administrator on Windows, which is unfortunately where it's run at the moment because my gaming PC is also my TV for now, although I did just migrate everything to a Debian NFS server so I'll need to address that probably.

fullofdev•4h ago
more like a template using Raycast for my daily work with customers
DHRicoF•4h ago
The only "real" thing I've done with ruby, many, many years ago. A little script to extract the functions definitions from a FORTRAN project. The idea was to add more data. Later I learned about ctags and never added another feature.

I'm sure there is a copy in an external ssd I lost 2 summers ago.

reify•1h ago
being an android AOSP user I had no way to download or check for updates for signal messenger.

writing this bash script at nearly 70 years old was like getting my first degree.

it took me ages.

download-signal-script.sh

signal is now available in the Guardian project repo.

===========================

#! /bin/bash

# save json output to read shasums

curl -s https://updates.signal.org/android/latest.json -o json.txt

# save url from json to file

curl -s https://updates.signal.org/android/latest.json | jq ".url" -r >signal.txt

# show url

cat json.txt | jq ".url" -r

# remove files if selcted no and ext

trap "rm -f json.txt signal.txt" EXIT

# ask to continue

while true

do

    read -r -p 'Do you want to continue? ' choice

    case "$choice" in

      y|Y) break;;
    
      n|N) exit;;

  
    esac
done

# download new signal update

xargs -n 1 curl -O < signal.txt

# extract the sha256sum from the url or json file

# curl -s https://updates.signal.org/android/latest.json | jq ".sha256sum" -r

# check the files sha256sum

cat signal.txt | echo | sha256sum *.apk

# compare shasums

cat json.txt | jq ".sha256sum" -r

===============================================