HackerTrans
TopNewTrendsCommentsPastAskShowJobs

rileytg

no profile record

comments

rileytg
·geçen ay·discuss
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)
rileytg
·3 ay önce·discuss
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.
rileytg
·4 ay önce·discuss
my only stumble was there already being an api key in the skill repo… was that intentional?
rileytg
·6 ay önce·discuss
would love this in github as well
rileytg
·9 ay önce·discuss
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?
rileytg
·9 ay önce·discuss
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:
rileytg
·9 ay önce·discuss
i suspect it’s a trait of programmers, we like control flow type things. i used to find myself nesting parenthesis…
rileytg
·9 ay önce·discuss
this is a great remake of the Load Runner follow up, Mad Monks Revenge. it works amazing on a modern macOS!

https://mmr.quarkrobot.com/
rileytg
·9 ay önce·discuss
hubot is still an active project??

i haven’t heard much about it since pre-slack era… does anyone here still use it?
rileytg
·9 ay önce·discuss
i wasted days on a similar issue… thanks for the write up, hopefully this saves someone else in the future