Details
-
AboutMusician and full stack developer
-
SkillsJavascript, Coffeescript, C#.NET, VB.NET, Ruby, Ruby on Rails, Bash, C/C++, WPF, ASP.NET, VB Script, Classic ASP, React, Ember.js, Sinatra
-
LocationManchester, UK
-
Github
Joined devRant on 4/16/2016
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
-
Had a course in college where we had to write a clone of Foursquare. Straight up fullstack development. Was really nice
-
Fuck you, magento and yes, fuck you, customer as well.
After 2 days of fixing crucial things like missing discount functionalities, taxes being displayed as 'tax' because some monkey hardcoded the term in the template instead of getting the tax class name and overall fumbling in magento's core just to make this broken shit do its job, the customer emails me, asking if we're making 'progress at all because the test link looks pretty unfinished'
Burn in hell, you two!12 -
I had a test when i was in 9th grade for computer( not computer programming )
Q) how many KB are i an MB ?
1) 500 2) 1000 3) 2000 4) none of the above
Since its 1024 i thought its none of the above like a sane person but my teacher be like " there are 1000 KB in 1 MB." I tried to explain that i think thats wrong but well gg.20 -
The dev usually sitting next to me is on vacation. Our senior dev is on vacation. Team analist, on a plane to a Greek beach as we speak. Both architects the company employs, gone for another two weeks or so. Lead analist, you guessed it, on vacation.
I'm enjoying the peace & quite for now but god forbid I run into any problems these next coming weeks.3 -
TL;DR:
What do you think about visual scripting.
Pretty much anyone here knows Scratch. And most devs make fun of it (while most also know it's a real programming environment), yet what do you guys think about BLUEPRINTS or Visual Scripting?
Starting to learn Unreal, I have two choices. C++ or Blueprints. While some argue that Blueprints can't achieve and replace C++ in Unreal, I saw others ignoring the fact and making awesome stuff you didn't think was possible. I saw how powerful even this node-based programming environment is and started learning it. What do you think?
(Image from Masterclass, not by me)7 -
One time my friend was torrenting random programs and etc and he downloaded a ton of software. He got a ransomware and he didn’t know how to fix it, so his whole computer had to be cleared out and he never torrented again.1
-
!rant
A rather long(it's 8 hrs long to be precise) story
So I just finished an amazing homework assignment. The goal was to open a new shell on Linux using a C program. We were asked to follow instructions from http://phrack.org/issues/49/14.html . However the instructions given were for 32 bit processors and we had to do same for 64 bit machines. In a nutshell we had to write a 64 bit shell code and use buffer-overflow technique to change the return address if the function to our shell code.
I was able to write my own shellcode within 1hr and was able to confirm that it's working by compiling with nasm and all. Also the "show-off-dev" inside me told me to execute "/bin/bash" instead of "/bin/sh"(which everyone else was going to do). After my assembly code was properly executing shellcode, I was excited to put it in my C code.
For that, I needed opcodes of assembly code in a string. Following again the "show-off-dev" inside me, I wrote a shell script which would extract the exact opcodes out of objdump output. After this I put it in my C code, call my friend and tell him that "hell yeah bro, I did it. Pretty sure sir is gonna give me full marks etc etc etc". I compiled the code and BOOM, IT SEGFAULTS RIGHT IN FRONT OF MY FRIEND. Worst, friend had copied a "/bin/sh" code from shellstorm and already had it working.
Really burned my ego, I sat continuously for 8 hrs in front of my laptop and didn't talk to anyone. I was continuously debugging the code for 8 hrs. Just a few minutes ago, I noticed that the shellcode which I'm actually putting in my C code is actually 2 bytes shorter than actual code length. WHAT THE F. I ran objdump manually and copied the opcodes one by one into the string (like a noob) and VOILA ! IT WORKED !!!
TURNS OUT I DIDN'T CUT THE LAST COLUMN OF OPCODES IN MY SHELL SCRIPT. I FIXED THAT AND IT WORKED !!
THE SINGLE SHITTY NUMBER MADE ME STRUGGLE 8 HRS OF MY LIFE !! SMH
Lessons learnt :
1)Never have such an ego that makes you think you're perfect, cuz you're retarded not perfect
2)Examine your scripts properly before using them
3)Never, I repeat NEVER!! brag about your code before compiling and testing it.
That's it!
If you've read this long story, you might as well press the "++" button.6 -
I'm almost impressed with how poor communication is within the company, given how small we are.
With less than 30 people, how did we manage getting half of the company having no idea what the other is doing?!2 -
We have a new developer working in our office. He is fairly new, which is understandable, so he asks for help regularly(which I actually appreciate). This time however, he asked for help, and every step of the way argued it. He said he needed help making a small circle(it's just an indicator on a table).
I told him if there is a mat-icon it would be simple, but if not it would still be pretty simple with CSS. He argued that those two options seem messy. I pointed out they are extremely clean actually, and showed him how it was only about 4 lines of css. and 1 if there was a material icon. He agreed it was pretty easy, and then went with a complicated way to have green or red. I let him know that was really trivial, and even gave him the exact code he needed for it(at this point, he could have copy and pasted, adjusted the conditional to the name of his variable, and be done).
He proceeds to take 3 more days to complete this task, making a new component for a colored circle, using templates and nested css in the html, and hard coding the color as opposed to using the material colors we use site wide. All in all 100+ lines of code. And he felt my solution with fewer than 10 lines was messy.14 -
I need to hide myself, my computer, programming skills and computer knowledge from people. Then only, I will be safe..
Friend: Heeey, you're good with computers right?
Me: No! 😑
Friend: Come-on bro. I know you are.
Me: What do you want?
Friend: I want you to check and book flights for me for country X.
Me: Are you ok? How does this have anything to do with someone being good with computers and stuff?
Friend: Haha, see? You're good with computers. *starts laughing. Anyway, since you're good, you can find the best prices. I know you know how to search sites and how to find things online.
Me: WTF?!?!!! All, you have to do is type in your search. If you don't like the results, you simply refine it.
Friend: See, all this tech stuff I'm not really good at it.
Me: But you're good at searching for other things online, right? Do the same for your flights.
*Picks my laptop and walks away.
How can a young man not be able to search for flights online but knows how to use several gadgets. Nonsense.9 -
Today I had an, argument with my C# teacher because he believes that reference types are passed by value
I posted a link on Facebook to MSDNs page about it, but somehow some guy in my class still argued for it being pass by value. The reason he says so is because the value is the reference, even though it's quite literally a reference.
It's a reference to a variable rather than, a value.
Kindly
Fuck
Off12 -
I spent 4 hours finding a good way to instanciate golang structures. Came up with a function that returned a value or pointer and I just kept reusing the nomenclature for an entire project. Then my buddy looks over and goes, "Ethan, you're a f****** idiot", and shows me the standard nomenclature. Now I have to refactor my entire project. FML.
(Edit: typo)13 -
So apparently the CIO knows all about my team lead sucking it up as a boss, and is letting him do it. He's constantly on the team leads ass about stuff and it's stressing him out.
The CIO wants him to stop being so micro managey and let the team handle things... But instead of telling the team lead that, he'd rather just blast him constantly and stress him out which makes it roll onto us and stress the whole team out.
I wish the CIO would just tell him to square up or just fire him... This stress isn't good for anyone. -
Just received the code for a WP site that needs a redesign... The guy who owns it outsourced the job to some indian folks who filled it with at shitton of plugins, and now it's both ugly as hell and a bitch to work with...
FML.6 -
Just got the Oreo 8.0 update for my OnePlus 5T. Yay!
But it broke something, so now I can't debug my app with Xamarin... 😐
Luckily there's already a bugreport on their bugzilla! It seems like it's been fixed. Just need to update Visual Studio. Guess I'm lucky after all. 😁
...
The problem is still there... 😡
Don't know what to do now... 😕5 -
Spent 2 hours trying to figure out why my .bashrc file wasn't getting run. Then I realized I'm using zsh...2
-
So thought I would install Visual Studio 2017 for Mac and ho boy what a load of shit that is!
They say it's designed to be macOS styled yet it is literally the same visual style and element location to mono-develop for linux and mac, piss poor effort when even creating new project uses the same form layout.2 -
kinda creative:
A customer got an error in one of our applications. He made a screenshot, printed the screenshot, scanned the printed screenshot and attached the scanned jpeg to the e-mail :-D6 -
As regular as it is, it's pretty hard to be a programmer and a pc gamer at the same time... You need a good easily portable laptop yet you want a powerful rig so you get a gaming laptop and curse yourself everytime you need to get somewhere with it cause it's fairly heavy and also curse yourself when you paid so much yet you can't play on that much of a high config...
The only good alternative is if you're rich enough to get a slim laptop and a powerful desktop at once10 -
I got my first job!
A real, full-time job that doesn't pay me shit!
I haven't even graduated Uni yet!
FUCK YEAH! 🍻10