Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)T

🇨🇦 tunetardis

@ tunetardis @lemmy.ca

Posts
2
Comments
305
Joined
3 yr. ago

  • I started in C and switch to C++. It's easy to think that the latter sort of picked up where the former left off, and that since the advent of C++11, it's unfathomably further ahead. But C continues to develop and occasionally gets some new feature of its own. One example I can think of is the restrict key word that allows for certain optimizations. Afaik it's not included in the C++ standard to date, though most compilers support it some non-standard way because of its usefulness. (With Rust, the language design itself obviates the need for such a key word, which is pretty cool.)

    Another feature added to C was the ability to initialize a struct with something like FooBar fb = {.foo=1, .bar=2};. I've seen modern C code that gives you something close to key word args like in Python using structs. As of C++20, they sort of added this but with the restriction that the named fields have to come in the same order as they were originally defined in the struct, which is a bit annoying.

    Over all though, C++ is way ahead of C in almost every respect.

    If you want to see something really trippy, though, have a look at all the crazy stuff that's happened to FORTRAN. Yes, it's still around and had a major revision in 2018.

  • I'm in a band that performs on occasion at CFBs (Canadian Forces Bases). We typically eat there and spend the night either in barracks or guest housing.

    I have noticed that when we play for officers, dinner is like steak and lobster. When we play for enlisted, it's more like high school cafeteria. The one and only time I had to excuse myself towards the end of a concert and miss the closing number was after eating at the enlisted mess and getting explosive diarrhea.

  • Many renewables are stuck in the “interconnection queue,” a long line of projects waiting to get connected to the grid. According to Lawrence Berkeley National Laboratory, more than 1,500 gigawatts of power, mostly renewables, are waiting for approval to connect. (That’s more than one-third of all the power produced in the United States.)

    That is really unfortunate. I'm in Canada, but it wouldn't surprise me if we are in the same boat. Where I live, there is a lot of wind and solar going in, but my understanding is that this is in part because it's one of the rare areas with an under-capacity grid that is not too far from several major urban centres.

    And you can see how important the grid layout is in that solar farms are popping up mostly along large transmission corridors, presumably to allow for easier connection. This is less evident with wind, since geography plays a bigger role in where you want to put a wind farm for optimal results.

    It makes me speculate that renewables like wind and hydroelectric (including pumped hydro storage) which are less negotiable in terms of location compared to solar are more likely to be waiting a long time on this interconnection queue? I don't know if that is actually the case though.

  • So the next captcha will be a list of AI-generated statements and you have to decide which are bat shit crazy?

  • void *

    Jump
  • Fair, though I guess my interpretation was that void* is kind of like a black hole in that anything can fall into it in an unsettling way that loses information about what it was?

  • "Recall uses Copilot+ PC advanced processing capabilities to take images of your active screen every few seconds,"

    Seems like a lot of extra disk thrashing that would shorten the life expectancy of an SSD? Like it would be considerably more than your usual background chatter of daemons writing to log files and what not. Unless I'm misunderstanding this?

  • We need to watermark insert something into our watermark posts that watermark can be traced back to its origin watermark if the AI starts training watermark on it.

  • I'm with you on this one. There are lyrics on almost every single track for crying out loud. Throw us instrumental lovers a bone won't you? Songs that are lyrically driven but are otherwise super-repetitive instrumentally tend to put me to sleep.

    What I love about concerts is when the band goes off script and just starts jamming. Even a 5-minute drum solo will have me grinning ear to ear, and that's what I'll be remembering on the way home.

  • I think I could get very nervous coding for the military, depending on what sort of application I was working on. If it were some sort of administrative database, that doesn't sound so bad. If it were a missile guidance system, on man! A single bug and there goes a village full of civilians. Even something without direct human casualties could be nerve-wracking. Like if it were your code which bricked a billion-dollar military satellite.

    Speaking of missile guidance systems, I once met someone who worked a stint for a military contractor. He told me a story about a junior dev who discovered an egregious memory leak in a cruise missile's software. The senior dev then told him "Yeah, I know about that one. But the memory leak would take an hour before it brings the system down and the missile's maximum flight time is less than that, so no problem!" I think coding like that would just drive me into some OCD hell.

  • I have only written potentially life-threatening code once in my life. It had to do with voltage/current regulation in the firmware of a high-powered instrument used by field workers at the company where I work. It was a white-knuckled week I spent on just a single page of code, checking and re-checking it countless times and unit testing it in every conceivable way I could imagine.

  • Several years ago, I went under the knife and the whole day from the point they put me under is a total blank. It's unsettling because I am told I carried on conversations with the doctor, family members, etc. after initially coming to from anaesthesia, but it's only starting the following morning when I woke up in a regular hospital bed that I could start remembering again.

  • I did bike commute to a degree with a normal bike but I do so far more often now with the ebike. What's interesting to me is that my fitbit says I'm actually getting more exercise per week now since I ride more consistently, even if the intensity is not as great as it once was.

    With the regular bike, I could get so wiped after one day that I'd be too tired/sore to ride the next. And there were other factors that would affect whether I would ride. Is there a stiff headwind today? Is it a heat wave or is the air quality low? Might I have to make a side-trip in the middle of my work day that will wear me out even more?

    The ebike changed all that. It also changed the route I take to work. Now I ride through a ravine park I used to avoid because of all the climbing it would entail once I need to leave it. So it's a much more pleasant experience being far from traffic, which encourages me all the more. Honestly, I had no idea how transformative getting an ebike would be?

  • The city where I live has a musical instrument lending library. I don't know how common these are? Ours started when a cherished local musician passed away and his eclectic collection became the library. Over the years, more people have donated instruments and there is an annual festival to raise funds for their upkeep. (As a local musician, I'm actually playing at said festival today.)

    Anyway, it works just like a regular library. You get your library card and check out an instrument and it doesn't cost you a penny. And there are all kinds of videos online these days to give you pointers on how to play. I guess if you get really serious, you'll probably want some one-on-one tutoring, but if you're just doing it for kicks and don't have any plans to join a band or whatever, you can just have some fun and see how far you can get on your own?

  • Fair enough. I'm just looking for some independent confirmation as this is pretty big news.

  • Is this official though, or wishful thinking on the part of Cameron?

  • I don't live in Scotland, but I can't even imagine what it must've been like to have that close referendum followed by Brexit only a couple of years later.

    What I'm wondering about right now though is Irish unification? That seems to be building up some serious momentum from everything I've been reading.

  • One thing most text editors can do is print. I was shocked the other day when I couldn't print a readme from vscode when someone asked for hard copy.

  • This is why I fear activating any AI features in the IDE.

  • Compiler/interpreter: Can't find variable farfignewton.

    Earlier:

    Me: Declare variables near, far

    IDE: Oh! You mean farfignewton right? I found that in some completely unrelated library you didn't write. Allow me complete that for you while you're not paying attention.