69 karma · joined Jun 17, 2023 (3y ago) · 62 submissions
comment 2y ago · link · parent
It’s easy to find a way to get internet anywhere, but getting an sms message at a phone number is way harder (or easy but expensive); bonus points if you restrict it to local phone numbers only. Lots of countries require ID checks to get a local number and the system breaks with foreign IDs.
comment 2y ago · link · parent
That’s like half the point of prototyping software vs graphic design / illustration software!
Non-designers want to see “the site” open in their browser and be able to click through the pages, instead of use some design app—that’s like half the point of figma.
comment 2y ago · link · parent
The original code established a pattern and left space for where and how to add code to handle edge cases, when they arose, whereas the clean code solution was implemented as though it was the complete and final solution.
A first draft is often incomplete, and in an oversimplified first draft, it’s easy to pull out patterns and remove “duplication” which is a result of the simplification, not an inherent feature of the problem being solved.
comment 2y ago · link · parent
comment 2y ago · link · parent
I did upgrade a few weeks ago because the iPhone 15 cameras are amazing and I care a lot about that but I honestly had zero performance reasons to upgrade. I’ve never had an issue with a 5-6 year old phone and I always keep my old phone as a backup specifically for banking.
comment 3y ago · link · parent
I can’t tell if you’re talking about the US though, if you’re referring to other countries it may be much more restrictive, lots of places seem to require ID and registration for basically anything.
comment 3y ago · link · parent
comment 3y ago · link · parent
Totally agree that it’s a stylistic and presentational decision and not a computational limitation.
comment 3y ago · link · parent
There are a lot of ways you could send a valid response without including that header or tag, any policies are not one-size-fits all and could be different. Maybe you’re using a full-stack framework which is managing it for you?
Or maybe you’re confusing it with CORS?
comment 3y ago · link · parent
A huge part of why I keep my workflow 100% terminal / TUI is because I know I can use anything with a solid shell (even my iPad or my phone) and instantly have my full workflow exactly where I left off with every single program looking and working exactly the same in exactly the same state.
comment 3y ago · link · parent
So they can sync over Bluetooth… but in a format that garmin’s app can’t use or understand so you must be connected to the internet to actually see the data.
For a device which generally should work with bad/no internet, it’s completely insane.
comment 3y ago · link · parent
comment 3y ago · link · parent
So vim is verb-noun for simple things, but if you want, you can use visual mode if you’re doing something more complex or just want visual confirmation first.
comment 3y ago · link · parent
As for the frontend, you have to have so JavaScript somewhere, it’s unavoidable, so typescript is just a way to make the inevitable more palatable.
comment 3y ago · link · parent
There will always be use cases for the real thing, and there will always be people who reach for the easy option, and a lot of them really only need the easy option.
But there will also always be organizations who reach for the easy option, wildly outgrow it, and pay the price…
comment 3y ago · link · parent
It’s the fighting with it that’s the issue; my experience is that a lot of devs go in to “force this stupid framework to work” mode and blow up tasks that should be 10 lines of code with no edge cases into 50 or 100 which “mostly works, good enough.”
React is by far the most adopted framework for desktop-level or near-desktop-level web applications.
comment 3y ago · link · parent
That’s insanely powerful and massively reduces complexity in highly interactive apps, because it means you no longer need to think about “user did this, update this here now, and here and here” chains, and can just do “user did this, update the state” and have that state update render potentially hundreds of changes across the app without needing to do additional implementation.
But if you aren’t disciplined with maintaining, or don’t understand the difference between pure functions and side effects, and fall back to hacks to try to “make things render” or “stop wasting render cycles” you’ll end up with even more complexity than necessary.
Using react as another version of `getElementById` leads to a horrible mess much worse than writing vanilla javascript, and most people who have that complaint are doing it to themselves by fighting react either unintentionally or on purpose to show how it can be bad when abused.
Raw HTML and CSS is much easier to understand, and mandatory to understand because at the end of the day creating HTML and CSS is the only goal, but higher level abstractions can be super useful to manage complex projects, and the mental models and abstractions are the actual benefit.