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 - ".tt"
-
I DID IT!!! just fucking installed lineage os <3 never imagined that it could be so complicated... they really don't want you to flash your phone man. I guess the main problem was that my phone is old x)
So I'm trying to get a clean and free environment, any advice about applications? My biggest problem is with telegram, I'll try wire, bit there is anything else that can replace telegram and on android and Linux? I mean I need to keep conversations sync, and I won't use a Chrome application TT so no signal.41 -
Today at 'Derp & Co' a fellow co-worker decided that had duplicated data on Relational DB is good!
- Dev: 'but what if we have 2 companies in diferents groups?''
- co-worker: 'Just call it company A and Company B'
- Dev: 'but... this is not what...'
- co-worker: 'Trust me Dev, is the easy way'
I want the professional way, not the easy (and damn wrong) way :(, I can't improve myself like this.
Also, dead line is here too... TT^TT
Last sprint and still with doubts about the DB structure.12 -
tt = *src++;
The C programmers that use dereferencing and postfix de-/increment in the same statement, can go and fuck themselves18 -
- DDG will use apple maps now: https://spreadprivacy.com/duckduckg...
- Fedora wants to assign a UUID to every single install to "not track" people: https://lwn.net/SubscriberLink/...
in other words: I installed tt-rss, because it now has amazing app support on android.5 -
Why the fuck would you want to use a .tt on a web.config file?!
What about they keys you don't want to be mandatory? And you want to set some defaults for them if they're not present in the web.config file?!
I mean WTF?! Am I missing something here?!
Or is it really just that you wanted to be cool and have a file that writes some more code in another file in your project?!
Fuck!!1 -
how do you deal with workplace bullies? or is it just me who feels certain types of talks and actions are a bit intimidating and contributes to a hostile workplace environment?
i usually feel this around people of power. like say you are a TL and you are casually flexing the power to impact X guy's KPI scores in response to a funny taunt about holidays, while some guy Y from same team is in proximity whose leaves are not yet approved, isn't it some kind of intentional bullying?
or like there is some discussion goin on with TL and dev, where dev is trying to justify some reason for something, and suddenly the SSE jumps in between, start agreeing with the TL, adds a few jokes deviating the situation and the dev is left with his reasons and justifications undermined?
or like when some messup occurs by the team and TL suddenly pulls out a threatening card citing "people spending extra time in tt/leaving early" or some other reason as cause/punishment of messup?
Why do people of power need to make us remember that there is someone above us? and why does this need to be done in public?
lets say even if there are some notorious elements in team, who does take leaves on important days, and who are giving poor performance due to slacking/TT/early signoff, why should i be also told about it? just to get a warning?
And let's assume that there ARE people whose work is not causing the mess. They ARE doing good timely work and there are no complaints (not even the ones that don't reach public ear) , how should they not get intermediated by such situations?
I will not say i am the most perfect person doing the best of coding, but if i am being constantly kept in an atmosphere of fear and power; and being constantly cut/over powered during my discussions, i might end up doing mistakes as well11 -
## Learning k8s
Interesting. So sometimes k8s network goes down. Apparently it's a pitfall that has been logged with vendor but not yet fixed. If on either of the nodes networking service is restarted (i.e. you connect to VPN, plug in an USB wifi dongle, etc..) -- you will lose the flannel.1 interface. As a result you will NOT be able to use kube-dns (because it's unreachable) not will you access ClusterIPs on other nodes. Deleting flannel and allowing it to restart on control place brings it back to operational.
And yet another note.. If you're making a k8s cluster at home and you are planning to control it via your lappy -- DO NOT set up control plane on your lappy :) If you are away from home you'll have a hard time connecting back to your cluster.
A raspberry pi ir perfectly enough for a control place. And when you are away with your lappy, ssh'ing home and setting up a few iptables DNATs will do the trick
netikras@netikras-xps:~/skriptai/bin$ cat fw_kubeadm
#!/bin/bash
FW_LOCAL_IP=127.0.0.15
FW_PORT=6443
FW_PORT_INTERMED=16443
MASTER_IP=192.168.1.15
MASTER_USER=pi
FW_RULE="OUTPUT -d ${MASTER_IP} -p tcp -j DNAT --to-destination ${FW_LOCAL_IP}"
sudo iptables -t nat -A ${FW_RULE}
ssh home -p 4522 -l netikras -tt \
-L ${FW_LOCAL_IP}:${FW_PORT}:${FW_LOCAL_IP}:${FW_PORT_INTERMED} \
ssh ${MASTER_IP} -l ${MASTER_USER} -tt \
-L ${FW_LOCAL_IP}:${FW_PORT_INTERMED}:${FW_LOCAL_IP}:${FW_PORT} \
/bin/bash
# 'echo "Tunnel is open. Disconnect from this SSH session to close the tunnel and remove NAT rules" ; bash'
sudo iptables -t nat -D ${FW_RULE}
And ofc copy control plane's ~/.kube to your lappy :)3 -
How is algorithms still not regulated or monitored?
The shit that sometimes appear on TT or IG is downright fucked up.7 -
Why on earth can one perform calculations on pointers in c++? I can think of a dozen ways this could go wrong, but none where this is useful.
Following example:
int t = 1234;
int tt = 5555;
int* p = &t;
int* pp = *(p + 1):
Here pp will give me 5555...5