HackerTrans
TopNewTrendsCommentsPastAskShowJobs

rileytg

303 karmajoined 14 years ago

comments

rileytg
·2 days ago·discuss
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).
rileytg
·last month·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 months ago·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 months ago·discuss
my only stumble was there already being an api key in the skill repo… was that intentional?
rileytg
·6 months ago·discuss
would love this in github as well
rileytg
·9 months ago·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 months ago·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 months ago·discuss
i suspect it’s a trait of programmers, we like control flow type things. i used to find myself nesting parenthesis…
rileytg
·9 months ago·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 months ago·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 months ago·discuss
i wasted days on a similar issue… thanks for the write up, hopefully this saves someone else in the future
rileytg
·12 months ago·discuss
i restarted my phone thinking something was wrong with it
rileytg
·last year·discuss
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.
rileytg
·last year·discuss
How is the performance? Any docs or benchmarks related to this?
rileytg
·last year·discuss
i’m american, what’s the price in big macs?
rileytg
·last year·discuss
Ruby on Rails is still very much alive and well.

https://news.ycombinator.com/item?id=43130546

https://news.ycombinator.com/item?id=43881035

https://news.ycombinator.com/item?id=42253735

and more: https://hn.algolia.com/?dateRange=pastYear&page=0&prefix=fal...
rileytg
·last year·discuss
I recently did this in our main system that we recently added an LLM feature to (for fun internally, not sending to prod) using

https://github.com/pi0/clippyjs
rileytg
·last year·discuss
I saw this around 9:15am eastern time. By 9:45am it is no longer on 1, 2 or 3rd page of HN. Why?
rileytg
·last year·discuss
big fan since you posted! I agree with the feedback on matching brackets. Additionally the fake keyboard is driving me nuts… I get a lot of errors from phat fingering it when my hands are conditioned to use the native ios keyboard. NYT web games had/have similar issues…
rileytg
·6 years ago·discuss
This is not true for everyone. I track my ride share spending and it’s significantly lower than owning a car. I spend less that $200 a month on average (2019 avg was $196).

I’m in a unique position to do this, because i put myself in that position. i moved near my work and live in an urban area.

even if it cost $400 a month, i would still do it this way. i read when i’m in the car, i wouldn’t trade that for staring at the road.