[ / / / / / / / / / / / / / ] [ dir / abdl / animu / asmr / biz / jewess / mde / sw / vg ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Email
Comment *
File
Select/drop/paste files here
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

Happy GNU/Year!

File (hide): 26c190789385926⋯.webm (3.99 MB, 540x960, 9:16, nyannyan hard times.webm) (h) (u) [play once] [loop]

[–]

 No.1008550>>1008562 >>1008563 >>1008572 >>1008576 >>1008579 >>1008590 >>1015418 [Watch Thread][Show All Posts]

I seem to be one of the few people around who can write and understand regex, I also enjoy it alot, how do I turn that skill into money?

 No.1008556>>1008662

maybe you should fucking regex for regex on jobsites.


 No.1008558

I regex'd my mom once


 No.1008561>>1010417

I didn't realize that the skill of regex was so big that there are people paying money solely for that single skill.


 No.1008562

>>1008550 (OP)

Big data idiots who increasingly like to "program AI" desperately need people to massage their datasets because they can't actually program computers.


 No.1008563>>1008565 >>1008567 >>1008573

>>1008550 (OP)

> I seem to be one of the few people around who can write and understand regex

No, you're not, it's just that regex is such a basic skill that no one considers it worth mentioning. It's like being proud that you can wipe your own ass.

> I also enjoy it alot, how do I turn that skill into money?

And this is like asking how you can turn your ass-wiping skill into money. Scratch that, it's even lower, because at least with ass-wiping there might be some degenerate who would pay to watch you do it.


 No.1008565

>>1008563

>regex is such a basic skill that no one considers it worth mentioning

Not even Universities, interestingly enough. This is why people can possess CS degrees yet can't be arsed to use regular expressions.


 No.1008567>>1008579

>>1008563

>like being proud that you can wipe your own ass

Well, you did have to be trained to wipe your ass when you were a toddler.


 No.1008568

Wow OP you're SOOOOOOOO cool, teach me to be like you, then I can neck myself and not go to prison for vicariously killing your dumb ass.


 No.1008572>>1008577

File (hide): 1ae112800f0e465⋯.jpg (107.21 KB, 677x677, 1:1, automataVenn.jpg) (h) (u)

>>1008550 (OP)

>one of the few

Is this a joke, or have you not passed the weeder courses at uni yet and are still surrounded by normies?

>skill into money

Not happening. Regexp is just a tool in your toolbelt, and you don't want to start thinking every problem is a nail because you have a hammer. Regular languages are fairly limited in the capability. You should learn how to use parser generators if you want to become a lexical ninja.


 No.1008573>>1008580 >>1015049 >>1015138

>>1008563

>No, you're not, it's just that regex is such a basic skill that no one considers it worth mentioning

Except for the fact that people regularly tell me I'm amazing at regex.


 No.1008574

>I seem to be one of the few people around who can write and understand regex

Yup, perlfags and rubyfags don't exist.


 No.1008576

>>1008550 (OP)

>regular expressions

>literally the simplest kind of expression

>barely a step up from literal string matching

Come back when you can parse more complicated things.


 No.1008577>>1008602

>>1008572

I never went to uni.

>Not happening. Regexp is just a tool in your toolbelt

Seems like the consensus here, ah well.

>You should learn how to use parser generators if you want to become a lexical ninja.

Is it just me or is the documentation for Bison really bad? Every time I need a DSL I just end up writing my own lexer, parser & interpreter/transpiler.


 No.1008579

>>1008567

>Well, you did have to be trained to wipe your ass when you were a toddler.

No. I think that's obvious even for a nigger toddler like (You).

>>1008550 (OP)

>one of the few people around who can write and understand regex

Everyone apart from your mom and dad can into regex.

I don't know of a job where you can charge money for writing regex replace commands for other retarded people.


 No.1008580>>1008586

>>1008573

I don't understand what's so difficult about regex that you are amazing compared to they are. It's simple pattern matching. I don't know what those people are doing that your regex work is superior.


 No.1008586>>1008593

>>1008580

>I don't understand what's so difficult about regex that you are amazing compared to they are.

I don't either. From what I understand it just seems intimidating to people so they never go to the trouble of learning it and the only time they ever use it is if a Stack Overflow answer has it.

>I don't know what those people are doing that your regex work is superior.

Page scraping & simple code generation mostly.


 No.1008590>>1008595

>>1008550 (OP)

>nyan

>hard times

you fucking what?

>i can into regexes

>im so smart

protip: you're not. regexes are the most basic shit. go to reddit and impress them with your 1337 regex skills.


 No.1008593>>1008594 >>1010402

>>1008586

>intimidating to people

Why? You only have to escape every fucking nonletter and look up some codes. Nothing hard about it.


 No.1008594

>>1008593

Idk, it's the best explanation I've got.


 No.1008595>>1008596

>>1008590

>you fucking what?

Normalfaggot


 No.1008596>>1008601

>>1008595

>Normalfaggot

explain how i am the normie


 No.1008601>>1009142


 No.1008602>>1008604

>>1008577

>Is it just me or is the documentation for Bison really bad?

Totally agree. I recommend ANTLR instead.

<b-but muh poo

https://tomassetti.me/getting-started-antlr-cpp/


 No.1008604

>>1008602

Oh cool thanks fam


 No.1008618>>1008623 >>1008638 >>1008640 >>1009145

You're confusing regular expressions with what UNIX calls "regular expressions" which are overcomplicated bullshit that makes a simple and intuitive mathematical concept into something with nonsensical rules and special cases that takes a "guru" to understand. If you don't think grep and sh are bad enough, look at PCRE. They're not Perl compatible and not regular expressions.

https://en.wikipedia.org/wiki/Perl_Compatible_Regular_Expressions

Of course this won't work if you have files with names like
".x", in which case you have to type "rm -rf /tmp/.[^.]*", I
THINK. You see there's this problem in unix: there are
REGULAR EXPRESSIONS, which are one thing, and then there are
REGULAR EXPRESSIONS, which are a different thing, and I
sometimes get them confused for some reason, so I'm not sure
whether "/tmp/.[^.]*" is a regular expression or a regular
expression. They're really very different in appearance,
which is good because they have incompatible semantics.

Pop quiz: identify the types of the following patterns:
(a) "a*"
(b) "a*"

(answers: (a) is a regular expression, but (b) is not - it's
a regular expression).

Note the difference in spelling: the patterns used by the
shell are called "regular expressions", whereas the patterns
used by everything else are called "regular expressions."
You should never get them confused. You see regular
expressions are used for matching in the shell and are
documented in the section "REGULAR EXPRESSIONS", whereas
regular expressions are used for match, a very different
task, in grep(1), and are documented in the section on
"REGULAR EXPRESSIONS". The former look like strings, but
have special wildcard characters like "?", "*", and "[]",
whereas the latter also look like strings but have special
wildcard characters which look like "?", "*", and "[]". Be
sure to notice the differences in appearance because they
have different semantics. For example, the regular
expression "[a-z]*" matches all strings consisting of
lower-case letters, whereas the regular expression "[a-z]*"
matches all files begining with a lower-case letter.

I hope this had made everything clear to everyone.


 No.1008623

>>1008618

unix btfo


 No.1008638>>1008648 >>1015146

>>1008618

The "regular expressions" in the shell are called glob-pattens. Use "man 7 glob" to read up on them before you post bullshit from ancient mailing lists.


 No.1008640

>>1008618

Who the fuck are you constantly quoting? Sage for off topic


 No.1008648

>>1008638

He's right though. At least with Perl you don't have to escape every other character.


 No.1008662

>>1008556

/thread and sage


 No.1008718

I know a guy who wrote basic regex shit, first in excel then simple vb for filing. He just got a multi mil contract organising healthcare files, seriously the guy isn't a great programmer but he's making mad bank.


 No.1009142

>>1008601

That's what I thought. It is indeed you who is the normie.


 No.1009145>>1015146

>>1008618

normally you are pretty based and post based quotes, but this time the quote is aboslute shite.

unbased and saged


 No.1010402>>1010405

>>1008593

The problem with regex isn't that it's difficult in concept, it's that its implementation is different in every language you use. What works in one language probably doesn't work the same way in another, which is irritating and likely why people consider it to be difficult.


 No.1010405

>>1010402

That's why any language without perl style regex immediately gets shitcanned.


 No.1010417

>>1008561

I'm not sure that there actually is


 No.1015049

>>1008573

>Except for the fact that people regularly tell me I'm amazing at regex.

Well, you should look for new peers then. Your current ones are obviously subpar.


 No.1015138>>1015152

>>1008573

Create a universal turing machine with Perl regex then you'll have my respect.


 No.1015146

>>1008638

>>1009145

ASS STATUS

[x]Blasted


 No.1015152>>1015178

>>1015138

There's nothing to do. Perl already lets you embed code blocks inside of regex.


 No.1015178>>1015315

>>1015152

Code blocks aren't always turing complete. They're possible due to your turing complete processor.


 No.1015179

>perl

if you don't make gems, you're racist and cissexist


 No.1015251

>I seem to be one of the few people around who can write and understand regex, I also enjoy it alot,

>t. exponential time regex writer and RCE vuln introducer


 No.1015315>>1015390

>>1015178

Wat. You can put whatever Perl code you want in there. So there's no reason you can't stuff an entire CPU emulator in a regex.


 No.1015390

>>1015315

Yes it's possible. That's why I suggested it.


 No.1015418

>>1008550 (OP)

pattern matching is like 0.2% of what you do as a software developer, and people in the real world look up cheat sheets on a regular basis rather than memorizing everything




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
46 replies | 1 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / abdl / animu / asmr / biz / jewess / mde / sw / vg ][ watchlist ]