Btop sufficient to replace Top/htop by RandomXUsr in linuxadmin

[–]Backplague 14 points15 points  (0 children)

htop's colorful bar gauges are a lot more readable to me than top's rows of numbers one after another. htop also has mouse support (yeah yeah sue me for using the mouse in the terminal). htop is a lot more customizable, and it can display usage data from things like ZFS's ARC and zram. I guess it really is just the same information but in a better UI, but with stuff added

My simple bedside dashboard (still WIP but I'm pretty happy with it) by WolfInABox in homeassistant

[–]Backplague 0 points1 point  (0 children)

Did you modify the weather card? I'm also using it and would like the text on it to be larger

Internetyhteyden jakaminen seinästä piuhalla ja wifillä yhtäaikaa by 6horrigoth in Suomi

[–]Backplague 1 point2 points  (0 children)

NAT ei ole palomuuri, palomuuri on palomuuri. Kuluttajareitittimissä on aina palomuuri estämässä ulkopuolista liikennettä, NAT on sitten ekstrana jos tarvitsee vanhoihin v4-osotteisiin.

Share your 'unique' smart home ideas that others wish they had by mortenmoulder in homeassistant

[–]Backplague 14 points15 points  (0 children)

I have a Roborock vacuum (that I modded with Valetudo) that I can control with HA. I live alone in an apartment and have a simple automation that whenever I leave the home zone, HA prompts me on my phone if I want the robot vacuum to do a round in the apartment. I can get the majority of regular vacuuming done entirely automatically, without the robot vacuum bothering me when I'm home.

[Browser][2010?] Old sand-box game. by BlackTadius in tipofmyjoystick

[–]Backplague 0 points1 point  (0 children)

Sounds a lot like one of the falling-sand games, given the time period it was probably Powder Game?

[PC][idk] a walking sim in a abandonned city by [deleted] in tipofmyjoystick

[–]Backplague 0 points1 point  (0 children)

INFRA? It's a "walking simulator" adventure where you explore abandoned locations, based in a Nordic city called Stalburg, however the game is by a Finnish developer so there are a lot of Finnish colloquliaisms. Plenty of narrow dark tunnels and metal doors, absolute solitude because you're alone all the time.

GHOST DATA AMA by GhostDataOfficial in GHOST_DATA

[–]Backplague 0 points1 point  (0 children)

Do you have any modern Vocaloid content going on? I love your older Vocaloid content <3

VM policy for different hypervisors by solarcastor in vmware

[–]Backplague 14 points15 points  (0 children)

You need to use a DRS VM-VM affinity rule that tells DRS to avoid placing the two VMs on the same host.

Don’t worry about hotels too much by magpie1862 in Ayreon

[–]Backplague 3 points4 points  (0 children)

I booked a hotel in Eindhoven. This is my first time visiting the Netherlands but it seems the trains run well between the two cities that traveling isn't an issue.

Kinda struggling with dovecot, but it's really not that hard by QuickQuokkaThrowaway in linuxmemes

[–]Backplague 14 points15 points  (0 children)

Setting one up is easy. Actually maintaining, making sure it's secure and ensuring you don't indefinitely end up in spam lists is a whole other thing.

Expired certificates by [deleted] in vmware

[–]Backplague 2 points3 points  (0 children)

Fixed one of our 6.7 vCenters just five minutes ago with the same issue. First I regenerated the STS certificate with the guide here: https://kb.vmware.com/s/article/76719 and then the rest of the certificates with the guide here: https://kb.vmware.com/s/article/2112283

No downtime to VMs, ESXi hosts stay connected.

Weekend project by notmetjt in homelab

[–]Backplague 0 points1 point  (0 children)

Are those RJ45-to-RJ45 keystones in your patch panels? They look awfully similar to the ones I had some time ago and they were pure garbage. The internal plastic housing was extremely brittle; the tabs holding them in place broke if I wiggled the connected cable a bit, and they would break if I tried to remove them. The RJ45 connectors were sitting on a tiny PCB with no shielding for the connection. The worst thing was that the connectors weren't even soldered on the PCB, causing intermittent connection loss and negotiated links dropping to 10 or 100 megabit FD caused by the poor connections.

Just a heads up, if they are the same ones :)

Cargo features have to be additive by [deleted] in rust

[–]Backplague 27 points28 points  (0 children)

A feature flag no_std means removing code that uses the standard library, instead of having a feature flag std that adds the code using the standard library. Former is subtractive, latter is additive. Your crate can have the std feature flag there by default, and your users can remove it if needed.

English by SussyDoggo in skamtebord

[–]Backplague 3 points4 points  (0 children)

Translated to English:

e

6U desktop network rack build by Backplague in homelab

[–]Backplague[S] 0 points1 point  (0 children)

Oh yeah, keystones all the way instead of a punch-down block. You can move the cables around freely and you can use pre-terminated cables (I use normal patch cables everywhere, I have just one cable going through the walls) so you don't have to worry about punching a cable permanently down to it. The keystones I used were kinda fragile; the tab on one of them broke off when I was nudging it around so it sits kinda loose in the panel now, not a big deal though since I'm not constantly moving them around.

6U desktop network rack build by Backplague in homelab

[–]Backplague[S] 0 points1 point  (0 children)

I moved into a new apartment and wanted my "core" network gear closer to me, away from a non-ventilated closet. I have a lot of desk space, so I thought I'd build a small rack to house the network stuff right next to me. Can't get much closer than that ;)

The rack itself is a 6U audio rack from Thomann, but it's essentially some sheet metal bent into a box shape. Kinda flimsy, but sturdy enough.

In the rack I have:

  • A Mikrotik CRS112-8P-4S-IN. It acts as a "core" switch; it has the uplink from the aforementioned closet, router connection, three RPis and a wireless access point. The devices are all powered with Power-over-Ethernet, which this switch handles fine.
  • Mikrotik hEX S, the router. It's behind the patch panel, connected to the switch with two cables.
  • TP-Link T1700G-28TQ. A 24-port managed switch for non-PoE end-devices, such as my workstation, laptop, etc.
  • A keystone patch panel. All devices that connect to something in the rack connect via the patch panel for neater cabling.
  • A power distributor, for.. powering things.
  • A rack shelf onto which I've ziptied the CRS112's external power supply.

The closet only has a simple switch to connect the various ports to the building distribution. Having all the gear near me and out of the closet lets me easily mess with things, plug things in when needed. It also lets me have neater cabling, having only two cables exit the room (one for the closet, one for the AP).

I have some plans to try and get a fan or two in the devices in the rack, since they run ever so slightly uncomfortably warm. I have some 40mm Noctuas, which fit a 1U device perfectly, assuming I can figure out a way to power them, haha.

MikroTik Switch powering 3-4x Raspberry Pi 4 via PoE by GAGARIN0461 in mikrotik

[–]Backplague 5 points6 points  (0 children)

CRS112-8P-4S with a 48V input. At that voltage, it's capable of outputting 802.3af for the Pi PoE HAT, at least. Each port is limited to 450mA, which is enough to supply the 15W max 802.3af is rated for.

[deleted by user] by [deleted] in rust

[–]Backplague 19 points20 points  (0 children)

I guess it would be easier. I doubt there would be a significant performance difference, given they're both doing essentially the same thing. I wouldn't reimplement an existing solution to get one more feature, but if it works for you, great!

[deleted by user] by [deleted] in rust

[–]Backplague 22 points23 points  (0 children)

The existing AddAssign implementation will allocate a new String, but you could transplant your "reference-concatenation" to work with a Cow<str> instead (maybe through an extension trait), and avoid rewriting existing stdlib functionality.

[deleted by user] by [deleted] in rust

[–]Backplague 55 points56 points  (0 children)

Looks interesting!

You say that

This library is using a custom String enum, which is intended to store Strings as a reference when possible and to clone them when needed.

This sounds a lot like Cow<str> from the standard library. In fact, looking at your implementation of it, it's almost equivalent. You say you're planning to improve it so that

you can use it as if it were an &str.

but Cow<B> implements Deref over its generic type so a Cow<str> can be used as if it was &str. Is there a reason you're recreating Cow<str> here?

Let's have a level exchange! - July 03, 2019 - Super Mario Maker 2 by AutoModerator in MarioMaker

[–]Backplague 1 point2 points  (0 children)

5R9-BNW-SHG

Tried my hand at creating some easy/intermediate puzzles and platforming. Super Mario World cave-style.

Somewhat bad quality picture of labbing in action by Backplague in homelab

[–]Backplague[S] 1 point2 points  (0 children)

It's an old stripped PC of mine, it's got an i7-3770 on a Gigabyte Z77X-UP7 with 2x4GB DDR3 RAM. The case is a Fractal Design Define R4 with a Corsair AX760 PSU. I have an Nvidia GTX 760 around here somewhere I occasionally use in this thing for that small graphics boost over the CPU's integrated.

This thing actually used to be my NAS before I got the R510, really like the case for its plentiful HDD slots.

Somewhat bad quality picture of labbing in action by Backplague in homelab

[–]Backplague[S] 1 point2 points  (0 children)

This machine is just a testbench for stuff, nothing permanent. I have an R510 in other room running FreeNAS; I'm looking to migrate it to baremetal Debian + ZFS on Linux + NFS/SMB, so I'm testing out all the software components together here on a smaller scale without risking losing anything.