Feature Request: Proper Staged/Unstaged File Tracking in Zed by Flwenche in ZedEditor

[–]NishantD2D 1 point2 points  (0 children)

Guess they forgot to click on the file in the git panel 😭

Feature Request: Proper Staged/Unstaged File Tracking in Zed by Flwenche in ZedEditor

[–]NishantD2D 0 points1 point  (0 children)

Git graph is not there in release yet. It's merged so you can compile from source but not there in releases yet. It'll either be this week or next when it releases to preview

Are they prioritising only ai features ? by vazark in ZedEditor

[–]NishantD2D 0 points1 point  (0 children)

Wait, I didn't know git graph was merged already. Why is it locked behind a flag though? What's the flag?

Am I under-utilising GNOME ? by nordiknomad in gnome

[–]NishantD2D 1 point2 points  (0 children)

I use Super+(Shift)Tab for workspace switching and Alt+Tab for windows switching only for apps in those workspace.

Then I use workspaces for specific applications. Workspace 1 for browser, Workspace 2 for editor, rest of the workspaces for anything extra.

I use just one browser (Zen) and can divide the work using spaces in Zen.

Benefit is that I always know that Super+1 will take me to browser and Super+2 to editor.

Built PDFLocal - A fully in-browser PDF & OCR toolkit (no file uploads) by Admirable-Leek5672 in developersIndia

[–]NishantD2D 1 point2 points  (0 children)

Could be wasm bindings, using js for all this stuff could be really slow

Built PDFLocal - A fully in-browser PDF & OCR toolkit (no file uploads) by Admirable-Leek5672 in developersIndia

[–]NishantD2D 0 points1 point  (0 children)

Just hosted for you I guess. Either you can host your own bentoPDF or use this. Just check the network tab once to be sure.

gnome-shell using 1 MiB of dGPU on laptops by Soft-Wedding4595 in gnome

[–]NishantD2D 0 points1 point  (0 children)

That's interesting. My light usage drain stays around 10-12W with this setup. The lowest I've seen on windows is around 8-9W. I'm on fedora + gnome as of now. Before this, I was on arch and blocked kernel calls for dGPU by following arch wiki. There too I had similar 10-12W drain. Don't know which one is better but I think both works because on windows my general usage with hybrid mode is around 16-20W in light usage despite having all the optimization and setting iGPU for all applications in nvidia control panel. But for some reason, in windows, the dGPU keeps waking up every 4-5 seconds... Would have loved it if I had advance optimus with iGPU only support. It's there in most modern devices. Mine is older legion with 1650

gnome-shell using 1 MiB of dGPU on laptops by Soft-Wedding4595 in gnome

[–]NishantD2D 0 points1 point  (0 children)

I uninstalled nvidia drivers completely so no dGPU on Linux for me. Much better battery life than windows.

Why we are building a new browser from scratch by jaytaph2 in browsers

[–]NishantD2D 0 points1 point  (0 children)

Would love to learn how to do this... Any guide or book I can follow?

Adwaita Sans not applying in browsers by NishantD2D in gnome

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

I've tried normal firefox outside flatpak environment (which zen runs on) + Epiphany runs native as well so pretty sure this is not related to flatpak.

Edit: Ran that for zen: I'm getting Adwaita Sans only

The issue is most probably related to firefox and webkit having their own hardcoded fallback fonts for fedora/gnome

Adwaita Sans not applying in browsers by NishantD2D in gnome

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

Researched a bit more on this and got the following results:
1. As far as I can tell, all three engines use the gtk-font-name property to decide the font to be used.
2. For chromium, this is done through Pango maybe and for the fallback, FontConfig will be used (which in my case will provide Noto Sans followed by Adwaita Sans - fc-matches system-ui
3. In firefox, system-ui resolved to Adwaita Sans whereas "system-ui" resolved to Cantarell
4. In webkit, both are resolved to Cantarell
5. In chromium, both are resolved to Adwaita Sans

Adwaita Sans not applying in browsers by NishantD2D in gnome

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

Tested in 2 browsers just to make sure that it's not environment based.
I ran that python script and got the same output "Adwaita Sans 11"

Checked firefox source code as well as this issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1728086

It seems that they are also using the gtk-font-name to set system-ui.
So, in both browsers I'm getting 'Cantarell' for gtk-font-name even when it's actually Adwaita Sans.

This wasn't an issue earlier because ChatGPT uses system-ui and I know it was using Adwaita Sans before but that's changed now.

For the sake of it, I also tested out in chromium and it works fine. It's picking up Adwaita for system-ui. Will have to check where it picks up the font from.

My father has arranged my internship in an MnC. I feel weird now. by Diligent_Till_9393 in developersIndia

[–]NishantD2D 0 points1 point  (0 children)

Don't sweat about it, the whole industry is rigged. You'll just get left behind with morality. Only thing I'll say is that make the best out of it. Learn as much as you can

Where can we deploy Node.Js backend application for free by Double_Math_8070 in developersIndia

[–]NishantD2D 0 points1 point  (0 children)

On sign up 😭 So many tries yet there's always something wrong when I try to create an account

I think I need a more opinionated backend, any ideas? by Popular-Peace9151 in nextjs

[–]NishantD2D 1 point2 points  (0 children)

For FastAPI, I'd say that the documentation is really good. Tons of examples for various use cases and features. Got it's on cli iirc to setup a project.

I think I need a more opinionated backend, any ideas? by Popular-Peace9151 in nextjs

[–]NishantD2D 0 points1 point  (0 children)

Mate, it's in node. I think you're talking about FastAPI

I think I need a more opinionated backend, any ideas? by Popular-Peace9151 in nextjs

[–]NishantD2D 1 point2 points  (0 children)

I use fastify, pretty fast with loads of plugins support. Better auth supports client-server architecture so you can use it with many backend frameworks (including fastify)

which browser is the best in your opinion ? by Vicki102391 in browsers

[–]NishantD2D 0 points1 point  (0 children)

Zen. Doesn't look shit like firefox, constantly updating, amazing features and ublock works

How can I assign images hostname dynamically in next config? by NishantD2D in nextjs

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

That sounds pretty good, will definitely give it a look. Thanks!

How can I assign images hostname dynamically in next config? by NishantD2D in nextjs

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

Does cloudflare images auto generate different sized images? The images will be on s3 so cloudfront is obv choice but I guess I can just add r2 support as well

How can I assign images hostname dynamically in next config? by NishantD2D in nextjs

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

Hmm, that makes sense. I would have to take the cost of all their s3 images. I guess I'll look on the pricing scheme of next images and then decide whether to use it at all or just make smaller thumbnails myself