#ot1-perplexing-regexing

1 messages ยท Page 200 of 1

shadow dock
#

cough* gaming during work

wild yarrow
#

windows is amazing tbh

#

WLS, built in hypervisor

shadow dock
#

especially when your entire version control is microsoft

wild yarrow
#

drivers work

ivory tiger
#

Also rust apparently has some issues other than deps

shadow dock
#

so we are here to just roast a programming language?

wild yarrow
#

like coffee?

shadow dock
#

what did rust ever do to you?

wild yarrow
#

coffee script???

ivory tiger
#

Iirc my friend complained a lot about mutexes and some threading stuff

wild yarrow
#

๐Ÿค”

bleak lintel
#

oh god

#

coffeescript is a heck

wild yarrow
#

right?

bleak lintel
#

i don't like any of the scripts really

#

JavaScript is alright, I can work in JavaScript

shadow dock
#

nooooooooooooooooooooooooooo

#

we cant JS the world!

bleak lintel
#

TypeScript is also tolerable, I quite like TypeScript

wild yarrow
#

js is like.....

shadow dock
#

we just need to kill every language except for lua

bleak lintel
#

I don't like using Node or anything

shadow dock
#

lua is our only savior

wild yarrow
#

hell

bleak lintel
#

backend javascript is a BAD thing

wild yarrow
#

lua is cancer lmao

ivory tiger
#

"Javascript is alright" you are in the wrong neighborhood

wild yarrow
#

global vars by default

shadow dock
#

Node.JS is great

wild yarrow
#

LMAO

shadow dock
#

wdym

ivory tiger
#

menacingly brandishes bat

wild yarrow
#

haha

proper dune
#

@eternal merlin I had that error, I'll show how I fixed it hang on

bleak lintel
#

People hate on JavaScript too much

wild yarrow
#

it has it's place

eternal merlin
#

I am trying to install with --pure

bleak lintel
#

I understand the hate for Node.js, it is dumb

wild yarrow
#

kind of like old food wrappers

#

the garbage

eternal merlin
#

Hope it works

wild yarrow
#

:P

bleak lintel
#

The new ES's are fixing it slowly

ivory tiger
#

I hate js because it makes its way into desktop apps

wild yarrow
#

i remember when node.js chat bots were the shit

#

and i'm just like please no

#

use python or maybe ruby

ivory tiger
#

Like fuck me keep your javascript in your web pants

wild yarrow
#

what the shit are you doing on node.js

shadow dock
#

I dont feel like coding but at the same time I dont know what game to play

proper dune
bleak lintel
#

Electron is DUMB

wild yarrow
#

it is

#

but it's likely the future... sorta

shadow dock
#

name a half decent game to play

eternal merlin
#

Oh, you did the same :D

#

One more error I have related to dependencies

wild yarrow
#

half decent game?

#

go get Dead Cells

proper dune
#

Yep but I did it through pipenv so as not to break everything else

shadow dock
#

besides damn overwatch

eternal merlin
#

python-levenshtein

wild yarrow
#

come back when you beat 4BC

bleak lintel
#

I don't get these things about javascript

#
> [] + {}
'[object Object]'
> {} + []
0
> {} + {}
'[object Object][object Object]'
> {} + {};
NaN

ivory tiger
#

Also html desktop programs despite little to no online functionality

wild yarrow
#

^

shadow dock
#

anyone up for some pypong?

ivory tiger
#

Really makes u think

proper dune
#

That should be fixed when Dulwich gets fixed afaik

eternal merlin
#

Oh, nice

proper dune
#

It was fixed for me

bleak lintel
#

I don't get why {} + {} is different when you add a semi-colon on the end lmfao

wild yarrow
#

@ivory tiger really activates them almonds?

bleak lintel
#

like, that is literally the dumbest thing I have ever seen

eternal merlin
#

And I have another question

ivory tiger
#

Really knocks my noggin

wild yarrow
#

๐Ÿ‘

eternal merlin
#

Why does a simple bot and a website uses 1245236854163792 dependencies

wild yarrow
#

use*

shadow dock
#

l?

eternal merlin
#

Like what the hell

shadow dock
#

actually that many

#

or just random number

proper dune
#

A bot + website together is a pretty non trivial thing

wild yarrow
#

he's making hyperbole

#

lmao

shadow dock
#

thats more bytes than my computer can handle

eternal merlin
#

But still tho

#

This much libraries?

shadow dock
#

hey guys lets make a minecraft computer than can interpret python

ivory tiger
#

I would be impressed if that many packages existed

proper dune
#

Yeah I'm not too sure about it either

#

@shadow dock we tried that

#

Almost

shadow dock
#

lol

#

all you gotta do

eternal merlin
#
    copying Levenshtein\_levenshtein.h -> build\lib.win-amd64-3.6\Levenshtein
    running build_ext
    building 'Levenshtein._levenshtein' extension
    error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
#

Fucking hell

shadow dock
#

ewww

#

I got that earlier today

#

tried to run the same code on my raspberry pi

proper dune
#

We were trying to hook into computercraft

shadow dock
#

big oof

proper dune
#

Oh I never had that problem

#

But I was using Linux

#

So

wild yarrow
#

i don't have these issues on windows

#

idk what u all smokin tbh

shadow dock
#

fuck you linux fanboys

#

linux is for scrubs

ivory tiger
#

I tried to make a really cool monitor head with cameras and shit

wild yarrow
#

linux is hot shit

proper dune
#

.>

eternal merlin
#

I'm gonna cry now

shadow dock
#

no

ivory tiger
#

But i could not find fucking

shadow dock
#

linux

wild yarrow
#

arch family โค

ivory tiger
#

A screen that fit

shadow dock
#

is the equivalent of a dead fish smelling dirty ass

proper dune
#

Its a dependency problem on windows, we're not hating

wild yarrow
#

drew is just upset he doesn't have a fancy linux machine

shadow dock
#

lol

proper dune
#

Lol

shadow dock
#

I could very well download linux on here

wild yarrow
#

definitely triggered and overly mad for no reason

shadow dock
#

but it would kill my gaming life

wild yarrow
#

do it then

ivory tiger
#

Install linsux

wild yarrow
#

games are for kids lmao

shadow dock
#

I dont feel like going through a dual boot

#

and no

wild yarrow
#

drew gets super hostile lmao

#

๐Ÿ‘Œ

shadow dock
#

yea im triggered atm

proper dune
#

I'm living that q u a d b o o t life

shadow dock
#

for literally no reason

#

im chilling doing nothing

ivory tiger
#

All the cool kids use linux

shadow dock
#

and not doing my work

ivory tiger
#

I am not cool

proper dune
#

Linux/Windows/macOS/Android quadboot wassup

shadow dock
#

I should be working on our game if we want a on-time release but fuck it lol

tame terrace
#

... dead fish smelling dirty ass?

proper dune
#

I broke my Linux install really badly though lmao

tame terrace
#

wow

ivory tiger
#

Surstromming up the arse

eternal merlin
#
python_Levenshtein-0.12.0-cp36-cp36m-win32.whl is not a supported wheel on this platform.
proper dune
#

I was using eOS and tried to force install from an Ubuntu repository which screwed up my sources list and now it only installs from Debs, repos don't work. This is on top of the fact that I screwed up the filesystem a while back and now it doesn't mount anything properly and if I force mount, it mounts as read-only despite my options

#

Man, I have talent in screwing up my installs

#

I should get paid for this stuff I'm so good at it

gentle coyote
#

Rust is wonderful

cosmic quiver
#

@eternal merlin do you have 64bit python

eternal merlin
#

Yeah

bleak lintel
#

we all live in a yellow submarine

ivory tiger
#

Rust is bad for the structural integrity of buildings

proper dune
#

Rust is gr8

cosmic quiver
#

Sec

ivory tiger
#

Change my mind

proper dune
#

Ay

bleak lintel
#

why is nix submitting off-topic names at 2:40am

#

@tired osprey go to bed

tired osprey
#

fuck you

proper dune
#

Unleash the structural engineer in your heart

tired osprey
#

gotta whin a bet against bisk

eternal merlin
#

No fuck you nix

tired osprey
#

otherwise he'll hit me with a whip

#

which i dont want

eternal merlin
#

I just wanted to be a part of the things

proper dune
#

Jokes structural engineers are lame

#

Statics was a mistake

bleak lintel
#

What is your bet?

cosmic quiver
#

Theres 64bit wheels here

tired osprey
#

that ill set up a nginx server with ssl until sunday otherwise he'll take my server away and hit me with a whip

#

also my exams are fully over now

#

no more tests etc until a few months

#

\o/

wild yarrow
#

huh

bleak lintel
#

why did you bet that

wild yarrow
#

i am back....

tired osprey
#

i didnt

ivory tiger
#

Wtf is levenshtein anyways

wild yarrow
#

so much happened

tired osprey
#

its his server

bleak lintel
#

hello again femshep

wild yarrow
#

hi :D

tired osprey
#

he forced me into it

ivory tiger
#

It sounds like a vampire

tired osprey
#

I WAS FORCED

#

bisk is the pure evil

ivory tiger
#

Is the website vampiric

wild yarrow
#

bisk is a cool dude

bleak lintel
#

bisk touches bums

tired osprey
#

PURE EVIL

wild yarrow
#

do you not?

tired osprey
#

also

bleak lintel
#

no I am not from bisks part of the country

tired osprey
#

bisk doesnt toutch bums

ivory tiger
#

Bisk is a bum

eternal merlin
#

Fucking finally

#
(dpy) C:\Users\isik\Desktop\Python\pydis\bot>pip install python_Levenshtein-0.12.0-cp36-cp36m-win_amd64.whl
Processing c:\users\isik\desktop\python\pydis\bot\python_levenshtein-0.12.0-cp36-cp36m-win_amd64.whl
Installing collected packages: python-Levenshtein
Successfully installed python-Levenshtein-0.12.0
You are using pip version 9.0.1, however version 10.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

(dpy) C:\Users\isik\Desktop\Python\pydis\bot>
ivory tiger
#

Get him off my couch

eternal merlin
#

Thank you @cosmic quiver

tired osprey
#

bisk gets his bum touched @bleak lintel

#

big difference

bleak lintel
#

oh yes my bad

wild yarrow
#

same

#

do you not?

bleak lintel
#

same

#

do you not nix?

wild yarrow
#

sometimes i nix

tame terrace
#

don't tell nix to go to bed. fuck you he define his own bedtime.

bleak lintel
#

really

wild yarrow
#

like *nix?

tired osprey
#

yes exactly

wild yarrow
#

wait

tired osprey
#

what lemons said

eternal merlin
#

defines*

wild yarrow
#

what does "nix" as a verb mean

eternal merlin
#

drops mic

wild yarrow
#

aaaaaaaaaaaaa

#

ok

#

i see

#

it all makes sense

tired osprey
#

Nix is
a) how germans pronounce the german word for nothing
b) in Unix
@wild yarrow

bleak lintel
#

I thought it was more like

#

not nix

#

but

ivory tiger
#

God i am deadass 20 years old and my dad still goes "it's bedtime!" at like 8 every day and it makes me very upset

bleak lintel
#

neekt

tame terrace
#

nix; he define bedtime.

tired osprey
#

yes i define bed time

tame terrace
#

nix; he define.

ivory tiger
#

At least call it a curfew i am not a child dad

tame terrace
#

he's the definer.

bleak lintel
#

he's not the definer he's a very naughty boy

tame terrace
#

when nix's dad goes "it's bedtime" nix goes "fuck you I am currently defining get out"

bleak lintel
#

lmfao

wild yarrow
#

haha

tired osprey
#

my dad doesnt go its bedtime tbw

bleak lintel
#

the fuck is tbw

wild yarrow
#

to be wet

tired osprey
#

its btw

#

in weird

ivory tiger
#

To be whisked

bleak lintel
#

TO BE WET LOL

wild yarrow
#

i dunno ;~;

#

O///O

tame terrace
#

fuck you I define what your dad goes

bleak lintel
#

nix are you okay?

wild yarrow
#

does?

ivory tiger
#

Hes in bizarro land

bleak lintel
#

all your dad are belong to us

tame terrace
#

no he said his dad doesn't go it's bedtime, but I actually am the guy defines what his dad goes.

wild yarrow
#

OH

#

i get it

#

sorry i am slow, still drinking coffee

tame terrace
#

I'm drinking japanese "coffey grain whisky"

eternal merlin
#

Leave the kid alone you bullies

tame terrace
#

so basically the same

wild yarrow
#

huh

#

nice

tired osprey
#
public class Nix extends Human implements Definer, Unix, Nothing{

    public String define(String toDefine){
        if (toDefine.equals("bed time"){
            return "Nix defines his own bed time fuck you";    
        }
                  else{
            return "I dont give a shti";
        }
    } 
}
#

take that

eternal merlin
#

Ew

tired osprey
#

OH COME ON DISCORd

eternal merlin
#

Java

tired osprey
#

FUCK YOU

wild yarrow
#

but discord is just doing her best

tame terrace
#

why is your else so fucked

wild yarrow
#

haha

tired osprey
#

because discord

tame terrace
#

indent it properly

ivory tiger
#

@wild yarrow i was tired of ypur coffe euphemisms so i replaced your morning coffee with a cocktail of cocaine, meth, heroine, and indeed a little bit of caffeine

eternal merlin
#

He doesn't give a shti about else

wild yarrow
#

FUCK YEAH

#

today is gonna be a good day

tame terrace
#

caffeine is bad for you, dude

ivory tiger
#

You have become so addicted you did not even notice youre drinking a gray chemical slurry

tired osprey
#

it is properly

bleak lintel
#

NIX I really love Greek gods, they are awesome and belittle me in every way your dad said they would

eternal merlin
#

You still spelled shit wrong

tame terrace
#

weird sentence, joseph

#

you suck at it

wild yarrow
#

nice joseph

tired osprey
#
public class Nix extends Human implements Definer, Unix, Nothing{

    public String define(String toDefine){
        if (toDefine.equals("bed time"){
            return "Nix defines his own bed time fuck you";    
        }
        else{
            return "I dont give a shti";
        }
    } 
}
#

there we go

eternal merlin
#

Still spelled shit wrong

tired osprey
#

and i dont give a shti

bleak lintel
#

all my sentences are weird why do you see a difference

tired osprey
#

its lemon

tame terrace
#

"greek gods belittle me"?

#

tryhard

eternal merlin
#

Stop being so sour lemon

#

haha

#

pun

#

love me

bleak lintel
#

I forgot what belittle meant whoops

wild yarrow
#

greek gods are hilarious

tired osprey
#

lemon how does one feel as one of the first two grown up owners of this server

wild yarrow
#

wait

eternal merlin
#

You don't ask how does it feel to be a fruit but you ask that

#

weird

wild yarrow
#

whose the other one

tired osprey
#

gdude

#

ofc

tame terrace
bleak lintel
#
from ctypes import *
print(cast(pointer(ARRAY(6, c_longlong)(7594869302322817358, 2338328527477368174, 8386939878196017007, 2338898147514084713, 7166746671575297907, 11883)), POINTER(ARRAY(48, c_char)))[0][:42].decode())

@tired osprey

wild yarrow
#

oh.....

ivory tiger
#

I joined a tumblr server and i kid you not i feel fucking elderly

wild yarrow
#

huh

#

it's tumblr

tired osprey
#

lemon feels owo evil

#

ok

ivory tiger
#

Theyre all like 13 to 15 years old

wild yarrow
#

what the fuck are you doing

#

lmao

tired osprey
#

we are bascially dead

eternal merlin
#

bot.eval("""
activate_this_file = "/snekbox/.venv/bin/activate_this.py"
exec(open(activate_this_file).read(), from ctypes import *
print(cast(pointer(ARRAY(6, c_longlong)(7594869302322817358, 2338328527477368174, 8386939878196017007, 2338898147514084713, 7166746671575297907, 11883)), POINTER(ARRAY(48, c_char)))[0][:42].decode())dict(file=activate_this_file))
""")

royal lakeBOT
#

@eternal merlin Your eval job has completed.

001 | File "<string>", line 4
002 |     exec(open(activate_this_file).read(), from ctypes import *
003 |                                              ^
004 | SyntaxError: invalid syntax
tired osprey
#

HAH

wild yarrow
#

rekt

eternal merlin
#

Hmmm

ivory tiger
#

And im here like am i a fuckin pedo for talking to them im literally 20

tired osprey
#

finish him @royal lake

bleak lintel
#

you missed a bracket or something someone

eternal merlin
#

No I suck at pasting

bleak lintel
#

lol

tired osprey
#

yeah someone sucks

#

he finally realized

eternal merlin
#

bot.eval("""
activate_this_file = "/snekbox/.venv/bin/activate_this.py"
exec(open(activate_this_file).read(), dict(file=activate_this_file))

from ctypes import *
print(cast(pointer(ARRAY(6, c_longlong)(7594869302322817358, 2338328527477368174, 8386939878196017007, 2338898147514084713, 7166746671575297907, 11883)), POINTER(ARRAY(48, c_char)))[0][:42].decode())
""")

wild yarrow
#

like lolipops

royal lakeBOT
#

@eternal merlin Your eval job has completed.

Nix defines his own bedtime you sour fuck.
eternal merlin
#

lmao

tired osprey
#

exactly

eternal merlin
#

You sour fuck

bleak lintel
#

you sour fuck

wild yarrow
#

lmao

eternal merlin
#

Can we change lemons name to sour fuck

tired osprey
#

no

wild yarrow
#

nope

bleak lintel
#

wait WAIT

tired osprey
#

lemon is owner now

eternal merlin
#

I want to say thank you sour fuck

bleak lintel
#

NOW IT SOUNDS LIKE I WAS CALLING LEMON A SOUR FUCK

#

THIS WAS NOT MY INTENTION

eternal merlin
#

Too late

bleak lintel
#

abort mission

eternal merlin
#

@tame terrace see this

tired osprey
#

CAN @ebon quarry FINALLY BUY lemons.botique SO WE CAN HAVE COOL LEMON RELATED DOMAINS

ebon quarry
#

lol

#

I should, yes GWfroggyPeepoWew

wild yarrow
#

yiss

tired osprey
#

fkin nginx

#

give me my file

#

SERVER MY FILE

tame terrace
#

nonw od rhia qA INRWEWARINF

eternal merlin
#

gives

tame terrace
#

oh shit

eternal merlin
#

I think lemon is having a stroke

bleak lintel
#

is that a caesar cipher

tired osprey
#

no

#

its not

eternal merlin
#

I think it is just a stroke

tame terrace
#

yes. my fingers were cipher shifted one step to the left on the keyboard.

tired osprey
#

i wonder

tame terrace
#

can you decrypt it?

bleak lintel
#

yeah it isn't a caesar cipher i just checked

tired osprey
#

if lemon had five fingers on his left hand

eternal merlin
#

Had?

tired osprey
#

could he still type

bleak lintel
#

I don't have a norweigan keyboard with me sorry

tame terrace
#

it's just qwerty you nerd

bleak lintel
#

sorry bro I type dvorak

tame terrace
#

no you don't.

tired osprey
#

oof

bleak lintel
#

yes I do

#

If I want to be russian I can be russian

tired osprey
#

evidence for both sides needed id say

eternal merlin
#

You should've answered with shut up you sour fuck to that @bleak lintel

bleak lintel
#

accept me for who I am

#

@eternal merlin what a good use case

tame terrace
#

screenshot your keyboard

tired osprey
#

weird 15 year old brit? @bleak lintel

eternal merlin
#

I can't because I'm too scared

tired osprey
#

see lemon

#

people are scared of you

#

you gotta work on your image

eternal merlin
#

Why would I be scared of lemon

#

Hey lemon

#

What's up you sour fuck

#

Joph hold me im scared

tired osprey
#

can we ban someone

eternal merlin
bleak lintel
tired osprey
#

ok

eternal merlin
#

Let me ping @everyone before I get banned at least

tired osprey
#

enough evidence from joseph

tame terrace
#

you're a terrible person

ivory tiger
#

Lets ban python discussion tbh

bleak lintel
#

thank you lemon, very cool

eternal merlin
#

Hey

#

It's not red

#

What the hell

tired osprey
#

did he

#

ping everyone?

#

nah

#

otheriwse chat had exploded

bleak lintel
#

I deleted the role earlier

#

because I made a staff announcement

#

and if I kept it then I would've been hecked over by it

eternal merlin
#

So you have announcements

#

That I don't see?

bleak lintel
#

and i would've pung no one

#

yes

tame terrace
#

pung :D

tired osprey
#

btw someone

tame terrace
#

the only correct past tense of ping

tired osprey
#

now where you are announcements subscriber

#

do you read them?

eternal merlin
#

No

tired osprey
#

sigh

ivory tiger
#

Owners can we ban anime avatars

tame terrace
#

no.

bleak lintel
#

yes

#

sorry no

#

no we cannot

eternal merlin
#

I'm already fucking subscribed, it is absurd that you want me to read them also

#

You either ask for me to read

#

Or to subscribe

#

Not both

ivory tiger
#

Anime avatars are a sin

wild yarrow
#

nah

#

anime avatars are ok

#

but they are a meme

tired osprey
#

@eternal merlin comment like and react under the last announcement please

eternal merlin
#

If someone can send me an anime tongue

#

I'm happy to make it my avatar

wild yarrow
#

give me a sec

tame terrace
wild yarrow
#

ooh

#

that's good

bleak lintel
#

is lemon a skittle or a smartie

wild yarrow
#

you should use that

#

i don't think i can beat that

tired osprey
#

should i be ashamed that i know the guy lemon just sent?

tame terrace
#

first one I thought of

tired osprey
#

should i?

wild yarrow
#

?

tame terrace
#

no, fma is good

wild yarrow
#

it's just FMA:B

#

and FMA is ๐Ÿ‘Œ

tired osprey
#

ook

#

phew

eternal merlin
#

Y'all are weird

wild yarrow
#

ur weird

bleak lintel
ivory tiger
#

I made this cause i plan on getting nitro soon

tired osprey
#

not anime enoug joseph

#

not anime enough

#

can someone tell nginx to serve my file please

#

it doesnt want to serve it

#

๐Ÿ˜ฆ

bleak lintel
wild yarrow
#

^

#

lmao

tame terrace
#

hahahaha

bleak lintel
#

@tired osprey I know your problem

ivory tiger
#

Im going to post a random discord screenshot on my gallery

tame terrace
#

that one is so good

ivory tiger
#

I dunno what it says

tired osprey
#

@bleak lintel can you also fix it?

bleak lintel
#

You have misconfigured nginx so nginx is not working

ivory tiger
rough sapphire
tired osprey
#

but joseph

#

i can request the file from localhost

#

just not from other ips

#

๐Ÿ˜ฆ

wild yarrow
#

@rough sapphire that's ๐Ÿ‘Œ

ivory tiger
#

Ah yes the uh

#

Xiach is now a dog

#

I guess

bleak lintel
#

I guess that is because it is configured wrong nix

tired osprey
#

๐Ÿ˜

bleak lintel
#

your problem has been diagnosed free of charge

tired osprey
rough sapphire
bleak lintel
#

nix is that not clear

#

add a server_name

#

ezpz

tame terrace
#

his nickname is nginx and he doesn't know how to configure it wtf.

bleak lintel
#

hahah

tired osprey
#

i did that before

#

it didnt work

#

bisk is gonna hit me with a whip

bleak lintel
#

okay I have another idea as to why it might not be working

#

your nginx server may blocking other ips

#

IPS

#

of course

#

I forgot I was going to go work more on TCP

eternal merlin
#

Okay

#

How do I look

wild yarrow
#

weird

eternal merlin
#

Thanks

wild yarrow
#

that's not a compliment

tired osprey
#

how do i not make it block other ips joseph

#

how

rough sapphire
tired osprey
#

HOW

eternal merlin
#

Thanks

tired osprey
#

vintage someone there

bleak lintel
#

@tired osprey configure it properely

wild yarrow
#

surister has great emotes

bleak lintel
#

@eternal merlin I hate your new avatar

tired osprey
#

not helpful joseph

rough sapphire
#

I do

tame terrace
#

I hated his old one, too

tired osprey
#

@eternal merlin vintage someone

bleak lintel
#

same

wild yarrow
#

he just has bad avatars

tired osprey
#

its someone

#

what do you expect

#

quality?

wild yarrow
#

we should supply him with a better one

tired osprey
#

we did

bleak lintel
#

hey guys I found my new favourite stdlib module

eternal merlin
#

How about this

tired osprey
#

yes

#

take that

bleak lintel
#

struct is good

tired osprey
#

please

rough sapphire
tame terrace
#

creepy

tired osprey
#

rapeface someone

eternal merlin
#

Thanks lemon

wild yarrow
#

wait how edgy of a tongue can i supply?

#

i found this while derping around

tired osprey
#

not edgy

eternal merlin
#

I feel handsome

wild yarrow
bleak lintel
#

derp

tired osprey
#

WAIT

#

NO

#

fuck you

#

whod di that

#

LEMON

eternal merlin
#

bot.eval('print("ew")')

royal lakeBOT
#

@eternal merlin Your eval job has completed.

ew
tame terrace
#

haha what

wild yarrow
#

lmao

tired osprey
#

gaaaaaah

#

ive been renamed

#

good

tame terrace
#

no, your nick was always nginx

tired osprey
#

feels bettter

#

fuck you lemon

#

im not nix as in nginx

eternal merlin
#

New nicks are always fun

tired osprey
#

im nix as in nichts and unix

#

not nginx

tame terrace
#

fuck you lemon i define my nick

wild yarrow
#

are they?

tired osprey
#

exactly

eternal merlin
#

Aren't they

tired osprey
#

shall i implement that in java too?

eternal merlin
#

Ew java

wild yarrow
#

hmm

#

mb i need a new nick.....

ivory tiger
#

Lemon he defines his nick you sour fuck

eternal merlin
#

femshep2

wild yarrow
#

meh

eternal merlin
#

3

wild yarrow
#

not creative enough

eternal merlin
#

4?

tired osprey
#

nah

wild yarrow
#

smh

eternal merlin
#

Where else can you shake

wild yarrow
#

shake?

eternal merlin
#

What do you think smh means

wild yarrow
#

i guess i could shake my hand

#

๐Ÿ‘‹

eternal merlin
#

wow

#

That's waving

#

Learn english you sour fuck

wild yarrow
#

oh

#

hahaha

#

:D

tame terrace
#

some people call it shaking their hands

eternal merlin
#

It's because they don't speak English

tired osprey
#

the pure evil

#

the pure evil

eternal merlin
#

the pure evil

wild yarrow
#

it's ok English is my first language so i don't, actually, need to learn it.

#

bisk is cool

eternal merlin
#

That's racist against people who doesn't know English

#

But okay

wild yarrow
#

i don't know how race and language got conflated

tame terrace
#

gwendolyn, wow

wild yarrow
#

i was making a joke, about the south

#

;~;

eternal merlin
#

Stop being so rude omg

wild yarrow
#

b-but ;~;

steel fox
#

FREE BIRD

wild yarrow
#

O.O

#

like an eagle?

eternal merlin
#

No like a cyber bird

wild yarrow
#

does it have laser eyes?

eternal merlin
#

No

wild yarrow
#

rip

eternal merlin
#

But it has salt shakers

#

Good show

wild yarrow
#

weird

eternal merlin
#

Has salt shakers as enemy

wild yarrow
#

i'm reminded of that lost in space movie

#

with the weird robot that the kid rebuilds

#

into a less cool robot

eternal merlin
#

lol wat

tame terrace
#

this conversation is worth six dollars to me.

bleak lintel
#

why are there so many new nicknames

eternal merlin
#

Why not you sour fuck

bleak lintel
#

I already called you sour fuck before you changed it.

tame terrace
#

can you like tone it down a few notches?

#

so edgy tonight

wild yarrow
#

what are we toning down?

bleak lintel
#

what is going on

#

I'm going back to tcp

wild yarrow
#

i'm lost

bleak lintel
#

also why on earth is TCP not a supported protocol

eternal merlin
#

Sorry lemon :(

bleak lintel
#
Traceback (most recent call last):
  File "stuff.py", line 6, in <module>
    sock = socket.socket(socket.AF_INET, socket.SOCK_RAW)
  File "/usr/lib/python3.6/socket.py", line 144, in __init__
    _socket.socket.__init__(self, family, type, proto, fileno)
OSError: [Errno 93] Protocol not supported

#

the heck is this

wild yarrow
#

o.o

steel fox
#

looks like anm OS Error

bleak lintel
#

hmm

#

i don't see it

steel fox
#

OSError: [Errno 93] Protocol not supported

#

its right there

#

i know your german so reading is hard

wild yarrow
#

lmao

tame terrace
#

he's not even a little bit german

eternal merlin
#

Not even a tiny bit?

steel fox
#

nah hes 100% german

tame terrace
#

yeah not even 0%

wild yarrow
#

he's from the UK so probably at least a little

tame terrace
#

not even 0%.

bleak lintel
#

I speak a bit of german

wild yarrow
#

huh

bleak lintel
#

I can ask for a beer

wild yarrow
#

cool :D

bleak lintel
#

It isn't legal for me to buy one but I can ask

wild yarrow
#

haha

#

isn't it like 18 or something in germany?

tame terrace
#

can you order a beer in danish

#

by which I mean, is it possible to do so.

bleak lintel
#

I don't know

#

I decided not to learn about alcohol

wild yarrow
#

why would it be impossible?

tame terrace
#

danish is basically the same language as norwegian was in the late 1700s, so anything that happened after then is impossible to express in danish

humble scaffold
#

ree

wild yarrow
#

huh

#

weird

#

you need more e

#

after all this time i still do not understand vape's PFP

#

it fascinates me

tame pier
#

@bleak lintel Are you running Python as root?

bleak lintel
#

Yeah

#

You can't raw socket without root

humble scaffold
#
use std::collections::HashMap;
use std::collections::hash_map as h;
use std::{hash, mem};
use std::ops::{Deref, DerefMut};
 
pub struct CompleteMap<K, V>(HashMap<K, V>)
	where K: hash::Hash + Eq, V: Default + Eq;
 
impl<K, V> CompleteMap<K, V>
		where K: hash::Hash + Eq, V: Default + Eq {
	
	fn new() -> Self { CompleteMap(HashMap::new()) }
	fn with_capacity(n: usize) -> Self { CompleteMap(HashMap::with_capacity(n)) }
	fn capacity(&self) -> usize { self.0.capacity() }
	fn reserve(&mut self, n: usize) { self.0.reserve(n); }
	fn keys(&self) -> h::Keys<K, V> { self.0.keys() }
	fn values(&self) -> h::Values<K, V> { self.0.values() }
	fn iter(&self) -> h::Iter<K, V> { self.0.iter() }
 
	fn get(&self, key: &K) -> Ref<V> {
		self.0.get(key).map_or_else(|| Ref::Defaulted(V::default()), Ref::Valued)
	}
 
	fn get_mut(&mut self, key: K) -> RefMut<K, V> {
		RefMut(mem::ManuallyDrop::new(match self.0.entry(key) {
			h::Entry::Occupied(entry) => Entry::Occupied(entry),
			h::Entry::Vacant  (entry) => Entry::Vacant(entry, V::default()),
		}))
	}
}
 
pub enum Ref<'a, V: 'a> { Defaulted(V), Valued(&'a V) }
 
impl<'a, V: 'a> Deref for Ref<'a, V> {
	type Target = V;
	fn deref(&self) -> &V {
		match self { Ref::Defaulted(r) => r, Ref::Valued(v) => &v }
	}
}
 
pub struct RefMut<'a, K, V>(mem::ManuallyDrop<Entry<'a, K, V>>)
		where K: 'a, V: 'a + Default + Eq;
 
enum Entry<'a, K: 'a, V: 'a> {
	Occupied(h::OccupiedEntry<'a, K, V>),
	Vacant(h::VacantEntry<'a, K, V>, V),
}
 
impl<'a, K: 'a, V: 'a + Default + Eq> Deref for RefMut<'a, K, V> {
	type Target = V;
	fn deref(&self) -> &V {
		match self.0.deref() {
			Entry::Occupied(x) => x.get(),
			Entry::Vacant(_, v) => &v,
		}
	}
}
 
impl<'a, K: 'a, V: 'a + Default + Eq> DerefMut for RefMut<'a, K, V> {
	fn deref_mut(&mut self) -> &mut V {
		match self.0.deref_mut() {
			Entry::Occupied(x) => x.get_mut(),
			Entry::Vacant(_, v) => v,
		}
	}
}
 
tame pier
#

Raw sockets require root

#

Yeah

bleak lintel
#

what the fuck did I just see

#

yeah I'm kinda confused as to how to get this to work

tame pier
#

socket.AF_PACKET instead of socket.AF_INET

tame terrace
#

so you can say, in danish, "min bรฅd styrter gennem is som en bjรธrn.", but it is impossible to say this is my smartphone because they didn't have smartphones in the 1700s.

#

so when danes try to express that they just switch to english.

bleak lintel
#

HEY

#
(b'E\x00\x00<p\xcb@\x00@\x06\xcb\xee\x7f\x00\x00\x01\x7f\x00\x00\x01\x8a\x8c\x00P3Q\x98\xff\x00\x00\x00\x00\xa0\x02\xaa\xaa\xfe0\x00\x00\x02\x04\xff\xd7\x04\x02\x08\n]$\xe7\x96\x00\x00\x00\x00\x01\x03\x03\x07', ('127.0.0.1', 0))
wild yarrow
#

fascinating captain

bleak lintel
#

we got us a TCP packet boys

wild yarrow
#

well at least they're able to integrate loan words well :D

tame pier
#

Ahhh binary

#

Except you're torturing Python by making it attempt to encode it

bleak lintel
#

now I just need struct to unpack this gobbledegook

#

what are the chances of this working

#

I'm putting it at 0%

tame pier
#

or use binascii

#

What are you even doing?

tame terrace
#

*gobbledygook

bleak lintel
#

decoding different sections of a TCP packet

tame pier
#

Also is that the data portion

bleak lintel
#

probably

tame pier
#

lol

#

Wait, what did you send

#

I don't even know what you get back if you're using a raw socket

#

So many questions, Joseph

bleak lintel
#

I sent a curl command to localhost

tame pier
#

Oh lovely

#

Jokes on it though since it can't handshake

#

Take that curl

bleak lintel
#

all of these seem to be 60 bytes so I know things are actually working

tame pier
#

Probably a TCP SYN

bleak lintel
#

Yeah

#

so

#

if I am interpreting this correctly

#

which I am probably not

tame pier
bleak lintel
#

reading data[:15]

#

should be the source port

#

wait no

#

zero indexed

#

so [:14] I think ๐Ÿค”

#

wait no it is 16 bits

tame pier
#

[:16] I think

#

Since you want bits 0 - 15

#

0 + 15 = 16

#

fast maths

bleak lintel
#

yes

#
Traceback (most recent call last):
  File "stuff.py", line 14, in <module>
    source_port = struct.unpack("H", data[:16])
struct.error: unpack requires a buffer of 2 bytes
#

what am I doing

#

hm m m m

tame pier
#

lol

bleak lintel
#

maybe I should not assume the type

tame pier
#

Yeah, don't ever assume that

bleak lintel
#

It is either a short or an int

#

what on earth am I doing

eternal merlin
#

Ok

#

This is getting too complicated

#

I've no idea how to run the api.foobar part

#

in local host

bleak lintel
#

oh wait

ivory tiger
#

god fuck

#

I was coding

#

And I left my soundboard on

#

Problem: I have soundboard sounds keyed to my arrow keys

#

I hit the right arrow to get out of a string

bleak lintel
#
ฮป sudo python3.6 stuff.py -i
Received 60 bytes from 127.0.0.1
(69,)
#

this looks somewhat working

ivory tiger
#

And I just hear the loudest fucking belch ever

#

Scared the shit out of me

bleak lintel
#

why am I running with -i? we'll never know

tame pier
#

lol

#

double lol

bleak lintel
#

it appears to be 69 every time

tame pier
#

omegalul

bleak lintel
#

either tcp is being very lewd or

tame pier
#

l0l

#

or you're unpacking it wrong

#

what port are you curling to

bleak lintel
#

it is

#

not a double

#
ฮป sudo python3.6 stuff.py
Received 60 bytes from 127.0.0.1
(1.8859284010862058e-307,)
#

lmao

#

i am curling to 80, but that is the source port

tame pier
#

Oh right

bleak lintel
#

what on earth is the type

tame pier
#

You might need to unpack as big endian

bleak lintel
#

whoops I forgot endinaness was a thing

tame pier
#

It's ok I do too

bleak lintel
#

okay so

#
ฮป sudo python3.6 stuff.py
Received 60 bytes from 127.0.0.1
(17664,)

#

that works and looks logical

tame pier
#

Maybe try >H

bleak lintel
#

but I still feel it should not be the same external every time

tame pier
#

Do the dest port instead

#

[16:33]

bleak lintel
#
ฮป sudo python3.6 stuff.py
Received 60 bytes from 127.0.0.1
(17664, 60)

#

source & dest

tame pier
#

Well, that's incorrect

bleak lintel
#

also turns out I don't need to worry about bit offsets

#

because

#
source_port, dest_port = struct.unpack(">HH", data[:4])

humble scaffold
#
fn main() {
    let args: Args = get_args();
    if args.flag_verbose {
        println!("verbose mode");
    }
    let mut s: String = "".to_string();
    if args.arg_INPUT == "" { // Reads from stdin
        print!("> ");
        io::stdout().flush().ok().unwrap();
        match io::stdin().read_line(&mut s) {
            Ok(_) => {}
            Err(err) => { panic!(err); }
        }
    } else { // Reads from file
        let mut fp = File::open(args.arg_INPUT)
            .unwrap_or_else(|e| panic!(e));
        fp.read_to_string(&mut s)
            .unwrap_or_else(|e| panic!(e));
    }
    let (fundecs, ast) = parse::parse(&s);
    println!("fundecs: {:?}", fundecs);
    println!("{:?}", ast);
    if args.flag_typing {
        println!("typing: {:?}", typing::f(&fundecs, &ast));
    }
    println!("result = {:?}", interpret::f(&fundecs, &ast));
}```
#

its like python

tame pier
#

:4?

bleak lintel
#

yeah for some reason that is 4 bytes

tame pier
#

ohhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

bleak lintel
#

each short is 2 bytes

tame pier
#

๐Ÿคฆ

bleak lintel
#

so yeah

#

kek

tame pier
#

I'm dumb ok

#

Yeah, bytestring is indexed by bytes

#

not bits

#

herp de derp

bleak lintel
#

it is interesting

tame pier
#

It's been a few months

bleak lintel
#

so now I am thonkering as to why the ports stay the same

tame pier
#

If you want the bits, you use bitstring, or another method I can't remember

humble scaffold
#

i have a computer here with a celeron cpu it can barely run paint

#

what os should i put on it?

tame pier
#

Lubuntu

bleak lintel
#

hold on a second

#
Received 60 bytes from 127.0.0.1
(17664, 60)
Received 40 bytes from 127.0.0.1
(17664, 40)

#

this is worrying

tame pier
#

Watch netstat

bleak lintel
#

this is one curl request, the two TCP packets have different "destination ports"

tame pier
#

Or just open wireshark and verify

humble scaffold
#

packets...

bleak lintel
#

which leads me to believe that what I am inspecting is not a TCP packet

humble scaffold
#

padding?

tame pier
#

Oh the dests are different

bleak lintel
#

am I in an IP packet...?

tame pier
#

Are you in the right part of the packet

bleak lintel
#

probably not

tame pier
#

Depends what the OS is handing you

#

Since you're using sock_raw...

#

Maybe link layer?

#

layer 2

bleak lintel
#
sock = socket.socket(socket.AF_INET, socket.SOCK_RAW, socket.IPPROTO_TCP)

#

possibly

sinful copper
#

i think that gives you ip packets

bleak lintel
#

eeeeek

#

right let's try get the ip protocol spec up and see if things are matching up

sinful copper
#

imagine if you had ethernet frames

#

i wonder if you can get ethernet frames

tired osprey
#

yes he can

bleak lintel
#

probably

tired osprey
#

if you are already doing this why not use scapy?

tame pier
#

Because he's learning

#

Scapy is for the weak

tired osprey
#

joseph is learning?

bleak lintel
#

scapy is boring af nix

tired osprey
#

wow

bleak lintel
#

it does it all for you

tame pier
#

Scapy is for n00bs with no 1337 ski11z

bleak lintel
#

I want to manually unpack the data using offsets and memes and offsets and memes

#

I can't find the spec for an IP packet

tired osprey
#

neat

bleak lintel
#

nevermind found it

#

OH SHIT

#

IT MATCHES

tame pier
bleak lintel
#
Received 60 bytes from 127.0.0.1
(17664, 60)

#

60 bytes, 60 in the IHL

#

IHL is Internet Header Length

#

right well that settles things

tame pier
#

Yeah, so it's not giving you ethernet frames

bleak lintel
#

just the IP header

#

I wonder what the 17664 is though

#

is it a version of some sort?

#

well

#

I know it is a version

#

but

#

what is it?

eternal merlin
#

:(

sinful copper
#

ip version and ihl are four bits each, packed in one byte

#

ip version is 4, and ihl is the length of the header (IP header only?) in 4-byte words

bleak lintel
#

ahh hold on

sinful copper
#

17664 = 0x4500

bleak lintel
#

have I been looking at the Total length instead of the IHL

sinful copper
#

so version=4 IHL=5

bleak lintel
#

I guess I combined the first 4 segments

#

ahhh

#

so I guess I need a bitstring

sinful copper
#

I think AF_INET implies you always have ipv4, so you don't need to inspect the version

#

ipv6 is AF_INET6

tame pier
#

The minimum value for this field is 5,[23] which indicates a length of 5 ร— 32 bits = 160 bits = 20 bytes
So if it's 5, you have no options

#

Yes

bleak lintel
#

Right - I read this "This is optional field, which is used if the value of IHL is greater than 5. These options may contain values for options such as Security, Record Route, Time Stamp, etc."

#

that was about options

#

so

#

how can I get a bitstring without 3rd party modules

tame pier
#

Actually, he's using raw socket, so...

#

Heh

#

There's a way

#

But I can't remember it

sinful copper
#

just get a byte (or larger) and shift/mask the value you want

tame pier
#

If you want to see the bits, though, you need to generate a series of 0/1 characters from each byte

bleak lintel
#

I could be disgusting and use bin

sinful copper
#

or use a ctypes struct with bitfields, i guess, but that's a huge pain because you now also have to mess with endianness

bleak lintel
#
Received 60 bytes from 127.0.0.1
Version: 4
Internet Header Length: 5
Differentiated Services Code Point: 0
Explicit Congestion Notification: 0

#

this is pretty damn cool

#

I'm actually understanding something I never thought I'd understand

tame pier
#

๐Ÿ‘

bleak lintel
#

Cheers guys

tame pier
#

Now try nmap -T5 -p80 --no-check-host localhost

bleak lintel
#
Received 60 bytes from 127.0.0.1
Version: 4
Internet Header Length: 5
Differentiated Services Code Point: 0
Explicit Congestion Notification: 0
Total length: 60
Identification number: 4547

Received 40 bytes from 127.0.0.1
Version: 4
Internet Header Length: 5
Differentiated Services Code Point: 0
Explicit Congestion Notification: 0
Total length: 40
Identification number: 13700

Received 60 bytes from 127.0.0.1
Version: 4
Internet Header Length: 5
Differentiated Services Code Point: 0
Explicit Congestion Notification: 0
Total length: 60
Identification number: 62001

#

load of packets lol

eternal merlin
#

Uhhh

#

Why doesn't wiki have an index in the templates

#

But some templates are referencing wiki.index

bleak lintel
#

wiki.index is /wiki iirc

eternal merlin
#

Huh?

bleak lintel
#

site/pysite/views/wiki/index.py

#

is wiki.index

eternal merlin
#

oh lol

bleak lintel
#
Received 40 bytes from 127.0.0.1
Version: 4
Internet Header Length: 5
Differentiated Services Code Point: 0
Explicit Congestion Notification: 0
Total length: 40
Identification number: 42716
Flags: 400
Fragment offset: 0
TTL: 40
Protocol: 06

#

okay protocol is done

#

nearly finished the IP header

#

wait

#

how do you hex format in f-strings again?

tame pier
#

TTL of 40 hmm

bleak lintel
#

yeah 40 hops

tame pier
#

Yes

#

Just a interesting default

bleak lintel
#

is that not right ๐Ÿ‘€

#

oh

tame pier
#

Probably a curl default

bleak lintel
#

hold on

#

/proc/sys/net/ipv4/ip_default_ttl says 64

#

yeah it might be curl

#

hmm no

#

netcat shows the same

#

OH

#

that is the hexadecimal

#

the default for linux is 64

eternal merlin
#

All I wanted to do was to reroute the wiki.host.com to host.com/--wiki/

#

So I can reach all of it from localhost

#

I suck at this and I still couldn't run the site properly

wild yarrow
#

;~;

eternal merlin
#
                sub_blueprint = Blueprint(sub, __name__, subdomain=sub)
#

How can changing this to

#
                sub_blueprint = Blueprint(sub, __name__, url_prefix=f'--{sub}')
``` break the whole thing
#

Fucking finally

#

It only took 3 hours

eternal merlin
#

Not finally

#

It doesn't work

#

sigh

wild yarrow
#

;~;

eternal merlin
#

The thing is

bleak lintel
#

why the fuck have you reconfigured the site to not use subdomains

eternal merlin
#

How the fuck can I use subdomains with localhost

bleak lintel
#

just add a host record for not localhost

#

pythondiscord.local

eternal merlin
#

I have no idea how to add it :(

#

Why isn't there a god damn guide

wild yarrow
#

there isn't?

eternal merlin
#

There is?

bleak lintel
#

just write

#
127.0.0.1                pythondiscord.local
127.0.0.1                wiki.pythondiscord.local
#

in that hosts file

eternal merlin
bleak lintel
#

okay well

#

for a start

#

it is probably on port 8080

eternal merlin
#

Oh lol

#

No statics now

bleak lintel
#

with what error?

#

What is your SERVER_NAME env var

eternal merlin
#

I added the port there too

#

And it fixed it

#

Nice

bleak lintel
#

nice

#

yeah it is weird there must be a host and port

#

obviously when you are as cool as me we don't use hosts and ports because we use JDP

eternal merlin
bleak lintel
#

look at the logs then

eternal merlin
#

I'm this close to cooking and eating my left arm

#
Jul 07 06:25:30 pd.beardfist.com Site: |             geventwebsocket.handler |     INFO | 127.0.0.1 - - [2018-07-07 06:25:30] "GET / HTTP/1.1" 404 178 0.009979
Jul 07 06:25:30 pd.beardfist.com Site: |             geventwebsocket.handler |     INFO | 127.0.0.1 - - [2018-07-07 06:25:30] "GET /favicon.ico HTTP/1.1" 404 8779 0.031908
Jul 07 06:25:35 pd.beardfist.com Site: |             geventwebsocket.handler |     INFO | 127.0.0.1 - - [2018-07-07 06:25:35] "GET / HTTP/1.1" 303 409 0.011971
Jul 07 06:25:35 pd.beardfist.com Site: |             geventwebsocket.handler |     INFO | 127.0.0.1 - - [2018-07-07 06:25:35] "GET /wiki/home HTTP/1.1" 500 8797 0.046874
bleak lintel
#

what

#

you didn't get any traceback?

eternal merlin
#

Is it possible that this is related to database

#

For some reason

bleak lintel
#

yes

eternal merlin
#

WHY

bleak lintel
#

Okay isik

eternal merlin
#

Sorry mom

bleak lintel
#

Where does the wiki

#

store data

eternal merlin
#

DO YOU STORE THE GOD DAMN INDEX IN THE DATABASE

bleak lintel
#

yes

#

the index is a page in the wiki

#

it can be edited, audited and locked just like any other page

eternal merlin
#

But

#

But I don't have the database to run

bleak lintel
#

ok well i think we know why it is not working then don't we :)

#

sorry isik

eternal merlin
eternal merlin
#

At least I have the database now

#

from 500 to 404

#

I call that progress

#

And it only took 5 hours

#

Only 5

#

5

#

hours

steel fox
#

sounds like m,y nginx install