AboutMale Age: 25 Sex: tons.
Joined devRant on 7/23/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
Oh man, its been forever since I've had an actual rant.
so my work ethic is to the point where it's all last minute. My eduction is all last minute. Personal problem, and don't know how to fix that. but it's just getting out of hand.
tbh, I'm at the point of considering dropping uni like this is no joke. maybe transfer to a cheaper because the financials are no good either.
I also need a new job because the place I'm at is no good. here a few things about it:
1) Its Industrial, not really tech related
2) the dudes expect ME to GO TO THEM and ask for help. Not how I roll
3) not the best atmosphere -- I don't really like the 4 total employees, including myself
4) nearly minimum wage
1) I learn about my car
2) I can use the shop to fix my car
3) Free stuff (for example, a projector and lunch everyday
4) We're getting a server (soon?)
5) I buy computers for them, they pay me
But seriously, my grades in school are slipping (nowhere dangerous yet) and I am too stressed. At least I'll be getting in more dev work
Moreover, I want to get in some actual learning with Swift, but I can never manage to make time. Plus, games are a thing that I do, also family and friends, also religion is a thing, also work and school, also sleep. No time? Me neither.
Like the organization of this rant? Me too.4
The project I have been working on on/ off since Christmas is finally interesting enough to show off!
In short, it's a faux GUI system in the console, with a lot of advanced features that you would see in web browsers and other professional GUI systems.
Most of the core items are now implemented, and it's only time to make it functional in a usability sense.
Here's the tech demo; readme.md is a HUGE essay about everything that's going on. Plus some pretty damn good instructions on how to get it running:
Happy to hear your thoughts!17
I had spent the last year working on a online store power by woocommerce with over 100k products from various suppliers. This online store utilized a custom API that would take the various formats that suppliers offer their inventory in and made them consistent. Now everything was going swimmingly initially, but then I began adding more and more products using a plug-in called WP all import. I reached around 100k products and the site would take up to an entire minute to load sometimes timing out. I got desperate so I installed several caching plugins, but to no avail this did not help me. The site was originally only supposed to take three to four months but ended up taking an entire year. Then, just yesterday I found out what went wrong and why this woocommerce website with all of these optimizations was still taking anywhere from 60 to 90 seconds to load, or just timing out entirely. I had initially thought that I needed a beefier server so I moved it to a high CPU digitalocean VM. While this did help a little bit, the site was still very slow and now I had very high CPU usage RAM usage and high disk IO. I was seriously stumped the Apache process was using a high amount of CPU and IO along with MYSQL as well. It wasn't until I started digging deeper into the database that I actually found out what the issue was. As I was loading the site I would run 'show process list' in the SQL terminal, I began to notice a very significant load time for one of the tables, so I went to go and check it out. What I did was I ran a select all query on that particular table just to see how full it was and SQL returned a error saying that I had exceeded the maximum packet size. So I was like okay what the fuck...
So I exited my SQL and re-entered it this time with a higher packet size. I ran a query that would count how many rows were in this particular table and the number came out to being in the millions. I was surprised, and what's worse is that this table belong to a plugin that I had attempted to use early in the development process to cache the site. The plugin was deactivated but apparently it had left PHP files within the wp content directory outside of the actual plugin directory, so it's still executing scripts even though the plugin itself was disabled. Basically every time I would change anything on the site, it would recache the whole thing, and it didn't delete any old records. So 100k+ products caching on saves with no garbage collection... You do the math, it's gonna be a heavy ass database. Not only that but it was serialized data, so when it did pull this metric shit ton of spaghetti from the database, PHP then had to deserialize it. Hence the high ass CPU load. I had caching enabled on the MySQL end of things so that ate the ram. I was really desperate to get this thing running.
Honest to God the main reason why this website took so long was because the load times made it miserable to work on. I just thought that the hardware that I had the site on was inadequate. I had initially started the development on a small Linux VM which apparently wasn't enough, which is why I moved it to digitalocean which also seemed to not be enough, so from there I moved to a dedicated server which still didn't seem to be enough. I was probably a few more 60-second wait times or timeouts from recommending a server cluster to my client who I know would not be willing to purchase it. The client who I promised this site to have completed in 3 months and has waited a year. Seriously, I would tell people the struggles that I would go through with this particular site and they would just tell me to just drop the site; just take the money, just take the loss. I refused to, this was really the only thing that was kicking my ass. I present myself as this high-and-mighty developer like I'm just really good at what I do but then I have this WordPress site that's just beating the shit out of me for a year. It was a very big learning experience and it was also very humbling as well, it made me realize that I really don't know as much as I think I might. It was evidence that there is still so much more to learn out there, I did learn a lot from that experience especially about optimizing websites the different types of methods to do that particular lonely on the server side and I'll be able to utilize this knowledge in the future.
I guess the moral of the story is, never really give up. Ultimately things might get so bad that you're running on hopes and dreams. Those experiences are generally the most humbling. Now I can finally present the site that I am basically a year late on to the client who will be so happy that I did not give up on the project entirely. I'll have experienced this feeling of pure euphoria, and help the small business significantly grow their revenue. Helping others is very fulfilling for me, even at my own expense.
Anyways, gonna stop ranting. Running out of characters. If you're still here... Ty for reading :')8
My dad found a phone a few weeks ago and asked me what he should do with it. Knowing how much it hurts to lose personal data, I said I could try to find the owner and send it back.
My first attempt was to search through the files on the SD card in order to find an identifying document (CV, bill, address...) but there were only family pictures.
My second attempt was to unlock the phone and check the information about the owner and the accounts linked to it. But for this to be possible adb has to be enabled. Good thing is that that particular brand shows an option for activating adb on the recovery menu.
But then, it's Android Oreo and I haven't found a way to lift the lock pattern. I thought I could bruteforce it over the shell (as I found there could be about 1300 possibilities for 2 to 5 point patterns), but there is the same attempt throttling as on the screen so that would take ages.
Finally, I found the owner in the most "social" way : The phone was displaying the weather for a particular place. It turns out that there are only 3K inhabitants in that city, si I thought that a big enough Facebook group might help me find the owner. So I posted a message on a 500 people FB group dedicated to this city with a selfie of the owner : someone identified her within 20 minutes.
Mission accomplished 😎44
I'll hopefully be releasing the security/privacy blog (going to bundle both into one blog) tonight.
I'm actually nervous about this 😅
(first post will solely be an introduction/hello post)79
"You'll be learning and working with C++ and Assembly."
I could very well be the only student ever to have been excited by that prospect.7
So day 2 of my python automations.
I have spent 6 hours and a lot of stack overflow “research” to saved myself 45 minutes a day with file downloads (web & ftp and outlook emails), excel spreadsheets and data manipulation macros, all stored in a nice tidy zip file at the end.
Now to find a way to send to a web server for digestion 😎
And all of this in a poor 90 lines 😧
God damn why didn’t I look into this earlier?2
Initialized iPhone X FaceID while high yesterday.
Today as sober it won’t recognize my face....
Today is bad pun day it seems.
I'm working on a script to automate exporting PST files and Office Interop is being a pain. I tell my colleague @jacoKotze about my current issue and he just says "Maybe you just need a new Outlook on things"
Who else likes refactoring more than writing new code?
I really like improving a system, rather than writing something completely new. Maybe it‘s because of my inescapable fear of introducing a myriad of bugs.2
To all the C++ programmers who haven't read "Modern C++ Design" by Andrei Alexandrescu yet, READ IT! Its great. To me, it opened up an entirely new approach to designing classes with a whole new dimension of possibilities. And it reads really well! Sometimes I got shivers because the code was so sexy 😅😂😂14
Part 2 Of the StackOverFlow rant.
He still didn't accept my answer and commented something that even I don't know what the fuck he wants. Maybe you can fix your fucking grammar and it'd be easier to understand and solve your issue. 1 Hour later guess what he gets downvoted to -5, Gets his question Closed for Off-Topic and I end up being downvoted too. WTF. I answered his questions and instead, I'm getting downvoted because I answered on an "Off-Topic" Question. I seriously give up on Helping other people because no matter ho hard i try it ends up being a waste of time and you get nothing in return... Fuck the StackOverflow Community.1
I hate it when intellisense magically decides to stop working in the IDE and you're left there like a fucking caveman banging rocks together...3
So after 7years of sound engineering, I started working as an intern in a startup company which does "anything" for money.
( Sending me to a seminar for taking photos of our customers is also in the list. )
Yesterday, I managed to grasp the basics of node and web sockets to build a simple chat app in order to satisfy boss' needs for a small website. He wanted to add it as a feature and assigned it to me as a task but it turns out nobody has any idea about putting it online. Seems like I still have lot to do.
Thing is, this is my 3rd month and I already started making no sense to anyone when I try to exchange information about coding/programming and latest technologies which we should encountered long ago. I am happy to experience and learn different things but I am feeling really alone.
I would like to take this opportunity to thank you all for boosting me with amazing real life experiences and supporting my career changing decision even without knowing.
Have fun ranting!1
So I'm sitting on the toilet in my work, wondering how much time is left till I beat the specific impulse of a Raptor engine, and all of sudden the emergency allarms go off.
Weighting my options now: die in a fire or some kind of explosion, or go downstairs without ending *the thing*.
Dying Lannister-way or going out of the building and meeting my colleagues, with a very weird smile on my face.
I think I just discovered new levels of fast when it comes to using toilet paper.3
Documentation is like sex.
When it's good, it's very good.
When it's bad, it's better than nothing.22
Apt is savage: "Signature by key 33BDD78F1D3956B52D014458F603F0D99C2EC4C39D uses weak digest algorithm (SHA1), SHA1 is weak, it's bloodline is weak, and it will not survive the winter."5
Im going to boast for a second. I wrote a lockless multi producer c++ thread pool that scales linearly, doesn't eat cpu on no work, and has a proper packaged_task + futures interface. It's fucking awesome, and that is all. Thanks for reading 😎3