#voice-chat-text-0
1 messages · Page 137 of 1
i guess
yes german
of course it is
dont understand it
It takes nested lists and translates it to tile positions
but it looks cool
and it outputs the dungeon I showed earlier
nice
my german is that of a drunk todler at best
here it is again
do yall think a moderately good coder can find work
on a low scale
cool
imma do that too in a year or so
its super lucrative
ive heard but still tho
yes
ok
.
I always forget to annotate
gotta work, bb love you
I never like annotating
I never studied for medeivel history, and I would always write two papers, do 6 quizzes, and 4 hw assignments on the last day of the unit
I passed with an A
easy business
Prime Rates in Canada
The Prime rate in Canada is currently 6.70%. The Prime rate is the interest rate that banks and lenders use to determine the interest rates for many types of loans and lines of credit. These can include credit cards, HELOCs, variable-rate mortgages, car and auto loans, and much more. If you have any of these loans changes in the prime rate change your debt payments and thus your GDS and TDS ratios.
😀
@wind raptor can I stream today? 😄
!stream 2h 500168097852948482
Member "2h" not found.
!stream 500168097852948482 2h
✅ @desert wolf can now stream until <t:1684821707:f>.
command fail haha
?
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
hello
certdb: x509: failed to parse private key (use ParsePKCS8PrivateKey instead for this key format)
core/certdb.go:107:14: cannot use x509.ParsePKCS8PrivateKey(block.Bytes) (value of type any) as *rsa.PrivateKey value in assignment: need type assertion
key, ok := parsedKey.(*rsa.PrivateKey)
if !ok {
return errors.New("failed to perform type assertion to *rsa.PrivateKey")
}
core/certdb.go:107:14: cannot use x509.ParsePKCS8PrivateKey(block.Bytes) (value of type any) as *rsa.PrivateKey value in assignment: need type assertion
core/certdb.go:111:14: undefined: parsedKey
core/certdb.go:113:12: undefined: errors
make: *** [Makefile:8: build] Error 1
@somber heath 👋🏻
@frozen osprey can you pls help me bro i was trying to make a image generator using chat gpt and i am getting a error
@slow flare👋
Did you installed openai module??
yes
It's whinging about file access permissions.
@pulsar island can you please help me
Does the file, API_KEY, sans extension, exist?
can you send the error code
PermissionError: [Errno 13] Permission denied: 'API_KEY'
Does that file exist?
(Even though that should be a different error)
i first made a file and i put that key inside a txt file
It's suggesting it can see the file, but that the operating system isn't letting it open the file.
There may be a file ownership/permissions issue.
Or a mounting mode issue, which would be weird.
are you running it in the same dir
You have API_KEY as the file you're trying to open, but you want to open API_KEY.txt
@rancid meteor👋
ooh thank god it worked thank you
I'm honestly surprised it didn't raise a FileNotFound exception.
thanks brother
When using open, you should use with.
with open('API_KEY.txt') as file:
openai.api_key = file.read()```
There would be further improvements, but that would be one possible next step.
@mystic ocean 👋
@autumn spire 👋
<@&267628507062992896> or <@&831776746206265384> would i get a special boost role if I boost this server? Please ping me if you answer.
A bit heavy handed to ping mods and admins but yes there is a nitro booster role
!role 585529568383860737
585529568383860737
#46e6e8
0.50 0.70 232
59
19
6442450944
It's this one
I'm not sure if it takes a sec to show up when you boost though
If you boost the server it'll show up in #community-meta
Right, the booster role isn't displayed separately from members
You do get the nice light blue name though
Thanks
you need proper Wolfram code if you use the API
!code
Notable people of the past and present.
import wolframalpha
app_id = open("wolfram_key.txt", "r").read().strip("\n")
client = wolframalpha.Client(app_id)
response = client.query("3^7")
results = list(response.results)
print(results[0].text)
for mathematical operations, you can use wolframscript/wolframengine
which are free
first time I used Wolfram Mathematica was in 2013
Wolfram Mathematica is a notebook based on Wolfram Engine
and it's quite expensive
Mathematica as a notebook provides quite a lot of visual functionality
so, most of the time what you write looks like mathematical equations rather than code
I can get verified but I choose not to
"Mr Beast"ing in the sense of throwing money at stuff
Aha. Indeed.
I somehow didn't notice before today that the presence of @ in the reply indicates where it was ping or not
@whole bear 👋
@vocal basin
reply with ping
reply without ping
notice how the username is displayed
I though the only way to find out (if you're not the one replied to) was to use search
because search has mentions: filter
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Alright thanks
idk why but is just me who got the problem with wolfram
in that tutorial wolfram works pretty well for him
Ok i dont think i can get to speak anytime soon but any of you experienced with pandas and stuff
send your problem here and let's see if we could help you
@vocal basin
Well i have a use case of storing and reading dataframes that can have tuples and lists in them i wanted to know whats the most efficient way of storing them to keep the data intact
File extensions like csv parquet avro
csv file works very well and it's easy
and you have support everywhere
sooo i think csv is goood
I wish i could speak csv is a last resort for me
I am a Python AI developer, if you are interested in me, please DM
are you interested in working in a project?
well it just a llm with tons of tools
So csvs store your complex data in string formats and reading it back is ok but it consumes space and takes time
Parquet on the other hand is better with its own set of problems
you could store it as a json like i said or txt file or xslx
if you don't like csv
idk parquet i never use it
A text file is a csv in the end
Heyy
just use whatever you want, you are doing it for learning right?
in the future in a job they going to have their own types of files so you have to work with the one's the company likes
but if it is for learning use the one that makes you more comfortable
i think the csv are nice but as you said it uses some resources
you could store it in the cloud too
rewriting some Rust code
(mostly renaming)
I realised some time ago that the thing I named "classes" wasn't really that
so now I'm looking for a better name
in Haskell terms, it's actually "instances"
in Haskell, Monad is a class, Functor is a class, etc.
and types are instances of those classes
more like mathematical classes
the part I'm rewriting right now is just abstract functional programming
but the project, that relies on it, is centred around distributed storage
@somber smelt what type of system?
video processing itself would almost certainly be in something more low-level
Rust/C/C++/etc.
Haskell is fast enough but not perfect
it's GCd
(or uncontrollably RCd, at least)
Haskell is okay to use in production, I think, but there might be better options
there are also Haskell derivatives for front-end like purescript
video hosting service would almost certainly be multiple separate systems in different languages
I think Perl at some point was implemented in Haskell
OOP is quite diverse in its definition
I think C# is the most fine example of "typical/normal" OOP
the language that just works
Eta is a simple, compact and powerful programming language to build scalable systems on the JVM. It is a dialect of Haskell on the JVM.
XML is a big disadvantage of both (Java and .NET) ecosystems
Presumably
there's a very weird thing that VB and Scala had in common (only VB has it now)
XML literals
@somber smelt no, software engineering in its nature isn't related to desktop in any way
it doesn't differentiate desktop vs web vs back-end generally
engineering in "software engineering" refers to following a set of disciplines to ensure the quality of the system
you'll probably have to deal with both front-end and back-end
devops refers to doing both development and deployment
development
operations
testing
documentation
ensuring proper software architecture
etc.
trademarks are applied per-domain
domain as in "type of product"
same reason why Monster have no right to claim copyright on games
not that domain
not internet domain
.
software engineering is something that's expected from software development
so it's hard to properly distinguish the two
(and choose whether or not those two should even be distinguished in the first place)
I tried using Haskell for some time
but Rust stabilised GATs earlier than I wrote anything meaningful
abstract Monads are now possible in Rust
and Rust shows how much hard that concept is
iirc, they successfully scared Ubisoft
but, like, that's Ubisoft
"they rather hire 1000 people to rename the brand than go to court"
@left fulcrum 👋
you can already set display name
I renamed it to "instance" everywhere
now, back to writing documentation for everything
usually pronunciation for proper nouns is the same as in the language of origin
constructor
destructor
@lofty crater
in Java there is finalize
for destructor-like functionality
like __del__ in Python
@somber smelt just before it stops to exist rather
~
not in Java
C++ and C# have ~ClassName syntax
in Rust it's Drop
but generally you don't need this
if you need to do clean-up when you're done with the object, then run that clean-up explicitly
why would you ever want to do that?
why not do those operations when you know the object is about to go out of scope?
do you know all the places that might store the object?
(or keep a reference to it)
because if you don't:
the object might just be hanging in memory forever and the action will never be run
oh i do I do
restructure the architecture so you don't need destructors/finalisers
it is already this way but this way is prone to more mistakes by the developer
casually running into Jon Skeet answer
https://stackoverflow.com/questions/7773872/java-disposable-pattern
does the language you're working in have an equivalent of Python's with?
java seems to have something like this
try (PrintWriter writer = new PrintWriter(new File("test.txt"))) {
writer.println("Hello World");
}
and C# has using for IDisposable
if the program logic depends on complex logic in destructors, it's probably too complicated
especially IO
!pypi Rabbit-in-a-blender
> ... are very complex and are mainly crafted by highly skilled data engineers
so many acronyms
Extract-Transform-Load (ETL) processes are very complex and are mainly crafted by highly skilled data engineers. The process of transforming the electronic medical record (EMR) data into the observational medical outcomes partnership (OMOP) common data model (CDM) is no exception. The mapping process of the source values to standard concepts is mostly done by subject matter experts, who lack the knowledge of programming the ETL process. Wouldn’t it be nice if we could drastically simplify the ETL process, so that you don’t need seasoned data engineers to start the OMOP CDM journey. Imagine that you just save your queries, Usagi comma separated value (CSV) text files and custom concept CSV’s on disk, and run a command line interface (CLI) tool that does all the ETL magic automatically.
gtg
Didn't realize Japan held the most US debt out of all the countries
?
That tracks
You're the one getting high on your own supply
interview in 15 mins
Goog?
Ah, sorry to hear that
Oh right right
BP is?
I mean yeah
It's oil
Do you know the tech you'd be working with?
So if you introduced yourself, could you say "LP, BP"?
I'd be so ashamed that I work for that company
LP, BP, DP enthusiast
Wassup Fam 🙂
Hey Hemlock, how is it going?
Alright so far
@zenith radish Let me know how it goes
Well, I guess it is not about paying the complete amount of money everytime you own a debt. There may be ups and downs. Those would be neglected. Sometimes it is about the facilities provided by the either countries. They provide you with resources and stuff. And the government does accept it.
Right
If it was me, I'd select USA right now. China is fucking us up, Russia is fucked up already with the war and shit. USA seems stable until Mr. SisterLovingIceCreamLoving dude causes any hassle.
"Child Loving"?
Ok not Child, "SisterLoving"
Hadn't heard these allegations
Him winning Alabama, makes real sense.
I mean ice cream hell yes
I don't really wanna talk about Biden Rn, I really feel Trump was waaaaayyy better than him in all ways.
After Bill Clinton, Biden is in the list of my rating of the Worst Presidents of the USA.
immediately proceeds to talk about him

But we're all still for ice cream, ja?
Oh my god
I just had an idea
I had forgotten (well, only just put it as an option for this) that you can use SQLite entirely in memory
@small nova Your internet is intermittently shit.
Sorry, I got to fix it in a min.
I got what you were saying at least
Yeah, fixed it.
But yeah, you were being pulled into the matrix
Sorry man, didn't notice that.
Hard to notice
The bathing in it should be allowed and protected provided the cleanliness of the water is sufficient.
In Zod We Trust
In God We Trust
^^^^ copyright infringement
God that outfit must have been so sweaty
If the cleanliness of the waters is insufficient, people should be prohibited.
Dude, people's water source in a few places are completely relying on the Ganges and it is indeed a hazard.
my favourite meme on that topic
tbh, this on its own is generally applicable to Rust
wait, what
it was officialised country-level only in 1956, seems like
before that it was 1864 with coins/notes
unless RAM/CPU are an issue, should be fine
Graduated High School finally!
Is a laptop GPU enough to train AI models?
I probably be getting the 6900HX and 16gigs of LPDDR5
Isn't training in the cloud faster?

if you want some production-level result, then rent
for learning, local should be enough
I've been doing that for some while, would love to work on point physically
I mean, UNI does have its own PCs for that. These be for my personal Projects
I don't really wanna get an AMD one and try figuring out the problems.
like
if it's anything nvidia and not outdated, it probably is okay
in Nvidia I trust
Aight cool then, thanks!
How long does it take to train a decent Image recognition model?
Bro, I am gonna build a 3ds then, I just really want one!
A few hours?
depends
The last time I trained one, was on a GTX 1080 laptop about 6 years ago. And it took over 6 hours just to retrain the last layer to get some decent result.
Well, I trained a model to recognize images made by AI and normal images from the web, I did it on an inbuilt graphics Laptop and I pretty sure fucked it up.
It was an i7 8th gen with 16gigs of DDR4 ram and UHD 630 I believe.
That's my pc right now. Plus a 1070ti.
@rugged tundra https://grip6.com/
When you make database load mistake and it takes 45 minutes to clean up your mess. Good job Rabbit!
use sqlite3
NO, I WILL USE COSMOSDB!
Meehhhhh I'm back to trying to figure out if it's worth using an ORM
COSMOSDB!
Hemlock wants a YesSQL solution
it has SQL
The Microsoft Azure CosmosDB Table API has been deprecated and replaced with Azure.Data.Tables
I is confused
Ignore it
Fair
I'm bringing you into the fold
Why? It's a database you don't have to put up with. I'm expanding your mind!
I'll look at it at least
Only reason I say odd choice is because this'll be a local client for now
So is mine. INTERNET IS VAST!!!!!
Need to make proof of concept so I can p- true
or just use SQLite, rabbit doesn't care
I'm looking into it
SSRI's and SNRI's
Cosmos just looks like way overkill for my use case right now
I wonder if "usecase" will ever become one word
@lunar haven yo
i dont want to disturb the conversation but what is call the roman legion armour?
leeny N C
Lynn Nicks
@vivid palm You're having to pull someone from outside the company to do the project?
right
actual experts in our CRM
otherwise it's me and my boss guessing blindly, hitting roadblocks in our googling of their forums and being frustrated by its limitations
finally got the boss to break down and OK getting outside help kek
Are you not able to hire from the vendor?
Would think they'd have additional trainings or support through them
@frail jetty #career-advice would be better able to answer
the vendor does not provide direct support, that's their business model
instead have a billion partners, many of whom are trash
woah i just heard my laptop fan go off for the first time and it sounds weird
like a hum/sigh
long exhale o_O
HA
Zoho?
Yeah
😶
Hi
hello fakous
With python?
Hi
Not at the moment. Writing up a proposal for work as to which password manager we should we should use for the business
py -3.7
C:\User\user\appdata\roaming\Python\Python310\python.exe filename.py
So goooood
apparently a midwestern chain, aladdin's eatery
Wonder if they'll creep over here
!tvmute 1053732836693258391 1d You've been told multiple times to stop making so much noise into your mic. This includes chewing, typing, mic rubbing, and other background noises. Make sure that you're muted, Krisp is on, or you're using push to talk. If you can't control the noise, you will lose your permissions permanently.
:incoming_envelope: :ok_hand: applied voice mute to @turbid sandal until <t:1684950742:f> (1 day).
unfinished business
in therapy and counseling, the personal experiences that have been blocked or tasks that have been avoided because of feared emotional or interpersonal effects. Many therapists believe that people have an urge to complete unfinished business in order to achieve satisfaction and peace. Those working with the dying and their families believe that dealing with unfinished business is an important aspect of the dying and grieving processes.
This list shows the government education expenditure of various countries in % of GDP (1989–2019).
I sneeze. I sneeze again. I sneeze forever.
Yea, this graph is ignoring how much hospital care is going towards actual care vs paper monkeys
Better, perhaps, to pay per monkey vs paying per unit measure of monkey.
cargo culting
A cargo cult is a Melanesian indigenist millenarian belief system, often characterised as one in which adherents perform rituals which they believe will cause a more technologically advanced society to deliver goods. The consensus amongst scholars is however more nuanced, noting that such movements have to be understood as counter-colonial react...
That was the most pleasant vendor call I've ever had
Dude was pretty cool
Vendor was for: https://www.keepersecurity.com/
if the student suffers through the process -- probably not a good education
maths (proper mathematics not just arithmetics) involves learning to read, understand, write, explain too
Sure, so math actually important or is the reading?
reading is more important as it is a requirement to being good at maths
Quiz first, lesson after.
Yeah true
whaa
whaa
whoooah
it sure is lively here today
sorry had to take a call
Im making zelda rn
Oh cool. Using what?
leftpad is cursed
Never heard of it
(or rightpad, not sure)
the thing it got replaced with is extremely bad
pygame
s
it was bad and confusing
it got pulled from npm, for some different reasons
someone else reclaimed the package name
code became worse
Hope he's worth the cost
s
not a solo dev
yeah he was just on it/understood everything i was asking for and it's like their bread and butter and have done it a million times before
Sounds like a no-brainer
Crossbow silencer.
HA
Catapult silencer.
it's not in all servers
Set of cake knives.
idk how much self-taught I am
I just know I definitely don't have enough skills to get hired
but there are way more serious reasons why I can't be hired so I'm not that worried about it
SERVER
Reason:
Testing Stuff
Staff Member: </dev>
Reason:
Testing Stuff
Punishment:
Doing nothing bad just testing
Member in qustion: OpalMist
Go to The Rules
The Code of Conduct for our community.
#bot-commands
Hired for what?
@turbid sandal As I said out loud, do it in #bot-commands or your own server. Don't drop it in chat where people are currently talking
skill-wise, for software engineering
"serious reasons" for any non-gray-area full-time employment, for now
For the first point. You sound way too knowledgeable though. At least more than me.
I can't legally get hired, I don't have documents necessary
Like work permits?
How's it going all 😄
Good, you?
Good. Just been doing housework all day
Hello
I had an opportunity to get one of the most respected degrees in the country without paying for it
but I quit for reasons unrelated to the university itself
All o'y'all'd've.


> <=
=<
(╯°□°)╯︵ ┻━┻
any language other than Erlang?
a->b
deitel
misfortune 500 company
there's also difference between OOP patterns and "OOP patterns"
second being just cargo culting
each pattern has a limited area of applicability
they are tools to solve certain problems
"for example, for the singleton pattern that area is an empty set"
it's misused too often compared to other ones
(it's obviously not entirely true, that's why quotes)
@empty osprey https://github.com/Exahilosys/survey
sometimes I think inline type hints might be less-than-perfect idea
Can a cached function behave the same way as a singleton?
in Python?
Python is almost totally fine with singleton-like constructs because of how it handles execution
including the existence of GIL
!d contextvars
This module provides APIs to manage, store, and access context-local state. The ContextVar class is used to declare and work with Context Variables. The copy_context() function and the Context class should be used to manage the current context in asynchronous frameworks.
Context managers that have state should use Context Variables instead of threading.local() to prevent their state from bleeding to other code unexpectedly, when used in concurrent code.
See also PEP 567 for additional details.
New in version 3.7.
also this
Jupyter python questions. I have 8 blocks doing ML. In this photo I have copied the start of each block where the model and model name are declared. The code of each ML block (blue squiggle arrow) is exactly the same, and 230 lines long. How I can change the 8 seperate blocks into a loop or function?
or, is there a way in Jupyter where I can have one block run specific blocks? idk how to do block references like "run only blocks 1,2,3, 47,48,49,...56,57, and58"
otherwise I have to comment out everything I don't want to run.
as for proper reasons:
singleton is based on the assumption that there is always only one instance of the object;
using it for mutable objects invites all sort of failures, because you basically have a mutable reference from everywhere;
testing becomes more difficult (even though some languages will make the disadvantages less significant)
does anything at all change between those blocks?
if no, then probably just wrap it in a for loop
no. it just runs a bunch of ML math and then appends it to a results file
for _ in range(STEPS):
# repeated code here
right but how do I put this into the loop header?
you put each model definition in a separate function that would return that model
then have model = log_reg_model() after function definitions
oh
you need both
then return both modellingType and model
right
so i guess I'm tring to do a loop, with a few unique lines run ahead of each time.
def log_reg_model():
return "LogisticRegression", LogisticRegression()
modellingType, model = log_reg_model()
that doesnt work in the ensemble approach
how would I encode that?
modelingType = "Ensemble-RF-DT-KNN3-LR"
clf1=RandomForestClassifier(n_estimators=100,random_state=0)
clf2=DecisionTreeClassifier()
clf3=KNeighborsClassifier(n_neighbors=3)
clf4=LogisticRegression()
model=VotingClassifier(estimators=[('RF',clf1),('DT',clf2),('KNN3',clf3),('LR',clf4)], voting='soft')```
Who has two thumbs and is fighting a migraine? This guy
def ensemble_model()
modelingType = "Ensemble-RF-DT-KNN3-LR"
clf1 = RandomForestClassifier(n_estimators=100,random_state=0)
clf2 = DecisionTreeClassifier()
clf3 = KNeighborsClassifier(n_neighbors=3)
clf4 = LogisticRegression()
model = VotingClassifier(estimators=[('RF',clf1),('DT',clf2),('KNN3',clf3),('LR',clf4)], voting='soft')
return modellingType, model
oh of course def
there's a little bit of name shadowing happening
but should be okay generally
another way would be this but it looks worse
def ensemble_model()
clf1 = RandomForestClassifier(n_estimators=100,random_state=0)
clf2 = DecisionTreeClassifier()
clf3 = KNeighborsClassifier(n_neighbors=3)
clf4 = LogisticRegression()
return "Ensemble-RF-DT-KNN3-LR", VotingClassifier(estimators=[('RF',clf1),('DT',clf2),('KNN3',clf3),('LR',clf4)], voting='soft')
I ran it the other direction:
#LR
#make Model
modelingType = "LogisticRegression"
model = LogisticRegression()
run_ml(model, modelingType)
#removed some lines for brevity
#NB
modelingType = "NB"
model= GaussianNB()
run_ml(model, modelingType)
#Ensemble
modelingType = "Ensemble-RF-DT-KNN3-LR"
clf1=RandomForestClassifier(n_estimators=100,random_state=0)
clf2=DecisionTreeClassifier()
clf3=KNeighborsClassifier(n_neighbors=3)
clf4=LogisticRegression()
model=VotingClassifier(estimators=[('RF',clf1),('DT',clf2),('KNN3',clf3),('LR',clf4)], voting='soft')
run_ml(model, modelingType)```
How are you getting encoding in your posts @vocal basin ?
run_ml() is the uniform code.
```py
code
```
#make Model
modelingType = "Ensemble-RF-DT-KNN3-LR"
clf1=RandomForestClassifier(n_estimators=100,random_state=0)
clf2=DecisionTreeClassifier()
clf3=KNeighborsClassifier(n_neighbors=3)
clf4=LogisticRegression()
model=VotingClassifier(estimators=[('RF',clf1),('DT',clf2),('KNN3',clf3),('LR',clf4)], voting='soft')
run_ml(model, modelingType)
run_ml(model, modelingType) is always working the same way already, seems like
Pythagorean theorem or Pythagoras' theorem
both variants are valid
this is so cryptic...
https://gist.github.com/afeistel/2042bbec4f0446a38f2399759e11d194
peak naming so far
(stuff being a verb)
hello
Is it stuffing something into another thing?
can you add @ key to this code
?
yes, exactly, that's the whole excuse for having it as a name
Future[Success] | Error -> Future[Success | Error]
you can stuff stuff an error into a future but you can't pull it out without waiting
That feels weird
!d functools.partial
functools.partial(func, /, *args, **keywords)```
Return a new [partial object](https://docs.python.org/3/library/functools.html#partial-objects) which when called will behave like *func* called with the positional arguments *args* and keyword arguments *keywords*. If more arguments are supplied to the call, they are appended to *args*. If additional keyword arguments are supplied, they extend and override *keywords*. Roughly equivalent to:
```py
def partial(func, /, *args, **keywords):
def newfunc(*fargs, **fkeywords):
newkeywords = {**keywords, **fkeywords}
return func(*args, *fargs, **newkeywords)
newfunc.func = func
newfunc.args = args
newfunc.keywords = keywords
return newfunc
I have one coding, I want to write @ sign in the coding but I can't do it, can you help me?
you mean you can't use @ in code blocks?
@slim otter We're already talking about it in here
You can use @ in a string, but it's a reserved character otherwise
It's used to denote decorators in Python
Variable names and the like need to be alphanumeric
!e
some.user@example.com
@vocal basin :x: Your 3.11 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 1, in <module>
003 | some.user@example.com
004 | ^^^^
005 | NameError: name 'some' is not defined
it parses
!e
users@example.com
@rugged root :x: Your 3.11 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 1, in <module>
003 | users@example.com
004 | ^^^^^
005 | NameError: name 'users' is not defined
Dafuq?
!d operator.matmul
operator.matmul(a, b)``````py
operator.__matmul__(a, b)```
Return `a @ b`.
New in version 3.5.
ohhhh
yea he needs to write something to initiate that tho no?
idk i forget how it works wiht nump
but that's not the definition of "stuff into something" that's used in the code that's linked
because I have two stuff methods doing different things
for maximal confusion
got it
the thing there would be something like:
Future[Success | Error] -> TryFuture[Success, Error]
and unstuff is the arrow going the other way
this has unstuff defined for it too
but the thing being stuffed into something else is a different one
@empty osprey Why not ask your manager for advice?
I gotta head to bed but don't wanna interrupt, gn yall
hot take, could it be more of a soft skills thing? Is your only relationship with your co-coders a disagreement? @empty osprey
think of it from a stress perspective. Would your preference add stress to the project for them?
@empty osprey if you can make a financial costs argument and measure it in terms of operational hours * salary per hour, state it that way. if a large refactor isnt worth it, then move on.
Does anyone know how I can visualize sound output with RGB
gnome-shell --version
GNOME Shell 3.38.6
if n <= 0:
print("Please enter a positive integer.")
return []
sequence = [0, 1]
while len(sequence) < n:
next_number = sequence[-1] + sequence[-2]
sequence.append(next_number)
return sequence
length = int(input("Enter the length of the Fibonacci sequence: "))
result = fibonacci(length)
if result:
print(result)
mind blowing
@lunar haven :white_check_mark: Your 3.11 eval job has completed with return code 0.
[0, 1, 1, 2, 3, 5, 8, 13, 21, 34]
If I am doing binary classification on a lexical dataset, can anyone critique my configurations of these learners? ```py
#runs all working models
def run_the_algs():
#1.1 linear models
#1.1 make Model
modelingType = "LogisticRegression" # https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html#sklearn.linear_model.LogisticRegression
model = LogisticRegression()
run_ml(model, modelingType)
#1.2 Lindear and Quadratic Discriminant Analysis
#1.2 LDA:
modelingType = "LinearDiscriminantAnalysis"
model=LinearDiscriminantAnalysis() # https://scikit-learn.org/stable/modules/generated/sklearn.discriminant_analysis.LinearDiscriminantAnalysis.html#sklearn.discriminant_analysis.LinearDiscriminantAnalysis
run_ml(model, modelingType)
#1.4
#1.4 LinearSVC
modelingType = "LinearSVC" #https://scikit-learn.org/stable/modules/generated/sklearn.svm.LinearSVC.html#sklearn.svm.LinearSVC
model=LinearSVC(random_state=0, tol=1e-5)
run_ml(model, modelingType)
#1.4 SVM SVC RBF
modelingType = "SVM.SVC-rbf" # https://scikit-learn.org/stable/modules/svm.html#kernel-functions
model=svm.SVC(kernel='rbf', probability=True)
run_ml(model, modelingType)
#1.4 SVM SVC linear
modelingType = "SVM.SVC-linear" # https://scikit-learn.org/stable/modules/svm.html#kernel-functions
model=svm.SVC(kernel='linear', probability=True)
run_ml(model, modelingType)
#1.6 Nearest Neighbors
#1.6 KNN n3 Classification
modelingType = "KNeighborsClassifier3"
model=KNeighborsClassifier(n_neighbors=3) #https://scikit-learn.org/stable/modules/neighbors.html#neighborhood-components-analysis
run_ml(model, modelingType)
#1.6 NearestCentroid
modelingType = "NearestCentroid"
model=NearestCentroid() #https://scikit-learn.org/stable/modules/neighbors.html#nearest-neighbors-classification
run_ml(model, modelingType)
#1.9 Naive Bays
#1.9 NB
modelingType = "GaussianNB"
model= GaussianNB() #https://scikit-learn.org/stable/modules/naive_bayes.html#gaussian-naive-bayes
run_ml(model, modelingType)
#1.9 BernoulliNB
modelingType = "BernoulliNB"
model = BernoulliNB() #https://scikit-learn.org/stable/modules/generated/sklearn.naive_bayes.BernoulliNB.html#sklearn.naive_bayes.BernoulliNB
run_ml(model, modelingType)
#1.10 Decision Tree
#DecisionTreeClassifier
modelingType = "DecisionTreeClassifier"
model=DecisionTreeClassifier() #https://scikit-learn.org/stable/modules/tree.html#classification
run_ml(model, modelingType)
#1.11 Ensemble Methods:
#1.11 AdaBoost
modelingType = "AdaBoost"
model=AdaBoostClassifier(n_estimators=100) #https://scikit-learn.org/stable/modules/ensemble.html#adaboost
run_ml(model, modelingType)
#1.11 RF
modelingType = "RF"
model= RandomForestClassifier(n_estimators=100,random_state=0) #https://scikit-learn.org/stable/modules/ensemble.html#forests-of-randomized-trees
run_ml(model, modelingType)
#1.11 Ensemble
modelingType = "Ensemble-RF-DT-KNN3-LR"
clf1=RandomForestClassifier(n_estimators=100,random_state=0) # https://scikit-learn.org/stable/modules/ensemble.html#voting-classifier
clf2=DecisionTreeClassifier()
clf3=KNeighborsClassifier(n_neighbors=3)
clf4=LogisticRegression()
model=VotingClassifier(estimators=[('RF',clf1),('DT',clf2),('KNN3',clf3),('LR',clf4)], voting='soft')
run_ml(model, modelingType)
If you’re curious about how to protect people, organizations, and data from online threats, a rewarding career in the fast-growing field of cybersecurity is within reach. Learn more about the Google Cybersecurity Certificate at https://grow.google/cybersecurity. #GrowWithGoogle
The program, created by cybersecurity experts at Google, is designe...
BRB
Set-ExecutionPolicy Unrestricted -Scope CurrentUser
!e
print("*" * 20)
@wind raptor :white_check_mark: Your 3.11 eval job has completed with return code 0.
********************
hello
hola
question: why index starts at 0 not 1
i tried finding the asnwer last year
but...
it didnt clear my doubts
ah
thanks, i will check it out reading rn
makes sense now
thank you
lol
nah i love it but i didnt have the time to learn it... thikning to learn this summer
i dont like french
spanish is just 🔥 , idk why but i love it
yes, but many people are kinda afraid of asking so they tend to do research
on the subbreddit of python, people downvote beginners post that make them insecure to ask more questions
idk why but i dont use chatgpt for coding, i use it for other stuff tho
😅 i feel like i should do my own research but then i think im kinda w-r-o-n-g
it feels like my skills are becoming weak, i need to think more and more than asking chatgpt for the answer
people have an excuse "it SAVES time", it does but... it will also make u sh*t my opinion
So does spell checkers
in C, indexing is just syntactic sugar; afaik, the following three expressions are equivalent:
a[i]
*(a + i)
*(i + a)
i[a]
i used it it for my english essay for rechecking
notice how prevalent 1-indexing is for earlier languages
https://en.wikipedia.org/wiki/Comparison_of_programming_languages_(array)#Array_system_cross-reference_list
This comparison of programming languages (array) compares the features of array data structures or matrix processing for various computer programming languages.
what are you guys doin
plus watching ponzi scheme
rust? i will learn from the book
this summer maybe
Julia
okayyy
lmaoooooooo
🤣
yo
nvm
@somber heath
afterfile.write("{firstname}, {lastname}, {house}")
how can I add newline in there
i want to make a new line now
@lofty crater verify your facts first

ya dm me
sure
i mean just gotta add new line here and it's done
!e py lines = ['abc', 'def', 'ghi'] joined = '*'.join(lines) print(joined)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
abc*def*ghi
!e py print('abc\ndef\nghi')
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | abc
002 | def
003 | ghi
hey
!e py print(len('\n'))
afterfile.write("first, last, house"\n)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
1
like this ?
!verify
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
hi, i am literally first day learning to code with free code camp, can someone help me with sth real quick?
go for it
can i call u
yes, one sec
ofc bro thank you
sc 1: https://gyazo.com/47cb2235dfccefa01e7309d473c61d50
sc 2: https://gyazo.com/1411bcb0b2a02aa7a7ca16d2413e89cc
I am trying to indent, but the line isnt showing
the line which should be there since it is the same function
using space or tabs
then press space 4 times
then it shows up in the same line
for me when i do that it shows up in the same line
i appreciate the help very much btw, sorry for being such a noob
yes ^^
notepad++ is my preferred editor
but u might want to try vscode
vscode is integrated with python so u can run the code from / in the ide
notepad++ is just a text editor
ie. edit in notepad++
yeah im using replit.com because thats what the dude is using in the tutorial
i was trying to just copy it word for word, but like i said, i cant indent (which i thought was just enter key)
i hate web editors / online apps
ill check out the options you mentioned tho
im just doing it like this for the first lesson
cuz i wanted to copy him like i said
thier existense is a mistake
https://www.youtube.com/watch?v=eWRfhZUzrAc
referring to this video
Learn the Python programming language in this full course for beginners! You will learn the fundamentals of Python and code two Python programs line-by-line. No previous programming experience is necessary before watching this course.
🔗 Start using Replit: https://join.replit.com/python-students
✏️ Beau Carnes developed this course. Check out ...
but is there seriously no global indent key which is the same for every software?
yeah bro i will but it doesnt work on replit.com
Build and Run your code instantly. Online-Ide is a quick and easy tool that helps you to build, compile, test your programs online.
Considered a cornerstone of hacker culture,[5] the Manifesto asserts that there is a point to hacking that supersedes selfish desires to exploit or harm other people, and that technology should be used to expand our horizons and try to keep the world free.
replit.com is bugging then, cuz it works on online ide
ty bro
Back on in a sec
Would that be your ear end?
@brittle pewter 👋
⌚
@rugged root
!e
inventory = {
"bandage": 8,
"potion": 3,
"ham sandwich": 5
}
print(f"You have just used a {inventory.get('ham sandwich')}.")
print(inventory.get("gandershnozel"))
@rugged root :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | You have just used a 5.
002 | None
ganderschnozel
!e
inventory = {
"bandage": 8,
"potion": 3,
"ham sandwich": 5
}
user_input = "ham sandwich"
print(f"You have just used a {user_input} and now have {inventory.get(user_input) - 1} left.")
inventory[user_input] -= 1
print(inventory.get("gandershnozel"))
@rugged root :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | You have just used a ham sandwich and now have 4 left.
002 | None
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
@wind raptor
func Handler(conn *websocket.Conn) {
var (
messageType int
data []byte
err error
)
for {
messageType, data, err = conn.ReadMessage()
if err != nil {
utils.Logger.Errorf(
"Error reading websocket frame: %s",
err,
)
break
}
responseData := handleMessage(messageType, data)
err = conn.WriteMessage(messageType, responseData)
if err != nil {
utils.Logger.Errorf("Error writing websocket frame: %s", err)
break
}
}
}
do u like?
I don't hate it
Nice!
it's per session btw
Right right
the wind noise 
im sorry
why am i being a little canadian 💀
@long iron I'm sorry. It was killing me.
Program structure. Functions and classes. Principle of single responsibility. Every function/method you write should have one responsibility and, as such, not take up more than a few lines each. Build large things from medium things. Build medium things from small things. Build small things from tiny things.
like?
Why do you need nested ifs?
That sounds like story as code.
Which is what I was talking about data-driven stuff.
no
not data driven stuff
If you code story in your Python, you're going to have a bad time.
@brittle snow Hello
!e
import time
t1 = time.time()
time.sleep(1.36)
t2 = time.time()
print(t2 - t1)
@wind raptor :white_check_mark: Your 3.11 eval job has completed with return code 0.
1.360088586807251
@long iron
@maiden skiff Yo
sudo apt-get install brain```
Download the latest version of Krita for FREE on your device. Available on Windows, Linux, macOS, and Android tablets.
!stream 189200135278952450
✅ @graceful grail can now stream until <t:1684941026:f>.
u used to have a parrot profile pic?
Would the feminine of Manjaro be Ma'amjaro?
News and feature lists of Linux and BSD distributions.
hiiii
cuz u that braindead guy who doesnt know how to code "C" and begging everyone else in coding den
not sure who you are, but it seems like you are the one who I banned some months ago ?

Please don't shit start here
some years ago yeah
wont dw
If you have beef from another server, don't bring it here
idc
not tried react yet
@lucid blade It's nice to be able to access the internet out the gate. Not all computers have wired ethernet nics.
I've done it, but it's still a pain.
@lucid blade ur name should be 8086 instead
tbh
@graceful grail make it 1337l1nc0xh4x0r
if I have a few hundred blocks of code in Jupyter, is there a cmd I can run to run blocks at explicit indexes?
like lets say I just want to run blocks at index 1,2,3,10,11, and 80.
I think you'd have to just activate them manually, right?
I can. idk if I could reduce down to just one button click.
roland sp-540v
Ah good question. Not sure, unfortunately. Never really dealt with Jupyter
Isn't this the plot of Mr and Mrs Smith 
@daring sail If you're wondering why you can't talk, check out #voice-verification channel. That'll tell you what you need to know about the voice gate
Dismissing or laughing off concerns about what it does to a person to know critical secrets does not lessen the impact when those secrets build a different map of reality than "normals" use and one has to calibrate narratives to what another believes. The cognitive dissonance that inevitably causes is managed by some with denial who live as if r...
Gotta love that
But somehow gets really great interviewees 
plz delete... I'm cringing.
I'll stop 😄
So good
The alternative is you pay for banking services.
So if a bank has $1000, and you currently have $100. You borrow from the bank $200, and spend it. The bank wants $250 back. That's a brand new $50 in the system
And that new $50 is meant to go right back to the bank
So it's entirely for them to make new and more money for themselves
or £50 out of the system
I mean, paying for a current account rather than receiving interest.
brb
wagwan
Depends I think on the elasticity of demand for software.
Erm what lol

Hemlock, would you say you're frugal? 😄
¯_(ツ)_/¯
he doesn't buy nitro
I mean hell, I bought wireless earbuds last night on a whim
But I do need to be way way way better about it
for some reason im thinking to buy all the old rockstar games and end them again 😅 this year
whats ya fav game btw?
If I was trapped on a desert island and I HAD to pick one
then...
Honestly might be Super Mario RPG for the SNES
On which?
out of curiosty
ps
i never did either but... i loved a few games so i wanted to "do" something then i trophy hunted

so ppl get annoyed by that join sound notification of discord :)
see ya ppl
Back later 👋
thx let mecheck
postdoc resume for industry sample
what library? which GPU?
Stability or stabability? You decide!
GeoFS is a free flight simulator using global satellite images and running in your web browser or as a mobile app. Realistic and multiplayer, GeoFS provides real-life commercial traffic (ADS-B) and local weather conditions wherever you fly in the world.
!code
!e
from datetime import datetime
while True:
now,reason = datetime.now(), str(input("Reason: "))
staff_member = str(input("Staff Member: "))
member = input("Member: ")
punish = input("Punishment: ")
print(f"** # SERVER\n\nStaff Member: {staff_member}\n\nReason:**\n> {reason}\n\n**Punishment:\n {punish}\n\nMember in qustion: {member}\nGo to https://example.com/test **")
@turbid sandal :x: Your 3.11 eval job has completed with return code 1.
:warning: Note: input is not supported by the bot :warning:
001 | Reason: Traceback (most recent call last):
002 | File "/home/main.py", line 3, in <module>
003 | now,reason = datetime.now(), str(input("Reason: "))
004 | ^^^^^^^^^^^^^^^^^
005 | EOFError: EOF when reading a line
A United Kingdom is a 2016 biographical romantic drama film directed by Amma Asante and written by Guy Hibbert, based on the true-life romance of Seretse Khama, heir to the throne of the Bangwato Tribe in Serowe – one of many tribes found in then Bechuanaland Protectorate –, with his wife Ruth Williams Khama. David Oyelowo and Rosamund Pike port...
@vernal bridge Just to make sure the hello is known
@whole bear And hello to you as well good sir
Also, how're you?
(That was to LG)
@willow light gnome chomp ski
I'm on-call so I gotta dip
@quasi condor Sup
was that a movie stream @turbid sandal ? if so don't post those
then send thru DM
do you understand why sending pirated movie links would not be allowed here?
@quasi condor Got a one track mind, you do
I have a question
Sup
are startups like stable diffusion or midjourney owned by individual peoples?
select id, name, max(load_date) as latest_load_date
from table
group by id, name
order by id, name
see you later guys gtg meeting
Was it Da Vinci that wrote right to left?
Heya @rugged root Hope you're doing well
yes, I used to do that too because I am left, but then school won't accept that :P
For those in search of an easy to use home or office label printer, the P touch PTD210 should be on your wish list. The Brother P touch PT D210 makes it easy to create great looking labels for your home and home office. With its convenient one touch keys, you can quickly access fonts, symbols, fr...
It's mostly to just not have ink or graphite all over your hand, right?
yes and its convenient
