js’s JSON.stringify(obj, null, 2);
- 0 Posts
- 12 Comments
ElectricCattleman@lemmy.worldto Technology@lemmy.world•Honda says making cheap electric vehicles is too hard, ends deal with GMEnglish164·1 year agoYou guys drive? 💀 My rollerblades were only $200 and the ball bearings are in great shape.
ElectricCattleman@lemmy.worldto Buy it for Life@slrpnk.net•Graceful degradation is where a product degrades in such a way as to maintain at least some functionality for as long as possible.English1·2 years agoTo be fair, this was ~12 years ago and the web has changed a lot since then. But being able to submit a form without js still seems reasonable to me… it also means you are doing proper backend validation. Something I’ve noticed newer devs sometimes have no concept of.
ElectricCattleman@lemmy.worldto Buy it for Life@slrpnk.net•Graceful degradation is where a product degrades in such a way as to maintain at least some functionality for as long as possible.English51·2 years agoWhen I led a small dev team making an ecom site I pushed this approach to JavaScript–you should be able to create an account, manage your cart, and check out without JavaScript. All extras with JavaScript just enhance this functionality. Add to cart without leaving the page, a mini cart, client side validation.
Sadly with the rise of SPAs, this concept is totally out the window.
ElectricCattleman@lemmy.worldto Technology@lemmy.world•“X” Axed Headlines. That Sucks For Accessibility.English252·2 years agoI would love it if every website change on Twitter/X didn’t result in endless “news articles”. I need to find a way to block this crap. I literally don’t care. Stop using X if you don’t like it. Done. Stop talking about it. This is worse than celebrity gossip.
ElectricCattleman@lemmy.worldto Technology@lemmy.world•Sweden is testing a semi-truck trailer covered in 100 square meters of solar panelsEnglish7·2 years agoOops 🙊 you know what I mean though.
ElectricCattleman@lemmy.worldto Technology@lemmy.world•Sweden is testing a semi-truck trailer covered in 100 square meters of solar panelsEnglish4·2 years agoA tractor trailer FULL of solar panels would be great!
ElectricCattleman@lemmy.worldto Technology@lemmy.world•Sweden is testing a semi-truck trailer covered in 100 square meters of solar panelsEnglish406·2 years agoPutting solar on moving vehicles makes no sense except for very specific use cases.
Install those same panels on the ground and you can point them at a good angle for sunlight capture 24/7, don’t have to literally carry the weight of them everywhere, don’t have to worry about them getting dirty all the time from moving around winter roads, and are much easier to repair.
ElectricCattleman@lemmy.worldto Fediverse@lemmy.world•How (not) to get people to download your app 🫣English16·2 years agoIt has some good points. I went through all 99 slides and thought it was rather interesting. Btw, there were no ads in the slides, which was good, because I would have left immediately.
Main focus is just how badly Reddit hurt their mobile web experience to constantly nag you to use their shitty app.
ElectricCattleman@lemmy.worldto World News@lemmy.ml•The back-to-office backfire: Companies ending WFH perks lose out on top talent, who view flexible work as equivalent to an 8% raiseEnglish28·2 years agoI think it’s basically saying companies need to pay more if they want people in-office. Which makes sense to me. If you want someone to spend time and money to commute they need to compensate for that. You can’t ask someone who has been WFH to start coming in without some incentive or else you’re basically cutting their pay.
That said, many people won’t switch from WFH to in-office for any amount of money.
ElectricCattleman@lemmy.worldtoReddit@lemmy.ml•People don't seem to realize how much power users have over their platform (Reddit)1·2 years agoI think there are many users who simply don’t care as long as there are memes and content. They won’t leave for a long time. But as users who do care leave, the content will decline and others will follow.
Yeah, AI is a new twist here but the concept of misrepresenting images and stories for attention is ageless.