I initially only installed “Comodo Firewall” but for some reason they also installed a “Comodo Dragon Browser”, which I did not consent to. I always choose the “advanced” installation to uncheck bloatware, but in this case there was none and when you try to uninstall the browser, they force you to participate in...
I’d like to self-host my own Lemmy instance. My environment is comprised of a Fedora VM on a separate VLAN running in Proxmox. That VM runs docker, and exposes all my services to Cloudflare using a treafik reverse proxy....
And that’s it. tcp80, tcp443 and udp443 should be reachable from anywhere, as Caddy out of the box uses ACME to retrieve TLS certificates for your domain.
Give it a try. Honestly Traefik is shit for a simple load balancer. It’s more suited for large enterprises and kubernetes services, but it also has numerous issues, such as basic auth performance issues, lack of headers customization as well as in overall somewhat difficult configuration. Caddy makes it straightforward & simple, which is perfect for simple users who love to self-host.
I keep running my head into a wall working on a project and I am hoping you guys can help me. I have created a database that contains the addresses of contacts. What I need to accomplish is generating paper reports of these addresses. So, for example, I may have 25 addresses on one report related by some other data point. I...
The file content.xml is the actual text of the document, the rest is just the dressing (formatting). What you need to do is make sure the text you want to replace (ReplaceThis in the example) is unique apart from the spots where you want the text to be replaced. Check the content.xml to be sure, but be warned, the content.xml is a 2 line file with line 1 being the xml header. (it’s a terrible layout of the xml) Use an file editor you know well to find the words you want to replace. Also, be warned, correcting small typos in the odt results in garbage in the content.xml. You need to replace the whole word as 1 action. (Editing history has it’s uses, but is an issue here)
Instead of converting it to file you can print it as well. (DDG result)
Seems extremely solid, ever more polished, and by far my favourite Linux desktop environment. Not so convinced by the additional xdg-desktop-portal integration - I’ve no flatpaks installed, so the only side-effect I’ve seen is the buggy behaviour where Firefox and Steam take forever to open until you disable as much as possible. That’s not on the Mint developers, though.
At Linux, thousands of people spend their time writing code to enable new features, fixing bugs, integrating different packages and then supporting that work for a long time - something that our customers and partners need....
I feel that much of the anger from our recent decision around the downstream sources comes from either those who do not want to pay for the time, effort and resources going into Linux or those who want to repackage it for their own profit. This demand for Linux code is disingenuous.
Linus never said this. But Red Hat Enterprise did.
Terminals with screens? What’s all that newfangled shit?
Nah, whippersnapper, this tech goes all the way back to teletypes. You didn’t get a fancy-shmancy “screen;” instead, it printed out the results of your commands. On actual paper!
Seriously though, that’s why the device files for terminals in Linux are named tty[$NUM] – “tty” is shorthand for “TeleTYpe.”
I believe it’s also why really primitive programs can’t scroll up and do things like writing an entire screen worth of content in order to emulate interactivity (as opposed to seeking the cursor backwards and replacing only the parts the program wants to replace): they’re using a version of the control protocol so primitive that it didn’t have a function to go backwards because teletypes didn’t need it due to physical impossibility. (That’s my theory, anyway – I haven’t dug deep enough into the guts of TERMCAP etc. to be sure. I’m also not actually old enough to have experienced that stuff, despite my joke above.)
Edit: look at this excerpt from man terminfo(5), for instance:
<pre style="background-color:#ffffff;">
<span style="color:#323232;">Basic Capabilities
</span><span style="color:#323232;">The number of columns on each line for the terminal is given by
</span><span style="color:#323232;">the cols numeric capability. If the terminal is a CRT, then the
</span><span style="color:#323232;">number of lines on the screen is given by the lines capability.
</span><span style="color:#323232;">If the terminal wraps around to the beginning of the next line
</span><span style="color:#323232;">when it reaches the right margin, then it should have the am
</span><span style="color:#323232;">capability. If the terminal can clear its screen, leaving the
</span><span style="color:#323232;">cursor in the home position, then this is given by the clear
</span><span style="color:#323232;">string capability. If the terminal overstrikes (rather than
</span><span style="color:#323232;">clearing a position when a character is struck over) then it
</span><span style="color:#323232;">should have the os capability. If the terminal is a printing
</span><span style="color:#323232;">terminal, with no soft copy unit, give it both hc and os.
</span>
To this day, the info database entry for your virtual terminal has to specify that it’s capable of deleting a line of text instead of merely striking it out, because some terminals back in the day actually couldn’t!
…with the James Web Telescope looking for sources of artificial light to identify potential intelligent life, and the news this week of Perseverance searching for microbial life on Mars it feels like we are getting closer to a major discovery. But what - if anything - would it mean for the religions on Earth if life is proven...
<pre style="background-color:#ffffff;">
<span style="color:#323232;">And if there's life on other planets,
</span><span style="color:#323232;">then I'm sure that he must know,
</span><span style="color:#323232;">and he's been there once already
</span><span style="color:#323232;">and has died to save their Souls
</span>
It might take a while before anything gets outputted. I think it might also be good if you try the –dry-run option first just so that you’d know what to expect.
Here’s a sample output from one of my runs. It’s already been scoured clean, so there’s nothing to do.
Where ${uname} and ${pword} are my username and password respectively, and $dryrun is either –dryrun or the empty string.
The output is then saved to a log file with the name pattern username_timestamp.
Also, I noticed that you’re using the gpdr-export option. I think there’s some wonkiness regarding that? I am not sure though. I still recommend using the –dryrun option first just to see what’s up (without actually doing any changes to your account.
EDIT:
I forgot to clarify, shreddit-linux is what I named the executable file I got from the repository.
Right now, the only method I found is to click on the expando, then right click on the image and open it in a new tab. Is there a way to make it so I can just click it once? I can’t imagine any possible scenario where I’d want to see a large but not full size image....
Oh cool, there’s a 200mp camera. Something that only pro photographers care about lol.
Oh this is a fun one! Trained, professional photographers generally don’t care either, since more megapixels aren’t guaranteed to make better photos.
Consider two sensors that take up the same physical space and capture light with the same efficiency/ability, but are 10 vs 40 megapixels. (Note: Realistically, a higher density would mean design trade-offs and more generous manufacturing tolerances.)
From a physics perspective, the higher megapixel sensor will collect the same amount of light spread over a more dense area. This means that the resolution of the captured light will be higher, but each single pixel will get less overall light.
When you zoom in to the individual pixels, the higher-resolution sensor will appear more noisy. This can be mitigated by pixel binning, which groups (or “bins”) those physical pixels into larger, virtual ones—essentially mimicking the lower-resolution sensor. Software can get crafty and try to use some more tricks to de-noise it without ruining the sharpness, though. Or if you could sit completely still for a few seconds, you could significantly lower the ISO and get a better average for each pixel.
Strictly from a physics perspective (and assuming the sensors are the same overall quality), higher megapixel sensors are better simply because you can capture more detail and end up with similar quality when you scale the picture down to whatever you’re comparing it against. More detail never hurts.
… Except when it does. Unless you save your photos as RAW (which take a massice amount of space), they’re going to be compressed into a lossy image format like JPEG. And the lovely thing about JPEG, is that it takes advantage of human vision to strip away visual information that we generally wouldn’t perceive, like slight color changes and high frequency details (like noise!)
And you can probably see where this is going: the way that the photo is encoded and stored destroys data that would have otherwise ensured you could eventually create a comparable (or better) photo. Luckily, though, the image is pre-processed by the camera software before encoding it as a JPEG, applying some of those quality-improving tricks before the data is lost. That leaves you at the mercy of the manufacturer’s software, however.
In summary: more megapixels is better in theory. In practice, bad software and image compression negate the advantages that a higher resolution provides, and higher-density sensors likely mean lower-quality data. Also, don’t expect more megapixels to mean better zoom. You would need an actual lense for that.
This is a slow learning process for me and some of you already helped me a lot to figure out reverse proxies in general. However, I’m not there yet … so:...
this will append the current date/time once a minute (*/1) to a file in your home dir. You can check if it works with cat ~/date.log
If that works, then try again with your command. I see you used the full path to it, that’s a good thing. Also, what does that command do if you run it manually?
To run the command at 10 PM every day, you should have it like this:
I have not converted my home network to use split-brain yet and that’s because I only just recently got Let’s Encrypt to work with the DNS-01 challenge which verifies domain ownership via a TXT record. Now that the DNS-01 challenge works perfectly, I can use split-brain DNS to resolve my example.com requests to internal IP addresses. What I am currently doing is as follows and it is inefficient and ugly!
Local request —> Internet --> VPS Proxy --> WireGuard tunnel --> Local Server --> WireGuard tunnel -> VPS Proxy -> Internet --> Local origin
Now that I have Let’s Encrypt working using the DNS-01 challenge, there will be significantly less latency. It should look something like this:
<pre style="background-color:#ffffff;">
<span style="color:#323232;">Local request --> Local DNS Server --> Local Server --> Local request
</span><span style="color:#323232;"> |
</span><span style="color:#323232;"> --> Local Server --> WireGuard Tunnel --> Internet
</span>
I hope this is helpful! This will reduce the amount of locally generated traffic that must transit the VPN tunnel bi-directionally.
What makes the split-brain DNS work is if the request for resolution comes from the localhost or from inside your network, it will first go to the view section to see if there is any pertinent local data. So if you do a query from your home network, on say, example.com, it will return your internal IP address which in this case is 192.168.1.2
There’s been issues with the WAD process using up memory until the unit goes into conserve mode since I was on 6.0.6. I started running a script to restart the process twice daily and have never had a problem since. I just upgraded from 6.4.13 to 7.0.12 a few weeks ago and I’ve left the script to run on every upgrade since 6.0.6. I’ve never disabled it to see if I don’t need it any longer, maybe I should.
<pre style="background-color:#ffffff;">
<span style="color:#323232;">config system auto-script
</span><span style="color:#323232;"> edit "restart_wad"
</span><span style="color:#323232;"> set interval 43200
</span><span style="color:#323232;"> set repeat 360
</span><span style="color:#323232;"> set start auto
</span><span style="color:#323232;"> set script "diag test app wad 99"
</span><span style="color:#323232;"> next
</span><span style="color:#323232;">end
</span>
<pre style="background-color:#ffffff;">
<span style="color:#323232;">E = 3/2 k_B T
</span>
Say we imagine that the entire kinetic energy of bulk material from Earth (let’s say iron) impacting the star at 10000km/s is converted into thermal kinetic energy of individual iron atoms (atomic weight 56).
You can't uninstall this software without being forced to participate in their survey (lemmy.world)
I initially only installed “Comodo Firewall” but for some reason they also installed a “Comodo Dragon Browser”, which I did not consent to. I always choose the “advanced” installation to uncheck bloatware, but in this case there was none and when you try to uninstall the browser, they force you to participate in...
How to accurately measure laptop battery life in Linux?
tl;dr: I’m looking for something like AccuBattery, but for Linux...
Lemmy, Traefik, & Docker
I’d like to self-host my own Lemmy instance. My environment is comprised of a Fedora VM on a separate VLAN running in Proxmox. That VM runs docker, and exposes all my services to Cloudflare using a treafik reverse proxy....
Stupid Question - Routing subdomains to various services on a single host.
EditDamn, Lemmy is so awesome!...
Help finding the right software.
I keep running my head into a wall working on a project and I am hoping you guys can help me. I have created a database that contains the addresses of contacts. What I need to accomplish is generating paper reports of these addresses. So, for example, I may have 25 addresses on one report related by some other data point. I...
Calling friends (lemmy.world)
Linux Mint 21.2 "Victoria" is Now Available for Download, Here's What's New (9to5linux.com)
Following Red Hat's lead, Linus Torvalds will only publish Linux Kernel code to paid contributors (en.wikipedia.org)
At Linux, thousands of people spend their time writing code to enable new features, fixing bugs, integrating different packages and then supporting that work for a long time - something that our customers and partners need....
i hate when this happens (pawb.social)
Reddit removes years of chat and message archives from users' accounts (mashable.com)
Reddit removes years of chat and message archives from users’ accounts::undefined
The migration of large communities from Reddit to Lemmy is like a world-renowned band performing an acoustic set in a library for 50 people.
The fanbase is still large, but the Lemmy community hasn’t quite caught up yet, and now there is a transitional period where the audience is smaller.
Templating engine for docker compose
Maybe this is a little bit off-topic. I would like to ask how you manage your dockerfile....
What did you see?! (lemmy.world)
Know that feeling
If intelligent life is found in the universe will it change religion(s)?
…with the James Web Telescope looking for sources of artificial light to identify potential intelligent life, and the news this week of Perseverance searching for microbial life on Mars it feels like we are getting closer to a major discovery. But what - if anything - would it mean for the religions on Earth if life is proven...
How do I get shreddit working on Linux ? (kbin.social)
https://github.com/andrewbanchich/shreddit...
How do I set Lemmy to fully expand images?
Right now, the only method I found is to click on the expando, then right click on the image and open it in a new tab. Is there a way to make it so I can just click it once? I can’t imagine any possible scenario where I’d want to see a large but not full size image....
Updated my Samsung phone and it installed unwanted apps (lemmy.world)
Q: Lemmy and Mastodon instances behind existing reverse proxy
This is a slow learning process for me and some of you already helped me a lot to figure out reverse proxies in general. However, I’m not there yet … so:...
deleted_by_author
ELI5 Cloudflare Tunnel (kbin.social)
So everyone is talking about cloudflare tunnels and I decided to give it a shot....
Fortinet warns of critical RCE flaw in FortiOS, FortiProxy devices (www.bleepingcomputer.com)
This is different from last week’s warning: bleepingcomputer.com/…/300-000-plus-fortinet-fire…...
Tell me about the physics of material "falling onto a neutron star and emitting hard x-rays" (lemmy.world)
piped.video/watch?v=simuXjzxlGI&t=380...