• 0 Posts
  • 19 Comments
Joined 3 years ago
cake
Cake day: June 15th, 2023

help-circle









  • Agree with several people here that named parameters are a good solution, they add minimal overhead at the call site and function declaration and look very natural.

    Another option for languages that want function arguments to have fixed size is bitmasks. I wonder if it could be a useful language feature to infer the flag names from the function declaration. Something like

    def my_function(arg1, arg2, [FLAG1, FLAG2]) {
        if (FLAG1) {
            do thing
        } 
       ...
    }
    
    my_function(val1, val2, FLAG1 | FLAG2)
    







  • Seems like a pretty fun language with an unfortunate amount of 90s baggage.

    However, I firmly believe that trying to de-parenthesise lisp is a distraction. The main reason being that s-expressions make the beloved code=data concept very obvious.

    A suitable editor makes it really easy to ignore the parens (until they’re useful, e.g. for navigation). When reading, the structure of the code is inferred from indentation and line breaks. Just like C.


  • Be aware there are basically two different things called Owncloud. There’s still the original php version, which is similar to nextcloud but worse (not open source, smaller plugin ecosystem I think)

    On the other hand is owncloud “infinite scale” (or ocis). This is the thing entirely written in go. But as others have pointed out, it’s little more than a file server at this point.

    IMO the self-hosting community is really missing a self-contained “all the DAVs” server (files, calendar, contacts). Baikal etc seem like a great start, but it would be great to have somewhere to get those parts pre-assembled. Until then, nextcloud works for me.


  • The Koru is a 416-foot masterpiece with three towering masts, each standing 230 feet tall, that harness kinetic energy to propel the vessel. The yacht is so massive that, for it to leave the shipyard after completion, a historic bridge in Rotterdam had to be dismantled. Bezos even offered to fund the dismantling and reconstruction of the 95-year-old De Hef bridge but later abandoned the plan amid public outcry. Eventually, Koru was towed away without her masts, which were later assembled.

    The tone of this article is astonishing. “He even offered to pay to vandalise a historic building”, how selfless…