ccgargantua

@ccgargantua@fosstodon.org

Engineering student that programs sometimes. I like C but like not in a cringe way yk Professional echo chamber escapist.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

ccgargantua, to LLMs

Just tested this out. I love this application of (I do not speak Spanish, I used a translator)

ccgargantua, to random

😋

ccgargantua, to random

i have awoken

xexyl, to random

Did you know that the #C operator ‘=‘ has two meanings? It’s true!

One is assignment but the other is the ‘it is now operator’. Here’s how it works. Example code (disclaimer: typed on iPhone):

if (answer = 42) ;

Is answer 42? It is now! And contrary to what some might think it actually can be useful! Sometimes I use it.

Credit of the joke goes to the old book Pointers On C. I read it years ago but this has always stuck with me.

ccgargantua,

@xexyl Always used this for school assignments where I needed to read files byte-by-byte and checking for EOF in a while loop. Haven’t used it since because of readability/stylistic preferences.

sprocket, to random
@sprocket@fosstodon.org avatar

Supposed to close on my new house tomorrow. 🤞

ccgargantua,

@sprocket Fingers crossed and congratulations!

b4ux1t3, to retrogaming
@b4ux1t3@hachyderm.io avatar

I’m looking for YouTube recommendations! I’ve been watching MattKC for a little while now, I’m wondering if there are any other channels anyone would recommend around .

You can skip RetroRecipes or Adrians Digital Basement, or things like that (already subbed), I’m more interested in the sort of late 90s-mid 2005s software or hardware reverse engineering right now.

Open to Blogs, Fediverse profiles and hashtags too!

ccgargantua,

@b4ux1t3 I don’t even have the words to describe how good this video is.

https://youtu.be/jOyfZex7B3E?si=hm26Iuy1r7hP4Mug

ids1024, to rust
@ids1024@fosstodon.org avatar

I've just realized that #C seems to use virtual function calls much more than . Which is a bit interesting given Rust has virtual functions and C doesn't.

ccgargantua,

@ids1024 What do you mean by virtual function calls? Please explain in terms of C, I don’t know rust :)

ccgargantua,

@ids1024 Do you mean something like vector2f_add() vs vector3f_add() and similar?

ccgargantua,

@ids1024 What a great explanation. Thank you so much!

ccgargantua, to random

Finishing off a long day with some beer and chili 💪

ccgargantua, to random

Today has been both the shittiest and best day of the year so far

pnutzh4x0r, to pokemon

Another week, another . This time I solved:

https://leetcode.com/problems/longest-subsequence-with-limited-sum/

I probably should have done binary search, but IDGAF, so I just did a straight-forward linear search (my time is more valuable).

#c

ccgargantua,

@pnutzh4x0r Good work!

ccgargantua,

@pnutzh4x0r Ofc. Btw, I’m from Indiana :) and my current Controls professor got his PhD at ND. Just a little fun fact

thomasfuchs, to retrocomputing
@thomasfuchs@hachyderm.io avatar

Hi, here’s an old computer

ccgargantua,

@thomasfuchs This picture is sex.

walkerb, to Dogs

Time for the last ride of the day to dreamland with my boys.
Goodnight all.

ccgargantua,

@walkerb I always look forward to these posts, especially since I am 600 miles away from my own dogs for the school year. Thank you.

ccgargantua, to hardware

Would anyone be interested in seeing a small project that demos systems?

ccgargantua,

Very simple, I’m thinking a small perf board circuit that uses a closed-loop control system to try and automatically regulate the volume of a buzzer in response to the output volume.

ccgargantua, to foss

I learn a lot from you, community. Thanks for being so great.

ccgargantua, to mastodon

Can anyone on drop a guide in a reply for blocking instances and just getting politics out of my feed? I don’t want to delete Mastodon but I really don’t want to see the same BS that made me leave Twitter.

ccgargantua,

@BryceWrayTX Tysm!

ccgargantua,

@FinchHaven Thanks so much!! This is super helpful.

williamgunn, to random
@williamgunn@mastodon.social avatar

"Hey, look at this terrible thing that happened to someone" posts are the worst kind of posts and I'm sad to see an uptick in those here.

ccgargantua,

@williamgunn I don’t even know which is worse.

protecttruth, to random
@protecttruth@mastodon.online avatar

One of the biggest obstacles to fixing this country is Senate Dems’ desire to be bipartisan with the fascist party.

John Fetterman is the most likely candidate to lead Dem Senators out of this.
These are great:

https://www.businessinsider.com/fetterman-biden-impeachment-circlejerk-fringe-right-hunter-biden-fetish-2023-9?inline-endstory-related-recommendations=

image/jpeg

ccgargantua,

@protecttruth And as a side note, that election and the entire resulting presidency was rough on him. There is a reason (well, many) he didn’t vote in the last.

ccgargantua,

@protecttruth And one last side note, I am a personal fan of “All politicians are fascist”. I don’t think there is a single candidate without at least one white billionaire in their pocket.

ccgargantua,

@protecttruth You still haven’t given me any reason why you think they are fascist other than they are funded by rich people and trying to change our system. Both parties are heavily funded by very wealthy lobbyists. So if rich people are a problem, it falls into that category. On top of that, the Democratic Party has made numerous changes and attempts at changes to our system. Both parties have. And I’m not saying that’s always a bad thing, a lot about our system needs to change

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • GTA5RPClips
  • Youngstown
  • everett
  • slotface
  • rosin
  • osvaldo12
  • mdbf
  • ngwrru68w68
  • JUstTest
  • cubers
  • modclub
  • normalnudes
  • tester
  • khanakhh
  • Durango
  • ethstaker
  • tacticalgear
  • Leos
  • provamag3
  • anitta
  • cisconetworking
  • lostlight
  • All magazines