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 - "nono"
-
Password complexity checker for big car rental company is set to insane mode
☑️ 30 char
☑️ symbols
☑️ numbers
☑️ upper & lower
❎ still 'too weak'10 -
I am so fucking fed up with being brought into a meeting because you "understand the technology" and then no fucker actually listens when you say that their idea won't work because the tech isn't magic.3
-
logger.info(String.Format(" User {0} changed their password from {1} to {2}", username, oldPassword, newPassword))
Production system. Plaintext log.10 -
Customer complained that the site was not rendering as it's supposed to. After spending hours trying to fix the bug I saw that the customer had zoomed the browser which obviously broke the rendering.6
-
I just converted a massive project from C to cuda, I renamed everything, and it just worked.
What the fuck have I done wrong?3 -
Happily agree to help colleague with 'a quick problem' on their pet project. Realise a few seconds in that they can't actually see a difference between JS and JSON.5
-
Was office SharePoint bitch at one point. This guy wanted me to build a workflow for him that would enforce insane checks on his (peer) colleagues. Asked if his manager approved and obviously they hadn't. So this guy started telling me he would build his own application from scratch and host it on his home server if I didn't help him. Pointing out the business might object to their confidential data being put on his home server didn't put him off. Getting laid off a few months later for gross incompetence did however.3
-
I wanted to show my girlfriend what a terminal looks like and what it's for.
Me: So this is a terminal. As you can see...
Her: Oh, like in the movie with Tom Hanks?
Took me a few seconds to understand what she meant 😂6 -
Just wasted a ton of time trying to figure out why my circuit wouldnt work properly and then noticed...2
-
There are two hard things in computer science: cache invalidation, naming things, and off-by-one errors.
This is really the stuff I have to deal on daily basis. -
My girlfriend said that I say so many puns that I should write a book with all of them.
I said that I will call the book My Little Punny. -
This is borderline blackmailing: if I choose to have only the "required" cookies, this non-dismissable popup shows up and I have to wait 10 seconds until it closes. That's longer than it takes me to make an online payment!11
-
Thank you @dfox and @trogus for the awesome service you've built! And thank you for making my life less stressful! :)2
-
Just read about the leap second being added at the exact moment of going in to New Year (31/12/16 23:59:60!!!!!). I can't be the only one thinking what the fucking fuck are they thinking and why am i hearing about this for the first time 24 hours before it's happening.3
-
RANT:
Google is just a steaming pile of shit!!
I've recently installed LineageOS onto my phone and wanted to degooglify my life.
So my current Smartphone doesn't have any GApps installed and I get along fairly well.
Should I need anything, I should just be able to use it in my browser right?
RIGHT?
Nono!! As soon as I want to log into a third party Service using Google (older acccounts with the other choice only being Facebook) I need to "verify my identity". And the only option are my old smartphone who still have Gapps on it but are slow and don't accessible when I'm away!
For those who say: "Google is just beeing secure. They don't want anyone to steal your account.". I USE 2FA AND HAVE BACKUP CODES.
BEFORE DEGOOGLING MY DEVICE IT NEVER ASKED SUCH A THING!!! WHAT A PILE OF SPYING SHIT!!!
And the best part, after I remotely started my PC at home and just want to take a screenshot of the message for this post before just using a working session, the message didn't appear.
Somehow google decided that me logging in 15 mins later (same ip) proves my identity?!?!?!
IF THIS CAN BE ATTRIBUTED TO AI. FUCK THIS SHIT. GOOGLED SHOULD BE TREATED LIKE AN ONLINE CASINO BECAUSE THE CHANCE OF JUST GETTING LOGGED SEEMS COMPLETELY RANDOM!!!
(I also had this prior when using my smartphone browser. There I couldn't "circumvent" this and I was at home. But having this shit on my browser which should've a session is unacceptable.)7 -
Don't be afraid that pair programming will show up your inexperience, embrace it as the quickest way to build that experience!
-
Of course the shouting episodes all happened during the era I was doing WordPress dev.
So we were a team of consultants working on this elephant-traffic website. There were a couple of systems for managing content on a more modular level, the "best" being one dubbed MF, a spaghettified monstrosity that the 2 people who joined before me had developed.
We were about to launch that shit into production, so I was watching their AWS account, being the only dev who had operational experience (and not afraid to wipe out that macos piece of shit and dev on a real os).
Anyhow, we enable the thing, and the average number of queries per page load instantly jumps from ~30 (even vanilla WP is horrible) to 1000+. Instances are overloaded and the ASG group goes up from 4 to 22. That just moves the problem elsewhere as now the database server is overwhelmed.
Me: we have to enable database caching for this thing *NOW*
Shitty authors of the monstrosity (SAM): no, our code cannot be responsible for that, it's the platform that can't handle the transition.
Me: we literally flipped a single switch here and look at the jump in all these graphs.
SAM: nono, it's fine, just add more instances
Me: ARE YOU FUCKIN SERIOUS?
Me: - goes and enables database caching without any approvals to do so, explaining to mgmt. that failure to do so would impair business revenue due to huge loading times, so they have to live with some data staleness -
SAM: Noooo, we'll show you it's not our code.
SAM: - pushes a new release of the monstrosity that makes DB queries go above 2k / page load -
...
Tho on the bright side, from that point on I focused exclusively on performance, was building a nice fragment caching framework which made the site fly regardless of what shitty code was powering it, tuned the stack to no end and learned a ton of stuff in the process which allowed me to graduate from the tar pit of WP development.5 -
I wish people expressed more nuance in their opinions. However, online social networks are often not built to encourage nuance, and I feel like most people take nuance for a lack of self-confidence which they take in turn for a lack of authority.11
-
IBM Notes. Ultimate example of developers each working on their own bits of functionality with zero thought to how the whole thing fits together. Just need to look at the preferences page see what a mess it is.
-
just found out a vulnerability in the website of the 3rd best high school in my country.
TL;DR: they had burried in some folders a c99 shell.
i am a begginer html/sql/php guy and really was looking into learning a bit here and there about them because i really like problem solving and found out ctfs mainly focus on this part of programming. i am a c++ programmer which does school contest like programming problems and i really enjoy them.
now back on topic.
with this urge to learn more web programming i said to myself what other method to learn better than real life sites! so i did just that. i first checked my school site. right click. inspect element. it seemed the site was made with wordpress. after looking more into the html code for the site i concluded all the images and files i could see on the site were from a folder on the server named 'wp-content/uploads'. i checked the folder. and here it got interesting. i did a get request on the site. saw the details. then i checked the site. bingo! there are 3 folders named '2017', '2018', '2019'. i said to myself: 'i am god.'
i could literally see all the announcements they have made from 2017-2019. and they were organised by month!!! my curiosity to see everything got me to the final destination.
with this adrenaline i thought about another site. in my city i have the 3rd most acclaimed high school in the country. what about checking their security?
so i typed the web address. looked around. again, right click, inspect element and looked around the source code. this time i was more lucky. this site is handmade!!! i was soooo happy because with my school's site i was restricted with what they have made with wordpress and i don't have much experience with it.
amd so i began looking what request the site made for the logos and other links. it seemed all the other links on the site were with this format: www.site.com/index.php?home. and i was very confused and still am. is this referencing some part of the site in the index.php file? is the whole site written inside the index.php file and with the question mark you just get to a part of the site? i don't really get it.
so nothing interesting inside the networking tab, just some stylesheets for the site's design i guess. i switched to the debugger tab and holy moly!! yes, it had that tree structure. very familiar. just like a project inside codeblocks or something familiar with it. and then it clicked me. there was the index.php file! and there was another folder from which i've seen nothing from the network tab. i finally got a lead!! i returned in the network tab, did a request to see the spgm folder and boooom a site appeared and i saw some files and folders from 2016. there was a spgm.js file and a spgm.php file. there was a contrib, flavors, gal and lang folders. then it once again clicked me! the lang folder was las updated this year in february. so i checked the folder and there were some files named lang with the extension named after their language and these files were last updated in 2016 so i left them alone. but there was this little snitch, this little 650K file named after the name of the school's site with the extension '.php' aaaaand it was last modified this year!!!! i was so excited! i thought i found a secret and different design of the site or something completely else! i clicked it and at first i was scared there was this black/red theme going on my screen and something was a little odd. there were no school announcements or event, nononoooo. this was still a tree structured view. at the top of the site it's written '!c99Shell v. 1.0...'
this was a big nono. i saw i could acces all kinds of folders. then i switched to the normal school website and tried to access a folder i have seen named userfiles and got a 403 forbidden error. wopsie. i then switched to the c99 shell website and tried to access the userfiles folder and my boy showed all of its contents. it was nakeeed naked. like very naked. and in the userfiles folder there were all, but i mean ALL files and folders they have on the server. there were a file with the salary of each job available in the school. some announcements. there was a list with all the students which failed classes. there were folders for contests they held. it was an absolute mess and i couldn't believe it.
i stopped and looked at the monitor. what have i done? just to learn some web programming i just leaked the server of the 3rd most famous high school in my country. image a black hat which would have seriously caused more damage. currently i am writing an email to the school to updrage their security because it is reaaaaly bad.
and the journy didn't end here. i 'hacked' the site 2 days ago and just now i thought about writing an email to the school. after i found i could access the WHOLE server i searched for the real attacker so if you want to knkw how this one went let me know in the comments.
sorry for the long post, but couldn't held it anymore13 -
I'm just frustrated. I wanted a simple, statically-typed language that doesn't get in your way and offers GC. I can't find anything "just perfect".
- Go: enforces a style on you, nono.
- Rust: ownership system. I love it, but it's too low level for what I want.
- Scala: seems to have a bunch of useless and bug-prone features.
- Java: I hate how you have to declare and catch exceptions. Good practice, yes, but the code gets bloated with try-catch statements.
- C and C++: Too low level, no GC.
- C#: maybe? idk
I want to make a back-end for an app but I want it to be easy and fast. I need something with a gentle learning curve, not keep fighting the language. I'm between Java and Rust. Java's easier to use. Rust is rust <3, but it's hard, I haven't learned it properly and I just keep fighting the fucking compiler.39 -
Giving away a 2nd Gen ipod for FREE on a couple apps.
22 people have messaged me about it... 3 days later and it still hasn't been picked up.
This is ridiculous people, the item may be free but my time is not >:|
IM LOOKING AT YOU "ON THE WAY" GUY1 -
Just saw a video of a French philosopher saying: "Nobody really knows how to get out of Covid, but since it's called Covid-19 it means that there were 18 others before, so we should have some clues about it" 😂6
-
Our time recording software (based on SAP) triggers a blocking synchronous web service call every single time you do *anything*. Imagine having to wait 10 seconds every time you:
- put a number in a cell
- select a row
- press anything on the screen
Oh and when you lose connection nothing is saved and you have to start again (wtf was it even sending to the server)2 -
Can someone help me?
I want to program games, (2d & 3d) I have made games in clickteam and RPG Maker, but I want to program them. My biggest issue is my hardware. I have a not so powerful notebook, and I don't have Wifi. So online installers are off the table. (Nono, visual studio.) Syntax, I like clean, easy to read syntax, and I would like an active community. Any suggestions?15 -
There's a dude out there who made a phone-sized computer with a Raspberrypi Zero, it looks surprisingly neat 😍 There's only a video on the website but there are plans for putting instructions on how to do it yourself. I'm already a fan 😄 https://zeroterminal.org7
-
Has anybody experimented with the V language? https://github.com/vlang/v It looks interesting, at least if you take it as a proof of concept, despite the huge brags of its creator.24
-
Like a service
Pushed for the very first time
Like a service
With your FileBeat
Next to mine
Gonna give you all my logs, boy
My shard is fading fast
Been saving it all for you
'Cause only logs can last
You're refined
And you're mined
Make me strong, yeah you make me bold
Oh your logs thawed out
Yeah, your logs thawed out
What was said to be deployed
Like a service
Pushed for the very first time
Like a service
With your FileBeat
Next to mine1 -
What's the one non-tech thing that you feel 95% of people disagree with you on? Mine is: I think that piercings and tattoos are ugly. What's yours?10
-
Quick and dirty job to get some data into a DB wasted my entire evening.
Created table with few columns, tried writing to it from NodeJS app and it kept complaining I wasn't providing values for columns that didn't even exist. After ages pissing about decided that the DB gods had cursed this particular table so created a second one with same DDL. Now it worked first fucking time. Then it finally dawned on me, I'd managed to pick a reserved table name and the RDBMS didn't think to give me a warning when I created it. Not only did it not warn me but it kept going as it nothing was the matter and didn't report the extra columns on a SELECT *. -
So I decided to buy a new graphic card to fully enjoy my PC games. Once I set it up it sounded like the fans were working too hard,so I decided to open the computer case and clean inside.
And now it doesn't boot anymore. Nothing at all on the screens.
I don't know what I did, only the fans are turning when I press the power button. Even the led on the front of the case is not blinking anymore.
I have enjoyed my new graphic card during one hour all in all. Frustration is high.8 -
Each time I happen to land on some sort of discussion, be it on Reddit, YouTube comments or even sometimes here on devrant, I wonder if there are ways to make debates more meaningful (sometimes I imagine that the participants of a particularly heated conversation suddenly meet physically and say the contents of their comments out loud; and it makes me laugh all by myself).
Anyway, I feel like Internet is generally not a good place for debates (at least political ones). Is it just me? Is it the fact that it doesn't take a lot of effort to write a message, or maybe that conversations are necessarily different when you don't see someone in front of you?
I've come across websites like Kialo which seem to be a good idea. Is that because the opinions written there are more structured that it looks like ideas are better conveyed? Deep thinking tonight 😄3 -
Nix vs. Win
Dual boot vs. virtualization (VirtBox vs Xen)
(TLDR at the end)
- gaming laptop ("when you student but gamer")
- "Nix nono like gaming laptops"
- currently dual boot Win10/Debian
- Debian almost breaking apart
- only xfce because nVidia
- intel-virtual-output^2
- Atheros drivers sometimes freeze whole sys
- MiXeD SoUrCeS
- **Stretch Buster Kali enters the chat**
As you can see after 2 years I have come to the point of redoing everything, wanted to ask any tips on how to setup win and any nix enviroment, win just to play some games and sometimes to reverse win specific CTFs.
Main plan was to have my lovely debian as the only system and run win10 in virtualbox - problem: windows don't like virtuals(?) and it's probably going to be unusable for games.
Also running Kali as separate virtual (why the hell I didn't do that in first place ?)
Xen is the other interesting way but I am not experienced with hypervisors.
TLDR: Would running Win10 as virtual in or alongside(hypervisor) Debian be better/same as having them separated - dual booting?12 -
Does anyone know the best way of doing GPU stuff in C? I have a cuda enabled GTX 1050, but the cuda drivers screw everything up on machine for some reason.
Is there a better way to do this without the cuda drivers?6 -
What are the differences between a religion and a conspiracy theory? is the question I was just asking myself.
Maybe the spiritual element is what conspiracy theories (or, actually, any kinds of theories) lack?7 -
Let's say that you are given the opportunity to go back or forward in time, anytime you want, anywhere you want, but it has to be a specific date, time and place, and it's a one time offer. You can stay there for an hour, and you will be invisible and unable to interact with your environment. What time and place do you choose?6
-
I sometimes see people looking for people for a project collab on Devrant. Are there good websites dedicated to only this purpose?1
-
Easiest transition from xubuntu into a tiling WM like i3?. Is there a more forgiving solution for a mouse addict such as myself? should I master vim/emacs first?1
-
I like to read these elaborate spam emails and try to analyze the different psychological tricks. This one that I received today took a sharp turn when I least expected it 😂