@mcc@mastodon.social cover
@mcc@mastodon.social avatar

mcc

@mcc@mastodon.social

glitch girl

This profile is from a federated server and may be incomplete. For a complete list of posts, browse on the original instance.

mcc , to random
@mcc@mastodon.social avatar

I am in a terrible mood and I will tell you why: C++

mcc OP ,
@mcc@mastodon.social avatar

I Never Thought It Would Happen To Me: I Forgot To Put "return true;" At The End Of A Function Returning Bool And Clang Just Kept Going Off The End Of The Function Into The Infinite Abyss

mcc OP ,
@mcc@mastodon.social avatar

[[Clang, lounging on a velvet couch, its top two shirt buttons unbuttoned, smoking a cigar]] "When I see a program counter, I increment it. There's literally never a situation where that would be the wrong thing to do."

futurebird , to random
@futurebird@sauropods.win avatar

So I was joking about running doom on lace bobbins. But, for all the talk of ants solving problems and ant computers and ant algorithms...

There aren't any ant logic gates. At least not to my knowledge and not yet. Frankly, binary logic is antithetical to the nature of ants. You only need to watch the way that ants solve problems as individuals to see you are dealing with a different sort of system.

1/

mcc ,
@mcc@mastodon.social avatar

@futurebird suddenly staring blankly, as if looking through the universe Space station where the beehives are built into the inside walls of the server racks so the servers can keep the bees warm in the chill of space

mcc , to random
@mcc@mastodon.social avatar

I am trying to take a program that works on Win32 and build it on Linux. An enum with a field named "Always" is failing to compile with a strange error. With a sinking suspicion, I look in the system headers and discover that /usr/include/X11/X.h is "Always" to 2.

The Open Group, what the hell??? I don't suppose X11 has an equivalent of WIN32_LEAN_AND_MEAN NOMINMAX does it … :(

mcc OP ,
@mcc@mastodon.social avatar

Have I ever mentioned how much I hate the C preprocessor? It poisons everything built on top of it, you make modern code with namespaces and such and it gets broken by the pre-namespace in your thirty year old OS header files. You're building skyscrapers on sand. A significant portion of why I want to jump to Rust or Go is just to get away from the C preprocessor by itself

futurebird , to random
@futurebird@sauropods.win avatar

Can anyone tell me why that thing bros talk about too much that starts with a B and rhymes with loins is up recently? Without attracting any bots … please?

mcc ,
@mcc@mastodon.social avatar

@futurebird It is very easy for someone with many 'oins to manipulate the price of 'oins, and there seem to be no laws preventing this that anyone is following. Amy Castor in this article https://amycastor.com/2024/02/21/the-halvening-is-coming-what-this-means-for-bitcoin/ claims the current reason for the high price is manipulation in advance of a protocol-mandated event called "the halvening" in April, which will meaningfully reduce the financial benefits of running a miner.

vampiress , to random
@vampiress@eigenmagic.net avatar

[Thread, post or comment was deleted by the author]

  • Loading...
  • mcc ,
    @mcc@mastodon.social avatar

    @vampiress Hey, me and my 213 third-party vendors just saw you from across the bar, and

    mcc , to random
    @mcc@mastodon.social avatar

    This week's tech newsletter has a … menacing feel to it

    mcc OP ,
    @mcc@mastodon.social avatar

    Oh god it got worse

    futurebird , to random
    @futurebird@sauropods.win avatar

    Most spiders couldn't hurt you at all, like not even give you a little itchy welt if they tried their very best, if they could overcome their very realistic fear of your massive size and exoskeleton crushing feet.

    That there are a few who get one over on us is the great exception. We are a terror to these little creatures.

    mcc ,
    @mcc@mastodon.social avatar

    @futurebird Note the furry* ones (I think you will probably not encounter these in North America) will probably hurt you if you touch them. But you can avoid this by just not trying to touch them.

    • (Urticating hairs aren't really hairs. They're basically defense spines!)
    mcc , to random
    @mcc@mastodon.social avatar

    Phanpy now has a version of https://cohost.org 's best feature, and it works with your existing Mastodon/Fediverse account https://indieweb.social/@laurenshof/111997146906858162

    TLDR: You follow 40 people, but the people who post infrequently tend to get their posts flooded off the TL by high-volume accounts such as me (mcc) asking cursed C# questions at odd hours. Wouldn't it be cool if you could get the best elements of a sort-by-last-post view and a sort-by-account view in a single screen? (See screenshots at link.)

    mcc OP ,
    @mcc@mastodon.social avatar

    I have wanted something like this as far back as Twitter

    mcc OP ,
    @mcc@mastodon.social avatar

    Remember Twitter? Man, the 00s sure were something.

    mcc , to random
    @mcc@mastodon.social avatar

    Absurd C++ question. Say i do this:

    std::string *str = get_pointer();

    *str = string("Something");

    If I'm not totally confused, that second line will do two things. It will call ~std::string() on *str, then it will assign the new string "something" to *str.

    Is there a way to opt out of that ~? Say I really need, never mind if it's a good idea I just need, to store a str in a buffer created outside C++. When I'm done with it I'll call the destructor by hand. How do I initially populate it?

    mcc OP ,
    @mcc@mastodon.social avatar

    Roughly 26-28 years after I first started trying to write C++, I have just this second learned about an entirely additional syntax hiding inside the "new" operator https://mas.to/@dango_/111982872694147318

    foone , to random
    @foone@digipres.club avatar

    It's kinda depressing how tumblr is imploding now and I'm seeing half my follow list go "man, after seeing both twitter and tumblr do this, it's really showing how it's a bad idea for a social media network to be run by a company who can make arbitrary changes without user consent.

    anyway, here's my bsky: ..."

    mcc ,
    @mcc@mastodon.social avatar

    @foone I think your point is good but I want to note one special case: A lot of Japanese artists seem to be jumping to Bluesky right now, and I think the reason they're jumping to Bluesky right now instead of Mastodon is that on Mastodon you can get banned for being Japanese* and this is not true on Bluesky.

    • Read: "Banned for being federated with a particular large Japanese server". This was as far as I understand a very real problem at one time, I do not for a fact know whether it still is.
    mcc , to random
    @mcc@mastodon.social avatar

    Been getting this sense lately that the fediverse may be thinning out a bit, and in parallel getting a sense people I know are finally jumping to "bluesky" in numbers.

    Trying to figure out exactly at what point I decide I'm willing to create a feed over there. My position has been "I'll post there when I don't have to use their servers to do it", but I continue to suspect this will literally never happen because their protocol is designed to look like federation without being ever federatable

    mcc OP ,
    @mcc@mastodon.social avatar

    If I wind up making a Bluesky PDS what this will most likely look like is some relatively (God, I hope) small block of code that connects to mastodon.social once an hour, reads my Mastodon feed like a regular client, and then republishes it into whatever format PDSes publish timelines in. And then I guess my profile just says "I cannot read your replies, join some actually federated network if you want to talk to me"

    mcc OP ,
    @mcc@mastodon.social avatar

    The problem is this seems like Work, and I could be doing something else with my spare time that is fun and interesting instead of doing labor to grow out the network of a "public benefit corporation" (?) that appears to be trying to put an enclosure around a previously public resource

    mcc OP ,
    @mcc@mastodon.social avatar

    Basically (I ran out of characters and had to post this as an image) this post is mean but it is sincerely how I feel

    ALT
  • Reply
  • Loading...
  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • test
  • worldmews
  • mews
  • All magazines