There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

Heavybell , in "I want to live forever in AI"
@Heavybell@lemmy.world avatar

The best part is, unless that function name is misleading, it doesn’t matter how the data is passed; a copy is being sent out over TCP/IP to another device regardless.

zea_64 , in Take.Out.The.(Garbage|Cat)*

All human strings are finite…

devfuuu ,

Pumping lemma enters the chat.

ChubakPDP11 OP , (edited )

deleted_by_moderator

  • Loading...
  • xmunk ,
    JoYo , in Take.Out.The.(Garbage|Cat)*
    @JoYo@lemmy.ml avatar

    You clods won’t shut up about regular expressions.

    ChubakPDP11 OP ,

    What should we talk about then, glob patterns (which are NOT regular expressions, for the love of all that is holy and unholy, stop calling glob patterns RE!)

    LemoineFairclough ,

    Historically, pattern matching notation is related to, but slightly different from, the regular expression notation

    pubs.opengroup.org/onlinepubs/…/V3_chap02.html#ta…

    OpenStars , in Take.Out.The.(Garbage|Cat)*
    @OpenStars@startrek.website avatar

    Also matches TakesOutzTheYourMother, since the asterisk allows for zero matches to the group, and there seems no bounding constraints:-).

    ChubakPDP11 OP ,

    Keep in mind that in OG regex, period is used to concat.

    OpenStars ,
    @OpenStars@startrek.website avatar

    I strongly hesitated saying anything at all b/c there are so very many different rules governing the behavior of every single kind of symbol. Though one jumping off point is the use of the parenthesis, without slashes prior to them and them meaning alternatives within a grouping context rather than merely “remembering”, for the sake of e.g. replacement or copying, so e.g. in the Unix CLI “grep” command this would not work even with the -e parameter (I am not so sure about perl-style though, or rather, this would work within pure perl, but perl-style regexps from within grep is another matter, plus that option itself is not universal across all forms of Unix).

    In any case, I hoped that the YoMama joke would be universally understood and appreciated regardless, across all of the many & varied language barriers 😜.

    ChubakPDP11 OP ,

    True, but see, all these build up on the theoretical regex. The theoretical regex indeed has only 3 operators: dot for concatenation, pipe for alteration and the ‘kleene star’ [re: Sipser’s]. These 3 operators can express a finite state automata. You don’t really need all that other operators. Read this: swtch.com/~rsc/regexp/regexp1.html Algorithms like Thompson construction can translate a regex to a non-deterministic automata quite quickly, and then from there you can make a DFA or just simulate the NFA.

    I would not call PCRE ‘regular expression’ really. If you read the article I gave you it explains why they are mostly a practical utility than a theoretical groundwork. The regex in use today is far from the regex one learns about in books.

    I think regex is abused. People use it to parse context-free grammars. Extremely intricate and feature-rich patterns cause people to make mistakes, and end up with security holes!

    That being said, I really enjoy NeoVim’s regex. I also like Perl’s. But I would not rely on them for parsing, or even lexing.

    owenfromcanada , in Take.Out.The.(Garbage|Cat)*
    @owenfromcanada@lemmy.world avatar

    Your mama so fat
    She can’t store files greater than 4GB

    xlash123 ,
    @xlash123@sh.itjust.works avatar

    My mama was fat, but now she is exfat

    drkt , in I'm back on that other OS for work
    @drkt@lemmy.dbzer0.com avatar

    my condolences

    lemmyreader , in I'm back on that other OS for work

    😄 No worries. “Help is on its way”. I am sure that Microsoft will release the source code of Vim 0.1 optimized for Windows very soon! /s /j

    nehal3m , in I'm back on that other OS for work

    Install Terminal and NeoVim or WSL

    CosmicCleric , (edited ) in Who is this JSON guy?
    @CosmicCleric@lemmy.world avatar

    Wasn’t he the leader of the arGOnauts?

    https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode.en

    cm0002 ,

    CC BY-NC-SA 4.0

    Are you an alt of that online persona guy, or is this just starting to spread lmao

    CosmicCleric , (edited )
    @CosmicCleric@lemmy.world avatar

    Are you an alt of that online persona guy, or is this just starting to spread lmao

    I don’t know who the ‘online persona guy’ is, but I did see someone else doing this, so I decided to mimic it, as I thought it was a great idea.

    https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode.en

    cm0002 ,

    They’re a user around here that has the username onlinepersona [And something else I think], they’ve been doing the same thing since…before the reddit exodus I think, so that’s probably who you picked it up from

    Now that I think about it I don’t think I’ve seen him in awhile now

    CosmicCleric , (edited )
    @CosmicCleric@lemmy.world avatar

    They’re a user around here that has the username onlinepersona [And something else I think], they’ve been doing the same thing since…before the reddit exodus I think, so that’s probably who you picked it up from

    Now that I think about it I don’t think I’ve seen him in awhile now

    @onlinepersona was last online just a few hours ago.

    And they are using the same license, so it might be that I did get the idea from him/her. I honestly don’t remember.

    https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode.en

    onlinepersona ,

    Nice, somebody else is licensing their comments! 🙌

    Anti Commercial-AI license

    CosmicCleric , (edited )
    @CosmicCleric@lemmy.world avatar

    Nice, somebody else is licensing their comments! 🙌

    Anti Commercial-AI license

    Have you taken a lot of crap over doing so? The last three days for me have been kind of rough. 😋

    https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode.en

    onlinepersona ,

    There’s always a few people who feel the need to inform me how futile it is, that I’m stupid for trying, telling me to stop, or whatever else people come up with. But for every one of those, I feel like there are more who are genuinely curious and some are even understanding, maybe even supportive!

    Just block the negative people and move on 🤷 The license text ain’t hurting nobody and anybody triggered enough to insult or mock you about it ain’t worth reading anyway.

    Anti Commercial-AI license

    CosmicCleric , (edited )
    @CosmicCleric@lemmy.world avatar

    Just block the negative people and move on 🤷 The license text ain’t hurting nobody and anybody triggered enough to insult or mock you about it ain’t worth reading anyway.

    I agree, but I’ve been told they’re very obnoxious, and I’m a fool to believe in them, and get a lot of harsh language and arguments about using it.

    I keep having to remind people it’s just a link in a comment, but it really triggers some people for some reason.

    https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode.en

    skulblaka ,
    @skulblaka@startrek.website avatar

    They’re really not that obnoxious. The folks getting their panties in wads about it are either fools, or astroturfers. You do you chief, and I for one support this. Folks get overly triggered about all sorts of stupid little shit, don’t let them get you down. Someday soon a bunch of us will probably wish we did something like what you’re doing.

    CosmicCleric , (edited )
    @CosmicCleric@lemmy.world avatar

    They’re really not that obnoxious. The folks getting their panties in wads about it are either fools, or astroturfers. You do you chief, and I for one support this. Folks get overly triggered about all sorts of stupid little shit, don’t let them get you down. Someday soon a bunch of us will probably wish we did something like what you’re doing.

    Appreciate the kind words.

    Yeah I’m still calming down from having to do battle with this Lemmy user, but I plan on keep adding the license to my comments, as at this point it just feels like the right thing to do.

    I might change the wording though to how you worded it, seems more intuitive for people to understand, than listing the actual Creative Commons license code/name.

    https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode.en

    Damage ,
    CosmicCleric , (edited )
    @CosmicCleric@lemmy.world avatar

    It’s displayed weird for me

    lemmy.world/comment/9699276

    lemmy.world/comment/9739694

    TL;DR: it displays fine on the web client, so get the devs to fix your app, or use the web client.

    Edit: Added a second link that has an actual example of both regular, super, and subscript fonts being used, as well as a link to Lemmy World’s help page on formatting comments.

    https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode.en

    cm0002 , in Who is this JSON guy?

    I dunno who the JSON guy is but I hear he’s a friggin weirdo

    Mikufan , in The IT experience?

    When you work in security and your department gets cut because “there haven’t been any attacks in 5 years”

    stardustsystem ,
    @stardustsystem@lemmy.world avatar

    Sounds like it’s time to give a little insider info on the company network to hacking groups.

    sukhmel ,

    It’s not even necessary, they will find everything on their own

    Mikufan ,

    Just turn down the firewall for 30s and they find a way in…

    Cornelius_Wangenheim ,

    More like they ignore all your suggestions and then blame you when they inevitably get hacked.

    KazuyaDarklight , in The IT experience?
    @KazuyaDarklight@lemmy.world avatar

    That’s a common reporting problem, there have been no “successful” attacks, you show value/work by making sure to note all the unsuccessful ones.

    Shareni ,

    Prints a 10m scroll daily containing automated probes and attacks

    Riven ,

    Unironically it might work. Have a filing cabinet with all the attacks that you can point too.

    KazuyaDarklight ,
    @KazuyaDarklight@lemmy.world avatar

    Weekly report that says XXXX attempted/failed attacks of X type, of y type, etc. and the ability to produce the 70m scroll and generally talk about the stuff on request.

    Semi_Hemi_Demigod , in The IT experience?
    @Semi_Hemi_Demigod@lemmy.world avatar

    When things go right: “WHAT ARE WE PAYING YOU FOR?!?”

    When things go wrong: “WHAT ARE WE PAYING YOU FOR?!?”

    jballs ,
    @jballs@sh.itjust.works avatar

    The secret to a healthy career in IT is to let things break just a little every once in a while. Nothing so bad as to cause serious problems. But just enough to remind people that you exist and their world would come crumbling down without you.

    Unforeseen ,

    Especially if its a system that you have told management needs to be replaced but they aren’t interested in spending the money…

    https://sh.itjust.works/pictrs/image/bd249c7a-bee5-47e0-96b5-9cbcadce59e7.jpeg

    whotookkarl ,
    @whotookkarl@lemmy.world avatar

    Where I’m from we call that Laissez-faire IT

    Kalkaline ,
    @Kalkaline@leminal.space avatar

    Acting like the user won’t just break things for you, welcome to IT, you must be new.

    Anticorp ,

    I get really fucking tired of justifying work. Like, I have delivered every single project I’ve ever been given ahead of schedule. But every time a new project comes up, higher level managers want all these update meetings to check up on the status, discuss risk factors that might prevent it from being delivered, and a bunch of other bullshit. You’re the risk factor, motherfucker, you and your meetings. Get the fuck out of my way and I’ll deliver it ahead of schedule just like literally every other project I’ve ever been in charge of. Quit feeling that you need to be involved! You don’t. You’re a road block that provides no value. Ugh!

    jkrtn ,

    Big mood. It is fucking exhausting explaining basic tech concepts to stakeholders over and over.

    HappycamperNZ ,

    If you’re ignoring all the risk factors, got no contingency plans or measurements against projected time and budget you have delivered everything on time and budget by luck.

    If you already have those, those meetings should absolutely be a 30 min weekend meeting to check on status and what else you may need to keep delivering.

    Anticorp ,

    I know they should be 30 minutes per week. But they’re not, and that’s the frustration. A weekend meeting though? I have a feeling that we may perceive work-life balance differently.

    HappycamperNZ ,

    Sorry, that was weekly. Weekend can fuck off if you’re on schedule.

    SkyezOpen ,

    And also install Adobe reader.

    ture , in The IT experience?

    Same thing with why do I need to pay someone to do maintenance my car, kitchen, AC, whatever works perfectly well.

    Also why should we pay developers to do stuff like dependency upgrades and other maintenance or software just runs™

    KLISHDFSDF , in The IT experience?
    @KLISHDFSDF@lemmy.ml avatar
    Shareni ,

    When you do things right, people won’t be sure you’ve done anything at all.

    Damn you, the photo didn’t load and I thought I’d be the first one. Time to start my own comment chain, with blackjack and hookers.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines