Preferences

revicon
Joined 2,696 karma
Developer in San Francisco. https://www.mattcrampton.com

Co-Founder - Gigwalk Co-Founder - Headnote

Email: matt@mattcrampton.com


  1. The statistics on consumers evaluating the purchase of something that is $9.99 vs $10 is well proven.

    Switching to round number prices would cost retailers a whole lot more.

    https://www.sciencedirect.com/science/article/pii/S002243599...

    https://www.researchgate.net/publication/23547242_Penny_Wise...

    https://www.sciencedirect.com/science/article/pii/S002243590...

  2. There are several US states where, by law, retailers are not allowed to give preferential treatment to credit card paying customers over cash paying ones. Which means, in those states, retailers will be required to always round transactions to the cash paying customer's benefit, where in other states the retailer is allowed to round to the nearest 5 cents. This is going to cost large retailers millions.

    Interestingly many of them had already put the work into updating the cash register software to allow for this due to the penny shortages during covid.

  3. Right up until your user opens your site in more than 6 tabs.
  4. I have a bunch of little scripts and aliases I've written over the years, but none are used more than these...

    alias ..='cd ..'

    alias ...='cd ../..'

    alias ....='cd ../../..'

    alias .....='cd ../../../..'

    alias ......='cd ../../../../..'

    alias .......='cd ../../../../../..'

  5. Is this different from using a remote docker context?

    My workflow in my homelab is to create a remote docker context like this...

    (from my local development machine)

    > docker context create mylinuxserver --docker "host=ssh://revicon@192.168.50.70"

    Then I can do...

    > docker context use mylinuxserver

    > docker compose build

    > docker compose up -d

    And all the images contained in my docker-compose.yml file are built, deployed and running in my remote linux server.

    No fuss, registry, no extra applications needed.

    Way simpler than using docker swarm, Kubernetes or whatever. Maybe I'm missing something that @psviderski is doing that I don't get with my method.

  6. This is exactly what I do, make a context pointing to the remote host, use docker compose build / up to launch it on the remote system.
  7. Taking a photo of my handwritten notes and passing it to ChatGPT works 95% of the time. Once in a while it gets a character or two wrong, but for the most part its magic for me.
  8. They've been constantly bugging me to upload my government ID, never did. Now I'm really glad I didn't.
  9. I usually tell it to go read the relevant doc when I do the initial prompt to it when I start working on something. And sometimes I'll remind it during a conversation if I want to make sure it isn't re-inventing the wheel instead of using a feature that is already there in the lib. I run into that with TanStack Router from time to time as an example.
  10. We've done some experimentation when using Claude Code and taken to just creating a "vendor" folder under our "docs" section of each of our repos and just pull down the readme file for every library we use. Then when I'm prompting Claude to figure something out, I'll remind it to go check "docs/vendor/awesomelib" or whatever and it does a fine job of checking the docs out before it starts formulating an answer.

    This has done wonders for improving our results when working with TanStack Start or shadcn/ui or whatever.

    I guess there's pieces of this that would be helpful to us, but there's too much setup work for me to mess with it right now, I don't feel like generating a Gemini api key, installing puppeteer, etc.

    I already have all the docs pulled down, but reducing the number of tokens used for my LLM to pull up the doc files I'm referencing is interesting.

    Is there a command line tool anyone has had luck with that just trims down a .md file but still leaves it in a state that the LLM can understand it?

  11. Same! I prefer the CLI, way easier when I’m connected via ssh from another network somewhere.
  12. A collection agency has no problem finding your SSN if they have your name.
  13. Email is always there as a backup, but no one in the company uses it anymore, to the point where we have to remind people to check it incase an external vendor reaches out.

    Slack has provided so much additional functionality that trying to cram day to day working back into email just doesn't work anymore.

  14. Our company of >100 people is all remote and all our internal comms are through Slack.

    The silence is deafening, surprisingly so, when Slack goes down like this. It happens so rarely (to the Slack team's credit), but when it does, it feels just like when the power unexpectedly goes out.

    We totally forget how much we rely on it until it disappears.

  15. POSSE: Publish (on your) Own Site, Syndicate Elsewhere.

    I didn’t know what this acronym meant. Hopefully I saved someone a Google search.

    https://indieweb.org/POSSE

  16. I was all about Jekyll 4 or 5 years ago and wouldn't have considered spending time switching but now on modern hardware it is ridiculously difficult to get the jekyll runtime to install and run properly, we've had multiple team members myself included spend hours dealing with hunting down random forum posts or github pull requests outlining the need to downgrade ruby in one way or another to support apple silicon or some other such thing that hasn't been patched in more recent versions. And the Jekyll docker images have been abandoned for a few years and no longer work on arm architectures.

    Hopefully moving to a more actively supported static site generator will benefit us but its also a lesson to us that we need to keep track of continued support of apps we rely on. It's easy to just build and forget something and then there's a fire drill when you have to go back and change something that hasn't been re-deployed in a while.

  17. Thanks for sharing @symkat, love seeing developer side projects.

    Was curious why you picked Hugo over something like Astro. I'm migrating a site off of Jekyll and have found Astro has a lot of interesting features if I want to use them but is at its heart a static site generator and seems to be a pretty easy lift to migrate to. Haven't done much evaluation of Hugo yet.

  18. I just auto switch any incoming .con to .com on the back end. 100% of the time it is a user typo
  19. Forced two factor auth can often solve this kind of thing though.
  20. Whatsapp message content can be pulled via a subpoena along with a lot of other private data. Signal's can not.

    FBI doc on what messaging apps can provide via subpoena pulled by a FOIA request...

    https://propertyofthepeople.org/document-detail/?doc-id=2111...

  21. Right up until you want to share that YouTubeTV subscription with a family member via their "Family Sharing" feature. This is not supported and their support directs you to cancel your subscription and establish a new one using a regular gmail account.
  22. I guess similar to Docker requiring orgs with more than 250 employees or more than $10 million in revenue to buy a paid subscription.

This user hasn’t submitted anything.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal