There is Backus-Naur form (and it’s derivatives), which at least lets you name each section of text like you would a variable or function. Technically matches context-free expressions rather than regular ones but that’s hardly different for most cases.
- 1 Post
- 51 Comments
kartoffelsaft@programming.devto
196@lemmy.blahaj.zone•American public transit does not ruleEnglish
12·3 months agoWhere I am (seattle), google maps and the king county metro site give the same routes and information. Almost feels like they’re talking to the same API considering it gives the same time down to the minute.
Ultrakill, a very stylish boomer shooter. I’d recomend it.
There are machines you can goon to:

kartoffelsaft@programming.devto
Asklemmy@lemmy.ml•Best longterm offline Linux friendly games? Give me your best!
4·3 months agoNot OP, but I’ve tried getting into Stardew multiple times and the fatigue mechanic absolutely ruins the game for me. “14 times” is an exaggeration but what it feels like.
People describe it as a cozy game but it is genuinely one of the most stressful games that I’ve played. As in I start clearing the land and then after a very short time my character is exhausted. Either I sleep it off and I’m worried I’ll plant late enough the crops will die in winter or I work through it and end up in the hospital with a bill. Sometimes I’ve used the time to explore the town (as it seems the game mechanics are telling you to do), whereupon I find the shops are closed and I collapse on the way back home.
The one or two times I’ve played long enough to harvest crops I end up eating all of it just to get to the end of the day. Most of the money I make is from selling actual literal garbage I’ve found lying around.
The result of that mechanic is that the game is basically telling me the most cozy part of the game (farming) I’m not allowed to play until I’ve invested enough time to stock up on energy drinks. I’m left with fishing, which just isn’t my thing, and mining, which is what I’ll mostly do until I get bored because it’s honestly kinda mediocre on it’s own. I just can’t get into this game.
(I’m aware that the main pull for the game is the characters, which if you enjoy that that’s good. I’ve just never had much of a reason to be invested in them)
kartoffelsaft@programming.devto
Asklemmy@lemmy.ml•Best longterm offline Linux friendly games? Give me your best!
10·3 months agoIf you like Rimworld the obvious suggestion from me is Dwarf Fortress. It’s on steam but if you’re not sure I believe there’s a free version with the original ascii graphics on the bay12 games website (at least there was when I last played).
Also Factorio might interest you, but for a laid back experience you’d want to turn down biters (mostly disabling expansions). May be mentally taxing.
Another comment mentions modded minecraft, which gets a +1 from me. Though if you want a “forever world” I’d suggest playing unmodded (save for some client side graphics / QoL if desired), as there’s at least some guarantee you can keep the world as the game gets updated. If you do go modded though I’d suggest using prismlauncher and browsing through premade modpacks on modrinth and curseforge. P.S. if you don’t already own the game somehow you’ll want java edition, not bedrock
I’ve been reading some of these other replies and my input is that to me you sound depressed / burnt out. I do not say that as a psychologist or therapist, if you want that diagnosis you’d have to talk to a certified one; however, the times in my life I have been more depressed the more I agree with this sentiment and the less I’ve been depressed the less I agree.
I’d also like to remind you that you are asking this on Lemmy, which means a lot of responses you’ll get here are from a certain nerdy, shut-in type. I say this because people here are likely to agree already, which is good for sympathies but not for answering your actual question.
When people say they enjoy being social, they are not lying (with caveats). Most healthy people have at least a couple of relationships they deeply value, and if you’re missing that I think it’s worth continuing to meet people even if it’s a lot of effort.
Work-wise though, yeah people are mostly lying there. There’s a much stronger insentive structure to lie.
I want to reiterate you should look into whether you’ve got burnout or depression, especially given the current climate. Those both have a way of draining enjoyment from seemingly unrelated things, relationships usually being one of the first.
kartoffelsaft@programming.devto
No Stupid Questions@lemmy.world•Can I freeze already cooked burger patties?
0·3 months agoOP can operate a freezer though?
kartoffelsaft@programming.devto
linuxmemes@lemmy.world•another day another config breaking Hyprland update
2·3 months agoThat was the opposite of my experience. For Minecraft at least I went from ~110 FPS in hyprland to ~80 in plasma. Felt like there was an extra frame or two of delay too, but I never measured.
Can you find some that has the adult amount of fluoride but doesn’t have unlabeled mint flavor in there too? I’ve spent so much time and effort on this I wish I could take your advice so bad
kartoffelsaft@programming.devto
Steam Hardware@sopuli.xyz•Valve just published two guides on how to get the most of the Trackpads on[ your Steam Controller or Deck
0·3 months agoTrying that with my steam deck right now, the amount I have to shift my hands down for the trackpads to feel natural is so low that I can’t even reach the X/B buttons, and my hands aren’t even that small. Kinda sucks I’ve never found a use for the bottom 2/3 of them.
“Would you push a button for money”, on its own, is barely a dilemma. If you’ve been given no good reason not to press it then you don’t have a reason not to press it. I’d be curious to see this Twilight Zone episode because, if it really is presented that way to her, then it’s not her morals that are comprimised and instead that of whoever distributed that button.
kartoffelsaft@programming.devto
Lemmy Shitpost@lemmy.world•Its a circus and we're the clowns
20·4 months agoI don’t know what it is, but it’s always the menial warehouse, data entry, QA, etc. positions that ask for cover letters.
“Detail oriented founder 10x manager guy”? Just send us your resume so we can send you a rejection letter a month from now.
“Lift up to 50 lbs.”? Lets put an entire interview into the form. Why this company. Why are you passionate about this work. Tell us about your 5 years of experience we require you to have to pick up and put down objects and type what you did into a computer. Why did you leave each previous job you had. How do you handle being assigned more work than can be done in your workday. Tell us about a time you did that. Have you previously worked here. If yes, tell us about the experience [required even if no]. Link your linkedin profile so we can assume you’re a bot for not sharing your entire professional life.
kartoffelsaft@programming.devto
Lemmy Shitpost@lemmy.world•2/10 people on Lemmy, is that you?
6·4 months agoI mean, the character limit was there originally because twitter’s gimmick originally was that you’d post via SMS, which has its own char limit. They’ve raised the limit even before the musk takeover, so I’m inclined to believe twitter motivates ragebait in other ways.
It’s supposed to be some kind of portable sauna thing I found from typing random words into amazon with a friend. The original image made her look like Thomas the Tank Engine so I shopped his face over hers.
Original image:

kartoffelsaft@programming.devtoMicroblog Memes@lemmy.world•All men are dangerousEnglish
998·4 months agoYou put into words thoughts that I’ve been unable to for a while.
Like, I read this and I see how someone makes this argument, but I feel fucking terrible afterwards. Sure you haven’t said I’m a rapist, but you’ve said you’ll treat me as though I am. You can’t expect men as a demographic to agree to this argument if it requires society to assume they’re shitty people, at which point, why is it even being made?
The worst part I feel is that there’s a lot of incel types that conflate feminism with sexism, which we’d like to school them by pointing them at a dictionary. While incels are generally shitty, we can’t ignore the fact that this argument is telling them their behavior doesn’t actually matter because we’re going to act like they’re rapists based solely on their malehood anyways. (to be clear, this is an explanation, not a justification)
Apparently twitter has a system where they’ll pay you for posts with a lot of attention, regardless of it’s quality. Pays less than minimum wage but some do it full time anyways.






This is a cool feature of a lot of regex implementations but I will warn you that reusing capture groups in a match means it’s impossible for any regex engine to guarantee a reasonable upper bound (best they can do is O(n!) I think? I’d have to look up the details). In a replacement string this is a non-issue because there’s no way they can recurse out of control.
Edit: found the video I originally heard this from: https://www.youtube.com/watch?v=gITmP0IWff0