1. 19

    Some rough thoughts: I guess I am a bit curmudgeonly about the term “crypto” getting taken over by “cryptocurrency” after several decades of use, it’s a bit galling to cede the term. Though at some point, yeah, it’s a practical reality that’s not worth confusing people over. We’ve seen cryptocurrency promotion get tagged both with crypto and merkle-trees so I’m not really sure expanding to cryptocurrency would change anything; I think all technical communities are going to continue to suffer from promotion for at least a few more years.

    Worth discussing, though, maybe someone has more pros or cons? Maybe it’s worth just trying for a year?

    1. 6

      I think the realistic view is that it has become ambiguous and would be regardless of what the new referent that “takes over” is. What are the cons in expanding it to “cryptography” exactly? I don’t see any, only pros.

      1. 5

        I’ve renamed the crypto tag to cryptography. There’s strong support for it, it’s cheap, and implicitly ceding a little ground to scammers is a pretty negligible downside.

        1. 2

          I would rather not have any bitcoin related stuff on the site if possible.

          1. 2

            Add a cryptocurrency tag, then when used, show a warning like with banned domains and don’t submit the url. Sort of like a fishbait tag. You can add one for business news as well. Preventive moderation of sorts

            1. 1

              Tbh, I’m pretty appreciative of the similar stance for the ml tag.

              On another note, I do kind of wish there was a more general programming-languages or pl-design tag, as a lot of things that get tagged plt aren’t really PL theory, more about PL design etc?

              1. 1

                What do you think about this plan:

                1. Add suffix for cryptography
                2. Add cryptocurrency
                3. Hotness mod cryptocurrency of -0.5
                1. 1

                  There are technical aspects of cryptocurrencies that are technical, on-topic, insightful (presumably? I don’t read them), and I don’t think it would be fair to apply a hotness downgrade to them.

                  The problem is cryptocurrency promotion/spam, which isn’t on-topic at all. Lobsters also gets a fair amount of spam on other topics like cloud wazamabobs we don’t downgrade the entire topic for it.

                  1. 2

                    If it’s described as a cryptocurrency, then it’s likely already moved into the scam category. There are interesting uses for verifiable append-only ledgers. There are interesting use cases for distributed consensus algorithms. These have nothing to do with cryptocurrencies other than the underlying technology.

                    1. 1

                      I do happen to agree that at a first approximation all cryptocurrencies are scams, but even a more charitable reading would lead them to fall under the umbrella of “business news” and thus off-topic anyway.

                    2. 1

                      I thought we use merkle-trees for the technical aspects?

                      A downgrade is just a downgrade; e.g. culture tags are downgraded. If the link is good, votes will still rise it to the top.

                  2. 1

                    I am in favor of expanding the existing tag to cryptography and keeping the implicit ban on cryptocurrency promotion by only keeping the relevant merkle-trees tag.

                  1. 1

                    So like a const variable in c++?

                      1. 4

                        “re-legend-able”: You can change the labels (legend) on these keys.

                        1. 1

                          Did I mess up the spelling? My spellchecker didn’t know the word relegendable, but I suspected it to be a fault of my dictionary for aspell…

                          1. 1

                            It’s fine. My eye saw “rele-gen-dable”, so I didn’t understand what the word was or how to search the web for it. All the search results were for customizable keycaps… so I tried searching for “relegen” and got more confused, but the word “legend” did appear in those results, then I figured it out.. :)

                        1. 1

                          If you want to forward jist one applic5 you can do so by adding a line to your docker run command. I have a example here: https://raymii.org/s/tutorials/Running_gnash_on_Ubuntu_20.04.html

                          1. 7

                            Wait, is applic5 a typo? Or is it shorthand like i18n? If shorthand, did you just make it up? It seems like such an arbitrary spot to split it. Also why not just use “app”.

                            Sorry for the 21 questions, but I just woke up and it seemed so funny and out of place to me.

                            1. 2

                              That was a typo indeed. On mobile, so probably didn’t notice the autocorrect failure. I do understand your confusion with i18n yes.

                              1. 1

                                I have never ever seen anyone use that word, so probably something @raymii made up :).

                            1. 1

                              I have NetBSD on my 164LX, but Tru64 seems “more appropriate.”

                              1. 1

                                I’d love to have some actual Alpha hardware to play with. Shipping to NL is impossible or way too much cost sadly…

                                Does your box look like this one: https://www.vogons.org/viewtopic.php?t=54566 ?

                                1. 1

                                  At the start of the millenium I picked up an AlphaStation that was being decommissioned by a customer and installed OpenBSD on it. It was kinda fun. The machine made a noise not unlike a jet engine when powered on.

                                  1. 1

                                    Yes, that’s the board, though I put it in a very sexy Nanoxia black case and custom printed Alpha stickers for it. It’s my “pimp box.” Goes well with the fire-engine red SGI Fuel next to it.

                                1. 4

                                  Xephyr is usually a better option than Xnest. Xnest forwards commands to the parent X server and sometimes (fairly often) ends up with a buggy translation. Xephyr is an X server that runs on top of an X server, so gives a 100% compatible interface to the programs that connect. Both are maintained as part of X.org.

                                  1. 1

                                    Xephyr is not included in the base system install (with X11 enabled). Xnest is included, so on architectures where compiling packages is slow or binary packages are not available, this is the fastest way to a GUI (except for on screen, but maybe you’re emulating or have no screen). I do agree that there are better options than Xnest. In my OpenVMS articles I’ve used Xephyr in the examples, and often I reach for VNC.

                                  1. 7

                                    To be clear, these are 2 years old. They’re great additions and I use them daily, but “new to git” is misleading.

                                    1. 9

                                      I’d never heard of them before, even though I use git on the command line on a daily basis. For me, I know checkout, but explaining to co workers, switch is a lot easier.

                                    1. 1

                                      I tried doing the same (edit: or rather, I tried this, but just with a custom case, and no SSD), and it was surprisingly effective and helped with focus, but the one thing that killed it for me was the SD card dying.

                                      I really wish there was some way to trivially attach an NVMe drive to it. Maybe this case would make it worth trying again?

                                      1. 1

                                        Jeff Geerling has a write up on the case: https://www.jeffgeerling.com/blog/2021/argon-one-m2-raspberry-pi-ssd-case-review - that review was what made me buy and try it. Otherwise I hate SD cards, back in 2015 I already wrote about issues with the Pi and SD cards: http://raymii.org/s/blog/Broken_Corrupted_Raspberry_Pi_SD_Card.html

                                      1. 5

                                        At home I’m using a small ARM device (Raspberry Pi 4 with an SSD) as my main computer

                                        I was interested to learn the why behind this choice but I didn’t think it was covered in the post?

                                        I toyed with a Pi 4 as a desktop for a bit too, out of curiosity mainly. It works pretty well—especially native binaries. Browsing and web applications, as well as things implemented in scripting languages like Python were where it fell down for me. You could only keep a limited amount of tabs active at a time and it became quite clear in things like modern chat applications that a lot of JS was running on every keystroke.

                                        It was great for finding slow paths in my usual set up though. The multi-second lag starting a new zsh instance prompted me to replace nvm with fnm for instance.

                                        1. 6

                                          You could only keep a limited amount of tabs active at a time and it became quite clear in things like modern chat applications that a lot of JS was running on every keystroke.

                                          modern software is an absolute travesty

                                          1. 3

                                            and it became quite clear in things like modern chat applications that a lot of JS was running on every keystroke.

                                            This describes my snappy-feeling. I have teams running and although it works, it isn’t pleasant. Switching from one chat to another takes 5 seconds. I really hope that someday someone makes a teams plugin for pidgin.

                                            I was interested to learn the why behind this choice but I didn’t think it was covered in the post?

                                            The why behind it has to do with my commute and the weight of my backpack. For the past few years I’d only have work computers at home, sometimes workstations and sometimes laptops (heavy due to the specs). Nothing that actually was mine. We are going back to the office instead of full remote and what drew me over the line was the weight of my current work laptop. When cycling to work its really noticeable if you have 3 kilograms less weight in your bag. Without laptop and power brick, I’m only carrying lunch, a tire repair kit and my wallet. Why not leave the laptop at work? Well, it’s uncertain if the next day I’ll be at work due to covid. Maybe a coworker has to quarantine and so do we or maybe the rules change.

                                            1. 2

                                              Even lighter would be a VM that you hibernate to a thumb drive, and performance would be comparable.

                                              (Edit: on my initial read I thought you were toting the pi instead of the laptop, but after a second read, it sounds like maybe you’re just using it as a home computer and not toting any computing device?)

                                              1. 1

                                                Seems like a great solution. Less to cart on the bike and a super cheap home computer.

                                                1. 1

                                                  Have you any idea what KDE is doing that would cause issues with snappiness - assuming you are noticing some effect on non-KDE apps?

                                              1. 74

                                                Thanks for all the work you and many others have done over the years! This is a much better online community than many others and much of that is due to the often invisible work all y’all do!

                                                1. 18

                                                  Agreed! Thank you to @pushcx! (Next to Christine I haven’t seen any new mods, yet?)

                                                1. 4

                                                  So, what programming languages are supported? I see a few examples in the demo tabs, python, ruby, typescript, but no definitive list.

                                                  1. 5

                                                    Python, JavaScript, TypeScript, Ruby and Go.

                                                    1. 2

                                                      GitHub employee here, but not working on Copilot. Copilot works on lots of languages. It has the best support for Python, JavaScript, TypeScript, Ruby, and Go but it should work well on any somewhat well-known language. For example, it works fairly well on Clojure. For a laugh I tried it on Q and it didn’t seem to really work, though perhaps I needed to work with a larger file.

                                                    1. 9

                                                      How do you know which styles to use?

                                                      Like, say:

                                                      .tabbrowser-tab[selected] .tab-background {
                                                          background: #75cc00 !important;
                                                      }
                                                      

                                                      How do you find out that you need to use those specific class names?

                                                      I tried looking this up, but came back rather empty-handed. Loads of examples abound, but it’s never very clear to me what classes apply to what exactly and how people figure out what the class names are in the first place.

                                                      1. 21
                                                        1. 3

                                                          Aha, brilliant! Thank you

                                                          1. 3

                                                            Thanks! I’ve cited you in the post, as my changes only involved editing existing styles from other people.

                                                        1. 1

                                                          Or you could switch to firefox ESR. If you do this, you’ll have to start FF the first time with --allow-downgrade, and maybe futz around with ~/.mozilla/firefox-esr/profiles.ini. Consider enabling the telemetry so that they can tell.

                                                          1. 1

                                                            What is it?

                                                            1. 2

                                                              ESR versions of Firefox are the Enterprise/Extended Support Release versions. They get (some) security updates but no new features. A maintained version of an older Firefox, that updates only yearly or so. Eventually it will also switch to a Proton version of Firefox. Just later.

                                                              Switching to ESR is essentially downgrading which comes with the profile data hazards that you typically get when downgrading a software but not it’s configuration. Make a backup before you try it.

                                                              1. 2

                                                                Would it also be an idea to use Seamonkey? Or does that lack behind severely?

                                                                1. 2

                                                                  It had a release 2 months ago - it lags significantly behind Firefox development, but is still quite useable if you don’t need modern features. Getting add-ons to work can be a faff though.

                                                                  1. 1

                                                                    This is the first time I hear of SeaMonkey in years. Afaiu it’s an independent community project. I honestly don’t know more.

                                                            1. 1

                                                              Someone needs to make something like this that also avoids using the shell. Like posix_spawn.

                                                              In other words, the argument list needs to be an array, not a string, to save the user from invoking the shell with improper quoting. A command is fundamentally an argument array, and saving the user from having to concatenate this into a string, just so the shell can undo it, avoids an irritating, error prone and unnecessary step.

                                                              1. 2

                                                                There is boost process: https://www.boost.org/doc/libs/1_76_0/doc/html/boost_process/design.html#boost_process.design.scope

                                                                But that is still a wrapper around os functions.

                                                              1. 1

                                                                Rerouting 127.0.0.0/8, now that would be a fun thing to expiriment with

                                                                1. 1

                                                                  Prior to the VNET work, you would often do shenanigans with loopback adaptor to give each jail a separate IP on a FreeBSD machine. I had one setup where each jail had a different IP in the 127.0.0.1 subnet for its loopback adaptor and localhost set up to point to that address in /etc/hosts.

                                                                  In hindsight, it probably wasn’t a good idea.

                                                                  1. 1

                                                                    TFA says:

                                                                    …and it certainly will not be done by mistake.

                                                                    I dunno – I’m sure there’s amusing experimentation to be done there, but it also seems like the kind of thing where, in the rare cases in which it does happen, odds of it being unintentional might actually be quite high.

                                                                    1. 1

                                                                      I worked on a multi-cpu system (connected via Ethernet over PCIe) that was logically one “system”, and we used a portion of 127.0.0.0/8 to direct traffic to the other CPUs. Unusual, perhaps, but it worked and was purely internal.

                                                                      This change in curl wouldn’t have changed anything though, as 127.0.0.1 was still localhost.

                                                                    1. 3

                                                                      Summary:

                                                                      Having confirmed that fragmentation was indeed the root cause of our memory issues we decided to enable jemalloc permanently.

                                                                      Interesting article overall, diving into monitoring and java internals.

                                                                      1. 2

                                                                        Nice, but it’s a lot less useful if we can’t exclude more than one regexp at a time. (When I tried to redo the command, it replaced the previous filter i.e. brought those initially-filtered lines back again.)

                                                                        1. 7

                                                                          I’ll add it to the text of the article, it is in the gif, but you can use a regex. So to filter out a and b, you’d type

                                                                          &!a|b
                                                                          

                                                                          (Terms split by a pipe)

                                                                        1. 3

                                                                          Imagine there still being a real world use case for a modern dos compiler :O (except for fun like this)

                                                                          1. 25

                                                                            I’m very glad to see replies back. Thanks to everyone who works and supports this site for free and in their spare time.

                                                                            1. 4

                                                                              Agreed with the kind words above. I had 105 unread replies, great to see that working again!

                                                                              What does the traffic option do?

                                                                              1. 4

                                                                                What does the traffic option do?

                                                                                The shade of red of the “L” logo in the top-left corner changes depending on how much traffic the site gets. If you hover your mouse you see the number (currently: 20%). This is based on the min() and max() of votes, comments, and stories of the last 90 days in 15-minute blocks. Details.

                                                                                I personally never quite understood why this is useful though.

                                                                                1. 4

                                                                                  For growth hackers to find the perfect time to post :)

                                                                                  1. 4

                                                                                    Where’s the flag option for “uncomfortable truth I don’t want to hear”? :P

                                                                                  2. 3

                                                                                    It doesn’t have to be useful to be fun to implement ;)

                                                                                    1. 2

                                                                                      Not particularly useful… Notably interesting, somewhat charming.