#ot1-perplexing-regexing

1 messages ยท Page 201 of 1

tame pier
#

Oh hi clay

#

How was league of failure

#

@steel fox Want to play some of dem vidya gamez?

steel fox
#

was implying past tense

tame pier
#

who was

steel fox
#

if u dont play league and hearthstone simultaneously its not even worth calling yourself a gamer

tame pier
#

lmao

steel fox
#

feelsgoodman

tame pier
#

Well aren't you special

#

But you aren't even onlineeeeeee

steel fox
#

im on my alt

eternal merlin
#
{"asctime": "2018-07-07T07:14:17Z+0300", "name": "geventwebsocket.handler", "processName": "MainProcess", "filename": "handler.py", "funcName": "log_request", "levelname": "INFO", "lineno": 242, "module": "handler", "threadName": "MainThread", "message": "127.0.0.1 - - [2018-07-07 07:14:17] \"GET /wiki/home HTTP/1.1\" 404 8705 0.016953", "timestamp": "2018-07-07T07:14:17Z+0300"}
#

I'm so sad

wild yarrow
#

wait are we sharing screenshots?

eternal merlin
#

Small world

ebon quarry
#

good morning

lost hornet
#

no

ebon quarry
#

oh ok

sand goblet
#

Oh, I remember that ticket

#

I wasn't a fan of their response

#

I mean you should know how your application is structured

#

But whatever I guess

#

I'll have to rewrite swathes of the site if we're gonna use flask 1.x

tame terrace
#

I don't think that's true.

#

we'd have to do a slight rewrite but not "swathes"

bleak lintel
#

we could use ed

ebon quarry
#

ed, man! man, ed

bleak lintel
#

yeah!!!

#

Seriously though we could like add a ed script to change references

tame terrace
#

yeah just get Ed to do it

bleak lintel
#

and then

#

perfect

sand goblet
#

we would have to rewrite a lot of it

ebon quarry
#

there's ed scripts?

sand goblet
#

we have a lot of things relying on url_for

#

including things that are actually data - eg, the wiki articles

bleak lintel
#

@ebon quarry you can write your ed commands to a file and pipe them into ed stdin yes

tame terrace
#

sounds like going through a single CTRL SHIFT F and changing some shit

ebon quarry
#

woah there

bleak lintel
#

So I can write like

1d
s/hello/world

To script.ed

sand goblet
#

I would rather patch url_for and the registration functions in the superclasses personally

#

but that'd probably break a few other things

tame terrace
#

what

bleak lintel
#

and pipe that into ed

tame terrace
#

that sounds like some mad scientist shit

#

can't we just use dashes instead of dots? :/

sand goblet
#

well it's either that or redo a bunch of articles, the code jam stuff..

#

I think they recommended slashes

#

but whatever we do, it's gonna look bad

tame terrace
#

slashes seem fucked to me

bleak lintel
#

we are going to fork cpython and make a new builtin for preparing urls

#

We will get the speed benefit of C

sand goblet
#

cpython already has that.

bleak lintel
#

way to go and crush my dreams

sand goblet
#

hey man, it's my job

#

:P

tame terrace
#

I think I'm using dashes in my other applications

sand goblet
#

it should be consistent

tame terrace
#

which are flask 1.0

sand goblet
#

but flask has made it impossible to be consistent

tame terrace
#

yes so consistently use dashes.

bleak lintel
#

Dashes do not seem right to me

#

wiki-history-compare

sand goblet
#

it doesn't matter what you do, the blueprint and route have to be separated by a .

bleak lintel
#

Eek

sand goblet
#

so yeah we can't be consistent lol

tame terrace
#

that is not true.

sand goblet
#

it's in the ticket

tame terrace
#

it might be in the ticket, but it's not true.

sand goblet
#

how do you refer to a blueprint, then?

bleak lintel
#

So it would be wiki.history-compare

#

Hmm weirdly that feels somewhat more fitting

tame terrace
#

my blueprints and routes in portal are separated by dashes.

sand goblet
#

as I understand it, that's how it'd work, yeah, joph

bleak lintel
#

interesting

sand goblet
#

do you have more than one blueprint lemon?

tame terrace
#

yes.

#

but I mean where exactly are you saying this needs to happen

#

because you wrote the code that sticks the blueprint in the name

#

it's in RouteView.setup()

cls.name = f"{blueprint.name}.{cls.name}"  # Add blueprint to page name
#

so change that dot to a dash

#

aaaand your'e done.

sand goblet
#

that isn't used for that matching

#

that's just a consistency thing

tame terrace
#

for what matching. it's used in url_for

sand goblet
#

because in logging and a bunch of other places it doesn't show the blueprint most of the time

#

but it's registered before I add that to the class

#

flask doesn't use that attribute at all

tame terrace
#

it does use it in url_for

sand goblet
#

hold on, let me open pycharm

tame terrace
#

because all my portal url_for's makes use of that fact

sand goblet
#
blueprint.add_url_rule(cls.path, view_func=cls.as_view(cls.name))
#

we are supplying the name.

#

only after that is the line you gave

#

and strings are immutable, so it's definitely not using that

#

name is a required param

#

honestly flask's class routes are a big hack lol

#

but that isn't our problem

tame terrace
#
if self.url_prefix is not None:
    if rule:
        rule = '/'.join((
            self.url_prefix.rstrip('/'), rule.lstrip('/')))
    else:
        rule = self.url_prefix
#

looks like they prefix it with a /

#

not a .

#

which I guess is why they recommend using slashes in the names?

sand goblet
#

afk sorry, gotta go shopping

tame terrace
#

oh wait no, that's not the thing

#

there's a '%s.%s' % (self.blueprint.name, endpoint) in here too :/

#

okay fine

#

personally though I actually think wiki.some/page looks fine, possibly better than wiki/some/page or wiki.some.page, but if we wanted slashes or whatever we could monkey patch it fairly easily

bleak lintel
#

I like wiki.some-page

#

actually now that I'm thinking about it

#

wiki.some/page feels more fitting

tame terrace
#

the relevant function to monkey patch would be flask.blueprints.BlueprintSetupState.add_url_rule

bleak lintel
#

because we have subdomain and endpoint

tame terrace
#

yeah I don't hate it.

#

it's not a dealbreaker for me

sand goblet
#

yeah I can live with it

#

it's just changes

#

and I don't like that flask decided to only break that with 1.x

sullen thorn
#

what are monkey patches?

gentle moss
tame pier
#

FYI

#

Since some people here could be targets

ebon quarry
#

cryptocurrency fans
malware
๐Ÿš›

forest swan
#

Of course, the code has to overcome the common sense of the victim as well.
well that's usually not the problem ๐Ÿค”

tulip palm
#

@gentle moss

forest swan
#

lol

gentle moss
#

hah

eternal merlin
#

Ayyy you look cool there

gentle moss
#

that's because i am fucking cool

#

whats your problem

#

should watch the stream if you think i'm cool fyi

ebon quarry
gentle moss
eternal merlin
#

@lone otter

#

You ruined the interject word for me

#

Like you ruined it

#

xD

lone otter
#

cool and good

eternal merlin
#

I could sware

#

swear*

#

That there were more channels in discussion

tulip palm
#

penis

eternal merlin
#

Like 4 or something

tulip palm
#

yes

eternal merlin
#

oh

#

Welp

tame pier
#

24 pack of IPAs

#

One of the bottles is smashed but quite dry

#

The box was glued shut

#

There's gotta be a story behind it

rough sapphire
#

nice

tame pier
#

Did one of the factory workers enjoy a cold one?

#

So many questions

#

A mystery that will never be solved...

short oar
#

i am so bad at Algorithms

#

help me someone

late acorn
#

what you need help with bud

short oar
#

i just solve problems and i cant do them

#

and when i finally give up and see the solution

#

it is so complex or either it is so smart

#

that i could have never think it that way

#

๐Ÿ˜ฆ

late acorn
#

@short oar we all feel like that sometimes

#

but the intuition for finding such solutions comes from being a programmer for a long time

#

you definitely do develop a certain mindset that makes finding these things intuitive most of the time

short oar
#

but these tricks and things how do people think about it

#

i cant even imagine

#

and how do i get good at it

late acorn
#

For example?

short oar
#

for examples

late acorn
#

"tricks" things?

short oar
#

algorithms

#

short ways

late acorn
#

So are you talking about pathfinding algorithms?

#

short ways?

#

I don't quite follow

#

@short oar sorry

short oar
#

YES

#

i was talking about that

#

people are so good at it

late acorn
#

But pathfinding algorithms are more... math and logical thinking

#

I guarantee you people didn't come up with most of them

#

they thought really long and hard about them

#

probably much longer than you assume

short oar
#

no but still i mean

#

about the other thing is that

late acorn
#

Also some of these problems are easily solvable using recursion techniques (I think) you might learn when attending a university

short oar
#

when i solve codewars or hackerrank

#

i get stuck

rough sapphire
#

in real life programming you don't use algos that much rly

late acorn
#

@short oar can you show a small problem where you got stuck?

short oar
#

like this

#

one

#

@late acorn

late acorn
#

Let me check

short oar
#
=[]
for i in range(0,N):
    lists=[int(i) for i in input().split()]
    grid.append(lists)
count=0
sum1=0
sum2=0
j1=0
j2=N-1
while(count<N):
    sum1=sum1+grid[count][j1]
    sum2=sum2+grid[count][j2]
    count+=1
    j1+=1
    j2-=1
print(abs(sum1-sum2))```
#

and i unlocked the solutions

#

but couldnt understand

late acorn
#

@short oar that's a problem that's not logically hard, it's not hard to understand the core task. What is hard, translating this concept of what you have to do "in real life", into code. And that is exactly what I called the programmer's mindset

#

It really gets much easier and more obvious, the more you work with data structures/control flow mechanisms etc. in Python

short oar
#

how do i get that kind of mindset?

late acorn
#

By programming

#

really

short oar
#

ok so basically i study more

late acorn
#

there's nothing else like it

#

yes

rough sapphire
#

practice

short oar
#

and program more

rough sapphire
#

ye

short oar
#

i ordered a book

#

lemme link ui

#

u*

late acorn
#

try figuring out nested loops, how you can access indexes and slice them, how you can index nested data structures etc. All these tidbits of knowledge will automatically come together at some point, and you have just a vague sense of how to solve the problem most of the time

short oar
#

this book

#

and then i will follow it

#

with online tutorials

late acorn
#

I unfortunately can't comment on it. I assume this book is probably pretty complex and won't do as much to help you, as programming your own projects would

#

But sure, definitely try

#

as I said, I don't know the book

short oar
#

its recommended at most of the places

#

it is*

late acorn
#

I see

#

regarding your problem: try to think of it this way to arrive at the conclusion yourself

#

You have a 2d maze

#

you know you want to index certain elements as coordinates

#

(1, 1)
(2, 2)
(3, 3)

#

you can see the pattern, you know you have n rows and columns

short oar
#

yes

late acorn
#

now you just put that n together somehow with the required pattern in your head

#

Finding this approach to think about the problem, comes with practice

#

by solving similar problems

short oar
#

ok, so

#

it will take time and practise

late acorn
#

yes, it really will

#

but it really does get easier and way more intuitive

short oar
#

but i wont give up

late acorn
#

Just like riding a bike

short oar
#

i shouldnt

#

maybe

late acorn
#

good!

short oar
#

i hope so

late acorn
#

yes you shouldn't

#

programming is and can be very rewarding

#

and you can make really cool tools/utilities in Python

#

It will school you in thinking logically and seperating complex tasks into smaller, simpler ones

#

There's really only advantages to it, if you ask me

sand goblet
#

lol

#

I actually super-love this game, but it's very weird

bleak lintel
#

absolute donk and a half gdude

sand goblet
#

haha

#

such a weird game

late acorn
sand goblet
#

there's a coin slot in a fireplace in a dungeon

#

it eventually asks you to put a million coins into it

#

and then you get a maid outfit

#

what does it do? nothing

#

lol

late acorn
#

It looks good, you scoundrel

sand goblet
#

this is a game where gear matters though :P

late acorn
#

Fashion always matters GWseremePeepoGGERS

sand goblet
#

haha

late acorn
#

But I still dress like a potato

#

a... black potato really

sand goblet
#

cryzed is a potato, confirmed

#

mom get the camera

late acorn
sand goblet
#

haha

#

but yeah I love that game

#

so weird, but pretty good

#

hey joph, rainbow coloured phantom can't swim

bleak lintel
#

i am so confused

sand goblet
#

I bet you are

#

also you should play gurumin

#

it's pretty old now but it's great

bleak lintel
#

tetris

sand goblet
#

tetris?

bleak lintel
#

yeah

#

tetris is pretty old

#

and it is pretty great

sand goblet
#

not as old as tetris

bleak lintel
#

nothing beats a good old tetris game

#

yeah and retro is cool now

sand goblet
#

did you see the new tetris for ps4?

bleak lintel
#

oh no

#

is it like fucking peggle or whatever that way

#

ruined pinball for literally everyone

#

it wasn't pinball

#

but it ruined it

sand goblet
#

here's another odd one, lol

bleak lintel
#

gdude

#

are we really underneath the sky

#

if we are above the sky in australia?

sand goblet
#

:P

#

@bleak lintel all I have to say to that is

#

WAAAA

#

WA-WA-WAAAA

#

WA-WA-WAAAAA

#

WA-WA-WA-WAAAAA

bleak lintel
sand goblet
#

I was very confused when I got to the stages with that track

gentle moss
#

wut

tame pier
#

Ah, it's by Michael Lucas

#

Of course

#

I got git commit --murder a few weeks ago, on my list to read

tame pier
#

Wow

celest olive
#

things that make me drink

tame pier
#

Erotic technical books...a new genre

celest olive
#

Iโ€™m.....yeah, Iโ€™m done with the internet for today.

tame pier
#

"Customer Images"

#

Lmao

#

Hahahahha

#

Red Hat logo for censorship

#

My god

celest olive
#

Yeah, that was something that Iโ€™m not going to be able to unsee

sullen thorn
#

Captcha solver club...

#

Does anyone have a script to solve captchas?

steel fox
#

ye

#

you guess 5 until its correct

sullen thorn
#

๐Ÿ˜‚๐Ÿ˜‚

#

What about the one where u have to click the tiles with signposts?

steel fox
#

draw the outline of a number 5

sullen thorn
#

How does that help with tiles? ๐Ÿค”

steel fox
#

you click like 7 of them

#

sometimes its right

humble scaffold
#

i had never eaten so muh food

#

god i love this place

tame pier
#

Golden Corral?

humble scaffold
#

i can link you a python repo that solves captchas

tame pier
#

No not allowed

rough sapphire
#

i can share a pyautogui captcha solver.

#

But I want no ban :>

eternal merlin
#

Unless it can solve recaptcha which I doubt

#

I don't think it would be useful at all

rough sapphire
#

yes it can

tame pier
#

Did you see what vape shared

#

Did you see him get banned

rough sapphire
#

With no hands

tame pier
#

Answer those questions two and at a solution you will surely arrive

eternal merlin
#

I still am gonna doubt it

#

Since there are people farms for these which consist of people who work for 5 cent / hour

rough sapphire
#

It is actually:

screenshot()
if there is a captcha checbox:
    click(get captcha checkbox center location)
#

the images can be solved automatically too but requires a database with all the images

humble scaffold
#

or ml / ai

#

you don't need all the pictures

#

you just need loads of similar ones

eternal merlin
#

I can't solve recaptchas

#

How can an ai do it

tame pier
#

What's this?

ebon quarry
#

tracking javascript code

#

as stallman said

tame pier
#

Ah lol

ebon quarry
#

hmmmm

#

i should set up a NAS on my rpi

tame pier
#

No

ebon quarry
#

why

tame pier
#

Because

#

Aliens

ebon quarry
#

๐Ÿค”

tame pier
ebon quarry
#

i really need to set up full disk encryption for my pi's sd card

#

yeah the issue is kinda that the rpi's io speed to the drive is pretty bad

tame pier
#

Yes

#

You need a true SATA or SCSI connection imo

ebon quarry
#

hmmm

#

well I don't transfer that much

#

i need to set up disk encryption though

#

my backups are encrypted, but if I add samba the drive won't be encrypted

tame pier
#

Yes

#

You could keep it in memory tho

ebon quarry
#

in the amazing 1 GB of memory on the rpi? ๐Ÿ˜›

#

do you know any good crypto "mappers" or whatever the name was again?

#

or well, recommend

tame pier
#

No

ebon quarry
#

aw

#

i thought you work in itsec

tame pier
#

Also my knowledge of crypto tools isn't the greatest anyway

ebon quarry
#

alright

#

lets hope i dont brick my backups

tame pier
#

Good luck and godspeed

ebon quarry
#

thanks :P

buoyant pendant
#

so what methods have you guys used?

#

ive used the fastest out of them all, finding the captcha and then slooowwwly randomly moving towards it

rough sapphire
#

No?

#

Well it has a delay

#

So you can't brute force

#

Whether there is a limit or not

steel fox
#

guessing 5 is in O(Infinity)

#

so its pretty good, because its at least constant time

buoyant pendant
#

@prisma gust no, it works great and never has to click the img because it doesnt act like a bot

#

it does take ~25 sec +- depending on the starting pos but other than that it works great

buoyant pendant
#

no

#

python

#

pyautogui

tired osprey
#

my implementation in java got updated

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

    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";
        }
    } 
}
worn kite
#

please teach me, how to give a shti?

tired osprey
#

that is a joke from the first time i implemented myself in java

granite lake
#

lmao

#

I need this ๐Ÿ‘Œ

worn kite
#

it should make a sound like that wrong-buzz from quiz shows every time you hit it and make a mistake

sinful copper
#

...

#

i've seen the "normal" giant enter key, but it looks like that's a plushie version?

granite lake
#

๐Ÿ˜ณ

sinful copper
#

it's for people who really slam down the enter key after accomplishing something or if they're pissed off at someone they're chatting with

granite lake
#

btw facebook needs a delete message feature

#

for when you accidentally send your crush hey

worn kite
young bridge
#

elon really needs to get off of twitter

granite lake
#

โค ๐Ÿ˜

#

Cutest thing a rich guy can say

worn kite
#

lol, love that channel name

#

mine is longer ๐Ÿ˜›

sullen thorn
#

ive brushed my teeth for the night, and its almost 2am, but i really wanna have a burger but dont wanna brush my teeth again cuz im lazy

#

is that ok?

#

the burger is literally downstairs, gonna eat it and then go back to bed

young bridge
#

Probably, just dont make a habit of it

sullen thorn
#

ok awesome burger time ๐Ÿ˜ƒ

#

if i made a habit of this, i wouldnt have asked ๐Ÿ˜‚

granite lake
#

burger is eh-lecious

#

Go for it man

#

Just brush in the morning lol

worn kite
#

has awoken GWnanamiWakeMeUpInside

#

feels dead inside GWcfcWhenlifegetsatyou

torn ridge
#

morning ๐Ÿ˜„

gentle moss
#

2nd place \o/

#

is there a VoD of the stream?

tired osprey
#

There are videos of all of runeys streams on his twitch afaik

gentle moss
#

๐Ÿ‘Œ

sand goblet
#

Yep yep

eternal merlin
#

@ebon quarry Working on it now, last night I was a bit drunk sorry ๐Ÿ˜Š

ebon quarry
#

lol, don't worry about it

eternal merlin
#

I know I'm a bit slow, sorry again :(

ebon quarry
#

was just wondering

rough sapphire
#

which jetbrains discord integration do the people here use? the one with 10k or 13k downloads?

sand goblet
#

Neither, I prefer being able to show spotify

rough sapphire
#

or is it just goland that doens't want to work with either ๐Ÿค”

#

well I don't use spotify and mpd-discord-rp also doesn't really do as advertised...

sand goblet
#

RPC is a touch flaky, I think

rough sapphire
#

alright let me try pycharm

steel fox
#

Thats just discord telling you that it doesn't want you embarass yourself by showing you working with Go

rough sapphire
#

nah, it also didn't do anything in pycharm

#

maybe it's just that drp is fundementally broken on linux ๐Ÿค”

steel fox
#

do you have the thing enabled in discord settings to show your game

rough sapphire
#

ok

#

sec

#

bruh

#

really just that one f'ing switch

#

god damit

#

now mpd also works

rough sapphire
granite lake
#

wth

#

lmao

#

@rough sapphire are you a virus?

rough sapphire
#

No

granite lake
#

lol

steel fox
#

Whatโ€™s the best free lance site

eternal merlin
#

Let me know if you find one lol

granite lake
#

shall I make a bot in js or python?

eternal merlin
granite lake
#

lmao

#

that emote is confusing

#

the name is 'javascipt' but has python face

steel fox
#

Node

granite lake
#

yes

humble scaffold
#

got banned from the biggest creative minecraft server hosted by the bigget people in that industry

granite lake
#

lol

#

what did you do

humble scaffold
#

disrespect?

#

its called builders refuge

#

but i always call is builders refugees

granite lake
#

hmm

humble scaffold
#

what ever i was banned on 2 discord guilds for the same reason lemon wanta me out of here

granite lake
#

i feel you man

humble scaffold
#

because i can afford a domain

#

and hosting

granite lake
#

sometimes you just wanna destroy everyones creation

#

๐Ÿ˜‚

humble scaffold
#

... me on the skyblock server

#

spawn withers everywhere

knotty beacon
#

Refresher:

When I do something like, qty = item_qtys (where item_qtys is a constantly updated list) does qty at the end of operation reference the updated list?

#

Yes, right?

sinful copper
#

yes

#

unless you've done something that creates a new list

knotty beacon
#

Okay that's what I thought

#

Almost done with one of my projects at work and these final few things are hurting my brain lol

sullen thorn
#

People eat raw eggs right? Like iโ€™m not gonna die if I didnโ€™t fully cook my omelette?

tired osprey
#

you are already dying

sullen thorn
#

:/

sinful copper
#

salmonella is rare in eggs in most developed countries now.

tired osprey
#

aka

#

youll die

sinful copper
#

like, 1 in 10,000 in the US

sullen thorn
#

Ok good

tired osprey
#

before you die

bleak lintel
#

I know someone who had a hoodie with that on

humble scaffold
#

raw eggs are the bomb

#

well the yellow part

#

the other part sucks

sand goblet
#

"the yellow part"

humble scaffold
#

tastes worse than semenal fluid

sand goblet
#

there's a word for that

humble scaffold
#

yolk

#

yoke?

sand goblet
#

goooood squishy

#

yolk.

#

yoke is some weird Irish slang

worn kite
#

yokel was slang for a rural person or farmer, right?

humble scaffold
#

yoke is the all encompassing word for a thing that you cant be arsed naming

#

that yoke over there

worn kite
#

that yoke over yonder...

#

My dict suggests that a yoke is that thing you put over the shoulders of an ox so that it can pull stuff though

knotty beacon
#

Yokel is similar to hillbilly

#

or redneck

humble scaffold
#

Sure the quear yoke "Joseph" is not here

knotty beacon
#

A yoke is a farm implement, meant for pulling

worn kite
#

๐Ÿ‘Œ

knotty beacon
#

As far as the colloquial usage he's detailing? never heard it here in New England area, or PA

bleak lintel
#

@humble scaffold I am here

humble scaffold
#

why u @humble scaffold ?

bleak lintel
#

yes

humble scaffold
bleak lintel
#

good meme

worn kite
#

pro here

knotty beacon
#

I used to play Everquest (and FPS) with the direction arrows

worn kite
#

due to lack of space for a mouse on my desk, lol ๐Ÿ˜›

knotty beacon
#

Then I stopped being awful

worn kite
#

also scrolling is nicer on a touchpad

#

a good touchpad

knotty beacon
#

mousewheel > touchpad

worn kite
#

mousewhale

knotty beacon
#

(edited)

#

lol

humble scaffold
#

infini scroll

#

scroll wheel

rough sapphire
#

@humble scaffold what are people that use thinkpad nipples though? ๐Ÿค”

worn kite
#

If you've got an expensive mouse with a heavy wheel that you can just spin and it will continue, then yes

#

@rough sapphire pervs

rough sapphire
#

bruh

humble scaffold
#

ooh think pad nipples

knotty beacon
#

I haven't seen one of those in a billion years

#

The little red nipples?

worn kite
#

Dell has them in blue

humble scaffold
#

they are really hard to game on id say higher than trackpad but under ball mouse

rough sapphire
#

Nice

#

oof

humble scaffold
#

im gluten intollerant and i ordered a 16" pizza

rough sapphire
#

o o f

humble scaffold
#

whats that thing where your mouse arm geta really sore

#

is that rsi?

knotty beacon
#

Yes

humble scaffold
#

that leads to arthritis

knotty beacon
#

Carpal Tunnel is a form of an RSI

humble scaffold
#

how do prevent?

#

i get the pains already

worn kite
#

let your cat chase the mouse instead

knotty beacon
#

Wrist brace can help, depends on your grip style

#

Lots of variables

humble scaffold
#

probably because i use my wrist

worn kite
#

but seriously, a coworker e.g. has some kind of "pillow" attached to his mouse pad, where his wrist rests on, which relaxes his arm

humble scaffold
#

and supposed to hse elbow...

knotty beacon
#

I hold my mouse with my thumb and ring finger alone, all movements are small

#

My entire forearm is lying flat on the desk

#

So it's not arched or stressed

worn kite
#

also think of the overall position you're in, including chair and desk height, etc

knotty beacon
#

Yes, like I said, lots of variables.

worn kite
#

and do some stretching of the arm for a minute every now and then

humble scaffold
#

elbow is supposed to be 90ยฐ or something

knotty beacon
#

I'm 33 and have no signs of developing it even with as many ungodly hours of gaming/work/school

#

But that's more luck than intent

steel fox
#

ya im 28 and ive had many days of 18+hrs of pc

worn kite
#

is that more then 18 hours, or "18+"-hours... GWchadLENNYTHINK

humble scaffold
#

its 18 hours and more

wild yarrow
#

lmao

steel fox
#

y not both.jpg

wild yarrow
#

so many kiddos on the internet these days o.o

rough sapphire
#

This song is stil very good

wild yarrow
#

that takes me back

humble scaffold
#

python is a scripting language so you do you single character variable declarations

ebon quarry
#

good morning

rough sapphire
bleak lintel
worn kite
rough sapphire
#

single name variables are useful

#

especially when u r making game with 1024 or so bytes for challenge or y know

worn kite
#

โค code golf

rough sapphire
#

I have never played one ๐Ÿ˜ฆ

tame terrace
#

code golf is the only thing they are useful for

humble scaffold
#

whats code golf?

tame terrace
#

essentially it's solving a programming problem in as few characters as possible.

humble scaffold
#

like code in game?

#

clash of code

#

theres a website for it

#

your answer can be in a range of different languages

gentle moss
#

no

#

i mean, that clash of code thing sounds interesting

#

but code golf is just generally reducing something to the most dense format possible

humble scaffold
#

yea the clash of code thing the winner is the smallest

gentle moss
#

for example:

print('\n'.join("Fizz"*(x%3==0)+"Buzz"*(x%5==0) or str(x) for x in range(1,1000))```
#

is a fizzbuzz one

tired osprey
#

looks fake

tame terrace
#

that's not even that golfed

gentle moss
#

yeah, it's not

tame terrace
#

bet you could do it in half of that

gentle moss
#

hmmm

tame terrace
#

I mean, someone here probably could anyway

gentle moss
#

tbh by using the join and shit it's probably not as good as just

#
for x in range(1,1000): print('fizz'* etc etc```
#

that's probably less characters

tired osprey
#

i bet @fiery isle could golf it

#

wait

#

is that the correct someone

tame terrace
#

@lone otter has been known to golf a few things too

tired osprey
#

where is someone

#

where is the turkish someone

#

what did you do to isik kaplan

#

oh he was kicked

#

i see

tame terrace
#

looks like he was muted, then kicked, then rejoined and then left.

tired osprey
#

oh no

rough sapphire
robust sierra
#

All the Turkish people have left us

tired osprey
#

turkxit

rough sapphire
robust sierra
#

First รธcean, then Cardium, then Someone

#

Are there any other Turks left?

worn kite
#

Carrรถt

robust sierra
#

he left

#

carrot == Cardium

rough sapphire
#

i thought carrot == cardium

#

ye

knotty beacon
#

The only friend I've made at school is Turkish

worn kite
#

oh

#

ok

knotty beacon
#

Was a random tidbit from a conversation a minute or two before lol

robust sierra
#

Pfft who needs friends when u have cable

#

My friends are in wires

worn kite
#

tied?

robust sierra
#

no

#

they live inside cables

worn kite
#

aww

late acorn
#

I remember saying that GWmythicalThonkCool

ebon quarry
#

how much heckin memory does this need ? ? ?

humble scaffold
#

does what need?

bleak lintel
#

welcome to java

ebon quarry
#

mc server 1.12.2 on docker

bleak lintel
ebon quarry
#

guess i'll use cuberite

humble scaffold
#

kubernetes?

#

aws lambda...

#

what you mean mc servers have async

tired osprey
#

@ebon quarry at which point will you stop crying about memory usage of modern applications which automate lots of stuff for you for which they need memory

ebon quarry
#

in what world do any of the three terms you mentioned have anything to do with my question lol

#

nix

#

i have 500 mb available

ivory tiger
#

fyi minecraft is actually shit when it comes to resource allocation

#

Especially if it's modded

ebon quarry
#

unless java is loading in 500 MB of memes, it shouldnt use that many ๐Ÿ˜ค

ivory tiger
#

At one point for an entire update they had a 200mb/s memory leak

#

Minecraft should've never become popular because like

#

It's notch's baby's first codegame

#

The code is likely eldritch in nature

#

@ebon quarry if you're going to make a minecraft server

#

Plan for at least 4gb memory

#

Modded, more like 12

ebon quarry
#

wew

ivory tiger
#

Hell 4gb for unmodded is a really really conservative estimate

ebon quarry
#

i'll just use cuberite

ivory tiger
#

I remember I ran a really really modded mc server on a webserver and

#

There was 32gb available

#

It used up unironically 65 percent

#

And peaked at 80 percent usage

#

It was actually horrifying to behold

#

tfw dumb 32x32 pixel game takes up more memory than crysis

#

Hell is it even 32x32 or is it 16x16

humble scaffold
#

it wont run if you give it too much

#

i can give its half of mine.. 16 but i gave it 20 one time and it crashed opening

torn ridge
#

Morning WrongEnd

knotty beacon
#

MineCraft is one of those "wow, how does this even work" things

granite lake
#

Anyone watched antman and the wasp?

ivory tiger
#

Mornin rune

rough sapphire
#

Hello guys

#

I can't run perl scripts using the #!/usr/bin/perl in my arch linux because the path do not exist

#

Even tho I installed perl package

#

Can somebody help me

steel fox
#

Arch is doing you a favor right now. You just donโ€™t know it yet

bleak lintel
#

try

#

#!/usr/bin/env perl

rough sapphire
#

Apparently nothing works

#

@bleak lintel

#

It's a module for i3blocks

#

It had a prefix for a perl script

bleak lintel
#

type where perl in your command prompt

sand goblet
#

it's which perl

#

where is the windows one

rough sapphire
#

/usr/bin/perl

sand goblet
#

you can just do perl script.pl btw

rough sapphire
#

Ah it's another thing

sand goblet
#

oh, where does work on arch actually

#

it still sounds weird though

#

like WHERE PERL!??!?!? as opposed to, which perl?

#

lol

bleak lintel
#

I have where on my system g ๐Ÿค”

#
ฮป where where
where: shell built-in command

sand goblet
#

that's not an executable

#

but yeah

#

so yeah, not the same thing, and where won't work in bash :P

bleak lintel
#

which where

steel fox
#

Which which

worn kite
#

use type

sand goblet
#

type is also a zsh feature

steel fox
#

๐Ÿ‘Œ

bleak lintel
#

which $(type which)

worn kite
#

that won't work

bleak lintel
#
ฮป which $(type where)
where: shell built-in command

sand goblet
bleak lintel
#

stop

#

let me have my fun

worn kite
#

no

#

ban fun

steel fox
#

First Gdude took the meme channel. Now heโ€™s taking Josephโ€™s fun

sand goblet
#

freezepop.

cobalt sluice
#

is this what the 80's sounded like

bleak lintel
#

i should've put in headphones before playing that

#

that was quite loud

cobalt sluice
#

I think if someone heard a bit
they wouldn't catch the rude word

#

it sounds like "dooloomerang"

bleak lintel
#

I was more worried about the fact it is 00:15am and everyone here is asleep kek

cobalt sluice
#

lul

#

we must make them nocturnal
so that they can be dank too

rough sapphire
#

Who is everyone JoJo

cobalt sluice
#

whats jojo

tame pier
#

Jonathan Joestar

granite lake
#

I miss joseph

#

๐Ÿ˜ฆ

pine bolt
#

bring back daddy seph

rough sapphire
#

does anybody know a good piano song to learn

sullen thorn
#

What level u at sorta? @rough sapphire

#

And you want like a classical song or modern music? Or a specific style?

solar zealot
#

@rough sapphire Gwyn's boss theme from dark souls 1

sullen thorn
#

๐Ÿ˜‚๐Ÿ˜‚

#

A tip with tracks like this, you can always just search gwyn lord of cinder piano sheet music and use the first musescore result or something similar

#

But sometimes, searching it on YouTube is better (just piano, not piano sheet music)

#

And find someone that plays it how u like

#

And usually they have the music in the description

rough sapphire
#
earnest shell
#

is there any way to make vim on ubuntu highlight python data types, brackets etc? I'm new to vim

sand goblet
#

yeah there are plugins for it

granite lake
#

@earnest shell you might have to search on how to install the plugin

#

Or use sublime instead

#

๐Ÿ˜ ๐Ÿ˜

earnest shell
#

is sublime better in your opinion?

granite lake
#

yeaah

#

it has highlighting

#

And many fun stuff

#

Vim in cli based

rough sapphire
#

sublime with vim keys tho

#

๐Ÿ‘Œ

granite lake
#

๐Ÿ™„

rough sapphire
#

vim keybinds are the greatest

earnest shell
#

yeah I like the command mode vim offers

rough sapphire
#

couldn't write code without them anymore tbh

granite lake
#

Vim was kinda confusing btw

#

Its like its made for people who know about it

rough sapphire
#

well, if you know about it, it's super comfy

tired osprey
#

are you a vim user?

granite lake
#

vim is for survival users

earnest shell
#

another question - does python on ubuntu not come with tkinter? I ran sudo apt install python3-tk but I still get an ImportError

rough sapphire
#

@tired osprey well I use vim itself just for quick config edits, but I have vim keys installed on pretty much every editor I ever used

tired osprey
#

I use nvim btw

granite lake
#

btw I use arch

rough sapphire
#

btw i use arch gnu/linux

tired osprey
#

I use zsh and arch btw

granite lake
#

lol

rough sapphire
tired osprey
#

and oh my zsh

#

among others

rough sapphire
#

i use a tiling window manager btw

tired osprey
#

I use gnome btw

rough sapphire
#

smh

tired osprey
#

๐Ÿ˜›

granite lake
#

I use win10 btw

#

๐Ÿ˜‚

tired osprey
#

burn it with fire

rough sapphire
#

yes

granite lake
#

@bleak lintel Is woke

#

Morning pops

tired osprey
#

it being jason and win10

granite lake
#

โค

tired osprey
#

or as i like to call it

#

Jason/Win10

granite lake
bleak lintel
#

I am not woke

tired osprey
#

HI JOSEPH

bleak lintel
#

I just got back

earnest shell
#

so no tkinter with python, then?

granite lake
#

๐Ÿค”

earnest shell
#

from earlier: does python on ubuntu not come with tkinter? I ran sudo apt install python3-tk but I still get an ImportError

granite lake
#

Idk

#

Im not much of a linux user

#

Octodude might know something

sand goblet
#

I don't use ubuntu

granite lake
#

@earnest shell theres a discord linux server

#

You should join it

earnest shell
#

yeah, good idea! cheers

granite lake
#

You know where to find it right ?

earnest shell
#

yeah it's on the subreddit

granite lake
#

๐Ÿ‘Œ

rough sapphire
#

hello guys i'm using this module i found on the net for my i3blocks bar

#

while testing it in a shell (zsh)

#

doing sh mediaplayer

#

I got this output

#
mediaplayer: line 25: syntax error near unexpected token `('
mediaplayer: line 25: `use Time::HiRes qw(usleep);'
#

I verified if Perl was ok and didn't find any explaination for this issue until now

#

does anybody know how can I solve this? I also checked Perl path using where

#

it's ok

#

so i'm kind of stuck rn also because i don't code in Perl so I do not have knowledge...

sinful copper
#

@rough sapphire why did you do "sh mediaplayer" if mediaplayer is a perl script

#

you got the error because you ran it with sh not perl

rough sapphire
#

oh then it's a problem of my bar

#

it does not show anything on the bar

pine kestrel
#

hey, can someone recommend the number of gigabytes I should give my just coding arch setup?

worn kite
#

42

pine kestrel
#

understood

worn kite
#

but really, unless you install some humongeous stuff like idk, an android development suite or so, that should be enough for the system, some IDEs and general tools and you projects

#

more is of course not bad, if you have the space.

pine kestrel
#

it's only python, vscode, node, and a few odd things

#

no android studio or intellij or anything

worn kite
#

I'd say 10 is bare minimum to get it the system running properly, 20 to be usable for a while unless you do fancy stuff, 40 should be fine for a normal hobby dev setup

pine kestrel
#

awesome

#

thanks!

worn kite
#

But if yuo can give it 60 or 100, that's surely better. One can't have too much space.

bleak lintel
#

I wonder if there is a higher read latency with a higher capacity

#
ฮป ip neigh
192.168.10.254 dev wlp2s0 lladdr it:is:a:mac REACHABLE
192.168.10.100 dev wlp2s0 lladdr it:is:a:mac REACHABLE
192.168.10.110 dev wlp2s0 lladdr it:is:a:mac STALE
192.168.10.113 dev wlp2s0 lladdr it:is:a:mac STALE
#

I was also never informed arp was being retired for ip

pine kestrel
#

thanks @worn kite got ubuntu installed and all programs working. 42 gigs is working perfectly

#

๐Ÿ‘Œ

#

I now have 3 oses installed on my computer lol

#

arch, ubuntu, win 10

granite lake
#

Woah

pine kestrel
#

it's amazing what you can do with 3tb lol

granite lake
#

Hmm

#

Take it light man

pine kestrel
#

naa I use all of them

#

windows: gaming, ubuntu: most other things, arch: c and c++ development

#

it works well

worn kite
#

why not dev on Ubuntu?

granite lake
#

Lit ๐Ÿ”ฅ ๐Ÿš’

pine kestrel
#

I do most dev on ubuntu

granite lake
#

You should get Kali GWnanamiPepeEZ

pine kestrel
#

it's only c and cpp on arch

worn kite
#

but why ๐Ÿค”

bleak lintel
#

can you not c and cpp on Ubuntu lul

pine kestrel
#

I can yeah

#

I just find arch quicker compiling for some reason

#

also I feel cooler using arch LUL

worn kite
tough stratus
#

Arch is pretty cool, ngl

#

Being able to say "I use arch" gives at least some cred

pine kestrel
#

yeah

bleak lintel
#

it is less cred and more meme value

knotty beacon
#

I am less likely to use Arch just because of how often I hear it

#

I'm fine with Ubuntu

sand goblet
#

It does give some cred, but there are real advantages to using a rolling release distro, and also in using a distro that isn't RPM/DEB based

#

the best reasons to use arch are the stellar package management, and the fact that it's so minimal that you end up with a distro exactly suited to your needs

#

ubuntu is fine, but don't expect it to work forever

knotty beacon
#

I know enough Linux to be able to use it, manage it, and not care about it right now lol

sand goblet
#

Dependency hell will come for you, just as it does with every debian user :P

#

and then you can move to something a bit less silly

knotty beacon
#

The only other distro I use for my classes/field is Kali

#

just because it's purpose-made

#

(and rolling live)

sand goblet
#

Yeah, I mean, setting up all those security tools can be annoying

#

then again, you probably don't use most of them

#

lol

knotty beacon
#

I don't

#

I am not anywhere near that point in my career

#

It's a strange field to be in. A lot of what you do can be highly illegal, so finding how to do things isn't as easy

steel fox
#

Just donโ€™t get caught.

forest swan
#

that's a good thing to say for basically anything

granite lake
#

Just use proxies

#

I wanna make my own software to do these stuff

oak viper
#

I mean, over the early years I've almost unconsciously tended towards telling the employer what they really want to hear

knotty beacon
#

I'm a security major with very little real experience in programming, but I beat out programmers about to graduate their 4-year B.S. because I didn't inflate myself

oak viper
#

this is especially true in some cultures, for example Japan

knotty beacon
#

I was told that's why I was hired, but who knows if that's true

oak viper
#

there are companies that connect with you on a human level and recognise that it isn't only them hiring you, but you "hiring" them

#

but they're few and far in between

#

and often, without solid experience under your belt, it's difficult to stumble upon them

knotty beacon
#

This is my first job in the field

#

I feel extraordinarily lucky

#

They let me work. No one on my back

oak viper
#

my first job was very shitty and I wasted too many years on it

knotty beacon
#

Gave me a project and said, "tackle it."

oak viper
#

now I can have the luxury of getting spammed on linkedin as soon as I put myself "looking"

knotty beacon
#

I wish

oak viper
#

you will. I've 10+ years in the field :]

knotty beacon
#

I hope this internship really boosts my career

#

I'm just now getting in at 33 years old

#

I'm an old fucking man compared to these kids graduating at 21/22

oak viper
#

Hm, I'm 2 yr older than you but I think nowadays as long as you can keep up to speed with the mind blowing pace of changing technologies, age won't really matter

#

and maturity can be an asset rather than a downside, for the company who can recognise talent

knotty beacon
#

I think my ability to function as a human being and not an, pardon the "slur", stereotypical autistic computer nerd

#

really helps

oak viper
#

being older also helps you manage stress

#

it can be assumed that most likely you won't crumble as soon as a project goes awry

knotty beacon
#

nod

#

I just wish I had made the hard move of going to school full-time years and years ago

#

But working hard in a warehouse was just "easy" to stay in

oak viper
#

Working for a shitty 4 man company was "easy" to stay in as well, friend

#

I didn't suffer through physical labour like you, but we could say it was the "warehouse job" of IT

knotty beacon
#

It's finally paying off. Quality of life is astronomically better.

#

We have a gym here, showers, lockers, cafe

#

I can come in whenever I want

#

Leave whenever

oak viper
#

that's cool

knotty beacon
#

Getting paid more as an intern than I did working my ass off

oak viper
#

getting paid as an intern is already good enough haha

knotty beacon
#

I have an officespace to myself larger than my bedroom

oak viper
#

in my country [of origin], lots of people are forced to do internships for free to gain experience

knotty beacon
#

Which is an artificial gate to people already rich enough to work for free

oak viper
#

well, it's either that or warehouse work if you want money. Or both

#

my country is also notorious for having "kids" living with mama and papa until the 30s

#

so the vicious cycle feeds itself

rough sapphire
#

anybody uses i3blocks here?

oak viper
#

they can do internships for free because their parents support them, and their parents have to support them because they can't find a paying job without experience

candid anvil
#

๐Ÿ‘Œ

wild yarrow
#

not being paid for internships

#

sounds like the US

#

well except for engineering, engineering internships pay well in the US

wild yarrow
#

i feel like there's no meme / shitpost channel.....

tame terrace
#

yeah. there isn't.

wild yarrow
#

welp

tame terrace
#

although the occasional meme in offtopic is fine of course.

#

they can be conversation starters.

#

and conversation is good and also cool

wild yarrow
#

hmm

#

fascinating

sand goblet
#

I always link this whenever someone asks about a meme channel

wild yarrow
#

fascinating

crisp sierra
#

@tiny fiber Getting any voltage on the GPIO pins that are supposed to drive the servo?

tiny fiber
#

possibly

#

any way to tell?

crisp sierra
#

Multimeter

tiny fiber
#

brb

#

yes

#

full 5 volts

crisp sierra
#

Only when servo is supposed to drive?

tiny fiber
#

well the 5v pin to ground gets voltage

crisp sierra
#

The servo uses PWM so you might not detect it perfectly with the multimeter, but it should at least read on the multimeter if you have a max/min function on it

tiny fiber
#

it reads 100 percent

#

5v

crisp sierra
#

Oh, between pin 4 and ground

tiny fiber
#

wait should i be checking the RPi 5v and ground or the signal to ground

#

ah

crisp sierra
#

Pin 4 will get 5V, all the time.

#

Signal pin will get PWM signal (pulse-width modulation)

#

You should be able to read it if you have a multimeter with a range function, or max/min or duty cycle function

tiny fiber
#

it just has current