251 karma · joined April 1, 2018
If you have an always running server and only need access via a browser, forwarding port 80/443 to a reverse proxy works well. Dynamic DNS can be used if you don't have a static IP address. Alternatively, if you are more security conscious and don't mind the reliance on CloudFlare, you can use CloudFlare tunnel which won't expose ports from you local network at all. It can also be combined with a third party authentication mechanism.
I looked into a similar ffmpeg solution a couple of months ago and broadcast an libx264 video only stream with ~1 second latency to an rtsp server: https://gist.github.com/andrewmackrodt/88c2233fb9cc4797ada93...
However, I found this solution to be too CPU intensive as I was unsure if/how to instruct x11grab to interact with the GPU directly. Perhaps if I used my nvidia card for encoding it would have been more performant. However, OBS makes this entire process much easier.
Attractiveness describes the perception of success (friendships, health, career etc) based on physical appearance and the likelihood of passing these traits to offspring.
Personally I struggled to get to grips with it. While I can appreciate it tries to visualize foundational OOP principles, for someone who already had some experience with various (mainly web programming languages), BlueJ felt too limiting but also broke my mental model of what I should be doing.
If I were to think of it more as an interactive debugger, then maybe I would have had more favourable memories of it. However, a few weeks later I switched to Netbeans and felt far less anxiety that I didn't belong in my course.
Overall, I find Gnome to at least be more consistent than Windows and no adverts in the activities/applications menus are of course appreciated. However, every major release tends to force the user to relearn certain how to use your desktop principals.
I have a Dell XPS 2in1 from 2019 which only has 2 USB-C ports, however, I'm using a thunderbolt dock so I get a USB-C port back and a USB-C display port output on the back, have never tried connecting a device to it to though.
Anker also have some hubs with one USB-C input and one PD.
However I don't doubt that these kind of leaks could have happened depending on configuration / bugs etc.
Eventually I ended up changing my configuration to run deluge in a VPN container (docker) network namespace so that I could use VPN port forwarding for better speeds (supported by Mullvad).
* data of the record may have been updated, but if there are 1,000 records total, paginating in either direction will always return those same 1,000 records regardless of insertion/deletion.
- Filter by created_at <= time the endpoint first returned a result.
- Utilize soft deletes, where deleted_at IS NULL OR deleted_at < time the endpoint first returned a result.
Any keys allowed to be used in the ORDER BY query should also be immutable.
Imagine a table with the following schema/data: id=1,created_at='2022-28-05T18:00Z' id=2,created_at='2022-28-05T18:00Z' id=3,created_at='2022-28-05T18:00Z'
To retrieve articles in order of descending creation time, our sort order would be: created_at DESC, id DESC
The last item in the ORDER BY query should be a unique key to ensure we have consistent ordering across multiple queries. We must also ensure all supported sort columns have an INDEX for performance reasons.
Assume our application returns one article at a time, we have already retrieved the first article in the result set. Our cursor must include information for that last records ORDER BY values, e.g. serialize('2022-28-05T18:00Z,3'), for example purposes I will use base64, so our cursor is MjAyMi0yOC0wNVQxODowMFosMw==.
When the user requests the next set of results, they will supply the cursor and it will be used to construct a WHERE (AND) expression: created_at < '2022-28-05T18:00Z' OR (created_at = '2022-28-05T18:00Z' AND id < 3)
So our query for the next set of results would be: SELECT * FROM articles WHERE (created_at < '2022-28-05T18:00Z' OR (created_at = '2022-28-05T18:00Z' AND id < 3) ORDER BY created_at DESC, id DESC LIMIT 1
For queries with more than 2 sort columns the WHERE expression will slightly increase in complexity but it need only be implemented once. If the sort order direction is flipped, make sure to adjust the comparator appropriately, e.g. for 'DESC' use '<' and for 'ASC' use '>'.
From Microsoft's Authenticator help page:
"You will see a prompt from Microsoft Authenticator asking for access to your location if your IT admin has created a policy requiring you to share your GPS location before you are allowed to access specific resources"
https://support.microsoft.com/en-us/account-billing/common-q...
Personally I do like the Dolby Atmos plugin, I have my computer connected to a TV with sound passed via eARC to my soundbar. However, if you're consuming Film/TV with such a setup, you probably just want to enable Dolby/DTS passthrough instead.
A non free (4 hours free a month) solution I quite like on macOS is krisp.ai which I also use for noise removal. Background replacement was recently added to M1 chips.
On the Windows side, Nvidia Broadcast has worked well for me (requires an RTX card), it also supports tracking which I really like. I've previously tried XSplit but the results were worse than whatever implementation Zoom and even Hangouts in a browser use.
I rarely video call under Linux (non existent laptop drivers for my webcam) but look forward to trying this out if the need ever arises.
For personal use, I find 1Password typically handles multiple screen logins, including 2FA quite well, although requires an extra UI interaction.
For anyone wondering what that command would look like:
git fetch
git merge origin/main
git reset --soft origin/main
git commit -m 'HN-1337 Awesome new feature'
When working portably, macOS is my preferred OS.
I'm not sure about KDE, but Gnome's experience is severely degraded when outputting to an external monitor with different display scaling. Without Wayland there is horrendous screen tearing but pipewire isn't trivial to install which makes screen sharing while WFH problematic. Intel WiFi drivers are a hot mess. There are numerous other QoL differences.
While Gnome supports dynamic workspaces, the workflow is very keyboard based and without Wayland gestures aren't native (e.g. smooth scrolling between workspaces) - AFAIK the only solution is to emulate keyboard shortcuts which is quite jarring given a decade plus of having super responsive smartphones - but Wayland without pipewire is problematic for screensharing, etc ..
Edit: it does work via browser if you navigate out of fullscreen. TIL :)
Nowadays a host personal projects on scaleway and netcup (EU based). I've been with the first for a could of years and the second for 6 months now, good service from both.
If you're mainly hosting static* or cacheable content, you may even get by with a raspberry pi running behind cloudflare's free plan with cache enabled. If you don't mind all traffic to your site being served by such a third party of course.
* If you only have static content, GitHub pages can be considered too.
From that day onward I always make sure the first line of my bash scripts contains at least "set -e".