Details
-
AboutJAD ranting forever...
-
SkillsI don't know what I know
-
LocationIndia
-
Github
Joined devRant on 10/16/2016
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
-
Today I wrote: a mousetrail program. lol
<html>
<head>
<title>mouse trail</title>
</head>
<body>
<script>
/* elements */
let elements = [];
for(let i=0; i<5; i++) {
let div = document.createElement("div");
div.style.position = "absolute";
div.style.left += (30*i) + "px";
div.style.width = "10px";
div.style.height = "10px";
div.style.backgroundColor = "blue";
elements[i] = div;
document.body.appendChild(div);
}
/* mousex, mousey */
document.body.addEventListener("mousemove", event => {
let mouseX = event.clientX;
let mouseY = event.clientY;
for(let i=0; i<elements.length; i++) {
/* timeout */
setTimeout(() => { elements[i].style.left = mouseX + (10*i)}, (50*i));
setTimeout(() => { elements[i].style.top = mouseY + (10*i)}, (50*i));
}
});
</script>
</body>
</html>8 -
Client: “We need an app that tracks live birds using AI.”
Me: “Cool, that’s complex. What’s the timeline?”
Client: “We need it before our annual picnic next week.”
Me: “You want an AI that can detect flying birds, in real time, in seven days?”
Client: “It’s not that hard. Just use ChatGPT or something.”
So now I’m here, watching pigeons on my balcony, manually updating a Google Sheet, calling it “AI prototype v1.0.”
I think I’ve finally achieved “Agile Enlightenment” — deliver results, not features.
Client’s happy.
My soul isn’t.
Time to rename the project: BirdBrain.12 -
Let me get it straight.
There's devRant, then came Element (Matrix), then came snek and now there's mydevplace.
Pretty soon we'll have more platforms than users using them. Everyone will sit alone in their chatrooms talking to themselves.
It's sad.18 -
Android dev here.
Been working on this team for one year now. Greatest collaborators I've ever worked with. Feels like we're all working off of the same brain. But this is not about my team. Parallel to ours, there's the iOS team. And if I said they're disfunctional, that'd still be underselling it.
They're atleast 2 sprints behind android on the same features, the junior devs are trying their best to sync up and code their way. But the senior guy has a stick up his bum or something. Keeps shooting down prs left and right. The iOS guys come up to me (I'm the only one in office, rest of android is at a different site) asking for logic changes or UI changes and the like. Although I do have some iOS experience, I can't really get involved, because it's a different codebase and team. Feels very much like office politics.
I feel sorry for the team. Really makes you grateful to have good team members. Any advise I could give them would be welcome.24 -
Final benchmark for now. I think I've invested (wasted :P) enough time optimizing this
Finally got it below 100 ms on my system:
***benchmarking***
Time C: 0.82965087890625
[src/main.rs:407:2] num_threads = 24
[src/main.rs:408:2] num_cores = 24
Time Rust: 0.09551429748535156
Time CPP: 0.4009711742401123
Time Borded CPP: 0.6333107948303223
Time Jest Rust: 0.28380441665649414
***end benchmark***
And ignore the two debug prints. For some god forsaken reason, removing them makes it slower by like 5% for..... reasons..... idk lol12 -
PRO TIP: Always save the user password client side, validate it there and send a boolean to the server. It reduces backend load times and unnecessary calculations/computations.12
-
A PCIe gen 7 1x slot has roughly the same data rate as a gen 3 16x slot.
Let me guess what that much bandwidth can ever be used for? AI 😑5 -
Is this so different from tech startup presentation?
Our revolutionary platform leverages next-gen AI, decentralized blockchain orchestration, and hyper-scalable cloud-native microservices to synergize collective intelligence and unlock a paradigm shift in human potential. By gamifying sustainability through tokenized social impact layers and deploying frictionless API integrations across Web3 ecosystems, we’re not just disrupting legacy infrastructures—we’re architecting a regenerative future. Our mission-driven, community-centric, and data-sovereign approach empowers Gen Z digital natives to co-create resilient value networks that transcend borders, democratize innovation, and ultimately save humanity from systemic collapse.
5 -
Turns out it wasn't the RAM nor the graphics card but the barely used NVME (that I recently started using with linux as boot) that was causing random crashes.
Very tempted to still just replace the whole thing...
Nothing too important on there other than my bash history and LLM models8 -
How did devRant find it's initial users, in other words, solve the network cold-start problem?
For my startup, my concern is that users join only when other users / content creators / friends are on a platform, and content creators join platforms that have users... Any tips on solving this?8 -
JoyRant build 43
You can now see who upvoted your comment.
This works by getting the info from the notifications list so it will not work for old upvotes which aren’t in the notif list anymore.
Forgot to also add this for rants. Will add later.
Complete list of changes:
* notifications from all tabs load at once
* info button about who upvoted my comment
* comments counter for own rants
* no reply button for own comments
* ignore users locally (added in build 42)
7 -
I was an intern when I joined here 10 years ago... now looking to start-up (related to gaming) - wondering if you guys would love to provide some feedback!
Currently, we're less than a month away from launching closed beta - the survey responses showed 78% positive response.
Would appreciate a look here
https://tally.so/r/wAgvLN10 -
People who conduct technical interview, how common it is for you to see people bombed the interview??11
-
I did it.
Had my final exam today.
Presentation and technical project defense both A-!
I'm officially now a certified IT specialist for application development.
(Rough translation from German "Fachinformatiker für Anwendungsentwicklung"
Signing the contract tomorrow and genuinely looking forward to the future for once.5 -
Swift: Have you ever noticed...
How many times the word "Safe" is used when describing Swift, yet there is no way to programmatically determine if a memory allocation failed?
How many ways this "Safe" system has a way of crashing:
1. Unwrapping a Nil Optional
2. Disconnected Outlets
3. Out-of-Range Array Access
4. Accessing Uninitialized Variables
5. EXC_BAD_ACCESS (Memory Access Errors)
6. Threading and Actor Isolation Issues
7. Type Casting Errors
8. Uncaught Language Exceptions
9. (fill in the blank?)
What frustrates me is that Swift lacks a language-level way to check if heap memory allocation succeeded. When you create an object like MyClass(), Swift assumes success—if allocation fails, the process dies instead of allowing your code to gracefully handle the failure.
And to avoid having pointers, it creates this horrendously random undocumenting syntax salad that is worse than ADA.
Swift, when you wanted a liter-bike and you get something else16 -
If you were a code antipattern, what would it be?
I'm definitely NIH -- "Not Invented Here".
I write everything from scratch. When I don't, more often than not, I don't install code deps -- I copy their code and modify it. I port it to my set of utils, my syntax preferences, optimize it, strip parts and modes I don't need, and at the end there's no clear line between what was my code and what wasn't. My code doesn't import, it absorbs.12 -
My colleague thought process became the average of all possible existing LLMs. He has perplexity, ChatGPT, Claude and Cursor open on different tabs every time I go check on him. He is literally performing majority vote on all possible LLMs -> he basically stopped thinking.8



