Skip Navigation

帖子
2
评论
378
加入于
2 yr. ago

  • You say that, but elephants, which are the largest animal alive on land today, are surprisingly quiet. They've got very padded feet to support their enormous weight, which means they move very quietly.

    Now, not seeing them? They were big bastards. Need some trees to hide in.

  • Google did claim "half their new code" was AI-generated; obviously, take that with a pinch of salt, since they've a vested interest in promoting LLM.

    Speaking as a professional dev, about half of my lines-of-code consists of whitespace, opening-and-closing marks for the javadocs, and such matters as function, method and class definitions and their matching curly-close-brackets. My IDE generates all of that for me, but I dare say that I could use an LLM to do it as well, and then "half my code" would be AI-generated as well.

    My colleagues who are most enthusiastic about AI do turn in some right shit for code review; I suppose the best of it is over-complex and has confused error handling. They also tend to have about a hundred lines of what they've changed in the pull request description, and little or nothing about why. Github shows me what you've changed, I'm only interested in why you've done it, so that's actually providing negative value by wasting my time having to read it.

  • Freedom

    跳过
  • Yeah, swapped out grub for systemd-init on a running Arch system not too long ago. Arch is cool with it. Be sure not to make any really bad typos while you've not got a boot manager, of course.

  • Once you start Vim, you don't even need to activate the lock screen when you leave your desk. Ain't no-one going to be using that machine for anything nefarious any more.

  • Us Scots can say our aitches - always annoys me to hear "an hospital" on the BBC.

    Faaking Laanduners - that's who'll be saying "an hero".

  • Money is an emotional thing. Do I believe that this coin / bit of paper / number on a website is something that I can exchange for goods and services? If not enough people believe that, that currency will collapse.

    Mind you, not using money is inefficient at scale. Sending the bag of potatoes that I've grown in my garden this month to my internet provider for continued shitposting privileges only goes so far.

  • That's beautiful work, dude/dudette. I'd be pleased to have that as my notebook cover; you've some real skill, there.

  • Beautiful creatures with excellent names.

  • Guardian-reading lefty here. You got any links to actual transphobic articles in the Guardian itself? I've been reading it for years, and have never noticed anything like that, particularly it being a stance. Would be very disappointed in them if so.

    That link says that there have been 1100 articles in the Guardian, and also well-known right wing rags the Times, Mail and Telegraph, "most of" which are attacks. Bizarre to group those four papers together; one of them is very much not like the others. I would believe it of the other three, of course.

  • Hey! The images of Ryugu that were taken from Hayabusa2. What a sad lonely rock that place is - a loose collection of boulders in an endless orbit, in which it will probably continue without further interaction from now until the end of time. You could sneak a few ghosts onto that place, right enough, and no-one would notice.

  • As an aside, the Mars rovers are much larger than this - we don't see them side-by-side with people for comparison very often. Curiosity is the size of a car - three metres on a side, two metres tall, and weighs the best part of a tonne.

  • Heard it doesn't take him much at the moment - the slightest chuckle will probably do.

  • It's one of those materials that has an almost complete list of superb properties, with one overwhelming downside. It's cheap, abundantly available, completely fireproof and can be woven into fireproof cloth, adds enormous structural strength to concrete in small quantities, very resistant to a wide range of chemical attacks. It's just that the dust causes horrific cancers. See also CFCs, leaded petrol, etc, which have the same 'very cheap, superb in their intended use, but the negative outweighs all positives'.

    One of the 'niche industrial applications' was the production of pump gaskets in high-temperature scenarios, especially when pumping corrosive liquids. We've a range of superalloys that are 'suitable' for these applications - something like inconel is an absolute bastard to form into shapes, but once you've done so it lasts a long time. But you still need something with similar properties when screwing the bits together. For a long time, there was no suitable synthetic replacement for asbestos in that kind of usage.

    If you know that the asbestos is there, have suitable PPE and procedures, then IMHO it's far from the worst industrial material to work with. It's pretty inert, doesn't catch fire or explode, and isn't one of the many exciting chemicals where a single droplet on your skin would be sufficient to kill you. What is inappropriate is using it as a general-purpose building material, which is how it was used for so long, and where it was able to cause so much suffering for so many people.

  • From a UK perspective, a lot of US cars would be illegal to drive on public roads here - too large, too dangerous for pedestrians and other road users. "Dangerous" also applies to some of your other potential exports too. Chlorinated chicken, for instance, isn't considered safe for consumption. So the absence of a market for those goods isn't simply "customer preference".

    As a European, we've been too dependent on the US on some things for too long. We need to be more independent. The situation in Ukraine has shown that; we need to be able to support our allies better. But the US trashing their own economy, making themselves into global pariahs and handing over their superpower status to China is what I would have described as "not my dream way" of achieving that.

  • Nut nut

    跳过
  • They're occasionally the crisp of choice in pubs; an excellent accompaniment to an 80/-. Suppose there's worse criteria for your pub crawls. But aye, a weird omission - you'd be thinking there's plenty of wagons on the Stranraer ferry that could bring a few palletloads over.

  • If I believed that they were sincerely interested in trying to improve their product, then that would make sense. You can only improve yourself if you understand how your failings affect others.

    I suspect however that Saltman will use it to come up with some superficial bullshit about how their new 6.x model now has a 90% reduction in addiction rates; you can't measure anything, it's more about the feel, and that's why it costs twice as much as any other model.

  • A binary tree is one way of preparing data, usually for sorting. Each node can have a left, right, or both, children.

     
        
      A
     / \
    B   C
       / \
      D   E
    
      

    "Inverting the tree" means swapping the children for each node, so that the order that the nodes are visited is reversed. Depending on whether you want to copy the tree or swap it in place then the algorithm is different. C++ provides iterators too, so providing a "order reversed" iterator can be done efficiently as well.

    You're going to have to visit every node and do at least one swap for every node, and an efficient algorithm won't do much more than that. Bring unable to do it suggests that the student programmer doesn't understand stacks or recursion yet, so they've more to learn.

  • Snow Fuff

    跳过
  • It's easy to tell the difference between stoats and weasels. One is weasily recognised and the other is stoatally different.

  • Lunacid is awesome - old-school dungeon crawling with slick controls. The speed and smoothness makes fighting all the old enemies new again.

    The Kings Field games are... very hard to love. They're old-school dungeon crawlers with the most awful, clunky controls that you can imagine. They're all "pre-Miyazaki" FromSoftware games; don't expect many Souls-like touches. Getting killed by a skeleton because you can't turn round to face it in time, or falling down a hole because judging how far you've walked forward is difficult? Far more likely.

    A Lunacid follow-up with a little more Ultima / Wizardry about it would be amazing. Bit more environmental variety, a few more RPG trappings, and for the love of all that is holy, a minimap. But I can't see how that would be better done in Sword Of Moonlight rather than just adding them to their existing engine.

  • Panik

    跳过
  • After having used Grub for about twenty years (eek) I was uncertain about the alternatives, but systemd-boot is absurdly better. Much better configuration, much better documentation, fixes a while pile of bugs that Grub team had as "won't fix" for years and years. No reason to ever go back.