Abouta geek diggin' deep
SkillsJava dev, Linux/UNIX sysadmin, performance engineer
Joined devRant on 2/26/2018
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
You know how cities hang all sorts of decorations wherever possible before Christmas? Well, it looks like people of Kekava, Latvia, are very big fans of Kotlin and find it's logo to be festive!
Good for them!8
Here's a tip to caffeinated-beverages lovers.
People often make this mistake with coffee.. They take a cup of coffee after lunch and expect it will make them productive and concentrated immediately. That's BS. Wait for the pee.
Digestion takes ~27% of your body energy molecules [ATP], so you will anyway be sleepy.
When you ingest a cup of coffee you ingest a warm beverage. The warmth will most likely make you sleepy and the sleepiness might last 5 to 15 minutes.
Caffeine in the coffee acts as diuretic - it makes your kidney filter blood more aggresively. As a result 20-40minutes after ingestion you will want to pee.
When you want to pee it's an obvious sign the caffeine is working. Now you should be productive.
Brain [cerebrum] uses glucose molecules for energy rather than ATP, like the rest of the body does. So for the best effect:
- have lunch
- have coffee with sugar during or right after the lunch [do not drink coffee if your stomach is empty!! Ulcers, gastritis, refluxes - that's your future if you do]
- wait ~30 minutes or until you pee
- go to do your work.
This way you will not be working sleepy and your brain will have enough pure glucose to operate on [sugar is just 2x glucose molecules bound together]19
Gitlab's CI/CD, Jenkins, TeamCity, Travis, Bamboo,.....
Fuck it, I'm too lazy to learn them all to pick the best choice for my case.
- Getting ready for the K.I.D.
- Will need a red LED light/lantern to see things around w/o waking the kiddo up
- Order a bunch of various models
- Receive some of them
- The another one arrives - it only has white and blueish-white modes
- Reach out to the seller, ask to send me what I've ordered
- Seller replies with:
> Hi, friend
> I am very sorry this light is out of stock now
WTF dude... I order a particular SKU of your products, I need it for its particular properties the other SKUs don't have and when you see you've got no more left you do what? Send me a random product? Seriously, WTF man?!? How about ping me with a message, explain that you've oversold the item and suggest a refund? naaah, too much work, right? Just grab whatever products you still have left on your shelf and send them to your customer instead. /s
Users.applyAll(u -> u.watchOut(true), u -> u.setCry(false), u -> u.setPout(false));
Users.each(u -> u.tell(He.getName() + " is coming to " + TownRegistry.getCommonName()));
List<Object> list = He.composeList();
He.validate(() -> list);
He.validate(() -> list);
List<Object> naughty = He.filter(He.UserType.NAUGHTY, () -> list);
List<Object> nice = He.filter(He.UserType.NICE, () -> list);
Users.each(u -> u.setStateObserver(User.State.SLEEPING, He.asObserver()));
Users.each(u -> u.setStateObserver(User.State.AWAKE, He.asObserver()));
He.subscriptions().monitorEvents(s -> s.type == He.EventType.BAD);
He.subscriptions().monitorEvents(s -> s.type == He.EventType.GOOD);
He.subscriptions().each(s -> He.advisor(He.EventType.GOOD).advice(s));7
Product name: K.I.D.
Product version: v2
Project duration: 9 months
Deployment to LIFE ETA: within next 24 hours
Tests' status: GREEN
uuhhhh soooo exciting! Hopefully this time deployment tools do not fail, like they did when releasing v1. Thanks God it still ended well.9
What it looks like in a tutorial:
What it looks like on my machine:
k8s vs. me
3 :: 012
I'm considering myself a Linux person. ATM I'm creating an Azure account to play around with their pipelines -- need that for my current task.
I feel filthy :(
Like doing a crime or smth...
I'll need a shower soon15
TIL: apparently we are gold-collar workers :)
Neither white nor entirely blue. We are gold!
Well how about that!2
How NOT to make applications:
- single GET request called rather frequently
- 3304 SELECTs per request
- Some of them lasting ~50ms11
Ideas for a strong password:
- a regex matching my laptop's LAN IP address
- a sed command to enable X11 forwarding in sshd_config
- a shell oneliner extracting all the IP addresses from ifconfig / ip a sh
- an awk command to print processes in D state
Everytime I see Cybertruck pics I see people tied up on hoods and other wildlings riding in the back with spears and guns5
Spent 3 nights to make a single unittest pass. This night - sleep was soooo satisfying - i've finally felt I deserved to rest3
The new guy:
- I'm a big fan of effectiveness and efficiency. The faster can you do the task - the better.
- naah, typing in the terminal is soo inefficient. Typing, remembering commands, parameters, paths... That's such a drag! Such a lag! Having a button I could click to do the job is far better!
- OSS is the root of all the evil!
- I'd like to try linux once again. I like it, hopefully I won't need to spend another couple of weeks setting up dual-gpu power management and searches for an Intel wifi's dual-antennae driver.
- I need a bluetooth mouse for my laptop. Using trackpoint or a touchpad is a nonsense [I agree abt the trackpoint]. Using a keyboard/typing for navigation?!? That's utter nonsense!
- I'd like to try i3wm, it looks effective and efficient
it's happened within the last month and I'm still trying to compile all this input into his preferences. So far I'm getting too many conflicting errors11
There's this huuuge project I was a part of for half a year. I was kicked off along with a few dozens of other devs (>60% of total manpower) a while ago for particular company reasons.
Now the remaining devs are oh-so-enjoying their time there..
1. workload has not changed
2. deadlines have not changed
3. no one will have Christmas-NewYear vacation
4. a new k8s-based infra is scheduled to roll out to PROD on Dec 23 (k8s is still far from ready - might need a few more months)
The most fun part is that it's not client's mgmt who has decided for #4 -- it's our own....
Boys.. Girls.. Save yourselves.3
So yeah, apparently there is a drawback of covering your code with tests.
It becomes too scary to execute them because 1 of those 310 tests might fail. Seeing that not all the tests are green - that could be a nightmare.
Every time I run my tests I look away. There's just too much tension.. The more tests - the scarier6
Tat! Tat! Tat!
Yepp.. Everybody got some free fidget-swag from the BuildStuff conf :) now the whole office sounds like a clocks' shop3
I'm wondering.. Chinese have built all sorts of things we never knew we need in our lives. I'm wondering, is there anywhere a physical smartphone keyboard I could purchase? The old-school numpad, like on nokia 3310 or so.
[< > c]
[1 2 3]
[4 5 6]
[7 8 9]
[* 0 #]
I sometimes find myself in situations where I'd like to type the whole message w/o looking at the screen. Touch-keyboards make this an impossible goal. Having an old-school physical kbd would be perfect for the job!17
So my car has a problem with a steering column lock. Sometimes the actuator pops an error and it does not unlock until I clear that buggar. Carrying a lappy with vag-com seems somewhat annoying so I got a obdeleven bluetooth dongle with am app.
Once you get it to work it works perfectly. Have been using it for a few years now. It's like a half a year or so since it got a last update and it's been stable as a rock since.
Today me and my fam took a night out with a car. Drove here, drove there, had fun. Time to go home, as the little one is getting sleepy. Got in a car, insert a key, turn it -- no ignition. Damn that steering lock!
So I pop in a dongle, open the app, hit connect,... Wait, what is that? A toast with "a new update is available. [[update now]] [[cancel]]".
Cancel ofc, I need to go home asap! Will gladly get the update when the kiddo is in his bed!
[[cancel]]. The toast disappears. Okay, now [[connect]]
"a new update is available. [[update now]] [[cancel]]"
mother f#$@%!!! Allright already, [[update]] it ffs.
Updated the app. Now [[connect]].
Loading.. Loading... "could not connect to device"
Reinsert the dongle, connect
restart the app, connect
restart the phone, connect
clear all bt devices, connect
do the rain dance, connect.
Permission to panic: GRANTED.
Dear devs. If you are rolling out an update -- never ever EVER make it non-postponable, non-cancelable. No matter how critical, your updates must NEVER be mandatory.6
Facebug secretly opens a camera on iphones: a bug or a malicious behaviour?
OFC IT'S A BUG!!!! FB DOES NOT UPLOAD ANY PICTURES W/O AUTHORIZATION!!! FB IS GOOD!
3 years (since Sep 2016 til now) and counting. 0€.
Building my own project from scratch. IDK if this is the right thing for this week's topic, but it answers the question.
I do have my paid 9/5 tho. But the code I write after is my personal and it's not yet bringing me any moneros.
It seems it's gonna need at lest another year, so next Nov it'll be 4 years w/ 0€ :) Maybe even some -x€, since I'm horrible at design - will prolly have to hire someone to do it for me
So one day I come home from work and my wife meets me with a pack of these little tux-fellows!
Do I have the best wife or what!!!13