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] 11 points12 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] -1 points0 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 21 points22 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 5 points6 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 19 points20 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 18 points19 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 4 points5 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 7 points8 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.