Recent submissions

Comment · 1 year ago
working on saying no to new projects, i have a tendency to fill up all the time i have available with startups or creative ideas.

thinking about taking dancing lessons instead, maybe afrobeats.

Comment · 1 year ago
market this on the design aspect instead of the technical aspect! can imagine a lot of design studios would use design like this, it's clean, quirky and stands out.
Comment · 1 year ago
> but they don't do very much

no no no, different elements have different behaviours. for example, a button automatically has accessibility features like being able to tab to it and select with Enter key, which is essential for a screenreader. do that with a div and you end up building the functionality from scratch.

if all you care about is the visuals, sure, there's little difference, but once you scratch the surface you will have a poor product by not using the correct elements (where there is a clear "correct" ofc, sometimes it's subjective).

Comment · 1 year ago
Alan Turing took his own life on purpose or by accident, he wasn't murdered
Comment · 1 year ago
Comment · 1 year ago
and what do you think of him?
Comment · 1 year ago
conflicted - people who have admired Elon in the past, how are you feeling about him now?
Comment · 1 year ago
Sköldpadda - Swedish too
Comment · 1 year ago
I am the author of this blog post. thanks for reading and mentioning me, but I also believe it is not the right post.
Comment · 1 year ago
I made this helper function to navigate my projects, recursively, it will list them if there are more than one, but defaults to the first one unless you give it a number.

syntax:

  projects <project-name> <match index>
alias:

  function projects() {
    if [ -z "$1" ]; then
      echo "please provide a project name"
      return
    fi

    local allMatches=$(find ~/Documents/projects -maxdepth 2 -type d -name "*$1*" -print)
    local firstMatch=$(echo "$allMatches" | head -n ${2:-1} | tail -n 1)

    if [ -z "$firstMatch" ]; then
      echo "no matches found"
      return
    else
      if [ $(echo "$allMatches" | wc -l) -gt 1 ]; then
        echo "matches found:"
        echo "$allMatches" | awk '{print NR ") " $0}'
      fi
      cd "$firstMatch"
    fi
  }
Comment · 1 year ago
you may still have adhd. eating well, having good habits and receiving accountability from your environment are all factors that manage the negative effects of the disorder.

also would be interesting to know your time frame for how long you've done this - to rule out the honey-moon phase

Comment · 1 year ago
I wonder why nerds are obsessed with Game of Life. I know I am one of them, but I still don't quite get why it hits the spot so well
Comment · 1 year ago
go right ahead! i can make a repo for it if you have any trouble copying.

PLEASE, for the love of god, send it to me later. I am extremely interested (not just saying that). [email protected] or reply here

or, let's collab!

Comment · 1 year ago
Comment · 1 year ago
metatags are html, yes

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton