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
Search - "cri"
-
Looking at my code for 10 minutes. The switch case is always going to default. Almost about to break my head.
I FORGOT TO PUT FUCKING BREAK AFTER EACH CASE. WWWWWWWHHHHHHHHYYYYYYYYY12 -
When you're trying to explain a concept as simple as it can be to your non-dev family and friends, but they're just quietly staring at you.7
-
when you had to maintain some stranger's shitty codebase, and you couldn't resist looking up his name on LinkedIn, then you found his profile which says he is a Rockstar coder8
-
[2010]
Begins Bitcoin mining during it's infancy, stops because it's a waste of time and has no value.
[2017]
1 BTC = £5,874
i cri evrytiem ;_;5 -
Last year the rewrite of an ancient system (VB6/mainframe COBOL) was started. Instead of moving to modern architecture management decided to rewrite the app's functionality into our last gen WinForms client/server arch. I set up a meeting to present alternatives and plead for some level of modernization. After presenting and asking management to plan for five to ten years in the future instead of just this year's budget my director said, "In five to ten years I'll be retired on a beach in Tahiti and this will be your problem to solve." It was the last straw and I left the company shortly after. Last week I found out the director was force retired out of the company. I sent her a congratulations slip and a cocktail umbrella with "Tahiti" written on it.2
-
FUCK IOS PUSH NOTIFICATION THAT IS SO FUCKING UN-FUCKING-RELIA-FUCKING-BLE. YOU MAKE ME CRI AT WORK!5
-
Coworker creates separate HTML files for create and edit pages. The HTML is identical in both pages.
The redundancy make me cri1 -
a contract designer came in usually one hour late with headphone on playing b-box music, who took a nap on his desk almost everyday before his contract ended. later, he took on a creative director gig in another startup1
-
Anyone know how to go about unit testing an application that is made up of:
- Electron
- Node
- React
- Typescript
(React using Typescript of course).
Electron has its own framework (Spectron), people seem to use Mocha with Node, React has its own tools like React testing library (and testing UI components will probably end me) and Typescript seems to play best with Jest - but a special Typescript flavour of Jest called ts-jest is preferable because the only other option is having Babel and its Typescript support that doesn't type check.
I want to beg for the sweet release of death.4 -
Finally!! I've managed to molest containerd and kubernetes!!
Now I can run k8s in a container :) yayy!!!
https://gitlab.com/netikras/KubICon
Next: figure out a way to automatically and transparently share certs6 -
Dear Lord, please stop people from enforcing standards and bypassing them themselves.
Take kubernetes for example. Since v1.24 CRI has been announced as the standard, and kubernetes is shifting to live by it.
But it's not.
Yes, it's got the CRI spec defined and the unix://cri.sock used for that standardised communication. What nobody's telling you, is that that socket MUST be on the same runtime as the kube. I.e. you can't simply spin up a dockerd/containerd/cri-o server and share its CRI socket via CIFS/NFS/etc. Because kube-cp will assume that contained is running on the same host as cp and will try to access its services via localhost.
So effectively you feed the container via a socket to another machine, it spins up the container and that container tries to
- bind to your local machine's IP (not the one's the container is running on)
- access its dependencies via localhost:port, while they are actually running on your local machine (not the CRI host)
I HOPE this will change some day. And we'll have a clear cut between dependencies and dependents, separated by a single communications channel - a single unix socket. That'd be a solution I'd really enjoy working with. NOT the ip-port-connect-bind spaghetti we have now.4 -
When you restore a decade of photographs from your relatives' hard drive and they have no idea that you feel like a hacker from the movies. But as you browse the photos, you cri because damn! It's been years! I miss my childhood!