1. 4

    Bees, beer and bread sums up my weekend plans. I am also on-call for production at work. Let’s hope I can spend more time on the former than on the latter.

    1. 1

      Bees? As in beekeeping? That is pretty cool! I know absolutely nothing about bees… Besides having a unique hobby and some honey, are there any other benefits to beekeeping?

      1. 3

        yes, I took a course in beekeeping last year but did not (yet) buy my own hives b/c I did not have the time to fully commit to it (job, travel) I help the guy I learned it from every now and then. I learned a ton and it is a great excuse to get out of the house on a Saturday morning.

      2. 1

        Nice. Bier is next weekend, but I get bees and biking this. Requeened a hive yesterday, going to check on it tomorrow.

      1. 14

        I love Syncthing. It’s totally obviated the need for connecting my phone or media players to my main desktop system - I just go through my normal workflow of downloading, transcoding, and labelling my music with MusicBrainz Picard and it automatically gets transferred to my mobile device once it’s dropped into my Music directory.

        1. 16

          Warms my heart to see someone that still maintains a local music collection, all the way down to transcoding and tagging.

          1. 4

            Yeah, the stuff I listen to isn’t really on the big streaming services, lol

            1. 3

              Yes, we exist! I use beets.io to autotag my new music (either from bandcamp or deemix) and it gets automatically synced with my phone with syncthing.

              1. 1

                I used to have a music collection that was nearly all ripped from CDs, stored in FLAC and transcoded to MP3 for playing on my MP3 player. It was fantastic. Unfortunately, I didn’t have any backups of it, and reformatted the drive. By the time I had realised, it was basically unrecoverable. I couldn’t stomach doing it all over again, so I switched to Spotify.

                But recently I’ve just become completely fed up with Spotify: they have a terrible Electron-like desktop programme and Spotify Connect constantly drops its connection. It’s just bad software. I’m ripping all my CDs and I didn’t realise how many of them aren’t on Spotify. I’d say a good half of the CDs aren’t on Spotify, and basically none of my DVDs are on NZ Netflix either.

            1. 33

              When content recommendation becomes the most important highlight of a privacy-friendly browser’s new release.

              I love Firefox, but sjeesh

              1. 13

                It is infuriating that the developers of a web browser consider it acceptable to implement any “content recommendation” on their program.

                1. 7

                  Why? As stated up-thread, browsing data is never uploaded. Content recommendation happens locally only. What is so wrong with this?

                  1. 7

                    Because it’s a browser. It should empower me to search the internet for the stuff I want to see, not they think I want to see. I gain no user experience whatsoever. It’s a slippery slope downhill from any recommendation system, no matter how privacy friendly they claim it to be.

                    1. 6

                      Imagine your new FM radio “recommended” which station to tune to when you turned it on. Would it really be any comfort if the manufacturer assured you that that this recommendation had nothing to do with your own preferences, because they don’t know and definitely don’t care? Bookmarks have been part of browsers since the beginning. This is something else.

                      People only put up with this nonsense because it’s free-as-in-beer. That’s why I’d be happy to pay for a fork that treated me like a paying customer rather than a set of eyeballs to sell through some convoluted scheme papered over with a lot of patronizing rhetoric.

                      1. 4

                        Maybe a car analogy is useful for you. It’s as if your car “recommended” which restaurant to go when you drive it on Saturday afternoon, and actually drove you there without asking, until you overrade it. A minimal amount of fuel would be lost at the beginning of the journey; this is no problem, you can override it at any time. Would you be OK with that?

                        I do not want my web browser to make any network request when I open it, unless I ask for it explicitly. As other posts in this thread explain, this is actually impossible with firefox. This is what infuriates me.

                        1. 0

                          Though they say the browsing data is never uploaded, it’s trivial to match the IP and the time of when the content was recommended. That info can then be correlated with the site serving the recommended content. Several ways exist in which to deanonymize browsing history.

                      2. 10

                        One of the first things - besides installing uBlock and friends - I do with a new FF installation is the disabling of all these spurious ‘services’ - content suggestion, dangerous content warnings, the various telemetry bits apart from bug reports, those I do send seeing as I run nightly and as such can provide useable reports.

                        1. 4

                          I would be grateful if you could share the configurations that you are doing. I am asking so that I could note them down and set them too.

                          I would like if NixOS would provide firefox configuration options that could be configured centrally, or per user, to make sure that every upgrade applies them.

                          1. 3

                            home-manager allows you to declaraticely configure which Firefox add-ons to install (although you still need to enable them manually the first time you start Firefox for security reasons). And you can set Firefox options declaratively using their enterprise policies.

                            1. 2

                              I don’t use much magic to configure it, most is by hand. The only ‘automatic’ thing I do is install a policies.jsonfile (in distribution/policies.json in the FF install directory, in my case that is /opt/APPfirefox/bin/distribution/policies.json) which disables automatic updates since I handle those using a script. I do not want to have binaries writeable by users so these automatic update policies are out of the question. The update script pulls new nightlies from the server and installs them, installs the policies.json file in the correct location and sets ownership and permission so that regular users can execute, but not modify the distribution. I used to have a FF sync server when that was still a thing but eventually it got too hard to reinstate ‘old’ sync support. I do not have, nor do I want to have a ‘Firefox account’ since I do not use any such external services if I can in any way avoid them. I might look into building a ‘new’ FF sync server some time but other matters are more important for now. Until such time I will simply install the following extensions:

                              • uBlock origin (set to ‘expert user’ mode)
                              • uMatrix (disabled by default)
                              • Nuke Anything (to get rid of annoying overlays which uBlock can not filter out)
                              • Open With (to open e.g. media files through a local script)
                              • Containers with Transitions (to always open certain sites in site-specific container tabs)
                              • Foxyproxy Standard (disabled, sometimes used to redirect sites through a local Tor node)
                          2. 13

                            It seems to me it’s just a “here are the most popular articles”-list; don’t see anything wrong with that, or any fundamental privacy-concerns. Also from the expanded announcement on it:

                            Recommendations are drawn from aggregate data and neither Mozilla nor Pocket receives Firefox browsing history or data, or is able to view the saved items of an individual Pocket account. A Firefox user’s browsing data never leaves their own computer or device.

                            And from the FAQ:

                            [N]either Mozilla nor Pocket ever receives a copy of your browser history. When personalization does occur, recommendations rely on a process of story sorting and filtering that happens locally in your personal copy of Firefox.

                            1. 11

                              I see something wrong with that, that being giving the user an experience that they have not ask for nor had any control over. Also, what news site, and what collection of news given to the user is trustworthy in a general sense?

                              I feel about it as if I got public broadcasting in my new tab, not something I want nor I am interested in.

                              1. 9

                                that being giving the user an experience that they have not ask for

                                How can you be so sure? I’m a Firefox user, and I find those articles occasionally useful.

                                nor had any control over

                                You can switch it off easily in preferences or directly on the New Tab page (three dots in the upper right corner).

                                1. 4

                                  “nor had any control over” is a terrible way to word it (it is your computer and you are definitely in control). My first reaction was “this person is entitled as heck”.

                                  However, there is an implied social contract (because firefox existing makes it socially/politically almost impossible to get an alternative off the ground). I still disagree with lich, but their argument has legs.

                                2. 3

                                  I see something wrong with that, that being giving the user an experience that they have not ask for nor had any control over. Also, what news site, and what collection of news given to the user is trustworthy in a general sense?

                                  I don’t feel that’s a fair characterization. Any new feature can be described as giving the user an experience they did not asked for. And as other commenters note, it can be disabled. Which grants control.

                                  As to a user experience, I have lobsters show up in my recommended list, probably because I visit it so often. It does make some sense that I would be recommended what I like to habitually visit.

                                  I even removed the suggestion a few times and timed how long and how many visits made it reappear. For me, it learned the association in a day and ten visits to the front page because my habit is to close the tab after quickly reviewing the stories posted.

                                3. 6

                                  Where does the aggregate data come from?

                                4. 5

                                  I cannot use Firefox and feel safe without ghacks user.js. It is kind of absurd that there is no real community-lead option for browsers. You could put the blame on standards bodies for creating bloated standards, but now more than ever they are just a facade commanded by corporate interests. I don’t know much about it but Project Gemini (along with gopher) seem to be closer to achieving the goals of free software and the “original dream of the web” (whatever that means).

                                  Edit: typo

                                  1. 1

                                    I totally get your point. Would something like Pale Moon feel better to use?

                                1. 3
                                  1. In the unlikely event that a visitor has intentionally disabled JavaScript, fall back to the original method. The good news is that, although this is a render-blocking request, it can still make use of the preconnect which makes it marginally faster than the default.

                                  Setting media="print" onload="this.media='all'" is no good for people who won’t, don’t or can’t use JS. I know it’s just a font and not “essential” but the whole idea really rubs me the wrong way. Also (this was somewhat addressed near the top of the post) self hosting fonts (and everything else too) gives a much better user experience when it comes to both speed if on a high latency connection, as well as privacy from big G.

                                  On this site, in which performance is the only name of the game, I forgo web fonts entirely, opting instead to make use of the visitor’s system font.

                                  Okay, but what about those scripts (that I didn’t load thanks to umatrix) from instant.page, platform.twitter.com, cdn.carbonads.com, www.google-analytics.com and cdn.speedcurve.com? Come on now.

                                  1. 5

                                    This is a 20 minute video from 2015 that likely still holds true in its entirety, which is why I’m re-posting it. It points out beliefs related to static vs dynamic type systems.

                                    1. 3

                                      Thank you for doing this. It really enjoyed it, especially after reading this article from the frontpage. The voices (all the blog posts and papers we read, the open source projects we use, the marketing materials we drudge through) that speak in the code we write form what the article calls a chorus or this talk calls ideology, affecting the way we think and act, even if we don’t recognize it. While this is true for code, it is also true for the discussions on what the speaker calls the “fluid” of technical ideology: the Orange Site and also here on Lobsters.

                                      Side note, Žižek started a talk he gave in front of some googlers the same way as this one, using Rumsfeld’s quote and expanding it out to include “unknown knowns.” He is the one who has a film titled “The Pervert’s Guide to Ideology.”

                                    1. 5

                                      Funny you should ask, I have been working on a project for school that does exactly this (but I have a bias towards memes/gifs/webms instead of photographs). The writeup is here. This past weekend I started writing a basic prototype in clojure/clojurescript. It is mainly intended to be a web-based replacement for the hydrus network.

                                      1. 3

                                        Coincidentally, I’m doing the exact same thing, albeit as a self-hosted web application that I plan to put behind an authenticated Onion service.

                                        1. 2

                                          The factory must grow. This is the way.

                                        1. 5

                                          Not looking forward to it, but I’d like to change my music-listening workflow. I’ve been using cmus for years, but its lack of maintenance and hairy code around FLAC are difficult to grapple with even for minor bugfixes.

                                          I’ve been looking at mpd, how do people like it?

                                          1. 3

                                            I use mpd (with plain mpc as a client) and mpv somewhat interchangeably. FLAC support on both is great, it’s pretty painless to set up.

                                            Edit: mpd is great for using keybindings in your window manager for play/pause next/prev etc.

                                            1. 1

                                              I like mpd, but I don’t like any of the clients for it. mpc works quite well, but sometimes I just want to lazily browse my collection, and I just haven’t found an enjoyable way to do that in any mpd client.

                                              It really depends on what you want with it.

                                            1. 2

                                              I have your phone (XL) but I bought it with the intention of putting LineageOS (with micro-g) on it. I still get updates, also no Google!

                                              1. 4

                                                I just uninstalled my Pi-hole earlier today, and replaced it with OpenWRT’s adblocker for use on my new router.

                                                1. 1
                                                  # Execute command and capture exit code, regardless of whether the command succeeded or not
                                                  f && exit_code=$? || exit_code=$?
                                                  

                                                  Wouldn’t the following be better, or am I missing something?

                                                  f; exit_code=$?
                                                  # or
                                                  f
                                                  exit_code=$?
                                                  
                                                  1. 3

                                                    This is a blog-post about “unofficial strict” mode, or set -e mode. In that mode, if you run

                                                    f; exit_code=$?
                                                    

                                                    …then if f fails, bash will exit immediately, and will not run exit_code=$? or any other part of your script.

                                                    1. 1

                                                      Right! Thanks.

                                                  1. 7

                                                    Despite its appearance, it is not stack-based.

                                                    Haha! Programmers seem to have the strangest sense of humor…

                                                    1. 1

                                                      Happy to see @paroneayea​​’s work. He co-authored ActivityPub and MediaGoblin. Keep up the great work!

                                                      1. 3

                                                        Currently reading “Soul of a New Machine” starting chapter 7. Kidder’s writing has impressed the non-reader in me.

                                                        1. 1

                                                          I’m surprised no one is mentioning Haskell. This is unoptimized, and I haven’t used Haskell in a while so bear with me. This might not compile. Also, Data.Numbers.Primes is from https://hackage.haskell.org/package/primes.

                                                          import Data.Numbers.Primes (isPrime)
                                                          
                                                          primes = filter isPrime [1..]
                                                          
                                                          halfOfClosePrimes n = ((primes !! n - 1) + (primes !! n + 1)) `div` 2
                                                          isStrong n = (primes !! n) > halfOfClosePrimes n
                                                          isWeak n = (primes !! n) < halfOfClosePrimes n
                                                          
                                                          strongs = map (primes !!) $ filter isStrong [1..]
                                                          weaks = map (primes !!) $ filter isWeak [1..]
                                                          
                                                          main = do
                                                            putStr "Strongs: "
                                                            print $ take 10 strongs
                                                            putStr "Weaks: "
                                                            print $ take 10 weaks
                                                          
                                                          1. 4

                                                            I just got Nextcloud setup on my raspberry pi for my family and I!

                                                            1. 2

                                                              What’s your experience with the calendaring application? I briefly used it a few years back and it paled in comparison to iCal and GCal…. I’m still trying to get away from Google

                                                              1. 1

                                                                I use Nextcloud calendar. I’m happy with it for basic personal usage, but where it really shines is the CalDav integration. Google I suppose can add extra features because they don’t support proper syncing via standards from what I remember. And even though I’m using an Android phone, I want my data portable.

                                                                  1. 18

                                                                    I cannot go on the web without uMatrix.

                                                                    Edit: link format

                                                                    1. 2

                                                                      I’ve been using uBlock Origin for years now. Going to check out uMatrix!

                                                                      1. 2

                                                                        They’re talking to each other and work very well together, to be honest I can’t live without any of them :P

                                                                      2. 1

                                                                        Seconded. uMatrix’s choice of allowing on-domain JS means that most reasonable websites work out of the box, and for the mostly reasonable ones you might have to whitelist a cdn domain, and that’s it.