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 - "weirdness"
-
Hey everyone,
Unfortunately earlier tonight some code was deployed with functionality only compatible with the new version of the devRant app that will be coming out early this week. It caused some weird issues where normal rants would be rendered as collabs causing them to not show up correctly.
This happened when going to rants from the feed (fixed earlier) and going to rants from push notifications (fixed a little while ago).
If you notice any of that behavior still occurring please let me know, thanks!
Apologies for the weirdness and missed notif activity for those who were impacted.7 -
Dear Indian Companies,
Why do you hire for a role and then say: "We dont have that role but then we want you to grow up to be a Generalist"!
6 years as a build, release and SCM guy at Moto and Nokia back then, I shifted to this big Indian IT corp coz Nokia was shutting down...
A week into my orientation (which is a crazy weirdness inducing ritual in and of itself), the new manager I'm supposed to be working with comes up and says- "Here's the code repo, there are 2 open jQuery issues, fix them!"
I'm not really sure what to say at this point because jQuery is nice and all but thats not who I am.. I'm the infra / DevOps guy. And this is circa 2012 when DevOps as a term was just hotting up...
Tell me to setup a multi-stage pipeline and automated test cycles, I'll do it drunk, but oh no! bug fixing on a jQuery script? Noooo!!!!! I just dont have the chops for it.
So long story short, I get reported to HR for insubordination - Yeah, Go Figure!
Cue: HR meeting
HR: You wont work?
Me: I cant work on jQuery. I am a sysadmin / devops guy... Give me a project that involves those skills and I'll work.
HR: But we hired you to work on jQuery.
Me: But you did not mention jQuery / UI / UX in the job description - Pulls up email and shows JD for interview which says Symbian, Build, Release, Configuration Management but NOT jQuery.
HR: ....
Me: :-/
HR: But we want you to be a generalist.
Me: #wtf
HR: We want an engineer to be able to do anything he is tasked with!
Me: Can I know my last working date here?
And thats how my career at a glorious IT corporation just went poof!
When I think back on it, I feel good that I chose to do what I wanted to get better at and what I loved working on...
And this is the problem with IT companies in our country - They play with people's aspirations and passions... To the point that all thats left of a software engineer is the looking forward to pay day so he can start the damn cycle all over again.11 -
Finally got around to installing Arch on an actual machine 😀
I went for deepin since i wanted to try something new. I didn't go for any WMs since the whole concept seems complicated to me but i wanna look into it someday.
Anyways, super happy so far. I boot in < 5s from hitting the power button which is super dope ♥️ ♥️. I did have some weirdness with nvidia drivers (as usual on linux lol) but reinstalling it fixed it.40 -
Realised this today.
One of the things I love the most about my job is the requirement to be creative and hackish.
Sometimes you just have to debug/fix stuff in the weirdest ways and this requires for me to think out of the box.
Something that's very new for me on this level!4 -
Today my girlfriend and I are celebrating our 2nd anniversary. 🎊🎊🎉🎉
It has been a really amazing journey for both of us. She's not really into coding stuff but tolerates my weirdness anyway. There are disagreements sometimes. But the important thing is to keep yourself open and be patient. She has really helped me to become less of an smartass and be more understanding and patient. I'm really looking forward to all the new adventures we both will have together in the future....
2 down.. a lot more to go 😍😍10 -
Not a rant - just wondering if anyone else witnessed a really awkward closing talk at a conference.
Attended a mandatory JS conference yesterday where all the speakers gave the typical conference talks on new ideas, frameworks, packages with code demonstrations. Most of talks were great and the some of the speakers were extremly humorous making the whole audience laugh which is hard to do. The talk right before the keynote speaker was like this.
Then the keynote started...
The end presenter was an asian-american woman (normally would not metion race/ gender but it’s important to the story) whose talk was basically how the white males of the world are controlling tech an their bias and privilege are marginalizing the rest of us who are not white american ‘cis-males’
She had no data and weak examples, such as sensors on automatic soap despeners not working on darker skins tones (that’s not racist it’s physics). Another example was a plugin where true=male and false=female. That is not gender biased it’s just lazy programming.
At one point she said:
“Have you even been to a party at a rich white guy’s house? There boring! I’m sorry”
This was just a talk about her feelings, if I was not surrounded by my coworkers I would have left.
I feel like this was not appropiate talk for one track conference since it traps everyone into listening. Especially where attendance is obligatory by your employer.
The conference should have warned people it would be an uncomfortable talk and invite people to start happy hour early if they chose.
To add to the weirdness in the closing remarks of one of the organizers patted himself on the back for supplying the women’s bathroom with tampons. He even created a slide for it with a tampon illustration.
Example slide from her deck.61 -
devRant on desktop web now live! Check it out and let us know if you find any bugs or weirdness: devrant.io/feed/11
-
I've developed an interesting habit. I wear a hat 24/7. The same exact hat.
I (almost) never wear my hat backwards. I think its weird, and I look weird, and its just too much weirdness.
There is one exception to this rule.
Before I begin coding each day, before a single stroke of my keyboard, I turn my hat backwards. I don't know why I started doing this, but it is almost as if my hat is a key and turning it unlocks all my programming knowledge.
Anyone else have a quirky habit they do before/during a coding session?12 -
Hey all - I made a big update to in app "x replied to a rant you commented on" in app notif to try to fix some bugs/scaling issue.
Please let me know if you notice any weirdness/notif issues. Thanks.5 -
I can forgive some weirdness in generated html, but it is when generated html is combined with some plugins, and then a starting html dev who doesn't know what he's doing sprinkles some extras on top that you get frankenstein creatures like this.6
-
Many of you who have a Windows computer may be familiar with robocopy, xcopy, or move.
These functions? Programs? Whatever they may be, were interesting to me because they were the first things that got me really into batch scripting in the first place.
What was really interesting to me was how I could run multiples of these scripts at a time.
<storytime>
It was warm Spring day in the year of 2007, and my Science teacher at the time needed a way to get files from the school computer to the hard-drive faster. The amount of time that the computer was suggesting was 2 hours. Far too long for her. I told her I’d build her something that could work faster than that. And so started the program would take up more of my time than the AI I had created back in 2009.
</storytime>
This program would scan the entirety of the computer's file system, and create an xcopy batch file for each of these directories. After parsing these files, it would then run all the batch files at once. Multithreading as it were? Looking back on it, the throughput probably wasn't any better than the default copying program windows already had, but the amount of time that it took was less. Instead of 2 hours to finish the task it took 45 minutes. My thought for justifying this program was that; instead of giving one man to do paperwork split the paperwork among many men. So, while a large file is being copied, many smaller files could be copied during that time.
After that day I really couldn't keep my hands off this program. As my knowledge of programming increased, so did my likelihood of editing a piece of the code in this program.
The surmountable amount of updates that this program has gone through is amazing. At version 6.25 it now sits as a standalone batch file. It used to consist of 6 files and however many xcopy batch files that it created for the file migration, now it's just 1 file and dirt simple to run, (well front-end, anyways, the back-end is a masterpiece of weirdness, honestly) it automates adding all the necessary directories and files. Oh, and the name is Latin for Imitate, figured it's a reasonable name for a copying program.
I was 14, so my creativity lacked in the naming department >_<1 -
PHP arrays.
The built-in array is also an hashmap. Actually, it's always a hashmap, but you can append to it without specifying indexes and PHP will use consecutive integers. Its performance characteristics? Who knows. Oh, and only strings, ints and null are valid keys.
What's the iteration order for arrays if you use them as hashmaps (string keys)? Well, they have their internal order. So it's actually an ordered hashmap that's being called an array. And you can produce an array which has only integer keys starting with 0, but with non-sequential internal (iteration) order.
This array weirdness has some non-trivial implications. `json_encode` (serializes argument to JSON) assumes an array corresponds to a JSON array if its keys are consecutive integers in increasing order starting with 0, otherwise the array becomes a JSON object. `array_filter` (filters arrays/hashmaps using callback predicate) preserves keys, so it will punch holes in the int key sequence if non-last items are removed, thus turning arrays into hashmaps and changing your JSON structure if you forget to discard keys before serialization.
You may wonder how JSON deserialization works, then? There's a special class for deserialized JSON objects, `stdClass`. It's basically a hashmap too, but it's an object, not an array, and all functions that would normally accept arrays won't work with it. So basically its only use is JSON (de)serialization. You can even cast arrays to objects, producing `stdClass`.
Bonus PHP trivia:
Many functions return nonsensical values. `preg_match`, the regex matching function, returns 1 for success, 0 for no matches and false for malformed regular expression. PHP supports exceptions, so it could just throw one on errors. It would even make more sense to return true, false and null for these three cases. But no, 1, 0 and false. And actual matches are returned by output arg.
`array_walk_recursive`, a function supposed to recursively apply callback to each element of an array. That's what docs say. It actually applies it to leafs only. It will also silently accept object instead of array and "walk" it, but without recursing into deeper objects.
Runtime type enforcing is supported for function arguments and returned values. You can use scalar types, classes, array, null and a few special keywords. There's also a `mixed` keyword, which is used in docs and means "anything". It's syntactically valid, the parser will accept it, but it matches no values in runtime. Calling such function will always cause a runtime error.
Strings can be indexed with negative integers. Arrays can't.
ReflectionClass::newInstanceWithoutConstructor: "Creates a new class instance without invoking the constructor". This one needs no commentary.
`array_map` is pretty self-explanatory if you call it with a callback and an array. Or if you provide more arrays of equal length via varargs, callback will be called with more arguments, one from each array. Makes sense so far. Now, you can also call `array_map` with null instead of callback. In that case it treats provided arrays as rows of a matrix and returns that matrix, transposed.5 -
In my first place there was a guy, we'll call him S.
So S. was not very popular, he had an intimidating look all the time, wore workout dryfit clothes and seldomly smelt like he didn't take a shower in quite a long time. He has an iOS developer on my team. He was blazingly smart and called every code he saw garbage. Nice guy indeed :)
He was a fine guy after you got to know him and get accustomed to his weirdness... Smelly nonetheless :)2 -
Though I demonstrated a hard upperbound on the D(10) dedekind in the link here (https://devrant.com/rants/8414096/...), a value of 1.067*(10^83), which agrees with and puts a bound on this guy's estimate (https://johndcook.com/blog/2023/...) of 3.253*10^82, I've done a little more work.
It's kind of convoluted, and involves sequences related to the following page (https://oeis.org/search/...) though I won't go into detail simply because the explaination is exhausting.
Despite the large upperbound, the dedekinds have some weirdness to them, and their growth is non-intuitive. After working through my results, I actually think D(10) will turn out to be much lower than both cook's estimate and my former upperbound, that it'll specifically be found among the values of..
1.239*(10^43)
2.8507*(10^46)
2.1106*(10^50)
If this turns out to be correct (some time before the year 2100, lol), I'll explain how I came to the conclusion then.8 -
The company I work for now has so much tech debt. When I find an issue, I can’t necessarily fix it right away because I have other priorities. If something isn’t a site-breaking issue, then I only fix it when a user or staff member reports it.
The website is a mess because it was built and maintained by an outside dev agency. It was so expensive to outsource that my employer decided to bring development in-house.
That’s where I came in. I found so many issues. Tech debt. UX weirdness. Newish features that no one seemed to use. It goes on.
So I’m balancing new feature development, fixing bugs, and trying to lessen our tech debt. I’m a team of one.1 -
"We've got a new opportunity for you."
I'm a fucking rookie. I didn't know the meaning of this sentence. Suddenly, I become the "IP PBX expert" of the society.
"-Okay, it's some networking shit, I thing I'm good at networking shit. Piece of cake.
-Okay great, you have one month to learn how this thing works, because we WILL provide this kind of service."
Damn.
I spent one month learning this shit on my free time, printing RFCs and living in the fucking MATRIX to not fuck up on the very first day doing that, just in case something on the customers' network fucks with the PABX or something like that.
Oh yeah, I forgot: I'm paid 80% of the minimum wage because I am actually not qualified to do my job and I'm spending one week a month to learn how to IT (some french weirdness I think, if not, maybe it's the germans' fault. Also yes, 100% legal).
Today, they announced me that they "changed their mind".
I'm pissed.1 -
Joomla, motherfucking Joomla. It was supposed to make managing content easy. With just a little coding you could make a fully functional, multi page website. Ugh. It took more time to master the oddities and weirdness of Joomla than it would have to just code the fucker.
This taught me the painful lesson that there are no REAL shortcuts. Useful “shortcuts” in development are just abstractions over mastery of a task. There are many more shortcuts that are more like dangerous hacks, and Joomla is rife with them and opens a lot of opportunities to make more.2 -
So first rant, here goes weirdness, and also lengthy rant
So in my company we have the hr and accounting managed by the same person which also deals with all things employee related and she had a need for a way to extract a birthday from, what is in our country the personal identification number, things go great i get a formula that performs parts of the magic up to the point where the first digit of the number dictates the gender and century to be used when forming the full year, mind you only the last two digits of the year are in plain within the id number so i thy a number of ideas. After bashing around google sheets for a while ( i've got open office installed and formulas don't export well to the excel that person uses but google sheets does so i built it there).
First idea : make a few conditionals to check for the value so we have 1 and 2 for 19th century, 3 and 4 for 18th century , 5 and 6 for 20th so i go ahead and write my conditions and they fail, all evaluates to false, it cascades through the else variants up to the last one so i'm wondering if the "if" itself doesn't support the or operator, seems it does, next i think it's the bloody condition written wrong so i reevaluate my logic in php in a test script, it works as intended, then i think ok not the right function called, let's see the docs, docs confirm i'm doing it right but what was wrong was the way i was getting that first number, using left seems to produce a string although the base thing is a number, now i start searching how i can cast it, like you would normaly do when the data type is fried, value function appears to be the solution but it isn't working....now i'm thinking "ok so i have a value and different things to print out so let's look for a switch, maybe it can understand that" switch function found under the form of choice, i get it sorted but am stuck wondering why the heck was the if and value combination not working.
Simple answer to that : value doesn't work well with function results, a known bug listed by someone in a comment, a comment i have failed to read for about 45 minutes of trying to understand.
All in all it worked well for the person asking for it so it's nice. -
UNOFFICIAL DEVRANT CLONE JAM - LAST VOTING DAY
4 people have cast their votes on devRant clones with 19 points for @retoor and 3 for @SidTheITGuy. It's a huge rift, which will be hard to clamp by 12:00 UTC!
Finnegan (by @retoor): https://devrant.com/rants/9946268
ragedev (by @SidTheITGuy): https://devrant.com/rants/9946238
Despite the obviousness and overall weirdness of the end product chosen for this hackathon, I want you to give your feedback to others who want to see the best of devRant, but somewhere else. What do you think a serious devRant alternative should have and what are expectations for the design?
I'm sure all these topics will keep reappearing, so maybe this rant can be used to gather all the thoughts in one place before spreading them around.1 -
Weirdness is realizing the place you're working is a place you were being watched by some clone of lady you work with for a day while your aunt and mom were working. And of course you were too young to realize this didn't make sense
And now you have to wonder in what way they were working because they weren't young and pretty so they wouldn't fit into the other category7 -
# bug
There seem to be some push notification weirdness with my device.
push notifications are shown like couple of hours after I've seen them in Notifs. up to like 6-7 hours.
anybody else?3 -
I've hired a apprentice that's literally today Said he doesn't want to be a programmer i said then... what are you doing here?
He didn't say anything ...
Do I fire him he didn't quit? I mean weird fucking situation. He doesn't seem engaged anymore so ... He ain't doing shit I should add4 -
I don't understand why finding media that holds differences of personality type is supposed to mark me one way or another I didn't study psychology because I found people disinteresting.
And a decent enough story is a decent enough story.
Problem is.
In all cultures and subcultures some people are less appealing than others
Course these people are all unappealing at their core but sometimes the rather slow insidious and obvious attempts to sneak their weirdness Into storylines to make themselves seem almost pitiable or believable leads to alright productions
Where are we right now ?
A long way back it seems.
Why ?