#ot1-perplexing-regexing

1 messages ยท Page 368 of 1

velvet rapids
#

Hey

#

I'm analyzing someone's code

#

What does this mean?

rough sapphire
#

And I have to actively remember my audience.

velvet rapids
#
for index in range(len(str1), 0, -1):
#

How can you increment by -1?

terse sluice
#

it decrements by 1

velvet rapids
#

So the length of the string must be less than 0?

terse sluice
#

!e

print(list(range(5, 0, -1)))
royal lakeBOT
#

@terse sluice :white_check_mark: Your eval job has completed with return code 0.

[5, 4, 3, 2, 1]
terse sluice
#

no it must be greater than

velvet rapids
#

Can anyone run !e?

rough sapphire
#

how do you have strings which are shorter than 0? ๐Ÿค”

plucky ridge
#

Anyone can in the #bot-commands channel

#

Only staff and community partners can run it elsewhere

velvet rapids
#

how do you have strings which are shorter than 0? ๐Ÿค”
@rough sapphire Well I didn't know you could decrement until now, so something new

#

Isn't !e dangerous? How does which channel matter?

rough sapphire
#

it's run in a sandbox

plucky ridge
#

It's sectioned off in its own container

velvet rapids
#

Ah

rough sapphire
#

It's pretty locked up. Me and another user tried to break it once.

plucky ridge
#

And the channel is more about keeping chat clutter down

rough sapphire
#

We could not.

plucky ridge
#

Multiple people have tried to break it

#

Like

#

A lot

velvet rapids
#

Why not help channels?

#

!e

print(token)
royal lakeBOT
#

Sorry, but you may only use this command within #bot-commands.

rough sapphire
#

can I haz !e?

plucky ridge
#

Again, for clutter reasons. The people who have the command are ones we know will give solid advice; people we've vetted, essentially

rough sapphire
#

There is a file that specifies what is seen as mounted.

#

So... things that are on the system are just not accessible

plucky ridge
#

hot

terse sluice
#

HAH

plucky ridge
#

Couldn't resist, sorry

rough sapphire
#

can you vet me

#

so I can use it

plucky ridge
#

I mean you can use it

#

Just in #bot-commands

terse sluice
#

yeah

rough sapphire
#

Rule1 of privs in online communities: dont ask for them.

#

i can haz admin pl0x?

#

๐Ÿคท

terse sluice
#

!int e would be a nice permission to give me :)

plucky ridge
#

I don't mind people asking

#

Nooooooo

#

Dude, I'M hesitant to use it

terse sluice
#

whoops, ya broke something

plucky ridge
#

Watching Ves and the others use it with such control just amazes me. I'm always terrified I'm going to bust something

#

"Oh well shit, there go all the roles"

rough sapphire
#

what is it

plucky ridge
#

It's the internal eval. THAT is the one that isn't safe

rough sapphire
#

๐Ÿ˜…

plucky ridge
#

It runs on the current bot process

#

But only... I think admins have access to it?

#

Maybe mods as well?

#

Can't remember off hand

#

Very tired

rough sapphire
#

If you ran something that was too intense, it would just truncate it and stop.

wheat lynx
#

I'd guess not as they probably wouldn't need it

rough sapphire
#

That was the other thing that stops use from really doing anything

plucky ridge
#

True

#

Yeah true

rough sapphire
#

I managed to open up a socket for... a fraction of a second

#

Not even sure if it worked

terse sluice
#

it doesn't have internet connection

plucky ridge
#

The folks who put the box together were amazing, and Mark has improved it leaps and bounds

#

Wait, does it not?

terse sluice
#

from what i heard, nope

plucky ridge
#

Huh, interesting

terse sluice
#

one of the other admins or mark said it somewhere. i can't exactly remember

rough sapphire
#

If I recall you can get exactly 500 lines of output.

plucky ridge
#

Would make sense. The last bug that had to be fixed in it was related to files being kept after the command was done

#

Possible that cutting the net connection is part of that

rough sapphire
#

I spent time trying to read out the files in the working dir before I realized they were all on github lol

plucky ridge
#

HA

#

Yeah we don't hide anything

solid pollen
#

(only admins have access to the internal commands, including eval)

plucky ridge
#

I.... wait there are more internal commands?

terse sluice
#

the only internal command i know is eval

#

yeah what

rough sapphire
#

indeed, it does not have internet

plucky ridge
#

I'm not doing the help for it here

solid pollen
#

Maybe, I don't remember

#

I mean, it is public haha

#

Yeah no internet

plucky ridge
#

Ah nope, just the internal eval

#

At least currently

velvet rapids
#

I often see uppercase variables, does this signify something?

plucky ridge
#

Class names typically

solid pollen
#

It is a global constant

plucky ridge
#

Or do you mean all caps

solid pollen
#

Oh wait

velvet rapids
#

All caps

rough sapphire
#

all caps are conventionally globals

plucky ridge
#

Yeah, constants

solid pollen
#

Yeah, global constants

velvet rapids
#

So does this disable changing them? or is it just like convention?

terse sluice
plucky ridge
#

Convention

velvet rapids
#

Ah thanks

plucky ridge
#

Now, an IDE like PyCharm might gripe at you if you try to change them, but functionally, they can still be changed

solid pollen
#

Meh, your bot names aren't funny

#

NsJail (the thing that run snekbox) is a very cool piece of software btw, I really like playing around with it

#

The docs sucks sadly

terse sluice
#

i made that bot account a longgg time ago lmao. i haven't changed it

plucky ridge
#

It's way over my head

terse sluice
#

yeah same

solid pollen
#

It isn't really that complicated

terse sluice
#

only thing i understand is the diagram on the readme

solid pollen
#

It is messing around with Linux internals a bit

plucky ridge
#

Okay, in fairness I haven't looked at it

rough sapphire
#

You literally just specify which files are mounts and the rest you cant touch as far as i can tell

solid pollen
#

Snekbox in itself is pretty simple

plucky ridge
#

Yeah but like

#

Reading

solid pollen
#

Yeah, the hard part is just a config file, which is pretty straightforward

plucky ridge
#

I really do wish I had more time to dedicate to here.

#

Stupid tax season

rough sapphire
#

I only know this because i spent enough time trying to break it to realize that it cant be done.

terse sluice
#

i've heard you say that so many times ๐Ÿ˜‚

rough sapphire
#

lol

plucky ridge
#

And you will for many days and years to come

solid pollen
#

I was playing around with NsJail and put up some config template using a jinja like syntax, it was hard to read though haha

plucky ridge
#

I'll chisel it on my grave

rough sapphire
#

I even had the help of someone much better than me to try to do things i didnt think of and help me execute my ideas better

#

It didnt happen

solid pollen
#

"TLS, died while trying to break snekbox, the snek bite them back"

rough sapphire
#

haha it didnt take long to realize there was no where to go

solid pollen
#

Only one person managed to break it so far

plucky ridge
#

Well in fairness, a good portion of learning is figuring out what doesn't work

rough sapphire
#

Really? how did they?>

plucky ridge
#

And sometimes, even if you're told it doesn't, you still have to see it for yourself

solid pollen
#

It was just a misconfigured mount point

rough sapphire
#

ahh

terse sluice
#

part of the filesystem was mounted not as read only

plucky ridge
#

I thought it's been broken twice

terse sluice
#

rip

solid pollen
#

The mount allowed write

plucky ridge
#

The first having been quite a while ago

velvet rapids
#

Does every single character have a unicode form like this \u0a82?

solid pollen
#

Maybe, I wasn't here at the time then

rough sapphire
#

That was what homeboy I was working on it with was trying to do

#

Was mount something with write.

terse sluice
#

i've only been here like 3 months 5 months now.. time goes fast

plucky ridge
#

Yeah, that got patched recently. @velvet rapids Any string character, yeah

#

By recently I mean like

#

A few months ago

velvet rapids
#

What got patched?

plucky ridge
#

Oh sorry, not for your thing

#

More about snekbox

velvet rapids
#

Oh, alright

#

So would something like this have a unicode?

๐“—๐“ฎ๐“ต๐“ต๐“ธ
๏ผจ๏ฝ…๏ฝŒ๏ฝŒ๏ฝ
ollวH
plucky ridge
#

!charinfo ๐“—๐“ฎ๐“ต๐“ต๐“ธ

royal lakeBOT
plucky ridge
#

Yep yep

velvet rapids
#

Wow

#

Is that bot opensource?

plucky ridge
#

It is indeed.

solid pollen
plucky ridge
#

And I think Ak- yep there it is

solid pollen
#

I typed this url way too much

plucky ridge
#

Knew I didn't have to snag the link

velvet rapids
#

I'm going through someone else's code and I'm trying to understand stuff lemon_glass

plucky ridge
#

That's a good exercise

rough sapphire
#

Going through code I wrote last year trying to understand stuff lemon_glass

velvet rapids
#

It's way too advanced for me ๐Ÿคฃ

plucky ridge
#

@rough sapphire That hits too close to home for me

velvet rapids
#

Is there anyway I can get to know which cog that command is in? ๐Ÿคฃ

plucky ridge
#

You know I'm not actually sure which one it's in

#

One sec

rough sapphire
#

yeah sometimes I'll be like, "Damn who is this and how is he so much smarter than me"

velvet rapids
#

Is there no command for that?

rough sapphire
#

But if I study it, it will come back

plucky ridge
#

Ah, it's in the utils cog

velvet rapids
#

Aight thanjs

plucky ridge
sinful copper
#

yeah just search the github repo for the command name

plucky ridge
#

I keep forgetting that's a thing

sinful copper
#

but anyway if you just want ot know how to get the information in python, the unicodedata module is it

plucky ridge
#

I like the thrill of the hunt

velvet rapids
#

What does this do?

return [char]
#

char is a one letter string

terse sluice
#

returns the string in a list

velvet rapids
#

Pretty self-explanatory

#

Thanks ๐Ÿ™‚

plucky ridge
#

Which can be really helpful for putting lists together

solid pollen
#

Return a list made out of one element, char

sinful copper
#
>>> import unicodedata
>>>
>>> def charinfo(s):
...     for c in s:
...         print(hex(ord(c)), unicodedata.name(c))
...
>>>
>>> charinfo('blah')
0x62 LATIN SMALL LETTER B
0x6c LATIN SMALL LETTER L
0x61 LATIN SMALL LETTER A
0x68 LATIN SMALL LETTER H
terse sluice
#

oh nice

solid pollen
#

That's cool

sinful copper
#

the formatting is a little fancier in the bot, but that's basically all you need

plucky ridge
#

I can't read "char" without thinking about a pirate saying it

velvet rapids
#

Can someone help me analyze this code, I'm stuck at a line. It's probably really easy for you guys

plucky ridge
#

Toss the line in here

terse sluice
#

go ahead and paste it

solid pollen
#

Your mind is weirdly wired hemlock lemon_pleased

velvet rapids
#

Line 37

sinful copper
plucky ridge
terse sluice
#

charmanderrrr

plucky ridge
#

@solid pollen If there is a joke, my brain will try to find it

#

For better or for worse

terse sluice
#

which line @velvet rapids

velvet rapids
#
    if mapped_chars:
        return mapped_chars  # Returns unicode of character
    if len(char) <= 1:
        return [char]
    return None
solid pollen
#

Haha

velvet rapids
#

it doesn't us an elif

sinful copper
#

every gundam has a guy who looks like that but char is the original

velvet rapids
#

and char must be one

plucky ridge
#

It doesn't technically need one

terse sluice
#

there's no need because return exits the function

velvet rapids
#

Yeah

#

So why is there a second if?

#

Especially because

confusable_characters(str1[0])

is passed

#

So it has to be 1 character

terse sluice
#

if mapped_chars is false

#

in this case None because of this line mapped_chars = CONFUSABLE_MAP.get(char)

velvet rapids
#

So return None should never run

#

I don't know what I'm doing

plucky ridge
#

No you raise a good question. Any question is good if you learn something from it

#

You don't have to worry about asking stuff here

#

That is kind of confusing to me

#

Ah no wait

terse sluice
#

return None is also useless because it's at the end of the function and it would automatically return None without it anyway

velvet rapids
#

Ah

plucky ridge
#

Yeah it's redundant

velvet rapids
#

What does this mean? If the colon is at the end?

str1 = str1[length1:]
stark prawn
#

It's a slice starting at length1, ending at the end

velvet rapids
#

Ah, thanks

#

Any ideas?

stark prawn
#

Looks like it transforms the strings into ascii and then checks wether they are equal.

velvet rapids
#

It checks only the first character though

stark prawn
#

Does it?

velvet rapids
#

Is there a json that has every single possible unicode thing or something?

marble sentinel
#

Hello, I'm new here. Thought I'd check back during a more high traffic (for this server) time of day and say hey.

fervent dock
#

hey welcome ๐Ÿ‘‹

marble sentinel
#

Anything I should know about this server that isn't obvious? Like events/day to day stuff.

sand goblet
#

the only thing that matters is that I do jackbox on saturdays :>

stark prawn
#

Everything important can be found in #welcome

terse sluice
#

#welcome has some overall info to read.

we host some events year-round and one of the most prominent ones are our code jams. here is info about our latest one from a few months ago https://pythondiscord.com/pages/code-jams/code-jam-6/

all of our projects are open source, such as @royal lake , @median dome , and our website. https://pythondiscord.com/ or https://github.com/python-discord/

you can find @royal lake commands using !help in #bot-commands and @median dome commands using .help in #sir-lancebot-playground

#

i think i covered a lot of it

sand goblet
#

But really jackbox though

#

:3

#

A lot of great stuff happens here though, in all seriousness

terse sluice
#

i wish i could join the jackboxes :( i'm busy every saturday during it

sand goblet
#

That's a shame, but it happens

#

I wonder if someone will run something similar at a different time someday

pine vector
#

i've been missing so many lately... ๐Ÿ˜ฆ

#

not even on the leaderboard for 2020.

sand goblet
#

That's okay, I'm sure you'll find time eventually

celest tide
#

what's a jackbox

stark prawn
#

It's a party game.

#

A pretty decent collection of them.

marble sentinel
#

I haven't played jackbox in years it feels like, it might be about time I try it out again

sand goblet
#

We'll see what happens on saturday

#

thanks to covid-19, my ISP is very obviously suffering from capacity issues

#

if this keeps up I probably won't be able to do the stream

celest tide
#

@stark prawn oh ok - also - which font do you like? I noticed the above comments

#

i've never really bothered with fonts

#

just used what I'm given

marble sentinel
#

I would hope that you'd be able to, sounds like a fun time :B

#

The little ISP where I live serves like 3/4 of the population of my town, but the infrastructure is just... insufficient for even that

#

So we get a lot of weekend network congestion

velvet rapids
#

Anyone uses pycharm? I need a shortcut

marble sentinel
#

@velvet rapids I have before, maybe I can help

velvet rapids
#

When PEP8 highlights errors/stuff that can be changed

#

Whats the shortcut to fix it?

#

It says function call can be replaced with set literal. I have no idea what a set literal is, so I'd prefer if Pycharm did it to me.. but I forgot the shortcut

sand goblet
#

alt+enter gets you the actions menu at least

#

a set literal is { "" } in this case

velvet rapids
#

Ah thanks ๐Ÿ™‚

#

Also, asking again -
Is making a pull request, with only PEP8 convention changes pointless/senseless/annoying?

sand goblet
#

it sure is

#

annoying, I mean

#

not all projects follow it

marble sentinel
#

I would imagine a lot of open source projects don't

velvet rapids
#

Yeah, I meant, I've got someone elses code and there are some small PEP8 changes to be made, should I make a PR after fixing them?

sand goblet
#

ask them

#

they probably don't want it though

velvet rapids
#

good idea

marble sentinel
#

Sounds like a good way to approach it

#

Won't know how they feel about it unless you ask

velvet rapids
#

Need to get in contact with them GWbowsuBlobThinkOwO

#

Does anyone know any datasets with like the same text written in different ways? Like this - ['ฤ‹', 'แด„', '๐” ', '๐’„', '๐—ฐ', '๐—–']

marble sentinel
#

I would imagine you could make one based off a section of the unicode table site

velvet rapids
#

Could someone suggest a small python library? Searching for opensource projects to contribute to

terse sluice
#

@velvet rapids

glacial owl
#

Damn, the HR said yesterday that she'll try to send test task by the end of the day.

#

They'll probably send it today, but i feel like sitting near the kettle and waiting it to boil.

solid pollen
wooden silo
#

There's gotta be a first time for everything.

sand goblet
#

django is great but the way you have to define constraints is.. eh..

#

I'm hoping that this results in a constraint where either owner_user or owner_group must not be null

solid pollen
#

You're.. Hoping?

sand goblet
#

it's not a very readable api

solid pollen
#

Even the source isn't readable?

sand goblet
#

it's not very well documented

#

that's the entirety of the documentation for Q objects

#

F objects seem entirely unrelated

silk hamlet
#

Hate bad documations

#

I think sometimes YouTube videos work better

#

Maybe check there to find what is q object

sand goblet
#

I found a stackoverflow answer that says what I'm doing is correct

#

but it's stackoverflow, so the question is for django 1.8

#

not 3.0

silk hamlet
#

Ask it yourself?

sand goblet
#

Nah, it'll be marked as a duplicate of the question I already found

silk hamlet
#

Can't report it for being too old?

sand goblet
#

that's not the SO Way โ„ข๏ธ

#

I think maybe I'm just going to make groups optional and always require an author

#

so I can avoid this silly constraint

gusty oar
#

hey gdude , if you were giving advice about java

#

what would it be

#

i'm learning concepts

sand goblet
#

That question is a bit too open ended

#

Perhaps, learn modern java, not java 6

gusty oar
#

๐Ÿ˜„ for example

#

i'm new to OOP

#

and i'm having hard times

#

how can i ease learning of oop

#

concepts and thinking way

wooden silo
#

There's a lot of material online, but perhaps you would benefit from reading a book about it.

#

Also, put what you read into practice.

#

Work on projects that use OOP.

velvet rapids
#

Thanks @terse sluice I'll check it out

wind karma
plucky ridge
#

Well played

wind karma
#

Haha

#

๐Ÿ™‚

plain slate
#

does the request library block?

terse sluice
#

yes, use aiohttp instead

plain slate
#

okay, i've been using requests in a background thread because i noticed marginally higher latencies when i ran in my main thread. just now pieced it together

terse sluice
#

wait, you're talking request blocking other asynchronous code right?

plain slate
#

yes

velvet rapids
#

Anyone interested in trying out a crypto challenge sorta thing?

undone berry
#

Do you have the answer, or is this a challenge you're completing?

velvet rapids
#

I made the challenge

#

It's for my server, but why not allow other's to try

sand goblet
#

no matter how much database work I do, I always have trouble telling the different types of relationships apart

plucky ridge
#

Platonic, romantic....

undone berry
#

as in cardinalities? 1-1, m-1 etc?

sand goblet
#

No, like many-to-one, etc

undone berry
#

yeah, thats what I meant

sand goblet
#

let's say I have a table, Book, and it can have any number of Pages related to it, but each Page can only belong to one Book

undone berry
#

thats the one case where I find diagrams useful

sand goblet
#

I can visualise the diagram

#

but I'm not sure if it's one-to-many or many-to-one

undone berry
#

One book has many pages

sand goblet
#

but many pages have one book

#

or does it only matter what side I'm working on?

undone berry
#

any thing thats 1-m can be looked at as m-1 from the other direction

sand goblet
#

oh, just realised django only has m-1, and not 1-m

#

oh, no, it just calls it something else

#

okay, I think I see, thanks

#

has to be defined as m-1 on the Page

#

books/pages isn't what I'm actually working with, but

rough sapphire
sand goblet
#

seems that it isn't, yep

#

Other countries remain in denial about the dangers of the virus. The chief spokesman for the Myanmar government said on Friday that the absence of positive tests was proof that the virus has not reached Myanmar.

โ€œCovid-19 is still not present in Myanmar,โ€ the spokesman, U Zaw Htay, told reporters. โ€œThe lifestyle and diet of Myanmar citizens are beneficial against the coronavirus.โ€

rough sapphire
#

"He added that because Myanmar citizens generally paid for purchases with cash instead of credit cards, they were unlikely to spread the virus."

#

what...

sand goblet
#

โ€œMyanmar is still lucky because itโ€™s a Buddhist country and senior monks are always praying to be safe,โ€ said Dr. Win Thandar Phyu, the chief of North Okkalapa General Hospital in Yangon.

Some Buddhist figures have been promoting nonmedical remedies. One famous monk said that eating a lime and three palm seeds would keep the virus away. Another monk recommended seven ground peppercorns.

#

jeez.

rough sapphire
#

christ

#

I mean "oh buddha"

rough sapphire
#

yeah those guys can stay in myanmar.

sand goblet
#

yup

robust sierra
#

gcses cancelled :(

undone berry
#

Have they said anything for what the contingencies are? I assume you aren't just delayed in life by a year

sand goblet
#

online work by the looks of it

#

no exams though

robust sierra
#

im worried that our predicted grades might get used instead of gcse grades

undone berry
#

That would be bad

robust sierra
#

a lot of my friends would be happy with that, but not me

undone berry
#

That would have fucked me over were it the case

robust sierra
#

my predicted for computer science and physics is good, but i'm not sure about maths

wheat lynx
#

My brother was meant to be doing A-Levels this year but his predicted and mocks were 4 A* so he's pretty happy.

robust sierra
#

and i've been working really hard for maths

undone berry
#

It would be terrible to use predicted for A-Levels

#

So much of it is dependant on whether the teachers like you or not

robust sierra
#

hopefully i get predicted a 6 at least

wheat lynx
#

Do you think they will base it off predicted? I'm not sure what the alternatives are tbh

robust sierra
#

they could delay the exams for a few months

undone berry
#

I guess they could use predicted for getting into FE, thats reasonable. But using predicted grades for A-Levels would be terrible

wheat lynx
#

I wonder if universities will accept new students this year, I guess they would have to but I wonder what would happen to conditional offers

undone berry
#

Universities would have to - it would completely fuck them moneywise if they didn't

#

I don't think most unis would have much of a problem letting people in just based on predicted grades - its just much much worse for a lot of people who are going to beat their predicted grades, and pretty unfair to let people like your brother in without having actually sat the exams (for good unis that is)

robust sierra
#

what sucks is that in my mock exams a lot of people found the papers we were going to do and then got high grades. i could have cheated but didn't and got shit ones

wheat lynx
#

Yeah its a real mess

#

I don't know what they're gonna do

undone berry
#

I'd imagine predicted grades is the only option

#

but it definitely sucks

robust sierra
#

The maths department are aware that a lot of people cheated in the mock so they're most likely going to take that into consideration for predicted grades

undone berry
#

If I was a teacher, I'd be handing out predicted 7s/8s/9s like candy

robust sierra
#

i'd lick my teacher's shoe for a 6

wheat lynx
#

Are there any checks for fairness of grades given. I guess you could argue that you are just an amazing teacher and give high grades

undone berry
#

iirc, for stuff that matters a bunch of teachers get together and discuss it - and make sure that the distribution of grades makes some degree of sense

frosty berry
undone berry
#

I don't really think that would fly for something thats normally standardised across the country like GCSEs or A-Levels

terse sluice
#

what

#

lucky

primal spruce
#

nice prof

velvet rapids
#

What's something a developer would like as a prize for a challenge or something? Preferably free because I'm broke

plucky ridge
#

I mean... if it's free then the person could get it anyway, right?

velvet rapids
#

Exactly, why I'm asking you ๐Ÿคฃ

terse sluice
#

i'm guessing this is for your discord server.. so maybe a cool role

velvet rapids
#

I'm making a dev server, it's really small. I want to promote events and stuff like that, but people participate only if there is a prize.

terse sluice
#

and if you have multiple events, maybe make a leaderboard

velvet rapids
#

That's what I'm currently doing, but need to add stuff so these roles have special perks

terse sluice
#

besides that there isn't really much else i'd think

velvet rapids
#

What are some things I can add to my bot that people would want and participate for, then?

graceful basin
#

a fancy role

silk hamlet
#

Doing a challenge and complete it perfect makes programmer feel winner even without getting any prize, still may not work on veterans

graceful basin
#

people will do a lot for colorful names

velvet rapids
#

Doing a challenge and complete it perfect makes programmer feel winner even without getting any prize, still may not work on veterans
"I'm not getting anything out of it, I'm only wasting my time"

plucky ridge
#

I mean...

silk hamlet
#

Heh that's what veterans think

plucky ridge
#

A lot of us do Advent of Code for the fun of it

graceful basin
#

ye, make your challenges interesting

#

and people will come

plucky ridge
#

I know I personally code because I love the puzzle solving aspect of it

#

I like to see how the gears move together

silk hamlet
#

Leaderboard idea is great it makes people think "yeah if I was at top..." Then they try to reach top cause they feel strong

graceful basin
#

yeah, bragging rights are a good, free way to get people to do things

velvet rapids
#

๐Ÿคฃ I'll try some of these, and also add some additional perks

#

What are some staff perks you get with @royal lake

silk hamlet
#

Having a channel for showcasing challengers and maybe they could put a quote there, and giving top 3 fancy role

plucky ridge
#

I mean it's not really about perks here

terse sluice
#

none

plucky ridge
#

It's not that kind of server

terse sluice
#

it's bragging rights!

hidden imp
#

Using !e in help channels >:(

plucky ridge
#

I suppose

#

That's the only one I can think of regarding bot functionality

#

Anything else is like staff channels that we use for communication on policies

velvet rapids
#

Alright, thanks for all the ideas! ๐Ÿ™‚

lost radish
#

for me anyway

#

well. it still doesnt count. forget I even mentioned it rofl

#

Eh, it's hard to even say. I'll just call it Walrus Operator: 1 | Not Walrus Operator: Walrus Operator - 1

#

oh well nvm it didnt give me my elements :P

wind karma
#

The first time the walrus operator has actually been useful rather than fun
@lost radish I actually found out this is the case with the walrus recently

lost radish
#

I didn't realize that I was appending True values until I said something about it to everybody first lol

#
while (stuff := input('>>> ')) != 'stop':
    d.append(stuff)```
Okay, it's useful_ish_ again. :P
#

What was your experience?@wind karma

wind karma
#

I liked it, but the case was rather super specific

#

I am not sure I will use it again

lost radish
#

I tend to only use it in one-offs for one major reason: compatibility

#

That doesn't feel like a valid reason.

#

It's not. I just don't like using it. There. You dragged it outta me.

wind karma
#

Like I am sure as time passes by and I start doing even more complicated shit

#

the walrus operator will be useful in some cases

scarlet bane
#

lol i forgot the walrus operator was a thing completely

solid pollen
#

The warlus by definition does thing that could have been done in two lines, so it doesnโ€™t really allow new posibilities, it is just a syntax sugar

wind karma
#

^

fervent dock
#

you can say that about python

rough sapphire
#

somehow managed to open spotify's devtools by accident

#

dunno how to replicate

wind karma
#

do

#

ctrl + j + i

#

You can also open discord's dev tools

rough sapphire
#

well, yes, discord hasn't disabled dev tools

#

also, it's ctrl-shift-i

#

but that's not opening it

gentle moss
#

hack all the music

wind karma
#

oh wait right

#

control shit i

#

I actually just did it

#

and I typed j instead of shift

rough sapphire
#

ctrl shit i

wind karma
#

You can actually yoink profile pictures with the dev tools

#

Haha

vapid bluff
#

does firefox randomly just take ages to load a page for anyone else?

#

got 5 tabs open

#

same page loads in chrome instantly

rough sapphire
#

works on my machine

rough sapphire
#

Question:
What's the most awesome library in Python that you've used?

#

||ping me with answer||

solid pollen
#

Stdlib or not? @rough sapphire

sand goblet
#

They posted it in all three channels haha

#

Already been answered in ot0

solid pollen
#

Ah

#

Don't do that then haha

rough sapphire
#

Stdlin

#

Im getting comments

#

Not hates

gentle moss
#

yeah, but don't spam

sand goblet
#

Yeah it's pretty easy to not try to monopolise three channels

gentle moss
#

you would've got the comments if you just posted it in ot0 as well you know. :D

rough sapphire
#

yeah, but don't spam
@gentle moss did u know what I've just said?

#

Hmmm

#

suggest you drop the attitude dog

#

Hmm

solid pollen
#

This attitude is really not productive, imma go back to my yt video

sand goblet
#

Hahaha

#

"Coronavirus cannot legally enter your body without permission"

rough sapphire
#

suggest you drop the attitude dog
@rough sapphire us *

sand goblet
#

Same energy as your comments

solid pollen
#

I mean

#

Sure it is illegal

#

Haha

rough sapphire
#

what part of that sentence could be replaced with "us"

#

what

#

that doesn't even make any sense

sand goblet
#

Yes, the statement is ridiculous

#

That's the point

rough sapphire
solid pollen
#

No, I don't authorize him to do so lemon_grumpy

sand goblet
#

Yeah, I don't authorize your attitude either Blazice

#

So I think I'll just ignore your attempts to push back against a very reasonable rule

rough sapphire
#

Nice needy talkin

sand goblet
#

Yep, I'm pretty good at pushing spam far enough up the scrollback that nobody will see it

sand goblet
#

man, vue router is so easy

#

where was this all my life

solid pollen
#

Github love open source, but not enough to make their own mobile app open source apparently >.>

rough sapphire
#

github itself isn't open source either

solid pollen
#

I can maybe understand that

#

But the mobile app

#

It is just a visual interface around their api

#

There are no security concerns here

terse sluice
#

the ui of the github app is soooo nice

sand goblet
#

I don't really like it

#

It's a huge pain to navigate

#

They should have done what most other apps do and had a top left menu burger with slide out menu

#

Because of that you have to hit back a million times to move around

fossil solar
#

is it called openhub for github?

terse sluice
#

just github

#

and i either jsut use the home button on the bottom bar or swipe back so itโ€™s pretty easy for me to navigate

velvet rapids
#

What does this mean? lemon_thinking

terse sluice
#

whatโ€™s in the Makefile?

velvet rapids
terse sluice
#

is there no makefile? there needs to be one for make to work

velvet rapids
#

So I downloaded make via chocolatey in Powershell and then ran make parse

#

I got an error saying no parse.py file found, but I remembered there was one, so I cded one director down and ran it where the parse.py was and I got that thing

pine vector
#

repo link? like f1re mentions, there needs to be a Makefile with the target of parse.

velvet rapids
terse sluice
#

there it is

#

go to the root directory of the repo and run that command

pine vector
#

yep. need to be in... this that. ๐Ÿ˜„

velvet rapids
#

Oh the make file

#

Oh, it can't find the file GWinfxThink

terse sluice
#

that path there is for linux

#

and max

#

c*

velvet rapids
#

Oh, how do I change it to windows? and then back?

#

Wait can I just run the parse.py and it'll work? instead of using make

terse sluice
#

yeah that would be fine. make is just to make things easier

velvet rapids
#

So I just do python3 parse.py?

terse sluice
#

python3 confusables/parse.py

velvet rapids
#

I just moved into confusables

terse sluice
#

what you said should work then

velvet rapids
terse sluice
#

thatโ€™s an issue with the code.. iโ€™m not sure on that one

pine vector
#

it uses harcoded file paths (all POSIX), and os.path. can't remember if os adjusts for windows...

velvet rapids
#

That's what it is in __init__.py

terse sluice
#

i think python deals with posix paths for windows

#

are you still awake kiwi lol

wind karma
#

you should decode the unicode_mappings in utf-8

#

are you still awake kiwi lol
@terse sluice no sleep

velvet rapids
#

__init__.py -

from .config import CONFUSABLE_MAPPING_PATH, NON_NORMAL_ASCII_CHARS

parse.py

from config import CUSTOM_CONFUSABLE_PATH, CONFUSABLES_PATH, CONFUSABLE_MAPPING_PATH, MAX_SIMILARITY_DEPTH
terse sluice
#

iโ€™ve gotten a whole nights rest and youโ€™re still awake lmao

pine vector
#

try running from the root directory

wind karma
#

I am doing maths

#

rn

velvet rapids
#

Same error

terse sluice
#

ah integrals

wind karma
#

just revisiting some old shit

terse sluice
#

you should decode the unicode_mappings in utf-8
try what kiwi said

wind karma
#

I want to get a better understanding at integrals + imaginary numbers

#

@velvet rapids did u try it?

velvet rapids
#

Yeah, same error

wind karma
#

sendcode

velvet rapids
wind karma
#

send the codeblock her

#

here

velvet rapids
#

The whole file?

terse sluice
#

!d open

royal lakeBOT
#
open(file, mode='r', buffering=-1, encoding=None, errors=None, newline=None, closefd=True, opener=None)```
Open *file* and return a corresponding [file object](../glossary.html#term-file-object). If the file cannot be opened, an [`OSError`](exceptions.html#OSError "OSError") is raised.

*file* is a [path-like object](../glossary.html#term-path-like-object) giving the pathname (absolute or relative to the current working directory) of the file to be opened or an integer file descriptor of the file to be wrapped. (If a file descriptor is given, it is closed when the returned I/O object is closed, unless *closefd* is set to `False`.)... [read more](https://docs.python.org/3/library/functions.html#open)
wind karma
#

the codeblock

terse sluice
#

you set encoding='utf-8' for everytime a file is open?

wind karma
#

which errors out

velvet rapids
#

Ohh

solid pollen
#

You shouldnโ€™t set the encoding and let python figure it out

wind karma
#

actually u cant open it

#

with utf-8

#

you need to decode it in utf8

velvet rapids
#
parse_new_mapping_file()
def parse_new_mapping_file():
    unicode_confusable_map = {}

    with open(os.path.join(os.path.dirname(__file__), CONFUSABLES_PATH), "r") as unicode_mappings:
        with open(os.path.join(os.path.dirname(__file__), CUSTOM_CONFUSABLE_PATH), "r") as custom_mappings:
            mappings = unicode_mappings.readlines()
            mappings.extend(custom_mappings)

            for mapping_line in mappings:
                if not mapping_line.strip() or mapping_line[0] == '#' or mapping_line[1] == '#':
                    continue

                mapping = mapping_line.split(";")[:2]
                str1 = chr(int(mapping[0].strip(), 16))
                mapping[1] = mapping[1].strip().split(" ")
                mapping[1] = [chr(int(x, 16)) for x in mapping[1]]
                str2 = "".join(mapping[1])
wind karma
#

do

velvet rapids
#

That's not the whole function, I couldnt paste it > 2000

wind karma
#

mappings = unicode_mappings.readlines().decode('utf-8')

rough sapphire
#

hey

solid pollen
#

That is some very dense code here hehe

rough sapphire
#

can monkey grow beards?

#

@solid pollen

solid pollen
#

I... donโ€™t think they can

wind karma
#

Try doing what I sent

rough sapphire
#

REally?

wind karma
#

@velvet rapids

rough sapphire
#

I think monkeys can grow beards

velvet rapids
#

Pycharm says, Unresolved attribute reference 'decode' for list

wind karma
#

sorry mb

solid pollen
#

readlines returns a list

rough sapphire
#

This is a realy picture of the beard

#

Real picture

wind karma
#

mappings = unicode_mappings.decode('utf-8').readlines()

rough sapphire
solid pollen
#

But you shouldnโ€™t decode it, since you donโ€™t open it in binary mode

rough sapphire
#

What does Binary mode mean

velvet rapids
#

PyCharm still says the same thing

#

But it says for class TextIO

wind karma
#

try

#

running it

velvet rapids
#

okay

solid pollen
#

Binary mode will return raw byte in a bytearray object instead of trying to put them in a string

velvet rapids
terse sluice
#

the same issue occurs with readme files during package installation because the readme was created over on linux, so it's automatically encoded in utf-8. on windows, it doesn't use utf-8 so you get a decoding error

wind karma
#

hmm

terse sluice
#

you need a list comp

#

internet please work faster

wind karma
#

open it in binary

velvet rapids
#

how?

wind karma
#

rb instead of r

velvet rapids
#
    with open(os.path.join(os.path.dirname(__file__), CONFUSABLES_PATH), "r") as unicode_mappings:
        with open(os.path.join(os.path.dirname(__file__), CUSTOM_CONFUSABLE_PATH), "r") as custom_mappings:

In the first open or the second?

solid pollen
#

I guess you could insert mapping_line = mapping_line.decode('utf-8' at the beginning of your loop

#

But it doesnโ€™t seem like a very good solution

wind karma
#
    with open(os.path.join(os.path.dirname(__file__), CONFUSABLES_PATH), "rb") as unicode_mappings:
        with open(os.path.join(os.path.dirname(__file__), CUSTOM_CONFUSABLE_PATH), "r") as custom_mappings:```
#

and remove the decode

velvet rapids
wind karma
#

did u open it with utf encoding

#

fck im confused

#

i am trying to understand

velvet rapids
#
    with open(os.path.join(os.path.dirname(__file__), CONFUSABLES_PATH), "rb") as unicode_mappings:
        with open(os.path.join(os.path.dirname(__file__), CUSTOM_CONFUSABLE_PATH), "r") as custom_mappings:
            mappings = unicode_mappings.readlines()
            mappings.extend(custom_mappings)
wind karma
#

what are you trying to do

velvet rapids
#

It's not my code ๐Ÿคฃ

wind karma
#

whilst doing integrals

velvet rapids
#

I just PRed and they asked me to run make parse

wind karma
#

f1re can help you

#

he is good I am sure ๐Ÿ˜‚

terse sluice
#

uhhhhhhh

solid pollen
#

Well, did you ran it?

velvet rapids
#

Is it an OS problem? I can just reply to the request

terse sluice
#

yes

solid pollen
#

Yep

pine vector
#

the setup.py lies:

classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
solid pollen
#

You should have some windows instructions spmewhere

wind karma
#

what is his error?

terse sluice
#

decoding error

#

linux encodes differently than windows

wind karma
#

can you send the stacktrace

solid pollen
#

But your git seems missconfigured

wind karma
#

i didnt see

#

from the start

velvet rapids
#

I have no idea what you mean

solid pollen
#

It should be checked out with Windows encoding

wind karma
#

the error screen

#

off-topic btw

#

lets go to a help channel

sand goblet
#

note: no files attached, image links to a diagram sharing site instead of a PDF, said diagram links to.. somewhere.. but the link isn't previewable

#

wonder if they're trying to take advantage of the coronavirus

hidden imp
#

"this is not for you, but please open it to make sure there are no vira"

#

lmao

sand goblet
#

it's a disclaimer used to try to fend off people suing them over the obvious spam email

hidden imp
#

you think? i view it as bait

sand goblet
#

I mean you probably wouldn't be able to track them down anyway

#

but if you did manage to, having downloaded their virus

#

they would lean on it

#

wouldn't be the first people to try that

hidden imp
#

that's all

sand goblet
#

those are pretty normal spam emails haha

#

they're fishing for accounts

#

if you reply, they know the account is active

hidden imp
#

it bypassed my spam filter though

#

i once got a spam mail (probably I'd won something) and it asked all kinds of information of me, including my fax

sand goblet
#

fax? lol

rough sapphire
#

btw yes, scammers are heavily abusing coronavirus

hidden imp
#

everyone is actually

rough sapphire
#

we've seen, like, four different campaigns in estonia trying to use the coronavirus as scambait

sand goblet
#

Huh, I see

#

interesting

#

sucky, but interesting

hidden imp
#

i know someone who collects donations for charity, they apparently get a lot from it too

wind karma
#

I did it @terse sluice, 48 hours without sleep

#

I think I can pull off one more day

hidden imp
#

uhm, grats? ๐Ÿ†

terse sluice
#

this isnโ€™t healthy

wind karma
#

Hmm

#

You might be correct

terse sluice
#

just might be

wind karma
#

I will sleep tonight then

terse sluice
#

i think you should

wind karma
#

Oki

terse sluice
#

are you still not tired?

wind karma
#

Not at all

terse sluice
#

iโ€™m like genuinely concerned lol 48 hours w/o sleeps yikes

wind karma
#

Ive gone a week

#

without it

terse sluice
#

what

#

seriously?

wind karma
#

I swear

#

Unranked -> Challenger

sand goblet
#

you've got problems, my dude

wind karma
#

On league

#

I am not sure I actually have. I am healthy asf irl

frosty berry
#

i've done 48h without sleep, and felt "fine", but it's proven to be a really bad idea medically to play with your sleep like this

hidden imp
#

I stayed up late one night
Unranked -> Bronze
On league ๐Ÿฅด

wind karma
#

I hit rank one on euw multiple times

#

on season 7

rough sapphire
#

Guys

#

someone told me I look like this in real life

hidden imp
#

prove them wrong

wind karma
#

I used to spend days without sleep

#

I went to lan after lan after lan

pine vector
#

yeah, its super unhealthy. but, there are stages. the delirium stage was always my fave...

wind karma
#

That is the thing

#

I never get to that stage

#

I am never THAT tired

rough sapphire
#

@hidden imp

#

I like your avatar picture. It's cute

frosty berry
#

yeah, me neither, i mean, 6 to 8 am i do feel a bit down, but then it gets better, but i'm pretty sure i killed quite a few neurones sleeping less than i should have

wind karma
#

well

#

Idk

#

Btw, nice to meet you we have never talked before

frosty berry
#

i still certainly don't sleep enough, most of my nights are nearer of 6h than the recommended 8, but i really don't like sleeping early ๐Ÿ˜ฆ

wind karma
#

Yea me neither

#

I will be sleeping a lot in may/june so I get infinite amounts of energy for the codejam

frosty berry
#

๐Ÿ™‚

pine vector
#

well, its not full-on hallucinations. but the shadow-people come out... and the statement "when did I get here/do that" starts happening. ๐Ÿ˜„

wind karma
#

Yea I have seen people experience that

frosty berry
#

(but sleeping a lot to recover from previous lack of sleep doesn't seem to work, at least not completely, some effects of the lack of sleep persist long term anyway)

wind karma
#

Never actually experienced it myself

pine vector
#

@frosty berry that's my usual too. 6h..goto sleep late.

wind karma
#

Should I say yes?

frosty berry
#

at least it's better than when i slept 4 almost every night

#

no

wind karma
#

There was a period where I would sleep at 9am, and wake up at 6pm

#

for 2 days

#

I had actually planned it like that

#

I booked a hotel

#

for 7 days

#

and I slept in the 2 of them

frosty berry
#

it certainly messes with your circadian rythm

wind karma
#

I didn't have anything besides a crappy old phone with buttons, 0 touch with tech

sand goblet
#

my best friend accidentally fell asleep on my bed at uni once, so I just left her there and played portal all night instead of sleeping

#

I got home for the weekend at about 4pm the next day

#

and promptly collapsed on my bed and slept until 6am

#

haha

wheat lynx
#

I get about 8h sleep every day, but I'm still always tired in the morning

wind karma
#

Thats the best

#

That is weird wookie

sand goblet
#

yeah that happens to me too

#

pretty normal

#

alarms do that

frosty berry
#

if you are in the middle of a cycle, yes, you'll wake up tired

wind karma
#

I am not sure it affects my health as I go to the gym almost everyday, I casually go to marathons and generally I exercise

sand goblet
#

there's an amusing amount of psychology to alarm sounds by the way

wheat lynx
#

I hate alarms (as in normal ones that make a horrible noise) so I usual wake up to the radio

frosty berry
#

it can be worth it trying to go a bit earlier or later so when the alarm rings you are in light sleep

sand goblet
#

there's an alarm sound I fucking hate because I used it when I had to get up to go to a job I hated

#

if I hear it today I still get mad even though that was like 8 years ago

wind karma
#

there's an alarm sound I fucking hate because I used it when I had to get up to go to a job I hated
@sand goblet my school days

#

๐Ÿ™‚

#

were like that

sand goblet
#

school was fine for me

wheat lynx
#

I know exactly what you mean, I have the same thing

wind karma
#

Yea school is perfect for me as well, I just don't like the teachers

#

Let that slip, I am the most complete student not even kidding

frosty berry
#

@wind karma good for you, really, and maybe you are exceptional in that regard, in which case there are some neurologist that would love to talk to you, but usually the effects on body and mind are really worse than people think

lime bison
#

@frosty berry is there a way to not wake up in a middle of cycle if you don't sleep at the same time everyday. Calculating the time you should wake up every day and adjusting the alarm for it?

sand goblet
#

the best way to do that is with a wearable tracker

#

the fitbits do it

wind karma
#

Thanks? I am not sure how I should reply to that. @frosty berry

frosty berry
#

it certainly does help that you are young, though, it's really easier to endure that at that age, but the price can be paid later

wind karma
#

I hope not

#

๐Ÿ˜ข

frosty berry
#

maybe have a look at the book "why we sleep" if you want some counterpoints to your current lifestyle

wind karma
#

I will change my sleep schedule

#

When codejam is over.

sand goblet
#

yeah pretty much all of the health advice you get when you're young is about not wrecking yourself later

wind karma
#

Right now I live for the codejam

sand goblet
#

you won't suffer for the posture until later, as I found out

#

so now I had to rectify it

frosty berry
#

@lime bison i do think so, though adjusting can take multiple days, a bit like jetlag, but yeah, adjusting the alarm from 10mn to 10mn to see how that works can probably help

wind karma
#

I feel like I am gonna die at my 30s with the shit I have done

frosty berry
#

if you don't have hard constraints on your sleep schedule

wind karma
#

XDXDXDXDXDXDXDXDXD

wheat lynx
#

I think school closing will help he get into a nice sleeping routine. I'd like to wake up at the same time every day.

sand goblet
#

I pretty much always wake up before my alarm goes of, within like, 15 minutes of it

#

regardless of what I set it to

#

not sure why

frosty berry
#

@wind karma well, let's hope not, but yeah, the 20s is a good time to get into healthier habits, the 30s is as well, it's never too late, but it's also never too soon

wind karma
#

I will try to refactor my sleep schedule

#

They want me to rebuild their notifications system

#

As a try out

sand goblet
#

will they pay you for it?

wheat lynx
#

I often wake up before my alarm goes off. I hate looking at the clock one minute before the radio goes on and waiting

wind karma
#

it is a try out, so supposedly it is to test me before they hire me

#

I think I am gonna say a big fat No

sand goblet
#

yeah but you're doing real work for them

#

they should pay you for it

wind karma
#

That is true

sand goblet
#

don't let them take advantage of you haha

frosty berry
#

it's not unheard of to see very energetic people, overachievers, working a lot and leading apparently very healthy lives, have important health problems, in their 30s or 40s, way before they should, i don't know if there are studies of that, but it's important to leave yourself time to breath and settle down.

sand goblet
#

so many stories of devs doing real work for their "hiring exam" and then being told no after the project is done

frosty berry
#

@wheat lynx i mean, that's great, just snooze it before it rings and start your day full of energy ๐Ÿ™‚

wind karma
#

Okay, not to sound money-hungry, but the test-project you are asking me to do is actually doing real work on your current systems. Shouldn't that be paid? Because, if by any means you do not like my coding style I get no compensation for the hours I put on the build.

#

What do you think of this?

#

I will send that

sand goblet
#

that seems fair

wind karma
#

Right thanks

lime bison
#

yea, looks good

wind karma
#

I really hope they arent using crappy infrastructure

frosty berry
#

if they say no, you know they were here to take advantage all along, good riddance ๐Ÿ™‚

wind karma
#

Haha

#

Yes

sand goblet
#

yep yep

wind karma
#

Whenever I see bad network infrastructure my eyes bleed, and by the way this guy is talking I am guessing it will be

#

But lets wait and see

sand goblet
#

by the way, this is offtopic, but goddamn vue router is nice

frosty berry
#

well this is offtopic

sand goblet
#

haha

#

true

undone berry
#

What makes the router so nice?

solid pollen
#

Can you be offtopic in offtopic?

wind karma
#

SPAs with Vue are very nice

sand goblet
#

it's so fucking easy

#

make your vue component

wind karma
#

yea

sand goblet
#

import it

#

here's the route

rough sapphire
#

does it run openwrt?

undone berry
#

I've not messed about much with SPA routers

sand goblet
#

bingo bango bongo

frosty berry
#

vue has a habit of making things easy ๐Ÿ™‚

wind karma
#

Vue provides a very intuitive way of making everything easy

#

But Id rather go React

#

for bigger projects

sand goblet
#

I can't really think of a reason to use React when I have Vue

frosty berry
#

cool ๐Ÿ™‚

wind karma
#

Should I take it as a yes?

sand goblet
#

That's up to you

#

You've still gotta negotiate rates, haha

wind karma
#

I will

frosty berry
#

well, i don't think the garbled spelling would make a good plausible deniability, so i'd take that as a yes

rough sapphire
#

tell them you only accept human souls as currency

wind karma
#

Hahahaha

sand goblet
#

the screams of the damned

frosty berry
#

"oh pay, you will"

sand goblet
#

haha

#

screams of the damned only, I accept

wind karma
#

I just wanna make some side cash

#

To fund my domains/hosts

#

And save for another project I am planning

#

Gosh, web development can get really pricey

sand goblet
#

it can

#

I'm working on a project that I'll host myself to hopefully help with that

#

that's why I'm using vue

wind karma
#

Yea I want to host some projects myself, but this is what I pay 30euros per month for, and I must tell you this shit aint fast at all.

sand goblet
#

you should get a kimsufi maybe

wind karma
#

I usually use AWS

undone berry
#

You can get 50usd free credit from DO, thats like 6months of hosting a fair amount of stuff

wind karma
#

@undone berry what is DO?

undone berry
#

Digital Ocean

frosty berry
#

domains are cheap, unless you are looking for something that is short, easy to rememeber, meaningful, in a .com, etc, of course, but if you are ok with letting go of some of these criteria, it's pretty cheap. Hosting depends a lot on your needs.

sand goblet
#

I'm not a huge fan of digitalocean

undone berry
#

Neither am I - but free is free

sand goblet
#

they are a bit pricey

#

but yeah, free is free

undone berry
#

I use OVH VPSs for my stuff

#

and will go to Kimsufi/SYS when I need something more

wind karma
#

Kimsufi is actually cheap asf

#

thanks for suggesting

rough sapphire
#

i've only had positive experiences with digitalocean

undone berry
#

They're just expensive

#

compared to other generic VPS providers

sand goblet
#

also some people have issues with DO's malware scanner

#

where it just murders all their servers but the file isn't actually malware at all

frosty berry
#

someone gotta pays for all these podcasts and youtubers

rough sapphire
#

they seem to have a direct uplink to most of the common ISPs, which means shit hosted on DO servers loads pretty fast... CDN is an exception, they fucked something up there

undone berry
#

Does DO sponsor stuff?

#

I didn't even know

sand goblet
#

yeah, CDN is slow as fuck for me too

#

it was faster for me to just serve my own static files

rough sapphire
#

it's never been slow for me personally

#

but some people using my CDN reported that shit loaded slow

frosty berry
#

a bit less for youtube i think these days, and i stopped listening to podcasts, they seemed quite commonly sponsoring them

undone berry
#

tbf, I watch very little YT these days, and listen to no podcasts

sand goblet
#

I do a fair bit of YT, but no podcasts right now

rough sapphire
#

i only watch, like, 1-2 channels on youtube

undone berry
#

I'd kinda like to listen to newsy podcasts - but I can't find any that seem decent

rough sapphire
#

my tastes have... shifted

#

but i haven't found any good channels to replace the ones i used to watch

undone berry
#

Thats pretty much the same for me

#

ditched clickbaity or gamery stuff, and then never replaced it - so I have like 3 channels that I watch at all

sand goblet
#

I mostly do food videos

#

haha

rough sapphire
#

i only mostly watch speedrun shit now

#

dunno why, i don't personally speedrun

#

it's just entertainment, i guess

#

fascinated by the different glitches, devious techniques, and complex strategies

wind karma
#

Btw, do any of you listen to music while coding?

rough sapphire
#

never

sand goblet
#

yup

#

I almost always do

#

but sometimes I get sensory overload and have to not

rough sapphire
#

can't think with music playing

#

distracts me too much

lime bison
#

online.net has great deals about some old hardware servers

wind karma
#

I listen to trance

lime bison
#

if you have a cpu-intensive task

#

for web apps

sand goblet
#

tbh slow tasks should be offloaded to celery or something

#

but maybe not actually celery

rough sapphire
#

if i do anything CPU-intensive, i usually just get an aws instance

sand goblet
#

I'm still figuring that out because celery still doesn't support windows

#

so I can't easily test it

frosty berry
#

i do listen to music while coding, a lot of electronic, but sometime other things, like jazz or classical

lime bison
#

@rough sapphire cool

wind karma
#

I find trance to be very healing while coding

frosty berry
#

do you have some spotify playlist?

wind karma
#

I have an apple music playlist

#

If I am not on my mac, which is usually not the case late night

#

I just search on youtube

#

10 hour psy trance

#

and I hit the first result

sand goblet
#

I still can't see the point of apple music

#

a smaller music catalogue with worse platform and device support

frosty berry
#

ok ๐Ÿ˜„

wind karma
#

Not really, the quality of the music is better than spotify

frosty berry
#

did they stop backstabbing spotify btw?

sand goblet
#

they did not

wind karma
#

I am not sure bout that

frosty berry
#

(like, taking 30% of their monthly subscription)

wind karma
#

Oh

sand goblet
#

spotify streams at 320 kbps

wind karma
#

Well Spotify forced their way out of this

sand goblet
#

although if quality is your thing.. tidal

wind karma
#

They just disabled all in-app payments

rough sapphire
#

my tidal experience was... lackluster

frosty berry
#

ok

wind karma
#

You basically have to go through a browser to pay

rough sapphire
#

i tried it for the high-quality memes

frosty berry
#

yeah, makes sense, that must suck for conversion though

sand goblet
#

that's also why I tried it

#

the library wasn't great but it's a lot better now

#

and plex integrates with it

wind karma
#

I actually built a plex clone

rough sapphire
#

but the app (which was a blatant spotify mimickry down to the positioning of the icons and the icons themselves) was just so buggy

wind karma
#

last year

#

But I would always get a problem with the transcoder thing

#

And I just abandoned it

rough sapphire
#

i also don't think i could even tell the difference between spotify's 320kbps and FLAC/Masters

sand goblet
#

yeah, most people can't

wind karma
#

Its weird

sand goblet
#

reminds me of that audiophile sean meme we came up with @rough sapphire

wind karma
#

Haha

sand goblet
#

that's Tasteyflame if you remember him

#

haha

#

known as tfx now, I think

rough sapphire
#

haha yeah

gentle moss
#

on the 320kbps mp3 vs flac thing

#

a lot of people can't even tell the difference between 128kbps mp3s and 320kbps mp3s

sand goblet
#

when tidal originally became a thing, to get into the beta you had to take an ear test

#

where it made you pick the flac between two samples of the same song