frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Do not download the app, use the website

https://idiallo.com/blog/dont-download-apps
159•foxfired•1h ago•91 comments

It's time for modern CSS to kill the SPA

https://www.jonoalderson.com/conjecture/its-time-for-modern-css-to-kill-the-spa/
184•tambourine_man•2h ago•117 comments

Vanilla JavaScript support for Tailwind Plus

https://tailwindcss.com/blog/vanilla-js-support-for-tailwind-plus
186•ulrischa•5h ago•68 comments

It's a DE9, not a DB9 (but we know what you mean)

https://news.sparkfun.com/14298
312•jgrahamc•10h ago•209 comments

Experimental surgery performed by AI-driven surgical robot

https://arstechnica.com/science/2025/07/experimental-surgery-performed-by-ai-driven-surgical-robot/
48•horseradish•3h ago•51 comments

Why MIT switched from Scheme to Python (2009)

https://www.wisdomandwonder.com/link/2110/why-mit-switched-from-scheme-to-python
153•borski•7h ago•154 comments

Efficient Computer's Electron E1 CPU – 100x more efficient than Arm?

https://morethanmoore.substack.com/p/efficient-computers-electron-e1-cpu
132•rpiguy•7h ago•45 comments

Animated Cursors

https://tattoy.sh/news/animated-cursors/
104•speckx•5h ago•27 comments

Developing our position on AI

https://www.recurse.com/blog/191-developing-our-position-on-ai
141•jakelazaroff•2d ago•39 comments

Never write your own date parsing library

https://www.zachleat.com/web/adventures-in-date-parsing/
118•ulrischa•6h ago•144 comments

Steam, Itch.io are pulling ‘porn’ games. Critics say it's a slippery slope

https://www.wired.com/story/steam-itchio-are-pulling-porn-games-censorship/
334•6d6b73•7h ago•466 comments

Google in 1999: Search engines escape the portal matrix

https://cybercultural.com/p/google-1999/
24•speckx•3h ago•27 comments

Ask HN: How many of you are working in tech without a STEM degree?

20•zebproj•2d ago•23 comments

CO2 Battery

https://energydome.com/co2-battery/
99•xnx•7h ago•92 comments

Windsurf employee #2: I was given a payout of only 1% what my shares where worth

https://twitter.com/premqnair/status/1948420769945682413
314•rfurmani•1d ago•183 comments

Running PostmarketOS on Android Termux proot without a custom ROM (2024)

https://ivonblog.com/en-us/posts/postmarketos-in-termux-proot/
20•user070223•2d ago•1 comments

Programming vehicles in games

https://wassimulator.com/blog/programming/programming_vehicles_in_games.html
228•Bogdanp•9h ago•52 comments

Internet Archive is now a federal depository library

https://www.kqed.org/news/12049420/sf-based-internet-archive-is-now-a-federal-depository-library-what-does-that-mean
200•XnoiVeX•6h ago•39 comments

The future is not self-hosted

https://www.drewlyton.com/story/the-future-is-not-self-hosted/
205•drew_lytle•11h ago•231 comments

Show HN: Price Per Token – LLM API Pricing Data

https://pricepertoken.com/
276•alexellman•11h ago•116 comments

Women dating safety app 'Tea' breached, users' IDs posted to 4chan

https://www.404media.co/women-dating-safety-app-tea-breached-users-ids-posted-to-4chan/
284•gloxkiqcza•8h ago•416 comments

Why is there a date of 1968 in the Intel Chipset Device Software Utility?

https://www.intel.com/content/www/us/en/support/articles/000095169/processors.html
24•vegadw•2d ago•8 comments

Who has the fastest F1 website (2021)

https://jakearchibald.com/2021/f1-perf-part-3/
173•tosh•10h ago•57 comments

Trucking's uneasy relationship with new tech

https://www.bbc.com/news/articles/c5yeyn4gl80o
24•fidotron•4d ago•16 comments

SRAM Has No Chill: Exploiting Power Domain Separation to Steal On-Chip Secrets

https://cacm.acm.org/research-highlights/sram-has-no-chill-exploiting-power-domain-separation-to-steal-on-chip-secrets/
5•zdw•1h ago•0 comments

Researchers value null results, but struggle to publish them

https://www.nature.com/articles/d41586-025-02312-4
70•Bluestein•2d ago•31 comments

Show HN: Apple Health MCP Server

https://github.com/neiltron/apple-health-mcp
141•_neil•2d ago•31 comments

Implementing a functional language with graph reduction (2021)

https://thma.github.io/posts/2021-12-27-Implementing-a-functional-language-with-Graph-Reduction.html
41•Bogdanp•6h ago•2 comments

Dwl: Dwm for Wayland

https://codeberg.org/dwl/dwl
91•theycallhermax•10h ago•66 comments

Celebrating 20 Years of MDN

https://developer.mozilla.org/en-US/blog/mdn-turns-20/
360•soheilpro•22h ago•52 comments
Open in hackernews

The POSIX specification of vi

https://pubs.opengroup.org/onlinepubs/9799919799/utilities/vi.html
91•exvi•4d ago

Comments

wahern•1d ago
For exploring the POSIX standard the frames version is very useful: https://pubs.opengroup.org/onlinepubs/9799919799/
nickandbro•1d ago
Love vi, made a Vimgolf like app called:

https://vimgolf.ai

because I like vi so much. Although the app uses neovim underneath the hood because it had an easier API to work with.

BipolarCapybara•1d ago
Great site! I've been wanting to learn it for the past couple of weeks, but didn't have enough motivation to sit trhough tutorials. +1
Onawa•1d ago
I learned vi(m) using https://vim-adventures.com/. It's $25 US for a 6-month license, which is a bit short. But I felt I got my money's worth out of it and continue to use and love vi(m) to this day.
nickandbro•1d ago
Big fan of vim adventures too! It definitely gamifies the learning of vim. Mine is more for the vim enthusiast who want to measure up against other vim power users.
nickandbro•1d ago
Thank you! It’s an unfinished project of mine. Still looking at adding more levels and allowing users to upload their own.
jmholla•1d ago
Once you're the slightest but comfortable navigating vi, I highly recommend Practical Vim. [0] It tooke me a few days to get through, but I'm 100% in vim these days and more effective in it than in my old primary editor PyCharm.

[0]: https://pragprog.com/titles/dnvim2/practical-vim-second-edit...

cocoa19•1d ago
Can I suggest dropping the sign up requirement and email verification to try it out?
nickandbro•1d ago
I agree! I am just working the containerization of the vim instances. Right now using k8, but wasting $$$ on infra. Moving to cloudflare containers to save that $$$ and make it more available. In the mean time, temporary email sites are allowed and not black listed.
rdancer•1d ago
Marvellous!

:w<CR> should count the same as ZZ for the purposes of hiding better solutions, else it's fairly easy to walk up the leaderboard even though the better solutions are ostensibly hidden.

nickandbro•1d ago
Thanks, appreciate the feedback
anthk•1d ago
Spawn vi or nvi (nvi2 under OpenBSD, it has unicode). Then, press [esc] and run: :viusage [Return] [Esc] :exusage[Return] Now you know the basics. Viusage: keyboard commands while in editing mode. Exusage: typed commands for the command (:) mode.
Joker_vD•1d ago
Ugh, all this crazy head-spinning cursor commotion... I'll just keep using ed, thank you very much.
n3t•1d ago
Yeah, it's just better to stick to the standard editor.
chongli•21h ago
Just start ex instead. Command-based line editing without the hassle of a cursor.
fuzztester•21h ago
COPY CON ...

on DOS, bro.

nuttin else comes close

or if ur 2 weak, edlin.

EvanAnderson•19h ago
I actually use "COPY CON" a fair amount. Also a decent amount of "cat > foo.sh".
pjmlp•15h ago
I did my high school typewriting test in PC skills using edlin, and never ever used it again.

For coding in MS-DOS, I was using Borland IDEs, and there was the nice Q programmers editor as well.

Rendello•20h ago
Always keep your copy of Ed Mastery on-hand:

https://mwl.io/nonfiction/tools#ed

anthk•17h ago
If you think about it, it's a cheap book on sed too.
haunter•1d ago
Huawei EulerOS is one of the few POSIX compliant Linux distros, but it’s a commercial one [0]

But it has a FOSS release, openEuler [1]

I actually want to download it now to check if the vi there is really that POSIX version

0, https://www.opengroup.org/openbrand/register/brand3622.htm

1, https://www.openeuler.org/en/

ksherlock•23h ago
Wikipedia says it's based off RHEL and this[1] suggests it just vim.

1: https://dl-cdn.openeuler.openatom.cn/openEuler-25.03/source/...

Are they actually UNIX Conformant? That PDF just says they've entered a trademark license agreement. They're not listed in the conformance database.

https://www.opengroup.org/csq/search/t=XY1.html

ksherlock•3h ago
FWIW, OS X uses vim so if any of the conformance tests check, it can be made to pass.

Solaris, AIX, and probably everyone else use the BSD/AT&T vi.

skissane•7m ago
> Are they actually UNIX Conformant? That PDF just says they've entered a trademark license agreement. They're not listed in the conformance database.

They were an official UNIX – https://www.opengroup.org/openbrand/register/brand3622.htm – but they aren't any more.

To be an official UNIX, you need to both pass the test suite and pay the trademark license fee. And the license fee needs to be renewed once every X years. And if you don't pay the renewal, you are no longer an official UNIX, even if you still pass all the tests.

This is why Solaris is no longer an official UNIX – someone at Oracle decided paying UNIX trademark license fees was a waste of money, so they stopped – and hence Solaris is no longer officially UNIX any more.

An I'm pretty sure the same thing happened with Huawei EulerOS. Probably someone at Huawei realised that zero customers cared whether EulerOS was officially "UNIX", and hence decided that paying the renewal was a waste of money. And they are probably right about that. 30 years ago, being officially "UNIX" or not could be a deal-breaker, nowadays I doubt a single customer cares.

unmole•19h ago
I used to work for Huawei. From what I remember, vi was just vim.
pdw•15h ago
Somebody spent time and money to make vim posix-compliant: https://vimhelp.org/vi_diff.txt.html#posix
chasil•1d ago
You can see all the userland utilities by removing the "vi.HTML" suffix from the URL.

https://pubs.opengroup.org/onlinepubs/9799919799/utilities/

anthk•1d ago
>mailx

mbox should die; or maybe set as a legacy option. Current systems can handle thousands of email by using maildirs.

Also, one day bsdgames will enter into POSIX maybe but as a test case, in order to be sure on how well the POSIX compatible API behaves.

Phantasia(6) could be rewritten for balance and such...

wpollock•19h ago
>mbox should die;

Mbox is useful for backups and for migration between different email systems (that use different databases internally). Mbox is also fine if you only have a hundred or so email folders and only process a few dozen emails a day, say for personal use (e.g. Thunderbird or k9).

I agree that mbox is not okay for large scale mail servers. Maildir+ works much better in such cases.

anthk•17h ago
So does Maildir; reusing it between Mutt and GNUs or Claws Mail should be a child's play.

Once you have tar to preserve perms just in case, your are done.

Mbox on big mailboxes it's hell, anyone can understand that linear parsing will be slow as hell. It's like looking up a word file in a dictionary word by word from A to Z instead of directly heading to the first word letter...

userbinator•21h ago
It's notable that vi has been specified by POSIX (along with ed and ex), but not emacs.
spauldo•20h ago
vi was born on UNIX early enough that every UNIX wound up with it.

Emacs was born on mainframes and made its way to UNIX much later, after vi had already become the standard.

anthk•17h ago
This. Emacs came from GNU which GNU is not Unix; Emacs it's a tool to give Unix users freedoom (and a Lisp, OFC) from the Lisp Machines RMS used to use. Also, Emacs it's really huge, the closes to a "Posix Emacs" would be mg, as it's included under the OpenBSD base, but sadly it doesn't support Unicode. If it supported it, tons of Emacs users would use it as a quick editing tool, as 'mg' still launchers faster than 'emacs -nw -Q'.

And, as you said, Emacs and Lisp were for big machines, and Emacs it's like psychodelic/progressive rock: something to freely experiment creatively without machine restrictions. If you improvise "live", as jazz masters do (Lisp Machines), the better.

Unix would be like techno music from Kraftwerk: simple but well made beats and samples -machine made-, repetitive, they sound automated. But once they are put together they create something new and brilliant. Some people remix these samples and they create crazy stuff like the songs of The Avalanches, too. Kinda like Unix orthogonality between small tools and pipes.

Very different philosophies, but mixing GNU (Unix clone) and Emacs (Emacs from ITS was distinct from GNU Emacs) created something really powerful. For instance, you could automate mail and usenet fetching and sending data in the background with daemons (freeing resources for Emacs and unblocking I/O) and hack the frontend/parsing code like crazy, Or Telega, with telega and telega-server as the daemon to talk with Telegram, or even something like Mu and Mu4e for Email. Or simply, EMMS calling mpv in the background for audio and video playing -you can watch movies fom Emacs- (and mpv itself to yt-dlp for online videos) seamlessly.

In the art world, that would be like industrial music, a mix between automatization and improvisation, and, FFS, Ministry and some Prodigy songs were 100x better than Techno subgenres and every Hair Rock and Heavy Metal band with the same poses and tropes everywhere...

kragen•16h ago
Just to clarify, Emacs came from ITS, predating GNU by IIRC almost a decade and even the actual construction of any Lisp machines. GNU Emacs was at least the fifth Emacs, following the original PDP-10 Emacs, Multics Emacs, Zmacs, and Gosmacs.
anthk•11h ago
I hope the downvote isn't because of your answer, because I already mentioned that. I even emulated ITS under Simh, and I tried both Emacs and MacLisp.
kragen•6h ago
I hope not too; your comment was very good, just a little confusing.
spauldo•5h ago
Who got downvoted? Both of your comments were accurate. The music comparison stuff is subjective, but that's not worth a downvote.

(I don't know how to see downvotes in Hacki, hence why I ask.)

kragen•2h ago
Possibly at some point anthk's comment was downvoted?
PhilipRoman•13h ago
https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xcu...

> The community of emacs editing enthusiasts was adamant that the full emacs editor not be included in IEEE Std 1003.2-1992 because they were concerned that an attempt to standardize this very powerful environment would encourage vendors to ship versions conforming strictly to the standard, but lacking the extensibility required by the community. The author of the original emacs program also expressed his desire to omit the program. Furthermore, there were a number of historical UNIX systems that did not include emacs, or included it without supporting it, but there were very few that did not include and support vi.

eviks•20h ago
> Move Down

> Synopsis:

> [count] j

Why would you ever specify configurable shortcuts? Does is break posix when a user changes them?

porridgeraisin•15h ago
> Does it break posix

A vim that ships out of the box with different shortcuts than those -- I presume yes. But if the user configures them then it's upto them I guess. Just like a user can swap around /bin/cat and /bin/echo.

wpollock•19h ago
Note that vim includes a useful tutorial you can invoke by "vimtutor" on the command line or from within vim with ":help tutor"; for neovim try ":Tutorial".
anthk•17h ago
Nvi has :viusage and :exusage. Vim is not POSIX vi; vim to vi it's what zsh it's to sh. Nvi2 it's closer as it has very few additions on top of vi, but it has Unicode support which can be a lifesaver if you live in Europe or Japan, allowing you to use Nvi everywhere (I do, as it's my post editor under Mutt/Slrn,Tut and so on).
gpvos•6h ago
Note that vim is not POSIX-compliant, as it has no open mode.

Open mode is a kind of single-line visual mode. I actually used it quite a bit over a 1200-baud modem line.

webdevver•6h ago
posix to linux is what web standards are to chrome