myCorner
210 subscribers
263 photos
26 videos
2 files
245 links
My, a human, corner of things on myCorner. Trying to learn not to teach https://dagimg-dot.netlify.app
Download Telegram
Forwarded from Frectonz
Devtopia Interlude #002 is out.

We talk about the tsc-go port in this one. We take a tangent to talk about the history of language compilers being self-hosted.

[youtube]
πŸ”₯4
ChatGPT Is A Joke.

Brah!! I just found out about ChatGPT's power consumption, and that shit blew my mind.🀯

According to research, ChatGPT consumes over HALF A MILLION kilowatts per day.😳

You probably don't know what that means right?πŸ˜…


But get this: that's roughly equivalent to the power usage of around 16,667 U.S. households per day.

Or to put it another way, it means that one days ChatGPT's consumption could keep 1,369 households running for an entire year.


So you're saying the bill is over $75,000 per day?πŸ€” That's crazy!


People are so invested in the fact that ChatGPT is going to take over the world.
Nah, bro! At this point, ChatGPT is going to take over the power grid!

OMG.πŸ˜©πŸ’… Why am I freaked out about the energy, than my actual job now tho?
Fuckin' Idk.πŸ€·β€β™‚
🀣2
πŸ˜‚πŸ˜‚ this is from personal experience
😁7
😁4🀣1
Forwarded from Sam's Archive
This media is not supported in your browser
VIEW IN TELEGRAM
the best caption to this video.😭
🀣5πŸ‘1
This media is not supported in your browser
VIEW IN TELEGRAM
The legendary [antfu] has a tool called [ni] that runs package manager command without you worrying about using the wrong one for different projects.

This tool has a specific command called nr which runs scripts found in the package.json like the common ones npm run dev, pnpm dev, yarn dev.

So today I got bored and made a terminal auto-completion for your scripts found in the package.json if you are using fish-shell (you should 😁)

[nr-fish-completion]

[Inspiration]
πŸ”₯9
If you don't know them you should check out [vanced.to]. I am currently using Youtube and Spotify (yeah they managed to make it work) downloaded using the ReVanced Manager.
Sam is cooking πŸ”ͺ
πŸ”₯4
If you were 30 failures away from your goal... how fast do you wanna fail?

#stolen_quote
πŸ”₯6
This media is not supported in your browser
VIEW IN TELEGRAM
curl has options for every letter in the alphabet πŸ₯±
😁2
This media is not supported in your browser
VIEW IN TELEGRAM
Spotify is always open in my first workspace whenever I start my PCβ€”my go-to for music, lo-fi, and focus sessions.

I initially used the Flatpak version, but patching it (πŸ‘€ [SpotX-Bash] users know) wasn't working as expected. So, I went hunting for alternatives and found the official [spotify distribution url].

Only one problem: it's .deb file, and I'm on Fedora. So every update meant manually:
- Downloading the .deb file
- Extracting it with dpkg-deb
- Moving it to a safe location
- Symlinking the binary & .desktop file for easy access

And as a true engineer, I took the longer route (πŸ˜‚): Automating it all!

I wrote a script that:
- Downloads and extracts the latest Spotify version
- Places it in the right location
and symlinks everything for easy use
- Checks for updates & installs them

Even though I update every 3-4 months (because Spotify rarely drops major features), at least I "worked on my Bash skills extensively" after my [PR] to [ab-download-manager]. 😎

I also implemented the strategy pattern to make it easy to add support for other distros.

Key takeaway - bash switch statements are ugly πŸ˜‚.

Check it out: [spotinstaller] or even better contribute support for your distro !
⚑5πŸ‘2
and I just bought Telegram Premium just to check it out, apparently 74.99ETB is 3.99$ 😐
😁4
This was fun to read and the comments πŸ˜‚

[Any bored older C devs?]