#voice-chat-text-0
1 messages · Page 336 of 1

I still recommend enabling that checkmark
since you're installing outside user directory
Yeah, you need to check it to get windows to give the installer admin privs
also, if you have any python processes open, close them
This option you mean. The first one
So make sure to check "install Python 3.12 for all users"
I just use the recommended defaults for new python installs , so the next layer of python modules can install properly ... @upbeat bobcat
Finally
loop.add_reader(fd, callback, *args)```
Start monitoring the *fd* file descriptor for read availability and invoke *callback* with the specified arguments once *fd* is available for reading.
@wind raptor have you used this before?
I haven't used that before.
Should I try this again?
it's like select but easy to use
a wrapper around epoll
Taking risk again.
🤞
does anyone know how to execute a shell script on startup in i3?
exec startup.sh
is not doing it (assume startup.sh is custom written script)
Have a good one!
i need help with my program
@stark river, hey
from pygame.locals import *
import pygame
class Player:
x = 10
y = 10
speed = 1
def moveRight(self):
self.x = self.x + self.speed
def moveLeft(self):
self.x = self.x - self.speed
def moveUp(self):
self.y = self.y - self.speed
def moveDown(self):
self.y = self.y + self.speed
class App:
windowWidth = 800
windowHeight = 600
player = 0
def __init__(self):
self._running = True
self._display_surf = None
self._image_surf = None
self.player = Player()
def on_init(self):
pygame.init()
self._display_surf = pygame.display.set_mode((self.windowWidth,self.windowHeight), pygame.HWSURFACE)
pygame.display.set_caption('Pygame pythonspot.com example')
self._running = True
self._image_surf = pygame.image.load("pygame.png").convert()
def on_event(self, event):
if event.type == QUIT:
self._running = False
def on_loop(self):
pass
def on_render(self):
self._display_surf.fill((0,0,0))
self._display_surf.blit(self._image_surf,(self.player.x,self.player.y))
pygame.display.flip()
def on_cleanup(self):
pygame.quit()
def on_execute(self):
if self.on_init() == False:
self._running = False
while( self._running ):
pygame.event.pump()
keys = pygame.key.get_pressed()
if (keys[K_RIGHT]):
self.player.moveRight()
if (keys[K_LEFT]):
self.player.moveLeft()
if (keys[K_UP]):
self.player.moveUp()
if (keys[K_DOWN]):
self.player.moveDown()
if (keys[K_ESCAPE]):
self._running = False
self.on_loop()
self.on_render()
self.on_cleanup()
if __name__ == "__main__" :
theApp = App()
theApp.on_execute()
python program to calculate the sum of all the odd numbers within the given range
Num_Players = int(input("Please enter the number of player that want to participate, (2 - 4) : "))
if Num_Players < 2 or Num_Players > 4:
while Num_Players < 2 or Num_Players > 4:
print("""Error 400
There has to be 2 or more players.""")
Num_Players = int(input("Please enter the number of player that want to participate, (2 - 4) : "))
Player1_Name = ""
Player2_Name = ""
Player3_Name = ""
Player4_Name = ""
Player1_Score = 0
Player2_Score = 0
Player3_Score = 0
Player4_Score = 0
if Num_Players == 2:
Player1_Name = str(input("Please enter the name of Player 1: "))
Player2_Name = str(input("Please enter the name of Player 2: "))
Player_Names = [Player1_Name, Player2_Name]
elif Num_Players == 3:
Player1_Name = str(input("Please enter the name of Player 1: "))
Player2_Name = str(input("Please enter the name of Player 2: "))
Player3_Name = str(input("Please enter the name of Player 3: "))
Player_Names = [Player1_Name, Player2_Name, Player3_Name]
elif Num_Players == 4:
Player1_Name = str(input("Please enter the name of Player 1: "))
Player2_Name = str(input("Please enter the name of Player 2: "))
Player3_Name = str(input("Please enter the name of Player 3: "))
Player4_Name = str(input("Please enter the name of Player 4: "))
Player_Names = [Player1_Name, Player2_Name, Player3_Name, Player4_Name]
for x in range(len(Player_Names)):
print(Player_Names[x],)
Thanks a bunch bro
My pleasure.
Why?
Crazy
I have a call one sec @somber heath
@distant zephyr Yo
hi
they are saying i have less then 50 messge
@low dirge they are saying i have less then 50 messge
@vocal basin @rugged root @ help me
hi peeps
i hate web dev, front end specifically, making things work for different things sucks, ive refactored my code 3 times yesterday just to make it work, smh someone kill me
i dont mind back end
i just broke chatgpt
see looks like its working, but youd be wrong wrong, there is supposed to be an animation in the background being called <script async src="../JS\canvas-BG-image-background.JS"></script> however this does not seem to be working
!stream 689245143609508025
✅ @spare galleon can now stream until <t:1722524922:f>.
!stream 154425749221146624
✅ @terse rose can now stream until <t:1722524928:f>.
i hate the coding
the streak of getting a pay raise every two months stopped, time to switch job
@rugged root
Religious statesman and president of the Universal Society of Hinduism Rajan Zed released a statement today, urging Blizzard and Activision to remove an Overwatch skin he said “trivialised Hinduism’s highly revered goddesses”. Devi is the great goddess of Hinduism, worshipped in many different form and names since prehistoric times. While Symmet...
does kotaku counts?
yp ik but its possible i think the other way around ?
gotcha.
Windows allegedly breaks existing Linux boot stuff
yp that's true, and with that i don't know why but there are more chances of you getting that driver not found error more oftenly when you make a bootable on linux than windows. it happens with me everytime today it was 3-4 times. 😦
it did break it for me, but i managed to figure it out without reinstalling everything.
one more query, there is a thing bothering me again and again
that no drivers found thing when installing windows, what'd i do now ?
searched everywhere on internet and they were guiding you like there is some problem in your stick, install drivers and extract in your bootable usb but i can't copy my drivers in ubuntu in live bootable stick and plus i have amd ryzen on lenovo the worst combination, i can't find liable drivers out there unlike intel one's who provided iirst thing which you can install on your system then extract it down in your bootable then browse from the installer / partition thing in windows bootloader to have it installed on your system but that ain't for me.
a tornado went through voice 1 room
hello guys
i get this error whenever i try to use textract.process for a pdffile
i verified that the pdf file does exist and the path is accessible
can someone help me figure this out ?
try running the command in the directory itself and just give the name of the pdf file
see if that works
thanks for responding but its okay now
switched to another library
ok
With my color trigger
@quartz beacon there are deer farms in Eastern Europe too, but they're rare
(but it is mostly in Siberia/Scandinavia indeed, in the context of Eurasia)
((оленеводство/оленярство/аленегадоўля being the word for it))
This song is from the "Frozen" animated movie. This film and the audio-visual content of the video is in property of Walt Disney Animation Studios and Walt Disney Pictures! I don't own anything in this video.
http://www.disneyanimation.com
http://www.waltdisneystudios.com
____________________
Frozen (Bl...
funny fact:
UA article has picture of Finnish people doing deer farming in Norway
BY article has picture of people, who mostly live in Norway, doing deer farming in Sweden
Blörö
(though there's slight nuance, those people being labelled there as Finnish is not entirely correct, because Kvens are actually more associated with Norway)
(when holding alt)
@quartz beacon if currencies made sense and correlated to health of economy and state, USD would already be >200 RUB instead of 80~100
🎶 🖥️ ⌨️
@peak depot it went through 11 orders of mangitude of cuts
5'00'000'000'000
from the original
Real men can wear pink, @rapid chasm.
Yes, I'm aware of the irony of the use of "real", here, but you know what I mean.
pink-purple mix is quite popular amongst certain regional mafia
@quartz beacon why did I not see this pic before lmao
(you might know who that is)
we all wear pink shirts on valentine's day in the office
@gentle flint I don't like the steering wheel on racing bicycles
call it "salmon colored" and pink is no longer effiminate
Лол
The truest men actually are so confident in masculinity they wear exclusively pink dresses and still ooze more testosterone than everyone else in the world together
why is this image being served from a local cdn to me?
by local cdn i mean very local
are you running a cdn on your pc?
usually cdns are in india but this one is in pakistan .. for some reason
only cdns in pakistan that i know are ubuntu repos
it's raining and i wanna play some football 😦
it it's based on cloudflare, they have servers almost everywhere
there are no servers in pakistan.. there is not enough electricity
that's why all cdns make the decision to host in india
running a server in pakistan is risky
CloudFlare have CDN servers in Islamabad and Lahore
where are they getting electricity from 🤔
maybe they're the reason why the rest of Pakistan doesn't get it
blyat !!
why even try that.. nobody's requesting content from these cdns
Biltema is not very good quality
AF, what you up to?
Also apperently this is a very wholesome and cute anime:
It's about cats making ramen
watching YouTube but with difficulty modification:
ISP is blocking YouTube
Whatcha watching if you don't mind me askin?
Cat videos!!!
(currently not watching, just trying to connect to it at all without having the connection throttled)
ISP is doing packet inspection
and idk how good it is
Can I be of any assistance?
(I won't say how to circumvent that, but the fact that it's possible has been demonstrated)
When ISP is blocking your access, vpn can't help right?
Cause vpn is more for region locks.
Yours is that the ISP itself is blocking youtube, which is a new one for me.
I'm using Tor, but that has its own problems
Tor is super slow though, no?
stable enough for 1080p60fps
Gotcha.
(I don't need 1440p60fps and neither do I have premium bitrate available)
how about full-stack
I don't need it either hehe. My screen is max 1080p, so no point in worrying about it.
1440p and 2160p yield better quality on 1080p displays at times, because of how YouTube compresses videos
translation is
free, fetch only: sea aquarium with fish
I have noticed that too, but thought maybe I'm hallucinating it.
I don't see well when image is moving, so doesn't matter as much for me
Like in my head I'm like well that's 1080p, I have only 1080p, so I can't allocate a 4k video to a 1080p display.
You have that too?
Same.
I have very sharp vision when looking at static objects
I once thought I saw ice falling from the sky, but it was just a haillucination.
just can't process movement
Hehehe
How?! HEHE
"Sky is falling!!"
Little chicken vibes.
despite vision issues, I hallucinate sounds more often than images
At all, or just for fast and steady movements?
You know the star wars intro? I get it with those type of stuff.
my sink is leaking my audio into discord even though i don't have a mic.. i am using arch linux.. anybody know of a fix?
it's normal for me to not notice an object if it's moving fast/unpredictably
by audio i mean background programs' audio
(imagine having to play tennis proper with that)
So, you're the opposite of the Until Dawn wendigos. Good to know.
try playing cricket where the ball is coming at you at 145 km/h
AF, have you seen that meme about stealing from shops by moving erratically to not get spotted by the sensors? You're like that aren't you HEHEHE
((and winning))
We'll just move like that and we'll be invisible 🤓
If it's you, you'll find a way.
I created a CPU Emulator.
Any Suggestion to Improve GUI / Control's or CPU emulator.
Touko is online lmao what a timing
Is that an anime?
I feel so dumb sometimes hehe.
@lost tapir "you've just called Finnish" (do not fact check)
what's the term for languages converging that way
okay it's literally called "convergence"
polynomial divison is difficult
try every password to check which work
amazing
same software that just said me to be aware of this issue, can't deal with it itself
Hey Im learning python for a couple weeks rn and looking for someone who I can communicate to when it comes to logical misunderstandings, Im 27 yrs old and Im german but I can speak english aswell, I already have experience in HTML and CSS
So feel free to write me or add me or offer me to keep in touch with me
Do you mean you could help me if I have problems to understand things
!stream 386307484740222987
✅ @rapid chasm can now stream until <t:1722609740:f>.
Thanks Hemlock
YO @stuck furnace
Yeah it doesn't seem to be making progress @frozen owl
:(
istg the issue is something to do with like saving and stuff
like i havent saved stuff properly/deep/shallow copies
i have had this issue before
macbeth reference
ptsd from my english literature exam
shaking rn
I just started doing my own version of blackjack to make sure I got the basics, first I wanna try it alone but yea Im not that optimistic that I can handle without help
I have no python prrogramming friends so I googled and found that server
not doing very well as you can see @stuck furnace
do you want to move to another channel/private call
vc1 ready
Nah, I'm just hanging out here for a bit then I'm going out. Could you try filling in the skeleton code I sent you to see if you can get learning working, then restructure it?
🫡
aight
Because I know that does work with the right parameters, from my own testing.
Yeah, you only need to change the ... bits. At least then you'll get a sense for solving the learning aspect of the problem without worrying about the other things (code structure etc.)
interesting
it shouldnt be that hard
ive worked hard alr in designing the oop yesterday
so in theory my code should be easily to adapt
Alex, what do you think of my lil doodle?
You could do, but a decreasing learning rate will learn more effectively.
damn, or do i do 1e-1 for now
like just to check existing loop
since it's not learning at all
It's cool 😄
When you gradually decrease the learning rate, it'll be more fine-tuned for most cases.
Thank ye good sir.
like one less moving part
That is if it doesn't get stuck in a local optima.
ik it's good, now its for debugging
@frozen owl I would just implement the functions from scratch without necessarily relying on your existing code. Once you get it working, you can restructure it to be more OOP.
web dev on windows with wsl or without ? rn i just started react js
?
huh
i thought im doing this to check which thing goes wrong
like my code (update part) is the independent variable
That sounds amazing 😄
my code?
Hem's wedding
h
so then it woulnt make much differnece then since i would have writte both the loop and the new code myself
life as a deterministic multi-agent game:
me: let's do q learning
🫠
not going very well it seems
continous action space + non-episodic task
damn
diagonal gaussian policy + muzero world model probs
@stuck furnace this feels so meta
rl in a rl sim (redpill)
Nice
With Homer voice: "Burned cream, burned cream!"
nothing here is reacting
@lavish rover In fairness, quantum is his major/focus
a tangential point of mine is also that can the quantum effects at that level even affect macro-level things like what we think of?
we can predict how atoms behave at an extremely precise level even, despite quantum effects
are you seeing this? @stuck furnace screenshare
we also don't know that quantum mechanics is truly random or that we don't fully understand it yet
@rugged root That's actually a thing in philosophy. It's called like "anthropic shadow" or something.
Ooooo
Music video by Bloodhound Gang performing Fire Water Burn. (C) 2002 Geffen Records
The anthropic principle, also known as the observation selection effect, is the hypothesis that the range of possible observations that could be made about the universe is limited by the fact that observations are only possible in the type of universe that is capable of developing intelligent life. Proponents of the anthropic principle argue tha...
nice colored
Basically like, you're more likely to observe the outcomes where you survive. It means we underestimate extistential risks (like nuclear war etc.)
I know very little about it , I thought the source to randomness should come from outside analogue world , not the math formula / algorithm itself.
In the 1930's when scientists, including Albert Einstein and Erwin Schrödinger, first discovered the phenomenon of entanglement, they were perplexed. Entanglement, disturbingly, required two separated particles to remain connected without being in direct contact. Einstein famously called entanglement "spooky action at a distance," since the part...
Hidden variable experiment with EPR.
There was a good name for this, it's on the tip of my tongue...
Ohh remember it now. IIRC Bell's violation principle.
Bell's theorem is an important philosophical and mathematical statement in the theory of quantum mechanics. It showed that a category of physical theories called local hidden variables theory could not account for the degree of correlations between the spins of entangled electrons predicted by quantum theory. The commonly accepted conclusion of ...
This proves there is no hidden variable in quantum that makes it stochastic.
It is truly stochastic.
Only for local hidden variable theories
@stuck furnace are you sure that 1m turns for you was 5 seconds 😂
Yeah 
Maybe you've got an O(n^2) going on somewhere
Here's my trained agent doing its thing btw
😭
🫡
WAIT
UH MY LR IS 1e-1 fixed
exploration is 0.9
pls can you try that and see if it fucks up
if it does, then it;s a question of parameter
Sure
else, my loop is wrong
I never thought I'd see cURL CLI command arguments in an ad not as a random example but as the central-ish topic instead
By that, you mean greediness is 0.1?
HELP
def greediness(count):
"""
Given the number of times a state has been seen, return the probability of choosing
the action with the highest q-value (as opposed to choosing a random action).
The greediness should increase as the agent gains more experience with a state (and
hence has less reason to explore). It should be a number between 0.0 and 1.0.
"""
...
return 0.9
as in 90% chance pick best move
YouTube is so confusing now that I don't get free no-adblock exemption from ads
"All my tests pass, so my code is correct. Some user's code is not behaving as expected - it must be random"
Ah right ok, so relatively low exploration
? i use brave and 2 redundant adblock
so my browser is slow, hot and fucked up
I need to use Tor
outside Tor, there are zero ads but it's throttled
i used tor extensively before i left hk before, not that i was in immediate personal danger
(YouTube through Tor is faster than outside Tor)
obs? snowflake?
obfs4
interesting
@upper basin i will learn about double slit experiment in september once my a levels start
:D
@frozen owl Here's the moving-average of the episode length over one million turns, with those parameters. My discretize function is: ```py
def discretize(state):
return (
int( 2.0 * state[0]),
int( 2.0 * state[1]),
int(20.0 * state[2]),
int( 2.0 * state[3]),
)
"let's all hope they already revoked that key, or that it was fake all along"
alright
I gotta go cya
according to @upper basin test-driven-development gives bug free code
@upper basin there do exist demonstrations for disproving certain assumptions that might arise from non-random non-entangled view, but they're way too difficult to explain just in words
plot twist: an rl agent made this universe
@upper basin is it possible to run a quantum RL agent on quantum computer
@rugged root that's just decoherence
it can't stay as random as it is pre-observation
so it either gets everything around it entangled (in some models) or randomness dies off earlier/more locally (in other models)
Can you expand on this a bit more?
there is some probability "paradox" but I don't remember the name of it
Ohh I know what you mean.
I'll pull it up.
(I picked this one only because of colours)
One was conjunction fallacy, which is in classical theory, but it works as expected in quantum (tldr quantum doesn't suffer from this fallacy).
And the other was disjunction fallacy.
I read this a bit over two years ago. It basically says that in classical probability theory you have these two fallacies, which are not present in the quantum mechanical approaches thanks to interference, so they propose quantum mechanics as the more generalized framework for decision-making.
It's a good read if you're interested in probability theory.
Shall I send it to you?
What are you trying to calculate here? I can't see the first line.
I don't remember
Thank ye!
if the thing is 0, vectors are colinear
@rapid chasm also some do those edits to promote him as hero, don't forget that
@rapid chasm "if you're homeless, just buy a home"
I owe 0 to the country I'm in.
absolutely nothing
no one outside Russia actually cares about whether Russia has democracy
100% of anti-dictatorship movement is internal
@rapid chasm that's exactly why "you should appreciate what the government gives you" makes no sense
So, here you're trying to calculate the uncertainty regarding the V observable correct?
(I hope we at least understand that Russia isn't democracy)
$$
\Delta V(\psi) = |(V- \bra \psi V \ket \psi)\psi|
$$
I don't think I have original problem statement text saved
What?? It doesn't render latex?
$$
\Delta V(\psi) = |(V- \bra \psi V \ket \psi)\psi|
$$
I'm actually sad.
.latex
$$
\Delta V(\psi) = |(V- \bra \psi V \ket \psi)\psi|
$$
.latex
$ \Delta V(\psi) = |(V- \bra \psi V \ket \psi)\psi| $
.latex
\Delta V(\psi) = \|(V- \bra \psi V \ket \psi)\psi\|
control sequence?
\bra and \ket
Ohh, it doesn't understand bra-ket commands?
I tested it in vscode markdown, it works there.
.latex
$$
\left\|\psi\right\rangle
$$
Maybe \langle \rangle then?
yeha
this
.latex
$$
\Delta V(\psi) = |(V-\langle\psi| V |\psi\rangle)\psi|
$$
.latex
$$
\Delta V(\psi) = |(V-\langle\psi| V |\psi\rangle)\psi|
$$
Yeah this. This is the uncertainty of V observable given psi.
Yours is different. I'll see what it is.
.latex
$$
\left\langle\psi\middle|\psi\right\rangle
$$
to align them
I always try to use \left \right, but it's a bit more difficult for function application
Oooh found it.
.latex
$$
f(x)\\
f\left(x\right)
$$
Yours is 1.9 I believe.
Right?
I was going through a different course
might be
Check out this one. I think you'll like it.
It has lecture videos too.
I'm planning on reviewing this too, I'll do it with you.
So, what you've written here basically states that the uncertainty of observable V given psi is 0 if psi is an eigenstate of V.
@rapid chasm @sweet sorrel just a reminder that those bombings weren't the most deadly bombings of Japan
@rugged root you really need to mute user @sweet sorrel . He repeatedly keeps burping in the vc despire repeatwd warnings.
Better then Quantum, politics is meaningful 
All these flavors, and you chose to be salty.
@stark river yes, condition exists and some people do have it
@sweet sorrel I know people with it and they have the discipline to choose whether to or not to do that with mic open depending on whether it's okay for specific VC, so not a good excuse
I genuinely hope Jenzing isn't/wasn't a soldier.
yes? (someone said my name)
Sadly it was the best gif I could find
And then start torturing them, until an owner is found?
Was trying to find a good gif of this but they didn't have the caption
You're the textbook example of the trigger happy soldier that went abroad not to protect, but to be given permission to be a bad man. You don't win wars by terrorizing the civilians in their homes.
I mean, look at Vietnam
if you want example of how invading to help failed terribly, Iraq
DISCLAIMER: I'm from southeast asia
You do know why ROE exists right?
but that does support the earlier point by Jenzing about Japan:
actions after the invasion is over do matter
interesting how a python discord talks about guns, wars, and weapons
The marines, and seals who were primarily sent there are trained to be scalpels, not hammers. They are trained to be effective enough to do their job with the ROE. You know why ROE exists? It's to not make more terrorists by killing civilians and terrorizing kids to become terrorists.
sorry, not familiar with the term
Rules Of Engagement.
Rules for when lethal force is authorized.
Tru, but agent orange tho.
Without ROE, US would have been able to just flatten entire cities with bombs.
Anyw
Thousands of civilians would have died.
Thousands HAVE died.
Many many more would have died.
Tru
Can we discuss what's the best way to get back to python after years of hiatus
lol
wanna do python on raspi.
aarch64 has slightly more limited support in terms of pre-built wheels
cricket sounds
Don't
⏏️
use Go
Go for raspi?
Why not?
legitimate question
Go compilation is fast too
There's good reasons to use Python, there's bad reasons
Yeah it's not a helpful take to be sure
single package with lack of pre-compiled wheel might take more time to install than the whole Go project
when are we signing Rust-in-pip-packages non-proliferation treaty
I collapsed one category and all categories got collapsed
discord wtf
I can't open instagram ¯_(ツ)_/¯
The Serpent Queen is an American historical drama television series about the life of Catherine de' Medici, the 16th century Queen of France, as portrayed by actress Samantha Morton. The series was created by Justin Haythe and is based on the 2004 nonfiction book Catherine de Medici: Renaissance Queen of France by Leonie Frieda. The Serpent Quee...

👋
these has to be a more reasonable way to do all this
TypeScript would do better here tbh
what types can r normally be?
(if I understand correctly that's a type argument)
yep, though it's just a marker type for the ST monad https://wiki.haskell.org/Monad/ST
need to propagate it everywhere there's mutable variables
yeah, had to deal with monad propagation too
(wishing there was a syntactical support for some sort of auto-propagated context or whatever)
AF, would you be interested in helping me with the multiprocessing thing I mentioned before?
<'a, Ctx: Context<'a> everywhere
have you started implementing multiprocessing yet? (I don't remember)
Yeah, I tried with cupy, but it didn't work, so I'm redoing it.
So far I tried cupy, multiprocessing, and I think concurrency packages.
Let me show you the code.
!paste
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.
Trying to make the for loop in calculate_fpi to be parallel.
It's a non-sequential loop.
@swift valley I don't remember if I've sent docs for this before
https://radn.parrrate.ru/latest/docs/radn/
RADN
but now I'm considering rewriting everything into the new monad stuff I've shown
(and that would involve even boilerplate, sadly)
Run it with this example.
qpi = QPI(initial=np.array([0, 0]), final=np.array([1, 1]), bisection_level=20, number_paths=2**15, n_filtrations=0)
probability_amplitude, _ = qpi.calculate_fpi()
Source of the Rust file src/flow/binary/avl.rs.
6K lines of code to implement AVL trees in only 21 lines
By didn't work I mean it was slower or same as without multiprocessing.
(the core balancing logic)
pretty sick
did you profile where exactly it's spending time?
I don't follow.
The code itself is mostly efficeient. Issue is when the for loop runs in calculate_fpi,
Ooh, I didn't know about these. I'll check it out now.
^ this works even if the tree is distributed over the network
something I'm pretty proud of writing recently: the engine for my query-based compiler thingie https://github.com/purefunctor/purescript-ouroboros/blob/master/src/PureScript/Driver/Query/Engine.purs
still a bit unusual to me seeing non-ASCII in code
though I did today use media button characters for a TypeScript type
Also I'm doing mutable programming in a pure language like a heretic
I want to share screen, but I have a code running that takes days to run and at the moment it's been running for 10 hrs. If I stream I think it'll crash the kernel.
Because I need the perf T~T
(as like inside "<emoji here>")
Actually, for that one I should use profiler too now that I think about it.
optimisations don't do enough yet?
okay, ∀ symbol does indeed make it easier to read for me as a mathematician
You're a mathematician?
prior to 2022, at least
Was this during your highschool?
in 2022 I stopped working as much on maths-related research
Ok it finished running.
Running...: 0%| | 0/8 [00:00<?, ?it/s]
Running...: 100%|██████████| 8/8 [3:11:17<00:00, 1434.70s/it]
[<matplotlib.lines.Line2D at 0x128ddcd40d0>]
67109094 function calls in 150.751 seconds
Ordered by: standard name
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.058 0.058 150.719 150.719 1191901527.py:153(calculate_fpi)
1 0.001 0.001 34.493 34.493 1191901527.py:170(<listcomp>)
32 87.594 2.737 116.162 3.630 1191901527.py:29(generate_path)
32 16.504 0.516 34.492 1.078 1191901527.py:70(path_contribution)
33554432 17.988 0.000 17.988 0.000 1191901527.py:79(interaction)
1 0.023 0.023 150.742 150.742 <string>:1(<module>)
32 0.001 0.000 0.001 0.000 {built-in method builtins.abs}
1 0.009 0.009 150.751 150.751 {built-in method builtins.exec}
33 0.000 0.000 0.000 0.000 {built-in method builtins.len}
96 0.003 0.000 0.003 0.000 {built-in method numpy.zeros}
32 0.006 0.000 0.006 0.000 {method 'append' of 'list' objects}
1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
33554400 28.565 0.000 28.565 0.000 {method 'normal' of 'numpy.random.mtrand.RandomState' objects}
total time and cumulative time are important columns
There's a decent optimizer for PureScript
But it's still running in Node...
God I miss deriving(Default)
What was the focus of your research?
I think at this point I might as well just make it a utility
Haskell has some sort of deriving
also hackage.haskell.org isn't loading for me
amazing
What's the difference between total time and cumulative time?
Yep, though PureScript's is a little more stiff
Aren't they synonymous?
iirc, we only do Eq, Ord, Functor, Applicative, Monad, Traversable, Generic, Newtype
total time is time spent inside the function itself
cumulative time is time spent between function call and function return
so calls to other functions pause counting total time
what does deriving a Functor do?
So, issue is with generate_path?
not necessarily
It has the highest total time, and it doesn't call any of my other methods inside it.
is that with or without multithreading?
Without.
This is running the code I sent in the paste link above.
Wait, if I call a function 10 times in a for loop, will the total time be basically the sum of those 10 times?
interesting chapter number
https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/derive_any_class.html#derive-any-class
So, if I use multithreading where generate path is called, then it would reduce the total time of generate_path?
data Maybe a = Just a | Nothing
derive instance Functor Maybe
-- automates this:
instance Functor Maybe where
map f = case _ of
Just a -> Just (f a)
Nothing -> Nothing
per call * number of calls = cumulative time
Have you seen https://www.unison-lang.org/
oh hey Pure, haven't seen you in awhile
aloo jake
this implements distributed compute instead of providing building blocks for making your own, right?
as in the messaging layer
so just assumes the last generic argument is data, right?
oh nvm
that it's a Type -> Type, yes
But I call the generate_path 32 times and each time it takes 2.737 seconds. That would be total time which is 87.584 not cumulative time.
I'm trying to, instead, remove the explicit notion of distribution from what I write
abstracting it away
second percall
there's two
per call * number of calls = (cumulative or total) time
(this would be more correct for illustration)
the ideal goal is to have that and also performance
which might mean having to develop some sort of DSL
technically Zig supports monads too, if you mess with comptime enough
and in Zig you can hand-write some optimisations
because of how much it allows for reflection and comptime evaluation, specialisation there is very easy
i fixed my async issues
HKTs make everything alright

I genuinely should try writing that Default type class thing
still not really sure how this is supposed to work
e.g. for custom Default
I might be misunderstanding its purpose
I'm going to sleep. AF, thank you very much for introducing me to profilers.
I'll work on it properly tomorrow.
Mostly useful for empty instances, iirc?
that seems to say that it's only for empty instances, I think
what time do you have now where you live @upper basin ??
It's 2:04 am
@vocal basin I think I cooked a little too hard
Compiles to:
Which is uh, good enough?
compiler preserves the call stack and doesn't inline, right?
hmm
(I'm not sure)
I made it extra aggressive to the point where it just generated a record
rather than doing the instance dictionary passing thingie
(I mean the inner .stDefault()s)
ah, I think so?
Compare with vanilla output:
var stDefaultRecordBuilderCons = function (dictIsSymbol) {
var insert = Record.insert(dictIsSymbol)()();
return function (dictStDefault) {
var stDefault1 = stDefault(dictStDefault);
return function (dictStDefaultRecordBuilder) {
var stDefaultRecordBuild1 = stDefaultRecordBuild(dictStDefaultRecordBuilder);
return function () {
return function () {
return {
stDefaultRecordBuild: apply(map(insert(Type_Proxy["Proxy"].value))(stDefault1))(stDefaultRecordBuild1)
};
};
};
};
};
};
var stDefaultRecordBuilderCons1 = /* #__PURE__ */ stDefaultRecordBuilderCons({
reflectSymbol: function () {
return "a";
}
})(stDefaultStRefInt);
var stDefaultRecordBuilderCons2 = /* #__PURE__ */ stDefaultRecordBuilderCons({
reflectSymbol: function () {
return "b";
}
})(stDefaultStRefInt);
var stDefaultRecordBuilderCons3 = /* #__PURE__ */ stDefaultRecordBuilderCons({
reflectSymbol: function () {
return "c";
}
})(stDefaultStRefInt);
var stDefaultRecordBuilderCons4 = /* #__PURE__ */ stDefaultRecordBuilderCons({
reflectSymbol: function () {
return "d";
}
})(stDefaultStRefInt);
var stDefaultRecordBuilderCons5 = /* #__PURE__ */ stDefaultRecordBuilderCons({
reflectSymbol: function () {
return "e";
}
})(stDefaultStRefInt);
var stDefaultRecordBuilderCons6 = /* #__PURE__ */ stDefaultRecordBuilderCons({
reflectSymbol: function () {
return "f";
}
})(stDefaultStRefInt);
var stDefaultRecordBuilderCons7 = /* #__PURE__ */ stDefaultRecordBuilderCons({
reflectSymbol: function () {
return "g";
}
})(stDefaultStRefInt);
var variables = /* #__PURE__ */ stDefault(/* #__PURE__ */ stDefaultRecord1(/* #__PURE__ */ stDefaultRecordBuilderCons1(/* #__PURE__ */ stDefaultRecordBuilderCons2(/* #__PURE__ */ stDefaultRecordBuilderCons3(/* #__PURE__ */ stDefaultRecordBuilderCons4(/* #__PURE__ */ stDefaultRecordBuilderCons5(/* #__PURE__ */ stDefaultRecordBuilderCons6(/* #__PURE__ */ stDefaultRecordBuilderCons7(stDefaultRecordBuilderNil)()())()())()())()())()())()())()()));
(a mess)
from what I remember about Rust's derive(Default), it generates
Self { a: Default::default(), b: Default::default() }
rust-analyzer knows how to expand macros, so I wonder if they'll enable "Convert to manual impl Trait for Type" for custom derives
ohhhhhhh
hmm
actually that's what rust-analyzer expands it too
but actual is different
Type {
a: $crate::default::Default::default(),
b: $crate::default::Default::default(),
}
a bit odd that it doesn't go for Self {}
there do exist issues with Self constructor, but they mostly have to do with the fact that returned value isn't exactly Self
@random stag does your website use front-end frameworks for rendering?
if yes, there's the potential reason
oh
hmm
so should be okay
old React/Angular/others have issues on Google because of not having SSR
but PHP is kind of SSR to begin with anyway
What's happening right now?
@swift valley
derive(Debug), compared to that, looks a bit cursed because of match:
match self {
Type { a: a, b: b } => f
.debug_struct("Type")
.field("a", &a)
.field("b", &b)
.finish(),
}
is ouoboros not something from resident evil????
I have no clue I just wrote my first Blackjack program in python with 2 functions and a couple loops and conditions xD
Im just here to understand nothing
https://en.wikipedia.org/wiki/Ouroboros
There is one in RE, but the concept is from long before.
The ouroboros or uroboros (; ) is an ancient symbol depicting a serpent or dragon eating its own tail. The ouroboros entered Western tradition via ancient Egyptian iconography and the Greek magical tradition. It was adopted as a symbol in Gnosticism and Hermeticism and most notably in alchemy. Some snakes, such as rat snakes, have been known to ...
Hey guys, how do i get VC perms for the channel?
Gotta be active in here for at least half an hour and have sent 50 messages
looks like i have some messages to send. Anyone want to have a random text-based conversation about anything to pass the time? lol
i'm pretty open to any topic of conversation tbh
oh wait actually i am 3 messages away i guess
if you go to the bot commands channel you can type a command to check your total sent messages
i think it's !user
I have a X think done a time ago & b/Current time the X thing Happen, How Can I Calculate the at How Many Herz it is Happening.
pymoo/util/nds/efficient_non_dominated_sort.py line 8
def efficient_non_dominated_sort(F, strategy="sequential"):```
guys dont be mean to him :(
hey
I have to send
50 messages to be able to talk in the voice thingie
is it on here ?
I am so confused
Anyone there?
Hello dear.
Your absence was taxing on my heart.
Why does this feel so lewd HEHEHE.
I am here.
anywhere
Fucking solfege.
Look, it's good, but some of the drills they had us do were beyond me.
I don't really remember.
Listening to music and reproducing it at speed?
But in solfege.
Doesn't sound right, but it made my brain explode.
Skill issue.
Reply or don't.
She said. Clips off YouTube.
I've had the heating on, so it'a not too bad.
I'm also rugged up.
Heating is an option, but it's expensive to run.
guys why most of you use WSL in visual studio code ?
@bronze flume 👋
@agile loom 👋
Hi, Milien. 😁
So...how did it go?
@peak depot
Good.
@plain swift 👋
@somber heath hi
whatsapp guys....
welcome back bro @upper basin

bro when i would be getting my voice chat enabled ....... @upper basin @peak depot
thanks for the response bro @upper basin
@peak depot u have shrill voice , love it , but in a good way....
.
@peak depot what is your profession is all about...
To run in an Ubuntu OS environment.
I've heard that eating an apple wakes you up, as does wetting your face, however, if your body is telling you that you are tired, there does seem to be an obvious course of action you could take.
But I'm not one to talk.
Though I do find it hard to push myself like that, these days
I'm like, nope, fuck this, I'm out.
@somber heath try try but don't cry
Jikky, yeah, pretty much.
It's my party.
Doesn't ring a bell.
i know but why is better than windows ??
bye @peak depot
Ace: Y'all are weird. Also Ace: #voice-chat-text-0 message
Solid Base performing You Never Know. Video recorded in the old town of Stockholm. The song is available on the album Finally. Copyright ℗ & © 1996 Remixed Records - Sweden.
All rights reserved.
”You Never Know” Available at:
▶ Appel Music & iTunes: https://goo.gl/lNIver
▶ Spotify Streaming: https://goo.gl/OcaAz5
Join Solid Base online:
▶ Fac...
I'm not judging.
Merely drawing the comparison.
@somber heath then what
😁

If we weren't weird, we'd be boring.
We need boring and interesting elements in our lives.
@bold sequoia 👋
@peak depot sing ...... the chat is waiting....
You tell me that I am gonna fail but you
4x
Never know, never know, never know
Never know
You never know
Take a chance, think of what you do
Ain't no time to play around
Make a way for a better day
So you stay and make it right
You tell me that I am gonna fail, but you...
4x
Never know, never know, never know
Never know
You never know
I don't do online these days.
I haven't actually logged in since Fractureizer was around.
what python related stuff have people got goin on
@upper basin @quartz beacon oooh shit i was catched by u all guys.....
Hmmm?
Nothing currently.
«Опале листя» (фін. Kuolleet lehdet) — фільм фінського режисера Акі Каурісмякі, випущений у 2023 році. Це 20-й фільм Каурісмякі і продовження «пролетарської трилогії», до якої входять кінокартини «Тіні в раю» (1986), «Аріель» (1988) та «Дівчина з сірникової фабрики» (1990). Фільм оповідає зокрема про проблему алкоголізму, і його називають «клас...
he was talking about this
Fallen. Hm.
Like Lucifer. 😁
I haven't heard of the airport thing. I've heard of people mixing them up in a joking fashion.
Jikky is correct.
Dude's a sovereign citizen.
I have.
@nimble kernel 👋
hi
sup
Farsi? who's from Iran here?
How many languages can you speak?
Sorry for being ignorant but Russian and Ukranian are quite similar, right?
Six block diamond vein. Get in.
Oh, I don't do hardcore mode.
As opposed to outdoor Iranian?
For india you only have to learn Hindi, that is enough i guess
Yea that makes sense too
take a guess
bbl
👋
Oh, the native dark mode thing? Hemlock was talking about that.
New Zealand. Yes.
Yeah, we have ravens here, too.
We call them crows.
It frightens me.
aren't ravens and crows different?
The Pyro.
i did mention it yes
Meet the Pyro.
I've played it once upon a time.
wait till you find out about magpies and jackdaws
🤯
i love jackdaws
i fed them peanuts
I get sparrows, finches, and the occasional cardinal in my garden
what is this bird
🐘
what breed of cat is this
I would never have guessed the context.
😭
@rugged root
lol
I have a 0
🙀
@quartz beacon I Never Seen You in the VC
it is my brain is not braining
Bottom Top Left Corner
Hemidemisemigirl.
Accurate.
Actuly the Rust Have the Best Error Messages than Python, Non Biased
Any Suggestion Guys The GUI Looks Shit.
it is Trans Not May Be
maybe = 2
no 1.5
AHAHAHHAAHHAHA
Bruh's
Opal, you can talk?
a labbit
The baby part shocked him
100% eyeliner IMO
yep
can you hear me?
oops again
like last time taliing over ppl
i initially didnt have audio
borat confirmed
1000%
NO?
your accent is more like american
idk imho
From cheddar to brie, Parmesan to blue, take a look at both ancient techniques and new technologies behind some of the world's most popular cheeses. See more in Season 13, Episode 24, "Cheese."
Love Modern Marvels? Stay up to date on all of your favorite The HISTORY Channel shows at http://history.com/schedule.
#ModernMarvels
Subscribe for m...
smartest programmer conversation:
Ingredients:
High-quality sausages (beef, pork, or poultry)
Soft hot dog buns
Toppings of your choice (mustard, ketchup, onions, relish, sauerkraut, etc.)
Instructions:
Preheat the grill to medium-high heat.
Grill the sausages for about 5-7 minutes, turning occasionally, until they are heated through and have nice grill marks.
Lightly toast the buns on the grill for about 1-2 minutes, until they are warm and slightly crispy.
Place the grilled sausages in the buns.
Add your favorite toppings.
Serve immediately and enjoy your hot dog!
With these steps and a little creativity, you can achieve the "hottest" dog tailored to your taste!
Spicy Hot Dog Recipe
Ingredients:
4 all-beef hot dogs
4 hot dog buns
1 cup jalapeño peppers, sliced
1 cup spicy chili (homemade or canned)
1/2 cup shredded pepper jack cheese
1/4 cup diced onions
1/4 cup hot sauce (your favorite brand)
1 tablespoon butter
1 teaspoon cayenne pepper
1 teaspoon smoked paprika
Instructions:
Prepare the Hot Dogs:
Grill or boil the hot dogs until fully cooked.
Toast the Buns:
Spread butter on the inside of the hot dog buns and toast them on the grill or in a pan until golden brown.
Prepare the Toppings:
In a small bowl, mix the cayenne pepper and smoked paprika with the hot sauce.
Heat the chili in a saucepan until hot.
Assemble the Hot Dogs:
Place the hot dogs in the toasted buns.
Top each hot dog with a generous amount of spicy chili.
Sprinkle shredded pepper jack cheese over the chili.
Add sliced jalapeño peppers and diced onions on top.
Drizzle the hot sauce mixture over everything.
Serve:
Serve immediately and enjoy the fiery flavors!
hey
which one is hemlock?
😂
dude's chilling
@quartz beacon Is it hemlock in profile pic?
yems
oof shit wifi
SPEED
spede
I think we're fucked because we're under utilizing nuclear energy
ai when you ask it to make a "hottest dog"
ciao
!paste
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.
so I am in version 5 of my new model, forgot to take pictures
added booba
corrected model height from 153cm to 187cm
fixed shirt alpha
all undergarments are matte black
corrected hair color
corrected tail and ear color
microscopic color correction to yellow accents
fixed body proportions for new height
added useless jiggle physics
made better feet, added socks too
image is v2
!paste
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.
added booba
Why do you desire to have breasts 👀 🥚
female adult model, what else do you do?
nah, i'm just tickling
dw, i know what women look like, but i don't get why so many guys use female models
i don't
know about female
if you see a male and a female vtuber screenshot what stream will you watch
aight
she cute anyway
when I get home, does anybody want to see the model with corrections?
I won't shitpost or talk irrelevant in that channel further.
But to answer your question,
that's literally pen testing 
!stream 154425749221146624
✅ @terse rose can now stream until <t:1722783347:f>.
so chatgpt is a copycat
@steel sand 👋
non programmers seem to be scared of chatgpt and call it a genius , nice to hear a programmer call it not great
Zeki is streaming their project. Jikky is talking about ChatGPT's gender.
This is a general conversation channel.
So we usually just hang out and talk about whatever.
Probably just so people don't get mad at either gender
they , them implys more than one
I mean its probably not transgender eitther
just no gender lol
its a thing in a box - how can that be confusing
Hello Guys!
Hey
Hii u r mathemagician
who likes to solve integeration
without using summation