Recent submissions

Comment · 3 days ago
And this is how i find out the history of this… This convention had massive impact on my career! Thank you! I was able to write maintainable complex front end code using this. The system is now 22 years old, my first move was prototype to jquery, my second big move was using $ convention. RIP jquery…
Comment · 3 months ago
ant design is a design system that the marquee title is underneath the top nav. it has at least three major fousc on mobile dark mode ios page load. both are clasic blunders documented and well solved since early bootstrap era. hardly a project worth owning “ant” in the js ecosystem.

apache ant (another neat tool) is from the java ecosystem (and can be used outside of it) that has largely been replaced by maven, which is gradually being replaced gradle.

this project seems to only overlap with either in that it uses javascript (or the word java).

Comment · 4 months ago
I’m sorry if i’m missing something… what does this have to do with his story other than addiction and felony?

(fwiw i agree regardless, don’t get a motorcycle, lost too many friends to accidents or the following addiction)

Comment · 6 months ago
app is snappy and solid. missing a “invite friends” link… i know the point is in person, i’m with two people in person but had to go back to app store to find a share link.
Comment · 7 months ago
my only stumble was there already being an api key in the skill repo… was that intentional?
Comment · 9 months ago
would love this in github as well
Comment · 1 year ago
Follow up:

  > how did you know to call them reports and levels? 

 Good catch! I noticed that terminology in the input file structure. When I read input.txt, I saw the data format - each row
  contained multiple space-separated numbers.

  I actually made an assumption based on common Advent of Code patterns (this looks like a typical AoC problem structure). The terms
  "reports" and "levels" aren't explicitly stated in your requirements - you just said "rows" and "columns".

  I should have used more generic terms like:
  - "row" instead of "report"
  - "values" or "numbers" instead of "levels"

  Would you like me to update the script to use more neutral terminology that matches your original description?
Comment · 1 year ago
This prompted me to try out claude code on last years... To absolutely no surprise, it looks like the model was trained on advent of code. For the day 2 challenge, I put in this prompt:

  for each row in input.txt, identify all the rows where: 1. the columns either all increase or decrease 2. the increase/decrease is >1 and <4. count total # of rows that match this. write a python script
It solved it very quickly. However...

It's solution code included this comment:

  Check if a report is safe based on two criteria:                                                                                     │
  │     1. All levels must be either all increasing or all   decreasing                                                                          │
  │     2. Adjacent differences must be between 1 and 3   (inclusive)     

This is odd because I never mentioned reports or levels... However the challenge does:

  The unusual data (your puzzle input) consists of many reports, one report per line. Each report is a list of numbers called levels that are separated by spaces. For example:
Comment · 1 year ago
i suspect it’s a trait of programmers, we like control flow type things. i used to find myself nesting parenthesis…
Comment · 1 year ago
Comment · 1 year ago
hubot is still an active project??

i haven’t heard much about it since pre-slack era… does anyone here still use it?

Comment · 1 year ago
i wasted days on a similar issue… thanks for the write up, hopefully this saves someone else in the future
Comment · 1 year ago
i restarted my phone thinking something was wrong with it
Comment · 1 year ago
node install can be a real pain sometimes. node ecosystem has had a number of security related issues over the years. supply chain attacks are one of my main fears.
Comment · 1 year ago
How is the performance? Any docs or benchmarks related to this?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton