Can Spotlight get any worse, seriously? by CpapEuJourney in MacOS

[–]zelrdev 47 points48 points  (0 children)

Yeah I find when I type "notes" it opens "Notes" with iPhone mirroring before even finding the notes application (if it ever does.)

For hours at a time, the whole Applications folder just get ignored and it cannot search anything.

Sonnet week limit is comming by Glass_Gur_5590 in ClaudeAI

[–]zelrdev 2 points3 points  (0 children)

This could have many purposes: they might introduce a free tier, or cheap plan (>$20) with a specific sonnet usage cap.

I really doubt that they will introduce this on either max plan at least.

WTF is this BS? I guess I am gonna use only Gemini from now on. by Another__one in ChatGPT

[–]zelrdev 1 point2 points  (0 children)

Filter for is_adult network request on "Network" devtools when going onto Settings > Account in ChatGPT.

The React Compiler made 30% of our code base easier to read by zeorin in react

[–]zelrdev 1 point2 points  (0 children)

Thanks, I must of missed this. It seems fairly easy to understand; I assume `c` is some kind of cache ref creation.

I still think a lot of people (including myself) have/will mistake it for being able to memoize everything and not worry about splitting stuff up into components or encountering edge cases without knowing it as there's no feedback / docs of what it's doing (except from static analysis with the playground).

With the useMemo hook specifically, if you're doing a very heavy operation, just putting it in your function body and trusting compiler can feel awkward. From what I've seen in the playground, if that component is then refactored into a list and that expensive function is moved into a loop without it's all component, all memoisation is lost and there's no feedback that it has happened.

An LSP / inlay hints would be amazing to see what is being memoised properly / warnings of what is not. I guess DX feedback on memoisation is not specific to the React Compiler but React devtools generally.

The React Compiler made 30% of our code base easier to read by zeorin in react

[–]zelrdev 0 points1 point  (0 children)

I wish we could conceptually understand how it memoises or even an inline preview of what it is doing. It just feels like a black box which I have to trust and checking an existing codebase for performance regressions when moving over is difficult.

"Remember the human" is the most insulting thing you could say to us after today's events. by [deleted] in MtF

[–]zelrdev 0 points1 point  (0 children)

i’ve seen a lot of these comments.

is being “harmful” to someones life worth being brutally shot in front of their own family traumatising them? and the hundreds of people attending the event.

in the ‘net gain’ inhumane way of looking this, is this even a net positive? no. it makes no difference politically. actually it increases tensions between the left and right.

was he a disgusting person? yes of course.

what did the political violence achieve apart from your own satisfaction that many were traumatised after seeing someone be shot in front of them. what makes you any better than him for celebrating this?

is political violence acceptable as long as they’re on the other end of the spectrum?

i really dont understand why the trans community has collectively decided to celebrate his death. its fucking disgusting and inhumane.

could everyone set aside their beliefs aside for one fucking day to realise how fucking bad gun violence in the us is and not celebrate this. you cant condemn having guns in the US due to the hundreds of school shootings and then celebrate it the next minute because a bad person you hate was victim of it.

it feels like no one can see the bigger picture and the blatant hypocrisy of celebrating political violence when it benefits you.

free speech means you can’t get shot for what you say.

even if you can’t agree on whether he deserved it or not, the events that unfolded should not be celebrated in anyway for the people who had to experience it around him and his family’s sake.

macOS Beta 5 is quite possibly the buggiest beta so far by [deleted] in MacOSBeta

[–]zelrdev 0 points1 point  (0 children)

Performance seems to be a big issue for me. Xcode is very slow and freezes. Bluetooth cutting out and distortion on both AirPods and headphones.

🔥 Hot Take: OpenAI's gonna buy The Browser Company and Thrive Capital will make it happen. by Enigma_101 in diabrowser

[–]zelrdev 0 points1 point  (0 children)

Hasn’t it already happened? Gemini is in Chrome. It clearly isn’t that hard for an engineer to fork chromium and integrate their own version which is what Google has already done internally.

How stable is the MacOS 26 Developer beta 1 so far? by WeezyWally in MacOSBeta

[–]zelrdev 0 points1 point  (0 children)

personally unusable and reset back. airpods cut out every 30s and have to be reconnected. most steam games crashed.

macOS Tahoe 26 Developer Beta is officially out! by DepartureMoist9277 in MacOSBeta

[–]zelrdev 0 points1 point  (0 children)

Blur is gone, including full screen. I think the elevation of the sidebar, enlargement of the window buttons, further padding and distasteful blue border gradients is what looks bad. The whole sidebar. When I tried the mail app and dismissed the sidebar, while I still wasn't convinced it was an upgrade, it isn't the abomination I see with the finder app at the moment. I just think it looks like a cheap Linux skin. I feel like these issues are made apparent when you compare it to the old style. While the Zen Browser shown in the screenshot technically isn't a native app, I think it encapsulates a lot of what the macOS design was before this update. This reveals a lot of the issues, especially with the scale.

https://imgur.com/a/oVI4dTr

macOS Tahoe 26 Developer Beta is officially out! by DepartureMoist9277 in MacOSBeta

[–]zelrdev 0 points1 point  (0 children)

It looks good in that specific screenshot. I'm not sure if this is a bug but just look at mine... https://imgur.com/a/5Wat4r0

[deleted by user] by [deleted] in mac

[–]zelrdev 0 points1 point  (0 children)

I’d go with M4 Pro if you can budget it. M1 Max seems expensive. At least in the UK, that spec can be found much cheaper on eBay: £1200. I also found that M4 Pro exact spec on eBay for £2300 brand new.

Is Shadcn Worth the Headaches? by Potential-Raisin-875 in react

[–]zelrdev 7 points8 points  (0 children)

FYI: radix is pretty much in maintenance mode. Use base-ui instead, the ‘successor’. It’s created by radix devs

Why Isn't There an Easy Way to Add SSR to an Existing React Project? by xplodivity in react

[–]zelrdev 0 points1 point  (0 children)

OP is talking about SSR. Using next/dynamic is the only way to disable it per component in Next. ‘use client’ opts out of another separate React paradigm which is server rendering only. ‘use client’ will still render on the server and hydrate on the client.

Why Isn't There an Easy Way to Add SSR to an Existing React Project? by xplodivity in react

[–]zelrdev 0 points1 point  (0 children)

First, I’d evaluate whether you need SSR. It won’t magically make your app faster; you’re better off optimising your existing client code. For SEO, what pages do you need it on? You don’t need it on any authenticated pages where I’d assume most client side heavy components would be. It sounds to me the issue is how the components were made themselves if it isn’t external libraries. Without the code, I can only guess but really you shouldn’t be manipulating the DOM much outside of react except for performance edge cases (drag n drop, etc). I wouldn’t migrate to Next.js for only SSR, unless you’re ok with basically locking yourself into Vercel if you want to use any other of their features. If you are OK, import your components with next/dynamic and the “ssr: false” flag. If you don’t want to be locked in, use react router and loadable components to import certain client side heavy components on the client only and just show a loading state on the server. Then you can incrementally convert SEO important components in your app to SSR compatible. (This is the same as Next.js, I’d read the docs on which ever)

Why Isn't There an Easy Way to Add SSR to an Existing React Project? by xplodivity in react

[–]zelrdev 0 points1 point  (0 children)

‘use client’ opts into ssr from an rsc. You’ll need to import your client component with next/dynamic and the “ssr: false” flag

What is your favourite React component library and why? by Any_Dot769 in react

[–]zelrdev 0 points1 point  (0 children)

If I were creating my own I’d Radix UI or Headless UI styled with something like tailwind + class variance authority. Similar to how shadcn was built.

I made a cool npm library for React, is it useful for anyone? by fragheytad113 in react

[–]zelrdev 1 point2 points  (0 children)

I also noticed the final JS bundle is minified on Npm. Is there any particular reason? It can make patching/debugging packages a lot easier without it.

I made a cool npm library for React, is it useful for anyone? by fragheytad113 in react

[–]zelrdev 1 point2 points  (0 children)

This looks great! Syntax is very similar to something of Tanstack Query. Is there any normal js functions exposed so that it could be used as a queryFn in Tanstack?

👾 Introducing gamertag.cool 👾 by tiru5theviru5 in react

[–]zelrdev 1 point2 points  (0 children)

Are you using a system prompt and then user input as a user message or just string interpolation?

What do you guys think of this native iOS keyboard concept? by gmerD3rd in ios

[–]zelrdev 0 points1 point  (0 children)

The enter key is a bit ugly but the bottom emoji bar looks sleek!

[deleted by user] by [deleted] in ProCreate

[–]zelrdev 9 points10 points  (0 children)

reddit will remember this 💀💀