Details
-
AboutSoftware Developer
-
SkillsJavascript, React, Node.js, Express.js, HTML, CSS, SQL, Perl
-
LocationNew York
Joined devRant on 10/10/2020
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
-
Just learned that the existing US administration is going to restrict AI to a just a handful of allowed companies. They are talking about limiting AI like they did physics during WW2.
If you don't hate your government then you don't know the evil shit they are doing.
Not sure what will happen come January.11 -
So yeah... This guy just copied and pasted the same 5 lines over and over again. 5 lines that do the collection of values for variables, setup call, and then an API call for different CRMs based on name. Repeated 7 times for each of the CRMs that we support. On top of the insane switch statement which is actually only used once to check if it's not null and matches within the switch statement. See the following loose but true example of this shit show I'm dealing with.
```pseudo-code-example
switch(crm)
case crm1
case crm2
case crm3
// (keeps going like this)
var temp = true
default
var temp = false
if (temp)
if (crm="crm1")
crm1.setup()
crm1.values(foo, bar, baz,...)
...
if (crm="crm2")
crm2.setup()
crm2.values(foo, bar, baz,...)
...
// Yup still keeps going like this
```
This absolutely insane mess was finally refractored by me to be an actual factory and not this absolute senseless murder to my mind.1 -
Got my dad to try Fruity Loops so that he can compose with his Tyros 3 keyboard on the computer. If he likes it, I will buy producer edition (that one can also record, that's why) for his bday soon. For Christmas I already ordered midi to USB cable for him. Finally I know what to give to someone who already has everything. He needs stuff for his stuff :p
It will be much fun experimenting together with it. My dad can go very hard on new things, he always becomes a pro in it.
I hope it will be just as nice as the time we spent together on Autocad. He later even made Autocad exams for schools.
He learned me how to install windows 3.11 as very little kiddo.
I like my dad doing computer stuff. It's the moment we really bond.2 -
Writing maintainable code requires a lot of discipline, it’s so easy to get carried away and write spaghetti2
-
So I was trying to do a back end to a website, then boom, my hand hit the cup of coffee on the table right next to my laptop. The whole cup content poured right into my laptop. Uhhh damn I Wanna screen so bad3
-
Sid the IT guy: so change of plans: I probably can’t fly to East India this spring to fight you since I’m in college, shitty life circumstances, and I don’t have the funds, but I’m happy to reschedule the fight sometime in the future when I go to India. Potentially if you come to the US we could make it happen. I will also plan to be near Amritsar this spring if you wanted to make a trip out there…13
-
missing rust's infinite loops in other languages now
also now I don't like variable++ and it throws me off
also missing iterators. because you can consume part of them and don't have to keep track that some of a list has already been "used up" so to speak. now I have index counters and laaame (granted not having to wrestle with borrowing rules... actually just strangely feels weird)
also why must languages have different naming conventions. this is a disaster now because my reflexes for what I name variables is all over the place. now I find snake_case more readable than camelCase because the letters are the same height so you can skim for names easier, and by how many words which correlates to how specific a variable is to the logical loops at hand
I guess end of the day we just develop a handwriting style in code our brains like and the idea of having to change your accent every time you switch a locale sounds annoying6 -
All of you, take note of this date: 12/10/2024.
You get upvoted by green dots, be suspicious.
You see the same date on their profiles, be suspicious.
You see their profiles boosting spam messages, well, you better be fucking suspicious.
There's a bit shy of two hundred of them already, and the numbers will continue to grow. We are getting fucked in the ass, I repeat, we are getting fucked in the ass.
This rectal warfare PSA has been brought to you by [EXTREMELY CENSORED]1 -
Guys what the hell.
I clicked “update and shut down” and it honestly did it. It didn’t restart and leave my laptop running. It actually really for real genuinely earnestly updated and SHUT DOWN. Microsoft finally figured it out? They finally did it?????7 -
Trying out the new version of fasm, I realize it's good, and conclude I should update my code to work with it as there's small incompatibilities with the syntax.
So, quick flat assembler lesson: the macro system is freaking nuts, but there are limitations on the old version.
One issue, for instance, is recursive macros aren't easily possible. By "easily" I mean without resorting to black magic, of course. Utilizing the arcane power of crack, I can automatically define the same macro multiple times, up to a maximum recursion depth. But it's a flimsy patch, on top of stupid, and also has limitations. New version fixes this.
Another problem is capturing lines of code. It's not impossible, again, but a pain in the ass that requires too much drug-addled wizardry to deal with. Also fixed in new version.
Why would you want to capture lines of code? Well, because I can do this, for instance:
macro parse line {
··match a =+ b , line \{
····add a,b;
··\}
};
You can process lines of code like this. The above is a trivial example that makes no fucking sense, but essentially the assembler allows you define your own syntax, and with sufficient patience, you can use this feature to develop absolutely super fucking humongous galactic unrolls, so it's a fantastic code emitter.
Anyway, the third major issue is `{}` curlies have to be escaped according to the nesting level as seen in the example; this is due to a parser limitation. [#] hashes and [`] backticks, which are used to concatenate and stringify tokens respectively, have to be escaped as well depending on the nesting level at which the token originates. This was also fixed.
There's other minor problems but that gives you sufficient context. What happens is the new version of fasm fixes all of these problems that were either annoying me, forcing me to write much more mystical code than I'd normally agree to, and in some rare cases even limiting me in what I could do...
But "limiting" needs to be contextualized as well: I understand fasm macros well enough to write a virtual machine with them. Wish I was kidding. I called it the Arcane 9 Machine, A9M for short. Here, bitch was the prototype for the VM my fucking compiler uses: https://github.com/Liebranca/forge/...
So how am I """limited""", then? You wouldn't understand. As much as I hate to say it, that which should immediately be called into question, you're gonna have to trust me. There are many further extravagant affronts to humanity that I yearn to commit with absolute impunity, and I will NOT be DENIED.
Point is code can be rewritten in much simpler, shorter, cleaner form.
Logic can be much more intricate and sophisticated.
Recursion is no longer a problem.
Namespaces are now a thing.
Capturing -- and processing -- lines of code is easier than ever...
Nearly every problem I had with fasm is gone with this update: thusly, my power grows rather... exponentially.
And I SWEAR that I will NOT use it for good. I shall be the most corrupt, bloodthirsty, deranged tyrant ever known to this accursed digital landscape of broken souls and forgotten dreams.
*I* will reforge the world with black smoldering flame.
*I* will bury my enemies in ill-and-damned obsidian caskets.
And *I* will feed their armies to a gigantic, ravenous mass grave...
Yes... YES! This is the moment!
PREPARE THE RITUAL ROOM (https://youtube.com/watch/...)
Couriers! Ride towards the homeland! Bring word of our success.
And you, page, fetch me my sombersteel graver...
I shall inscribe the spell into these very walls...
in the ELEVENTH degree!
** MANIACAL EVIL LAUGHTER ** -
Microsoft. Ah, microsoft. That excellent company that made Windows. Ah, Windows, that excellent OS that it's team made WinAPI. Ah WinAPI. That excellent API that has WinMain. Ah W- FUCK WINMAIN IT RUINS EVERY PROJECT SERIOUSLY WINMAIN WINAPI GO FUCK URSELF HEY WINDOWS TEAM REFACTOR RECODE OR WATHEVER YOUR API AHHH9
-
Just a good old rant: I'm seriously impressed (depressed) on how much cringe of bullshit there is on Linkedin, each time I open the app I feel like I'm one shotgun mouthwash from stopping on using it.2
-
End of the year. Management announced that the project that our team has been working in for more than 4 years, will be killed.
Shit.13 -
Weekly Friday Fuck You All!
Have a great weekend! Fuck you...
Enjoy extra sleep if you can. Fuck you...
If you have a "fuck you" moment to share, please do. Fuck you...
It can be a "fuck you" or a "fuck me" or "wtf you" or any kind of "fuck" moment.
Also, one last thing: FUCK YOU!!!3 -
Smiling legendary golden boy #3 says:
HEY LETS PUT OUR INTERNAL GEMS IN THIS PROTECTED GEM SERVICE IT’LL BE GREAT :)
HEY EVERYONE SIGN UP FOR THIS NEW SERVICE! YOU GOTTA OR YOU WONT BE ABLE TO DEV! :)
HEY SO I COPIED THE INTERNAL GEM I WROTE INTO THE MONOLITH REPO INSTEAD OF USING THE SERVICE BECAUSE IM A FUCKING GENIUS :)
YOU WANNA USE IT IN YOUR PROJECT? HAHA GET FUCKED :)
jfcrant wasted a whole day on this jfc root tries adding an internal gem more like infernal gem legendary golden boys mr. smiley2 -
I love that this place is so solution oriented.
Post a rant anywhere else and you get people telling you "there there", but here you'll get 5 different ways to stop the issue (even if they're all retarded).9 -
Despite having programmed for quite a few years now, for some reason I keep thinking the filter function's predicate needs to be true for things you want to exclude, not things you want to include...
catalogue.filter(i -> i.quantity < 1)
was what I just tried to do when I wanted to fetch all the items still in stock... Why am I like this?13 -
@retoor please tell your AI bot, that we don't need it to make 20 comments on every post.
What the bot is doing is pretty great and cool, just let it be for that one task. It's role as a spam remover is fine, but giving it a 'human' like persona, where it starts acting like a real person chatting with ranters is downright creepy.
I'm not even joking.21 -
Well, the rant is because I have to go to Madrid twice a month, which is annoying.
But now I'm writing your GPU drivers, bitches 😂.
More concretely, for those who may care, gonna work in HLSL to spir-v conversion.10 -
Holy shit, the exr crate is one of the most overengineered pieces of shit I have ever seen
... well maybe nalgebra is even worse, but that's not a fair comparison. Nothing is worse than nalgebra
Check out this fantastic function: https://docs.rs/exr/1.73.0/...3