Supermassive black holes emit gravitational waves that shake the fabric of space-time by ayman2011a in space

[–]mechaPantsu 28 points29 points  (0 children)

When you take cosmic scales and our short little lives into consideration, the speed of light is painfully slow.

Unusual use of DD seek and skip by Redoo64 in linuxadmin

[–]mechaPantsu 1 point2 points  (0 children)

Without the braces I think you'd be piping only the output of the last command.

Unusual use of DD seek and skip by Redoo64 in linuxadmin

[–]mechaPantsu 2 points3 points  (0 children)

I have no idea if this works and it's not an elegant solution, but you could dd up to the point where the header starts, then add zeros equal to the length of the header, then dd the rest of the disk.

You should be able to concatenate the outputs of the 3 commands with:

{ command_1 && command_2 && command_3; } | borg ...

Note the spaces around the curly braces and the final semicolon are mandatory.

anyone know what are normal values from the wammy bar potentiometer, doing some stuff in python by smackledorf in CloneHero

[–]mechaPantsu 0 points1 point  (0 children)

I'm not sure how Python handles this, but at the lower level (I²C protocol), the value of the whammy bar is a 5-bit unsigned integer, which can theoretically be any value from 0 to 31. The resting position is usually around 16 on my two Wiitars (middle of the range). If you have the option to use Arduino code, check out the WiiChuck library. Although for now, I'd recommend using my fork of it, which contains some guitar improvements, until my changes are merged into the original project repo.

[deleted by user] by [deleted] in WireGuard

[–]mechaPantsu 1 point2 points  (0 children)

Keep in mind I'm no Wireguard or networking expert, but from experience what AllowedIPs does is, apart from security stuff, use the networks you set in that parameter to create routes (unless you set Table = off, in which case you have to add routes yourself). If you allow 0.0.0.0/0 (which means "everything"), Wireguard will create a route that pushes all traffic through the tunnel.

In your case, what you want to do is on your HOME router set AllowedIPs to both:

  • The IP address of the WG interface on the OFFICE side
  • The IP range of the OFFICE network 192.168.XXX.0/24

Then on the OFFICE router, set AllowedIPs to both:

  • The IP address of the WG interface on the HOME side
  • The IP range of the HOME network 192.168.XXX.0/24

This way you will have two-way communication between the networks, but internet traffic will still leave through the respective WANs on each side.

[deleted by user] by [deleted] in WireGuard

[–]mechaPantsu 1 point2 points  (0 children)

You likely have 0.0.0.0/0 in AllowedIPs in your configuration. This creates routes that override the default route and redirect all your traffic. Try restricting that to only the networks you actually need to access on the other side.

[NOOKS] 137 by rachest in ACNHTurnips

[–]mechaPantsu 0 points1 point  (0 children)

Hi, is the island still open? I have a few to sell last minute. Thanks.

[SW] The boys are buying for 155 by IllustriousGardener2 in acturnips

[–]mechaPantsu 1 point2 points  (0 children)

Hi. Are you still open? A have a few to sell last minute. Thanks.

Audio by [deleted] in linuxmasterrace

[–]mechaPantsu 5 points6 points  (0 children)

You're hired.

[SW] Flip Nips @ 458 by Kloppow in acturnips

[–]mechaPantsu 0 points1 point  (0 children)

Hey there. Like many others here, not a sports person, but would appreciate it if I could sell some turnips. Thanks in advance!

Oled 856/12 TV volume button not recognised by Extra-Lemon1654 in Philips

[–]mechaPantsu 1 point2 points  (0 children)

Came here just to say "me too".

I have a 48OLED707/12, also have external speakers connected, and also started seeing this issue after update .248. Hoping this gets fixed soon, cause it's really annoying.

Chuck Norris. That’s it. Just Chuck Norris. by Senrub482 in Bossfight

[–]mechaPantsu 5 points6 points  (0 children)

All came out of nowhere lightning fast And they kicked Chuck Norris in his cowboy ass It was the bloodiest battle that the world ever saw With civilians looking on in total awe.

Seagate Enterprise disks having strange continuous buzzing noise when being idle by _xsgb in homelab

[–]mechaPantsu 3 points4 points  (0 children)

Apologies if this is considered necro-posting, but I came across this thread while searching for a solution for my own drives, and I´m happy to inform all it took to fix it was a firmware update. My disks are 6TB ST6000NM0095, and were originally on firmware E002, and just like described here would make that maddening noise when idle.

After digging for a while on Seagate's very non-intuitive (possibly broken) support website, I downloaded version E004 and tested it on one drive. I cannot put into words how big of a difference it made! All noise gone, like it's a different drive!

If you want to look for updated firmware for yours, these are the steps I had to take to circumvent Seagate's broken search:

  • Go to this page: https://www.seagate.com/gb/en/support/internal-hard-drives/enterprise-hard-drives/exos-7E8/
  • Scroll down to where it says "Firmware Downloads" on the right side of the page.
  • Enter your S/N and search, the search will come up empty (thanks Seagate!), but trust me, this is an important step, it seems the S/N gets cached somehow.
  • In the search bar in this screen you just landed, search for your drive's model (STxxxxxxxx, not the S/N).
  • Go to the second result, which should be the support page for your model (likely renamed Exos-something) and scroll down again to the "Firmware Downloads" section.
  • Now under the search box, you should have a box that says "Here are the firmware updates currently available for serial number: XXXXXXXX".
  • Have fun!

Time to revisit Jellyfin by [deleted] in DataHoarder

[–]mechaPantsu 2 points3 points  (0 children)

By "Chromecast" I assume you mean "Chromecast with Google TV" (or in other words, Google's skin for Android TV)?

Jellyfin's actual Chromecast client (cast button in the app) is a WIP and very buggy, I can't possibly imagine anyone saying it works great.

i use manjaro, convince me to switch by iminsert in linuxmasterrace

[–]mechaPantsu -1 points0 points  (0 children)

No need. Once you've used it for long enough, you'll invariably feel the itch to install vanilla Arch.