#voice-chat-text-0

1 messages · Page 226 of 1

little pond
#

I get it

#

Thanks for the insight

somber heath
#

George Edward Negus AM (born 13 March 1942) is an Australian journalist, author, television and radio presenter specialising in international affairs. He was a pioneer of Australian TV journalism, first appearing on the ABC’s groundbreaking This Day Tonight and later on Sixty Minutes. Negus was known for making complex international and politica...

little pond
#

Will defiantly connect with you once I have speaking permissions @somber heath

somber heath
#

@deep spruce 👋

#

@eager thorn 👋

eager thorn
#

ayooo

#

good morning.

noble rose
eager thorn
#

i haven't seen a bunch of Reynolds movies or whatever, besides deadpool and such, and i can def say that' basically just him either way

somber heath
#

@wild remnant 👋

red umbra
#

madjer

somber heath
#

@plush mist 👋

wild remnant
#

Opa

plush mist
stark river
#

haskell "avoid success at all costs" programming language

eager thorn
#

@rugged root can't forget about them snakes 🐍

stark river
#

@woeful salmonuse odin lang or v lang if you want to learn a new lang.. might be a better exp than haskell

woeful salmon
rugged root
#

@woeful salmon Prolog came out in 1972

woeful salmon
#

i am looking at it rn

rugged root
#

It's a thing

woeful salmon
#

ok so

#

you code to then ask the code if the code is there?

#

o-o

rugged root
#

Yep

woeful salmon
#

yeah i don't think i'm doing it

#

F# sounds much nicer

rugged root
#

It's really nice

woeful salmon
#

i'mma go eat food

rugged root
#

Word homey

whole bear
#

hemlock can u help me?

#

im stuck

#

Hello this is ghost of the pokemon past

#

Just came in to say hi

torpid bolt
#

@rugged root

rugged root
#

Back in a sec

torpid bolt
#
Score = 10

rugged root
#

!stream 789885479226179594

wise cargoBOT
#

✅ @torpid bolt can now stream until <t:1701791009:f>.

red umbra
#

max_ratings = [6, 5, 5.5, 6.5. 4.5, 5, 8]

rugged root
#

!e

ham = [1, 5, 123, 347, 38]
print(ham[-2])
print(ham[-2:])
wise cargoBOT
#

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

001 | 347
002 | [347, 38]
rugged root
#

!e

ham = [1, 5, 123, 347, 38]
print(ham[:3])
print(ham[1:3])
print(ham[:])
wise cargoBOT
#

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

001 | [1, 5, 123]
002 | [5, 123]
003 | [1, 5, 123, 347, 38]
red umbra
#

last_seven_ratings = ratings[-7...

rugged root
#

!e

ham = [1, 5, 123, 347, 38]
print(ham[-7:])
wise cargoBOT
#

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

[1, 5, 123, 347, 38]
stark river
#

no index out of bounds?

rugged root
#

!e

ham = [1, 5, 123, 347, 38]
print(ham[-7])
wise cargoBOT
#

@rugged root :x: Your 3.12 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 2, in <module>
003 |     print(ham[-7])
004 |           ~~~^^^^
005 | IndexError: list index out of range
stark river
#

this is why i love python.. js would create two new elements with undefined as value

limber heron
#
def avg_last_seven(ratings):
    r_size = len(ratings)
    last_seven = [ratings[r_size - i] for i in range(1, 8)]
    return sum(last_seven) / 7
sage oyster
whole bear
#

hello all

rugged root
#

!e

ham = 5.7812331
print(f"{ham:.1f}")
wise cargoBOT
#

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

5.8
stark river
rugged root
#

That's....

#

So dumb

#

I'd hope that most editors would call that out, though

stark river
#

they don't

rugged root
#

TypeScript might

#

Or no it wouldn't either

#

Because it wouldn't be certain about the length at runtime

sage oyster
rugged root
#

I don't know enough about Pillow to be helpful, unfortunately

#

Sorry

#

!server

wise cargoBOT
#
Server Information

Created: <t:1483877013:R>
Roles: 112
Member status: status_online 53,364 status_offline 333,275

Members: 386,639

Helpers: 155
Moderation Team: 41
Admins: 14
Directors: 3
Contributors: 48
Leads: 14

Channels: 268

Category: 29
Forum: 3
News: 11
Staff: 120
Stage_Voice: 1
Text: 97
Voice: 7

solid oyster
eager thorn
#

a good practice I've been doing is using the hobbies i have outside of coding and seeing if i can combine the two together some how @rugged root@torpid bolt

rugged root
#

!kindling

wise cargoBOT
#
Kindling Projects

The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.

whole bear
#

this is not the best option , but not bad

#

good to try

willow ruin
#

can anyone here help me with discord bot ?

solid oyster
#

Another idea is thinking of what you see yourself doing later for a career, you can base the project on solutions for common issues within the field. For example I want to find a job as a software developer at a hospital, I am working on a project for a hospital database and infrastructure management project where you can keep track of employees and equipment

rugged root
#

Make a Student Class

Make a Class that meets the following conditions:

  1. A Student should have name, age, and favorite_subject attributes.
  2. The Student should have an introduce() method so that they can introduce themselves
    a. introduce() should have them tell the user their name, age, and favorite_subject
#

Just a little prompt. I'll expand it as more gets done

sweet lodge
#

@rugged root wave

rugged root
#

How goes it

sweet lodge
rugged root
rugged root
willow ruin
#

guys, ever tried programming on phone ?

#

💀

ivory flower
#

like coding interview session on phone ?

rugged root
willow ruin
#

maybe he wants you guys to use ChatGPT ? @torpid bolt

rugged root
#

I hope not

willow ruin
#

yes

torpid bolt
#
name = input("Whats your Name?: ")
age = int(input("Whats your age?: "))
fav_subject = input("Whats your Subject")

class student{
   name = ()
   age = ()
   subject = []
    
    
    
}

sweet lodge
#

ChatGPT = 🚪

willow ruin
ivory flower
#

just curious, how do you use GPT for coding ? e.g. tell GPT to code initial simple stuff , then add more complicated code to it . etc

willow ruin
#

oh damn, that feelin iz really bad, it sucks fr, RIP self confidence and shit :(

stark river
#

it's not python

ivory flower
#

ok , more like syntax question

stark river
#

it's a weird mixture of python and js

willow ruin
ivory flower
ivory flower
stark river
red umbra
willow ruin
sweet lodge
#

Don't have kids if you can't let them be their own people

willow ruin
#

"could be worse" 💀

rugged root
willow ruin
red umbra
wind raptor
willow ruin
stark river
rugged root
red umbra
#

`class Dog:

def __init__(self, name):
    self.name = name
    self.tricks = []    # creates a new empty list for each dog

def add_trick(self, trick):
    self.tricks.append(trick)`
sweet lodge
#

🐶 ❓

torpid bolt
#
class student:
    def __init__(self, name, age, subject):
        self. name = name 
        self. age = age 
        self. subject = subject 

    p1 = Person("Jack", 20, Math)
 
     print(p1.name)
     print(p1.age)
     print(p1.subject)
sweet lodge
#

plz no single letter variable names

torpid bolt
#
class student:
    def __init__(self, name, age, subject):
        self.name = name 
        self.age = age 
        self.subject = subject 

p1 = Person("Jack", 20, Math)

    print(p1.name)
    print(p1.age)
    print(p1.subject)
willow ruin
#

print func

#

that's wrong

rugged root
#

!e

class Meat:
  def __init__(self, name):
    self.name = name

ham = Meat("ham")
print(ham. name)
wise cargoBOT
#

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

ham
willow ruin
#

it doesn't

#

!e

class student:
    def __init__(self, name, age, subject):
        self.name = name 
        self.age = age 
        self.subject = subject 

p1 = Person("Jack", 20, Math)

    print(p1.name)
    print(p1.age)
    print(p1.subject)```
wise cargoBOT
#

@willow ruin :x: Your 3.12 eval job has completed with return code 1.

001 |   File "/home/main.py", line 9
002 |     print(p1.name)
003 | IndentationError: unexpected indent
terse needle
#

😍 the dwm code base (I just picked a random example)

torpid bolt
swift flower
#

"Math"

red umbra
#

"math"

sweet lodge
#

@rugged root I have a complaint

rugged root
#

What'd I do

sweet lodge
#

Oh no

#

I get screenshare

#

It already is in staff channels

whole bear
#

Hello?

sweet lodge
#

No

#

I kid, I kid

sweet lodge
mild quartz
whole bear
#

Why can't I talk?

sweet lodge
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
#

Can anyone here me

rugged root
#

He's verified

sweet lodge
rugged root
#

It's a mic thing

willow ruin
#

@rugged root can you give me screen perms ? I want to share n ask somethin

sweet lodge
#

o

torpid bolt
#
 __str__()

stark river
torpid bolt
#

@rugged root

rugged root
#

str()

sweet lodge
#

under under under under

#

so you can under while you under

ivory flower
#

def __str__()

rugged root
#

🎶 I come from a land down dunder 🎶

whole bear
#

Can you check under there?

willow ruin
#

None

wind raptor
whole bear
torpid bolt
#

See u guys soon thanks for the help and i will keep practicing

willow ruin
#

ahhahahahahaahha

#

nice people

#

?

#

whaat ?

#

🤣

sweet lodge
#

.gh user shenanigansd

viscid lagoonBOT
sweet lodge
#

The name's Messages, BAD Messages firPosh

sweet lodge
#

@rugged root send them my way

willow ruin
#

automate what ?

solid oyster
#

the chat turned into a 2000s msn conversation starter... asl? XD

daring swift
#

hello my people

willow ruin
#

okayy

#

guys good luck

#

i gotta go :

rugged root
#

!starify 135533482611965952

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied superstar to @red umbra until <t:1701800415:f> (1 hour).

#
Superstarified!

Your previous nickname, NegusBeFlyin, was so bad that we have decided to change it. Your new nickname will be Justin Bieber.

You will be unable to change your nickname until <t:1701800415:f>. If you're confused by this, please read our official nickname policy.

sweet lodge
#

HAH

gentle flint
#

Tempest in a teapot (American English), or also phrased as storm in a teacup (British English), or tempest in a teacup, is an idiom meaning a small event that has been exaggerated out of proportion. There are also lesser known or earlier variants, such as storm in a cream bowl, tempest in a glass of water, storm in a wash-hand basin, and storm i...

#

accurate description of the vc situation just now

sweet lodge
#

I like this song

mild quartz
little pond
#

Hi @rugged root ,
I am new to python. Do you have any idea on how can we get/extract/stream messages of discord on public servers?

vocal basin
#

"build systems you can't understand. reliably."

mild quartz
#

more like build a component that you couldn't write a program for

#

eg you couldnt write a translation program

#

instead you learn a translation program via model

#

and as long as the format in and out are consistent you can use it like any other software component with some reliability/tolerance

vocal basin
#

or messages of others?

vocal basin
#

for first option: ask Discord, I guess?

#

yeah, and that also implies being staff of the guild

little pond
#

How so.. if it's a public server and the conversation is public. Don't you think the user already the chat is public?

#

Eg. I would like to see what are the most common used words in a server.. how do I do that? (in python)

#

really, how so?

amber raptor
#

It’s all TOS

wind raptor
amber raptor
#

While setting the planet on fire

little pond
#

And I would't be able to do that without making a bot right?

#

Got it!
Thanks all guys 🙂

solid oyster
#

so the issue isn't the technology it's the usage not being regulated or the regulations themselves being biased towards profits of a few and not the general wellbeing

runic drum
#

Ah I want to join the conversation xD (have to wait)

vocal basin
#

@rugged root not competing with original, not reducing the income the original brings, afaik

sweet lodge
#

They're citizens
They should get passports too

runic drum
#

I probably shouldn't say which field of AI I work in, or I will get murderer 💀

vocal basin
#

(in case of making derivative works, not in AI case specifically)

solid oyster
#

@amber raptor They supposedly have an opt out option where you can ask them not to sell your info but they intentionally make it too complicated to be usable

rugged root
#

Looking at the imgur ToS section on Intellectual Property:

... By uploading a file or other content or by making a comment, you represent and warrant to us that (1) doing so does not violate or infringe anyone else's rights; and (2) you created the file or other content you are uploading, or otherwise have sufficient intellectual property rights to upload the material consistent with these terms. With regard to any file or content you upload to the public portions of our site, you grant Imgur a non-exclusive, royalty-free, perpetual, irrevocable worldwide license (with sublicense and assignment rights) to use, to display online and in any present or future media, to create derivative works of, to allow downloads of, and/or distribute any such file or content ...

#

Oh interesting

#

Regarding things that you can't use User Generated Content for:

You may use UGC for personal, non-commercial purposes.
You may use UGC for anything that qualifies as fair use under copyright law, for example journalism (news, comment, criticism, etc.), but please include an attribute ("Imgur" or "courtesy of Imgur") next to where it is displayed.
You may not use UGC for non-journalistic commercial purposes.
Your use of UGC is at your own risk. IMGUR MAKES NO WARRANTIES OF NON-INFRINGEMENT, and you will indemnify and hold Imgur harmless from any copyright infringement claims arising out of your use of the UGC. (See our general disclaimers below.)

#

Just sayin

#

The books might get stained with coffee

runic drum
#

the publisher shut it down? Now google came for revenge?

#

I think a fractional payment for AI Models trained on data should be a thing in the future

vocal basin
#

ads as the main revenue source is so dystopian

runic drum
#

TikTok videos as payment

rugged root
#

Huh

#

I thought patents lasted longer

#

Oh no no

#

Never mind, looked up the wrong thing

#

No wait

#

I was right

#

Jesus Hemlock

gilded rivet
#

20-30 years right?

rugged root
#

Yeah I'm seeing 20

#

Generally

vocal basin
#

I only remember ever seeing 20

#

there are local competitors

#

(for Google search and Google Maps)

gilded rivet
#

70 years after creators death is better

#

In my opinion these should still be in copywrite

rugged root
#

To who

#

Who would own the copywrite?

vocal basin
#

not the original creators, just as much of copyright anyway

rugged root
#

TIL

gilded rivet
#

Just dump your money into a hole and hope it goes to the benefactors of their estate

rugged root
#

I mean like if no one or no entity is around to actually make a claim on the copyright...

gilded rivet
#

UH

#

I am

#

that's me

#

I'm a desendent

gentle flint
runic drum
#

gmail inbox? Wasn't this developed internally

#

ye: Gmail was a project started by Google developer Paul Buchheit

#

it was an internal project

rugged root
#

Huh, neat

#

@pseudo hawk Can you please mute when you're not speaking so your phone notification isn't coming through your mic?

runic drum
#

Man I wish I can speak xD

pseudo hawk
rugged root
runic drum
#

Ye but I dont want to spam obviously

rugged root
#

@flint hill I haven't had a chance to review the document yet. Been slammed

rugged root
#

It happens far too often

flint hill
#

Well I just finished the final

rugged root
#

Ah sorry

flint hill
#

Ya

rugged root
#

I just haven't had a single break

flint hill
#

It was all or nothing

#

Ur hanks for the help on the review I will probably get A 65. To 75

runic drum
#

From all the tech interviews etc. I have seen, YC has the best reputation. It even recently changed their terms IN FAVOR of the entrepreneurs

rugged root
#

How so?

flint hill
#

The multiple choice

runic drum
#

Now YC will offer startups $500,000 in two tranches instead of $125,000 for 7% equity. The second tranche of $375,000 is on an uncapped safe with Most Favoured Nation terms — guaranteeing YC the most favourable terms of the follow-on round.

https://medium.com/founders-factory-africa/to-yc-or-not-to-yc-a47c3626d77d#:~:text=The new deal&text=Now YC will offer startups,of the follow-on round.

Medium

International accelerators are increasingly turning their attention to Africa. Chief among them is Y Combinator (YC), the world’s first…

rugged root
flint hill
#

So ya I wish I could of reviews the mid term but I get you are busy

runic drum
#

As someone who worked with AI 5 years ago (actually machine learning) and now has quit his job to start a AI startup (because I think it is awesome) , I am sitting here like

#

You are picking the TWO top investment firms 😄

#

If this discord is not about toxicity...such comments should not be allowed...

rugged root
#

What'd I miss?

gilded rivet
#

"When you cut companies, people bleed." - Anohki

"Maybe companies should stop stabbing people." - Sinthrill

vocal basin
#

still cringing out from "smart people" phrase
go go elitism

rugged root
#

I missed the "smart people" comment

vocal basin
#

almost regardless of context, "smart people" is a dumb phrase

rugged root
#

Fair

amber raptor
runic drum
#

I think you are right about all the points @mild quartz 😉

rugged root
#

I just ask questions

vocal basin
#

"those acquisition problems don't apply where I am because the only acquisition model we have is still racketeering"

rugged root
#

And go cross-eyed from staring at my monitor for hours, checking one client at a time, looking to see if they have a particular document

#

For like... 3k clients

#

That's where I'm at right now

runic drum
#

If it was that easy they totally would. Nobody loves "burning" their money. They are doing it because it is not straight forward

rugged root
#

Fair

runic drum
#

But it is up to the founder to sell it? I mean if we change the rules there will be less founders.

rugged root
#

Who else would make the call?

runic drum
#

and??? What is the downside to that

#

man I wish I could speak XD

#

Yes you are too expensive and stable by yourself! It means you already have a decent company. So they are founding the ones which either succeed or die

rugged root
#

Okay, going to temp allow (it'll remute you if you leave the channel or disconnect, and this doesn't grant you the full voice role)

runic drum
#

Thanks 🙂

rugged root
#

I hear "The Gambler" and instantly all I can think of is Kenny Rogers

#

@wind raptor Yo

scarlet halo
#

hey

rugged root
#

Whatever happened to Blue Origin?

short owl
#

i think they still exist

#

arent Musks companies in Germany unionized , the only ones that are

#

@rugged root when you shut a reactor down or use a reactor , where do you store all that radioactive waste , eventually you run out of space - and other countrys dont want others waste

rugged root
#

No idea

#

Most of it gets buried I thought

amber raptor
#

it does

short owl
#

long term storage is still a issue - leaks , zones ...

#

natural gas is cheap ( dinosaur farts ) if sourced right

amber raptor
#

anyone who is capable of getting themselves made President should on no account be allowed to do the job.

short owl
#

Groucho Marx - i dont want to be a member of a club that would have me as a member

gilded rivet
vocal basin
short owl
#

did you just drop a pearl into the room @vocal basin

whole bear
#

the smell is my favorite part of smoking

#

M'bro reds mmm

#

they've started to bill over $15 per month recently

rugged root
#

@dusk raven Yo

dusk raven
#

what are they discussing?

rugged root
#

I honestly phased out. I've got about... ~450 clients left to look through to see if they have a document or not

#

I'm going cross-eyed

whole bear
#

whether Google is evil and therefore it's fine to use adblock on youtube

rugged root
dusk raven
whole bear
#

What are we talking about?

whole bear
#

but it involves a lot of steps

whole bear
short owl
#

@rugged root have you tried GPT with some of your ideas --> CHIP 8

rugged root
#

Not really. I've been swamped lately

short owl
#

welll ocassional walks to un-google your eyes is good

rugged root
#

Back later

short owl
#

can you set up GPT to 2 robo arms , give em swords , push GO - 'there can only be one' @gilded rivet

gilded rivet
#

Lol...

short owl
#

old mcDonald had a farm , AI AI ohhh

gilded rivet
short owl
#

oooff fook !

short owl
#

science by consensus ?

gilded rivet
#

This is right

#

LOL

plush mist
#

men I want to speak too, but i'm not verified 😂

runic drum
#

I felt your pain! xD

rugged root
gilded rivet
short owl
#

hmmmm cool ....

somber heath
#

@true barn 👋

true barn
#

Hi! I cant answer

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.

true barn
somber heath
#

@cursive gust 👋

cursive gust
#

I made my first code import random

def spin():
options = ["Yes", "yesno", "No"]
result = random.choice(options)
print(result)

spin()

#

It's a spiner

#

Im trying to learn python

#

Okie dokie

#

Nah I'm new

somber heath
#

!e ```py
def func(parameter):
print(parameter)

func('argument')```

wise cargoBOT
#

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

argument
cursive gust
#

Yes

#

Im 13 I've chosen coding as my hobbie

somber heath
#

!e ```py
def func(parameter):
print(parameter)

func(parameter = 'argument')```

wise cargoBOT
#

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

argument
cursive gust
#

I like learning new things

somber heath
#

!e ```py
def func():
return 'abc'

r = func()
print(r)```

wise cargoBOT
#

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

abc
somber heath
#
r = 'abc'```
#

!e ```py
def func():
'Doing nothing.'

print(func())```

wise cargoBOT
#

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

None
somber heath
#

!e ```py
def func():
print('abc')
return 123

print(func())```

wise cargoBOT
#

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

001 | abc
002 | 123
vocal basin
#

since recently, I've learned to never open random google drive links outside Tor

#

mp4 should work here, unless size is the issue

#

(it's whitelisted)

vocal basin
#

it might be failing to upload/process because of a corrupted file

cursive gust
#

I'll brb

vocal basin
#

(running it through ffmpeg once tends to fix such problems)

somber heath
#

Ernst Florens Friedrich Chladni (UK: , US: , German: [ɛʁnst ˈfloːʁɛns ˈfʁiːdʁɪç ˈkladniː]; 30 November 1756 – 3 April 1827) was a German physicist and musician. His most important work, for which he is sometimes labeled as the father of acoustics, included research on vibrating plates and the calculation of the speed of sound for different gases...

eager thorn
#

@somber heath the mrs has tics as well, it can get crazy sometimes

#

the bad ones have gone down some though

#

what's the cause of it, do you know. like what's happening if u dont mind me asking.

somber heath
#

@heady karma 👋

heady karma
#

hi

eager thorn
#

i can only imagine the painful ones though

heady karma
#

I imagine the wall won those fights

eager thorn
#

the mrs has ones, where she just wants to punch me, but then again isn't that just a marriage thing anyways.

random falcon
#

flow fields simulation result

heady karma
#

(O_o)

eager thorn
#

when they happen, do u feel like i guess a warning or such thing @somber heath

#

if these are personal questions just let me know and ill stop asking im just curious since i don't have them

random falcon
heady karma
#

alr I gtg cya

random falcon
vocal basin
#

"or make borders wrap, so there's no corners to get stuck at"

#

with projective-space-like topology so it's not as obvious at first glance

somber heath
#

@halcyon wigeon 👋

#

@urban abyss 👋

rapid chasm
#

@urban abyss

vocal basin
#

yeah, probably separate, seems like reasonable way to sort

#

maybe without emojis

#

(just two sections)

#

ready:

  • player
  • player
  • player
  • player
    not ready:
  • player
  • player
#

with first ordered by ready time

#

you can have coloured text in ansi blocks

#

but it doesn't render on mobile, afaik

red
yellow
green
blue
red
blue
yellow
green
blue
#

discord (relatively) recently added extra Markdown support

rapid chasm
#

Thanks prayge

vocal basin
#

horizontal lines aren't supported, apparently

#

and neither are tables (since they're not basic markdown)

#

I would program in Haskell
if Rust 1.65 didn't happen

#

I needed generics over monads
I got generics over monads

#

Haskell's IO thing is ugly

#

and, like, exceptions

#

I'm yet to find how to adequately select on two IOs to get the result of whichever finishes first

#

"just have faith in tail call optimisation"

#

Erlang

vocal basin
# vocal basin Erlang

"how to get the majority of telecommunications worldwide dependent on tail call optimisation"

#

use Rust, time out on compilation

#

many programming competitions exclude compile time, so you can do some dumb stuff with C++'s templates

#

i.e. pre-compute all the answers

#

and constexpr

scarlet halo
#

hey

vocal basin
#

I'll probably learn C++ for concepts (they work similar to Rust's traits)

#

constraints and concepts

#

less new than binary literals in C

#

"waiting for traits to get introduced into JavaScript: another thing that is just prototypes anyway, confuses everyone and, as usual, doesn't work"

candid pike
#

Yo

#

Morning Guys

eager thorn
#

i thought i accidentally opened a radio station tab in the background LMAO

candid pike
#

Scared the shit out of me when you started talking lol

eager thorn
#

my discord vol is at 90 while my pc vol is at 50 and it's still kinda loud

#

I'd love to hear him do a auction 🤣

candid pike
#

lol

rapid chasm
#

@vocal basin @urban abyss Is this better?

woeful salmon
#

@urban abyss @graceful grail

rapid chasm
#

@urban abyss With emoji

urban abyss
#

bodge vs botch

woeful salmon
little pond
#

Guys, can someone explain me what is a tuple of tuples (aTuple)?

somber heath
little pond
#

I see, Also can you explain me this code as well

#

def get_data(aTuple): """ aTuple, tuple of tuples (int, string) Extracts all integers from aTuple and sets them as elements in a new tuple. Extracts all unique strings from from aTuple and sets them as elements in a new tuple. Returns a tuple of the minimum integer, the maximum integer, and the number of unique strings """ nums = () # empty tuple words = () for t in aTuple: # concatenating with a singleton tuple nums = nums + (t[0],) # only add words haven't added before if t[1] not in words: words = words + (t[1],) min_n = min(nums) max_n = max(nums) unique_words = len(words) return (min_n, max_n, unique_words)

somber heath
#

Such a tuple may hold references to other such tuples, or, indeed, largely any other object.

rapid chasm
#

@urban abyss

users_queue_sorted = sorted(users_queue, key=lambda x: x.get("ready_time", datetime.datetime.min))```
woeful salmon
#

the aTuple argument there is a tuple which contains more tuples inside it which has 2 values 1 integer and 1 string

somber heath
woeful salmon
#

so for example ((0, "foo"), (1, "bar"))

little pond
#

I saw it in a course I am watching on python

whole bear
#

Nice

little pond
rapid chasm
#

@urban abyss

    member = ctx.author
    summoner_name = summoner.get("summoner_name")
    tagline = summoner.get("tagline")
    tier_and_rank = summoner.get("tier_and_rank")
    elo = summoner.get("elo_rating")
    ready_time = datetime.datetime.now()
    users_queue.append(
        {"member": member, "summoner_name": summoner_name, "tagline": tagline, "tier_and_rank": tier_and_rank, "elo_rating": elo, "ready_time": ready_time})
woeful salmon
#

also since its immutable its also hashable so you could use it if you want to add a group of values as a key to a dictionary like

pixel_colors = {
  (0, 0): (255, 255, 255),
  (0, 1): (255, 0, 255),
  (0, 2): (255, 255, 0),
}
urban abyss
#

pydantic

little pond
#

Thanks!

somber heath
#

I just had a worrying moment. My phone screen was turning on and off and I thought it was having a kind of hardware failure, but it was just the proximity sensor, which apparently doesn't activate when I'm using my headphones. I'm not using my headphones.

#

Like, it's treating this as a call, and it does it even in other apps.

#

@hexed solstice 👋

hexed solstice
#

hi

woeful salmon
#

i think i've had that happen to me with whatsapp

whole bear
#

Hello

somber heath
#

Anyway, the phone got a restart out of it, which can't hurt.

whole bear
#

Do u have some advice how i can efficient learn python and swift at the same time, it's a little irritating.

somber heath
#

I had a cube. I moved the cube twice and it disappeared.

#

I removed it.

whole bear
somber heath
#

...Now the proximity detection isn't.

#

Stupid bloody thing.

whole bear
#

The answer complexity expanding 😅

woeful salmon
#

i gotta go for now cya guys later 🙂

golden sonnet
#

👋

somber heath
#

Hey, Reza.

golden sonnet
#

hi

somber heath
#

Good things are sometimes best consumed in limited doses.

whole bear
#

Start the music pls.

#

Starte die Musik bitte.

#

Opal

somber heath
#

I don't think I will.

#

@bronze cargo 👋

bronze cargo
golden sonnet
#

alias dnc="dotnet new console -o"
that's gonna save me a lot of time :p

somber heath
#

I'm here.

#

"Fucking exhausted."

#

Mood.

rapid chasm
#

@austere lava

    # Get the voice channel
    voice_channel = ctx.guild.get_channel(712072729406472374)

    # Sort users_queue by ready_time
    users_queue_sorted = sorted(users_queue, key=lambda x: x.get("ready_time", datetime.datetime.min))

    # Separate users into "Ready" and "Not ready"
    ready_users = [member for member in voice_channel.members if member in [user["member"] for user in users_queue_sorted]]
    not_ready_users = [member for member in voice_channel.members if member not in [user["member"] for user in users_queue_sorted]]

    # Create strings for "Ready" and "Not ready" users
    ready_string = '\n'.join([f'{member.mention}' for member in ready_users])
    not_ready_string = '\n'.join([f'{member.mention}' for member in not_ready_users])
whole bear
#

Do it

#

Why did u go to p* if u want to tell?

stark river
#

🤣

whole bear
#

Ok thx

#

😅

#

I go back to reading now. Have a good time

somber heath
#

@vapid ibex 👋

#

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

red umbra
#

sup good people

#

On yesterday subject, been working on making AI post look more organic @rugged root

mossy cedar
#
#INPUT: 11❤️
#OUTPUT: 11 HEART
#CODE WORKED BEFORE REINSTALLING PYTHON TO LATEST

#CURRENT ERROR: letters= re.search(r"[a-z]+$", a).group()
#             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#AttributeError: 'NoneType' object has no attribute 'group'

import re

def simplyfyanswer(reply): 

    if "♠️" in reply: 
        reply= reply.replace("♠️", " spade")
    if "❤️" in reply:
        reply=reply.replace("❤️", " heart")
    if "🍀" in reply:
        reply=reply.replace("🍀", " clover")
    if "♦️" in reply:
        reply=reply.replace("♦️", " diamond")
    
    a=str(reply)

    number = re.search(r"^\d+", a).group()

    letters= re.search(r"[a-z]+$", a).group()

    output = (number,  letters)

    return output
red umbra
#

import re ?

#

thats ezzz

rugged root
#

@cosmic girder Yo

toxic arch
#

!e
print("🍀")

wise cargoBOT
#

@toxic arch :white_check_mark: Your 3.12 eval job has completed with return code 0.

🍀
cosmic girder
#

hey guys

#

i need help

#

can someone send me results of this code

#

import tensorflow as tf
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Embedding, LSTM, Dense
from tensorflow.keras.preprocessing.text import Tokenizer
from tensorflow.keras.preprocessing.sequence import pad_sequences
import requests

Зареждане на данните (Shakespeare пиеси)

response = requests.get("https://raw.githubusercontent.com/karpathy/char-rnn/master/data/tinyshakespeare/input.txt")
data = response.text

Токенизация на текста

tokenizer = Tokenizer(char_level=True)
tokenizer.fit_on_texts(data)
total_chars = len(tokenizer.word_index) + 1

Преобразуване на текста в последователности

input_sequences = []
for i in range(0, len(data) - 100, 1):
seq = data[i:i + 100]
input_sequences.append(seq)

Подготовка на данните за обучение

X = []
y = []
for seq in input_sequences:
X.append([tokenizer.texts_to_sequences([char])[0][0] for char in seq])
y.append(tokenizer.texts_to_sequences([seq[100]])[0][0])

X = pad_sequences(X, maxlen=100, dtype='float32')
y = tf.keras.utils.to_categorical(y, num_classes=total_chars)

Създаване на модела

model = Sequential()
model.add(Embedding(total_chars, 50, input_length=100))
model.add(LSTM(100))
model.add(Dense(total_chars, activation='softmax'))
model.compile(loss='categorical_crossentropy', optimizer='adam')

Обучение на модела

model.fit(X, y, epochs=10, batch_size=128)

Генериране на текст

seed_text = "To be or not to be"
for i in range(200):
token_list = [tokenizer.texts_to_sequences([char])[0][0] for char in seed_text[-100:]]
token_list = pad_sequences([token_list], maxlen=100, dtype='float32')
predicted = model.predict_classes(token_list, verbose=0)
output_char = tokenizer.index_word[predicted[0]]
seed_text += output_char

print(seed_text)

#

import tensorflow as tf
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Embedding, LSTM, Dense
from tensorflow.keras.preprocessing.text import Tokenizer
from tensorflow.keras.preprocessing.sequence import pad_sequences
import requests

response = requests.get("https://raw.githubusercontent.com/karpathy/char-rnn/master/data/tinyshakespeare/input.txt")
data = response.text

tokenizer = Tokenizer(char_level=True)
tokenizer.fit_on_texts(data)
total_chars = len(tokenizer.word_index) + 1

input_sequences = []
for i in range(0, len(data) - 100, 1):
seq = data[i:i + 100]
input_sequences.append(seq)

X = []
y = []
for seq in input_sequences:
X.append([tokenizer.texts_to_sequences([char])[0][0] for char in seq])
y.append(tokenizer.texts_to_sequences([seq[100]])[0][0])

X = pad_sequences(X, maxlen=100, dtype='float32')
y = tf.keras.utils.to_categorical(y, num_classes=total_chars)

model = Sequential()
model.add(Embedding(total_chars, 50, input_length=100))
model.add(LSTM(100))
model.add(Dense(total_chars, activation='softmax'))
model.compile(loss='categorical_crossentropy', optimizer='adam')

model.fit(X, y, epochs=10, batch_size=128)

seed_text = "To be or not to be"
for i in range(200):
token_list = [tokenizer.texts_to_sequences([char])[0][0] for char in seed_text[-100:]]
token_list = pad_sequences([token_list], maxlen=100, dtype='float32')
predicted = model.predict_classes(token_list, verbose=0)
output_char = tokenizer.index_word[predicted[0]]
seed_text += output_char

print(seed_text)

toxic arch
#

ugh i really hate the new icons

#

why is muted red now?, thats for server mutes only

rugged root
#

!paste @cosmic girder If you have that much code, would you mind using a hastebin or pastebin?

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 Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

rugged root
toxic arch
#

i really hope this is only for christmas

#

theese new icons

stark river
toxic arch
#

eh whatever, i think the worst change is the muted icon being red

stark river
#

quarterly activities: made changes to UI

toxic arch
#

yeah cause youre not muted

#

no its usually grey

rugged root
wind raptor
stark river
#

must have hired someone from microsoft 🫣

wind raptor
rugged root
wind raptor
#

@sly briar

sly briar
#

I can’t chat in the voice Chan

cursive gust
#

Talking perms?

wind raptor
#

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

rugged root
#

No worries. You can always chill and chat in here

#

If we're in VC we'll be watching this channel so no one gets left out

wind raptor
#

We are in here if we are in VC

rugged root
modern yacht
#

Any resources that would really help me grasp the re python library

rugged root
wind raptor
modern yacht
#

Tried listening to a new type of song

#

Well sing it out we hear it

rugged root
modern yacht
#

Shoot i feel like i am high seeing this song 😄

#

Now why forklift????

#

You a serial killer or something? that's some dark humor it has.
Shoot now i can't get the word forklift out of my head. LOL

wind raptor
#

@silent arch

modern yacht
#

okey am having a small issue with my code where the output of my code doesn't match the expected result
here is the expected result

File size: 5213
200: 2
401: 1
403: 2
404: 1
405: 1
500: 3
File size: 11320
200: 3
301: 2
400: 1
401: 2
403: 3
404: 4
405: 2
500: 3

this is what i am supposed to read from and extract the status code and its total file size

<IP Address> - [<date>] "GET /projects/260 HTTP/1.1" <status code> <file size>
#

here is my code

import re

def parse_input(line):
    # Define a regular expression to extract relevant information
    pattern = re.compile(r'(\d+\.\d+\.\d+\.\d+) - \[(.*?)\] "GET /projects/260 HTTP/1.1" (\d+) (\d+)')
    # Use the regular expression to match the pattern
    match = pattern.match(line)

    if match:
        # Extract information from the match object
        ip_address, date, status_code, file_size = match.groups()
        # find the total file_size of 10 inputs
        total_size = 0
        for i in range(10):
            total_size += int(file_size)
        return total_size, status_code
    else:
        return None

while True:
    try:
        line = input()
        result = parse_input(line)
        print("File size: {}".format(result[0]))
        # print only the first 10 status code
        for _ in range(10):
            if not line:
                break
            print(result[1])

    except EOFError:
        break
#

here is my output

File size: 5730
403
403
403
403
403
403
403
403
403
403
File size: 680
500
500
500
500
500
500
500
500
500
500
#

Mind helping out @rugged root

rugged root
#

Looking

#

Wait is this scraping through a bunch of IPs?

modern yacht
#

Yeap sort of

rugged root
#

For what?

modern yacht
#

it's a task i am supposed to solve

rugged root
#

Oh so it's just going through and looking at the status codes

#

Roger that

#

Looking at some things. I haven't futzed with streamed stuff much

#

Wait..

modern yacht
#

Like the part of printing the 10 status code in ascending order am not quite getting it right

whole bear
#

also is anacanda a good idle

rugged root
#

I thought this wasn't a matter of printing the first 10 status codes, but printing the totals you've gotten so far

modern yacht
rugged root
#

Counter might help....

#

One sec

#

Writing out an idea

#

Just double checking how something would be sorted

modern yacht
#

okey

woeful salmon
rugged root
#

Good ol' RTC hell

woeful salmon
#

connected

#

also i fixed the code i sent you xD

#

i forgot an entire 2nd loop in it idk how

#

lol

raven thunder
#

Fastapi

#

Like flask only better👀

modern yacht
#

Okey

rugged root
#

!e

from collections import Counter
from operator import itemgetter
# the operator thing is optional, I just prefer this over using a lambda


nums = Counter()
nums.update([1, 2, 2, 4, 1, 2, 3, 8, 1])

print(nums)

sorted_nums = sorted(nums.items(), key=itemgetter(0))
print(sorted_nums)

for num, amount in sorted_nums:
  print(f"{num}: {amount}")
wise cargoBOT
#

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

001 | Counter({1: 3, 2: 3, 4: 1, 3: 1, 8: 1})
002 | [(1, 3), (2, 3), (3, 1), (4, 1), (8, 1)]
003 | 1: 3
004 | 2: 3
005 | 3: 1
006 | 4: 1
007 | 8: 1
thin fox
#

HIi

#

discord symbols changed today

rugged root
woeful salmon
#

it just died now 💀

rugged root
#

Lame

thin fox
#

@stark river is your name Saket by any chance? I have a friend who sounds exactly like you

modern yacht
stuck furnace
#

Hello 👋

rugged root
#

Sorry, trying to figure out how to better explain

#

Caffeine hasn't hit my blood yet, though

thin fox
modern yacht
rugged root
#

It's going to get lost around spleen town

modern yacht
rugged root
#

Oh and for what I was saying about the lambda thing...

sorted_nums = sorted(nums.items(), key=itemgetter(0))

#vs 

sorted_nums = sorted(nums.items(), key=lambda pair: pair[0])
#

I don't like lambdas as much

modern yacht
rugged root
#

Oh for sure

#

They both do the exact same thing in this case

#

It's just a minor performance thing that doesn't really matter at this small a scale

woeful salmon
#

ok discord hates me rn so ig i'm sitting out

rugged root
#

Actually hold on

woeful salmon
#

checked ping and packet loss to google servers have none 😦 probably just discord

modern yacht
#

okey lemmi try it out then i will let you know though i have to learn how counter and itemgetter works
how i have been taught python i am always fixated on not using libraries but come up with an algorithm to solve the problem even though there might be a library to do that already and again i have a limited amount of import i am supposed to use.

rugged root
#

@woeful salmon Try now

woeful salmon
#

same i can connect but everyone's a robot xD

rugged root
#

Shit, sorry Reaps

woeful salmon
#

its all good its just a discord issue

#

probably will get fixed later i'mma be back in a few hours xD

modern yacht
rugged root
#

!timeit

import random

random.seed(1)
a = list(range(100_000))
b = list(range(100_000))
random.shuffle(a)
random.shuffle(b)
c = list(zip(a, b))
c.sort(key=lambda x: x[1])
wise cargoBOT
#

@rugged root :white_check_mark: Your 3.12 timeit job has completed with return code 0.

5 loops, best of 5: 61.9 msec per loop
rugged root
#

Should prooooooobably use fewer values

#

!timeit

import random

random.seed(1)
a = list(range(10_000))
b = list(range(10_000))
random.shuffle(a)
random.shuffle(b)
c = list(zip(a, b))
c.sort(key=lambda x: x[1])
wise cargoBOT
#

@rugged root :white_check_mark: Your 3.12 timeit job has completed with return code 0.

100 loops, best of 5: 2.29 msec per loop
rugged root
#

!timeit

from operator import itemgetter
import random

random.seed(1)
a = list(range(10_000))
b = list(range(10_000))
random.shuffle(a)
random.shuffle(b)
c = list(zip(a, b))
c.sort(key=itemgetter(1))
#

Hmmm

#

Oh der

stark river
#

did you clear pycache?

wise cargoBOT
#

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

500 loops, best of 5: 446 usec per loop
rugged root
#

Forgot to make it 10k instead of 100k

#

Yeah, itemgetter just blows the lambda out of the water

stark river
#

does this online interpreter clear pycache

rugged root
#

Yeah, it's a new instance each time

#

Back in a bit

modern yacht
#

so item getter is way faster cool

#

where am i going wrong again

        status_code_dict_gen = collections.Counter()
        for _ in range(10):
            total_size += int(file_size)
            status_code_dict_gen.update([].extend(status_code))

        print(status_code_dict_gen)
        return total_size, status_code

i keep getting an empty list

#

nooo sorry an empty counter()

#

hey @peak depot

rugged root
#

You'll want to make the Counter outside the while loop

#

Otherwise you're going to be creating a fresh one each and every time

#

And you should also be able to add the new status codes as you get them with just

status_code_dict_gen.update([status_code])
modern yacht
#

something like this

        total_size = 0
        status_code_dict = collections.Counter()
        counter = 0
        for _ in range(10):
            total_size += int(file_size)
            if counter != 10:
                status_code_dict.update([status_code])
            counter += 1
whole bear
rugged root
wind raptor
#

I've been thinking about taking up origami because I'm so good at folding under pressure

rugged root
#

SO good

#

So very very good

wind raptor
#

I should in-crease my skill level first

whole bear
#

@sinful phoenix Are you there?

wind raptor
whole bear
#

@sinful phoenix How long have you been coding for?

modern yacht
#

Hey still unable to print in interval of 10 status codes @rugged root
here is the updated code with your implementation

import re  # pattern finding
import collections  # faster dictionary creation


def parse_input(line):
    # Define a regular expression to extract relevant information
    pattern = re.compile(r'(\d+\.\d+\.\d+\.\d+) - \[(.*?)\] "GET /projects/260 HTTP/1.1" (\d+) (\d+)')
    # Use the regular expression to match the pattern
    match = pattern.match(line)

    if match:
        # Extract information from the match object
        ip_address, date, status_code, file_size = match.groups()
        # find the total file_size of 10 inputs
        total_size = 0
        for _ in range(10):
            total_size += int(file_size)

        return total_size, status_code
    else:
        return None


def sorted_status_codes(status_code):
    """A function that creates a dictionary from the status code passed
    and sorts them accordingly
    Args:
        status_code: codes from each log entered
    """
    status_code_dict = collections.Counter()
    status_code_dict.update([status_code])
    # sort the dict values according to the key of the dict
    sorted_status_code = sorted(status_code_dict.items(), key=lambda pair: pair[0])
    return (sorted_status_code)

# Entry point
while True:
    try:
        line = input()
        result = parse_input(line)
        print("File size: {}".format(result[0]))
        sstatus_code = sorted_status_codes(result[1])
        for code, count in sstatus_code:
            print("{}: {}".format(code, count))
    except EOFError:
        break

The counter i am still unable to fix it in

#

@rugged root can you hear me!!!!!!!

sinful phoenix
#

Ghibli

scarlet halo
#

Hemlock give him a 70 minute timeout

#

HEMLOCK

#

:O

modern yacht
#

:{}

scarlet halo
#

dont you just hate it when your code doesnt work and you cant fix it

rugged root
#

I'll look in a quick sec

modern yacht
scarlet halo
#

BROOOO NCURSES IS SOO WEIRD

#

im gonna have a mental breakdown

rugged root
#

!pypi blessed

wise cargoBOT
#

Easy, practical library for making terminal apps, by providing an elegant, well-documented interface to Colors, Keyboard input, and screen Positioning capabilities.

scarlet halo
#

holy crap i might have to switch to that

rugged root
#

Yeah blessed is really cool

#

Really simple too

gentle flint
rugged root
#

Ravioli?

gentle flint
#

fish stew

rugged root
scarlet halo
#

thank you hemlock for blessing my code with the blessed module

rugged root
scarlet halo
#

thats jesus christ

rugged root
#

Buddy Christ from... I think the movie Dogma?

rugged root
#

The problem is that you're making a new one each time in the sorted_status_codes() function

upper arch
#

Oh hi Hemlock

rugged root
#

Sup

upper arch
#

Nm just dying inside of Python errors lol

rugged root
#

Living the dream

upper arch
#

Fr

modern yacht
upper arch
#

Figured out how to send info from JavaScript to Python but can’t get it to go from Python to JavaScript

modern yacht
upper arch
#

It can but it’s not working 😦

scarlet halo
upper arch
#

Yes

scarlet halo
#

try dumps() dump() or loads() load()

upper arch
#

Well, jsonify

scarlet halo
#

idk which one

upper arch
#

Return you mean?

scarlet halo
upper arch
#

Flask json

scarlet halo
#

oh

#

you could try importing json

upper arch
#

I did

scarlet halo
#

and using those functions i sent

scarlet halo
modern yacht
upper arch
scarlet halo
upper arch
#

My brain cells are dying

modern yacht
rugged root
#

Re-writing a couple things

vocal basin
#
Python -> json.dumps -> *network* -> JSON.parse     -> JavaScript
Python <- json.loads <- *network* <- JSON.stringify <- JavaScript
vocal basin
upper arch
#

What’s fast api

rugged root
#

It's a Python framework that helps you make an API backend.

upper arch
#

🙂

rugged root
#

Pretty solid

vocal basin
#

its use of Pydantic simplifies working with JSON at API boundaries

scarlet halo
#

imagine getting help (jk)

rugged root
#

@limpid vapor Would you mind changing your nickname to meet our nickname policy? See the #rules channel for details on that

scarlet halo
#

dont kill me

upper arch
#

So I can send data between JS and Py quickly with fast API?

scarlet halo
limpid vapor
#

ur welcome king

#

👑

modern yacht
#

Hey are there goals one has to achieve in order to be part of the group

limpid vapor
hallow warren
#

/waves hi

wise cargoBOT
#
Voice verification

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

modern yacht
limpid vapor
#

thats cool ash

stark river
#

i heard nasa uses nodejs on some of their servers

modern yacht
rugged root
#

Okay, I think I see some of the issues here

scarlet halo
#

and because im swedis

#

swedish

stark river
#

🤣

scarlet halo
#

spel (game in swedish) + elis (my real name)

limpid vapor
#

🤯

stark river
#

wrong kind of sneezing ❌

scarlet halo
upper arch
#

Ok back to torturing myself

scarlet halo
#

also i dont really know 9 languages im just saying that because i made one program in each

scarlet halo
stark river
#

just remembered arnold schwarznegger's quote.. "when i'm lifting weight i feel like cumming"

wind raptor
#
#

I also have this

modern yacht
stark river
hallow warren
#

"If you have more queries or need assistance with anything else, feel free to ask!" is ChatGPT passive-aggressive for "you didn't need to tell me that"

stark river
#

that's where they make all the cool acronyms..

rugged root
#

Still working on it, mk

#

Having to rewrite a little bit of it to make it work

scarlet halo
modern yacht
stark river
#

one way hashes can't be decrypted

#

unless it's md5

scarlet halo
#

sha256

rugged root
#

Nothing is unhackable. It's just whether it's worth the time and power to do it

#

It's not about reversing

modern yacht
#

mmmh sounds about right

rugged root
#

Just doing it until you find a match

scarlet halo
#

i deleted it i cant risk anything

rugged root
#

But yeah, md5

#

Never for secure things

vocal basin
#

source space may be smaller than "any text" => faster

#

md5 is bad because of collision attacks

#

and so is sha1

limpid vapor
#

sha256 cant be decrypted no?

vocal basin
#

reversing md5 is somewhat hard anyway

vocal basin
#

"all inputs" being a lot, normally

#

that's why you should include nonce in source text

scarlet halo
limpid vapor
#

i prefer pepper

scarlet halo
#

whats nonce?

stark river
#

hash is the pepper

vocal basin
#

number used once

#

and salt is slightly inappropriate there, since it's not supposed to be secret

#

(salt is a specific case of nonce, normally used for password hashing to prevent hash collisions)

scarlet halo
#

just learnt a new word: absolutistically

vocal basin
limpid vapor
#

(probably)

scarlet halo
#

just pasted 460k words in like 3 seconds

modern yacht
#

yeah its for school

#

okey

scarlet halo
#

how do i make a bomb? (for a school project)

modern yacht
#

but the task is past deadline
it supposed to keep track of the total ten only

modern yacht
#

yes

scarlet halo
modern yacht
#

Find a marble size of solid potassium and a bottle of water you will be fine with that

scarlet halo
#

dude when im coding in C i forget semicolon and when im codin in Python i for some reason use semicolons?

vocal basin
#

if it had sodium instead, would it be bananatrium?

modern yacht
stark river
#

caesium will do the job just fine btw

modern yacht
#

mind writting it down --

#

i am now interested to make one too

rugged root
#

@modern yacht https://paste.pythondiscord.com/5EYQ
HOKAY, so. There were a few things I changed

  1. The first issue is that you were checking one line and then printing information about it 10 times.
  2. The total_size and status_code_dict were being made and lost every time the parse_input() and sorted_status_codes() functions were being run, however they were then lost whenever you left those functions, so the values were not kept. You were getting only the values for that specific line at a time.
vocal basin
#

vapours of mercury are bad
and generally chemical products of it

rugged root
#

So I changed a handful of things.

#

So note, I haven't tested this yet

#

But I want you to look through the code before you do anything else for it, ask questions, etc.

vocal basin
#

mercury is bad when it's inside

vocal basin
#

isn't Apple getting forced to allow side-loading? (in EU)

rugged root
#

I think I've heard that, yeah

modern yacht
#

hey @rugged root

#

made some few tweaks

#

and you know what it works well thanks and are you able to make me speak

#

so here is the working code

rugged root
vocal basin
#

I still haven't read any Python books, I think

rugged root
#

Fluent Python is worth poking through

#

Not free though, unfortunately

#

!stream 372380672641335296

wise cargoBOT
#

✅ @minor sage can now stream until <t:1701892702:f>.

vocal basin
#

idk if the book can be legitimately acquired here

scarlet halo
vocal basin
#

I guess in translation

#

(the book)

gilded rivet
scarlet halo
vocal basin
#

oh, there's a apparently a successor to KOI-8 encoding

#

ISO-IR-153

scarlet halo
#

bro gtg also i dont wanna go to school tmrw

#

school's so boring i want to jump down a 7 story building into a ginormous pile of snow and leaves

gilded rivet
#

This is what the more literary inclined folks talk about when they say "It's a whle chapter."

vocal basin
#

ohno I have a dumb idea again (involving gpt and similar stuff)

#

||🤮||
I didn't even finish writing and it's already bad

#

each next character just makes it worse

#

also repl.it's "debug with AI" is dumb

#

too dumb to use more than one line of error output

jade knot
rugged root
jade knot
#

compuwuter

vocal basin
#

message: (empty, because I accidentally pressed enter once more)
AI: Understood.

understood what?

rugged root
#

Just want them to be more conversational

#

"Fair enough"

vocal basin
#

left: what I copied
bottom right: what it looks like after pasting

#

how

rugged root
#

Wait what?

vocal basin
#

rendering error

rugged root
#

It had the backticks?

vocal basin
#

Agile is not a fucking framework.

vocal basin
#

first, agile is an adjective not a noun

rugged root
#

Ooo wait

dusk raven
rugged root
#

@uncut meteor Do you have the link to the video on AGILE we were watching the other day?

vocal basin
#

if you paid for learning agile as a framework, you got ripped off

whole bear
vocal basin
#

two words starting with p in the agile manifesto

#

notice how both of them appear after "over"

#

Scrum, for example, is a framework

#

describing a process that, hopefully, may make the teams more agile

#

(keyword process)

whole bear
#

I'm just wondering what you think a framework is, and why agile is not one. if you think agile is a process, and that a process is not a framework, why is that?

vocal basin
#

agile is not a process

#

that's the whole point

whole bear
#

I think it would help if you could explain what you understand by framework, and what agile is that prevents it from being a framework

#

that seems like the most straightforward way to understand your meaning

vocal basin
#

> you think agile is a process
where did this come from?

rugged root
#

Back later

gilded rivet
whole bear
upper arch
stuck furnace
#

Hello

#

Not bad

#

Yourself?

gilded rivet
vocal basin
flat egret
#

i need help with something in pygame could anyone come to code help channel

vocal basin
#

software development can be less or more agile

#

it's a "metric" but one that's hard to measure

vocal basin
#

@whole bear can you fucking stop with this types of reactions?

whole bear
#

Ok sorry

#

I am sorry

#

I was just tripping

#

I didn't mean to

vocal basin
#

one of aspects commonly aligned with "framework" notion is "process"

#

which is what Agile[ Software Development] Manifesto tries to steer people away from

whole bear
gilded rivet
#

Made one edit to 1/3 of all wiki

whole bear
#

in any case, I still do not know what you think "agile" means, what "framework" means, and based on that, why you think agile is not a framework

vocal basin
#

you can be agile
you can't do agile

#

none of these apply to Agile Software Development

#

4th is closest

#

in the meaning "framework of thinking"

vocal basin
whole bear
vocal basin
#

it's opposed to the notion of framework in other definitions

whole bear
#

in any case, these dictionary definitions are not always that good at capturing the actual use of words. framework can be used very loosely just to mean a way of thinking about something that is informed by a set of interrelated concepts or notions

vocal basin
#

> definitions are not always that good at capturing the actual use of words
that's why I'm reluctant to give definitions

whole bear
whole bear
#

examples, general remarks, etc., are all helpful

vocal basin
#

also
initial context was "teaching agile", in which case "framework" strictly means "process"
because popularisation of "agile" as a term failed and now colleges and enterprise think Scrum is Agile

#

sad but one of ways to prevent the situation from going further down that hole is to avoid applying "framework" term to it

#

tuplés

#

"there's always a worse option"

whole bear
#

gotta earn those consulting fees

#

this was 100% inspired by the London tube, like it HAD to look like it

gilded rivet
#

@whole bear

whole bear
vocal basin
#

"if you think 'framework' has many definitions, then 'OOP' has surprises for you"

frozen owl
#

then i saw deloitte on the top corner

whole bear
#

I think meaning is more adequately captured by 'way of using' than by 'definition'

vocal basin
#

OOP has many attempts at definitions

#

but usually it's a set of concepts, principles, etc

#

or, as a paradigm, what it forbids/enables

#

"something about objects" is dumb but not that bad

gilded rivet
vocal basin
vocal basin
#

ultra based

uncut meteor
#

Can't find link, walking rn

vocal basin
#

such a meme paper

hallow warren
#

Beep

def get_exception_info(e):
    frame = e.__traceback__.tb_frame
    return f"Exception in {frame.f_code.co_filename} line {frame.f_lineno} (in {frame.f_code.co_name}): {repr(e)}"

Boop

vocal basin
#

and that is enabled my different things which sometimes get places as core principle

#

for example, message passing

#

which is central for one of the "definitions" of OOP

#

as it's done in SmallTalk, Erlang, etc.

#

... but messaging is separate in many ways

#

Ruby calls method calls messages too

#

for whatever ideological reason

short owl
#

looks like a train network...

vocal basin
#

"if you don't pay for the product, you're the product"

#

... if the company is not just burning money

short owl
#

are refunds optional ...

toxic arch
#

@minor sage HELLO

#

YOU THERE?

minor sage
#

Yes I am I'll be back at my desk in 15 min

toxic arch
minor sage
#

@toxic arch im back

upper arch
toxic arch
#

damn

#

your code has erros too

#

what language is this for @minor sage ?

#

opcodes

#

is it bytecode?

#

python

#

@minor sage is it x86_64?

#

damn

#

not very usefull then