#ot1-perplexing-regexing

1 messages ยท Page 573 of 1

inland wolf
#

so now

#

thats ur default distro

#

u can change it by doing wsl -s opensuse-tumbleweed

#

then the next time u run wsl it will open ur default

#

sudo zypper install gcc automake bzip2 libbz2-devel xz xz-devel openssl-devel ncurses-devel readline-devel zlib-devel tk-devel libffi-devel sqlite3-devel pyenv

#

do this once u get into opensuse

rough sapphire
#

wsl works nicely? im thinking about using it too for first time, currently i dual boot.

inland wolf
#

thta will get all the dependencies u need

acoustic moss
#

ok i got to opensuse

inland wolf
#

it will take some time

#

so get some popcorn

acoustic moss
#

what about sudo zypper in pyenv

#

do i do that

inland wolf
#

thats in the end of the statement

acoustic moss
#

ok

inland wolf
#

lol

#

u are getting all of those dependeinceis

acoustic moss
#

81 dependencies

#

interesting

inland wolf
#

yes

#

cuz ur bulding python

acoustic moss
#

from source!?

inland wolf
#

probably

#

not sure

#

damn

#

in this entire chat

#

i look very knowledgeable

#

B)

acoustic moss
#

pro

inland wolf
#

Orz

acoustic moss
#

you're using it wrong

#

but ok

wraith hound
#

Uhh, how do you uninstall opensuse now?

#

It broke

#

Like, a lot

full needle
#

throw out the hdd and put in a new one is my go to normally

wraith hound
#

When I open up a new terminal window,

acoustic moss
#

wsl --unregister?
idk

inland wolf
#

try running wsl -d opensuse-tumbleweed

acoustic moss
#

ok deps installed

inland wolf
#

ok

acoustic moss
#

now

inland wolf
#

pyenv install 3.9.5

#

or whatever version

inland wolf
wraith hound
#

Done, ty

inland wolf
#

did it work

wraith hound
#

Uh, no

inland wolf
#

bruh

acoustic moss
#

lol

wraith hound
#

I just unregistered it

inland wolf
#

oh

#

ok

#

well that works too

#

lol

#

u run the exe file again to register it

wraith hound
#

That's what I thought

inland wolf
#

but u might want to delete the folder and reextract the new folder

#

since the contents will change

acoustic moss
#

error moment

wraith hound
inland wolf
#

oh u need make

acoustic moss
#

do i sudo zypper install make or what

inland wolf
#

yes yes

acoustic moss
#

aight

inland wolf
#

i forgot to add that in

#

sorry

#

run that and then install 3.9.5 again

acoustic moss
inland wolf
#

thanks ๐Ÿ™

inland wolf
#

any other wsl wanting fellows?

#

i am here to assist in ur wsl endeavours

#

up until the install process

#

which is very easy

rough sapphire
#

noted for future references

inland wolf
#

always here to help

#

except when im not

#

in which case i wont be there to help

rough sapphire
#

understood sire

inland wolf
acoustic moss
#

how do enter a repl of a particular python version aaaa

inland wolf
#

pyenv global 3.9.5

#

then run python

edgy crest
#

yes

wraith hound
#

nvm is nice

#

Just like pyenv

#

But for node

inland wolf
#

oh thats cool

rough sapphire
#

nvm is luv

wraith hound
#

mhm

rough sapphire
#

what do you like?
nvm.
....

inland wolf
#

lol

#

nice one

acoustic moss
#
shakya@LAPTOP-04GJNCT8:/mnt/d/WSL/openSUSE-Tumbleweed-x64-Snapshot20210515.7.81> pyenv global 3.9.5
shakya@LAPTOP-04GJNCT8:/mnt/d/WSL/openSUSE-Tumbleweed-x64-Snapshot20210515.7.81> python
If 'python' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf python
inland wolf
#

fuck this happened to me

#

i dont reememrb how i solved it

acoustic moss
#

ok

inland wolf
#

please wait a maximum of 15 minutes

acoustic moss
#

time to gogole

inland wolf
#

or do that

#

yes

acoustic moss
#

your time starts now

inland wolf
#

bruh

#

im submitting an exam

#

but ok

rough sapphire
#

is there reminder system?

inland wolf
#

yes

rough sapphire
#

.remind 15m zee

#

!remind 15m zee

royal lakeBOT
#
Not gonna happen.

Sorry, you can't do that here!

inland wolf
#

!remind 15m help hahasitknypoopo

royal lakeBOT
#
Nah.

Sorry, you can't do that here!

inland wolf
#

ok

rough sapphire
#

oh

wraith hound
inland wolf
#

not doing it then

#

bucko

acoustic moss
#

missing the py launcher ๐Ÿ˜”

inland wolf
#

lol

clever furnace
#

Yeah sometimes happens with me

inland wolf
#

i dont

#

since i only use 3.9

#

u can use alias

#

in ur bashrc

#

so yea

#

ok

#

i will go now

#

my help will be missed i am sure

acoustic moss
#

thank

#

very thank

inland wolf
#

fear not mortals!

#

for i have returned

#

@acoustic moss while i was taking a shit i rememberd what i did to fix ur python not found issue

acoustic moss
#

and that is

inland wolf
#

one second i will boot up my opensussy

#

u didnt fix it yet?

acoustic moss
#

okbr

#

no i was doing english

inland wolf
#

oh ok

inland wolf
#

weirdly enough, my brain seems to solve a lot of problems while i taking a shit

rough sapphire
#

like? in? like hand?

#

like literally?

inland wolf
#

huh

#

no

#

thats what u say

#

when u are excreting

#

tf

acoustic moss
#

hm

inland wolf
#

lol

#

interesting

acoustic moss
#

back to opensus

inland wolf
#

yes

#

i have opened it

#

theres a few lines u need to add at the end of ur bashrc

rough sapphire
#

vivek was writing

inland wolf
#

for it to work i think

rough sapphire
#

basically path of py i guess

#

in bashrc

inland wolf
#
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init --path)"```
#

add this to ur bashrc

#

and restart opensus

#

it will work

#

i am sure!!

acoustic moss
#

where the fuck is .bashrc

inland wolf
#

stop testing

inland wolf
#

~ will go to ur home directory

acoustic moss
inland wolf
#

do u know how to vim

#

dont get stuck in it!!

last mantle
#

lol

#

:wq

rough sapphire
#

use nano

inland wolf
#

ok press o

last mantle
#

nano is eww

rough sapphire
#

for simplicity purposes

inland wolf
#

and paste this export PYENV_ROOT="$HOME/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init --path)"

last mantle
#

just
sudo zypper in neovim
nvim ~/.bashrc

inland wolf
#

@rough sapphirehstinkpoop

#

bruh

last mantle
#

lmao

inland wolf
#

well uh

#

alright

full needle
#

at least i can exit my editor and do something else lemon_sweat

acoustic moss
#

pasted

#

now what

full needle
#

reboot

acoustic moss
#

don't i have to save and shit

full needle
#

well yes save first..

#

then reboot

acoustic moss
#

how

clever furnace
full needle
inland wolf
#

press escape

inland wolf
#

and type :wq

last mantle
#

do you live in the terminal

full needle
#

yes??

#

do u not??

inland wolf
#

yea

#

ikr

#

imagine not living in a terminal

full needle
#

lmao this dhz wants to hate on nano but he dont even live in a terminal

inland wolf
#

@acoustic moss then restart wsl

#

it shoudl work

#

this should be the last step

acoustic moss
#

works

#

very nice

inland wolf
acoustic moss
#

pip exists, very nice

#

also

#

uh

#

where GUI

inland wolf
#

hah

last mantle
#

no GUI

acoustic moss
#

*how GUI

last mantle
#

only terminal

inland wolf
#

thats going to come in the next update

last mantle
#

GUI you can try rn

#

but eh

inland wolf
#

or on insider

#

:)

acoustic moss
#

interesting

inland wolf
#

ye

limber mantle
acoustic moss
#

can i use stuff like bash and zsh and fish and what not in wsl

inland wolf
#

yes

#

i use zsh

#

it is an ez process

tardy rain
#

You can definitely use zsh cause i use it too

inland wolf
#

sudo zypper in zsh

#

chsh -s path/to/zsh this sets ur default shell to zsh

acoustic moss
#

how do i see where zsh got installed

#

like

inland wolf
#

which zsh

acoustic moss
#

what do i put in place of path/to/zsh

#

ok

inland wolf
#

lol

#

this command is actually there in windows

#

but u need scoop for it

acoustic moss
#

where?

inland wolf
#

no

acoustic moss
#
C:\Users>where py
C:\Windows\py.exe
#

but ok

inland wolf
#

jiih

#

:"(

#

where broke :"(

acoustic moss
#

rip

#

anyway

#

do i do chsh -s usr/bin/zsh or chsh -s usr/bin

inland wolf
#

zsh

#

the former

acoustic moss
#

ok

#

chsh: usr/bin/zsh is an invalid shell

inland wolf
#

lmao

#

how is that possble

acoustic moss
#

idk

inland wolf
#

hmm

acoustic moss
inland wolf
#

shouldnt it do it by itself?

#

alright

latent scaffold
#

on Leap? I think you have to install it manually... so you can install pyenv manually

latent scaffold
#

oops. wrong reply

#

sudo chsh -s /usr/bin/zsh and then relogin

inland wolf
#

already solved all of those issues

#

:)

latent scaffold
#

:[

vapid nymph
#

@acoustic moss which zsh

#

If you do sudo apt install zsh it will be addable via chsh

latent scaffold
#

huh?

vapid nymph
last mantle
#

lol arnav

scarlet wind
harsh tundra
#

Discord blocked today 0.99 USD on the card, they probably got too many fake promo nitros and decided to check if there's at least something there.
(it's unblocked already for me, i just saw a notification from my bank app about it but didn't check its time)

near bolt
#

how do i start copying from file A from the 45th character to the end to file B?

acoustic moss
#

read the full file in a string, take a [45:] slice and write it to the second file

near bolt
#
    BYTE buffer;
    while (fread(&buffer, sizeof(BYTE), 1, source))
    {
        fwrite(&buffer, sizeof(BYTE), 1, destination);
    }```
acoustic moss
#

O its not python

#

idk then

near bolt
#

(this is to copy the whole file)

near bolt
inland wolf
#

while (fread(...) && !(count < 45))

#

wait no

#

put an if statement inside

#

and track the number of bytes youve read

harsh tundra
# lavish talon Wut really?

That's what I've seen as notification from my bank app. The blockade was temporary, as I said it was already lifted by the time I woke up and checked it (ie: I could see stuff when I clicked the notif but it didn't show as my current blocked amounts)

#

Ugh, 1.5h of zoom call

#

Debugging connection weirdness of some routers

near bolt
inland wolf
little bough
#

Hello I need help in small basic

#

I think it's .NET

#

is anyone here?

#

hello...

inland wolf
#

small basic?

little bough
inland wolf
#

oh idk this

#

vb moment

last mantle
#

Goto ๐Ÿ˜ฑ

inland wolf
#

goto is dope when properly used

little bough
#

when I run it it doesn't do what I expected it to do

#

after asking me to enter the temprature and the unit it stops at that

#

I edited it to look like this

acoustic moss
#

idk the language but is = used for comparisons?

inland wolf
#

yes

acoustic moss
#

or should it be ==

little bough
#

but now it does this

inland wolf
#

well its never ending @little bough

#

u keep going to celcius or fahrenheit

graceful basin
#

you need goto End of sorts after each of the sorta subroutines

little bough
#

what should I do then
i'm sure I ended the if

graceful basin
#

what happens after line 7 once the if has run?

little bough
graceful basin
#

yes, describe what actually happens using english

#

keep in mind you aren't using functions

little bough
#

how will it distinguish between which is in celcius and which is fahr then?

#

nvm

#

I will try that

#

You mean something like this, right?

little bough
#

I got it to work, thank you.

#

this is the end product

mellow spire
#

Anybody has tailwind components to make cards containing a small picture in a circle, and text beside that with a title?

#

Ok that was too much, any card would do, with picture and text

#

I know the perfect person for this, @wraith hound

wraith hound
#

Cards, like pricing cards?

#

Can you give an example

#

Or like a business card?

mellow spire
#

I am making a nomination/school election site which contains a picture about the nominee, some text about it and their name.

#

Any design would work but I was looking for something like this:

#

gimme a second, i will make one quick

#

there @wraith hound

#

and the circle would also be a pic

wraith hound
#

Uh, one sec

mellow spire
#

k

wraith hound
#

I can't find one rn, but I could probably whip one up if you want.

mellow spire
#

that would be awesome, I don't really do frontend stuff so dunno

wraith hound
#

I'm going offline rn, but I can do it in a little bit

#

Maybe an hour or so

mellow spire
limber mantle
#

@rough sapphire I liked also pretty much Accel World

#

Quite good one

quick ledge
#

It explains our help system.

scenic iron
#

Ok thanks @quick ledge

inland wolf
#

no problem

near bolt
#
fread(header, sizeof(uint8_t), 1, input);
fwrite(header, sizeof(uint8_t), 1, output);```
#
while (fread(&buffer, sizeof(int16_t), 1, input))
    {
        buffer = buffer * factor;
        fwrite(&buffer, sizeof(int16_t), 1, output);
    }```
#

why is it sometimes i see fread comes with an address like &buffer but sometimes it does not need &

#

when do we use &

#

also, would

fread(header, sizeof(uint8_t), 1, input);
fwrite(header, sizeof(uint8_t), 1, output);```
and
```c
while (fread(&header, sizeof(uint8_t), 1, input))
    {
        fwrite(&header, sizeof(uint8_t), 1, output);
    }```
#

do the same thing?

harsh tundra
# near bolt when do we use `&`

& means you pass the variable's address. That means, pointer to it.
If the variable is already of pointer type, you'd pass it without & if you want to overwrite space you're pointing to, not the current variable

near bolt
#

cuz i tried both ways, both work

harsh tundra
#

I have no idea what is fread and how it works underneath. I was just referring to the syntax itself

near bolt
#

alright

#

thanks

agile dove
#

does anyone have any good ideas for a website?

harsh tundra
near bolt
rough sapphire
#

aye

#

NOICE

#

help me think of a writing pseudo code for a query

#

I basically have to calcualte average number of days between start and end date, for n events

#

but some events haven't ended yet.. so what do I do to include those days

topaz aurora
#

@thin swallow tl;dr is that most Emacs packages are able to interact with each other through the use of "hooks"

rough sapphire
#

aye dont I know you from somewhere

thin swallow
#

but cant think of any uses for that... could you enlighten me?

rough sapphire
#

Emacs are for noobs, real power users use Nano

topaz aurora
#

Emacs comes with its own variant of LISP, appropriately called Emacs Lisp

rough sapphire
#

/s

#

||farts||

thin swallow
topaz aurora
# thin swallow but cant think of any uses for that... could you enlighten me?

For example, I have a plugin that runs tools like mypy and flake8 on the current buffer, but those only work if I have said tools on the PATH or I have a virtual environment activated.

Another plugin that allows me to activate virtual environments from within Emacs can notify that linting plugin: "hey, check if you can see these tools now!" and then stuff can work

thin swallow
#

oooh

topaz aurora
thin swallow
#

and whats the whole learning curve aboot?

topaz aurora
#

Configuring Emacs essentially requires you to learn a new language

thin swallow
#

ah lmao

topaz aurora
#

Keymaps are weird

#

You get strings like:

Ctrl-u Ctrl-c ! x
#

or to run some shell command:

Ctrl-c Ctrl-p u
thin swallow
#

weird

topaz aurora
#

You can always reconfigure, but even that's a mess

#

My configuration file alone has like, 400 lines of ELisp code

subtle dagger
#

Is it possible to make a Linux desktop environment with just python?

prime aspen
#

If you're brave, but most likely no since you're gonna work with X, but who knows, there are Python wrappers around non-Py things

latent scaffold
prime aspen
#

...PyInstaller exists yes but it feels dubious

latent scaffold
#

.pyc?

prime aspen
#

Isn't that just Python-specific bytecode rather than straight x86(_64)?

latent scaffold
#

ยฏ_(ใƒ„)_/ยฏ

prime aspen
#

Inb4 Cypher writes a Py-x86_64 compiler outta spite

latent scaffold
#

D:

latent scaffold
prime aspen
subtle dagger
#

You all are so smart, thanks for the answer

vapid nymph
#

@dapper shell how's the python IRC doing now? Does it still exist?

dapper shell
vapid nymph
#

Oh nice

dapper shell
# vapid nymph Oh nice

we occasionally get reports about how the freenode #python channel is going: not well.

fallow warren
#

this channel is breaking character

timber hedge
#

It works

#

trust me

little wolf
#

"it works
trust me"

  • Josh for "Microsoft Tech support"
willow osprey
#

why cant i do more transforms?

little wolf
#

you can do negative right?

willow osprey
#

yes

#

can I do an x transformation? its in orange when i do it

rough sapphire
#

You can only use one transform CSS attribute

#

You can use multiple transformations together

#

Also, you didn't put a semicolon after the first transform rule

limber mantle
acoustic moss
#

rich :chefskiss:

versed saffron
#

I saw $1400 for a sec and got confused

acoustic moss
#

lol

inland wolf
modern haven
#

.snake draw draw

median domeBOT
modern haven
#

nice

round rose
#

You can do just translate(...) for both x and y, or you can specify the transforms either separated with spaces or commas, I don't remember exactly

edgy crest
rugged echo
# willow osprey

yes, because you're overriding the first property. separate your transforms with commas, like transform: translateY(50%), translateX(50%)

rugged echo
scarlet wind
#

and do details work?

lunar nexus
#

im not into hacking, I just like this server

#

that's why I full trust my info here

inland wolf
#

u shouldnt

lunar nexus
#

but it's too late, no?

lunar crescent
lunar nexus
#

not at all, it's time to get progressively safe then

acoustic moss
acoustic moss
scarlet wind
acoustic moss
#

bruh

#

lol

scarlet wind
#

wot

acoustic moss
#

๐Ÿ˜”

scarlet wind
#

scam

#

@acoustic moss

lunar nexus
scarlet wind
lunar nexus
#

so if I use it with the right mechanism still a huge database?

rough sapphire
#

ur dad

inland wolf
#

lol

fossil solar
#

@edgy crest here

#

why won't it play :/

scarlet wind
#

sad

inland wolf
#

mkv

edgy crest
#

ye

fossil solar
#

lemme make it mp4

inland wolf
#

remux to mp4

edgy crest
#

ill convert to mp4

#

dw

inland wolf
#

ok

edgy crest
#

o alr

fossil solar
#

aight

edgy crest
#

lol

fossil solar
#

ull do it or should I convert?

edgy crest
#

hm

#

you

#

i cant find a good converter

#

and idk how to use ffmpeg

cedar adder
#

Hey idk if this is the right channel but does anyone use coursera ? I have a doubt regarding itโ€™s subscriptions

gritty zinc
#

I did use coursera, but I never paid for it

fossil solar
gritty zinc
#

(because it allows doing even paid courses in "audit mode", which only locks quizzes - everything else, even programming assignments, is accessible)

cedar adder
#

If I paid for a course using my apple id in the ios app, will I be able to access the course on desktop as well ?

#

Coz the prices desktop site and the ios app seem to be different for the same course

gritty zinc
#

uhh, sounds like something you want to ask their support

edgy crest
fossil solar
#

alright

#

I will use it as my background

edgy crest
#

lol

#

damn they are so fast

#

it was like 5 times less the speed for me

fossil solar
#

ah

edgy crest
#

gotta set a fixed framerate lol

cedar adder
#

Ok Iโ€™ll look around, thanks

cedar adder
#

Ok it turns out I can access it anyway

#

I paid for it and found out xD. But I took a gamble lmao. Coz if it wasnโ€™t accessible through desktop it would have been a waste since coding assignments can be submitted only through desktop lol

#

Yeah thatโ€™s what I did

tight ocean
#

anyone here know much about audio equipment?
me and my office have a podcast running thats gaining traction and we wanna get some clip mics, but Im not too sure of the ยฃ10 ones from amazon

pliant pine
#

bruh this is amazing

neon sluice
#

lol that was so smart

#

9999999 iq

sour lark
#

cuz normal names are for normal peaple

latent scaffold
#

llol I was there when that ping happened

twilit shore
#

they replied to a message last year

#

welp

fair olive
#

is this the anime channel?

acoustic moss
#

uh sure i guess

fair olive
fair olive
acoustic moss
#

i don't watch anime

#

lol

fair olive
#

how

clever furnace
#

I don't watch anime either

#

Bruh

fair olive
clever furnace
#

Cuz I don't have time

fair olive
clever furnace
#

Bruh u trying to sell anime??

fair olive
#

for free

clever furnace
#

idc abt anime stuff

#

sry

fair olive
#

whyyyyy

#

this breaks my heart

lunar crescent
fair olive
#

like movies

#

everyone have at least watchd one movie

rich moon
#

reject weeb return to human

fair olive
#

salut

rich moon
#

yes bonjour

fair olive
#

u french?

acoustic moss
#

๐Ÿฅ–

rich moon
#

im not from france

fair olive
#

canada?

cedar adder
rich moon
#

yeah

fair olive
#

u from which province

rich moon
#

what happend to ur brother

#

ima not doxx myself

fair olive
acoustic moss
#

reveal personal info

fair olive
#

oh

rich moon
#

expose my true identy on the wide internet

fair olive
#

is it against the rules

lunar crescent
rich moon
#

although basically everybody knows what the owners look like

fair olive
#

well i guess theres a bunch of python hackers

#

its still a python server

#

can i send tik toks here?

#

i dont speak on this server usually

rich moon
#

welp ur not supposed to spam

fair olive
rich moon
#

as some ppl just spam

#

ppl send yt vids quite often

#

so i would assume tiktok is a video medium

fair olive
#

damn my arm hurts so much

#

i got the vaccine

fair olive
rich moon
#

sImP

#

son

fair olive
rich moon
#

couldnt be me

#

simping

fair olive
#

Well man look at this

rich moon
#

ima guess thats attack on titan

#

never watched that before

#

so its just my guess

fair olive
#

Ur right

#

Eren is amazing

rich moon
#

u know its attack on titan when there is that weird skinless giant

fair olive
#

Micheal Jackson

rich moon
#

except that micheal jackson had a weird thing for kids

fair olive
#

Nezuko is 14

rich moon
#

dunno where that dude is from

#

never saw that before

fair olive
#

Demon slayer

rich moon
#

oh i heard of that

#

except i cant understand any of the anime memes

#

unless its jojo

fair olive
#

You watched jojo ?

rich moon
#

i only know memes

#

ie menacing

fair olive
#

You know Dio

rich moon
#

yes i know that meme to

#

its me dio

fair olive
#

Well your everyday life is a jojo reference

#

Cause every second you breath DIOxygene

rich moon
#

and also the omai wa mou shinderio

#

other anime meme

#

thats about all anime memes i know

fair olive
edgy crest
#

whot

fair olive
edgy crest
#

why

rich moon
#

someone who rejected humanity and returned to weeb

edgy crest
#

and.. why are humans on rent

cedar adder
#

Mizuhara chizuru

fair olive
cedar adder
#

Lol

#

Sheโ€™s hot

fair olive
#

My waifu

rich moon
#

im sorry but anime characters are kinda not real

latent scaffold
#

um

fair olive
latent scaffold
#

that's weird

edgy crest
#

ikr

rich moon
#

insert spongebob meme here

latent scaffold
#

๐Ÿงฝ

fair olive
rich moon
#

weirdly the organs reminded me of cells at work

#

apparently the content was pretty real

latent scaffold
#

hate TikTok

fair olive
rich moon
#

that bts meal sht

#

kinda funny tbh

#

to see the amogus bts chicken nugget go for 2000 dollars

fair olive
rich moon
#

intrestingly lots of anime ppl also like kpop

#

or at least the ones i know

fair olive
#

Korean pop is ๐Ÿ˜ฌ

#

Fine

rich moon
#

only anime intro that was decent was full metal alchemist

fair olive
rich moon
#

no im not weeb

#

as ive said before

#

i choose to accept humanity and not return to weeb

fair olive
#

Full metal alchemist doesnโ€™t even count

rich moon
#

although alot of my friends are

#

which is intresting

fair olive
rich moon
#

intresting picture...

#

some dude glaring

fair olive
#

Itโ€™s dream

#

Oups

rich moon
#

lmao wut

fair olive
#

There

rich moon
#

i just saw bts chicken tendy

latent scaffold
#

um

fair olive
fair olive
rich moon
#

mhm

#

okay

#

so y am i seeing a furry

fair olive
#

Ratatouille

rich moon
#

also a furry

latent scaffold
#

am I high

#

oh I'm not

fair olive
rich moon
#

im low

edgy crest
#

can you stop posting the cringe videos prayge

rich moon
#

lmao

fair olive
#

I have like a thousand tiktok but 9/10 of them are explicit ๐Ÿ˜ถโ€๐ŸŒซ๏ธ

fair olive
#

Itโ€™s because of the tiktok logo

edgy crest
#

no like, they are super random and not even funny

topaz aurora
#

I don't see how it's pertinent to the discussion, if there even is one

fair olive
topaz aurora
#

That said, we have an off-topic etiquette that says:

fair olive
#

They are always there in the dark watching us from the shadows

edgy crest
rich moon
#

big brother

fair olive
edgy crest
fair olive
rich moon
#

orwell go brrrr

edgy crest
#

heh

#

i should read animal farm

#

is it good

latent scaffold
#

there's a lotta shitposting goin on here

fair olive
rich moon
#

animal farm has some intreting topics

#

that it toches

#

most ppl initally make the connection between it and the ussr

edgy crest
#

hmm

rich moon
#

and i think it was initally satire for communism or sth

#

cant remember

#

bc i read it like 5 yrs ago

fair olive
#

Read entre chiens et loup

#

Very good philosophical book

golden walrus
#

Did You Know? Python Ft. Dave

#

a miniseries

eager cliff
#

does anyone know how to load in multiple sprite animation sheets in godot for one node/class

steady ridge
#

No

little wolf
#

from Python?

little wolf
solemn leaf
#

does it even have something unique

wraith hound
#

Apparently it's super unstable

#

That's all

left jacinth
near bolt
#
#include <stdio.h>

int main(void) 
{
    int n;
    scanf("%i", &n);
    char arr[n];
    for (int i = 0; i < n; i++)
    {
        scanf("%c", &arr[i]);
        printf("%i\n", arr[i]);
        
    }
    
}```
inland wolf
#

cant do that

#

u cant make an array with non-constant length

round rose
#

Some compilers have VLAs

inland wolf
#

i mean

#

u could use malloc

#

right?

round rose
#

It's in the C standard, and certain C++ compilers also support that, but like

#

malloc should be the go-to

inland wolf
#

which compilers support it

round rose
#

MinGW and cygwin certainly do, and I assume so does GCC

near bolt
#

im not sure why tho

round rose
#

MSVC doesn't though

inland wolf
#

maybe u were using a vla enabled compiler

acoustic moss
#

wait what

#

you can;t make arrays with lengths as a variable?

#

yk what i mean

inland wolf
#

u might

round rose
#

The C++ standard doesn't require it, C99 requires that, C11 makes it an optional feature, some compilers support VLAs, some don't

inland wolf
#

isnt c99 older than c11?

round rose
#

Yeah

near bolt
#

is this now allowed?

inland wolf
#

most likely

#

no wait

#

char** a

#

iirc

round rose
#

That's if you want an array of strings

#

char* a is correct here

inland wolf
#

oh

#

ok

round rose
#

VLAs aren't considered good practice though for performance reasons

inland wolf
#

wait arent u making a char array

round rose
#

IIRC that's why they were lifted from being required to optional in C11

weak stratus
near bolt
#

but like assuming that we can do char arr[n], idk why the output is so weird

#

when my input is
5
a
b
C
d
e

#

it shd give the ascii value but it gives out

97
10
98
10```
round rose
#

10 is the newline

#

Try scanf("%c\n", &arr[i])

near bolt
near bolt
# round rose `10` is the newline
#include <stdio.h>
int main(void) 
{
    int n;
    scanf("%i", &n);
    char arr[n];
    for (int i = 0; i < n+1; i++)
    {
        scanf("%c\n", &arr[i]);
        printf("%i\n", arr[i]);
    }    
}
#

input

5
a
b
C
d
e```
#

output

10
97
98
67
100
101```
#

could i ask wheres the 10 from

round rose
#

Probably came from after the length

#

scanf("%i\n", &n)

inland wolf
#

10 just felt like showing up

#

woah

#

it tracks that too?

near bolt
#

yeah uh how shd i get rid of it

round rose
#

10 is the newline that came from the line where you entered array length

rough sapphire
#

@vestal matrix @polar knoll

round rose
#

If you scan both the length and the newline, it shouldn't pop in anymore

near bolt
latent scaffold
#

This is mac ^

inland wolf
#

@graceful basin hes here too

rough sapphire
scarlet wind
#

@latent scaffold looks like I really messed up manjaro this time lol

#

I have so much lib32 stuff which when I try to remove

latent scaffold
#

it was bound to happen

scarlet wind
#
sudo pacman -Rns lib32-alsa-plugins lib32-fontconfig lib32-gstreamer lib32-libcanberra lib32-libpulse lib32-libva-mesa-driver lib32-mesa lib32-mesa-vdpau lib32-polkit lib32-systemd lib32-vulkan-radeon lib32-wayland
[sudo] password for arnav: 
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing lib32-systemd breaks dependency 'lib32-systemd' required by lib32-dbus
:: removing lib32-libcanberra breaks dependency 'lib32-libcanberra=0.30+2+gc0620e4-3' required by lib32-libcanberra-gstreamer
:: removing lib32-gstreamer breaks dependency 'lib32-gstreamer' required by lib32-libcanberra-gstreamer
:: removing lib32-libcanberra breaks dependency 'lib32-libcanberra=0.30+2+gc0620e4-3' required by lib32-libcanberra-pulse
:: removing lib32-libpulse breaks dependency 'lib32-libpulse' required by lib32-libcanberra-pulse
:: removing lib32-mesa breaks dependency 'lib32-mesa' required by lib32-libglvnd
:: removing lib32-mesa breaks dependency 'lib32-opengl-driver' required by lib32-libglvnd
:: removing lib32-wayland breaks dependency 'lib32-wayland' required by lib32-libva
:: removing lib32-wayland breaks dependency 'lib32-wayland' required by lib32-vulkan-intel
:: removing lib32-alsa-plugins breaks dependency 'lib32-alsa-plugins' required by steam-manjaro
:: removing lib32-fontconfig breaks dependency 'lib32-fontconfig' required by wine
#

so much

latent scaffold
#

lmao bruh

scarlet wind
#

that's why I wanted to distro hop and you said no

#

xD

latent scaffold
#

fine. go Tumbleweed

scarlet wind
#

I would need to try it out first

#

does it still has small fonts on first install and flashing screen @latent scaffold cuz I saw someones first impression to it?

#

it was only 1 month ago

latent scaffold
#

what

scarlet wind
latent scaffold
#

the Linux scene on YouTube is God-awful

gritty zinc
#

they really did call an RL algorithm GAE huh

topaz aurora
#
latent scaffold
#

lol "easy to use", huh?

topaz aurora
#

It gets tiring

latent scaffold
#

:L

acoustic moss
#

lmao

rich moon
#

the manjaro hate is just from groupthink

latent scaffold
#

From what?

#
"Groupthink is a psychological phenomenon that occurs within a group of people in which the desire for harmony or conformity in the group results in an irrational or dysfunctional decision-making outcome."

D:

#

Maybe that's true for other people but like

#

I hate it from experience

rich moon
#

yes group think

latent scaffold
#

wot

topaz aurora
#

I honestly couldn't care less

rough sapphire
#

hey, what is the code to turn something like this into colored python goodness?

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.

topaz aurora
rough sapphire
lunar crescent
latent scaffold
#

Alright, I'll stop

vapid nymph
#

Afk gonna look up manjaro

rich moon
acoustic moss
#

.topic

median domeBOT
#
**What is the tallest building you've entered?**

Suggest more topics here!

acoustic moss
#

i'll pretend that the bot asked me which kind of chocolate i like

#

now the meme is relevant to the conversation

#

๐Ÿ‘

edgy crest
#

bruh

#

cocoa butter

scarlet wind
# topaz aurora `pamac update`

Tried that but that gives all these lib32 things and askes for applying transactions. If I press y it fails and when I press e to edit build files it just makes me edit the build files like treams, zoom, vsc etc

inland wolf
# acoustic moss

honestly dark chocolate is just better than all other forms of cocoa

acoustic moss
topaz aurora
scarlet wind
#

Probably let me start up my laptop

#

@topaz aurora it's enabled

wild yarrow
#

white chocolate... YES ๐Ÿ™

lament wind
#

Hi I am from India joined this sever so that I can learn much more and I am new to programming and I started with Python
So that even though hard it might be fun
Nice to meet you guys

quick ledge
#

Hello ๐Ÿ‘‹

edgy rock
last mantle
#

...

inland wolf
#

yes

drifting sage
#

@stiff dagger I think you can't refund nitro

stiff dagger
#

damn

#

NOTE: You will need to reply to this email if you would like to forward this ticket to our support team!
This is an automated response to your ticket (14611599)!

Hey Skeletronboss666,

Clyde, Discord Support Bot here, sending you an automated message here first before I escalate you to one of our support specialists since I noticed you were writing in about a Google Play Purchase!

I'm so sorry to hear that your subscription didn't work out for you! We can help refund the purchase if the request was made within 5 days from your initial purchase date. (For more details on our refund policy, check out this link here: https://support.discordapp.com/hc/articles/360012668071)

How to Request a Refund?

Just to follow protocol, if your purchase meets our refund policy (linked above), could you confirm and explicitly tell us 1) the registered email address tied to the Discord account and 2) the order number that you would like canceled/refunded and we'll be more than happy to get the process started for you.

For example, you could respond by writing, "I confirm that I would like to cancel my subscription and receive a refund for Order Number GPA.XXXX-XXXX-XXXX-XXXXX my account associated with [your email address@email.com]."

Please keep in mind we need to receive the request from the email address associated with the Discord account to protect our users' privacy and security.

Note:

  • Unfortunately, for purchases through the Google Play Store, we are unable to downgrade/modify your subscription or manually change the number of Server Boosts for your subscription if you have any.
  • In order for us to process your refund request, the subscription will be fully cancelled and a partial refund will be issued for any previous subscription purchases that haven't run their full course yet.*

After we receive this confirmation, we can get that process started for you!

If you have any other questions or need further clarification, donโ€™t hesitate to respond back here so one of our team members can help!

Cheers,
Clyde, Discord Support Bot

#

thats the email theu send me

#

@lunar crescent they send me a email and it says this and i dont get what he means "a refund for order number"

lunar crescent
#

idk how to get a refund, i haven't ever gotten nitro anyways

stiff dagger
#

do you know paysafepaysafe ?

lunar crescent
#

no.

stiff dagger
#

nvm

near bolt
#

if the first number is the height and second number is the width, and this is the input i put in

5 5
x***x
xxx*x
x*xxx
xxx*x
*xxxx```
#
    int h;
    int w;
    scanf("%i %i", &h, &w);
    char arr[h][w];
    for (int i = 0; i < h; i++)
    {
        for (int j = 0; j < w; j++)
        {
            scanf("%c", &arr[i][j]);
        }
        scanf("\n");
    }```
#

do i do it like that (assuming i can declare the array dynamically without malloc like that)

#

im confused abt the scanf("\n") part for each row

brazen ingot
#

I am having some confusion in installing JetBrains Mono Font, where should I unzip all the .ttf files?

latent scaffold
brazen ingot
#

Windows

#

Well, first time doing something like this smhh

#

Guide me please!

latent scaffold
#

double click the TTF

brazen ingot
#

oh sure wait

#

Where should i install it though

latent scaffold
#

uh... your system

brazen ingot
#

ohk

#

@latent scaffold

#

facing this ๐Ÿ˜”

#

Well, this is image from google ofc, I have uppercased B not b in the Brains so yea?

#

any idea?

latent scaffold
#

uh

#

I dunno

brazen ingot
#

ohk

#

anyne then?

inland wolf
#

u installed the font?

brazen ingot
#

yep, ig

#

I installed from the web

inland wolf
#

and whats the problem

#

ur changing ur editors font?

brazen ingot
#

not zipped the file? idunno which one to?

inland wolf
#

did u click install

brazen ingot
inland wolf
#

windows terminal?

brazen ingot
#

Trying to configure JetBrains Mono as my default font to be used across all shells.

inland wolf
#

did u click install

brazen ingot
#

Oh can i do all in one time?

inland wolf
#

yes

brazen ingot
#

how?

inland wolf
#

select all of them and right click

brazen ingot
#

ok

#

done

#

then?

inland wolf
#

click install

#

or u can do this

brazen ingot
#

there is not install thing coming up!

inland wolf
#

u dont get an install button?

brazen ingot
#

no

inland wolf
#

search fonts in windows search

brazen ingot
inland wolf
brazen ingot
#

did it

#

then?

inland wolf
#

drag and drop the fonts into the drop zone

brazen ingot
#

all right?

inland wolf
#

if u did that

#

then u installed the font

#

now change it in ur terminal

brazen ingot
#

ohkk

#

Installed all

#

@inland wolf What to do now?

inland wolf
brazen ingot
#

godamn

#

tysm!

inland wolf
#

did it work?

brazen ingot
#

โค๏ธ

#

yep lol

inland wolf
#

dope

brazen ingot
#

smort

#

@inland wolf badass boi

inland wolf
#

nice

#

is that wsl?

brazen ingot
#

yep

#

trying new things out

inland wolf
#

very nice

#

wsl is cool shit

latent scaffold
#

but... Firacode

inland wolf
#

lol

brazen ingot
#

never used linux but using wsl ๐Ÿ˜„

inland wolf
#

i think its a good way to start linux

brazen ingot
#

now can use all features

#

yeah

inland wolf
#

because u can get used to the terminal

#

and if u mess up

#

it wont brick ur pc !!!

brazen ingot
#

ye

inland wolf
#

basically all the good things abt a vm

brazen ingot
#

I have a nice idea using windows terminal not linux lol

inland wolf
#

lol

brazen ingot
#

trying to learn ๐Ÿ˜„

inland wolf
#

have u tried using vscode with wsl

#

its chefskiss

brazen ingot
#

hope for the best

brazen ingot
inland wolf
#

theres an extension

#

called Remote - WSL

brazen ingot
#

yeah i saw

#

lol

inland wolf
#

yea

#

its good

brazen ingot
#

it got me in recommendatioons lol

#

i told him will do later i have more to do now

#

lol

inland wolf
#

lol

brazen ingot
#

So you guys have any recommendations for me about nice colorSchemes!

#

?

inland wolf
#

i like material ocean

brazen ingot
#

Oh what's the name like what Should I put in that string?

inland wolf
#

no u have to add the themes colours to ur settings.json

brazen ingot
#

ik

#

lol

inland wolf
#

just read the docs

#

i dont remember exactly how u do it

brazen ingot
#

I know buddie!, Thanks!

inland wolf
#

ight

brazen ingot
#

"colorScheme": "One Half Dark" tried this looks fine

inland wolf
#

lol

brazen ingot
#

ok lil

inland wolf
#

provided that One Half Dark is in the default list of themes

brazen ingot
#

mhm

inland wolf
#

ye

brazen ingot
#

goodamn this looks good @inland wolf

inland wolf
#

lol

brazen ingot
#

learned a new command nano lmao

#

nice

#

will be enjoying editing py files in the cute terminal

honest star
#

nano is the closest I'll ever get to using vim

brazen ingot
#

yeah

#

exactly

#

That's what I felt lol

#

๐Ÿ˜„

#

Now, will be savage sharing terminal pics lmao

inland wolf
#

lol

#

oh yea

#

get neofetch

#

so u can really flex it

lunar nexus
#

thats cool af

brazen ingot
#

make nice terminal, then do flex!

brazen ingot
inland wolf
#

sudo apt install neofetch

edgy crest
#

did someone say terminal pics?

inland wolf
#

vrug moment

brazen ingot
#

lmfao

inland wolf
#

qait

#

why did u run it with vash

brazen ingot
inland wolf
#

cant u just do .\colouring.bash

#

wait no