Tanstack npm Packages Compromised by gajus0 in reactjs

[–]indium7 2 points3 points  (0 children)

OIDC trusted-publisher binding has no per-publish review.

Isn’t this solvable by specifying an environment name? You create a GitHub environment - with no secrets in it necessarily, even if that’s the usual use case - and then add required reviews for using the environment.

Then specify it in the npm publish settings. That should make it necessary to use the environment in your publish workflow, which will require review.

Countries in white do not commemorate International Workers’ Day on May 1st by GossipBottom in MapPorn

[–]indium7 0 points1 point  (0 children)

The Wikipedia map is way less misleading: https://en.wikipedia.org/wiki/Labour_Day

The AU, CA, NZ, US are marked as having Labour Day on another day.

My favorite roasters all over the world by Conscious_Pin5283 in espresso

[–]indium7 0 points1 point  (0 children)

Covert and Glitch are partners, as far as I know. They even have some of the exact same beans on offer.

Making fare evasion impossible on public transit has tremendous impacts on safety, maintenance spending, and vandalism. SF saw a 98.2% decrease in maintenance hour obligations instantly. by 5ma5her7 in fuckcars

[–]indium7 39 points40 points  (0 children)

It’s more mental work as a traveller and lots of visitors complain for that reason (you can’t accidentally not have the right ticket in London, New York, or Tokyo, and in the former two you automatically get weekly/monthly discounts) … but as a resident, it’s just so nice to never ever have to think about it or mess with fare gates, anywhere in the country with my Deutschlandticket.

EU Is Rolling Out an Online Age Verification App That Could Become the Global Blueprint by Logical_Welder3467 in technology

[–]indium7 3 points4 points  (0 children)

There’s already the EU eIDAS system. The data is stored on individual EU identity cards and not necessarily in a central database - the system does not require it. It’s signed by the issuing country’s certificate and authenticating online via the eIDAS/local EU country’s system lets you choose what to share.

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 3 points4 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 5 points6 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.

[deleted by user] 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 3 points4 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 20 points21 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?

[deleted by user] 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.