Hacker Newsnew | past | comments | ask | show | jobs | submit | dakinitribe's commentslogin

Stewart was a peak human.

If you watch Computer Chronicles, you will notice that little to nothing has actually changed in computing in 40 years.


Could I see one of your specs as an example?


Never a nice surprise when I find rm -rf / --no-preserve-root in a public repo, apart from this time!

Also, found one of the easter eggs!


Good catch!

For folks curious about the rm -rf see https://github.com/attogram/bash-screensavers/blob/main/gall... line 339


If you have it on every hour, that's ~£0.00228 per bell.


This is beautiful, thank you.

Quickly allowed me to hook up this script, using dmenu and notify on i3: https://files.catbox.moe/vbhtg0.jpg

And then trigger it with Mod+l for super quick answers as I'm working! Priceless <3


ported to macos using raycast

```

#!/bin/bash

# Required parameters: # @raycast.schemaVersion 1 # @raycast.title Ask LLM # @raycast.mode fullOutput

# Optional parameters: # @raycast.icon # @raycast.argument1 { "type": "text", "placeholder": "Your question" }

# Documentation: # @raycast.author Your Name # @raycast.authorURL https://github.com/you

QUERY="$1" [ -z "$QUERY" ] && exit 0

FULL_QUERY="Answer in as little words as possible, concisely, for an intelligent person: $QUERY"

# URL encode (pure bash) encode_query() { local query="$1" local encoded="" local c for (( i=0; i<${#query}; i++ )); do c="${query:$i:1}" case $c in [a-zA-Z0-9.~_-]) encoded+="$c" ;; *) encoded+=$(printf '%%%02X' "'$c") ;; esac done echo "$encoded" }

ENCODED_QUERY=$(encode_query "$FULL_QUERY")

# Get response RESPONSE=$(curl -s "https://ch.at/?q=$ENCODED_QUERY")

# Output to Raycast echo "$RESPONSE"

# --- Optional: also pop up a big dialog --- osascript -e 'display dialog "'"$RESPONSE"'" buttons {"OK"} default button 1 with title "LLM Answer"'

```


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: