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 - "htop"
-
saying git is shit (cite at the end) and nobody professional uses it.
cite:
"GIT ist scheisse, es ist schwer zu installieren und man muss die Kommandozeile benutzen. Das benutzt doch niemand."26 -
!rant
I'm just amazed what 512MB of RAM can do :O
That's htop from my VPS I feel sorry for the CPU though.
It is running three docker containers:
1. Dotnet Core
2. MySQL
3. OpenVPN26 -
This is the state of desktop computing: When a web browser uses twice more RAM than a full virtual machine.
To be fair, I did have 5 windows with >10 tabs each, but still...13 -
Fired because an metric they used was too small (accepted tickets). My problem was: everyone of the others took imidiatly the tickets, just to have them "in progress".5
-
TL;DR
I accidentally surpassed(?) my user permissions and closed some of my classmates browsers and locked up a terminal for me
In school we have 2 primary operating systems: Windows and Ubuntu. Windows is hell in general and but not as hell as the firefox installation on Ubuntu.
"Just loaded this page. Now wait half a minute so that I can render it"
"Woah, woah, woah. Slow there. You just made an input event. Give me those 5 seconds to compute what you just did"
Executing "top" or "htop" shows you a long list of firefox processes with a cpu usage of 99.9%, since the whole school shares that linux environment.
Anyway, one day it was way more servere than normally and I way forced to kill my firefox instances. So I pressed CTRL+ALT+T for that terminal, waited 5 minutes until it accepted input typed "killall firefox" with a delay of half a minute per character and smahed that enter key.
At this very point in time I could hear confusion from every corner of the room. "What happened to firefox?"
Around 30% of the opened browsers where abruptly stopped. I looked back to my screen noticed I was logged out. I couldn't login from that terminal for the rest of that day.
Our network admin, which happened to be there, since the server is just next door, said that this was just convenience, but the timing was too perfect so I heighly doubt that.
I felt like a real hackerman even if it was by accident :)8 -
when i was fired as an external contractor with half an hour notice, because i didn't process enough tickets. I didn't process many tickets because:
1. In the morning everyone grabs tickets just to stop the timer.
2. I worked on some complicated tasks that involved multiple third and fourth parties(not to forget an fucking dropping firewall)2 -
Things that I always install and configure in a server:
automysqlbackup, rsnapshot, htop, zsh (oh-my-zsh)7 -
When every ubuntu based distro fails, from kubuntu to xubuntu, lubunto, mint etc.
You will always have Linux Lite. How the fuck this thing manages to keep 2 vs code editors opened as well as firefox and chrome at the sime time while at 3.55g mem(according to htop) without fucking up?
Good engineering, das how. Kudos to my ninjas at the Linux Lite team. This is why I recommend this distro to anyone wanting to go Linux. Good for the beginner and the working professional alike(I use it for work)4 -
Go is fast they said, Go is lightweight they said.
package main
import "fmt"
func main() {
var nums []int
for i := 10; i > 0; i++ {
nums = append(nums, i)
i--
}
fmt.Println(nums)
}
# htop
| PID | USER | VIRT | %CPU | %MEM
| 12048 | root | 16.9g | 101.3 | 94.2
WTF is eating my resources to hell and.... oh... oh im a dickhead!9 -
A functional system bar for my window manager in Go. It's so light on system resources that htop can barely report its system usage. Also, I haven't changed anything in the code in a year and it still works perfectly.2
-
Mom: my photos are gone. Can you find them?
Me: *searches the phone an finds nothing.*
Me: i cant find them.
Me: *Tries to copy 5GB of random Data*
Phone: Copy Error
------------------
Its a noname china phone my Father bought. I warned him about it, because they stole the Samsung design and it said that it was Version 8.1, but didnt had the features 8.1 has
------------------
Me: The Phone deleted it.
Mom: why would a Phone delete my Photos?
Me: because the manufacturer wanted to maximize the money he can get and made an device with higher specs on the paper than it has and manipulated the internal tools to hide this.
------------------
My father asked me why she is so furious. I said to him: because you got screwed so easily.6 -
It was my first interview at an local transport company. I should be the programmer of an app and manage the computers.
Me: in what language is the app?
Interviewer: we dont know.2 -
Choose yourself:
The one who is too lazy too stand up, the one reinstalled his PC literally every week, or the toxic guy that nobody wants too work with.2 -
Colleague: I cant install windows on our playcomputer. you broke it.
<Me walks to the computer, he looks away>
<silently deletes the debian entry in the nvram>
<installs windows, without an problems>
Me: So, where is the Problem?
Colleague<slightly angry>: I made it exact like you!
Me: o_O1 -
Windows is when your computer just exits it's life via fucken BSOD.
But then there's linux. Half-freezing up, making you switch to tty2 just to see via htop, the machine is essentially idle. Nice. Fuck you.7 -
You may not like but dokument everything in your project. It needs its time but it can save your job.
-
i cant stand these idiots anymore. My instructor needed 12 Minutes to understand Megabyte and Mebibyte. He just used the snipping tool to save an SVG from Wikipedia. My instructor is an Person who wrote small Programs in the past and thought that an instructor license is something useful. It hurts listening to him. he was kept busy for hours because of nothing, so we could only twiddle our thumbs. our first instructor went probably because of the Management.
At the beginning of June I will give my lecture for my final exam.
I am fucked.3 -
ABAP - a language that is frozen in the 60s
PHP - an inconsistent language
Flashplayer - do i need to say more?
Internet Explorer - ↑5 -
>Discovers a new low level profiling tool that could help us at work with stuck process debugging and gets all hyped
>Installs on test machine, tool doesn't work
>Wonders why. Oh. Needs a kernel module to work, compiled and loaded
>"Well, its my test machine... Guess that's no problem..." but... my hype died down a bit. Kernel module installation just for a new tool that aggregates all other commonly used tools? eh... Maybe it will blow me out of my shoes still
>Installs and loads the module
>Tool works. Turns out its just a htop-like tool, with shortcuts to launch specific other profiling tools like strace/ltrace/lsof/netstat/ss etc...
"Oh... That's boring. Maybe it has all those tools built in at least?"
>Tries to run ltrace - tool exits as ltrace is not installed
Lol
>Installs ltrace and launches tool again. Tries to ltrace a process and
>Nothing. Nothing happens. For seconds... Then kicks me off of SSH
WTF?
>Tries to ping machine... silence
Did... our net go down again? (Having issues due to a storm going over our area these few days)
>Pings google and... gets instant reply
More wtf
>Pings the hypervisor the machine was running on
Works like normal
Oh... Oh no. Please tell me it didn't!
>Logs into the hypervisor UI, checks machine state
Running OK
>Opens machine console aaaaand... Yep. Stacktrace as well as a lot of kernel mumbo-jumbo... It took the machine down to kernel panic.
I never went so quick from "We need this tool deployed everywhere" to "Omg I need to get rid of this crap as soon as possible" lol.
And just for those wondering, it was sysdig.1 -
Yay, Dubba didnt die.
Okay, hello'ed back, lets fucking rant.
Im fucking SICK and TIRED and ANNOYED by all freaking cloud fanboys. Yeah, sure. You get scalability. You waste less resources. Sure. But it depends on use case. There is suprising ammount of services that can be run on VPS or dedicated servers that will be a lot cheaper if you just DONT run it on cloud. And dont you dare to missinterpret me. I fully recognize that there are valid uses for cloud services. But for fuck sakes, its not anwser for ALL of your needs, and it costs insane ammount of money if you use it where you should use dedicated.
WHY we, as humanity came to this place where self-claimed "proffesionals" will anwser you "cloud" before you even ask your question.
No, fuck off, take calculator and think for around 60 seconds. And than decide if you need cloud or not.
And no, this mail server will be fucking few times more expensive on cloud, and I know it becouse I have fucking calculator and I was running it past 1.5 year and actually run sometimes htop, so stop bullshitting me.
Sorry if some cloud die-hard felt offended but it is exacly how I see and feel it.
Peace.1 -
Why the fuck do i need to propose try-catch to an contractor, so he can fix his application, because its crashing if the input is non-conform to the specs?
Oh and before you ask. The application is a application that processes and sanitizes invoices.8 -
dear perl devs,
WTF is wrong with you.
some of your version numbers look like someone uses floats for money without knowing the dangers of it.
Some Examples:
2.000006
2.0030044 -
Im started with Lego, with 12 i learned to solder, got interested in computers and ended up learning diverse languages to solve problems.
-
termux : Android terminal with apt repos like vim, nano, tar, zsh, wget, plugable & more. Also small footprint.
.. htop in gif (incase if don't know)12 -
being a dumbass and ran a blocking call then it broke and i can't kill it with ^C :/
killed it later with htop lol im so fucking dumb
also hi first post here6 -
!rant
When I need an extra 10 minutes of doing nothing, I hit up my console on full screen, "htop" and leave with the words "ouch, this is gonna take a while". -
T(x, y)=x*(1+y/100)+√-1
x = hours estimated from Boss. if the boss
y = sum of the features with the following weight:
Multiplatform = 10
Web = 5
social * = 100
blockchain = 100
HTML-email = 10
Every other bullshit bingo term = 20
everything else = 1
Terms that appear multiple times count multiple times.
If the boss didnt give his estimate triple the feature-value and use 100 as x-value3 -
dear ietf-people i want to thank you that tls1.3 is official. i know it was hard work to say just no to the doughbags and preventing that middleware and spyware manufacturers implementing static keys.
to make it short:
Thank you for your hard work -
I have this colleague that who is nice, but if you mention anything about (not complete) java, sun, vmware, windows, daus(dumbest possible user), car manufacturer your ears bleed with is rants about it.
For example:
We talked about BMW which published that the energy generated from recuperation of one of their cars is around 60%. Immediatly he rants that it its not possible and the calculated number of an forum user of the newssite who calculated that 90% of the kinetic energy is regenerated has no idea about the problems.
Sometimes its hard to endure the hate, but i can relate with him in some things.2 -
Netcup. Great hosting, the machines are usually fast set up and cheap. The boss writes in the forum to help the customers.11
-
All the procrastinating in my schooltime.
All times i was in rage and hurt people.
They haunt me till today among other things.1 -
Wanted to work from home as usual. Logged in in citrix with my credentials and totp, started rdp to connect with the bank.
i try it for the first time: failed to connect
I try it for the second time: error 0x112d (some thing about two programs that have an the same port open)
I ask my colleagues to look after the pc in the office and what was it:
FUCKING WINDOWS UPDATE FILLED THE RAM COMPLETLY.
Luckily no data was lost, since i had everything important commited and pushed.3 -
In last episode of "How SystemD screwed me over", we talked about Systemd's PrivateTMP and how it stopped me from generating SSL certificates.
In today's episode - SystemD vs CGroups!
Mister Pottering and his team apparently felt that CGroups are underused (As they can be quite difficult to set up), and so decided to integrate them into SystemD by default. As well as to provide a friendlier interface to control their values.
One can read about these interactions in the manual page "systemd.resource-control"
All is cool so far. So what happened to me today?
Imagine you did a major system release upgrade of a production server, previously tested on a standalone server. This upgrade doesn't only upgrade the distribution however, it also includes the switch from SysVInit to SystemD. Still, everything went smooth before, nothing to worry now then, right? Wrong.
The test server was never properly stress-tested. This would prove to be an issue.
When the upgrade finishes, it is 4 AM. I am happy to go to bed at last. At 6 AM, however, I am woken up again as the server's webservices are unavailable, and the machine is under 100% CPU load. Weird, I check htop and see that Apache now eats up all 32 virtual cores. So I restart it, casting it off to some weird bug or something as the load returns to normal.
2 hours later, however, the same situation occurs. This time, I scour all the logs I can, and find something weird - Many mentions that Apache couldn't create a worker thread? That's weird.
Several hours of research and tinkering later, I found out the following:
1 - By default, all processes of a system that runs SystemD are part of several CGroups. One of these CGroups is the PID CGroup, meant to stop a runaway process from exhausting all PIDs/TIDs of a system.
This limit is, by default, set to a certain amount of the total available PIDs. If a process exhausts this limit, it can no longer perform operations like fork().
So now, I know the how and why, but how should I solve this? The sanest option would be to get a rough estimate of just how many threads the Apache webserver might need. This option, though, is harder, than apparent. I cannot just take the MaxRequestsWorkers number... The instance has roughly double the amount of threads already. The cause being, as I found out, the HTTP/2 module, which spawns additional threads that do not count towards this limit. So I have no idea what limit to set.
Or I could... Disable the limit for just the webserver via the TasksAccounting switch. I thought this would work. And it did seem to... Until I ran out of TIDs again - Although systemctl status apache2.service no longer reported the number of tasks or a task limit of the process, the PID CGroup stayed set to the previous limit. Later I found out that I can only really disable the Task Accounting for all the units of a given slice and its parents.
This, though, systemctl somewhat didn't make apparent (And I skimmed the manual, that part was my fault)
So... The only remaining option I had was to... Just set the limit to infinite. And that worked, at last.
It took me several hours to debug this issue. And I once again feel like uninstalling systemd again, in favor of sysvinit.
What did I learn? RTFM, carefully, everything is important, it is not enough to read *half* the paragraph of a given configuration option...
Oh, and apache + http/2 = huge TID sink. -
it was the last time i used PHP for an school project. i and an other group decided to make an website. it was luck that no input was required. Because i already knew PHP and HTML i need to help them. the code they made was the cause i quit php. the site only worked after an redirect. it was irony that tje code looked like it was written from a junkey and the theme was drugs.7
-
Why the fuck does a windows server 2016 guest with ballooning service on proxmox take the full 10GB RAM from the host I assign to it?
I have installed all the virtio drivers and it does show in the guest summary itself the real usage of 1GB RAM, but if I check in htop or the datacenter summary, it shows the usage is 10/11GB all the time.17 -
This app (https://f-droid.org/app/...) is bugging me for months. I have the feeling that one is possible and the others are just jokes.4
-
Am I spoiled when I see how Django makes the separation of components and the database independent way to store migrations easy?4
-
My company has an default user for external people and two wifi networks, on for the company itself and on for the employees. both wifis have an shit of an firewall(more than once were wikipedia blocked). I found out that the internal wifi allowed the default user and had some outgoing ports open, i set up an vpn and now i can use what i want without being blocked.
-
Dum acts, Every hacker scene in movies screen contains htop and cmatrix, even sometimes 'sudo apt update && upgrade ' is enough .3
-
the code from a school colleague. So written that you must load the index page and are redirected to a second. if you try to load the second page you get errors. Many errors.
-
One of our departments works only on Thinclients and one of my colleagues made an loop. You can think what happened.7
-
When i was fired in a few minutes in my first meeting with the boss since i was working there.
but now im glad im out of there. The kpis they use to see how someone performs are utterly useless.6 -
Probably the one where we had an error, because the service from a thirdparty we needed to install used a fourthparty service that was behind a proxy. Due of internal reasons we needed to use our own tomcat instead of the standard tomcat. We made a meeting because we didn't found out at that point that the problem was the firewall that dropped the packages from the application. We replayed it to them (at that point it was in my musclememory) and after a month i got the idea to use tcpdump to see if the server is calling another webservice, which was denied by the developers.
-
Decided to open htop in another terminal window while running a small python script on my works server.6
-
How do you do bootstrapping of blanko machines?
Imagine you get a linux/BSD/osx machine and you want it set it up to a defined state to be prepared for further setup.
Like users
ssh config
Sudoers file
Config management client or credentials
Software like vim, htop and tmux
A simple shell script sounds a bit archaic to me and i was wondering, if there is a better way...
Makefiles also came to my mind but still... Unsatisfactual4 -
short: The admin with enough xp is ill, there is no one with xp with varnish is and after 1 restart varnish outputs only 503.
long: there original admin is ill but he gave me an project to migrate an typo3 installation to a new server. Thats ok.
Plan: I move 150 GB of data with rsync to the new server, let specialists do something and switch ips between the new and old and clear varnish with a restart.
Reality: +2 hours to migrate the data, because of false infos from the admin, 7 hours preparing the switch, 5 minutes switch, 3 hours to find out the F*****G varnish is the single point of failure. I and the t3 guys agree to see the next day what went wrong.
ALL HAPPENED TODAY!
Plan for tomorrow: speak with the boss to account the extra hours to that day so i dont get over 10 hours and debug that fucking varnish and delete some servers from another project from the backupsystem and monitoring.3 -
1. 72 hours at an heavy used street with many holes and open windows (not the os) on an hot day for those, who stop the people, who work against air pollution;
2. die nvidia;
3. a pc with an inbuilt 10 kW fusionreactor, water heater, 2 amd cpu of the latest gen, 2 of the highest tier amd graphic cards and an mainboard which follows the spec of the cpus;
That should cover everything i need.1 -
Apparently ex twitter employees have created an mastodon instance for themselfs and their family.21
-
Fuck teamcity. You locked my domainaccount 2 times already this week. Even when i used a accesskey it queried the AD.2
-
I only just realized today that htop has mouse compatibility and I'm not sure if I should be proud of myself of disappointed but there it is.
-
1. Where does it run
2. Who runs it
3. did i put every bit of email conversations about errors in my archive? -
Somebody: (whinwy) we need something to log into nonprivileged technical accounts without our rootssh proxy. We want this pammodule pam_X.so
me: this stuff is old (-2013) and i can't find any source for it. How about using SSSD with libsss_sudo? Its an modern solution which would allow this with an advantage of using the existing infrastructure.
somebody: NO I WANT THIS MODULE.
me: ok i have it packaged under this name. Could you please test it by manipulating the pam config?
Somebody: WHAT WHY DO I NEED TO MANIPULATE THE PAMCONFIG?
me: because another package on our servers already manipulates the config and i don't want to create trouble by manipulate it.
Somebody: why are we discussing this. I said clearly what we need and we need it NOW.
we have an package that changes the pam config to our needs, we are starting to roll out the config via ansible, but we still use configuration packages on many servers
For authentication as root we use cyberark for logging the ssh sessions.
The older solution allowed additionally the login into non-rootaccounts, but it is shut down in the next few weeks after over half an year of both systems active and over half an year with the information that the login into non-privileged accounts will be no more.7 -
Maybe our old buildsystem that runs using mock and an python 2 script on a RHEL 6 machine OR
The incredible complex system of a gouvernment customer that had a networkplan on DIN A2(or A1 i don't know it anymore) since A3 was too small. i was responsible because everyone else left (because of different reasons) or was too busy. -
Bullshittery continues. This time around, absolutely innocent, clamav is root cause. For once not incompetent idiot, but piece of software. IDK if that makes me happy or upset.
So our email server that I configured and took care of died. RIP. Damn, better put it back together ASAP. So Im under pressure, while still pissed at everything that I ranted before (actually my last 2 rants were throttled, and in total all of that happened past 60 minutes but devrant rate limiting) I start auditing logs. You imagine, we kindda need it NOW, and it's second time last month clamav is pulling stunts and MTA refuses (properly) to work without antivirus. So pressurized, I look at logs, what the fuck went wrong.
clamav deamonize() failed - cannot allocate memory
Hmm. Intresting, but sounds like bullshit. I know server is quite micro becouse they wanted to save on costs as much as possible, but it has well over half a gig free ram just before it crashes (like 800MB) with that message. Is it allocating almost gig in one call or what? Looked carefully at trusty htop while it was starting, and indeed, suddenly it just dies with quite a bit of ram free, almost as much as it weights already. And I remember booting it up when I was configuring it, and it had fair bit of headroom.
Google, help me friend... Okay, great, so apparently at some point clamav loads virus DB into ram (dafuq?), and than forks, which causes spike of 2x the ram usage, and than immidietely frees it up.
Great, that sounds like great design decision... At least I know, I can just slap on SWAP file, restart it and call it a day.
It worked, swap file is almost empty (used 15megs, 900 megs free ram, whatever).
That leaves me wandering, who figured out to load DB to ram? That means pretty much that clamav will eat a little bit more ram each vir db update, and that milisecond "double ram" spike will confuse innocent people who just wanted to run clamav and it worked last *long period of time* and now crashes without warning without any changes to configuration.
Maybe there is logical explanation, I want to know it.8 -
Books ( stieg larsson, randall munroe, ...), and very old first aid kit,, 2 handmade ludo games, several keyboards, two ood screens, two notebooks, several harddrives and more stuff that should go to recycling.
-
He was not reslly my dev-teacher, he was a math/physics teacher. But he had an after school an it workshop. That was the first place where i really worked with development. I was just a bit with html, php and LEGO mindstorms but it helped me with my knowledge. He is one of the best teachers in my school. Without him I would probably making windows and doors.
-
The best ones are in my opinion the ones that are easy to use and don't need a manual to exit(i look at ypu emacs). This is a list of tools that i use only if nothing else is available:
- nodejs directly
- emacs
- vi/vim
- rpm1 -
most cutting edge?
that would be that invoice processing system that is in production despite its pre-pre-pre-alpha status.2 -
Any recommendations for a terminal app for iPad? I only need it to ssh into Linux servers and run stuff/vim/htop/etc., don't really care about fancy features or local device access. Good performance and security would be pluses. I don't mind paying if it's worth it. Coming from Termux on Android the ones I've tried so far (Termius, Shelly, LibTerm) have felt pretty crap so far, though I guess Shelly is the best one out of them.1
-
fuck peoplecert. youre software is crap. i dont have anything against yoire requirement that you need to see that someone doesnt cheat. but WHY is my cpu burning and so buggy. i needed 1 hour until the client started the test and somebody was able to see me and the desktop. 10 restarts of your client and one reboot IS TO MUCH.
By the way: i passed -
Probably one of these:
- electrician (middle or low voltage)
- unfit for employment in germany, which is the worst. -
I started with html and php with xampp, with the selfhtml in a packaged version.
After this came a language called Lite-C (basically a gaming engine with some stuff abstracted).
After that came again a phase with php/html with some of these small free hosters.
After that my IT specialist training started and i switched to python and now im into golang.2 -
I wanted to resetup my gitea on a newnserver and now? I can't connect with the postgres db and i have literally no idea why. it fucking worked when it ran on my old debian and now it won't even connect.
😭 -
I had this guy. He had an annoying voice and the worst trait of him was he was an Solaris fan. on nearly anything he would ramble that solaris is supirior to any other os. Luckily he was gone after a few months, unluckily i had to take over the stuff he did.
-
Having the people who hated me die by an aneurysma because they were too upset because of their envy