#ot1-perplexing-regexing

1 messages · Page 411 of 1

lofty dirge
#

It shouldn’t be this rough

#

Diablo 3 on switch runs much better (with limited graphics) and its busier

errant wyvern
#

actually microsoft has been getting quite good with open source.
@tulip palm and that's very suspicious

frosty mountain
#

hi guys,
when i update python i also have to update libraries such as pygame?

errant wyvern
#

they discovered gnu things are succeeding and then they be like "OMG WE LOVE OPEN SOURCE, OPEN SOURCE 4 LIVE OMG2

#

hi guys,
when i update python i also have to update libraries such as pygame?
@frosty mountain generally not

frosty mountain
#

@errant wyvern ok thanks

lofty dirge
#

Microsoft is also changing company

#

They are now a cloud company and good cloud doesn’t give a shit about what software you run but just that you run software in their cloud

gentle moss
#

[18:09] Rabbit: It’s very weak machine compared to PS4 and Xbox

#

complete change of direction from whatever was being talked about but i got done being distracted

#

AMD has played a blinder in the on-die GPU market

#

"APU" or whatever

rough sapphire
#

@lofty dirge

Diablo 3 on switch runs much better (with limited graphics) and its busier
Yeah, but a lot of things on the Switch are just ports.

#

Diablo 3, Outer Worlds, Witcher 3.

#

Final Fantasy 10/10-2

rough sapphire
#

Hey does anyone know how to move around the Android's file system using Termux? I want to host a Python bot on my tablet but can't seem to find a way to my destination which is my SD card.

#

I can't find any documentation aswell...

rough sapphire
#

Thank you!

#

@rough sapphire sdcard is at /sdcard

#

but you need to give external storage perms first, manually

#

Can I do cd /sdcard?

#

Oh

#

within the Apps menu in android settings

#

but otherwise

#

Can I do cd /sdcard?
@rough sapphire yes

#

Tyty

#

1, 1, 1, 1, 1 problem, it gives me No such file or directory path. error.

#

Even if I copy a command from the wiki.

high verge
#

did you do the setup

rough sapphire
#

What setup

#

The you need permissions setup?

#

Wait

#

Yikes

#

Hm

#

I set my SD card to be the main storage thingy...

high verge
#

from reading the docs it says it makes a private folder for itself

#

so you're not reading the root filesystem on that sd card

rough sapphire
#

Yeah it points out to something com/termux/... path.

#

But I don't know how to do that nor can I find anything...

#

There's like 100 tutorials but that are on a different topic.

#

I think it has reading perms...

#

Wait, so it means that I can't access my SD card without root?

#

Dangit Huawei I hate u.

rough sapphire
#

Should termux-setup-storage prompt me to do anything?

#

Cause it does not do anything.

rough sapphire
#

@rough sapphire try executing echo $? when a command doesn't behave the way it's expected to behave. It returns the exit status of the most recent command

#

Ok

tulip palm
#

i somehow forgot that my hostname made its way to the ot names, but here we are.

sullen thorn
#

it's great lmao

tulip palm
#

no you're great

main mauve
#

has anybodys ublock origin been disabled by google?

rough sapphire
#

@main mauve as in the search engine?

#

confirmed working for me w/ firefox

feral yew
#

moist machine

rough sapphire
#

hi

soft violet
#

I am infrequently referred to as OpalMoist.

high verge
#

what technology?

#

source technology!

sand goblet
#

yes, the Source engine

rough sapphire
#

i still think the best source game is TF2

#

titanfall, not team fortress

gentle moss
#

hmmmmm

#

sure, why not.

#

giant robots.

#

wait wasn't stanley parable on it?

#

that highly acclaimed game i still haven't got around to playing

#

god damn, where my tab button broke on the last laptop i've developed the habit of trying to skip through tabs with ctrl+pgup/dn

#

but they're not by the arrow keys on this expensive slottable fondle slab

sand goblet
#

It was

#

I have it on epic

#

But it's a bit buggy

gentle moss
#

okay opinion time

#

double finger scrolling on a trackpad

#

if you pull it down the page should go.....

#

excellent we can close the poll now

#

gdude obviously laptopping from bed there

sand goblet
#

haha

#

the difference is basically moving the scrollbar directly vs touchscreen scrolling

gentle moss
#

MY DAD'S NOT A PHONE

#

DUUUH

sand goblet
#

don't throw it on the ground

gentle moss
#

i intend of taking care of this laptop ¬_¬

#

no more application of kinetic force

high verge
#

Oh what's that from

#

Lonely Island!

#

MY DAD'S NOT A CELLPHONE MAN!

#

i threw it on the GROUND

gentle moss
#

"my girlfriend hands me her phone, says it's my dad. whaaaaat? you think i'm stupid? my dad's not a phoooone."

rough sapphire
#

happy birthday to the ground

gentle moss
#

kathy was a bit hammered once and wanted to listen to it but didn't know what it was called

#

so just yelled "PUT ON HAPPY BIRTHDAY FLOOR"

high verge
#

i dont know a single person called kathy

#

that's weird

#

i know a good few kates

gentle moss
#

Kathryn is the Welsh spelling of Catherine iirc

#

Kats, Kates, Kathys

sand goblet
#

I know two people called exactly kathy

#

and seven or so people named Kat or a name starting with Kat

gentle moss
#

kath hates kat and her family all call her katie

#

she didn't know her name was kathryn until she was like 7

sand goblet
#

wut

high verge
#

oh i know a kat

#

knew

#

that sounds ominous

rough sapphire
#

Quoi?

gentle moss
#

yeah g, i thought it was weird too :D

rough sapphire
#

I didn't know my name until I was 29

#

imagine that!

high verge
#

why would g4s say that

#

on their website

#

oh they're saying 'its dangerous thats why we parked on top of your grandma'

gentle moss
#

G4S: It's a wonder we still get government contracts!

high verge
shell spear
#

Interesting

stuck meteor
#
id="wordlist" style="display:none;">tornare|guardare|nuovo|il|lo|ultimo|caro|sotto|tutto|oggi|continuo|rendere|piccolo|uomo|anche|tutto|vi|mentre|tu|mezzo|fino|uscire|bianco|aspettare|uomo|politico|ci|un|chi|quello|grande|salvare|mi|invece|un|sembrare|dire|dopo|cui|lungo|mezzo|perfetto|pure|forse|quanto|altro|tenere|tempo|più|forse|sereno|rimanere|volta|grande|vero|chiedere|conoscere|non|poco|finire|già|senza|voi|quanto|portare|giovane|bisognare|si|dire|proprio|stare|pensare|chi|ne|secondo|con|portare|lei|dove|certo|dovere|da|ora|povero|costruire|parere|già|uno|il|tanto|li|alto|pieno|noi|diverso|vecchio|lui|quasi|italiano|suo|vedere|essere|contro|qui|cominciare|in|perfetto|no|andare|con|nero|questo|potere|entrare|si|tempo|capire|mio|attuale|su|ancora|o|costruire|troppo|se|tornare|che|latino|ora|parlare|vivere|normale|lasciare|latino|ne|poco|vecchio|vestire|sì|come|egli|rispondere|italiano|esso|uscire|ma|caro|loro|bene|giovane|chiudere|volere|piano|scrivere|correre|cosa|piano|come|finire|chiamare|venire|grigio|stupido|tra|russo|mentre|nostro|questo|fra|buono|vita|arrivare|avere|vicino|salvare|seguire|potere|a|oggi|estremo|anche|bello|lontano|giorno|cercare|restare|ogni|quale|per|aprire|trovare|anno|cosa|pensare|e|riuscire|prima|qui|di|chiedere|nessuno|diventare|restare|molto|arrivare|di|parlare|continuo|tale|forte|voi|prendere|sapere|parere|sotto|lui|capire|noi|vicino|donna|in|nessuno|bene|no|trovare|bastare|morire|mio|pieno|allora|andare|quale|bastare|a|sentire|diventare|alcuno|o|fra|tanto|puro|altro|alcuno|tuo|più|stesso|diverso|donna|reale|mettere|mettere|cominciare|piccolo|certo|pure|tu|estremo|meglio|senza|meglio|ma|aspettare|troppo|volere|cercare|tale|vostro|mi|parte|anno|su|possibile|stesso|ricordare|impossibile|primo|possibile|che|credere|rimanere|povero|ultimo|volta|grigio|camminare|sembrare|</div>\n\n\t\t<div id="error-box"
#

what regex should i use for getting everything from "display:none;"> till </div>\n\n\t\t

rough sapphire
#

@stuck meteor parse the dom with something like beautifulsoup so as you are left with the inner string only. at that point it's just a | delimiter and you can handle that in several ways

gentle moss
#

or just

#

none;\">(.*)</div>

#

does seem like a bs4 job though

high verge
#

dar/nekit symbiosis confirmed

prisma geyser
#

Hey there! I just got a thought:

#

Is it possible to develop something using ML that checks if a person is suicidal or not via determining it from their social media posts

high verge
#

you could try

#

but i would say it should then be passed onto a human to actually send a message

#

since a human can decide better

prisma geyser
#

Like, I read that almost all who did suicide posted some depressing posts or statuses on their social media before

high verge
#

hmm yeah

prisma geyser
#

Yes, once it possibly finds someone suicidal, it will inform a human about his condition & connect to him

high verge
#

maybe a reddit bot would be a good place to try that out

prisma geyser
#

Oh cool

high verge
#

and again i emphasise that it should go to a human for review so you're not just messaging random edgy people out the blue

rough sapphire
#

Honestly, people will go as far as posting bs on social media just to gain attention, they're not even suicidal.

high verge
#

yeah you'd really have to check

rough sapphire
#

Yup

high verge
#

but i'm sure a lot of people would appreciate you reaching out

#

also don't just post the standard suicide hotline stuff cause that's very robotic

prisma geyser
#

We can train it using their last few social media updates

#

I did check that most of em are depressing! A sudden change to lively social media life to depressing posts might mean something

#

Just 3-4 people

#

Generally celebrities

tame pier
#

While that's definitely a problem ML can solve, the implementation will be difficult.

#

Your algorithm is only as good as it's training data

#

The kind of data you'd need to have a good algorithm is sensitive personal information

#

Would make a good university study since they would have the ability to make the agreements needed to use that information to develop a algorithm

#

Honestly would not be surprised if there aren't a few studies done already

prisma geyser
#

True! I just wanted to know if ML could solve such an issue

tame pier
#

Short answer is yes it can

undone berry
#

I doubt it could meaningfully solve that issue. It's not particularly feasible to get the kind of data you need to do that kind of hting

tame pier
#

There's plenty of data

prisma geyser
#

Ya! Attention seekers will be a problem🤷‍♂️

undone berry
#

You need pretty high quality data, getting it from all spectrums of life, for both positive and negative classes. That's not at all easy to get

tame pier
#

You'd probably need to start with classifying posts using medical data and determining a score of how indicative a person with known history's post is of suicidal tendencies

undone berry
#

The only real way you could even do that kind of detection would be looking at a shift in the attitudes of an individuals posts

tame pier
#

Then use that to train a classifier for posts by unknown people

#

That would be interesting to see

undone berry
#

you very literally do

#

so you're saying you could do this with unsupervised ML?

#

there's no chance you could do this unsupervised

tame pier
#

If common identification is possible without a user's post context

prisma geyser
#

Okay! But what about private messaging apps like whatsapp and all, I can't get status updates from those apps cause it's private data

undone berry
#

what techniques would you apply with only positive samples?

#

for concept learning - you need class labels - class labels are meaningless if they're all the same class

#

i.e positive

high verge
#

well 'other class' examples

undone berry
#

oncept learning, also known as category learning, concept attainment, and concept formation, is defined by Bruner, Goodnow, & Austin (1967) as "the search for and listing of attributes that can be used to distinguish exemplars from non exemplars of various categories"
non-exemplars = negative examples

prisma geyser
#

Just searched about it. Turns out Facebook and other researchers are working on it since 2018!

#

Can't agree more

wheat lynx
#

negative examples are useless for concept learning
@rough sapphire Why is this? (I'm not questioning you, I don't know much about this stuff, I just don't understand why this would be true)

wheat lynx
#

That makes sense but why don't they make mistakes for negative examples? Surely if you only have positive examples then you would just classify everything as positive, you need examples from both sides so you can work out the difference, or am I misunderstanding you

rough sapphire
#

you can gain information by only having one types of examples too. you learn that they are all of a certain type. if something new is not "that type" then you can say with a pretty good certainty that this is an anomaly and whatever it is, it's not of the known class.

wheat lynx
#

Ok, I think I sort of understand

#

Yeah

#

Thanks for explaining that

rough sapphire
#

dank

#

the initial hypothesis is absolutely nonsensical but you start removing things from it until it fits the evidence?

#

we're talking about concept learning right?

#

is this used in ML

rough sapphire
#

What kind of tutorials are valuable?

gentle moss
#

quieter in here.

undone berry
#

LPT: Never use ot0

gentle moss
#

that meta comment i made the other day about extra OT?

#

that'd be nice

#

but i'm feeling very authortarian today

#

1 new OT for people who have been here for at least 6 months

undone berry
#

that would make a lot of sense, but would require roles which staff wouldn't want to do

gentle moss
#

yeah, i can see the implementation problems

#

which is why i would never put it in meta

undone berry
#

something to make OT less ... less what it is right now would be good

sand goblet
#

role bloat is a real problem with real victims

gentle moss
#

like a "regulars" channel

#

too much effort to put in

undone berry
#

just shuffle ots randomly from time to time
That doesn't really solve the problem I don't think. First one in the list will always be busiest

#

just makes it harder to find old messages

gentle moss
#

it already is.

#

oh lol

#

christ

undone berry
#

that would get irritating I think - but honestly, I'd vote for that to be a thing

gentle moss
#

i can see you've never done community management before

undone berry
#

just to try it out

sand goblet
#

they already almost have too many channel edits here

undone berry
#

does rearranging channels count for the limit?

sand goblet
#

with the help system

#

yup

undone berry
#

I get that OT isn't a priority for staff, but trying for some improvements would be nice

#

and the topic change one was such a small one that I really don't understand the reasoning against it

gentle moss
#

the "problem" as "i" see it is that OT gets used regularly by regular users who talk almost daily

#

and then shit gets all shitty fucking fucked

undone berry
#

I think it happens to new/irregular users as well. Just a small % of people on the internet don't think about whether there's an active convo or not and just dump there message in the first place

#

which I kinda get - this is a big and confusing discord

gentle moss
#

well, it's not a dump space, it's a community

#

with rules and nuance

undone berry
#

yeah, dumping images in the middle of something is very irritating

gentle moss
#

the problem with conversation breakers is you can either acknowledge it

#

"hey, we were talking here, you just ruined it."

#

or ignore them

#

ignoring them isn't the best thing

#

but also highlighting their faux pas also derails the conversation

#

and i am a decent man

undone berry
#

Pointing it out is very awkward as well

#

you come across as rude sometimes which is bad

#

and if you're too polite, people don't even realise that you're asking them to move

gentle moss
#

yeah

#

double edged occams razor

undone berry
#

yes, but if you can manage it, the right response to rudeness is still politeness

gentle moss
#

i dunno what era of internet chat you grew up on, but i'd always sit and listen if i just jumped into a channel

#

see wtf is up

undone berry
#

That's the same as normal conversations - not just limited to the internet

royal laurel
#

derailing chat?

undone berry
#

you don't hop into a star wars argument and ask about your foot fungus

gentle moss
#

interrupting chat without consideration for current path of conversation

#

etc

#

yeah, i think we're all on the same page

#

but there's just no way to solve it other than...

#

other... than.....

#

user education

undone berry
#

Once you've spent enough time here, the problem is pretty obvious, but there are no solutions

#

well - there are solutions

#

but just not ones that staff will take (mostly because it would make other things worse, and OT doesn't matter)

gentle moss
#

user education only works if the users decide to stick around

#

rath-

#

exactly lukas

undone berry
#

The only two methods you have for user education are channel topics, or some jankery with roles

#

and no one reads channel topics

gentle moss
#

that's a conversational skill

#

in real life AND the internet

#

i think it's actually easier to do on the internet

#

since there's an entire chat history

royal laurel
#

Chat etiquette hours

#

In moist machine chat

gentle moss
#

well... to be fair....

#

we are moist machines

#

mooooiiiiissssttttt

undone berry
#

The internet makes it very easy to jump into the flow of a conversation I think. You might have a false start or something, but it's not too bad

gentle moss
#

it's also easier to be a total dick on the internet lukas

royal laurel
#

I assume by that they meant a humidifier

gentle moss
#

i used to be a shitty edgelord when i was 14-15

#

before edgelord was what it was called

royal laurel
#

used?

gentle moss
#

back then you were just a twat

#

hah

undone berry
#

it's mandatory to be a shitty edgelord at 14 right?

gentle moss
#

i think it's avoidable

#

and pleeeasssseeeeeee.....

#

calling me an edgelord is an insult to my craft.

royal laurel
#

Hahahahah

#

Edgeking suits you better, your majesty?

undone berry
#

I remember starting arguments calling vegetarianism dumb - very embarassing

gentle moss
#

nah, there's no edge, there's no hierarchy.

rough sapphire
#

What are IIRCs used for?

gentle moss
#

if i remember correctly.

undone berry
#

if i recall correctly?

gentle moss
#

IRC is internet relay chat though, it's the thing grown ups used to use to talk.

sand goblet
#

I remember before I joined here I was pretty edgy too haha

#

Total gamergator actually

#

Don't worry, I got better

gentle moss
#

well, you're young

rough sapphire
#

I'm younger.

#

@gentle moss But would it be worth for me to write my own IIRC?

royal laurel
#

I'm baby

#

Not really but

#

Yes

rough sapphire
#

Are they used nowadays?

undone berry
#

iirc is just slang

sand goblet
#

You cute aki

royal laurel
#

:>

undone berry
#

it's a shorthand way of writing if i remember/recall correctly

gentle moss
#

i used to rig our counter-strike servers to rebind people's keys at random every 2 seconds

#

tiny things like changing fire to jump

rough sapphire
#

Yeah idk what it really means

undone berry
#

IRC is the chat protocol, yeah

#

and it depends what you mean by worth it

#

but, that's offtopic for this offtopic IMO. Ask in #networks

rough sapphire
#

Like, do people use it? Or do they just give a fuck about platforms like Discord?

sand goblet
#

People use it

rough sapphire
#

Last question please.

#

Oh ok

gentle moss
#

hahah

sand goblet
gentle moss
#

IRC is how Twitch chat runs

#

since IRC is a good protocol

#

and it works.

sand goblet
#

It's not that good

undone berry
#

well, behind the scenes it's no longer doing IRC I don't think. You can connect to it with the IRC protocol, but they convert things

sand goblet
#

It's human readable though which is convenient

gentle moss
#

IRC is a protocol, the implementations you're talking about aren't all IRC

undone berry
#

the IRC stuff is mainly backwards compat for bots and people using twitch chats as chatrooms via IRC clients

rough sapphire
#

Uh, can't I just write the back-end and use fancy Electron as the front-end?

gentle moss
#

having fun typing gibberish?

undone berry
#

why do you want to write your own? As a learning exercise?

rough sapphire
#

Yeah

#

I also don't have projects, like none...

undone berry
#

IF it's a learning exercise, your best bet is to just go read about the protocol/clients for a while

rough sapphire
#

I thought IRC was some sort of a "style" of chatting.

undone berry
rough sapphire
#

Oooo

#

I think Discord uses IRC?

gentle moss
#

oh, sorry for being snarky.

#

no, discord doesn't use IRC

rough sapphire
#

;C

#

I want to try new things.

#

But maybe that also.

gentle moss
#

well IRC is old but that's good

#

there's loads of documentation on it

rough sapphire
#

That's the reason, I want something that has a ton of documentation so I can make that shit happen in hours. ;)

gentle moss
#

interesting use of IRC in the modern era: botnet command and control channels.

rough sapphire
#

Botnets, wha...

gentle moss
#

botnets need to talk to a master server, it's common for them to use IRC as a protocol

#

over port 80

rough sapphire
#

Why can't the owner of the bots just use a GUI and it will send the commands through the server to the bot/s?

high verge
#

what

rough sapphire
#

Ain't it convenient?

sand goblet
#

That's what they do

gentle moss
#

through what protocol?

rough sapphire
#

TCP

gentle moss
#

hang on guys, i got this

#

IRC operates over TCP

undone berry
#

send the commands through the server
that's what the IRC is for

high verge
#

it's not like each bot is running a fancy IRC frontend and typing in the messages with its little botnet fingers

#

its just as a protocol

rough sapphire
#

LOL

gentle moss
#

okay okay okay

rough sapphire
#

Then what's the point of me trying to learn IRC, if it's just TCP.

gentle moss
#

say you have malware on PC A and it wants to talk to Server

#

PC A is behind a firewall, so the Server can't talk in.

#

PC A needs to talk OUT to the Server

sand goblet
#

TCP requires a lot of manual work, considering you need a communications protocol on top of it

gentle moss
#

IRC is a basic protocol which can easily sneak out Port 80 (http)

sand goblet
#

So why not just use a nice easy one that already exists

gentle moss
#

so PC A connects to via IRC to the Server

rough sapphire
#

Oh ok

gentle moss
#

the router sees nothing weird

#

you now have a two way communication link

rough sapphire
#

Yeah the server can't reach the PC but the PC can.

undone berry
#

TCP/IP stack is something you should be aware of at a high level - just knowing that it exists

gentle moss
#

make sense?

rough sapphire
#

LOL

#

LOL I CAN INSTALL A FUCKING RAT WITH THAT.

#

Yes

gentle moss
#

uhhhh

#

no, that's not how this works.

#

you'd need the RAT on PC A first.

#

so it can CALL BACK

#

also i'm stopping here

#

because

#

!rule 5

rough sapphire
#

Forgot IRC is a chat protocol.

royal lakeBOT
#

5. Do not provide or request help on projects that may break laws, breach terms of services, be considered malicious/inappropriate or be for graded coursework/exams.

rough sapphire
#

No, I don't have any malicious intentions just saying but oki.

gentle moss
#

IRC isn't a chat protocol

#

it's a protocol

rough sapphire
#

A protocol, p r o t o c o l.

#

Kontol

gentle moss
#

prohtoekhal

rough sapphire
#

Prohtokol

gentle moss
#

i still win.

rough sapphire
#

Yes you do. ;C

undone berry
#

your is indeed a real word

gentle moss
#

your right there charlie

#

i can back you up on that

#

¬_¬

rough sapphire
#

Your right.

undone berry
#

what's your address? is a simple example

gentle moss
#

oh that's easy

undone berry
#

for second person when addressing the speaker

gentle moss
#

uhhhh....

rough sapphire
#

Do you want my IP... Ahaha

gentle moss
#

ah nvm i forgot i got a new laptop

#

i'm sure python.sureis.sexy resolves to it

high verge
#

314 Water view Drive
Franklin Lakes
NJ 07417

#

oops that wasn't an actual question

gentle moss
#

it's not a real word, it's similar to how ghotti spells "fish"

undone berry
#

what is that address?

high verge
#

oh damn that's a nice house

#

well anyway my ip address is 127.0.0.1

#

if you want to know

rough sapphire
#

Gonna break into it, hold on.

gentle moss
#

tbh for about 10 years i was registering my domains to 1600 Pens Av.

rough sapphire
#

@high verge Please wait the fuck there for 20 mins.

undone berry
#

FACING.SAME.LIME is my address

rough sapphire
#

@gentle moss How to ddos someone?

undone berry
#

where I'm sat right now

gentle moss
#

i can tell you that

#

!rule 5

royal lakeBOT
#

5. Do not provide or request help on projects that may break laws, breach terms of services, be considered malicious/inappropriate or be for graded coursework/exams.

high verge
rough sapphire
#

Here's the IP: 127.0.0.1

high verge
#

is also my address

rough sapphire
#

Oh

high verge
#

ddos that website

rough sapphire
high verge
#

please

#

(this doesn't break rule 5 ;D)

gentle moss
#

oh that's fine, the entire /24 range is pingable

#

i'll just ddos the whole block

#

oooh nooooooo

#

my... internall....llaaaattennnccccyyyy

rough sapphire
#

Bisk

undone berry
#

well - that is breaking rule 5, we can't know that domain is yours

rough sapphire
#

U ok mane?

high verge
#

@undone berry tracert ;)

gentle moss
#

hey charlie, do i seem fine?

high verge
undone berry
#

oh

#

hah

high verge
#

yes :)

#

not sure why i registered it

undone berry
#

hey charlie, do i seem fine?
You seem averagely Bisk

rough sapphire
#

Lol

gentle moss
#

yup, there we go. i'm fine.

high verge
#

but people here have interesting things running on port 80 so telling them that there's a ctf at that address sometimes gives interesting results

gentle moss
#

i don't even have to do a self check.

#

you're the oddball here nully.

high verge
#

nully the uliphant

gentle moss
#

nully the uliphant packed his /dev/ and flew out from JFK

#

he ate some geese

#

thought "shit yeet"

#

and dumped that shit in the water

high verge
#

worteerrrr

#

uh

gentle moss
#

that was a sully reference, btw lukas.

#

the dude who landed a plane in the hudson

rough sapphire
#

Give me your FTP server contents please~

high verge
#

how old are you lukas

gentle moss
#

that's an apache2 directory listing

#

not an FTP

high verge
#

that was unrelated

#

as in 'ooh what an interesting ctf

rough sapphire
#

Bisk, don't bully me I'm just a child.

high verge
#

which birthday

#

we're all children here

gentle moss
#

well happy birthday lukas

rough sapphire
#

Idk what's going on...

high verge
#

and we all float

gentle moss
#

getting old means you didn't die

#

which is a positive

#

you've got this fella

#

getting older feels weird

#

but we all ride it out

#

we all ride it out

undone berry
#

Birthdays are overrated - instead we should celebrate the day of the year in which we're going to die

#

just need to figure that day out...

gentle moss
#

i have your address

#

we can resolve that one

#

oh man charlie

#

i was digging in the freezer for food earlier

undone berry
#

I just gave my address down to a 10m^2 radius

gentle moss
#

was like "aw damn yes a chilli!"

#

then saw the message on it

#

"oh no, that's charlie's food...."

undone berry
#

haha - rip you

#

there is 0 chance I would have had the will to not eat that by now in your place

gentle moss
#

i want you to eat my food too much

undone berry
#

I'm not complaining - I also want me to eat your food

gentle moss
#

a love story better than twilight

undone berry
#

well - yes - but that's not too hard to achieve

gentle moss
#

plus mine's got actual meat to it

#

badumtshhhhhhhhhh

undone berry
#

Is there actually a new twilight book?

gentle moss
#

oh god.....

undone berry
#

oh damn

#

expected 4th August

gentle moss
#

that means a new movie

#

that means i have to watch it.

undone berry
#

oh - it's just a new POV of the first book

gentle moss
#

OH YEAH

#

it's from the vampire POV

undone berry
#

That's gotta be some spicy prose

#

200yo vampire dude creeping over a teenager

rich rover
#

erm...what

gentle moss
#

yeah, my thoughts too charlie

rough sapphire
#

iirc lotr started like that too charlie

gentle moss
#

"it's been my 300th circle around this sun and i was getting bored. so i found this 17 year old girl....."

#

those fucking movies (not read the books) creeped me out with their relationship overtones already

undone berry
#

iirc lotr started like that too charlie
200yo vampire dude creeping over an American teenager in small town America

#

it sure did shift al lot

rough sapphire
#

frodo is just your average american teenage girl

undone berry
#

Scott, one of the staff of pydis, was in Twilight movie
@rough sapphire
Was Rami Malek in it or something?

rough sapphire
#

Hey is there a way I can create a generator that generates ASCII art out of an image?

#

yes

#

You can use different ascii characters as different brightness levels

#

so a whitespace is the brighest, and something like @ or # is the darkest

#

Then you compare those values with the brightness in the image

#

and set the appropriate char

#

O, sounds simple but how would I go around checking brightness in the image?

#

Oki thanks!

rough sapphire
#

well shit

#

just realised I've had the hob on for the whole night

soft violet
#

Yeah. I've forgotten sometimes. Ours clicks as the thermostat turns it off and on, so at least there's an audio cue.

rough sapphire
#

mine's just a flame

soft violet
#

Erg.

#

Ours is a ceramic.

#

Flat surface all over.

rough sapphire
#

I actually prefer the gas ones. I know it makes no sense, but the food turns out tasting better

soft violet
#

Could be to do with heat travel patterns, if not your imagination.

#

Focused vs diffuse.

#

Flame hotter, maybe.

#

But you can turn it down.

#

More Maillard reaction with hotter, more direct heat.

sand goblet
#

Gas is far easier to control

gentle moss
#

gas cooking boys united

#

apart from induction, gas is the shit for cooking on

sand goblet
#

Induction I want to try but you can't just go to a store and try it

rough sapphire
#

but is induction good

#

it's just electricity but with more efficiency right?

sand goblet
#

The stove doesn't heat up

#

The pans do

#

It's direct heat control

rough sapphire
#

#ElectricityCookinGang

sand goblet
#

I don't like plain electric

#

You have no direct control over the heat

rough sapphire
#

plain electric is huge waste of energy 😐

#

I mean... as soon as it heats up it all it matters to me.

#

you're heating things up that have no business heating

sand goblet
#

Induction is kinda inefficient too

#

Er, not induction

#

Ceramic

rough sapphire
#

what's ceramic? isn't that just electric?

sand goblet
#

It's electric but the element is ceramic

#

There's no glass top

#

Pan just goes directly on the element

rough sapphire
#

microwave ovens have a pretty good thing going on for them

#

they heat only the food

undone berry
#

Induction means you need to have all magnetic friendly pots. When we swtiched to it, had to get new everything

#

although it was very good

sand goblet
#

Yeah, that's a drawback

gentle moss
#

microwaves also heat certain types of clayware more than they heat food

undone berry
#

I once bet someone that a plate wouldnt heat up in the microwave, microwaved the plate for 3 minutes, then burned the fuck out of my hand

gentle moss
#

nice

high verge
#

Had you never like

gentle moss
#

i put some stuff to reheat in a little ceramic bowl once

high verge
#

Used a microwave

gentle moss
#

bowl got super hot

#

food did not

rough sapphire
#

Mix it long enough and it’ll heat up

undone berry
#

I mean - I have used a microwave, I was just too sure that my own incorrect theoretical knowledge about microwaves was correct

#

I thought they only heated up water

#

but that's not true

#

they just mainly only heat up water

rough sapphire
#

They don’t heat up wax

#

So next time bet it won’t melt a candle

undone berry
#

good idea

#

hey - wanna make a bet?

rough sapphire
#

Sure

honest star
#

Welp, today's looking like a 6 hours of meetings kind of day.

plucky ridge
#

Eww

honest star
#

But! It's my only day with any sort of meetings. So at least it's out of the way early in the week

rough sapphire
#

What's the most longest time you've spent in 3AM trying to find your blanket's long side?

undone berry
#

@twilit marlin React is nice, Redux is a bit much and I feel like React could be simpler than it is - but React is by far the nicest way to make GUIs that I've tried

twilit marlin
undone berry
#

I've heard that both Ember and Vue are nicer than react, yet to try them though

twilit marlin
#

and, @undone berry, that's true

deep drum
#

https://www.youtube.com/watch?v=UquPv9WpuB4 ah this is the one I watched

R.I.P.ゴシップの海を含む全13曲アルバム「ゴシップの海」配信中!!
https://linkco.re/zCSpvvtM

作詞・作曲・イラスト・動画/ cosMo@暴走P
(https://twitter.com/cosmobsp )

キャラクターデザイン他 / syuri22
(https://twitter.com/syuri22 )

うさぎ/ もちよ
(https://twitter.com/mochiyomf )

【カラオケ】http://chemsys.cc/mp3/rip.mp3
【歌詞】http://chemsys.lo...

▶ Play video
topaz aurora
#

Eyyyy cosMo

twilit marlin
#

Vue is pretty nice and i actually like it more than React but it feels like it's less scalable

#

probably would pick Vue for personal projects, and for bigger-scale React fits better

#

mostly because of JSX

undone berry
#

Authentication is the most annoying part about React

#

passing auth tokens about

rough sapphire
#

icri I wanted to start a nice topic and y'all fucked it up.

#

Get out of my channel.

#

Unwanted pests.

twilit marlin
#

:(

#

that's rude

rough sapphire
#

It's rude to steal people away from my topic.

undone berry
#

no one was talking about your topic

#

because it isn't a topic

deep drum
#

lool

undone berry
#

it's a shitty joke

rough sapphire
#

I genuinely wanted to know how long you spend finding the long side.

#

...

twilit marlin
#

anyway @undone berry afaik there's PassportJS package for taking care of auth

#

didn't use it but i guess it should make auth stuff bit easier

#

because it can be used directly in node

undone berry
#

that's backend right? My problem was using basic auth or jwt with React and getting it to the right places for making requests

#

it's not a massive problem

#

just an irritation

twilit marlin
#

ohh

#

gotcha, gotcha

undone berry
#

auth as a whole with web stuff is just annoying

twilit marlin
#

well, i liked how django tackles on authentication

#

it's pretty easy in realization here

undone berry
#

passport looks pretty neat though - next time I try a fullstack node thing, I'll probably use this

twilit marlin
#

tieing it up with REST api though

#

yeah i'm practicing fullstack MERN rn

#

trying to recreate *chan, because it seems not so hard for first project

undone berry
#

screw the mongo part

twilit marlin
#

why so?

#

express has much better mongo support than all sql bases

undone berry
#

It has no real advantages over something like PGSQL, and the only reason to use it is alleged ease of use, but that ease of use falls apart after a year or two

twilit marlin
#

well, never used it in a long ride, so can't tell anything on that part

#

so far it fits the task, though

undone berry
#

It's worth learning though - a lot of jobs want it

twilit marlin
#

anyway, i like python backend development much more :(

#

but sadly, there's not much junior python web-developer positions

#

and i have 2 years before i gotta seek myself a job

#

so... yeah

undone berry
#

express is actually pretty nice for a rest API I feel

twilit marlin
#

it's nice, but it's really barebones, which is kinda problem

#

gotta implement a lot of solutions yourself and reinvent the weel

deep drum
#

just spent like friggin 10 minutes searching my liked videos playlist to find this https://www.youtube.com/watch?v=o1iz4L-5zkQ

Dir.JET Choreographer. めろちん(Melochin)
2016/6/15(水)にBEST ALBUM「Eight -THE BEST OF 八王子P-」が
リリース決定!初回限定盤に付属される「気まぐれメルシィ feat. 初音ミク」MVを一足早くお届け!
(Lyrics: Hachioji P/q*Left Song & Arrangement: Hachioji P)

I will release my vocaloid best album [Eight -THE BEST OF Hachioji P-] on...

▶ Play video
#

hate when you can't find a video

rough sapphire
#

lol

cosmic lotus
#

until you screw up the installation and the compiler speaks in gibberish

rough sapphire
#

Although I'm pretty sure my first line of Python wasn't valid syntax, yeah something like this:

Prnti("Hello world")```
gentle moss
rough sapphire
#

oh Beehave

thin dune
#

beehive *

rough sapphire
#

clearly you don't know Austin Powers

#

International man of mystery

solid pollen
#

Hmm 'kay

high verge
#

groovy baby

small fossil
#

@ everyone Ping in top.gg single handily causes a server outage nice

#

the Chaos is booming

plucky ridge
#

And they don't have it disabled there?

small fossil
#

They do

#

but new owner taking over

#

so out came the ping

#

down went the server

#

up comes the 100,000 people asking whats going on

plucky ridge
#

Discord, I swear to god you're just a mysteriously balanced stack of wet toilet paper some times

solid pollen
#

Hahaha

forest swan
#

that's amazing

lofty dirge
#

It make sense

#

Discord initial design development, you know, gaming chat for a groups of friends/clans in small numbers with voice, those bigger groups have forums and Teamspeak

#

Discord a little later: Oh shit

sullen thorn
#

i always thought it got marketed as a replacement for teamspeak?

sand goblet
#

Yup

rough sapphire
#

I thought it was Slack but for games

#

And Slack is IRC, but for work and with tons of multimedia sharing support

#

"It’s time to ditch Skype and TeamSpeak."

sand goblet
#

Don't use a broom.

rough sapphire
#

I don't, I use a scrubber.

high verge
#

what is slack actually better at now

#

better screensharing apparently

undone berry
#

Discord is better than Slack for everything I can think of

#

only feature it has that Discord doesn't (that I care about) is threaded message replies

#

which no one uses properly anyway

sand goblet
#

I have

#

It's quite basic

#

It's a gitlab project

undone berry
#

does it do voice?

sullen thorn
#

wait r u the networking guy gdude? thought it was bisk

sand goblet
#

I think it only does voice messages

#

It is bisk yes

sullen thorn
#

ah

lofty dirge
#

I've used mattermost, unless have really strict privacy controls, it's pointless

#

Slack is also better at corporate stuff like SSO and proper ediscovery

#

and Discord was one of those "Get rid of Skype/Teamspeak" for your small group of friends

undone berry
#

I just want a decent opensouce/free version of Discord

#

that can do voice+text reasonably well

#

Matrix with Riot/Synapse is the closest I've seen

lofty dirge
#

it came into being when Discord founders were making a MOBA and found the hassle of Teamspeak Server setup and hosting or just having Skype friend lists was ultra annoying

#

Charlie, it's hard to do it really well since A) Slack has proven people will pay for hosted version B) You need cloud resources to do it easily

#

so it's hard to package

#

LIke I remember talking to Microsoft people about Teams, they said hosted version was impossible because they were using so many Azure only services that made it impossible to develop on premise system

undone berry
#

iirc Discord at some point said they could do an enterprise version if there was interest

#

enterprise+self hosted that is

sand goblet
#

They said they would do it on Twitter but they would be maintaining it, it'd be the whole deal

lofty dirge
#

probably because they still run their own Cassandra DB servers

#

so not self hosted

#

Enterprise hosted makes sense they could do

#

self hosted would probably be a nightmare

undone berry
#

I'm surprised they haven't done that yet

#

with 'rona it would probably have been a great time to launch - and they were moving away from gamery stuff anyway

lofty dirge
#

WHy would they?

#

Looking at Slack, it's a bad market to be in

undone berry
#

well - slack is popular, just not profitable right?

lofty dirge
#

Between Google and Microsoft being "free", convincing people to buy your chat service is going to be a lift

undone berry
#

Well - Slack seems to be pretty dominant, and their free version is pretty not good

lofty dirge
#

it's not

#

Discord is eating it's free lunch

#

and many companies are looking at Microsoft offering and go "For free, good enough"

undone berry
#

I dunno, every place I've seen uses Slack

lofty dirge
#

G Suite offering is shit but so is entire G SUite

undone berry
#

although that's fairly limited from me

#

MS Teams and Skype are both shite

lofty dirge
#

Teams is fine, fuck SfB

undone berry
#

I've found Teams' usability to be just trash

lofty dirge
#

it's much improved

undone berry
#

entirely unintuitive

#

I've only used it recently for uni stuff

lofty dirge
#

I used to use it daily

undone berry
#

since March

lofty dirge
#

it doesn't work well for Uni

#

it's design is Teams working together

#

and for it to be one stop shop for that team, so all your documents, spreadsheet, wikis, tasks were all in Chat client

#

it's enterprise tool

undone berry
#

hm - I just dislike MS's approach to UX and UI design as a whole

#

everything is far too spaced out in every single MS product

#

except maybe office

#

it might be a tool with a lot of good features, I'm still very skeptical about the overall usability

#

at least for smaller enterprise stuff

lofty dirge
#

corporate != university

undone berry
#

yeah

twilit marlin
undone berry
#

I'm not really looking at it from a university perspective

#

ofc I am to some extent

lofty dirge
#

it's main advantage comes from pricing

#

"It's free"

rough sapphire
#

What terrible crimes did you commit? @twilit marlin

lofty dirge
#

and it's integrated into rest of Office Suite you are already using

undone berry
#

but for a small scale business, it seems rubbish. Discord f.ex smashes it out of the park in terms of voice/text ease of use, and it's not that hard to live without the office integration

rough sapphire
#

looks like a text based rpg

twilit marlin
#

well... there was a bit of them @rough sapphire
that's AI Dungeon

lofty dirge
#

Charlie, oh but it is

rough sapphire
#

AI Dungeon is great

twilit marlin
#

i've robbed people, knocked out at least 2 cops

#

and killed at least 1 person

rough sapphire
#

What is AI Dungeon?

undone berry
#

I dunno. Nextcloud is pretty good and free

lofty dirge
#

like I can drop Excel file into Teams, it gets added to Team File tab and any future updates are stored

twilit marlin
#

@rough sapphire text-based RPG, but it's generated by GPT-2 neural network

#

also we probably should switch OT channel

lofty dirge
#

NextCloud requires you to run infrastructure, pass

rough sapphire
#

This is OT

twilit marlin
#

yeah but this one has ongoing convo

rough sapphire
#

true

twilit marlin
#

charlie keeps mugging me for interrupting :p

undone berry
#

well, for somewhere smallish/medium the hosting of Nextcloud is pretty fine/cheap

#

It's not just you - it's everyone. You're the exception in that you actually listen when it's pointed out - which is great

lofty dirge
#

for business, it's comes down to, You already have Office365 unless you went Google, you want me to pay for something else when X works fine

#

hard for a business to swallow

undone berry
#

Yeah, I guess

lofty dirge
#

because for almost all businesses, that is your two options

#

G Suite/Office365

#

and my current company just converted to G Suite, I was like "Yes, no more Office" and now I'm like "Fuck it, I'll take Office, I thought it couldn't get any worse, I was wrong"

undone berry
#

What's so bad about G-Suite?

#

never used it really - just curious

plucky ridge
#

sounds pretty sweet, g

lofty dirge
#

UI isn't consistant, G Mail is fine for consumers, awful for enterprise, it's all browser based which results in massive amount of RAM/CPU usage out of Chrome (my chrome.exe are up to 15% CPU and 1.7GB of RAM)

#

you know what I want, Labels for my email said no one ever

undone berry
#

oh yeah, gmail for anything heavy seems like a pita vs Outlook

lofty dirge
undone berry
#

well - part of the problem seems to be that your work gives you a shit computer

lofty dirge
#

And if I start up meeting, it skyrockets

#

Agreed

#

But converting me to G Suite is part of the issue

undone berry
#

seems like switching is the worst of every world - people don't like learning new things

lofty dirge
#

it's not "It's new" it's the fact that Google released this "Hey, great for consumers thing" because they wanted to mine more data then some CTOs wanted to buy it

gentle moss
#

use a mail client

#

duh

#

there are SMTP servers

rough sapphire
#

Hm

#

Can anyone please give me a list of PIIs?

#

I'm trying to make a bot that prevents members from sending any potential PII.

gentle moss
#

Pentium 2's?

#

oh, nvm

rough sapphire
#

Personally Identifiable Information.

gentle moss
#

enjoy the read

rough sapphire
#

I don't know what is considered PII.

gentle moss
#

it's very informative

rough sapphire
#

I hope it lists what info is considered PII.

gentle moss
#

this might also help

#

the original site isn't loading for me, had to use a cache

rough sapphire
#

That other site you sent me was a fucking bloated shithole lmao.

gentle moss
#

the first?

rough sapphire
#

But hey, thanks anyways.

#

Yes

gentle moss
#

iirc it's written by a professional on compliance

#

that would've educated you on the entire concept rather than "what good what bad"

undone berry
#

yeah, seems fine to me

rough sapphire
#

Ah ok

#

Just seems like a porn site that's full of advertisement and shit.

gentle moss
#

.... what?

rough sapphire
#

Yes

gentle moss
#

i think you may have some internet problems o_O

undone berry
rough sapphire
#

Do you have an ad block?

gentle moss
#

let me turn mine off

undone berry
#

That's the adblock turned off

rough sapphire
#

Right, now I have to find out how to find out if someone posted an IP address...

#

Oh

#

Idk, I have no ad block like at all on because mobile Chrome doesn't support ad block or extensions.

gentle moss
#

just normal tech ads

rough sapphire
#

WHAT

undone berry
#

the one in that sc isn't even an ad right?

#

it's from the site

rough sapphire
#

HOW CAN I BE TARGETED TO LIKE 100 POP-UPS...

graceful basin
#

malware maybe

gentle moss
#

sounds like you need to clean house

graceful basin
#

I have had ad malware before

rough sapphire
#

. . .

undone berry
#

I'm curious why I don't have that banner that you do though Bisk

#

weird

rough sapphire
#

I reset my tablet like 3 days ago.

plucky ridge
#

Wait, popups are still a problem?

rough sapphire
#

Yes

plucky ridge
#

I honestly can't remember the last time I've had one

oak tangle
#

I was just thinking the same

rough sapphire
#

Yikes

oak tangle
#

I remember them from years ago

#

My mother installing a "fancy" toolbar

#

stuff like that

plucky ridge
#

What kind of shady places are you visiting, Null?

gentle moss
#

i only get popups in the morning

undone berry
#

popups now are push notifs mostly

gentle moss
#

or if i a see a thicc tree

plucky ridge
#

@gentle moss Bad

undone berry
#

not really a popup

rough sapphire
#

I download genuine apps from Google Play Store c'mon ...

undone berry
#

but websites demanding you accept push notifs are a problem for old people

plucky ridge
#

@rough sapphire Then you did it to yourself

rough sapphire
#

@plucky ridge I'm 15 so nothing shady... ;)

gentle moss
#

so that's everything shady

plucky ridge
#

Yeah, if you're winky facing at the end of a sentence, you get what you deserve

gentle moss
#

without the experience to prevent yourself getting cookie destroyed

rough sapphire
#

Yeah, my grandma always enables everything, no wonder her laptop has like 100 ads from some shitty ass recipe sites.

undone berry
#

I can't think of pretty much any sketchy app I'd even want to download

#

I just don't understand some people

rough sapphire
#

I only downloaded Discord, what's wrong...

plucky ridge
#

This suuuuuucks

undone berry
#

what suuuuuucks?

plucky ridge
#

Sitting here waiting to hear from IT

gentle moss
#

you used a browser to access shit on the internet without having a proper adblocker or cookie policies

plucky ridge
#

Can't go and do errands because I need to be here to troubleshoot

gentle moss
#

Hi, this is IT.

plucky ridge
#

So I can't run errands, so I'm all jacked up

gentle moss
#

Do you have your ticket number ready?

rough sapphire
#

@gentle moss What can I do when Android Chrome sucks.

gentle moss
#

idk. i use computers for the internet

rough sapphire
#

Not my problem, nor do I trust my browsing history anyone else than Google and their data consuming partners...

#

I browse docs through my laptop.

gentle moss
#

well you've achieved something

rough sapphire
#

I have a different Discord on my laptop, it's not like I can copy and paste the url from my tablet onto my laptop.

gentle moss
#

this is a good opportunity to look at your practices when using technology

plucky ridge
#

"A different Discord"

rough sapphire
#

Wha

#

Discord user is what I meant...

#

;D

plucky ridge
#

Please stop that

rough sapphire
#

;)

plucky ridge
#

Seriously, I'm not in the mood today

rough sapphire
#

Aw oki... <3

plucky ridge
#

A lot on my plate

gentle moss
#

it's only fine when i do it.

#

the power of a wink.

#

it can crush souls

rough sapphire
#

Wink, wink.

gentle moss
#

like when you put your thumb and index finger over someone's head

plucky ridge
#

It's because I'm imagining the beard itself winking

#

"Crush crush crush I'm crushing your head!"

rough sapphire
#

icri It's always the beard that's good.

gentle moss
#

it's funnier when the other person notices

#

and puts up a defence

#

beardy winks.

rough sapphire
#

@gentle moss

gentle moss
#

boo, bad timing

rough sapphire
#

PLEASE

#

SEND IT AGAIN

#

I wanted to look at the video...

#

;(

gentle moss
plucky ridge
#

Magnificent

gentle moss
#

you can feel the passion

rough sapphire
#

I can't even watch it... Discord is being slow...

#

LOL

#

Wink wink wink with a beard.

undone berry
#

something about that video is fucking majestic

gentle moss
#

oh oh oh

#

i know

#

it's me.

rough sapphire
#

I like that beard, it's so pretty...

gentle moss
#

it's taken me like uhhh

#

5 months to get this

rough sapphire
#

Is it really that easy to grow a beard

#

?

gentle moss
#

i grow beard easily.

undone berry
#

compared to your trellis making, something has gotten even more majestic. I think the background is what plays a part in it

sullen thorn
#

jesus christ is that you bisk?

rough sapphire
#

Hm

gentle moss
#

yes, this is bisk; jesus christ.

rough sapphire
#

Erm

#

Can anyone please tell me how long and short can IP addresses go?

#

Like

#

Can they be 69,169 this short?

plucky ridge
#

0.0.0.0 to 255.255.255.255

graceful basin
#

ipv4 that is. ipv6 is more complicated

plucky ridge
#

Yep

rough sapphire
#

But most of the internet now rocks IPV6

graceful basin
#

I really need to start using ipv6 in my projects

gentle moss
#

0 blocks aren't assignable

#

nor are 255

#

so every range is actually 1 to 254

#

255 is reserved for broadcast and shit or w/e

rough sapphire
#

I want to create an IP address detector but I don't know how IP can look like.

#

Like mine is this long 00.000.000.00.

plucky ridge
#

194.168.x.x is reserved for local ip, right?

rough sapphire
#

Yes

plucky ridge
#

192

gentle moss
#

192.168.0.0/24

plucky ridge
#

I derped when I should have herped

rough sapphire
#

Derp

gentle moss
#

172.16.0.0/16

#

10.0.0.0/8

#

private spaces defined in RFC

#

and some 169 addresses are also reserved

#

for "idk wtf my IP is"

graceful basin
#

the grammar for IP addresses is \d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3} afaik

gentle moss
#

that'd pretty much do it

rough sapphire
#

Yeah I want to use RegEx.

gentle moss
#

are you looking in logfiles?

high verge
#

an ip address will be x.x.x.x, where x is any number from 0-255

#

as a possibly simpler explanation

gentle moss
#

\d{1,3} would capture A LOT of stuff

high verge
#

idk if regex can even do that

gentle moss
#

including 999.999.999.999

rough sapphire
#

Hm

gentle moss
#

regex can do that

rough sapphire
#

Isn't 999.999.999.999 valid

#

?

graceful basin
#

no, only up to 255

rough sapphire
#

Oh

high verge
#

0 or 1 or nothing then 2 digits OR 2 then(( 0,1,2,3,4 then a digit) OR (5 then 0,1,2,3,4,5)

gentle moss
#

you're probably going to want uhhhhh

high verge
#

which is hellish

#

why do you particularly want regex

gentle moss
#

oh god i had too much friggin wine

#

i'll get there, give me 54

rough sapphire
#

Idk cause I find it the most easiest method?

high verge
#

but not for everything

#

don't try to tighten your relationship with a girl with a wrench

#

i learnt that the hard way

rough sapphire
#

Also I don't really know HOW I'll detect someone's IP with a bot...

gentle moss
#
arg kill me why do i do this

(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)```
#

there

#

that's a proper regex for validating an IP address

rough sapphire
#

Let me check. <3

gentle moss
#

something may be wrong with it, but fundamentally it is the thing

rough sapphire
#

Wait, I am confused...

#

Looks like RegEx but since I haven't wrotten any RegEx before I am confused.

#

There's also alot of things...

gentle moss
#

you COULD

#

but then some guy from the 1970's is going to come and beat you with a club

rough sapphire
#

Yikes

graceful basin
#

I think this is the first raku grammar I wrote that actually looks readable

gentle moss
#

okay so null, here's a key part

#

if you know your data ONLY HAS VALID IP'S in

#

you can use lak's earlier one

rough sapphire
#

Hm

gentle moss
#

\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}

#

since it's basically capturing number groups

#

which is what an IP is

rough sapphire
#

What do you mean by only like the message has only the IP in it and nothing else?

gentle moss
#

4 lots of 1 to 3 digits split by a stop

rough sapphire
#

Yeah

gentle moss
#

the key word is VALID

#

that regex will detect INVALID ip's as ip's

rough sapphire
#

Well, honestly those 00.00.00.00 numbers could mean anything not just IPs...

gentle moss
#

the one i posted checks the RANGE of each octet

rough sapphire
#

Hmmmm

gentle moss
#

you probably want to do a bit more research

graceful basin
#

honestly, I would just use mine and check it manually

rough sapphire
#

Hmmmm

gentle moss
#

that's what i do lak

#

but i'm only using my regex on log data from firewalls / servers

#

which already filter out invalid IPs

rough sapphire
#

This is actually complicated than what I initially thought...

graceful basin
#
all(int(n) < 256 for n in possible_ip.split('.'))
rough sapphire
#

Frick