- 1 Post
- 82 Comments
themoonisacheese@sh.itjust.worksto Programmer Humor@programming.dev•This will be *really* funny, until you remember 99% of current super hyped AI stuff is running on Python7·5 months agoIt’s certainly not very fast
My latest project runs on a VM I use vscode’s ssh editing feature on. I edit the only copy of the file in existence (I have made no backup and there is no version control) and then I restart the systems service.
So what if I mess it up? Big deal. The discord bot goes down for a few minutes and I fix it.
Same goes for the machine configs. Ideally the machines are stable, the critical ones get backups, and if they aren’t stable then I suppose the best way to fix it would be in prod ( my VMs run debian, they’re stable).
I feel i’m kinda vaccinated against the junior feeling because week 2 of my first job out of college, I crashed both sides of a cluster, leaving the client’s factory responsible for half of their European production dead for 3 days.
I panicked for a few days then they asked me to do an incident report and I thought I was cooked and then literally nothing happened to me. Nowadays if shit hits the fan at 16h59 then I’m gone at 17h00 anyway and so should everybody that’s bothered by the smell.
Si tu veux te barrer, dm ton CV. Je te présenterais bien l’entreprise mais au point où t’en es je sais que tu t’en fous donc c’est toi qui voit
themoonisacheese@sh.itjust.worksto Programmer Humor@programming.dev•The government doesn't use SQL4·8 months agohttps://youtu.be/Erp8IAUouus explains it pretty well
themoonisacheese@sh.itjust.worksto Selfhosted@lemmy.world•PSA: LetsEncrypt ending expiration notification emailsEnglish271·8 months agoPretty much all monitoring solutions on the market track cert expiration nowadays. I get an alert when any of my certs have <5 days left
themoonisacheese@sh.itjust.worksto Self Hosted - Self-hosting your services.@lemmy.ml•[Question] Linode network spike4·10 months agoIt seems your assessment is correct. You’d be surprised at the speeds you can get on poor wifi when you don’t care about latency. The average speed marching up with your download is a dead giveaway too. The fact that maximum over 5 minutes exceeds it is a bit weird, but it could be explained by some networking equipment in the middle (probably at your ISP if I was to guess) terminating MTUs for whatever reason. A common one is misconfiguring various solutions for capping internet speeds to subscribers, where your local MTU will be set correctly but the outgoing ones will be set to the maximum speed of the link.
themoonisacheese@sh.itjust.worksto Selfhosted@lemmy.world•Mirror seeing half the write IOPS on one disk than the other, is this normal?English1·1 year agoSorry I 'ever saw this, that sucks.
Turns out mine was broken too. I put the CPU in my gaming rig and it worked fine, so I bought a new motherboard and the problem is gone.
themoonisacheese@sh.itjust.worksto Selfhosted@lemmy.world•Simpler alternative to prometheus-alertmanager and/or graphana?English12·1 year agoSyslog is considerable overkill for home lab monitoring.
themoonisacheese@sh.itjust.worksto Selfhosted@lemmy.world•Simpler alternative to prometheus-alertmanager and/or graphana?English2·1 year agoSNMP does what you want. You just need a good monitoring solution that’s not as involved as Prometheus+grafana (I feel you, I’ve been there)
I really enjoy PRTG, but it’s way too expensive for a home lab, still throwing it out there if you feel like you have money to burn.
I hear good word about libreNMS, it’s next on my list when my PRTG licence runs out.
Be warned that monitoring is ultimately a fickle thing; what you don’t write in yaml config for grafana, you get to dig through obscure SNMP libs to find out (though I find that’s easier for me, ymmv) for other tools.
I recommend against: nagios (I like it but if you hate Prometheus it’s definitely not for you), checkmk (throw checkmk into the sun please it just fucking sucks), cacti (NO!), solar winds (why?)
if you feel like you want to become a datacenter admin: zabbix scales very very well, both in performance and ease of admin against hundreds of servers, but it’s overkill for a home lab, and it can get you lost in configs for hours.
themoonisacheese@sh.itjust.worksto Selfhosted@lemmy.world•Mirror seeing half the write IOPS on one disk than the other, is this normal?English2·1 year agoIt’s a gigabyte ab350m gaming-3 rev 1.0. it boots grub fine but then crashes right after displaying “loading Linux 6.x”, CPU led flashes then dram led stays on, I have to turn it off with the PSU switch.
Either it’s a rev 1.0 bug which is a thing on those motherboards, or the CPU (or igpu) is defective.
https://superuser.com/questions/1854228/proxmox-doesnt-boot-after-cpu-change
I’m currently waiting on support from both the seller and gigabyte but I don’t expect anything out of it, though I’m still yet to test it in a different motherboard.
themoonisacheese@sh.itjust.worksto Selfhosted@lemmy.world•Mirror seeing half the write IOPS on one disk than the other, is this normal?English2·1 year agoOh wow congrats, I’m currently in the struggle of stretching an ab350m to accept a 4600G and failing.
You’re right, you should hit PCIe 3 speeds and it’s weird, but the fact that the drives swap speeds depending on how they’re plugged in points to either drivers or the chipset.
themoonisacheese@sh.itjust.worksto Selfhosted@lemmy.world•Mirror seeing half the write IOPS on one disk than the other, is this normal?English3·1 year agoI’m not fully familiar with the overheads associated with all things going on on a chipset, but it’s not unreasonable to think that this workload, plus whatever the chipset has to do (hardware management tasks mostly), as well as the CPU’s other tasks on similar interfaces that might saturate the IO die/controller, would influence this.
B350 isn’t a very fast chipset to begin with, and I’m willing to bet the CPU in such a motherboard isn’t exactly current-gen either. Are you sure you’re even running at PCIe 3.0 speeds too? There are 2.0 only CPUs available for AM4.
themoonisacheese@sh.itjust.worksto Selfhosted@lemmy.world•Mirror seeing half the write IOPS on one disk than the other, is this normal?English11·1 year agoIt might be that the data to both disks saturates a common link before the second disk reaches full iops capability, and thus the driver then writes at full speed on one disk and at half speed on the other, for twice as long.
themoonisacheese@sh.itjust.worksto Programmer Humor@lemmy.ml•question, When were programmers supposed to be obsolete?141·1 year agoDevOps was a lie pushed on devs to make them become sysadmins, unfortunately.
themoonisacheese@sh.itjust.worksto Programmer Humor@programming.dev•Flight instinct intensifies194·1 year agoSo obviously this sucks, however.
Look into timewarrior+taskwarrior. They’re the only tools I’ve ever seen for these types of tasks that don’t fucking suck ass.
themoonisacheese@sh.itjust.worksto Selfhosted@lemmy.world•Server Monitoring software recommendationsEnglish32·1 year agoCan’t really go wrong with the old school nagios+thruk. The learning curve is a tad steep but it teaches you a lot of things about your systems.
Okay so basically this is saving bytes on a technicality but also good programming language design (for this specific purpose).
The first aspect is that since you’re scored on bytes, it’s not really to your advantage to use a language that uses ascii (or utf-8) for it’s tokens, because a large part of it is unprintables like DEL or BELL. So people have designed specially crafted golfing programming languages that use a full 256 possible characters in order to pack as many features as possible in as few bytes as possible.
The good design part of it is that if you really think about it hard, there’s really not that many things you expect a programming language to do. It turns out that 256 total different operands is about in the sweet spot, so each character that’s available in the 1-byte code page is mapped to one command, and the languages are also designed to make as many things as possible implicit, both at the cost of readability. Remember, all that matters here is getting the lowest score, not code maintainability or anything else.
This leads to languages like japt (which is a terse form of JavaScript, I’m pretty sure) or pyth (same for python) or Vyxal (my personal favorite, used to be python based but is now bespoke) that look like this but absolutely own at getting a task out in as few bytes as possible.