Details
-
AboutStudent || Developer
-
SkillsReact Python JavaScript Git
-
LocationMakeni, Sierra Leone
-
Website
-
Github
Joined devRant on 12/15/2022
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
-
what I want is for AI to spot logical inconsistencies in my code and debug it
specifically a complex multi threaded form...
raaghhh
stupid tokio having no damned mutex debug tools3 -
So I'm expected to solo develop one fullstack project, support 2 guys with the backend of a second project, mentor the backend intern as he solo develops a third project (that has a horrendously poorly defined scope), fix bugs with a fourth project, figure out what's wrong with the legacy spaghetti code on an even older fifth project that has a version of the framework so old it not only isn't supported, but isn't even well documented, add a couple of features to a sixth project in two days, conduct the technical interview for the new interns or hires, code review their shit if the company decides to send them a test, handle the deployment of our projects to aws and be the acting tech lead on a team that has close to no time to write unit tests?
Starting to feel a bit hopeless.10 -
Got any git tips that everyone might not be aware of?
My tip is fixup and autosquash!
If I'm working in a branch with many commits and I notice that 5 commits ago I made a tiny mistake on commit 'abc123' then I'll just do `git commit --fixup abc123`.
It's similar to `--amend` but you can do it for any commit.
At first this would be a separate commit. But next time I wanna rebase I'd just do `git rebase -i --autosquash origin/master` and it'll be squashed into abc123
Some article that explains further details:
* https://gist.github.com/naviat/...
* https://blog.sebastian-daschner.com/...
After discovering I had been unaware of this for years I figure there must be other similar useful git things I might be unaware of3 -
I'm sorry little unused tuple, I know you want to show who you are but if I let you, nothing will be orthogonal and you know that daddy just can't have that. Hey, at least I didn't disintegrate you like bad Mr.Black does everytime I look away, so heads up alright? :)9
-
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 ** -
Is there any game engine with actually good support for SVG? I want to do some 2D animations but I don't want to do it with goddamn png sprites like some caveman.14
-
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 AHHH14
-
Hey Devs! I recently had so much coffee I began shaking. Actually Insane! My wife said I was like her vibrator. HaHa! Works been good lately, so excited for the holidays so I can kick it back and relax.10
-
"Microsoft Visual Studios 2022 Community Edition"
or
"Microsoft Visual Studios 2022 Communist Edition"
Get to work on porting C++ code to C#. It will be a fun change of pace.25 -
How the hell do I plan and put in place new procedures for testing and THEN updating software on our department server 😫 (a 7zip bug got us good recently lol)
why couldn't this be a procedure before I started working here. I don't know how to create a procedure document. What if I forget to write a step
Fuck I just wanna go back to my code not a word document3 -
I fucking swear. AI this, new frameworks that, but every fucking company I get hired by has a deluge of files that are thousands of lines long.
It's not a new concept to split up files. It's not difficult to progressively split up files as you work on them. And yet so many programmers apparently can't fucking stop for quarter a second to think "hmmm maybe adding another function to this thing that is already 20 km long might not be the best idea".3 -
For a moment I thought work laptop died because the screen suddenly went pitch black but it was just Windows deciding it was a good time to update graphics drivers. It crashed the emulator I was running btw.2
-
figured maybe you can specify dependencies specifically to be used in main.rs (as a standalone executable) or lib.rs (as a library)
since for some reason there's dev-dependencies which specifies they will only be used in tests or whatever
well rust actually doesn't compile code that wasn't ever called / would be run (and nags you about code you have but didn't use anywhere). this means binaries are smaller and all that. i've known about this but seemingly the AI insists nobody needs to specify dependency differences between main.rs and lib.rs because of this quirk of rust compiling
ok well then why the hell is there a dev dependencies and a normal dependencies then?
well no good reason.
- "intentionality" -- how about the clarity of intentionality between being an executable or a library?! no? guess not
- build optimization, because traversing usability graphs can be taxing especially in big projects. ok. again still applies to executable vs library problem
- "community and ecosystem practices". really? we've always done it this way? shove it 🙄😩. you try to innovative and then willfully inherit the problems you solved of other languages... because that's how we've always done it. lame
double standards. so annoying -
Since i needed higher quality data for retoor9b I invested some time in the statistics project. It became quite decent. It's not a silly script anymore.
I also had rank per user regarding popularity (upvotes / post avg). It got lost somehow. I only know that IHateForALiving has second place. Root 10th. Netikras 14th, Lensflare 15th). First place was by not regular user who made one post with six upvotes. That's all. Hihi.
Repository: https://retoor.molodetz.nl/retoor/...
Dataset for LLM: embeddings:https://retoor.molodetz.nl/retoor/...
Graph compilation with ALL users active last few weeks:
https://retoor.molodetz.nl/retoor/...
All generated data by this project: https://retoor.molodetz.nl/retoor/...
Build / latest export status: https://retoor.molodetz.nl/retoor/...
In the LLM dataset you'll see more interesting data for every user like:
Statistics: User(ranter) retoor made 505 contributions to devRant(developer community) what means retoor owns 1.0 percent of contributions on devRant(developer community). The avarage post length of retoor is 219 and total post length is 111037. retoor owns 0.0 percent of content on devRant(developer community).
retoor is 315 times mentioned on devRant(developer comminity).2 -
I will not miss you bitch. See screenshot. I received new hardware. I will use a laptop with good specs as server. My dad bought it from his previous employer because he went for retirement. It has an ultrabook-grade 11th gen processor and he only bought it for 350,- euro. His former employer was a school, they don't give a fuck about money like a commercial company would do in such case. It's originally bought with tax money anyway.
https://llm.molodetz.nl is currently online but not for long, i hope to have smth running at end of the weekend. Probably a 7b model. I have plans with it that require some performance so I won't use the heavy ones.
Retoor1b currently is 0.5b or 1.5b. I forgot. The models with lower parameter count are a bit more naive and trainable like a kid. They're also not very biased yet. So, that will be my main new challenge. How to make a chat bot unethically human. No political correctness under this roof.
Would be nice if i could make it a bit like bratgpt. Sounds like a joke, but that model is expensive as fuck. You'll be shocked. But i would like to implement some sarcasm in it. A bit unpredictable. But normally such configuration escalates into very weird behavior.
My 'server' has a freaking 4K screen and i'm working on a decade old laptop. But seriously, the keyboard of the new one sucks. Nothing beats a x270. * tik tik tik * rakketakketak *. My previous x270 missed four keys. The three x270's i had, all had familiar experience but still different. The other two would never lose a key I guess. I configured the new 'server' that it safes battery, configured for mostly on AC.
I'm living on limited amount of cash (and will work again when i will run out). That's why i normally don't spend money myself on such things. So i'm now very happy. Fuck, this was about to be rant about how much my AI sucks but it ended in happy stuff. Oh well...
If you're still reading, you're the best!
Edit:
Images uploading broke again. Here is link: https://devrant.molodetz.nl/llm.png9 -
Used to think I was a hot shit programmer. Self taught (mostly) and could make all sorts of shit happen. Then I started reading other people's codebases. I got a huge dose of humility. Learned a lot from other codebases in the process. Eventually after a lot of languages and lot of practice I got a programming only job. Started reading through the codebase. Holy shit there are way worse programmers than me. There is some really good code in there too, but 20 year old wtf code too. I assume my perspective comes from seeing what good code can be. I still have a lot to learn though. That is the fun part. You can spend a week on a minute detail of one language or one concept.
So here are a few fun questions:
1. What is the worst code, codebase, or programmer you ever met?
2. What it the best code, codebase, or programmer you ever met?
I have seen a few codebases on github that just told me to walk away. Some of the best code I have found has been in game engines. Probably because I look at a lot of game engine code (sampling bias).
The coolest library I have used has been Construct (Python lib). It is a reversible protocol library. It can deconstruct or construct a data stream.
Leaving the off by 1 or more error in my post.31 -
I really dislike it when non-devs ask devs: "I don't understand. What could be so hard about coding?".
Grumble. FredFlintStoneGrumble.14 -
What is it about long winded articles for a two second one click solution?
A quick search to find out how to change the control panel to classic view in windows 7. (because I forgot and the windows Operating system is no longer intuitive and Dev-friendly).
Search engine: (Insert hundreds of articles here!)
Solution: Click on large Icons where it says "View by".
Search engine: (Enjoy sifting through this pile of results written by thousands of gas-bags, you looser!).
Rocking back 'n forward sitting in the corner of the room holding my legs against my chest: "Shut up, I forgot okay!"
Why would it not just Say "Classic view"?1 -
We are in AI era but screen readers and softwares for disabled people are still immensely retarded, so we still have to do accessibility by hand, now enforced by EU.17
-
Week : 63 ( Year 1 )
How was the weekend?
Which is your favorite planet, and why?
Previous Week : https://devrant.com/rants/1141829925