#ot1-perplexing-regexing

1 messages · Page 518 of 1

lone cradle
#

I love that meme

round rose
#

The phrase just sounds unreasonably funny to me

acoustic moss
#

wack

lone cradle
#

sup with gamestop now? stonks?

rough sapphire
#

Some pause of trading in the weekends

lone cradle
#

wait I just googled, NYSE is closed on saturdays?

solid pollen
#

Yep

#

Give them a timeout haha

#

It isn't open on saturday either

lone cradle
#

haha

low chasm
#

Lol

lone cradle
#

hey!

#

how was your day so far

low chasm
#

Good

#

Yours?

lone cradle
#

really noice

low chasm
#

Alright lol

rough sapphire
#

But I've seen some people saying they'll buy on Monday

lone cradle
#

I think he means the gamestop stores across the country are closed

#

and not the NYSE

rough sapphire
#

Hmm

#

Maybe both?

lone cradle
#

yeah both are, but in "It isn't open on saturday EITHER", he meant it for the stores

solid pollen
narrow pecan
#

Hey! Thanks, I drew that on my iPad with an Apple Pencil 😄

#

If you want to annotate in a similar way and don’t have an iPad or drawing tablet, I’d recommend just using some shapes (like squares) and normal text. That’s a builtin feature on Mac and I assume there would be something similar on Windows

rough sapphire
#

nice handwriting

narrow pecan
#

Thanks :)

topaz aurora
agile heart
tribal aurora
#

elo

ruby fox
#

guys isn't there a app, which can find a computer part's photo to find its specs?

versed saffron
#
fn main() {
    let f = input("Hey :) >>\n".to_string());
    println!("{}+{}", f, input("hi :)) >>\n".to_string()));
}

fn input(message: String) -> String {
    use std::io::{stdin, stdout, Write};
    let mut s = String::new();
    print!("{}", message);
    let _ = stdout().flush();
    stdin().read_line(&mut s).expect("Idk");
    s
}```
```py
>>> Hey :) >>
input
>>> hi :)) >>
input2
>>> input
>>> +input2 
#

anyone know why that's happening

simple sand
#

rust?

versed saffron
#

i kinda expected it to be on the same line

#

ya

simple sand
#

oh this exists

versed saffron
#

ah ty

simple sand
#

I was just testing lol

#

if it existed or not

versed saffron
#

wait a sec lol

simple sand
#

and thats not rust server

#

lmao

versed saffron
#

weird that that's whitelisted

inland wolf
#

idk if this ill work but try stdout().flush().unwrap() instead of the let thing

mild abyss
#

i agree with zshanook

versed saffron
#

ah there was a '\r' char

inland wolf
#

brh

#

also

#

return s.trim()

#

instead of just s

versed saffron
#

what does that do

inland wolf
#

cuz there will be a trailing \n

#

trim removes whitespace on both ends of the string

versed saffron
#

with s.trim()

inland wolf
#

yes

#

trim returns &str

#

u can change the return type

#

or

#

convert the str to String

#

like s.trim().to_string()

#

i think that will work

versed saffron
#

ya that works thanks

inland wolf
#

nice

edgy crest
#

i am glad i understand what you guys are talking about

inland wolf
#

ok

fossil oxide
#

if anyone wants repl.it codes or balsamiq codes pls dm me i won quite a few in a hackathon and i have no use of it

clear plume
#

Because what could go wrong with running code from a random person who claims to have won multiple large scale events

simple sand
#

chocolates taste amazing!!!!

narrow pecan
simple sand
#

i just ate 5 bars rn

narrow pecan
#

Oh dude

topaz aurora
#

five

#

At best I eat like a half

simple sand
#

they are so good though

#

and they weren't that big

rough sapphire
#

how can i make my discord bot online?

prisma agate
#

I turned off secure boot and now windows defender real time protection is off and I can't turn it back on. Is this normal should? should I be worried?

brazen mica
#

just turn it on, go in settings for windows defender and turn it on

prisma agate
#

I can't I get it turn back on

brazen mica
prisma agate
#

I get timeout error

brazen mica
#

you get error, when you turn on the "toggle button" of real time protection inside that Windows Security App?

prisma agate
#

yes

brazen mica
#

idk, this is a first

solid pollen
#

Secure boot shouldn't do anything about that

#

Sounds like windows fucked up again though

#

Can you try to reboot?

brazen mica
#

yeah, I turned of secure boot, and it stayed the same

prisma agate
#

I'll try that

brazen mica
#

but, I hate windows defender, so I completely removed it in the first place 😂

prisma agate
#

How did you manage to do that?

#

as far as I know you can't do that

brazen mica
brazen mica
#

but it takes far less skill set to do that

prisma agate
brazen mica
#

that "anti malware service executable", it runs background scan on AC power, and my laptop is always on AC power, so it consumed lot of ram and cpu, so I shut it all down

prisma agate
#

as in disable it or Delete it?

#

I know you can disable it, but how did you remove it entirely

prisma agate
#

It consumes too much ram

brazen mica
#

how much you have? total?

prisma agate
#

4 GB

brazen mica
#

yeah, if you're 4gb and don't need windows for anything except coding, switch to linux

#

I need this sh** for Ms Office stuff

#

so I have to stay

#

and while I'm staying, I might as well code in this

prisma agate
brazen mica
#

not Microsoft's

rough sapphire
#

you can use web versions

brazen mica
#

there's some Office-libre stuff

brazen mica
prisma agate
#

microsofts online stuff is free

brazen mica
#

you know, if this is legit, like seriously legit, I'm switching tonight

#

not kidding

rough sapphire
#

what distro

brazen mica
#

recommendations?
I was ubuntu user before this

#

mint maybe?

rough sapphire
#

ubuntu is, meh

solid pollen
#

Heh, you can use Google Drive to load Office documents

prisma agate
#

what all changes can I expect in linux from windows, like if most of my time on laptop is spent on coding, music(spotify), whatsapp, and browsing?

brazen mica
#

yeah, I did some tcl on that

solid pollen
#

Ubuntu is good for beginners, although I prefer Debian

solid pollen
#

Mint is soulless

rough sapphire
prisma agate
brazen mica
prisma agate
#

after I switch

#

I probably will buy a better laptop first

rough sapphire
#

even the best penetration testers use kali in a vm

prisma agate
#

why?

solid pollen
#

please 👏 don't 👏use👏Kali👏as👏your👏daily👏driver

rough sapphire
#

it is very-very unstable thing

solid pollen
#

It isn't made to be a daily driver

brazen mica
#

yeah, its like for hackers to practice hacking, I've heard

prisma agate
#

I was trying it out for exactly that!

rough sapphire
#

it will come with shit-ton load of tools that can potensially fuck up your install

solid pollen
#

Although it doesn't use the root user by default now

#

But still

brazen mica
#

yeah, I think Mint's the next choice

solid pollen
#

Please don't do that

#

I hate Mint, but at least it is an okay choice :P

rough sapphire
#

if you need "hacker tools" you can use katoolin to install them

prisma agate
#

so what linux should I go for, I haven't used linux before only windows so something not too hard to operate

rough sapphire
#

my personal favorite is Debian with KDE

brazen mica
#

u know, Ubuntu might be meh... but it never slowed down on me, ever, it was swift always

rough sapphire
#

i have 4 gig ram and 2 core 3 GhZ cpu with onboard graphics, debian never even lagged on me

brazen mica
solid pollen
#

I'd recommend you Debian if you are getting started

#

If you are looking for some challenge you can go for Manjaro

rough sapphire
#

there's a difference between "probably best linux distro for some guy" and "probably best linux distro for some guy"

prisma agate
#

I-

rough sapphire
#

Ubuntu has most users, that means it is most likely to be best single distro for someone

brazen mica
#

although, although I'm going for Mint, cause I've heard or read it received some really nice updates and changes this time around

solid pollen
#

Ubuntu is based on Debian

rough sapphire
#

But keep this in mind

solid pollen
#

So everything you'll see about Ubuntu can be applied to Debian

rough sapphire
#

It has 20% in share, that means 80% it is not the distro you will be most satisfied

#

So, just go for ubuntu, is a bad practice imo

#

look at my other messages

brazen mica
#

yeah, windows can play games, hence the best os ever

rough sapphire
#

no no, i use Debian

prisma agate
#

you cant play games on linux?

solid pollen
#

You can

rough sapphire
#

You can

solid pollen
#

More or less

brazen mica
#

more or less 😂 , yeah

rough sapphire
#

you also have to learn how to use usb's

brazen mica
#

ok, ms-online works, I'm switching

#

thanks @rough sapphire was it? i think

rough sapphire
#

what?

brazen mica
#

I mean, you suggested it, that its free

rough sapphire
#

free as free software

#

not free to use

topaz aurora
#

Any Linux distro can be used in-place of Kali

solid pollen
#

Most DE will prompt you to mount the USB device now

prisma agate
solid pollen
#

Cool

brazen mica
rough sapphire
#

it is

brazen mica
#

ms-office online for 5gb storage, its free

rough sapphire
#

all distros are

solid pollen
#

The definition of free software is a bit special

rough sapphire
#

that free is meant for free software

brazen mica
#

I mean, Microsoft-Office Online geez

rough sapphire
#

oh

brazen mica
prisma agate
#

well how do I get started with dual booting linux

#

without external media btw

solid pollen
#

You two definitions mostly:

  1. Software that you don't need to pay for, that's the definition for just "free"
  2. Software that is open source, because the Linux community decided that using free for this was smart
solid pollen
brazen mica
rough sapphire
rough sapphire
prisma agate
solid pollen
#

No idea then haha

#

I never looked into dual booting with one disk

rough sapphire
#

i think you would like to go with something like 128GB or 64GB partiiton

solid pollen
#

Well, I know what the general procedure is, I don't know exactly how you do it

brazen mica
edgy crest
#

ARCH

brazen mica
#

👆 the teach everything

rough sapphire
edgy crest
#

oh we are talkin bout beginners

rough sapphire
#

Yeah, don't scare him

edgy crest
#

ubuntu i guess then

rough sapphire
#

But a cool side of Arch is you are free to say "I use Arch btw"

edgy crest
#

you cant even get i3 gaps on it though bruh

rough sapphire
#

But other than that all downhill

rough sapphire
edgy crest
#

eh manjaro?

brazen mica
#

installing arch is worth it, only if you're gonna stick to using arch, and never switch back
lot of work

edgy crest
#

idk

#

idk install any of a distro if you can

rough sapphire
#

home server stuff

edgy crest
#

get debian then?

brazen mica
rough sapphire
edgy crest
#

then what are u talking bout

rough sapphire
#

i told for him

edgy crest
#

ah

#

who is him here i dont see him anywhere

solid pollen
#

If there is one thing I don't miss over anything else, is updates during runtime

round rose
#

I've never had those actually

edgy crest
#

lol rest in piece

#

i just casually update while reading a pdf lol

#

except when i get mirror failures thats annoying

round rose
#

It always tells me it's going to update outside of my active hours, and then it never does unless I press "update" manually

rough sapphire
#

even tho we all use different distros can we agree to not use kali?

edgy crest
#

yes

edgy crest
#

its not even a proper distro

solid pollen
#

Well

#

Not as a daily driver

round rose
rough sapphire
rough sapphire
round rose
#

Oh, 10

#

7 reached EoL a while ago, didn't it?

rough sapphire
#

i still dual boot to it

edgy crest
#

well some people are still using XP

solid pollen
#

It reached EOL though

rough sapphire
#

i only use it few times a year

round rose
#

Some people still use python 2, that doesn't make it any better

solid pollen
#

Ah, you already said it

prisma agate
rough sapphire
#

idk, i don't code py that much

prisma agate
#

how to remove ping in edit mode in discord?

rough sapphire
rough sapphire
rough sapphire
#

use this for "non free" debian

solid pollen
#

Why would you want a non free version?

rough sapphire
#

if you have a nvidia card

#

and he is a beginner, he shouldn't have to deal with driver installation

edgy crest
#

ah frick nvidia

prisma agate
rough sapphire
solid pollen
#

Isn't driver installation done at install time?

rough sapphire
rough sapphire
solid pollen
#

Alright, that's pretty dumb

#

Never use mesa drivers

#

They are just hot garbagio

rough sapphire
#

never open vim

prisma agate
#

I dont have nvidia

#

I have intel 4000 graphics something

rough sapphire
#

i don't think it would hurt to have non-free version, if you don't need any non-free stuff it just won't install it

#

and btw choose a desktop env first

prisma agate
rough sapphire
#

your desktop enviroment

#

This insatalls kde

#

and non-free stuff, if you have

prisma agate
#

Can you join voice chat I share my screen or something

#

if thats possible

solid pollen
#

You can't share screen on the server

prisma agate
#

or basically I dowload the file, make a partition copy and run

solid pollen
#

You download the file, burn it to a CD, and boot on it

rough sapphire
#

or make a bootable usb

#

which is more preferred tbh nowdays

solid pollen
#

Eeehhh

clear plume
#

Usbs are being used more and more, so I agree.

solid pollen
#

I personally prefer to make cds of I'm working with laptops, so I will still have the installation medium on hand, without locking one of my USB

rough sapphire
#

but i doubt he has a cd burner

prisma agate
#

i have a 4gb pendrive, i dont think thats enough capacity?

rough sapphire
#

it is

solid pollen
#

CD players have burners integrated now

#

It should be

rough sapphire
#

deb is around 3.9 gig

#

at most

rough sapphire
prisma agate
solid pollen
#

Fair 'nuff

rough sapphire
#

well i have to go, see you akarys and good luck with your installation darkligt

prisma agate
#

Thanks

#

bye

solid pollen
#

Cya!

wheat lintel
#

Hey, I need some help with my laptop under performing while light gaming, thanks.

quick ledge
#

but it's worth a shot on a 4GB pendrive, if you don't have anything else lying around

prisma agate
#

made 128 gb partition

rough sapphire
#

okay

#

burn your iso file there

quick ledge
prisma agate
#

I don't think so

#

I have windows 256 gb partition

inland wolf
#

installing linux?

prisma agate
#

yeah

inland wolf
#

i see

prisma agate
#

should I do NTFS or exFAT

#

or do not format this volume

#

@rough sapphire

#

I have the iso downloaded in the D: volume btw

rough sapphire
#

do not format

#

you have to burn iso to a usb

rough sapphire
quick ledge
#

alright

prisma agate
#

i ran setup.exe, it asked normal mode or expert mode

#

i chose normal mode

quick ledge
quick ledge
prisma agate
rough sapphire
#

idk about them, sorry

quick ledge
prisma agate
#

in the window for setup.exe

#

then it prompted me to reboot

#

windows is safe

#

i got back into my laptop 😅

#

as I typed out my problem

#

@rough sapphire

rough sapphire
#

debian gnu continue install process

prisma agate
solid pollen
#

... lol

rough sapphire
#

no idea

solid pollen
#

This is why you don't want to use the Windows bootloader when dualbooting

prisma agate
#

clicking windows 8.1 starts windows

rough sapphire
#

i think he(correct me if i'm wrong) didn't install debian yet

prisma agate
#

then why would it show me the option to continue install

#

what is that?

rough sapphire
#

was typing yo somewhere else

prisma agate
#

ohh

prisma agate
#

@quick ledge

#

I started making the bootable drive after finding my long lost usb

#

But I discontinued the previous installation

prisma agate
#

and now I have decided to install manjaro

#

so how to remove those pseudo debian on my system and

#

how to boot from usb

prisma agate
#

i kinda installed it

#

and DONE

#

YAAY

quick ledge
#

cool 😄

rough sapphire
rough sapphire
#

im a real gamer

honest pawn
frozen thorn
#

a̶s̶d̶f̶

tribal aurora
#

what happened to the logo?

wise oriole
#

valentines day theme

rough sapphire
#

happy february to anyone in EST

#

why is "happy february" not a thing? i mean, a new month only happens 12 times a year

rough sapphire
#

I mean

#

That's the thing

#

There are no "happy <month>" because there are 12 of them

#

Except for beyond September, which is because Christmas is near

#

Yeah

#

Though people can also simply just be excited for it

#

But I think belief in Jesus also contributes

rough sapphire
#

i would think it would only be december

frozen thorn
#

Hmmm

#

lol dementati changed pfp

#

I guess he/she own the statue or visit the place where it is occasionally.

haughty fractal
#

I love the new logo :)

rough sapphire
narrow pecan
mild abyss
#

beaster vester cucumber

narrow pecan
#

Am I a beast?

mild abyss
#

we are all beasts

#

we just never identify ourselves as one because we think we are higher form of organism when we arent huhuhu

narrow pecan
#

Loll that’s something new

#

I’d say that we’re animals and not beasts, but yeah, the same concept applies

rough sapphire
#

It is kinda reasonable to think we are a "higher form" because of self-awareness

#

And I don't mean that like "you can abuse lower-form animals"

mild abyss
#

in biology, there is no such thing as higher form or whatever level. sentience is just a trait that we evolved luckily i guess.

rough sapphire
#

Hmm

#

Maybe there is, but not in the way people might think "higher form" means?

#

I'll be honest, but it doesn't seem that sentience from luck should disallow people being a "higher form", whatever that is

mild abyss
#

in terms of terraforming yes, but biology? no

narrow pecan
#

Humans can only scratch the surface of earth. We could destroy most life, but we can’t destroy the planet itself

mild abyss
#

yeah if we are talking about the consciousness, then probably

rough sapphire
narrow pecan
#

Of course

mild abyss
#

no. it should be should

rough sapphire
#

I think that is possibly the case nowadays

narrow pecan
mild abyss
#

the earth is itself a nuclear bomb given that its core has lots of radioactive materials

#

fun fact 😄

rough sapphire
#

...

mild abyss
#

lol, it already is melting at a point of no return

narrow pecan
#

That would just be like the earth scratching their knee. It’s nothing compared to the huge planet that’s inside the crust

mild abyss
#

except extremophiles

narrow pecan
#

Most of the ones we commonly think about, yeah

#

But things living at the bottom of the sea? Things living under the ground? In caves? In great mountains or in the middle of the Pacific Ocean?

mild abyss
#

extremophiles will still live regardless hmm

rough sapphire
#

It is interesting that the only reason nuclear warfare is not currently the case is because it's redundant

narrow pecan
#

I mean, poison the entire ocean?

mild abyss
#

u wipe their source of energy or sustenance i guess

narrow pecan
#

That’s about 1.35 billion trillion liters to poison

mild abyss
#

air inside the rocks can suffice most extremophiles

#

though the ones that depend on the atmosphere would probably die

acoustic moss
#

wth happened here

solid pollen
#

.....

#

why

rough sapphire
#

Nothing too complicated

acoustic moss
#

lovely

rough sapphire
#

'Tis indeed

#

It kinda is

rough sapphire
#

Like in the game ||Horizon: Zero Dawn||

undone fox
#

do you like to tilt your chair so that it's swinging?

acoustic moss
simple sand
#

from 1965, wow

acoustic moss
#

C really caught on lol

inland wolf
#

damn

finite sierra
#

i haven't even heard of ada

graceful basin
#

Ada is really neat

tropic ibex
#

How do we know that ‘To Autumn’ is an ode?

edgy crest
#

rust is not on the list

inland wolf
#

sad moment

bright solar
#

@wheat lynx I agree, is asking people if things are true bad too?

wheat lynx
#

I'm not sure what you mean

acoustic moss
edgy crest
#

yeah

solid pollen
#

Yep

edgy crest
#

released on 2016 iirc

solid pollen
#

2016 iirc

edgy crest
#

jinx

acoustic moss
#

jinx?

solid pollen
#

oh no

edgy crest
#

double jinx

acoustic moss
#

lol

#

fortran held the top spot for quite some time

edgy crest
#

probably because you cant immediately switch to a new language

#

even after a release of a new one

acoustic moss
#
program hello
  implicit none
  write(*,*) 'Hello world!'
end program hello
#

hello world in fortran

edgy crest
simple sand
acoustic moss
#

I'm still stuck in the 60s at best 🥲

simple sand
#

my accuracy isn't that good, this is one of the few times i got 100%

surreal otter
#

or just power through the errors?

clear plume
#

That's not bad at all lol

surreal otter
#

looks like a cool site

clear plume
#

108 wpm w/ 97 acc

surreal otter
#

better than I expected tbh

mellow fog
#

okay i just read the installer news on python.org and i noticed it say python 3.9.1 is the first python to support macos 11

#

don't ask me how i did it, but apparently earlier versions also work lmao

haughty fractal
#

Is there a server for C++ where ppl can ask doubts?
*don't ban or kill me(I ❤️ python)

inland wolf
#

yes

#

i dont have the link tho

haughty fractal
#

what's the name?

inland wolf
#

together with c/c++

#

i think

haughty fractal
#

oh that ._.

#

nvm

inland wolf
#

ight

mellow fog
misty dew
#

@nova basin but python is very useful for teaching the concepts of programming

#

and is much more beginner friendly than java

lone cradle
#

I am coming

#

here tooo

nova basin
# misty dew <@!747637186257616969> but python is very useful for teaching the concepts of pr...

Agreed. I started with Python, and it took me probably 2 years until I actually knew what I was doing. I knew and understood the basics like loops and stuff pretty early on, but had no idea how oop worked. Now I’m learning Java, and had I started with Java it would’ve forced me to understand those things early on and not left me confused for the first 2 years when I started programming

misty dew
#

well if you had followed a proper tutorial they all teach the concepts to you

gritty zinc
#

I was taught Java as my first "serious" language (after a few years of some Basic and Pascal derivatives in middle school), and I don't think I like the results. Even now that I know Java better, I don't program in it much; it's just that the niche in which it's good is pretty small (app development?) - in most cases, it's just unnecessarily verbose and not very fast.

Learning Python was what made me really start programming all the time, for my own tasks, because it became simple to just go and write a program. I understand the argument that it's hard to teach, say, DSA in Python, but I'm not sure what's a good alternative.

green eagle
#

ot

frozen coral
#

Ahh cool, @royal lake is streaming again

rough sapphire
#

Wow! Cool stream, I never expected @royal lake to stream things this cool.

inland wolf
#

agreed

acoustic moss
#

wish all youtubers put in half this much effort 😔

wheat lynx
#

does anyone know the name of the music in the stream, i'm sure i've heard it somewhere before

solid pollen
#

Nah, I don’t know

midnight dirge
#

I think it's one of those 1800s classic

finite sierra
#

😔 those classics never really give you up huh

gritty zinc
solid pollen
#

I almost clicked

gritty zinc
finite sierra
#

i now know not to click on any youtube link in discord that doesn't render its embed

thorny shoal
#

hello there, i would like to apply for the modmail role

#

thank you

finite sierra
#

first case of humans taking over computers jobs

solid pollen
#

You’d probably be less buggy than our current modmail

#

It breaks after each restart

gritty zinc
#

beep bop I'm listening to DM reports, fellow bots!

finite sierra
#

is a modmail system that hard to make? couldn't we just integrate something like it into @royal lake / make our own?

rough sapphire
#

Someone should report ModMail

finite sierra
#

in my head it doesn't seem too difficult, but i think i'll run into issues the second i start

solid pollen
rough sapphire
#

What projects have you guys recently done in Python

solid pollen
gritty zinc
#

I tried to make a scanner for Minecraft region files, realised it takes 121 ms to scan a chunk, said yikes and did it in Rust.

#

In Rust, it takes 2-4s per 1024 chunks.

(prime example of something Python is just not good for. There was no way to make the Python way faster, not unless I wanted to rewrite the library I was using in Cython or something)

rough sapphire
#

I know bugger-all about Docker, sadly and unfortunely

#

Don't know anything too, but Rust's speed kinda makes me curious

inland wolf
#

same

rough sapphire
#

Friendship ended with duck typing

#

private static void main is now my friend

inland wolf
#

i need to learn what X typing is

rough sapphire
#

d**king hell

acoustic moss
#

is X typing just figuring out what goes in place of *s

rough sapphire
#

If I am in control, why not, because

#

I have all the power in the world

#

If I can define words

#

Yeah, I was gonna mention that 😅

#

Something on the lines of "I'm a dictator"

#

Legal disclaimer: Am not

#

Unless...

#

You can't disprove I am currently a dictatorial world leader

#

Damn, that's terrible

#

A question just popped into my head

#

What stops miltaries of democracies from not seizing power

#

.topic

median domeBOT
#
**What is your earliest memory of Easter?**

Suggest more topics here!

rough sapphire
#

Yeah

#

And yet, it doesn't seem they don't want to stage a coup

#

Except for this, of course

surreal otter
#

I like to think most soldiers do intend to honor the oath they take

#

Constitution comes before the brass

rough sapphire
#

Hmm

#

There can be the threat of death from the top

surreal otter
#

Varies by country, but Myanmar had been a military dictatorship for what, 5 decades before they pretended to try democracy?

surreal otter
#

The military brass relies on fresh blood

#

Their bodies are no longer for combat

#

They are there for their minds

#

And tehre are a lot less generals than soldiers

rough sapphire
#

And it might not even be true

#

It being the threat

surreal otter
#

Also in the US the different branches would all need to agree to...overthrow the US government?

#

And then all the soldiers of the brancehs would need to throw out their oaths

#

I just don't see it happening

#

Myanmar never stopped beign run by the military

#

the democracy was a facade, and htey got tired of pretending

rough sapphire
#

I have in the back of my mind though: "Do they need to agree?"

#

And it's fair that it's gonna be a lot of people against a few (relatively)

surreal otter
#

Take over what? Their own countries? Or the world?

rough sapphire
surreal otter
#

Because I don't see Iran and Israel joining forces any time soon

rough sapphire
#

But there might be infighting with a military coalition

surreal otter
#

Who would lead the world? None of these power hungry fascists would willingly give up control

#

You're describing WWIII and why authoritarianism is absolutely horrible for humanity

#

If everyone got their own Hitler

rough sapphire
#

So a global military coalition is out of the table, because it's an authoritarian against other auths

surreal otter
#

to do nothing when the authoritarians attack

rough sapphire
#

Oooof

#

But in a country-level where there might not be too much infighting

surreal otter
#

depends

rough sapphire
#

Oh, yeah

surreal otter
#

and again, from a country that already had an authoritarian leadership style and military governance in place

#

where the military already exerts extreme political control

#

might even be a party

#

you are more like to have a coup

#

than a non political military, where politics are strictly forbidden, like the US

#

as you're not going to be as likely to have a group of like minded fascists all together

rough sapphire
#

Coups aren't necessarily military, aren't they?

surreal otter
#

Gonna end up with people who are willing to die for country, not leadership

#

I mean...

#

how else do you take over a government without the support of their military?

#

Defeat the military

#

so that's conquest

#

civil war

rough sapphire
#

Ah, yeah

#

Forgot about military permission

surreal otter
#

generally the military won't allow someone to topple the governemnt, it is their job to protect the nation

#

Which is why they are the ones to commit a coup

#

sicne they get all the firepower

onyx hare
#

I was actually recently reading about the 1953 coup of Persia

#

like just yesterday

rough sapphire
onyx hare
#

and the UK, yeah. all on wikipedia, pretty crazy

surreal otter
#

Yea, the US loves coups, we're the #1 sponsor

onyx hare
#

I'm half Iranian so I've been trying to read up a bit on our history. it's pretty wild

surreal otter
#

I guess that's why we gave it a shot here in DC

onyx hare
#

was that technically a coup?

#

whoa

rough sapphire
#

I mean, it is attempted

surreal otter
#

I mean, they were trying to kidnap / murder congress who was in the process of certifying the election...

onyx hare
#

do any of you have a link I could read on, I'm now in the coup rabbithole

surreal otter
#

so uh, trying to overturn a legal election to install your fascist is definitely an attempted coup

onyx hare
rough sapphire
#

Wikipedia is generally a good place to read on, as long as what it says has sources

surreal otter
#

The fact that they called it 'stop the steal' is just them projecting

#

Literally attempting to steal an election by calling it 'stop the steal'

surreal otter
#

81 to 74 million votes

#

but Biden stole it, sure thing cheeto

onyx hare
#

LMAO

surreal otter
#

I'm from one of the states they wanted to cancel all the votes for

#

Only battleground states where Trump lost

#

no evidence of any fraud

rough sapphire
#

The thing though is that there seems to be genuine belief of a steal

surreal otter
#

but in battleground states trump lost, they wanted to toss the presidential results, not hte downballot races, no issues with htose

#

no fraud ANYWHERE else, but battle ground stateso n the presidential ticket

#

Not American presidents generally

#

Though we did just have the biggest loser of the bunch

#

Normally they are gracious and accept defeat, and assist in a peaceful transition of power

rough sapphire
#

I mean, I guess so

#

I meant it more like "it is genuinely believed that the election was rigged, despite general lack of proper evidence for and general abundance of proper evidence against"

#

"Rigged" in somehow the sense of a steal

#

There's the Electoral College and all that, but that's not it

surreal otter
#

Funny how in 2016 our elections were secure as ever

#

it only took 4 years with Trump at the helm to break them,

#

Way to sell your legacy there

rough sapphire
#

It might have something to do with turnout

surreal otter
#

Yea, turnout was insane because America got tired of his shit

#

He did more for the Democratic party than any Democrat since FDR

manic bloom
#

feel bad for the guy who has to go back and change impeached from bool to int

rough sapphire
#

We have officially circled back into programming

#

I want to imagine that there was a programming language invented with the independence of America

#

You can only use USA as letters I have placed this into my "really terrible jokes" box

manic bloom
#

no, color based

#

red for 1

#

blue for 0

#

white for space

#

white's there just for making it look neat

gritty zinc
round rose
#

So like whitespace

rancid haven
#

i won't fall for this a 2nd time

#

it's a rick roll

stark oasis
#

man, I hate ffmpeg filter complex options. Theyre so impossible to understand.

#

I tried to get hstack to work, and it tells me every time that the heights dont match. Even if I use the same video.

#

I got someone on stackoverflow to figure this out

ffmpeg -i in1 -i in2 -filter_complex
       "[0][1]scale2ref='oh*mdar':'if(lt(main_h,ih),ih,main_h)'[0s][1s];
        [1s][0s]scale2ref='oh*mdar':'if(lt(main_h,ih),ih,main_h)'[1s][0s];
        [0s][1s]hstack,setsar=1"   output

And that works, really cool. But that doesnt help with hstacking more than 1 input.

#

those options are ridiculous tbh

#

But I can run the script multiple times. using the output of the first time as one of the inputs the second time

#

This takes longer, but its so much easier that figuring out that insane option syntax

long topaz
#

Ves is in trouble today.

foggy pollen
#

no meme(

slender vector
#

Hey

rough sapphire
#

hello

stark oasis
#

I need to learn numpy. I want to use cv2, but a lot of it I dont follow because Ive never done much numpy.

#

So I do that

edgy crest
versed saffron
#

numpy's great

#

11/10 super nice to learn

slender vector
#

What is advent of code

#

did anyone know here

stark oasis
#

Theyre coding puzzles that people compete to finish faster i think (not sure)

slender vector
#

Can I do that now

#

Or its finised

edgy crest
#

its finished

#

you can still solve the puzzles for practice but the competition is done

slender vector
#

Did you know what to do after sing up

oak tangle
#

Once you're logged in with one of the Auth providers, you can go back to the calendar and do any puzzle you like

#

You're still getting points and you can still join private leaderboards, if you like

#

Although I'd just consider them to be fun puzzles that may help you learn a thing or two

slender vector
#

what is sponsor joint code

edgy crest
#

you can leave it empty

oak tangle
#

You don't need one. The event has some companies that sponsor it and if you're an employee of one of those, you can enter a sponsor code

#

but if you're not, and it sounds like you're not, just leave it empty

slender vector
#

after going on the calendar I should click on 1 n

stark oasis
#

I should try them some time. Im learning numpy and cv2 right now

#

What Im hoping for is that cv2 will allow me to accomplish some tasks with a more clear interface than if you write them with ffmpeg.

slender vector
#

Its hard to find answers

sand inlet
#

@drifting bay @tropic tusk afaik it's not that python itself is being detected as a virus, but the process of compiling python to an .exe has been used to make a lot of actual malware so antiviruses have noticed and started flagging everything that does that as malware

drifting bay
#

makes sense. either way, seems like just about everything that isn't completely basic ends up being detected as a virus, it's annoying

sand inlet
#

yeah i haven't actually tried compiling python programs but it definitely sounds annoying

graceful basin
#

for pyinstaller at least

#

you just install python on the machine that's running it, yeah

drifting bay
#

i do like it though; it's a nightmare trying to get anyone to run what you make as a python script

floral viper
#

They are interpreted by a virtual machine

drifting bay
#

if your os is set up to run python files you run the file directly but otherwise it'd be something like py somescript.py

floral viper
#

Right, usually it is bundled as a module and installed on the system

drifting bay
#

this is what's frustrating btw; release it as code and people can't figure out how to run something that isn't a .exe. release it as a .exe and you get messaged accusing you of spreading a virus

floral viper
#

Hence why you write dead simple install instructions

drifting bay
#

if you're selling it and it's like a big project maybe you could afford to take greater steps to get it removed from all these virus scanning sites

#

or just verified by a good one and call it a day

stark oasis
#
import cv2 as cv

cap = cv.VideoCapture('vid.mp4')
while cap.isOpened():
    ret, frame = cap.read()
    # if frame is read correctly ret is True
    if not ret:
        print("Can't receive frame (stream end?) Exiting...")
        break
    gray = cv.cvtColor(frame, cv.COLOR_BGR2GRAY)
    cv.imshow('frame', gray)
    if cv.waitKey(100) == ord('q'):
        break
cap.release()
cv.destroyAllWindows()

If I run this, it plays the video. If I click the X in the top right window, it will open the window again infinitely until I press q. Why?

#

Also, cv.waitKey(delay) seems to be tied to the speed the video plays, why is that connected to the 'q'?

#

yeah

inland wolf
#

lol

#

@west zephyr what is ret?

#

hmm

#

ah ok

#

cools

#

is cap.read an iterable?

#

does it return*

#

i see

runic wigeon
#

Is there any way through which I can check how many hours I've spent online?

rough sapphire
#

You can install an extension that would track that, if you are in a browser

#

But the tracking would only start after you install it

narrow pecan
#

That kind of depends on what device you have. On Apple products, you have the ”Screen Time” section in Settings, where you can track your screen time and the distribution of what you’ve done during that time

inland wolf
#

screen time is there on newer versions of android too

#

idk abt windows

#

yea

#

they already track enough

rough sapphire
#

Ooh

stark oasis
#

I need to comb through every repo I have and copy out utils that I rewrite constantly across new projects and put them into a global utils library...

empty orbit
#

quick one: why this server doesn't have user roles(other than mods, etc)?

wheat lynx
#

Mainly so the roles are more meaningful, so if someone sees someone with a role they know it doesn't just mean they've clicked on some reaction somewhere or sent a certain number of messages

#

@empty orbit

high verge
#

didn't it used to have developer or something

mild abyss
#

everyone is assumed to be a developer so no need for that role i guess

rough sapphire
#

It seems pretty logical that once you have an operation, that you'd want to find it's inverse

acoustic moss
#

imo the fact that the area under a curve is even remotely related to the slope of a completely different curve is hardly trivial

shadow jetty
#

integrals were defined in terms of sums though -- and derivatives defined in terms of ratios -- it's not obvious what the inverse of those definitions were

rough sapphire
#

Hmm

shadow jetty
#

before limits and all the weird liebniz infinitismal stuff

rough sapphire
#

I'm guessing the rules of differentiation and integration for functions weren't really known yet?

shadow jetty
#

some of the rules were known

#

derivatives of polynomials i'm pretty sure was known

#

and probably trig functions?

#

my math history isn't that clear

rough sapphire
#

But once you have those, isn't it pretty easy to derive their counterparts?

shadow jetty
#

calculating, say area under a sine curve isn't that simple --- you need some amount of infinite series stuff which probably wasn't developed until later

grizzled hearth
#

Yo guys I'm in need of a news API that supports multiple sources. Any idea of good ones?

shadow jetty
#

maybe they knew that the area under the curve corresponded to the antiderivative, but i dunno -- and it certainly wouldn't have been obvious that it generalized

rough sapphire
#

Yeah, that makes sense

shadow jetty
#

i think once you have the fundamental theorem of calculus, things develop very quickly though

acoustic moss
#

He [Leibniz] continued this reasoning to argue that the integral was in fact the sum of the ordinates for infinitesimal intervals in the abscissa; in effect, the sum of an infinite number of rectangles. From these definitions the inverse relationship or differential became clear and Leibniz quickly realized the potential to form a whole new system of mathematics.

#

Around 1673

shadow jetty
#

should be noted that leibniz's approach to calculus wasn't axiomatized until 1960? ish --- the nonstandard calculus is a really fun way to learn it

#

In mathematics, nonstandard calculus is the modern application of infinitesimals, in the sense of nonstandard analysis, to infinitesimal calculus. It provides a rigorous justification for some arguments in calculus that were previously considered merely heuristic.
Non-rigorous calculations with infinitesimals were widely used before Karl Weierst...

#

and the proofs are a lot simpler, in fact!

#

it's a bit of a shame that delta-epsilon proofs are still so popular

cinder flume
deft kestrel
#

I need a stress relief channel oof

rough sapphire
fallen fossil
#

hey @surreal otter

surreal otter
#

hello

fallen fossil
#

so you were saying, c or cpp?

#

what are they used for anyways?

surreal otter
#

low level stuff

#

everything basically

fallen fossil
#

stuff to do with the computer?

surreal otter
#

C runs the world?

rough sapphire
#

yeah true

fallen fossil
#

its one of the oldest too

#

wont that be not future proof

#

to learn it now

surreal otter
#

Well

rough sapphire
#

more easy for computer to understand

surreal otter
#

Peopel have been saying that for 40 years

#

lol

rough sapphire
#

c is very powerful

surreal otter
#

which is why there's 400 languages

#

and C is stil lrunning the world

rough sapphire
#

yup

fallen fossil
#

oh i see

surreal otter
#

But if you want to be ahead of the pace, you can risk it

#

and go with Go, Rust, Zig

#

they are the ones trying to replace C

#

but C is here

#

those might not be

rough sapphire
#

Go is moving ahead now

surreal otter
#

C only needs one replacement, and right now that replacement is C

#

C has jobs today

#

will havej obs tomorrow

#

in a decade? You'll already be in the field

#

You can learn on the job

#

C is safe

fallen fossil
#

wise words

#

why dont u recommend java though?

#

and c#

rough sapphire
#

C is like basics

surreal otter
#

Fuck that noise

#

C# is Java by Microsoft

#

and Java is fuck Larry Ellison

#

Fuck closed source languages

fallen fossil
#

whats that lmao

surreal otter
#

for profit

rough sapphire
surreal otter
#

Oracle

#

Not by the community, Oracle controls Java

fallen fossil
#

oh

#

but whats so bad about it?

surreal otter
#

I saw a meme

#

lemme find it

rough sapphire
#

Anyways Java is moving down in popularity

acoustic moss
fallen fossil
acoustic moss
surreal otter
#

Anyways

fallen fossil
acoustic moss
#

no meme? :'(

surreal otter
#

I can't find it

fallen fossil
#

rip

surreal otter
#

I saw it on reddit on the phone this mroning, maybe yesterday

#

no idea which of the subs

fallen fossil
#

its fine

#

is learning c hard tho?

surreal otter
#

yes

fallen fossil
#

oh sheeeet

rough sapphire
acoustic moss
#

c# seems to be becoming popular

#

*microsoft java

rough sapphire
rough sapphire
surreal otter
#

learning C is hard

#

was my yes

rough sapphire
surreal otter
#

a lot of complexity gets added

acoustic moss
#

tru

fallen fossil
acoustic moss
#

afaik it's open source

#

I may be wrong

rough sapphire
#

it says that its a language so not matters

#

but it complier is closed source

surreal otter
#

Yea, I'd go with C or C++ over C#, larger support overall

rough sapphire
#

owned by MS

#

I go with C personally

surreal otter
#

Once you learn it, you won't regret it

#

but stick with Python

rough sapphire
#

very handy

surreal otter
#

it is the hotness

fallen fossil
#

aight, i'll try out c

surreal otter
#

I've looked into COBOL

#

lol;

fallen fossil
#

and if it explodes my brain, python it is

acoustic moss
#

c after python may or may not be the best idea

fallen fossil
#

really?

surreal otter
#

It's gonan be different, but you already understand a lot of CS Concepts

acoustic moss
#

it'll be annoying even if not difficult

rough sapphire
surreal otter
#

no one said it would be easy

#

at least this go round bools and strings and ints make sense

#

there's gonna be a few more

#

but they'll fit in

acoustic moss
#

python is spoiling me is what im saying

rough sapphire
fallen fossil
acoustic moss
#

specially stuff like itertools

surreal otter
#

Python does make things very human friendly

rough sapphire
#

python is very simple and beautiful

fallen fossil
#

agreed, but i really dont know what to do with python yet

#

so might as well learn a new language

rough sapphire
#

Language should majorily depend on the work u want to do with it

#

becoz there are many languages

surreal otter
#

and you don't know what to do in another language either

#

for real though, webdev is where it's at

rough sapphire
fallen fossil
surreal otter
#

C is nice, but webdev lets you deliver your Python app to the world quickly

#

and scale it

acoustic moss
surreal otter
#

The Ruby path is fun, Ruby is very Python like, but the JS path might be wiser for the future, thoguh rails is still rather popular

fallen fossil
#

but i see many people in web dev, and im not very creative at designing web pages lmao

surreal otter
#

well then back end it is 🙂

rough sapphire
#

Yeah for web learn javascript

surreal otter
#

if you have no desire for it don't. C is a great choice

#

BUT you can learn

#

I see pictures all the time on reddit "Me 10 years ago: Trash, Me now: Photorealism" Obviously all fake and for the karma

surreal otter
#

but you can improve, you jsut gotta think about if it's something yo uwanna do, which it sounds liek it's not

#

Why don't you want to learn more Python?

fallen fossil
#

not sure, i see my friends using java, cpp creating all these cool apps whereas me whos been learning python for almost a year making at most a web scraper

surreal otter
#
  Basics:
    Variables
    Conditions - Chaining
    Operators
    Control Flow
    Loops & Iterables
    Data Structures
      Lists, Sets, Dictionaries
    Functions
    Mutable vs Immutable
    Common Methods
    I/O - Read/Write
  Intermediate:
    OOP - Classes & Objects
    Object Design Patterns
    Data Structures - AlgoExpert : Paid, find free
    Comprehensions
    Lambdas
    Collections
    Map & Filter
    *args, **kwargs
    Inheritance
    Advanced Class Behavior - Dunder Methods
    PIP
    Environments
    Making Modules
    Async I/O
  Advanced:
    Decorators
    Generators
    Context Manager - with
    Metaclasses
    Concurrency Parrallelism
    Testing - Unit Testing
    Test Driven Development
    Building Packages
    Cython - C Code that links with Python
#

Of that list

fallen fossil
#

really not sure what python is specialised in

surreal otter
#

How much do you not know

fallen fossil
#

hm

surreal otter
#

It's a list I keep in my personal todolist, reminder if I'm ever bored of things I can look at

fallen fossil
#

at advanced ig

surreal otter
#

enjoy

acoustic moss
#

Bools and floats under data structures lemon_thinking

fallen fossil
surreal otter
#

Yea, I'm not smart, never said I was

fallen fossil
surreal otter
#

You won't regret learning C though

#

I mean, you might while you learn it, but if you persevere, no regrets

#

Everything I've heard about Java, from the community, is that people who work with Java hate their jobs

#

YMMV but that seems to be a common theme everywher I listen

#

and C# is just Java for Windows

#

Maybe Java is actually the best thing ever, but since the big corps use it, and peopel hate working with it, it just sounds like evil to me

graceful basin
#

Java is quite nice

solid pollen
#

no

acoustic moss
#

yes

fallen fossil
#

😬

edgy crest
#

python

graceful basin
#

The most annoying things about java I ever found is the package conventions

#

which don't matter all that much

royal lakeBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

fallen fossil
fallen fossil
graceful basin
#

just pick one

acoustic moss
#

#bot-commands message

#

rip

graceful basin
#

https://wheeldecide.com/ put them into this website and spin the wheel

mellow spire
#

lol

fallen fossil
#

big brain

#

im doin it

graceful basin
#

you can't decide if a language is worth learning without at least trying it out

#

I make quite a few decisions this way

fallen fossil
#

what is your personal opinion tho?

graceful basin
#

C# is nice

#

have fun!

fallen fossil
#

definitely will

#

time to lose all my brain cells

edgy crest
#

i am gonna gamble my life with that website jam_cavedude

fallen fossil
#

lmao

#

best website ever creaeted

#

great recommendation lakmatiol!

small fossil
#

speaking of rust

edgy crest
#

thats in rust?

#

dam thats cool

inland wolf
#

naisu

small fossil
#

tis surprisingly nice

inland wolf
#

yes

rough sapphire
rancid haven
#

some random user decided to send me a friend request
is this the magic of valentine's month? 👀

rancid haven
#

wth another one

#

and with both of them i have this server as a mutual guild reee

calm dawn
#

suspicion intensifies

orchid hull
#

Your simply famous now

clear plume
#

It happens all the time unfortunately

crystal lodge
#

Teeeeermite

mild abyss
#

thats noice

mild abyss
crystal lodge
#

That's a soldier

mild abyss
#

oh lol oh ye. if it is a queen, it should be fully large fat white

acoustic moss
#

isn`t this an approxtrophe

inland wolf
#

approxtrophe?

#

interesting

edgy crest
#

its spelled as apostrophe right

#

' and this is an apostrophe

#

` is a backtick and not a valid english character

acoustic moss
#

` is almost a ', hence an approxtrophe

edgy crest
#

oh now i get what you mean by approxtrophe, i thought it was a typo

acoustic moss
#

one more one liner

#
f=lambda s,l=None:(True if not(s or l)else(False if(l and not s)else(False if(s==')'and not l)else f(s[1:],(l+['('] if s[0]=='('else l[:-1])))))if l is not None else f(s,[])
#

checks if () are valid

#
>>> f('()))')
False
>>> f('(())()((()))')
True
>>> f(')(')
False
>>> f('((()')
False
rough sapphire
#

oh man lol

#

this hurts to look at lol

acoustic moss
#

it's beautiful

#

don't you dare

rough sapphire
#

oh it's beautiful

#

but oh man does it hurt to read

#

hahaha

acoustic moss
#

lol

edgy crest
#

i dont know if i should be happy or sad at the fact i understood the code RemiDespair

acoustic moss
#

happy

#
f=lambda s,l=None:
  (
    True if not(s or l)
    else (
      False if(l and not s)
      else(
        False if(s==')'and not l)
          else 
            f(s[1:],(l+['('] if s[0]=='(' else l[:-1]))
      )
    )
  )
  if l is not None else f(s,[])

here's a slightly more readable version

edgy crest
#

did you use black to make it readable

acoustic moss
#

no

edgy crest
#

manually by hand? rip

acoustic moss
#

yes

uneven pine
#

Black tends to make those kinds of things one line

inner lagoon
#

Whcich is better VSCODE or PyCharm?

uneven pine
#

Different programs for different purposes

#

But I prefer vs code since it can be a fully featured ide for every language I use

#

But also just a lightweight text editor when it needs to be