• 0 Posts
  • 27 Comments
Joined 3 years ago
cake
Cake day: June 21st, 2023

help-circle
  • Calling it a fancy autocomplete might not be correct but it isn’t that far off.

    You give it a large amount of data. It then trains on it, figuring out the likelihood on which words (well, tokens) will follow. The only real difference is that it can look at it across long chains of words and infer if words can follow when something changes in the chain.

    Don’t get me wrong; it is very interesting and I do understand that we should research it. But it’s not intelligent. It can’t think. It’s just going over the data again and again to recognize patterns.

    Despite what tech bros think, we do know how it works. We just don’t know specifically how it arrived there - it’s like finding a difficult bug by just looking at the code. If you use the same seed, and don’t change anything you say, you’ll always get the same result.



  • So if I take a glass, fill it with cream, and put ice on top, am I now eating ice cream?

    Even if I decided to call it that, you’d probably tell me that no one else would think of that as ice cream, even if I call it such or even if it’s the technically correct name, and that arguing that it is ice cream is very pedantic for no discernable reason.








  • Or by configuring your parser.

    I do agree there are plenty of annoyances that shouldn’t exist in YAML but do because someone had an opinionated belief at one point, though. For example, it shouldn’t try to guess that “yes”, “no”, “y”, and “n” are truthy values. Let the programmer handle that. If they write true/false, then go ahead and consider those truthy. Times can also be a bit of a pain - iirc writing 12:00 is supposed to be interpreted as 0.5 - but at least that’s something you can work around.

    But there’s plenty in that article that are only problems because the writer made them problems. Every language lets you make mistakes, markup languages aren’t any different. It’s not a bad thing that you can write strings without quotes. It’s not forcing you to do so. Anchors also make it simple to reuse YAML and they’re completely optional. The issue with numbers (1.2 stays as 1.2 while 1.2.3 becomes "1.2.3" is very nitpicky. It’s completely reasonable for it to try to treat numbers as numbers where it can. If type conversion is that big of an issue for you, then I really doubt you know what you’re doing.

    On top of all this, YAML is just a superset of JSON. You can literally just paste JSON into your YAML file and it’ll process it just fine.

    I’m not saying it’s perfect, but if you want something that’s easy to read and write, even for people who aren’t techy, YAML is probably the best option.


  • It doesn’t have to be fire stations. But they are commonly used for a few good reasons.

    They’re relatively ubiquitous. It shouldn’t be hard for someone to locate a fire station. They’re almost always staffed 24/7. They’re trained on basic first aid. Quite often, they’ll even have medics on staff.

    Very importantly, though, they don’t have a lot of people coming in and out of them. One of the big benefits of this program is that there are zero questions asked and it’s as anonymous as you wish. The people who use these are often afraid they’ll be judged as a failure. The lockboxes have a built-in time delay so you can leave before the station is alerted.








  • droans@lemmy.worldtoMicroblog Memes@lemmy.worldHuh
    link
    fedilink
    English
    arrow-up
    7
    ·
    4 months ago

    Oxford states that the first known use of Gypsy was in 1514. It was popularized by Edmond Spenser and Shakespeare and has its entomological root from the Middle English word gypcian due to the misbelief that Romani people were from Egypt.

    So, to answer your question, no. The only Europeans in the Americas at this time were the Spanish.



  • Here’s a nice quote from The Communist Manifesto:

    What are the common wages of labour, depends everywhere upon the contract usually made between those two parties, whose interests are by no means the same. The workmen desire to get as much, the masters to give as little as possible. The former are disposed to combine in order to raise, the latter in order to lower the wages of labour.

    It is not, however, difficult to foresee which of the two parties must, upon all ordinary occasions, have the advantage in the dispute, and force the other into a compliance with their terms. The masters, being fewer in number, can combine much more easily; and the law, besides, authorizes, or at least does not prohibit their combinations, while it prohibits those of the workmen…

    We rarely hear, it has been said, of the combinations of masters, though frequently of those of workmen. But whoever imagines, upon this account, that masters rarely combine, is as ignorant of the world as of the subject. Masters are always and everywhere in a sort of tacit, but constant and uniform combination, not to raise the wages of labour above their actual rate… Masters, too, sometimes enter into particular combinations to sink the wages of labour even below this rate. These are always conducted with the utmost silence and secrecy, till the moment of execution, and when the workmen yield, as they sometimes do, without resistance, though severely felt by them, they are never heard of by other people…

    A man must always live by his work, and his wages must at least be sufficient to maintain him. They must even upon most occasions be somewhat more; otherwise it would be impossible for him to bring up a family, and the race of such workmen could not last beyond the first generation.

    Ah shit, never mind. This was from Adam Smith’s The Wealth of Nations