Readit News logoReadit News
wryanzimmerman commented on You Don't Need HTML   shkspr.mobi/blog/2022/12/... · Posted by u/tomhazledine
rado · 2 years ago
Funny, but I’m saying it seriously as a countermeasure to the bloat epidemic. An SMS parking app doesn’t even need Internet and works fine. Use the simplest technology to achieve a goal and enhance.
wryanzimmerman · 2 years ago
As someone who travels a lot, SMS based app stuff is one of the most annoying common problems.

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.

wryanzimmerman commented on You Don't Need HTML   shkspr.mobi/blog/2022/12/... · Posted by u/tomhazledine
est · 2 years ago
> importance of HTML for accessibility

Can we simply say, Javascript driven SPA was a bad fad

wryanzimmerman · 2 years ago
JavaScript driven SPA is fine as long as everyone remembers that the entire and only point at the end of the day is to create HTML.
wryanzimmerman commented on Figma and Adobe abandon proposed merger   figma.com/blog/figma-adob... · Posted by u/supafastcoder
exodust · 2 years ago
> Design, solicit feedback, integrate, iterate, repeat.

Except people in a typical company who might provide quality feedback on the new website, do not want to "browse Figma". They want an actual website to view - dev site or the actual new live site.

> "You can't just launch a new website and surprise your team."

Yes you can. Nothing beats launching a new site to motivate quality feedback. If you expect feedback to arrive soon after launch, you can use this to your advantage.

If you like the sound of crickets, share a link to Figma and ask people for feedback. Designers and developers will respond, others like sales and non-technical staff often won't. Why? Because people prefer the security of their web browser's familiar reference point when assessing a website. As opposed to browsing an app that gives them a special window to a slippery canvas where an impression of the website is found.

wryanzimmerman · 2 years ago
That’s why you send them the link to the prototype, which opens in their browser, not the figma link.

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.

wryanzimmerman commented on Fitbit fined $11M for misleading consumers about their rights under consumer law   abc.net.au/news/2023-12-1... · Posted by u/clouddrover
mg · 2 years ago
Any suggestions for a fitness tracker (steps, sleep) which can be used without an Android/iOS app?

If it is possible to access the data from a Linux machine - that would be perfect.

wryanzimmerman · 2 years ago
Garmin watches can be used this way, but it’s not quite as easy; you can even mount the watch as a USB drive and access a lot of the data that way if you want.

I did hit one issue once with maps on my fénix 7 where I had to plug it in to a windows computer specifically.

wryanzimmerman commented on Goodbye, clean code (2020)   overreacted.io/goodbye-cl... · Posted by u/kiyanwang
roenxi · 2 years ago
> Rewriting a PR is a quick way to insult someone ...

Although I agree with this there is also another, more subtle thing going on. Rewriting the code that works and someone else is maintaining is a waste of the rewriter's time and is unprofessional. It also denies the original person an opportunity to learn because they don't see how lower quality code wastes time in practice (the time wasted in the refactor doesn't count because Abramov did it by initiative).

The clean code approach is better, but the issue here isn't code. It is that he was wasting his time while not providing useful feedback to the unnamed coder. He was making terrible choices. He isn't maximising the business or team outcomes. The best outcome is the original coder raising their standards and him going and working on something that needs work. He should have angled to that. Ie, the correct option was to do a code review.

wryanzimmerman · 2 years ago
I disagree slightly; I think there’s an important thing here which was a little bit glossed over in the article.

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.

wryanzimmerman commented on Fairphone 5: Keeping it 10/10?   ifixit.com/News/87664/fai... · Posted by u/DamonHD
delecti · 2 years ago
This nerd sniped me and I had to do the math to confirm, but you're right, at least depending on where you get your estimates and regional power costs. The energy equivalent between a cell phone and shower time is on the order of seconds.

My phone's battery is 4385 mAh @3.7V, or 0.016 kWh, and my power costs $0.1252/kWh, or about $0.002 per phone charge. Based on some super surface-level estimates from googling, a typical shower is about 2 gallon/min, and the cost to heat water is about $0.01-0.02 per gallon, meaning for me it's actually about 4 seconds of hot water per phone charge.

wryanzimmerman · 2 years ago
And the parent comment said “47% wasted power … extra second … would offset half of that” and 47% of four seconds is about two, half of that is one second, so I’d say that was shockingly accurate, wow!
wryanzimmerman commented on Fairphone 5: Keeping it 10/10?   ifixit.com/News/87664/fai... · Posted by u/DamonHD
KronisLV · 2 years ago
> I honestly don't think you have to. If banking apps are a bit slow, so what?

Many phones are essentially abandoned by the manufacturer and don't receive any security updates not too long after release, which might just be an issue: https://source.android.com/docs/security/bulletin/2023-12-01

Not only that, but many apps won't run on the older versions of the OS either, due to the API level deprecation in Android: https://support.google.com/googleplay/android-developer/answ...

In other words, you don't really get much of a choice, unless you are buying a flagship device and not everyone will be able to do that. The same goes for the comparatively expensive iPhone devices, the cost also being a factor there for many.

wryanzimmerman · 2 years ago
But based on this it seems like the right comparison is between a three year old iPhone and a brand new mid-level android because they’ll last you the same amount of time, and three year old iPhones aren’t very expensive (though it depends on where in the world you live. In plenty of countries ~2yo iPhones cost the same as brand new iPhones at US prices, because you can use them for so much longer than local market android phones).
wryanzimmerman commented on Fairphone 5: Keeping it 10/10?   ifixit.com/News/87664/fai... · Posted by u/DamonHD
mlinksva · 2 years ago
I was curious what the DRC map on https://valkyrie.cdn.ifixit.com/media/2023/12/06065751/disas... (included in the post) could signify.

Search found (view HTML or click "More about our materials") on https://shop.fairphone.com/fairphone-5

> In addition, we account for 100% of the cobalt used in the battery by buying cobalt credits, which support the improvement of working conditions for artisanal cobalt miners in the DRC.

Presumably that's what the map signifies. Good to know/in case anyone else was curious.

Related discussion 10 years ago, only one I could find on HN https://news.ycombinator.com/item?id=5813730

Added: https://www.faircobaltalliance.org/supply-chain-wide-collabo... and presumably what the improvement mention above is about https://www.faircobaltalliance.org/approach/professionalizin... ?

wryanzimmerman · 2 years ago
Sorry, wrong comment
wryanzimmerman commented on Fairphone 5: Keeping it 10/10?   ifixit.com/News/87664/fai... · Posted by u/DamonHD
pachico · 2 years ago
It's not that they are slow. When I pay online, I need to confirm the payment through my bank app. When I switch to it, the browser or shop app closes and I cannot complete the transaction.
wryanzimmerman · 2 years ago
That seems kind of odd, my iPhone 12 Pro has zero issues with things like that and it’s three years old.

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.

wryanzimmerman commented on I analyzed Stack Overflow for secrets   matan-h.com/analyze-stack... · Posted by u/matan-h
repelsteeltje · 2 years ago
Hmm. Fix the easy stuff, the low hanging fruit and you filter for the worse problems and get some false positives for free.

When it comes to leaking secrets, don't trust tools. It's hard, it's human, it just happens.

As for what StackOverflow should do — make it easy to fix leaks, which they do a good job at. Ie. users can edit or delete answers, comments after posting them. Even better if there's a means to create confidential back channels with poster or admin if you spot a potential leak.

wryanzimmerman · 2 years ago
You can’t “fix” a leak, you have to revoke the involved secrets. Editing / deleting the answer is irrelevant.

u/wryanzimmerman

KarmaCake day69June 17, 2023View Original