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 - "mime"
-
INTERVIEWER: "I see you put 'Mime' as a hobby - tell us more about that"
ME: **Tries to leave but is trapped in imaginary box**1 -
When you spend hours figuring out where the bug is, with no luck, and then you wake up in the middle of the night knowing exactly what and how to fix...3
-
My university organised a series of shitty seminars and due to shortage of registration it was going to be made mandatory. Registration was a simple google form without sign in, so i wrote a python script and filled the google form with characters of Game of Thrones , Breaking bad and Narcos series. Now the seminar is cancelled.6
-
Typical Tuesday morning. Got word that a client was having trouble viewing a mp4 video, thats being used as a background element on their website, on their iphone.
No biggie, I think to myself.
An hour in Im praying to the safari Gods and cursing the existence of iOs (or however the hell you spell it).
While debugging I realise the browser gives up on downloading the video 2 seconds in, the same way I gave up watching that Netflix Neath note abomination, two seconds in.
So i quickly write up an ajax script forcing the browser to download the file before displaying it...F.I.G.J.A.M
But hold up 'webkitURL' is deprecated. Please use 'URL' instead ..dafuq ?
Okay okay I got this just use a work around for that ..aaand done.
Should be working right? Wrong (-_-)
Half an hour later searching stackoverflow like its the gospel and judgement is upon me and I found the solution..I found the solution, simple stupid solution that would make you wanna facepalm so hard that your great grandkids would have marks on their face.
Declare the MIME type in the bloody source tag in the html ... shoot me now3 -
"When we have clients who are thinking about Flash splash pages, we tell them to go to their local supermarket and bring a mime with them. Have the mime stand in front of the supermarket, and, as each customer tries to enter, do a little show that lasts two minutes, welcoming them to the supermarket and trying to explain the bread is on aisle six and milk is on sale today." - Jared Spool2
-
I sometimes remember the time when I wrote a Email-inbox-exporter-PHP-script-type of application that collects all the emails from an inbox, "copied" it to a database with the attachements and stuff and moves it to a folder..
I just started at the company for like a couple of months, had no privileges to create mailboxes and such and I didn't want to interrupt our programmer to do this for me, so... I decided.. to save time and resources.. to test run it on our global, live 'support' mailbox.. :D Well.. You might guess what happened.. Apparently I mistyped the name of the move-destination folder (because imap-weird-things) that resulted in a completly empty mailbox and an empty database because the inserts failed due to bad encoding and mime-type issues..
The moment I refreshed my Outlook and noticed that all our mails where gone.. I swear, I can't describe that feeling of fear, cold sweat, intense heartbeat... I just stood up, asked if anyone wanted coffee, and just walked out of the office.. When in the hallway, I heard my collegues ask to one another "do you have any issues with outlook, all my mails are gone?". Everyone was stressing out, the chief was stressing out "what happened?!", nobody knew what happened.. :D
They could partially resolve it via one collegue who hadn't refreshed the mailbox and he could forward all the mails back to our support mailbox..
I dropped the project idea and learned to work with dev environments :D A couple of months later, I accidentially forgot a where condition in my SQL UPDATE statement, but that was the last time I seriously f*cked up.. :D Got to learn the hard way I guess.. Now everything I do runs in dev environments, I test everything before publishing,.. When I look back.. I don't even recognize the (inexperienced) guy I was back then ! :D
Ps. No one still knows what happened that day and they blamed it on server issues :Dundefined learned from my mistakes sorry collegues fucked up live testing fml inexperienced empty mailbox3 -
First lecture of computer networks. Let's shove all of these abbreviations with their meaning, and possibly a associated port number in one 1.5 hour lecture:
HTTP, HTTPS, FTP, FTPS, SFTP, TCP, IP, UDP, ISP, DSL, DNS, LAN, WLAN, WDM, P2P, TELNET, PGP, TLS, SSL, SSH, MIME, SMTP, POP3, IMAP, IANA, DHT, RTT, DHCP
I really feel sorry for students who didn't have previous knowledge about this stuff..5 -
Trying to build a mobile first application that relies on camera and geolocation data but use drupal to do it.... ARE YOU FUCKING SERIOUS .. WTF is this shit?! ... let me nail in this screw with a banana.2
-
Italian schools are by far the worst in the world.
I'm in a IT oriented school, where we should learn to code.
We spent the first year writing in Word and "programming" in Excel.
In the second year we started learning Visual Basic, a total waste of time.
In the third year we finally got rid of most of the useless subjects we had and started learning C++.
Sadly we had a teacher who wasn't able to properly speak and teach to students who never really programmed.
We didn't even know what a class was at the end of the year.
In the fourth year, the current one, we didn't have a teacher for the first 3 months.
Now we are learning Java, but just the basics.
Oh, we're also "learning" HTML (not 5) and JavaScript.
Next year, the last one, we will do PHP and SQL.
Maybe also C#, the most pointless programming language in the world.
What a beautiful country.22 -
Sigh. This again.
We have Windows users complaining all the time about having their settings reset for each update. Then again, I don't remember default applications on Linux not breaking as soon as you are looking the other way. Why do I have to clarify that I don't want to open text files in LTSpice, or that nobody should ever want to launch first Wine, then Chromium for every PDF file?9 -
"Knowing" Bootstrap or Foundation is not the same as knowing CSS. If you claim to know css and you can't even tell me what media query is or how to make a page even semi-responsive without a css framework, please do everyone a favor and fuck off.2
-
> 1 hr meeting
> 30 min free
> 30 min meeting
> 3 hour meeting
> 30 min free
> 15 min "check point"
> How hard is concrete from 20 stories?!1 -
I am a pretty well of dev with a nice job and a nice salary. Yet I still suffer from imposter syndrome. It's nice to get on here and read rants about shit I've also has issues with or just feel better about myself because I wasn't the one the person that rant was about. Cheers to you devrant1
-
If your a developer please learn to program. There is no reason that this should ever be a package https://npmjs.com/package/year-now/1
-
That feeling when your debugging your code for two days only to relies that the file extension you passed to a method and the file extension you expected are two completely different things :facepalm:1
-
HOLY SHIT. short story, just dodged a bullet. Using the Samuel L Ipsum generator and not thinking. I then use this copy to test the notification system with the following text. luckily the system email only went to me!
"Look, just because I don't be givin' no man a foot massage don't make it right for Marsellus to throw Antwone into a glass motherfuckin' house, fuckin' up the way the nigger talks. Motherfucker do that shit to me, he better paralyze my ass, 'cause I'll kill the motherfucker, know what I'm sayin'?
Well, the way they make shows is, they make one show. That show's called a pilot. Then they show that show to the people who make shows, and on the strength of that one show they decide if they're going to make more shows. Some pilots get picked and become television programs. Some don't, become nothing. She starred in one of the ones that became nothing."1 -
Noop
18k+ upvotes.
Not a single post.
He's the total inversion of a narcissist. Hes a ghost.
He must be the most boring person on earth or the most interesting/mysterious.
Like, what is he hiding? No posts, no comments. Just upvotes.
My bet: Hes an international fugitive or a spy. Get em!
Who else wants to baselessly speculate about long time users who keep to themselves and or highlight their favorite mime?9 -
Why the hell does enterprise software get away with not having basic, logical, functionality?!
A hierarchical page structure should allow you to name multiple pages the same as long as they're under different parents.
Every FREE documentation platform understands this, yet atlassian fucking confluence can't figure it out.2 -
please tell me who had the great idea that someone should put screen shots of a web page in a excel sheet to include as their "bug" report. I cant fathom that someone once thought this idea was "good"1
-
hey guy just FYI node is not a Fucking cure all.
also "knowing" node doesn't make you a Fucking full stack developer. learn some real damn languages.10 -
So, my network security faculty thinks s/mime is secure multipurpose internet message encryption. And ssh is secure socket header.
Time to leave the class. 😭1 -
When your meeting was supposed to be on Wednesday but it got rescheduled three times and now when everyone agreed to meet, two days later, one lead guy didn't show up. Fuck this shit. I'm going freelance.2
-
So I'm a software tester and about a week ago I started developing a simple node application in my spare time. I was also about a week ago that I found devrant.
I didn't know I needed to add my statics in index.js. I spend two days on fixing a mime-error.
..I need a rubber duck.
But learning to code and devrant are really awesome! :D1 -
EML and MIME files can go straight to the top of Go Fuck Yourself Mountain and fall off a fucking cliff into the Sea of Eat Shit and Die.1
-
Well, I've started work a few days ago, and I've got a rant for you as well.
Anyone here ever hear of laughter therapy?
Well my day was normal enough, rattling through the training material, and work was holding an appreciation day with some dogs, cakes, and a crazy laughing woman. She was the instructor for the laughter therapy.
So thanks to my newly found "try everything" mentality, and a senior dev dragging me along to fill seats, I was stuck in a room filled with other devs, being told to smile and laugh even if I was forcing myself to do it. So I did, we went through increasingly embarrasing and insane-looking exercises (e.g. Mime pouring and drinking a milkshake while laughing), until we were told to lie on the floor and belly laugh for 5 minutes.
Anyone here play/see "We Happy Few"? I was stuck standing next to the crazy sow, who looked one bad day away from beating everone in the room to death with a cricket bat!
As is customary for me, have a cute snek.2 -
god damn it, your a grown ass fucking person. Why the fuck can you not be mature enough to stay on slack during business hours?! GAH!!!!!!!!3
-
Want to weed out bad Devop potential hires? Ask them how their ideal branching strategy is designed. Such a simple question will tell you a lot!4
-
Got a new devops "manger" today we had an argument for 20 mins about why Staging/UAT was needed and why we could not just by pass it and get to prod quicker .. WHAT?! I am dumbfounded I do not have words to express the emotions I am having right now.2
-
ProTip :: Avoid code conflicts by commenting out Git header references. Never worry about "resolutions" again
-
bad APIs lead me to leaving comments like this
```
// we do not know how many pages their may be.
// im thinking of space invaders here, reverse direction and increase speed!
// only we are just adding one and creating an infinite loop that is only infinite until it isn't```1 -
Having to approach your manager and bringing you that you haven't been meeting your deadlines due to being distracted dealing with depression is by far one of the hardest things I've ever had to do.. If you need help reach out someone is always willing to help!4
-
Oh Monday how I loath you.
Why can you not allow anything to go according to plan?
Why do things that worked on Friday no longer work on Monday?
Oh Monday ... -
There was a murder at a mime convention.
People that were there know who did it, but nobody is talking.2 -
"We'll publish critical vulnerabilities in PGP/GPG and S/MIME email encryption on 2018-05-15 07:00 UTC. They might reveal the plaintext of encrypted emails, including encrypted emails sent in the past. #efail 1/4"
https://twitter.com/seecurity/...
Let's see how this unfolds. While there is chaos I trink some tea and laugh, because I never send critical information over e-mail. 🧐🍵4 -
Multer is shit.
Do you know how to validate file size + mime type of the file before saving it to the disk?
Here is an instruction:
1. In one place you provide a it a fileFilter function that will validate the mime type, but this function can not validate file size or send user response.
2. In second place provide it a config limits file, that will validate file size, but can not validate mime type
3. In third place you provide middleware to capture any errors caused by previous 2 places and send response back to the user.
4. Go google for what is cb in multer because their shit documentation says nothing about it
Such simple thing as request->validation->response is split into 3 different parts, each of different type: callback, config file and middleware.
Why do so much people use this shit written by a braindead retarded morons?3