HN user

rileytg

303 karma
Posts7
Comments150
View on HN

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).

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?

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:

i suspect it’s a trait of programmers, we like control flow type things. i used to find myself nesting parenthesis…

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.

i hope someone can use this to create an editor similar to notepad++ that is cross platform. I have not found an editor that can handle large files as well as notepad++ on non windows systems. Last I looked into this, the issue was lack of low level libraries to handle large files.

for me the $35 stand is well worth it. i’ve been following something like this pattern for 15y, and the stand just makes it a little easier and more pleasant. I couldn’t make this kinda thing for less, i don’t have a wood shop.