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
Search - "rector"
-
Today,
First day of new dev class...
Teacher, "As you know Tablets, Smartphones, Smartwatches etc... Are not allowed in class, except Laptops."
Me,
"Is a Surface allowed?"
Teacher,
"Is it a Laptop?"
Me,
"Yes, but also a Tablet.."
Teacher,
*Furious*
"NO TABLETS"
Me,
"Bu.."
Teacher
*Still furious*
"YOU ARE HERE TO LEARN HOW TO BE A GOOD RELIABLE DEV, SO LISTEN"
Me,
*Proceeds to Lift up surface from Keyboard*
Teacher,
*Rips surface out of hand and goes to secretary*
"You can have it after school"
Me,
*Sitting there speechless with nothing to develop with*
10 Minutes later
*rector comes in and gives me surface back*
Me,
Thank you
*Proceeds to use surface*
...
The Teacher hates me...22 -
I started saying 'yes' to every opportunity in life. Long story short, I have 3 websites, 2 logos, a couple of leaflets and 2 non-profit websites due yesterday. Whiskey with cereal never tasted better at 8 AM!3
-
Just spent the entire day of which should have been the start of vacation fighting off a second wave of ransomware on one of our production servers. Gandcrab 5.2 anyone?
Turns out an exploit in our MySQL daemon allowed some fucking Chinese hackermonkey to upload a trojan and remote execute it. Thousands of angry customers, me the only one available and able to fix shit and patch up firewalls and system.
And now I get the pleasure of working on what I should have been doing today, another fire that MUST be put out today.
Fuck you deadlines. Fuck you Chinese hackers. In fact, FML.3 -
Life Hack: don't use alcohol or chemicals, rub off glue residue easily with olive oil / baby oil
Works like a charm and also doesn't break cardboard videogame boxes/ book covers9 -
Fellow devranter detected?
I can hardly count how many times I've used profanities for variable names or placeholder text. But, unlike this landing page for the Norwegian company 1881's API they never see the light of day. At least I hope so...
Made my giggle out loud at least, 1881 is a well known and respectable (I guess) company over here. Hello world! :-D5 -
I did my first ever open source contrinbutions yesterday! It was quite refreshing working in a different code base and fixing bugs! :D1
-
Okay, had a freelance JavaScript gig (with Three.js 3d lib). Usually I put the code on github so I have easier time switching between Desktop and laptop during work, unless I have to sign an NDA or something. Today at 5 AM I got mail from freelancing site support that client reported me for having code on public repo (but it's not like it is a proprietary software, it's based on threejs editor). I made repo private and went to sleep. Later I'm reading through messages, guy was cursing me, threatend to sue me etc. Ended up dropping the client. Did I do something really unprofessional? Unless I'm told not to, I want to show my code and I don't believe in not showing it by default. What do you guys think?13
-
Started to read JS from scratch again, there are lots to learn. I will continue with ReactJS and possibly NodeJS. Wish me some energy! It is hard.3
-
Any Devs after college (CS)? Does studying CS at University made you a better developer, better person? Was it a waste of time? Looking for any motivation, attending college in my country is free3
-
Actually a WordPress developer does both backend and frontend. They should know JS, PHP, react (for Gutenberg) and still some others think they are not programmers.
Next time someone tries to bully me about being a WordPress developer, I will not be quite. Even my friends.3 -
Today a recruiter messaged me on Facebook. Week ago, I left a post with my CV on a programming group-currently I'm looking for a junior JAVASCRIPT (important ! ) /Node.js position, explicitly said so.
R(ecruiter): "Hello sir, we noticed your post with CV on group XYZ, are you still looking for a job?"
Me: "Yes, of course."
R: "We are building a new team in city X, remote work is possible. I will send you job posting right away."
Started reading it, job title is SENIOR JAVA DEVELOPER. Okay, maybe she sent me wrong document, maybe she wanted me to read just a bit about company and every job posting is pretty generic.
Me:" This job posting is for a senior programmer, I take it you're looking for juniors too ? I would happily take it, it's just I want a job to learn more things. Did you read my CV?"
R, annoyed: "Requirements for this position are quite clear, I believe. We are open to working with people with different experience level."
From there, she was pretty negative but I remained sympathetic and agreed to met with her boss next week. After all, maybe he has a position for me.
"Java and Javascript are similar like Car and Carpet are similar" -
#Suphle Rant 3: Road to PHP8, Flow travails
Some primer: Flows is a feature that causes the framework to bypass handling the request now but read it from cache. This cache entry is meant to be populated without warming, based on the preceding request. It's sort of like prefetching but done on the back end
While building Suphle, I made some notes on some chapters about caveats and gotchas I may forget while documenting. One such note was that when users make the Flow request, the framework will attempt to determine who user is, using authentication mechanism defined on the first module (of the modular monolith)
Now, I got to this point during documentation and started wondering whether it's impossible for the originating request to have used a different authentication mechanism, which would result in an empty entry for returning user. I *think* it's possible cuz I've got something else called "route mirroring", where web based routes can be converted to API routes. They'll then return JSON, get served under defined API path, use JWT, all automatically. But I just couldn't connect the dots for the life of me, regarding how any of this could impact authentication on the Flow request
While trying to figure out how to write the test for this or whether it was even necessary (since I had no use case), it struck me that since Flow requests are not triggered by an actual user, any code attempting to read authenticated user will see nothing!
I HATE it when I realize there's ambiguity or an oversight, after the amount of attention and suffering devoted. This, along with a chain of personal troubles set off despondency for a couple of days. No appetite for food or talk. Grudgingly refactored in this update over some days. Wrote some tests, not all passed. More pain. May have to convert them to unit tests
For clarity, my expectation is, I built this. Nothing should be impossible for me
Surprisingly, I caught a somewhat lucky break –an ex colleague referred me to the 1st gig I'm getting in 1+ year. It's about writing a plugin for some obscure forum software. I'm not too excited cuz it's poorly documented and I'll have to do a lot of groping, they use arrays instead of objects etc. There's no guarantee I'll find how to implement all client's requirements
While brooding last night, surfing the PHP subreddit, stumbled on a post about using Rector to downgrade a codebase. I've always been interested in the reverse but didn't have any incentive to fret over it. Randomly googled and saw a post promising a codebase can be upgraded with 3 commands in 5 minutes to PHP 8. Piqued my interest around 12:something AM. Stayed up all night upgrading it, replacing PHPSTAN with Psalm, initializing the guy's project, merging Flow auth with master etc. I think it may have taken 5 minutes without the challenge of getting local dev environment to PHP 8
My mood is much lighter than it was, although the battle is not won yet –image tests are failing. For some weird reason, PHP8 can't read generated test images. Hope I can ride on that newfound lease on life to study the forum and get the features working
I have some other rant but this is already a lot to digest in one sitting. See you in rant #4 -
Sent my resume to 70+ job positions and still waiting for their answer. Really, you had to sponsor my visa and use me in your team. Pleeeeease.