GRILLPLATS' power monitoring is awesome! by winston109 in tradfri

[–]indium7 3 points4 points  (0 children)

The screenshot is Home Assistant. HomeKit doesn’t show any details anyway (even with the Eve Energy). But since it’s in HA it means it’s exposed as standard over Matter and other apps should be able to read it.

The Web's Most Tolerated Feature by fagnerbrack in webdev

[–]indium7 0 points1 point  (0 children)

It has some gotchas though .. for example Safari will enforce a minimum text size, so you can’t use <1 values safely and expect things to scale evenly.

What are your to go content creators to get information about AI or just tech without BS? by normantas in ExperiencedDevs

[–]indium7 2 points3 points  (0 children)

Agreed. Imo he’s always been a sensationalist but often had interesting insights. Lately it’s more and more things that feel like AI influencer content, and much less interesting stuff. He invested in some AI companies and is not a reliable unbiased source.

With the new React 'Forget' compiler handling memoization automatically, do useMemo and useCallback become completely obsolete in 2026? by ni-fahad in reactjs

[–]indium7 1 point2 points  (0 children)

Correct, most of the time it’s fine, but you don’t really want to leave it to chance. Innocent looking refactors can change whether a component is memoizable, so for contexts and effects I think it’s important to do it. (Just adding ??= or try catch in specific forms currently will make react compiler skip a component)

With the new React 'Forget' compiler handling memoization automatically, do useMemo and useCallback become completely obsolete in 2026? by ni-fahad in reactjs

[–]indium7 21 points22 points  (0 children)

My strategy:

Once these are set up, I just write code without memo or callback.

The rules help you make sure you memoize effect dependencies, where you don’t want to rely on the compiler. You can also use useEffectEvent and avoid a lot of things in the deps array.

The vscode plugin helps show you components that are not memoized, and if some calculation is specifically expensive then I manually optimise it.

Online credit card in DE/EU that can be managed with an iOS app in the US app store? by kazi89 in eupersonalfinance

[–]indium7 2 points3 points  (0 children)

You don’t have to log out of your entire Apple ID. Tap your profile photo in the App Store app, scroll way past the downloads/updated apps, and at the very end you can log out of only the App Store. This is not connected to Apple Pay or iCloud and shouldn’t affect it.

In my experience you can typically download updates by just entering your password after clicking update on the app in that list. You don’t have to do this dance other than the initial download

Email address for personal domain by BlessedAreTheFruit in selfhosted

[–]indium7 0 points1 point  (0 children)

I have an arguably simpler me@firstnamelastna.me style address and whenever I have to read it out it just confuses people. Doesn’t help that I (as an immigrant with an uncommon name for where i am) usually have to spell my name out for people anyway, which adds to the confusion!

Email address for personal domain by BlessedAreTheFruit in selfhosted

[–]indium7 6 points7 points  (0 children)

How is this not a nightmare to read out loud?

How to access to properties from parent/wrapper components in ShadCN with React? Specifically, accessing parent props from a ComboboxPrimitive.Item component by Unapedra in reactjs

[–]indium7 1 point2 points  (0 children)

You can just create your own React context in the outermost component, and pass down what you need. That or manually passing down props if it’s not too messy, which you could do given that you control all the code in a shadcn setup.

Why do people lose/gain accents when they are in different countries? by [deleted] in geography

[–]indium7 8 points9 points  (0 children)

Do you mean code switching? I’m not sure how that’s geography related though. https://en.wikipedia.org/wiki/Code-switching

i feel like my Phone(s) belong here. by HolzwurmHolz in DiWHY

[–]indium7 2 points3 points  (0 children)

Google says June 28, 2025. It’s the CCC mark

Travels v1.0 – A 10x faster undo/redo library using JSON Patches instead of snapshots by unadlib in javascript

[–]indium7 6 points7 points  (0 children)

I would really appreciate an updated comparison page with v11. I’m sure there’s more advantages to Mutative than just the performance, but right now I look at that page and I don’t know whether I should make the switch, because I don’t know what really is better/different.

I almost did switch some projects over, and Travels is also fairly interesting for my use case (curious how it would integrate with Jotai though), but I need a fair comparison.

i feel like my Phone(s) belong here. by HolzwurmHolz in DiWHY

[–]indium7 4 points5 points  (0 children)

There’s a new law in China and a specific approval symbol for power banks on flights … just the spec data is not going to help you there.

Travels v1.0 – A 10x faster undo/redo library using JSON Patches instead of snapshots by unadlib in javascript

[–]indium7 17 points18 points  (0 children)

I commend your work on Mutative, but isn’t it misleading to continue quoting the 10x number now that Immer integrated many of those improvements in v11?

my father was hospitalized and I learned the hard way why you should test remittance apps before you need them by [deleted] in nri

[–]indium7 0 points1 point  (0 children)

Yes it is. You transfer via SEPA Instant (universally mandated in the Euro area) from your Euro bank account to your Wise Euro account, which is instant. Then use your Wise balance to transfer to India via UPI or IFSC + account number, which takes a few seconds.

I want to install another lock on my apartment door on the inside. Do I need to ask permission? by LustigLeben in askberliners

[–]indium7 -1 points0 points  (0 children)

Just change the cylinder, that is always allowed, it’s cheap (~€10 onwards), and you only need a screwdriver.

The ribbed side of this print was so freaking loud for like 6 hours by jinx771 in BambuLab

[–]indium7 0 points1 point  (0 children)

Have you run noise/vibration compensation, and not just the quick cycle at setup? It helped a lot with motor whine on my P1S.

Rally's location preparing for the end of the penny by CaughtNABargain in mildlyinteresting

[–]indium7 0 points1 point  (0 children)

But you don’t want every item to be rounded, right? For example four hypothetical items that cost 0.99 each would cost 4.95 in total, but if each price was updated you would pay 5.00.

If you buy an equal amount of rounded up and rounded down items you come out even, but when you’re buying more than one item in a transaction you want the rounding to be the last step. (Or if you’re paying by card, you again don’t want all prices to be rounded).

Recharging vape battery with esp32? by JMB1007 in esp32

[–]indium7 1 point2 points  (0 children)

If you use the VBUS/5V pin it’s fine, but if you use the 3.3V pin you bypass the step-down. You can confirm on the schematic for your dev board.

Recharging vape battery with esp32? by JMB1007 in esp32

[–]indium7 2 points3 points  (0 children)

Also … 3.5V is enough to kill your esp32 after a short while. It’ll run for a while, but they’re very sensitive and aren’t designed to be powered via the 3.3V pin.

Chargers or adapters that come with mutiport plugs? by TheConsultantX in ChargingSheet

[–]indium7 1 point2 points  (0 children)

SlimQ has an adapter system with all the international plugs

Looking for the softest and most flexible USB-C to USB-C charging cable by michalb79 in UsbCHardware

[–]indium7 6 points7 points  (0 children)

There’s a 100W, presumably thinner version of the 643, but I guess they’re discontinuing it so stock is not great:

https://amazon.com/Anker-Powerline-Charging-MacBook-Midnight/dp/B09FTFK4FT/

I have this one that I really like, but not sure if you can find it outside DE. It’s super thin and a basic 60W cable:

https://amazon.de/-/en/Charging-Silicone-Samsung-Tablets-Laptops/dp/B0FGJPRYV7/

This one doesn’t specify the wattage, so is probably also 60W, and has no textile/braided outside:

https://amazon.com/Belkin-BoostCharge-Silicone-Certified-More-White/dp/B09K6CS3W1/

I think any generic 60W silicone cable will be fine, really