DeprecatedCompatV2
@DeprecatedCompatV2@programming.dev
- Comment on California launches electric trains as US lags behind world in rail electrification 2 months ago:
I’m pretty sure the socially unacceptable behavior from homeless drug addicts is driven by factors that drive homelessness and drug addiction and not by the preference of most people to avoid homeless drug addicts in public spaces. Unless you’re implying law enforcement or society at large “clean up” public transportation…
- Comment on How to host a userbase 4 months ago:
What is your goal? Custom stuff isn’t too hard if you just want to implement basic password login and token-based auth. Otherwise you could use something like Firebase, Okta, or Cognito.
- Comment on I need to wake up early 5 months ago:
This is a stupid answer, but you could buy a cheap android phone. The carrier-locked phones are very inexpensive.
- Comment on First human brain implant malfunctioned, Neuralink says 5 months ago:
That’s interesting. So if your brain isn’t developed to cope with hearing, it’s overwhelming similar to someone with autism?
- Comment on First human brain implant malfunctioned, Neuralink says 5 months ago:
How do people who have gained hearing feel about it? It seems like hearing would be important for a number of things besides communication, but maybe modern life doesn’t require much?
- Comment on Kagi silently removed all references to Google's index from their website 6 months ago:
Look, if it was a random kid on tiktok that’s one thing, but slinging slanderous information around (and publishing it, technically) is a serious matter with real-world consequences. If someone made a blog post about how you torture animals and have a horrible taste in music, you’d probably want to do something about.
- Comment on Kagi silently removed all references to Google's index from their website 6 months ago:
I’ve even seen people saying that any brand mention will be compensated, even slightly negative. I think some sort of web of trust is the only answer.
- Comment on Kagi silently removed all references to Google's index from their website 6 months ago:
This type of thing has made reddit unusable lately and I hope
it doesn’t show up herelemmy has a better defense against “subtle spam.” - Comment on Kagi silently removed all references to Google's index from their website 6 months ago:
How many CEOs do you know who don’t act like they’re made of solid gold?
- Comment on Kagi silently removed all references to Google's index from their website 6 months ago:
If someone posts an angry rant about your company, and you email them to say “you’re wrong and I’m sorry you feel that way” that makes you an “unhinged … freak?” This is not the president sending the secret service to your college dorm room lol.
- Comment on Kagi silently removed all references to Google's index from their website 6 months ago:
AI bad now?
- Comment on Are you prepared for the ramifications of windows 10 EoL? 6 months ago:
Are there any windows programs you’ve had to set up through wine?
- Comment on Peak technology 7 months ago:
No, i just don’t want to see misinformation period. The reason the printer wasn’t working is because they were on a managed printing plan, not because HP was trying to pull one over on them.
- Comment on Peak technology 7 months ago:
I just don’t see the point in spreading misinformation. I have had almost entirely bad experiences with HP, but that doesn’t mean I go around spreading lies.
- Comment on Peak technology 7 months ago:
I’m not glad that I keep seeing it. They were using managed printing i.e. pay-per-page. HP may make garbage and overcharge for ink, but I’m sick of people tapping the up arrow on low effort posts like this.
- Comment on Goodbye Youtube and thanks for all the fish 1 year ago:
This is not the kind of ad most people are talking about though. This is like Amazon trying to get me to buy insurance whenever I purchase electronics (which I never do, of course).
- Comment on Los Angeles is using AI to predict who might become homeless and help before they do 1 year ago:
Based on the sparse information in the article, they’re training the model based on actual data points, not just feeding the data in human-readable format to a LLM.
- Comment on The Absolute Minimum Every Software Developer Must Know About Unicode in 2023 (Still No Excuses!) 1 year ago:
Wow this is awful on mobile lol
- Comment on What is your favorite programming language? 1 year ago:
How do you feel about Kotlin?
- Comment on How to store user's access tokens/API keys without hashing them? 1 year ago:
Here’s a simple approach:
- Basic auth via a custom header, like X-Auth
- JWT auth on Authorization header
- uuid on the JWT (as a claim) that gets stored temporarily (until it expires) to allow the server to revoke the token
Initial request -> server looks for Authorization header, falls back to X-Auth header -> generates JWT and sends back to client in Authorization header (or whatever makes sense)
Subsequent request -> server looks for Authorization header -> checks JWT against revocation database/table and that it isn’t expired
Subsequent request with expired token -> server returns 401, client retries using X-Auth header -> server sends back JWT on Authorization header -> client updates locally-stored JWT for future requests
There are probably ways to make this more standard or optimal, but this is a simple approach.
- Comment on Anyone using Storybook + React? How do you like it? Is it as bad as it seems at first? 1 year ago:
I worked on a team that did, and it was the second-worst application I’ve ever touched.