1. 1

    On Linux I had to change the signal 17 to 19 and 19 to 18, according to trap -l

    1. 2

      Hi,

      thanks for input.

      I modified the desktop-pause.sh script to use kill -SIGCONT PID and kill -SIGSTOP PID commands instead.

      Change:

      https://github.com/vermaden/scripts/commit/f71ac87766b076d17b42a706757ded2170a51e8c

      Now it should work on FreeBSD and Linux without modifications.

      1. 1

        As a note, I do the same thing for macOS for firefox. I just use pkill -STOP basically, no wrapper script. I’m almost always in a terminal so it being in my history is fine enough for me.

      2. 1

        I made another modification with uname/case so all Linux systems should work properly now.

        There was problem with Ubuntu 16.04 which uses Dash as /bin/sh.

      1. 4

        This one is actually usable under almost every UNIX environment with X11. Pretty sure it could be easily managed to work with Wayland.

        I really miss that neat Pause key on Sun Workstations which actually paused the whole Solaris, leaving you to OpenFirmware console with simple debugger. You were able to get back into running system like nothing ever happened.

        1. 1

          I really miss that neat Pause key on Sun Workstations which actually paused the whole Solaris, leaving you to OpenFirmware console with simple debugger. You were able to get back into running system like nothing ever happened.

          Nice! Did not know that :)

          1. 1

            PPC Mac’s had Open Firmware. I wonder if they can do that.

          1. 1

            I guess GNU du is too old since it doesn’t support -g;) you can pass -BG to get the same effect. Nice series by the way, I’ve only discovered !<pattern> recently by coincidence.

            1. 1

              Thanks ;)

            1. 4

              With this registry addon Windows XP will have support till 2019:

              Windows Registry Editor Version 5.00
              [HKEY_LOCAL_MACHINE\SYSTEM\WPA\PosReady]
              "Installed"=dword:00000001
              
              1. 1

                It ate your backslashes by the way…

                1. 1

                  Fixed. Thanks.

              1. 2

                Are there any technologies that is in Oracle Solaris 11 that is not there in OpenIndiana at this point?

                1. 2

                  There was time when OpenZFS did not had encryption support and Oracle Solaris ZFS had it, but now its implemented, not yet pushed into latest OpenIndiana release but its in the upstream Illumos source and it will also be available on FreeBSD, Linux, macOS and other Illumos distributions.

                  Currently its quite opposite, OpenZFS version has more features then Oracle ZFS, while device removal is available at both the OpenZFS also has ability to add a driver to RAIDZ (for example from 5 drives to 6 drives) the new DRAID implementation is in the works - similar to what is available on IBM Storwize V7000 or HPE 3PAR enterprise storage arrays, also ZSTD compression will be available on OpenZFS and not on Oracle ZFS …

                  1. 1

                    ZFS encryption is not yet available in the illumos source, as people are still working out issues with it.

                  2. 2

                    Kernel Zones, immutable zones, DTrace/mdb DWARF support.

                  1. 3

                    I haven’t used Solaris since university, so the thing that excites me the most about this is the potential for dropping support for CMake 2.8.6 (Solaris 11.4 appears to include CMake 3.9).

                    I think the next is then RHEL/CentOS7 at CMake 2.8.11 (which is a big step up from 2.8.6). Once they update we might actually have CMake 3.0 and “modern CMake”.

                    1. 2

                      I think that we will see RHEL8 this fall with newer CMake.

                    1. 3

                      I cant keep up with PC-BSD branding and structures changes anymore, BSD distributions is a weird concept.

                      1. 1

                        Its just one company (iXsystems) that makes you think that.

                        Think about NetBSD/OpenBSD/FreeBSD and for how long they do not have any ‘distribution’ perturbations …

                        The iXsystems have very solid FreeNAS and TrueNAS distributions but they ‘struggle’ with PC-BSD/TrueOS Desktop and Servers editions, its quite good explained in the article actually :)

                        1. 2

                          I understand why the changes happened. I just question if its really needed. Doesnt it clash with the usual bsd consistency you get by having the kernel and userland developed in unison?

                          1. 2

                            You mean by incorporating LibreSSL instead of OpenSSL and OpenRC instead of rc by TrueOS?

                            Alternatives are good, I did not liked PC-BSD and I find Lumina ugly but that does not mean that ‘idea’ of Lumina is bad. Its the only BSD oriented DE currently.

                            XFCE or MATE work well on OpenBSD or FreeBSD but little ‘closed’ intergration may help (or may develop standard way of such interaction between DE and FreeBSD that laters XFCE or MATE would adopt it).

                            IMHO GhostBSD does better job as being ‘desktop’ FreeBSD but its still not perfect eigther …

                            1. 2

                              Hmm I guess some experimentation could do good.

                              1. 1

                                As the experimentation happens outside of the main FreeBSD project it does not hurt, yes.

                      1. 3

                        Nice writeup! I’m not totally sold on the idea of mounting the disk inside the case. More stuff inside such a small case means less airflow, plus the disk will be generating its own heat. But hey, maybe it will work fine for you.

                        It’s not quite fanless but a few years ago I turned a chromebox into a Linux file server. It could do with a memory upgrade eventually but for now It’s still chugging away merrily with an external 3TB disk.

                        1. 1

                          Thanks! :)

                          The provided by Supermicro SC101i case steel disk holder will not fit that 15mm SATA 2.5 disk if I would rip it off the case so I decided to try something new and put it as it came with USB 3.0 attachment.

                          Using Chromebox also sound like a good idea for such setup.

                        1. 7

                          This is really neat. I also appreciate his thoroughness with calculating how much electricity the system uses and comparing that with the cost of the online providers. He does seem to leave out, or I missed it at least, that going with online backup providers does give you off-site backups which are key.

                          1. 1

                            Thank you :)

                            About off-site argument for the cloud storage solutions … this box I built while writing this article is my off-site backup box … and yes it physically is in the different location :>

                          1. 2

                            Syncthing does not work in a FreeBSD Jails virtualization

                            I’ve been running it in a jail for over a year, never heard of any problems o_0 All other instances connect to it just fine. Did you set up port forwarding properly? It needs tcp:22000 by default (you can specify any port when adding a device)

                            1. 1

                              I will have to test it again then …

                              I have tried to use two different FreeBSD hosts (all firewalls were disabled during the tests) and I was not able to synchronize/connect devices to Syncthing in a Jail …

                            1. 7

                              https://vermaden.wordpress.com/

                              Blog about BSDs/UNIX/Linux on Servers/Clusters/Backup/Virtualization but also on the Desktop.

                              1. 1

                                Love your blog. Keep up the good work.

                                1. 1

                                  Thanks ;)

                              1. 1

                                The video from the ZFS Boot Environments at PBUG talk has been uploaded online and its available here – https://youtu.be/t84s8DSgJRs – unfortunately its in Polish not English and subtitles are not available.

                                1. 1

                                  I like the idea, actually (and I subscribe to similar feeds, e.g. Sacha Chua’s emacs news).

                                  My biggest concern is the name: ‘Valuable News weekly update #26’ tells me nothing about your subject matter. Maybe change it, even to something like ‘Vermaden’s News’?

                                  1. 1

                                    Thanks for idea about the name.

                                  1. 2

                                    News and linkndumps aren’t really the sweet spot for content here.

                                    1. 2

                                      Thanks for input.

                                      1. 1

                                        Maybe it’s me, but in the last year or so I’ve started to hide quite a lot of stories posted here. It’s not yet HN, but we’re getting there slowly :/

                                        1. 6

                                          down and it looks like archive.org doesn’t have the page :(

                                          https://web.archive.org/web/*/riscv-basics.com

                                          anyone have a copy?

                                            1. 3

                                              Lobsters’ built-in “cached” button worked for me just fine: https://archive.is/https%3A%2F%2Friscv-basics.com%2F

                                              I wonder if they got embarrassed and took it down permanently.

                                              1. 2

                                                It works if you prepend “https://” to it: https://web.archive.org/web/*/https://riscv-basics.com

                                                There’s actually quite a few snapshot over less than 48 hours, I guess there were lots of people who though this might get taken down pretty quick.

                                              1. 1

                                                Small security update with 56.2.1 release.

                                                https://blog.waterfoxproject.org/waterfox-56.2.1-release-download

                                                1. 23

                                                  I think that ARM do not realizes what they just did.

                                                  Besides stupid idea aka ‘Get the Facts’ from Microsoft now people start to acknowledge what RISC-V is and that its an alternative to ARM.

                                                  Before ARM made that site people did not even knew RISC-V existed :)

                                                  1. 9

                                                    Before ARM made that site people did not even knew RISC-V existed :)

                                                    I’m just one data-point and I’m more of a software rather than hardware person, so I don’t really matter, but yes. I had no idea about RISC-V before Matthew Garret tweeted about this page. Nice to see an open design. This would definitely be something to consider if I ever have to deal with hardware at this level.

                                                    1. 4

                                                      I’m a little new to RISC-V but I see a whole lot of very familiar names up on this wall: https://pbs.twimg.com/media/DgyJOMwX0AAeSgx.jpg:large

                                                      So while it might not be as mainstream as ARM, my impression is that the industry knows about RISC-V and is watching it very carefully.

                                                    1. 2

                                                      OP: Do you know the history of this project? First I’ve heard of it.

                                                      1. 8

                                                        From the Wikipedia

                                                        Waterfox is an open-source 64-bit web browser, with an aim to be speedy, ethical, and maintain support for legacy extensions dropped by Firefox, from which it is forked on 27 March 2011.

                                                        Waterfox differs from Firefox in a number of ways by:

                                                        • Disabling Encrypted Media Extensions (EME)
                                                        • Disabling Web Runtime
                                                        • Removing Adobe DRM
                                                        • Removing Pocket
                                                        • Removing Telemetry
                                                        • Removing data collection
                                                        • Removing startup profiling
                                                        • Allowing running of all 64-bit NPAPI plugins
                                                        • Allowing running of unsigned extensions
                                                        • Removing of Sponsored Tiles on New Tab Page
                                                        • Addition of locale selector in about:preferences > General
                                                        • Defaulting to Bing as the search engine instead of Ecosia, Google or Yahoo![7]

                                                        IMHO it should default to DuckDuckGo search instead of Bing.

                                                        1. 5

                                                          I am okay with Bing default if it funds Waterfox development. I can easily change the default search engine myself, but maintaining those features require real resource.

                                                          1. 1

                                                            Wow, I had no idea! Thanks for the detailed response!

                                                            1. 1

                                                              Welcome ;)

                                                        1. 3

                                                          Not bad, good introductory info overall. Just one nit:

                                                          In any modern shell an alias(1) can also have arguments,

                                                          I’m not sure to which shell the author is referring, it doesn’t look to me like either bash or zsh (both of which I consider modern shells) support arguments to alias. The example that the author gives is:

                                                          alias lsg='ls | grep $1'
                                                          

                                                          This is exactly the same as:

                                                          alias lsg='ls | grep'
                                                          

                                                          because any arguments you pass to the alias are always appended to the expanded alias. If you try to put the argument parameter anywhere else in the alias, it doesn’t work:

                                                          $ alias foo='echo one $1 three'
                                                          $ foo two
                                                          one three two
                                                          
                                                          1. 1

                                                            Thanks for input, fixed.