#ot1-perplexing-regexing

1 messages ยท Page 372 of 1

plucky ridge
#

I'm more of a text person

gentle moss
#

giving you a story about how one time the guy built a webpage or some shit

sand goblet
plucky ridge
#

Yeah I knew about the MDN

undone berry
#

I find w3schools more concise than MDN

plucky ridge
#

But that's usually for looking up stuff

vestal briar
#

Back to getting annoyed at pypi

sand goblet
#

They have tutorials and stuff

plucky ridge
#

Gotcha

#

I'll poke around

#

I at least know I have a good option for JS

dense stratus
#

I don't even recognize JS anymore

undone berry
#

Looking at their beginner tutorial, it feels more annoying to navigate than w3schools. w3schools is very conducive to jumping around to relevant bits

#

which is a good way of learning

plucky ridge
#

Yarp

#

@dense stratus How do you mean? Like it's changed over the years?

undone berry
#

If JS was strictly typed, I think I'd really like it

#

and if you didn't have to transpile everything

sand goblet
#

typescript works great when set up

#

it really is just JS with strict typing

#

that's what I'm using in my current project

#

oh, that reminds me

undone berry
#

Optional static typing really doesn't appeal to me

plucky ridge
#

Honestly if you treat it like you would any strictly typed language, it's not really that bad

sand goblet
#

TS isn't optional static typing

gentle moss
#

i'm so manly i eat my steak with a fork and a spanner

dense stratus
#

When I did JS it was what you used on client side. There were no frameworks, ajax hadn't even really caught on yet. It was just a language and you could do stuff in it. But now, the language doesn't even matter. If you do JS the question is which framework... Angular, Node or whatever...

undone berry
#

It is a strict syntactical superset of JavaScript, and adds optional static typing to the language.

gentle moss
#

i use the spanner to beat chunks of meat off it

sand goblet
#

yes, you can make it optional

#

by using the any type

plucky ridge
#

@gentle moss I don't want to know how you beat the meat

sand goblet
#

which eslint will bitch at you for by default

gentle moss
#

with a spanner

dense stratus
#

now, that's what she said

plucky ridge
#

She has weird tastes

gentle moss
#

leaves me a bit tight in the nuts but it gets the job done

plucky ridge
#

I'm mad I didn't think of that first

sand goblet
#

any thoughts on that arrangment of font-awesome icons btw?

undone berry
#

I've only done a little bit of TS, but when I did, it just felt like a worse version of JS

sand goblet
#

pro licenses allow you to do that with them

undone berry
#

and I don't think it really solves any fundamental problems

plucky ridge
#

Worse in what way?

sand goblet
#

I mean, I'm using it, and it helps me to write better code

plucky ridge
#

It does make you do more work for little gain comparatively

sand goblet
#

setting it up is the annoying part

undone berry
#

Worse in that you can rely on any and write shitty code, but still have typing everywhere that isn't even useful

plucky ridge
#

If you make sure to work on best practices in the first place, it's less needed

#

But typing is useful

dense stratus
#

sounds like a pipe dream

undone berry
#

Same as in Python - typing is only useful when the purpose isn't evident

plucky ridge
#

No?

undone berry
#

and the places where you're doing complex stuff - any always ended up appearing

plucky ridge
#

If you're going to do it one place you do it in the rest

#

Consistency is important

wooden silo
#

Typing is useful when you refactor stuff.

dense stratus
#

it's tools right... just tools

wooden silo
#

Refactoring without typing is a mess.

dense stratus
#

if all you have is a hammer then you can beat the screw into the board

wooden silo
#

You change something and then you have no idea if it'll work until you try every little edge case.

#

Typing adds a thousand implicit unit tests.

dense stratus
#

if your language has strong typing then you can use that, if it has hinting you can use that, and otherwise, you program it differently

#

"Prefer explicit to implicit" no?

sand goblet
#

it's still just javascript with typing

vestal briar
#

Dynamic is good for fast-paced development, static is good for maintainability

sand goblet
#

there's nothing to make worse

#

everything else is just javascript

plucky ridge
#

It does tend to be come incredibly verbose

sand goblet
#

well, that's good imo

plucky ridge
#

At times yeah

#

The structs I could take it or leave it

dense stratus
#

the strong vs weak typing argument comes around every couple years and it is a huge argument and then it goes away again

plucky ridge
#

If that's what they're called, can't remember

wooden silo
#

@vestal briar I don't really think that's true, even. It sounds plausible in theory, but everything worth doing needs to be maintained.

undone berry
#

It might have just been the codebase I was working on, but I don't think so. It ended up as this annoying OOP stuff that seemed to move away from the more functional approach modern JS takes

sand goblet
#

I don't write functional JS

vestal briar
#

I said it's good for maintainability, not it's the be all and end all

plucky ridge
#

That is true, JS does tend to move towards currying the hell out of everything

sand goblet
#

I use async/await and classes

dense stratus
#

most JS I have seen was oop'ed I think ClojureScript might be what you are looking for

sand goblet
#

callbacks can bugger off

wooden silo
#

I also don't think typing prevents fast-paced development.

plucky ridge
#

It doesn't

vestal briar
#

With dynamic languages you don't have to worry about defining types, making development faster

plucky ridge
#

If anything it helps with the mid point, testing and fixing bugs

#

Okay

vestal briar
#

And having types set make it a easier to maintain

dense stratus
#

when you have strong typed lanugages all the sudden people what to know how to do Generics in it

plucky ridge
#

How much more time do you genuinely think it takes to write one more line to set a type?

undone berry
#

I'm a fan of functional JS; its easy to write and easy/nice to read assuming it is actually written well

wooden silo
#

But with dynamic languages, you have to make up for the lack of typing with unit tests, if you don't want your code to be a buggy mess, and tests take time to write.

plucky ridge
#

I don't buy the dynamic saves time because you don't define types

wooden silo
#

So yeah, maybe with dynamic typing, it's faster to write garbage that doesn't work.

plucky ridge
#

I tend to treat everything I'm writing like it's static

dense stratus
#

I don't buy that it requires any unit more tests either

plucky ridge
#

Or try to at least

dense stratus
#

Why not treat it like it is immutable

sand goblet
#

I have never been a supporter of the move to functional languages/code

#

Some of the constructs are handy to have

dense stratus
#

Functional is plenty fun!

sand goblet
#

but I'd rather write OOP

plucky ridge
#

Right tool, right job

#

Functional is certainly ideal in certain situations

dense stratus
#

Right tool right mindset

plucky ridge
#

Yep

undone berry
#

I find the JS middle ground of OOP/Functional pretty nice to work in

plucky ridge
#

I'm getting more used to it

sand goblet
#

The middle ground is nice and I do use functional constructs occasionally

#

but I'm still majority OOP

wooden silo
#

Most popular languages have functional language features nowadays.

plucky ridge
#

I just still have a mental block with the... what is it... arrow functions?

wooden silo
#

It's pretty widely accepted as a good idea.

plucky ridge
#

That still breaks me for some reason

undone berry
#

Comparing lambdas to arrow functions, and arrow functions are much more usable

#

python lambdas that is

dense stratus
#

Well, Lisp was writtin in 1958 and it is still kicking... so perhaps there is something to this Functional stuff

wooden silo
#

@undone berry How so?

vestal briar
#

Oh god not functional arguments again

sand goblet
#

python lambdas are actually kind of useless, yeah

#

only a very small subset of situations where they're handy

plucky ridge
#

No tool is uselss

dense stratus
#

no more useless than the stupid walrus

undone berry
#

Mainly the fact arrow functions allow readable multilines

plucky ridge
#

You know, the walrus has grown on me a bit

wooden silo
#

Mm, fair enough.

sand goblet
#

I like the walrus

dense stratus
#

it is cute, ever heard of the elvis operator?

sand goblet
#

yes, I use kotlin

wooden silo
#

The walrus is a small benefit. Don't see any downsides to it.

plucky ridge
#

It doesn't look like Elvis!

dense stratus
#

just found this one out the other day

sand goblet
#

yeah it does, cmon

dense stratus
#

yes sort of

#

:?

sand goblet
#

it's ?:

undone berry
#

Even with the picture of elvis next to it, I can barely see it

dense stratus
#

you know how you have the ternary operator in C (x == 1)?x:y;

plucky ridge
#

Okay, if I have to actively turn my head and squint and it still only KIND of looks like it

#

It's not an apt name

sand goblet
#

it's two characters

#

not an image

#

of course it doesn't look exactly like elvis

undone berry
vestal briar
#

The fuck is this convo

dense stratus
#

so they have removed the center so you can use it for coalesing

undone berry
#

?: is called the elvis operator because it apparently looks like elvis

dense stratus
#

(x == 1)?:y

plucky ridge
#

Oh my god

sand goblet
#

it does

plucky ridge
#

Weird duckface thing

vestal briar
#

Why am I here looking at people argue about if ?: looks like elvis

dense stratus
#

so you don't have to reproduce the test twice

plucky ridge
#

@vestal briar Not sure, why are you griping at us for doing so

undone berry
#

yeah, as dumb internet convos go, this one is fine

plucky ridge
#

If you don't want to participate, don't

undone berry
#

not like its pineapple on pizza that literally no one cares about

plucky ridge
#

Just don't give us shit for having fun

vestal briar
#

And the next argument starts

dense stratus
#

funny thing, it actually works in CLANG and GCC but unfortunately not XLC

vestal briar
#

๐ŸŽ‰

dense stratus
#

oooohhh you said shit

#

Are you here for the 5 minute argument, or did you pay for the whole half of an hour?

plucky ridge
#

I'm just confused why he suddenly turned into a grumpy butt

sand goblet
#

that's just Owez for you

#

:>

dense stratus
#

because I told him he had to go read the undocumented code

#

maybe

sand goblet
#

he might be a grumpy butt but he's our grumpy butt

plucky ridge
#

He's usually more pleasant than that, and doesn't actively try to ruin people's fun in their conversations

sand goblet
#

anyway look

#

I don't care if you think it looks like elvis

dense stratus
#

maybe he can document that and do a pull request? isn't that the latest line du jour?

sand goblet
#

but that's what it's called

#

:>

#

so automatically we win

plucky ridge
#

I accept that

#

I just think it should have been called the pomp

sand goblet
#

that sounds less fun though

vestal briar
#

Sorry I insulted you convosation

undone berry
#

I love pomp

#

I think pomp is hilarious

sand goblet
#

pomp and circumstance

dense stratus
#

well you can call it what you want, and something will stick. Unless you are talking about GIF

plucky ridge
#

I mean it's short pompadour.

#

NO I remember what I was calling it the other day

dense stratus
#

When apple came out with SCSI they didn't want it pronounced SCUZZY

plucky ridge
#

The tunnel snake

dense stratus
#

it was supposed to be SEXY

undone berry
#

As much as I respect him, I'm not sure Hemlock can convince the world to change Elvis operator to Pomp no matter who hard he tries

plucky ridge
#

I wasn't trying, honestly

#

It's just what I'll call it internally

dense stratus
#

what do you call ->

plucky ridge
#

It's my coding head cannon

sand goblet
#

arrow

plucky ridge
#

Yeah, arrow

dense stratus
#

I call it the same as =>

sand goblet
#

arrow, yes

dense stratus
#

rocket

sand goblet
#

oh right, rocket

#

I don't know any languages that use both

dense stratus
#

languages don't use syntax people use syntax

#

๐Ÿ™‚

undone berry
#

I didn't know => was called rocket

sand goblet
#

that's such a non-argument

dense stratus
#

in Ruby it is

#

now they are both rocket to me

undone berry
#

bah, ruby can go away

#

budget Python

dense stratus
#

my boss cocks an eye at me every time I say it though.. "I didn't know that what it was called... "

plucky ridge
#

Okay, I might get crap for this

#

I feel like Python is like Linux and Ruby is like Mac

dense stratus
#

hehehe

sand goblet
#

Whenever someone mentions rocket as an operator, they mean <=>, aka "rocket ship"

#

when I've heard them

dense stratus
#

that a lozenge

plucky ridge
#

Ruby tries to be all pretty and special but just appeals to the folks who want to look cool

undone berry
#

I'd definitely buy that. I imagine vastly more Ruby devs are on macs than python devs

sand goblet
#

it's a what?

undone berry
#

as a percentage

sand goblet
#

a lozenge is the thing you suck on when you have a sore throat

plucky ridge
#

It's also a shape

#

Because of the thing

dense stratus
#

it is a rhombus

#

rockets only have a pointy part at one end

sand goblet
#

it's not a rhombus though, is it?

plucky ridge
#

Unless you live dangerously

dense stratus
#

ozยทenge
/หˆlรคzษ™nj/
Learn to pronounce
noun
a rhombus or diamond shape.

sand goblet
#

or maybe I'm thinking of a trapezoid

#

yeah I am

plucky ridge
#

Yep

sand goblet
plucky ridge
#

Fancy

sand goblet
#

which makes more sense to me than a rupee on its side

dense stratus
#

it's s 2 headed nope rope

undone berry
#

I'm not sure how much I like fonts messing with stuff to that extent

sand goblet
#

I am

dense stratus
#

Okay, how about #

plucky ridge
#

Depends on the context

undone berry
#

pound or hash

sand goblet
#

that's a hash

dense stratus
#

Not octothorp?

sand goblet
#

man I'm listening to an artist on spotify and I think this song is a runescape remix

#

what even

plucky ridge
#

Pound on a phone, hash elsewhere

sand goblet
#

I mean the original official name for it is an octothorpe

#

but that's too long

dense stratus
#

I think that is the coolest sounding thing

plucky ridge
#

Octothorpe sounds like a villain in an 80's cartoon

rough sapphire
#

hashtag hashtag

sand goblet
#

haha

#

it's just a hash

dense stratus
#

I think of that funny L shaped thing when you say pound

sand goblet
#

americans tend to call it a pound

#

I think because of the unit of weight

plucky ridge
#

I just know it from phones

sand goblet
#

yeah that was my first encounter

#

and they just say hash here for that

plucky ridge
#

Or rather that's the only context I've heard it called that

dense stratus
#

Then what is on the other side *

plucky ridge
#

Star

dense stratus
#

Nathan Hale

sand goblet
#

that one depends on context

#

star usually

plucky ridge
#

Well played

sand goblet
#

but I call it a splat when programming

undone berry
#

in your head or out loud?

dense stratus
#

so you call ! a bang too then

sand goblet
#

I don't call that a bang, no

plucky ridge
#

I only consider it a splat when talking about extra source books for roleplaying systems

#

All the various splatbooks

dense stratus
#

hmmm bang and splat tend to go together

sand goblet
#

I'm not old enough to call them that really

dense stratus
#

But I like Nathan Hale for *

sand goblet
#

I just picked up splat somewhere

undone berry
#

The interrobang ( โ€ฝ ) is the most underused symbol

plucky ridge
#

Oh wait you were serious

sand goblet
#

yeah

plucky ridge
#

I thought you were joking about the Hale thing

sand goblet
#

mind you I can't actually type the interrobang

#

and don't really want to go back to APL

dense stratus
#

It comes from people making all the things pronounceable so you can dictate code or remmeber passwords with symbols in them

tulip palm
#

i've heard splat used but only in context of *args and **kwargs and stuff in python

sand goblet
#

yeah that's where I'd call it a splat

undone berry
#

(I also can't actually type an interrobang, but thats besides the point - I should be able to dammit)

dense stratus
#

Gnu just released a new APL with all the stupid characters and crap.... but J is alive and kicking and you don't need a special keyboard for it

plucky ridge
#

I think if I ever saw that character I'd be like

#

Why is there a dot under that P

sand goblet
#

I don't want to work with APL regardless of character set

dense stratus
#

It is a ! and a ? squished together

undone berry
#

Yes

sand goblet
#

yes

tulip palm
#

i can type โ€ฝ using my compose key

dense stratus
#

That is the WTF character

tulip palm
#

compose + ! + ?

undone berry
#

and I believe you mean It is a ! and ? squished togetherโ€ฝ

sand goblet
#

I don't have a compose key

plucky ridge
#

What purpose does it serve?

tulip palm
#

oh man compose keys are amazing

sand goblet
#

they are great

#

but

undone berry
#

To put after exclamatory questions

sand goblet
#

it's an entirely different way of typing accents

plucky ridge
#

Fair enough

tulip palm
#

it's so good to be able to type things based on what they look like

dense stratus
#

Funny thing, when commenting chess games one uses ?! as well as !? and htey have differnt meaning

tulip palm
#

รท = compose + : + -

sand goblet
#

yes, but getting used to it isn't helpful

#

because almost no computers in the wild have one

plucky ridge
#

in the wild

#

We should let keyboards roam free

sand goblet
#

I mean if you only ever use your own computer then fair enough, but

dense stratus
#

?! is a dubious move and !? is an interesting move... but if they squished together it would be hard to understand

sand goblet
#

I wonder who decided to put the tittle on the bottom of the I and just call it a new character

plucky ridge
#

I usually do ?!?

undone berry
#

The chess community cannot be allowed to stand in the way of the interrobang

dense stratus
#

well there's that

plucky ridge
#

Read that as the cheese community

undone berry
#

well - they can't either

sand goblet
#

that's my kind of community

dense stratus
#

probably type setters

#

just like : and ;

#

a jot here a tittle there

undone berry
#

I honestly just want a new piece of non-emoji punctuation to enter common usage

dense stratus
#

I use all the smilies as punctuation

plucky ridge
#

Like

dense stratus
#

not emoji but tru actual smilies

sand goblet
plucky ridge
#

Layered on top of each other?

undone berry
#

Thats the same as emojis IMO

sand goblet
#

it is functionally the same

dense stratus
#

nope, because emoji require non ascii chars or actual graphics

sand goblet
#

some smilies do too

undone berry
#

๐Ÿ‘ is the most useful emoji

dense stratus
#

as soon as they do then tyhey are emoji and I abandon them as abominations

sand goblet
#

and what's wrong with unicode or images anyway

undone berry
#

can't do that in ascii

sand goblet
#

might as well go whole hog and

dense stratus
#

!3

#

close enough ๐Ÿ™‚

undone berry
#

that is very much not a thumbsup

sand goblet
#

yeah it's not

dense stratus
#

I hate that it changes my : ) into that blob

undone berry
#

๐Ÿ™‚

sand goblet
#

then turn off that feature

undone berry
#

I didn't even know it did

rough sapphire
#

yuss need blob emojis

dense stratus
#

I have turned off emoji rendering in so many places then someone sends me a message full of aubergines and tacos and I don't know what they are trying to say

undone berry
#

Sounds to me like you're speaking to the wrong people

dense stratus
#

Aubergines ๐Ÿ† and Tacos ๐ŸŒฎ or I guess ๐Ÿ‘ works too depending on your proclivities

rough sapphire
#

mmm

dense stratus
#

Or the right ones ๐Ÿ™‚

plucky ridge
#

Honestly now I'm just hungry

undone berry
#

tbf, tacos didn't click for me at first and I also just want tacos now

dense stratus
#

at my age me too, but for a babaganush taco with peach salsa

undone berry
#

peach salsa sounds rubbish

plucky ridge
#

Any time I hear babaganush it just makes me think of MXC

dense stratus
#

it's great with ghost pepper

undone berry
#

I'm not a massive fan of sweet/spicy combinations

dense stratus
#

then add more ghost pepper

undone berry
#

Like getting a grape in a thai curry is just rubbish

#

at that point - I may as well cut out the salsa altogether tho

#

and just eat the ghost pepper

dense stratus
#

depends on the curry, might be good in panang curry, they put pineapple in it here

#

But then how do I get the peach into it..

sand goblet
#

pineapple is good in curry

#

have you had candied bacon, charlie?

undone berry
#

I haven't

dense stratus
#

The trick is to make a meal from Aubergines ๐Ÿ† and Tacos ๐ŸŒฎ and ๐Ÿ‘ otherwise it is just sexual

undone berry
#

but I'm confident I would like it

sand goblet
#

me too

undone berry
#

Its normally a lot of cinnamon right? Cinnamon is usually great

dense stratus
#

doesn't sound kosher ๐Ÿ™‚

undone berry
#

apparently not

sand goblet
#

well obviously

#

it's pork

undone berry
#

and just one specific recipe I saw had a lot of cinnamon

dense stratus
#

well maybe with turkey bacon... but that doesn't even sound good

sand goblet
#

it's not good

#

but I also don't care about kosher

undone berry
#

Bacon isn't good enough that you need substitute meats for it

sand goblet
#

or religion in general

#

Bacon is great

#

substitutes aren't worth it because they can't match up

undone berry
#

Bacon is good - but I could definitely live without it

dense stratus
#

I am not a big fan of bacon, religion has no bearing.

sand goblet
#

you could live without anything

dense stratus
#

it is akin to a very salty ashtray

undone berry
#

well, clearly - but if the different bits of animal, bacon is very far down the list of ones I wouldn't want to give up

sand goblet
#

clean your pans

#

haha

dense stratus
#

I don't like the "smoke" flavor and then being in the US south, if you order a vegetable here it will have been cooked in it to death

sand goblet
#

Not all bacon is smoked

dense stratus
#

true, but then to me it is not bacon, it is something else porkbelly or prejuto or something

sand goblet
#

No, it's just unsmoked bacon

dense stratus
#

anyway, not my fav,

#

it's lots of fat, and redmeat and my Dr says I can eat redmeat 1 time per month.. I ain't wasting that on bacon

sand goblet
#

?

#

bacon isn't red meat

undone berry
#

Bacon is white meat

dense stratus
#

hehehe

#

cute

undone berry
#

apparently its not actually white meat

dense stratus
#

if it comes from a mammal... it is red meat

undone berry
#

according to Quora

sand goblet
#

red meat is red before cooking and brown when cooked

#

bacon is neither of those things

dense stratus
#

or grey or beige depending on how you cook it

sand goblet
#

the point is that the colour changes

#

bacon is pink when raw and pink when cooked

undone berry
#

The USDA considers all pork to be red meat

dense stratus
#

and it is not the color but the class of meat product that matters

sand goblet
#

well the USDA has been wrong before

dense stratus
#

and they will be wrong again,

undone berry
#

Yeah, the USDA isn't exactly the best org in the world

dense stratus
#

meh.. I have to start thinking about lunch now hmmm

sand goblet
#

Some meat, such as pork, is classified as white meat under the common or gastronomic definition, but as red meat under the nutritional definition.

#

that said, red meat's bearing on health is unclear

#

there's a good amount of evidence that suggests that it's not a useful metric in any form

#

most of which appeared last year apparently

dense stratus
#

well, I am just trying to live forever...

#

Dr said eat more plants, redmeat 1ce a month, poultry a couple times a week and fish a few as well.

#

It might not make me live forever, but it sure might feel like it

#

Had shrimp tacos last night, now I know shrimp is a bug so what color meat is that ๐Ÿ™‚

undone berry
#

Eating more plants is almost certainly a good way to live for longer

#

Shrimp is seafood - so probably healthy

dense stratus
#

Hmm I could go for a nice veal osso bucco right about now.. that ain't happening either

undone berry
#

or probably very unhealthy because I'd imagine US shrimp is full of mercury and lead or something

dense stratus
#

I didn't taste any mercury or lead... maybe I got the wrong ones

sand goblet
#

you'd think I'd be healthier then in that case since I eat roughly no seafood whatsoever

dense stratus
#

probably just don't eat enough chocolate

undone berry
#

sadly its much easier to eat unhealthily than healthily no matter what

dense stratus
#

or scotch

sand goblet
#

I don't eat either of those things really either

dense stratus
#

Scotch is the water of life, if you could drink the correct dosage every day you would live forever... just have to figure out the right dosage

undone berry
#

none?

dense stratus
#

actually been more on a rye kick lately so there't that.

#

Teatotaler? I respect that. I won't make you drink my whiskey if you don't try to take mine away.

undone berry
#

I am both a teatotaller and a teetotaller

dense stratus
#

Seems like everyone here has become craft beer fans and IPA specifically

undone berry
#

I'm pretty sure some kinda tea actually is the water of life

dense stratus
#

did I spell it wrong

#

well I drink my kombucha every morning

#

and I have a green tea right next to me

undone berry
#

yeah, teetotaller is someone who doesn't drink alchohol - and I presume teatotaller is someone who drinks a lotta tea

dense stratus
#

Hmmm always spelled that wrong

#
It originated, as we learn from the Landmark, with a man named Turner, a member of the Preston Temperance Society, who, having an impediment of speech, in addressing a meeting remarked, that partial abstinence from intoxicating liquors would not do; they must insist upon tee-tee-(stammering) tee total abstinence.
undone berry
#

I didn't know that - thats actually pretty funny

dense stratus
#

I don't believe in abstinence just moderation in all things... including moderation.

#

and a little absinthe from time to time as well ๐Ÿ™‚ It's been said that Absinthe maketh the heart grow fonder...

velvet rapids
graceful basin
#

you can use

from contextlib import redirect_stdin
from io import StringIO
new_stdin = StringIO()
with redirect_stdin(new_stdin):
  exec(thing)
output_to_embed(new_stdin.get_value())
#

just dont actually use exec() for this

solid pollen
#

You should use a process jail such as NsJail for that

velvet rapids
#

Where is the eval func?

#

in the github

#

ehh

#

i dont gte shitr

sand goblet
#

snekbox cog

#

oh, you mean in the repo?

#

nsjail has nothing to do with python

#

it's a process isolation tool

#

you run other processes within it

#

and yeah it's not trivial to use at all

lime bison
#

@velvet rapids who will use your bot? If it is you, it is ok to just use eval or exec

#

if not, people can abuse your bot and just crash the server that your bot runs in

plucky ridge
#

I mean people would have to do some heavy lifting to even get the bot to work in their server anyway

#

It's highly customized for our purposes and towards our setup

#

And it's unlikely that it would crash a Discord server. At worst it would crash the bot

undone berry
#

I'm assuming he meant the server where the bot was running - which depending what else its doing, could be very bad

plucky ridge
#

Gotcha. And I likely misunderstood from the start and assumed it was about someone implementing snekbox

#

I'm a very tired old man

velvet rapids
#

I'll be the only one with access to the command

#

But for safety reasons, I just want to disable somethings that can

  • edit files on my system thing.
  • destroy the bot like exit() or print(token)

Also, using eval, when I print it prints in console, I want the output to come back to discord

#

I couldn't quite understand snekbox

dusky orchid
#

you'll want to redirect stdout to another storage where you can put the collected output into a message reply

#

I just want to disable somethings that can

  • edit files on my system thing.
  • destroy the bot like exit() or print(token)
    you can't fully prevent these if you're not sandboxing the environment
solid pollen
#

I wouldn't use eval personally even if I was the only one to use the command

#

I don't trust myself enough :D

#

To prevent those two things, it would be actually easier to setup a sandboxing environment

rough sapphire
#

just run it in a kata container and go wild

#

would be fun to .sys rm -rf /* just to have the supervisor automatically redeploy the container once you've nuked it

velvet rapids
#

I want to make the game racko with flask

#

How do I do something like, when 4 people click on a button, it renders the template with different variables for all of them?

void salmon
#

direct them to another page that has the randomized variable

#

i'm fairly certain it is NOT a good idea to make a game in flask tho

void salmon
#

decent number probably, there's a channel dedicated to unix

hollow leaf
#

Probably Broadcom Wi-Fi chipset then ^^

#

I'm on Arch Linux ๐Ÿ™‚

void salmon
#

i use arch btw ๐Ÿ˜Ž

hollow leaf
#

:p

rough sapphire
#

@ashen dome Did you use Ubuntu?

#

Ubuntu or Debian with non-free firmware included would probably work with your system

#

Also greatly depends on the device ๐Ÿ˜„

#

non-free contains software that does not comply with the DFSG.

#

HP laptop?

#

ThinkPad?

void salmon
#

just go with ubuntu, or kde neon

#

i'd prefer kde neon :) it's super pretty and there are themes like sweet

void salmon
#

personally not a fan of the more gradienty theme ubuntu has, but to each their own

rough sapphire
#

Not Ubuntu, Debain ๐Ÿ˜„

#

I wouldn't personally install Kali

void salmon
#

^

#

People really like mint and cinnamon, go for it if you want

#

But i will stand by my choice of kde ๐Ÿ˜Ž

rough sapphire
#

Cinnamon is nice, but kind of bulky

void salmon
#

Watch a video of it, it has super nice blur and the default theme is nice too

#

Has effects like wobbly windows too :)

#

User edition

#

Hmm not sure

#

Looks like here

hollow leaf
#

rtl8xxx NICs are odd

#

iirc they are dependent on out-of-tree stuff

gentle moss
#

typos, boo

gentle moss
#

basics of carpentry: how to build a box

#

"first set your tablesaw to..."

#

alright let me stop your there buddy

rough sapphire
#

haha

gentle moss
#

deadbeef eh

#

it's no winamp

rough sapphire
#

it plays music

#

that's good enough for me

#

hello

#

hopefully everybody is healthy!

#

we don't have to quarantine this discord

gentle moss
#

i've got a runny nose and the sneezes

#

so i'm fine

rough sapphire
#

hope you catch it

#

xx ๐Ÿ˜ฎ

#

the nose, i mean

gentle moss
#

he's talking about my runny nose

rough sapphire
#

oh

#

what a joker

gentle moss
#

i woke up this morning and it's just zipping around the house

#

it does make the sneezes much messier

rough sapphire
#

๐Ÿƒ

gentle moss
#

and my glasses wont stay on

rough sapphire
#

tape it

gentle moss
#

i have to catch it first

rough sapphire
#

no one else even gonna see you for a while now

#

what can possibly go wrong if i drop my specs in hot water , not boiling but hot enough to burn your hand

#

specs?

gentle moss
#

nothing

rough sapphire
#

glasses

#

I spilled boiling water on my stomach like 1ยฝ months ago

gentle moss
#

it might actually clean some grease off them

rough sapphire
#

spectacles

gentle moss
#

wow, how did you burn boiling water?

rough sapphire
#

my glasses are always fucking greasy

gentle moss
#

boiling water is the easiest of meals

rough sapphire
#

wiping it just smears the grease around evenly

gentle moss
#

that's why you lick the lens first

rough sapphire
#

i'm not sure that's exactly sanitary

#

this chan is of the hook today

gentle moss
#

i mean

rough sapphire
#

btw we can't react in off topic ;-;

gentle moss
#

what does that say about your face xx?

#

i have a microfibre cloth in every room in the house pretty much

#

i hate grime on my glasses

rough sapphire
#

I rarely wipe mine

gentle moss
#

if i see some i start to move my head about in a weird way to determine exactly where it is

#

like some sort of fucked up pigeon

rough sapphire
#

haha if you two were in the same room, it would be like 8-eyes

#

I am like ehh
until i can read letters on screen it doesn't matter

#

like some spider

gentle moss
#

that's gross

rough sapphire
#

better than licking your glasses

gentle moss
#

if it were just huge cakes of dirt in your eyes would you just be like

#

"well, i can still read words"

rough sapphire
#

my eyes aren't made of glass, though

#

they're squishy, and full of strange fluid

#

well this lenses cost a ton still get dirty easily

#

and that fluid can get infected somehow

gentle moss
#

ofc they get dirty easily but that's no reason not to clean them

#

i clean my glasses like +6 times a day

rough sapphire
#

i cleaned them last night , when my mom saw them

#

so how about contact lenses

gentle moss
#

i don't like putting my finger in my eye

rough sapphire
#

contact lenses are ...

#

weird

gentle moss
#

plus knowing me i'd fall asleep with them in

rough sapphire
#

i never tried one but i can totally say i can't bare them

#

what about lasers into your eyeballs

#

its like a spider holding your eye ball

gentle moss
#

getting laser eyeball surgery could work on one eye

#

could

rough sapphire
#

mann there is a look to everyone who wear glasses that anyone can tell that he wears glasses without even meeting him before and him not wearing them at that time

gentle moss
#

but wouldn't work on the other

rough sapphire
#

I feel weird when someone come up to me and say "you wear glasses right" and i am like yeah

gentle moss
#

that "look" is two little red marks on the bridge of their nose

#

either that or without them they go crosseyed

rough sapphire
#

it just come out naturally without even knowing where to look

gentle moss
#

perhaps a vacant stare that shows they're really looking at anything in particular

sand goblet
#

Browsing upwork for the heck of it

rough sapphire
#

the 20% premium is pretty rough too

sand goblet
#

Tbh I'm kind of out of options at this point so probably I'll have to use something like upwork soon

rough sapphire
#

you're unemployed?

sand goblet
#

Well, I'm on welfare and have been fooor..

#

Hmm

#

Nearly 10 years

rough sapphire
#

๐Ÿค”

sand goblet
#

That's how bad the job market is here haha

rough sapphire
#

that sounds like you've had 10 years to practice whatever skillset you want

sand goblet
#

Yup

#

Programming for the most part

rough sapphire
#

okay so

#

were you in ireland or england

sand goblet
#

Ireland, rural, unable to move or travel

rough sapphire
#

why

#

I mean you're fucked unless you get a remote job then

sand goblet
#

Can't pass the driving theory test, and have to stick with my disabled family

#

Yeah pretty much

#

I had a pretty promising application recently

rough sapphire
#

remote jobs def. exist

sand goblet
#

Company wanted a Web developer to recreate their fairly basic WordPress site from scratch, as like a bespoke webapp

#

Sent in my CV, guy liked me, went to the company meeting

#

"We just don't see why we would want to hire a programmer for this"

rough sapphire
#

what does that mean

sand goblet
#

Feels like I dodged a bullet there

#

I'm not sure

#

But it seems a bit weird to not want a programmer for a programming job

#

Especially given the portfolio of Web design projects I had in my CV

#

But oh well, I guess

rough sapphire
#

@sand goblet I'm looking to apply some work that's supposedly 100% remote right now

sand goblet
#

What've you got in mind?

rough sapphire
#

I'm not gonna talk until I've seen where this goes

sand goblet
#

Fair

rough sapphire
#

I did a tech thing for them a couple of days ago but I don't know what they think of it.

sand goblet
#

Management can be pretty slow to handle tech-related projects

#

But I guess that's why they hire programmers

rough sapphire
#

but this story you told me did make me think that it might fit you

sand goblet
#

I'm just frustrated to be honest and I've heard plenty of freelancing horror stories

#

People being banned from Upwork despite fulfilling the job

#

Stuff like that

#

So I'm hesitant

rough sapphire
#

๐Ÿคท

undone berry
#

I started doing some semi-freelancing stuff recently - and its very difficult dealing with non-tech people in a business context. Explaining to them why stuff costs money is just impossible for some things

sand goblet
#

I mean I'm gonna have no choice soon but

rough sapphire
#

I don't know how the social security there works. does it allow you to work in any capacity or does it immediately start cutting into your benefits?

sand goblet
#

I'm on community employment

#

So I can work a part time job

rough sapphire
#

I have no idea what that means

sand goblet
#

Anything more than that and it's gone

#

I make 230 euro/week or so working at a sports club but that money is welfare money

#

230 is nothing

rough sapphire
#

so you have to work to get that money?

sand goblet
#

Yeah, 20 hours per week

#

Though I'm remote at the moment

rough sapphire
#

920 a month?

#

and you have to work

#

is this how social security works in ireland in general?

sand goblet
#

No

#

The standard rate is 100/week if you're not on community employment

#

You can work and make less than that and they'll make up the difference

rough sapphire
#

400 a month won't even cover the rent...?

sand goblet
#

No, it wouldn't haha

#

The lucky ones get to go on Tus or Community Employment

#

But you have to be on welfare for years to get offered that

rough sapphire
#

what is the ireland some kind of banana republic

sand goblet
#

Haha

#

I don't know how they justify it

rough sapphire
#

are there student benefits

sand goblet
#

Yes

#

I actually had a grant for uni

rough sapphire
#

but like monthly

sand goblet
#

But they didn't adhere to their book of modules

#

Quarterly

rough sapphire
#

i guess that works too

#

i did a quick calc on the finnish social security website

#

assuming your rent is 400e + water 30e + electricity 30e + pharmaceuticals 50e, the government will hand you out precisely 1012.21 euros for free every month without any questions asked, assuming you have zero other income

sand goblet
#

That doesn't sound terrible

#

We have a rent allowance here but it only goes up to like 100-150/mo

rough sapphire
#

the rent will be covered in full here so if your rent goes up (up to some maximum which is way more than 400e) it will be in full

#

the guaranteed minimum for your own money is ~500e

#

but still

#

I'm surprised by the social benefits in ireland.

sand goblet
#

They announced a support recently

rough sapphire
#

I thought they'd be as good as in .fi

sand goblet
#

Where they'll pay up to 400/week for people affected by covid based on what they'd usually earn

#

I am on welfare though so I don't count

#

But I have a good boss so I'm doing it all remotely

sand goblet
#

Good times

rough sapphire
#

doge

sand goblet
#

Darg

frosty berry
#

how are you not employed in some sort of tech job?

#

not necessarily dev, although i'm sure you could look for junior positions, but almost anything would make you much more money than what you do now

sand goblet
#

because I can't find anything

#

that's really more or less all there is to it

#

almost everything I can find online never replies or is some kind of math-heavy job

#

And there's nothing IRL

frosty berry
#

but there are no company looking for tech workers in your area?

sand goblet
#

No

frosty berry
#

๐Ÿ˜ฆ

sand goblet
#

You can see why really

#

I mean look at the area I'm in in the video haha

#

This is farming central

primal spruce
#

what about remote?

frosty berry
#

i mean, for all i know you could be a 20-30mn drive from a city

sand goblet
#

That's the online part I mentioned

#

There are no cities whatsoever in this county @frosty berry

frosty berry
#

ok, indeed that doesn't help

sand goblet
#

We just have one big town, and a load of small towns

frosty berry
#

it's probably better to be in or close to a city for jobs, especially tech ones

sand goblet
#

Yep, but can't move

frosty berry
#

although everybody works remote these days anyway, but getting recruited now is certainly not going to be easy

sand goblet
#

I'll be in my 50s before I find a decent job at this rate

frosty berry
#

remote is also a lot easier to sell to a company (but still not easy) when you have experience

sand goblet
#

I do have experience though

frosty berry
#

as a dev?

sand goblet
#

And then the company goes "We need someone to make this webapp, so why would we ever hire a programmer?"

frosty berry
#

:puzzled:

#

๐Ÿ˜•

sand goblet
#

Yeah, that was my face too

rough sapphire
#

your friend..?

sand goblet
#

that'd be me

rough sapphire
#

umm why

sand goblet
#

why what?

frosty berry
#

i guess some "asking for a friend" that wasn't taken ironicaly

rough sapphire
#

I see

#

well I wouldn't understand that either

sand goblet
#

His buddy said his company wanted someone for the job and asked him to ask around if he knew anyone

#

and he knew someone: me

rough sapphire
#

ahh so it's a copypaste?

frosty berry
#

ah right

#

there are two indirection levels here

rough sapphire
#

maybe they were thinking "this it not a job for a programmer" because the job is more about creating content on a website?

sand goblet
#

they basically sent me two links

#

"this is our website" and "we want it to look like this"

#

and then a list of requirements, half of which their current site didn't support

#

it definitely wasn't going to be a case of just writing a few templates, but it wasn't much more work than that

rough sapphire
#

mmhm

frosty berry
#

maybe it's a wordpress site and they assumed you could install/configure ready-made plugins for that.

rough sapphire
#

yeah it sounds a bit like that

#

that somebody came in from the side and just told them "I can do this in 10 minutes" and they probably couldn't

sand goblet
#

I mean, my CV does have CMS experience in it

#

if that was the case

#

but it's usually faster to ditch wordpress

rough sapphire
#

they were doing some optimization probably. cutting features but then cutting also the budget

frosty berry
#

wordpress is the kind of tools you can do a lot with without any programming if you know the tools and ecosystem

sand goblet
#

yeah, unfortunately I do have a lot of experience with that

rough sapphire
#

the whole laundry list of features was given to you

frosty berry
#

yeah not saying the result is nice to look at internaly, but it does the job enough to be that popular

rough sapphire
#

but then somebody looked at it and said "if you cut this, this, and this, the budget goes down by 900%"

#

ergo, no need for a programmer

sand goblet
#

I mean that is entirely possible, yeah

rough sapphire
#

it sounds like that to me

frosty berry
#

i guess your other option is to self-recruit, build your own business using your programing knowledge if you are not going to move anytime soon, and the local employment perspectives are inexistent

sand goblet
#

that's what I'm trying to do at the moment

frosty berry
#

nice

rough sapphire
#

was trying to sell this really nice project idea of predicting some time series but it was fatally flawed as an idea because the predictions were shit

#

well not complete shit but

#

more like "no surprises here" level

sand goblet
#

I'm actually working on a cooking community site of all things

rough sapphire
#

the thing went down the drain with the corona virus taking over the world

#

was expecting it to pan out. had to start seriously looking for new stuff again after that.

sand goblet
#

it's not easy to work on a project like that, especially not on your own

rough sapphire
#

the thing was that they gave me a database dump and told me "we monitor these metrics" - i told them "I'll try to do some project proposal based on this information and get back to you"

#

NDAs were signed etc.

#

there was a lot of potential for cool stuff there still

sand goblet
#

It happens, I guess

rough sapphire
#

but i guess this is the reality with most anything data science\machine learning

#

you can't have results before the project is done

plucky ridge
#

Anyone know off hand if you can use one of those Apple all-in-one desktop computers as a regular computer monitor?

#

Probably not, right?

undone berry
#

I'm pretty sure not - but I don't know why I'm sure of that

#

or at least not reasonably

plucky ridge
#

It's looking like it only has the standard computer ports

#

USB, firewire, etc.

#

Yeah, looking like any display ports are only display OUT, so for attaching a second monitor to that particular machine

#

Makes sense

rough sapphire
#

kind of like laptops

plucky ridge
#

Yeah that's about what I figured

#

Figured it didn't hurt to ask or look

gentle moss
#

@plucky ridge wanna use an iMac as a monitor?

#

the screen connects via a laptop style monitor connection

#

iirc

#

you'd have to do some dirty work

plucky ridge
#

Not my machine. It's for someone who would be remoting in from home to do work. And she's not the most tech savvy person

#

So I'd rather not go down that road

gentle moss
#

oooh

#

no.

gusty oar
#

java devs are alphas.because they are OOP lord

rustic arrow
solid pollen
#

I don't know if launching an app from the terminal is 1) classy 2) stupid 3) retro 4) lazy 5) broken

#

What would you say?

sand goblet
#

depends who you are and what religion you prescribe to

dense stratus
#

it's how it's done

#

depends on the app to

#

o

sand goblet
#

if you're used to having a full GUI environment you probably won't launch stuff from the terminal

#

not least because it then locks up your terminal

#

but if you're an bspwm or i3 user you probably basically live in the terminal

solid pollen
#

It is the Unreal Editor, it is too much buggy to be launched from the task bar, plus you if you manage to launch it, you have to reboot it to open the project, which takes around a minute

dense stratus
#

if not from the terminal then where would you like to run it from?

sand goblet
#

on linux?

solid pollen
#

Yep

sand goblet
#

try launching it with alt+f2

dense stratus
#

nice for KDE

sand goblet
#

or gnome

dense stratus
#

but not exactly as nice for gnome

sand goblet
#

works fine on gnome too

dense stratus
#

sort of fine

solid pollen
#

It makes a search bar appear for me

sand goblet
#

yes, just type the command

#

hit enter

dense stratus
#

a little fine, if your system is setup nicely

solid pollen
#

I have to set the project path anyway

dense stratus
#

if it is in your path you will get away with it

solid pollen
#

Command being ./UE4Editor /home/akarys/Projects/UnrealProjects/Portal/Portal.uproject

#

No it is not

#

It is built from source

dense stratus
#

if it isn't and has to run from the desktop file then it can be a little funny

solid pollen
#

They don't distribute binaries

#

I'm curious about the full command path, hang on

dense stratus
#

but you can still install

sand goblet
solid pollen
#

/home/akarys/UnrealEngine/Engine/Binaries/Linux/UE4Editor /home/akarys/Projects/UnrealProjects/Portal/Portal.uproject Hmm, big good old command

dense stratus
#

usually
../config
make
make install

solid pollen
#

I mean, it is probably not up to date, neither legal

dense stratus
#

you can always create an alias or shell script

sand goblet
#

what do you mean, not up to date or legal

solid pollen
#

I want to be able to compile specific branches too

sand goblet
#

do you know how AUR packages work?

#

they're just a PKGBUILD file

solid pollen
#

Oh

dense stratus
#

the legal part is catching my ear

sand goblet
#

that file explains how to download and install the package from wherever it comes from

dense stratus
#

what's not legal?

solid pollen
#

Redistributing the engine binaries

sand goblet
#

and it seems UE4Editor is part of this package

dense stratus
#

so do you have the binaries that soemone gave you or did you do a build on your machine?

sand goblet
#

this will do the build on your machine

#

AUR packages are usually not binaries

solid pollen
#

I built it

#

Oh yeah, make sense

plucky ridge
#

In a cave

#

With a box of scraps

solid pollen
#

Anyway, it is pretty easy to build

#

?

sand goblet
#

well yes, but these generally include working .desktop files

plucky ridge
#

Sorry, Iron Man 1 reference

dense stratus
#

then no probs

sand goblet
#

and they'll put it on your PATH

#

as you can see

solid pollen
#

Hmm yeah I cloned the arch upstream

sand goblet
#

cd into it and makepkg -si

solid pollen
#

Can I just drop that somewhere in my system?

#

I don't want to build it, it is already built

sand goblet
#

you'll have to build it

#

it has a patch for arch's mono

dense stratus
#

sure, depends on whether you want it only for you or for any login on the system

solid pollen
#

what is that?

dense stratus
#

mono! hooray for C# or is that something different?

sand goblet
#

single line patch for a UE script

solid pollen
#

I mean, what is it used for?

sand goblet
#

well you'll have to look at the UE docs for what that env var does

#

or read that bash script

solid pollen
#

I don't think the build script is documented ๐Ÿ˜ฌ

sand goblet
#

well there are comments in it

solid pollen
#

There should ba a file named SetupMono.sh in the git root, right?

sand goblet
#

not in the AUR package

#

it'll be in the upstream UE repo

#

the package just patches it

#

read the PKGBUILD to find that upstream

solid pollen
#

Ah it is in a special path

#

patch Engine/Build/BatchFiles/Linux/SetupMono.sh

#

There is absolutly no comments

sand goblet
#

I mean you can see one in the patch

#

only the blue line is the line that gets patched

solid pollen
#

Okay, there are 3 comments, not helpful at all

sand goblet
#

haha

solid pollen
#

What is mono anyway?

sand goblet
#

it's a .NET runtime basically

#

a third party one, although microsoft have contributed to it

solid pollen
#

If it isn't set properly, can it cause weird issues with the editor?

#

Or it just wont start?

sand goblet
#

you take a .exe that was written in C# for .NET and mono will be able to run it, probably

#

no idea

solid pollen
#

I wonder if I should run the patch and recompile or not

#

Because it takes half a day to compile

sand goblet
#

does the pkgbuild directly reference the git repo?

#

because if it does, the package will have updates when the branch referenced is pushed to

solid pollen
#

Epic's upstream? Yep

sand goblet
#

meaning you'll have to build it again

#

well, unless you don't use an aur helper

solid pollen
#

Yeah, it is part of the project setup I think

#

Anyway, let's back to wor- Why on earth is that portal on the side?!

#

It doesn't really looks right haha

#

I should just blow everything up

#

And.. probably use git this time

#

But they're all binary files

#

I don't know how well git will perform

#

Oh my

vestal briar
#

Running ubuntu

#

Giving me "destination host unreachable" for all but the 8.8.8.8 dns I setup if I ping

#

ping 8.8.8.8 or ping 1.1.1.1 or ping 4.2.2.2 work fine but any domains don't

#

No idea whats wrong at this point

solid pollen
#

Time to steal write some cpp!

#

Internet is working at least?

vestal briar
#

Yes, this is eithernet

#
127.0.0.1       localhost.localdomain   localhost ss2
::1             localhost6.localdomain6 localhost6

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts```^^ `etc/hosts`
#
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.

nameserver 127.0.0.1
nameserver 8.8.8.8
nameserver 8.8.1.1```^^ `/etc/resolv.conf`
#

With ss2 being my hostname

#

Running over ssh so local stuff isn't a problem

#

Got it

#

I had a static ip assigned on my router but the networking linux detected was really messed up from the simple static ip it should have found

solid pollen
#

Nice

#

Is there a better working way of doing this? tree . | grep BP_PortalUtils

#

Nevermind, the -P flag on tree worked

#

But I wonder, is there a built in utility for that?

lime bison
#

grep -r maybe?

#

if you want to recursively search all the directory

solid pollen
#

Hmm, looks like it is searching for the file content

#

I'm searching for the filename

lime bison
#

ah, I see.

velvet rapids
plucky ridge
#

@velvet rapids Have you followed the link?

rough sapphire
#

missing a starting slash

velvet rapids
#

Which line?

rough sapphire
#

the line you underlined with red

#

the first one of them, i mean

velvet rapids
#

Yeah

#

idk why it says that

rough sapphire
#

how did you install chromedriver

velvet rapids
#

And it's Chromium installed, not Chrome, if that matters

#

I went to the link, downloaded the version that most closely matched to my chromium version for linux

rough sapphire
#

can you do file /usr/bin/chromedriver for me

plucky ridge
#

Something to note, Facebook really reeeeaaaaallly doesn't want people accessing their sites in automated ways unless it's through API

velvet rapids
#

Something to note, Facebook really reeeeaaaaallly doesn't want people accessing their sites in automated ways unless it's through API
@plucky ridge Yeah I'm not doing that anymore lmao

rough sapphire
#

do you see the problem

velvet rapids
#

I do not

rough sapphire
#

x86-64... on a Pi

velvet rapids
#

Oh

rough sapphire
#

which is ARM

plucky ridge
#

I mean.... messenger is one of their sites

velvet rapids
#

Yeah, I'm not doing anything related to that

#

So it's 32-bit?

rough sapphire
#

no

#

it's not x86

#

it's ARM

#

like I said

velvet rapids
#

How do I download that?

rough sapphire
#

ARM is a cpu architecture, not something you download. Use your distro's package manager to install the correct chromedriver for your architecture.

velvet rapids
#

Oh okay

rough sapphire
#

you rarely ever have to manually download and install programs on linux

velvet rapids
rough sapphire
#

you should do it all through your package manager

#

does raspbian really not have it in official repos?

plucky ridge
#

The driver wouldn't be a file on there

#

I wouldn't think

rough sapphire
#

no, that's right, I'm just confused as to why it's telling you to manually download it

plucky ridge
#

Last I checked that's what you have to do for those drivers

velvet rapids
#

I didn';t run that command

#

just checked if it was there

rough sapphire
#

you're not running ubuntu

plucky ridge
#

Might still work, though

velvet rapids
#

hemm

plucky ridge
#

Both debian based

velvet rapids
#

Where can I get the one for raspbian?

plucky ridge
#

I'd use the search terms selenium chrome driver raspbian

rough sapphire
#

looks like you do need to download the Ubuntu package though, yeah

rough sapphire
#

just do the things in the link I posted

#

it tells you what you have to do step by step

velvet rapids
#

@rough sapphire

#

There's no right hand side

#

Proposed or Release?

rough sapphire
#

that link is old

#

use this one

velvet rapids
#

Oh okay