5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.
#voice-chat-text-0
1 messages · Page 329 of 1
@verbal zenith only .rs files are supported because of how it integrates with the build system as a whole
Thanks you alisa
you can have non-Rust files
and just have a singular Rust file to open them by name or whatever
examples/
_run.rs
numbers.rattlescript
strings.rattlescript
cargo run --example _run -- numbers
cargo run --example _run -- strings
or just this, assuming the project can take files as is
examples/
numbers.rat
strings.rat
cargo run -- examples/numbers.rat
cargo run -- examples/strings.rat
non-.rs files in examples can be whatever; the only restriction cargo poses is how .rs files and crate-like directories are handled
.repeat?
on a slice
I should probably convert this into a proc-macro so that it's parametrizable
there is a method that accepts &[Something; N] but not &[Something]
that's why that thing
not directly inside impl
you can put it inside methods
it now has language selector instead of just language guessing thing
previous paste sometimes decided that what it's looking at is not Python
e.g. HTML
@verbal zenith your crate is just importable from an example if it's a library
@verbal zenith clap you can just use
if you have it in either dependencies or dev-dependencies
(or both, then latter takes the priority)
odd that RR can't figure out how examples/ work
your crate is treated as external there
@verbal zenith to use the crate, it needs to be a library
no
don't extern crate almost ever
you need a lib.rs file
you don't really need anything from the crate to generate the text
@vocal basin can i get help
help with what
python keeps on crashing
what do you mean by crashing
dosent wanna open for me'
how are you opening it
what does the output show when you run it from the terminal
idk
all ik is that it dosent open for me
how are you running the program?
and what are you running?
python script or just python interpreter?
is a checker for sometyhing
and i show in vc dude?
look
(I don't know who you're referring to; I'm not a dude)
also
!rule 5
5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.
this isnt illegal lol
why is there "Nitro Codes" and "Valid Codes" then
😂 🙏
i just have them there
u want me to remove and send vids
whatcha working on?
TIL replit supports Nix in some form
https://replit.com/languages/nix
replit
Write and run Nix code using our Nix online compiler & interpreter. You can build, share, and host applications right from your browser!
so no help?
that's not an answer
then keep those separate from the project
ok i will
do not commit secrets to Git
ima move them now
or any other source control, including replit
:white_check_mark: Your 3.12 eval job has completed with return code 0.
1.23
:white_check_mark: Your 3.12 eval job has completed with return code 0.
1.23
:white_check_mark: Your 3.12 eval job has completed with return code 0.
1.2300
:white_check_mark: Your 3.12 eval job has completed with return code 0.
123.0000%
you can move variables into def main() to avoid shadowing
otherwise it's global and you can just refer to it
@verbal zenith .Popen is asynchronous, .check_output is synchronous
Is Gemini any good as a model?
good for what
Usable. Wanting to upgrade my phone (currently have the Pixel 5 which is no longer receiving security updates) and looking at the Pixel 8 line.
Pixel 8 is super super tied into the whole Gemini stuff
Main reason why I'm wondering
depends on what, i think im some ways it beats gpt4, but mostly is beaten by gpt4
i can show you, i have gemini pro
give me a couple of questions to ask it so you can get an idea
unless you meant to connect it to an ide, in which case, i dont have an ai's connected to any of my ide's
Well it's less about that kind of stuff, I think. One of the things it touts is being able to take a recorded conversation or presentation or what have you, transcribe it, and then even be able to give a summary of what it was all about
yes it can do that
Photo clean-up and improvement, stuff like that
ahh yes, it is pretty useful for those things
@rapid flame runtime environment isn't The Problem, IDE is
Neat
Windows is a totally fine platform for Rust
however no better then any other AI, and also it has its limits, dont expect magic
he can run WSL if he rlly wanted a linux env
you can use RR with WSL and have all the same problems
@rapid flame JetBrains has its own ideas about toolchains
its own wrong ideas
PyCharm is okay-ish
but only because it pre-indexes
which is a different cost
and it probably still doesn't handle nested wildcard re-exports
if you put from c import * in b then from b import * in a, it melts
best parts of IntelliJ ecosystem are IDEA and Rider just because how bad the alternatives are
and maybe also CLion because it's a functioning convenient C/C++ IDE, which is rare
I didn't hear, what recommended?
Node.js?
it's first listed not necessarily preferred
or rather
they suggest to use it inside Docker specifically
and WSL
2
it's also a less memory-hungry use of WSL
dont get a pixel 8, instead get the meta/ray-ban smart glasses, with the humanai/rabbit r1, for the ultimate ai experience
both pages suggest going to the other one for certain use case
I have Fleet installed, idk why
I'm not even sure I ever opened it
oh, today an album is released
which has two lines of my vocals in it
backing vocals
send song
idk if it's available worldwide
i can be anywhere, anytime
Region locked for me
not that I can open it either lol
Weeeeeiiiiiird
@timid spire 👋
אני לא מדבר זה שפה
1:57 and 2:04
Do you play any instruments in the band or just some vocals?
I don't think they had anything in terms of music from me before
LETS DO IT! @silk dust
I do infrastructure work (I host file sharing service they use and a wiki for them)
yea today i tried importing required libraries and got stuck while importing cuda
had to install a bunch of packages
I did do some sound-design-related stuff but I don't they've used anything directly
same want to create a gc to team up?
nice what software
most of sound research I do is via Python
nice what libs?
sounddevice, numpy, scipy
I think
not sure if I used sounddevice for recording
write code early
don't waste months on planning
adequate planning is done just before and during development not strictly before development
sometimes it's okay to start with implementation and figure out usecase later
but generally usecases are an important guidance mechanism
RDBMS things you need to plan because that's how they're built
schema
but there are many things nowadays which allow you to gradually upgrade it (migrations)
some people still believe waterfall is actual methodology worth following and not satire
I prefer to have a vision of MVP before I write a line of code
yeah, a usecase: what this program should do, at least in some sense
implementation-first is more for experiments
"what if"s
I don't track hours, I have no idea what I average a week
"I become the domain knowledge"
"I am the domain knowledge"
in cases of some obscure niche domains
"AI mentioned? AI mentioned?"
#voice-chat-text-1 message
I still have some business idea but that kind of necessarily involves making the website as a central piece of it
one day I might actually start making it and not just put it away for later
for referencing specifics, MDN
react isn't that big
you can just read through all the docs
inspired by Elm
React is framework and library, the way I see it
framework at least just for how much limits what you can do
or, as it's known nowadays, PUBGBG
truly a rename of all time
I got more steam money from PUBG than the game itself cost
it was mentioned somewhere here earlier
I prefer improving ergonomics of the what I use and toolmaking to using AI for boilerplate
(rather make it be easier even without AI than have AI do the hard work for me)
"probably most people would prefer a car which doesn't have knife-sharp edges"
waiting for the "cybertruck: less aerodynamic than a cow" memes to arrive
as a remake of this
tbf translating SICP into JS isn't that hard since it's Lisp anyway
30 games for $0.15
I remember buying some bundle like that
there was something like 2 playable ones
I've only seen Enshrouded through the prism of LGIO misplaying it
I should play through all of Zachtronics' games at some point
reminder that such a masterpiece game as Trans-Siberian Railway Simulator exists
"can't wait to get 4090 Ti so that I can play it in 30fps"
nah get a100 to run it
@rugged root why was your last post a year ago\
for a second I thought this was about Click To Ten game
list is wrong, i dont see echo on there
has Unturned bot situation been dealt with yet I wonder
it's a good game
but there's something sketchy happening to player count
"if there's no one to sue you..."
if you distribute it, you'll definitely get into trouble
see ARK for example
it's soon to be abandonware technically
but devs sure want you to just pay more for a new version
(unless they backtracked on that)
no
they want to drop its support
and move everyone to new game
or wanted to do that long time ago
!voice @whole bear
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@whole bear Post the error message here!
upon running the installer, there will be an option to add py
(assuming Windows)
@primal shadow Yeah nowadays it doesn't by default because you can use py instead.
Oh 
both PATH and py are optional
I've ordered more RAM just to max out what CPU supports
Thanks
rerun the installer
How did you install Python?
make sure to check "py launcher"
(this)
if the installer says that python is already installed, select customize installation
ok
importantly: not in reverse order
but it like has to use python 3.10
i dont
the py thing is already checked
i cant take it off
but ill see if it works now
nope
hmm
are you like able to vc?
this might make python be recognised there
and py being findable as a collateral result
hmm
you're running it from cmd.exe, right?
can we private call so ic an share my screen?
do you have C:\Windows\py.exe on your computer?
after running the installer
ig you can directly call that
hmm
but Windows should already be able to pull from C:\Windows...
You're Watching The Official 4k Video Of Weapon Of Choice by Fatboy Slim
Arguably Fatboy Slim’s most famous music video of all time, Weapon Of Choice features Christopher Walken dancing around a deserted hotel lobby. The Spike Jonze-directed video won multiple awards at the 2001 MTV music video awards and won the 2002 Grammy award for best mu...
did you finish the process of installation or did you quit because you saw it's already checked?
i finished it
.
if it doesn't exist, then that's very weird
win+R
C:\Windows\py.exe
enter
how are you running the batch script?
but could we vc
from terminal/from explorer/from IDE?
share screen = 10 times easier
Could you try logging out and back in again?
its s github project
im not tryna create a malicious script
anybody could say that
im a man
i am a cat
but im still a man
meow
Cya @rugged root
the C:\Windows\py.exe is not there
after downloading python
where are you installing python to?
no what dir did you install it to
Did you just install it to the default location?
i think
Could you open powershell and run the command ```
echo $env:PATH
darkgrey is light grey
Oh 😄
that's how HTML labels those two colours
it's not about perception, it's about what numbers it's hard-coded to be
LX you there?
Yeah, does the command py work inside powershell?
the actual darker one is dimgray
like just say py
I'm on a BenQ GW2270
nice
Yeah
nope
py : The term 'py' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spe
lling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
- py
- ~~
- CategoryInfo : ObjectNotFound: (py:String) [], CommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException
Oh 
it's just a generic 1080p monitor
but its benq, lol
true
yes
?
uhh no i cant
sadly
sickkkk
redacted you got any idea whats wrong?
py : The term 'py' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spe
lling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
- py
- ~~
- CategoryInfo : ObjectNotFound: (py:String) [], CommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException
oh thats fine
loll
i think ive tried that
it like has to be 3.10
and iv egot 3.10
python --version
Does py.exe exist in C:\Users\Olive\AppData\Local\Programs\Python\Launcher\?
i joined like under an hour ago
Yea the big profile
cause i couldnt get this shit to work
Yep
Er, I don't know what's going on, but adding C:\Users\Olive\AppData\Local\Programs\Python\Launcher\ to your PATH I think should fix it.
Cya plome!
uhh i dont read that language
its on english wdym
Yep! Just click new and add C:\Users\Olive\AppData\Local\Programs\Python\Launcher\
og ik how to create a new
redacted
you guys are the most wonderful people ever
it works
I have no idea how it got into that state 🤷♂️
"no homo"
You should be able to list the python versions you have installed with py --list now
nice
isnt it like boring as shit
no it a gud idea
I think all infractions kick the person from VC actually, including timeouts etc.
depends if you like coding or developing software or not
¯_(ツ)_/¯
it does
use blackbox.ai
its like ai
but best in coding
like good with programming
thats where blackbox ai comes in
time to test this on a certain set of exercises
a what did it just write
evil cat
lmao
sorry raised to not send it born to send it
class Vector {
// Constructor method to initialize the vector components
constructor(x, y) {
this.x = x;
this.y = y;
}
// Method to add another vector to the current vector
add(v) {
return new Vector(this.x + v.x, this.y + v.y);
}
// Method to subtract another vector from the current vector
subtract(v) {
return new Vector(this.x - v.x, this.y - v.y);
}
// Method to multiply the vector by a scalar value
multiply(scalar) {
return new Vector(this.x * scalar, this.y * scalar);
}
// Method to calculate the dot product with another vector
dot(v) {
return this.x * v.x + this.y * v.y;
}
// Method to calculate the magnitude (length) of the vector
magnitude() {
return Math.sqrt(this.x * this.x + this.y * this.y);
}
// Method to normalize the vector (make its magnitude 1)
normalize() {
const mag = this.magnitude(); // Get the magnitude of the vector
return new Vector(this.x / mag, this.y / mag); // Divide each component by the magnitude
}
}```
redacted you want your cheese badge?
sed being integrated into discord has so far not done anything good for the society
like a singular function of sed
that was s/test/testtest
s/original/replaced with
I don't remember if it repeats

it does not repeat by default
so it's like .replace("original", "replaced with", 1) or whatever notation python has for max count
Not appropriate
😭
😭
so far this fails compared to all other AIs I tested those challenges on
genuinely impressive
generally models are able to pass the simple tests at least
💀
it can't even understand // don't change anything below comment from the challenge
requestAnimationFrame(gameLoop);
function gameLoop() {
ctx.clearRect(0, 0, canvas.width, canvas.height);
function player(){
ctx.drawImage(player.image, player.x, player.y, player.width, player.height);
player.y -= 10;
}
function floor(){
ctx.drawImage(floor.image, floor.x, floor.y, floor.width, floor.height);
ctx.drawImage(floor.image, floor.x, floor.y, floor.width, floor.height);
}
player();
floor();
requestAnimationFrame(gameLoop);
}
}
```why does player.y not do anything
well, at least, after two queries I was able to make it generate okay-ish definition for a Monad trait in Rust
just wait until the next OpenAI outage to find out
why is dark theme button hidden so far away
ight im gonna head to sleep
it does feel like altered GPT3.5, yes
goodnight ppl
and i sure dont hope theres any mosquitoes CAUSAE IM STUNG EVERYWHERE
AND ITS ITCHY
GRRRRRRRRR
it's bad at reading code, but it's okay for producing code
bad practices at speed and scale
almost no comment is proper comment
yes
but
the problem is: there are many people who write many useless comments
which offsets useful comments
most LLMs have this terrible attitude of commenting everything when you ask them in a manner which they guess to be expecting an educational answer
generally comments are for excuses, memes and reasoning not explanations
"how this works" comments are often wrong
"why" comments are more useful
it worked until it didn't
I asked blackbox.ai to explain 266 lines piece of code
it did mention "load balancer" earlier (and that was the question I expected it to answer with)
tbf it's not exactly a pattern
though it's getting a bit into a philosophical territory of what even a Reactor is
it was explaining the code adequately, then I asked it about the pattern and it failed
and now it's misunderstanding what replay means
tbf I wasn't really expecting it to contextualise half thousand lines of code
different code sample
https://docs.rs/ruchei/latest/src/ruchei/deal.rs.html#1-266
https://docs.rs/ruchei/latest/src/ruchei/multicast/replay.rs.html#1-524
Source of the Rust file src/multicast/replay.rs.
Source of the Rust file src/deal.rs.
first and second
requestAnimationFrame(gameLoop);
function gameLoop() {
ctx.clearRect(0, 0, canvas.width, canvas.height);
function drawPlayer(){
ctx.drawImage(player.image, player.x, player.y, player.width, player.height);
player.y += 10;
if (player.y > 400)
player.y = 400;
}
function drawFloor(){
ctx.drawImage(floor.image, floor.x, floor.y, floor.width, floor.height);
ctx.drawImage(floor.image, floor.x, floor.y, floor.width, floor.height);
}
drawPlayer();
drawFloor();
requestAnimationFrame(gameLoop);
}
}
epic fail
why it no worky
why is line in drawFloor reeated?
this image
what's the expected and actual result?
//loading assets
var player = {
image: new Image(),
x: 400,
y: 100,
width: 100 / 1.5,
height: 100 / 1.5,
MomentumY: 0,
velocityY: 0,
mass: 10
};
var floor = {
image: new Image(),
x: 10,
y: 400,
width: 300,
height: 300,
MomentumY: 0,
velocityY: 0,
mass: 1000
};
player.image.src = 'pink_smileyface.png';
floor.image.src = 'greenbrownfloor.png';```
it draws nothing at all?
have you tried rendering it at different coordinates/different dimensions?
which variable?
it might hypothetically collide with something
(that was a guess about how specific name could've broken it)
anyways
I need to go now
bye bye
okey
nothing
learning python for devops
just final year of collage
it is a Bachelor of Computer Application
i am from india delhi
my friends are jerk
😂
they dont study and got backlogs
once
i know someone who is cofounder in a startup
yep in startip i learn more than a job
they pay less but longterm good for me
they help small companies to gain there online presence
appsmith
in which state you are work
no in this startup they help to grow small business like their small website for business
like marketing and their website managing there catalogue
🙂
grand ma will be happy
they made recently
yes new startup
shri ram
I like to work on cloud Technology Jenkins ci/cd containerization /Aws but I at the very early stage of learning
yes I did 3 years of military training
I had used respect for military personal no matter which country their from
there job is the hardest
so there is a camp I went in the infantry military Battalion and in 15 day I feel their job is the hardest their lifestyle is very hard and engineer jobs are hard to they have to come before the fight and after the fight
my favourite part is that everyone mental strength is growing rapidly like you waking up three a.m. in the morning and going for training doing your daily job sitting brushing hell lot things
i was their
nice talking to you
@verbal zenith what type does the argument have?
you probably need FnMut but it's declared as Fn
@verbal zenith fn won't work at all
you need either dyn or impl
dyn is stored via &mut dyn FnMut() or Box<dyn FnMut()>
impl is stored via an extra generic parameter
imo simplest option
argument: impl FnMut(ErrorReport)
field: Box<dyn FnMut(ErrorReport)>
thing I was going to show but then forgot (how many lifetimes I had to use to make bumpalo work)
which
ah
impl 'static + FnMut(ErrorReport)
or
impl 'some_lifetime + FnMut(ErrorReport)
Box<dyn 'some_lifetime + FnMut(ErrorReport)>
(you can move + 'some_lifetime to the end if you prefer that)
dyn by default assumes 'static
> lifetimes are at the beginning anyway
that's exactly why I put them there despite how it's normally done
this used to be five lifetimes
; at the end is what HTML does iirc
named lifetimes are common when there's more than one lifetime
Create a scope for spawning scoped threads.
!e
print("\u1111")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
ᄑ
:x: Your 3.12 eval job has completed with return code 1.
001 | File "/home/main.py", line 1
002 | print("\U11111111")
003 | ^^^^^^^^^^^^
004 | SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 0-9: illegal Unicode character
hmm
Scope<'scope, 'env>
!e
print("\u111")
I don't remember if std/alloc/core have more places with named lifetimes
!e
print("\x111")
!e
print("\0141")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 |
002 | 1
!e
print("\0")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
�
!e
print("\077")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
?
:white_check_mark: Your 3.12 eval job has completed with return code 0.
?
:white_check_mark: Your 3.12 eval job has completed with return code 0.
a
idk if that works outside ASCII range
Good morning
I hate how I can’t hear shit
Ok now it’s oki
hey
Pair programming sounds like a date
@primal shadow
Oh damn
Wait
pair programming is when you get strapped to a chair and can't leave, you must watch(or type).
and depending on whether the other person is a hostile coworker you need to shut up or if they're friendly you can make suggestions.
https://pbs.twimg.com/media/FN6-MUfWUAkMpMi.jpg
:incoming_envelope: :ok_hand: applied timeout to @glacial shale until <t:1719635760:f> (10 minutes) (reason: duplicates spam - sent 4 duplicate messages).
The <@&831776746206265384> have been alerted for review.
what the hell
the truth is surprising
well that was me with my father years ago but it wasnt as intense obviously
that's family-driven programming
LOL
not really xd
theres not a single dev in my family, its js me
instead, my fathers only fear was programming in computers and the mole in chemistry 😭
I was in meetings where I felt the same.
Sometimes it's better to be silent.
i mean idk but is that some sort of bashing 💀
sometimes it is. But I should be in a position to make that decision for myself not be silent by default because it takes ages tp get verified lol
talk to Opalmist or MindfulDev, they can help you, also check #voice-verification
Not sure I'd call 3 days and 50 messages ages
maybe like... 3 days minimum
I guess for like...microbes that's a quantity of generations, but for humans, not so bad
write a bit more here, doesn't matter what you write. you stand a chance of collecting 50 messages which will put you in a good spot to be eligible for VC
@velvet crow 👋
well I might have exaggerated slightly considering that I am no microbe😂
you're a multi-cellular intelligent lifeform yes
thank you for your input potato patato
I lav eat wouen yiou tok derti tou mi laik dat
@somber heath yeah I get it there is lot of trolls and immature users online
I can imagine how annoying it must have been lol
@whole bear 👋
Hello
do we have a bot here that can count messages for a user?
discord does it pretty good
like a /stats command or something
hi LX
Hey everyone 👋
how? search?
lolool you better have 🤣
niceeeeeeee
oh ok
@shrewd basin 👋
50 in 3 days isp retty easy if you hang out in chat
you have 20 messages, making good progress
What're you guys talking about?
fine fine guys I retract my " complaint" 😂
thank you for the pat in the back
:p
end of convo
@stark river What changes have they made?
oh we can talk more
It's been a while since I've used Java
if you have an android phone you use it every day
impressive :p
what's your favorite drink?
Well starting off with the hard questions,,,. Well played.. It is a controversial topic tbh and my take is weird but my favourite drink is ho2 :p
oh yeah i think i know that one, it's widely available
i'm having peach juice + rum + ice today
I am basic like that
liking ho2... kinda lame
🍑 + 🧊 + 🍹
no no, ho2 is quite good, if you freeze it it's even more interesting
when you said it we got a different vibe than when you sent the emojis*...
if you look at the emojis...
they tell a different story
that's like.. your opinion..
but sometimes i use OJ orange juice if that makes it sound more decent.. uhm..
that's like... true...
mhhhh it does
Buy top quality mild, stainless, leather and tempered steel armor. SCA, reenactment, HMB, LARP kits, helmets, gauntlets, custom and in-stock, international shipping worldwide
tell me about this python writing habit of yours
I started learning programming a couple days ago : p
lol
I am a noob
a beginner
tbh
everyone is a noob'
but I figured it would be helpful to join server where people also like coding and know how to do it well lol
it's an excellent idea, this is the right place for you
although to be fair, there's more programming going on in text than in VC
I got a tutor. We only did 2 lessons thus far lol. But I like making things work so I have a good feeling about programming
I feel like vc would be more helpful. Also I am embarrassed to send any code via text because... it is very beginner stufff tbh
so there's that
!paste
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.
Errr, django I think
The site is also part of the backend of the bot
That's where we store like infraction data and stuff
Braveeeeeeeeeeeeee is a good browser
f^^^^^ bing and googleeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
I just like duckduckgo because of the ! commands
Like !py to search the python docs
Oh really
I mean embarassment and shame are part of life
But then.. why should your code be perfect if you're a beginner
LP?
Erm, he left the server
I think it was a bit of a distraction for him
@quartz beacon Connection issues?
nah, i thought i missed something fun
but i then realised what you meant
Ah right ok 😄
What's everyone up to today?
do you believe it superior to chrome/ff?
Yeah I use Edge on Windows
Not sure I remember why I switched from FF though.
Firefox
Have you tried Vimium (the extension)?
Vimium C is another I think
what about brave ?
Tridactyl
oh yes
yes, Maria likes Brave, idk why tho
@whole bear do you play any games
in other news
has anyone been able to migrate a Windows install from one disk to another?
via diskpart/bcdedit/bootrec ?
a long time ago from a hdd to an ssd
extract key --> reinstall fresh windows to new faster SSD @wise loom
that would work yes, but for this scenario imagine there's too much software to install and configure so a clone would be better than a reinstall
I agree , I need to learn same thing , will consult my GURU @wise loom
hi guys myself alisha
it for tmrw
Hi @somber heath
can i join
@solar pike 👋
ty
Voice Gate failed
You are not currently eligible to use voice inside Python Discord for the following reasons:
You have sent less than 50 messages.
damn
:incoming_envelope: :ok_hand: applied timeout to @solar pike until <t:1719758798:f> (10 minutes) (reason: burst spam - sent 8 messages).
The <@&831776746206265384> have been alerted for review.
can i join
You needn't ask.
so i can
Join or don't.
ok
Life is full of possibilities...or many inevitabilities.
hi cool man
agreed ✅
hi
HELLO
hi
Gotta love caps, the worst key ever
lol
@calm copper 👋
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@fleet atlas 👋
Hi
hmm so i joined today so I doubt i'll be able to speak haha
these were the requirements
You have been on the server for less than 3 days.
You have sent less than 50 messages.
You have been active for fewer than 3 ten-minute blocks.
see yall in 3 days haha
😿
right right
anyway i'm gonna go i got a data science task to complete for an interview tomorrow and i'm procrastinating
take careee
Hi guys, hope you all are fine
I just joined the voice chat randomly. I used to be active in discord, and also somewhat in python server, then i went on to focus on my electrical engineering. Until recently i again joined discord,
seems like lot of things changed 😁, a lot to catch up
I joined in like 2020, during the covid time
i joined years ago and only just saw it again
Hey
@void hearth 👋
hello brother
could u tell me about python
i want to learn it
coding one not amzon one
!resources
Resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
seeya
what u working on?
a what?
3d printer ohhh
tbh i have never worked with rust before so idk whats going on lol
here for it tho.
wow you have so much patience in figuring the problem out i would have just asked lol.
hi
bgjfkldw;lekrthbvncmlxa;? asgnfjdklwq?>a,mnkfldw
idk what is going on. tbh
so what even is ur project in simple terms @frozen owl
no not at all i just dont get it
right well good luck.
so when did you start learning python and rust?
rust a year ago and your good as that impressive.
@muted hinge cant see screen
I know
I can't figure out how stream properly on linux
Perhaps I should just use chrome...
Improving pip's error messages
oh nice
im still learning python. But for some reason i keep stopping since i feel like i dont have a goal in mind.
Come up with a goal!
oh ugh
make tic tac toe in the console
I've honestly given up on personal projects for the most part. I work on OSS projects these days :)
oh lol
i mean like a field in mind
Don't worry about a field, worry about comfort with problem solving
its always in my mind for some reason
i see ppl super ahead coding bots that automate stuff and im just more and more eager
Then automate the boring stuff with python
Could anyone assist with a line of code that I can't seem for figure out?
try asking in the help forum
if you read #❓|how-to-get-help it will tell you how to ask
okay
Alternatively, sharing the code is a much better way to get help than asking if anyone will help.
In general, asking to ask is a bit redundant.
it appears to have been a js question
https://discord.com/channels/267624335836053506/1257062668628525187
Great for the OT channels
or these voice ones
And people might be less upset about the lack of python.
I read the question, not sure I know the question.
hello @stark river
what u working on
enums n shit
hello i need help what is this error
OSError: [E053] Could not read config file from C:\Users\DepressingPp\Desktop\cancer_Shit_STAGE\working with dataset\myvenv\Lib\site-packages\pyresparser\config.cfg
i wanted to use pyresparser
try asking in the help forum
you can read #❓|how-to-get-help to find out how to ask
okay thank you
is the file present at the location?
@lucid blade @ivory bolt You might have some things to chat about. Or not.
@glad snow 👋
I just deployed to have a glance of the situation
why you mentioning?
Did you join the voice chat briefly a short time ago?
mic doesn't work in there in the voice chat
for 0.002 sec
@dull coral 👋
yes
i have unscoped enums.. thinking if i should scope them
the admin is on vacation
Embrace neither
@terse rose 👋
Stop writing in insecure languages please
?
Heyy
C and C++ are both insecure
no they aren't
@atomic mortar 👋
Errrm, I'm leaving in like 5 minutes for an appointment sorry!
give me video perms before you leave
I am close
@regal zodiac 👋
to being
dont spam
rage bait !!!1!11
fair ok sorry
dont spam.. the bot will mute you
Yes they are. It’s why all security minded people are saying please stop using them.
The mod will mute them 
@whole bear You can already verify I think, fyi
didn't you say you were leaving in 5 mins for a dis appointment?
I mean I was nor exaclty spamming but I see where you are comming from. I was just excited because I akm close to beiing to verify lol
Yep
Oh lol
Sorry
f**k yes yes 😮
Use your new powers for good!
pinky promise
The linux kernel contains rust now I think
I think it's only drivers right now
Oh right
The White House
Read the full report here Read the fact sheet here Today, the Office of the National Cyber Director released a new Technical Report titled “Back to the Building Blocks: A Path Toward Secure and Measurable Software.” This report builds upon the President’s National Cybersecurity Strategy, addressing the technical community to tackle undiscovered ...
hi
hi
@distant zephyr 👋
ok
``?
@nimble remnant @pallid carbon 👋
👋
👋
u ok
@abstract needle https://github.com/pl23/mtg_app
a web store for gathering what?
Tcg magic the gathering
whats TCG?
Watch the FREE webinar training that shows you the Top 3 Secrets to Becoming a Python Freelancer... https://events.genndi.com/register/169105139238457808/a2b2943f19
Link to code version 1 (right before we add Boostrap): https://drive.google.com/file/d/1iia4f8ILCj9trXN9V_Y0MeVcTWIwuqos/view?usp=sharing
Link to code version 2 (final version): ht...
how to get permission to talk in the vc
Hash the sets somehow ? I think I misunderstood the assignment I'm lagging hella bad
Wish I could talk in here I have many ideas (:
Ye I just joined
ok
Fair enough I understand
I saw it already just waiting
Guido van Rossum:
Start simple then improve
Not a direct quote but something like that
Trust me it doesn't take long to reach the message requirement if you hang around in the text channels a bit.
can some one help me add a python code of chat bot into my website as a pop up
i have devloped a website
but i cant figure it out how to do that
@frozen owl There exists a REPL for Rust. As such interpretable Rust isn't entirely far from reality.
https://github.com/evcxr/evcxr
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | /home/main.py:1: SyntaxWarning: "is" with 'int' literal. Did you mean "=="?
002 | 1 is 1
@verbal zenith
!e python a = True x = 1 if a is False: if x is 1: print('hello')
!e
def hierarchy(type_, depth=0):
print(' ' * depth + type_.__name__)
for subtype in type_.__subclasses__():
hierarchy(subtype, depth + 2)
hierarchy(Warning)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | Warning
002 | BytesWarning
003 | DeprecationWarning
004 | EncodingWarning
005 | FutureWarning
006 | ImportWarning
007 | PendingDeprecationWarning
008 | ResourceWarning
009 | RuntimeWarning
010 | SyntaxWarning
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/O6QYSMKGTQWFGE2RH3UII4AT5Q
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | /home/main.py:4: SyntaxWarning: "is" with 'int' literal. Did you mean "=="?
002 | if x is 1:
> UserWarning
!e python a = True x = 1 y = 1 if a is True: if int(x) is y: print('hello')
:white_check_mark: Your 3.12 eval job has completed with return code 0.
hello
is True is valid
just like is None
(as an aside mention)
it only checks for literals
!e python a = True x = 1 y = 1 if a is True: if int(x) is y: print('hello')
:white_check_mark: Your 3.12 eval job has completed with return code 0.
hello
exception ResourceWarning```
Base class for warnings related to resource usage.
Ignored by the default warning filters. Enabling the [Python Development Mode](https://docs.python.org/3/library/devmode.html#devmode) shows this warning.
Added in version 3.2.
after importing that's reasonable to import on Windows, there's only two extra warnings seems like
Warning
BytesWarning
DeprecationWarning
EncodingWarning
FutureWarning
ImportWarning
PendingDeprecationWarning
ResourceWarning
RuntimeWarning
InvalidTZPathWarning
SyntaxWarning
UnicodeWarning
UserWarning
GetPassWarning
@frozen owl compiled and interpreted isn't mutually exclusive
for Python, .pyc is produced
(not always)
for non-imported modules it will normally only be kept in memory
!e
print(compile("print(2 + 3)"))
:x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 1, in <module>
003 | print(compile("print(2 + 3)"))
004 | ^^^^^^^^^^^^^^^^^^^^^^^
005 | TypeError: compile() missing required argument 'filename' (pos 2)
:x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 1, in <module>
003 | print(compile("print(2 + 3)", "example.py"))
004 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
005 | TypeError: compile() missing required argument 'mode' (pos 3)
compile(source, filename, mode, flags=0, dont_inherit=False, optimize=-1)```
Compile the *source* into a code or AST object. Code objects can be executed by [`exec()`](https://docs.python.org/3/library/functions.html#exec) or [`eval()`](https://docs.python.org/3/library/functions.html#eval). *source* can either be a normal string, a byte string, or an AST object. Refer to the [`ast`](https://docs.python.org/3/library/ast.html#module-ast) module documentation for information on how to work with AST objects.
The *filename* argument should give the file from which the code was read; pass some recognizable value if it wasn’t read from a file (`'<string>'` is commonly used).
!e
print(compile("print(2 + 3)", "<string>", "exec"))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
<code object <module> at 0x7fcf862fcc70, file "<string>", line 1>
:white_check_mark: Your 3.12 eval job has completed with return code 0.
5
!d ast.AST
class ast.AST```
This is the base of all AST node classes. The actual node classes are derived from the `Parser/Python.asdl` file, which is reproduced [above](https://docs.python.org/3/library/ast.html#abstract-grammar). They are defined in the `_ast` C module and re-exported in [`ast`](https://docs.python.org/3/library/ast.html#module-ast).
There is one class defined for each left-hand side symbol in the abstract grammar (for example, `ast.stmt` or `ast.expr`). In addition, there is one class defined for each constructor on the right-hand side; these classes inherit from the classes for the left-hand side trees. For example, [`ast.BinOp`](https://docs.python.org/3/library/ast.html#ast.BinOp) inherits from `ast.expr`. For production rules with alternatives (aka “sums”), the left-hand side class is abstract: only instances of specific constructor nodes are ever created.