Details
-
AboutInnovator,Software Developer & Entrepreneur
-
Skillsc#,html,php
-
LocationBotswana,Gaborone
-
Website
Joined devRant on 10/8/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
-
Dude
The client has a giant database with all credit and debit cards
ALL INFOS IN FUCKING PLAINTEXT
THE CARD NUMBER
THE CVV
THE EXPIRY DATE
I'M SHAKING AF38 -
One of the things I like about Web Development is its WYSIWYG-ness.
Another thing that I love-hate about it is how 80% (more or less) of the time you don’t see anything happening on screen and then suddenly it all comes together. (This goes mainly for Frontend stuff.)
Aah! The joys and sorrows of Web Development.12 -
*casually clicking through aws services*
*discoveres ses (email service)*
*tries it out as email driver in laravel project*
*discoveres you are in sandbox by default, means you can only send emails to yourself*
*reads documentation, says to get out of sandbox request a limit increase with default values*
// 200 per day, max 1 per second
*request what is mentioned*
*while waiting, find threads of people with the most well documented use case requests getting denied*
*pretty sure i will be denied to, thinking of starting to look elsewhere*
// next morning
*opens mail*
# your application is now out of sandbox and can now send 50k emails a day with a max of 14 per second.13 -
So the issue is that if you refresh the page the method that saves the data is triggered again and it retrieves over data from the controls to overwrite the new data you just saved
My senior developer told me the solution was to impliment ajax on that page...
What the fuck? That doesn't stop the method from being triggered when you hit the refresh button on the browser -
ALWAYS read warnings guys.
Story time !
A client of ours has a synchronization app (we wrote it) between his inhouse DB and our app. (No, no APIs on their end. It’s a schelduled task).
Because we didn’t want to ask them for logs every single time, the app writes logs to disk (normal) and in Applications Insights in Azure.
When needed, I can go in portal, get all logs for last execution in a nice CSV file.
Well, recently we added more logs (Some problems were impossible to track).
So client calls us : “problem with XXX”
Me : Goes to Azure, does the same manipulation as always. Dismiss a smaaaaaalish warning without reading. Study logs. Conclusion: “The XXX is not even in the logs, check your DB”.
Little I knew, the warning was telling me “Results are truncated at 10.000 lines”.
So client was right, I was wrong and I needed to develop a small app to get logs with more than 10.000 lines. (It’s per execution. Every 3 hours) -
Here we see the world's thickest user of 2FA. That tokens are stored offline is literally the whole premise of TOTP.6
-
Kind of sad but true.
1) "If you don't love your job, take a home loan".
You will start loving it.
2) Take another loan, you will start loving your boss as well.
3) Get married. You will start loving your office too.
Source: LinkedIn
But can't stop anyone from ranting. :/1 -
10 PRINT “Hallo”
20 GOTO 10
1983 : my very first program and also very first contact with a computer - a VC649 -
I just came across this piece of recursive code, as much as I can guess this should be an infinite recursion but somehow it executes and does terminate. Can anybody tell me how this happens and what will be it's time complexity ?15
-
interviewer: What is your greatest weakness?
me: don't let your enemy find out your weakness. -Bruce Lee
interviewer: get out4 -
Boss: Hey, remember that app you made that was supposed to be purely for demonstration purposes?
Me: The one that we hard coded to get done in a week? Yea, why?
Boss: Here are some changes we need done for the next meeting.
Me:...1 -
So I need to create a nice new web app. Let's look at some cool JS frameworks that I can work with.
*5 mins later* Hm, Angular sounds good, is there any good competitor?
*5 mins later* Wow, React sounds awesome as well. Let me learn it.
Google search result:
"Planning to use react? Check out Vue JS first"
*5 mins later* Ok so vue seems faster than React and much easier to learn. Let me see if Vue is the final choice.
Google search result:
"Angular VS Knockout VS Ember VS React VS Mithril VS Mercury VS Ractive VS Vue VS Riot"
Nope, fuck it63 -
I actually talked to my duck. He solved my Server 500 error which said "java.lang.NoSuchFieldError: logger". I had to purge the build .class files and recompile the application and low and behold it runs.
Why is my duck a better debugger than most actual debuggers? He didn't even go to college!11 -
Elon Musk: Space junk is a serious issue
Also Elon Musk: I put a Tesla into orbit lol
Love this guy15 -
So I've been reading a lot about this #deletefacebook trend across devrant lately. And frankly I'm a little concerned.
As per my understanding, everyone wants to delete Facebook because they're harvesting data. Learning more about us.
While I would agree that I want my privacy. I am a little surprised at how fast this trend is picking up. People are turning a blind eye on everything else they do online just to assume they have privacy.
Let's put this Into perspective, shall we?
You are afraid of letting Facebook harvest your data yet you watch videos on YouTube which is owned by Google. You may even proceed to removing your Google account and use a stripped down version of Chromium to protect yourself from these companies yet you're using a Windows, Mac, iPhone, or Android all of which may be harvesting your data behind the scenes. Some may argue that they have stripped down their android phones but don't take into consideration that you are still using apps on your phone that may be collecting your data.
Let's say that you manage to get out of every sort of technology, you should remember that companies like Facebook also check data about you through your friends.
You use platforms like DuckduckGo assuming that they might not be collecting data about you in some way. I don't think there is anyway for you to prove that these privacy companies don't collect our data.
I don't know why everyone seems to be interested in this trend. I absolutely don't see a point in it. If anything, things I see are super relevant to me.13 -
Upgrading windows 10 to 1703 Creators Update is a biblical experience: "It will take some time (2 hours) and the PC will be rebooted a lot of times".2
-
Don't get too comfortable.
If your workplace isn't much of a learning environment, it's either time to learn on your own time or leave that workplace.
Don't be arrogant with those who are less tech savy. If your boss/cowoker doesn't understand, at least give them them a chance ☺.
Be kind to new developers who make mistakes; you were in their shoes once.
Realize there's more to life than just designing and implementing software. Don't let other areas of your life suffer just because you're a godly developer.3 -
Dev: what do I call this file ?
Me: just name it something meaningful so other dev's know what it is
Two days pass
Me: time to do code review .. oh look a new file ..
Git comment : new file for sax parsing , architecture gave the ok.
File name : SomethingMeaningful.java11