Details
-
AboutHobbiest
-
SkillsML, automation, shitin, fartin
-
Location/tmp
Joined devRant on 8/3/2019
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
-
Week : 72 ( Year 1 )
How was the weekend?
What’s something a guy/girl has done (intentional or not) that instantly made you think, “Wow, he/she is different in a good way?
Previous Week : https://devrant.com/rants/126273893 -
Any tips on how to properly document my code? I'm going to start my first internship soon so I need to learn it.6
-
It makes sense to learn AI and its mathematical basis (statistics and linear algebra) or unless I want to get a degree on the topic I’m wasting my time? If the answer is yes what are the best online resources/books which I can use?
To clarify I don’t want to specialize there and work as a “AI/data science specialist” (for which I believe a degree it’s necessary) as some graduates in shady boot camps expects to do. I’m just asking myself if I can teach myself enough IA to enrich personal projects in which IA makes sense and to become apre flexible professional.4 -
Great alternative to google translate if your languages are supported: https://www.deepl.com/translator has much more fluent translations too.10
-
Well another Satoshi Nakamoto reveal is here and he claims to be a Pakistani!
https://satoshinrh.com3 -
I just invented a new JavaScript operator. It's named "plus with wings", and it's used to sum to numbers without ambiguity or any need of type conversion, for example:
3 -+- "2" // 5
"2.1" -+- "4" // 6.1
"-1.1" -+- "" // -1.1
So, from now, you won't have to wonder anymore what type is that variable.
Tested on all browsers25 -
*Now that's what I call a Hacker*
MOTHER OF ALL AUTOMATIONS
This seems a long post. but you will definitely +1 the post after reading this.
xxx: OK, so, our build engineer has left for another company. The dude was literally living inside the terminal. You know, that type of a guy who loves Vim, creates diagrams in Dot and writes wiki-posts in Markdown... If something - anything - requires more than 90 seconds of his time, he writes a script to automate that.
xxx: So we're sitting here, looking through his, uhm, "legacy"
xxx: You're gonna love this
xxx: smack-my-bitch-up.sh - sends a text message "late at work" to his wife (apparently). Automatically picks reasons from an array of strings, randomly. Runs inside a cron-job. The job fires if there are active SSH-sessions on the server after 9pm with his login.
xxx: kumar-asshole.sh - scans the inbox for emails from "Kumar" (a DBA at our clients). Looks for keywords like "help", "trouble", "sorry" etc. If keywords are found - the script SSHes into the clients server and rolls back the staging database to the latest backup. Then sends a reply "no worries mate, be careful next time".
xxx: hangover.sh - another cron-job that is set to specific dates. Sends automated emails like "not feeling well/gonna work from home" etc. Adds a random "reason" from another predefined array of strings. Fires if there are no interactive sessions on the server at 8:45am.
xxx: (and the oscar goes to) fuckingcoffee.sh - this one waits exactly 17 seconds (!), then opens an SSH session to our coffee-machine (we had no frikin idea the coffee machine is on the network, runs linux and has SSHD up and running) and sends some weird gibberish to it. Looks binary. Turns out this thing starts brewing a mid-sized half-caf latte and waits another 24 (!) seconds before pouring it into a cup. The timing is exactly how long it takes to walk to the machine from the dudes desk.
xxx: holy sh*t I'm keeping those
Credit: http://bit.ly/1jcTuTT
The bash scripts weren't bogus, you can find his scripts on the this github URL:
https://github.com/narkoz/...58 -
For all those that saw my previous post about Facebook embedding tracking metadata into photos: I just released a website for my project that allows you to obfuscate the tracking data in your browser.
https://fbmdob.watzon.tech
Hopefully this is helpful to some people :)2 -
I've been wanting to get into circuit design and general electronics for a while now. PCBs seem interesting.
What can you people recommend me to start learning it? I've only found some random courses by people with thick accent I cant understand.5

