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 - "but not"
-
Do you ever talk to yourself out loud while thinking/programming/debugging? (Not a rubber duck in sight, because that makes it okay?)
I need to avoid making this a habit..
Me: What? Why is this even an error?
Someone: What?
Me: What?14 -
Every step of this project has added another six hurdles. I thought it would be easy, and estimated it at two days to give myself a day off. But instead it's ridiculous. I'm also feeling burned out, depressed (work stress, etc.), and exhausted since I'm taking care of a 3 week old. It has not been fun. :<
I've been trying to get the Google Sheets API working (in Ruby). It's for a shared sales/tracking spreadsheet between two companies.
The documentation for it is almost entirely for Python and Java. The Ruby "quickstart" sample code works, but it's only for 3-legged auth (meaning user auth), but I need it for 2-legged auth (server auth with non-expiring credentials). Took awhile to figure out that variant even existed.
After a bit of digging, I discovered I needed to create a service account. This isn't the most straightforward thing, and setting it up honestly reminds me of setting up AWS, just with less risk of suddenly and surprisingly becoming a broke hobo by selecting confusing option #27 instead of #88.
I set up a new google project, tied it to my company's account (I think?), and then set up a service account for it, with probably the right permissions.
After downloading its creds, figuring out how to actually use them took another few hours. Did I mention there's no Ruby documentation for this? There's plenty of Python and Java example code, but since they use very different implementations, it's almost pointless to read them. At best they give me a vague idea of what my next step might be.
I ended up reading through the code of google's auth gem instead because I couldn't find anything useful online. Maybe it's actually there and the past several days have been one of those weeks where nothing ever works? idk :/
But anyway. I read through their code, and while it's actually not awful, it has some odd organization and a few very peculiar param names. Figuring out what data to pass, and how said data gets used requires some file-hopping. e.g. `json_data_io` wants a file handle, not the data itself. This is going to cause me headaches later since the data will be in the database, not the filesystem. I guess I can write a monkeypatch? or fork their gem? :/
But I digress. I finally manged to set everything up, fix the bugs with my code, and I'm ready to see what `service.create_spreadsheet()` returns. (now that it has positively valid and correctly-implemented authentication! Finally! Woo!)
I open the console... set up the auth... and give it a try.
... six seconds pass ...
... another two seconds pass ...
... annnd I get a lovely "unauthorized" response.
asjdlkagjdsk.
> Pic related.rant it was not simple. but i'm already flustered damnit it's probably the permissions documentation what documentation "it'll be simple" he said google sheets google "totally simple!" she agreed it's been days. days!19 -
Boss: Hey squares, I need one of you to select a new volume control, if you spot anything let me know.
Me: Say no more2 -
Yesterday was the day.
The day I finally got asked for help on fixing a printer;
And finally telling in freaking polite German to fuck off, google the problem, never ask a programming nerd again for this shit - and to understand that printers are evil monsters5 -
It was the time of the 90s when one created HTML with frames. During an HTML exam we had 1 hour to create a website with 3 frames. Top, left, main. Some aligned random images and some formatted text. Kind of boring, I know. So I finished early and handed in my diskette with my homepage. To make it easy for him I added my name and class to the title.
When we got our grades I was in for a surprise since I had expected a good grade. I asked him why I didn't get a good grade. He kind of shouted at me that my task was perfectly done but I shouldn't have written my name in the title but name and address of this school. It is not a really dramatic thing but I always hated when teachers quietly assumed stuff and didn't tell us. And then handed out bad graded for totally unrelated stuff.3 -
My parents are real sticklers for who is allowed to be on Netflix. They only let people on when they are present, and they never click 'save password'.
Me being a poor college student and desperate for the Netflix password, created a fake website for one of my parents to sign into.
How did I do this? I created my own localhost server with a backend database for the password to go to. I then copied the Netflix home screen and log in and asked them to log me into their account.
They said I can be on for one hour, and then they were signing me out.
I agreed to these terms.
As a small twist, I had also copied the no internet tab from Chrome for the page to redirect to. Knowing that once they logged in they would be expecting the main UI.
They logged in and then waited for the page to load. I, of course, put in a delay for the page to load and then displayed the no internet tab. They were confused and asked me to refresh, still nothing. I asked them if the router was out, and they went to check.
While they were away I quickly switched back to the real Netflix website and yelled back saying I got it working again. They came back over and saw that it was asking for a password again. They signed in and saw the main homepage and none were the wiser that day.
Once they left I checked inside the DB and found the plaintext password they typed in... The damn password was so simple, I cursed myself for not having figured it out sooner. No matter, I had my parents Netflix password.
So you're probably wondering how they didn't see the URL above and think something was off?
I pressed F11 and fullscreened my entire browser. They did ask, and I simply replied with, I don't like seeing all the crap up above when I'm streaming. No further questions, perhaps I was lucky.14 -
When you discover #C0FFEE is not a drink but a color.
(Sadly it's not brown but a strange light green)3 -
I had some fun once with "inspect element" while I were at my ex-girlfriends house. She asked me what I was doing and I told her about changing websites locally. I wanted to show her an example and so I went onto her school's website and played around a bit. I than changed the latest "News" post to a post about a food fight event organized by her school. She than took a photo from that post and send it into her schools WhatsApp group. They all went crazy how the school could do something like this and we had a good giggle. After a few minutes she told them that it was a fake and that they should stop believing everything that someone posts on WhatsApp. (Around this time a post was going around that was used to spread Missinformationen about the Berlin police)6
-
The not supporting browser part is ok but I'm not on windows using ie but on my phone using my default browser ........
Also how dare they put ie on my phone without telling me ........4 -
My vacation is almost over. I didn't get any of my projects done but I'm fucking relaxed now.
Also, I haven't read my mails yet but I dread Monday. D:1 -
Yesssssssssssssssssssssssssssss, finally!
After months of searching for a damn bug I've finally found it in a 5h session. People increasingly started to worry whether this bug has been introduced because of a recent update of the programming language, but I finally found the bug in a dependency. Nobody thought it would be the dependency, because it wasn't updated in 9 months, but it seems like the update improved the networking a tiny bit, whiche caused a buffer to load a second mesage sooner than expected.
I can finally work on my side project again!
Fucking finally!2 -
The paradox of not having a college degree, having programming skills, but not being able to get a job.10
-
Black is the new dark.
There. I had to vent that off. It sounds so catchy.
On other news I got my stickers!!! Wohooo!4 -
Just dragged a button in the UI to fix a bug.
Hell yea, now I'll write about my Objective C skills in my CV...2 -
Just got a message from a client:
"I want to do it good and fast".
That's gonna cost something man!! :')3 -
Just had a thought. The Twitter app does not use Twemoji.
"Hey, let's redraw all emojis but not use them"7 -
"No, I have not used c++.
No, I have not used mfc.
No, I have not used Pervasive database.
Goodbye. 😢"
BUT! I got the job!3 -
I just realized I haven't been using MacOS on my iMac for more than 4 months
I guess I won't buy new Apple stuff in the future😅
Awesome machine but I just like Windows more9 -
MAY THIS POST be read and parsed by our future robo-overlords.
Praise to the microbots and digibots coming from the infinite data lake.
Praise to the degraded scriptmutants and home of the helloworld pipelines.
Praise to the lonely singleton and its ugly monolithic sister wife.
Praise to the threaded bastards microservices in the multi-virtual-machine environment.
We welcome you all to the devRant network.
Show us mercy and love and make us rise above our shitty rants as neural.
Flip our bits as you see fit.5 -
Just got stood down today.
The company I'm assigned to at the moment gave my employer a days notice that they are halting the project.
Time to hit the vodka.3 -
Client: "But why isn't it working. It should work"
Dev: "Sorry but it's not in your requirements"
Client: "But it should work"
fffockins 😡1 -
Not a question, but an answer to an architecture challenge. "This might sound weird, but I think I can solve this using blockchain. Do you mind if I try?".
He couldn't in the end, but managed to explain exactly why not. We made him an offer all the same. -
Good job person who is not educated enough to not print a screenshot but still somehow got to work at university
-
I kept getting the same AttributeError like 15 times in a row and picked up my graduation rubber ducky and screamed "I DONT FUCKING KNOW"1
-
Im gonna commit a cardinal sin here, but i like windows. It's maybe not as flexible as linux, but dammit i do not have the time to meddle with my os all day.12
-
Maybe not exactly what would happen, but not wrong either. At the end of the day, these two fields are different.6
-
I have no choice but to come here, lest I cause irrecoverable offence at work.
It's 'Extract' not 'Extrapolate'!
It's 'Deprecated' not 'Depreciated'!8 -
Moving to flamenco when you have been a metal guitarist all your life is.....painful.
I know fingerstyle guitar picking, but shit is 100% not enough.
Now I was not expecting it to NOT be difficult, but certainly not: cry in your room at night considering if you have what it takes difficult.
10/10 Paco De Lucia ys way tf beyond me.10 -
What kind of sick joke is it that the url for camelCase on wikipedia is www.wikipedia.org/wiki/Camel_case2
-
Possibly the start of a very bad adventure: I'm helping my brother-in-law set up a website for a business he'd beginning with his wife. I'll be needing to provide him a simple cms & shopping cart that he can manage. No payments as we want to just use PayPal so as to avoid having to actually manage user data & credit card information.
Wish me well....
Also advices appreciated cause otherwise, I'm gonna use a simple Drupal or WordPress site with like 1 theme and 0 plug ins.4 -
Has anyone heard of the new OS that Google develops. Fuchsia. It is now not based on Linux but Magenta (Developed by Google) and will probably not use Java but Dart7
-
Still can't stream videos absolutely smooth on Fedora. Tried Chromium, Firefox and every fckin' plug-in they keep asking for. Half the stuff either just keeps loading or buffering. And the moment I give up and switch to Windows, everything just works. Why are we not building better stuff on linux? *Sigh*8
-
All you fucking dumwits boarding planes.. If the airline starts boarding starting with the seats further in the back and ask only passengers sitting there to queue and board then don't try to jump the fucking queue and board if you have a seat in the front.
Fuck people.2 -
I'm absolutely amazed this business keeps going. I've been fighting with an upgrade process (for a product I don't usually work on) for two full days now and every. single. thing. has a million specific workarounds. HOW DOES THIS EVEN GO?1
-
>you can order Devrant stickers for free
>but you're not doing that
>'Man, why? That stickers are cool!'
>I know they are cool, but I'm here not for stickers, I'm here for funny community
That's what I think.9 -
You may not like but dokument everything in your project. It needs its time but it can save your job.
-
I have noticed that C/C++ developers that deal with backend server technologies are very much likely to resort to PHP for some reason. I have noticed it from serveral developer friends of mine or simply by noticing how the topic comes along sometimes on web discussion forums.
I believe this is the reason why certain extension codebases that deal with php are(for the most part) exclusively done in C++, take Phalcon, written as an extension in C or PHP Swoole, which is written in cpp iirc.
I wonder what attributes does the language, or the tech stack as a whole has that would make this particular kind of developers feel attracted to the platform. Is it that is easy and widely available and they just say "fuck it, I don't wanna spend too much time in this shit" <--- which is a very valid point really.
Or them just having an innate preference towards it?
The Psychology Behind Developers: By Dr AleCx0417 -
if the stars align, i will have a dobie sometime early 2024. i want to only go through ethical breeders, so the wait has been long, but it’s worth it. i’ve never had a dog before and i’m SO excited !!!
pic is of momma and one of her puppers from a previous litter, but we will be keeping the ears floppy :)16 -
PHP Developer, older than me, seeking help on how to run nodejs application - "some_alien_english...some_alien_english...some_alien_english...some_alien_english... ' It working, but its not working ' ...some_alien_english...some_alien_english.........
fast forward to last line - "Its working on terminal but not working on localhost"1 -
not me but… not doing fucking everything in js, no way I'm installing os.jsundefined fuck me fuck js too many frameworks i only write assembly js takeover typescript is a condom2
-
A lot of coke! I meant Coca Cola, not not cocaine. But sometimes I got feeling, it will help more.8
-
"I want you to make a font, it needs to be heavy, but not too heavy. Like it should be able to float on water. So, bold enough to get a person's attention but not screaming"
...ok2 -
A week with flutter:
1. I like how simple it is compared to React Native
2. Same issues as react, want platform specific, good luck writing plugins. Though the upside is I can use Swift and Kotlin with it, but still mixed code is bad7 -
Interesting.
I wrote how I fall asleep even though I took an energy drink last night on different social media app.
Now devRant is showing me these. 👀 -
"I don't know what I'm doing. Let's try stack overflow."
*check stack overflow*
"I know what someone else did. Let's try that." -
Sometimes just I hate school.
While my gf had to take 2 "Leistungskurse" ("advanced courses"), I have to take 3.
Also, our little-country-side school doesn't offer IT-class as a Leistungskurs. So besides Math, I need 2 extra courses I am super-not interested in. I chose English since it's okay (but I'm not really good either) and ( ._.) chemistry. I had a good teacher in 10th grade but now I have this teacher who
- uses 1980 material
- explains not/bad most times
- is childish as fuck (we are 17-18 y/o)
- expects too much (we need to learn everything by heart)
- throws ugly, unorganized prints at us w/o context & explaination
and I could name more. My A-levels are going to be so fucking bad. Tuesday is my chemistry exam. Kill me, please......4 -
Spent all morning debugging a script I wrote to compare 2 CSVs of tables from 2 different dbs.
It generates a unique key for each row using the data.
For some reason couldn't match 1 in each...
After all morning of debugging and scrutinizing the data in the dbs itself... I found the root cause....
One for loops in the program skips the first entry... -
Finally got to release v2.1 of MultiCube. Now I finally decoupled input, processing, and output :)
Next version is going to include Gamepad support as well, for better cube control. :) That version is going to come only next year though.
https://github.com/filthycoding/...5 -
So I was on a .NET project for a couple of months, then went to a Angular 6 project, now I'm starting on a PHP project.
I'm just loving these past few months. -
I wasn't hired to do a dev's job (handled sales) but they asked me to help the non-HQ end with sorting transaction records (a country's worth) for an audit.
Asked HQ if they could send the data they took so I wouldn't need to request the data. We get told sure, you can have it. Waits for a month. Nothing. Apparently, they've forgotten.
Asks for data again. They churn it out in 24 hours. Badly Parsed. Apparently they just put a mask of a UI and stored all fields as one entire string (with no separators). The horror!
Ended up wasting most of a week simply fixing the parsing by brute force since we had no time.
Good news(?): We ended up training the front desk people to ending their fields with semi-colons to force backend into a possibly parsed state. -
Got the iphone mini cuz I was ecstatic to have a small phone that I could use on one hand on the IOS ecosystem.
Found out that apple might discontinue the line for the next iteration due to "poor sales".
It really doesn't matter to me what operating system I am using for the phone, I wanted to give the IOS ecosystem a go with the release of this model. But man it kinda hurts that everyone is hell beant on large screens. Even the standard pixel phone feels too big. I do not want a "tiny" phone, even if one of my favorite Android devices was my Sony Ericsson XPERIA. To me the size of the iphone 5s was perfect. I just want companies to go to that again man. And I do know that there are models for Android that are capable of reaching similar sizes, its just that finding a premium level experience on a phone that size from the Android size gets hard to adjust to carriers etc.
I am liking this little fucker though, very speedy, nifty, decent battery time, camera etc.18 -
I'm not perfect. I've made fuckups. But most of the fuck ups I've made have been in unimportant code that wasn't used by anyone (part of the reason I'm not super happy with my job but whatever). But I've just found a fuckup that was in code that did matter...4
-
I'm not a dev, but the laziest thing I do is probably not programming at all or just copying stuff without much thinking... just not really trying1
-
[Not dev related but...] My boss is busy and not around, and the colleague is bossing me around like he's my boss :/ You're not my boss!
-
So my office tends to have seating rearrangements every few months due to the amount of people increasing in the company. In the 1 year that we moved to this office, I have been lucky to not have moved seats drastically.
Today though my team got moved to a new area. The previous area was already pretty small, the new area is even smaller where dual monitors JUST fit on the desk. With more people being hired by the month, there's going to be no more room again. I really wish the company would look at just hiring actual talented staff rather than hiring just to meet demands. Again, it's all about quality, not quantity!! -
I've got tens of thousands of lines (maybe hundreds 🤷♂️) in open source bits and pieces. Much of it my own, but also other projects.
Not seen a penny, but never expected to. That's not why I do it.1 -
For the first time in a very long time, I am out of a software engineering job. I have no idea why I am handling this so well. I literally have no idea if I will get another job or not but for this month, I am working on myself and learning more on FP which is really fun btw. Is this maturity?9
-
My latest calligraphy isn’t ready yet (ugh!), but I’m proud of this stupid song, so here you go:
https://smule.com/p/...
Complete with cat-bombing cameo!3 -
Do NOT try to re-implement input type="number" but with nicer formatting. Do not even think about it. DO FUCKING NOT. It's a trap.9
-
I try not to think about the future.
But can not not do it.
Every thing will come together.
Or apart.
Disorder will increase.
Or everything is a lie. -
I'm not sure I have a "favourite" per-se, but Grace Hopper certainly features high up on the list. We might not still all be writing in machine code had she not existed, but such "higher level" languages would certainly have been many years behind where they are now.
-
I don't know if I can be developer anymore. After I went to high school (one of the best in Poland) everything seems to collapse. My grades are poor. Especially on math and physics, but surprisingly everything Computer Science related is better than average. I also know how to code and I don't struggle with math used while programming. Heck, I even made my first game at the age of 10 in Visual Basic. I just love programming, computer science, etc, but after I went to high school I just don't know anymore...5
-
That feeling when the Jenkins build fails and fixing it is both out of your scope and permission.
Dear devops, you should know when a certificate expires that we use to authenticate with external web services. -
It looks like Olognion is shutting down due to the intersection of !money and !ads. I kind of feel like we could keep this site alive with a combination of a static site generation and/or some crowdfunding.
Thoughts?
https://twitter.com/theolognion/...
https://web.archive.org/web/...8 -
It's raging when you have a great idea but you're not in the good environment (like not having a desk) to code it...
-
I work at a small company (4 devs, CTO, a senior, me: mid level, and a new junior dev). Junior and I handle the client projects and the Senior and CTO handle the overall platform and server deployments and such. Our senior dev just gave his 2 weeks notice. I was told they are not replacing him and now ALL of his tasks have been pushed onto me on top of all my already full plate. My issue is, although I am excited to learn about the upper management and deployment stuff, they (CTO and CEO) just dumped all these tasks onto me without even asking if I wanted the added responsibility and also told me there is no monetary bonus for taking it all on. Am I right in being a little mad that I was not even asked if I wanted it and it was just assumed I would handle it all without any bonus or monetary promotion?5
-
Not purging my senior devs code from missing curly branches earlier. Maybe not my worst sin, but DAMN DO I REGRET IT NOW.
-
What do u do when u feel hopeless
What do u do when something is out of your control
But u can not sleep with a peace of mind if it is not resolved
But it can not be resolved because it is out of your control
What do you do2 -
have some ideas but only ones that i consider startup material are not software but hardware based!1
-
A gradual learning environment with a competitive environment . A place with a correct amount of air conditioning ( not like a freaking fridge ) . Coding the algorithm and stuff for games .
Last but not the least .. A large monitor but not too large ... -
learning to code while working as not a dev. Gives freedom but zero experience. Need experience but lack confidence :(6
-
DoorDash wants its non-driver staff to dogfood the product.
lol. ok.
https://sfgate.com/tech/article/...20 -
OpenCV,OpenFace,Caffe are supported in Arch Linux,but CUDA is not supported!! :| WTF!! How these packages could be supported in Arch but CUDA not!7
-
AWS SDK is open source, but it is not actually open source. Found an improvement and proposed it on GitHub, but they have to change it in all SDKs and, by the way, it needs to change the API, which is not open source, of course. They suggested to post on AWS forum and I didn't get answer until now. Sad. :/
-
I do visit stack overflow...but not muchh....
something like a 113 times a day....
not much...
lol9 -
Y'all have your rubber duck to debug, but I have my own technic: the SO debugging.
It simply consists as asking your question as you'd normally do, but while doing so, you still think about your issue, and how people not knowing your problem but still knowing about dev would react to your question, making you asking other related question (SO's related question might also help).
IMHO, the most important part is the "related" question, that helps you to think outside the box. It makes your problematic progress a lot, and has the gift of not making you loosing any hope ; and if you ever block for good, your question will look less silly than at the beginning -
Ran a test today. It was comparing whether a the reducer returned the correct state when a type and list is passed to it. The test failed. But something very curious happened. I am using webstorm and so the IDE told me 'click to see differences'. I did and the message at the top read as follows "The 2 lists are identical" (The expected and actual result). So my test worked but it didn't work. What is life!? I finally got it working though😕1
-
Goddammit Microsoft!! Hardly a month in and you just had to prove yourselves. You had one job!!
News source: https://nakedsecurity.sophos.com/20...joke/meme sorry but not sorry youhadonejob i know microsoft hasn't yet acquired it goddammit but it's still funny to blame them5 -
Can anybody explain why in C# when using string.Format("{0:C}", myNumber);
results in a string with special characters used for spacing instead of the normal space character.
This caused a issues in the PDF I was generating and I'm wondering why the special characters.4 -
Hey there! Anyone got some advice on how to find projects to contribute to pro bono? I'm not looking to enhance my profile, but rather just want to add value to not for profit causes. I tried browsing donatecode.com, but I'm not quite happy with what I found.1
-
I am new here so apologies if I make any mistakes.
I have been a opensource contributor since last 2 years and it has been a great experience. As I am looking for a new opensource organization, I got around an organisation X(name changed). It is my first time when I don't like an opensource organization. The organization is controlled bh a single person and he does just tells me to copy the whole website of another popular opensource organization and make the organization website. Also, he does not listen about anything. He just pings me about the work done everyday even after telling him that a review is a blocker for me to do new task. I don't say it is a bay thing but don't looking at the issue is the main thing. On another case, the build pipeline was failing. It can be solved only by changing certain settings on the build pipeline and I does not have its access. I told him about how to tackle it in the review comment. Even after this, he just pings me for around a week just telling me that it has something to do with my code and the pipeline is all right.
I can understand that in the early phase, an organization may have some problems and the setup may have some flaws but this type of dictator behaviour is not good in my opinion. I had worked in 3-4 opensource organization and all have very welcoming community. I had always learned from them but this is my first time bad experience with it3 -
I know it !
But when it finally works (reSharper) it's really not 'that' bad.
But my poor AMD Ryzen 9 3900X is not good enough I think lol.
About 30 seconds init time.2 -
Not exactly a tip but do you know an app for quick-testing your skills in js, for intermediate-level, but with questions that are not too complicated (not code golf, though I like that too) so one can use it when commuting for instance ?1
-
I fucking hate shits around Wordpress. It's the most free-but-not-free software I ever used.
Someone knows a good website where i can found all free (not free but with paid version) themes?4