Details
-
AboutParanoid about security, crypto, AI, IoT
-
Skillscryptography, assembler, c, c++, Java, Python, blabla....
-
LocationMars
Joined devRant on 5/30/2018
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
-
What's your interesting and useful web dev blog that you have subscribed?
I don't like news blog. Prefer an individual developer's or a company's blog where they share their experience, tips, random stuff etc.4 -
I'm at my seat during the regular morning routine of checking emails, planning the things I need to complete/study when my phone rings.
HR: Good Morning, can you come over to the conference room please ?
Me: Sure
I enter the conference room and on the other side of the table, I see a group of 3 HR Managers (not a very nice feeling), especially when it was 10 months into my first job as a Trainee Software Developer.
HR: The company hasn't been performing as expected. For this reason, we've been told to cut down our staff. We're sorry but we have to let you go. You've been doing a great job all along. Thank you.
Me: ---- (seriously ?!)
The security-in-chief 'escorts' me out of the premises and I hand over the badge. I'm not allowed to return to my desk.
This happened about 16 years ago. But it stuck with me throughout my programming career.
A couple of Lessons Learnt which may help some of the developers today :
- You're not as important as you think, no matter what you do and how well you do it.
- Working hard is one thing, working smart is another. You'll understand the difference when your appraisals comes around each year.
- Focus on your work but always keep an eye on your company's health.
- Be patient with your Manager; if you're having a rough time, its likely he/she is suffering more.
- Programming solo is great fun. However it takes other skills that are not so interesting, to earn a living.
- You may think the Clients sounds stupid, talks silly and demands the stars; ever wonder what they think about you.
- When faced with a tough problem, try to 'fix' the Client first, then look for a solution.
- If you hate making code changes, don't curse the Client or your Manager - we coders collectively created a world of infinite possibilities. No point blaming them.
- Sharing your ideas matter.
- Software Development is a really long chain of ever-growing links that you may grok rather late in your career. But its still worth all the effort if you enjoy it.
I like to think of programming as a pursuit that combines mathematical precision and artistic randomness to create some pretty amazing stuff.
Thanks for reading.14 -
I have a teacher that does nothing but reading from powerpoint slides.
Wrote a script that does a better job.19 -
>>signs up for GitHub student pack
>>Approved almost instantly
>>Looks at what's included
>>See a .me domain from namecheap is free
>>"yo that's lit. Lemme see if they have one I want"
>>Finds domain
>>"Good shit man. I'll finally have a reason to make my own website"
>>Go to checkout
>>Asks for school email address
>>Enters address
>>"it seems your University is not included in this."
>>Fuck me man10 -
Hi, I am a Javascript apprentice. Can you help me with my project?
- Sure! What do you need?
Oh, it’s very simple, I just want to make a static webpage that shows a clock with the real time.
- Wait, why static? Why not dynamic?
I don’t know, I guess it’ll be easier.
- Well, maybe, but that’s boring, and if that’s boring you are not going to put in time, and if you’re not going to put in time, it’s going to be harder; so it’s better to start with something harder in order to make it easier.
You know that doesn’t make sense right?
- When you learn Javascript you’ll get it.
Okay, so I want to parse this date first to make the clock be universal for all the regions.
- You’re not going to do that by yourself right? You know what they say, don’t repeat yourself!
But it’s just two lines.
- Don’t reinvent the wheel!
Literally, Javascript has a built in library for t...
- One component per file!
I’m lost.
- It happens, and you’ll get lost managing your files as well. You should use Webpack or Browserify for managing your modules.
Doesn’t Javascript include that already?
- Yes, but some people still have previous versions of ECMAScript, so it wouldn’t be compatible.
What’s ECMAScript?
- Javascript
Why is it called ECMAScript then?
- It’s called both ways. Anyways, after you install Webpack to manage your modules, you still need a module and dependency manager, such as bower, or node package manager or yarn.
What does that have to do with my page?
- So you can install AngularJS.
What’s AngularJS?
- A Javascript framework that allows you to do complex stuff easily, such as two way data binding!
Oh, that’s great, so if I modify one sentence on a part of the page, it will automatically refresh the other part of the page which is related to the first one and viceversa?
- Exactly! Except two way data binding is not recommended, since you don’t want child components to edit the parent components of your app.
Then why make two way data binding in the first place?
- It’s backed up by Google. You just don’t get it do you?
I have installed AngularJS now, but it seems I have to redefine something called a... directive?
- AngularJS is old now, you should start using Angular, aka Angular 2.
But it’s the same name... wtf! Only 3 minutes have passed since we started talking, how are they in Angular 2 already?
- You mean 3.
2.
- 3.
4?
- 5.
6?
- Exactly.
Okay, I now know Angular 6.0, and use a component based architecture using only a one way data binding, I have read and started using the Design Patterns already described to solve my problem without reinventing the wheel using libraries such as lodash and D3 for a world map visualization of my clock as well as moment to parse the dates correctly. I also used ECMAScript 6 with Babel to secure backwards compatibility.
- That’s good.
Really?
- Yes, except you didn’t concatenate your html into templates that can be under a super Javascript file which can, then, be concatenated along all your Javascript files and finally be minimized in order to reduce latency. And automate all that process using Gulp while testing every single unit of your code using Jasmine or protractor or just the Angular built in unit tester.
I did.
- But did you use TypeScript?37 -
TIL Powershell is open source (MIT)!
https://github.com/PowerShell/...
Apparently Microsoft has opensourced a lot of stuff:
https://opensource.microsoft.com
Here's the list, sorted by "awesomeness" (I kid you not):
https://opensource.microsoft.com//...
Interesting (ง°ل͜°)ง8 -
If someone wants to be a part of something cool from the start, you should check out this:
https://clinl.org/
An alternative kernel to Linux that is being rewritten in C++.35 -
Let's clarify:
* Github is not Git
* Android is not Java
* Unit test is not TDD
* Java is not OOP
* Docker is not Devops
* Jenkins is not CI
* Agile is not institutionalised total chaos
* Developer is not Printer Support52 -
I recently met a young fella (14yo) playing League of Legends. He asked:
- What do you do for a living?
- I'm a programmer, do you know anything about programming?
- I don't, actually.
Apparently he was playing from a LAN Gaming center 'cause he didn't have a computer at home (his computer had broken and these Lan centers are pretty affordable).
I figured I could explain to him what was it and what super powers you could get from it. Turns out I recommended a JS course in codecademy and now he goes to the LAN center every day to study programming (he got really into it!).
Now he always pings me with questions about JS and apparently he's learning a ton! He had almost no English skills too (we're Brazilian), and because most of the material in the internet is in English he found himself some free English courses and he's now taking them!
Knowledge is free on the internet and I guess he's just realized that.
Not exactly a rant guys, just figured it was a nice story to tell :)
#TeachAKidHowToCode57 -
Have you ever wondered we programmers have so many strong communities.... Stackoverflow, devRant, Reditt, etc...
No other profession has such communities... Why? Why?
Because, we haven't built one for them.... 😂😁61 -
Bought a second hand e-reader and now importing nearly 1k of PDF files into Calibre's library.
Its taking huge amounts of ram and my laptop started freezing.
~$ nano clean.sh
while :
do
sudo sync; echo 3 > /proc/sys/vm/drop_caches
done
~$ chmod +x clean.sh
~$ ./clean.sh
👌12 -
Client sends an email after 5 PM. We all left for home.
Client: blah blah blah...We urgently need this app to be done by COB on Monday. Our CEO is going to launching it on Tuesday to the board of Directors.
––Boss forwards me the email––
Boss: Can you get this done by this weekend.
––On Viber––
Boss: I have sent you an urgent email. Let me know.
––My Reply––
Me: This can't be done in a day or 2. Looking at the scope of work, I need at least 8 weeks.
––Boss Replies back––
Boss: You are not performing at the best of your ability. Come and see me on Monday, I need to talk to you about your performance on urgent projects.23 -
Just found codereddit.com and it looks amazing way to camouflage. Do you think devRant requires similar version?2
-
Do any of you know about Dracula?
It’s this great looking dark theme that you have to check out!
https://github.com/dracula/...
Everything it supports:
alfred
atom
base16
bbedit
brackets
chrome-devtools
coda
conemu
emacs
gedit
highlightjs
hyper
iterm
jetbrains
kate
konsole
light-table
lightpaper
liteide
macdown
mintty
monodevelop
notepad-plus-plus
nylas-n1
pygments
qtcreator
quassel
quiver
sequel-pro
slack
sublime
telegram
terminal-app
textmate
textual
ulysses
vim
visual-studio
visual-studio-code
wox
xchat
xcode
xresources
zsh12 -
After countless Google searches for the past 3 years, I've written a small script to get my internal & external IP addresses with one command!23
-
Since I've been seeing a lot of Linux distros, here's mine
Not a daily driver but something to get me used to it8 -
Anyone else heard of this cool little device? (GPD Win, an obscure Chinese computer that is like a Nintendo DS but it has an x64 processor and runs full windows 10)18
-
Sensible question but I am asking it here!
As you know wifi packets can be sniffed using kali and a wifi adaptor.
I was wondering if the same thing can be done about car remote using raspberry pi ?
(I know theft is illegal everywhere and I'm not looking for trouble)13 -
Heyo fellow i3wm-users.
Please give me some inspiration for my next setup.
What are your color-settings do you have,
What applauncher do you use,
What programs work really well with i3 or something completely different?3 -
Today we interviewed a _very_ good Angular1 Dev, by chance we showed him the forked ngRouter module we use, after some debate he explained that we were using it incorrectly.. I asked if he'd used it before to which he responded:
"Yeah, I'm the guy who built it"
😅27 -
There's this guy where I work who's one of the senior linux engineers. To me, he's like a linux god. He knows how to solve the most difficult problems and somehow copes with all the stress/workload. Next to that, he's only one year older than me!
Whenever I'm at work, I consider myself a junior, which I actually am. I also, as said earlier, see this senior guy as a fucking linux god and consider myself to be an absolute newbie around him but he is the most kind/friendly guy ever.
But then, today, something happened which made me feel like a god in front of him, a very, very weird feeling.
For him, doing his stuff is the most normal thing in the world while for me, it's still a learning process.
For me, programming is the most normal thing in the wold, while for him, it's still something he just knows the very basics of.
He asked me if I knew something about javascript/jquery. Said yes as I often program/script in javascript.
Explained me what he wanted to get done, it was a very simple thing for me but after hours of online searching, his lack of javascript knowledge still got him nowhere.
Told him I'd give him a working script in 30 minutes. Emailed it to him in 10.
He seemed/reacted the way I always do when he solves something I have no clue how to solve.
It was really weird to witness *him* being amazed of something that *I* made/did.
Today was a good day where I saw that one person's limitations can be anothers' most easy thing, even if that another person sees that one person as a god.13