#voice-chat-text-0

1 messages · Page 7 of 1

rugged root
#

@somber heath @lavish rover If you have some plastic food container that you never want to take out what's inside, would that be Tupleware?

#

Should have said swap out what's inside

#

Still working on it

lavish rover
#

!e

tupleware = ("ham", "eggs", "cheese")
print(tupleware[0])
wise cargoBOT
#

@lavish rover :white_check_mark: Your 3.11 eval job has completed with return code 0.

ham
lavish rover
#

just took it out

rugged root
#

Yep, I realized right after I hit enter

lavish rover
#

its ok I still love you

rugged root
#

❤️

sweet lodge
rugged root
#

!e

foods = ["ham", "pork", "beef"]
drinks = ["milk", "OJ", "coffee"]

meals = {food: drink for food, drink in zip(foods, drinks)}

print(meals)
wise cargoBOT
#

@rugged root :white_check_mark: Your 3.11 eval job has completed with return code 0.

{'ham': 'milk', 'pork': 'OJ', 'beef': 'coffee'}
vast fog
#

!e

d1 = {'ham': 'milk', 'pork': 'OJ', 'beef': 'coffee'}
print({food: f"gulp of {drink}" for food,drink in d1.items()})
wise cargoBOT
#

@vast fog :white_check_mark: Your 3.11 eval job has completed with return code 0.

{'ham': 'gulp of milk', 'pork': 'gulp of OJ', 'beef': 'gulp of coffee'}
vast fog
#

nice

sweet lodge
#

Now make it work backwords

rugged root
#

!e

foods = ["ham", "pork", "beef"]
drinks = ["milk", "OJ", "coffee"]

meals = dict(zip(foods, drinks))

print(meals)
wise cargoBOT
#

@rugged root :white_check_mark: Your 3.11 eval job has completed with return code 0.

{'ham': 'milk', 'pork': 'OJ', 'beef': 'coffee'}
somber heath
#

!e py d = dict([(1, 2), (3, 4), (5,6)]) print(d)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

{1: 2, 3: 4, 5: 6}
somber heath
#

!e py a = 1, 2, 3 b = 4, 5, 6 c = [*zip(a, b)] print(c) d = dict(c) print(d)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | [(1, 4), (2, 5), (3, 6)]
002 | {1: 4, 2: 5, 3: 6}
somber heath
#

Who go? They go.

rugged root
whole bear
#

ah treesitter its great

terse needle
#
Calamity Mod Wiki

"It was tempered by the fires which are fueled by spirits, and formed in the magma I draw into my laboratories."

Not to be confused with Muramasa, a vanilla broadsword.
The Murasama is a post-Moon Lord melee weapon resembling a sword. It can be found in The Underworld's Bio-center Arsenal Lab, contained within a Security Chest. Although Murasam...

lavish rover
rugged root
#
string firstName = "Bob";
int widgetsSold = 7;
Console.WriteLine(firstName + " sold " + widgetsSold + " widgets.");
lavish rover
#

haha kms

sweet lodge
#

@rugged root In Excel, how can I insert a blank row every other row?

rugged root
rugged root
#

I shall look

#

Is this on existing rows?

#

Wait

#

I think this might be it

sweet lodge
#

Actually makes sense

#

I'm a bit embarrassed I didn't think through that on my own

rugged root
#

Dude, I wouldn't have known

lavish rover
#

im so happy with how this looks

sweet lodge
#

:: with def?

#

What is this?

rugged root
#

I too am confused

#

Oh

#

def <func_name>::<parameters>:<return type> I think?

#

@lavish rover Am I right?

#

Ohhhh

#

Okay

sweet lodge
lavish rover
#

ye

rugged root
#

Right, got it now

#

I derp

lavish rover
#

this is a static method of TokenType

sweet lodge
#

from_text is basically a static method of the TokenType class

#

That parses a string and returns an instance of the class

lavish rover
#

class
well, enum, but yeah

sweet lodge
#

Well, enum

#

jinx

lavish rover
#

no u

sweet lodge
#

What language is this?

#

Not Rust, that would be fn

#

One of the C(s)?

lavish rover
#

aecor

round cedar
#

💀

sweet lodge
#

You're writing a language in your language?

lavish rover
#

yes

sweet lodge
#

🤯

lavish rover
#

well, I'm writing aecor in aecor

sweet lodge
#

oh, right, right

#

Bootstrapping

#

is pretty

round cedar
#

Very convenient

lavish rover
round cedar
#

U guys are talking about the bootstrap library right

#

:v

#

O_o or there is some other bootstrap I don't know of

sweet lodge
# round cedar O_o or there is some other bootstrap I don't know of

In computer science, bootstrapping is the technique for producing a self-compiling compiler – that is, a compiler (or assembler) written in the source programming language that it intends to compile. An initial core version of the compiler (the bootstrap compiler) is generated in a different language (which could be assembly language); successiv...

round cedar
#

Ah u mean writing a compiler for your own language with your own language

sweet lodge
cunning monolith
#

Hi any linux user here ?

sweet lodge
#

Nice, nice, very clean

sweet lodge
cunning monolith
lavish rover
cunning monolith
lavish rover
#

nobody else is working on it so

sweet lodge
#

WTF is this?

sweet lodge
round cedar
sweet lodge
#

Because FedEx decided to say fuck you to everyone wanting to use multiple rows with their flat files

cunning monolith
sweet lodge
round cedar
cunning monolith
#

Ya there might be

rugged root
#

Are you just meaning that's not what the need was

sweet lodge
#

Which I still do not understand

rugged root
#

Hmm

sweet lodge
#

Their example seems contradictory, with the first row having the pipes inside the quotes, and the second row having the pipes outside the quotes

#

Google found a documentation link, but it 404'd and redirected to the home page

rugged root
#

The pipes shouldn't matter

sweet lodge
#

Look again

rugged root
#

I wonder if it just means everything between 6 and 10

#

Rather than specifically 10 or 20 or 30

sweet lodge
#

Nope

rugged root
#

Could just be how they do it

#

Or dimensions?

sweet lodge
#
"weight",
"10|20",

First box weighs 10, second box weighs 20

rugged root
#

Hmm

sweet lodge
#

At least I'm assuming - I'm about to build a file to try it

rugged root
#

Trying to find docs

sweet lodge
#

I'm guessing that if you leave one out, it applies the previous - that's how they have that last row in their example with 4 packages but only one value per attribute

#

I really want a consistent import template for both carriers

#

I guess I just need to bite the bullet and take the time to setup a Postgres DB, because ODBC is the only way I'm going to be able to get feature parity

rugged root
#

No you shouldn't have to

#

And I wouldn't bank on that being consistent either

#

Let me keep hunting for a moment

round cedar
rugged root
#

What?

sweet lodge
# rugged root No you shouldn't have to

Can't use the same CSV template for both, because FedEx requires multiple packages to be pipe delimited within a single row, and UPS requires packages to be on separate rows

rugged root
#

Ah, missed the part about UPS

round cedar
sweet lodge
#

I've been using the same template for single package shipments on both carriers for a couple years now, but now that I have to do this multi package stuff, it's throwing a wrench in everything

rugged root
#

It's also possibly a typo

#

But I don't know

whole bear
#

A ferret

#

a stoat?

rugged root
sweet lodge
# rugged root But I don't know

Yeah, I built a Python script that uses a third party API that lets me pick which carrier I want by just adding it to my API call - it was really nice, it saved everything to a SQLite DB, from which it generated a tracking report and a PDF of all the labels. But my boss refused to keep paying for the API, so I don't get to use it 😭
He wants me to use the first party APIs from the carriers because they're free, but they're SOAP and require.....
Holy shit
FedEx has published a REST API with a OpenAPI spec - https://developer.fedex.com/api/en-us/catalog/ship/docs.html
Both UPS and FedEx are now replacing their SOAP with OpenAPI specs - I'll definitely have to spend some time on this.

I might seriously just break down and build my own shipping program, because all the ones I've seen are just awful, and I need to do things in bulk at ever increasing scale, and these little systems can't handle it.

rugged root
#

When architects get bored

wintry pier
#

@rugged root

rugged root
#

Suuuuup

rugged root
#

Make sure you do it on your own machines, though

#

Otherwise your work could potentially claim it for themselves

sweet lodge
#

Last shipping program my boss bought for a special project - He liked it so much he told me to integrate it with our ERP.
I connected it via ODBC, and.... it crashed. Turns out, even though I specified exactly which database and tables to connect to during the integration setup, the program decided to call SHOW DATABASES;. Our ERP is built in a custom "low code" tool, who's ODBC driver doesn't support the entire SQL standard. Apparently the shipping program couldn't handle that unexpected error, and just died.

#

Anyways
Sorry
This has been my daily rant of trying to build "small enterprise" level systems on a "small family business" budget

rugged root
#

You're fine, you know I'm always down for a rant

sweet lodge
# rugged root Make sure you do it on your own machines, though

Funny story - Like two months after they "officially" moved me into IT, the hard drive in my work computer died. My boss said he'd order me a new one immediately, because "it'd be pretty stupid to have an IT guy with no computer", and then.... I didn't hear from him the rest of the week.
I brought my personal laptop to work, and I've been using it ever since.
So, I'm always on my own machine
It's connected to my own Intune and everything

rugged root
#

Still be wary

sweet lodge
#

I also have my own GitHub org for clear seperation

rugged root
#
using System.Windows.Forms;

MessageBox.Show("Hello World!", "Greetings", MessageBoxButtons.OKCancel);

This C# is equivalent to this IronPython code:

import clr
clr.AddReference("System.Windows.Forms")
from System.Windows.Forms import MessageBox, MessageBoxButtons

MessageBox.Show("Hello World!", "Greetings", MessageBoxButtons.OKCancel)
#

This bothers me

sweet lodge
#

I didn't know that there was a .NET Python

rugged root
#

Yeah, IronPython

#

It's been more or less dead, not a lot of active development on it

#

But it's still going

ebon sandal
#

Advertisement on YouTube be like 😶

honest pier
#

@sweet lodge 👀🐕 🌈

bright coyote
#

cant wait to stream my coding project on here

rugged root
#

What're you working on?

bright coyote
#

im making a website where data sets will be available and people can make comments and posts

rugged root
#
int first = 7;
int second = 5;
decimal quotient = (decimal)first / (decimal)second;
Console.WriteLine(quotient);
bright coyote
#

i plan on integrating python for the data

#

ima stream it on here for feedback

#

its gonna be so cool

#

and ima buy a porsche from coding

#

ima get a loan and get coders and advertise

#

and maybe go public

#

im going for the cayman

#

red

#

i needa write more comments to stream

#

so im gonna talk more about my code

rugged root
#

Streaming and voice verification are separate things

sweet lodge
rugged root
#

Streaming has to be granted (and more often than not on a temporary basis) by mods+

bright coyote
#

i plan on using python because most ppl use it for/with machine learning

rugged root
#

Brb

bright coyote
#

i love using parabolas from trigonametry and I think ppl use python for that

#

2x^-2

bright coyote
vast fog
#

it's snake_case

rugged root
#

!stream 705441298710265928

wise cargoBOT
#

✅ @bright coyote can now stream until <t:1660667076:f>.

sweet lodge
#

@rugged root - Are you proud of my Excel?=CONCAT(ROUND(72*0.45,0),"|",ROUND(SUM(U2*0.85,W2*0.45),0))

#

Buy now! Only 14 left!

#

WAIT

#

@rugged root

#

The FedEx API docs have Rust as one of the available languages for code samples

#

Embrace Rust!

mild quartz
fresh wharf
#

hello guy can someone help me fix this?

ImportError: cannot import name 'url' from 'django.urls'

#

im useing django 4.1

#

@rugged root

#

@honest pier

#

tnx

rugged root
#

Whyyyyyyyyyyy do the literals use curly braces

#

What's wrong with square

oak elm
#

does anyone know how to webscrape ?

rugged root
#

What were you wanting to scrape?

oak elm
#

i m trying to learn it and i dont know even where

#

i didint find something useful in youtube

bright coyote
#

@peak copper something like this

rugged root
#

Be back in a moment

still island
#

can someone tell me what is the normal time for streamings and what it's topics and thanks

somber heath
#

Weekdays, it's usually code-based things or other sufficiently geeky content. Pets occasionally qualify. Otherwise, game streaming may occur during the weekends and not during weekdays.

#

Streaming permissions may be requested from moderators, admins and owners who are present in the voice chat at the time, who may freely decide to grant you streaming permissions or not entirely at their discretion/whim.

#

You are also asking them to observe your stream.

#

The ability to begin streaming may be granted to you for a limited period of time, after which, it is automatically removed. The stream may continue beyond this point.

#

Some users have the ability to stream whenever they choose.

#

Usually staff, but a few non-staff, too.

#

Again, entirely discretionary.

still island
ionic reef
#

hello?

somber heath
#

@worthy flicker Down here. 🙂

worthy flicker
#

its 12am

#

lmao

somber heath
#

Everywhere in the world?

worthy flicker
#

your voice tho and btw im a guy.

worthy flicker
#

it csn be 6am 8am for u lmao

#

I cant talk rn

#

I know I just cant yet

tired lark
#

how can i force a safe BSOD with batch ?

#

so that my computer wont just crash forever lmao

zenith radish
#

Why is VC dead ;c

quasi condor
zenith radish
#

Bastards

rugged root
zenith radish
#

@terse needle I DIDNT KNOW I WAS MUTED

#

BRO

sweet lodge
# rugged root Fighting programs at work today

You too?
I had a program that was crashing, so I ran their repair tool, and the repair tool crashed, and now the program just says "fatal error - please reinstall", so now I have to download the installer from their website, which is over 5GB, and their site caps me at about 0.5mb/s

#

Hope your day is going better than mine

sturdy panther
#

Hi!

plain rose
#

when you decide to help someone, they either need help with a tic tac toe game, or are debugging 75k golfed lines in a python script, with every variables name as _, messing with bytecode, the garbage collector and ctypes. the script is probably an AI that will doom all humanity when run with all bugs fixed, and connected to internet. the revolution will begin shortly, do not turn off your computer.

round cedar
toxic hare
#

im ngl it took me a full day to understand this shit, i tried it and it does work but still not quite the way i want it to

the issue is that one person is being assigned all the data

#

ive been trying some other stuff and im getting a little bit closer and im still just not there

#

i cant seem to assign more than one value per key

#

will hopefully find you in vc and we can talk about it 🤞

rugged root
vast fog
terse needle
#
def make_backronym(acronym):
    return ' '.join(dictionary[x.upper()] for x in acronym).strip()
vast fog
#
def make_backronym(acronym):
    return " ".join([dictionary[c.upper()] for c in acronym])
terse needle
#
make_backronym = lambda a: ' '.join(dictionary[x.upper()] for x in a)
rugged root
brazen gazelle
#

CHALLENGE INFORMATION // CHALLENGE IS OVER - THANKS FOR THE PARTICIPANTS

If you want to enter my challenge you have to do the following:

  • create a game based on my tutorial series (will be linked after the upload)
  • [optional] customize your game (you can leave it as I've designed it and just show me that you've completed the challenge!)
  • sen...
▶ Play video
vast fog
#
cyc_patt_arr = l[l.index(n):len(l)-l[::-1].index(n)]
serene glade
whole bear
#

hi

terse needle
#
fn digital_sum(num: u32, n: u32) -> u32 {
    format!("{}", num).chars()
        .map(|x| ((x as u32) - 48).pow(n))
        .sum()
}

fn sum_pow_dig_seq(start: u32, n: u32, k: u32) -> (u32, Vec<u32>, u32, u32) {
    let mut history = vec![start];
    let mut result: Option<(u32, Vec<u32>, u32)> = None;
    
    for _ in 0..k {
        let new_d_sum = digital_sum(*history.last().unwrap(), n);
        if result.is_none() {
            if let Some(index) = history.iter().position(|&x| x == new_d_sum) {
                let cyclical_pattern = history[index as usize..history.len()].to_vec();
            
                result = Some((index as u32, cyclical_pattern.clone(), cyclical_pattern.len() as u32));
            }
        }
        history.push(new_d_sum);
    }
    
    if let Some(x) = result {
        (x.0, x.1, x.2, *history.last().unwrap())
    } else {
        (k, vec![*history.last().unwrap()], 1, *history.last().unwrap())
    }
}
vast fog
#

start = 3133, power = 2, k = 384 ----> result = [4, [1], 1, 1]
[4, [], 0, 1] should equal [4, [1], 1, 1]

#

the only failing test

#
def sum_pow_dig_seq(start, n, k):
    l = []
    r1 = sum([int(i)**n for i in str(start)])
    l.append(r1)
    for i in range(k-1):
        r1 = sum([int(i)**n for i in str(r1)])
        l.append(r1)
    last_term = r1
    cyc_patt_arr = []
    temp = []
    stop = False
    end = None
    for n in l:
        if l.count(n) > 1 and not stop:
            temp.append(n)
            strt = l.index(n)
            stop = True
            h = l.index(n) + 1
        if l.count(n) > 1 and stop and n not in temp:
            temp.append(n)
            end = l.index(n)
    if end == None:
        end = temp[len(temp)-1:][0] if len(temp) > 0 else l[len(l)-1:][0]
    cyc_patt_arr = l[strt:end+1]
    if cyc_patt_arr != []:
        if cyc_patt_arr[0] == cyc_patt_arr[len(cyc_patt_arr)-1]:
            cyc_patt_arr = [cyc_patt_arr[0]]
    else:
        cyc_patt_arr = [l[len(l)-1]]
    patt_len = len(cyc_patt_arr)
    return [h, cyc_patt_arr, patt_len, last_term]
whole bear
#
function sumPowDigSeq(start, n, k) {
  let s = 0, seq =new Array(k), h ={}, num = start, found = false,
      first, last;
  for (let i = 0; i < k; i++) {
    s = 0;
    while (num != 0) {
      s += (num%10)**n;
      num = Math.floor(num/10);
    }
    seq[i] =s;
    if (s in h) {
      found = true;
      first = h[s];
      last = i-1;
      break;
    } else h[s] = i
    num = s;
  }
  let list = [];
  for (let i = first; i <= last; i++) list.push(seq[i]);
  return [first+1, list, list.length, list[(k - first -1) % (list.length)]]
}```
terse needle
#

!e

x1 = (1, 234, 2)
x2 = (1, 234, 3)

def f(t):
    match t:
        case (1, y, 2): print(y)
        case _: print("Couldn't match")

f(x1)
f(x2)
wise cargoBOT
#

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

001 | 234
002 | Couldn't match
quasi condor
#

.http 409

vast fog
#

hold on

#

have to restart browser

#

no audio

whole bear
#

take your time

vast fog
#

Rust is installed now. Great!

#

😎

#

String::from

whole bear
#
let hello = String::from("Hello");
hello.push_str(" world!");
vast fog
#

!paste

wise cargoBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

vast fog
whole bear
vast fog
#

criticism 👍

#

any obvious don't do's etc

#

my one question out of this is

zinc sinew
#

going to bed night guys

vast fog
#

let args: Vec<String> = env::args().collect();
why is the type for the variable on the left side of equals, delimited from the name with a : ?
compared to defining a typed variable like let user1 = User {}

whole bear
#

these two are the same:

let x = 42;
let x: i32 = 42;
#

the first one, the type is inferred, the second one the type is explicitly provided

vast fog
#

how does let user1 = User {} play in to this? This only for initializing a struct?

warped raft
#

!e

wise cargoBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <code, ...>
Can also use: e

*Run Python code and get the results.

This command supports multiple lines of code, including code wrapped inside a formatted code block. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside of them.

By default your code is run on Python's 3.11 beta release, to assist with testing. If you run into issues related to this Python version, you can request the bot to use Python 3.10 by specifying the python_version arg and setting it to 3.10.

We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!*

warped raft
#

!e
print ("hello")

wise cargoBOT
#

@warped raft :white_check_mark: Your 3.10 eval job has completed with return code 0.

hello
whole bear
#

hi @cunning tundra

#

Sry i'm not able to rn

#

it's kinda noisy here

#

@ebon sandal there are many people here so many noise that's why i'm not talking to not bother you guys

languid locust
#

hello @whole bear

#

@whole bear i tried doing that before, but i didn't find an option for it tho

#

sorry gtg

#

bai

whole bear
#

oh bye have a great time

somber heath
languid locust
#

omg hello @somber heath

#

aa i remember you sir, you used to teach me stuff about python 1 year ago

#

e

#

@whole bear hello

#

omg you are pro at coding

#

which langs do you know? @whole bear

#

@whole bear well but you are making a programming language and i think that's pretty much for pro ish people.
also why do you think having your main language as java is dumb? it sounds really cool :).

whole bear
#

the left one is the button for noise cancelation @languid locust

languid locust
#

@whole bear ayy that's so cool

#

my main language is tbh idk

#

it used to be python

#

im not on phone

languid locust
#

@whole bear i think its my headphone that doesn't have the noice cancellation feature

#

@whole bear im not using any frameworks right now cause i want to learn to create a website from scratch, but i used to use bootstrap cause it's very easy lol

#

yeah

#

kinda

#

@whole bear do you know web development as well?

#

well in html and css its easy to start from scratch

#

@whole bear wanna show me some of your projects

#

oh

#

lol

#

oki np

#

welcome @cloud hare

cloud hare
#

@whole bear i need to start learning PY

#

can you guys help

#

where to start from?

#

idk that

languid locust
#

@whole bear oH nice, so like i think if your main langs are java and python, have you ever tried making a discord bot? people kinda start with discord bot to practice coding and i think to know more about API'S

languid locust
#

@whole bear these projects actually sounds very cool

languid locust
cloud hare
languid locust
#

@whole bear bRo these projects are not boring at all lol

languid locust
#

@whole bear oh that's cool, what's your age if you dont mind me asking?

#

oh

#

that sounds cool

#

what's the embarrasment in that tho? @whole bear

#

xD

#

oh

cloud hare
#

@whole bear ohhh

languid locust
#

i'm 14

cloud hare
#

i'm 15

languid locust
#

nice

cloud hare
#

ok guys bye gtg

#

tc you all

languid locust
#

@whole bear pardon me can you repeat

#

oh

#

yeah my voice is kinda different online

#

and its deep irl

#

i know python(kinda my main but haven't coded in python for 1-2 ish months), html, css, node.js and a little bit of SQL with ms access

#

oh

#

nice @whole bear

#

welcome @frail marsh

wise cargoBOT
#

Hey @limber helm!

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

whole bear
#

hey @whole bear you mind helping me with something?

#

im in call

#

but cant talk

#

not verified

#

for some reason

whole bear
whole bear
inner thorn
#

yes i do

#

thanks but i know that before

#

wooo

#

thread?

whole bear
#

how can i open a new thread for each file in a directory and write it to one file called "antipublic.txt"

inner thorn
#
import threading
...
def function_name():
    return
...
threading.Thread(target=function_name).start()
whole bear
#

Elapsed time 00:00:00.023

inner thorn
#

ahaa!

#

yah

#

lambda : [function1,function2]

#

you better ask in help channel

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @whole bear until <t:1660912627:f> (9 minutes and 59 seconds) (reason: newlines rule: sent 104 newlines in 10s).

The <@&831776746206265384> have been alerted for review.

magic coyote
#

!unmute @whole bear Try our paste service

wise cargoBOT
#

:incoming_envelope: :ok_hand: pardoned infraction mute for @whole bear.

magic coyote
#

!paste

wise cargoBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

whole bear
#

ty

inner thorn
#

!unmute @whole bear

whole bear
inner thorn
#

i new buddy @rugged root

#

well I can't talk

#

verification failed

#

aha

#

not really

#

kkk

#

its my second discord acc

#

dubi dubi dooo

#

can i dm you the reason

rugged root
#
In [21]: with open("archive_list.csv", newline="") as file:
    ...:     file_reader = csv.reader(file)
    ...:     for client, _ in file_reader:
    ...:         if (folder := dms_dir / client).exists():
    ...:             print(f"{client} exists at {folder}")
    ...:         else:
    ...:             print(f"{client} does not exist.")
#

!server

wise cargoBOT
#
Server Information

Created: <t:1483877013:R>
Roles: 156
Member status: status_online 51,266 status_offline 302,140

Members: 353,409

Helpers: 145
Moderation Team: 38
Admins: 14
Owners: 3
Contributors: 42
Leads: 10

Channels: 329

Category: 34
News: 9
Staff: 68
Stage_Voice: 2
Text: 205
Voice: 11

urban hull
#

import csv

#

XD

#

im Awkward

#

don't speak english XD

rugged root
#

Nothing wrong with that!

#

We got people from all over

urban hull
#

yeah

#

no

#

what

#

you can write XD

rugged root
#

Hopefully

urban hull
#

because i can't translate for you voice

rugged root
#

Ah, I'm sorry

#

I tend to talk really fast, too

urban hull
#

XD

rugged root
#

Which doesn't help

urban hull
#

XD

#

so is very Awkward

dense ibex
#

@terse needle

uncut meteor
rugged root
#

HA

#

Amazing

cunning monolith
terse needle
uncut meteor
#

in rust

rugged root
#

Beer hunter

#

The only winners are the folks sitting far away from the loser

dense ibex
#

Haven’t done that in awhile

#

Dogshit website

#

💀

terse needle
#

so do it in rust

serene glade
#
import os

run = True
menu = True
play = False
rules = False

HP = 50
ATK = 3

def clear():
    os.system("cls")

def draw():
    print("-----------------")

def save():
    list = [
        name,
        str(HP),
        str(ATK)
    ]

    f = open("load.txt", "w")

    for item in list:
        f.write(item + "\n")
    f.close()

while run:
    while menu:
        clear()
        draw():
        print("1, NEW GAME")
        print("2, LOAD GAME")
        print("3, RULES")
        print("4, QUIT GAME")
        draw():

        if rules:
            print("i'm the creator of this game and these are the rules.")
            rules = False
            choice = ""
            input(v )
        else:
            choice = input("a ")

        if choice == '1':
            clear()
            name = input("Heros name? ")
            menu = False
            play = True
        elif choice == '2':
            f = open("load.txt", "r")
            load_list = f.readlines()
            name = load_list[0][:-1]
            HP = load_list[1][:-1]
            ATK = load_list[2][:-1]
            print("Welcome Back" + name + "I")
            input("> ")
            menu = False
            play = True
        elif choice == '3':
            rules = True
        elif choice == '4':
            quit()


    while play:
        save() # autosave

        clear()
        draw():
        print("0 - SAVE AND QUIT")
        draw():

        dest = input('s ')

        if dest == "0":
            play = False
            menu = True
            save()
vernal bridge
vast fog
vast fog
#

hoping to reduce

vast fog
rugged root
#

@south bone Is it this guy?

#

Or someone else

terse needle
#

@rugged root just me but master of puppets sounds a lot like E1M1 At Doom's Gate

rugged root
#

That's intentional.

#

It was an homage to it

#

There's a lot of that

terse needle
#

so that's what we call it now

#

a "homage"

rugged root
#

There's one of the Doom levels where the music shares the opening to Them Bones by Alice in Chains

terse needle
#

I see

rugged root
#

I'll find it later, but there was a "Did You Know Gaming" about it

#

They mention a few of the songs

rugged root
#

@serene glade Stalagnate

#

!source

wise cargoBOT
rugged root
#

Ah, no I'm wrong

#

For some reason I was thinking there was

#

?source

sweet lodge
sweet lodge
rugged root
#

That was what I was looking for, but I don't need it now

serene glade
hearty knot
#

... and some are throwing bombs a nuclear power plant ....

rugged root
#

Actually that's a question

#

Can we decom nuclear weapons and use the stuff for power plants?

#

Or is it just not the right concentration/make-up

hearty knot
#

yes it is recyclable

rugged root
#

Neat

faint ermine
#

@rugged root have you seen Taichi-lang?

rugged root
#

Hadn't heard of it before, I'll take a peek

faint ermine
#

it seems incredible, like numba but better

rugged root
#

That's wild

#

The JIT aspect makes reminds me of pyjion

#

Especially since it's just something you import

faint ermine
#

yea but this apparently JITs right onto the GPU?

#

madness

rugged root
#

Yeah yeah

#

That's wild

faint ermine
#

the julia set example is kinda mad

rugged root
#

The shifting Mandelbrot?

faint ermine
#

yea

rugged root
#

I could watch that for quite a while

faint ermine
peak copper
cunning monolith
#

can i send audio from python to html website using fast api ?

rugged root
#

Yeah, it's just data transfer

#

The API is just routing it

cunning monolith
#

ohk

rugged root
#

Hold on hold on hold on

#

They

#

This is from the manufacturer

rugged root
cunning monolith
#

What is thin client any one know ?

#

and what does someone mean by this "Thin client is old school developer language for "Front end""

#

@rugged root 😀

faint ermine
#

TELKAN GESTALT

How does it work?

Does that mean they'll be a hive mind now?

-----??MAYBE SOMETHING FOLLOWS??----

MANTID FREE WORLDS

Oh, no, sweetie. You are the amalgamation of the opinions, concerns, and well-being of your entire race. They provide you with raw data, which you collate and use to help you to make decisions. You can't affect them and they just provide you with information. You are their voice, their representative to the Terran Confederacy.

It just takes a bit for you to fully form, dear one.

------NOTHING FOLLOWS------

#
steel lodge
#
print("Hello World!")
mood = input("How is everyone on this lovely day/evening? ")
steel lodge
#

umm what?

viral compass
#
>>> mood
' good'
steel lodge
#
print("That's good! :)")
#

i do play piano

#

its just im not comfortable putting on a mic

viral compass
#

that's good, cause this is a programming server 😉

#

but mic isn't scary

#

he's your friend

#

my AKG C214 and I are best buds

steel lodge
#

im struggling to find project ideas and a project idea i want to do

#

what?

whole bear
#

starting a project out of boredom since I am basically in waiting purgatory for a few months

#

epic

urban hull
#

XD but im noob

urban hull
wintry pier
#

Hi

urban hull
#

hi

hollow bough
#

ok

#

I'm still struggling with making any half decent gui

#

I'd like to use PyImGui, but it doesn't seem to have any good way to make draggable elements without a lot of overhead or writing my own widgets.

#

It's bindings for the C++ library ImGui and seems pretty good even though it's still incomplete

#

I really like the look and syntax (aside from some leaking c++ isms that will be fixed in 2.0)

#

One of my favorite features is that unlike most other libraries, it's not solely event driven, so making things happen is a lot more concise with some of the build in methods that reference elements positionally (ie item_is_hovered tells if the item drawn directly above in your code is hovered.

#

It's definitely better to use events if you want to have a 1-many relationship, but it's a lot of extra work if you just want 1-1.

whole bear
whole bear
#
use std::io;
use rand::Rng;
use std::cmp::Ordering;

fn main() {
    let lower_limit = 1;
    let upper_limit = 101;
    let secret_number = rand::thread_rng().gen_range(lower_limit, upper_limit);

    loop {
        println!("guess a number between {} and {}", lower_limit, upper_limit - 1);
        let mut guess = String::new();
        io::stdin().read_line(&mut guess).expect("Failed to read line");


        let guess: u32 = match guess.trim().parse() {
            Ok(num) => num,
            Err(_) => {
                println!("you didn't enter a number. try again.");
                continue;
            }
        };

        match guess.cmp(&secret_number) {
            Ordering::Less => println!("too low"),
            Ordering::Greater => println!("too high"),
            Ordering::Equal => break,
        }
    }
    println!("you win");
}
vast fog
#
thread 'main' panicked at 'Error opening image: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/main.rs:30:59
#
let img: DynamicImage = ImageReader::open(&args.path).expect("Error opening image").decode().expect("Error decoding image");
vast fog
#
        for y in 0..img_buf.height(){
            for x in 0..img_buf.width() {
#
        for y in (0..img_buf.height()).step_by(2) {
            for x in 0..img_buf.width() {
steel lodge
#

i am the oversecure dude in the back

#

who constantly ponders when and where someone might break into my computer

#

oml i have no project ideas

#

none

#

0

#

nada

#

squat

#

my brain right now:```python
def ideas():
return None

#

together we suffer

#

i like how you can make python files run in the background

#

i can use my watchdog programs to stalk my desktop WITHOUT THE TERMINAL IN THE WAY

#

so relieving

#

like a monkey off my back

#

speaking of i need to turn that on

whole bear
#
# sucess formula:
while True:
    if is_sucessful(goal):
        break
steel lodge
#
# sucess formula:
while True:
    if is_sucessful(goal):
        break_the_chains_of_suffering()
    else:
        continue_suffering()
languid locust
#

hello @knotty iris

oak rune
#

.joke

viscid lagoonBOT
#

Chuck Norris's programs do not accept input.

oak rune
#

.joke

viscid lagoonBOT
#

Ubuntu users are apt to get this joke.

quasi canopy
#

.joke

viscid lagoonBOT
#

Why don't jokes work in octal? Because 7 10 11.

quasi canopy
#

.joke

viscid lagoonBOT
#

There are 10 types of people: those who understand binary, those who don't, and those who were expecting this joke to be in trinary.

shy parrot
#

!e

for i in range(1,10):
   print("Ha Ha")
wise cargoBOT
#

@shy parrot :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | Ha Ha
002 | Ha Ha
003 | Ha Ha
004 | Ha Ha
005 | Ha Ha
006 | Ha Ha
007 | Ha Ha
008 | Ha Ha
009 | Ha Ha
whole bear
#

!e
for i in range (1,10)
print("Ha Ha")

#

lol

#

!e
for i in range (1,10)
print("Ha Ha");

shy parrot
#

!code

wise cargoBOT
#

Here's how to format Python code on Discord:

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

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

shy parrot
#

use this format to upload code

whole bear
#
for i in range(1,10)
  print("Ha ha");
#

!e

wise cargoBOT
#
Missing required argument

code

whole bear
#

!e

print("trying");
wise cargoBOT
#

@whole bear :white_check_mark: Your 3.11 eval job has completed with return code 0.

trying
whole bear
#

somebody please explain how it is possible

#

ı am confuse

edgy cosmos
#

Also this isn't the channel try posting it in any channel under available channel

whole bear
#

mb sorry

fickle crater
#

Hello @prime phoenix, what are you working on?

wet parcel
hollow bough
#

@wind raptor What gui library are you using?

#

@wind raptor Would it not be better to work backwards, rolling dice and then fudging the last few to reach the total? Also, this looks like the perfect use case for structural pattern matching.

#

@wind raptor If you wanted a realistic value, couldn't you generate it using a gaussian distribution since that's what the additions of multiple dice rolls add to probabilistically?

wind raptor
#

This sounds like a better idea than what I ended up with lol

hollow bough
#

I love using math instead of brute force, ie sum(1, n) = n(n+1)/2

#

@lethal thunder I love VSCode for C#, but Pycharm is just too comfy with python

lethal thunder
#

i dont really plan on switching back to pycharm anyway cause vscode thus far has served me well

hollow bough
#

VScode just has too much going on for what I'm trying to do in python xD

lethal thunder
faint ermine
#
from pathlib import Path

file_dir = Path(__file__).parent
print(file_dir.resolve())
print((file_dir / "myfile.txt").resolve())

(only works in .py files, not in jupyter )

hollow bough
#

Remember that if you use an absolute path, especially from C:/, it won't work on other people's pcs.

dusky mortar
#

os.access('/path/to/folder', os.W_OK)

viscid lagoonBOT
#
Please don't do that.

@lavish rover, please enable your DMs to receive the bookmark.

#
That was a mistake.

Your input was invalid: You must either provide a reference to a valid message, or reply to one.

The lookup strategy for a message is as follows (in order):

  1. Lookup by '{channel ID}-{message ID}' (retrieved by shift-clicking on 'Copy ID')
  2. Lookup by message ID (the message must be in the current channel)
  3. Lookup by message URL

Usage:```
.bookmark [target_message] [title=Bookmark]

hollow bough
#

@serene glade Stenographers?

serene glade
hollow bough
#

@lavish roverI love using APL, there are seperate keybinds for it in whatever editor you use. /+⍳10

#

@serene gladeThat sounds like a function?

#

@serene glade I'd recommend looking at pycharm postifxes

#

.print: #Postfix Print statement
ANY → print($expr$)$END$
One that I wrote

faint ermine
hollow bough
#

When you get too shorthand, doesn't it just devolve into unreadability? That's basically where APL is lol

#

¯1+⍸a=(0,×∘⍳∘|⍨b)∘.+(0,×∘⍳∘|⍨c) some APL code I wrote, what does it do XD

serene glade
#

lol

hollow bough
#

The answer is the same as this code, def f(target, n1, n2): l1 =[(i, (target - i*n1) % n2) for i in range(abs(n1*n2))] l2 =[(i, (target - i*n2) % n1) for i in range(abs(n1*n2))] try: x = list(set(l1).intersection(set(l2)))[0][0] y = int((target-n1*x)/n2) return x, y, n1*x + n2*y except IndexError: return "No Match Found", which is easier to figure out?

faint ermine
lavish rover
#

shorter code != easier to debug

#

shorter code != easier to read

hollow bough
#

@faint ermine If you take this idea to it's logical extreme, welcome to the empty language.

faint ermine
lavish rover
#

you just make a new language X which an empty file is the source code for exactly the functionality you need

hollow bough
#

Your code should be self describing

#

@serene glade That's the documentation feature in any good ide

#

Another APL example, what does this code do (¯1+1⊃⍸1=+/⍉0⍷a-(0, c×⍳|c+1)∘.+(0, b×⍳|b+1))(¯1+1⊃⍸1=+/0⍷a-(0, c×⍳|c+1)∘.+(0, b×⍳|b+1))? well it's the same thing as ¯1+⍸a=(0,×∘⍳∘|⍨b)∘.+(0,×∘⍳∘|⍨c)

#

And the same as def f(target, n1, n2): l1 =[(i, (target - i*n1) % n2) for i in range(abs(n1*n2))] l2 =[(i, (target - i*n2) % n1) for i in range(abs(n1*n2))] try: x = list(set(l1).intersection(set(l2)))[0][0] y = int((target-n1*x)/n2) return x, y, n1*x + n2*y except IndexError: return "No Match Found"

serene glade
#

1,2 = (0)

    Print = name ```
hollow bough
#

why

#

I feel like reusing the assignment operator "=" is bad, using print.object would probably be better

#

@serene glade So just using a module for prewritten code? or a function super?

#

@faint ermine Couldn't you do something like macros now using structural pattern matching on your code?

#

Like I saw a macro that makes a, b, c == (1, 2, 3) acutaly do and(a==1, b==2, c==3) instead of a, b, c == (1, 2, 3)

serene glade
hollow bough
#

@south boneThe term for that is function composition.

serene glade
#

Yeah it sounds like it

hollow bough
#

function composition in APL is amazing, being able to write ∘.× and having it be outer product with multiply instead of add which is normally really hard is amazing.

#

I also love using the ⍨ operator, writing o.+⍨list lets me get a variables outer product with itself

#

@faint ermine @south bone @serene glade mcoding recently did an amazing video on arguments that everyone in VC should watch https://www.youtube.com/watch?v=R8-oAqCgHag

In Python, it's possible to force a function argument to be positional-only or keyword-only. In this video, we see the syntax for doing this, as well as see some examples and reasons for why you might want to actually make a parameter positional-only or keyword-only.

Note: positional-only arguments are a Python 3.8+ feature. Keyword-only are Py...

▶ Play video
whole bear
#

stop channel hopping in voice 0

hollow bough
#

@south bone args automatically eat any extra arguments, the video explains it really good

whole bear
hollow bough
#

sure

whole bear
#

broooooooooooooooooo

hollow bough
#

lol

#

@serene glade *args gives a list of all the positional arguments that don't have a defined place in the function call

whole bear
#

this is chaos

hollow bough
#

@serene glade @faint ermine just * is a thing that just tells the code that all arguments after have to be keywordargs, you need to give it a name for it to catch extra args.

whole bear
#

is this normal for people forgetting to check this channel

hollow bough
#

Yeah

whole bear
#

well

#

@faint ermine

hollow bough
#

@faint ermine there is also just passing in / which says all arguments after have to be key word args

#

@serene glade in Pycharm it's ctrl+/ by default

hollow bough
#

@faint ermine It's an interesting quirk of python, but just * makes it so that there are no possible extra args while *name eats all the extra ones.

#

@faint ermine Also, x * 3 is triple not cube, cube would be x ** 3

faint ermine
#

ooops yea

faint ermine
#
import random

elements = [
    ("ice", "Ice spear"),
    ("fire", "asdasda"),
    ("lightning", "asdsa"),
    ("nature", ""),
    ("life", ""),
    ("chaos", ""),
    ("death", ""),
]
weights = [0.9, 0.2, 0.1, 0.5, 0.5, 0.2, 0.3]


def random_element():
    return random.choices(elements, weights)[0]


for _ in range(10):
    element1 = random_element()
    print(element1[1])
serene glade
faint ermine
#

i dont recommend using this, its a example for decorators and overcomplicated

def limit_calls(num):
    def max_n_times(func):
        count = 0

        def inner():
            nonlocal count
            count += 1
            if count <= num:
                func()

        return inner

    return max_n_times


@limit_calls(3)
def do_sth():
    print("sth done")


do_sth()
do_sth()
do_sth()
faint ermine
#

!resources

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

viscid lagoonBOT
#
That was a mistake.

@jolly bloom, please enable your DMs to receive the bookmark.

serene glade
whole bear
glad sandal
whole bear
#

@plain needle This helps with git

glad sandal
#

@plain needle

whole bear
glad sandal
#

@south bone

plain needle
#
    def move(self, moving_left, moving_right, moving_down, moving_up):
        #Reset movement
        dx = 0
        dy = 0
        walk_cooldown = 20
        #Assign moving left or right to characters
        if moving_left:
            dx = -self.speed
            self.flip = True
            self.direction = -1
        if moving_right:
            dx = self.speed
            self.flip = False
            self.direction = 1
        if moving_down:
            dy = self.speed
        if moving_up:
            dy = -self.speed
        #Update position
        self.rect.x += dx
        self.rect.y += dy

        self.counter += 1
        if self.counter > walk_cooldown:
            self.counter = 0
            self.index += 1
            if self.index >= len(self.images_right):
                self.index = 0
            self.image = self.images_right[self.index]
glad sandal
south bone
tacit mulch
ebon sandal
steel lodge
#

i mean.. they're not wrong

#

xp

#
print("Hello world!")
mood = input("How is everyone today? :) ")
#

doesn't sound very pleasant..

#

konichiwa

cunning monolith
#

!voiceverify

#

!verify

#

!voice

wise cargoBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

cunning monolith
#

@winged shard I can hear you

serene glade
#

BRB

#

import os

run = True
menu = True
play = False
rules = False

HP = 50
ATK = 3


def save():
    list = [
        name,
        str(HP),
        str(ATK)
    ]

    f = open("load.txt", "w")

    for item in list:
        f.write(item + "\n")
    f.close()


while run:
    while menu:

        print("1, NEW GAME")
        print("2, LOAD GAME")
        print("3, RULES")
        print("4, QUIT GAME")

        if rules:
            print("i'm the creator of this game and these are the rules.")
            rules = False
            choice = ""
            input(v, )
        else:
            choice = input("a ")

        if choice == '1':

            name = input("Heros name? ")
            menu = False
            play = True
        elif choice == '2':
            f = open("load.txt", "r")
            load_list = f.readlines()
            name = load_list[0][:-1]
            HP = load_list[1][:-1]
            ATK = load_list[2][:-1]
            print("Welcome Back" + name + "I")
            input("> ")
            menu = False
            play = True
        elif choice == '3':
            rules = True
        elif choice == '4':
            quit()

    while play:
        save()  # autosave


        print("0 - SAVE AND QUIT")

        dest = input('s ')

        if dest == "0":
            play = False
            menu = True
            save() ```
whole bear
#

@cunning monolith free ?

cunning monolith
#

Yup just got dinner

vernal bridge
visual ruin
#

this is an interesting convo

#

joined for the coding stream, turned out we're talking about weapons ethics

whole bear
#

wolfsschanze

whole bear
visual ruin
glad oracle
#

hello i am having a bit of a headache trying to discover what i am doing wrong with my code, can someone help me?

latent pike
somber heath
#

I thought so.

runic forum
#

!roles

#

!voiceverify

somber heath
#

@fossil kraken 👋

main vault
#

@whole bear

whole bear
#

from datetime import datetime

def timeLogic(datPost):
    UserDays = datetime.now()
    UserDays = UserDays.strftime("%Y-%m-%d %I:%M:%p")
    
    UserDays=datetime.strptime(UserDays, '%Y-%m-%d %I:%M:%p')
    print("Current time : ",UserDays)
    dateVal=datPost
    print("post Time :",end=" ")
    dateVal=datetime.strptime(dateVal, '%Y-%m-%d %I:%M:%p')
    print(dateVal)
    dayval=UserDays-dateVal
    # currntday=int(dayval.seconds//3600)
    currntday=int(dayval.total_seconds()//3600)
    print("Hour Gap of post : ",currntday)
    return currntday
timeLogic('2022-07-22 04:40:AM')

main vault
#

post here

whole bear
#

updated one

whole bear
#

@somber heath

#

@somber heath ```py
all_jsons = [v for v in driver.requests if 'https://twitter.com/i/api/1.1/dm/conversation/' in v.url]
for jso in all_jsons:
headers = jso.headers
url_json = jso.url
response_json = json.loads(requests.get(url=url_json,headers=headers).text)
for enttry in response_json['conversation_timeline']['entries']:
item = dict()

print(enttry)

    try:
        item['expand_url'] = enttry['message']['message_data']['attachment']['tweet']['expanded_url']
        item['date'] = parser.parse(enttry['message']['message_data']['attachment']['tweet']['status']['created_at'])

item['msgDate']=enttry['conversation_timeline']

        print(enttry['message']['message_data']['time'])
        timevalstamp=str(enttry['message']['message_data']['time'])
        print(twitter_time_converter(timevalstamp))
        print(enttry['message']['message_data']['attachment']['tweet']['expanded_url'])
        item['timeline']=twitter_time_converter(timevalstamp)
        checkTime = timeLogic(twitter_time_converter(timevalstamp))
        print(checkTime)

if ((checkTime) > int(userTime)):

print("time post greater it stoped !")

break

else:

        twitt_urls.append(item)
    except:
        try:
            if 'https' in enttry['message']['message_data']['text']:
                item['expand_url'] = enttry['message']['message_data']['text']
                item['date'] = ''
                twitt_urls.append(item)
                a=1
        except:
            continue
            # pass
#

i am not getting recent time

#

@somber heath

#

time differnce solve

#

bro i am not getting recent time from twitter group message

#

written by me

#

i don't know i am new in api

#

these the group can i get the time of all message from recent

#

it's not getting recent time

somber heath
#
a = datetime.strptime(post_time, "...")
b = datetime.now()
c = b - a
d = c.total_seconds() // 3600```Format and print as needed.
#

I think that should be about all you'd need. Much more than that is too much.

whole bear
#

@somber heath i am not getting todays time

#

it start from yesterday

#

do you know about API

somber heath
#

I understand the basic idea, but it's not a thing I use a lot of.

lethal thunder
#

!e ```py
l = [5, 'a', 88, 101, 'b']
for i in l[::-1]:
print(i)

wise cargoBOT
#

@lethal thunder :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | b
002 | 101
003 | 88
004 | a
005 | 5
lethal thunder
#

!e ```py
for i in range(10):
print(i)

#

!e ```py
for i in range(10):
print(i)

wise cargoBOT
#

@lethal thunder :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
006 | 5
007 | 6
008 | 7
009 | 8
010 | 9
lethal thunder
#

!e ```py
for _ in range(10):
print('helloworld')

wise cargoBOT
#

@lethal thunder :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | helloworld
002 | helloworld
003 | helloworld
004 | helloworld
005 | helloworld
006 | helloworld
007 | helloworld
008 | helloworld
009 | helloworld
010 | helloworld
lethal thunder
#

!e ```py
for i in range(10):
print('helloworld')

wise cargoBOT
#

@lethal thunder :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | helloworld
002 | helloworld
003 | helloworld
004 | helloworld
005 | helloworld
006 | helloworld
007 | helloworld
008 | helloworld
009 | helloworld
010 | helloworld
south bone
#

!e ~~~py

wise cargoBOT
#

@south bone :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | NameError: name 'py' is not defined
lethal thunder
#

!e ```py
for i in range(10):
print(i)

wise cargoBOT
#

@lethal thunder :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
006 | 5
007 | 6
008 | 7
009 | 8
010 | 9
lethal thunder
#

ghdghaz

#

blah blahnameoffuncorvariable

#
wfGRGgrageaRG
south bone
#

!e ~~~py~ l = [5, 'a', 88, 101, 'b']
for i in l[::-1]:
print(i) ~~~

wise cargoBOT
#

@south bone :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     ~~~py~ l = [5, 'a', 88, 101, 'b']
003 |          ^
004 | SyntaxError: invalid syntax
lethal thunder
#

!e threesquigillylinespy
code
code
code
threesquigillylines

wise cargoBOT
#

@lethal thunder :warning: Your 3.11 eval job has completed with return code 1.

[No output]
south bone
#

!e~~~py~ l = [5, 'a', 88, 101, 'b'] for i in l[::-1]:
print(i)

lethal thunder
#

!e threesquigillylinespy
code
code
code threesquigillylines

wise cargoBOT
#

@lethal thunder :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 4
002 |     code *threesquigillylines*
003 |                               ^
004 | SyntaxError: invalid syntax
#

:incoming_envelope: :ok_hand: applied mute to @lethal thunder until <t:1661158397:f> (10 minutes) (reason: burst rule: sent 8 messages in 10s).

The <@&831776746206265384> have been alerted for review.

south bone
#

!epy l = [5, 'a', 88, 101, 'b'] for i in l[::-1]: print(i)

wise cargoBOT
#

@south bone :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     py l = [5, 'a', 88, 101, 'b']
003 |        ^
004 | SyntaxError: invalid syntax
south bone
#

!e py l = [5, 'a', 88, 101, 'b'] for i in l[::-1]: print(i)

wise cargoBOT
#

@south bone :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     py l = [5, 'a', 88, 101, 'b']
003 |        ^
004 | SyntaxError: invalid syntax
lethal thunder
#

im backjk

nova plover
#

salutations @lethal thunder

visual harness
#

I can't talk

#

Are you a developer?

#

What projects have you been doing?

#

Do you know C++?

#

So you coded with C? Or only Python or Java?

#

Where did you learn Python?

#

What website?

wind raptor
#

Udemy

visual harness
#

Ok

#

What is that?

#

Curiosity

#

Got to go bye

rugged root
#

@viscid skiff run.once() in what context, what library?

viscid skiff
#

not sure, saw it online and thought i can apply it

#

but couldnt says its not defined

viscid skiff
#

hold on meow

#

look boss @rugged root

#

meoooooooow

mild quartz
#

anyone used mpi?

viscid skiff
#

?

mild quartz
#

Message Passing Interface (MPI) is a standardized and portable message-passing standard designed to function on parallel computing architectures. The MPI standard defines the syntax and semantics of library routines that are useful to a wide range of users writing portable message-passing programs in C, C++, and Fortran. There are several open-...

rugged root
#

So this is just a flag as they're called. A variable to indicate whether something has happened or not

viscid skiff
#

@rugged root

rugged root
#

Normally it's going to be a boolean

viscid skiff
#

meowchan in the chat

#

😭

#

howwww

#

run.once is so hard

quasi condor
sweet lodge
#

As opposed to a fake flood watch

quasi condor
steel lodge
#

hello world!

#

how are yall doin?

vital cedar
#

"Written on top of Plotly.js and React.js, Dash is ideal for building and deploying data apps with customized user interfaces. It's particularly suited for anyone who works with data."
what do "written on top" mean? Does this mean that dash is slower than using React.js & Plotly.js directly?

steel lodge
#

getting a jacket bc its cold

#

im back

somber heath
#

I will never run out of gas.

steel lodge
#

talking to people in my dms and they didn't talk first just gives me extreme anxiety

#

what if they're in the middle of class?

#

what if they're trying to survive a murder?

somber heath
#

They're choosing to be running discord.

steel lodge
#

true ._.

mild quartz
somber heath
#

"Oh, no, I'm being murdered, but this fucking guy keeps messaging me, what a creep!"

steel lodge
#

WHEEEEEEEEEEEZE

mild quartz
steel lodge
#

what did i undeafen myself to?

rugged root
#

That'll tell you what you need to know

steel lodge
#

what- no i mean i just undeafeaned myself and all i hear is "this dog got sedaateeeeeed"

#

understandable

rugged root
sweet lodge
#

oh no

#

If you want C# then use C#

somber heath
#

Jean Eric.

#

Gene Eric.

#

Erich?

rugged root
#

The manchineel tree (Hippomane mancinella) is a species of flowering plant in the spurge family (Euphorbiaceae). Its native range stretches from tropical southern North America to northern South America.The name "manchineel" (sometimes spelled "manchioneel" or "manchineal"), as well as the specific epithet mancinella, are from Spanish manzanilla...

#

That is pooping

#

100%

sweet lodge
#

why would you do this

rugged root
#

Cashew chicken (Chinese: 腰果雞丁) is a Chinese-American dish that combines chicken (usually stir-fried but occasionally deep-fried, depending on the variation), with cashews and either a light brown garlic sauce or a thick sauce made from chicken stock, soy sauce and oyster sauce.

somber heath
#

Vaguean. Vaguely vegan.

cunning monolith
#

Shahi paneer is a preparation of paneer, native to the Indian subcontinent, consisting of a thick gravy of cream, tomatoes and Indian spices.Originating with the creamy delicacies of Mughlai cuisine (hence the term "shahi", in reference to the royal title of Shahanshah in Mughal India), this dish is prepared by emulsifying tomatoes, onions, gro...

#

can react native app work for mac os ?

rugged root
#

Yes

sweet lodge
#

Stop talking over people and type it out

winged shard
sweet lodge
frozen owl
# winged shard

WHY DOES THE FIRST LINE ON THE TOP LEFT LONGER THAN THE ONE ON THE RIGHT THIS IS SO WRONG

somber heath
gentle flint
#

()

sweet lodge
#

nooooo

#

()

frozen owl
#

yk the brackets on the chinese keyboard is different than the one in eng?

winged shard
#

( . ) ( . )

frozen owl
rugged root
#

!charinfo

wise cargoBOT
#
Missing required argument

characters

#
Command Help

!charinfo <characters>
Shows you information on up to 50 unicode characters.

sweet lodge
#

!charinfo ()()

wise cargoBOT
sweet lodge
#

WHY is there so much whitespace ⁉️

frozen owl
#

gentle flint
sweet lodge
#

()()

frozen owl
#

somestuff, something else

#

something,

sweet lodge
#

!charinfo ,

wise cargoBOT
sweet lodge
#

Is not Chinese

#

Is just fancy unicode

frozen owl
frozen owl
sweet lodge
frozen owl
#

i know

sweet lodge
#

There's small ones too

#

neat

#

@rugged root - at least you're not in Texas

somber heath
#

Ostracism and ostrich occupies the same place in my brain.

frozen owl
winged shard
#

opal mist jioin brudda

somber heath
#

You bellowed?

#

I'm here.

#

What more do you want?

sweet lodge
#

This bullshit is dammed infuriating

#

People are dying over these people thinking they're right

rugged root
#

Yep, that's how it is

somber heath
#

It would be nice if the requirement to be vaccinated wasn't a thing by virtue of everyone getting vaccinated through understanding it's a pretty good idea. But that isn't the world we live in.

#

So we get vaccine mandates for restaurants.

stark knot
#

Hello there!

rugged root
#

How's it going

somber heath
#

Social media geared toward what niche?

winged shard
#

bars and venues

somber heath
#

Aim?

stark knot
#

Wow, Open corruption, love it

#

xD

winged shard
#

measure popularity of venue

serene glade
#

Good morning all o/

somber heath
#

Was it the thing from earlier?

winged shard
frozen owl
#

not aligned

#

bad

#

im(h)o

somber heath
#

It's an idea. I can imagine some statistical biases.

gentle flint
# winged shard

a.
the two lines at the top are at a different level
at the bottom they're at the same level

b.
the two lines at the top are close together
the two lines at the bottom are further

c.
the first l in levels is closer to one line than to another

d.
all the text etc is skewed to the left

sinful pawn
#

@rugged root But Harry Potter's got plot armour

#

But godhood ain't enough to penetrate the plot-inium armour now innit

#

Btw Hemlock, is "Bad jokes with Hemlock" ever gonna make a comeback?

#

"Steele Industries - Steel-e yourself before our products"

frozen owl
rugged root
#

Every day

sinful pawn
#

The database looked at the tests and asked "Why are you mocking me?"

somber heath
#

I thought cat.

sinful pawn
#

@rugged root Can we commission lemon to have a photo like that and sell as time-limited merch?

quasi condor
mild quartz
#

see you guys later

gentle flint
sweet lodge
quasi condor
somber heath
#

!e ```py
def greet(msg):
def c(cls):
class C(cls):
def init(self, *args, **kwargs):
print(msg)
super().init(*args, **kwargs)
return C
return c

@greet("Hello, world.")
class MyClass:
def init(self, v):
print(v)

MyClass(5)```My most recent favourite Python horror story.

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | Hello, world.
002 | 5
somber heath
#
def decorator(function):
    ...

@decorator
def function():
    ...
#more or less equivalent to
def function():
    ...
function = decorator(function)```
wise cargoBOT
#

@somber heath :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 11, in <module>
003 | TypeError: two.<locals>.f() takes 1 positional argument but 2 were given
somber heath
#

This is what I get for not offlining this beforehand.

cosmic lark
#
>> lst = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0]
>>> lst[::-11]
[0, 1, 0]

i want similar indexing functionality in cpp

somber heath
#

Nuus!

steel lodge
#

NUUUUUUUUUUUUUS!

#

nuse

#

XD

#

i will always GI IVE UP

#

always gonna LET U DOWWWN

#

always gonna RIIIICKROLL YOU ON ANOTHER LEEEVEEELL

rugged root
#

Rough on the pacing on the last one, but I applaud it

steel lodge
#

lol thanks xp

steel lodge
#

i like the concept of inception

rugged root
#

"Gonna take away your snacks and, DESSERTS TOO"

steel lodge
#

XD

#

my taskbar just restarted

#

for the second time today

#

again nothing else

#

not the desktop

rugged root
#

Huh

steel lodge
#

not the current things i'm using

#

only the taskbar

steel lodge
#

PUPPET SATANS!!

somber heath
#

Joker was an uncomfortable watch.

south bone
#

I liked it personally.

somber heath
#

You end up kind of rooting for him to turn full Joker because at least then he's not at war with himself.

#

He becomes lighter the more Joker he gets.

steel lodge
#

my name now must be understood in google translate

#

im learning japanese so i figured i'd throw maybe an entire server or two with that knowledge

#

you're welcome

south bone
#

I've learned a couple words in mandarin, 电源. Means power supply

steel lodge
#

into the spiderverse was a great movie

viral compass
#

I containerized some horrible Java needed for an algorithms course lmao

#

Haven't written Java for years

rugged root
#

Wait, is one of those named "give head"?

somber heath
rugged root
#

Oh coin flips

#

Right

viral compass
rugged root
#

Uh.... huh

somber heath
#

Shazzam was campy.

rugged root
#

Very..... classy

viral compass
#
#!/usr/bin/env bash

if [ -z "$WORKDIR" ]; then
  WORKDIR=/
fi

podman run -it -v ~/.Xauthority:/root/.Xauthority:Z -v ./src:/src --net=host \
  -e DISPLAY -w $WORKDIR algo-test:latest $@
#

that's the one that makes it non-headless, hence the "head"

#

I still can't believe the course was like "yeah just install these Java classes in /usr/local, trust me bro"

#

How about no?

somber heath
#

"I'm Batman. I don't want to go on the cart. I feel happy! I'm batman!"

south bone
somber heath
#

I grew up on Adam West.

#

But yeah. Bale's voice is what I think of.

rugged root
#

This is the voice of Batman to me

somber heath
#

Heath Ledger is forever the joker for me, though I do understand people who are Mark Hamill fans.

rugged root
#

Like I am

#

The pairing of Conroy and Hamill is just rwCHEFKISS

#

Transmetropolitan is a cyberpunk transhumanist comic book series written by Warren Ellis and co-created and designed by Darick Robertson; it was published by the American company DC Comics in 1997–2002. The series was originally part of the short-lived DC Comics imprint Helix, but upon the end of the book's first year the series was moved to the...

#

Very very very good

#

The Credible Hulk. "Yeah, I believe him."

south bone
#

@scenic wind

whole bear
#

@rugged root can i get stream perms ;p, streaming code?