Details
-
AboutDev + CyberSec
-
SkillsJava, Python, Web App Sec. + JS, PHP, Web UI
-
LocationEverywhere
Joined devRant on 8/18/2019
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
-
Do you think refactoring code adds value?
Pick one:
1. Hard No (Only refactor when there is a dollar value associated with it, i.e new feature depends on it).
2. Somewhat Yes (Futureproof your code, anticipate easiness to build feature requested in future).
3. Yes (Developer happiness, retention and for point 2)27 -
Do you remember GAME LOGO programming language where you can move the turtle around the map and draw lines? Someone made a Lisp out of it!
https://toodle.studio/3 -
Instructions on how to become suicidal:
- Create an API controller for the /file/ path
- Add an empty endpoint for POST /file/upload (will write it later!)
- Forget about this endpoint at some point
- Later, create a page for /file/upload
- GET /file/upload returns page
- POST /file/upload returns empty 200
Pure psychological horror for like an hour Googling why the fuck my razor page is returning empty responses and my breakpoint on OnPost is not fucking hitting even if I copy and paste example code from the ms website
Oh yeah, that controller.5 -
- Cookie warnings
- Autoplay videos
- "It's better on the app!"
- Surprise paywall
- Newsletter popups
- "Sorry, this content is not available in your region!"
- Lazily paraphrasing another website without disclosing the source in an obvious way
- Anti-adblock popups
- "Become a pro-member today: starting at $4.99/month!"
- "Sign up here to get my free e-book! :)"
- "keep reading" button to load the rest of the damn article
- "We have a podcast!"
- ...
I hate the current state of the web.13 -
Finally got around to turning the news-section generator markdown / deno thingy into a GitHub Action!
https://github.com/MarkedDown/News
Haven't finished writing the documentation though.2 -
Coming back here after years to rant about... myself.
TLDR: I fucked up and now have to call a thousand people as a dev, I'm not even getting paid for it and they all get crazy about a random ID that got assigned to them, so now I want to throw away all my electronics and become a skilift operator.
Stupid me deployed a project shortly before we have the largest amount of orders in the year. (Like 90% of yearly orders in a couple minutes cause they are sold out fast and people wait to order first)
I got this horrible legacy "plain self written framework php" project which I tried to upgrade state of the art.
There was one piece missing to upgrade everything and nicely deploy it to some fresh new servers which can handle the high load which peaks at the time orders open.
So I did it the day before orders open and... everything worked well! Nothing crashed.
I wrote my client to wait a little before he confirms the orders, since after confirmation each of the people who ordered will receive an email where they can choose a unique number which they'll receive as a sticker with the order.
Since it's an event my client is promoting, people will meet each other wearing those unique stickers and being able to identify each other online and in person with this number.
Suddenly my clients call me that "customers are complaining about that there is something wrong"
Turned out he confirmed all orders straight away and that part of the application which makes the number unique was broken on the update.
So everyone could chose any number (also taken ones) as his "unique" number.
In my panic, I told my client "It's my mistake, I'll deal with it of course and call the affected people in my free time, since it's my mistake you don't have to pay for it". (it's my largest client by far, am a freelancer)
Realizing when people can chose any number it'll not be a few ones who have the same, it's like almost everyone did chose "69", "1", "420", "88 (a scary amount of people)",... (with 69 being the number being chosen by most people btw, even more then "1")
So now I have to call about a thousand people telling them a new random ID will be assigned to them. I thought of course about mailing them, wrote a script that deals with the issue automatically, and FUCKED IT UP TOO so everyone is confused and the only way to deal with it is by a call basically.
And while I'm sitting here now for 2 days straight calling people in my free time about their random ID will have to change, I realized that some people are quite crazy about random ID's.
I'm talking about yelling and threatening because "is it too much to ask for a working website when ordering this expensive product".
I hate my life right now and am getting quite serious about throwing all my electronic devices away and become a skilift operator instead. Fuck the higher pay, it's not worth the shit, I wanna have only responsibility about one button to press while watching people fall on their face.5 -
today i was very sleep deprived and i had an anxiety episode at work. that was the first time my coworkers saw me like that. they took me to a cafe, got me a pastry and kept chatting about random stuff while i calmed down. i felt vulnerable and ashamed for not keeping it together, but it was one of the nicest things anyone's ever done for me.14
-
I've assembled enough computing power from the trash. Now I can start to build my own personal 'cloud'. Fuck I hate that word.
But I have a bunch of i7s, and i5s on hand, in towers. Next is just to network them, and setup some software to receive commands.
So far I've looked at Ray, and Dispy for distributed computation. If theres others that any of you are aware of, let me know. If you're familiar with any of these and know which one is the easier approach to get started with, I'd appreciate your input.
The goal is to get all these machines up and running, a cloud thats as dirt cheap as possible, and then train it on sequence prediction of the hidden variables derived from semiprimes. Right now the set is unretrievable, but theres a lot of heavily correlated known variables and so I'm hoping the network can derive better and more accurate insights than I can in a pinch.
Because any given semiprime has numerous (hundreds of known) identities which immediately yield both of its factors if say a certain constant or quotient is known (it isn't), knowing any *one* of them and the correct input, is equivalent to knowing the factors of p.
So I can set each machine to train and attempt to predict the unknown sequence for each particular identity.
Once the machines are setup and I've figured out which distributed library to use, the next step is to setup Keras, andtrain the model using say, all the semiprimes under one to ten million.
I'm also working on a new way of measuring information: autoregressive entropy. The idea is that the prevalence of small numbers when searching for patterns in sequences is largely ephemeral (theres no long term pattern) and AE allows us to put a number on the density of these patterns in a partial sequence, but its only an idea at the moment and I'm not sure what use it has.
Heres hoping the sequence prediction approach works.17 -
I am amazed. I witnessed (mostly heard) a 14 year old girl calm down a young adult female suffering an anxiety attack before I managed to push through people on the tram. She told her to close her eyes, breath, tell her what she smells, then open her eyes, name first thing that she sees, then look left, name first thing, etc.
This is called sensory grounding and it works. And yeah, what she did was pretty awesome but this isn't what amazed me the most. I asked where she learned that and she said "from a game about apes". And I knew exactly which game she meant. There's a title called Ancestors: The Humankind Odyssey and among many interesting mechanics there's one that puts the player in a state of anxiety when they venture into an unknown territory. The way to win that part is by analyzing surroundings by vision, hearing and the sense of smell before a panic countdown goes to zero. It's called "conquering your fear". Holly fuck, I played that and I didn't connect the dots. Are games nowadays teaching kids how to handle real life crisis? Where were those games when I was a kid??4 -
Management: This project isn’t moving along fast enough, you know what we need?
Dev: An additional dev?
Management: No! An additional manager! We’ll have a meeting about it later today.
Dev: …7 -
Finally got a job. The process was quick af! Hired in like a hour.
At least now I can't be homeless.
But I'm getting married Saturday, so this means one thing:
I'm a have to work while on honeymoon hahahah
My girl gonna be pissed but glad that I'm not broke10 -
Mon: Ticket A is now low priority, Ticket B is top priority
Tues: Ticket B is now low priority, Ticket C is top priority
Wed: Ticket C is now low priority, Ticket D is top priority
Thurs: Ticket D is now low priority, Ticket E is top priority
Manager (Fri): You haven’t completed a ticket all week! What gives??
Manager (Following Mon): Tickets A, B, C, D AND E ARE TOP PRIORITY!!!!!
Dev: …12 -
Corporate IT: Here at Company A we are very proactive about CyberSecurity!
Dev: What is our cybersecurity plan?
Corporate IT: If any breaches happen we will terminate those involved and discontinue use of the offending product
Dev: That sounds reactive to me
Corporate IT: 😡 It’s proactive actually as we put together that plan of action BEFORE anything happened!
Dev: …12 -
I wasn’t even looking for a job, I just went out for drinks with friends and I met this random dude. I complained to him about work wanting us to go back to the office, to which he replied that I should go work for them because they’re remote and looking for people. I had a look at their openings and they had a role with fewer responsibilities and a lot more money, so I applied. It’s been 3 months and I’m so glad I switched.11
-
Project manager:
"Ah, we have so many projects. We want to finish all at once. Can you work 1 hour on each project every day?"
Not doing that, gtfo.12 -
I guess some one saw the future at 1923
But didn't took the mute functionality into consideration🧐5 -
Tried to impress the boss with my work ethic by staying late to install a new VoIP system. Wasn’t even part of my job description. A few days later I had a flat tire on the way to work. It took me a couple hours to get that taken care of. When I got to work, the boss told me I had to work 2 extra hours that week to make it up. I reminded him that I had worked overtime recently to install his new phone system. He said, “Doesn’t matter. You still need to make up the hours.”
From that moment on I never worked one second more for him than I had to. I quit less than a year into the job.13 -
I am now replying to fake news spreaders on the internet, pointing out their lies. And I end with the following closing comment:
"You may go now, I am done with you".
>D6 -
I previously ranted about oauth being unapproachable and incomprehensible. Well, here’s the diagram that allowed me to finally understand it.9
-
JIRA life:
Project leader proceeds to put what is actually two separate issues in the title. I'm already raging. I go to take a look at it.
I read the description - ANOTHER (this makes it three now) totally seperate issue in there.
Just fuck you I'm so sick it i see it over and over again no matter where I go or what project I work on its all the same bullshit.
"wE wAnT tO cLeARlY dEfINe iSsUeS aNd MoVe RaPiDlY"
YEAH THEN F&Q*@#()#$(@)#$ DO YOUR F$*(@#(*&$ JOB!!!! I'M DOING MINE, IN ADDITION TO DOING YOURS, CLEANING UP YOUR ABSOLUTE MESS THAT YOU LEFT!!!!1 -
So a friend called me over to his newly opened company. He just started, along with two other partners, so 3 of them on the management structure. It started as a service-oriented company, not single-product based company. Strategically, over the course of 4 years, these two other bosses kicked my friend out. I followed. All the people in the company eventually followed. Now we are about to start selling our services to them for around double the fee. #justice
-
One of my previous managers would constantly make promises our team couldn't keep. "You want it in a week? Sure, we can finish it in a week! You want it tomorrow? Sure, we can do that!"
It got so bad that our team basically had to stage an intervention. At one of our standups, we flat-out told him that even if the entire team dropped all of our other tasks to focus on the one big project, we still would not be able to meet the deadline he'd promised the client.
And that fucker actually said, "Well, if you want to come in on the weekend to work some overtime, I don't mind." as if he was offering to do us a favor by "allowing" us to work more.
No overtime pay because we had salaries.
So glad I don't work for him any more. Of course, my next manager wasn't great either, it just took longer for us to figure it out because she wasn't nearly as blatant about it.7 -
New team in new company is awesome, no meetings for standup just post in slack channel, less meetings = work feeling less like work for me4