Details
-
AboutHi! My name is Gaetano, I'm a novice programmer, and I'm still a student. I also do music and stuff... Please check me out on SoundCloud (link below) or YouTube, if you want to (^◡^) See ya somewhere! 💙🎶💻
-
SkillsI know: C#, HTML/CSS, JavaScript, PHP, SQL, Csound. Currently learning: C++.
-
LocationItaly
-
Website
-
Github
Joined devRant on 6/6/2017
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
Potential client once asked for a clone of Amazon, for $5000, in one month. I did not take the project.7
-
the nurse just called to say that my moms heart surgery is done and it went well. shes now sleeping under heavy narcotics and anesthesia in the shock room. thank you GOD and Doctors 🙏🙏🙏❤️❤️❤️5
-
tomorrow, my mom has heart surgery. thats one of the most serious surgeries to exist. i hope and pray the advancement of medicine and technology has improved well enough for the results to be ok 🙏6
-
my mom is still in hospital but in extreme pain. she keeps crying and vomitting from pain. heart surgery is a serious fcking surgery not smth to joke ab5
-
Somebody claimed to be an "ex-McDonalds chef". This is right up there with "prompt engineer". Buahahahahahahaha!!!
I guess I should put on my resume: "Hardee's Chef - 2 years" hahahahahaha!!!14 -
Share your desk!
This is 80% of time my desk, besides this kitchen (also living room) table.
I can sit here for eight hours straight without standing up. No, I don't have any back issues or smth.
I wonder how your workplace looks like51 -
I am now a free man.
I got exempt from the military service by fattening myself up, I've never been happier for failing an exam (the medical exam) 😊
Now comes the time for extreme dieting and finding a job abroad to gtfo outta third world9 -
- clicks update and shutdown
- goes brush his teeth
- comes back, is welcomed by login screen
Man I love Windows6 -
The handle on the faucet in one of the bathrooms broke off today. You can still operate the faucet with some finger strength. It is just difficult. We also got a reminder today that we are not to be streaming video or music using the company wifi. They ask that we use our own bandwidth on our phones.
So on the bathroom door where the faucet handle is broken I placed this sign:10 -
Getting into a bed with fresh sheets after a long shower is heaven
Not many things would get me out of bed rn9 -
I did it, I found the fountain of youth. It is the cat fountain in my living room. Tragically, it was discovered by my daughter.
When she grabbed onto it, I tried to pry her off. But I was too late, she was nothing but a baby when I succeeded.
My wife likes to claim she was a baby before grabbing onto it, but what the fuck does she know.2 -
I hate mobile dev. I am doing iOS amd Flutter for 12 years. I want to do Rust stuff, blockchain and so on.
I need some mentor even though I have read two books. Should I find one or rely on ChatGPT?
Any Rust devs here? What is it like?25 -
Spent the weekend to configure my pc to be able to build Love2D to Android. Had problems with NDK, but it turns out that I need to install an old version of it (release 9 to be exact). Productive weekend ftw!
-
The Love2D documentation is so lovely to read, this has been my favourite experience learning a language.1
-
Lua users, have you used moonscript?
It's a little language that has it's own interpreter or can be compiled down to Lua and it's absolutely lovely (currently using it with Love2d).
Of course, as with most things, what I love about it also royally pisses me off sometimes.
For starters local has to be declared for variables, unlike lua.
Otherwise the variable goes to _
Also note, that some tutorials literally tell you the opposite.
all variables are local by default
unless you don't declare them
then they go to _ (throwaway)
Some tutorials get this wrong too.
all variables have to be declared local
except tables. failure to declare a table WITHOUT a local will cause things like
table.insert to fail with "nil" values for no god damn reason.
No tutorial I could find mentioned this.
Did you know we call methods with '\'?
By the way, we call methods with '\'.
Why? Who the fuck knows.
Does make writing web routes more natural though.
Variables in the parameters of new are declared and bound for you. Would have loved to know this before hand instead of trying
to bind to them like a fucking idiot.
Fat arrows are used to pass in self for methods.
Unless you're calling a method. Then you use backwards slash. This fact is unhelpful when you're a beginner and dealing with the differences between the *other* arrow, the backslash, the fat arrow, and the fact that functions can be called with or WITHOUT parenthesis.
And on that note..
While learning all this other shit, don't forget parenthesis are optional!
Except when they're not!
..Like when you have a function call among your arguments and have to disambiguate which args belong to the outer call and to the inner call! Why not just be fucking consistent?
But on the plus size, ":" is now used for what it should have been used for in the fucking beginning: binding values to keys.
And on the downside, it's in a language thats built on top of another language that uses it for fucking *method calls*, a completely
different fucking usage.
And better still, to add to that brainfuckery thats lost in the mental translational noise like static on a fucking dialup modem, you define methods with the fat arrow. Wait, was that the single arrow or fat one? Yeah the fat one. Fuck. But not before you do THIS shit..
someShit: =>
yeah, you STILL include the god damn colon just so when you're coming from lua you can do a mental double take. "Why am I passing self twice? Oh right, because fuck me, I decided to use moonscript." It's consistent on that front but it also pisses me off.
A lot of these are actually quality of life improvements disguised as gotchas, but when you're two beers in to a 30 minute headscratcher it sure doesn't fucking feel like it.
Nevertheless, once I moved beyond the gotchas, it was like night and day. Sure moonscripts takes a giant steaming dump all over the lua output, like a schizophrenic alcoholic athena from the head of zeus, but god damn, when it works it just WORKS.
Locals that act like locals? Check.
Sane OOP? Check.
Classes, constructors, easy access to class methods, iterators? Check, check, check, check, check.
I fucking hate ceremony. Configuration over convention is for cunts. And moonscript goes a long ways toward making lua less cunty.
If you've ever felt this way while using lua, please, give moonscript a try.
You'll regret it, but in a good way!6