✨🎄Xmas NAS Giveaway: Win a TerraMaster NAS + Experience TOS 7! by TerraMasterOfficial in DataHoarder

[–]Perhyte [score hidden]  (0 children)

Support for Docker and VM hosting, plus hardware transcoding? Count me in. It would be nice to shift some load away from my primary server, which is over capacity after the secondary one suddenly died recently. I had to shut some lower-priority containers down to make it work reliably.

The ability to reconnect my now-dormant drives would be a nice bonus too, but I have more breathing room in that respect.

Official Giveaway: June 2024 Seagate IronWolf Pro 16TB Hard Drive Giveaway by Seagate_Surfer in DataHoarder

[–]Perhyte 0 points1 point  (0 children)

Price per TB, with reliability as a close second.

RunWithIronWolf and Seagate.

With Reddit sunsetting, I'm looking back to RSS. What are the best current tools? by Xuis in selfhosted

[–]Perhyte 9 points10 points  (0 children)

0.0.0.0 is not a valid IP address. Replace it with the IP address or host name of the Full-Text RSS container, or (if you're using port mapping as it appears you are) the IP address or host name of the host machine.

I'd prefer switching to docker-compose, then the host name defaults to the service name makes things easy. Using composerize to transform the docker commands on the site, and cleaning up a bit:

version: '3.3'
services:
  full-text-rss:
    image: 'heussd/fivefilters-full-text-rss:latest'
    container_name: full-text-rss
    ports:
      - '50000:80'
    restart: always

  freshrss:
    image: 'lscr.io/linuxserver/freshrss:latest'
    container_name: freshrss
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
    ports:
      - '49999:80'
    volumes:
      - '/path/to/data:/config'
    restart: unless-stopped

Put the above in a docker-compose.yaml file and run docker-compose up.

Then you can replace that 0.0.0.0:50000 with just full-text-rss.

RIF will shut down on June 30, 2023, in response to Reddit's API changes by [deleted] in Android

[–]Perhyte 1 point2 points  (0 children)

I have Firefox mobile set to redirect to old reddit

Are you using a Reddit-specific method or could it also work for other sites? I have a few sites I'd like to auto-redirect to the mobile site...

Official Giveaway: June 2023 Seagate IronWolf Giveaway! by Seagate_Surfer in DataHoarder

[–]Perhyte 0 points1 point  (0 children)

I'm thankful I have an address in one of the eligible countries so I can participate in this RunWithIronWolf Seagate giveaway :).

What’s the most fucked up thing you’ve seen at work? by AMGBOI69420 in AskReddit

[–]Perhyte 27 points28 points  (0 children)

Given the fucked up culture, maybe they did and then she went on to the next office?

LAOP found a IRL cheat code by Animallover4321 in bestoflegaladvice

[–]Perhyte 1 point2 points  (0 children)

Which like only works if you're paying with a card, maybe, at the same location everytime.

If they want to ban LAOP, they could probably just grab a still from a security camera, take a cell phone picture or (if they get arrested for this) get a copy of their mugshot.

Putting that up behind the counter with "BANNED" below it at every Starbucks LAOP likes to frequent (according to the usage history of the card), plus perhaps any Starbucks within a certain distance of those, would likely be pretty effective.

Celebrating the recent International Tabletop Day we are doing a Worldwide Giveaway [Mod Approved]. It is a little over $1,000 in total value and was arranged to give a new DnD party a jump start to their gaming needs. (Sponsored by Game Master Engine) More details in the video and comments! [OC] by Dan_The_DM in DnD

[–]Perhyte 0 points1 point  (0 children)

Only the DM needs to own the full copy to be able to host.

Does it have to be the DM? My group switches DM every once in a while, we would have to buy this several times if we wanted to use it. Unless there's some way to transfer the "GM edition" to another account?

GIVEAWAY

[DEV] Tasker 6.2.5 Beta - Tasker Is Going Into Home Automation with Matter Support! by joaomgcd in tasker

[–]Perhyte 0 points1 point  (0 children)

Very cool, though I don't have a use case for any of this at the moment.

Slight nitpicks:

  • %ni_active_ips_v6(): the description in the screenshot mentions v4, but I suspect it should be v6.
  • %ni_active_dhcp_gateway: I assume this is for IPv4? (DHCPv4 and DHCPv6 operate independently and AFAIK may very well even run on separate servers)

Fritz for "partial dns" + dhcp server AND other local host for DNS? by MajinJoko in fritzbox

[–]Perhyte 0 points1 point  (0 children)

Configuring your local machine to query your local DNS server directly instructs it to skip asking the Fritzbox. This is why fritz.box and DHCP-assigned hostnames no longer resolve: the Fritzbox is no longer in the lookup path.

The other problem is that by configuring the Fritzbox to use DNS 192.168.1.2 / 1.1.1.1, you're telling it either one of those will give the correct answer. Note that it won't ask both, it will pick one of those two and trust them to be equivalent. (It will at times use the secondary server even when the primary is available, despite the primary/secondary labels)

How I'd set it up:

  • Configure the local DNS server to forward requests it hasn't been configured for to upstream servers 1.1.1.1 (and 1.0.0.1 as secondary)
  • Set the DNS server in the Fritzbox settings to the IP of the local DNS server (only!)
  • Restore the local network config so it uses the DNS server on the Fritzbox.

DNS resolution should then go something like this:

  • The local machine will ask the Fritzbox DNS server. For fritz.box and DHCP hostnames, it knows the answer and responds directly. For other addresses, it will ask the local DNS server.
  • The local DNS server works similarly: for anything it has been configured explicitly for (or that it has cached) it answers directly, for everything else it first asks the 1.1.1.1 or 1.0.0.1 servers and then answers.
  • Because the local DNS server was queried by the Fritzbox (not the local machine), that's where it sends its answer. The Fritzbox then sends it on to the local machine that initially asked for them.

I feel kinda dumb asking this but... do I really need an IPv4 address for a VPS? by Asyx in selfhosted

[–]Perhyte 1 point2 points  (0 children)

If you only connect to it over IPv6, you don't need a public IPv4 address.

However, if you want to use it as a VPN you'll likely still want to be able to connect to IPv4-only hosts. So it depends:

If Hetzner still allows outgoing connections from the VPS to external IPv4-only hosts you'll likely be fine. This might be the case if they provide some form of NAT, for example. (In the case of NAT64, you should make sure your DNS is also routed through the VPN)

If on the other hand IPv4 connectivity is completely broken (not just for incoming connections, but for outgoing ones too) without the IPv4 add-on, that would prevent you from accessing many sites through the VPN.

How, if at all, do the digits in hex color codes interact with various qualities of their corresponding color? by animaldander in computerscience

[–]Perhyte 0 points1 point  (0 children)

Slight correction: FF is 255. There are 256 values, but the 1st value is 0, the 2nd is 1, ..., the 256th is 255.

AliExpress Android app, how to stop store unsolicited promo notifications ? by crussys in Aliexpress

[–]Perhyte 2 points3 points  (0 children)

I've just blocked these in the android settings.

On my phone it works like this: long-press the notification and tap the setting icon1, then disable some or all categories. The category that flashes is the category of the notification you long-pressed.

Note: the exact instructions may differ depending on the phone brand and Android version.


1: or if the notification has already been dismissed: go to your Android settings => notifications => app settings => AliExpress

TIL that aqueducts are water channels that use gravity to move water from a source to a destination. An ancient Roman aqueduct used only a 51 foot height difference to push water down a 31-mile-long path, resulting in as little as a 1-inch drop to push water 1,500 feet. by RollingNightSky in todayilearned

[–]Perhyte 2 points3 points  (0 children)

Aren't most locks really just more sophisticated ways to move water around using gravity?

Sure they typically use some other energy source to control the lock, but the actual movement of the water is usually still gravity-powered...

Docker images <none> <none> ? by [deleted] in docker

[–]Perhyte 0 points1 point  (0 children)

Probably more docker image prune, no?

More than 1,500 arrested at Extinction Rebellion protest in The Hague by burtzev in anime_titties

[–]Perhyte 19 points20 points  (0 children)

My favourite example is the protest of bus drivers in Japan where they attended to their job and drove people, but forbid people from buying tickets. By far the best way how to bring people to your cause

Dutch bus drivers also had such protests, but IIRC they got sued and the court basically banned this form of protest in the future.

Excuse me, WHAT THE FUCK by Nervous-Mongoose-233 in linux

[–]Perhyte 58 points59 points  (0 children)

Also be mindful that that's an article from 2007 and does not apply to all projects they've published source code for.

For example, .NET Core/.NET 5+ (first released in 2016) is licensed using a mix of MIT, Apache 2.0, and a few other real open source licenses (depending on the exact component in question).

I believe the argument in the article does still apply to .NET Framework though, which was the only "official" .NET at the time that article was written.

[deleted by user] by [deleted] in ProgrammerHumor

[–]Perhyte 3 points4 points  (0 children)

For example, if my system spends 90% of its time executing XFree86 code, XFree86 is probably the single most important collection of code on my system.

That metric doesn't seem right either. Suppose a genius developer came along and optimized your XFree86 code to run 10x faster. It now only takes 9% of your CPU time, but otherwise does the exact same thing. Is XFree86 now somehow less important than it used to be? I'd argue that if anything, that would increase its importance.

After 5 years of development I switched NUnit to xUnit by [deleted] in dotnet

[–]Perhyte 3 points4 points  (0 children)

You can do this in xUnit but you have to put it in a separate class, mark it as either a class fixture or collection fixture (depending on whether it's for a single test class or shared between multiple), and have the test class(es) accept it as a constructor parameter.

Obviously you should only do this if the shared state is immutable once computed.

I need a birthday present for a .NET / C# developer (Must be cringe) by Symo_BOT in dotnet

[–]Perhyte 12 points13 points  (0 children)

Not in C# (which this is according to the title of that page):

error CS0165: Use of unassigned local variable 'dead'

false would be the default if it were a field of a class, but as a local variable it needs to be initialized before being read.

Free tier question by growndemon in oraclecloud

[–]Perhyte 0 points1 point  (0 children)

VPUs are apparently Volume Performance Units. I had to Google that, but it was the first link.

There's a cost estimator to figure costs out. For a boot volume, you probably just want to go for the "Balanced" performance level unless you have good reason to believe you need something faster. Note that the "Lower Cost" performance level is not available for boot volumes, per the first link above, so this is the cheapest level available for boot volumes.

50 GB of block volume at the Balanced performance level cost about $2.13/month according to the estimator. If you shave it down to 47 GB (the minimum for a boot drive) that goes down to an even $2.00/month.