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
Feed
All
Post Types
- Rants
- Jokes/Memes
- Questions
- Collabs
- devRant
- Random
- Undefined
Cancel
All
-
Quite some people had fun on https://drmap.app.molodetz.nl/ i see. That's cool. Forgot to mention that it only works on laptop. On phone you can't move and such. Moving is holding right mouse button BTW. Some people made things of grid. Respect.
Never was interested to make something game-ey (besides when I was a kiddo) but it motivated me a bit.
I wonder what I could make from it, this is clearly just a base for something. Does anyone has any idea how to add some game play to it? What would be fun...
Maybe drRisk is a good idea, conquering territories.
Opinions?3 -
I'm sitting here realizing that Software Development and Computer Science in general, heck, STEM, is the most difficult skillset to endure because of the stress we go through as well when dealing with the workplace, especially the workplace.
I looked up how hard Computer Science is versus Advanced Physics and it is rated 40 vs. 80, the latter being doubly difficult. Now I got to thinking: Could it be us as developers are experiencing near-80 difficulty because of the stress we are put through to rush through deliveries at work? Maybe it's a 50. Hm, hm.
What a delight it must be (no sarcasm) to be able to research and perfect something for 20 years without people breathing down your neck about deadlines.. aaaahhh... lol.1 -
https://boomjacky.art/about/
Do you see the first image saying "THE BURN"?
Open this rant to know the story of this image.3 -
JavaScript keeps surprising me, or I'm just rushing. lol
class Group {
#group;
constructor(){
this.group = [];
return this.group;
}
add(item) {
// only if it isn't already a member
// value can be part of set only once
if(!this.has(item)) {
group.push(item);
}
}
has(item){
// return boolean: item member of group
for(let i=0; i<group.length; i++) {
if(group[i] === item) {
return true;
}
}
return false;
}
let group = new Group();
group.add(1);
console.log(group);
Error: group.add() is not a function
Why is group.add() not a function?
A.I. analysis:
1. Private field vs public field:
A private field #group can only be accessed as this.#group. But in the constructor, I wrote:
this.group = [];
This creates a new public field, unrelated to #group.
2. Returning from constructor:
return this.group;
In JavaScript, a constructor automatically returns this, which is the instance of the class. Returning this.group replaces the instance with the array. That’s why after new Group(), your variable group is just an array, not an instance of Group. Arrays don’t have the add method — hence the error.
3. Referencing group inside methods:
group.push(item);
Here group is not defined. You probably meant this.group (or this.#group if using the private field).
Note to self: in the magic of computer science, you must be precise. If I loosely define the black box, the result will have a chance of producing anomalies.. kind of like reality. lol8 -
the thing with getting brain issues is you realize all you've invested in yourself was for naught actually
and we always think of that as the most stable investment plan
so now what. I guess I should've invested in external stuff6 -
I can't fcking believe it. Trying to install bacula 15 and there is no way to install it without postgresql 14 being automatically installed.
Where are the days of user_name and password config in the software itself they use some ficking `/etc/dbconfig-common/bacula-postgresql.conf`
who gives a shit about dbconfig-common, I want to run pgsql form docker container, let me my own user name and password to /etc/bacula/conf-fcuk-sake.conf -
damned cucumbers been slowly going from 2$ to now 5$ per pack. even my crypto gains are entirely wiped out by this inflation
need a job. don't have a brain to even do a goddamned thing. may as well die I guess7 -
readability...
if !rooms
.get(&name)
.map(|turf| if let Turf::Mine = turf { true } else { false })
.unwrap_or_default()28 -
I've done it. about a decade ago a rich middle eastern co worker of mine, whom we were the greatest of friends, got on my case about how I should bitch to my ISP and whatever else to get good deals. I laughed and said that wasn't me, fully knowing this trick already. he kept at it, being fully serious in teaching me this skill cuz goddamn I'm too nice to people, people tell me all the time, I guess?
well I've done it. was so fed up and fatalistically depressed yesterday I wrote a bitching email and sent it on a "fuck this shit" whim. now I get an email back telling me how valuable I am, how invaluable all my feedback was (multiple times, and there was a lot), and evidently I'm getting escalated to management. I don't even know what I want I'm just PMSing honestly. fuck this world man
oh yeah I don't have income but need to fix my laptop. fatalism. all I can do is spend money and yet I feel miserable anyway because everything is imperfect. I swear it must be these anti dopamine pills they gave me. I'll be medicalized into homelessness I bet! IF I KEEP BITCHING WILL ALL MY PROBLEMS BE SOLVED. GUESS I'VE REACHED THE POINT WHERE THAT'S AN OPTION FOR ME NOW10 -
Week: 107 (Year 3)
How was the weekend?
Question: How often do you work out?
last Weekend : https://devrant.com/rants/192256375 -
Why did the digital marketer break up with the calendar?
Because they didn’t get enough engagement on their dates! 📅😂 -
Apparently Guillermo Rauch, creator of NextJS and CEO of Vercel, and a fellow citizen of Argentina, is fascist. :( So much for the pride he inspired.31
-
Nothing worse than having to wrangle multiple coordinate systems for model files and your engine. Extra points when one is left handed and one right handed
I actually want to die5 -
7up decided to sponsor me. The randomness of a soft drink company wanting to sponsor a tech YouTube channel is making me laugh.4
-
A bunch of deja-vu moments lately where I question my sanity as I thought I already fixed that part of the code and I can remember hitting the keys to commit. And I have only 2 branches, where one is newer. I already fixed thungs in the newer one. Yet somehow re-encounter the code to fix, when I switch to the new one.