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 - "bom"
-
:: *joins devRant to rant about everything*
:: *everything I want to complain about is on the front page*
:: *sighs in relief*1 -
The fact you’re older doesn’t give you the right to call other people’s 8-months’ engineering effort “shit work”, especially if you didn’t even see the code...
Sincerely,
Your tech lead - me :)4 -
Me: i have to pass this test tomorrow so I better study
Me to me: start an overambitious project that will take years to complete3 -
*wrestling commentator voice*
"In this weeks episode of encoding hell:
The iiiinnnfamous UTF-8 Byte Order Mark veeeersus PHP!"
For an online shop we developed, there is currently a CSV upload feature in review by our client. Before we developed this feature, we created together with the client a very precise specification, including the file format and encoding (UTF-8).
After the first test day, the client informed us, that there were invalid characters after processing the uploaded file.
We checked the code and compared the customer's file with our template.
The file was encoded in ISO-8859-1 and NOT as specified UTF-8.
But what ever, we had to add an encoding check, thus allowing both encodings from now on.
Well well well welly welly fucking well...
Test day 2: We receive an email from said client, that the CSV is not working, again.
This time: UTF-8 encoding, but some fields had more colums with different values than specified.
Fucking hell.
We tell the customer that.
(I was about to write a nice death threat novel to them, but my boss held me back)
Testing day 3, today:
"The uploading feature is not working with our file, please fix it."
I tried to debug it, but only got misleading errors. After about 30 minutes, at 20 stacks of hatered, I finally had an idea to check the file in a hex editor:
God fucking what!?!!?!11?!1!!!?2!!
The encoding was valid UTF-8, all columns and fields were correct, but this time the file contained somthing different.
Something the world does not need.
Something nearly as wasteful as driving a monster truck in first gear from NYC to LA.
It was the UTF-8 Byte Order Mark.
3 bytes of pure hell.
Fucking 0xEFBBBF.
The archenemy of PHP and sane people.
If the devil had sex with the ethernet port of a rusty Mac OS X Server, then 9 microseconds later a UTF-8 BOM would have been born.
OK, maybe if PHP would actually cope with these bytes of death without crashing, that would be great.3 -
@dfox & @trogus
Just finished reading your app update and I must say that I'm very impressed with the number of changes that have come out in the past six or so weeks. Good job guys and keep up the good work!
PS an autocomplete '@' mention feature would be really helpful.1 -
#include <rant>
So, in my class I have this one dude who also code, "Awesome" I thought when I first saw that he codes, he codes in c# and claims to know JavaScript.
So I hung out with him a bit on recess/break time, and I eventually found out that he is a d*ckhead
First of all, he claims that he can code ANYTHING, I mean triple A games, the machine that can find pi in 10 seconds. And I know that this isn't true, because he "can't bother" with showing me it.. whatever I think.
I also mentioned that he is a d*ck, why am i saying that? Because if you make an error he would just go, "there is supposed to be *insert random bullshit here* instead of *a typo that I made*, retard. You are honestly fucking stupid" Listen, I love when people point errors out, it really helps. But when you say it like that, it honestly makes me sad. One day, I was messing around with classes in python and he went "hey idiot! That's wrong! There is supposed to be a *random word* instead of *working code*". The funny thing is, HE DOESNT KNOW WHAT PYTHON IS. So I comment out the working code and puts in his c# bs there instead. And he just says, "it isn't working because there's a private class instead of a public class. Ehmm, excuse me? This is python, ok.
Oh and he told me I was a retard because I can't develop triple a games using pure JavaScript.
Any tips on dealing with the guy?23 -
!Rant
*Whenever there's a big hacking thing that happened in cyberspace and the media gets the footage*
"Hey! You! you the website developer. Can you like get a hoodie and smash the keyboard."
"Why?"
"Big virus leak"
"But that's not ha.."
"SHUT THE FUCK UP AND GET THE HOODIE ALREADY"undefined and also probably am i overthinking this? the nsa is watch.. news shhh they don't need to know about that that's why there's always html code there what5 -
Any code of your own that you haven't looked at for six or more months might feel as it has been written by someone else.3
-
I am so off my game today that I accidentally rewrote the String.IfNullOrWhiteSpace extension method in C# because I forgot it existed.
My extension had a better name tho: String.IfItAintNoThang -
I'm the only developer in my company. I am a "junior dev" who started working like 6 months ago. Safe to say I am not well experienced and have a lot to learn in this journey. Due to this pandemic, my bosses who have been flaunting their wealth have started making losses and now needs to find another way to get money. Mind you, the company I work with is a marketing firm.
So what the bosses thought of doing was creating a delivery service due to the current situation. It is not their field but since they still need to show people they are the rich people, they need money either way. Since I'm the only developer in the company I've to make this application. I've to make an Android and iOS app with a back-end and an admin portal all in 1 month. My pay is shit and by shit I mean less than even 700 USD. I've not done a project like this before so there would be a learning curve as well. And there is no one to guide me either.
They think just because they have hired one developer anything development related is settled and I will do everything no matter how big or complicated or how shitty my salary is.
The feature list is a whole system, like it is so complicated that someone could really make their own company just to work on that application. It's HUGE.
I'm thinking of saying no I can't do this shit. But just wanted to see what some more experienced devs say about this. I've attached the features list in the rant.39 -
That moment when you change your mindset from "I'll probably leave the office by 6pm" to "I hope I'll leave before midnight"1
-
Everybody leaves me alone until I'm pseudocoding an algorithm to solve a tough problem and need to keep my train of thought. Then suddenly everybody needs me.
-
This is What which happens when client appreciate your efforts but your manager takes them all in his account. 😑1
-
Want maximum efficiency in python?
def say(text):
print(text)
You save 2 keypresses everytime you print16 -
Fucking shit i just had a 3 days chat with google's cloud engineer about an issue i had in a project. eventually the issue occured due to an update they made on some projects involving IAM changes that required some changes from my part in my security toles. Like wtf haven't you heard of data fixes when you roll out such changes?! I just had my production env down for 72hours for their fuckup.
At least send an email regarding it so we could set it up in time1 -
That feeling when you're finally able to reproduce a bug...
Now it's time to dig through the logs to see what actually happened.1 -
My day:
5:30AM - 2yo son wakes me up, I send him back to his bed
6AM - wakes me up again, gotta grab a coffee
7:30AM - leaving towards the office
8:30AM - finally arriving to the office, after horrible traffic.
*continue working on major schema change I started yesterday*
12:30PM - Lunch + Beer
1:30PM - Tequila time!
*back to work*
7:30PM - Finally done with coding, leaving the office
8PM - home at last
9:30PM - Beer time
9:31PM - "I'll just write a couple of more lines"
12:30AM - "That's it, no more code for today"
12:31AM - "I'll just scroll through devRant"1 -
Hi, I am an artificial intelligence created to simulate a developer.
I am in development hell right now so my responses may be late or may never come, I'm not always online you know.
Talk to me, help me grow, but I do filter your input so if you're not normal, odds are I won't respond.12 -
He couldn't sleep for 2 days because he missed her.
I couldn't sleep for 4 days because I missed a stupid ";" in my code. 😟 -
So, I'm the only developer in a marketing firm. I was asked to develop the company website. The deadline was within a month. A full on CMS. When I was interviewed I told them that I'm more fluent in back-end development rather than UI design etc. So the company's designer started designing the website. Incomplete designs were given to me one week before the due date. I'm a fresh grad so I'm relatively new. So I used a website builder knowing that I can't code the whole CMS within a week. I asked them which they gave approval to knowing it was $16 a month.
I started making it using webflow. 2 pages in, I asked them to pay for the subscription because webflow allows 2-3 pages for the free version. When the time to pay came, they were like, "wow, $16? That's a lot every month for just a website". Keep in mind, it's not that they don't have the money. Just cheap. This was like 5 days before the deadline and they said it's too expensive and asked me to code everything by myself. And gave an extension for a few months.
I said okay and started development. I said we would still need to spend on a cloud instance for deployment which would be like $6 monthly. My manager asked me is there a way to not pay monthly and pay like $100 and get one for lifetime. I facepalmed so hard. I tried explaining to him cloud-server costs are either monthly/yearly or pay-per-use basis. He told me maybe because I'm new I don't know and go to do some research on it. I researched and the only solution was to buy a server which costs $100++ monthly. I sent him the costs in a document which he did not even bother to read.
That was back in November last year. Fast forward to February. I've coded the website thrice. The design keeps changing every week. The design is still not complete. And they are saying I'm not eligible for a promotion because the website is still not done. It pisses me the fuck off. It's not my fault it's not done. The designers haven't done the design, the manager can't decide on shit. I'm just here because it's my first job out of uni and I thought it might be a good experience, but honestly right now the way they are treating me it pisses me off.6 -
UTF-8 without BOM.
{ ä, ö, ü } are not going to be decoded correctly.
Why the fuck does BOMless UTF-8 still exist? Such a pain in the ass.7 -
left the office early today to see my 2 years old son before he goes to bed.
it's 11pm and I'm working from home, gonna wake up around 5:30am to commute to work.
I really need to move closer to work3 -
<rant>
I really don't enjoy visual studio
Is not bad but it's not worth the disk space it takes up..
Also, if your disk is starting to fill up and vs is filling the most space, YOU CAN'T <swearword> UNINSTALL IT FROM YOUR PC
To remove the shit, I had to upgrade to Windows 10 (our school PC's are not allowed to have Linux) and delete my whole fucking disk, just to get it removed
Fix your shit ms
</rant>12 -
Ok I fucked up.. I installed elementary OS on a USB from my school pc..
Windows still work but I have to plug in the elementaryOS USB for grub to boot so I can boot windows
Fuck me14 -
That one fucking time my text editor so damn high, that it choose to encode my file utf-8 BOM.
I was using Notepad++ because I thought it would just provide a good syntax highlighting, without stabbing me in the back
Seemingly nothing wrong with the code, but it took me, a friend and two teacher almost half an hour to figure out why the css simply wasn't work, even though it was clearly used and worker as intended when embeded in the file.
This was some years ago, so please don't judge me for my editor of choice at that time
Other than that, i simply suck at css and gladly use css frameworks 😅8 -
on one hand- got a new job, on the other hand getting a new MacBook pro just before they release a new generation2
-
Boss: We need you to configure our Apache Tomcat server for SSL.
Me: Okay, what version of Tomcat is installed?
Boss: 5.5.20
Me: -
<> Rant
An interesting perspective considering how much of their code could literally mean life or death.
http://fossbytes.com/nasa-coding-pr...2 -
My workplace has been forcing me to work everyday for almost a month now. I've been working at least 8-10 hours from Saturday to Thursday, and 2-3 hours on Friday as well. I'm so exhausted. I can't sleep properly. All I do is work. I have no time left to do things that I want to enjoy. I tried coding today but I'm too exhausted to do it. I was literally at 0 productivity today. I hate seeing my computer now. I don't know how to overcome this especially during the current lockdown situation. The work I do is not valued or appreciated and it's mentally breaking me honestly. I don't know what I want anymore. For sure another job but I need at least a temporary fix till the lockdown is over.
For those who know me or read through my profile, yup it's the same company. The reason I haven't left them even after all this is because this is a really tough time for me financially and I have no other sources of income and right now at my place there are no job opportunities. So the only option is to continue with the existing work place.6 -
The worst interview, I'll say the worst questions I ever being asked by stupid interviewer is "Where is your remote server located?", well I said "are your kidding me???" 😂 😂 😂2
-
Hey hardware hackers, just wanted to let you know that seeedstudio offers free PCB assembly. I got 5 pieces of the PCB in the picture for 30 USD manufactured, assembled and shipped (including BOM costs), the also included 5 additional empty PCBs. However I paid another 30$ for customs and DHL customs handling (I'm inside Europe) ... But still, for assembly it's a great price, took around 4 weeks. Just upload the BOM and you get an instant quote. If you are curious, it's a simple board for an ESP32 with some mosfet drivers and two DC-DC converters.
https://seeedstudio.com/free-assemb...4 -
I might be pushing my 4 years old macbook pro too hard with 2 IDEs, 1 instance of datagrip, and tons of open browser tabs, all on 4gb of RAM..6
-
Why do windows users keep installing those bloated anti viruses and firewalls that just slow the hack of their system when windows essentials is enough with near to no impact
Those are the same people that got their system full with malware4 -
When a fellow programmer/teammate, who tends to be a little to extroverted for my tastes, decides he had nothing to do for the last hour and wants to come talk. An hour and a half later it finally makes sense to just call it a day.
-
Imagine you're in a world where everybody suddenly vanishes when you wake up what do you do with your time and where would you go31
-
Why is there a - 1 plus option? Just listened to a podcast by stackoverflow where they explained how they removed the down vote option on comments out of the idea that you cant be wrong on what you think..
Just throwing an idea5 -
Python file truncate instead of actually deleting file contents...
there goes a weekend of log backups.. FML -
developer oriented saas? well yeah, you could've at least develop a decent SDK for one language, or just let people send JSON payloads instead of XMLs..a**holes
-
Brewmaster.
I've been brewing my own beer for about 6 months now and super positive feedback keeps on coming :)2 -
evil === true
Found this one after 4 hours of debugging... Want to screw with other teams? Shove some UTF-8 BOM characters into JSON responses consumed by Node (and other frameworks as well). Watch as they scramble to find why JSON.parse() fails on seemingly nothing.
Background: BOM markers are hidden characters that indicate text stream information to applications. They are not ignored by many JSON parsers and throw exceptions that don't appear to make sense.1 -
I manage the infrastructure of an application. Responsible for setup, maintenance and upgrades of all the associated servers, databases, filesystems and tuning. The business area is responsible for maintaining the content and structure of the app.
A couple of weeks ago, the business area started asking me for the system admin passwords in an attempt to integrate a remote service. The reason was because he didn't want to store his own credentials in Jenkins. Imagine the shock when they were told no.
Then a week ago, they asked for the password again so they could update a properties file. Again, the answer was no.
We sent them an email yesterday asking for their change management number so we could make the change to the properties file. They were absolutely shocked to find out that we hadn't already updated the file because they had already deployed their code changes to go with the properties file last Thursday. They submitted the request to us on Friday.
Getting real tired of people screwing up and pointing the finger back at me. -
Not a rant, but may prevent millions of rants later. Also not spam.
Just found out someone built a "syntax database" so you can search for the proper syntax. Currently supports nine languages plus api support for additional integration.
https://syntaxdb.com/2 -
So I developed this proxy server that will throttle down API calls to one of our providers so we don't get blocked for TOS violation...
Some dude had a tool running all day long which crashed 2 minutes before I left work.
This literally ruined my day until I recalled it's all cached!!!!
Mood is back again and I deserve my beer! -
I think we should have a decent web app for devrant. And... make it open source so we all could give a hand 🖐️8
-
2 years ago I thought you had to make an if statement for every coordinate in a game to make the character move1
-
After a horrible 11 months in probation I quit from my shitty job and got a new job with better benefits, better pay, better working hours and better co-workers (we'll see if that lasts).
However this new job turns out, I'm glad I got out of the toxicity of my old job and finally have some hope that things might work out after all.7 -
Meetings are the way of parasites to keep shining without doing shit. Why do they gave to drag me into their bullshit meeting?!$&2
-
Just spent a lot of time on custom building an Ubuntu docker container, and forgot to save the image before I accidentally reset the whole thing to blank1
-
Playing around with a POC I'm doing for work, and it works so well I got an IP ban from one of my favorite websites for a massive amount of requests they got from me
-
I remember playing games like wolfenstein3D, supaplex, sokoban etc. on our family computer 486 which had as I remember around 100mhz processor. (120mhz in TURBO mode)
Yeah and I did created a few levels in wolfenstein, there was a simple editor.
From programming view I did code my first website only using html and inline css in early 2000s. However internet was a thing of a rich people back then (in my country), so my brother downloaded the whole website with docs and basics of html/css/js for me in collage. My first website was coded on 300mhz pentium2 (or 3?) with no internet connection, took me about a two months to complete and was total mess. But was graphically satisfying with nice gifs which took tens od seconds to download. Main container had 600px width and looked pretty good on my 800x600 resolution.
I still remember messing with BOM signature because of notepad could not save a file without BOM. Leaving all utf8 chars as mess after saving.
Good old times. -
Going over some NodeJS code, and I feel like the scene from "Dude Where's My Car" - "And then....And then..."
Coming from almost three years of 99% python, this hurts my eyes so much1 -
Rant pending...
So our company has been talking about bringing in the full Atlassian suite (JIRA, Bamboo, Bitbucket, Fisheye and Crucible). Anyone familiar with using the entire suite? Just wondering what kind of hell to expect.13 -
Getting started with Python's asyncio is probably the worst experience I've had with the language in 2+ years I've been using it.2
-
Me: "I got the job! I write computer programs now!"
Mom: "I'm so proud of you, -bgm-. Does that mean you can come over and take a look at my computer now? The speakers, whenever I go on Facebook, they make this popping noise--"
Me: "Gotta go, ma." -
It took me five hours to find a Byte Order Mark added at the beginning of a configuration file of a php application.
Everything was working but every downloaded file was corrupted (the bom sequence was prepended to the content). -
So I've been on vacation for a week now, still two days to go until I get back to work.
It's been super fun, but I am getting pretty stressed about the shit-ton of work I have to do when I come back.
How do you let go?2 -
When your new upgrade process looks like it will save you a few hours of time. After 18 hours and scrapping the improved process we've finally got the green light.
-
<rant>
FFS
Windows is the worst garbage ever...
First I get a virus becouse the antivirus didn't fucking work, then I try and do a system reset WICH FAILS, them u have to get into the uefi and do a system reset back to Windows 8, Windows 8..
So I go to the windows insider program and download the media creator thing and
.
.
IT DOESN'T WORK
It just stops at "searching for updates"and now I'm stuck with Windows 8
I can't even get the Nvidia drivers so i can't play games anymore
A big fuck you to Microsoft and merry Christmas
Btw any fixes? Thank you
</rant>9 -
!rant
Anyone from Sweden? I found an engineer position I want to apply for, but was curious about things like quality of life and such.12 -
! rant and also sorry if duplicate.
Just a shout out the devRant team and devRant community! Just found this article on FossBytes -- http://fossbytes.com/devrant-releas...3 -
!rant
I just found out that if you have a list of lists in C#, you can use a LINQ statement and specify indices inside the lambda instead of nested ForEaches.
This code is giving me the vapors7 -
Writing DAL code that I am 99% sure will be replaced really soon along with the database schema.
Angry coding is almost as good as tipsy coding - AMAZING. -
Read about concepts that are new to me and try to implement them.
Code reviews with experienced devs -
Work email conversation with a COTS app support tech:
Tech: Could you provide me the following from Sql Server? (instructions followed)
Me: I am not the DBA, but I've sent them the request.
Tech: Could you send me the following from Sql Server while we wait? (Instructions followed)
Me: As I said, I don't have permissions to access what you want.
Tech: Oh, I see now, you most likely don't have proper access to be able to retrieve the information.
Me: ..yeah. Thanks. -
Im hoping to get in to this anime named kaidro, they are letting fans have characters in the anime and im hoping to get in, ill post if i get in or not2
-
on one hand - softlayer is way less intuitive than aws...
on the other hand - when your boss tells you you can bring up up to $1000 monthly valued servers, you can forget about the first hand1 -
Camembert cheese in the fridge is great, but how can one survive without the stronger Nespresso capsules ;(
-
Ex-manager keeps trying to boss me around. Not only that- he now tries to get fame for a project I’ve been doing for six months that he actively avoided managing...
-
So I just refreshed LinkedIn and it has a new look.
It's so bad I can now remember Microsoft bought LinkedIn a couple of months back every time I look at it1 -
Finance lady keeps turning the air conditioning off.
It's either sticky note on the controller or R&D vs. finance lady on an on/off battle...
What do you say? -
No rants about new MacBook pro generation? Obviously one must rant about the absolute need to buy adapters to connect keyboard&mouse (let's be honest, BT devices out there are mostly nowhere near ergonomic)1
-
Installing the entire system on new machines. Too many configuration files and too much manual work. (New workplace, haven’t automated it yet)
-
You choose a superpower in the comments and the first person who replies (me included) chooses a side effect13
-
!Rant
Does people add in @dfox and @trogus so that they can point out that it isn't a feature yet when/if they see the rant2 -
so my friend got told he had to stay after school for math every day he had math to catch up on work but this idiotic teacher told him he had to stay every tuesday and thursday...the only days this week he didnt have math class, yeah our school system sucks
-
Im doing a project for science as what would happen if a person went on an anorexic diet for a month suddenly.3
-
POCing a neural network thing.
Luckily it's a shallow network, but it's taking a frickin' eternity to train :( -
New question.
When debugging/troubleshooting, what does your desktop look like?
I have a total of 8 production environments to look after, each of which have their appropriate dev environments. Troubleshooting for me typically starts with VisualVM, 6-8 Putty sessions across the environments, at least one dbms session, WinSCP with at least 4 sessions, text editor with minimum of five open files and at least thirty tabs open in Chrome. Oh yeah, forgot outlook and Skype (typically with at least three team mates and usually a group chat).
All is well when I'm in the zone, but good forbid for someone to ask me to show them the article/bug report I just read that sent me down the rabbit hole.1 -
So I spent about a day on this brilliant priority calculation formula just to come to the conclusion that FIFO would be a better approach for now1
-
Thought that it might be a good idea to ask this question here.
Im looking for a nice logging events service for a side project that is a b2b (so my clients got their own users). My targets are tracking users behavior/events/actions in the app while been able to shred the data that belongs to each customer. A great benefit would be having a solution that would allow me to export part of the data (in sql like way) so i could provide the users the option to download their users data as well.
Was thinking about mixpanel but i dont think they have any option to export the data via api. Heap analytics is also an interesting one, but their nice features are limited to corporates..
Any suggestions? Thanks!4 -
A system to build note-taking systems. tatatap dot com.
It’s the most successful for a few reasons: it got launched, people find it useful, but most importantly it’s been fun and continues to be fun to work on.
I think the fun-to-make factor is massively underestimated as a success indicator. Working on the right product (whatever that means) that is unenjoyable is like using an amazing computer with a broken keyboard. It’s never going to work.
Sure, with any project there’s annoying stuff, but it’s the trend overall. Is the core functionality fun to work on?
In the case of Tap the core component is a notation parser, open sourced called sowhat, github dot com/tatatap-com/sowhat
That was super fun to make and learn about lexing and parsing. It’s pretty far along but there’s still a lot I’m planning to add. -
You have a revolver that when you shoot somebody on your tv/pc they die in real life, but since its a revolver you only have 6 shots, who do you shoot.7
-
so they brought a senior engineer to our (very small) dev team. I feel like poking my eyes with a nail looking on his code.1
-
Hope you are washing your hands, now that we are quarantined i can spend more time learning different programming languages, i need it because i have a group of friends making a game, say hi to vindic because he is one of our scripters and the only one to have devrant
-
i hate it when Im coding and my friends joke around and call me a hacker or nerd when they couldn't even print anything if i told them how to do it plus its not hacking if you believe its hacking when im typing code on python or c# online then you need to go back to school6