• 2 Posts
  • 5.37K Comments
Joined 2 years ago
cake
Cake day: June 30th, 2023

help-circle
  • At one point I developed a habit of converting any recursive algorithm I was writing into a loop instead, since I knew function calls have overhead and all recursion really does is lets you use the calling stack and flow control as an invisible data structure.

    Then I got a question about parsing brackets properly during an interview and wrote a loop-based parser to solve it and the guy had to fish for a bit before I remembered recursion and realized that’s the answer he was looking for. My mind just wouldn’t consider using a whole calling stack when an integer would do the trick faster.


  • Buddahriffic@lemmy.worldtoScience Memes@mander.xyzAeroplane
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 hours ago

    Ok, first take a deep breath and calm down. Airspeed low is a good thing, you need to take this slowly! If the shaking of the steering wheel bugs you too much, they are adjustable, you just need to push it away from you.

    Now one of the biggest dangers to planes flown randomly around the sky is other planes, so you need to get on the radio with air traffic control and request permission to crash and they can give you a clear vector from your current position to a suitable crash site.

    If you’re lucky, there will be a nearby deserted island, in which case surviving the crash will make a much more interesting story than a plane crashing on a deserted island and everyone dying (or maybe the island will be purgatory or something and you really did die, or maybe purgatory will be a version where you didn’t crash… Be prepared to be very confused, especially since you won’t get to see any of the flashbacks that gives context to everyone who will lie about everything, even stupid shit like miraculously being able to walk again or other things that would be cool to talk about).

    Oh, that is unless you’re one of the few adults on a plane full of kids, in which case, sorry, you’re fucked.


  • I’d put it like this:

    Your mom and dad give you a credit card plus $600 in allowance each month and expect you to cover all expenses, including groceries, maintenance, plus the cost of hiring a cleaning service using those, which totals $800 per month. Oh, also a bunch of guns, so it’s more like $1100 per month.

    Anyways, every now and then, your credit card hits its limit and mom and dad need to agree to raise the credit limit. And if they don’t, then you refuse to pay for anything. Except the guns, but they are only like $300, so the $600 a month will cover them easily.

    Oh but the cleaning staff should still come, they just won’t get paid until the credit limit is raised.



  • Reminds me of the time I installed a 3d modelling program at work and decided I liked it and pirated it at home.

    The work one took weeks of troubleshooting on my own with the instructions followed by email back and forth with support. And the business I worked for had a partner license the whole time. Their DRM involved a dongle in the parallel port and a license server running on the local machine.

    At home, I decided one day to use it to make test files for a raytracer I was writing, found it, downloaded it, installed it, and was running it by the end of the night without any of the fancy shit they tried to add to prevent this.

    That was when I learned that that pain in the ass DRM was only a pain in the ass for legitimate users and lazy/naive piraters.


  • Yeah patient gamers check in!

    When you feel like it, that is, assuming checking in lives up to any of the hype or seems fun at all.

    For impatient gamers, pre-order checking in right now and I, uh… And my LLC pinky promises that checking in will be amazing, so you better give me money to reserve it now in case we run out of check ins by the time you get to the front of the line. You don’t want to miss out on something great, do you?



  • There’s nothing wrong with asking questions, even if the answers aren’t hard to find using other ways. Like I appreciate the question because it was something that had never even occurred to me, as obvious as it was in hindsight.

    And even when the question is being asked in bad faith, discouraging people from asking questions can give them more credibility rather than less, because it looks like (soft) censorship, especially to anyone else who thinks it’s a good question.


  • Lol thanks for the reminders with the corrections. Funny thing was I had started with S, then remembered shi, so switched to T. Should have done K instead. T also has tsu instead of tu, so even S would have been more correct than my “correction”.

    I think I might have initially had katakana written down but second guessed (though I did initially misspell it again right here, so it was probably another one that started wrong and was corrected wrongly).

    And yeah, the origin of hiragana has a story of overcoming oppression. From women not being allowed to use katakana to them just deciding to invent a new alphabet so they could write anyways, and apparently being better at it because that’s now the main alphabet, it’s like the hero’s journey.






  • Yeah but if I use stainless steel pans, I can use stainless steel wool to clean them, so the sticking doesn’t really matter aa much when it does happen, plus cooking techniques can reduce or eliminate sticking even on stainless steel. So I’ll adjust to say I’m not losing anything I value.

    And I don’t have a huge issue with it being used on things that doesn’t touch our skin or food/water often. And my goal is to minimize exposure in this plastic world. I understand that at least some restaurants (if not most that use pans) probably use nonstick pans and that I’m getting exposed to BPA every time I touch a receipt. So I don’t use those pans at home and don’t let receipts linger in my hands and use gloves when going through a bunch of them.





  • Buddahriffic@lemmy.worldtoLemmy Shitpost@lemmy.worldWhat
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    5 days ago

    I started learning Japanese and it quickly became clear where that accent comes from. This comment is about the mechanics, as I understand them, so skip if you dgaf.

    Most of their consonant sounds are paired with a vowel sound that follows, eg: ta (tah), te (teh), ti (tee), to (toe), tu (too), though they aren’t always audibly pronounced (eg, in Naruto, Sasuke is the spelling, but it’s pronounced like Saskeh). That’s where the “su” sound sometimes replacing an “s” sound at the end of words comes from, or “ru” replacing an “r” sound. It’s correct with and without audibly pronouncing the “u”, so Japanese speakers might add or omit it based on preference.

    They also don’t have all of the consonant sounds we do. Most notable is their lack of an “R” or “L” sound, but they do have a sound that is like a mix of the two. Sasuke’s voice actor pronounces “Naruto” with that sound instead of an “R” sound. It’s like an R with a slight roll, not as pronounced as in French, but from making an R sound and briefly touching your tongue to your teeth as if you were making an L sound.

    They are also missing the V sound, their closest would be the B sound. Their word for GPS navigator is “Nabi”, for example.

    And they have so many loanwords from other languages that they even use a seperate alphabet (katanaga) for them. It’s a one-to-one translation from their other alphabet (hiragana). Though even two alphabets wasn’t enough and there’s kanji on top of that, which is another set of over a thousand symbols that help disambiguate their many words that are spelled the same but pronounced differently (basically which syllable the rise in pitch changes to a drop in pitch).

    Also, their sentence structure is very different. Like a typical english sentence might go: Subject verb object. Jaoanese sentences are more like: Subject object verb, though, like English, their grammar allows for many variations, and also omissions. Like they can drop the subject entirely from the sentence. Like I could introduce myself as “Buddahriffic desu”, but I could introduce you as “SaraTonin desu”. A direct translation would be “SaraTonin is” or “Buddahriffic is” and you’d need to figure out who the subject is using context.

    The end result is that I’m impressed with any Japanese person who can speak english well enough to communicate, let alone if they are fluent, because it’s a lot more than I was able to do with theirs, unless the necessary communication is very basic.

    Oh one more tidbit: the Japanese use “ne” (neh) similarly to how Canadians use “eh”, which works like adding a “right?” to the end of a statement (or an audible extra question mark to a question).


  • I have been preparing for this for a while (yeah, that’s why I spent so much time on this…)

    Some of my favourites (includes mangwa):

    Dan-da-dan (ongoing) (just note that the early part makes it look like it’s going to be very sexual but that’s not the tone of the whole thing. I’d call it pretty wholesome overall tbh)

    Hunter x Hunter (hiatus) (unfortunately it went in hiatus in the middle of an arc, but the whole thing is peak, each arc is like its own complete story of a slightly different genre)

    Surviving the Academy (hiatus though season ended) (person gets dropped into a video game setting, it’s a harem one but the characters have depth and it’s done well instead of a cringy self-insert fantasy. It’s actually a rare one like this that doesn’t have a “system” with video game-like levelling)

    Webtoon Character Na Kang Lim (ended) (found this one in comments on Surviving the Academy suggesting it to people commenting on it being a harem story that actually didn’t suck. This one is guy who reads a webtoon makes a comment about the oblivious MC who doesn’t see the characters throwing themselves at him and then ends up in the story himself as a regressor)

    Omniscient Reader’s Perspective (ongoing) (this one is amazing, story is MC was the only one who read a webnovel all the way to the end, some 3k chapters, then, on the subway gets a message from the author thanking him for sticking with it, this copy of the story might come in handy because the paywall is going up, good luck! And then the story starts with him in it. And it’s so good, between trying to help/manipulate/not get killed by/befriend the psychopath regressor MC that is already tired of everyone’s shit and use his knowledge from the massive overwritten book to get strong himself while avoiding the suspicion of very powerful entities)

    My Dress Up Darling (ended) (completely different pace from the others, this is a romance about a couple of high school students, one an aspiring hina doll maker, the other an aspiring cosplayer, he helps her make costumes and it’s funny and cute af)

    Others I like but won’t go into a long description for:

    Dragon Ball Super, Re: Zero (this one splits the segments into different named projects), Stein’s Gate, One Punch Man, The Knight Who Only Lives Today, Hero Killer, Pick Me Up, Solo Leveling (and ragnarok), I’m Going To Wipe Out This Country, 'tis Time for “Torture” Princess

    And one if you like the idea of 400+ chapters of a romance with characters so frustrating a decent portion of readers commenting where I see that they don’t even want them to end up together (myself included): Rent-a-Girlfriend

    Haha kinda related but the subreddit for Rent-a-Girlfriend is one of the must obviously bot-driven boards because it went from about 50/50 people upset with the author vs happy with it a few months ago to people mostly writing long comments repeating the same general statements optimistic about how it’s going, sometimes in Spanish (with people replying in English as if that was completely normal). It was sad to see, it just feels like an advertisement now instead of a discussion.