#ot1-perplexing-regexing

1 messages · Page 632 of 1

royal lakeBOT
#

@dapper dew :white_check_mark: Your eval job has completed with return code 0.

Some value
rough sapphire
#

if I have a python script and I want it to be reproducible every time, should I dockerize it..

#

I'm gonna send my script to someone.. I dont want it breaking in the future

#

wish I could show my code.. it looks so beautiful x.x

rough sapphire
#

I will.. after I make it a bit generic.. and remove keys

rough sapphire
#

still trying to figure out how to dockerize it.. because I've used absl library for flags

#

so not sure how to pass inputs to docker

candid grotto
rough sapphire
#

by the way.. I usually use jupyter notebook to run and test things.. variable state is stored and I can go back to examine outputs

#

but how do I do that in vscode? because vscode, I just click Run and it runs the whole file

#

like let's say my code is:

output = requests.post(url, params=params)
print(output.content)
#

output here is a dict, and I want to see if I can do index like.. output.content['id'].. do I need to include it in the print, and run the script again? or is there an easier way to do this

candid grotto
hardy ether
#

bruh its 404

#

404 not found

#

no drink

dire siren
#

:(

hardy ether
#

to 404: drink not found

#

*so

candid grotto
#

😦

hardy ether
#

")

#

*:)

rough sapphire
#

😮

#

:>

hardy ether
#

:O

#

:0

rough sapphire
#

:3

hardy ether
#

(:<

rough sapphire
#

:O

hardy ether
#

O
|
|
|
/ \

#

waiit

tardy rain
#

offtopics are not spam channels

rough sapphire
#

.>

hardy ether
#

i did not work the head is moved

rough sapphire
#

<.<

rough sapphire
tardy rain
#

god sometimes i wish i had ban powers

rough sapphire
#

:a

tardy rain
#

so, anything fun going on with life?

rough sapphire
#

no.. just chillin

tardy rain
#

i got this sore throat

rough sapphire
#

◌⑅⃝*॰ ॱᒄᵒᵏⁱ(꜆˘͈ෆ˘͈꜀)ᒄᵒᵏⁱ◌⑅⃝*॰ॱ

tardy rain
#

almost makes me wanna grab a fork and stick it in my neck

rough sapphire
#

(─‿‿─)

tardy rain
#

killer

#

been downing strepsils like a madman

acoustic moss
#

inhale steam

tardy rain
#

still at work

dire siren
tardy rain
#

but when i get home im gonna do some inhaling fosure

dire siren
mild abyss
shut ermine
mild abyss
solemn leaf
bold moat
tulip cedar
#

Lmao

brazen ingot
#

@tranquil orchid is this good for 180 bucks?

last mantle
#

zamn

#

i still prefer the pink + black

brazen ingot
#

You idoit

#

You preferred me is good, they're not in not stock is bad. @last mantle

last mantle
#

i had a stroke reading this

edgy crest
#

same

brazen ingot
#

Sorry its just me and my phone

#

genshin addicts

solemn leaf
#

this is so goooooooooooooooooooooooooooooooooood

#

the key stickers are impeccable

last mantle
#

its amazing if the background is removed

brazen ingot
#

Lol they've just added keycaps over the keyboard kit, acr61

#

ACR-61-B.jpg

brazen ingot
#

Sure

mild abyss
brazen ingot
#

Lol

mild abyss
brazen ingot
#

Yep, right

tulip cedar
#

@brazen ingot u getting one of those?

brazen ingot
#

Yes, I have not decided yet there are too much options

#

I am not sure but i might do a custom build

tranquil orchid
dire siren
#

new keyboard :)

#

:)

small coral
#

where are the home and end keys

dire siren
#

gone probably

edgy crest
small coral
#

oh

solemn leaf
#

wireless 👀

small coral
tulip cedar
#

Circle sucks lemon_pensive

solemn leaf
#

oh lol

small coral
tulip cedar
#

Lol

runic wigeon
brazen ingot
#

you got a new one?

#

I can get upto 200 wpm on this

#

I love hammering keys

tulip cedar
#

Lmao

#

🔨

dire siren
brazen ingot
#

sure

#

you need to pay me 100k month

dire siren
#

!e print(602430*200/100000)

royal lakeBOT
#

@dire siren :white_check_mark: Your eval job has completed with return code 0.

86.4
dire siren
#

86.4 keys per $

#

hm

last mantle
#

pebble

#

?

#

is it mechanical?

dire siren
#

:)

small coral
#

but of course no one does that

#

they have holidays and weekends and people stuff

#

also no one works 24 hours a day

dire siren
small coral
#

so you're getting less than 86.4 keys per $

small coral
#

!e ```py
print(60825*200/100000)

royal lakeBOT
#

@small coral :white_check_mark: Your eval job has completed with return code 0.

24.0
small coral
#

so you're getting about 24 keys per $

dire siren
onyx mist
#

so confused

#

I was playing an FPS game

#

them my soul left my body

#

in the gae

#

it started running off with my gun

#

AHH

vernal forum
#

this is javascript but js setInterval(function(){ Add() }, 100); does anyone know how to make it a random amount of milliseconds each time from a range instead of 100?

rough sapphire
#
for(;;){
  setTimeout(Add, Math.random())
}
#

here you can manage time cap with multiplying some number with Math.random()
because it will just give val b/w 0 and 1, which is very very less for milisecond

vernal forum
#

already done it but ty

rough sapphire
#

sure.

vernal forum
#
const minAdd = 65
const maxAdd = 95
for (let i = 0; i < 99999; ++i) {
    setTimeout(function(){
        Add()
    }, i * (minAdd + Math.floor(Math.random() * (maxAdd - minAdd))));
}``` this code works for me
rough sapphire
vernal forum
#

i dont really understand what any of it does

#

someone just gave it to me

rough sapphire
#

wtf

vernal forum
#

i dont know js at all

rough sapphire
#

should i explain? just so you understand.

vernal forum
#

id like that

rough sapphire
#

alr gimmi a sec.

#
const minAdd = 65
const maxAdd = 95
// loop for 99999 times
for (let i = 0; i < 99999; ++i) {
    // set timeout calls the function after given delay(JUST ONCE)
    setTimeout(function(){
        Add()
    }, (minAdd + Math.floor(Math.random() * (maxAdd - minAdd))));
}

// Math.random returns val b/w 0 to 1, so to convert it from 65 to 95
// we do something like 65 + (random value b/w 0-1)*30
// so we get some random value b/w 65-95
// which is what they did. they converted it to int by using floor, same as in python
#

@vernal forum this may help

#

i removed i*

#

There probably is a solution using a helper async sleep function and a for loop

#

Lemme see

#
function randrange(min, max) {
  return min + Math.floor(Math.random() * (max - min));
}

const sleep = (ms) => new Promise((res) => setTimeout(res, ms));

for (let ms; ; ms = randrange(75, 126), await sleep(ms)) {
  Add();
}```
#

Yeah, I think it works

#

And it solves the problem I mentioned in OT0

mild abyss
#

just saying in case u have some feedback regarding the material

floral apex
#

https://youtu.be/tLAhhUKsWck Wine but it's PlayStation Vita to Nintendo Switch

vita2hos is a PlayStation Vita to Horizon OS (Nintendo Switch OS) translation layer. In this episode we break down how it all works and why its an exciting milestone for the Nintendo Switch homebrew scene.

► Support the Channel - https://www.patreon.com/ModernVintageGamer
► vita2hos - https://github.com/xerpi/vita2hos

Social Media Links :

► F...

▶ Play video
distant hazel
#

@wild oak you've been muted for 2 hours for posting skribblio links. DM @polar knoll if you have any questions

long fern
#

Hello everyone.
I'm looking for a developer position.

tardy rain
#

Hello, this isn't a job board

inland wolf
#

rip bozo

onyx mist
scenic dock
#

Maybe his kidding

mild abyss
#

probably

edgy trench
#

Is gist like pastebin?

acoustic moss
#

its more permanent

rough sapphire
#

what are web sockets

latent wolf
#

k

lost vortex
#

the top answer lists the most widely used ones

bold moat
#

how does one create a pedestal in vanilla minecraft?

uneven pine
#

If only there were some sort of indexed list of publicly listed websites, some sort of... Engine that could be used to search.

bold moat
#

If only a discord user wouldn't have assumed that my grand person would have resorted to such measures before acting out in a particular discord server in desperation to go through with my building project.

rough sapphire
#

I mean, I disagree with how she said it (which IMO comes off as condescending), but from my experience, I tend to search Minecraft recipes in Google

#

Assuming that we're thinking about the same pedestal-looking item, whose name escapes me right now

#

Lectern, there we go

rough sapphire
gritty zinc
#

imagine not using a recipe mod 😔

tired agate
#

so

#

anyone wanna play 1.18.2 java mc with me

#

survival

rough sapphire
tired agate
#

soo

#

anyone?

rough sapphire
#

I mostly don't play Minecraft currently, unfortunately

tired agate
#

=[

#

well i got no freinds that will play

#

or friends in general lol

#

=/

opal plover
#

@noble niche your helping in real life is better than it is in python

#

My work here is done

noble niche
#

Tell me that's not structurally sound

acoustic moss
#

👀

noble niche
#

The power of quickset resin has prevailed once more, and that's all there is to it

#

I'd like to clarify I don't own any of these figures

gritty zinc
#

ah yes, the famed water bottle for scale

noble niche
#

It's part of the support structure

#

It's taped to the head of the thing

acoustic moss
#

Lmao

gritty zinc
#

why does it need water in it

acoustic moss
#

To keep the dragon from becoming a fire hazard duh

gritty zinc
#

hmm

round rose
#

fuck you *tapes a water bottle to your dragon*

eager cliff
#
use std::alloc::{self, Layout};

impl<T> Vec<T> {
    fn grow(&mut self) {
        let (new_cap, new_layout) = if self.cap == 0 {
            (1, Layout::array::<T>(1).unwrap())
        } else {
            // This can't overflow since self.cap <= isize::MAX.
            let new_cap = 2 * self.cap;

            // `Layout::array` checks that the number of bytes is <= usize::MAX,
            // but this is redundant since old_layout.size() <= isize::MAX,
            // so the `unwrap` should never fail.
            let new_layout = Layout::array::<T>(new_cap).unwrap();
            (new_cap, new_layout)
        };

        // Ensure that the new allocation doesn't exceed `isize::MAX` bytes.
        assert!(new_layout.size() <= isize::MAX as usize, "Allocation too large");

        let new_ptr = if self.cap == 0 {
            unsafe { alloc::alloc(new_layout) }
        } else {
            let old_layout = Layout::array::<T>(self.cap).unwrap();
            let old_ptr = self.ptr.as_ptr() as *mut u8;
            unsafe { alloc::realloc(old_ptr, old_layout, new_layout.size()) }
        };

        // If allocation fails, `new_ptr` will be null, in which case we abort.
        self.ptr = match NonNull::new(new_ptr as *mut T) {
            Some(p) => p,
            None => alloc::handle_alloc_error(new_layout),
        };
        self.cap = new_cap;
    }
}
#

that is a lot of code just to grow an array.

#

i am obviously not fluent in Rust, so i take it most of this code is handling safety?

young shoal
#

the comments are nice

eager cliff
dire siren
#

found a random lang

#

odin-lang

#

anyone used it? is it like rust?

rough sapphire
#

negative

small coral
dire siren
#

oooooooooooooooooooooooooooooooo

small coral
#

looks really bad though

dire siren
#

lmao tru

distant hazel
#

@chilly crest please ask HTML help in here

distant hazel
#

@naive hare if you're inclined to help :)

chilly crest
#

i writed </p>

#

at the end

#

of the sentences

#

but the font, uhm

naive hare
#

close the <h1>s

#

</h1> after <h1>

#

Nice french website

chilly crest
#

Oh

naive hare
#

I wish I could speak French 😢

chilly crest
#

it's a homework

#

: )

naive hare
#

Je ne parle pas francais bien

chilly crest
rough sapphire
#

guys

#

tell me about how the internet works

chilly crest
#

le français = nul

#

: )

#

Thanks you it worked

naive hare
#

Np

#

Just remember

#

close every tag

#

<something>...</something>

chilly crest
#

Noted it !

naive hare
#

except inputs

#

and some specific ones

#

You shouldn't worry about those

#

Chrome should auto complete those ones for you

chilly crest
#

Like meta

#

?

naive hare
#

yeah

#

the one-line tags

#

with no contents

chilly crest
#

Okey, thanks for the help sir

naive hare
#

np

chilly crest
#

Appreciated alot

bold moat
bold moat
#

there's your computer connected to the router

#

the router wired to some weird box

#

which is probably wired all the way to the service provider's place

#

im probably wrong

#

but this is my guess

grave cove
#

The router is wired to the ISP

bold moat
#

oh ok

#

so the weird box is the ISP?

grave cove
grave cove
bold moat
#

idk there was like a box connected to my router

#

anyway

bold moat
grave cove
#

I see

#

Not sure what that is, haven't seen that personally

bold moat
#

hmm

#

but is my summary correct? that everything's wired to each other?

grave cove
#

Well

#

Most people these days are wireless

#

Only part that's wired is router to ISP

#

Which isn't always wired either, think of satelite or Elon's starlink it's called

#

You see it a lot in rural areas

bold moat
#

hmm

grave cove
#

In urban or suburban areas, it can be wired. I'm directly wired to my router which is downstairs, which itself connects to AT&T using fiber

bold moat
#

ohh yeah

#

fiber

grave cove
#

Fiber is usually better for longer ranges, like your house to the ISP. Have a friend who has copper from his house to ISP, he gets like 2 mbps lmao

bold moat
#

which one is typically faster : satellites or wires?

grave cove
#

wires for sure

#

Wires will always be faster

bold moat
#

unless we create our orbit a danger zone for passing

grave cove
#

Wired > wireless 99% of the time

bold moat
#

yes

#

i think because they use different modes of transmission

#

and because

#

wires have a confined space or something

#

so density (?) stays same

grave cove
#

Yeah, wires know exactly where they're going, wireless not really they just broadcast and hope they get there

#

Both do travel at the same speed (pretty close to the speed of light, iirc)

bold moat
#

the speed of light is clean

grave cove
#

In a vaccum, but electricity and radio waves do not travel in a vaccum within earth's atmosphere

bold moat
#

oh right

floral apex
tulip cedar
#

LMAO

runic wigeon
dire siren
safe skiff
#

Yo

#

Who wanna see something cool

#

Use my textEncrypter

#

To Decrypt the secret code in my About me :)

rough sapphire
#

where is the encrypted text

safe skiff
rough sapphire
#

no idea

safe skiff
#

wdym no idea

rough sapphire
#

what you want to decrypt

#

or encrypt

safe skiff
#

𑡠𑡆𑡊𑡇𑡎𑢓𑡹𑢊

#

that ^

rough sapphire
#

what'd be the key?

safe skiff
#

you have to use my code

safe skiff
rough sapphire
#

between 32 and 99999?

#

that's not a safe key

safe skiff
#

That doesn't matter

rough sapphire
#

100k can be brute forced in milliseconds

#

on a phone

safe skiff
#

Well

#

You're right but

#

Who will know I used my own program?

#

and if 100k will be brute forced in milliseconds

#

999trillion will be in minutes

rough sapphire
#

modern encryption algorhytms have 2^128 possibilities

safe skiff
#

And yes, I tried to brute force it myself

rough sapphire
#

which is a lot more than the trillions you menitoned

safe skiff
#

That will be hours

rough sapphire
#

nope

#

that will be several existence of universes

safe skiff
#

Ummm

#

Can I change the 99999 to 2**128

#

?

#

it's an int right?

rough sapphire
#

2^128 is an int

dire siren
rough sapphire
#

but a really large one

dire siren
#

computation time be like: brrrr

rough sapphire
#

something your ram cant store

#

i mean range is iter so it doesn't matter

dire siren
safe skiff
#

What do I do then?

dire siren
#

rather to not bruteforce :)

rough sapphire
#

you use modern encryption standards, like AES for symmetric, or RSA for asymmetric encryption

dire siren
#

rsa is scary ngl

safe skiff
#

wtf is RSA & AES

rough sapphire
dire siren
rough sapphire
#

cyphertext: 7910e849f4343b2b1f5a1ae3891d163a182e139faccdb824ffb1c021037ee7f4
key: 577a05bb1eecbc8a3fbcaaf8ea9e15a79f22a70025c04ff603b3131a00e69cca

#

Decrypt will, well decrypt

rough sapphire
#

nop

safe skiff
#

decrypt it

rough sapphire
#

which key?

safe skiff
#

yours

rough sapphire
#

what encryption algorhytm

rough sapphire
#

53616d5468654e6f6f62
is too short

safe skiff
#

?

safe skiff
#

oh wait...

#

bf7ef714ca404fe42d1333b35e9054724742ec53043614e5dc8231b2e1f92c3c

#

key: 9847babacffc2c4687eac8c0df71b0ff9527ddd23451daec6f86da7ee7f5e285

rough sapphire
safe skiff
#

HOW THE FUCK

#

IT

#

GENERATES MORE CYPHER TEXT

#

WTF

rough sapphire
#

let me exaplain

#

AES needs at least 128 bits

#

as it's a block cypher

#

but i also use some IV, initialization vector, so every time you encrypt, even with same key, cyphertext is still safe

safe skiff
#

That's so cool bro

rough sapphire
#

say that you use same key to communicate, and you wanna say yes or no to other person, if the hacker knows to expect 90% yes answers, and sees that value bf7ef714ca404fe42d1333b35e9054724742ec53043614e5dc8231b2e1f92c3c happens every time, then he knows when you say yes

#

but if you use random IV every time

#

next time encrypted text is: ae25c1e9c7e347d8ef44be5121d1e8e3c070ed81512a318888dfde3c45ff5975
and next: 2798130ccb4b8e9d8dc38a44bf1c0f151bbb2986c0da38573519607b1b4b981b

safe skiff
#

THAT'S TOO COOL!

rough sapphire
#

and it all decrypts to the same answer: SamTheNoob

#

but the listener can't know it

#

but still

#

AES, we just exhanged the key unsafely right?

#

because everyone here can now see key right?

#

and we don't want that do we?

safe skiff
#

!eval
encrypt = {num:200 - num for num in range(32, 99999)}
sentence = "SamTheNoob"
encrypted_string = sentence.translate(encrypt)

print(encrypted_string)

royal lakeBOT
#

@safe skiff :white_check_mark: Your eval job has completed with return code 0.

ug[t`czYYf
rough sapphire
#

if you give me YOUR public key, everyone can encrypt stuff with your PUBLIC key, but only you can decrypt without your PRIVATE key

rough sapphire
#

so even if you post public key here, when i send you encrypted text here, only you can decrypt it

#

technically, not even I can decrypt it cause i dont have your private key

safe skiff
#

30820222300d06092a864886f70d01010105000382020f003082020a0282020100b7e5645a3e060e5382cda03e074e5c0c9d60f15e1f0a0d5a3631f2ac9dcabc176d92bbf456feb0cea2790529f80cdf4448e85093cbac6e19c513c737a34dac17668c63339e6ce2eef3389f4e19bf57167ed4e82e2eb68e87675ac6abbd103d10532018cd8870c149131a0f8928ca6cb72fb61bffb1b901eb02a863162c6bb8e024363e0647cf4fff18b99351ab740ab90d03fe29a7322eb6ef391741855bc975cb9ee2aeb94b85ee029b6eb3abc5ae1639cb9f1ea18c051e7dcbb956440797ba1448a8f6afaeb8b6f2c8b5b1d785ed36f1e17dd4395559280e162ffefccb171485cdd6941a3f603180af6d8e72b95ef03c3dc31b0c43f95af4fa4b9583672779d05cb9ff50e399680be5e069f1e1b976a44feb4117dc375eae002270a5123186dabc49fead10bf7c0ee49b88666b3e6d3bd62eb85506a941489c53f6645f41435593313adca17cc5514cb9736e520a793c35008b7517da7155c1995552adc78c0439b27e573141d7497a338fc8bbd10b2792c11ad96e16cb327fed8fb5e01a849e4f73640874e58c1a432f45f6385804f1f168b3c407cadfcdc622519ff4d60f98669943625323a5e740248a4d796bf42270685ddac65edf1032d251e00a0d48a7f62fa508ab74ab756519040f1967f42e18544696ce7e4a4906624aa3ccc7d64efb5a50944b26728554b34e0e5835ed1c8e57e480130b3646e293a2b3f57b010203010001

#

That's the public key

rough sapphire
#

05a79d489a9e84d8aa24ea4cd3d9c06b98dd6167ea2ad176e601458fd3de9e99a473f21d20e80679bf4a0d001a117bdfef001542bd11d09b9f0bd756762c46d219408c9b0294394a72fb026b52a0d45c0db28a5d33b4855907d72bcb605c55ca3d4c51458363d772a91640cc379ed9137293d3362fa67d8cb7cd9eee9d2bff71d5455f2b5cf17cad5b6b004d19aa51fcc5e0c09249aa689e58f67c658e37361a474c621578c86764fad17f7425d35da75196027e774bc4e02f13e770e29c0233052847b44ced9a1d311d868ac02b6e2502b9d5203a47f0f0d242461b3261bda8176a87b64e17aaec48d1835a15a3695aa854f8a85742c6ae390817902a42e8de9642e18e7513321661020f3eaeb4d63943b1330258b222764b0fc44c4d48c8f777d76c2f815ed8ed0617cca4775be1e569ff84b3aa5ef94906b7b9eff47ee5145fd4ab68a8a311d95d76f581e834c89a2fcd00c73deefd6d10823b96aaaf68e9a350462b5a92616e4a7c3270379b1be88ddfa4c15eb1ef3e20f503bf9233374557dad35c4f4b9e3c39a18d52733c6bb5fd668fa218b964532978c4c12e6a2aaf4bad962939c3fb249fe2284da4cebd57bc65088b92e878c239ea87a581d6cdaac66dabae26a28df1b8cc45945707ff2caea3fbb7bbbdcc4aa3f825b596683c514f9456b8f16b2606a123f0005bd6a718adeaf2993a877a8aa47fa17e11628d7165f8d6a8678b6d0f8f5a1b078488a6f7

this is ciphertext

#

and no1 except you can decrypt it

#

even though everyone sees your public key clearly

#

noone knows your private key

safe skiff
rough sapphire
#

👍

royal lakeBOT
#

Hey @safe skiff!

You either uploaded a .txt file or entered a message that was too long. Please use our paste bin instead.

safe skiff
#

wtf

rough sapphire
#

you need MY public key, if you want me to decrypt something

safe skiff
#

My brain doesn't get this

#

Yours compared to my encrypter

#

has a %9999999999999 difference

rough sapphire
#

I mean, some large websites use RSA 2048 bit for key exchange

#

my implementation is RSA 4096 bit key

safe skiff
#

which one is better?

rough sapphire
#

so it's safer than the digital signaTURE ISSUED BY MY STATE

#

4096 IS SAFER

#

but is more computationally difficult

#

RSA -> slow, but asymmetric

safe skiff
#

use 16384

rough sapphire
#

AES -> fast but symmetric

rough sapphire
safe skiff
#

But no one will be able to decrypt right?

rough sapphire
#

no1 can decrypt 2048...

safe skiff
#

what the hell

rough sapphire
#

as i said, state issued sigrnature uses 2048

safe skiff
#

If you want to use 16,384, Do you have to recode?

#

or it's just a number you can change

rough sapphire
#

microsoft uses RSA 2048

graceful basin
#

these days, a lot of modern asymmetric crypto does elliptic curves, since you need significantly smaller keys to get same or greater security

rough sapphire
#

hello

rough sapphire
#

elliptic curves don't do encryption afaik, only digital signature

#

anyone wanna take a look at my code? I could use some help

rough sapphire
safe skiff
rough sapphire
graceful basin
#

they do encrypt

rough sapphire
#

they do? 🤔

graceful basin
#

though most "encryption" is just pass a random symmetric key and use it for a faster symmetric cipher

rough sapphire
#

yep

rough sapphire
#

RSA is slow

safe skiff
#

Okay so my Public key is 1100 characters, How much will the 16k will be?

rough sapphire
#

uhh

#

it's not, it's actually just 4096 bits, i was just lazy so i hexed the text that exports the key

#

in other words, the key could be represented in less text, i was just lazy

safe skiff
#

It's coded in python?

rough sapphire
#

JavaScript

#

but python would be better

safe skiff
#

F

rough sapphire
#

do it in python

#

surely there must be a library

safe skiff
#

I don't know how tho...

#

I'm a beginner in coding

rough sapphire
#

do you know git and github?

safe skiff
#

ofc :)

rough sapphire
rough sapphire
#

and i'll help you out

safe skiff
#

No No No, Thank you so much!

#

I don't really wanna make it

#

I just think it's so cool

#

And the img-hide

#

This is so cool too

rough sapphire
#

stenography is the thing you are interested then

safe skiff
#

You know...

#

When I don't do stuff

#

I just come up with ideas

#

I wish I hadn't school

#

There is a plan I have

#

Well 2 plans.

#

One is to make a game

#

Like a 4k game

#

Something similar to Minecraft + Rust

#

Minecraft gameplay but a Rust quality

#

I will be able to do that when I'm older, And the other plan is

#

Make a program that will help out my country's people

#

Find doctor numbers

#

Locations

#

Order food/taxi

#

All that in one app

#

But I don't have time...

#

And I'm just a beginner, That will not be possible until 4+ years of experience imo

rough sapphire
#

no, that's just an excuse

#

doesn't take more than 1-2 weeks to get to the point you can do these things

#

well, the later ones

safe skiff
#

I live in Iraq, If I don't get %85+ in 12th grade, I won't even have a life

rough sapphire
#

games are very difficult

safe skiff
#

I will be in grade 12th in 6 monthes

#

I have to study in the summer as well

#

So I only have 3 months left to have fun in my life

#

I can't start learning things now...

rough sapphire
#

what do you study

safe skiff
#

I'm in 11th grade

#

It's just school

#

I wanna be an IT Engineer when I grow up

#

I've been using computers since 6-7 years old

#

I'm the greatest Computer Knowledge in my family

#

Everyone knows I'm good at computers/software

#

And if I don't get %85+ in 12th grade

#

I won't be able to study IT

#

😭

rough sapphire
#

get that then

safe skiff
#

I have too!

#

Or I won't have a life

#

Imagine getting geography

#

The most hated thing in my life is geography

#

I've always been bad at it

rough sapphire
#

geography is easy

#

I just declare I own everything

safe skiff
#

That's why I wanna be a refugee...

rough sapphire
#

except england though.. eww they can keep it

safe skiff
rough sapphire
#

I have a song for you

safe skiff
#

go ahead

rough sapphire
safe skiff
#

Bruh...

rough sapphire
#

UNITED STATES CANADA MEXICO PANAMA HAITI JAMAICA PERU

safe skiff
#

stop 😢

rough sapphire
#

REPUBLIC DOMINICAN CUBA CARRIBEAN AND EL SAVADOR TOO

#

catchy song

safe skiff
#

That's not geography tho...

#

As I mention, I hate History too

rough sapphire
#

it's how I learned.. when I was 4

safe skiff
#

Most annoying

rough sapphire
#

I HAVE A MOVIE FOR YOU

#

WAIT

safe skiff
#

NO!

#

NO PLEASE!

rough sapphire
#

it seems you just want to complain and not learn

#

this is Bill and Ted's excellent adventure..

safe skiff
#

Bro...

#

No...

rough sapphire
#

see the movie.. you will learn so much history

safe skiff
#

Hell no

#

I hate it

rough sapphire
safe skiff
#

AND WHY THE MOVIE IS ON YOUTUBE

rough sapphire
#

Civilization

safe skiff
#

Stop it...

rough sapphire
#

I like to solve things

safe skiff
#

Oh really?

#

I wanna be a civilian of USA

#

FIX THAT!

rough sapphire
#

that's a want, not a problem

safe skiff
#

I will do anything it takes

#

nope.

#

no srsly

#

WE FUCKING DONT

#

BECAUSE THEY STEAL IT FOR THEMSELVES

#

IRAQ HAS IT

#

IM A PART OF IRAQ

#

AND WE DON'T HAVE IT

rough sapphire
#

united states, canada, mexico, panama

safe skiff
rough sapphire
#

you mean 'citizen'

safe skiff
#

yes

rough sapphire
#

i'm gonna modernize my crypto website

#

the shit i got rn is AWFUL

#

I need help

#

I'm not sure how to do elapsed time in my script

dire siren
#

and frame you for having some dangeours weapon

rough sapphire
#

can someone take a look at this

dire siren
#

scary code

rough sapphire
#

just take a look at the two lines

#

that I marked

#

yes

dire siren
#

no idea :/

rough sapphire
#

you are measuring time before you app.run

dire siren
#

I don't understand

rough sapphire
#

so the result should be basically 0

rough sapphire
#

I dont know much about this dunder method

#

where should I put this then

#

switch line 37 and 36

#

37?

#

no wait

#

idk

#

it's not 37

#

😦

#

you cut the numbers of

#

oh wait

#

....

#

okay so 107 and 108

#

is this ok

#

yes, but you should print elapsed time

#

or something

#

i mean

#

idk what you're trying to do i'm just making a guess

#

I will do it here

#

ooh, global variable 🤢

#

NAAAASTY

#

what do you mean

#

where.. it's a function

#

elapsed_time is a function?

#

no.. it goes to a function

#

it does?

#

because, I need to run it until it timesout

#

show me

#

line 93

#

you get in job_id

#

so idk where elapsed time is comming from

#

ok so let me explain

#

if you turn up the python linter to strict you'll se a buncha errors

#
  1. I have two functions, submit workflow--> returns a job id if it runs.. get workflow status --> uses job id either from the other function or in command line input to check status
#
  1. I have to check status every minute until the job completes..
#

soo.. how do I calculate elapsed time.. because im using a while loop that repeats the function using the same job id

#

I did this now

#

I got it

#

process_time in time library doesn't include sleep time

#

so I went with perf_counter instead

#

phew

#

but my while loop doesn't stop 😦

#

hello guys
do you have any recommendations for free data structure and algorithm courses online (preferably in python). I cannot find anything reasonable that is free

rough sapphire
#

You're the only person to have answered in the other channel

#

and I received multiple relevant answers

#

how do I stop my while loop

dire siren
#

spamming pref counter might affect ur CPU speed btw

rough sapphire
#

where

dire siren
#

Ctrl C on the terminal

rough sapphire
dire siren
#

ok

rough sapphire
#

I mean where do I insert a break

#

I need it to be programmatic..

#

not randomly breaky my while loop

dire siren
#

if it works, it works

#

don't think too much

rough sapphire
#

what are you talking about....

#

like damn

dire siren
#

every program exists are logical

rough sapphire
#

like wtf

#

if you dont know you can say you dont know

dire siren
#

wow

#

you can tell me what you don't understand

#

instead of that

rough sapphire
#

of course I dont understand, it's why I asked the question

dire siren
#

I answered

#

:/

rough sapphire
#

but you're not helping.. with your ctrl+c

#

of course I know how to do the system interrupt..

#

my issue is, the while loop should have stopped at 180 seconds.. because my constant being compared is 180

#

but it's been several minutes, it keeps running

rough sapphire
dire siren
#

:)

shut ermine
#

bruh imagine leaving water sitting around in the kettle overnight wtf

bold moat
#

guys ive made the decision

#

to unaddict myself from youtube

violet willow
#

good decision

rough sapphire
#

!

jovial oriole
#

i gotta find a new platform to find memes on

#

reddit has too many ukrainian farmer memes

dire siren
thorn lagoon
#

what is this name

small coral
thorn lagoon
small coral
#

i mean who even uses K&R C

#

C has gone really far

thorn lagoon
#

😅

gritty fractal
#

@terse sluice i like ur pfp

terse sluice
#

woah thanks! i like yours too

gritty fractal
#

:0

floral apex
#

Wooow Ehhe Sussossus

tulip cedar
floral apex
#

They're the Sussossus

tulip cedar
#

Lmaooo

viscid abyss
#

Hello, I'm interested in learning abit of ethical hacking. Pentesting my applications, computers, etc.. And seems that the widely used linux distro for it is kali linux. Will I get the same experience if I just use a dockerized kali linux? or kali as my os is the best way to go?

rough sapphire
#

which tools do you want to work with

gentle sparrow
#

@chrome reef make more Try / Except and just put them around specific dictionary accesses. that way you know the try is only for a specific dictionary

#

just putting a big honking try around a lot of code because you've written a bug where you're structured your data wrong / are reading it wrong and so are getting keyerrors as a matter of course is a code smell, you should just bugfix where you are going wrong instead of catching it and letting things continue

burnt finch
#

hey guys

#

does anybody use microsoft team?

#

i am facing a big problem......

#

i think i need some help

dapper dew
#

What is the problem? Is this something your IT group can't solve?

chrome reef
dire siren
#

ive officially given up transpiling python to nim

#

it seems that nim is too safe

#

and idk how to make it unsafe

#

:/

dire siren
#

I've officially continued my development

thorn lagoon
#

150 mins of dev free time

#

unacceptable

thin cloak
dire siren
small coral
thin cloak
#

Lost count mua hahaha

small coral
#

6 times?

thin cloak
#

Maybe

dire siren
small coral
#

it's like 6

rough sapphire
#

DO YOU EVER FEEL, LIKE A PLASTIC BAG

small coral
thin cloak
floral apex
#

And of course I'd doubt them

thin cloak
bold moat
#

monke live in tree

#

monke house die 😭

thin cloak
#

But paper biodegrades unlike plastic

bold moat
#

but monke home die if more paper make

#

if monke die

#

then disasters occur

mild abyss
#

both paper and plastics are kinda not environmental friendly. u have to see the costs and choose one over the other. it is kinda of a dilemma

bold moat
#

what if we just compact the plastic into cubes and then turn them into roads

#

or recycle it

mild abyss
#

we also have the issue of microplastics and the impacts of it in the biosphere

thin cloak
#

Seen startups do that

bold moat
#

yeah i heard it from ddoi

mild abyss
#

How to make paper:
Cut trees -> Replant trees (doubt if they do and if they do, trees dont grow fast) -> process logs that use heat and release gh gases in the atmosphere -> further processing uses chemicals that might be harmful to the environment.

and thats just a simplified process of it

small coral
dapper dew
#

The main kind is pine I think, which can grow fairly quick in 5-10 years

thin cloak
#

Perfect Discussion for Wookie thread ..I think they also live in trees like Monke

#

Watch that train wreck if you want to see wookies

small coral
#

@shy quail

#

debate here

shy quail
#

this is inactive channel

small coral
#

ok but debate here

dire siren
#

dart is a cool lang btw

#

but I never used it :>

runic wigeon
tulip cedar
#

that's what I feel for JS

runic wigeon
#

JS is shit

dire siren
#

any langs that makes small binaries btw

#

I'm thinking transpilin py to that lang then to binaryy

graceful basin
#

Zig or V have fairly slim binaries IIRC

dire siren
tulip cedar
#

lol

rough sapphire
#

@dire siren hi elay ¯_(ツ)_/¯

#

fishie boy's status 👀 lemon_smirk

grave cove
#

@shy quail

#

We can continue here, I don't want to disrupt general too much

shy quail
#

what if someone has a dynamic ip

grave cove
#

That means their IP can change frequently

#

But if you have their IP at any given time you can still find out where they live generally

#

And given that they don't move houses to like a different country

#

Even if their IP changes you'll still know generally where they live

shy quail
#

this is my ip

grave cove
#

Uh

#

You might want to delete that

#

Like fast

shy quail
#

why?

grave cove
#

And hope nobody copied it

#

Because whoever has it now knows your general location

shy quail
#

it was the vpn's ip

grave cove
#

Okay but still best not to do that

#

But anyway, back to your original question about pings

#

If you want to ping something other than your own computer, try 8.8.8.8 which is google's DNS server

#

Or just

ping google.com
shy quail
#

ping Robin
Ping request could not find host Robin. Please check the name and try again.

grave cove
#

To ping me you'd need my public ipv4 address

#

Which I'm not comfortable handing out

#

Or you'd need my domain name address

sterile maple
#

just ping the google dns at 8.8.8.8 or if you really want to ping a name ping dns.google

agile mesa
grave cove
onyx mist
#

whom

grave cove
#

Enderman

#

Said it was the VPN's ip but still

wraith hound
#

I'm sure you could find a C compiler that generates small binaries

thin cloak
open fern
#

Uhh what?

mild abyss
#

probably he wants to inject us something that clots the arteries in and on the brain

bold moat
#

when he just pooped in the ip outta nowhere

grave cove
#

Very

gleaming gull
#

I found where ltt intro sound came from

rough sapphire
#

1.7.28.21

onyx mist
rough sapphire
onyx mist
rough sapphire
tulip cedar
rough sapphire
rough sapphire
onyx mist
onyx mist
rough sapphire
onyx mist
#

dafuq

rough sapphire
#

dada

rigid lodge
#

One of my first ever programs

brazen ingot
#

@ebon quarry It seems like ~~ you have stolen someone else husky~~ fwooosheeer 👀 ||@eternal wing||

jagged fog
#

I'm having some problems naming my variables, so both will deal with percentages just that one goes from 0.0-1.0 and other 0-100
I can't call both percentage, what's the math name separating these 2?

brazen ingot
#

@jagged fog this

jagged fog
#

🤌 it's not a python question, anyway nvm

brazen ingot
#

Uh, ok

ebon quarry
brazen ingot
#

It is a joke 😛

mild abyss
ebon quarry
#

of course 👀

acoustic moss
#

deep inside we are all fisher

brazen ingot
#

yes.

dire siren
#

ooo, nim's variable naming is k00l

#

it ignores _ and the case after the first latter

#

meaning i can use both camelCase and snake_case

#

and being referenced as the same variable

small coral
#

i know that but where

dire siren
#

imagine reading docs

small coral
dire siren
bold moat
tulip cedar
#

Same 😔

brazen ingot
#

not same.

#

devdocs are gud as fuck

dire siren
#

my laptop detects unplugs very slow

#

anything I should be concered

runic wigeon
bold moat
#

i see

#

ill surely check them out

runic wigeon
#

Arch's docs are not too far behind as well

#

Btw is it just me or typing on a mobile phone is hard

runic wigeon
small coral
wraith hound
#

@eager cliff are you happy

rough sapphire
#

324..23523.452354.234.234.

eager cliff
#

YES I AM

low chasm
#

INTERESTING

tardy rain
#

One thousand twenty fourst

rough sapphire
#

test

tardy rain
#

test failed

acoustic moss
#

study harder next time

dire siren
#

imagine studying

paper sequoia
#

imagine imagining

leaden shuttle
#

had a little fun with MoviePy yesterday, the tts is so out of place it's almost funny LuL

mild abyss
#

:(

onyx mist
#

rust

solemn leaf
#

eh

rough sapphire
#

Just received threats from a mod, wow, power has gone to their heads

tardy rain
#

No you didnt, calm yourself

rough sapphire
#

I did, I got a dm

#

are you victim blaming.. have some empathy.. one day it'll be you

tardy rain
#

It wasnt a threat, mods here dont threaten people

#

In fact theyre overly patient

rough sapphire
#

It's a poem by a German pastor.. check it out

tardy rain
#

Such a drama queen lmao

rough sapphire
#

literally got threatened in DMs

#

by some random dude managing a discord.. with a kpop profile pic

tardy rain
#

I know who DMd you and theres a higher chance that youre actually a dog behind the screen than them threatening you

#

Calm down and be grateful meta was the only channel they blocked

rough sapphire
#

I'll tell you two things abusive people do:

  1. make an abusive statement where you can't stand up for yourself and threaten you in private
  2. Try to gaslight you and try to get an overreaction so they can be punitive without limits.
rough sapphire
#

Jesus H Christ.. (I'm not even christian)

tardy rain
#

If you want to dispute it dm @polar knoll

rough sapphire
#

really.. you want me to reach out to people that just threatened me.. naa bruh.. a discord isn't worth drama

tardy rain
#

Ok then? You do you

last mantle
tardy rain
#

I know, its kinda funny

honest star
#

anyone watching VCT today?

quick ledge
#

"VALORANT Champions Tour"?

honest star
#

mhm

tardy rain
#

Whats that about

last mantle
#

ayoo i stopped watching VCT a year ago 😔

honest star
solemn leaf
#

you guys play valo 👀

tardy rain
#

Oh nice

#

Didnt realise they had esports going on

honest star
#

lol, I'm weird that I watch valorant buy don't play it. Miss me with that rootkit install stuff

solemn leaf
#

relatable

honest star
#

Yeah! Casters are pretty good too, so it's fun to get sucked into

solemn leaf
#

but supporting an organization is fun + audience

tardy rain
#

I used to do that with rocket league

#

And WoW

#

Sometimes sitting back and watching people get rekt is fun

last mantle
solemn leaf
last mantle
#

i am on windows 11 but can't play valorant

solemn leaf
#

i too am on win 11

#

took me lots of bios boots to fix the secure boot

last mantle
#

i gave up after 1 try

solemn leaf
#

the problem was the fix was varying for motherboards , i had gigabyte one

last mantle
#

quite happy that i did so

#

valorant gives you brain damage

solemn leaf
#

lol

#

genshin >>

#

🛐

last mantle
#

meh

solemn leaf
#

as long as you have not become a simp gacha gamer
game is pog

last mantle
#

i play AAA titles now

solemn leaf
#

reminds me of some free AAA games i bought last time from epic games and didnt download lmao

last mantle
#

where can i get good templates for personal/portfolio websites

low chasm
bold moat
#

perfectly executed. /j

chilly beacon
#

f movement
tmrw math exam

onyx mist
quick ledge
shut ermine
#

any short catboy kings enjoyers? lemon_smirk

uneven pine
#

That uses a rootkit as anticheat

rugged echo
gritty zinc
jovial oriole
#

Finally finished my imaginary interview with a leprechaun enjoy! -

royal lakeBOT
#

Hey @jovial oriole!

You either uploaded a .txt file or entered a message that was too long. Please use our paste bin instead.

jovial oriole
#

bruh

onyx mist
#

making a language, what kind of things in a language would you all like to see?

onyx mist
wraith hound
#

idk. at least static.

onyx mist
#

sure

wraith hound
#

is it going to be interpreted or compiled?

onyx mist
#

interpreted

#

idk shit about assembly

#

perhaps i should give compiled a go

low chasm
#

You can use something like llvm, that way you don't need knowledge of assembly

low chasm
#

!pip llvmlite if it's in python, check this out

royal lakeBOT
onyx mist
low chasm
#

Why all of them

#

Should be simpler to just stick to one

#

And have some sort of ffi for the rest for any specific functionality you want and have it work like a library

onyx mist
#

so

#

only python?

#

can i use solidity for smart contracts

#

justa bit

#

pleas

#

ok

low chasm
#

And have some ffi for solidity

onyx mist
#

ok

#

thanks aboo

jovial oriole
#

rust-eh personality

dire siren
#

imagine having sqls in lowercase

#

THATS ILLEGAL

wraith hound
#

why would you ever want to click more buttons

dire siren
#

WHY WOULD YOU NOT SCREAM

thin cloak
karmic gust
tulip cedar
#

Lmaooo

wraith hound
low chasm
#

Imagine

dreamy spoke
#

hi @bleak lintel how u doing m8

#

@bleak lintel rude, answer

#

😭

small coral
dreamy spoke
#

i see him ignoring the notif