#ot1-perplexing-regexing

1 messages Ā· Page 468 of 1

rough sapphire
#

@edgy crest try European servers

unique warren
#

Asian servers are always trash

rough sapphire
#

Honestly

unique warren
#

Try North American or EU

rough sapphire
#

US, EU and Asian servers all of em are full of indonesians

#

and overall Asians

unique warren
#

Wtf

rough sapphire
#

You can't help it, they conqueror every game literally

unique warren
#

Dude they will spoil the game.

rough sapphire
#

Just like turks rule the mobile gaming

edgy crest
#

ok

rough sapphire
#

They do

unique warren
#

Especially Koreans.

rough sapphire
#

And you can't help it honestly...

#

The most common people I come across are Indonesians

unique warren
#

Is Mobile app and win app different?

rough sapphire
#

I think so

#

Not sure

unique warren
#

I hope so

rough sapphire
#

Lmao yea

edgy crest
#

i think overall the game is unique, and could be fun if the server's people are not trash

#

sorry

rough sapphire
#

it's ok

junior leaf
#

šŸ‘€

#

welp i'm an indian who likes to ruin games in among us and after reading this convo i feel kinda guilty

rough sapphire
#

You should...

junior leaf
#

i always go for red

#

my name is literally Red sus

rough sapphire
#

I made an exploit in c++ and i honestly kinda regret for ruining the gameplay of others

#

Oof

junior leaf
#

oof

#

so the game's in cpp?

rough sapphire
#

No

#

Idk

junior leaf
#

huh so what were you talking abt

#

seems like i dint get it

rough sapphire
#

Creating an exploit, hacks

#

you know...

junior leaf
#

yea but you were talking abt among us right?

rough sapphire
#

Yes

edgy crest
#

hmm, weird, i made people feel guilty about themselves

rough sapphire
#

lol speed hack, unlimited kills

#

talk to ghosts

#

that's the most fun one

edgy crest
#

did you code it yourself
?

rough sapphire
#

so the game's in cpp?
@junior leaf c#, it's made in unity

junior leaf
#

hmm

rough sapphire
#

u ever just send fake data back to the server

dusky orchid
#

!warn 758346959894478900 We don't discuss game exploits here.

royal lakeBOT
#

:incoming_envelope: :ok_hand: applied warning to @rough sapphire.

rough sapphire
#

Sorry-

edgy crest
#

whats the difference in admin and owner?

young shoal
#

permission wise, nothing

#

they have different responsibilities though

sand inlet
#

@last pilot nevermind, i was wrong, it does actually make it slower

#

but either way it's less than a hundredth of a second (on my computer)

edgy crest
#

oki

last pilot
#

Ok

edgy crest
#

lol ok i got it, and that guy pinged the mods and admins

simple sand
#

@wispy portal

#

@stuck meteor

wispy portal
#

yes

stuck meteor
#

Dude, it was not off-topic

simple sand
#

yes so u want it to run on start up

wispy portal
#

yep

simple sand
#

ye u could use .bat for that

wispy portal
#

i add the bat file to startup folder?

stuck meteor
#

btw , you don't need to run it on background? @wispy portal

wispy portal
#

look what i meant was the program shud automatically start when i turn on my pc

stuck meteor
#

then it's alright with .bat

wispy portal
#

instead of me running it manually

#

k

simple sand
#

u have to write a bat script and your python fiile will be inside of your bat file and then u go to task manager and then set it up so that every time u open your pc it will run

#

ask hemlock when he becomes online

stuck meteor
#

what do you mean by "python file inside"

wispy portal
#

so the bat file contains start pythonfile.py?

stuck meteor
#

you mean start "file.py" inside the batch file?

simple sand
#

yes

#

kinda like that

wispy portal
#

oh i need the " "?

simple sand
#

if u run the bat file the python file will run

stuck meteor
#

only if u have whitespaces in the name

wispy portal
#

k

simple sand
#

u need a bat script

stuck meteor
#

but its good practice to put them anyways

wispy portal
#

ok what shud i do after i create the bat file?

simple sand
#

oh hemlock is here

#

ask him @plucky ridge if u are free could u help him

stuck meteor
#

just add it to startup?

plucky ridge
#

What'd I do?

simple sand
#

oh remember when u helped me run a python automatically on startup

#

he needs help with something like that

plucky ridge
#

Scrolling up

simple sand
#

@wispy portal go ahead tell him your prob

stuck meteor
#

reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run /v "My program" /t REG_SZ /d "Path_to_the_file.bat" @wispy portal

#

use this on the command line

plucky ridge
#

Wait why are you having him set a registry key?

stuck meteor
#

that's for adding to startup

simple sand
#

no

plucky ridge
#

That's not needed

simple sand
#

u do it by task manager

wispy portal
#

ye i basically want to run a python fiile automatically every time i turn on my pc

#

instead of me running it via cmd manually

stuck meteor
#

well, if you add it to task manager it's automatically going into the registry

plucky ridge
#

Hit CTRL+SHIFT+ESC to open up the task manager

stuck meteor
#

so that's the same thing

plucky ridge
#

Except it's less prone to potential errors

simple sand
#

he also dosent have a bat file

plucky ridge
#

So there's literally no reason to make someone do a registry change via cmd

#

It's potentially harmful to the system if done wrong and really not a wise suggestion period

wispy portal
#

he also dosent have a bat file
@simple sand ah ive made one

#

yes what shud i do in task manager

plucky ridge
#

There should be a tab that says "Startup" or something to that effect

#

Kind of flying blind since I'm on my Manjaro machine

wispy portal
plucky ridge
#

Yep, startup

#

Question, do you need the Python file to open up a cmd prompt?

wispy portal
#

uh no

plucky ridge
#

Change the file extension to .pyw instead.

wispy portal
#

k

plucky ridge
#

And change it accordingly in the bat file as well

wispy portal
#

.py to .pyw rught

#

alr

plucky ridge
#

Yeppers

wispy portal
#

wait how do i add it here tho?

plucky ridge
#

Can you take another screenshot of the Startup window?

wispy portal
#

ah sure

plucky ridge
#

Hmm, one sec

wispy portal
#

oh so i just need to add the file to startup folder

#

alr thanks guys šŸ˜„

plucky ridge
#

Yep!

#

No problem

wispy portal
#

also is it like harmful to run codes in bg?

plucky ridge
#

Not if it's code that you know or you have written

wispy portal
#

alr

rough sapphire
#

hi hemlock

hoary steppe
#

joe mama

#

bad meme

#

bad

solid pollen
#

That ain't going to help joe's DM lol

cosmic ravine
#

wow, I can be such a dummy.
yesterday soldered a contraption that feeds 9v with 100ohm resistor to a fan that'll cool my raspi 4
today looked at it an facepalmed so hard - I completely forgot that I could've just used the 3.3 / 5v pins from the pi itself to power the fan~

young shoal
#

lol

safe bolt
#

Wow

sour forge
#

Joe mama so big she got an entire ot for herself on pydis

median aspen
#

joe mama it's so big that he looks like a node_modules folder

rough sapphire
#

funny

round rose
#

joe mama it's so big that he looks like a node_modules folder
I set up @vue/cli today and can confirm, that folder is fucking enormous

rough sapphire
#

Hello, any american / canadian here for a general question ?

manic bloom
#

Hello, any american / canadian here for a general question ?
@rough sapphire we don't discriminate programmers

fringe creek
#

joe mama so big she takes more ram than pycharm

manic bloom
#

we are supposed to be better than humans, we are programmers

rough sapphire
#

what does my question have to do with discrimination i don't get it ? i hope this is a form of sarcasm

manic bloom
#

"american / canadian"

rough sapphire
#

it doesn't answer my question

manic bloom
#

bruh

#

whatever

rough sapphire
#

yea exactly whatever

fringe creek
#

a lot of people here are american lol whats your question

rough sapphire
#

it's about to get information on educational system there

manic bloom
#

oh ok

#

nvm

#

I'm an idiot

rough sapphire
#

want more clarification about the notion of "college" and "university" and the difference between them and which one would be better to attempt

floral viper
#

I sure as hell discriminate against some programmers. Anyone that doesn't have never worked with low wage coders.

rough sapphire
#

I'm an idiot
@manic bloom don't say that, you are not

fringe creek
#

@rough sapphire college and university are basically interchangeable, they mean the same thing, but usually university entails somewhat of a larger or more advanced institution

manic bloom
#

honestly, they're the same

fringe creek
#

so usually universities have graduate and undergraduate programs while colleges are just undergraduate

#

but yeah theyre basically the same

rough sapphire
#

And college are cheaper than universities right ?

fringe creek
#

not necessarily

#

they dont really exactly mean that universities are always better than colleges

#

its just that people kind of think they are

rough sapphire
#

cool, im more confused now xD

manic bloom
#

lol

fringe creek
#

american naming schemes are confusing

manic bloom
#

basically univeristy = college

#

it's just a naming scheme

rough sapphire
#

you can't have a simple life like Europe seriously? 😢

manic bloom
#

yes

fringe creek
#

more like university >= college

rough sapphire
#

basically univeristy = college
@manic bloom mmm

manic bloom
#

I mean americans use the legth of a hotdog rather than metric systems

young shoal
#

the length of an amputated leg

fringe creek
#

and who tf came up with the idea that a brine solution should be 0 on the temperature scale

rough sapphire
#

im planning to move to canada "as a foreign student", and it's seems like universities there are expensive as hell for foreigners, then i've heared that colleges are cheaper than universities and i still didn't find any clear topic on the net explaining the real difference between the two notions

manic bloom
#

there is no differnce

#

it's just that some colleges use university as their name to seem a little more pristege to charge more money

rough sapphire
#

it's just that some colleges use university as their name to seem a little more pritege to charge more money
@manic bloom wow

manic bloom
#

it's true

#

but most colleges use it because college doesn't fit their naming

#

like University of California sound better than College of California

rough sapphire
#

like University of California sound better than College of California
@manic bloom yea i got it

fringe creek
#

for example harvard college and harvard university

rough sapphire
#

so, i should be more focusing about searching programs rather than universities / colleges technically ?

manic bloom
#

yes

fringe creek
#

yeah

rough sapphire
#

i see

narrow pecan
#

@rough sapphire we have free school (including university) in Sweden

rough sapphire
narrow pecan
#

If you’re looking for something not-as-expensive

rough sapphire
#

;(

#

guys

#

lets cry together

austere forum
#

why ?

narrow pecan
formal blaze
#

Hello ?

topaz eagle
#

a virus delte fast

formal blaze
#

Lmao

#

No seriously

#

Someone told me it's shell code

#

Others told me it's binary

#

I'm confused

rough sapphire
#

Its a binary string of -something idk-

formal blaze
#

I got it from a POST request response

#

When I tried to .text

#

I got binary

#

Looked weird, SO i used .content

#

._. Is that the end of the road?

#

Is there a way to convert it or something ?

topaz eagle
#

anyone ever tried flipping laptops to make a buck?

cosmic ravine
#

looks like some python 'bytes' object thingy

#

afaik \x usually represents ascii?

#

ĀÆ_(惄)_/ĀÆ

high verge
#

i mean it's all ascii if you want it to be

#

but looking at the data it isn't human readable text in that form

#

it's a sequence of bytes

#

what did you get it from

formal blaze
#

I got it from a POST requst

#

As a respone

#

@cosmic ravine, @high verge
Hope you don't mind pinging, If yes I apologize :)

high verge
#

np

#

but from what

#

and is this in requests?

formal blaze
#

It is in requests

high verge
#

i.e. this isn't raw tcp or something

formal blaze
#

Facebook

high verge
#

right

#

what on facebook tho

formal blaze
#

Tried to get the latest messages

high verge
#

right

formal blaze
#

The actual response should be in json

high verge
#

does facebook use graphql or something maybe

#

hmm

formal blaze
#

But I get binary

#

YEAH !

#

Exactly

high verge
#

is it maybe compressed?

formal blaze
#

I'm not sure what you mean . .

narrow pecan
#

@high verge why do you have not prefix in your name?

high verge
#

cause i keep forgetting it

#

not a selfbot

#

lots of people seem to think that

narrow pecan
#

You still forget it?

#

Well, they say I’m a self bot, so it’s fine hahah

formal blaze
#

@high verge :Do you have any idea what should I do ?

narrow pecan
#

You should make Pizza Steve

formal blaze
#

Make what-

narrow pecan
#

I was being incredibly funny

formal blaze
#

I'm afraid that I didn't get what you mean xD

narrow pecan
#

You should make pizza, Steve

#

Vs

formal blaze
#

O

narrow pecan
#

You should make @formal blaze

formal blaze
#

Unholy ravioli-

#

That's funny ngl

#

Making a joke of my name >:(

#

Vester

#

Wish your name were vector

narrow pecan
#

Hahahaha

formal blaze
#

Would be easier to revenge

narrow pecan
#

Ahahah how?

manic bloom
#

Where is the pizza steve? I need Pizza Steve. I told you to order pizza Steve.

narrow pecan
#

Was that the revenge?

formal blaze
#

Wait what

narrow pecan
#

Exactly

formal blaze
#

Ok you're scarying me now

narrow pecan
#

Then you don’t know what I’ll do tomorrow ducky_devil

#

(I’ll have an exam)

formal blaze
#

LMAO

narrow pecan
#

And now, I’m gonna drink some hot chocolate

formal blaze
#

I need to fix that problem so bad, Are you familiar with that ? :(

narrow pecan
#

What problem?

formal blaze
#

When I send a POST request to graphql, I get binary as a response

#

Instead of json

narrow pecan
#

Haven’t really used graphqll, sorry

formal blaze
#

Nor me :(

narrow pecan
#

I’ve realised that I sometimes blog my life here

#

Like ā€œI’m gonna drink some hot chocolateā€ and ā€œgoing to the supermarket to buy tortilla chipsā€

formal blaze
#

Been a while since I tasted it

narrow pecan
#

Hot chocolate?

formal blaze
#

Tortilla

narrow pecan
#

Aaah

formal blaze
#

I'm allergy to chocolate in general

narrow pecan
#

You’re missing out

formal blaze
#

Sad

narrow pecan
#

Oh, really?

formal blaze
#

Yeah actually dessert

#

They make me act like I have epilepsy

narrow pecan
#

Oh

#

That’s terrible

#

(But I guess it’s worth it hahah)

formal blaze
#

Not really, If you hate food It won't be terrible to you GWowoBlobCoffee

narrow pecan
#

I guess

#

I’m just such a chocolate lover myself

formal blaze
#

How many bars can you eat in a day ?

narrow pecan
#

I’m not crazy hahaha

#

But I really enjoy it

formal blaze
#

I've been caught, haha

#

I see-

#

What's your favourite type ?

narrow pecan
#

Dark

#

But they all have their different occasions

#

Sometimes, I just want something sweet with nuts

#

And sometimes, up to 100% is what I want

formal blaze
#

specific brand ?

narrow pecan
#

Not really. I guess most of them aren’t even international

cosmic lotus
#

Oh boy its still joe mama

#

when does it eeend

topaz aurora
#

It'll change in an hour and a half

narrow pecan
#

Yep. At 0:00 UTC

cosmic lotus
#

Oh yeah UTC 0

narrow pecan
#

(2 am for me)

formal blaze
#

@high verge hello? :(

high verge
#

hi sorry

#

hmm

#

i have no idea what's going on

formal blaze
#

:(

high verge
#

which endpoint is it

formal blaze
#

Give me a second

tranquil thicket
#

lol im suprised no one claimed the username python#0001

formal blaze
narrow pecan
#

It’s not really that fun to have tbh

#

Oh wait, you have it

#

Wish your name were vector
@formal blaze I just realised my name’s been Vector for half an hour hahahah

formal blaze
#

I was gonna ask if it's your real name xD

narrow pecan
#

Vector...?

formal blaze
#

Vector

cosmic ravine
#

and his brother triangle

narrow pecan
#

Ahahah

#

No. My name isn’t vector

cosmic ravine
#

eh, was eating, Pizza Steve
I'm not really proficient in json magic, but doesn't it tell you any kind of encoding?

formal blaze
#

LMAO

#

That was actually funny

#

eh, was eating, Pizza Steve
I'm not really proficient in json magic, but doesn't it tell you any kind of encoding?
@cosmic ravine What I get from it is that it's binary

cosmic ravine
#

well, gzip can look like that, too

formal blaze
#

I don't have any idea about what gzip might be . .

#

Alright I got it

#

But why would it be gzip if the response should be json ?

cosmic ravine
#

performance, I guess

#

it may actually be json, but compressed with gzip

#

or some other encoding - usually you have headers telling you about it

#

usually

#

:\

formal blaze
#

1 sec

#

OH MAN

#

You're a legend

#

accept-encoding: gzip, deflate, br

cosmic ravine
#

!

#

it was honestly just a wild guess, I remember having read something about it

formal blaze
#

OH MY GOD

#

I GOT THE JSON

#

AKDJFOIFDIODSJIOFOFIOSDF

#

I'm about to cry xD

cosmic ravine
#

hah, grats :D

formal blaze
#

I swear to god xD

#

Thank you so much !

cosmic ravine
#

sometimes a blind chicken also picks a corn

#

'scuse me if that doesn't make nearly as much sense as in my mother tongue

formal blaze
#

It actually does

#

But not in this situation xD

rough sapphire
#

2

narrow pecan
#

Hmmm

coral void
#

@young shoal found it.. it's "HTML/XML tag tree highlighting" so apparently it doesn't work with the python code

young shoal
#

wait what

#

noooooo

coral void
#

I bet there could be a plugin for it though

#

there doesn't appear to be one ._.

young shoal
#

it looks so good though ;-;

simple sand
#

has anyone ever worked with postgresql

eternal wing
#

yes

narrow pecan
#

At least one person has

eternal wing
#

I assume many xD

narrow pecan
#

Indeed

eternal wing
#

and why not VesterGurkan
this rebranding pains me 😢

simple sand
#

@eternal wing could u help me set it up

eternal wing
#

el oh el

#

maybe

simple sand
eternal wing
#

I have set it up once.

#

I did mine through terminal doe

narrow pecan
#

Ofc

eternal wing
#

oh, almost forgot: I use arch btw

topaz aurora
#

Just found out Contabo accepts payment through PayPal. Well, guess I'm not getting one until next year.

eternal wing
#

raspberry pi

topaz aurora
#

Which is perfectly fine since that's also when my AWS Free Tier expires

eternal wing
#

does AWS free tier expire?

#

Mine started charging me like 5 cents a month for data usage so I just cancelled it

topaz aurora
#

does AWS free tier expire?
@eternal wing After a year

eternal wing
#

oh dang, I did not know. I cancelled mine before then

#

doesn't google have their own free hosting as well?

topaz aurora
#

GCP, yes

eternal wing
#

I never used it, but it seemed like a good alternative

#

I probably will never use azure due to the daily emails I get from them xD

topaz aurora
#

raspberry pi
@eternal wing I could but then again why not just get a dedicated server PC?

#

Electricity is expensive though

eternal wing
#

doooo it. build it. steal your neighbors electricity jkjk

#

but doooo it xD

#

technically my server is barely utilized, but I do not trust anyone that much xD

icy osprey
#

pi besf hostinf

eternal wing
#

I still need to use my pi 😢

winter terrace
#

hey yall

#

do you guys hate not having to bleach out your eyes?

#

me too!

#

try

unique warren
#

Try what?

winter terrace
#

i found a sans kirby plush online and thought yep it needs to be grabbing me and dragging my soul into the abyss

unique warren
rough sapphire
#

has anyone seeen my dad

unique warren
#

Nein.

prisma geyser
#

Okay so here's some completely out of topic question :

#

I need some suggestions from you guys. I am planning to build an app that allows user to rent stuff from other users. But am unable to think of any solution that will ensure that the user(who rented the stuff) would safely return back the stuff to the user(who rented it out). Any ideas?šŸ˜…

wooden silo
#

@prisma geyser Put collateral in escrow matching the value of the borrowed item.

#

Or, rented item.

prisma geyser
#

Hmmm..something more efficient?

#

If I use collateral or a safety deposit then it will make the user base very low. People are renting because they can't afford to buy that stuff.

wooden silo
#

A reputation system, maybe.

#

So people can rate lenders and borrowers.

#

It's not a silver bullet, but maybe it can help.

mild abyss
#

i just realized there arent much reviews about artix linux hmmm

solid pollen
#

Lol what did you expect

#

Artix devs aren’t the manjaro devs

mild abyss
#

nah it is great. i am just looking for someone who is using it as their main distro

#

like some youtuber i can subscribe to

solid pollen
#

if no one use it as their main distro there’s probably a reason

mild abyss
#

heh firefox shows the same image file better than chrome. thats weird

simple sand
#

this is halirious

rough sapphire
#

who wanna listen to 100 ~gecs~

edgy crest
#

lol that guy is so .. lol

simple sand
#

ye ikr

rough sapphire
#

100 ~gecs~
Don't drink tap water at Jerry Garcia's house

crimson magnet
#

Drink the pound water

oak tangle
#

Didn't someone talk to you about randomly dropping invite codes already, @rough sapphire?

#

Ah, yeah

narrow pecan
#

My sister just asked ā€œwhat does butter weigh?ā€
I obviously answered ā€œ50 gramsā€

crimson magnet
#

nope, it depends

round rose
#

it actually weighs three

#

just three, no measurement

cosmic lotus
#

no it's three fiddy

round rose
#

the same three that snails sleep for

young shoal
#

it's unitless, of course

narrow pecan
#

Ah, yes

#

It weighs 3

round rose
#

yes

topaz aurora
#

@plucky ridge Just a few prerequisites, you know how functors work roughly right?

solid pollen
#

are they pure though

plucky ridge
#

You... might have to refresh my memory on that too... Sorry

topaz aurora
#

It's cool, it's cool; functors are essentially specialized "container" types that implement a map function

#

Lists for one, are examples of functors

plucky ridge
#

Okay, that makes sense

quick ledge
#

how does list implement a "map" function?

#

type?

topaz aurora
#

Now, there are also other examples of functors, like Maybe a, or Either a b, and they abstract away different things

plucky ridge
#

I'm familiar with those from Elm, ReScript and Rust

topaz aurora
#

Maybe is Option and Either is Result in Rust, which is pretty neat

#

Anyways, the thing about the map function in terms of functors is that they're very limited

#

map can only transform a function that operates from a to b, into a function that only operates on f a to f b, however, a dillema would arise once you start using map on functions of multiple arguments

edgy crest
#

i planned out my plan to install linux, the only difficulty is my internet >.<

topaz aurora
#
-- If `map` has the signature:
pure> :t map
map :: (a -> b) -> (f a -> f b)

-- and `+` has the signature:
:t (+)
(+) :: Int -> Int -> Int

-- `map (+)` would look like:
pure> :t map (+)
map (+) :: f Int -> f (Int -> Int)
edgy crest
#

but i will find a way to overcome it

#

is linux mint good?

quick ledge
#

I've heard good things and bad things

quick bay
#

pure what does your name in blue mean?

quick ledge
#

about Mint

edgy crest
#

hmm

#

then ubuntu?

topaz aurora
#

Now, if you apply another argument to that map (+), specifically a container that supports it, there's absolutely no way out of f (Int -> Int)

#

@plucky ridge ^

edgy crest
#

pure which distro do you use

topaz aurora
#

Manjaro like Hem

quick ledge
#

I use manjaro too

edgy crest
#

ok so i should install manjaro then?

quick ledge
#

ubuntu ain't bad or anything

edgy crest
#

hmm

#

this is tough

solid pollen
#

Manjaro like Hem
@topaz aurora I read this message first, I was like "how on earth can the distro itself like Hemlock"

edgy crest
#

haha

#

wait,
you never know

topaz aurora
#

@plucky ridge Monads are a step above Functors in a sense that all Monads are valid Functors. Monads basically allow you to temporarily "leave" the container, giving more flexibility in terms of what you can do with its values

-- `do` notation, which is just syntax sugar
addMaybe :: Maybe Int -> Maybe Int -> Maybe Int
addMaybe ma mb = do
  x <- ma         -- x, y are now just Ints
  y <- mb
  return (x + y)  -- now that we've applied the "regular function", time to go back
plucky ridge
#

Ooooooohhhhhhhh

#

So you're handling it one bit at a time

topaz aurora
#

This helps avoid the f (a -> b) deadlock

plucky ridge
#

I think I'll have to play around with that until it really sinks in

topaz aurora
#

Ye, it helps quite a lot

#

Also about the Python analogy, async functions are great examples of monads

plucky ridge
#

Okay so... ideally in any given function you should only have 2 arguments?

#

More or less?

topaz aurora
#

You can have as many as you want to be fair

plucky ridge
#

And this kind of lets you crawl down the chain until you get to the end and then work your way backwards?

#

Ah, okay

#

Yeah this is the level of stuff that still trips me up

narrow pecan
#

(you have an f now?)

plucky ridge
#

He added it mid conversation about 20 minutes or so ago in a different channel

topaz aurora
#

Also about the Python analogy, async functions are great examples of monads
Take for example this function, when you call delayed_return, you get a coroutine instead of the result immediately right?

async def delayed_return(delay: int, value: int) -> int:
    await asyncio.sleep(delay)
    return value
plucky ridge
#

Right

topaz aurora
#

Coroutines (or any other awaitable for that matter) can only be "unwrapped" within other coroutines through await (not counting asyncio.run), but in the end once you've unwrapped the values and performed your operations with it, you're still in the coroutine

async def combined():
    x = await delayed_return(1, 21)
    y = await delayed_return(1, 42)
    z = 62
    return x + y + z
#

but this time, you've composed together smaller coroutines into a bigger one that does more things

#

In the end, you run it with asyncio.run, which allows you to run the coroutine and obtain its result in non-coroutine waters

plucky ridge
#

Hmm, okay, that makes sense

lunar shore
#

Also , another problem

Prooobleeeeems .... I'm on Manjaro and Haskell GHC doesn't build without -dynamic . And I have to use cabal for using packages . And that means no arguments supported ig ... What could I do now?

#

I can't find anything on the internet

#

ghcup?

topaz aurora
#

Interestingly enough, that can be translated 1~1 in Haskell

delayed_return :: Int -> Int -> IO Int
delayed_return d v = do
  threadDelay (d * 1000)
  return v

combined :: IO Int
combined = do
  x <- delayed_return 1 21
  y <- delayed_return 1 42
  let z = 62
  return (x + y + z)
#

Now, you can't just pluck out Int out of IO Int much like you can pluck an int from a coroutine through asyncio.run, it doesn't allow for that.

lunar shore
#

Sorry I interrupted tho

topaz aurora
#

However, since Haskell's entry point main is in IO, much like you'd define a main coroutine, you can pluck and place values in and out of that however you want, but ultimately, the Haskell runtime and asyncio.run drives those two things respectively

#

@lunar shore Install ghc and cabal from ghcup, it should allow for static linking

#

@plucky ridge ICYMI ^^

lunar shore
#

Hmmm lemme try removing the AUR one and try that

plucky ridge
#

Interesting

topaz aurora
#

Feel free to shoot some questions, I'm gonna get some food

lunar shore
#

And thanks to you for answering , irdk how I would've figured the answers out if you didn't help me ngl

#

omg ghc worked thx so much

shell raptor
#

@lunar shore one trick that helped me in ghci, just wanted to share:

:set prompt "\ESC[44m Ī» \ESC[m "
:set prompt-cont "\ESC[42m Ī»|\ESC[m "
lunar shore
#

Hmmmmm

#

Cool

#

Yeah I'd save that

shell raptor
#

Actually, you can extract the Int using System.IO.Unsafe. But this is a big no-no

lunar shore
#

wow

shell raptor
#

I think it's used to interact with C libraries or somethign

#

but I'm not an expert on it

lunar shore
#

oh so you can use C libs

#

wow

shell raptor
#

You can actually emulate IO in Python

lunar shore
#

wow

shell raptor
#

Also, if you're already familiar with do-notation, it's extremely similar to yield, yield from or await

lunar shore
#

Hmmm

shell raptor
#

If I remember correctly the async/await syntax in general was inspired by Haskell

lunar shore
#

wow

shell raptor
lunar shore
#

woah

shell raptor
#

lakmatiol will correct me

graceful basin
#

yeah, haskell, though the concept got into mainstream from F#, which took it from haskell

lunar shore
#

Ah haskell rip-off...

graceful basin
#

F# is not really a haskell ripoff

#

pretty sure it is not even pure

lunar shore
#

Not the Language

shell raptor
#

more like OCaml ripoff šŸ™‚

lunar shore
#

The async

graceful basin
#

a lot of things come from haskell

#

generics, list comprehensions are two pretty big ones

lunar shore
#

wow

#

Haskell devs do be smart

graceful basin
#

HS is really old

lunar shore
#

But still developed right?

graceful basin
#

ye

lunar shore
#

I see

shell raptor
#

isn't haskell pretty much as old as python?

graceful basin
#

though less since there is code that must be kept up to date in it

lunar shore
#

Ow

graceful basin
#

haskell is afaik older

shell raptor
#

wikipedia says it started in 1990

graceful basin
#

huh, about the same then

#

oldest FP is afaik standard ML

shell raptor
#

not counting lisp

#

if you mean purely functional, maybe yes

topaz aurora
#

The concept of a purely functional language has been around for much much longer hasn't it?

graceful basin
#

I meant more hildney-miller type systems

#

ye, that is probably much older

shell raptor
#

1930s šŸ™‚

stark prawn
#

Standard machine learning?

topaz aurora
#

if we had the computing power back then, OOP wouldn't annihilate everything in its path

graceful basin
#

ML is the language that eventually became OcaML

stark prawn
#

Ah okay,

#

I always thought machine learning was from the 60s

#

Except they didn't have any CPU cycles compared to now.

shell raptor
undone berry
#

1958 was the first paper on perceptrons

stark prawn
#

1950s the first neural network was made apperantly

undone berry
#

Cpu power isn't the reason it didn't progress though

stark prawn
#

Data availablity aswell

solid pollen
#

You don't need huge dataset to build good NN tbh

stark prawn
#

Btw does your new nickname mean tea is a soup?

shell raptor
#

Tea with tealeafs is soup

stark prawn
#

More data does give an incentive to develop the field

eternal wing
#

tea is soup

undone berry
#

No. The paper that made NNs usable wasn't published. Called the ai winter. I have a great link I can send about the history if you like

#

When im back at my pc

eternal wing
#

what was early ML actually used for? Or was it unable to perform well enough to be useful?

undone berry
#

Digit recognition in the usps

shell raptor
#

I think lakmatiol didn't mean "machine learning" by ML šŸ‘€

stark prawn
#

Interesting

eternal wing
#

well now we are on ML

stark prawn
#

We know fix

shell raptor
#

oh

#

sorry for misunderstanding then 🄲

undone berry
#

Btw does your new nickname mean tea is a soup?
I missed this, but emphatically not and I'm somehow outraged and by the suggestion but can't quite logically refute it

cosmic ravine
#

tea or milk first?

lunar shore
#

Coffee

mint lichen
#

milk first, while you boil the water. it's more efficient

eternal wing
#

milk first, I will die on a hill for this

shell raptor
#

tea first, milk dont

rough sapphire
#

Hey guys can someone please link or provide any suggested networking resources or maybe a networking discord server?

rough sapphire
#

please?

rich rover
#

Check out #networks and ask your questions there

mint lichen
#

generally speaking, is variable_name or variableName used more? is it just a matter of preference?

#

just curious if I'm following conventions

stark prawn
#

In python variable_name is the preferred option.

#

!pep8

royal lakeBOT
#

PEP 8 is the official style guide for Python. It includes comprehensive guidelines for code formatting, variable naming, and making your code easy to read. Professional Python developers are usually required to follow the guidelines, and will often use code-linters like flake8 to verify that the code they're writing complies with the style guide.

You can find the PEP 8 document here.

stark prawn
#

But in general, if you join a project, stick to the style already used in that project.

mint lichen
#

thanks, forgot about pep8... I prefer variable_name anyways so good to know

calm dawn
#

hemlock is not alone with the ot names, it seems

formal blaze
#

If I get timeout exception from a specific site when I get request only when I'm using a proxy, Might it be related to the site itself ?

#

The proxy is literally working for every other request except for that specific site

minor latch
#

Could be the server not responding, or maybe it detected proxies. Try sending without any proxies and see if the error still occurs.

undone berry
#

Online lectures are such a fuckin waste of time. It's so much worse than just being given a chapter of a book to read. Sitting here for an hour whilst someone who can't use technology fails to livestream all so that some mug can ask a terrible question that amounts to "are you sure you're not wrong" every 20 minutes

mild abyss
#

@undone berry oh so im not the only one experiencing that hmmmm...

undone berry
rough sapphire
#

Do you guys think that a dual PC setup is always better to stream with as compared to single PC Streaming setup ?

young shoal
#

yeah

#

unless you don't have any money

rough sapphire
#

how much of it even matters

#

yt and twitch are mostly capped to 60 FPS

stark prawn
#

If you have a high corecount cpu not too much

young shoal
#

yeah but you can get higher definition

stark prawn
#

It's not about that, it's about the streaming software competing with resources with your games.

young shoal
#

^

quick ledge
#

don't play games, only stream

#

ez

rough sapphire
#

how do you see the list of roles

quick ledge
#

are you an admin?

#

i think you atleast need manage roles

young shoal
#

the owners have a lot of them

plucky ridge
#

You wouldn't want to see the whole list

#

It's absurd

#

Just too damn many

rough sapphire
#

why do you need so many

#

oh from all the events and stuff?

plucky ridge
#

Yep

#

Currently we have like.... 50 additional roles from the code jam alone

rough sapphire
#

yeah.. that does seem like a lot lol

rough sapphire
#

Ask API for roles

plucky ridge
#

We currently have 123

rough sapphire
#

wasn't there a limit on it ?

plucky ridge
#

Don't know

rough sapphire
#

of 50 roles I think

plucky ridge
#

There's a max of 50 channels per category

#

That might be what you're thinking of

solid pollen
#

124 actually lemon_fingerguns_shades

rough sapphire
#

let me see

plucky ridge
solid pollen
#

!server

royal lakeBOT
#

Server information
Created: 3 years, 8 months and 21 days ago
Voice region: europe
Features: BANNER, RELAY_ENABLED, VANITY_URL, DISCOVERABLE, COMMUNITY, INVITE_SPLASH, ANIMATED_ICON, WELCOME_SCREEN_ENABLED, PARTNERED, NEWS, VIP_REGIONS

Channel counts
Category channels: 35
News channels: 7
Text channels: 194
Voice channels: 72
Staff channels: 61

Member counts
Members: 91,519
Staff members: 80
Roles: 124

Member statuses
status_online 12,770
status_idle 5,591
status_dnd 5,700
status_offline 67,457

plucky ridge
#

That's.... weird

solid pollen
#

Uh

plucky ridge
#

I wonder why there's a discrepancy between !roles and !server

rough sapphire
topaz aurora
#

I think I remember seeing unused roles back when I was still Helper

#

Like two ones with no/default names lol

plucky ridge
#

Hmm

#

It should still be consistent between the two

rough sapphire
#

discord.errors.HTTPException: 400 Bad Request (error code: 30005): Maximum number of guild roles reached (250)

#

250

plucky ridge
#

!roles just snags them via api

#

As does server

#

Or wait...

#

Maybe !roles only syncs with the roles the DB sees....

#

Hmm

solid pollen
#

!source roles

royal lakeBOT
#
Command: roles

Returns a list of all roles and their corresponding IDs.

Source Code
rough sapphire
#

@plucky ridge can you use @royal lake to get some data ?

solid pollen
#

Doesn’t seem like it

rough sapphire
#

like use eval on it

solid pollen
#

Okay, I see ctx.guild.roles[1:]

rough sapphire
#

it removes everyone role

plucky ridge
#

Ahhh, okay that makes sense

solid pollen
#

Everyone is a role

rough sapphire
#

should not do [1:]
tho

solid pollen
#

I guess we should substract one from !server then

#

I think it should, personally AG

rough sapphire
#

popping guild.default_role is a better way

solid pollen
#

Right

rough sapphire
#

Who is Deniz ?

#

His account seems deleted

formal blaze
#

@minor latch Hello, Are you available? I'm sorry if you mind pings

minor latch
#

yes, hello?

formal blaze
#

Do you remember my issue ?

minor latch
#

eh, dont think so

formal blaze
#

If I get timeout exception from a specific site when I get request only when I'm using a proxy, Might it be related to the site itself ?

The proxy is literally working for every other request except for that specific site

minor latch
#

oh right

#

did you fix that issue?

formal blaze
#

It works without the proxy

#

So I guess It's all about holding on the connection due to detecting the proxy

#

But the weird thing is, It used to work before but the error occured after a couple of days
Also, When I connect to the proxy with a browser extension.. It lets me in

minor latch
#

weird

#

when you connected to it a few days ago did you have the same browser extensions?

formal blaze
#

Yeah

honest star
#

bahahaha Dallas Stars did not win the Stanley Cup. All is well in the universe.

mint lichen
#

for goodness sake, i just want to test my rendering program, and I have to download a library twice as big as the compiler itself

soft violet
#

No mountain lookouts without mountains.

mint lichen
#

well, it finally finished, and now it won't compile...

#

ok so apparently this version won't compile with my compiler, but an earlier version will. i swear. to god.

#

guess i fell off the mountain..

strange musk
#

Wow, love the server title, especially when it's based on some previous questions šŸ™‚

mint lichen
#

two hours later and i managed to compile the first library, now the second one requires me to use a different compiler version and a file that doesn't exist. i love programming

hoary steppe
#

@mint lichen i know,thats annoying when u have to test ur things

#

and more annoying if ur internet is slow as heck

pearl creek
#

This is why it's sometimes better to write your own code rather than use a giant library.

hoary steppe
#

no thats a different case man

#

for m it will automate and create and download needed things to achieve a goal and i gotta delete and uninstall everytime i finish testing

#

im not gonna code a whole framework from scratch xd

mint lichen
#

two more hours later and it still isn't fixed... at this point i'm just changing file extensions and hoping it does something...

#

This is why it's sometimes better to write your own code rather than use a giant library.
the library in question interfaces between 3d object files of various types and loads them into a single data structure. wish me luck writing that on my own... if we wrote all of our code we would NEVER get anywhere

#

also, the libraries are giant for a reason. no need to reinvent the nuclear reactor

hoary steppe
#

thats like saying

#

i mean like yeah its ok to use libs and writing ur own will back u to several references

#

bugs and glitchs

mild abyss
#

.... so anyone of you good in physics, help me next year

#

😩

cosmic lotus
#

Who are we throwing off a cliff?

rough sapphire
#

green

hoary steppe
#

ya

rough sapphire
#

hes pretty sus

cosmic lotus
#

No I saw green do trash

#

Get yellow

rough sapphire
#

im yellow

#

your accusing

#

your prety sus

cosmic lotus
#

No u

rough sapphire
#

i saw you vent in medbay

#

and i did a scan

#

hah

#

beat that

cosmic lotus
#

It's yellow

rough sapphire
#

no its red

#

trust me

#

if its not red you can vote me

#

cmon jim

#

ik you have been pondering about this

#

but do i really look like the guy to lie

mild abyss
#

NO ITS SALAMI GUYS

rough sapphire
#

yes its salami

mild abyss
#

I THOUGHT He went down to electrical

#

but then he just popped off to cafeteria

rough sapphire
#

he was pretending calibration

mild abyss
#

pretty sure he vented

rough sapphire
#

yeah

#

saw him doing it in medbay

mild abyss
cosmic lotus
#

I am dead

rough sapphire
#

PINK IS IMPOSTER

#

he killed salami

#

right in front of me

#

among us fanart is more realistic than the art

hoary steppe
#

i mean

#

its yellow

#

prob

#

he kinda sus for blamming pink

#

im gonna vote yellow

rough sapphire
#

bro

#

but there is photograph

#

that show proof

hoary steppe
#

u kinda sus

#

i voted

rough sapphire
#

no u

#

i vote you

#

ur sus

hoary steppe
#

i was doing tasks

#

then went to cams

#

and saw u vent

rough sapphire
#

i did a scan

hoary steppe
#

where

rough sapphire
#

but cams dont show any vents

#

like litterally

#

how can you see through cams?

hoary steppe
rough sapphire
#

your very sus man

mint lichen
#

what a complex situation

hoary steppe
#

uh

#

well mm

#

security room

#

cams

#

red

#

vents

#

u

#

like that

rough sapphire
#

hmmmmmmmmmmmm

hoary steppe
#

my words make sense

#

šŸ˜Ž

rough sapphire
#

yes you words make cents

#

you rich

hoary steppe
#

im rich i know

#

thats why i own a pc thats is old as heck with oldass specs

cosmic lotus
#

cheese

rough sapphire
#

bread

halcyon mantle
#

i'm making a CLI game,

#

but how can i make the currency go up on its own

rough sapphire
#

how do you make CLI game bc you make ascii art that is very hard i am guessing

halcyon mantle
#

i have it

rough sapphire
#

not the ascii art

#

what lib?

halcyon mantle
#

huh?

#

none yet

rough sapphire
#

for cli game

halcyon mantle
#

none

#

raw python

rough sapphire
#

you are monster

halcyon mantle
#

lol

#

i'm having issues with currency going up

cosmic lotus
#

why would you eat it raw

halcyon mantle
#

it doesn't go up unless there's some kind of user input

rough sapphire
#

sorry i only use game engines

#

idek

halcyon mantle
#

boooo

rough sapphire
#

python is poop at game dev

#

its not useless

#

but poop

halcyon mantle
#

yeah it is poop

#

uh

#

its a bit broke

vestal sparrow
#

i am way out of my shoes here but idea: integrate with user time

halcyon mantle
#

wdym?

vestal sparrow
#

like idk have a script of some sort that inputs the time as user input or something

#

i dont even know if that is possible but if i were to to it that idea is valid i think

halcyon mantle
#

yes but you can't just change the value

#

on screen

#

it would have to refresh the console

hoary steppe
#

@halcyon mantle cool progress

halcyon mantle
#

:D

vestal sparrow
#

reprint every time but ya that will be laggy also

hoary steppe
#

u can make a game cli

halcyon mantle
#

yes and unusable

hoary steppe
#

its not laggy

#

oh nvm

halcyon mantle
#

big thonk moment

hoary steppe
#

cli games will atleast make cmd less hated

halcyon mantle
#

ya

hoary steppe
#

or if internet goes u can play at cmd ;-;

#

or if u live in a terminal

#

;-;

halcyon mantle
#

it's not local :(

hoary steppe
#

ah

halcyon mantle
#

i do live in a terminal though

vestal sparrow
#

what is the game like ? levels

rough sapphire
#

then why are you here in the gui world hmm?

vestal sparrow
#

and money should go up somewhat real time?

halcyon mantle
#

level is progress

hoary steppe
#

cuz sometimes

#

cli are amazing

halcyon mantle
#

yeah money goes up depending on your economy

tulip patrol
#

Hello everyone, I know this might seem a bit out of topic but I'm currently filling my resume and I have no idea what you call your grades in percentage???

hoary steppe
#

i like some clis simplicity and power

tulip patrol
#

percentage grade??

#

my country doesn't have GPAs

#

grade percentage?

vestal sparrow
#

and players economy is tracked by?

tulip patrol
#

percentage?

halcyon mantle
#

the amount of land they have

#

soon you'll be able to attack others to get more

vestal sparrow
#

so insted of money going up have it like 'accumlates' in a place and playes has 'collect' it

#

and then just give the money accumlated in bulk?

halcyon mantle
#

ay that's a good idea

vestal sparrow
#

that helpfull?

halcyon mantle
#

like a vault / bank

vestal sparrow
#

yup

halcyon mantle
#

nicee man

vestal sparrow
#

šŸ‘

halcyon mantle
#

thanks šŸ™‚

vestal sparrow
#

happy to help

#

(first day on server)

rough sapphire
#

he expects 50 percent of profits for that idea

#

okay

halcyon mantle
#

lmao

vestal sparrow
#

na its fine

halcyon mantle
#

i'm hiring him

#

i haven't even thought about how attacks will work

#

@vestal sparrow ideas?

rough sapphire
#

when you bump into person they ded

vestal sparrow
#

lol

halcyon mantle
#

i could have it that when two people attack, the person with the highest strenth number wins, but that will be so boring and i want it to be more strategic

#

so idk

vestal sparrow
#

is it medieval setting?

halcyon mantle
#

yeah

rough sapphire
#

maybe add some sort of defense

#

and you have limited amount of defense

halcyon mantle
#

i cant exactly do bases, because

#

well.. its cli

rough sapphire
#

then use unity

#

unity is good

#

vey nice

#

and cool

#

also godot

#

or unreal

#

but unreal for big projeccts

#

are there any examples of cli games

halcyon mantle
#

i want it to be cli

#

and i dont think so

rough sapphire
#

i want to see how they work

halcyon mantle
#

i'm just saving player data to a file

vestal sparrow
#

ya how do you want attack to work

#

2 people real time?

halcyon mantle
#

its when the other person is offline

vestal sparrow
#

ohk

hoary steppe
#

man clis arent that hard

halcyon mantle
#

when they login a file is created and it checks to see if that file exists lol

rough sapphire
#

MULTIPLAYER CLI GAMES?

hoary steppe
#

ya cli is a software genius

#

command line

rough sapphire
#

is that possible

halcyon mantle
#

there's a multiplayer chat at least

hoary steppe
#

nothing special

#

u can

#

make anything in

#

li

#

cli

halcyon mantle
#

its mainly me speaking to myself though :(

hoary steppe
#

im also making a tool that is cli based

rough sapphire
#

dont you need eula to be implemented in your game or something to make multiplayer

#

i dont make multiplayer games

#

so i dont know

hoary steppe
#

@rough sapphire a question

#

about c++

rough sapphire
#

an answer

halcyon mantle
#

rules: dont hack the game. have fun

rough sapphire
#

idek c++

hoary steppe
#

so do u need to set up a project for c++

rough sapphire
#

huh?

hoary steppe
#

what again do u do

#

didnt u said u do c or c#?

rough sapphire
#

i dont say that

hoary steppe
#

oh i prob got mixed then

rough sapphire
#

unity is c# tho

hoary steppe
#

ya

rough sapphire
#

c++ is unreal

hoary steppe
#

i like unity and i also like unreal cuz of graphics

rough sapphire
#

c# = c++
++

#

get it

#

heh

#

quality joke

vestal sparrow
#

ok idea: before a person logs off or something they have to buy temporary guard or hier them they will be there for the time depending on price and will have different speciality of deffence and that is where the attacker has to guess what is the most likely deffence and attack accordingly

halcyon mantle
#

okay

rough sapphire
#

wow your this is quality ideas

#

you should make a game like this

#

60x your fired man

halcyon mantle
#

:(

#

but its my...

vestal sparrow
#

guard may be like expire or something like either deffending the city or retire and have to get new ones every once a while and that will also keep the money flowing

rough sapphire
#

on behalf of the epic gamer man community your fired

vestal sparrow
#

šŸ˜‚

halcyon mantle
#

so... what will the attack actually look like @vestal sparrow

rough sapphire
#

is it 2d

halcyon mantle
#

yes

rough sapphire
#

like this

halcyon mantle
#

well it only has a few lines of writing

#

which is currency xd

rough sapphire
#

like this

vestal sparrow
#

lol

halcyon mantle
#

among us

#

at this point i might as well make battleships lmao

vestal sparrow
#

that could be funny the king/mayor or whatever sneekly attacks the defenderšŸ˜‚

rough sapphire
#

oo a king/mayor

#

that could be good

halcyon mantle
#

i'd prefer the name

#

"hero"

rough sapphire
#

you get mayor if you do 49.99 per month

halcyon mantle
#

lmfao

rough sapphire
#

stonks

vestal sparrow
#

lol

halcyon mantle
#

what about

#

game name?

rough sapphire
#

epic gamer game

#

wait

#

im thinking

vestal sparrow
#

killer monopoly

halcyon mantle
#

it's medieval styled remember

vestal sparrow
#

something 'good' with one word making it really dark

#

šŸ˜‚

rough sapphire
#

the medivial game

#

the simplistic name