HackerTrans
TopNewTrendsCommentsPastAskShowJobs

rileytg

303 karmajoined hace 14 años

comments

rileytg
·ayer·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
·el mes pasado·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
·hace 3 meses·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
·hace 4 meses·discuss
my only stumble was there already being an api key in the skill repo… was that intentional?
rileytg
·hace 6 meses·discuss
would love this in github as well
rileytg
·hace 9 meses·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
·hace 9 meses·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
·hace 9 meses·discuss
i suspect it’s a trait of programmers, we like control flow type things. i used to find myself nesting parenthesis…
rileytg
·hace 9 meses·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
·hace 9 meses·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
·hace 9 meses·discuss
i wasted days on a similar issue… thanks for the write up, hopefully this saves someone else in the future
rileytg
·hace 6 años·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.
rileytg
·hace 7 años·discuss
we do this. we still have users get mad when we explain we don’t support it :(
rileytg
·hace 7 años·discuss
To be fair to the devs at slack, it does actually cost them something to re-enable this.

every change to the code base has to be checked on mobile web or things will eventually break. at that point will we see an angry tweet about not fixing that?

i develop on a web based system and we don’t support mobile on most of our site because we don’t have the resources to. if we started getting bug reports about this more frequently than we do, we may do the same. It makes our product look bad when we let someone do something we don’t QA for. We pride ourselves on rapid response to our clients requests, with this we build goodwill. we explicitly state we do not support mobile except for specific modules. even with that prior information, users sometimes try anyway and run into bugs. this experience + being told we won’t fix the bug because it’s not a supported platform causes us to lose the goodwill we’ve worked hard to build.

in my local neighborhood there are a ton of wholesale shops that even though there are maybe one or two customers a day (ie the shops are dead most of the time) they refuse to sell non wholesale. it’s not packaging, most things are easily sellable one-off. there are no regulations or laws. they choose not to sell to one class of buyers. if they allowed one-off sales, they would then have to start running their business to support doing that correctly- this means having small change, more personnel, probably introduce some security to watch the now increased traffic in their shops etc.

if slack does mobile web, they’ll have to do it like they do everything else, the “slack” way.