Skip Navigation
dan

Aussie living in the San Francisco Bay Area.
Coding since 1998.
.NET Foundation member. C# fan
https://d.sb/
Mastodon: @dan@d.sb

Posts
10
Comments
3,456
Joined
2 yr. ago
  • Definitely true. I'll have to try it out. Is Ecosia better than DuckDuckGo or Kagi?

  • Google was best in the 2000s, but things were different back then. They were still a young company trying to improve the world, SEO spam wasn't really a thing yet, there were far fewer websites, and most online discussions were archived and searchable (compared to today where there's platforms like Discord that aren't indexable in search engines at all).

  • I use it for document summarization and it works well. I use Paperless-ngx to manage documents, and have paperless-ai configured to instantly set the title and tags using Gemini as soon as a new document is added.

    I chose Gemini over OpenAI since Google's privacy policy is better. I'm using the paid version, and Google says data from paid users will never be used to train the model. Unfortunately I don't have good enough hardware to run a local model.

  • It's been common ever since magnet links were created, since you can post a magnet link anywhere (even in a plain text file) rather than having to upload a .torrent file somewhere like in the old days.

  • This is available in the UI too - there's a tab labeled "Web". Sometimes it's hiding under "More".

    Adding it to the search provider URL is a good idea though.

  • Ecosia still uses American services though - they use Google, Bing, Yahoo and Wikipedia for search results.

  • I'm talking specifically about companies that post a loss every quarter, like Backblaze does. Backblaze's net profit in Q4 2024 was -$14.38 million. Their net profit is going up year over year, but it's still negative.

  • in the west

    Specifically in the USA to protect the local car market... Chinese EVs are popular in countries like Australia.

  • Even if the report is inaccurate, Backblaze has never been profitable, which isn't great. Investors want to see a return on their investment. They'll keep pushing Backblaze to become profitable, likely eventually resulting in enshittification of some sort. We'll see if things have changed when they publish their Q1 2025 results on May 7.

    One of the harsh realities in Silicon Valley is there's a lot of companies that produce great products but end up failing after going public, either because they couldn't find a good product market fit, or because they couldn't figure out how to make their idea profitable.

  • It's a fork of OpenSSH, with tweaks to make it work on Windows (e.g. using Windows auth instead of Linux PAM). It's been available since Windows 10 and Windows Server 2019. https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse

    The source for Microsoft's fork is here: https://github.com/PowerShell/openssh-portable

  • :(

    At least I live in an area where the most likely disaster is an earthquake that destroys the entire area, and I'm not sure how useful weather alerts would be in that case.

  • My emergency kit has a radio with AM / FM / NOAA (emergency weather broadcasts in the USA) and a hand crank to charge its battery for exactly this reason.

  • Yet on Lemmy, I feel like no one talk about this huge international event.

    Maybe because the people that are affected don't have power.

  • Windows has a native SSH server (bundled with Windows but has to be manually enabled), so they might be SSHing into their gaming system. Or, their gaming system could be a Linux system running something like Bazzite.

  • That works, but why do that when you could just do apt install ./package-file.deb?

  • Ahh that's unfortunate - they worked well together. Family is always the most important though!

  • It was missing a bunch of features last time I tried it - no crossfades, no automatic playlists (for things like liked songs, decades, etc), no artist radio (play an artist plus similar artists), no way to play sonically similar songs (based on server-side analysis), no loudness leveling, no Android Auto. Maybe it's improved now - I'll have to give it another shot.

    Unfortunately I'm not sure I know enough about audio processing and similarity analysis to be able to implement those features myself.

  • Or a long time Debian user from before the apt command!

  • apt and apt-get both use dpkg internally, but these days it's essentially seen as an implementation detail that regular users don't need to know about.

    dpkg doesn't resolve dependencies (that's a feature of apt) which means that if you install a Debian package with dpkg, you'll have to manually install all dependencies first, and they won't be marked as automatically installed (so autoremove won't remove them if they're not needed any more). Using apt solves that.

    The web suggests dpkg because either the articles are old, or they're based on outdated knowledge :)

  • KDE @lemmy.kde.social
    dan @upvote.au

    Spectacle export to SFTP?

    I noticed that Spectacle has an option to upload to Imgur and Nextcloud. Is there a way to allow it to upload to an SFTP server?

    Ideally I'd like for it to upload the file via SFTP then put the URL on my clipboard, which is what I do with ShareX on Windows.

    Selfhosted @lemmy.world
    dan @upvote.au

    Lighter weight replacements for Sentry bug logging

    I love Sentry, but it's very heavy. It runs close to 50 Docker containers, some of which use more than 1GB RAM each. I'm running it on a VPS with 10GB RAM and it barely fits on there. They used to say 8GB RAM is required but bumped it to 16GB RAM after I started using it.

    It's built for large-scale deployments and has a nice scalable enterprise-ready design using things like Apache Kafka, but I just don't need that since all I'm using it for is tracking bugs in some relatively small C# and JavaScript projects, which may amount to a few hundred events per week if that. I don't use any of the fancier features in Sentry, like the live session recording / replay or the performance analytics.

    I could move it to one of my 16GB or 24GB RAM systems, but instead I'm looking to evaluate some lighter-weight systems to replace it. What I need is:

    • Support for C# and JavaScript, including mapping stack traces to original source code using de
    Bay Area @lemmy.world
    dan @upvote.au

    New California laws taking effect in 2024

    Linux @lemmy.ml
    dan @upvote.au

    Help with powertop idle state output

    On a small form factor PC with an i5-9500, Debian 12, 6.2.16 kernel, running Proxmox, powertop shows the following idle stats:

     undefined
        
    PowerTOP 2.14     Overview   Idle stats   Frequency stats   Device stats   Tunables   WakeUp
    
    
               Pkg(HW)  |            Core(HW) |            CPU(OS) 0
                        |                     | C0 active   2.8%
                        |                     | POLL        0.0%    0.0 ms
                        |                     | C1          1.1%    0.4 ms
    C2 (pc2)    7.2%    |                     |
    C3 (pc3)    5.5%    | C3 (cc3)    0.0%    | C3          0.1%    0.1 ms
    C6 (pc6)    1.5%    | C6 (cc6)    1.9%    | C6          2.2%    0.6 ms
    C7 (pc7)   75.2%    | C7 (cc7)   92.8%    | C7s         0.0%    0.0 ms
    C8 (pc8)    0.0%    |                     | C8         21.5%    2.5 ms
    C9 (pc9)    0.0%    |                     | C9          0.0%    0.0 ms
    C10 (pc10)  0.0%    |                     |
                        |                     | C10        72.8% 
      
    Selfhosted @lemmy.world
    dan @upvote.au

    Looking for simple analytics (similar to Plausible) that supports cookies

    Google Analytics is broken on a bunch of my sites thanks to the GA4 migration. Since I have to update everything anyways, I'm looking at the possibility of replacing Google Analytics with something I self-host that's more privacy-focused.

    I've tried Plausible, Umami and Swetrix (the latter of which I like the most). They're all very lightweight and most are pretty efficient due to their use of a column-oriented database (Clickhouse) for storing the analytics data - makes way more sense than a row-oriented database like MySQL for this use case.

    However, these systems are all cookie-less. This is usually fine, however one of my sites is commonly used in schools on their computers. Cookieless analytics works by tracking sessions based on IP address and user-agent, so in places like schools with one external IP and the same browser on every computer, it just looks like one user in the analytics. I'd like to know the actual number of users.

    I'm looking for a similarly lightweight analy

    Selfhosted @lemmy.world
    dan @upvote.au

    ATX case with room for 5 hard drives

    I'm replacing an SFF PC (HP ProDesk 600 G5 SFF) I'm using as a server with a larger one that'll function as a server and a NAS, and all I want is a case that would have been commonplace 10-15 years ago:

    • Fits an ATX motherboard.
    • Fits at least 4-5 hard drives.
    • Is okay sitting on its side instead of upright (or even better, is built to be horizontal) since it'll be sitting on a wire shelving unit (replacing the SFF PC here: https://upvote.au/post/11946)
    • No glass side panel, since it'll be sitting horizontally.
    • Ideally space for a fan on the left panel

    It seems like cases like this are hard to find these days. The two I see recommended are the Fractal Design Define R5 and the Cooler Master N400, both of which are quite old. The Streacom F12C was really nice but it's long gone now, having been discontinued many years ago.

    Unfortunately I don't have enough depth for a full-depth rackmount server; I've got a very shallow rack just for networking equipment.

    Does anyone have

    Selfhosted @lemmy.world
    dan @upvote.au

    NAS vs larger server

    Sorry for the long post. tl;dr: I've already got a small home server and need more storage. Do I replace an existing server with one that has more hard drive bays, or do I get a separate NAS device?


    I've got some storage VPSes "in the cloud":

    • 10TB disk / 2GB RAM with HostHatch in LA
    • 100GB NVMe / 16GB RAM with HostHatch in LA
    • 3.5TB disk / 2GB RAM with Servarica in Canada

    The 10TB VPS has various files on it - offsite storage of alert clips from my cameras, photos, music (which I use with Plex on the NVMe VPS via NFS), other miscellaneous files (using Seafile), backups from all my other VPSes, etc. The 3.5TB one is for a backup of the most important files from that.

    The issue I have with the VPSes is that since they're shared servers, there's limits in terms of how much CPU I can use. For example, I want to run PhotoStructure for all my photos, but it needs to analyze all the files initially. I limit Plex to maximum 50% of one CPU, but limiting things like PhotoStructur

    networking @sh.itjust.works
    dan @upvote.au

    10Gbps internet connection isn't maxing out 2.5Gbps network card?

    I have a 10Gbps internet connection. On a system with a 10Gbps Ethernet card, I can get ~8Gbps down and ~6Gbps up:

    I'd expect this to easily max out a 2.5Gbps network connection. However, while the upload is maxed (or close to it), I can only ever get ~1.0 to 1.5Gbps down:

    Both tests were performed on the same system. The only difference is that the first one uses a TRENDnet 10Gbps PCIe network card (which uses an Aquantia AQC107 chipset) whereas the second one uses the onboard NIC on my motherboard (Intel I225-V chipset).

    This is consistent across two devices that have 10Gbps ports and two devices that have 2.5Gbps ports.

    I'm using an AdTran 622v ONT provided by my internet provider, a TP-Link ER8411 router, and a MikroTik CRS312-4C+8XG-RM switch. I'm using CAT6 cabling, except for the connection between the router an

    Selfhosted @lemmy.world
    dan @upvote.au

    My 10Gbps Home Networking Closet

    I couldn't find a "Home Networking" community, so this seemed like the best place to post :)

    My house has this small closet in the hallway and thought it'd make a perfect place to put networking equipment. I got an electrician to install power outlets in it, ran some CAT6 myself (through the wall, down into the crawlspace, to several rooms), and now I finally have a proper networking setup that isn't just cables running across the floor.

    The rack is a basic StarTech two-post rack (https://www.amazon.com/gp/product/B001U14MO8/) and the shelving unit is an AmazonBasics one that ended up perfectly fitting the space (https://www.amazon.com/gp/product/B09W2X5Y8F/).

    In the rack, from top to bottom (prices in US dollars):

    • TP-Link ER8411 10Gbps router. My main complaint about it is that the eight 'RJ45' ports are all Gigabit, and there's only two 10Gbps ports (one SFP+ for WAN, and one SFP
    test @upvote.au
    dan @upvote.au

    test

    test 1