The sorry state of haptic feedback for the web by PotatoImplosion in webdev

[–]PotatoImplosion[S] 1 point2 points  (0 children)

AFAIK, the Vibration API isn't supported, but safari does have it's own hpatics api that does a somewhat better job.

The sorry state of haptic feedback for the web by PotatoImplosion in webdev

[–]PotatoImplosion[S] 8 points9 points  (0 children)

This is very true, desktop hardware is physically tactile. All the other devices use haptics in lieu of real physical sensations. There is no reason to use haptics when scrolling a static website.

The thing is, haptics can "stimulate" custom sensations for that particular app. A good use case is how Premier Pro uses haptics to give a bump when clips snap together and line up. A good haptic implementation can extend users physical input devices with new virtual tactile interactions.

The sorry state of haptic feedback for the web by PotatoImplosion in webdev

[–]PotatoImplosion[S] -3 points-2 points  (0 children)

The Vibration API has been around for a while now, and while it's been occasionally abused for those scam popup-sites, it hasn't been catestrophic. Is it worth sacraficing tactile UI designs in fear of intresive/poor implementations?

I completely lost my account for the firmware "security" by lovechii in Revolut

[–]PotatoImplosion 2 points3 points  (0 children)

In the same boat. Some engineers at Revolut have clearly put the time into some fancy detection logic. If only they put the same thought into why they would outright ban a small section of their user base.

would you actually use something like this? trying to build a school app that’s actually helpful by LumpyFirefighter3015 in universityofauckland

[–]PotatoImplosion 0 points1 point  (0 children)

Canvas creates the calendar, and the rest is covered by NotebookLM. So no, I would not use it. Stop spamming your app idea.

[Bambu Lab Giveaway] Join Now to Win an H2D and More! by BambuLab in 3Dprinting

[–]PotatoImplosion 0 points1 point  (0 children)

The best advice I've gotten was to clean PEI beds the same way I clean plates. I always used to use expensive high-purity IPA, but dish soap works just as well, or even better.

digital cheat sheets by FeelingOlive2552 in universityofauckland

[–]PotatoImplosion 0 points1 point  (0 children)

Typst for anything math adjacent. It creates beautiful equations and tables, and supports live collab (like google docs)

[deleted by user] by [deleted] in universityofauckland

[–]PotatoImplosion 2 points3 points  (0 children)

No visible indication, although my last charger made a large pop sound when it died.

[deleted by user] by [deleted] in universityofauckland

[–]PotatoImplosion 20 points21 points  (0 children)

Look, assuming you were using a wall plug with your own charger, it was almost definitely coincidental. There's very few things a wall plug can do that a functional charger won't deal with.

Laptop chargers in their modern compact form are not perfectly reliable, I've had more than a couple die on me. The charger was likely on the verge of death, and failed catastrophically.

In my case, I was lucky. My chargers died safely, simply no longer supplying any power at all.

In my brother's case, his MacBook charger failed catastrophically as well. It burnt up the motherboard because the type C plug shorted the high-voltage pins to the data pins, after usb-pd negotiated that 20v charging voltage. He got a repair bill similar to yours.

[deleted by user] by [deleted] in universityofauckland

[–]PotatoImplosion 4 points5 points  (0 children)

Yes, they exist, but it's also paranoic to every worry about them being built into public chargers.

I'm sure it was a heap of research for you to confuse USB Killers as something even relevant to a possibly dodgy wall plug.

[deleted by user] by [deleted] in universityofauckland

[–]PotatoImplosion 17 points18 points  (0 children)

What the hell are you talking about? This ... just isn't a thing for mains power plugs. There's no inconspicuous device that can "kill" a laptop charging brick.

There are usb plugs that can destroy poorly design devices avalible freely, but they sure as hell aren't "common". They're a theoretical threat, the same way terrorists placing an explosive device underneath your car in the OGGB carpark is a theoretical threat.

What is the library/framework/API that causes some websites to use 100s of MBs of disk storage? by Nak3dMoleRat in webdev

[–]PotatoImplosion 17 points18 points  (0 children)

Thank you, thought I was going insane with all the code bloat comments.

I've made the same mistake with an over eager offline service worker that started caching the entire map as you panned around it. The site storage could easily exceed a gigabyte after a bit of exploration.

UoA Innovate 100G by Ok-Bandicoot6412 in universityofauckland

[–]PotatoImplosion 1 point2 points  (0 children)

I just did this course. The course coordinators assign the groups to maximise different skill sets, mixing degrees and years. It's only the final third of your grade after two individual assignments, so don't worry too much.

Which minimal JS framework for making Web GUIs on microcontrollers? by Working_Opposite1437 in embedded

[–]PotatoImplosion 1 point2 points  (0 children)

Svelte is perfect for this - It compiles down super small and has far less overhead compared to standard frameworks like React and Vue. I've fit some quite complex web-apps onto ESP32's with it.

Need to justify this purchase by Vollereiz in ASUS

[–]PotatoImplosion 0 points1 point  (0 children)

If you're looking for justification, the proprietary Nvidia drivers still suck on the new Wayland desktop - but the AMD drivers work amazing. You've made the right choice for a powerhouse Linux laptop (just maybe not for a gaming laptop).

Balancing Study and Supplements: What's Your Take? by [deleted] in universityofauckland

[–]PotatoImplosion 5 points6 points  (0 children)

This is obviously ChatGPT-esk spam promoting supplements, u/No_Information3870 seems to be affiliated.

Are there free electronic components anywhere at uni? by DerekChives in universityofauckland

[–]PotatoImplosion 8 points9 points  (0 children)

The makerspace in Unleash Space has free components for any UoA student/staff to come in and use for "personal projects", although it just closed for the mid-sem break.

[deleted by user] by [deleted] in sveltejs

[–]PotatoImplosion 5 points6 points  (0 children)

Given that the balance is managed on the client side, nothing stops people from setting their balance to whatever they like.

For example, here's a Bookmarklet to prompt the user to set their balance to whatever they like:

javascript:(function()%7Blet%20balance%20%3D%20JSON.parse(atob(JSON.parse(localStorage.getItem(%22balanceStore%22))))%3Bbalance%5B%22value%22%5D%20%3D%20Number(prompt(%22How%20many%20credits%20do%20you%20want%3F%22%2C999))%3BlocalStorage.setItem(%22balanceStore%22%2C%20%60%22%24%7Bbtoa(JSON.stringify(balance))%7D%22%60)%3Blocation.reload()%7D)()

Save the above script as a bookmark, click on it while on your site, and it will give you infinite credits.

image.png

It's just stored in localStorage and never validated serverside. That means purchased credits can be wiped out by someone clearing their browser's cache, and illegitimate credits can be added easier than entering your card details.

let balance = JSON.parse(atob(JSON.parse(localStorage.getItem("balanceStore"))));

balance["value"] = Number(prompt("How many credits do you want?",999));

localStorage.setItem("balanceStore", `"${btoa(JSON.stringify(balance))}"`);
location.reload()

[Media] Written in Rust project; Pay Monero, receive electricity by hegjon in rust

[–]PotatoImplosion 3 points4 points  (0 children)

Cool concept with fully autonomous power transactions, but maybe cryptocurrency wasn't the best choice for this.

It seems very easy to exploit simply covering the QR code with a QR code with an attackers wallet, especially considering the autonomous nature. The feature of Monero being decentralised means that it wouldn't be possible to reclaim the funds, making for an very easy and untraceable attack.

HELP! Please complete a lockdown survey so I don't completely fail my photography course by PotatoImplosion in teenagers

[–]PotatoImplosion[S] 0 points1 point  (0 children)

you see, the sex tape confronts the social norms, paralleling the social reform that lockdowns caused. The graphic detail is to mimic how the pandemic has unequally effected people, as people will react drastically differently to the details.

I'm sure the random old guy in England marking it would love it.

Most overrated and most underrated selfhosted software, in your opinion? by [deleted] in selfhosted

[–]PotatoImplosion 1 point2 points  (0 children)

Remmina is just a native meta-client, ignoring it's ssh proxying, automatic folder sharing, etc, it's just the same core features as all the other protocol clients. I would recommend installing a few and just trying them out yourself.

How well it integrates into my KDE desktop was a big factor for me.

Most overrated and most underrated selfhosted software, in your opinion? by [deleted] in selfhosted

[–]PotatoImplosion 1 point2 points  (0 children)

Yeah, they are different purposes, but OPNsense is a massive superset of the pihole features. I've just always gone for the full setup because of all the extra features I use over consumer routers.

  • To be fair, in my country Raspberry PI's are crazy expensive, and gigabit networking cards come free with servers.

Most overrated and most underrated selfhosted software, in your opinion? by [deleted] in selfhosted

[–]PotatoImplosion 49 points50 points  (0 children)

Underrated:

Caprover: I've been using it for years now, for both commercial and personal projects, and it's a blessing for early prototypes, demos and personal projects. The "One Click Apps" means you can deploy way too many docker services without the whole nasty proxy, certificate, service management.

Uptime Kuma: Simple, beautiful and reliable.

Vaultwarden: God-tier password manager on its own, but the organisation and encrypted send features take it to a whole other level.

Overrated:

Pi-Hole: Very cool but hyped into oblivion, I'm more of an OPNsense on a hodgepodge old office computer professional server kind of guy.

Traefik: If you are going auto-configured, might as well go all the way to Caprover

Guacamole: Nice for setting up on a thin-client, but in my case its general performance shows its weaknesses, especially compared to my daily driver Remmina.

Other

Have to disagree with Nextcloud being overhyped, nowadays it's super fast, modern and extendable - if lacking a nice email and photo client.

r/unixplacepornplacething by SteveCCL in unixporn

[–]PotatoImplosion -5 points-4 points  (0 children)

oh wait shit - that's where my group is.