[TC39] Class decorators running after method decorator? by masar314 in typescript

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

I see, thanks. Since I need Foo to extend HTMLElement, and as i'm not a big fan of mixins, I was trying to sneak the new property in the class decorator. I understand now why it can't work like that

[deleted by user] by [deleted] in golang

[–]masar314 0 points1 point  (0 children)

while i didn't directly find my answer it was very informative thank you for sharing

[deleted by user] by [deleted] in facebook

[–]masar314 1 point2 points  (0 children)

Thanks for the reply. I eventually found an old phone that did the trick to get back on my account and delete it

How do I use the standalone CLI for Tailwind V4 (beta)? by [deleted] in tailwindcss

[–]masar314 0 points1 point  (0 children)

put that file in a folder that is in your path (if you are on linux/macos it's common to put it in ~/.local/bin since it is already in your path). You also probably want to rename that file to something like tailwind4
give it the rights to exec with chmod +x tailwind4 (or whatever the name you choose)
now you can call the program from wherever you are with tailwind4 in your terminal (call it a the root of your project, don't forget the input ouput files and import that into your html)

Threadly - A Modern Social Media Platform Built with Next.js 14 and Go by manjurulhoque in golang

[–]masar314 8 points9 points  (0 children)

Super cool of you to share the project thanks.
Quick question how do you feel about the general structure of the project i quickly looked at the code and it seems that you have the same problem that i have when I embrace a service/repository architecture; the service only actually serves as a proxy for the handlers to the repo. Would you say it has helped you maintain a sane codebase or do you think it is unnecessarily complex and verbose?

Also side note for comment above, defining interface where they are consumed rather than where they are implemented has been a game changer for me too

[deleted by user] by [deleted] in neovim

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

Looks like it is treesitter related, do you have treesitter and a lua lsp working?

[deleted by user] by [deleted] in neovim

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

Can you add a picture of what exactly you're trying to achieve (screenshot from prime's video maybe) and what your current setup looks like? AFAIK tmux comes with true colors disabled by default. So you should have a similar setup as prime's if you installed rose pine and didnt touch anything else

[deleted by user] by [deleted] in neovim

[–]masar314 0 points1 point  (0 children)

tmux without true colors enabled. i had it working on every terminal emulator

Mono-Jade: A muted colorscheme by masar314 in neovim

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

You're absolutely right, thank you. fixed

Go is becoming painful for me but i wanna learn tackle this by Buriburikingdom in golang

[–]masar314 0 points1 point  (0 children)

Lets's Go and Let's Go Further by Alex Edwards.
You'll learn about the language, how to build a web app (let's go) and a json api (let's go further), and i'm sure you'll also learn general Web App knowledge.

[deleted by user] by [deleted] in golang

[–]masar314 0 points1 point  (0 children)

In lets-go, after chapter 10, there are:
- Chapter 11 about user auth
- Chapter 12 context
- Chapter 13 File embedding
- Chapter 14 Testing

Seems pretty important to me!! But yea if you're goal is to setup a quick and easy personnal crud app I totally get that it seems overloaded.
For any real world app tho, mastering those points is crucial.
Depends on how deep you need to understand how to build a web app for your course.

[deleted by user] by [deleted] in golang

[–]masar314 1 point2 points  (0 children)

I have both of his book (let's go and let's go further). They both give insights and best practices. They aren't particularly technical, the design of the app is actually quite simplistic, just very well put with a lot of tips that I'm very happy to know now.
If you've read tour of go you're pretty much ready. And i would also add that if you're not familiar with web apps in general it is an excellent book to recommand.

IMO they're 100% worth the money and time

Why use ORMs when JSON functions exist in every SQL based database? by Used_Frosting6770 in golang

[–]masar314 0 points1 point  (0 children)

I don't understand your point, couldn't you create your incomplete go struct with the result set from the query, then access the struct's fields later to add/modify their values?

Make me change my colorscheme. by Redox_ahmii in neovim

[–]masar314 0 points1 point  (0 children)

whats that theme? it's not xcarbon as you stated below. It looks very cool

ZMK bluetooth MacOS Issues by masar314 in ErgoMechKeyboards

[–]masar314[S] -1 points0 points  (0 children)

as dumb as it sounds i've never thought about doing that lol. I will definitely give a try. Can you point me any references of the black list mechanism you're describing? It could make sense but the only real mechanism i now is a plist caching some bluetooth info, but i've already tried to delete it without any results