• 0 Posts
  • 39 Comments
Joined 1 year ago
cake
Cake day: July 11th, 2023

help-circle
  • That analogy was chosen for a reason. Ada was originally developed by DOD committee and a French programming team to be a programming language for Defense projects between 1977 and 1983 that they were still using at least into the early 2000s. It’s based on Pascal.

    It was intended for applications where reliability was the highest priority (above things like performance or ease of use) and one of the consequences of that is that there are no warnings - only compiler errors, and a lot of common bad practices that will be allowed to fly or maybe at worst generate a warning in other languages will themselves generate compiler errors. Do it right or don’t bother trying. No implicit typecasting, even something like 1 + 0.5 where it’s obvious what is intended is a compiler error because you are trying to add an integer to a real without explicitly converting either - you’re in extremely strongly-typed country here.

    Libraries are split across two files, one is essentially the interfaces for the library and the other is it’s implementation (not that weird, and not that different than C/C++ header files though the code looks closer to Pascal interface and implementation sections put in separate files). The intent at the time being that different teams or different subcontractors might be building each module and by establishing a fixed interface up front and spelling out in great detail in documentation what each piece of that interface is supposed to do the actual implementation could be done separately and hypothetically have a predictable result.





  • Eh, some of them. You weren’t generally banned for “merely” being right wing. But pre-Elon you generally had to toe the line a lot more to avoid being suspended or banned if you were overtly right wing than if you were liberal or left and now it’s the other way around.

    Just like how the blue check started as an “I am a public figure and this account is definitely who I appear to be” mark and that’s it, then it became a mark of who you knew/could bribe at Twitter to move the process along and could be revoked for saying the wrong things on Twitter (for example everyone’s least favorite gay right wing provocateur Milo Yianwhatever had his blue check stripped for saying something too offensive well before he was banned), then post-Elon it became just a subscription service.

    There was also a tendency to quietly artificially reduce visibility for a lot of right wing voices or hashtags. For example, female MRA and member of Honey Badger Radio Hannah Wallen literally got a bunch of her fans to do some pretty elaborate testing of her account at one point after her engagement numbers suddenly and mysteriously dropped and it turned out many of her posts were invisible except to people that followed her that she also followed, even to people specifically looking at her feed.

    Certain right wing hashtags would have numbers that should definitely have them trending but mysteriously weren’t (or would be for just a few minutes and then suddenly vanish despite gaining popularity in the meantime), certain liberal/left hashtags would be trending despite seemingly not having the numbers for it to be organic, that sort of thing. Because Twitter moderation was curating what was and was not “trending”, literally blacklisting certain topics and bumping up others because of the visibility that being trending would afford.

    It was all really, overtly obvious if you watched for it, like how certain accounts would be shadowbanned on Reddit for reasons that were both obvious and not spam-related despite shadowbanning supposedly only being employed as an anti-spam tool, or how certain subs would be allowed to openly ignore certain sitewide rules.



  • and suggestions that ‘any instance is fine’, although true in a technical sense - is a little misleading

    I’d say more than a little. I always suggest they look at the instance rules and also who the instance blocks to make sure they’re OK following those rules and being blocked from that content before picking. Part of why I picked SDF was that they block no other servers.

    I think the blurring of the lines between developers of the Lemmy open source project, and admins of the lemmy.ml instance is a self-sabotaging and tone-deaf reflection on the site, and hurts chances of wider adoption.

    Why? They explicitly haven’t baked any of their moderation/administration preferences into the code and have rejected suggestions that they should bake things along those lines into the code. If they decide to, that sounds like an awfully good reason for a fork. You don’t have to love the devs and their politics to use the software they developed, though you should probably be on board if you want to use the instance that they run.


  • The easiest way to explain it is to compare it to email.

    You know how you might have a gmail address, your friend might have a protonmail address and your parents might still have their old aol email address? But you can all still freely talk to each other anyways?

    Lemmy is like doing that, but for something like Reddit. If you notice, usernames have an @servername on the end and just like an email address that’s the server that person is connecting through. For example, I’m Schadrach@lemmy.sdf.org.

    Which means I log in to lemmy.sdf.org and use their servers to read Lemmy, but I can read, post and comment on communities on any other Lemmy server that is federated with lemmy.sdf.org just like they’re on lemmy.sdf.org just like you can send an email to someone using a different email service and it makes no difference on your end.

    Communities work the same way - so for example politics@lemmy.ml, politics@beehaw.org and politics@lemmy.world are all different communities hosted on different servers with their own separate posts, subscribers, mods etc. And users on any Lemmy server federated with the server that community is on can read, comment, post, etc (mod action notwithstanding).

    This federation thing I keep mentioning is just which servers are willing to talk to which other servers - again you can compare to email. Sometimes email servers pop up to send massive amounts of spam, and when they do mail providers blacklist them and simply ignore all messages from that source. Defederating is the same idea. You use lemmy.world according to your username, so if lemmy.world defederates lemmy.ml then you will no longer be able to see any communities @lemmy.ml or read any posts or comments posted by someone @lemmy.ml - to you it will be like lemmy.ml just doesn’t exist.

    If you scroll to the bottom of the page, you’ll see a link labeled “Instances”, which will give you a list of which servers lemmy.world talks to and which ones they’ve specifically blocked. Lemmy.world has a pretty long list of blocked instances.

    One of the reasons I picked SDF’s lemmy instance was because they don’t block **any **instances - as far as SDF is concerned it’s up to the end user what they want to see. Also SDF is kinda a cool entity - they’re a non-profit best known for maintaining public access unix servers and a bunch of retrocomputing stuff (like dial up internet and a gopher server) that has been around since 1987 (the name is literally an old anime reference because they started out as an anime BBS).


  • I don’t know how to best deal with such indoctrination chambers. Their members become completely divorced from reality and there’s no way to pull them back from the brink because anything you could say to that effect gets moderator-deleted. Yet vice versa, they can freely spread their propaganda and engage in “raids” on other instances.

    This is essentially the same problem Reddit has (mods/admins can control what is discussed on their boards), stems from the same place (mods/admins have essentially unlimited power over their boards/instances), and has the same basic solution - let the echo chamber echo chamber and create alternative communities that don’t have that problem. And on the upside, since this is a federated space you can just have whatever@otherserver.net instead of r/truewhatever7alpha.

    It’s just more noticeable here because the censorious leftward fringe is both more extreme and more aggressive about it.

    At least we haven’t started getting mods running bots to auto-ban anyone who has ever interacted with other specific communities yet.








  • As the size of the pyramid increases the obvious algorithm (walking all the routes down the tree) is going to fall afoul of the time limit pretty quickly, as are several alternative algorithms you might try. So a pyramid 100 or 1000 levels deep very rapidly falls out of the time limit unless you choose the right algorithm because there are 2^(n-1) paths for a n-level pyramid. I’d suggested a…much bigger dataset as one of the judgement datasets One that took my reference implementation about 15 seconds.

    This was a contest for high school kids c. 2001 and was going to involve 4 problems across 6 hours. The prof making the decision thought it was a bit much for them to figure out why the algorithm they were likely to try wasn’t working in time (noting that the only feedback they were going to get was along the lines of “failed for time on judgement dataset 3 with 10000 layers”, that it was because it was a poor choice of algorithm rather than some issue in their implementation, and then to devise a faster algorithm and implement and debug that all ideally within 1.5 hours.

    For example, the algorithm I used for my reference solution started one layer above the bottom of the pyramid, checked the current number against either child it could be summed with, replaced the current number with the larger sum and continued in that fashion up the pyramid layer by layer. So, comparison, add, store for each number in the pyramid above the bottom layer. When you process the number at the top of the pyramid, that’s the final result. It’s simple and it’s fast. But it requires looking at the problem upside down, which is admittedly a useful skill.


  • the Citizens United case - which gave corporations First Amendment rights

    SCOTUS has generally defended the idea that corporations have first amendment rights since Grosjean v. American Press Co. in 1936 - a case where a Senator pushed for a tax designed to target papers critical of him and tax them into submission.

    To quote Wikipedia on the case:

    The case is often cited because it defined corporations as “persons” for purposes of analysis under the Equal Protection clause.

    The Citizens United case was that a corporate entity or nonprofit distributing political messaging about a candidate is not considered a campaign contribution (even when it costs them to do so) so long as the entity in question is not attached to or coordinating with the campaign.


  • See, when I was a comp sci undergrad 20-odd years ago our department wanted to do a programming competition for the local high schools. We set some ground rules that were similar to ACS programming competition rules, but a bit more lax - the big ones were that it had to run in command line, it had to take the problem dataset filename as the first parameter and it had to be able to solve all datasets attempted by the judges in less that 2 minutes per dataset, noting that the judgement datasets would be larger than example ones.

    Some of the students were asked to come up with problem ideas. I was told mine was unfair, but mine was entirely about choosing the right algorithm for the job.

    It went like this - the file would contain a pyramid of numbers. You were supposed to think of each number as connecting to the two numbers diagonally below it and all paths could only proceed down. The goal was to calculate the largest sum of any possible path down.



  • so I don’t understand what your point here is

    It’s that all the articles over the last year screaming about the dangers of AI because it can be used for something an interested high school student could use an image editor to do 30 years ago but more easily and arguably at somewhat better quality (depending on the person using photoshop) are being ridiculous because they’re blaming the technology instead of the weirdo using it to doctor an image of that girl at their school and pass it around. And yes, anyone who makes and distributes on of these images of someone should be nailed for revenge porn, harassment and whatever else might apply. I say “and distributes” only because if they never distribute it no one would ever know it exists so there would be no opportunity to bust them.

    The best use (ie only good use) for one of these is to feed it an image of something that is definitely not the right kind of image for it and seeing what horrors it invents trying to fill in the blanks. Hand it your buddy with a beer belly and a mountain man beard or a dog or garden gnome something.