Aussie living in the San Francisco Bay Area.
Coding since 1998.
.NET Foundation member. C# fan
https://d.sb/
Mastodon: @dan@d.sb
it makes connecting to localhost as easy as
http://0:8080/
(for port 8080, but omit for port 80).
The thing is that it’s not supposed to work, so it’s essentially relying on undefined behaviour. Typing [::1]:8080
is nearly as easy.
skimming through these PRs, at least for WebKit, I don’t see tests for shorthand IPs like
0
(and no Apple device to test with). What are the chances they missed those…?
I haven’t seen the PRs, but IP comparison should really be using the binary form of the IPv4 address (a 32-bit number), not the human-friendly form.
From that RFC:
0.0.0.0/8 - Addresses in this block refer to source hosts on "this"
network. Address 0.0.0.0/32 may be used as a source address for this
host on this network; other addresses within 0.0.0.0/8 may be used to
refer to specified hosts on this network ([RFC1122], Section
3.2.1.3).
(note that it only says “source address”)
which was based on RFC 1122, which states:
We now summarize the important special cases for Class A, B,
and C IP addresses, using the following notation for an IP
address:
{ <Network-number>, <Host-number> }
or
{ <Network-number>, <Subnet-number>, <Host-number> }
...
(a) { 0, 0 }
This host on this network. MUST NOT be sent, except as
a source address as part of an initialization procedure
by which the host learns its own IP address.
See also Section 3.3.6 for a non-standard use of {0,0}.
(section 3.3.6 just talks about it being a legacy IP for broadcasts - I don’t think that even works any more)
Seems like a TCP/IP stack issue rather than a browser issue… 0.0.0.0 is not supposed to be a valid address (in fact, no IPv4 address with 0
as the first octet is a valid destination IP). The network stack should be dropping those packets.
0.0.0.0
is only valid in a few use cases. When listening for connections, it means “listen on all IPs”. This is a placeholder that the OS handles - it doesn’t literally use that IP. Also, it’s used as the source address for packets where the system doesn’t have an IP yet (eg for DHCP). That’s it.
Get a USB to SATA cable. This one works great with the Pi: https://a.co/d/8Jv2Erj
Instead of having a warm spare, a better solution is to attach two drives and use them in a RAID1 config. Unfortunately, I don’t think the Pi supports RAID1.
Get a used minipc
Why, when the Pi is working fine? Just get a USB to SATA cable. This one works great with the Pi: https://a.co/d/8Jv2Erj
Dendrite is still in beta and isn’t feature-complete. I tried all three (Synapse, Dendrite and Conduit) and Conduit worked the best for me - I found it to be the most reliable and use the least amount of RAM. It also uses an embedded database (RocksDB) which makes setup a bit easier.
I tried joining several large Matrix rooms from my server, and the experience with Synapse was dreadful. It was using 100% of one core for long periods of time. In some cases it would just fall over and not join the room. Dendrite and Conduit are better in that regard.
Conduit’s weak point is its documentation. I had to read Synapse’s documentation to understand a few key concepts. I’ve been meaning to help write docs for Conduit but just haven’t had time. I’ve got a PR to improve the styling of the docs at least, but need to do some tweaks to it.
Protip: Use Conduit instead of Synapse. It’s significantly lighter than Synapse, easier to run, and I guess you can be a cool kid by running something written in Rust. The documentation is even worse though :/ https://conduit.rs/
Wondering the same thing… I’ve been meaning to try it.
I’m using PhotoStructure at the moment. It’s not as feature-rich, and the best features are only available on paid subscriptions, but it’s a solid, reliable piece of software. That’s what I want - a focused piece of software that favours stability over feature creep. Its deduplication is the best I’ve seen. The developer works on it full time, which is one of the reasons it has paid subscriptions (to make that sustainable).
they were causing too much load on OSM’s servers.
They could host their own caching proxy between OSM and their users though.
Also, Home Assistant uses OpenStreetMap and they have more users than Immich does.
Edit: Home Assistant does use OSM data, but they use it via another third-party called CARTO, who at least have a proper site: https://carto.com/basemaps. Tiles come from URLs like https://basemaps.cartocdn.com/rastertiles/voyager/12/657/1580@2x.png
He had a very high rate, ~50% of CPUs in systems that he looked at were affected
Note that I think this was with the data center samples, which run the systems 24/7. The prevalence isn’t as high with regular consumer use (but still way too high). The data centers also didn’t have any problems at all with the 12900K.
This is what I do:
I was thinking of running several servers at home, but right now I’m just running one main one. I don’t have much space and it’s running fine for me for now. Power is expensive here. I’ve got solar power, but I get 1:1 credits for excess solar power, so I’d rather save it for other things.
It’s a DRM system called Widevine, that’s currently maintained by Google. It ships in Chromium/Chrome and Firefox as a closed-source binary blob. Firefox asks you before running it, since you may not want to run proprietary code.
You can tell Firefox not to run it, or disable it in the plugins. Instructions are here: https://support.mozilla.org/en-US/kb/enable-drm#w_disable-the-google-widevine-cdm-without-uninstalling. Regular videos will still play properly, but videos with DRM will fail to play. Note that practically every paid streaming service uses Widevine DRM, so if you disable it, none of them will work any more.
Plex are likely using it for their free streaming content. I’d guess that they’ve licensed it only for streaming, and need to enforce that users can’t download or record it.
Your own Plex content does not use DRM, so if you’re only using Plex for your own content, it’s fine to deny Widevine from running.
In E2E tests you should ideally be finding elements using labels or ARIA roles. The point of an E2E test is to use the app in the same way a user would, and users don’t look for elements by class name or ID, and definitely not by data-testid.
The more your test deviates from how real users use the system, the more likely it is that the test will break even though the actual user experience is fine, or vice versa.
This is encouraged by Testing Library and related libraries like React Testing Library. Those are for unit and integration tests though, not E2E tests. I’m not as familiar with the popular E2E testing frameworks these days (we use an internally developed one at work).
In an alternate reality, we’d all be using JSSS, which was even worse. https://en.wikipedia.org/wiki/JavaScript_Style_Sheets
I solved this by installing solar panels. They produce more electricity than I need (enough to cover charging an EV in when I get one in the future), and I should break even (in terms of cost) within 5-6 years of installation. Had them installed last year under NEM 2.0.
I know PG&E want to introduce a fixed monthly fee at some point, which throws off my break-even calculations a bit.
Some VPS providers have good deals and you can often find systems with 16GB RAM and NVMe drives for around $70-100/year during LowEndTalk Black Friday sales, so it’s definitely worth considering if your use cases can be better handled by a VPS. I have both - a home server for things like photos, music, and security camera footage, and VPSes for things that need to be reliable and up 100% of the time (websites, email, etc)
Samsung have gotten better with updates. In 2021, they promised all new models would receive four years of updates (which helped the industry because other brands started matching them), and they bumped it to seven years with this year’s S24 series.
Samsung and LG appliances are interesting things. Some are horrible like their fridges (which are some of the worst available today), but some are fantastic like LG’s washing machines (which rank #2 in reliability behind Speed Queen).
My screenshot is from the “Boost” mobile app on Android :) https://play.google.com/store/apps/details?id=com.rubenmayayo.lemmy
What type of data are you looking for? Does http://www.nirsoft.net/utils/network_usage_view.html suit your use case? There’s similar data somewhere in the modern settings app too.
There’s also performance counters for real time data (bytes sent and received): https://learn.microsoft.com/en-us/windows-server/networking/technologies/network-subsystem/net-sub-performance-counters. You can use these in any tool that supports performance counters. There’s an app that comes with Windows called Performance Monitor that can read these counters.
A proxy is no less secure than a VPN, assuming it’s using encryption like TLS. It’s not as good for torrents since you can’t port forward, but fundamentally people that use commercial VPNs are using then just like a proxy. Some providers like NordVPN do offer HTTPS proxies in addition to their VPN service.
Depends on if they’re the same speed. Faster memory has shorter clock cycles.
It doesn’t really matter too much though. The system should just run all the memory at the slowest speed/timings.