Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "labels"
"You mean to tell me that you deleted the class that holds all our labels and spin boxes together?" I said exasperatedly.
"You're probably wondering how we got to this stage? Let's wind back a little, shall we?"
A light tapping was heard at the entrance of my office.
"Oh hey [Boss] how are you doing?" I said politely
"Do you want to talk here, or do you want to talk in my office? I don't have anyone in my office right now, so..."
"Ok, we can go to your office," I said.
We walked momentarily, my eyes following the newly placed carpeting.
Some words were shared, but nothing that seemed mildly important. Just necessary things to say. Platitudes, I supposed you could call them.
We get to his office, it was wider now because of some missing furniture. I quickly grab a seat.
"So tell me what you've been working on," I said politely.
"I just finished up on our [project] that required proper saving and restoring."
"Great! How did you pull it off?" I asked excitedly.
He starts to explain to me what he did, and even opens up the UI to display the changes working correctly.
"That's pretty cool," admiring his work.
"But what's going on here? It looks like you deleted my class." I said, looking at his code.
"Oh, yeah, that. It looked like spaghetti code so I deleted it. It seemed really bulky and unnecessary for what we were doing."
"Wait, hold on," I said wildly surprised that he thought that a class with some simple setters and getters was spaghetti code.
"You mean to tell me that you deleted the class that organizes all our labels and spin boxes together?" I said exasperatedly.
"Yeah! I put everything in a list of lists."
"What, that's not efficient at all!" I exclaimed
"Well, I mean look at what you were doing here," he said, as he displays to me my old code.
"What's confusing about that?" I asked politely, but a little unnerved that he did something like this.
"Well I mean look at this," he said, now showing his "improved" code.
"We don't have that huge block of code (referring to my class) anymore filling up the file." He said almost a little too joyously.
"Ok, hold on," I said to him, waving my hand. "Go back to my code and I can show you how it is working. Here we are getting all the labels and spin boxes into their own objects." I said pointing a little further down in the code. "Down here we are returning the spin boxes we want to work with. Here and here, are setters so we can set maximum and minimum values for the spin box."
"Oh... I guess that's not that complicated. but still, that doesn't seem like really good bookkeeping." He said.
"Well, there are some people that would argue with you on that," I said, thinking about devRant.
He quickly switches back to his code and shows me what he did. "Look, here." He said pointing to his list of lists. "We have our spin boxes and labels all called and accounted for. And further down we can use a for loop to parse through them."
He then drags both our version of the code and shows the differences. I pause him for a moment
"Hold on, you mean you think this" I'm now pointing at my setters "is more spaghetti than this" I'm now pointing at his list of lists.
"I mean yeah, it makes more sense to me to do it this way for the sake of bookkeeping because I don't understand your Object Oriented Programming stuff."
After some time of going back and forth on this, he finally said to me.
"It doesn't matter, this is my project."
Honestly, I was a little heart broken, because it may be his project but part of me is still in there. Part of my effort in making it the best it can be is in there.
I'm sorry, but it's just as much my project as it is yours.16
toxic workplace; leaving
I haven't wanted to write this rant. I haven't even wanted to talk to anyone (save my gf, ofc). I've just been silently fuming.
I wrote a much longer rant going into far too much detail, but none of that is relevant, so I deleted it and wrote this shorter (believe it or not) version instead. And then added in more details because details.
On Tuesday, as every Tuesday, I had a conference call with the rest of the company. For various, mostly stupid reasons, the boss yelled at and insulted me for twenty minutes straight in front of everyone, telling me how i'm disorganized, forgetful, how can't manage my time, can't manage myself let alone others, how I don't have my priorities straight, etc. He told the sales team to get off the call, and then proceeded to yell and chew at me for another twenty minutes in front of the frontend contractor about basically the same things. The call was 53 minutes, and he spent 40 minutes of it telling me how terrible I've been. No exaggeration, no spin. The issues? I didn't respond to an email (it got lost in my ever-filling inbox), and I didn't push a very minor update last week (untested and straight to prod, ofc). (Side note: he's yelled at me for ~15 minutes before for being horribly disorganized and unable to keep up on Trello -- because I had a single card in the wrong column. One card, out of 60+ over two boards. Never mind that most have time estimates, project tags, details, linked to cards on his boards, columns for project/qa/released, labels for deferred, released to / rejected from qa, finished, in production, are ordered by priority, .... Yep. I'm totes disorganized.)
Anyway, I spent most of conference call writing "Go fuck yourself," "Choke on a cat and die asshole," "Shit code, low pay, and broken promises. what a prize position," etc. or flipping him off under the camera on our conference-turn-video-call (switched due to connection issues, because ofc video is more stable than audio-only in his mind).
so, so done.
I did nothing the rest of the day on Tuesday, and basically just played games on Wednesday. I did one small ticket -- a cert replacement since that was to expire the next day -- but the rest was just playing CrossCode. (fun game, fyi; totally recommend.)
Today? It's 3:30pm and I can't be bothered to do anything. I have an "urgent" project to finish by Monday, literally "to give [random third party sales guy] a small win". Total actual wording. I was to drop all other tasks (even the expiring cert lol) and give this guy his small win. fucking whatever. But the project deals with decent code -- it's a minor extension to the first project I did for the company (see my much earlier rants), back when I was actually applying myself and learning something (everything) new, enjoying myself, and architecting+writing my own code. So I might actually do the project, but It's been two days and I haven't even opened single file yet.
But yeah. This place is total and complete shit. Dealing with the asshole reminds me of dealing with my parents while growing up, and that's a subject I don't want to broach -- far too many toxic memories.
So, I'm quitting as soon as I find something new.
and with luck, this will be before assface hires my replacement-to-be, and who will hopefully quit as soon as s/he sees the abysmal codebase. With even more luck, the asshole king himself will get to watch his company die due to horrible mismanagement. (though ofc he'll never attribute it to himself. whatever.)
I just never want to see or think about him again.
(nor this fetid landfill of a codebase. bleh.)
With luck, this will be one of my last rants about this toxic waste dump and its king of the pile.
Fourty fucking minutes, what the fuck.38
I hate ZenHub. For those who haven't heard of it, it's an agile project management solution that is hacked (and by hacked I mean really hacked) on top of Github.
It's touted as being convenient because you can have all your issues in Github and then look at them in epics and board format. Sounds awesome. Except it's not. For everything "convenient" it does, it severely lacks the most basic ticket management features that make any ticket management solution usable. Ex., you can't copy tickets. That's right - if you're creating 20 similar tickets, which I've needed to do in the past, you must create each one individually. New ticket -> add labels -> add assignee -> add title -> add description and then submit. 20 times.
ZenHub is so bad and so poorly conceived that many of those who use it have lost sight of project management reality and are blind to the 300 other PM products out there that are better.
True story: a couple of weeks ago people were celebrating because ZenHub added functionality to allow you to define what epic an issue belonged in while you were creating it. For those who aren't familiar with what that means, let me explain: before two weeks ago, when creating an issue in ZenHub, to fill out this "epic" field, you needed to first create the issue and then edit it to fill in the epic.
Let me break that down in devRant terms: it's the equivalent of not being able to add tags to a rant until you create it and then go back and edit it. Complete lunacy is the only way to describe it. And when they added the functionality two weeks ago allowing you to do it all in one step, people praised them!!!
Yeah, ZenHub sucks.12
My SSD goes bad and I file for an RMA. WD asks me to send in the faulty device in return of a replacement. So I pack everything up very nicely, put the labels on and hand it over to the courier.
Except for one tiny little problem, its been 2 days and it's only now that I found out that I forgot to put the faulty SSD inside the package.
So I basically just paid for a neatly packed empty box to be delivered to them. God! why do these SSDs have to be so freaking lightweight??10
Welcome back to practiseSafeHex's new life as a manager.
Episode 2: Why automate when you can spend all day doing it by hand
This is a particularly special episode for me, as these problems are taking up so much of my time with non-sensical bullshit, that i'm delayed with everything else. Some badly require tooling or new products. Some are just unnecessary processes or annoyances that should not need to be handled by another human. So lets jump right in, in no particular order:
- Jira ... nuff said? not quite because somehow some blue moon, planets aligning, act of god style set of circumstances lined up to allow this team to somehow make Jira worse. On one hand we have a gigantic Jira project containing 7 separate sub teams, a million different labels / epics and 4.2 million possible assignees, all making sure the loading page takes as long as possible to open. But the new country we've added support for in the app gets a separate project. So we have product, backend, mobile, design, management etc on one, and mobile-country2 on another. This delightfully means a lot of duplication and copy pasting from one to the other, for literally no reason what so ever.
- Everything on Jira is found through a label. Every time something happens, a new one is created. So I need to check for "iOS", "Android", "iOS-country2", "Android-country2", "mobile-<feature>", "mobile-<feature>-issues", "mobile-<feature>-prod-issues", "mobile-<feature>-existing-issues" and "<project>-July31" ... why July31? Because some fucking moron decided to do a round of testing, and tag all the issues with the current date (despite the fact Jira does that anyway), which somehow still gets used from time to time because nobody pays attention to what they are doing. This means creating and modifying filters on a daily basis ... after spending time trying to figure out what its not in the first one.
- One of my favourite morning rituals I like to call "Jira dumpster diving". This involves me removing all the filters and reading all the tickets. Why would I do such a thing? oh remember the 9000 labels I mentioned earlier? right well its very likely that they actually won't use any of them ... or the wrong ones ... or assign to the wrong person, so I have to go find them and fix them. If I don't, i'll get yelled at, because clearly it's my fault.
- Moving on from Jira. As some of you might have seen in your companies, if you use things like TestFlight, HockeyApp, AppCenter, BuddyBuild etc. that when you release a new app version for testing, each version comes with an automated change-log, listing ticket numbers addressed ...... yeah we don't do that. No we use this shitty service, which is effectively an FTP server and a webpage, that only allows you to host the new versions. Sending out those emails is all manual ... distribution groups?? ... whats that?
- Moving back to Jira. Can't even automate the changelog with a script, because I can't even make sense of the tickets, in order to translate that to a script.
- Moving on from Jira. Me and one of the remote testers play this great game I like to call "tag team ticketing". It's so much fun. Right heres how to play, you'll need a QA and a PM.
*QA creates a ticket, and puts nothing of any use inside it, and assigns to the PM.
*PM fires it back asking for clarification.
*QA adds in what he feels is clarification (hes wrong) and assigns it back to the PM.
*PM sends detailed instructions, with examples as to what is needed and assigns it back.
*QA adds 1 of the 3 things required and assigns it back.
*PM assigns it back saying the one thing added is from the wrong day, and reminds him about the other 2 items.
*QA adds some random piece of unrelated info to the ticket instead, forgetting about the 3 things and assigns it back.
and you just continue doing this for the whole dev / release cycle hahaha. Oh you guys have no idea how much fun it is, seriously give it a go, you'll thank me later ... or kill yourselves, each to their own.
- Moving back to Jira. I decided to take an action of creating a new project for my team (the mobile team) and set it up the way we want and just ignore everything going on around us. Use proper automation, and a kanban board. Maybe only give product a slack bot interface that won't allow them to create a ticket without what we need etc. Spent 25 minutes looking for the "create new project" button before finding the link which says I need to open a ticket with support and wait ... 5 ... fucking ... long ... painful ... unnecessary ... business days.
... Heres hoping my head continues to not have a bullet hole in it by then.
Id love to talk more, but those filters ain't gonna fix themselves. So we'll have to leave it here for today. Tune in again for another episode soon.
And remember to always practiseSafeHex16
As a developer in Germany, I don't understand why anything related to development like IDEs, git clients and source code documentation should be localized/translated.
Code is written in english, configuration files too. Any technology, any command name in a terminal, every name of a tool or code library, every keyword in a programming language is written in english. English is the language of every developer. And English is simply a required skill for a developer.
Yet almost everything nowadays is translated to many other languages, espacially MS products. That makes development harder for me.
My visual studio menus are a mess of random german/english entries due to 3rd party extensions.
My git client, "source tree" uses wierd translations of the words "push" and "commit". These commands are git features! They should not be translated!
Buttons and text labels in dev tools often cut the text off because they were designed for english and the translated text is bigger and does not fit anymore. Apparently no one is testing their software in translated mode.
And the worst of all: translated fucking exception and error massages! Good luck searching for them online.
Apple does one thing damn right. They are keeping all development related stuff english (IDE, documentation). Not wasting money on translations which no developer needs.20
I need to render point clouds in OpenGL for a project I'm working on. The problem is it just becomes too damn slow when the point cloud size increases. So I'm trying to use LOD methods and nested octrees to speed things up. Also, I need to render text too in my OpenGL scene. So now I'm stuck trying to show proper labels using Qt and OpenGL which is completely pissing me off by the way. And I'm not doing the actual speeding up thing I was working on earlier on and before that I was working on the actual function of my program. So I'm now deviated from the deviation.
Fuck my brain.5
Part 2 of my boss's stupidity
*Wait! Wait! Wait! What!?*
*You actually reinstated my class?*
Another late night and another set of pulls I needed to do in order to get caught up with the rest of the world.
I had just finished up dealing with a strange bug and had finally fixed it.
"I need to get caught up with my boss," I thought to myself.
I quickly git pull from my boss and a merge conflict occurs.
"Oh, ok that's fine." I say, "that's nothing too odd."
"Wait! Wait! Wait! What!?" I shouted inside my head
I couldn't believe what I was seeing, there was a huge chunk of code that was being completely replaced.
"You're actually reinstating my class?" I nearly shouted.
"What!?" my girlfriend shouts from the other room.
"Come here a second, let me show you what it is," I shout back.
She rushes in real quickly, and I point at the code that was being changed.
"Remember that really long ass rant I made about how my boss had completely removed all of my code because he thought it was spaghetti?" I said
"Yeah?" she replied quickly, visually astounded by my excitement.
"He fucking put my class back into the code!!!"
"Wow!... I guess you beat him, huh?" she said.
"You better fucking believe it, but you want to know what's worse?"
She cocked her head sideways, "what?"
"He fucking built it worse than my original! The names don't properly reflect what he is trying do and he's doing a failure job at trying to copy what I had done in my original. He clearly doesn't know about git revert" I said between bouts of laughter.
"This is too good, I'm putting this on devRant!" I said
"I'm not in the least bit surprised that you would." She replied back.
Most common UX blunder: Icons
FUCK icons. The big problem with them is they assume a level of familiarity with the product. Someone who has never seen a folder before won't know what a button with a folder icon on it does!
This can be remedied with text NEXT to the icon, giving the button a readable purpose. But guess what? THAT SHIT AIN'T COMMON ENOUGH.
Here's a good example for you; cars. I am familiar with cars, but there's some fucking icons that I can't even figure out. And imagine if you aren't familiar with cars? That's what happens all the time; there's a hundred unused buttons on a car's interior these days because painted upon them is an icon, and only an icon! And who the hell cares enough to take out the manual and finger through it until you find that specific icon. In my experience, almost nobody.
Let's bring it back to software. It's the most overlooked UX sin to have icons without labels or some sort of describing text. As programmers, you and me have seen and can instantly recognize thousands of icons. But to get the typical user's experience, load up a complex program like Blender (assuming you aren't familiar with it yet) and see if you can tell me what all of the icons mean. Or don't, here's a screenshot from Blender 2.8 Beta. None of these icons have any labels.
Fucking frustrating, isn't it?
Don't rely on tooltips! Nobody wants to hover over every fucking icon and wait for it to pop up just to find what they're fucking looking for! Don't forget that a lot of users DON'T EVEN KNOW THEY EXIST! (This number isn't shrinking as fast as you'd expect with the newer generations, because many of the newer generations use touch devices where tooltips don't exist at all)
There's my UX rant. Remember that users are afraid to click things which they don't know what they do. For the most positive user experience, give users something to read; a way to understand what the fuck is going on without experimenting, and without waiting for the tooltip to appear.30
I looked through some C code for an MCU from an "experienced developer" who had trouble with fitting the program into memory.
I looked though the code and found these horrors:
0. No functions aside from main(). Not necessarily a problem, if the program was simple, BUT: SHE HAD 107(actually counted, thanks vim) LABELS(where the goto instructions jump to) IN THE 4k LOC MAIN FUNCTION LABELED lab000, lab001, lab002 etc.
1. NOT A SINGLE COMMENT IN THE SINGLE 4k+ SOURCE FILE!
2. long long was the only integer type for her. THIS MORON USED A 64-BIT VALUE FOR LOOPING THOUGH THE NUMBERS 0-15!
(The reason why the program needed a shitton of memory, was also simmilar. It needed to store 1k values that fit into 8 bits, but of course this idiot uses long long instead of char)
Her bullshit response: If I use long long I don't have to worry about overflows.
WHAT A FUCKING MORON. I REALLY WISH SHE SPENDS ETERNITY BEING FUCKED BY TWO DEVILS FOR THE FRONT AND BACK WITH AIDS COVERED BURNING CACTI!
Why are idiots like her devs?33
That moment that your favourite YouTube channel (I only use YouTube from google and mostly through hooktube.com) announces closing soon.
I’m genuinely very sad. This channel was awesome because it allowed for beginning raw producers to get feedback from raw fans and even get in touch with the top raw labels!
Some top producers which are around now got into the game because of this channel and I was hoping that that’d be me one day as well.
I’ll miss you, RawstyleNation 😥❤️16
Managements definition of an MVP:
- Integrate our backend and database with a similar-ish, older internal system built on a different tech stack and different rules.
- Merge the functionality and delete the old one.
- Modify our system to accept 2 types of logged in users.
- Have 2 versions of our API that return different values.
- Update our mobile app to render different data based on which user is logged in.
- Onboard the old system users to this new system.
My definition of an MVP:
- Tell the store we are taking over, that they have to print their labels from our tool, and onboard the users to our app.9
I honestly don't understand people. They are unable to understand easy to use apps when you provide clearly labeled labels yet they use apps like Snapchat which apart from being the worst designed app I have ever seen (it brings SD820 to knees) is unintuitive as hell with no difficulty. How is this even possible.
Also on a side note, go fuck yourself Snapchat. And if any of Snapchat devs are reading this: " go fucking kill yourself. You don't deserve to live after creating such a piece of shit. Even a fresh out of college intern does better job than you. You think this is good? I have never seen anything worse than it. Even fucking in-house government apps are miles better and more intuitive than you. All your ripoffs from Instagram stories to facebooks new clone and others are better than you. Whoever thinks this POS is good enough deserves to be burnt."5
Working with a delivery ordering API. Response:
Shipping label type: PDF
Label: base64encoded string
I was like, that's easy, literally two lines of code. Proceeds to convert and save the file. Then on open, bam! Format ubreadable. What the actual fuck?! Found an online converter, and tried to convert it to pdf, to see if I was missing something, but the results was the same.
Then checked the decoded string. First 3 characters: GIF
Well fuck you too! This carrier uses GIF's for it's shipping labels for 2years at least, how hard is it to change that in your fucking api response, you pice of shitbag.2
Fuckbug client has no brain but worse is fuckbug has not one bit of understanding.
I am a fucking developer not a fucking DESIGNER.
You are supposed to give me your fucking information. Information as in text and photos and documents that I can use with minimal modification for your FUCKING website.
It was fucking stupid of me to help you out with non-dev work in the first place. My fucking stupidest mistake of 2017.
Just for the fucking slider, this whole goddamn project is dragging for the whole 2017.
I even helped you out with taking the fucking product photo at your office with my camera so we can have decent images to use.
I stupidly helped you out with doing photoshop of those images with your product labels and stuffs.
But in the end, you fucking dare give me 1 properly designed image to use in slider. Then ask me to change the rest of sliders with similar design like that one. If you have that image why the fuck cannot you do the fucking rest by yourself and come and fucking ask me.
I fucking hate you.5
If you like purely electronic music, try drum'n'bass, more specifically neuro(-funk). Believe it or not, it really boosts productivity.
I can recommend:
For getting used to it: Noisia, Teddy Killerz, Neonlight, Zombie Cats
When you are used to it: Current Value, Pythius, Hydra, Jade, Machine Code
When you need the next level:
Generally good labels: Eatbrain, Blackout Music, Terminal, Bad Taste Recordings, Invisible Recordings7
That moment when a client is all upset about a tiny bit of cutoff of some text, but they haven't noticed they've been missing labels from their map for who knows how long...
So I'm wrapping up for the day and right before I leave a coworker comes up to me with a problem. Our company uses barcodes to track some of our products through their development and we recently switched over to a new system for producing them. The barcodes for this particular product are supposed to have 8 digits, but the last 200 we printed have 9.
I immediately panic because I wrote the script that generates the bar codes and there had been a bug in the past where the script would add extra leading zeroes that weren't supposed to be there. I scramble and check the database, it would be a huge headache if our production database had been compromised with junk barcodes. Nope, all the new barcodes there have the right number of digits.
Next place to check is in the code that writes the barcodes to a text file for staff to print the physical labels from. Nope that's all fine too.
I ask the person who printed out the recent batch of labels to show me how the printing software reads from the text file. She seems confused by my question and shows me how she manually enters in the barcode range to the software. As she does this I watch her add an extra zero to the numbers. 🙃
Even worse there was an option to import all the codes from a text file literally RIGHT BELOW the manual option.
TLDR; Thought my script had screwed up our database, ended up being the fault of a coworker who didn't know how to import text files.1
"You know what really grinds my gears?":
Please stop saying your a coder!!!
Also don't say others are 'coders'…
This irritates me so much...
Sure you write code... Your a programmer not a coder...
Damn horrid term coder! The correct terminology is programmer!22
Not only is the documentation only in Chinese, but also the labels used in the components are. 🤦♂️🤦♂️🤦♂️
Oh well time to get my hands dirty.3
I just got the book "The C Programming Language, 2nd Edition" from Amazon.
I've had my wars with Amazon in the past for not protecting packages properly, and now it happened again. For the third time in 6 months.
The cover of the book is damaged, pages are bend a bit and it looks like someone took a key and tried to draw something on the front cover.
I contacted customer support to get a replacement, which was no problem, but still fucking annoying that I have to spend time on this shit.
Anyway, what pisses me off is the amount of work I have to do in order to send this shit back to them. Holy fuck!
First of all, I haven't met a single competent employee at a "post office" here in Denmark, as all of the offices are now a part of a either hyper markets or grocery stores. This means, that it's the stores employees handling this.
In this process from Amazon I have to actually clear it for customs with a form they need to take care of.
I have to print 4 labels, 2 which I need to sign and 2 I need to do something else with...
But I'm so freaking scared that they'll fuck this up and I'll get billed for 2 books. It wouldn't fucking surprise me, considering how fucking shit our postal service is in Denmark and how I've been screwed over by Amazon in the past4
How do you guys format data like this? Using js framework? Or pure HTML tags?
html labels? invisible table?
So I downloaded the handwritten character dataset from EMNIST, took an hour to extract. Found out it has 814k + pngs. I haven't optimized all of them with Gimp 😕 change them to idx3-ubyte format, or make labels for each char in a c++ automation.. While Gimp was frozen in bulk process, I started hearing crackling sounds from my desk 😨😨 I'm like fckkk shits gonna blow..
That's when the poorly taped 0x7E2 calendar fell from the wall.🤣🤣🤣2
NO MICROSOFT FOR FUCK SAKE NO!
I have a fucking 15inch screen and that left side menu is eating 25% of it! IF you gonna throw in a new "Creative" design, make the damn menu re sizable, NO I DO NOT WANT TO HIDE THE LABELS AND MEMORIZE YOUR STUPID ICONS!
At least do what Gitlab did, a nice small menu that DOES NOT EAT HALF THE DAMN SCREEN!
Oh, did I say anything about sub menu hell that pops up whenever your mouse hover over any of the items on the left? Yaaa... that goes to a brand new rant!19
Can I just say fuck Xcode? How the fuck have I been working on an app for over 3 hours and only now when I do the first compile do you feel like showing me an "Internal Error" message which has caused all of the buttons, labels, text and just objects in general to disappear4
You constantly see these professional profiles with labels such as 'Expert'/10 years experience/senior/CTO/CIO/Consultant.
I think it's very unfair because they attract employers and they even get hired, while some of us with veteran knowledge in several fields don't get considered for a job.
May I add that it's always the funny guys who get a job. Apparently being a relatable frat bro at an interview is more important than having priceless expert knowledge.1
For some reason GMail removes the Inbox label to some mails (usually receipts or communications from shopping sites) so sometimes I miss important mail and not realise until days later when I go "why the fuck is there no update?" I removed all filters and disconnected all services from accessing Gmail
Does anyone else have this issue?
So anyway... Finally got pissed of enough to build an IMAP program that looks are all Unread emails (with no labels) in All Mail and then moved them to the Inbox.
Part of me is wondering is this a test? Does Google like pissing me off to see what I'll do about it?
Legit Apple Interview
There are three boxes, one contains only apples, one contains only oranges, and one contains both apples and oranges. The boxes have been incorrectly labeled such that no label identifies the actual contents of the box it labels. Opening just one box, and without looking in the box, you take out one piece of fruit. By looking at the fruit, how can you immediately label all of the boxes correctly?
Those who got it answer it directly on Saturday/Sunday until then good luck10
i think im losing my mind.
i swear i placed like, 10 labels on my VB form, the designer even shows it's there! but when i run it for testing it all disappears!
i think i need a break.9
Went to steal a tool from my father's office. That was 3 hours ago..
Didn't find the tool (more labels for a label machine, I'm marking everything), still found lots more stuff, filled the space in my office that took me a week to open and now I have like days off stuff to unmount, reuse,... And didn't find the fucking labels...
I'm a C++/Obj-C programmer finding it ludicrously hard to switch to Swift.
I find that the constant ability (leading to very poor programmer code) to reduce syntax and add tokens reduces readability and nowhere is this more apparent that with closures.
I'm working through (to my shame) Ray Wenderlich's Swift course and the closure chapter has this:
PS I loathe K&R as much as I do Swift so it's all in Allman formatting for clarity.
let multiply: (Int, Int) -> Int =
(a: Int, b: Int) -> Int in
// do Something else
return a * b
Why oh why isn't this more simply and elegantly written as:
let multiply = (a: Int, b: Int) -> Int
// do Something else
return a * b
The equals sign shows clearly that it's a closure definition assignment, as does the starting 'let'. But this way all of the stupid excesses, like the 'in' keyword, the repetition of the params / return type only this time with useful labels and additional tokens are removed and it looks and reads much more like a regular function and certainly a lot more clearly.
Now I know that with the stupid ability of Swift you can reduce all this down to return $0 * $1, but the point I'm making is that a) that's not as clear and more importantly b) if this closure does something more than just one line of code, then all that complicated stuff - hinted to by the comment '// do Something else' means you can't reduce it to stupid tokens.
So, when you have a clousure that has a lot of stuff going on and you can't reduce it to stupid minimalism, then why isn't is formatted and syntactically better like the suggestion above?
I've mentioned this on the Swift.org (and got banned for criticising Swift) but the suggestions they came up with were 'use type inference' to remove the first set of params / return type and token.
But that still means the param list and return type are NOT on the same line as the declaration and you still need the stupid 'in' keyword!4
DevRant-Stats Site Update:
A little Christmas Present for you!
Added two Graphs now to view the stats of the last 30 days.
Unfortunately the system is running since yesterday and there is not much data...
If you click on the labels above the graph you can disable them!7
Why does XCode take like 10 minutes to show or clear a syntax error? It doesn’t help that the language itself is verbose as fuck as well with its ever-changing method names and sometimes optional parameter labels with each version of the language1
Our company hired a "Human resource consulting" to help with our internal processes and policies. Yesterday they showed us an Excel that we should fill when we travel to attend meetings, events, courses, etc.
This spreadsheet... OH, THIS SPREADSHEET... you should've seen that.
Most of the "labels" of the "fields" were writen with terms that we do not use in our daily basis. The fields were ambiguous. You shout put a number on the Transportation quantity (ex.: 5) but have no space to describe which transport you will use (bus, metro, uber... so... 5 what?). When we asked which name shoud go on the field "superior" (director, pm, scrum master...) the woman from this consulting said "oh, I don't believe you're asking about this" (and since then, she became more rude by the end of the meeting).
We care for quality in our apps, and UI/UX is a big thing in our company. The last thing we want is need to read a f*#1n manual to fill a spreadsheet. Make it intuitive and you will not need an hour and a half to explain how to fill this obsolete form.
It's sad to think that this person was hired to improve our company, but did not bother to understand the company's culture (and values, and terms) first.
We are currently refactoring our application in order to use multiple languages. The application startet 1997 and later it supported 2 fix languages. So it's one defined language or the other, this was used in uncountable places. Now a team of 6 developers has to refactor all the code of the last 20 years, where labels are used and an old translator was magically used out of nowhere..
Turns out it's a ton of work to get the software ready for really multiple language support.
In the latest update of firefox, the dev console shows all tabs as labels instead of the icons that never really made any sense to me, and in Swedish too! This is a great improvement, I love it! :)1
Finally I got the green light to migrate to Git. Now to plan and execute the migration of our ClearCase repo with roughly 1k++ labels and 14yrs of history in the next 6months
Tutorial: How to get rid of your dev?
1. Find a very old (2+ years) jira task that took a lot of sleepless nights to get resolved.
2. Make sure that your dev is still on the watchers list.
3. Reopen to 'change some labels'.
4. Forget to close the task again.
5. Remove the body. Heart attack will get classified as a natural cause.
6. Close the task.1
So as a student developer with years of background in web development (including both front and backend), c++, java and c#, I was more than surprised when I found out my Informatics assignment hadnt received the proper excellent mark. In fact both me and a friend of mine who has been working with C++ in particular for years got a --mark.
// The assignment was the most simple Windows Forms Application with 2 buttons and a textbox
When we asked about that the teacher said we hadn't labeled the buttons and textboxes, though we had actually taken our time to put labels next to each UI element that would need usage directions.
Though what she meant was renaming the actual variable names, those being textBox1, button1 and button2.
We of course got really mad, because w both follow the accepted naming conventions for each of the languages we write in. Arguing was to no avail. Even telling her that variable naming was not in the assignment instructions was pointless as she said it had been self explanatory..
The others for whom computers are powered by magic, did their assignments as they had memorized everything that teacher had shown them. Why? Because she didn't teach them how to code in the first place. So they copied what would work.
Fucked up educational system, sadly nothing new..
Oh and btw, the naming she uses and teaches students to use is:
button1 - btname
textBox1 - tbyear2
FUCK YOU SYNCFUSION, JUST FUCK YOU!! TRYING TO USE YOUR FUCKING LINEAR GRAPHS AND THEY NEVER FUCKING WORK!!! THEY DON'T ADAPT THEIR OWN BOUNDS, THEY DON'T SHOW LABELS EVEN THOUGH I'M FUCKING TELLING YOU TO SHOW THEM AND EVEN WHEN I ADD HEADERS YOU REFUSE TO SHOW THEM!! AND FOR SOME GODDAMN FUCKING REASON, WHENEVER I USE A TABBED PAGE YOU JUST GO UP AND FUCKING THROW AN "UNKNOWN EXCEPTION" JUST FUCK IT FUCK YOU , FUCK YOUR GRAPHS, FUCK EVERYTHING!!!!!!2
I decided to port a CM12 ROM onto an old device which had up to CM11 ROMs available. This was literally the worst and best port idea at the same time.
Well, at first, everything went neatly, but I noticed the ROM was excessively big. I replaced the boot animation, apps and sounds so they don't take up that much space. Made the ROM smaller.
Second take: the ROM didn't install due to error 7 and a symlink error message. I was fucking around with symlink, but that didn't do anything. I realised I can just put some labels indicating each and every stage of the installation so that I can get the ROM installed. The faulty thing was called "busybox" so I just moved it over to another file so I can copy it back when needed.
Guess what - the ROM was installed successfully, but I was pretty sure I fucked up by removing busybox.
Fun fact: I don't have much Android ROM making experience.
This is happening as I type - the phone is now booting up, and it takes much longer than an usual straight-after-installation boot-up. So we'll, I guess I literally froze that phone for now. Will try to get busybox working and supply some libs if needed.
To be continued. (I'll write a reply)4
It is this time of the year that I get to work on a shitty project to add some new functionality to it, it is a front end part of the project which before was externally developed, so now I have to deal with this BS Marionette mess where nothing they wrote comply to standards, like the fucking router.js doesn't look anything like the Marionettes doc, the bootstrap they used they fking decided to override classes in custom css and turn the 12 col grid system into 5ths or shit, then they created some autmated tests with bunch of intricated selectors selecting by 'labels' instead of !!!!FUCKING WHAT ARE THIS FOR IDs!? - fuk me - so I better decide to procrastinate on this project since luckily enough we don't have a deadline and I wouldn't care if we had either! My job is java developer, and yes I feel good about learning new things and learning front end. BUT NOT THIS CRAP DEPRECATED MttehorseShit!
Always nice coming into office with 4h of sleep, realizing you're the only developer in today, so all support stuff falls on me. Which is evenmore fun since I'm still a trainee and don't know everything yet.
Oh and I also spent 1h explaining the logistics/IT director how to generate a label to send off a package and then scanning said labels in.
So we map conditionals based on the form labels that the client can change and don't autoupdate them.1
The last ten days i’ve been working on some animations for this website. Basic stuff but when you make elements move on scroll, people go wild.
The designer had a big opinion on this ofcourse.
So big she hád to scroll through the page herself.
So, multiple times a day, for the past two weeks she came over, checked animations, and gave a bit feedback on what could be improved.
She never mentioned the labels that where only appearing on scroll. Everything was just fine after 9 days.
However on day #10 i got a bug that the labels had to be appearing “just after loading the page”.
Like what?! Are people to dumb to scroll 2mm on a page? Damn ho. Wtf do you mean with “just after loading the page”. 1sec? 2sec? 10sec?1
Hello all, I know we can search in git lab for the labels(easy, first commit etc) to find open source projects that suit me, but as a rookie it gets a bit frustrating not understanding the project and so on. Does anyone know a better way to contribute to open source and learning at the same time?2
I used to hate the tediousness of "busy work" e.g. changing labels in forms or running unit test procedures. But damn does it make the day go by quicker. I missed having something (anything) to do.
Is it "goto" still a thing?
Ran today into a 1k lines haywire method which calls itself (not recursive) with "goto" on labels within it. A little hell.2