#voice-chat-text-0
1 messages · Page 221 of 1
#voice-verification will tell you the deets on that
there is the role?
just void * everywhere
!voiceverify
Gotta do that in #voice-verification
not as specialised as R and others
(Working on cleaning up the system, I know it's a bit hokey right now)
Julia seems v good with numerics
mutable struct Camera
pos::Vec3
u::Vec3
v::Vec3
w::Vec3
fov::Int64
width::Int64
height::Int64
corner::Vec3
horizontal::Vec3
vertical::Vec3
function Camera(pos::Vec3, dir::Vec3, up::Vec3, fov::Int64)
w = normalize(dir * -1)
u = normalize(cross(up, w))
v = cross(w, u)
return new(pos, u, v, w, fov, 0, 0, Vec3(0, 0, 0), Vec3(0, 0, 0), Vec3(0, 0, 0))
end
end
🤣
@peak depot what do you work
c++
that's julia
hh
its pretty similar to bash / lua in a sense so for me its alright
atleast for syntax
it just my first opinion i dont used so you right in half other one
i mean i can see why it'd look ugly at first look, i felt similar about python when i came from java / c
class game {
none(a) {
var char = a;
switch (char) {
case "a":
console.log("adil")
break;
case "b":
console.log("sozi")
break;
case "c":
console.log("lily")
break;
default:
console.log("sokafok")
break;
}
}
}
const Game = new game;
Game.none("a");
let map = new Map([
["comedey", "watching"],
["psycology", "interview"],
["tech", "cours"]
])
console.log(map)
let m = {
s: "z"
}
console.log(m)
setTimeout(() => {
console.clear()
}, 2000);
trying to understanding js syntac
python looks weird, where's my curly braces
class game {
none(a) {
var char = a;
switch (char) {
case "a":
console.log("adil")
break;
case "b":
console.log("sozi")
break;
case "c":
console.log("lily")
break;
default:
console.log("sokafok")
break;
}
}
}
const Game = new game;
Game.none("a");
let map = new Map([
["comedey", "watching"],
["psycology", "interview"],
["tech", "cours"]
])
console.log(map)
let m = {
s: "z"
}
console.log(m)
setTimeout(() => {
console.clear()
}, 2000);
some require; there it's not bad practice
like, Pascal
c++ it good for robot tobic
@rugged root there is an especially wrong subtype of that practice which is to have scope variables defined outside of the scope
e.g. when only one branch of if initialises the variable
Yeah that's dirty
it's not a convention, it's an anti-pattern
this was my first prject in pythonXd
imports, constants, etc. -- that is either convention or forced by the language
well, you can't import at the end of the file in Python if you hope to use that import in the module
Rust doesn't force, I think
Pascal probably forces
you can reorder items as much as you want, except for macro-related stuff
!e
print(__import__("random").random())
@woeful salmon :white_check_mark: Your 3.12 eval job has completed with return code 0.
0.9092508457428566
Gotcha
dynamic imports?
@balmy patrol what did you want to understand in it btw?
but at that point, importlib instead
i kinda got distracted from that xD
and importlib.import_module not importlib.__import__
is that russian?
Source code: Lib/tabnanny.py
For the time being this module is intended to be called as a script. However it is possible to import it into an IDE and use the function check() described below.
Note
The API provided by this module is likely to change in future releases; such changes may not be backward compatible.
it's been since around 2.6
I 100% read this as pervert
one `i', one `e', not two `e's
not it russian word mening hi
priveet?
Source code: Lib/xmlrpc/server.py
The xmlrpc.server module provides a basic server framework for XML-RPC servers written in Python. Servers can either be free standing, using SimpleXMLRPCServer, or embedded in a CGI environment, using CGIXMLRPCRequestHandler.
Warning
The xmlrpc.server module is not secure against maliciously constructed data. If you need to parse untrusted or unauthenticated data see XML vulnerabilities.
Availability: not Emscripten, not WASI.
This module does not work or is not available on WebAssembly platforms wasm32-emscripten and wasm32-wasi. See WebAssembly platforms for more information.
transliteration:
привет
privet
whereas for transcription there is near no proper option
24 hours ago
and 10 minutes
@whole bear hi, Could you give me your opinion on this, please: 0. OOP is bad.
i wasnt asking you
!e
import runpy
runpy.run_module('__hello__')
@vocal basin :warning: Your 3.12 eval job has completed with return code 0.
[No output]
written please
eh
spasipa
what you need?
!e
import runpy
runpy.run_module('__hello__', run_name="__main__")
@woeful salmon :white_check_mark: Your 3.12 eval job has completed with return code 0.
Hello world!
what do you mean by OOP?
i tink i understand right now
classes staff
that's not The Defintion
Java isn't the standard for OOP
who was talking abut java anyway
that's the language that popularised OOP most widely
one of OOP models
Simula is the origin
and SmallTalk is the origin for message-passing
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
and who still use java anyway
exampleWithNumber: x
| y |
true & false not & (nil isNil) ifFalse: [self halt].
y := self size + super size.
#($a #a 'a' 1 1.0)
do: [ :each |
Transcript show: (each class name);
show: ' '].
^x < y
for language support of OOP
are you sur not russian
your a admin no need 🤣
For others
!voice just brings up that bot embed
ding dong
@oak yacht Check the #voice-verification channel. That'll tell you what you need to know about the voice gate
yes
Right right, it was just the leave join leave join
LOL
@oak yacht Please don't do that on purpose
i study programming in home
my bad 😦
All good all good
It's all good 😄
I love that Mindful and I are in sync with a lot of stuff
oh he still a live
username*
i was tink js is the first one no?
seems like it lol
for what tho
java script
i heard js good for bots
what?
idk
it a bee
node.js good for discordd bots?
mebey
yes, there is a well-maintained JS library for discord bots
what about python (╯°□°)╯︵ ┻━┻
what are you dont know
yep she russian
discord.py isn't as dead as it used to be, so quite okay
@peak depot you a girl?
yeah
Guys, do you have portfolios? can I see them 😄
I can show you like the one or two projects I'm actually happy with
But I don't have a proper portfolio. I'm just a hobbyist
i have just image and it is uglyy
dont lisetin to theeem
JEJEJE
i west time 10x than python to understand
Please
yeah
https://codewarr1or.pages.dev/ this my friends i made for him
true
([]+![])[+!![]]+([]+![])[!![]+!![]]+([]+[][[]])[!![]+!![]+!![]+!![]+!![]]+([]+![])[!![]+!![]+!![]]+([]+![])[+!![]]+([]+{})[!![]+!![]+!![]+!![]+!![]+!![]+!![]]+([]+![])[+![]]+([]+![])[!![]+!![]+!![]+!![]]+([]+[][[]])[!![]+!![]+!![]+!![]+!![]]+([]+![])[!![]+!![]+!![]]+([]+!![])[+![]]+([]+![])[!![]+!![]+!![]+!![]]+([]+![])[!![]+!![]]
wth is that
@rugged root xD i think this is more intimidating than arrow functions
unfortunate valid javascript
huh
haha that voice
@peak depot your a girl and your the first girl programmer i ever seen/heard
this my first coding server im in
I thought it was a bot.
hhh
same at first lol
Just kidding hahaha @peak depot
fire @peak depot 🤣
i just created today
many of first programmers on "modern" (1940s) computers were
I don't like the contrast
or you dont know arabic languige
language doesn't change the fact that the contrast is incredibly inaccessible
pratict
true
/?
hh
why
I don't remember what talk describe it pretty well (probably one of those by Mark Rendle)
English?
I don't understand too much of what they say...
and more when they speak quickly... i need rpactice more and learn...
Yeah, I'm only used to people's accents because of how much I'm around them here
Guys it was a pleasure, have a happy day.
Catch you later
I leave. I hope to hear or speak another time.
For sure
iirc, PTSD also changes a lot how dreams work
R.
Huh, makes sense
what happened?
worst part being how it affects life outside of the dream
I think it's caused by brain failing to differentiate dreams from non-dreams (something that's supposed to suppress certain effects during sleep gets broken, apparently)
do lasik lasts forever?
i gotta go for now cya guys later 🙂
See ya!
!d audioop
Deprecated since version 3.11, will be removed in version 3.13: The audioop module is deprecated (see PEP 594 for details).
The audioop module contains some useful operations on sound fragments. It operates on sound fragments consisting of signed integer samples 8, 16, 24 or 32 bits wide, stored in bytes-like objects. All scalar items are integers, unless specified otherwise.
Changed in version 3.4: Support for 24-bit samples was added. All functions now accept any bytes-like object. String input now results in an immediate error.
This module provides support for a-LAW, u-LAW and Intel/DVI ADPCM encodings.
process-based cgi
finally
as in finally planned to be planned to be removed
http.server.CGIHTTPRequestHandler
process-based CGI
aka 30~3000ms overhead on each request
!stream 444818787737272321
✅ @idle vector can now stream until <t:1700669841:f>.
because imports cost a lot
Hello. Can someone please help me with this task? “Create a program that receives the time on input, and returns as an answer what part of the day it is (24h must be divided into at least 4 parts)”
what got you stuck? what is confusing about the task?
or a right class with a right method
for almost no reason
I don't actually remember what guarantees leetcode provides
given that it's before 404 ...
"people thought earlier about payment than resource not existing"
minesweeper again
(udemy)
the life is telling me I need to come back to competitive
some random course
it doesn't even preview
speeds matters a lot too in minesweeper
and for speed something like this
https://minesweeper.online/game/2825060015
it's, like, only 2 times slower than what best players achieve
left-click
in XP it was middle click
This is the dog food I use for my 3:
https://www.amazon.ca/Beyond-Superfood-Salmon-Pumpkin-Food/dp/B07FR3CDCR
Serve your dog Purina Beyond Superfood Blend Salmon, Egg & Pumpkin natural adult dry dog food, and give him a meal created with nutrient-dense ingredients. Real salmon is the #1 ingredient in this dry dog food, and other high-quality ingredients, including pumpkin and whole oatmeal, round out thi...
I hope your dogs don't end up doing what my brother's dog did. He barked at the ice machine.
Every
Single
Time
That dog would eat better than I do
lol
for all intents and purposes
For all in tents
that thing that discord.py beginners forget to include
@dense ibex Pay-per-view
here there's an option to, like, compete in stuff to potentially be able to study at universities/institutions "for free"
I choose to believe that the competition you're talking about is a no-holds-barred cage match
3 hours 55 minutes of programming
In one sitting?
yes, that's why 3h55m
4h is where they are legally required to give break and provide food
and then also same for maths and physics, and maybe others
for 4+ years, of which only last two actually matter
but I failed that route
and this time it's not German GPA
(I already forgot who that was with 1.9)
I have Git Bash transparent when it's off focus
idk why
"we're doing async"
asyncio.to_thread(main)
@dense ibex deserialisation
(with Pydantic)
and serialisation
there's also attrs
!d typing.TypedDict
class typing.TypedDict(dict)```
Special construct to add type hints to a dictionary. At runtime it is a plain [`dict`](https://docs.python.org/3/library/stdtypes.html#dict).
`TypedDict` declares a dictionary type that expects all of its instances to have a certain set of keys, where each key is associated with a value of a consistent type. This expectation is not checked at runtime but is only enforced by type checkers. Usage...
and this purely for typing
for anything networking, probably pydantic, yes
class Meta(ApiModel):
total: int = Field(ge=0)
page: int = Field(ge=1, default=1) # type: ignore
limit: int = Field(ge=1, le=20, default=10) # type: ignore
class ContractDeliverGood(ApiModel):
trade_symbol: TradeGoodsSymbols
destination_symbol: str = Field(min_length=1)
units_required: int
units_fulfilled: int
if __name__ == "__main__":
though
why that in __main__.py
I guess for multiprocessing
__main__ isn't imported normally
@dense ibex you might need to configure extra paths for Pylance to see
so it know src is "root"
does pyright understand pdm config?
just make your own cloud
be the one to blame when it fails
{} in bottom right
that's for the whole workspace
"just be the True Data Scientist, do everything in Jupyter"
just list
!globals @crystal delta
When adding functions or classes to a program, it can be tempting to reference inaccessible variables by declaring them as global. Doing this can result in code that is harder to read, debug and test. Instead of using globals, pass variables or objects as parameters and receive return values.
Instead of writing
def update_score():
global score, roll
score = score + roll
update_score()
do this instead
def update_score(score, roll):
return score + roll
score = update_score(score, roll)
For in-depth explanations on why global variables are bad news in a variety of situations, see this Stack Overflow answer.
nonlocal for mutable closures
@austere linden https://github.com/pyenv/pyenv
!stream 465123434322722817
✅ @austere linden can now stream until <t:1700676085:f>.
docker: you don't need to cleanup after uninstall if you just burn down the whole system
👋
i started looking into c#
jetbrains rider is super
i used to think all jetbrains ides are alike
but rider is much better than others i've used
would've used it if didn't have to collaborate with someone using VS proper (since they don't have the license)
and now I don't have the license either
it's werdly fastert than pycharm
Welcome to Thomson Reuters Tax and Accounting Professionals's home for real-time and historical data on system performance.
"that's just my current state"
somewhat tryharding doc formatting
just so it looks okay
wider space, wide dash, wider space;
non-breaking hyphen
(Verse 1)
Six thousand leagues under the sea,
A world of fintech fish, tasked to answer your plea,
Bubbles rise, and the coral reefs gleam,
Welcome to the ocean, where fintech fish dream.
(Chorus)
Fin in tech, fintech! fintech!
Where the battle fish thrive in giant mechs.
With circuits and scales, and a digital dance,
In the fintech world, take a chance!
(Verse 2)
Neon lights shimmer in an electric display,
Fintech fish swim in a high-tech ballet.
Data streams flow through the ocean floor,
In the world of Fintech, there's always more.
(Pre-Chorus)
Dive into the current, ride the binary tide,
Fintech fish unite, side by side.
In the fintech sea, where the future's at play,
It's a digital adventure every single day.
(Chorus)
(Bridge)
Byte-sized bubbles rise to the surface,
Fintech fish schools, a technological circus.
In the coral caves, secrets unfold,
Fintech warriors, brave and bold.
(Verse 3)
Code and current, a dynamic duet,
Fintech fish never willing to forget.
In the fintech sea, where legends are born,
They navigate the currents, from dusk till morn.
(Pre-Chorus)
Dive into the current, ride the binary tide,
Fintech fish unite, side by side.
In the fintech sea, where the future's at play,
It's a digital adventure every single day.
(Chorus)
(Outro)
As the fintech sun sets on the ocean floor,
The battle fish battle, forevermore.
In this underwater realm of technology,
Fintech fish fight for equality!
--- does work instead of — but idk if others have simpler versions
voice server died, apparently, so everyone reconnected
hola nerds
That isnt true
which top researchers left
only anthropic took meaningful employees
pigeonholed how
I misspoke earlier. I double checked the budget for the school district here in Springfield and it's sitting around ~$530 mil
(1) scale requires major innovation (2) openai does much more than just scale
You're saying this as fact but it just isnt true, major breakthroughs in posttraining etc
and yes (1) is true it is very very hard to scale
no
haha yes
wtf
OpenAI is arguably the current WR holder for the enshittification speedrun, beating TikTok's record by a whole year.
it is insanely hard engineering problem
and it is not a shallow problem at all
getting architecture to scale w properties you want is fucking hard
look at all of the linear attention, rnn-style arch
ok
For most
you can be confidently wrong if you want
it hasnt
if anything its increased
but it isnt public anymore
The companies that have managed these huge operations at scale took significantly longer and required many more people to make these systems scale
Not to mention being able to handle the huge influx of users in said short time frame
Both of you are wrong, because this is all just a distraction from what really matters: spending time with family without looking at your smartphone tomorrow.
My wife and I are staying home anyway
openai is at the forefront of tech that has potential to transform computers from consumption machines to creative machines
Extended play session with my brother's dog tomorrow. Very necessary
My source is also OpenAI insiders and i dont believe you
Creative Machine is an oxymoron and you know it.
its not, computers can be extensions of humans creativity - this is the mistake steve jobs made thinking that people do not want to program/build, just want to consume
research scientists
I highly recommend therapy my guy.
lol
bro
you cant pull this one with me
actual openai rs
research scientist
lol very telling
there isnt a core learning algorithm team at openai
there is scaling, there is posttraining, there is data
lmao
ok my guy
ther e is superalignment
im glad you have a friend
maybe read a paper
Are the personal attacks really helpful or necessary?
Okay children, this is getting into immature sniping.
Calm it down
theyre fun
Don't make me turn this car around.
this person tries to bully me out of convo pretending to be openai insider
without realizing he cant do that w me
I'm telling both of you to take a sec and breathe
Hemlock, at this point it may be better to ask them to take this to DMs.
Get it out of their systems.
why
I mean it's an interesting conversation
this is entirely relevant convo
I'm not against it being said
yeah im done too
Just think it needs to - alright, nevermind then
!topic
There are three off-topic channels:
• #ot0-psvm’s-eternal-disapproval
• #ot1-perplexing-regexing
• #ot2-never-nester’s-nightmare
The channel names change every night at midnight UTC and are often fun meta references to jokes or conversations that happened on the server.
See our off-topic etiquette page for more guidance on how the channels should be used.
Suggest more topics here!
this is voice chat relevant
^^^
just because you want to talk about irrelevant topic like playing w your dog
im not mad at you
just tongue in cheek
😂
I repeat, I highly recommend therapy if you think that tongue and cheek translates well over text.
ok
Wat
"Oh I wasn't being mean, I was just trolling. LOLOL"
Dude I don't know
Clari, in fairness, the conversation that was being had, while heated and going into personal attacks which I think was unnecessary, was still relevant to what was going on
In this context, the random comments made were the interruption and disruption
i mean i think you know me well enough from voice conversation to know that i say things like that tongue in cheek
In that case I apologize for trying to defuse this before it lead to doxxing.
but fine
It wouldn't have gone to doxxing
doxxing?
It was always going to end in both people thinking they're right and leaving in a huff
I know this because
Duuuuuuuude
Fucking
Hold times for this Thomson Reuters issue? 2ish hours
Not to mention that they're closing their tech-support early
Already?
Or estimated?
Longer realisitcally
Not to mention since it's the day before Thanksgiving, their customer service and tech support folks are leaving early
Back later
are you going to have ham lock for thanksgiving?
Honestly probably chinese or pizza
Who knows
Bro come over
dont ban me pls
What's that? Who am I banning?
Why does me inviting Hemlock to eat some turkey get you banned?

Now we're just all wondering what you've done 
y the entire mod squad here now
¯_(ツ)_/¯
Oh is this the error message?
bbl don't really know what the issue might be
Oh right I see. What you need is a nonlocal declaration.
!e ```py
def foo():
spam = 1
def bar():
nonlocal spam
spam += 1
bar()
bar()
bar()
print(spam)
foo()
@stuck furnace :white_check_mark: Your 3.12 eval job has completed with return code 0.
4
nonlocal is like global, but for when a nested function needs to modify a variable of the enclosing function.
you should have told me this 2 weeks ago
Erm, I'm not sure sorry.
why did global not work in this case?
Because frame_counter/cats is a local variable of create_record_frame.
Yeah sorry, I don't really understand the code. So other than to say you can use nonlocal here, I don't have much to offer.
lol ty
sry had a call
REE
FIXED IT
:incoming_envelope: :ok_hand: applied timeout to @nimble thorn until <t:1700685919:f> (10 minutes) (reason: emoji spam - sent 27 emojis).
The <@&831776746206265384> have been alerted for review.
!unmute 1021052960509280368
:incoming_envelope: :ok_hand: pardoned infraction timeout for @nimble thorn.
hey hey
:incoming_envelope: :ok_hand: applied timeout to @nimble thorn until <t:1700685975:f> (10 minutes) (reason: emoji spam - sent 23 emojis).
The <@&831776746206265384> have been alerted for review.
...
wait, I think I could see a pattern 😮
guys
wanna helppp
i fugeer out the answer of case one but i tink i lost in case to >> how i can modify on code to return 0?
!stream 465123434322722817
✅ @austere linden can now stream until <t:1700690227:f>.
Thank You! @rugged root
The original song that "Interior Crocodile Alligator" came from.
Now baby I'm The Ripper your baby daddy's worst nightmare
Catch me by the Claire I'll be right there
Niggas copy everything we say
Louis frames, eyes lower than my GPA
Ridin' and Swervin', kush I'm blowin
Doors wide, my trunk bump like Eddie Road
I don't cake hoes I never...
:incoming_envelope: :ok_hand: applied timeout to @nimble thorn until <t:1700691254:f> (10 minutes) (reason: emoji spam - sent 34 emojis).
The <@&831776746206265384> have been alerted for review.
@lethal tiger 👋
!voice 👇
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
yes I need to send 50 message
🏁
:incoming_envelope: :ok_hand: applied timeout to @nimble thorn until <t:1700691924:f> (10 minutes) (reason: emoji spam - sent 23 emojis).
The <@&831776746206265384> have been alerted for review.
made a calorie bomb
That looks SO damn good
yipeee levan
i made it work ;-;, i now have a implementation i full understand
Leekspin. Also known as Loituma Girl. Orihime Inoue from Bleach set to Loituma's rendition of Ivean Polkka.
i'm going to ignore the fact i found 6 other implementations and pretend they don't exist
o vean dats crazy always mispelled it
before i absolutly went braindead there and forgot english i was trying to say, "atleast your pendulum doesn't try to kill itself by accelerating to light speed" (mine implemented in python does)
oh lol
@oak yacht 👋
@rugged root hey so if I code a programming language would I be able to add it to Replit?
Hi
No idea. Not sure what their requirements are
ram was a big issue for ewe? @woeful salmon
Is it possible to host a programming language on Replit 😂
Just for the funs of it
I expect so.
:incoming_envelope: :ok_hand: applied timeout to @nimble thorn until <t:1700693717:f> (10 minutes) (reason: emoji spam - sent 51 emojis).
The <@&831776746206265384> have been alerted for review.
https://www.shadertoy.com/view/lsXcWn when you feel like you wrote a cool shader and you see what someone who's been doing the same thing for probably months or years has made
; Jump and branching
JMP 0x0012 ; Jump to address 0x0012 (this would need to be a valid address within the program)
JC 0x0014 ; Jump to address 0x0014 if carry flag is set
JZ 0x0016 ; Jump to address 0x0016 if zero flag is set
JNZ 0x0018 ; Jump to address 0x0018 if zero flag is not set
JNC 0x001A ; Jump to address 0x001A if carry flag is not set
6 samples are already enough for data science
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
i cant speak(
!voice
imagine communicating 50 times via text
how is the skin made to glow like that?
what is it that makes it like that
look at the skin, the color, what makes that?
type exit()
ok i will try
\c
ctrl+z
Thank you all
@lofty pine 👋
Hi @somber heath
@hushed nymph 👋
Eu4u3847jemzcbn&)! '!'! ? 483(!*=&
Hiiii plant
!voice 👇
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
❤️❤️❤️
Hole shit
function getBackgroundColorBasedOnSize(sizeInGB) {
switch (true) {
case (30 <= sizeInGB && sizeInGB <= 100):
return 'background-color: red';
case (3 <= sizeInGB && sizeInGB <= 30):
return 'background-color: yellow';
case (0 <= sizeInGB && sizeInGB <= 3):
return 'background-color: green';
default:
return 'background-color: gray';
}
}
.
<span style="${getBackgroundColorBasedOnSize(sizeDataFormatted.size)}">
${sizeDataFormatted.size}
</span>
cursed
what mean?
how is this cursed
it's colors
you like colors right
inverted switch
just another example of JS allowing something that shouldn't be possible
Effect of low temperature on electric vehicle range
https://www.mdpi.com/2032-6653/12/3/115
Effects of ambient temperature and trip characteristics on the energy consumption of an electric vehicle
https://www.sciencedirect.com/science/article/abs/pii/S0360544221022763
A significant disadvantage of battery electric vehicles compared to vehicles with internal combustion engines is their sharply decreased driving range at low temperatures. Two factors are primarily responsible for this decreased range. On the one hand, the energy demand of cabin heating needs to be supplied by the vehicle’s battery since less wa...
But: malloc also needs to store some additional information somewhere, or it would be impossible for free to do its job at a later time. At the very least free needs to know the size of an allocated block in addition to the start address. Usually, malloc therefore secretly allocates a few extra bytes which are immediately preceding the address that you get -- you don't know about that, it doesn't tell you.
Now the crux of the matter is that while in theory malloc does not touch the memory that it manages and does not allocate physical RAM, in practice it does. And this does indeed cause page faults and memory pages to be created (i.e. RAM being used).
You can verify this under Linux by keeping to call malloc and watch the OOP killer blast your process out of existence because the system runs out of physical RAM when in fact there should be plenty left.```
||A syntactic debate||🎣
Sometimes I jump into VCs to vaguely parrot YouTube videos I've watched weeks, months, or even years prior
how u gonna talk about enthalpy without talking about coentropy
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
g2g, goodnight all
@naive raft 👋
hello
hello
@obsidian dragon lemme summarize the situation:
talking to your boss more than you talk to your girlfriend, that is, daily.
yeah, your thoughts on that.
INTERPERSONAL RELATION SHIP ARE A WEAKPOINT FOR ME
sry caps
@warped raft youre deafened
thank you
doing great
I am not speaking
are you wrking on something
osyr
a
@obsidian dragon recommend me a monitor
@warped raft Limited-time deal: ASUS TUF 34 Inch Curved Gaming Monitor - WQHD (3440x1440), 165Hz, 1ms, Extreme Low Motion Blur, FreeSync Premium, Eye Care, Height Adjustable, DisplayHDR 400, DisplayPort, HDMI, USB - VG34VQL1B https://a.co/d/dftkjfZ
thnak you for the suggestion
but this will be too big for my setup i would actuall buy a 24 inch
@somber heath hello
@whole bear 👋
@pearl mason 👋
best phone ever.
and then smartphones entered the market and ruined everything.
oh nokia communicator
@silk depot 👋

@crystal fox do you ever get tired of security stuff?
@wise loomyou like doing math ?
sometimes yes
Algebra or what
idk, some math
ok
why? you like it too?
I'm trying to learn it
oh what kind?
Algebra
" I describe my socio/geographic/racial/ethnic/culinary standings and then I leave"
@wind raptor you know if it's possible to configure pyright in a pyproject.toml?
or do I need to right a pyrightconfig.json?
No idea. I haven't used pyright
np
why not C instead of Java ? 
because the government loves Java
fair point, that's why C is good for beginners (even being weird and a little complex)
lol
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
A plum is a fruit of some species in Prunus subg. Prunus. Dried plums are most often called prunes, though in the United States they may be just labeled as 'dried plums', especially during the 21st century.
Plums may have been one of the first fruits domesticated by humans, with origins in East European and Caucasian mountains and China. They we...
panda3d and pygame are eh
babylon.js is pretty dope
Stop worrying about the infrastructure. Focus on writing code, shuttle will do the rest.
Ah, Rust, the programming language that thinks it's the holy grail of system-level languages. I mean, sure, it claims to give you memory safety without a garbage collector, but who needs that, right? It's like walking a tightrope without a net and calling it an exhilarating experience. I guess Rust developers enjoy living life on the edge.
And let's not forget the borrow checker. It's like having an overprotective nanny constantly looking over your shoulder, making sure you don't mess up the memory management. "Oh, you want to modify that variable? Well, let me check if anyone else is using it. Nope, sorry, you can't touch it." It's like coding with a nagging roommate who never lets you have any fun.
But hey, I get it, Rust is all about performance. It's the muscle car of programming languages, roaring down the highway while flipping off the garbage-collected sedans. Too bad it comes with a manual transmission that requires a PhD in Borrowonomics to operate properly.
In the end, Rust is like that friend who insists on doing everything the hard way because it's "better for you." Sure, it might be a robust language, but sometimes you just want to write code without feeling like you're deciphering an ancient script.
lowkey good points
LittleGPT strikes again
I just can't figure out why I can't run 2 modules at the same time AAAAAA!
hahahahahah
Any sufficiently advanced Rust program has an ad hoc, informally-specified, bug-ridden, slow implementation of half of Common Lisp.
what is the problem?
Only the first module is launched, and no matter how I change the positions, only 1 is launched
what do you mean lunched?
gpt chat is ||$hiT||
Just gpt 3.5 with some prompt engineering
i use free version
what output are you getting?
Step 1. Write a rust program
step 2. realizing the syntax is a pain to work with and similar efforts could be accomplished in as many as 4 times less keystrokes!
step 3. you implement a python dialect in rust
step 4. catastrophe sets in, namespaces collide, functions repeated everywhere, messy unspecified, undocumented code and hacks just to transfer simple data, state, and parameters between functions
step 5. discover polish notation lisp without the parens
step 6. greenspuns tenth
I have 2 modules in the modules folder and want to run through main, but I always get the following error messages in the console
what error message?
There are no errors in this photo I uploaded. Only module 2 does not start. If it did, it would write to the console
but in fact I still have 2 modules
what is in module_folder.about ?
your not getting an error
is the module_folder.about folder where the about.py file is located
but for some reason I can't run the 2nd module from this folder
that doesn't mean an error
you have some code in your first module that is blocking your app from moving*
i guess an input()
or something
Terry tells a joke to someone on the phone.
Original Publication Date: 2016-11-22
For daily God contact in TempleOS / Terry quotes follow me on twitter at: https://www.twitter.com/davisanism
Traceback (most recent call last):
File "/home/dark/scripts/DiscordBot/main.py", line 21, in <module>
tree = app_commands.CommandTree(bot)
File "/home/dark/.local/lib/python3.10/site-packages/discord/app_commands/tree.py", line 132, in init
raise ClientException('This client already has an associated command tree.')
discord.errors.ClientException: This client already has an associated command tree.
Serenity is a Rust library for the Discord API.
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Hey @sleek vault 👋
hi
what were you discussing there?
I don't have permission to call
I should send over 50 sentences to get a permission
Are you all developers?
great
streamlit
just working on the AI project
using python streamlit
convert image to video using D-ID api
Create professional videos using just a still image with text or audio powered by AI.
yup
But wanna know what were you discussing there..
Oh~
grea
t
are you guys a team?
sorry
I am not familiar with python yet
I am a blockchain developer
But since the AI spread rapidly, I tried to learn it and touched the some python code.
because all code is same.
solidity
evm chain
bsc?
binance smart chain.
are you a freelancer?
good.
I am also.
hello i am new with working with the terminal and I am tryin got run this on my mac
conda create -n tensor python=3.7
-- but it does not work. can anyone help?
hmm, not sure about mac stuff, sorry
alright thats okay thank you!
hi
hi there
@trim night well man, well
can't use mic too much rn
I'm usually always coding
but im writing a short story right now
idk
brain block man, gotta get this thing outta my brain
I mean that I'm not really super interested in thinking of much else than this story
I could think about these other things but they seem kinda boring in comparison
gotta do the fun stuff before i grind ig
anyone used batman protocol
ill bbl
Nah nah nah nah nah nah nah nah nah nah nah nah nah nah nah nah.
@fast shard @rare jacinth @crisp cipher 👋
!voice 👇
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@vital wave 👋
@regal raptor ye im fixing it
python
@sage grove how make this line of code better
underworld_types = [UNDERWORLD_TYPES_TYP] + list({entry.underworld_type for entry in self.objects})
c++ for game dev
like how should i add a single element to the start of the list here
maybe use insert?
underworld_types = [UNDERWORLD_TYPES_TYP] + list(map(lambda entry: entry.underworld_type, self.objects))```
i use a set here to remove duplicates
[UNDERWORLD_TYPES_TYP, *{entry.underworld_type for entry in self.objects}]
i see
underworld_types = [UNDERWORLD_TYPES_TYP] + list(set(map(lambda entry: entry.underworld_type, self.objects)))```
thx
yeah, for dedup, probably nothing better than set
also
why not just store as a set?
then add one element
cause i need to index into it
nah i dont i just need it to be in a order
so i can index
(sets don't have a guaranteed order)
but after i made the variable the order will stay the same
right?
thats fine then
yeah i was just thinking if theres a better way to add a single element to it
do you need UNDERWORLD_TYPES_TYP to be first?
welp
ima sleep
cya people
can also use it to group arguments, though that's somewhat cursed
args = [
"ffmpeg",
*("-i", "input.mp4"),
*("-c:v", "copy"),
*("-c:a", "copy"),
"output.mp4",
]
(this makes #black-formatter not insert extra line breaks)
yes, missed
without comma, should fail with TypeError
!e
args = [
"ffmpeg"
*("-i", "input.mp4"),
*("-c:v", "copy"),
*("-c:a", "copy"),
"output.mp4",
]
@vocal basin :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 | "ffmpeg"
004 | TypeError: can't multiply sequence by non-int of type 'tuple'
eh, actually this exception message is not clear enough, I think
since both operands are sequences
still better than just "unsupported"
!e
count = "2"
# *forgets to int()*
count * []
@vocal basin :x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 3, in <module>
003 | count * []
004 | ~~~~~~^~~~
005 | TypeError: can't multiply sequence by non-int of type 'list'
I guess that indirectly answers the question of what should be first -- count or sequence (sequence being first is what the error assumes)
!e
args = [
"ffmpeg",
*("-i", "input.mp4"),
*("-c:v", "copy"),
*("-c:a", "copy"),
"output.mp4",
]
@toxic arch :warning: Your 3.12 eval job has completed with return code 0.
[No output]
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Hi, I don't have permission to speak yet 😦
I'm new to Python. I'm searching for a good way to save a simple set of data locally. Have you some tips?
"save" as in?
helloooo sirrr
@somber heath you have anything to stream
i cant sleep
aww
fair
read about
roman empire
im listening btw
@somber heath yo ima actually go sleep now, thanks for the information
gn
Zbuffer makes me cry but try getting the same ln 1 col 2 error for a week straight and then come back and complain to me 🙂
what up
i am doing my revision
my networking
is like ipv4 or ipv6
yes
sad
so what are you doing noe
now
today wheather is very cold
i think my english not good , some accent i can't get very clear . i usually just guess
ok
thank you
@somber heath I fixed the bug that we talked about last night, google was my friend after all 😄 code was missing one line in settings.py file because I use different python and django vesion than Corey. Took me few hours to find it but it is worth every second.
@somber heath I'll just write a short summary
import numpy as np
a = np.array([1.5, 2, 3.87, 49, 23])
b = np.array([49, 3, 1.5])
# I need the following array containing the indices of b in a:
c = np.array([3, np.nan, 0])
@white umbra 👋
what I currently have is:
c = np.array([], dtype= np.float64)
for i in b:
if i in a:
index = np.where(a == i)[0][0]
else:
index = np.nan
np.append(c, index)
It's been a while since I used numpy, but I'm pretty sure there's a function for this 🤔
Hey there 👋
I can't find a function which returns the indices in the order that the values appear in b
only in the order that they appear in a
hi @gentle flint
What do you actually need this for btw?
Any approach is going to be not terribly efficient, as it necessarily involves a linear scan of the first array for each element of the second array.
I mean like, what's the broader problem? 😄
Ah ok, I actually have to go in a bit.
in that case maybe I'll explain on sunday if you're there
Yeah sure, I'm often around 😄
Opal, do you change colour when you touch acid? 
Anyway, I'm heading off cya 👋
I suppose it would depend.
@obsidian dragon hello
So, you think you’re funny? If you’re considering a career as a stand-up comic, get a pen and paper—a lot of paper. As any successful comedian will tell you, writing jokes day in and day out requires a serious commitment. Coming up with ideas for a comedy stand-up set might seem easy, but shaping this material into funny jokes that will make peo...
https://interestingengineering.com/science/james-webb-space-telescope-teenage-galaxies-extremely-hot
(that's a terrible article. By teenage they mean formed 2-3 billion years after the Big Bang: https://www.eurekalert.org/news-releases/1008251 )
Using the James Webb Space Telescope, CECILIA Survey receives first data from galaxies forming two-to-three billion years after the Big Bang. By examining light from these 33 galaxies, researchers discovered their elemental composition and temperature. The ultra-deep spectrum revealed eight distinct elements: Hydrogen, helium, nitrogen, oxygen, ...
@cosmic rivet 👋
👋
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
i have mic access but my mic is bad so i wont be talking TwT
hey btw how can u get index of item in 2d list
yup
actually i know some ways but they are slow and im solving cp questions so i need fast solutions
yea i did
ahh its fine
may be manolo could?
A nesting of for loops will do you.
enumerate may or may not be handy
unpacking may be handy
I remain not here.
Numpy provides for a more robust approach.
@somber heath is there a forEach in python?
for efficient access, you need to keep extra structure (hashmap/tree)
if you're trying to find an item
i have no idea about those data structures
!d dict
class dict(**kwargs)``````py
class dict(mapping, **kwargs)``````py
class dict(iterable, **kwargs)```
Return a new dictionary initialized from an optional positional argument and a possibly empty set of keyword arguments.
Dictionaries can be created by several means:
• Use a comma-separated list of `key: value` pairs within braces: `{'jack': 4098, 'sjoerd': 4127}` or `{4098: 'jack', 4127: 'sjoerd'}`
• Use a dict comprehension: `{}`, `{x: x ** 2 for x in range(10)}`
• Use the type constructor: `dict()`, `dict([('foo', 100), ('bar', 200)])`, `dict(foo=100, bar=200)`
^hashmap
!e
items = [1, 0, 5, 3, 2]
# O(N):
indices = {x: i for i, x in enumerate(items)}
# O(1):
print(indices[5])
@vocal basin :white_check_mark: Your 3.12 eval job has completed with return code 0.
2
I'm bad at numeric examples
if you don't have such structures set up and don't have any restrictions on the input data, the best you can achieve is O(number of elements)
hashmaps allow O(1) time per access, with O(N) memory and time for initial setup;
trees allow O(logN) time per access, with O(N) memory and time for initial setup if done correctly; the benefit is that they allow restructuring/rearranging data in O(logN) for many operations that would take O(N) for hashmap-based approach (for example, removing an element from a list would on average require recalculating half the indices, but with trees you would only have to re-compute O(height) element counts of subtrees)
howdy @idle vector
you asked how I am?
doing alright 
you?
@idle vector we can hear that, by the way

@fading fractal @idle vector get a room 
they're pronounced the same, jean and gene
just another cook at home dinner gone wrong
lmao, hop in the vc
no
no u
I'm on a call but maybe later 😭
you is NOT Clyde
😢
wha?
you wish
i have achieved singularity
looks like a dict
yea its a hashmap
it means that key is missing
or deosnt exist
1
The authentication flow has completed. You may close this window.
what?
haha
How is it possible that the key is missing is my code not by definition finding the highest POSSIBLE key?
what
skill issue
print the prevNums variable
and see whats in it
I'm using the length of the dictionary to find the highest key
yea
I hear
hashtable
its a dict not a list
missing number


