Recent submissions

Comment · 3 days ago
also in sam and acme editors in plan9 os
Comment · 1 month ago
yes, please, and also via cli so we can automate it.
Comment · 2 months ago
Sorry, i am not very much into kernel/netstack development, but a question. So does it mean that even if an alternative NAT system will be available in Linux (kernel module with a switch or whatever) - it will not be adopted by industry because everyone (and every device) is used to how it works now?
Comment · 2 months ago
thanks to the author of the article, it inspired me to try making a small gui app i wanted for long time - it simply reads and shows the contents of the system clipboard in a window. and it was really super easy, i didn't need xcode, only `swiftc` from command line. honestly i didn't know i can make an app without opening xcode, now i want to make more :) so i made the app with approx 500 lines of Swift, with keyboard hotkeys for navigation and style change (fonts, colors, window size), just the way i love it.

  cmd+U scroll to beginning 
  cmd+I scroll to end
  cmd+u page up
  cmd+i page down
  cmd+j one line up
  cmd+k one line down
  cmd+- font size decrease
  cmd+= font size increase
  cmd+0 font size reset to default
  cmd+3 default font
  cmd+4 alternative monospace font
  cmd+[ grow left window border
  cmd+] grow right window border
  cmd+{ shrink right window border
  cmd+} shrink left window border
  cmd+9 switch background and foreground color
all this in one day, with huge help of duck.ai which is completely free. the app size is approx 300kb. using it feels great because i can do the whole cycle with keyboard only:

  - cmd+space to open spotlight search
  - type the name of the app, enter, it opens a new window with clipboard contents, i inspect it with keyboard hotkeys only
  - cmd+q to exit or cmd+tab to switch back to the prev app
for me personally the standard gui apps are annoying because of the standard kb shortcuts - they are hard to remember and even hard to reach. i prefer "sort of vi navigation" because i can keep my hands for navigation at the same position as for typing.
Comment · 2 months ago
for viewing all the history files at once this is one of the simplest options

  cat $HOME/zsh/*
should be easy to copy-paste or pipe it to an editor.

i mean, the problem of viewing all history files at once is much easier than writing to the same one file from multiple sessions.

Comment · 2 months ago
zshrc for saving history:

  mkdir -p $HOME/zsh
  HISTFILE="$HOME/zsh/$(date '+%y:%m%d:%H%M')-$$"
  echo "HISTFILE $HISTFILE"
for easily accessing the history without running grep... will figure it out later :)))
Comment · 2 months ago
this is an example of overcomplicated solutions that could be avoided with the tool we already have for years - file system - why do this "heroic" effort of "cleverly" putting everything in one file from many sessions if we could just write command history of every session into a new separate file in a directory and read all history files from the dir instead of reading one file.
Comment · 2 months ago
i cannot trust tech advices from a guy who puts three ad banners (left, right and bottom, taking approx quarter of my screen space) on his personal blog.
Comment · 2 months ago
cue? what is that? i remember only cue which holds audio tracks metadata.
Comment · 2 months ago
what are those modern quic-based terminal emulators? i never heard about the concept before.
Comment · 4 months ago
any details on that? links to people reporting it?
Comment · 4 months ago
can you please suggest any alternatives to switch to? i hardly can find any alternative which provides free service and is a non-profit org at the same time.
Comment · 6 months ago
even this "ascii" (i expected raw text but still got html+css) was hardly readable for me, had to reach to the reader view, finally readable, ohh... looks much like ai-generated, why did i spend so much time jumping over obstacles...
Comment · 6 months ago
afaik tcp and udp are the same on top of ipv6 as they are on top of ipv4, there are no tcp6 and udp6, the "6" suffix just hints they are comminucated on top of ipv6, but the packets are the same as before, no new standards.
Comment · 6 months ago
can you please demonstrate the workflow you are suggesting? asking because i tried what you suggest, and it does not work.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton