#ot1-perplexing-regexing

1 messages ยท Page 606 of 1

dapper dew
#

(Pixel 3)

uneven pine
#

Yeah that's the joke

inland wolf
#

lol

lofty dirge
#

Depends on how fast hash Calc is and if password shows up in dictionary or dictionary manipulation.

eager trout
#

Twitch be like

#

please delete the image if it breaks any rules

tardy rain
#

it might not break any rules but it'll probably get people unreasonably mad

eager trout
#

look at these mfs

#

๐Ÿ˜‚

dapper dew
#

That's great, why don't you leave that in Twitch instead of bringing it here?

eager trout
#

Cause I want to laugh about it in discord

opal atlas
#

Discord connect people

#

From same country?

eager trout
#

Nah, discord is just a chat app

dapper dew
#

Again, let's not bring that content into this server then?

opal atlas
#

So

#

There is no people from countries

#

?

tardy rain
#

bro what

acoustic moss
#

countries are a social construct

tardy rain
#

well yes

dapper dew
#

#code-of-conduct , first example in bad behavior would apply to what was posted above @eager trout

eager trout
#

It wasn't sexual; she's just licking the mic for asmr

tardy rain
#

ye

#

what about him

eager trout
#

Dude's a genius who does a lot of work on the google summer of code

tardy rain
#

ok

eager trout
#

It's amazing how relatable this animation is https://www.youtube.com/watch?v=CAYDRIbXFAc

This is my graduation film, 'Afternoon Class' The story is inspired by my experience that when I was trying to stop myself from falling asleep in afternoon class.

  • Film by Seoro Oh
  • 2015, 2D Digital animation
  • 3:50 min

Award & Official selections

2016
Stuttgart Festival of Animated Film - Lotte Reiniger Promotion Award for Animated Film...

โ–ถ Play video
#

I get so tired in history class that my eyes split

lime gazelle
#

I don't know if it's the right channel, redirect me if it's not. I was thinking about building a flutter app to scan qr codes, and I wanted to do the scanning myself. I have no idea where to start though, any pointers? cat_smile

eager trout
#

@lime gazelle I would just use a pre-made qr library

#

If you went to get handsy, I'd look up how qr codes are recognized and interpreted

strange musk
#

but then what do the other half donate for? lol

eager trout
#

no idea lmao

arctic sonnet
#

Hey there

mental bison
#

there are 2 types of people in this world:
those who can extrapolate from incomplete data

distant hazel
#

๐Ÿฐ

eternal wing
distant hazel
#

thanks @frozen coral

eternal wing
#

I blame you, mina

karmic gust
#

i think you got the relation wrong, shouldn't it be
fruit-cheesecake = normal-cheesecake

distant hazel
#

oh, as in cheesecake has fruit in it by default

#

ofc

wraith hound
#

but you need to be explicit so fruit-cheescake > normal-cheescake

royal lakeBOT
#
The Zen of Python (line 1):

Explicit is better than implicit.

distant hazel
#

chris got the otn wrong my message was actually fruit cheesecake > regular cheesecake

distant hazel
mental bison
#

another good math joke is that a physicist, an engineer, and a statistician go hunting for deer. The physicist calculates how to fire optimally but when he makes his shot, he misses 50 meters to the left. the engineer says "you didn't account for wind," recalculates, but misses 50 meters to the right. the statistician then yells happily, "we got it!"

eager trout
uneven pine
#

shawn wasabi

distant hazel
frail badge
#

oh ive seen that one before

floral apex
frail badge
royal lakeBOT
#

@frail badge :white_check_mark: Your eval job has completed with return code 0.

2
mild abyss
#

dude

#

this channel

#

speaks truth

latent scaffold
#

it's not a >

mild abyss
#

๐Ÿณ

latent scaffold
#
>
๏ผž
mild abyss
karmic gust
#

fun fact: chris changed the code just to allow this one

odd sluice
#

damn

strong reef
#

Hohoho

spare lance
eager trout
#

Je m'apelle Sasuke Uchiwa

dire siren
#

cheese cheescake > fruit cheesecake

mild abyss
#

interesting

harsh tundra
#

okay. I raise you... jar of dirt-themed cheesecake

inland wolf
eager trout
harsh tundra
#

But still, fruit cheesecake wins

edgy crest
#

now i wont be able to eat my dinner

harsh tundra
#

Eat dinner, then make dessert

edgy crest
#

no ingredients

harsh tundra
#

Panna cotta is easy recipe. Might want to start it before dinner, tho, because it needs chilling

#

Gelatin (or different jelling agent) and cream (or cream and milk) are base for panna cotta. I use honey instead of sugar.

#

Also recipe from this blog

#

There are also easy cupcakes https://cakecrumbs.me/2020/02/12/sweet-hearts-cupcakes/
Easy because... You can mix all ingredients except vinegar with hand mixer.
Preheat oven in the meantime.
When it's correct temp, mix in the vinegar to activate the bicarbonate soda (i quickly mix it with hand mixer again until it's combined).
Pour into lined cupcake/muffin tray, bake 20-25 minutes like the recipe says

Itโ€™s nearly that time of year again. Now, Cam and I donโ€™t really celebrate Valentineโ€™s, especially because our anniversary is 2 days later. But I do love the excuse to bake to a tโ€ฆ

dire siren
#

eee hungry

odd sluice
#

looks cool

solid pollen
#

@nocturne venture so I can handle pretty much any type of general programming. I quite like everything more or less related to CI/CD, so if you are looking for someone on that, it would be with pleasure. Otherwise anything I could get done without a very deep knowledge of the package would be good enough.

nocturne venture
#

well, @mossy mango and @potent cedar are also on the team, more focused on CI and testing than i am at the moment, maybe they have some ideas how to use your time most productively

#

if you're looking for some programming challenges, we have a few issues/ideas that you could be interested in

#

we're mostly building up parametrized tests atm and trying to fix everything before moving on to more crazy ideas

acoustic moss
#

๐Ÿ‘€

nocturne venture
#

we could use help with documentation, as there's basically none ^^

nocturne venture
# acoustic moss ๐Ÿ‘€

heh.. "the beast" means a test currently built by @potent cedar that takes all 1500 conda packages and tries to install&import everything

#

in a single process

acoustic moss
#

15- 1500!?

nocturne venture
#

yup..

#

not sure if anyone ever attempted that, but it's coming along ๐Ÿ˜‰

solid pollen
#

You probably don't want me to write documentation haha

nocturne venture
#

and that way we can pick some nice tests for me to debug and refactor the whole thing for better design

#

i could use a hand in refactoring stuff, if you're interested?

viscid hemlock
#

Hmm

odd sluice
#

i can tell by the /r/

rough sapphire
#

for campk-12

odd sluice
#

i know ck12 is a legitimate company

mossy mango
solid pollen
#

Yay CI/CD!

nocturne venture
#

there we go, CI/CD it is

acoustic moss
#

very fascinating

odd sluice
#

why is the file so large ๐Ÿ‘€

mossy mango
#

rn using github actions only

solid pollen
#

@rough sapphire please don't send referral links here

nocturne venture
acoustic moss
#

.>>

mossy mango
jovial flame
solid pollen
#

Call a plumber!

jovial flame
nocturne venture
mossy mango
#

do you like what you see?

#

lol

solid pollen
#

Quite an interesting way of doing functional programming

jovial flame
nocturne venture
#

i do, and i'm not ashamed xD

odd sluice
nocturne venture
#

omg, i'm lmfao

odd sluice
#

pipes surely don't exist in python?
or is that just an operator o.o

mossy mango
#

pipe down .. don't want the original developer to shut off our water supply

jovial flame
mossy mango
#

:)

nocturne venture
solid pollen
jovial flame
#

So guys question

#

What does an ex-programmer ghost say

#

||foo!!! Foooo!!!!||

nocturne venture
#

๐Ÿคฃ

odd sluice
#

okay this is cool af

nocturne venture
#

darn, i forgot to update that

#

it's now modes=use.auto_install tsktsk

odd sluice
#

might i suggest breaking the 2k line file into pieces?

nocturne venture
#

i guess that's happening already anyway

odd sluice
#

nice

shadow ridge
#

oh hey

#

does anyone know what to do with the local fork after youre done with opening a PR on github MA_oh_eheheh

acoustic moss
#

you could keep it around if you think you could contribute to the project again, later

dapper dew
viscid hemlock
shadow ridge
#

ah

#

i see

distant hazel
tribal aurora
#

lol

narrow pecan
#

Whatโ€™s a fruit cheesecake?

tribal aurora
#

uhh

nocturne venture
# odd sluice pipes surely don't exist in python? or is that just an operator o.o

well, i'm still laughing about earlier, but on a serious note, i took the code from https://github.com/robinhilliard/pipes/blob/master/pipeop/__init__.py to allow syntax like ```python
@pipes
def _ensure_path(value: Union[bytes, str, furl.Path, Path]) -> Path:
if isinstance(value, (str, bytes)):
return Path(value).absolute()
if isinstance(value, furl.Path):
return (
Path.cwd(),
value.segments
<< map(Path)
<< tuple
<< reduce(Path.truediv),
) << reduce(Path.truediv)
return value

GitHub

Elixirโ€“style pipes for Python. Contribute to robinhilliard/pipes development by creating an account on GitHub.

#

voila, pipes in python ๐Ÿ˜‰

opal atlas
distant hazel
narrow pecan
#

Haha

young shoal
#

@languid tartan range isn't a generator, it's just an iterable. and just printing a range doesn't print the function, that's just how it's represented

gritty zinc
#

it's just an iterator
*iterable

young shoal
#

shh

languid tartan
young shoal
#

i don't get that, but ok

languid tartan
#

i also know how repr works, thing is , that is too much explanation

#

so yes youre right

#

but if i did explained the whole thing it would be just more confusing

dire siren
#

ee

#

anyone knows how to play audio through vscode extensions

#

i'm makin one rn

rough sapphire
#

Does anyone know how I can close all the apps that are not related to windows via task manager or anything similar, because my pc is running slow , like really and itโ€™s a high end pc

noble atlas
rough sapphire
noble atlas
#

So 46% memory is used but your pc is running slow, hmm

rough sapphire
harsh tundra
rough sapphire
#

oh alright , i just need to save this here

harsh tundra
rough sapphire
#

hm

#

enough reasons for me to delete sublime

noble atlas
rough sapphire
#

its still high

harsh tundra
#

that's not that much, depending on how much stuff you have open in there?

harsh tundra
#

windows actually has problems calculating total memory used in Processes tab.
my browsers take a lot less in that tab that it's cleared when I kill them

rough sapphire
#

hm

harsh tundra
#

why tf is your status column so wide? ๐Ÿ˜ฎ

rough sapphire
#

oh idk , i had it on full screen

#

i'm confused on whats the first thing on there

harsh tundra
rough sapphire
#

oh idk either

harsh tundra
#

that MsMpEng is some windows defender thing and apparently it sometimes fucks up and eats a lot of ram? that's what "msmpeng high ram usage" googling said

spare lance
harsh tundra
harsh tundra
rough sapphire
#

also if it means anything

#

i have my files like this

#

i deleted them

harsh tundra
#

you know that scan would require to extract the archive in memory, right?

#

why rar? zip is better for memory

rough sapphire
#

oh fair enough

#

i deleted it n_pepesweatin

spare lance
#

i actually wonder how does zipping work pithink

rough sapphire
#

confused

harsh tundra
#

how to un-clutter the computer, my process when I helped people in dorms:
Disk Clean-up (system thingy) to clean system caches and stuff
clean your browser caches
maybe run some CCleaner or something if you use it
if you haven't done it in a long time, do adware/pup scan using eg AdwCleaner (owned by Malwarebytes) - searches for adware and other "potentially unwanted programs" (PUP) that might've sneaked in and installed as browser addons etc
do some big-ass antivirus scan, might be on startup. leave it be

inland wolf
rough sapphire
rough sapphire
harsh tundra
#

Disk Clean-up might have a lot of windows update stuff if you select to clean system stuff as well

rough sapphire
inland wolf
#

true

inland wolf
#

u can choose what to delete

rough sapphire
rough sapphire
#

hm

inland wolf
#

clean up system files

rough sapphire
#

safe mode thumbsup

harsh tundra
rough sapphire
#

i mean is 7gb really that much for doing nothing ?

#

beside discord and visual studio

edgy crest
#

most of that might be just windows

harsh tundra
# rough sapphire i mean is 7gb really that much for doing nothing ?

okay, hear me:
if you want to really check how much apps take, you gotta prepare for restart (save your stuff) and just start killing stuff one-by-one and note how much memory is freed.

as I said: "windows actually has problems calculating total memory used in Processes tab.
my browsers take a lot less in that tab that it's cleared when I kill them"

so the only way to actually know how much it all takes, is to just kill stuff and see how much memory you get back

#

e.g. 13.2 ram usage on Performance tab
kill battle.net which shows <200MB ram usage
12.7 ram usage
/)magic(\

rough sapphire
#

i think i should just move to linux

harsh tundra
#

I should probably check "in use" rather than whole usage (because it also counts caches then)

rough sapphire
#

OH

#

i forgot to mention its only 1 stick of ram PU_PeepoDeadShrug

harsh tundra
#

compare number on left vs in use
In use+ moused over "Modified" makes the left number

rough sapphire
#

i bought 2 but one of them didnt fit

prisma geyser
#

Hey there! I can use some off the topic help

#

I have this C function but I am not sure what it does. Can someone just explain me its function:

#
{
  int i;

  i = 0;
  while (i < x)
  {
    if (grid[y][i] == grid[y][x]) 
      return (0);
    i++;
  }
  i = 0;
  while (i < y)
  {
    if (grid[i][x] == grid[y][x]) 
      return (0);
    i++;
  }
  return (1);
}```
#

I get that x and y are integers and int **grid acts as 2d array

floral apex
mellow trench
#

guys need help what will be the result of this programm?

wraith hound
#

!e See for yourself

numbers = [1, 2, 3, 4, 5]

for counter, item in enumerate(numbers):
    if(counter % 2 == 0):
        print(item)

print(counter)
royal lakeBOT
#

@wraith hound :white_check_mark: Your eval job has completed with return code 0.

001 | 1
002 | 3
003 | 5
004 | 4
mellow trench
#

thank you so much

wraith hound
#

You can always just run the code yourself to see the output, no need to ask us

mellow trench
#

I haven't downloaded Python

#

That's the reason

wraith hound
#

Why don't you?

#

it takes maybe a minute

mellow trench
#

Sorry, personal reason

distant hazel
#

then online editors like repl.it will work in a pinch

odd sluice
#

replit is amazing

dire siren
#

help

#

i dont have any access to dom stuff in vscode extension

#

how can i play sound

#

the only way i know is new Audio()

#

apparently it doesnt work

#

or do i write another python script to do stuff like those

#

any type/javascript god please help lemon_sentimental

opal atlas
#

if I give a code you can convert to any language?

young shoal
#

maybe

solid pollen
#

Manjaro problem: So my middle mouse button (button 3) just stopped working after updating between yesterday and today. I could confirm that no app gets any event for that specific button. Running on 5.x KDE. Does anybody have a fix?

tardy rain
#

Oh no, he said the m-word

mild abyss
#

have u tried other mice?

solid pollen
#

I checked using xev, and it does not get any event

solid pollen
#

Nope, X

mild abyss
#

what display manager? sddm?

#

and you are on KDE plasma

solid pollen
#

KDE plasma, yes

mild abyss
# solid pollen KDE plasma, yes
#

here

#

not sure if that was your issue but it hints a similar idea of what youre having

solid pollen
#

But this one is like a year old

mild abyss
#

might be a recurring issue

solid pollen
#

dmesg didn't show any error

#

I guess I could look at core dumps

mild abyss
#

im not sure i havent used plasma for a while and i dont use manjaro. it is probably the kernel firmware i think.

solid pollen
#

Wonder if I can remap button 4 for the time being

#

no core dump

harsh gulch
#

How do I open the text file with cmd I tried

C:\Users\Ewan1\Documents>start "" "Random text file.txt"
primal spruce
#

so here's where i wanna check an assumption.

#

do you really have a file there with that name? dont assume, double check

harsh gulch
#

Yeah I first though I spelt it wrong but I went to the file renamed CTRL-A and copied it multiple times but it still doesn't work

primal spruce
#

right click the file. click properties

#

copy the full path of the file you see there

harsh gulch
#

C:\Users\Ewan1\OneDrive\Documents
Ahh have I missed OneDrive?

primal spruce
#

you have.

harsh gulch
#

Dangit

primal spruce
#

that would do it. okay cool, windows was not being weird

harsh gulch
#

Ahh thx it works now

#

Odd how I didnt see onedrive anywhere in my folder but idk

next ferry
#

random question but to what extent does someone need to make the components of a program before they can say they made the program themselves
like if someone made a game using pygame, can they say they've made the game themselves because they wrote the code that interacts with pygame, or can they not because they didn't write the engine themselves
or if they made a program with something like watchdog, can they say they made that program themselves or does the use of an external library inherently make the program less of their own
sorry if this doesnt make sense

round rose
#

Generally, what counts is the business logic

#

When people talk about a game, they don't really mean the engine, render calls and all that, they mean the actual gameplay

#

Frameworks and libraries are meant to help you, using them doesn't mean that you didn't "actually write the program"

karmic gust
opal atlas
#

The most salient part for me is the data type, I always learn nothing checking them you have to use some method, but it's not a method at all is a class and so on

latent scaffold
#

well, not just KDE... If you search for problems specific to KDE, you also find Manjaro forum posts about it

solid pollen
#

Hmm, is it a recent post?

latent scaffold
#

Nothing recent about it, no

#

but I'd definitely believe this as a Manjaro specific issue, I've had plenty like this in the past

echo forge
#

anyone know how to a configure reverse proxy on hedgedoc?

#

I read the guide but didn't understand it.

uneven pine
trail belfry
#

Hello i'm in an intro to python class and could use help with this problem where we are asking user how many facebook friends they have and returning an ad for dogs if they have 500 or more facebook friends and returns a cat ad if they have less than 500 friends. We have to use two separate functions, int_question and serve_ad_based_on_friends. I did this successfully but they also want us to use the str.isdecimal() function so it still works if a decimal is used. It should return an error message as well as 0 if a decimal is entered. Here is what I have but im getting an invalid syntax error when using str.isdecimal(). Can someone please help!

#

'friends = int(input("How many facebook friends do you have?"))

def int_question(friends):
if friends >= 500:
return "dog"
else:
return "cat"

int_question(friends)

def serve_ad_based_on_friends(friends):
if int_question(friends) == "dog":
print("Ad with Dog: Get your dog the bed they deserve with Doge Beds!")
elif int_question(friends) == "cat":
print("Ad with Cat: Get your cat the purrrrfect bed with Non-Catatonic Beds!")
else:
print(0)

serve_ad_based_on_friends(friends)
'

#

sorry for the weird code lol new to discord

uneven pine
#

!code

royal lakeBOT
#

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

gleaming bone
#

Lmao read the message he's new... Please cut him some slack

#

๐Ÿ˜‚

uneven pine
#

I'm just directing them in the right direction?

gleaming bone
#

K then that is ok

uneven pine
#

I didn't say "hey dumbass go do it right". I explained they were in the wrong place, what the right place is, and how to post code so it's readable

gleaming bone
#

Tbh I would actually be so embarrassed if someone said that to me... Plus you actually did tell him some valuable info

#

So that is good

uneven pine
#

Meh no reason to be embarrassed over being directed to the correct location. Well. Partially

#

You'd generally find it if you actually read the information given in the server first. But most people don't do that

gleaming bone
#

Yeah most I didn't read it when I joined but then got shouted at by most people then went back and read it...

uneven pine
#

First thing I do when I join a server is read all the info channels

#

And complain to the admins if there isn't good info

#

๐Ÿคฃ

mild abyss
mild abyss
latent scaffold
floral apex
molten stag
#

how can a github account be created in 1970?

topaz aurora
#

But what you can do is make a commit with your date set to 1970

opaque bronze
#

damn, you can manipulate time?

topaz aurora
#

GitHub reads that anyways, regardless whether git or Linus Torvalds was alive at that time

latent scaffold
#

is 1970 just 0 for the UNIX timestamp

opaque bronze
#

guess who is going to be active in 2019

floral apex
#

Yes iirc

molten stag
#

Wow, I just found out, I'll try it thanks :)

opaque bronze
#

this means i can fill in my inactivity on my github profile

#

hehehehehe

#

is it fraud or something? ยฏ_(ใƒ„)_/ยฏ

latent scaffold
#

I don't think it works like that

edgy crest
#

that means

#

you can also commit in the future

floral apex
#

Something something sanitization

latent scaffold
#

but can you commit in a relationship

#

that's the real question

floral apex
#

Then after that you can push and pull all you want

latent scaffold
#

oh my

odd sluice
#

wtf

floral apex
#

Too bad you can't revert what comes after that

odd sluice
dire siren
#

it can be 1969 in your timezone

latent scaffold
#

it is

dire siren
#

since 0 in epoch time is 1970 0:00 utc

mild abyss
#

๐Ÿ˜ฉ

mild abyss
#

lets make our country worse than it is

latent scaffold
#

invest in stonks

#

not relationships

mild abyss
latent scaffold
#

oh my

mild abyss
#

just invest in gacha huhuhu

latent scaffold
#

absolutely not

#

F2P from now on

mild abyss
#

yes. waste money waste salary

#

well i am f2p from the start

#

if you know what i mean ๐Ÿ˜

opal atlas
#

I don't lack respect from others, I just don't want to do dramatic things that's why I'm avoiding return to school

dire siren
#

can i inspect element from android phone

dire siren
#

same, i want to ask how

#

or is it possible

#

probably with firebug, but idk how to run javascript

#

i need chrome dev tools to flex my popcat result lol

#

modify it to smth like 6942002496

#

by inspect element

odd sluice
mild abyss
dire siren
#

anyone got mp3 handy

#

i need to do some testing

spare lance
#

Idk... Look for some songs or audio files if you got?

dire siren
spare lance
dire siren
#

alr

spare lance
#

Or just send a voice note to urself

opal atlas
wet orchid
mild abyss
#

.spookify

median domeBOT
#
Is this you or am I just really paranoid?
harsh tundra
#

this looks nice

dire siren
#

indeed

odd sluice
#

damn

#

that looks scary

mild abyss
# median dome

it is like a sudden color change in anime before someone dies

odd sluice
#

like l's death

solemn leaf
#

.spookify

median domeBOT
#
Is this you or am I just really paranoid?
solemn leaf
#

bruh

#

:|

#

this is more like .communisimify

#

or .nazify

young shoal
#

...how?

solemn leaf
#

or no

young shoal
#

does it?

solemn leaf
#

no but

#

idk

#

swastik + red color

#

nvm

dire siren
#

communisify should make your photo be in red

opal atlas
lime maple
#

.spookify

median domeBOT
#
Is this you or am I just really paranoid?
harsh tundra
latent scaffold
#

what makes it reversed?

solemn leaf
#

lmao

harsh tundra
#

Reversed pentagram is also considered "evil" or "satanistic". Some people say that all pentagram are like that... But pentagram is literally a name for all five-pointed (penta-) stars

gritty zinc
#

rotated by pi/5, smh

solemn leaf
#

how precise smh

cunning dove
#

and for a bat stars are evil ?

rough sapphire
#

why is joe absent

harsh tundra
inland wolf
#

lol

grizzled bridge
#

ot1 changes from sir-RAM-a-lot to joe-is-always-absent

wraith hound
#

it changes every 24 hours

grizzled bridge
#

ok

wraith hound
#

at 00:00 UTC

harsh tundra
#

And I assumed it's because Joe's sometimes offline nowadays, while he was basically 24/7 online before XD

wraith hound
#

he is still online a lot of the time

opal atlas
#

I'm worried about him

#

I only sleep two hours
A weak

wraith hound
#

I advise that you try to get some more sleep

opal atlas
#

Wait that's critically concerning

vapid nymph
#

finally

#

autogenerated files

#

idk why

#

i love em

#

well like

#

autogenerated files that I wrote the code to create.

pastel plaza
#

hi

#

hi guys

rough sapphire
#

The problemTime to go shopping! Everything in the store has been discounted by 20%. You are given a program that takes the price of an item as input. Complete the program so that it outputs the discounted price to the console.
The code```js
function main() {
var oldPrice = parseInt(readLine(), 10)
var math = (oldprice*20/oldPrice)

console.log(math)

}

#

js

wraith hound
#

First of all, you should certainly not be using var

rough sapphire
#

im JUst learning js

wraith hound
#

And what's not working correctly, could you tell us exactly?

rough sapphire
#

well

latent scaffold
#

looks like that math is simply wrong, no?

wraith hound
#

I have never seen a readLine function before, is that a browser thing? I primarily work with node, so idk

rough sapphire
#

error```
/usercode/file0.js:20
var math = (oldprice*20/oldPrice)
^

ReferenceError: oldprice is not defined
at main (/usercode/file0.js:20:16)
at ReadStream.<anonymous> (/usercode/file0.js:11:5)
at ReadStream.emit (events.js:327:22)
at endReadableNT (_stream_readable.js:1327:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)```

latent scaffold
#

shouldn't it just be oldPrice * 0.80

wraith hound
#

Your capitalization is wrong

latent scaffold
#

also yeah your caps is off

rough sapphire
#

well

#

fixed taht

#

it came out with 20 when its meant to be 120

latent scaffold
#

20% off is 80% of the price

rough sapphire
#

yea

latent scaffold
#

so... oldPrice * 0.8

rough sapphire
#

bam

#

its been a while since i used maths

#

mainly %

#

;-;

wraith hound
#
var math = (oldprice*20/oldPrice)
// should really be
const math = oldPrice * 0.8
rough sapphire
#

const?

wraith hound
#

Oh Cypheriel said that

latent scaffold
#

I don't think it should be const

#

since it's not contant

wraith hound
#

Why shouldn't it? It's never modified

rough sapphire
#

const means it cant change

wraith hound
#

And it won't

latent scaffold
#

immutable and constant aren't the same

wraith hound
#

I've seen them used differently within JS then I have in other languages

#

idk though

latent scaffold
#

it'd be better to use let here, I'm pretty sure

#

constants should be constant, being immutable doesn't have much to do with being constant

#

math will change depending on input, so it's not really constant

#

with let, it'd immutable but still variable

wraith hound
#

let is not immutable in js

latent scaffold
#

that what on Earth is the point of let

wraith hound
#

no idea

latent scaffold
#

I thought it was like Rust \๐Ÿ˜ฉ

#

nvm, perhaps I'm wrong and JS is just dumb

wraith hound
latent scaffold
#

what on Earth is the point then

wraith hound
#

There's an ongoing debate in the JS community if const is for all immutable values or values that are truly constant

latent scaffold
#

how annoying

#

+1 reason why I don't touch JS

rough sapphire
latent scaffold
#

are these school assignments

acoustic moss
last mantle
#

cpp to has constexpr and const

rough sapphire
#

can one of u help

#

nvm did it

solemn leaf
#

rust analyzer detected 4 integers , pwull issue moment brainmon

#

but anyway wrong code

rough sapphire
rough sapphire
tribal aurora
#

what did they win?

acoustic moss
#

pyweek 32

tribal aurora
#

wats dat

acoustic moss
#

team cateogry

#

game jam

tribal aurora
#

explain more

#

oh

#

gj

acoustic moss
#

thank

tribal aurora
#

whatd u made

acoustic moss
mild abyss
floral apex
#

And const for immutable stuff

floral apex
acoustic moss
mild abyss
#

what about it

#

:(

#

u will if u learn julia :D

#

||like u||

#

jk

#

still. u only scratched the surface so it makes sense

#

like how idk python anymore :((

floral apex
solemn leaf
#

introvert lemon_bald

rough sapphire
dire siren
# solemn leaf smh

smh the organization isnt even roblox, they are doing double advertisment

odd sluice
#

isnt it that scam thing

solemn leaf
#

yes

odd sluice
#

torturing 6y/os

solemn leaf
#

in the name of productivity

odd sluice
#

and has teachers who dont really know what they r teaching?

solemn leaf
#

lmao yes

rough sapphire
odd sluice
#

ive seen the recordings

#

im not going anywhere near whjr

#

ill stick to udemy

rough sapphire
#

They say a 5y/o made an android app.

odd sluice
#

smh

#

wtf is this name

floral apex
floral apex
rough sapphire
floral apex
#

boogers, boogey man

odd sluice
#

they r literally monetizing free stuff (whjr i mean)

floral apex
#

Think of Pygame and Arcade for Lua

#

Thinking he should continue this before Roblox Studio

tribal aurora
azure beacon
#

Functional python is not real, it cant hurt you.
Functional Python:

from toolz import compose_left, curry, first, pipe, second
from toolz.curried import filter, map


@curry
def between(low, high, num):
    return low <= num <= high

# Some example values
keys = [2,4,6,8,10,12,14]
vals = ["Two", "Four", "Six", "Eight", "Ten", "Twelve", "Fourteen"]

filtered_vals = pipe(
    zip(keys, vals)
    , filter(compose_left(first, between(5, 10)))
    , map(second)
    , list
)

print(filtered_vals)
acoustic moss
#

hell no

dapper dew
#

Whoa what is going on with those commas

azure beacon
azure beacon
#

And it is indeed very cursed

dapper dew
#

You have created something very spooky for Spooktober

azure beacon
#

I should just pick up a functional lang at this point. But none really interest me much, or struggle greatly with resources to learn from.

dapper dew
#

I honestly don't even know which ones are out there

azure beacon
#

Im personally still looking at F# but my despise for Microsoft makes that choice hard to swallow.

harsh tundra
#

Omg, so yellow in here

dapper dew
#

lol

#

!otn a the yellow chat

acoustic moss
#

OCaml

opaque bronze
#

ngl camels look cute

#

although perl kinda stole camels as their mascot

acoustic moss
#

lol

dapper dew
#

Look at that champion

opaque bronze
#

look at his look of superiority

#

he's chilling

dapper dew
#

I was talking more about hsp being the champion champion

acoustic moss
#

๐Ÿ‘€

opaque bronze
#

hsp is the champion of people

tardy rain
#

@acoustic moss tfw yellow hides the glorious champion pink, how does it feel

acoustic moss
#

lmao

dire siren
#

but ok

harsh tundra
tardy rain
#

is it tho

#

based webclient

viscid hemlock
#

It'd because you're in the smoll view

harsh tundra
#

Sadge

mild abyss
dire siren
#

oh i turned off my gmail notification fuck

harsh tundra
#

Season finale next week for free

mild abyss
harsh tundra
#

I do the same thing. It's nice to binge from time to time

mild abyss
#

ngl i really like planner from elementary OS hmm

#

this look so damn clean wtf anyway going to use this instead of my phone lol //

harsh tundra
#

I'm hundreds eps behind for Kubera, i think. I stopped feeling it at some point, so I stopped reading... I should maybe reread it from beginning when i have time

mild abyss
harsh tundra
#

Kubera is amazing

mild abyss
#

i stopped reading The Gamer last 2017 hmm or was it late 2017? hmm

#

im sure it is about 300 eps now

mild abyss
harsh tundra
#

Remember to read one of top comments that provides fan translation of author commentary. Also some cultural context sometimes or Easter eggs.

#

I did my first x episodes reading on download (during lecture, lol), so I missed those comments when learning about the world

#

But then when I discovered they exist, I always checked them

mild abyss
#

๐Ÿ‘€

harsh tundra
#

Now I'm checking and I don't think early-early episodes have them? Hm...

#

The world in there is nice and some things is clued from early, those comments sometimes mark where something was mentioned originally and such

mild abyss
#

hmmm imma watch some old gigguk vids

#

because .. net is kinda ... stupid lately..

#

i cant webtoon

harsh tundra
#

Example of that author commentary. Censored names/references to story happening and left world building stuff. (that's from ep 50, i just tried to find any of those comments by randomly accessing early eps XD)

harsh tundra
#

There's a lot of stuff in that universe. As I said, I missed those comments and I checked wiki existing and found a lot of nice info :o but also spoilers because wiki is updated for Korean release

#

The world basics in there are nice. Like magic. You had 12 gods. 12 days in a week. 12 months. You have 3 attributes based on when you are born that determine what magic is easy for you or more powerful.

mild abyss
#

i have at least 10 webtoon titles to read ... and it keeps piling up ... one of my favs are

  • Wind Breaker
  • It's Mine
  • Your Throne
  • Jungle Juice
  • unOrdinary
mild abyss
#

not a fan of soccer

harsh tundra
#

It's football (soccer) tennis. There were women's championships recently

mild abyss
ionic light
#

I am searching for a python developement team to work with, anyone interested can dm me

bold moat
#

pygame's event.pos returns a tuple with x, y?

harsh tundra
harsh tundra
opal atlas
uneven pine
#

The hell is this otn from

uneven pine
#

no shit

karmic gust
#

image recognition of birds with regex

#

duh

rough sapphire
#

How the fuck would you ever do that

mild abyss
#

by coding

worn rampart
# rough sapphire How the fuck would you ever do that

so, technically, if you encode images as chunks after downsizing to a standard size, you might be able to convert images to representations that are a series of lines of text. If you had a really simple and identifiable bird case, you could possibly use regex for it

#

like a bird that's all white but has red eyes, like an albino dove

#

I wouldn't recommend it, and I'm pretty sure Scoff'O'Law's original post was a joke

opal atlas
#

If you tell me the text of bird

floral apex
#

What about actually doing it

opal atlas
#

it's running

mild abyss
severe ledge
#

Chicken

latent scaffold
#

now I'm hungry

paper sequoia
#

too bad, you don't have any food with you

floral apex
#

Eat your own foot

latent scaffold
#

oh nah

#

we don't speak of him

floral apex
#

Fine, go to the RMS Titantic

#

Eat from the buffet

shut ermine
latent scaffold
#

The what

shut ermine
#

become carnivore

latent scaffold
#

Idk I like being an omnivore

shut ermine
#

ig that's fine for fiber but i find it very hard to lose weight while eating carbs

#

and get hungry all the time

latent scaffold
#

All I do is lose weight

#

I need to gain it

#

Weight, I gained a whole pound over a year

#

See what I did there \๐Ÿค•

shut ermine
#

idk i just have funny stubborn visceral fat that won't go

edgy crest
inland wolf
#

lol

latent scaffold
shut ermine
#

wish i could have carnivore bread

#

๐Ÿ˜”

latent scaffold
shut ermine
#

no something fluffy and light

latent scaffold
#

Oh no. Poor Fluffy

#

That's my cat's name

shut ermine
#

would your cat be a good bread replacement?

latent scaffold
#

Let's find out

shut ermine
#

mmm cat bread

rough sapphire
#

bored out

#

i am bored ๐Ÿ˜ฆ

paper sequoia
#

happens a lot

solemn leaf
#

:P

tawdry jacinth
#

๐Ÿ˜›

sterile zealot
#

Is there a channel for this?

floral apex
rugged echo
#

"regex is powerful"
hm

hidden pebble
#

How can I check the version of Microsoft C++ Build Tools which I have installed?

inland wolf
#

cl.exe /? and look at the first line it prints out

hidden pebble
#

Where do I need to enter that?

#
PS C:\Users\me> cl.exe /?
cl.exe : The term 'cl.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ cl.exe /?
+ ~~~~~~
    + CategoryInfo          : ObjectNotFound: (cl.exe:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException```
graceful basin
#

you need to visual studio developer prompt IIRC

inland wolf
#

yes

#

any of these

hidden pebble
#

I have it

inland wolf
#

yes

hidden pebble
#

thinkmon ```powershell


** Visual Studio 2019 Developer Command Prompt v16.11.4
** Copyright (c) 2021 Microsoft Corporation


C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools>cl.exe /?
'cl.exe' is not recognized as an internal or external command,
operable program or batch file.```

inland wolf
#

bruh

#

that means u dont have c++ build tools?

solemn leaf
hidden pebble
#

Thanks, I'll try that

hidden pebble
inland wolf
#

make sure u have a decent amount of space in ur system drive

#

yea u need to do what spcookie said

floral apex
#

Hmmm, interesting

floral apex
inland wolf
floral apex
#

I will watch the talk in the morning

#

Maybe I should also check content about other frameworks just to be a bit more open to others

hidden pebble
thin swallow
harsh tundra
# thin swallow https://cdn.discordapp.com/attachments/758929859434643488/897538592086327376/unk...

Just pop up something (js alert?). It's the easiest kind of thing that will trigger it.
If you want to do less annoying thing, ask for notification permissions and post a new notification https://stackoverflow.com/questions/18141237/make-chrome-icon-on-windows-taskbar-glow-when-chrome-is-minimized

thin swallow
wraith hound
#

Sounds like an interesting talk

clear acorn
clear acorn
median domeBOT
#
You're bad at computers.

@clear acorn, please enable your DMs to receive the bookmark.

clear acorn
mild abyss
floral apex
# wraith hound Link?

Modern JavaScript frameworks are all about reactivity. Change your application's state, and the view updates automatically. But there's a catch โ€” tracking state changes at runtime adds overhead that eats into your bundle size and performance budgets. In this talk, we'll discover an alternative approach: moving reactivity into the language itself...

โ–ถ Play video
#

Apparently he works for the New York Times

wraith hound
#

Oh Rich Harris

#

He made Svelte

wraith hound
dire siren
#

<@&831776746206265384> is copypasta allowed?

mild abyss
dire siren
#

tbh

mild abyss
#

i see

quick ledge
#

@grizzled bridge Please don't send chain mail in this server.

#

it's.... not true.

grizzled bridge
#

ok

floral apex
#

Is Steak Bot rare, medium-rare, well done or overcooked?

dire siren
mild abyss
#

last of his kind

solid pollen
#

Also vivek is overcooked

floral apex
#

Interesting

#

So Akarys is a Japanese satellite, Steak Bot produces all kinds of steak, Vivek is overcooked

#

Jack is a d u c c

#

Preocts is e g

#

Infinimata is quoted for "Go is C with training wheels"

solid pollen
#

I am a Japanese satellite? pithink

floral apex
solid pollen
#

lol

floral apex
#

Sebaastian has a secret life he's hiding from us

edgy crest
floral apex
edgy crest
#

|| akari breakout ||

floral apex
floral apex
acoustic moss
#

ok now i really want to make a atari breakout clone but with :akarys_spin:s

floral apex
#

Do it

edgy crest
#

Do it

floral apex
acoustic moss
#

yea

floral apex
#

Akarys is motivated to take down impostors of himself

#

They're all fakes, there's only one real one

mild abyss
#

imma get nitro just so u wait

gleaming gull
#

anyone know how to get root in code server

solemn leaf
#

@mild abyss did you update genshin

#

i got gamefile verifcation error after seriously downloading the complete update bruh

#

๐Ÿ˜ข

mild abyss
#

:)

solemn leaf
#

wow

mild abyss
#

imma play once november arrives again

mild abyss
gleaming gull
#

Does anyone here use code server

woeful wave
gleaming gull
woeful wave
gleaming gull
woeful wave
#

do you mind sharing a screen shot on how you tried installing the pip ?

gleaming gull
gleaming gull
woeful wave
#

So at the moment sorry that I wasnt so much of a help

#

ow by the way you can try the python general channel for further questions

quick ledge
solid pollen
#

overcooked is a good game too

#

just lacking the friend to play it with

#

yep.

dire siren
quick ledge
last mantle
#

i play vivek all day

dire siren
inland wolf
#

oh?

last mantle
#

lol what

inland wolf
#

i thought it would be slow

#

like pycharm

#

on my computer**

last mantle
#

hmm

past stone
#

guys

#

i'll go afk

last mantle
#

k

latent scaffold
opal atlas
#

time to get perfection or at least a correct intuition on python sinthax or synthax

grizzled bridge
#

hey the icon changed!!

silver birch
#

the universe should just delete visual studio its too confusing to have vsc and mvs in the same universe

#

its like 42 and (6*9)

#

they cannot exist in the same universe

grizzled bridge
#

???

solemn leaf
tranquil furnace
#

dead

odd sluice
#

daed

past stone
#

ay

#

@polar knoll

tribal aurora
next locust
tribal aurora
next locust
#

don't ping me it's not mie

latent scaffold
#

what

tribal aurora
#

Shrug

runic wigeon
#

The Halloween banner looks super cool

shut ermine
#

the first sin, you ask? yeah it was anime

last mantle
#

jeez

shut ermine
#

me

#

i talk to myself

dire siren
#

the fact that i joined the rust server and not even reading a page of the rust book

edgy whale
#

what does this mean in documentations?

acoustic moss
#

all arguments before the / are positional-only

#

so you can only call the function like f(5) or whatever, you can't call it as f(id=5)

#

also its not just documentations, its part of python syntax

edgy whale
#

ah thanks a lot

rough sapphire
#

i am joking guys

harsh tundra
rough sapphire
#

wHiCh lAw gUyS??

dapper dew
#

๐Ÿคฆโ€โ™‚๏ธ

rough sapphire
#

heckermen

inland wolf
#

?

opal atlas
#

Yes the law

quick ledge
#

@rough sapphire Please do not discuss piracy in this server.

shut ermine
gleaming gull
#

node app.js | bash

how do i pass args to the program when its runned with bash

random frigate
#

Relying on caffeine is not a good idea

#

Remember to drink water

tacit sandal
#

the mods have a pattern going

shut ermine
#

controlled substances that should be sold over the counter lmao

opal atlas
#

like what?

shut ermine
#

refuses to elaborate

opal atlas
#

I would like to know if we are in the same direction or have some warning for me

mystic isle
#

did anyone got a message like this from github

kindred juniper
#

servers r probably down

#

idt its a pron with ur computer

last mantle
#

that is a cursed taskbar

runic wigeon
#

sad noises

mild abyss
mystic isle
#

my desktop theme is windows classic

mild abyss
#

i do think u have fooled people as well

mystic isle
#

?

mystic isle
mild abyss
mystic isle
#

i do use windows 7

opal atlas
#

I have to get out right

#

I'm just paranoid and stuff

kindred juniper
#

lol

#

just like

#

go 20 feet outside

#

touch the grass

#

and come back in

mild abyss
#

@latent scaffold Yoinked Miya is just a hotter Amber. Change my mind

latent scaffold
#

They're super different tho tbh

#

Aloy and Yoimiya are fairly similar tho tbh lmao

solemn leaf
#

man

mild abyss
#

me talking about hotness
Pycereal:

solemn leaf
#

why m I getting file verification error on update

mild abyss
solemn leaf
#

mn

#

imma try once more smh

harsh tundra
opal atlas
#

You mean 2.0

shut ermine
#

:>

opal atlas
#

You can use the metric I'm gonna pass out

harsh tundra
shut ermine
#

im not breaking US laws pithink

harsh tundra
#

I was just referencing the thing before you wrote yours - normally I wouldn't care about aforementioned media piracy, because in here media can be legally downloaded "for personal use" (just not shared/uploaded anywhere, and software piracy is under different paragraphs so it's always illegal)

#

But we're in discord which is registered in US. And the person before admitted to breaking a specific law (downloading protected content, even gave a title) in a server with quarter million members XD

shut ermine
#

yeah i want to see discord enforce foreign laws to me that'd be grand, at that point i just give up literally 1984

harsh tundra
#

I don't mean discord enforcing, I mean someone reporting it. Discord doesn't care, as long as IP owners/agencies hired by those are not on their assets

#

*asses

#

My spellcheck is nice and thought I'm not gonna say asses XD

#

Like with the music bits

#

BOTS

shut ermine
#

imagine getting reported for gae in the middle east

harsh tundra
#

wtf spellcheck?

shut ermine
#

or for not wearing a burka that'd be funny too

harsh tundra
#

It's not in their jurisdiction, but they wanted to use social media to spy on people

#

Some services literally upped profile protection for people in affected regions. Like disabling visibility of a lot of stuff for people who aren't friends and such

shut ermine
#

yeah aint it fun being a criminal

harsh tundra
#

Back to US jurisdiction and media piracy... If someone reports it higher than discord itself or discord has people on their asses already, discord may be forced to disclose your IP and any info on your profile. Then depending on international contracts, it may get really annoying. Because copyright agencies like to pursue you until you have nothing left.

shut ermine
#

yes

harsh tundra
#

Anyway, catto

latent scaffold
#

meatloaf

opal atlas
#

Little plants

#

Are cuties and don't even know that

leaden bridge
#

how can I make this dockerfile more slim guys?

FROM python:3.9

WORKDIR /app

# install poetry
RUN pip install poetry

# install dependencies
COPY ./poetry.lock ./pyproject.toml ./
RUN poetry install

# copy project files
COPY ./ ./

EXPOSE 8000

CMD [ "poetry", "run", "uvicorn", "reddit:app", "--host=0.0.0.0" ]

mellow spire
#

python-slim:3.9

harsh tundra
odd sluice
#

what is docker-compose?

#

also you can run uvicorn inside python

harsh tundra
#

I think the poetry comments are kinda obsolete, "install poetry" while the code below is easy and literally says the same thing...

harsh tundra
odd sluice
#

was just a suggestion but ok

harsh tundra
# odd sluice what is docker-compose?

Docker-compose is mostly used to set up multiple docker containers working together. But can also be used for one, and it basically shows the config passed to the container itself. Like environment variables, what ports are exposed and mapped to what, what command is the main "run" command... It can also include healthchecks (commands executed periodically to make sure everything's working properly) and stuff

odd sluice
#

hmm

#

so it's docker but extended

harsh tundra
#

So basically Dockerfile is how to create an image, and compose is how to make it into container

#

Because you basically either have "use this image" (like this FROM python:3.9 here) or which Dockerfile to build + the config

odd sluice
#

ah i see

opal atlas
#

Toml

#

That's a real extension?

inland wolf
#

yes

odd sluice
#

toml is nice

opal atlas
#

Tomcat????

harsh tundra
#

Just Tom

#

TOML is a file format for configuration files. It is intended to be easy to read and write due to obvious semantics which aim to be "minimal", and is designed to map unambiguously to a dictionary. Its specification is open-source, and receives community contributions. TOML is used in a number of software projects, and is implemented in many prog...

#

Tom's Obvious, Minimal Language

odd sluice
opal atlas
#

Are u comparing me to steve jobs

inland wolf
#

lol

floral apex
# harsh tundra No

They've been at this for days, maybe a week. Not enough to count as a warnable troll but definitely enough to mess with people

inland wolf
#

gennie guy is epic

harsh tundra
#

Your local fox with xyr cat~

#

Telegram stickers make for a really nice face stickers

floral apex
#

If there's Telegram where's Snailmail

harsh tundra
#

Outside

rough sapphire
#

Ducky Vader be like: I find your quack of faith disturbing

distant hazel
dapper dew
#

Mina that cat is clearly orange

distant hazel
#

vwhat

dapper dew
#

๐Ÿคฆโ€โ™‚๏ธ

distant hazel
#

you FacePalm

dapper dew
#

I thought you were referring to the latest message

#

I'll see myself out of this reality

distant hazel
#

lolol. not that russian blues are blue anyway

dire siren
#

the-yellow-chat