Aboutℹ️ → blog.refoua.me/profile Currently working with CompuTech as a part-time Software Engineering position.
SkillsFull Stack Developer • VS Code with the power of C++ • ❤ Web-technologies :: Electron, Node.js & PHP7 • Loves bash and Powershell • Works both with GNU/Linux & Win 10 • HW/Electronics Hobbyist
Location🇺🇸 California, LA
Joined devRant on 11/5/2016
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Prepare to get your MIND BLOWN:
They have successfully got Windows 10 ARM to boot on a Raspberry Pi 3 with a hacked UEFI firmware!
Take that Windows 10 IoT!!
Props to these guys: 👍
Here's a video of it in action → https://youtu.be/6b1IxvKJeho?t=9414
For those who don't know, this is how Apple pictures a PC in the network, a CRT display with blue-screen-of-death!13
When I was in high school, the IT had the bright idea to use the same username/password for each machine in our site, and there was this jerk who knowing this, would occasionally SSH into the computers of the other classmates and wget porn mp4s to their home directory to embarrass them, as some sort of weird-ass prank.
So, in order to give him a lesson, I one day had logged in and set a rule on the class' router to forward all port 22 traffic back to his own IP address, and had SSHed into his machine, aliasing wget with a full-screen kiosk mode chrome, followed by a force disable of the USB HID devices.
It might have been less awkward and he might have seen less scared, if it wasn't for the fact that I had also remotely set his machine to maximum volume, and the teacher wasn't in the middle of a lecture. 😏
To this date, his expression is the most precious reaction I have ever seen.9
Customer: ... and can you also disable right-click to prevent our website's content from being copied?
> System becomes Irresponsive
> Chrome is taking RAM
> Closes two windows with 60+ tabs
> Leaves 1 tab open
> Still taking RAM
> taskkill /f /t /im chrome.exe
> RAM is not being held as hostage by Chrome15
I know this is just an ad, but who the fuck attaches a hard drive disk directly to a FUCKING oscilloscope?6
I know there are tons of Project Management stuff around, but I'm proud to develop one customized for my personal use.
(Also, it's free 😄)38
I can't use this keyboard to program:
Got a transparent touch LED keyboard because I thought it was cool, turns out the lazy chinese programmers have used a really long debounce time of ~100ms in its firmware to prevent duplicate keystroke detection.
Which means, I can't type as fast as I want on this thing! 😭
The link between one of the server units and our router has been disconnected and the sales dept. has gone completely offline,
Just because of this piece of crap:6
Been programming Java for a few weeks now, and WTF is this, Java?!
What is wrong with the form that a dozen of other languages use?
"Example" == "Example"
P. S. If you don't know Java, the latter one compares for the type of objects and always returns true in this case.15
I've implemented my own version of IoT all over my room and home.
Hope the protocol I've designed has proper security...1
devRant, please fix your push notifications! Why have 50 push notifs for a +1, when you can have 1 push notif, exclaiming +50 likes?8
How I think the process for designing a hardware-driver is like
CEO: "Alright everyone, we have designed and created this great product, now let's write a driver for it!"
PM: "Great then! We just code for Windows, create an eye-catching UI but leave the actual at the worst possible case that could work!"
Dev: "B-But isn't there other OSes, like Linux and Android that people use on their computers too?"
PM: "Shut up! We are going to JUST support Windows and f*** no absolutely other OSes!
Dev: "But what if they are also developers, and want to control and use this great product by programming it themselves? We should make the driver open-source, or at least give them some APIs!"
PM: "Nonsense! They are only going to use this product on M$ Windows, and with the program we provide to them, even if it's crappy and crashes most of the time!"
PM: "No buts! That's our final decision!"
And some other consumer devs are like, "F*** it, we just reverse-engineer the codes and write a new driver ourselves!"
So, here's how online payment works in my country:
1. The selling website creates a hidden <form> and populates it with product ID, price and etc.
3. User enters credit info, and submits. If all is right, the bank creates another hidden <form>, and populates is with status code and an invoice ID.
4. Said form is then posted back to the selling website.
I don't know how the programmers behind this scenario call themselves programmers if they don't know basic things about server-side only verifications, but thanks to them I've been buying a lot of products for free these past years. 😂😂
How? 1. Just install Requestly, Tampermonkey and enable Chrome's dev tools.
2. Change price to zero, and the bank's response code to success.
P. S. I have notified the people behind this, but they don't listen and go fix their codes. Oh well, serves them right.13
The company that I work for has recently recruited a team for Web Development, so they don't have to pay a monthly fee to the previous team who designed their website.
They have over 3000+ products in the old website, and no logical way to import them to the new website. The old team was asking for 300$ to give them an API which would return the product details in an XML format.
Obviously, paying that amount of money wasn't logical for a dying website, so the manager decided to hire someone to manually copy the content from the old admin panel to the new one, that is until I stopped him.
My solution? Write a simple web scraper to login to the old panel and collect data. Boom! 300$ saved from going to waste.
Now, the old team found about this and as much as my manager was happy, they were quite angry. So they implanted a Google reCaptcha to prevent my bot from scraping the old panel.
I spent about 20 minutes, and found out once you're logged in to the old panel, the session is saved in a cookie and you are no longer greeted by a Captcha.
So I re-written a small portion of my bot, and Boom! Instant karma from manager. We finished publishing the new site, and notified the old team, only to see the precious look on their face. Poor guy, he thought I was a wizard or something 😂😂
That's what you get for overcharging people!
TL;DR: Company's old website team wanted to overcharge us writing an API to fetch 3000+ records.
Written a basic web scraper to do the same job in less than an hour.3