#voice-chat-text-0
1 messages Β· Page 196 of 1
okay thxx you
its just for server side its not very usefull to use venv every time π¦
but possible thx u π
4chan wtf?
its partitionning or all hdd/sdd ?
someone know a good book to teach me how to write fat models and thinner views in django?
:incoming_envelope: :ok_hand: applied timeout to @devout bloom until <t:1696601659:f> (10 minutes) (reason: mentions spam - sent 6 mentions).
The <@&831776746206265384> have been alerted for review.
Whoopsy-doodle, you're a noodle! π
I'm also a noodle, but it's all LX's fault. π
@gritty karma π
hi!
My latest pl/sql program:
DECLARE
p_month NUMBER := 10;
p_msg VARCHAR2(14);
CURSOR c_pledges IS
SELECT idpledge, iddonor, pledgeamt, paymonths
FROM dd_pledge
WHERE TO_CHAR(pledgedate, 'MM') = LPAD(TO_CHAR(p_month), 2, '0')
ORDER BY paymonths;
BEGIN
FOR p IN c_pledges LOOP
IF (p.paymonths = 0) THEN
p_msg := 'Lump Sum';
ELSE
p_msg := 'Monthly ** ' || TO_CHAR(p.paymonths);
END IF;
DBMS_OUTPUT.PUT_LINE(p.idpledge || ' - ' || p.iddonor || ' - ' ||
p.pledgeamt || ' - ' || p_msg);
END LOOP;
END;
Soup or glue? You decide!
hi
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
hello
bro i started learning pythan π
but what i will do after i learned python
Learn more Python.
Learn other languages.
Learn data structures and algorithms.
Find love, start a family, pay taxes, grow old, die.
Possibly not the first two.
@somber heath hello
Tree bushy.
Hi everyone
I need to check the implementation of the keyword in but I did not find it in the Cpython repository can you guys help me with this please?
Oh like in the CPython source code?
Yes, it would be better, or can you guide me on how to find it?
I can guide you to someone who might know.... #internals-and-peps would know better than I would
Especially for something so specific like that particular keyword
Okay thank you ππ»
I gotta wait about a day to talk in vcs
Yeah, that's one thing
I
Rats?
sure
haha
I'm looking for it you know π
specific type?
I thought you had an infestation
I was going to recommend getting a BB rifle and a cat
Rats (that you intende to have) are adorable
What do you mean? I'm looking for the keyword in
quick fact: I'm new to python
what do you mean by "implementation of the keyword"?
But there's still something in CPython that tells how the code handles == and in, right?
Star, Muriel.
How does it handle the object comparison (I'm guessing that's what you're meaning, Davi, didn't mean to speak for you)
so, __contains__ handling is the question, right?
I remember the only time I saw a rat, it was killed and disposed right away
this is very type specific
wow
Well, she's a rat
I could see that you're using a camera stand as a kind of table
Tara
what specific question do you have about the implementation?
Thumb piano?
Denatonium benzoate.
Ohhhhhh, I know it
This is the code for __contains__ for list obj
static int
list_contains(PyListObject *a, PyObject *el)
{
PyObject *item;
Py_ssize_t i;
int cmp;
for (i = 0, cmp = 0 ; cmp == 0 && i < Py_SIZE(a); ++i) {
item = PyList_GET_ITEM(a, i);
Py_INCREF(item);
cmp = PyObject_RichCompareBool(item, el, Py_EQ);
Py_DECREF(item);
}
return cmp;
}
so I want to see when using in how does it work?
Some kids chew on weirs too.
Which game?
Da Hood itβs not a known game but has its in game value and trading community
And how do you feel about what happened?
That's a good takeaway. Or if you do gamble, make sure you're only gambling up to a certain limit, don't let yourself go over that, and if you win and can take out what you initially put in, do that
Then you can just keep playing on what else is still in
Yeahhh
Then it's just fun money
The thing is
I couldnβt afford to lose the item
I wouldnβt really care if it was a smaller thing

So was it you trying to go for a more expensive item or was it like put down x amount of money to potentially win that $500 item?
It was item for item
He also had the same item as me
Same items were gambled
I was gonna have 2 of it
So double the value
Live and learn
Ya
Yes
Anyways
Iβm just going to leave The game for a while
And try and learn python
Take a break from it

Probably wise.
To be fair
When I was trading I barely made profit
And it wasted so much of my time
I think itβs better to learn something for now
Hence being here for Python?
Yep
Niiice
Mostly trying to automate things using python
Actually
When I was trading
I thought of a pretty clever idea
I hired 2 developers to make me it
Basically what it does is it auto advertises what you are trading in servers you pick and comes with a auto reply feature so you donβt have to sit there sending your Ads
hi guys
Sup
Still working on stuff like that or working on something different?
Still looking for C code of in keyword π
I think the most interesting __contains__ implementation would likely be for str
because others are trivial
media creation tool
for windows
there might be special live distributions, yeah
"* allegedly safe"
what are the odds of me learning python while being full time in school?
i just need the drive and i dont have it yet, i dont know how to get the drive to code like this/
Zebras seems to actually be in some level of endangerment
one of three species is endangered
GrΓ©vy's zebra, mountain zebra, plains zebra
@vocal basin you never use VC ?
depends on the server
so you prefer other servers, not this one, for VC
or, more specifically, main language of the server
I think I've done more singing in English VCs than talking
(it's simpler because it doesn't require thinking about what to say)
Fair
Was going to say, I don't know if I've ever heard your voice. Wait I must have..
two recordings and one attempt to explain VS Code
basic or BASIC?
there are still places where BASIC (not VB) is taught and that's terrifying
Wait where
"Regional" (non-Moscow/SPB) Russia has Pascal and BASIC as main languages for teaching at school
You're safe, right? No risk of you being drafted or conscripted? Been worrying about my friends from over there
I don't know; it's never safe anyway
I'm way too shocked by things I learned in last ~hour
first, now I know subspecies is an actual term
second, what is this syntax:
~~https://en.wikipedia.org/wiki/Pascal_(programming_language)#Record_types~~ https://en.wikipedia.org/wiki/Pascal_(programming_language)#Pointer_types
wait
wrong
pointer
^integer is pointer to integer
and ptr^ is derefencing ptr
slightly unusual
I doubt schools ever teach anything beyond functions
like
basic strings
basic array operations
basic functions
and nothing more
Pascal here is, like, Latin of PLs
dead language, but still gets taught
See Harrison Ford in 42! Go to http://42movie.warnerbros.com/
SUBSCRIBE to get the latest #KIMMEL: http://bit.ly/JKLSubscribe
Watch the latest Mean Tweets: http://bit.ly/MeanTweets8
Connect with Jimmy Kimmel Live Online:
Visit the Jimmy Kimmel Live WEBSITE: http://bit.ly/JKLWebsite
Like Jimmy Kimmel Live on FACEBOOK: http://bit.ly/JKLFaceboo...
@vocal basin Are there actual pedagogical merits to Pascal as a teaching language?
I remember we also had Pascal until 6th grade or so.. after which the classes required C.
But actually both languages were accepted and used.
But I mean.. FreePascal and Delphi still exist..
.
also supporting old systems is where knowing it might help
but rarely ever on new projects
Yeah @crystal fox mentioned water treatment plants that use Pascal
is Ocaml super-popular in your country?
I highly doubt that
Pascal helps to learn basic programming concepts
but also reinforces some habits that are quite bad when switching to languages like C
what is quite popular here, is 1Π‘
(that's Cyrillic S)
that's.. unheard of here
that's too much for me, I like simple things
I have a small brain π§
this calls for so much violence
(misspell in the comments)
wait, wth is , , ,
is it setting arguments as defaults?
I have no idea
I've never programmed using this, and I hope I never have to
Sup?
i made something
with opencv
let me pick my phone
i cant stream
but let me screenshot
@static quiver Hello
here
thumbs down
'polegar para baixo' means thumbs down
here in Brazil
also im using a famous shirt
from Vasco da Gama
ππ»
yeah
how about a mini gamma ray burst or maybe an anti matter bomb
PineCoders Web Site
I can try to help, what's your question?
okay? what's stopping you?
SQLBolt provides a set of interactive lessons and exercises to help you learn SQL
This is a decent one for learning some SQL
thx ππ»
do you need more than 1 table..
here's a table:
|--------------|-------------|
| gesture_name | gesture_svg |
|--------------|-------------|
| ok | <svg... |
so in this table, you have a lot of hand gestures, on one column you have the label, and the other column is an SVG with the hand gesture
to blend information togheter?
an emoji for all intents and purposes
oh i see
@mighty robin is this what you need/mean?
@mighty robin https://pgexercises.com/ ; https://www.postgresqltutorial.com/
@mighty robin or.. use SQLite instead, that's the best database to start with
@static quiver https://javascript.info
how many languages u know
yeah how many
another JS thing
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide
but that's more for learning JS after another PL
Well and confidently? Just Python. Ones that I could probably pick back up relatively quickly? Probably 3 (JavaScript/TypeScript, C#, Java/Kotlin).
But I language hop a lot
I like learning and trying different languages
your favourite is python why??
It's so versatile. If you want to do a quick project, someone has probably already made a library for it and it's been battle tested
v (means vouch or means agree)
Good for simple web stuff (API wrappers and stuff), and it's just pleasant to write
Oh cool, did not know that
Slowly picking up the new slang from all the kids
Only the latter part
Dang how old are u
I pretty much just spend time on here, not many other social platforms
Beyond that, it's usually just work, home, rinse, repeat
hemlockscript when?
God no
I understand nothing :)
some asm , c , some c++, apl , smalltalk, java, some lua, basic, pascal, some fortran, occam, csp, autoit, and Python ....
I never really used lua apart from roblox coding
Still coding
Wait, smalltalk?
I don't think I've met anyone who's written it at all
Fair enough

what I used Lua with:
https://ocdoc.cil.li/
Very cool
I like having folks with that much experience around. Did you enjoy OCaml?
did u use d Smalltalk
I've only read about it, looked at some example code
manually stuffing code into that minecraft mod is pain, so I made a primitive bundler,
that was quite useful for generally understanding how the language works and how to make build tools
and it was bootstrapped because why not and because it help validate it works correctly
this occam with csp on an array of transputers https://en.wikipedia.org/wiki/Occam_(programming_language)
occam is a programming language which is concurrent and builds on the communicating sequential processes (CSP) process algebra, and shares many of its features. It is named after philosopher William of Ockham after whom Occam's razor is named.
occam is an imperative procedural language (such as Pascal). It was developed by David May and others a...
well object class metaclass language started with smalltalk ...
smalltalk also introduced the big confusion about object-orientation in general
so that now there's, like, hundreds of definitions of what OOP means
why ... smalltalk get in the light really with smalltalk 80
... to which the Alan Kay's response was something like "I should've named it 'message-oriented' instead"
well , it cretae the first classification ...
Simula was slightly earlier with OOP-like concepts
at that time they not really other ..
anyway thanks to those people at ParkPlace to create it ! π
@static quiver I've already done some cross-db joins.
Can you please state your problem in writing, let the people read and then we can discuss in the VC.
I used it also to create actor base in house language, and distributed actors language ...
@static quiver https://www.tradingview.com/rest-api-spec/ And this API doesn't have anything you need?
didnt use REST yet, only some SOAP - XML ....
so, like, there's many roots what it is
1930s, lambda calculus: encapsulation and isolation, process equivalent to simple request-response messaging
1950s, Lisp: programmable syntax for the above
1960s, Lisp for real: first implementation
1960s, Simula: tools to create what we now commonly view as classes/objects
1970s, SmallTalk: messaging approach
1980s, Erlang: asynchronous messaging
1990s, Python/Java: what commonly today gets referred to as OOP
REST isn't really something that can be used;
can followed rather
unlike SOAP (which is a protocol)
"REST" is also used as label for just "HTTP API", though that's obviously not accurate
yes π
actually, how much has the object model changed in Python from v1 to v2?
> Already present at this stage in development were classes with inheritance
I guess, not much
(1991)
dont know I start with python 3
put'im on a PIP (performance improvement plan)
amazing idea
@flint hill you literally sound like you're on your phone
"web 0" can be used as a buzzword for "redo it all"
"web 1" can be used as a buzzword for "do it as it was intended initially"
idk if there's a use for "web -1"
unweb
don't:
def f(x):
if 1 < x < 10:
return True
else:
return False
do:
def f(x):
return 1 < x < 10
there are only two objects of type bool
(id-wise too)
is he driving? it sounds like he's in a car
in lazy field,, we ca have True, False, Maybe
first is sometimes appropriate for multiple guard clauses though
if the file is so large it crashes VS Code...
there might also be multiple problems
and you would still have to finally figure out what exactly is wrong
just following IDE suggestions is enough only for small or well-engineered system
Back in a bit, have to set up a new computer
@vocal basin what do you think of https://www.sql-ex.ru/ ?
hello
first time hearing about it
DAMN thats a nice project
Hey, what's everyone up to?
i'm just gathering some data
you know?
you know..
I'm not sure I do 
but now you do, right?
It means you own the assets minus the liabilities of the business.
And you get a say in how it's run.
Hi yall
It's how is mic is
Exactly
Ok
Ham sandwich for good measure
brb
Hello everyone
Can someone go to code/help to help me make a auto refresh system for a chat website?
What're you stuck on with it?
Yeah, i took a break for a couple of days
@rugged root which library?
Oh it was for something Jacob was working on
@devout bloom look through the release notes for Django to find out which method took its place.
if that's not enough, just do git log -p on the Django Git repo..
what was the api
I will check once
Could you by any chance join my vc so that i could show you what i need to add?
I can try in a moment. Trying to knock out some work stuff for a quick moment
Ok, thank you
I'm not super sure I'll be much help, though. It'd pretty much be me recommending using something like websockets so that it'll be watching the stream of the chat
And I haven't really implemented something like this before
@devout bloom write more code to get better at writing code?
Or write code, and then have someone review your code.
Or read code that is written better than your code.
the 3rd one
Hello, I would like to learn how to program Python, what program to use and can someone teach me how to program?
!resources I can get you set up with some resources. On our site, I personally recommend "A Byte of Python", which is free on its respective site. We also have links to some solid YouTube channels if that's more your jam.
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
you can start out with an online compiler
https://ideone.com/l/python3
Thanks
you're welcome.
take these reading resources with you #pedagogy message
what do you do for work
i get pushed around and told what to do.
things with servers.
The Virtual Keypunch - Type and download your personal punch cards - the Web2.0 of βbig ironβ age! A free add-on to Google60 - Search Mad Men Style.
The Virtual Card Reader - Scan and parse card images generated by the Virtual Keypunch
Oo, neat
Install python 3.12
anyone who has experience in underwaterImage?
what is that
Try running the installer as admin
no because i need to run smth that only is 3.10
ty
Where do I program in vscode?
do you mean 'underwaterImage'?
it worked thanks
How do you mean?
Like where do you get the program?
4 is better lol
@rugged root What do I need to install to program with Python (I already have the latest Python)
is this VC now taking the role of ChatGPT Customer Support?
So there's a few good options. Visual Studio Code and PyCharm Community Edition are two common ones that get recommended (of those two I'd recommend Visual Studio Code). I personally use Sublime Text, others use emacs, vim, etc.
!resources There's also some that make it so you don't have to worry about learning the editor as much. We have some of those listed on our resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
@rugged tundra https://press.aboutamazon.com/2023/9/amazon-and-anthropic-announce-strategic-collaboration-to-advance-generative-ai
@rugged root I don't understand anything about programming, starting with where !resources??
what is a variable?
what is a control statement?
what is a loop?
start with that
The thing I linked coveres all that jam
Oh my god, it actually recommends vim and emacs
I do not recommend using either of those as a beginner
Go with that
vscode is great yes
What is that
It's a great resource for learning Python.
It'll run you through the basics, like data types, programming flow, all kinds of stuff
My objective are to create websites, games and understand programming
That site is a good first step
And if you have questions or need particular things explained, we're always happy to help
Recommends learning from websites or YouTube or both
That's entirely preference. I don't learn very well from videos or courses so I prefer books or sites
Do what's best for your learning style
Ok, I'm going to start learning to program and over time I'll try to create things
Most important piece of advice I can give?
Have fun with it
That may sound corny, but there are lots of places that are just going to be a slog
So try to find ways to enjoy it
there i also many free python ebook
Sorry but I don't know what books are
Oh boy
lol
Oh, OK
the paper is often no free but the "e"book , pdf or else are ...
But i need pycharm?
Or Visual Studio Code or the various others out there
All those editors do is give you a place to type your code and then it can help check it for errors or give you a place to run it easily
.py files are just text files on their own
If you wanted to you could write code in notepad or Microsoft Word (don't do that. for the love of god don't do that)
I go study now
what is a variable?
what is a control statement?
what is a loop?
I go study this
See you later !
How come I am still not verified to use voice chat?
@dark ermine You should be able to verify now. If not, DM @rapid crown for help.
You can verify in #voice-verification
@dark ermine mute
@dark ermine I think your mic gain is very high
please

No noise coming through now
cool. I had my voice cranked to the Max.
help?
Your best bet is to make a post in #1035199133436354600
!pypi pandas
filename = 'your_file.csv'
encoding = 'utf-8' # Replace with the correct encoding of your CSV file
expected_row_count = 100 # Replace with the expected total number of rows in the file
actual_row_count = 0
with open(filename, 'r', encoding=encoding, errors='replace') as file:
reader = csv.reader(file)
for row in reader:
# Process each row of the CSV file
print(row)
actual_row_count += 1
if actual_row_count == expected_row_count:
print("The entire CSV file was read.")
else:
print("The CSV file was not fully read. Expected:", expected_row_count, "Actual:", actual_row_count)```
what is this for?
can someone share their screen if you are coding
It is just opening a CSV file. My code only has the difference of being 287377 lines instead
I can
actually, I dont have permission.
Lol
yea, I read through it, what project are you working on?
its actually quite interesting, how do I stream here? I would share about it. Im doing server side vulnerabillity detection and this is the last bit I need to work out essentually to finish it up.
I actually can not get this to work using Pandas guys. WTF lol. CSV solves my problem but pandas gives me other errors.
That is the error I kept getting using CSV until I added the bit to change the encoding type if there was a problem.
I've been watching videos about variables, if else, while and for
@rugged root And now
?
Good job
import pandas as pd
def parse_csv_with_pandas(filename):
encodings = ['utf-8', 'utf-8-sig', 'latin-1', 'cp1252']
error_lines = []
for encoding in encodings:
try:
df = pd.read_csv(filename, encoding=encoding)
return df
except (UnicodeDecodeError, pd.errors.ParserError) as e:
error_lines.append(e)
print(f"Error: Unable to parse the file '{filename}' with any of the specified encodings.")
print(f"Error lines: {error_lines}")
return None
filename = 'allitems.csv'
# Parsing the CSV file
df = parse_csv_with_pandas(filename)
if df is not None:
# Get the first three columns
df = df.iloc[:, :3]
# Filter rows where the 'Status' column is 'Entry'
entry_df = df[df['Status'] == 'Entry']
# Iterate over each row and print the desired information
for index, row in entry_df.iterrows():
csv_value = row['CVE']
status_value = row['Status']
description_value = row['Description']
print(f"CSV: {csv_value}, Status: {status_value}, Description: {description_value}")
# End of script
print("End of script.")
I have finally slayed the beast. Working towards actually parsing now! it took forever to get pandas to work with this file.
If anyone else wants the file Im working with ill drop it here if its not to big
Good job.
Yeah its too big. 212 MB. Its the Legacy CVE CSV from MITRE .com
bringing in the good ol RE now haha. That will be the finishing touch.
Anyone have a reccomendation to using this script as an API?
Does anybody want to be friends dm me pls anyone
@mossy cradle π
@somber heath hey
@pale shoal π
@left drum π
@hasty blaze π
do u have exp with facebook graph apiZ?
omg
i have an issue and cant solve it
about weeks
@limber oar π
Also, I'd delete that.
I'm given to understand that webhook urls aren't something to be disclosed.
If there's any regeneration options for that, it'd be an idea to exercise them.
It may now be compromised.
yeah I am here
but I can't talk π
because I am new babie
I am learning new python concepts π
pydantic v2
you need to know it π
do you know dataclasses?
no problem π
dataclasses is a class that is designed to only hold data values
it provides creating and managing classes in easy way
Pydantic is the most widely used data validation library for Python.
look that
class Delivery(BaseModel):
timestamp: datetime
dimensions: Tuple[int, int]
m = Delivery(timestamp='2020-01-02T03:04:05Z', dimensions=['10', '20'])
print(repr(m.timestamp))
#> datetime.datetime(2020, 1, 2, 3, 4, 5, tzinfo=TzInfo(UTC))
print(m.dimensions)
#> (10, 20)
it validates data
it really help to manage validations
sorry I can't understand you clearly
what are you doing?
yes right
I just joined the server yesterday
I should wait three days too
I guess you don't need to use numpy
you can use pandas directly
can you summarize the topic @somber heath
oh thank you
Have you install pyinstaller ? No ? Then install it with using this command pip install pyinstaller if pip not recognized too then install it with this command py get-pip.py
have you learn "for" ?
yes ? learn about other keywords like def, class, and more
else learn it
I read about it but I didn't get it very well
it's something like sigma, Have you learned sigma in math ?
but it not returns sum of numbers
it does indexing for you
Hey can someone help me I'm trying to boot up after I put new thermal paste onto my gpu and swamped my two ssds
watch here
x = ["Hello", 1, 5.34] # defines a list with "Hello", 1, 5.34 values
# ^ ^ ^
# So these are defined in the x list
for i in x : # Does the indexing stuff but how ?
print (i) # This will print Hello and 1 and 5.34 but not in the same line like
# OUTPUT
# Hello
# 1
# 5.34
@whole bear
also we have a function called with range name
you can do this with it
for i in range (5) : print (i)
OUTPUT :
0
1
2
3
4
or you can make factorial program with for loop and range function
num = 3
for i in range (1, num) : num *= i
print (num)
OUTPUT :
!e
num = 3
for i in range (1, num) : num *= i
print (num)
@fervent grail :white_check_mark: Your 3.12 eval job has completed with return code 0.
6
output
@whole bear
example for range function
range (5) -> 0 1 2 3 4
range (1, 5) -> 1 2 3 4
range (50, 500) 50 51 52 ... 499
range (10 + 1) -> 0 1 2 3 4 5 6 7 8 9 10
Does range work for counting?
The print() command is for when I start the code it appears there what is written inside?
x = ["Hello", 1, 5.34] That's a variable, right?
i = item?
I didn't understand the OUTPUT part
@whole bear π
If you have a list you can do for x in range(len(listvariable)):
Hey wassup
Oh!
@mortal hull π
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
okok
brb then
yeah I have to have more than 50 messages
and I've only been here for 1 day I think
so I'll see you guys in a couple days lol
Someone send me cat pfp
@light sentinel π
man vc restrictions are quite harsh
fair, I never understood how people get satisfaction from that..
I agree.
I dont know why they couldnt find another server to do that in.
Out of all servers they have access to, why the Python Dev server?
Hear me out, they could just make every person that joins, have to answer a leetcode question before they can join VC?
well. I would recommend starting with python for discord bots, as its usually easier, although like @somber heath meantioned, you should ask that in the discord bots channel.
Alr
You may encounter Python boas here.
...bias.
Actual typo.
@crystal hemlock π
Hi
@pure granite π
hi
@somber heath what do you think is the most elegant way to simulate 3D physics in python?
I have been searching for a good programmatic library, so far I have only found some third party projects like PyPhysX.
yeah I have heard of him before, most of that stuff dosnt have source code.
Usually thats just poc which demonstrate feasibility.
I have tried writing something similar and ended with some..... questionable results to say the least.
@viscid dragon π
Hello there
you know what they say 'To build a physics engine, you have to first start with the universe'
Did I do smth wrong? I am muted
its just chat restrictions
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@misty ermine π
Okay, have a good day
I would just parse the CVS into json then work with it that way.
I just preload it into ram then read from the variable.
instead of calling read and parse on the json each time
years of HOF's with no real world use for going higher then callbacks.. gotta love it.
anyways, @somber heath, @dark ermine I have to go, I hope you guys have a great day!
@whole bear π
Hey!
@potent talon π
How is it sitting in a voice channel with only muted people?
Yeah... and I suppose it would also help if we had the permission to speak in the first place haha
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!voice
That doesn't seem to have a whole lot of effect...
Yes, reading has never been my strongest skill, thank you.
Nooo, I need more messages.
Okay, I've got 47 messages sent in this server.
I can do this...
With just one more....
Message.
But this is not the end of the journey, now it's time to get the sound working on Linux again.
@dark ermine what about HackTheBox and TryHackMe? have u tried?
yeah
whats your rank?
@dark ermine
yeah i have rank 2 on HTB and rank 8/9 on THM
yeah no perms to vc
how?
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
I think all the information is in the linked channel.
Gotta use RE to find these patterns within the descriptions
Firefox 1.5 before
Firefox 1.5.0.4 and earlier
< Firefox 1.5.0.4
Hi
Hi
I have a question
aha
I have already studied the variables and what they told me to study first, what is the next step?
basic variables in Python tutorial are described in the same chapter as lists/text/numbers/etc.
https://docs.python.org/3/tutorial/introduction.html
so I think those are expected to be learned at roughly the same learning step
I agree with Alisa, the Official Tutorial is great
After the official tutorial, I recommend getting into the Debugging Book mentioned here #pedagogy message
Because 95% of the time spent writing programs is spent on debugging, isolating and fixing software defects.
as far as I understand, book is also good at showing that the "debugger" is not the only part to it
Yes, there's a lot more to debugging than just using the debugger, I think the book covers different aspects
I would like to create a website what is the right step to try to create one
I feel like this is the least of your concerns
first versions of the website would not involve Python, likely
@whole bear you want to get a firm grip on the language and how to debug. this is the foundation.
everything else follows after that.
Ok
HTML and Python can be learned separately
HTML/CSS are more declarative, so basic static websites wouldn't involve stuff like variables
one of the most comprehensive resources for HTML is MDN
but it's not exactly beginner-friendly
the goal kindof changed mid-flight. initially gongaspt said "I want to learn programming and Python"
now it's "I want to make a website".
I want to learn how to program and then when I know how to create a website
When I know how to program I will try to create things
But first I want to learn how to program
Then the rest
well.. that will take a while
Slowly go far
one of general representations of how the learning might go
as with many such things, it's not linear
Python is not going to the platform you create your website in, just an FYI if you hadn't already figured that out.
Got a huge breakthrough going, now outputted will be versions that indicate the current version may be affected, listed in decending order.
Still fixing some things
Now they are listed in order from most relevant to my version to least. But all should be relevant.
I feel so accomplished for getting over all of that bullshit! Now I just have to connect this to my website.
,0imfd
whats happening
yeah
im not very good with files
what problem are u having
in what way is it failing
k
hm
its a bit vague just the photo
I'm trying to do something similar to this
without python poetry
i found something
hello how do i get permissions to talk in voice chat
You have to do voice verify
how i do that?
!voice @nova stream
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
im bacc
print calls and tracing do add side effects
but it wouldn't matter for most Python projects
(that all excluding side effects of str() calls and IO itself)
bcpl -> b -> c?
iirc
I just accepted that Ubuntu will break
and still use it
it might be a configuration issue
especially if you have multiple NICs
I also tried to use illumos, but it still has incomplete/undocumented docker support
(illumos is not linux)
bro's language bout to be the next javascript
explain lol
"module support and typing, that's already far ahead of regular JS"
"the next Java" version 2
with both Java and JS then being quite "famous" for having to deal with legacy (and, according to many, poor initial design of the language)
"the world stopped at Java 8 and IE6"
he figured it out pagman
"Every crappy workaround will lead to a crappy problem down the line."
-- A programmer
youve inspired me to work on my language again
will do
I should look into how this works one day
https://www.jetbrains.com/mps/
"abstract factories in JVM got so far that there is a programming language factory now"
it's JVM-only, if I understand correctly
it's very much for purpose-built languages, not general ones
I think this is the most cursed screenshot from there
it's like Java+Wolfram Mathematica
Nim has made 4 syntax choices that might seem bizarre to a C++ programmer: 1. blocks by indentation instead of braces (aka "Off-Side Rule" syntax [0]); 2. Uniform Function Call Syntax [1][2]; 3. case-insensitivity for identifiers; and 4. dropping empty parens from a function call.[0] https://en.wikipedia.org/wiki/Off-side_rule , [1] https://en.w...
there are
wait guys
im actually a professional scratcher
like an actual expert
@zinc sinew
lol no
but
thats cap
are u doing ray tracing then?
to an extent
yessir
send ur scratch profile
i dont have it publshed yet lol but ehre you go
yes
kinda
no
you can index the list
?
set i to 1
repeat until <i = len(list)>
say (item i of list)
change i by 1
thanks lol
lol
im not fully sure the exact definition
multiple scripts running at once?
im going to assume that a thread is a piece of code
I believe threads are something on the OS level? but yeah I think each thread runs some code. I've used it with sockets but I'm not 100% sure how it works under the hood
maybe ill get in vc
make ill tak
wtf
discord
autocorrect
average programmer's experience:
OH I GOT IT
Wait noβ¦
I REALLY GOT IT THIS TIME
NOO THERE'S ANOTHER BUG!?
I THINK I UNDERSTAND NOW
Why is this not working?
FINALLY, IT WORKS!
But why is it working? π€
i searched it up and it said a thread is a small set of code or instructions for the cpu of your pc to execute
π€
and that your cpu can run multiple threads at once thus multithreading
this is what happens when you have 50 different files
first time?
yes lmao
wait no oh god
that's 200 files
feelsStrongMan
bad_choice_amount = previous_bad_choices ^ previous_bad_choices
thats more accurate
@zinc sinew i hope ur using functions
π
madness
LMFAO
ah yes
what
fr
i have functions for calculating displacement due to gravity and dot product
and all that physics jazz
rn im developing the projectile motion physics in a seperate project\
@cosmic bison
The best language ever, Pingish:
# Print the factorial of a number given by the user π§
noot noot
noot noot?
nooting noot?
no noot
noot nooted * noots
its so good right
lmao
forever
reh-jex
ree-jex
someone once called it ray-jex
can u write a simple program to show us how it works
@cosmic bison
lang
len(s)```
Return the length (the number of items) of an object. The argument may be a sequence (such as a string, bytes, tuple, list, or range) or a collection (such as a dictionary, set, or frozen set).
**CPython implementation detail:** `len` raises [`OverflowError`](https://docs.python.org/3/library/exceptions.html#OverflowError) on lengths larger than [`sys.maxsize`](https://docs.python.org/3/library/sys.html#sys.maxsize), such as [`range(2 ** 100)`](https://docs.python.org/3/library/stdtypes.html#range).
!e
print(len([1, 2, 3, 4, 5]))
@vocal basin :white_check_mark: Your 3.12 eval job has completed with return code 0.
5
len(arr)
print(len(lst))
@sand shuttle
and also append is not a function
that's important to learn
@sand shuttle
still not sure how to !d list.append properly
iirc, list.append itself isn't there
his homework was to use len()
I still don't know where it is
womp womp
both pronunciations are valid
"Haskell has significant newlines, so that supports the argument"
implicit as in no required parentheses? or full ruby-style?
idk, I haven't used ruby
> ; is optional
"oh, so that what 'the next JavaScript' was about"
object.method even without parentheses calls the method, with whatever side effects that implies
@cosmic bison looks like same error as earlier
missing ;
I haven't added that because reasons
but you can do double_number 10;
oh, wait, is it reversed
where can i use bcl
a b c
is this a (b c) or (a b) c?
a (b c)
haskell and most others use (a b) c
as in what are the application for it? or how can you run the compiler?
function arg1 arg2
this has its place too, but it's rare
function2 function1 arg
10;
more common representation of the same idea (multiple functions placed linearly) is structured in reverse with some delimeter:
arg | function1 | function2
arg |> function1 |> function2
arg >>= function1 >>= function2
10 10;
@cosmic bison how do i run the lang
stuff it into Docker
"it just worksβ’οΈ"
fail reliably
I should undevelop features from my attempt at making a semi-esoteric language
to go back to simplicity
4 tokens; and whatever else are just variable names
/+-.
I should translate gcd I have implemented in the current version into this
/+_div.+_zq./+gcd.+_a.+_b.//-_a.///-_b./-_a.-_div.-second.-gcd./-_b./-_a.-_zq.-YC.+_gcd.
rough Python equivalent
def _gcd(_div, _zq):
def gcd(_a, _b):
if _zq(_a):
return _b
else:
_, mod = _div(_b, _a)
return gcd(mod, _a)
return gcd
the way Haskell handles operators is that any binary operator (for example, +) has a function associated to it ((+))
a + b being equivalent to (+) a b
@winter plover yeah thats what I had in mind
3 `add` 3
^ in Haskell
would be nice
func add(x, y){
return x + y
}
3 add 3;
// How would this happen ?
3 add 3 add 5;
@outer zinc
operator precedence, requires extra configuration
(3 + 3) + 5 by regular rules
would it have to be like a seperate parser for the function stuff lol
Haskell has a way to define both associativity and precedence
this formatting scares me
also, if you can bootstrap, you still need a way to build it from outside
@outer zinc your echoing
unless the language is something like C where you can expect it to be already built for everything
@whole bear π
Rust uses Python to bootstrap
to build from no Rust
eh
current script
x.py or something
this builds compiler in several stages
first (zeroth?) not requiring Rust installed
A guide to developing the Rust compiler (rustc)
std gets built three times
You almost never need to do this.
idk what they actually do for architectures that it's not built for yet
sizes for enums are difficult
(sizeof discriminant)+max(sizeof variant)
but that's not always true
yeah
i run a website about sentinent art supplies woo
for C enums, that's just size of some integer big enough
in C, variants are just labels
not comprehensive labels
topologically sort dependencies
fail on loop
!d graphlib
Source code: Lib/graphlib.py
Python's TopologicalSorter even supports some level of asynchrony, I think

