#voice-chat-text-0

1 messages · Page 109 of 1

golden sonnet
#

I started cs50x
It's quite good for basics

#

I'm getting hope 🙂

sour willow
#

nice but i recommend like reading english more

#

bc your english is actually way better than most people here

#

so this can improve it aswell

golden sonnet
#

I'm reading some stuff on gui at the moment

#

But if you know a good book that would be helpful

sour willow
#

what language?

ancient lily
#

hello

sour willow
#

i had a actually very nice C# teacher our school had for summer school

golden sonnet
#

English or farsi
I can do both

golden sonnet
ancient lily
#

whats going on today ?

golden sonnet
#

I might take a look at it in near future

sour willow
#

even have persian if you scroll a bit further down

#

still recommend english

golden sonnet
#

Yeah it's a good repo

#

Have had it for some time
Just too lazy to search through it ducky_sus

rugged root
#

Renamed the iVars and removed the common prefix.
vs
Rename the iVars to remove the common prefix.

final osprey
#

Hey, can I ask a question?
Is someone german here?

#

I cant talk

rugged root
final osprey
#

Yes

#

The system is called category roles
If a user has a specific role, bot automaticly gives the user ROLE A

#

You have these roles:
twitch mod, discord mod
You want to put these roles together in the role Team-Members

You can use the command /change_team_role @team-members to add the role team-members
You use the command /add_role @twitch mod
and use the command /add_role @discord mod

Now, when you assign the role twitch mod to a user, the bot automaticly assigns the role team-members

#

are you talking to me?^^

rugged root
#

It's been too long since I've really messed with Discord bots

final osprey
#

alright, thanks man ok

rugged root
gentle flint
#

@rugged root you could rename your program to Oriichi
like a combination of Orochi (the legendary Japanese serpent) and riichi

rugged root
#

Ooooo I like that

gentle flint
plucky tree
#

cool stuff i guess

civic forge
#

c i talk ?

rugged root
#

That'll tell you what you need to know about the voice gate

lime pine
#

hi please check ankurgajurel/nepse-cli

gentle flint
#

no thx

lime pine
#

💀

final osprey
#

Hi

#

🙂

plucky tree
#

did someone say my name i was afk

plucky tree
#

school stuff

stuck furnace
#

@midnight agate No "games" end with a I think.

#

I.e. none of the sublists are ["a"].

#

Yeah the wording of the explanation isn't terribly clear.

stuck furnace
#

Exercise in learning how to deal with unclear specifications ¯_(ツ)_/¯

#

🇬🇧

stuck furnace
#

!voicemute @onyx glen Playing loud music through microphone. Please fix if this wasn't intentional.

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied voice mute to @onyx glen permanently.

onyx glen
#

please do not block me on voice i was listening to bk's advertisment(the best vid ever) and i should have muted

stuck furnace
#

!unvoicemute 960614095923597353

wise cargoBOT
#

:incoming_envelope: :ok_hand: pardoned infraction voice mute for @onyx glen.

stuck furnace
#

Don't let it happen again, or it will be a permanent irrevocable voice mute.

onyx glen
#

okay, i wont

#

let it happen again

tulip plover
#

if __name__ == " __main__":

calm light
#

!voiceverify

jolly terrace
whole bear
#

@tulip plover mic isnt working

#

i gtg

#

cya

sick plank
#

!voiceverify

dense meadow
#

hello guys

rugged root
#

Yo

dense meadow
#

i can't hear yo, so can you chat?

#

*you

rugged root
#

I can text in here, yeah

dense meadow
#

ok

#

What are you guys doing?

somber heath
dense meadow
#

nice

#

i have a thought that has been bothering me for a while. if tomato is a fruit, isn't ketchup a smoothie?

rugged root
dense meadow
#

nice, cupcake

rugged root
#

Muffin I think

#

But it's just

#

Weirdly squat

dense meadow
#

lol

#

i am currently eating a pizaa

#

lost my phone so can't send a photo

rugged root
#

@lofty girder @north rock @wintry mulch If you're wondering why you can't talk, check out the #voice-verification channel. That'll tell you what you need to know about the voice gate. If you've heard this before or were already aware, sorry

#

Force of habit to mention it to folks who don't have the role

frozen owl
#

hello

#

polars

vocal basin
#

Polars is a blazingly fast DataFrame library completely written in Rust, using the Apache Arrow memory model. It exposes bindings for the popular Python and soon JavaScript languages. Polars supports a full lazy execution API allowing query optimization.

#

it also has Rust bindings

rugged root
#
import polars as pl

q = (
    pl.scan_csv("iris.csv")
    .filter(pl.col("sepal_length") > 5)
    .groupby("species")
    .agg(pl.all().sum())
)

df = q.collect()
vocal basin
#

general rule with this class of libraries:
if you're looping over data, you're doing it wrong

#

sounds like a very unconventional approach to chess engines

#

even ML-based models use tree search

#

so, like
implement a simple evaluation first
(evaluation of the position you stop searching on)

#

and then add ML-based adjustments

#

(to evaluation and to ordering)

#

to a certain depth (around 30) + capture chain

#

... capture chain being usually up to around 10 moves

rugged root
#

@dense oak 👋

dense oak
#

hi

rugged root
#

How's it going

dense oak
#

nm, am a beginner to python

vocal basin
#

to learn in the matter of "player made this move and won => this was a good move" you probably need to only include high-level slow games

frozen owl
#

what ppl at engine programming recommended me:
"
First Network

  1. Generate 500,000 random games
  2. Take 20 positions from those games, and save them, alongside the final W/D/L result
  3. Train a regression network to give us the chance of winning

Other Networks

  1. Generate 500,000 games with AB search, with the previous network as the evaluation function
  2. Take 20 positions from those games, and save them, alongside the final W/D/L result
  3. Train a regression network to give us the chance of winning"
vocal basin
#

AB search
do you have it already implemented?

rugged root
dense oak
rugged root
#

True that

#

I started with Java as well

dense oak
#

oh nice

#

our school takes java

rugged root
#

Highschool, college...

signal lynx
#

Hello everyone

rugged root
#

Yo

dense oak
signal lynx
#

How are ya?

rugged root
signal lynx
rugged root
# dense oak highschool

It's wild to me. The closest thing we had to that in highschool was just basic computer courses.

rugged root
signal lynx
#

Man, I didn't even have a single computer class at my highschool

dense oak
#

we are forced to learn all the subjects

signal lynx
#

i graduated in 21

dense oak
frozen owl
signal lynx
#

Nope, my school was a tiny one

#

So I'm a beginner at python, and I find it fun, but it's kicking my tail, my college class is just tossing a bunch of things at my face without explaining much

rugged root
#

I'm more than happy to help explain stuff

signal lynx
signal lynx
#

It also does not help that the class is an online one and assignments are due each week

somber heath
#

"Welcome to Python 101. Chapter 1: Why camelCase is what you should use in all languages regardless of pre-established convention." (It's not.)

dense oak
#

if i have to get into a top college which offers a computer course, i have to come within the 100th rank in an entrance exam which is known as the world's hardest exam

signal lynx
#

Just recently it had introduced loops, like the for loop and while loop, and it's just kinda hard to wrap my head around it at times

dense oak
#

and thats ridiculous especially when i have to self study -_-

signal lynx
somber heath
#

=

signal lynx
somber heath
#

!e py a = "Hello, world." print(a)

wise cargoBOT
#

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

Hello, world.
somber heath
#

Where a becomes a signpost to an object in memory.

dense oak
signal lynx
#

Ohh, do you mean like a variable?

somber heath
#

That object in memory here being the string, "Hello, world."

dense oak
#

they offer 100% placement which means every student gets a job

somber heath
signal lynx
#

Gotcha

#

Yea, we've been over that

somber heath
#

Okay

#

So

#

This is what a for loop is

#

on repeat

#

It's taking an object that is iterable, as in it can be plugged into a for loop

#

and pulls out each object reference in it and assigns a variable to that object

#

!e py for letter in 'abc': print(letter)

wise cargoBOT
#

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

001 | a
002 | b
003 | c
somber heath
#

!e py letter = 'a' print(letter) letter = 'b' print(letter) letter = 'c' print(letter)

wise cargoBOT
#

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

001 | a
002 | b
003 | c
somber heath
#

Assignment, looped.

#

PC.

signal lynx
#

So that would assign letter with abc? or each specific character?

#

Ohhh ok

somber heath
#

What's inside the indentation is what gets run over and over

#

Once for each thing in 'abc'

#

The first time through the loop, letter = 'a'

#

The second time through the loop, letter = 'b'

#

etc

#

Assignment on repeat

signal lynx
#

Gotcha

#

So question outside of this discussion, how often are people in here?

somber heath
#

On weekdays daytime US is the busiest, usually.

rugged root
signal lynx
#

Gotcha

somber heath
#

Other busy sessions do sometimes happen outside these times.

#

For loops are also good at doing a thing n times.

#

!e py for _ in range(3): print('Hello, world.')

wise cargoBOT
#

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

001 | Hello, world.
002 | Hello, world.
003 | Hello, world.
signal lynx
#

So, we can ask questions about code on here without having to do it through the help chat?

somber heath
#

!e py for i in range(3): print(i)

wise cargoBOT
#

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

001 | 0
002 | 1
003 | 2
somber heath
#

@signal lynxHave you covered if?

#

!e ```py
if 1 + 1 == 2:
print('A')

if 5 + 5 == 20:
print('B')```

wise cargoBOT
#

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

A
signal lynx
#

We have, I think I understand that much more than while and for

somber heath
#

while is like if.

#

On repeat.

signal lynx
#

Ok, gotcha

#

So, I had a lab that counted input length without counting spaces, commas, or periods

#

Followed by three more labs, can I ask about them in turn, I have working solutions for the first two, but haven't gotten to the other two

#

I want to know if what I used was good solutions

somber heath
#

!code

wise cargoBOT
#
Formatting code on discord

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.

For long code samples, you can use our pastebin.

somber heath
#

!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.

somber heath
#

The first if they fit. The second if they do not.

signal lynx
#

so what does the py mean at the start of the first one, is that language type?

#

For python?

#
user_text = input()
not_allowed = 0

for char in user_text:
    initial_len = len(user_text)
    if char == ' ':
        not_allowed += 1
    elif char == '.':
        not_allowed += 1
    elif char == ',':
        not_allowed += 1
length = initial_len - not_allowed

print(str(length))

So that is for the input length

#

Is there anyway to make that look better? or any new functions that I don't know that could make it look better?

somber heath
#

It's nothing to do with the Python language, itself.

rugged root
#
from _ap_mods import QOS_SM_General_config as SM_config
from _ap_mods import QOS_AP_General_config as AP_config

SM_config.qos_general_config
AP_config.qos_general_config
signal lynx
#

Ok, so you would use that for any language huh?

somber heath
signal lynx
#

Ok

#

So, does that look fine?

somber heath
signal lynx
#

Gotcha

somber heath
#

It's a little difficult for me to think while I'm distracted, which I am.

signal lynx
#

That's fine lol

#

Take your time, I'm in no hurry, plus you're helping

somber heath
#

initial_len = len(user_text) This is in your loop.

#

Does the length of user_text change?

signal lynx
#

No, it does not, so I can move that out ye

somber heath
#

!e py print('a' in 'abc') print('b' in 'abc') print('c' in 'abc') print('d' in 'abc') print('e' in 'abc') print('f' in 'abc')

wise cargoBOT
#

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

001 | True
002 | True
003 | True
004 | False
005 | False
006 | False
somber heath
#

You can check if thing a is within thing b in this way.

signal lynx
#

Ok, so how would I incorporate that, maybe an if statement??

somber heath
#

You could.

signal lynx
#

So like

if ' ' in user_text:
#

But that just sounds tough to use for this specific thing? No?

somber heath
#

Keep thinking about it.

#

Try coming at it from different angles.

#

!e py print(not True) print(not False)

wise cargoBOT
#

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

001 | False
002 | True
somber heath
#

not inverts True and False.

rugged root
#

@pallid hazel So I have 3 files:
ham.py

def tester():
  print("This came from ham")

pork.py

def tester():
  print("This came from pork")

spam.py

from ham import tester as ham_test
from pork import tester as pork_test

ham_test()
pork_test()
signal lynx
#

Yea, not gives the opposite

somber heath
#

!e py print('a' not in 'def')

wise cargoBOT
#

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

True
rugged root
somber heath
#

Though this is how you'd use it for membership testing

#

vs

#
print(not 'a' in 'def')```
#

Which you shouldn't do.

signal lynx
#

I think I'm struggling with not knowing what functions go together mostly

somber heath
#

Yeah, don't worry about it too much. You'll get more familiar with things as you go along.

#

Small steps.

signal lynx
#

Just working on the coding mindset

#

I like to say you build it bit by bit like a lego castle

somber heath
#

You've learned that for loops are like assignment on repeat and you've learned that while is like if on repeat. That's enough to learn for one day.

#

I often use the Lego comparison.

signal lynx
#

It's a good comparison

#

I'm gonna take a break for a while, thank you all for the warm welcome, I'll be back

#

See you all

vocal basin
#

CRUD

cerulean ridge
#

ok thanks

vocal basin
#

create read update delete

vocal basin
pallid hazel
#

Hemy, i think although it would save me time todo that.. functionally tho, i think it would be a bad practice i suppose since the files/functions are just in name a catagoery that is the same and relies on different prohramming under the hood.. so I might aswell raname all the files, functions, and variables just to be sure I dont make any conflict somewhere.

somber heath
#

Oh, doctor. I heard docker.

#

Like a dock worker.

#

You were talking about helping people and I was confused.

rugged root
#

Well

#

Docker worker

terse needle
#

my internet is fucked 🙂

rugged root
#

Ah okay

#

I'll just keep saying "My god, he's dead" as needed

terse needle
#

it's from this whole virgin thing

#

because one of their companies went bust

terse needle
rugged root
#

Your internet was like "Nope, have to stop him."

terse needle
#

my internet can't have me speaking the truth

naive yarrow
#

Hello!!

rugged root
#

How goes it

naive yarrow
#

@somber heath remember me?

somber heath
naive yarrow
#

came back to this server after 3 months

sharp urchin
#

hellos sir hemlock

rugged root
sharp urchin
#

how are yall doin?

rugged root
#

So....

#

What was the other account then?

sharp urchin
#

good....working on some data cleaning

#

so :]

naive yarrow
rugged root
#

Why the new one?

naive yarrow
rugged root
#

Oh so Discord deleted it

#

I was just curious, all good

naive yarrow
#

this was me

rugged root
#

Gotcha gotcha

limpid umbra
#

hi

naive yarrow
# rugged root Gotcha gotcha

Did you change your username? I saw your messages too with my old messages, but I don't remember seeing your name back then...

sharp urchin
#

ohh is it?

naive yarrow
swift valley
#

hallo

#

I got a new monitor

sharp urchin
#

shoulda CHANGE it to SIR hemlock

rugged root
swift valley
naive yarrow
#

alr, i'll be back, cya

swift valley
#

I've always been using a laptop 😄

#

2k 75hz

golden sonnet
#

👋

swift valley
#

2560x1440, 27"

golden sonnet
swift valley
#

I kinda just needed the option to rotate it vertically lol

limpid umbra
#

for coding?

swift valley
#

and for certain games

#

Is it just me or y'all are coming in a bit quiet

#

ic ic

#

Yeah the speakers are kinda just... there

#

Speaking of small, I use a mini pc 😄

rugged root
golden sonnet
#

I have a laptop wired to a monitor

limpid umbra
#

fancy keyboard

swift valley
#

I gotta swap out the keycaps haha

#

I have spare ones from an old keyboard that broke

#

I do enjoy my mouse though

#

Very silent

#

Horizontal scroll, yep

#

There's navigation buttons in there as well

limpid umbra
#

oil could be diet - but oily skin means you will age well also

swift valley
#

On the thumb rest, there's also a shortcut for gestures

#

Logitech software is... meh

rugged root
swift valley
#

This mouse in particular doesn't work as well on MacOS

limpid umbra
#

does your thumb get fatigues , crampy ?

swift valley
#

Smooth scrolling is just borked haha

vocal basin
#

I have three pieces of logitech hardware I use daily, all malfunctioning

#

g903, g613, g935

vocal basin
swift valley
#

Oh, I forgot about the receiver that came with this

somber heath
#

!pypi crappy

wise cargoBOT
limpid umbra
#

i just use a $10 Logitech keyboard , mouse set -

golden sonnet
#

I'm waiting for a charitable person to give me hardware

limpid umbra
#

well it does happen - i get stuff all the time

golden sonnet
#

Hardware is just too expensive here

#

And I'm a student
So...

limpid umbra
#

can get some stuff if your willing to do bit of repair

swift valley
#

My mouse only ever lasts a month

#

or maybe because I'm using it over bluetooth and I don't really charge it to full

limpid umbra
#

i dont like wireless mice anymore the latency while typing is - infuriating

#

well its usually a mic / keyboard set - i should say

#

i can type fast when accelerated by caffiene - you know the drill

golden sonnet
#

I don't use wireless mostly duo to battery usage

#

I like efficient battery

limpid umbra
#

what about wireless charger tech ...

golden sonnet
#

Have seen but never used any

#

I don't know how it is

limpid umbra
#

wired stuff for now is ok

golden sonnet
#

Wire still gives higher quality

#

in audio too

limpid umbra
#

i have a drawing tablet somewhere - the pen is lost , the mouse has no batteries

golden sonnet
#

Yup
I do not get wireless headphones

limpid umbra
#

wow - ALWAYS...

golden sonnet
#

Karens don't like cleaning i guess

limpid umbra
#

reminds me of Dave Chappele skit , at copy shop , using paint brush and chocolate sauce in the toilet

#

well HDMI cables have a zillion versions , why not USB

#

imagining a USB diagnostic software

golden sonnet
#

👋

swift valley
#

Apparently I can trigger my mouse's scroll mechanism just by tilting it

#

Granted, it uses magnets

limpid umbra
#

USB speeds - there should be a diagnostic somewhere - if you can also have a device , datastick , MP3 player , .. capable of receiving

#

wireshark ? can it do it , measure ?

rugged root
#

Oh huh

sour willow
#

wassup chris, hem, opal, prop, pu re, af

rugged root
#

USB 3 use 9 pins?

sour willow
#

Yup

limpid umbra
#

adventures in usb 3

sour willow
#

doesnt 3.1 have 24 pins?

limpid umbra
#

no idea , someone has a box of usb cables and wants to ID their quality

sour willow
#

I generally prefer Thunderbolt

#

i mean who doesnt

wind raptor
#

Magnetic chargers are where it's at.

sour willow
#

i saw this magnetic charger on a keyboard it was very cool, unlike mac for example, it was a round shaped charger no clue how it worked though

#

also did data transafer

wind raptor
#

Yeah, my old mac had one and it was so convenient.

rugged root
#

!stream 396514766547582986

wise cargoBOT
#

✅ @frosty garnet can now stream until <t:1680627100:f>.

rugged root
#

Did they change Starlite's name?

#

Was there a like copyright thing?

#

Or trademark I guess

sour willow
#

i hate it lol

#

mini is old

limpid umbra
#

usb3 datasticks still painfully slow

sour willow
#

no only a 5v and ground for charging

#

like JBL usbs dont have data transfare

limpid umbra
#

how about this ....

somber heath
#

Hyah! delivery.

#

Yeet kick it into the mailbox.

#

Kiss-o-gram

#

Hyah!

rugged root
limpid umbra
#

mass produced in china - no color coding rules apply

rugged root
#
VisionTek.com

Here is our comprehensive breakdown of the symbols and logos commonly found on USB-compatible laptops and devices like connection ports, storage drives, charging cables, and more. Our hope is that knowledge of these icons can help you make an informed decision on which device connection type is right for your system, and what the symbols really ...

sour willow
#

pins?

#

more coil? you mean

rugged root
jade knot
willow light
#

laughs in comcast

cerulean ridge
#

cya @rugged root i might be back

rugged root
#

Have a good one

sour willow
#

How to start a fire with a usb and a charger 💯

peak wren
#

!voiceverify

willow light
#
name: Docker Image CI

on:
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]

jobs:

  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3
    - name: Build the Docker image
    # I was getting errors when I used a CAPSLOCK tag, so I went with lowercase instead.
      run: docker build . --file Dockerfile-wrf_wps --tag wrf_wps:$(date +%s)

so far so good I guess

#

and the dockerfile was

# syntax=docker/dockerfile:1.4.2

FROM ghcr.io/uomresearchit/wrf-libraries as wrf_wps_build


###############################################################################
## Install WRF v4.3.3

WORKDIR $WRF_SOURCES

ARG TARGET_URL=https://github.com/wrf-model/WRF/archive/v4.3.3.tar.gz 
ARG TARGET=WRF
ARG EXTRA_FLAGS=

RUN <<EOF_WRF
mkdir $TARGET
cd $TARGET

wget -c $TARGET_URL -O $TARGET.tar.gz
mkdir $TARGET-src
tar -xf $TARGET.tar.gz -C $TARGET-src --strip-components=1
rm $TARGET.tar.gz

cd $TARGET-src
printf '34\n1\n' | ./configure $EXTRA_FLAGS
./compile em_real

rm run/*exe
EOF_WRF

ARG WRF_DIR=$WRF_SOURCES/$TARGET/$TARGET-src

###############################################################################
## Install WPS

WORKDIR $WRF_SOURCES

ARG TARGET_URL=https://github.com/wrf-model/WPS/archive/refs/tags/v4.3.1.tar.gz
ARG TARGET=WPS
ARG EXTRA_FLAGS=

RUN <<EOF_WPS
mkdir $TARGET
cd $TARGET

wget -c $TARGET_URL -O $TARGET.tar.gz
mkdir $TARGET-src
tar -xf $TARGET.tar.gz -C $TARGET-src --strip-components=1
rm $TARGET.tar.gz

cd $TARGET-src
printf '3\n' | ./configure $EXTRA_FLAGS
./compile $EXTRA_FLAGS
EOF_WPS

################################################################################

FROM ghcr.io/uomresearchit/wrf-libraries as wrf_final

COPY --from=wrf_wps_build /WRF-SOURCES/WPS/WPS-src/ /WPS-run
COPY --from=wrf_wps_build /WRF-SOURCES/WPS/WPS-src/*exe /usr/local/bin/
COPY --from=wrf_wps_build /WRF-SOURCES/WRF/WRF-src/main/*exe /usr/local/bin/
COPY --from=wrf_wps_build /WRF-SOURCES/WRF/WRF-src/run /WRF-run


LABEL version.wrf=4.3.3
LABEL org.opencontainers.image.description="WRF and WPS executables and run directories"
LABEL org.opencontainers.image.source="https://github.com/UoMResearchIT/wrf-docker"


WORKDIR /
#
hgood@HENRY MINGW64 ~/wrf-docker (ClariNerd617-patch-1)
$ docker build Dockerfile-wrf_wps
[+] Building 0.0s (1/2)
 => ERROR [internal] load build definition from Dockerfile                                                                                                                    0.0s 
 => => transferring dockerfile: 71B                                                                                                                                           0.0s 
------
 > [internal] load build definition from Dockerfile:
------
failed to solve with frontend dockerfile.v0: failed to read dockerfile: error from sender: walk Dockerfile-wrf_wps: The system cannot find the path specified.
rugged root
sour willow
#

@willow light so first time your friend goes in

#

then you go in and tell the price

#

ez

golden sonnet
wise cargoBOT
#
Voice verification

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

peak wren
#

!voice

sour willow
#

man you talk ex actly like tristan tate and also sound like him.... lol

rugged root
#

Who?

willow light
#

is that a good thing?

rugged root
#

Or rather which of us

sour willow
sour willow
rugged root
#

So many virgins taken down in one fell swoop

sour willow
#

bruh

sour willow
#

im going to head out guys, enjoy your day/night!

graceful grail
amber raptor
amber raptor
frozen owl
honest pier
#

@whole bear use fastapi

#

@amber raptor there's django rest framework

#

@graceful grail it's fast. like rabbit said, it uses pydantic to verify form data and stuff based on typehints

graceful grail
#

🐇

honest pier
#

!pypi pydantic

wise cargoBOT
honest pier
#

and flask is sync, fastapi and django are async

#

welllllll, no one is really doing that much web dev in python @whole bear

rugged root
#

I hate printers and I hate scanners

#

They can burn in hell

honest pier
#

heheheh

#

i wrote my blog backend in rust 🦀

whole bear
graceful grail
#

printers FTW @rugged root

#

😄

honest pier
whole bear
#

jk

amber raptor
stuck furnace
#

Everyone be nice please hyperlemon

honest pier
#

to be fair, they did tell you..

#

"python year olds" @quasi condor

radiant dragon
#

@whole bear watcha talking about?

frozen owl
#

im happy pog

quasi condor
radiant dragon
#

@quasi condor whatcha talking about?

stuck furnace
#

At its core, Javascript is actually quite a nice language.

honest pier
#

you can compare different types with ==

stuck furnace
#

Yeah, it was designed in like, a week.

#

literally

honest pier
#

the problem with js is not the syntax, or anything about the language itself, really

quasi condor
#

!e
print(2=="2")

wise cargoBOT
#

@quasi condor :white_check_mark: Your 3.11 eval job has completed with return code 0.

False
amber raptor
#

!e python print(2=='2')

quasi condor
amber raptor
radiant dragon
#

what are you guys talking about?

whole bear
#

idk

#

python for sure

#

hah

amber raptor
#
var x = 9;
if (x === 9){
    alert(x)
    console.log("Hello World")
    alert(x+10)
}```
radiant dragon
honest pier
#

in python, semicolons are never required

amber raptor
#
var x = 9
if (x === 9) {
    alert(x); console.log("Hello World")
    alert(x+10)
}```
quasi condor
amber raptor
#
var a
a
=
3 
console.log(a)```
honest pier
#

@whole bear yes, smaller code means less latency when you send it to users

amber raptor
#

!e ```python
a

3
print(a)```

wise cargoBOT
#

@amber raptor :x: Your 3.11 eval job has completed with return code 1.

001 |   File "/home/main.py", line 2
002 |     =
003 |     ^
004 | SyntaxError: invalid syntax
graceful grail
#

\n

honest pier
#

\b is backspace

whole bear
#
(define
a
3)
(writeln
a)
honest pier
#

.xkcd 297

viscid lagoonBOT
#

I've just received word that the Emperor has dissolved the MIT computer science program permanently.

honest pier
#

@whole bear "if we changed the language entirely, it would be like lisp"

honest pier
#

no it does not

amber raptor
#

Let's make everyone (), that is easily to read........

honest pier
#

just learn haskell or something

#

or rust

#

@whole bear so what "lisp" features are in python?

#

python is not

#

lisp doesn't even have objects like python 🤔

willow light
#

what do you mean it doesn't have objects? you can do oop in lisp.

honest pier
#

@amber raptor alright. i'm expecting 2 responses about internships this week

amber raptor
willow light
#
(defclass vehicle ()
  ((speed :accessor vehicle-speed
          :initarg :speed
          :type real
          :documentation "The vehicle's current speed."))
  (:documentation "The base class of vehicles."))

that looks like an object to me

#

mind you I don't like the look of lisp so I'm not likely to ever use it...

honest pier
#

right, but these are more like named tuples iirc. the way functions are dispatched is different in lisp compared to python

willow light
#

named tuples are objects tho

honest pier
#

sure

willow light
#

in fact before I learned about dataclasses, named tuples were my go-to for converting json data into an object

honest pier
#

my point was that you don't associate any behavior with a named tuple, with methods

whole bear
#

scheme doesn't have objects, but it does have closures and association lists.

willow light
honest pier
woven quest
#

yeah

willow light
#

@dense pike I could always just stream this lol

honest pier
#

@willow light not really, lol

#

it's not "or others"

willow light
#

"I refuse to answer this question on grounds that I do not know."

honest pier
#

@whole bear it's so that no one can just straight up ask you "did you do the crime"

#

@amber raptor my poorly made pivot table

whole bear
#

subpoenaed

honest pier
#

@rugged root don't you have direct deposit?

rugged root
#

It's for clients

honest pier
#

ah

rugged root
#

One of our clients still get paper checks and paystubs

honest pier
#

don't they have direct deposit 😔

rugged root
#

Most do

honest pier
#

it's 2023 bruh

rugged root
#

Oh trust me

#

I know

honest pier
#

@dense pike they have a high heat capacity, so when you put stuff in it, it cooks the food instead of cooling down the pan that much

willow light
#

!pep 582

wise cargoBOT
#
**PEP 582 - Python local packages directory**
Status

Draft

Python-Version

3.12

Created

16-May-2018

Type

Standards Track

willow light
#

also

#

!pep 204

wise cargoBOT
#
**PEP 204 - Range Literals**
Status

Rejected

Python-Version

2.0

Created

14-Jul-2000

Type

Standards Track

willow light
#

both are being discussed this week

#

It's like a cartoon but not

woven quest
#

print('Hello')

name = input("What is your name?")

print("Hello \n" + name + " That so much for coming in today. \n\n\n")

menu = "Black coffe, Espresso, Latte, Cappucino"

print(name + ", What would you like from our menu today? Here is what we are serving. \n" + menu)

order = input() ```
willow light
#

!e

print('Hello')

name = input("What is your name?")

print("Hello \n" + name + " That so much for coming in today. \n\n\n")

menu = "Black coffe, Espresso, Latte, Cappucino"

print(name + ", What would you like from our menu today? Here is what we are serving. \n" + menu)

order = input() 
wise cargoBOT
#

@willow light :x: Your 3.11 eval job has completed with return code 1.
:warning: Note: input is not supported by the bot :warning:

001 | Hello
002 | What is your name?Traceback (most recent call last):
003 |   File "/home/main.py", line 3, in <module>
004 |     name = input("What is your name?")
005 |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
006 | EOFError: EOF when reading a line
woven quest
#

yeah i got

stuck furnace
#

👋

frozen owl
#
Line #    Mem usage    Increment  Occurrences   Line Contents
=============================================================
    18    839.9 MiB    839.9 MiB           1   @profile
    19                                         def board_data(board):
    20    839.9 MiB      0.0 MiB           1       board_array = np.zeros((8, 8, 13), dtype=np.int8)
    21    839.9 MiB      0.0 MiB          65       for i in range(64):
    22    839.9 MiB      0.0 MiB          64           piece = board.piece_at(i)
    23    839.9 MiB      0.0 MiB          64           if piece is not None:
    24    839.9 MiB      0.0 MiB          32               color = int(piece.color)
    25    839.9 MiB      0.0 MiB          32               piece_type = piece.piece_type - 1
    26    839.9 MiB      0.0 MiB          32               board_array[i // 8][i % 8][piece_type + 6 * color] = 1
    27                                                 else:
    28    839.9 MiB      0.0 MiB          32               board_array[i // 8][i % 8][-1] = 1
    29    839.9 MiB      0.0 MiB           1       board_array = board_array.flatten()
    30                                             # board_array.shape = 832 (1D)
    31    839.9 MiB      0.0 MiB           1       return board_array
willow light
#

Ok reopening the dockerfile in WSL gives me errors that did not occur when I opened it in regular windows....for some reason

stuck furnace
#

Cadbury themed

frozen owl
stuck furnace
#

We don't make the rules ¯_(ツ)_/¯

#

Yeah they do

honest pier
#

@willow light have you used a towel

willow light
#

I'm trying to figure out whether it is a better idea to dockerize the WRF, or convert it to work with numpy.f2py for a more modern experience...

#

the wrf is several GB of text files of Fortran 77 code.

#

New mission: figure out CI/CD for a weather model

gentle flint
#

@willow light

willow light
gentle flint
willow light
#

@gentle flint we do have some real trains here in the states. somewhat.

gentle flint
willow light
gentle flint
willow light
#

"can-kuh-MAH-guhs"

#

locally known as "the kanc"

brisk current
lofty crater
#

pretty buses

willow light
#

slowly leveling up my other languages lol

rapid flame
#

@whole bear turn your dms on

somber heath
#

@lament hedge👋

honest pier
#

matplotlib had a recent massive PR iirc

rugged root
#

@honest pier Couldn't hear you, what'd you say?

honest pier
#

each type stub is like 2 lines

rugged root
#

Dude your mic, though

warped raft
#

@wind raptor after a long time you are back on the vc

#

welcome back

#

it might be you were here all the time

#

i have seen you today

#

after so long

#

so hello

wind raptor
honest pier
#

caveets

rugged root
#

I don't think I ever really got what pyi files were

honest pier
#

usually coops pay you though ?

rugged root
#

I love our office manager

somber heath
#

@whole bear👋

whole bear
rugged root
#

@uncut meteor Suuuuuuuuup

uncut meteor
#

hello

frozen owl
#

hello :D

#

i have implemented SQL reading and writing

#

instead of pgn and txt

#

success!

somber heath
somber heath
#

Often pluralised as MACOs.

somber heath
solemn meadow
#

i need a little help with python. Is there anyone that could please help me?

frozen owl
somber heath
rugged root
#

@heady tapir If you're wondering why you can't talk, check out the #voice-verification channel. That'll tell you what you need to know about the voice gate

frozen owl
#

like auto identify non-verified in VC

rugged root
frozen owl
#

and send msg

rugged root
#

!help

heady tapir
rugged root
#

Ah okay

heady tapir
#

what the heck...

rugged root
#

Force of habit to check

#

The way you were hopping between channels, like the intervals, felt really regular

rugged root
#

We've had raids that were kind of like that before

#

Apologies

solemn meadow
wise cargoBOT
#
Formatting code on discord

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.

For long code samples, you can use our pastebin.

somber heath
#

!paste if it's too big

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.

rugged root
solemn meadow
rugged root
#

Can you toss the code into here? If it's large you'll probably want to use our h- and I just realized Opal already posted the paste bin link

somber heath
#

Jenga as memory storage.

#

NaNites.

#

Because they run on Java.

#

Or whatever languages write NaNs like that.,

stuck furnace
#

👋

wind raptor
#

How's it going @stuck furnace?

molten pewter
#

"Jimmy is a male given name of Hebrew origin. It is a diminutive form of the given name James, along with its short form, Jim. Both can also be used as the adaptation into English of the popular modern Greek name Dimitris (Δημήτρης) or the older Dimitrios (Demetrius), especially amongst Greek immigrants in English-speaking countries, due the similarity in the sound of the nickname Ντίμης/Dimi and Jimmy."

stuck furnace
terse needle
wind raptor
honest pier
#

i've a shakespeare class in an hour

rugged root
#

Wait

wind raptor
terse needle
#

FIRST MURDERER
What, you egg!

rugged root
#

Oh easter

#

God damn it

stuck furnace
#

Yeah I'm definitely not a languages/humanities person 😄

honest pier
#

😔

somber heath
#

That moment you, in bare feet, encounter a scorpion.

honest pier
rugged root
#

Wait did that just happen?

somber heath
#

It was just a small one.

#

Meh.

#

These ones would hurt and you might feel a bit ill, but it's not going to kill you.

#

I'd be more likely to squish it by accident than it sting me by accident.

lucid blade
#

now im thinking about the 1st boss from ff7

somber heath
#

Jar, paper, outside. No worries.

terse needle
lucid blade
#

lol

teal flower
somber heath
#

I've done a little bit with Kivy, but I wouldn't call myself an expert.

somber heath
#

@whole bear It doesn't look like a fatal thing, in any event.

whole bear
#

[DEBUG]: In file included from <built-in>:382:
[DEBUG]: <command line>:6:9: warning: 'ANDROID_API' macro redefined [-Wmacro-redefined]
[DEBUG]: #define ANDROID_API 21
[DEBUG]: ^
[DEBUG]: <built-in>:375:9: note: previous definition is here
[DEBUG]: #define ANDROID_API ANDROID_MIN_SDK_VERSION
[DEBUG]: ^
[DEBUG]: 1 warning generated.

pallid hazel
#

hemy.. i havent refactored the master set of QOS params yet, but doing the slave as I go.. choices are presented..
should I remap all the master from a base name.. or..
just include master and slave in each main qos file and just call the respective functions..
it just makes those files larger then pop in and fix or update something without seeing eachother..
which would be a better design pattern?

somber heath
rugged root
whole bear
#

What should I do?

#

what are u suggesting me?

somber heath
#

Suggestion 1: Visit the Kivy Discord and ask there.

#

My thinking: It's not a fatal error and so can be ignored, but you probably shouldn't.

warped raft
#

@vocal basin are you here

somber heath
#

👻 🐝 🪤

#

Iconograph?

#

Heiroglyph?

#

Pictograph?

#

Ideogram?

rugged root
#
TRAVEL
______
CCCCCC
somber heath
#

Nomads would have to have very good control over their emotions.

#

Overseas travel.

#

It's not a coincidence.

#

I was responding to you.

stuck furnace
#

nomads - food commercials

somber heath
#

Oh, because math.

rugged root
#
BETW IN EEN
somber heath
#

🎩 🌊 dice_9 dice_9 dice_2

rugged root
#

@wind raptor You're still connected

#

Wasn't sure if you were AFK

wind raptor
#

No worries thanks!

#

Cheers

#

Time for some truth tables

rugged root
#

Sounds.... fun?

wind raptor
#

I think it's pretty easy

#

This one is a tautology

rugged root
#

Those are not the kind of truth tables I was thinking of

wind raptor
#

They are, you probably just don't know the symbols.

wise cargoBOT
#

You are not allowed to use that command.

wind raptor
#

^ and
v or
-> then
~ inverse

rugged root
#
11111
-----
TIME
whole bear
#
MIND
-------
MATTER
```
whole bear
#

🎅 🗣️

rugged root
somber heath
#

🐒 🐾

#

It's a...

#

Rhebus monkey.

#

💥

whole bear
somber heath
#

Okay, maybe not a Rhebus, but I don't care.

somber smelt
#

hello

somber heath
#

Rebar monkey.

rugged root
somber heath
#

Economnomnomy.

#

Also the practice of giving people short names.

#

Eco-nomy.

#

Incontinental ballistic missile.

pallid hazel
rugged root
#
O_ER_T_O_
whole bear
lucid blade
somber heath
#

(👔 🧎‍♂️ 🎸 )🐜 🛑 🎵

willow light
#

There exists a repo where we have this code running in production with the name validation.py:

assert(1==1)

that's the entire file.

sweet lodge
#

Gotta validate that no comsic rays flipped any bits

somber heath
sweet lodge
#

You test-haters are all the same

#

Never want to validate nothing

lucid blade
#

bitsquats

somber heath
#

Also, why not just assert(True)?

#

Were people able to differentiate between requests as a result of bit flipping and requests generated from crawling the DNS server?

sweet lodge
lucid blade
#

WHERE 1=1

sweet lodge
#

!e print(1=1)

wise cargoBOT
#

@sweet lodge :x: Your 3.11 eval job has completed with return code 1.

001 |   File "/home/main.py", line 1
002 |     print(1=1)
003 |           ^^
004 | SyntaxError: expression cannot contain assignment, perhaps you meant "=="?
sweet lodge
pallid hazel
#

assert 1==1 if 1 != 1

lucid blade
#

LOL

wind raptor
#

1 == "1" && 1 === 1 && 1 !== "1"

spiral yarrow
#

@wind raptor could you help me with python please

vocal basin
spiral yarrow
#

im trying to run a command for my discord bot, im putting the right inputs in but when i try to run the command it says error with one of my lines

vocal basin
#

what's the error?

spiral yarrow
#

it says Syntax error

#

and you said what else?

#

yea

#

yes

vocal basin
spiral yarrow
#

sorry im new to this whats a traceback

vocal basin
#

!e

1+
wise cargoBOT
#

@vocal basin :x: Your 3.11 eval job has completed with return code 1.

001 |   File "/home/main.py", line 1
002 |     1+
003 |       ^
004 | SyntaxError: invalid syntax
somber heath
#

!e py 1+

wise cargoBOT
#

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

001 |   File "/home/main.py", line 1
002 |     1+
003 |       ^
004 | SyntaxError: invalid syntax
vocal basin
spiral yarrow
#

Traceback (most recent call last):
File "/Users/glory/Desktop/discord bot py/main.py", line 1, in <module>
import bot
File "/Users/glory/Desktop/discord bot py/bot.py", line 15
client = discord.Client()
^^^^^^
SyntaxError: invalid syntax

Process finished with exit code 1

vocal basin
#

what's on the line 14?

#

ig you might be missing : nvm error would be different

spiral yarrow
#

line 14 is my token for the bot i made

somber heath
#

140 characters? Oh no. How burdensome.

terse needle
vocal basin
terse needle
somber heath
#

Still not a good idea to leave it in.

#

If the Python bot can snipe it, other bots can, too.

spiral yarrow
#

def run_discord_bot():
TOKEN = ''
client = discord.Client()

@client_event
async def on_ready():
    print(f'{client.user} is now running!')


client.run(TOKEN)
rugged root
#

COOL, forgot to submit my personal property stuff for 2022

spiral yarrow
#

single

#

ye

rugged root
#

I hate my adhd

somber heath
#

"You're not my ADHD, you can't tell me what to do!"

vocal basin
#

!e

def run_discord_bot():
    TOKEN = ''
    client = discord.Client()
    @client_event
    async def on_ready():
        print(f'{client.user} is now running!')
    client.run(TOKEN)
wise cargoBOT
#

@vocal basin :warning: Your 3.11 eval job has completed with return code 0.

[No output]
terse needle
rugged root
vocal basin
somber heath
#

What's above this section of code?

vocal basin
spiral yarrow
#

import discord
import responses

async def send_message(message, user_message, is_private):
try:
response = responses.handle_response(user_message)
await message.author.send(response) if is_private else await message.channel.send(response)
except Exception as e:
print(e)

def run_discord_bot():
TOKEN = ''
client = discord.Client()

@client_event
async def on_ready():
    print(f'{client.user} is now running!')


client.run(TOKEN)
#

this is the whole thing but w/o the token

vocal basin
spiral yarrow
#

ima try and make a lil changes then run command

vocal basin
spiral yarrow
#

TypeError: Client.init() missing 1 required keyword-only argument: 'intents'

#

i also got this error

vocal basin
#

!intents

wise cargoBOT
#
Using intents in discord.py

Intents are a feature of Discord that tells the gateway exactly which events to send your bot. Various features of discord.py rely on having particular intents enabled, further detailed in its documentation. Since discord.py v2.0.0, it has become mandatory for developers to explicitly define the values of these intents in their code.

There are standard and privileged intents. To use privileged intents like Presences, Server Members, and Message Content, you have to first enable them in the Discord Developer Portal. In there, go to the Bot page of your application, scroll down to the Privileged Gateway Intents section, and enable the privileged intents that you need. Standard intents can be used without any changes in the developer portal.

Afterwards in your code, you need to set the intents you want to connect with in the bot's constructor using the intents keyword argument, like this:

from discord import Intents
from discord.ext import commands

# Enable all standard intents and message content
# (prefix commands generally require message content)
intents = Intents.default()
intents.message_content = True

bot = commands.Bot(command_prefix="!", intents=intents)

For more info about using intents, see discord.py's related guide, and for general information about them, see the Discord developer documentation on intents.

vocal basin
spiral yarrow
#

alr

#

ty

#

wai

vocal basin
wise cargoBOT
#

traceback.print_exc(limit=None, file=None, chain=True)```
This is a shorthand for `print_exception(sys.exception(), limit, file, chain)`.
vocal basin
wise cargoBOT
#

@vocal basin :warning: Your 3.11 eval job has completed with return code 0.

[No output]
vocal basin
#

print(exception) prints arguments of the exception not the "exception itself"

vocal basin
#

!rule 5 there are reasons why this check exists

wise cargoBOT
#

5. Do not provide or request help on projects that may break laws, breach terms of services, or are malicious or inappropriate.

vocal basin
#

it probably works in tz-agnostic unix epoch time terms anyways

#

!e

import time
print(time.time())
wise cargoBOT
#

@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.

1680709752.5155373
vocal basin
#

!e

print(1680709752.5155373-1680709734.830636)
wise cargoBOT
#

@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.

17.684901237487793
vocal basin
#

yes, it doesn't depend on tz

cerulean ridge
vocal basin
#

sounds like unix signal names

#

was

rugged root
#

!server

wise cargoBOT
#
Server Information

Created: <t:1483877013:R>
Roles: 103
Member status: status_online 57,426 status_offline 317,667

Members: 375,093

Helpers: 150
Moderation Team: 36
Admins: 12
Directors: 3
Contributors: 47
Leads: 15

Channels: 258

Category: 29
Forum: 3
News: 11
Staff: 119
Stage_Voice: 1
Text: 88
Voice: 7

cerulean ridge
#

!server

wise cargoBOT
#
Server Information

Created: <t:1483877013:R>
Roles: 103
Member status: status_online 57,426 status_offline 317,666

Members: 375,092

Helpers: 150
Moderation Team: 36
Admins: 12
Directors: 3
Contributors: 47
Leads: 15

Channels: 258

Category: 29
Forum: 3
News: 11
Staff: 119
Stage_Voice: 1
Text: 88
Voice: 7

cerulean ridge
#

oh i can do it too

vocal basin
#

notice the member count change

somber heath
#

Up to the use of external libraries, maybe.

#

So you're fluent enough in the basic syntax and other builtin stuff.

#

But then frameworks? Pff.

#

Who needs them?

#

You can pick those up as needed if you do.

loud quail
#

give me voice

somber heath
wise cargoBOT
#
Voice verification

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

loud quail
#

!voice

loud quail
wind raptor
#

G2G learn about Samba on Linux. Cheers!

limpid umbra
#

does anybody know about this

#

python and jyputer stuff

mortal burrow
#

kvm machine

#

kvm switch

limpid umbra
#

@rugged root some new stuff

#

take the pillow off your desk that may help

hoary plaza
somber smelt
#

hello

#

@lofty crater

lofty crater
#

hi buddy

somber smelt
#

what are you up too

lofty crater
#

I was sleeping during the day so I am completing some work

somber smelt
#

Ohh

#

for school

#

or like job work

lofty crater
somber smelt
#

ohh

#

do you work in teach

lofty crater
#

no I work as a dev

somber smelt
#

yeah

#

thats what i meant

#

but like teach as in dev or it

lofty crater
#

I do not teach, simply work as a dev

somber smelt
#

tech

#

as in technoligy

#

oh i spelled that rong

lofty crater
#

haha

#

the way I see every development is for some tech

somber smelt
#

ok

#

what specific stuff do you do

#

ai

#

?

lofty crater
#

no not ai

#

I am a salesforce developer

somber smelt
#

oh whats that

#

never heard of it

lofty crater
#

😁

#

development of a specific cloud crm

somber smelt
#

oh

#

nice must be stresful working in cloud

#

since you can burn a lot of money if you mess up

lofty crater
#

well there is dev -> qa -> production so not much we can mess up

willow light
#

amateurs, we go alpha -> beta -> dev -> test -> perf -> qa -> stage -> preprod -> prod -> ext-prod

willow light
somber smelt
#

hello

#

yes

#

oh

#

i didnt realize

#

you can hear

#

it

#

im sorry

#

so what are you up to

#

no i hav them they broke

#

and now i have shit ones that

#

have the same input and output it seams

#

no just the souwtering broke

#

i had an even worse set

#

before

#

but now im getting accual headphones

#

from hyperx

#

wanna see what i made

#

I made a keystroke plugin for my gui framework

#

The entire framework is written in c and uses directx

#

all plugins share the same window

#

no c++

#

sorry

#

typo

#

its on my github if you want to check it out

#

yes

#

but its nice to have

#

Here

#

I focused on the dev experiance

#

so you make dll projects

#

and you can draw text or rectangles

#

no its a framework for widgets

#

but yes what i showed you was the plugin

#

on my github

#

for my framework

#

i think is cool

#

the first app im proud off

#

yeah

#

but you can just change it

#

in the code is so simple

#

if you look at it

#

its like 10 lines

#

to change it

wise cargoBOT
#

Hey @somber smelt!

It looks like you tried to attach file type(s) that we do not allow (.cpp). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a, .csv, .json.

Feel free to ask in #community-meta if you think this is a mistake.

somber smelt
#
#include "plugin.h"

int width, height;

const char* Plugin::getName() {
    return "Keystrokes";
}

void Plugin::onLoad(int param_width, int param_height) {
    width = param_width;
    height = param_height;
}

void Plugin::onUpdate() {
    // A
    addText(1, (char*)"A", 27, 45, 0, 0, 0, 255);
    if (GetAsyncKeyState(0x41)) {
        addRect(1, 20, 40, 20, 20, 77, 93, 172, 255);
        removeRect(0);
    }
    else {
        addRect(0, 20, 40, 20, 20, 255, 255, 255, 255);
        removeRect(1);
    }

    // S
    addText(2, (char*)"S", 47, 45, 0, 0, 0, 255);
    if (GetAsyncKeyState(0x53)) {
        addRect(2, 40, 40, 20, 20, 77, 93, 172, 255);
        removeRect(3);
    }
    else {
        addRect(3, 40, 40, 20, 20, 255, 255, 255, 255);
        removeRect(2);
    }

    // D
    addText(3, (char*)"D", 67, 45, 0, 0, 0, 255);
    if (GetAsyncKeyState(0x44)) {
        addRect(4, 60, 40, 20, 20, 77, 93, 172, 255); // Highlighted triangle
        removeRect(5);
    }
    else {
        addRect(5, 60, 40, 20, 20, 255, 255, 255, 255); // White triangle
        removeRect(4);
    }

    // W
    addText(4, (char*)"W", 45, 24, 0, 0, 0, 255);
    if (GetAsyncKeyState(0x57)) {
        addRect(6, 40, 20, 20, 20, 77, 93, 172, 255); // Highlighted triangle
        removeRect(7);
    }
    else {
        addRect(7, 40, 20, 20, 20, 255, 255, 255, 255); // White triangle
        removeRect(6);
    }

    // Space
    addText(5, (char*)"Space", 35, 64, 0, 0, 0, 255);
    if (GetAsyncKeyState(VK_SPACE)) {
        addRect(8, 20, 61, 60, 20, 77, 93, 172, 255); // Highlighted triangle
        removeRect(9);
    }
    else {
        addRect(9, 20, 61, 60, 20, 255, 255, 255, 255); // White triangle
        removeRect(8);
    }
}
#

Here this is the code

#

for the keystrokes

#

Also i know i have to change the text function to take const chars

#

to prevent errors

#

no

#

ohh

#

you can do try catch like in python

#

and it will give you a description

#

hello

#

great

#

can you show a screenshot

#

py noob

#

also i dont care how you pronounce my name

#

banned from where

pallid hazel
somber smelt
#

are you making this joke because of the "tiktok ban"

#

they are trying to do

#

did you see the document

#

yes

#

they dont want to ban ticktok they want to control what you can use and what not but litreliy using a vpn is legal to acess the same banned content according to the paper

#

anyways i want to add images to my gui framework

#

no in the paper it says that the local goverment of the request can determan what is banned and what is not

#

\yeah that is what i meant

#

if the vpn is in germany they decide what is banned content says in the paper

#

i swear everytime this voice call turns into a political discusion

#

copilot is more for object oriented stuff

#

i heard its bad at functional programming

#

i have to go

#

bye guys

#

hello

#

im back

#

yes

#

i am

#

just took a break

#

anything new

#

or like i missed

#

meanwhile i was gone

#

oh also what do you think abou discord adding native themes

somber smelt
#

hello

spiral yarrow
#

hello

somber heath
#

@faint charm 👋

faint charm
#

Hi @somber heath

#

I am here.
Nice to meet you.

left haven
whole bear
#

I don't have permission to talk

whole bear
somber heath
#

!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.

whole bear
#

ima rejoin

#

I cant talk