Better HN
topnewbestaskshowjobs
Log inSign up

dennisse

7 karma · joined Apr 10, 2012 (14y ago) · 5 submissions

Submissions

comment 3y ago · link · parent

Since no-one asked, I use something like this in zsh:

  rand() {
    local r4
    IFS= read -rk4 -u0 r4 < /dev/urandom || return
    local b1=$r4[1] b2=$r4[2] b3=$r4[3] b4=$r4[4]
    print $(( #b1 << 24 | #b2 << 16 | #b3 << 8 | #b4 ))
  }
It has the added bonus of only using zsh, no external dependencies, so it is quite fast.

comment 9y ago · link · parent

Changelog: https://pastebin.com/J6gpwVBF

3.

EFnet, one of the world’s largest IRC networks, goes full retard(haverzine.com ↗)

3 points · by dennisse · 13y ago · discuss

comment 14y ago · link · parent

does it really matter? nearly every browser allows you to add custom search engines, and change the default one. if you set duckduckgo as the default search engine, you don't ever have to type in duckduckgo - you can just use your address field.

5.

Push hilights and msg’s from IRSSI to your iPhone(blogg.tihlde.org ↗)

1 points · by dennisse · 14y ago · discuss