#voice-chat-text-0
1 messages · Page 510 of 1
You'll get there
I wish not, I can't handle this life and planet anymore, let me respawn some where else
area 53 is where they store all the DNS routes in
area 52 is where they store me 😈
there was a game very recently which got shut down a week after release
giant budget
A WEEK?
years to develop, week to shut down
@scarlet halo guess what budget that game had
a billion?
$400 million
not far off
the lady who made Stardew Valley I think used F# or something to write it
I remember watching her youtube talk on it
hm, you mean the Stardew music?
1.5 months later, the subsidiary studio got shut down
I mean the actual game
good pun
there was a dude who made the game?
but no
probably different game
or some adjacent thing
not the game itself
Life truly is
Yet folks invest in future in hope for next new gamble
Burn out today, chill tomorrow
That is absolutely fucking crazy
RIP that company and project
But there are no tomorrow
by the way, which game?
Sounds like how Dead Island 2 took a decade to make but at least it was a finished project eventually and not dropped
*2 weeks, Concord
Why would they drop a game just like that? Sounds like a huge mistake
They must have completely messed up the code
I like math as long as it is simple math
there were other less ambitious projects at the time
including whatever Shroud was involved in
I see
degrees
(75 -45, aspect ration )
I don't remember whether it's width or diagonal
I'd assume width
pyramid
cones are fun when you put a plane through them
though
you need two cones actually
for it to be properly defined
intersection is either parabola, hyperbola, ellipsis or some extreme case (line or single point)
What he intent to do?
is he trying to set far and near?
So basically he like to add more tweaks and details?
opengl does everything for him
@versed heath
Hello mindful
@solar cliff 👋
Yeah 👋
Does anyone know how to use pil
Maybe FFI?
Do you have a more specific question?
Can it be used for indexing spesific images of a video
I don't believe so. That's probably more the domain of something like pyffmpeg.
Or whatever it's called. There are a few libraries that might handle that sort of thing.
!stream 317279909112446976
✅ @somber heath can now stream until <t:1755152008:f>.
Strudel is a music live coding environment for the browser, porting the TidalCycles pattern language to JavaScript.
@undone frost https://medium.com/data-engineering-with-dremio/building-a-basic-mcp-server-with-python-4c34c41031ed
@sonic flicker 👋
:)
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
I'm wondering, are you a bot by any chance?
impressive mate
i mean u made it...
it's a programmable game console
based on esp32
nothing too fancy
I don't have voice verification
permissions
!!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
i don't want to waste your time mate
are you a person?
ahh you're legit a person
ah idk what to say
@tardy quail 👋
if I'm eligible to use voice i could communicate with you clearly, my mind is currently empty i have nothing to say
@paper wolf any thoughts on this?
looks like binary tree
it's a Tamari lattice 🙂
@proud cloud 👋
In mathematics, a Tamari lattice, introduced by Dov Tamari, is a partially ordered set in which the elements consist of different ways of grouping a sequence of objects into pairs using parentheses; for instance, for a sequence of four objects abcd, the five possible groupings are d, d, a, and a.
hmmm
@wet heron @random tartan 👋
!e
1+1
:warning: Your 3.13 eval job has completed with return code 0.
[No output]
!e
from itertools import product
I=product(range(5),range(4))
print(list(I))
print(list(I))
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | [(0, 0), (0, 1), (0, 2), (0, 3), (1, 0), (1, 1), (1, 2), (1, 3), (2, 0), (2, 1), (2, 2), (2, 3), (3, 0), (3, 1), (3, 2), (3, 3), (4, 0), (4, 1), (4, 2), (4, 3)]
002 | []
itertools.product(*iterables, repeat=1)```
[Cartesian product](https://en.wikipedia.org/wiki/Cartesian_product) of the input iterables.
Roughly equivalent to nested for-loops in a generator expression. For example, `product(A, B)` returns the same as `((x,y) for x in A for y in B)`.
The nested loops cycle like an odometer with the rightmost element advancing on every iteration. This pattern creates a lexicographic ordering so that if the input’s iterables are sorted, the product tuples are emitted in sorted order...
cartesian product of two(2) iterables
Do you want to break out of the loop, or do you want to redo the loop?
I wish to reset the iterator I
By reset you mean to redo it?
@somber heath Hia (sorry for last ping wrong channel)
@jade jewel 👋
uhhh... Super on your banner thers an imposter.....
they are all fem bois
nop
najimi isnt femboy....
still cute tho
also would anyone here be interested in working with me on my discord bot?
im getting really bored and lonely
after 10 months
what language
python
im working on my game but thers a part of it that i still dont understand how to solve and i just give-up foe the day hopping next day brain starts to brain
its been 3 days since that problem showed
lol
well maybe i can access the remote git repo
eh...
so if i ask a sentence transformer to rank results for my query "How to fix a leaky facuet"
then it can rank "what is a tap" as a potential match with a higher score
which is correct on a structural level but not what the query intended
from qiskit.quantum_info import Statevector, Operator
import numpy as np
op = np.array([
[0, 1],
[1, 0]
])
state = np.array([1, 0, 0, 0])
new_shape = state._op_shape.compose(op._op_shape, qargs=[0])
m
@digital holly
are QR codes potential links to virus or whatever
So when some one suggests to drop one in a room im suspicious
yes , Annimo seen that @dry jasper
socializing does not have to be a formula or a pattern, I tent to go with the flow and my own energies
social Akido @peak depot
I got bullied too, actually it is almost attempt to murder because bully had intend to kill me and I was in hospital for 1 month!
I'm at work, trying to multitask and code trying to work quick I messaged someone who knows me to arrange a appropriate time or something to discuss what I've got in mind. thanks
@obsidian dragon
nani
yes?
you can make little tiny vids of girls eating burgers now @obsidian dragon
I like how curious you are!
burger
a DJ dude made a video of a baby riding on a tiger - so if he can , I guess anybody can
mmmm coffee 2 is soon
howdy doody @midnight agate
Hmm
You use debian?
Good to know, I'm planning to dual boot debian!
Yes I do play games
another time to remind everyone that I can't play FH5 on Windows
Hello Mindful dev.
it does not start
was wondering about , MX linux on a test system
What is meaning of heap height?
can you suggest a virtual layer for linux and W10 . 11 @midnight agate
@vocal basin we be waiting in game for you
Im stuck with --W--- , but i do get the idea
I have a old rather nice scanner , laser printer only works in XP , W2000 @midnight agate
mmm ok
I need to stop watching youtube
@wind raptor this is not entirely a ship, this is troops embarked on a ship
so only requires ship tech
Winrt
Wan
pip install winrt
ERROR: Could not find a version that satisfies the requirement winrt (from versions: none)
[notice] A new release of pip is available: 25.1.1 -> 25.2
[notice] To update, run: C:\Users\lilyh\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\python.exe -m pip install --upgrade pip
ERROR: No matching distribution found for winrt
conclusion: use uv
3.9 is standard, Ig?
3.9 is nearly dead
Really?
I use 3.11
@midnight agate better poetry
works in most of the stuff I use for data and AI stuff
Okay make sense why would you need winrt and simpleaudio
it includes version management of Python itself, yes
LOL
pyenv also help handle multiple python version
downloads pre-built by default
py -3.9 -m pip install pywin32
first of all: don't install any packages globally
second: stop using global pip and global python
@obsidian dragon
only py is valid on Windows
Hmm, upto him
this is a guideline not an opinion
venv
.venv
Did he left?
she
My bad she
you never use python directly when you use uv
ohhh PATH corruption ? by install
She is back
yes, some installs autochange the path
when you use uv correctly, python and python3 must fail with not found
I had that with CONDA long ago , wrecked my python install
you have nothing in PATH by default other than uv there
you can uv tool install but I'd rather not do even that
@dry jasper that's not a valid question
uv uses venv
and so does uv use pip
you can use uv with existing venv
@midnight agate yes, that's the whole point
uv means you don't do that BS
stop ever running python3 ...
what about docker containers?
@midnight agate you can provide specific Python versions compiled by you to uv
py -m pip install pyttsx3 pywin32
tech_head is a term I prefer over nerd
Hey Hemmy @rugged root
data archivist lately @midnight agate
A complete guide to using uv in Docker to manage Python dependencies while optimizing build times and image size via multi-stage builds, intermediate layers, and more.
cuz free books are great
Alaska is the place to be in the summer, it’s chill
Ha xd
mosquitos up there in Alaska when warm @wise loom
they will have mosquito nets i imagine
🦟
black flies what else
Super sonic , Sandwich , Snatcher is good
who says German's arent funny ?
Terry Gilliam's wild animations
@dry jasper that reminded me of Sniper Business
sniper bussiness?
This is literally a hostile business takeover. https://youtube.com/OfficialWKUK/live
We explain our business here: https://youtu.be/BMYADvlCrBI
WKUK Links:
https://youtube.com/OfficialWKUK/live
Infinity Stream https://twitch.tv/WKUK_TV
Livestreams: https://twitch.tv/officialwkuk
VOD Channel: https://youtube.com/c/wkukvods/
Reddit: https://redd...
OWWWWWWWWW THAT ONE
that was funny indeed 😄
HandOfBlood präsentiert stolz seine beeindruckende Schweinefarm in Minecraft – und Papaplatte ist sprachlos! Die Farm ist auf einem ganz neuen Level und sorgt für jede Menge Staunen. Ein epischer Minecraft-Moment, den du nicht verpassen solltest! 🐷✨ #HandOfBlood #Papaplatte #MinecraftSchweinefarm #shorts
@versed heath
virtual puppy room
!stream 381154715293188106 30M
✅ @dry jasper can now stream until <t:1755193551:f>.
OG founder left IG?
My first ever video! I'm not sure if I'm going to be finishing off this game, but I'll give it a try! If there are any games you want me to try, leave a comment on the bottom, or pop me an e-mail at browndj3@gmail.com. Yeah, that's about it... Let me know what you guys think about it.
15 years old
Hi
Interesting
video as old as me
ModuleNotFoundError: No module named 'pythonosc'
Not interesting
how are you running the code?
you are 16?
no
13?
@sharp idol paste the exact terminal command you use to run the code
march 31 2010
older then me by 4 days
and what have you used to install it?
py -3.9 Untitled-1.py
@dry jasper NOOOOOOOOOOOOOOOOOOO
no buttons
stop
never
@sharp idol does this fail too?
iirc you needed 3.9
you need the same -3.X flags as with -m pip
Curious about Daniel?
ya
Ask him directly
they are talking
ik
as he prob ain't reading chat
Anybody wanna do some Easy coding challenge contest?
3 problems 30minutes total.
Let's go?
https://www.codebattle.in/editor/82081080-4b3c-491c-bd33-7845bbc078dc
I'm in the contest already, if anyone wants to join
what did you run to install it?
pip install python-osc
py -m pip install python-osc
to late ig
Bye
hi
!stream 886227712056885309
✅ @sharp idol can now stream until <t:1755192989:f>.
@mighty cairn please do not spam leave/join
mb, mic wasnt working
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
ok, mb
cya
Isn't he streaming Game?
!unstream 886227712056885309
❌ This member doesn't have video permissions to remove!
@sharp idol's stream has been suspended!
AI is so wonderful, we should all ONLY do AI as a mandate from Sam Altman
@sharp idol don't listen to them, they are trying to hold you down
do AI
@sharp idol they don't know that AI is going to take over the universe
@sharp idol if you give your personal AI internet connectivity, it will take over the world
@sharp idol there is no limit, don't listen to them. Sam Altman clearly said AI is the best
AI can't help you..
Especially general purpose AI like ChatGPT.
@sharp idol Sam Altman NEVER learned Python, you don't need to learn it
@sharp idol you can take over the world right now
I'm certain, he did learned Python during his Bachelor in CS in Stanford
I hope you are being sarcastic here!
@sharp idol exactly Lily, you ONLY need a "powerful GPU server". don't listen to them, they want to hold you down.
current AI is one of those rare topics that I consider just utterly boring
AI is new buzz word for everything
so dull
AI these, AI those
white noise
AI already has disastrous negative effects
just like with cryptocurrency
whereas bubbles mostly tend to have negative effects when they collapse
good old bubbles
I do use AI only because I would like to avoid Google Ads, I hope GPT won't add ads in Chat
But I think it will sonner
@unique wyvern Have you seen this?
https://arxiv.org/abs/2504.17033
We give a deterministic $O(m\log^{2/3}n)$-time algorithm for single-source shortest paths (SSSP) on directed graphs with real non-negative edge weights in the comparison-addition model. This is the first result to break the $O(m+n\log n)$ time bound of Dijkstra's algorithm on sparse graphs, showing that Dijkstra's algorithm is not optimal for SSSP.
New SOTA for search apparently.
hii
@upper basin not as drastic as with Spelis
indices = [self.num_qubits - 1 - i for i in reversed(qubit_indices)]
axes = indices + [i for i in range(self.num_qubits) if i not in indices]
axes_inv = np.argsort(axes).tolist()
contract_dim = op_tensor.shape[0]
contract_shape = (contract_dim, 2 ** (self.num_qubits - op_tensor.num_qubits))
tensor = np.transpose(
np.reshape(self.data, self.tensor_shape),
axes
)
tensor = np.reshape(
np.dot(op_tensor.data, np.reshape(tensor, contract_shape)),
tensor.shape
)
self.data = np.reshape(
np.transpose(tensor, axes_inv),
2 ** self.num_qubits
)
self.data is a vector. op_tensor.data is a matrix. self.num_qubits is an int.
[i for i in range(self.num_qubits) if i not in indices]
O(N^2) at SCALE
interesting server tag 🌝
!e
import numpy as np
print(np.array(range(10)))
print(np.arange(10))
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | [0 1 2 3 4 5 6 7 8 9]
002 | [0 1 2 3 4 5 6 7 8 9]
!e
a = 1024**2
print(a ** 3)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
1152921504606846976
tensor = np.transpose(
np.reshape(self.data, self.tensor_shape),
axes
)
.
!pypi batgrl
I only now realised that it's an abbreviation
`
'''.py
!code
'''py
```py
test
```
The radical Kickapoo video from THE PICK OF DESTINY...featuring MEAT LOAF!
@somber heath
I've witnessed negative effects of any sort of mental-altering stuff before so I still choose not to
(also the act itself of attempting/doing anything to counter stuff only further destabilises me)
"tiktokify yourself"
measurements
I thought they were talking about clothes or whatever
what about the voices
👋
paid QR scanner
like a paid ffmpeg wrapper
you're suggesting I put ffmpeg on a business card?
ffmpeg sure does involve inputs
Im not aloud to speak do to new tho
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Yeah 25 messages and the.... time spend on channel..?
Sound untrue
About the panels
activity blocks are based on messages; not on being in the vc
Link please..! 😮
Im very intrerested in electric stuff in general so would really like to see
I see
Hm okay
i try to google
But seems like nobel price of the century
If it were to be true
Well
It would be almost better than inventing the solarpanel
It would make all other energy methods obsolet
not at all
Well. yeah.
are you going to cover the whole planet in wires?
Storage is still a problem ofcourse. But if the amount of energy produce would double. That would be an enormous leap forward.
Like insanely huge
30 years
doubling is not enough
world currently relies on dynamically scaling energy production a lot
which none of green energy sources support
green energy including nuclear
You would probalby need way less wires if solar panels were that good
No the earth IS covered in wires xD
how are you going to get solar power during polar nights?
If the source would be local very close to where the energy would be used then way less wires
Batteries
Or water
and that's where the issues start
Mechanical or chemical storage of energy
yes, the only viable battery tech is still two water reservoirs on different heights
chemical isn't good enough for that yet
Yeah, In those places would be tough. You also lose 25-50% of capacity of batteries when its cold
chemical battery is good for portable stuff
coal is bad, but Germany's "green" party really likes it
If you would have tall buildings of water it is ALOT of storaged energy that wouldd be easy to convert back to electricity,´. Not much loss either
@somber heath "gotta get that coal power technology from China"
Or. Ofc. All ways of storing energy isnt that efficient.
solar and wind aren't renewables currently
No i know
because the power elements themselves aren't
yeah, it's a just a buzzword anyway
@somber heath also if you have too much
another important nuance
generated energy does need to go somewhere
wouldn't qualify that as "should", but if it was possible, then maybe
How should the houses produce energy
still need someone to service it
I'm way past even hoping for such dream
everything of this sort is just filled with outright fraud presently
carbon credits are mostly fraud
"A Spanish research team at the Universidad Complutense de Madrid has developed a novel solar cell made of gallium phosphide and titanium, potentially achieving a record-breaking 60% solar energy conversion efficiency. This innovative cell, the first of its kind with an intermediate band, is designed to surpass the limitations of traditional silicon-based solar cells, which have a theoretical maximum efficiency of 33.7%."
According to google ai
IN A NUTSHELL 🔬 Researchers at the Universidad Complutense de Madrid have developed a novel solar cell using gallium phosphide and titanium. ☀️ The new design has the potential to achieve an energy conversion efficiency of 60 percent, far surpassing current technologies. 🔋 Overcoming the Shockley-Queisser limit could significantly enha...
yeah, post sources directly, not the AI overview
Sry i got suprised i actually found something supporting this claim so just posted the first thing i saw
So then titanium: 🚀
this also disables quick one-line answers
which are often very wrong
Yeah usually im more patient xxD
But i dont think you grasp how crazy this is xD
Its like 22% today...???
And if i understood correctly they managed 60%?
When it sounds too good to be true..
I dont know dude
random "make websites for hire" agency has this in the title
I don't think I'd trust them with a website
That means like 1500w panels
(they meant "•")
who
where
what
@lavish gazelle 👋
Hi @somber heath
Hej Börje
umlaut
not entirely sure how to explain umlaut
you know how i in ir is often pronounced, right?
like bird
like it's a modified o
bird in English sounds like börd in languages with umlauts
ä ü are more difficult
nya/na difference
given how this is going into the anime category, do not be confused with ä in Nausicaä
there it's diaeresis not umlaut
since it's English translation
ä isnt that difficult
ah
as in English in general
coöperative
naïve
and other English words
it just signifies a separation from the previous vowel
rather than modifying the sound itself
... and then there's Cyrillic with its ё
which is actually ö
(umlauted)
oh yeah have you guys heard about the thing the EU is trying to do?
What?
Friend access denied
yeah they want to scan every single message we send.
This is the most insane VC
@timid quartz step 0 for programming: learn to read
step 1: learn to read a lot
It’s literally insane
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
The patience and communication is kind of impressive @somber heath Kudos
i was thinking about that lmao
Not 60% solar panel impressive though sorry but cmon
When i lose it i usually change my tone quite abit more
I'm clearly 1000th level
hey @somber heath , I'm in a coding discord server. I invited a friend and they were looking at what roles i have on the server. I had my coding Experience level to "Intermediate" and this friend said to me, i am advanced because i coded a minecraft launcher in Rust (its not even finished lol, but close to working)
@somber heath I have a question about webview in python?
there do only exist senior rust devs
it's a lie I'm above-senior
lead
lol
in one of the usual dumb ladders it goes junior-middle-senior-lead
@timid quartz you probably have discord configured to automatic threshold?
which is suboptimal
i might want icecream
yeah, eating icecream is better than eating lead
meant to write it as a separate message
molten lead
i mean i’ve only experienced icecream
I've had mine set to this for like years at this point, never had any problems lol
removing your skin, putting in water cooling systems, putting your skin back, make a hole to supply power and thats another way
last time I adjusted it was after an in-VC karaoke
since for singing you kind of have to drop it to -inf
if i
i = ("hi")
print(i)
name="John"
if name:
print(f"Your name is: ", name)
i = 1
if i:
i = "hi"
print(i)
@somber heath one God criticises another God's creation: you forgot to insert a colon
yo i got a question
Opal. What kind of projects are you doing wich uses coding? Cuz i asume you are.
and that also usually implies disabling all the noise cancellation
ask away!
@scarlet halo You code in rust?
i code in everything i know
including rust and python
I code in everything I don't know
i dont know code and im trying to start but i cant find where to start
well, what happens when you know something
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
heres a good start
I use rust also
is it free
i = 1
if i:
i = "hi"
k = 2
if k:
k = "im"
print(i + k)```
this statement is true if I know everything
most of them, yes
keyword if
Hm ok. Thats not what i was expecting. Cool tho.
you can filter for "Free"
You use golang??
Yuya is a diety, she might know some stuff
thanks
i know the basics, might have forgotten tho.... haven't used it in a while
Ohh got it
this is GPT-2-W3Schools level of code
I'm including W3S in there purely on the basis of
2
f____ng
spaces
there is nothing thant i need
i = 1
if i:
i = "hi"
k = 2
if k:
k = " "
j = 3
if j:
j = "im"
print(i + k + j)```
that*
tf
you could simplify this @timid quartz
print("hi" + " " + "im")
or
i,k,j = "hi", " ", "im"
print(i+k+j)
Can i see the coded images?
!e
f"{1:0<{1:0<10}}"
:x: Your 3.13 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File [35m"/home/main.py"[0m, line [35m1[0m, in [35m<module>[0m
003 | f"[1;31m{1:0<{1:0<10}}[0m"
004 | [1;31m^^^^^^^^^^^^^^[0m
005 | [1;35mMemoryError[0m
MEMORY ERROR BAHAHAHAHA
chat im running this on my pc
wish me luck
nah im scared
it might fit
i wont do it
I will
looks like its infinite, idk
!e
print(f"{1:0<10}")
:white_check_mark: Your 3.13 eval job has completed with return code 0.
1000000000
i,k,j,b,h = "hi", " ", "im", " ", "kb"
print(i+k+j+b+h)```
also my linux machine just starts tweaking if i use too much memory
print("hi im kb")
!e
print("who" "even" "needs" "plusses")
:white_check_mark: Your 3.13 eval job has completed with return code 0.
whoevenneedsplusses
would plural of plus be pli
if we're speaking Latin, amongus -> amongi
fungus -> fungi
im a fungi
f"{1:0<{1:0<{1:0<1:0}}}"
What is that?
one more level
:x: Your 3.13 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File [35m"/home/main.py"[0m, line [35m1[0m, in [35m<module>[0m
003 | f"{1:0<{1:0<[1;31m{1:0<1:0}[0m}}"
004 | [1;31m^^^^^^^^^[0m
005 | [1;35mValueError[0m: [35mInvalid format specifier '0<1:0' for object of type 'int'[0m
hm?
:x: Your 3.13 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File [35m"/home/main.py"[0m, line [35m1[0m, in [35m<module>[0m
003 | f"{1:0<[1;31m{1:0<{1:0<10}}[0m}"
004 | [1;31m^^^^^^^^^^^^^^[0m
005 | [1;35mMemoryError[0m
f"{1:0<{1:0<10}}"
# ^^ just 10
# ^ just 1
# ^ pad with zeros
# ^ to the right of the number
# ^ ^ interpret the padded string as a number
# ^ ^^ pad 1 with zeros again
didn't mean to !e it
hmm what other funny !e stuffs do I have
!e
print(int("৪୨")) # answer to everything
:white_check_mark: Your 3.13 eval job has completed with return code 0.
42
the classic
Any django dev here?
I still avoid using Django
overcomplicated for most of what I do
Ohhh so you the problem
use flask or fast api
I agree f flask
wait im so confused...
import time
text = "Hello, My name is kb"
for word in text:
print(word, end='', flush=True)
time.sleep(0.1)
i = 1
if i:
i = " "
print(i)
text = "Hello There Kb, Im Jacob"
for word in text:
print(word, end='', flush=True)
time.sleep(0.01)```
It just converts the str to int
spelis
what
the hell is Quart???
async Flask
import time
text = "Hello, My name is kb"
for word in text:
print(word, end='', flush=True)
time.sleep(0.1)
i = 1
if i:
i = " "
print(i)
text = "Hello There Kb, Im Jacob"
for word in text:
print(word, end='', flush=True)
time.sleep(0.01)```
yep
from same authors as Flask
how to make indent without py i = 1 if i: i = " " print(i)
currently I mostly use axum for web stuff
I don't working working with async
i think you can just do
print("")
if thats what you want.
Rust meantioned!!
ok
deadass using it rn 😭
async is necessary for a concurrent application in languages without green threads
I switched from tide
tide wasn't performant enough
and based on async-std
which is dying
async-std got replaced by smol
I'll probably try rocket at some point
I do dislike a bit that it doesn't seem to be tower-centric
even though it exists in tokio ecosystem
7 crates mentioned
Your funeral
combinators and domain logic definitely shouldn't rely on a specific runtime
also, reminder: Rust allows you to mix runtimes without issues
What are you building that requires that?
software with runtime control requirements which default tokio can't provide on its own
tasks aren't the universal model unfortunately
raw poll still has its place
I tried rocket before, quite like it actually
I have only use tokio
I started with smol instead of tokio
thankfully
fun fact: smol, the crate itself, defines exactly one function
spawn
everything else are re-exports from even smaller crates
async-executor, one of the core parts of smol is such a powerful thing
effectively implements scoped task groups without involving an external runtime
(scoped meaning you can borrow inside tasks rather than copying data into them)
import tkinter as tk
root = tk.Tk()
root.title("kbs gui")
root.geometry("350x200")
root.resizable(False, False)
label = tk.Label(root, text="Edit")
label.pack()
label = tk.Label(root, text="Select")
label.pack()
label = tk.Label(root, text="Start")
label.pack()
root.mainloop()```
how do i make the text side to side horizontally
im kinda js guessing.
learn the basics first
i want to do this tho
I bet you use Fedora also
i mean go for it
only inside containers
rust-lang/futures-rs#2865
roadmap
why would you need a roadmap? just write code and hope it fits in 🙏 (satire btw)
I use arch btw
thats not a flex buddy
im cooking
i bet you used archinstall 😂
Roadmap is good what do you mean
import tkinter as tk
root = tk.Tk()
root.title("kbs gui")
root.geometry("350x200")
root.resizable(False, False)
frame = tk.Frame(root)
frame.pack()
label1 = tk.Label(frame, text="Edit")
label1.pack(side=tk.LEFT, padx=10)
label2 = tk.Label(frame, text="Select")
label2.pack(side=tk.LEFT, padx=10)
label3 = tk.Label(frame, text="Start")
label3.pack(side=tk.LEFT, padx=10)
root.mainloop()```
roadmap.sh is not a roadmap sadly
it says satire
Proudly
just a road
🙏
I love it
Bruhhhh
the only line I ever contributed to rust-lang org
debugging that thing was quite a pain
somewhere in early 2024 (February iirc) there was a regression in the compiler
which caused some async stuff to use 100% of the CPU core it got scheduled on
because that stuff kept busy-waking
@vocal basin what made you change your discord username? just curious.
Hmm interesting
The dude found anime
Or loves anime
I haven't changed my username since the rollout of discriminator-free usernames
and I haven't my global display name since around late 2021
you could also check that they are a male before saying "dude", cause they arent
maybe it was a server profile then?
Ohh shoot my bad

"Server Nickname" as Discord calls it
eh same thing
@vocal basin girl??
have you ever met a lesbian dude?
lmao
I am from Africa
there is no comma in that sentence
We only understand male, female
lesbian is a sexuality, not a gender
Ohhh wow
I played Noctuary's DLC that got released recently
and there was quite a bit of Yuya-related plot
with her being a bit less god-like than she usually is
also at some point I saw "UEFI" and realised that yuyaify sounds similar
are you homophobic?
Not really
you-yee-eff-eye
you-yah-if-eye
the only thing ruining it is the "yee"
is anyone not busy
I do pronounce UE with extra y between because of dialect/accent specifics
Just ask bro
who
I meant ask
ohh
fair ig, doesn't sound that wrong
well yall gnna be mean
No we won't
I think it's also a result of how u.e. gets pronounced when speaking quickly
Try building a todo app first
since pronouncing them separately might require a pause
i made a thing and its chatgpt but i still wanna use it but change the gui
i kinda hear it...
What is that thing??
and eff gets caught into there too
Ohh nice
so even closer to ify
my fonts are fucked lol
and, if it was a startup name, it'd probably be "yuyaiffi.™"
or whatever
they like to y->i
😭
hi hemlock and whoever else just got pinged
how bro felt: 😈
I don't like robblox, I am an extraction shooter myself
who got pinged 😭
I mostly play Arena Breakout and Delta Force
What's that?
i beat half life 1 a couple weeks ago, i should finish 2, 2 ep 1, 2 ep 2
ya
During Black Friday, a devastating pandemic sweeps through New York City, and one by one, basic services fail. In only a few days, without food or water, society collapses into chaos. The Division, an autonomous unit of tactical agents, is activated. Leading seemingly ordinary lives among us, these Agents are trained to operate independently in…
$29.99
73861
💀 yall can't be real rn
there is a part which functions like an extraction shooter
the only place with PvP in the game
Ohh PC gamer
the hell is double movement
(I'd advice against posting links to dubious software)
it says
what
that one is fun even without PvP
cheats?
since you aren't really required to attack anyone
it says Epic (Fortnite) officially allows the use of 3rd party remapping software in competitive play. This means that double movement/controller movement in competitive play is not exclusively limited to Wooting keyboards anymore.
We’re happy for the Fortnite community - it was fun to ride the hype of exclusivity - but as gamers ourselves, we would also not agree with the situation.That said, we felt that all the available remapping tools are either a real hassle to set up (Key2Xinput) or add significant input delay (reWASD).
To show our support and further our irrelevancy, we decided to make our own lightweight remapping tool for the Fortnite community that is easy to install, instantly gives double movement, and is safe to use (no ripshit).
It’s completely free and open source. Let us know if you’d like to see more features on our Discord #feed_us_back channel.
@vocal basin can I have your github?
yeah, same question
That's an org
it might be something legitimate but sounds way too weird
that's where all my useful public code is
I don't remember if I unlocked all zones yet
Bro said useful 😂
if you want something less useful https://gist.github.com/afeistel/b32ade307373dbe2e4c71806c4bbf1c4
The hell
Nice github PFP
alisa why is your email "af@lesb.io" 😭 (not that anythings wrong with it, just thought it was kinda funny)
Where I write all my public code: https://github.com/Legacy-Engineers
oh my god you can NOT be real rn 🥀
I am
holy weeb 🙏
Lol, I changed the pfp tho, I thing the cdn hasn't updated yet
I so hoped that this would be real code
also please don't mod.rs in modern Rust
unless you have a style guide that mandates it
in which case, link
Lol, I was trying to build Django in rust. I could find a way to dynamically load in modules
what if i have related files... that i would put in a directory anyways
Just a force of habbit
so uhm... dont think theres django for rust but hey, what do i know
yexo i think this is why you were banned before
For Rust-to-Rust ffi, with a focus on creating libraries loaded at program startup, and with load-time type-checking.
you send diabolical shit
typo'd
it was for talking about stuff against tos
should've read them
Huhhh interesting
I'm not a nerd
if you have lib.rs and main.rs, main.rs shouldn't have any mods in common with lib.rs
https://github.com/Legacy-Engineers/Rango/blob/main/src/main.rs#L1-L3
I read docs. not rules 😎
src/main.rs lines 1 to 3
mod conf;
mod db;
mod http;```
The rust abi is just mental to deal with
Rust ABI itself doesn't really exist
as for abi_stable and stabby, they're way more convenient than doing the same in C++
since they check if the ABI actually makes sense
remember: C++ ABI doesn't exist either
only C one does
wait I have another
Trying to make libraries like c is just not gonna happen
legit no one cares
use rango::{conf, db, http} instead
since main.rs depends on lib.rs
and lib.rs is brought in scope under the name of the current crate
Yeah yeah I get that but the fact that this is one of the reason why rust takes time to compile
C++ compilation times are quite abhorrent too
thankfully C++26 finally discovered reflection, so some of the TMP nightmares might start to go away soon
or Jevons paradox happens and people start doing even more during compile times
Hmmm, I will look into it
How many languages do you know ??
all of them, obviously
I don't write C++ because I know it too well
Lol I was thinking the same 😂
Cargo.toml line 12
surrealdb = "2.3.7"```
Just write it then
surrealdb is quite questionable so far
says the guy with 1000+ hours on geometry dash 😭😭😭
"katara"
just remember what you use it for specifically
I was trying it out
which is developer experience, not performance
yep
I am not following?
its how much you enjoy coding it, not how fast it executes
surrealdb has questionable performance
Surrealdb did boost a lot of features, So I though it will be pretty neat
it's focused on amount of features seems like
rather than underlying implementation quality
Ohh I get that but I just added it there cuz I have never used a database besides postgresql or cassandra
have you never used sqlite
genuinely the goat
Hmmm That is true
Default database in Django, I did use it
Have you heard of the new kid https://turso.tech/blog/introducing-limbo-a-complete-rewrite-of-sqlite-in-rust
I, too, am a fan of taking down production because my database ran out of memory (hello postgres)
https://github.com/Legacy-Engineers/medusa/blob/main/src/server.rs#L88-L89
src/server.rs lines 88 to 89
thread::spawn(move || {
handle_client_with_timeout(stream, store_clone, config.enable_timeouts, config.connection_timeout);```
I haven't tried it out
Turso mentioned
(one of the reasons for needing async)
async is generally more memory efficient when a lot of tasks are involved
and if the client is too dumb to disconnect when idle, that tends to become important
Elaborate
threads take several hundreds of kilobytes to spawn
alright yall gonna head to bed, school starts in like 6 days so i gotta flip over my sleep schedule lol
cant keep waking up at 11
whereas as task can fit in less than a kilobyte, generally
Medusa is my most complete rust project. Loved it
because of how the stack is structured
GN
with threads, you usually allocate a whole another stack for it to run on
which, if you haven't configured it properly and if you've slightly messed up the OS, is around 8MB
usually less
down to around 300KB iirc
(at least that's what it happens to be with one of my server applications)
((which doesn't spawn threads dynamically))
Damn!!
notice how i haven't played it in a while?
whereas most of the tasks just store what's necessary specifically for them
size of everything that is stored across .await points needs to be known upfront in case of Rust
(that's why, for example, you can't use recursion as is)
@urban abyss 👋
AIT
there was recent fix which allows you to just Box::pin
without dyn
async fn explode() {
Box::pin(explode()).await;
}
Why??
used to require this
async fn explode() {
(Box::pin(explode()) as BoxFuture<()>).await;
}
happens because when a coroutine hits an .await and yields it remains as a fixed-size value