Details
-
Abouta geek diggin' deep
-
SkillsJava dev, Linux/UNIX sysadmin, performance engineer
-
LocationLithuania
-
Github
Joined devRant on 2/26/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
![](/static/devrant/img/pipeless-devrant-banner-white.png)
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
TIL:
How to become root w/o having to provide a password:
unshare -rm
no go ahead and bind-mount your own /etc/hosts (or any other file/directory) w/o affecting the rest of the system!1 -
What's this new trend with connecting to 0.0.0.0...? Since when is 127.0.0.0/8 no longer enough?
Does 0/0 offer to the clients smth 127/8 doesn't?6 -
fuck.. FUCK FUCK FUCK!!!
I'mma fakin EXPLODE!
It was supposed to be a week, maybe two weeks long gig MAX. Now I'm on my 3rd (or 4th) week and still got plenty on my plate. I'm freaking STRESSED. Yelling at people for no reason, just because they interrupt my train of thought, raise a hand, walk by, breathe, stay quiet or simply are.
FUCK!
Pressure from all the fronts, and no time to rest. Sleeping 3-5 hours, falling asleep with this nonsense and breaking the day with it too.
And now I'm fucking FINALLY CLOSE, I can see the light at the end of the tunne<<<<<TTTOOOOOOOOOOOOOTTTTT>>>>>>>
All that was left was to finish up configuring a firewall and set up alerting. I got storage sorted out, customized a CSI provider to make it work across the cluster, raised, idk, a gazillion issues in GH in various repositories I depend on, practically debugged their issues and reported them.
Today I'm on firewall. Liason with the client is pressured by the client bcz I'm already overdue. He propagates that pressure on to me. I have work. I have family, I have this side gig. I have people nagging me to rest. I have other commitments (you know.. eating (I practically finish my meal in under 3 minutes; incl. the 2min in the µ-wave), shitting (I plan it ahead so I could google issues on my phone while there), etc.)
A fucking firewall was left... I configured it as it should be, and... the cluster stopped...clustering. inter-node comms stopped. `lsof` shows that for some reason nodes are accessing LAN IPs through their WAN NIC (go figure!!!) -- that's why they don't work!!
Sooo.. my colleagues suggest me to make it faster/quicker and more secure -- disable public IPs and use a private LB. I spent this whole day trying to implement it. I set up bastion hosts, managed to hack private SSH key into them upon setup, FINALLY managed to make ssh work and the user_data script to trigger, only to find out that...
~]# ping 1.1.1.1
ping: connect: Network is unreachable
~]#
... there's no nat.
THERE"S NO FUCKING NAT!!!
HOW CAN THERE BE NO NAT!?!?!????? MY HOME LAPTOP HAS A NAT, MY PHONE HAS A NAT, EVEN MY CAT HAS A MOTHER HUGGING NAT, AND THIS FUCKING INFRA HAS NO FUCKING NAT???????????????????????
ALready under loads of pressure, and the whole day is wasted. And now I'll be spending time to fucking UNDO everything I did today. Not try something new. But UNDO. And hour or more for just that...
I don't usually drink, but recently that bottom shelf bottle of Captain Morgan that smells and tastes like a bottle of medical spirit starts to feel very tempting.
Soo.. how's your dayrant overdue tired no nat hcloud why there's no nat???? fuck frustrated waiting for concrete to settle angry hetzner need an outlet2 -
"best" server. BEST.
is the hedgehog stealing my wifi...?
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by NewMedia Express (Singapore) [9430.76 km]: 436.529 ms3 -
So I'm sitting on the swings, minding my own business, seing how best I could destroy this cluster of servers, when suddenly I notice SOMEONE IS COMING FOR MY COFFEE
"hi neighbour! What you've got there"5 -
I've never been a big fan of the "Cloud hype".
Take today for example. What decent persistent storage options do I have for my EKS cluster?
- EBS -- does not support ReadWriteMany, meaning all the pods mounting that volume will have to be physically running on the same server. No HA, no HP. Bummer
- EFS -- expensive. On top of that, its performance is utter shit. Sure, I could buy more IOPS, but then again.. even more expensive.
S3 -- half-assed filesystem. Does not support O_APPEND, so basically any file modifications will have to be in a
`createFile(file+"_new", readAll(file) + new_data); removeFile(file); renameFile(file + "_new", file);`
way.
ON TOP of that, the s3 CSI has even more limitations, limiting my ability to cross-mount volumes across different applications (permission issues)
I'm running out of options. And this does not help my distrust in cloud infras...10 -
Hmm..
My game changing caching proxy [mitmcache] in CI implementation works miracles in localhost. It shaves off build times significantly: what used to build in ~2min now builds in 18sec.
However, this doesn't seem to be true in CI... For some reason build times remain the same [more or less] when cached and considerably longer when the cache is cold/empty..
Damn it.
I don't understand why...
A week wasted. And I have to explain the client why me failing in this is a good thing, so I'd get paid
https://gitlab.com/netikras/... -
Since we're sharing traffic lights... Today I was running towards a green lad with a boner all day.
Talk about poor design choices, right...11 -
so, I am trying to implement a caching solution for my CI/CD (because, you know, BitBucket CI caching sucks ass big time). This time I was writing a module in Python. I spent 2 evenings in the evening building it, debugging and testing, implementing several features making it a flexible solution.
So, yesterday I had a pretty much well working version. Before pushing changes I wanted to drop the cache and give it another round of testing, just to be sure I was pushing a truly working code. I rm-rf the cache directory, restart the engine and I'm greeted with an error message saying the module I was working on cannot be found.
wtf..?
Out of a sudden the IDE stopped showing all the project files as well.
wtf happened....?
oh, of course.. I rm-rf'ed my project directory, not the cache directory. Deleting EVERYTHING I had.
fuck.
I should not be working half-asleep4 -
Speaking of fragile environments, what the hell is going on with the absolute dependency on python...?
I mean, I'm as reluctant to upgrade my system's python version as libc's.
How to break at least half of your system:
1. python3 --version
Python 3.8.10
2. rm -f /usr/bin/python3
3. ln -s /usr/bin/python3.13 /usr/bin/python3
And good luck opening most of the UI utilities and some of the terminal-based ones.
wtf... While everyone's barking at systemd, python quietly crawls in and claims the system's flexibility for itself w/o any resistance.
I imagine that's one of the aspects making NixOS a resilient solution...12 -
Today I started tearing off some parts of the external wall of an old abandoned wooden house, built either in 1860s or 1930s. Surprisingly, the HTML is still very solid, except for the parts it was supposed to rot.
My project is on!!!
While it would be freaking cool to live in a renovated and modernised 150+y old house, a nearly 100y old house is still good enough!
I already imagine myself WFH there...3 -
- found myself in need of a speciffic tool
- quick google search didn't yield any usable implementations [at least free]
- TTOOOOOTT TTTOOOOOOOTTT, LET THE REINVENT-THE-WHEEL TRAIN THROUGH!!! Now, where's that my favourite ide....11 -
I think it's time to make a devrant bot automatically downvoting spam posts and spin it as 2 instances. Any takers? :)
fight automatism with automatism
robot fights of 2024 😁7 -
--- s3-r-w.us-west-2.amazonaws.com ping statistics ---
44 packets transmitted, 16 received, 63,6364% packet loss, time 43544ms
rtt min/avg/max/mdev = 258.995/280.765/377.149/37.359 ms
Sounds like a good day to grab a ball and go outside.4 -
happy 2nd birthday to my work lappy's session!!
$ uptime
08:16:38 up 730 days, 9 min, 122 users, load average: 1,72, 1,92, 2,069 -
I am living my dream.
I have a nice fam, enough capital, a job I enjoy, I'm enjoying the life in this world every day now. And yesterday I caught myself in a moment that 10 years ago I thought only happens in movies. An engineer participating in a meeting with the client while riding on a motorcycle.
I mean, how cool is that! It may not seem like much now, because it was a necessity - I had to be at 2 places at once. But a 10 years younger me would wet his pants if he knew I would one day be doing that IRL.
How about you? How would a 10 years younger you feel about the _now_ you?5 -
soooo I'm browsing Netflix, searching where to submerge the remaining of my brain this evening, looking for smth apocalyptic. And the Netflix's sorting algo gives me this.
Keep breathing. Oxygen missing. Don't breathe.
Is this a sign? I mean, it must be some sort of a sign. What's it mean... It can't be just a sheer coincidence.19 -
alright, so I'm seeding the DB with a 4GB SQL dump through a k8s port-forward across the world (behind the pond), port-forwarded through socat (a bastian container).
What are the chances I'll succeed? :D4 -
A reddit kind of question.
Guys, if you come to find our that your girl [gf/wife] is messing arround with another girl [eg you find them in bed when you get home, you see them in home's cctv, neighbours' hints, she tells you, etc], would you consider that as infidelity / grounds for a breakup?
Gals: same qn, only about your boy17 -
You know, having covid [ie self-isolation] has its plus side. I am now getting a lot more alone-time!2
-
God damn it! And all that time I thought it's the dust causing my runny nose and sneezes and that it's exhaustion that causes G feel like 19.8 rather than 9.8.
Turns out, what happens in Grece does not necessarily stay in Grece.9 -
This week I'm doing construction work -- renovating my balcony. Just now I've finished with HTML - hanging drywall ceiling. Tomorrow will start on CSS - putty.
Damn, it's so gooood no not think about computers!6 -
so on my new lappy I'm testing XFS. After reading how bloody fast it is, I figured: why not give it a shot!
2 weeks later, I want to go back to ext4. XFS is SSSSOOOOOO fault-intollerant, it breaks my Chrome profile after each forced-poweroff (or power loss). And the on-boot fsck freezes. And after a successful bootup I see the log messages in syslog are all messed up (timestamps are all over the timeline!!!)
it's a mess... A very fast mess.17 -
Hey lads and gals!
A genuine question to people who live in "heaven-on-earth" countries (Greece islands, Italy, Spain seaside, Portugal, etc.). Where do YOU travel to to chill, change scenery and relax?
I mean, for us, wildlings of the North, going South on vacation is a no-brainer. Like now, I'm getting my sanity back while sipping Rakia (IDK why not ouzo though..) in Crete. But where do Cret(ians?) and other Southerners go on vacation?6 -
I wonder how many bitflips did they trigger last night...
Looks pretty. But much too scarry when you understand what it is.3 -
this project is so ridiculous at times that IDK whether to laugh or to cry :D :D
Frankly, I don't even know how to compose a rant about it.... :D1