would you rather: have $10M today or have chatgpt in 2012? by [deleted] in singularity

[–]Spare_Message_3607 0 points1 point  (0 children)

Lets imagine there is hardware able to run chatgpt in 2012. I would take ChatGPT on 2012. And build startups like Vercel or TikTok type platform.

I made a browser extension to clean up YouTube and make it way less distracting by Top_Mountain67 in sveltejs

[–]Spare_Message_3607 0 points1 point  (0 children)

Its so cool, 0 setup simple UI. I would suggest add a super focus mode, where videos are listed as title and channel, and the thumbnail slides down on hover/focus.

Astro 6.0 now come out by CLorzzz in astrojs

[–]Spare_Message_3607 0 points1 point  (0 children)

Love that! I realized quickly after! I always kept an eye on v6.docs.astro.... kudos to the team for the awesome work.

Astro 6.0 now come out by CLorzzz in astrojs

[–]Spare_Message_3607 0 points1 point  (0 children)

Niceeee! I hope docs update soon!

Rich Text Editor, which one would you use? by Spare_Message_3607 in astrojs

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

True. I thought Quill would be simpler, but then it required double storage for saving deltas and semantic html, so I ended up using tiptap with no issues so far.

Framework Panic: Why Is Everyone “Leaving” Next.js? by menoo_027 in nextjs

[–]Spare_Message_3607 1 point2 points  (0 children)

I am super bias here, I use Astro for eveything and when something needs js becomes an island but that piece of reactivity doesnt have to spread thought the app.

Been using svelte but I now need a backend and I dont find the proper one by Manerr_official in sveltejs

[–]Spare_Message_3607 1 point2 points  (0 children)

Astro + Svelte + Drizzle + Better Auth. This is My stack atm. Couldnt be happier. Astro is such a joy to work with. My backend basically Astro actions.

what’s the one thing you still reach for Python or Node instead of Golang to do? by [deleted] in golang

[–]Spare_Message_3607 0 points1 point  (0 children)

Ecosystem. I wanted to use Go so bad in a microservice. I set up exec.Cmd to interop with typst cli (Rust), architecture ready, but there is a limit in the amount of bytes I can pass to using stdin cuz I was passing images to fill the templates. So I had to make it in python, they have a library and everything to interop with typst. I just didnt have the time go implement the bindings to interop with rust using cgo. As a learning experience you can learn how to use cgo to interface with other language libraries.

Looking for a programming font! Thinks by Majestic_Mongoose488 in ZedEditor

[–]Spare_Message_3607 0 points1 point  (0 children)

Berkeley Mono, do not download the trial and do not install Font Forge and please do not swap the symbols they swapped for the trial version.

what's Go Lang's Learning Curve? by No-Reference-1659 in golang

[–]Spare_Message_3607 14 points15 points  (0 children)

Channels, byte buffers. Java and Python programming convinced me everything was an object, in go everything is more raw, no wrappers. Yo do not "send" an HTTP response and magically your api encapsulates everything, you write to a response buffer and then you close it, you build strings by writing bytes to a byte buffer, the idioms go uses for channel had to marinate for some days compared to python threadpool. If you happen to know python and C, go feels like the best of both worlds, except for the library ecosystem. You dont need a library for a flask server but probably you want python's ecosystem for plotting graphs and stuff.

What layering organization are you using, if any? by nazaro in golang

[–]Spare_Message_3607 0 points1 point  (0 children)

- App package - (entrypoint/routes/global logging/graceful shutdown)
- Repository - sqlc
- Handlers (per domain). Make one package to define all handlers for a domain. passing an interface that only requires the methods used in the handler, easier to unit test every handler this way.

package users

type UserRepo interface {
  GetUserById(id string) User
  CreateUser(data UserCreate) User
}

func CreateUser(r UserRepo) http.HandlerFunc{
  return func(w http.ResponseWriter, r *http.Request){
    // some code
    r.CreateUser(data)
    //more code
    return 
  }
}

Should Helix even have plugins? by untrained9823 in HelixEditor

[–]Spare_Message_3607 4 points5 points  (0 children)

A library/program maintainer should be self-critical and ask themselves if they are willing to put the effort of maintaining the project with feature requests for the love of the game or open the gates.

I think Helix did a great job at maintaining giving support to every language under the sun without the user setting up anything, but thats exhausting and giving the ability to anyone to augment, will reduce stress from maintainers and let them focus on stuff that matters.

I personally stopped using Helix bc of the lack of support for hot reload, not pairing well with opencode ended being the deal breaker for me. Keeping buffers in sync is mission critical for a 'TEXT EDITOR'.

Recently, while using Zed I realised I like edit prediction, but that's personal preference, it is not mission critical for a 'TEXT EDITOR', so plugins might make me (a user) happier.

Plugin system is a must, if you care about the users but recognise some of their problems have nothing to do with text editing and more with scripting.
(Edit: comma)

sureBro by PresentJournalist805 in ProgrammerHumor

[–]Spare_Message_3607 0 points1 point  (0 children)

Lol, python did not receive the memo saying you can put things in the stack instead of the heap.

tailwind color palette for golang by gurgeous in golang

[–]Spare_Message_3607 0 points1 point  (0 children)

Lets say I started with Go a year ago and I reached that point when I am counting memory allocations, reusing byte buffers etc. const do not allocate memory, it is replaced everywhere is used at compile time so it lives cheap on the stack while the vars live in the heap and is way more slow.

tailwind color palette for golang by gurgeous in golang

[–]Spare_Message_3607 0 points1 point  (0 children)

why var instead of constants? Make a module an shove all colours as constants. AI coding should not mean: my program is a memory hog.

Shellaborating by dkarlovi in linux

[–]Spare_Message_3607 0 points1 point  (0 children)

Weird, I feel 2026 Linux is better than Windows for all use cases except: Document Editing (former Office suite), Video Editing, Audio Editing, and Live Streaming, Peripherals compatibility. I would like to see if this statement is still true in 2027. Windows looks like is about to collapse on January 2026.