#voice-chat-text-0
1 messages ยท Page 435 of 1
Yes, I used the wrong word. That's why I said in my next statement "Sorry the zygote."
And what definition of life are we using?
he's persuasive to a superficial mind
Hello
An individual genetic life form.
Yo, Mech
Doesn't sound very.... INDEPENDENT to me
nice change
like it
I see you found the flaw
I'm tired, you're gonna half to slow down cause I cannot speed up rn.
Let's stay civil, please
I know that book
I'm not personally against abortion, I just think that there are times where it is and isn't ok.
I'd read Andrew Tates book but as a comedic fiction
If you chose to be an idiot and you chose to be unsafe and you have that child, that is on you. You cannot take back taking a life, we should not take back making life in this situation. If you had no say in the production in that child (yk what I mean) then by all means seek medical treatment. If you are going to suffer medically because of the production of that child, you a currently breathing, fully developed person have the right to live.
If I'm not involved in the situation, it's not my fucking choice, is my stand on that.
Not my body, not my choice.
Your sperm made that kid you are just as involved.
Lol
I have zero rights to the uterus of another human
Just as involved, is that like saying both sides are the same so I don't vote?
It's not the uterus, it's a featus made of your genetic material.
"instead of throwing your child into the trash can, we thank you in advance to put him in this comfy box"
I'm running out of rooms to run to.
yeah, that's lack of basic logic, sorry
your lack
Oof
" just as involved" in carrying a new life for 9 months?
Scenario that does happen: A single woman is denied abortion. She then has to raise a child on her own, paying additional childcare and other costs. Both the child and mother suffer for this. Now, if the abortion was allowed, that woman would have the possibility of having the child when she is in a financially better position, making sure that they both have a higher quality of life and not putting themselves in a financial crisis. Which one sounds better?
Condoms are 100%?
She. Chose. To. Have. That. Child.
100% agree
Drunken one night stand?
@spark girder I suggest you to shut the fuck up
Unintentional?
No one is going for abortion as the primary form of contraception.
This is digging into a more and more combative argument rather than discussion.
I would indeed apprciate it if we shifted this
I am being in no way combative, but I do agree Hemlock.
I'm glad this conversation ended better than mine and korsty's earlier. That was not fun
Oh trust me, I would love to get deeper into this
I absolutely would
But this isn't the place nor the time
I don't doubt it, I just don't think it's healthy for any of us here or now.
Cheers
Here I thought a good chunk of AAA titles use their own engines...
Is there evidence that "most" use unity?
I think most use unreal these days.
A lot do, some use unity or unreal engine some make their own because they're insanely good at what they do.
"Most serious" game devs? Again, any stats?
Currently some of the top games on the market using Unity would be Genshin, Escape from Tarkov, Cities Skyline, and Fall Guys.
Type shit
Ooh, they're talking again
Scam requires some ingenuity.
!cleanban 1226220494743797885
:incoming_envelope: :ok_hand: applied ban to @steel sorrel permanently.
presumably, given they just joined and they were typing, it's not a compromised account
Wo ah. Got it.
7 is good?
"Brao sa en to watcha. We need immediate wo ah eh dowap."
God.
I love this frame.
this is more than one frame
@wind raptor have you seen the last thing I did to the conditions level?
situation:
I did not
What happened to it?
just rebuild it
it fit in exactly 3 cells including I/O
upright
Nice
"You are a game master, generate a complex scenario and allow the user to come up with creative solutions to them, remember the players actions and rate them on it. Come up with 30 ideas and have them conclude on the last 5"
A multi-user dungeon (MUD, ), also known as a multi-user dimension or multi-user domain, is a multiplayer real-time virtual world, usually text-based or storyboarded. MUDs combine elements of role-playing games, hack and slash, player versus player, interactive fiction, and online chat. Players can read or view descriptions of rooms, objects, ot...
I added two gyros and flipped it
gyroscopes not food pieces
diagonal parking
very easy to implement, especially in APL
life โ {โ1 โต โจ.โง 3 4 = +/ +โฟ ยฏ1 0 1 โ.โ ยฏ1 0 1 โฝยจ โโต}
@rugged root You left AGAIN?
After I waited eons?
You wound me sir.
Ekhhh
dying sounds
oof , I unmuted and forgot to undeafen
So SE 2 is a good time so far?
it's SE1
LLM Text-Adventure Game - Discover and download custom models, the tool to run open-source large language models locally. Explore a community-driven repository of characters and helpful assistants. Talk to customized characters directly on your local machine. Visit Open WebUI Community and unleash the power of personalized language models
A JAR ("Java archive") file is a package file format typically used to aggregate many Java class files and associated metadata and resources (text, images, etc.) into one file for distribution.
JAR files are archive files that include a Java-specific manifest file. They are built on the ZIP format and typically have a .jar file extension.
dtrace
especially if you're on Windows because it's easy to install there
had to dig the car out of a hole agaiin
just dtrace all syscalls
At this point it seems less of a drone and more of an rc toy.
I can imagine you as an astronaut just excitedly playing with an rc car, then getting it stuck, and then giggling and running to flip it back, taking three steps back and driving it again.
God, I remember I had this one rc car that would crumple when you crashed it like it was in an accident, and then it would repair itself by changing back into its original shape.
I have been trying to find it for 15 years now.
@wind raptor @unique wyvern Eclipse is newer than IntelliJ IDEA
hi
hey
thought of that too
JD-Eclipse
?
A Java Decompiler Eclipse plugin. Contribute to java-decompiler/jd-eclipse development by creating an account on GitHub.
Help -> Install New Software -> Add -> Archive
this is definitely a bridge and not something screaming "do not drive here"
Ooh, got quiet
If it's still running
who needed it anyways
Is Turing Complete... complete?
I fixed it
What was missing?
SE sounds like a good idea, been wondering what to play, and I think they just had a nice update
It's been a bit
I see, so when do you plan on releasing your game guessly?
it's not a "guessing" game, I just wanna experiment how well a low-end LLM can fair as a dialog and state management system in a RPG
Ah, now I understand. You were drawing for a while and you said you were working on a game
yeah, I'm still working on it
but pyweek is happening tomorrow I think
so I paused the game for now
and working on this
So is there a program you recommend me to use to make a game?
Godot engine?
Ok, I downloaded it and I have a normal coding experience, I think I can make something, the only problem is that my creativity is a little bad
hmmm keep experimenting, find a style, expand on it ๐
Which game genres are more prominent in this period?
if you're looking to sell your games, I recommend finding gaps or needs in the industry and working from there, this can be like a "how I would do X better" and then follow up with trends, popular indie titles, see what worked and what doesn't
think MVP too
Minimal Viable Product
like the game I'm working on is a roguelike dugeon crawler
that's its MVP
if you want your game to do well
you'll need to learn marketing
and potentially sign up with a publisher
is this your game?
@pale falcon ๐
@opaque surge ๐
LLMs, gotta get 'em all -
i don't permission to talk now, could you all please review this project i have created.. i am a beginner..
LInk : https://food101-prediction.streamlit.app/
@errant sand why are you just chillen here?
@dusky comet ๐
pov: my mindscape
@dapper wraith ๐
@peak depot so only approximately Greek
same time period, almost same location, almost same people but not exactly, iirc
ah, no
it's a Greek invention export to Sicily lmao
I thought it was on some small island not a giant one
yeah, it has quite weird history
it was a very specific single unit produced for one specific island tyrant allegedly
yeah, that one is more of a Greek island
and the bull device is closer to Italy
which was quite convenient for the Roman Empire later on
so there's a mythical bull person living on one giant Island, Crete, and bull torture device on another, Sicily
Crete is really, like, not small, doesn't fit the look of a "remote island that people gent sent off to be fed to the monster"
@gentle flint "at least it's a happy <...> rate"
"does it really have a colour when no one can see it?"
remove USB devices and try again
unplug it
Done
and restart the computer
Its jbl error it say
?
Dis thing program did it
does the computer start normally now?
this is allegedly related to USB drivers
When i plug headset in it lags alot for 20 sec
Ow
Its all usbs
When i plugin headset mic or all it lags
obvious recommendation 1: never buy anything JBL
Only when the jbl headset is in and i unplug someting it lags
Noting lags when the jbl is not in
How fix rn
there will be no further recommendations, you already did the mistake of using JBL
Jbl is decent
So i cant fix it?
does it happen with any other device plugged in?
No
When jbl is in and i plug a usb in it lags
When not in and plugin mic or mouse it doesnt lag
@worldly yarrow I don't know how it works either
will take quite some time to figure out
- I'll need to leave in 6 minutes to go to a meeting
So i buy new headset?
all good ty anyways
idk how your finances are structured
if you get money from parents/whoever else, I recommend consulting with them about such questions
Good morning
day
evening
๐คท
it goes
always a pain
they update and deprecate
and the app stores demand a certain API level
so there is no staying on an old version
Yea, no pick a version and stick with it
Well, our app lives on
So we just have to break it and fix it every few months
YEa, one is in production
other is pre release
What do y'all use for your SQL Interaction? Any special program or just a console or what?
@astral coral Sandwich consumed.
โค๏ธ โค๏ธ โค๏ธ
what filling?
Butter, lettuce, furikake.
noice noice
ah
I've been enjoying dbeaver
instead of phpmyadmin
Are they free?
I know JB loves $
terrible thing to love
lol
you guys know the band infected mushrooms?
That was silly of them.
peasentry
What are you getting
MBA?
Masters of Coolness
4 years for senior?
Ooh, I'm pushing 3 years in 3 months or s
but I've been a "senior developer" for a few years here too, which is why titles mean jack
How do I cancel async calls?
js
no
the UI allows many things clicked
when you click a thing, it gets info from he server
but you can click a different thing
which puts that things info in the same place
I only want the most recent one to go
yea
since otherwise it flashes with bad data
while those calls return
Found an abortcontroller
it's in a function
that gets fired and forgotten
boss is out
I think it is this new AbortController()
Me neither, lol
yea
so I have a .then
But, it waits for the call to finish
my current work around is track the id at the top
and when it returns it checks
but that's still
waits on each call
in order
I want to kill the call
but this abort guy might work
yea
it's no longer relevant
But, my new doctor should be able to hit that red button
Of course
that's why we're here
to talk shit and learn
Where do I pass this signal in though, I'm passing a list of things, is it like, signal:signal?
ok, it is
@swift iron ๐
Yo ๐
Yea
but I can't make the aborter in the ufnction
since I wouldn't have access to iut
unless it was returned
in which case
the asyn call is complete
Guys can u guide me ??
async function get() {
const controller = new AbortController();
const request = new Request("https://example.org/get", {
signal: controller.signal,
});
const response = await fetch(request);
controller.abort();
// The next line will throw `AbortError`
const text = await response.text();
console.log(text);
}
Yes, I want guidance from you about what to should I do in python after learning basics ?
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
!kindling
The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.
https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal#:~:text=function myCoolPromiseAPI(/* โฆ%2C */,abort()%3B @primal shadow
When you get stuck, ask questions.
BAH
aborting doesn't speed things up
the server still finishes the calls
lol
killed th ecalls, but the final call still took 5 seconds instead of 1
5/6, it's a 2 call guy
Ended up making an AbortController per call
Ok .. But question is what project should I do and from where I should study advance things of python .
throw em in an array that's globally available
and when I call the function again, abort all aborters and trash em
What do you plan on doing with Python?
Yea
I think the server is still running the queries
well, they go on click
then the frontend stops waiting
but the backend has no idea
I am confused in game development, Ml,Data analyst but I don't know in this thing detail so I am confused what to choose?
@somber heath Yeah but my problem is when I write code I just got blank mind that what should write after that and I think what things I can do to improve my code and make it more readable and functional.
!pep8
PEP 8 is the official style guide for Python. It includes comprehensive guidelines for code formatting, variable naming, and making your code easy to read. Professional Python developers are usually required to follow the guidelines, and will often use code-linters like flake8 to verify that the code they're writing complies with the style guide.
More information:
- PEP 8 document
- Our PEP 8 song! :notes:
@full skiff ๐
hello pop !!
Yeah it's true I just got frustrated every time during writing code and when I make same mistake again and again
!e py print('Hello, world.')
:white_check_mark: Your 3.12 eval job has completed with return code 0.
Hello, world.
!e ```py
print('Hello, world.')
print('Goodbye.')
```
@somber heath is this a beginner server ? just to know
@somber heath oook good to know ty !!
can i share something ?
@primal shadow I sent you a DM. Not sure if you got it or it got spam blocked
!code
Yeah I will share my some program which I made in my journey
i am working on a IA app wich execute some commands and i want to add some voice recognition
So do I need to share here or in your dm ??
import random
random__num = random.randint(1,100)
print(random__num)
score = 1
print("--------- Welcome to random number guessing game ---------")
while True:
guess = int(input("\nEnter the number u want to guess: \n"))
if guess > 0 and guess < 100:
if guess == random__num:
print("\n------Horray------")
print(f"\n You have guessed correct number in {score} guess.")
print("\n------------------------------")
break
elif guess > random__num:
print("\n-> You have guessed a higher number. Guess lower number.")
print("\n------------------------------")
score += 1
elif guess < random__num:
print("\n-> You have guessed a lower number. Guess higher number.")
print("\n------------------------------")
score += 1
else:
print("\nInvalid input!. Guess number under 1 to 100. ")
print("\n------------------------------")
@jovial zinc ๐
No I don't why my code is showing like that
@somber heath take a look at this :
Please react with โ
to upload your file(s) to our paste bin, which is more accessible for some users.
@somber heath we've seen people show screenshots with the embed not showing; allegedly they are indeed disableable
Ohhk soory I am new in python discord so I didn't know that
when disabled, it looks like this
the key part there is:
```py
print("Hello, World!")
```
Is it ok now ??
Please react with โ
to upload your file(s) to our paste bin, which is more accessible for some users.
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
import random
number = [1,2,3,4,5,6,7,8,9,0]
phone_number = []
def create_phone_number():
for i in range(10):
phone_number.append(random.choice(number))
return''.join(map(str,phone_number))
print(create_phone_number())
@somber heath check the code ive sent to ya !!
Wow I didn't know that I code do like this
!e py import random choices = random.choices(range(10), k=10) print(choices)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
[7, 8, 6, 5, 2, 2, 5, 8, 9, 4]
Did you use list comprehension?
!e ```py
choices = [7, 8, 6, 5, 2, 2, 5, 8, 9, 4]
as_string = ''.join(str(v) for v in choices)
print(as_string)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
7865225894
What k means in your code or what's the use ??
!d random.choices
random.choices(population, weights=None, *, cum_weights=None, k=1)```
Return a *k* sized list of elements chosen from the *population* with replacement. If the *population* is empty, raises [`IndexError`](https://docs.python.org/3/library/exceptions.html#IndexError).
If a *weights* sequence is specified, selections are made according to the relative weights. Alternatively, if a *cum\_weights* sequence is given, the selections are made according to the cumulative weights (perhaps computed using [`itertools.accumulate()`](https://docs.python.org/3/library/itertools.html#itertools.accumulate)). For example, the relative weights `[10, 5, 30, 5]` are equivalent to the cumulative weights `[10, 15, 45, 50]`. Internally, the relative weights are converted to cumulative weights before making selections, so supplying the cumulative weights saves work.
cumulative weights require less preprocessing by the function
Ok I get it .. I didn't know this
(it generates them internally)
Btw from where I can learn that things??
!d string.digits
string.digits```
The string `'0123456789'`.
Any resources you know ??
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
Ok
The digit widget
!e py import random, string choices = random.choices(string.digits, k=10) result = ''.join(choices) print(result)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
6395294249
@craggy wraith ๐
@somber heath Thanks for your advice.. I need to go
Breakfast burrito. Morning tea burrito. Lunch burrito. Afternoon tea burrito. Dinner burrito. Dessert burrito. Supper burrito.
Let's talk some other time .. Till then biee and it's nice meeting you guys .

I think they mean years
๐ฎ
"Vomit Suite" didn't pass committee.
FartBarf
I don't do bug bounty
uh guys I'm making a emulator of a custom CPU I'm making is running each component on different thread a good idea ??? ๐
we had to pay for threading before /j
3.12
if you need it for preemptive concurrency not performance, yes
(unless your emulation is somehow IO heavy)
hmmm
time.sleep
asyncio might be too determinisitc for simulating something that in the real world doesn't work very predictably
and other file will only read on other files other than its own
(or other lock types)
how gil realy works???? what it prevents???
I really love RwLocks, such a neat thing
I dont understand how it works ๐ญ
@dry jasper I don't really see a reason for me to do that
not really interested in that currently
@mystic yarrow
yep in gil python threading vs async is basically wether you want control of when context switching happens
hello
well the goal is for each component to run by them self
I have no permission to speak yet
maybe a generator type
See, I have permission to talk
but choose to not
but here I am, actively participating
in other news, I made a custom rust wasm bench marking tool, because I couldnt find any
hey Guys I am new to python but I am mern stack developer
Now I am building a full-stack application that allows users to upload PDF documents and ask questions regarding the content of these documents. The backend will process these documents and utilize natural language processing to provide answers to the questions posed by the users.
!resources A Byte of Python
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
people say python is a bad language to start with
which means i can say that some of my optimizations gave a 20ms speedup on updating 10k text nodes
on rust stable ```
inital_dom_50k (iters: 5): 726.56000000ms
deep_dom_100 (iters: 122): 19.97377049ms
mount_events_10k (iters: 26): 220.36153846ms
text_updates_10k (iters: 32): 150.81875000ms
On rust nightly (with the help of specilization) ```
inital_dom_50k (iters: 5): 724.84000000ms
deep_dom_100 (iters: 93): 19.98602151ms
mount_events_10k (iters: 26): 219.49615385ms
text_updates_10k (iters: 32): 128.78125000ms
what is this?
I'm super bored guys
how can I make it more cleaner and well orginised
Click here to see this code in our pastebin.

so, yeah, not entirely rare
I've just found Avorion has API documentation
idk if I want to do something with it
possibly
I wonder if avorion can de deployed distributed across servers
and I just added a nicer breakdown of those times ๐ ```
inital_dom_50k (iters: 5): 168.8200ms (with reflow/repaint: 751.1199999999255ms)
deep_dom_100 (iters: 136): 0.6551ms (with reflow/repaint: 66.1654411764706ms)
mount_events_10k (iters: 25): 62.2040ms (with reflow/repaint: 189.5879999999702ms)
text_updates_10k (iters: 34): 7.5500ms (with reflow/repaint: 101.90882352936794ms)
I think its architecture allows that
Thank you, my Discord settings got all sorts of broken
I reinstalled on my home desktop, that wiped my settings and... messed up my settings on my work computer?
But when I reinstalled
it pulls settings from who knows where
they were all wiped
generally doesn't work
why didn't it just restore my old settings?
it wiped htem
then pushed that wipe to my other PC
But soon it will make someone a lot of dollars
web resets half the settings on login
@rugged root wasm wasm wasm
MORE MORE MORE MORE
I think I have to go do some work
Its hyprland
@rugged root almost worst of both worlds, C#
you must put break but you can't use fallthrough
for C purposes
each case must escape
and this kids is why we use rust
as bcantrill would say, autoerotic syntax
quite sure that's a quote from more than one talk
Summer of Rust
talk
and some other maybe
do you remember m_ou_se's description of usb charging
actually made a reddit post on it https://www.reddit.com/r/unixporn/comments/1iyhjo9/hyprland_first_time_showing_my_rice_got_some/
looks pretty
block type
the cooler block type
Hi
@rugged root secondmonitor (verb)
why is there chroot
Chroot?
"you can send it to me so I can tell Hemlock he shouldn't look at it anyway"
second row fourth column
assert toSeq(1..15).mapIt(
if it mod 15 == 0: "FizzBuzz"
elif it mod 5 == 0: "Buzz"
elif it mod 3 == 0: "Fizz"
else: $it
).join(" ").strip == "1 2 Fizz 4 Buzz Fizz 7 8 Fizz Buzz 11 Fizz 13 14 FizzBuzz"
$๐ฎ๐น
feels a bit too magical imo.
was it so hard to have it take a closure
I still haven't tried Austral
idk if it's even a real language
it explicitly has no meta-programming
actively prevents it
quite sure Haskell has reflection at least on some level
That's install button
or class derivations at least
"I liked installing Alpine so much, should I do it again?"
typing in the public SSH key manually
then installing docker
and you want to do what to it?
it's not that detailed, you can just photoshop it out manually
Meow
Do i need update someting with usb if i get new motherboard or only bios
if you get a new motherboard, you rarely ever need to update bios right after
Still wise to check, though
I got new 1 already and bios was form 2021
Especially if you're tossing newer hardware on it
I don't know what you've already done, so I can't answer that
I put new board in and noting else
-# 
@rugged root "which of the many HDMIs?"
I think my GPU is HDMI+VGA+DP+DP+DP
even worse: I have two monitors and I don't use any DPs
Then you'll likely want to update the BIOS and drivers for your rig
My 3060 ti graphic i did already
I should buy two same monitors to replace current ones
current are slightly different in size and very different in colours
Thats gone be expensive
I'm fine with spending up to $500 total on that
I got ultra wide monitor 3440x1440 and its perfect 144 hz
my secondary monitor was a "donation" from the local shcool
I don't want >60Hz
1080p is slightly uncomfortable for me, but mostly because icons feel giant
I hate 144 hz rn because all games bug
(on default scale)
I had to enable blue filter on the newer monitor
otherwise pain to look at
the one that makes it bluer not the one that filters out blue
It say on every game 60 fps and when i unlock it the monitor say its a 60 hz and when i go Windows d it go to 144 hz
Huh, that's strange
Windowed mode or on Windows
Fullscreen
And there's plenty of games that have borderless-windowed
also indoor lighting is very painful for me when using the PC
Would probably fit the bill
Minecraft i need program called borderless gaming and everytime i need open and select it the game
Thats per 24h around 30 times i need do it or 60 times if server crashes
Btw i got dumb idea
Lets instal linux on my house
๐
I also don't want a >=3840x1080p monitor
sometimes I prefer only one enabled
what I definitely need is easier brightness control
my AOC monitor has exactly one button
you press the button
then click until you get to brightness (there is no go other way button)
you wait
you wait
you wait
you wait
then you click/hold to increase brightness (there is no decrease button, it wraps)
you wait
you wait
you wait
you wait
it exits the menu
horrible UX
@rugged root have you had to deal with this before
single button monitors
this one isn't
this was a $70 monitor
Looks like someone just found his new computer: https://www.amazon.com/MeLE-J4125-128G-PCG02-GLE/dp/B08LYRQZ59
The MeLE Mini PC is designed for those who need powerful performance in a small, durable package. Its compact size makes it perfect for tight spaces, whether you're working from home, running a small business, managing factory operations, or setting up digital signage. Built to last, the MeLE Min...
These are so absurd
4125 already?
what did I do
where half the page
I fixed it
I have J4105
you can't run MongoDB on it
I have 50~100 containers running on it
MongoDB is capped at version 4.4
because AVX
docker can't fake AVX
you need QEMU
?????
game not dead?
it's been without updates for so many years
the only reason I have it installed is because of how broken it is
2018
(when it got updated, not years since last update)
@rugged root same for htop
illumos allegedly has a better implementation for something like that
because it uses a different model
too tired to go to the store that's 2 minutes of walking away, time to order
also, because of how broken the economy is, it might end up cheaper
@robust mason Suuuup
the other vivek
Hey
@hybrid patrol Yo
yo
Hello
no
ads are a requirement
well one thing with pc gaming is that you can do partial upgrades, like if all you need to play a next gen game is a better gpu you dont have to pay for cpu, ram, etc all over again
(the consistency in hardware is a really nice benefit from consoles tho)
nvm, I'm too lazy to click buttons and too much of a boomer, it's literally easier to go to the store
I am like 20
@spare galleon yes
also I hate when games are stuck loading and barely using cpu
like this thing is maxing out a single core and has been loading for 10 minutes
tbf I am loading a map thats much larger than the game was designed for, but still
self.sigma = sigma
self.mu = mu
self.history = []
def predict_rating(self, lambda_decay=0.1):
if not self.history:
return self.mu, self.sigma
weights = np.exp(-lambda_decay * np.arange(len(self.history)))
recent_performance = sum(w * r for w, r in zip(weights, self.history)) / sum(weights)
sigma_obs = np.std(self.history) if len(self.history) > 1 else self.sigma
K = self.sigma**2 / (self.sigma**2 + sigma_obs**2)
mu_pred = self.mu + K * (recent_performance - self.mu)
sigma_pred = self.sigma * np.sqrt(1 - K)
return mu_pred, sigma_pred```
the fancy predictive part of my openskill sbmm matchmaker
almost done
!e
from operator import mul
print(list(map(mul, [1, 2, 3], [4, 5, 6])))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
[4, 10, 18]
work isnt work time, smh
"The career ladder for software engineers is collapsing," per BI.
@spare galleon
Sigh
yes?
Wait wait wait. You can do multiple container arguments?
How did I not know this
fun fact
iterable not container
that is the reason you can subclass a map isntance
to shorten sum(w * r for w, r in zip(weights, self.history)) part
!e ```py
class Foo(map("",6)):6
print(Foo)```
the what did you do
:x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 1, in <module>
003 | class Foo(map("",6)):6
004 | ^^^^^^^^^
005 | TypeError: 'int' object is not iterable
:x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 1, in <module>
003 | map(6,6)
004 | TypeError: 'int' object is not iterable
!d itertools.starmap
itertools.starmap(function, iterable)```
Make an iterator that computes the *function* using arguments obtained from the *iterable*. Used instead of [`map()`](https://docs.python.org/3/library/functions.html#map) when argument parameters have already been โpre-zippedโ into tuples.
The difference between [`map()`](https://docs.python.org/3/library/functions.html#map) and [`starmap()`](https://docs.python.org/3/library/itertools.html#itertools.starmap) parallels the distinction between `function(a,b)` and `function(*c)`. Roughly equivalent to:
```py
def starmap(function, iterable):
# starmap(pow, [(2,5), (3,2), (10,3)]) โ 32 9 1000
for args in iterable:
yield function(*args)
!e
map("", [6])
:warning: Your 3.12 eval job has completed with return code 0.
[No output]
WHAT
what what
!e ```py
class Foo(map("","")):pass
print(Foo)```
:white_check_mark: Your 3.12 eval job has completed with return code 0.
<map object at 0x7fec7347f820>
!e
print(list(map("", [6])))
:x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 1, in <module>
003 | print(list(map("", [6])))
004 | ^^^^^^^^^^^^^^^^^^
005 | TypeError: 'str' object is not callable
it fails on the next call, not on the map creation
(because what would it call the function with on init?)
but yhe fun sub classing quirks, you dont have to subclass classes
@silent plume Yo
!e ```py
import fishhook
@fishhook.hook(str)
def call(self, *args): return "Hello World"
class Foo(map("","")):pass
print(Foo())
:x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 6, in <module>
003 | print(Foo())
004 | ^^^^^
005 | TypeError: 'map' object is not callable
@digital gulch Yo
!e ```py
import fishhook
@fishhook.hook(str)
def call(self, *args): return "Hello World"
class Foo(map("","")):pass
print(next(Foo))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
Hello World
smh, time to rewrite it in rust
you're clearly confusing with JS
and this is the kind of code that LLMs always love to say will never compile
500 millibuckets
for c++
https://github.com/brainboxdotcc/DPP
for C#
even the example there shows why you shouldn't mix C++ with anything
C# one is sane, yes
thats the one i meant, and i like it best over discord.py and discord.js

discord.py is the best option currently
I know, if I ever write a discord bot I will use this
(feature-wise)
the only one that stands out is py-cord
with a dash, important
py-cord has voice input support
that's all
what?
out of dpy forks
I have never looked at clojure so
if you want something from-scratch, https://www.astil.dev/project/hata/
Hata is an asynchronous Discord API wrapper built on top of scarletio. It is designed to be easy to use, with also providing rich API offering everything what an advanced developer might need.
Named after Hata no Kokoro from Touhou Project.
omg
yes, there is touhou
wtw
@spare galleon there might be Haskell
@spare galleon https://github.com/shardlab/discordrb
@whole bear Yo
Compares Discord libraries and their support of new API features
giant page
and an outdated page
https://discordapi.com/unofficial/comparison.html
Ooooooo
!e only pro python devs know why this calls the __call__ added to str ```py
import fishhook
@fishhook.hook(str)
def call(self, *args): return "Hello World"
class Foo(map(100, [1,2,3])):pass
print(next(Foo))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
Hello World
wht
I should use this next time
I hope this does what I think it does, i.e. properly handle shutdown
handling docker stop is a nightmare
gtg 
Hi
Hemlock
Going good!
How about you?
@still herald how's your progress going on in Python?
So what you doing now?
Oh you're an HR
AF, have you ever heard of CFML?
ColdFusion?
Yeah
obviously, it's, like, critical to Web dev history
Less talk more work
no u
I'm work
Ai is 90% hype and 10% reality
Isnโt that Javaโs CSS?
Adobe's Rails
Ahh
though ASP is probably closer
I'm just looking at the various languages that Exercism has stuff for
Rails is just a bit fancier, nearly everything is, compared to ASP
@spark girder Can you read me my chat?
I've been using this until it got defunct
and 29% of not adding up to 100%
[]+-.,
I think a bit more
[] is if
ah
<>
<> is move
+- is change current cell
,. is IO
[]<>+_.,
Theyโre the equivalent of Cโs getchar() and putchar()
does brainfuck specify what byte size it expects the system to have
Not that Iโve seen but it might
at least 7 bits because it has to do with its own syntax at least
!charinfo []+-,.<>
\u005b : LEFT SQUARE BRACKET - [
\u005d : RIGHT SQUARE BRACKET - ]
\u002b : PLUS SIGN - +
\u002d : HYPHEN-MINUS - -
\u002c : COMMA - ,
\u002e : FULL STOP - .
\u003c : LESS-THAN SIGN - <
\u003e : GREATER-THAN SIGN - >
\u005b\u005d\u002b\u002d\u002c\u002e\u003c\u003e
!charinfo (){}
\u0028 : LEFT PARENTHESIS - (
\u0029 : RIGHT PARENTHESIS - )
\u007b : LEFT CURLY BRACKET - {
\u007d : RIGHT CURLY BRACKET - }
\u0028\u0029\u007b\u007d
if it used (), it would fit in 6 bits
Quick google shows that it requires a minimum 8 bit but the compiler will work on 8, 16, 32, or 64
Okay, so writing the list of ones I'm not sure if AF will know:
- 8th
- ABAP
- Arturo
- Ballerina
- Cairo
- Euphoria
- jq
- Pharo
- Pyret
- Raku
- Red
- Roc
- Uiua
- Unison
- Wren
I know some of these you likely know since we've talked about them before, but I just can't remember WHICH ones we've talked about
Have you ever heard about bhai lang?
"It enhances Perl's long term appeal..."
Perl 6
Bhailang is dynamically typed toy programming language, based on an inside joke, written in Typescript. Created by Aniket Singh and Rishabh Tripathi.
ohno the Uiua
wee wuh?
I think that's what they had on the front page
C++ of Perl
Uiua is like another APL
from what I remember
Hi:)
@languid helm look, uiua mentioned
I thought jq was kind of just a CLI utility
others I probably don't how/have forgotten
ABAP sure sounds like something I should know
Some of the names are fun
is ABAP just COBOLified SQL
Wait, da fuq? Most of these have a little syntax example next to their blurb
Ballerina does not have one
Yeah that sounds like the kind of evil SAP would do
doesn't count
though probably CFML doesn't count then either
factorial: function [n][
switch n > 0 -> n * factorial n-1
-> 1
]
loop 1..19 [x]->
print ["Factorial of" x "=" factorial x]
this formatting
why
from the hello world at least
like a weird mix of erlang and whatever else
also has ===
for storage identity
is
anyway, I've heard of this language, but not much beyond the general description
Cairo
fun to-celsius(f):
(f - 32) * (5 / 9)
end
for each(str from [list: "Ahoy", "world!"]):
print(str)
end
I love their Hello World
@wind raptor @tepid mantle I didn't try solving space invaders, so stopped there
it seems we all stopped there XD
Roc I've seen
Wren I haven't
@wind raptor @tepid mantle also: TIS-100, SHENZHEN I/O, Screeps (both versions)
I really really want to do Screeps
waiting for Kython
it's like Python
but implemented in
K
because no one deserves to understand the code of what they're using
As I really love Creeper World
robin came from middle class, python is for general people.
batman came from billionaire family, C is for manic
How about Rython?
@tepid mantle would you like Java instead?
t
it took 1 week to implement Scheme into Netscape
it took another to reskin it as Java
it wasn't an "option"
it was born in the browser
it wasn't chosen
it was not designed
it was not planned
There is Jython
python 2 (sorry)
How about mojo?
JVM > Java
not necessarily I think
afaik Kotlin can target JS also
KMP
and whatever apple uses
Swift ain't good!
@wind raptor compared to Objective C everything is
@rugged root would you want to restyle the whole world in Monokai
@tepid mantle
I like money, I use every lang to make money - big corp
@ivory stump I've realised I didn't count all Samsung flash drives last time
I forgot about the 500GB SD
so the total count is 8
Yes. Yes I would
Can you make waifu??
I really love Monokai
Is Objective-C still being used in industry?
๐ค
Interesting
It was creepy and uncomfortable. Remeber your audience
I hate that I have to keep saying that
My bad
Understandable!
Many other lang can be used like C, Swift and many more.
Upto you
my money perception got so warped that this feels just normal now
"ah, right, I just have a couple laptops' cost worth of storage, mostly unused"
lol does it ever stop
๐
what working in IT being in a low-living-cost country and getting most expenses paid for by others does to the brain
With a Z
This is my stealth mode
random furious typing
I did take a peek
but ultimately the issue is the server kept spinning
though that'd be the case if single is Crus or whatever

