#voice-chat-text-0
1 messages · Page 116 of 1
West Coast gang?
people in dubai are assholes
Sand rails are cool too, but you can do that in oregon
Canada is less time
just meet in-between in Iceland/Greenland
Larry Arnold Wall (born September 27, 1954) is an American computer programmer and author. He created the Perl programming language.
Wall is a linguist, programmer, and author who grew up in Los Angeles and Washington before attending Seattle Pacific University. He later pursued graduate studies in linguistics at the University of California, Be...
are you extracting video from mp4?
LOL
correct
WOW why do you say that?!
it has its place for sure
As long as the program is designed properly, it shouldn't be too difficult to change?
LOL TRUTH!
THATS AN IDEOLOGY!
it has its purpose for sure, its not always required, sometimes it makes the most sense intuitively too.
no you can use base classes
yeah
tf did I just join
just tryna hear some coding shit
u man tryna do up match maker
LOOOOOOL
rejected both
just use a bunch of if statements and call it fuzzy logic.
?
sure
yes
print("".join([x.replace(a,b)for a,b in (":slight_smile:",":)",":loud_laugh","XD","stuck_out_tongue",":p")][-1]))
print("".join([(":slight_smile:", ":)"), (":loud_laugh:", "XD"), (":stuck_out_tongue:", ":p")][-1]).replace(":slight_smile:", ":)"))
b=input();x=(":slight_smile:",":)",":loud_laugh","XD","stuck_out_tongue",":p");print([b.replace(x[i],x[i+1]) for i in range(0,len(x)-1,2)][-1])
emoticons = ["🙂", ":loud_laugh:", "😛"]
replacements = [":)", "XD", ":p"]
text = ''
print("".join(x.replace(a, b) for x in [text] for a, b in zip(emoticons, replacements)))
@thin breach :x: Your 3.11 eval job has completed with return code 1.
001 | File "/home/main.py", line 1
002 | [#voice-chat-text-0 message](/guild/267624335836053506/channel/412357430186344448/)
003 | ^^
004 | SyntaxError: invalid syntax
!e print("".join([x.replace(a,b)for a,b in ("🙂",":)",":loud_laugh","XD","stuck_out_tongue",":p")][-1]))
@thin breach :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 | print("".join([x.replace(a,b)for a,b in ("🙂",":)",":loud_laugh","XD","stuck_out_tongue",":p")][-1]))
004 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
005 | File "/home/main.py", line 1, in <listcomp>
006 | print("".join([x.replace(a,b)for a,b in ("🙂",":)",":loud_laugh","XD","stuck_out_tongue",":p")][-1]))
007 | ^^^
008 | ValueError: not enough values to unpack (expected 2, got 1)
!e
emoticons = ["🙂", ":loud_laugh:", "😛"]
replacements = [":)", "XD", ":p"]
text = ''
print("".join(x.replace(a, b) for x in [text] for a, b in zip(emoticons, replacements)))
emoticons = [":slight_smile:", ":loud_laugh:", ":stuck_out_tongue:"]
replacements = [":)", "XD", ":p"]
text = "Hello there! :slight_smile: How are you today? :loud_laugh:"
print("".join(x.replace(a, b) for x in [text] for a, b in zip(emoticons, replacements)))
!e emoticons = ["🙂", ":loud_laugh:", "😛"]
replacements = [":)", "XD", ":p"]
text = "Hello there! 🙂 How are you today? :loud_laugh:"
print("".join(x.replace(a, b) for x in [text] for a, b in zip(emoticons, replacements)))
@half orbit :white_check_mark: Your 3.11 eval job has completed with return code 0.
Hello there! :) How are you today? :loud_laugh:Hello there! 🙂 How are you today? XDHello there! 🙂 How are you today? :loud_laugh:
!e emoticons = ["🙂", "😆 ", "😛"]
replacements = [":)", "XD", ":p"]
text = "Hello there! 🙂 How are you today? 😆 "
print("".join(x.replace(a, b) for x in [text] for a, b in zip(emoticons, replacements)))
@thin breach :white_check_mark: Your 3.11 eval job has completed with return code 0.
Hello there! :) How are you today? 😆 Hello there! 🙂 How are you today? XDHello there! 🙂 How are you today? 😆
!e
# graphs a graph on a given domain
import math
domain = [-11,25]
def y_eq(x):
return 5*x
# code (don't touch)
x_range = range(domain[0],domain[1]+1)
y = []
for x in x_range:
y.append(y_eq(x))
# round up
for i in range(0, len(y)):
y[i] = -round(-y[i]-0.5)
#test for imaginary
for i in range(len(y)):
if isinstance(y[i], complex):
y[i] = -1000
graph_height = range(int(max(y)), int(min(y)-1), -1)
for row in graph_height:
line = ""
for col in range(0, len(x_range)):
if y[col] == row:
line += "*"
elif col+domain[0] == 0:
line += "|"
elif row == 0:
line+= "-"
else:
line += " "
print(line)
@thin breach :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | | *
002 | |
003 | |
004 | |
005 | |
006 | |
007 | | *
008 | |
009 | |
010 | |
011 | | *
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/vumatucowe.txt?noredirect
import numpy as np
from sklearn.datasets import load_files
from sklearn.feature_extraction.text import CountVectorizer
from sklearn.model_selection import train_test_split
from sklearn.naive_bayes import MultinomialNB
from sklearn.metrics import accuracy_score, classification_report
Load sample movie review dataset
def load_movie_reviews_dataset():
return load_files('txt_sentoken', categories=['pos', 'neg'])
Preprocess the text data and convert it to a numeric format
def preprocess_data(data):
vectorizer = CountVectorizer(stop_words='english')
return vectorizer.fit_transform(data)
Train a Naive Bayes classifier
def train_classifier(X_train, y_train):
clf = MultinomialNB()
clf.fit(X_train, y_train)
return clf
Evaluate the classifier
def evaluate_classifier(clf, X_test, y_test):
y_pred = clf.predict(X_test)
accuracy = accuracy_score(y_test, y_pred)
print(f"Accuracy: {accuracy:.4f}")
print("\nClassification Report:")
print(classification_report(y_test, y_pred))
if name == 'main':
# Load the dataset
dataset = load_movie_reviews_dataset()
X, y = dataset.data, dataset.target
# Preprocess the data
X_preprocessed = preprocess_data(X)
# Split the data into train and test sets
X_train, X_test, y_train, y_test = train_test_split(X_preprocessed, y, test_size=0.25, random_state=42)
# Train the classifier
clf = train_classifier(X_train, y_train)
# Evaluate the classifier
evaluate_classifier(clf, X_test, y_test)
LOL
In the theory of computation, a branch of theoretical computer science, a pushdown automaton (PDA) is
a type of automaton that employs a stack.
Pushdown automata are used in theories about what can be computed by machines. They are more capable than finite-state machines but less capable than Turing machines (see below).
Deterministic pushdow...
oh my bad
!e
for i in range(4):
print("https://media.discordapp.net/attachments/653214871558553620/742547465881911356/image0-4.gif")
@thin breach :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | https://media.discordapp.net/attachments/653214871558553620/742547465881911356/image0-4.gif
002 | https://media.discordapp.net/attachments/653214871558553620/742547465881911356/image0-4.gif
003 | https://media.discordapp.net/attachments/653214871558553620/742547465881911356/image0-4.gif
004 | https://media.discordapp.net/attachments/653214871558553620/742547465881911356/image0-4.gif
pycharm?
may i ask if you're using a venv?
I am
what version of sklearn?
what is the error
and what python version
3.11
lemme load my thing
3.11.1? .2?
try it with the --no-cached-dir
with the pip install
or try the.. python -m pip install scikitlearn
pip install scikit-learn
already got that in there
--no-cache-dir
@quiet lance 👋
👋
Good morning everyone
@icy cairn 👋
@stable spade 👋
Hey
How are you all doing?
I wanted to know something regarding django
can I ask here?
thanks for the suggestion. I surely will do that.
Can I speak?
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
hey where is mustaf?
I want more gfx talk
lol, me too..
was listening to him all night, no idea why
fun stuff
yes
@whole bear 👋
brb
so this is all python, yeah?
Actually what I was asking is that like in SQL databases, we have Stored Procedures where one can perform crud operations using multiple tables and columns returned from the previous table can be used in the next one. So in django, does it have a functionality like this?
some ORMs support chain of queries
SQLAlchemy definitely does
Django ORM probably does idk
Hi
hello
@slim nexus 👋
i wonder if there are any perl 6 wrappers out there
python
does anyone happen to know if there's any x86 emulators compatible with m2? I'm having the hardest time getting hunspell to work proper on ventura (and all kinds of other ml stuff)
thing I made was already mostly spending time in C (numpy back-end)
@mental kayak @heady crag @fading kindle @safe peak 👋
the only way I make it faster is using SIMD
it's already multiprocessed, so can't expand in that direction
@rough stratus 👋
max/min macros are wrong for a different reason
they double-evaluate the returned result
better to use inline functions
@whole bear 👋
@verbal zenith also, you're not using parentheses inside macro definition
Hello
should be something like that instead
#define max(a,b) ((a)<(b)?(b):(a))
Ooh
this one is harder to break accidentally
@raw hazel 👋

max(1,max(2,max(3,f()))) with a macro might call f() 4 times
max(1,max(2,max(3,f())))
1<max(2,max(3,f()))?max(2,max(3,f())):1
1<(2<max(3,f())?max(3,f()):2)?(2<max(3,f())?max(3,f()):2):1
1<(2<(3<f()?f():3)?(3<f()?f():3):2)?(2<(3<f()?f():3)?(3<f()?f():3):2):1
woohoo, solved my first test case, but mistakenly did it in perl since something seemed wrong with python 😦
"You passed all tests, submit now to validate your solution"
gotta have rights to speak I guess
wonder how irc is doing these days, it's been a minute lol
short-term: moderator needs to be in VC to make sure you stream appropriate things
long-term: Hemlock
Tsup
🙂
nice, thanks for that info
write in Rust
I should learn some rust, I've been putting it aside longer than c++
these problems are hard though
messing with the AI problems
if you're going for performance, you'd probably want to use array lists not linked lists
and for queues it'd be a circular buffer or something similar
!e
value = "B"
match value:
case "A":
print(1)
case "B":
print(2)
case _:
print(3)
@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.
2
ok thank
but if if-elif-else chain uses quite complex conditions and is linear in structure, it could probably be better to keep it the way it is
Python Enhancement Proposals (PEPs)
for multiple condition this always feels the best way.
it's important to remember the semantic difference between cases and conditions
could you explain the difference
if and switch both are conditional statements right
cases are expected to overlap less often
and if they do, it's usually marked explicitly somehow and/or is easier to see
reordering of cases should matter less than reordering of conditions
which is faster match or ifelse
usually, if-else
hmm if else would be more linear right. is match also evaluated linearly fashion
might be asking stupid question.
they are equivalent for the most part
match allows extracting parts of the data more concisely -- that's where it's quite helpful
if-elif-else can be replicated using case _ if ...:
do you have any good resource for python metaclasses ( can't wrap my head around it).
https://www.youtube.com/watch?v=VjP90rwpBwU
has anyone tried making 3d animations like this in python
Visualization and explanation of the Lorenz Attractor (an example of a strange attractor) from the documentary "Weather and Chaos: The Work of Edward N. Lorenz." Full movie and credits: https://vimeo.com/287523707
tried the 2d version of it using turtle hehe
what is class in python using for ?
i feel a bit confused about it :"))
like def?
still an error?
hi
how is the list defined, again?
(struct)
so, ArrayList
where do "freeing..." messages come from?
how is push implemented?
I don't yet understand where ...50 comes from
are there any allocations that return that address?
@verbal zenith why are you doing *(list->val)+i and not *(list->val+i)?
it should just be list->val[i]
same as how list->val[i] was set
minesweepering
https://minesweeper.online/game/2185129241
Good job
What kinds of things are usually streamed here?
Is there any specific context or topic? That was all C, no python, so
usually just coding
sometimes people like verboof/Osyra stream things they make IRL
Sounds pretty chill
C serves as a back-end for the reference implementation of Python so parts of knowledge from one language help with understanding the other
C++ is one of attempts to bring OOP to C
the most successful one, probably
it also introduces templating syntax
What do you think about rust?
which is an improvement on #define
C
generally, for performant/system-level software, Rust
for more primitive, low-level language, C
C++ differs across dialects more than C, I think
though C++ is more standardised (as in things are formally written down and there is a central body (or multiple ones) responsible for it)
Is rust standardized?
C has standards too but everyone's kind of free to just go make whatever version they want because it's a simple language
yes, very
I never worked with rust before, but I am kind of curious
(almost all languages are; even if there are varying degrees)
Isn’t rust kind of new? C has corrigendums and international standardization committees just for language specifications itself. Idk about rust yet lol
Rust is "governed" by Rust Foundation
Who is using it and for what? I had read something about the Linux kernel and systemd being ported to rust or something like that
Or maybe just modules
initially it was used to improve Firefox codebase
Lol… how did that go?
=> heavy focus on integration with existing C/C++ code
I cannot get Linux to run everything right on any of my MacBooks (especially my m2-based machine)
Worked fine on my g4
There’s brew, and most stuff works fine
rust brings memory safety and higher-level type system to C
so, many usecases for C are appropriate for Rust too
it's, like, C+Haskell
but actually more useable than either
Is it functional or allow for categorical types?
it allows for functional concepts
category-theory-oriented like behaviour was greatly improved in Rust 1.65:
https://blog.rust-lang.org/2022/10/28/gats-stabilization.html
I have no idea what any of this means, and I like it
OOP vs Logical vs Functional?
they aren't really mutually exclusive
Prolog
Yeah and lisp
OOP is good for modelling objects, as the name suggests
so stuff like
- being able to name objects by what they are
- abstracting away stuff that's inside the object
- allowing for communication between objects
etc.
Logic programming is good for modelling systems which are well-described by formal logic
so, in some sense, the most primitive maths stuff
usually applied to things like tables/sets of data
although sometimes used for more complex systems (for example, Erlang was originally implemented in Prolog)
Functional programming is good for describing transforming immutable data and/or applying high-level mathematical concepts
things from category theory usually fall into this paradigm
also, restrictions, that writing code functionally imposes, often allow for easier comprehension of data/control flow
I'm not aware yet of any Rust support for Logic programming
but it sure does allow OOP and Functional to some extent
OOP in its more pure form, without inheritance and some other features
Logic programming isn't represented much in general
out of widespread languages, SQL would probably be closest to that
(SQL evolved from Datalog which is a derivative of Prolog)
Logic programming can be implemented on top of existing systems with function calls/objects/data structures
hello
e
to contribute to an existing project or to make a new one?
I'd suggest trying to modify/improve projects that you actively use
even if your changes aren't worth to make a PR of, that's still something at least
that's why quite a lot of changes to open-source are made anyways
> you need something from a project that it doesn't provide yet
> you add that functionality
> if you think others could benefit from it, then you share it (pull-request or just a fork; or a plugin)
thanks.
i was looking to get my c,c++ a little more strong(do you think it is worth to spend time there or i could start rust haha)
I'm currently looking through code making sure all exceptions are re-raised properly (i.e. using raise ... from ...)
discord bot
I'm still not sure if traceback gets lost if used in async context
I can just test it
oh, wow, Jupyter seems to be async by default
Jupyter seems to use Tornado as a back-end somewhere
interesting piece of history which still kind of works
https://www.tornadoweb.org/en/stable/gen.html
class GenAsyncHandler(RequestHandler):
@gen.coroutine
def get(self):
http_client = AsyncHTTPClient()
response = yield http_client.fetch("http://example.com")
do_something_with_response(response)
self.render("template.html")
probably being equivalent to
class GenAsyncHandler(RequestHandler):
async def get(self):
http_client = AsyncHTTPClient()
response = await http_client.fetch("http://example.com")
do_something_with_response(response)
self.render("template.html")
@mortal sky👋
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@somber heath how do I send 50 messages
each time I open that commit I remember how much trolling goes into my commit naming sometimes
ooo
natural participation in conversations
those two seconds that it takes to load the page are quite a reminder
...
it's major not minor in terms of commit size
how do i fix this
messages + activity blocks
yea
not enough messages
yea
it's going to take two weeks of waiting then
it's that common situation
> "small fix"
> 1072 files changed

so far this is the most cryptic commit name I found in my repositories
undefined behaviour
and I have no idea in what sense it's undefined
maybe fixes
maybe not
too much quacking in commit names
in contrast, this commit changed one digit
when I'm trying to do visual design
this is probably top 2
context:
there was a class Nothing which inherited from Thing
it was used for some logic but was no longer necessary
that time I realised C# has yield
though in C# it's called yield return
and is quite limited
JS/Rust have more pythonic generators, I think
Rust uses them for async, just like python
not sure about JS
but JS allows for mixed-typed mess in generators just like Python
emojis in commits
readable
???
@unkempt silo👋
Hi!
Those commit messages above deserve to be framed BTW
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@whole bear
it's strange how it went back and forth with no-access/just text
for me it came back to being just text some time ago
I think it's per-account
I have it as text on phone too
although I might have seen "no access" on phone recently
@wide sky👋
@somber heath ayo
Hello everyone
Is there a channel where I can post a new lib im working on? I need some feedback and ideas 🙂
what type of a library?
@rare cedar👋
AI / LLMs related.
@subtle hound👋
Great, I was looking at this one already.
Also, can anyone stream their development here?
I like what im seeing
Makes sense. Thanks 🙂
@trim stag👋
yo
@warm jackal what u codin dude
i dont undestand shit whats going on ur screen lol :)))
oh ok
got it
@warm jackal could u send the github link here
if u dont mind
yup
@severe falcon@rare wagon👋
hi !
@lilac garnet@upbeat burrow👋
hi
soo u mainly code in rust i see
Hello
Hey guys! Who can help me with my project?
i have been thinking of learning rust from a long time
i might start learning it from tmr only
Well... what kind of project is it?
Can we go in vc?
Sure
@warm jackal sorry for disturbing, but how long have u been coding for cuz all ur projects are pretty complex ones
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
I know I was introduced to Python in September 2017
not quite recently
i started it 6 days ago 0_0
ty
i am stuck on what to do cuz i am done with basics
yes
mhm
ty for the suggestion!
what was that phrasing by bcantrill
> "technically impossible" just means "I don't feel like it"
@next nest 👋
hoi! Need to blabber 50 times to speak, so grizzly bear with me 
scripting as in screenplay
Currently at "barely scratched the surface" knowledge about coding, so learning how pycharm works as my first project was going to be a personal voice assistant, but that was apparently too much for a beginner lol
PyCharm is good for forcing the use of venv
i will be back in a bit guys
cya till then
Aye. Would it be a bad idea to run a voice assistant outside venv?
it's generally better to use venv
you can make a script to set it up automatically if you ever need to move it to another machine
Or better question, what sort of code/projects is safest/best to run in venv?
Ah nice. So once code is done, i can then pack it all into a bat/exe?
it's better not to pack it in one single file
Also, what "pet projects" would you recommend for a very much novice in coding?
because of how python behaves
an example of specification for CLI-based to-do list:
#voice-chat-text-0 message
Not all in a single file of course, but more say run as it's "own env" but outside of pycharm to say run with windows
that came up recently when discussing projects that are simple enough to make for a beginner but are already useful
Alrighty, so something like this being the endgoal
something similar, yes
Alrighty, which one specific were you talking about?
And i guess like all the other kids would be to "pester chatgpt for explaining what every command with python means and what does what" lol
soapal?
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
some spammer sending friend requests again
Not to me.
they sent it so early discord wasn't even fully able to realise they're in the server yet
i.e. this wasn't showing up
@somber heath hello
how are you doing
just wanted to tell you one thing
that might be not related to you but it makes me so happy
that I cannot keep it up to myself
I GOT MY FIRST RETURN ON THE INVESTMENT I MADE
thank you
what did you ak
i did not get it
dead on equal
Hello @pseudo bluff and @vocal basin
do you recommend any hosting service I want to change my hosting serivce as soon as the monthly subscription gets over
India
on what
btw hello @whole bear
on what you were asking return
why
what did this question meant just asking that
like it was 100%
i got the money that I put in
the business
but the money in the actual profit is still Zero
but not more much time
AWS gives quite good quality per dollar spent
same for most top alternatives like Azure/Firebase/DigitalOcean/etc.
like it is a e commerce store
hello
so will it support wordpress or any other website builder
i got one suggestion for hostinger
any idea about it
If it's just static, then there are quite multiple choices, yes
Starship | B7 S24 | Integrated Flight Test
#SpaceX #Starship #StarshipOFT
Join us LIVE from Starbase, TX for the historic first Orbital Test Flight of Starship!
Date: April 17, 2023
Pad : LP-1
Location : Starbase, Texas, USA
Rocket : Starship
Ship : 24
Booster : 7
Learn more about the mission: https://tlpnetwork.com/launch/starship-orbital...
I don't know any because I often build API-heavy websites which aren't easily hostable
STAR SHIP LAUNCH
twitter right now supports Russian propaganda
that says enough
as in actively promotes over everything else
it will not lauch today they are saying @proper creek
yep
its delayed
oh ok
Login to your Chess.com account, and start enjoying all the chess games, videos, and puzzles that are waiting for you! If you have any issues while logging into your account, do not worry. You can recover your password, or drop us a message and we will gladly help.
thx
ohno it dropped
who coulld've guessed
my rating is about to become provisional again
ps5
@floral geyser👋
@heady leaf👋
f it
it's still banned here ¯_(ツ)_/¯
why?
gg
Karjakin being petty
hehe
e
rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/NNNNKNNN w kq - 0 1
knightmare
lol
custom position
FEN notation probably
@tame slate👋
🫡
😬
close match
it seems to have been the best move
hmm
are you playing blitz or rapid?
yep
Chess, but instead, it's called chest, with the pieces being thoracic organs.
rapid
lol
wanna try blitz
nah gonna go code
okay
was fun playing with ya
you too
Join the challenge or watch the game here.
@limpid ore👋
@somber heath hi
what a catastrophe of a game
I didn't expect the Polish opening for sure
yep
hello @wind raptor
If nothing else, it does shine.
@tender swallow👋
Hey @warped raft
I prefer 1|0, less time suffering due to the consequences of the previous moves
1|1 has a little forgiveness though if you are winning at the end and tight on time.
mommy glasses?
also less efficient for cheaters
unless they're using bots
moon glasses?
some time ago I was playing against a person who, as I accidentally got know, used an engine
seemed like they were using it only when playing white
but when I was playing as white, I was pretty much getting carried by the opening
like, it takes ~50% of time for them to get through it and ~10% for me
Catalan OP
The Kingdom of Loathing (or KoL, as it has come to be known by its player base) is a free, comical RPG, brought to you by the folks at Asymmetric Publications.
I haven't tried mixing knightmare and 1|0 yet
"how bad could it be"
https://lichess.org/QnHBDLco
Join the challenge or watch the game here.
seal?
Seal
THE #FURBY ORGAN! tooooo many hours were spent on this project
Download the furby song and loads more songs and music livestreams here! :-
https://www.patreon.com/lookmumnocomputer
Next patreon livestream Jam and chat is on the 19th of july. all patreons invited!
CHECK OUT MY MUSIC ON SPOTIFY :-
http://bit.ly/LMNCSpotify
Paypal :-
paypal.me/...
Description: The Turtle Tamer's mystical connection with his terrapin brethren imbues him with great power. He excels at moving very slowly and winning footraces with smug satisfaction. His Muscle is the key to his success, and to his long lifespan.
What's happening guys, welcome to the sixth episode of CodeThat!? I think
So there's been a lotta talk about text to image generation using machine learning...well I thought I would give it a crack and try to whip up a Python App that could do it.
And along comes Stable Diffusion, an open source SOTA model for text to image generation from St...
excelling at being slow
ML (Meta Language) is a general-purpose functional programming language. It is known for its use of the polymorphic Hindley–Milner type system, which automatically assigns the types of most expressions without requiring explicit type annotations, and ensures type safety – there is a formal proof that a well-typed ML program does not cause runtim...
it seems to be an algolified lisp
naming phenomenon
https://en.wikipedia.org/wiki/ISWIM
ISWIM (acronym for If you See What I Mean) is an abstract computer programming language (or a family of languages) devised by Peter Landin and first described in his article "The Next 700 Programming Languages", published in the Communications of the ACM in 1966.Although not implemented, it has proved very influential in the development of progr...
> ISWIM (acronym for If you See What I Mean)
I can't really remember things that are clearly from Haskell family of PLs except for PureScript
it stands a little bit to the side of the ML stuff
for ML-derived PLs there's quite a lot known ones
OCaml, F#
there is F*
which, by logic of C# being C++++, would probably be F--- or something
rare
what a logo
wha
Sounds fun. What kind?
hot weather is annoying
Summer is worse here...
just damn
I would love to travel to the west side of the Sub continent, it is raining there...
Weren't they busy conquering other parts of the world. Start of Industrialization?
as in not just a Kingdom yet
Mhmm.
Empire fell apart over post-war time of WW1 and WW2
G2G for a bit. Cheers all!
Ohh we talking guns now, noice!
Medics have equal risks of getting shot on ranges same as frontline fighters.
It is Monday Evening 8pm 🙂
I am, yeah
there's also NZ accent which has very different vowel pronunciation
/e/ -> /i/ thing quite often
I never heard any NZ accent.
I can barely differentiate them.
@somber heath Yours is just so British man.
😂
hello everybody
I ain't British man. I am Indian.
I don't wanna offend and shit, but I love how you all say a bottle of water.
Color without an U.
The more u's you have the more british it is
As Indians being under the shadow of British Education, we have more of the British pronunciation and stuff.
True, forgot about that
H goes on like Aitch.
The strong throw of it.
Right?
My whole life I've told it like Aitch too.
Z goes like Zet or Zee.
"What letter is that?" "Hache"
😂
If you convey what you wanted to and it is appropriate for everyone, that's enough.
Appropriately understandable*
🤷🏻♂️
I'm obligated, as an American, to razz the British about their pronunciation, though
Push their tea into things, make jokes about how they say things
Appropriate James Bond
I'll be right back in a few minutes, duties calling.
as in /a:/ instead of /æ/ or something like that?
Beta goes on like Bae-ta, Bee-ta, Beh-ta.
wiktionary says both be /æ/
still wrong
or just mute while not speaking, yes
(as can be seen, I have it disabled)
"I am noise"
noise cancellation removes too much sound
🤣
hahahhaha
Imma get my mic now.
Interesting...
"it's just text" isn't a valid excuse
I personally tried it for Stable Diffusion and it worked well.
Who's Dan?
Oh shit lol. Ok.
Spanking Monkeys. Like what?
its the awesome nice jail break btw there are others that are bad
but i wont post those
Tech Conversation go to be the most random ones ever. Period.
Micro-waaa-vae. Man that pronunciation.
whar is going on in vc
Americium 241
They do split to Uranium 238 and 234? Right?
hilarious
Well goes from Uranium 235 lol.
The Automatic Warning System (AWS) provides a train driver with an audible indication of whether the next signal they are approaching is clear or at caution.
Depending on the upcoming signal state, the AWS will either produce a 'horn' sound (as a warning indication), or a 'bell' sound (as a clear indication). If the train driver fails to acknowl...
there's also AWS, the rifle
Profile of the one and only Lancashire steeplejack Fred Dibnah. Fred demolishes unwanted chimneys the old fashioned way - brick by brick, starting at the top - or by taking bricks from the bottom and lighting a fire underneath. His scant regard for health and safety made him something of an anachronism even in the 1970s, while his infectious pe...
Man the BBC guy in the interview with Elon Musk just got smoked.
a short remark or piece of information
It can basically be a shitpost, a short message, be irrelevant af.
#include <stdio.h>
#define coroutine_begin() static int state=0; switch(state) { case 0:
#define coroutine_return(x) { state=__LINE__; return x; case __LINE__:; }
#define coroutine_finish() }
int get_next(void) {
static int i = 0;
coroutine_begin();
while (1){
coroutine_return(++i);
coroutine_return(100);
}
coroutine_finish();
}
int main(void){
printf("i is %d\n", get_next()); /* Prints 'i is 1' */
printf("i is %d\n", get_next()); /* Prints 'i is 100' */
printf("i is %d\n", get_next()); /* Prints 'i is 2' */
printf("i is %d\n", get_next()); /* Prints 'i is 100' */
return 0;
}
I think I might be relearning Python on the whole from the Basics, I've been good with the advance stuff but have been very bad whilst being asked about the Basic stuff. IDK if it is common.
bits and pieces - here and there
not all python books are the same , obviously - but one for learning with ?
Udemy courses and shit, yeah I do got some python books too.
Aight people Imma head out to sleep, it is 10pm now. 🙂
https://www.codewars.com/kata/54b26b130786c9f7ed000555/train/python
stuck in this, all test are passing but the random model test are failing.
this is relatively high level according to difficulty rating
you're expected to use docs and understand requirements without them being broken down into smallest simplest details possible
or rather
all test's have been passed -
looks like have to rewrite from scratch - the random model test is failing
It was a good one cleared the concept of meta class working. 99% is done.
solved, all tests passed at last.( requirements could be more clear in the question took a long time)
bye guys, gn
cant speak
@lethal sierra If you're wondering why you can't talk, check out the #voice-verification channel. That'll tell you what you need to know about the voice gate
bool shouldn't be taken as int
also
it could be solved without metaclasses
yay
I had C and Python at roughly same XP for some time, that's no longer the case
@hard knoll @astral rain 👋
@somber heath Hi
hi
(where I started)
Do you have an opinion on the walrus operator, :=?
> Insane Coloured Triangles
https://www.codewars.com/kata/5a331ea7ee1aae8f24000175
Would you like to buy a rope bridge?
I dont understant lol.
~just realized should blur the name~
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!voice
you seem to already meet the requirements
read the bot message and what it tells you to do
AF did a full transformation ....
I almost read that as a different word lol
What is this code package we’re looking at? Numpy implementation?
A historic scam was to offer to sell someone a bridge. It worked its way into English language idiom as "If you believe [obviously untrue thing], then boy, do I have a bridge to sell you." It implies that the subject of such a remark is gullible. I was not, however, implying you are gullible, I was just referencing the idiom. A rope bridge could be seen as a low-quality bridge, like the low-quality scam.
@lunar haven
and you're muted btw
I love the fact that he's like:
You got a problem we have a fictional charecter as our CEO
video file parsing (thing on stream)
i can't talk broo how i get this voice verification
.... what?
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@rugged root Okay ty
ffmpeg would still be more reliable
- you can always just fork it
I was thinking about doing that some time ago
Are ppl working on improving open source software rn?
This video parsing library or whatever
then I realised I just used https in condition instead of http
@rugged root it's just not parsing some extra stuff + takes no memory due to zero buffering
or near zero memory compared to some other solutions
anyone know how to fix?
one character that took month(s) to debug
thanks mush
hello
Hello
3.5 months
What is going on why is nothing happening
at some point I implemented a dumb fix which coincidentally helped with some other stuff too
both Firefox/Chromium-based
Why are u talking to yourself
elaborating on the previous topic
Firefox over chrome 😮😯
if you missed context:
ffmpeg was mentioned
then forking ffmpeg was proposed
another reason for doing so was referenced
and then that issue and how it got fixed was described further
na
isn't it already read somewhere from the original file?
how is defined, again?
num_samples = ... what is ... now?
calculate num_samples before samples_sizes
and use num_samples inside samples_sizes
entry_count==num_samples, right?
self.num_samples = (len(self["stsz"]) - 20) // 4
tbf, you shouldn't have self["stsz"] saved in memory
it can be read on-demand from the file
half a megabyte
it shouldn't have been inheriting from a dictionary in the first place
just this in constructor
it's fast
O(1)
because you already have self["stsz"] computed
len(bytes(...)) is almost instant
then just use it in the method
or re-calculate
doesn't really matter
you can just replace existing self.num_samples=... with this
you can't really calculate it
you will get TypeError
!e
print(len(0 for _ in []))
@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 | print(len(0 for _ in []))
004 | ^^^^^^^^^^^^^^^^^^
005 | TypeError: object of type 'generator' has no len()
this literally gets the same num_samples value
if you want to save compute time on sample_sizes() call, do this
len(self["stsz"]) is instant
len on iterator, however isn't
Wow, I’m starting to suspect some of you are nerds
Still on here here and stuff lol (it’s been almost 48 hours, goto(sleep);)
@desert wolf If you're wondering why you can't talk, check out the #voice-verification channel. That'll tell you what you need to know about the voice gate
@rugged root I’ve been specking it out for a few days now.. shrug
I do kind of wonder if my messages are considered spam though, since no one cares to talk to me, and I’m not offering much value.
(Hard to add value when you have no voice)
!stream 294737873083695105 30M
✅ @acoustic marlin can now stream until <t:1681760879:f>.
actually you've been here since yesterday at 09:56
but did you leave the server meanwhile?
Don't you know you've always been here
No
you sent one message in 2021 and afterwards nothing until yesterday
Low priority I guess
anyway that was your 50th message, so try verifying again
LOL
Sounds good! If I don’t leave, will my verification expire or reset?
not that I know of
wass sup
up to you
@gentle flint to clarify though, I see there’s plenty of non-python content here. It is permissible that what is presented/discussed here isn’t exactly python, but may be entirely code-agnostic altogether?
this is an offtopic voice chat
you can discuss any topic
except illegal stuff or stuff which breaks terms of service
there's also offtopic text channels
!offtopic
There are three off-topic channels:
• #ot0-psvm’s-eternal-disapproval
• #ot1-perplexing-regexing
• #ot2-never-nester’s-nightmare
The channel names change every night at midnight UTC and are often fun meta references to jokes or conversations that happened on the server.
See our off-topic etiquette page for more guidance on how the channels should be used.
Is there an on-topic vc?
What's happening? 😄
Ah, classic error
Lol
how to make .ip files to work on jupyter notebook
Doesn’t ipython just export your code as plaintext code? Or you mean something extra special?
Oh, nvm
One person at a time please 
Erm, maybe we should split this into two voice channels, as people are talking over each other.
It only resets if you leave the server
!d divmod
divmod(a, b)```
Take two (non-complex) numbers as arguments and return a pair of numbers consisting of their quotient and remainder when using integer division. With mixed operand types, the rules for binary arithmetic operators apply. For integers, the result is the same as `(a // b, a % b)`. For floating point numbers the result is `(q, a % b)`, where *q* is usually `math.floor(a / b)` but may be 1 less than that. In any case `q * b + a % b` is very close to *a*, if `a % b` is non-zero it has the same sign as *b*, and `0 <= abs(a % b) < abs(b)`.
One sec, sorry
you guys are not funny
you
pyes
I mean you are good but
not funny
nah
but kitchen should be the most hottest place
why is it cold ?
Gaps in vents and outlets
that's interesting
im back
what is the Value type
slightly above average
I will smoke you
string.c:10:23: error: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)'
string.c:11:5: error: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)'
@whole bear you stay with your parents ?
so, brother ?
then who's sleeping
oh h
lol
ok
mhm
lmao noooo
what are you even trying to do ?
@hallow wasp you have to get yourself voice verified role.
uh what ?
lmao
@lunar haven do have any idea what are you speaking ?
like do you know yourself ?
piss no
piss... yeah
depends
like you leak before you go to piss ?
piss and leak are the same thing... -_-
so what's a leak then? To you?
👍
no
chrome sucks
ewww chrome
you suck bro you are using chrome
why
what is wrong with you ?
better
Edge is AWESOME!!!
👍
i guess you can change that
which flavor? Gnome, KDE, or the Window Managers?
"bacon-flavoured bacon with extra bacon"
Yeah, I mean everything is customizable.... But if you had to customize, you could have picked endeavourOS
no requests for mode were made, so shortest it is
https://www.codingame.com/clashofcode/clash/3031223f4631242d01c0234d6efbc0071cb4513
So, I don't want to rude or anything... But I can't understand what we are doing? Commenting on code.. just chating... No problem either way
Gofek sounds Saudi
shortest
yuuu 
I will wait for auto-start if anyone else chooses to join
lolz
we are trying to understand what is leak
Just google it maaaan
Box::leak in Rust


?