#voice-chat-text-0
1 messages Β· Page 351 of 1
paths count
yes
@verbal zenith enable space in diffs
space changes are important enough to be seen in diffs
if there's a non-important space diff, it's a hint that you had fucked up earlier by checking in misformatted code earlier
oh, it's set correctly by default it seems
unlike this one
!e
from random import choice
print(choice(["https", "ssh"]))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
ssh
ok sure
casino of choosing what to clone a repo with
VSC's VCS is good enough at recognising if the line was tabbed in/out, so it doesn't produce noise
if I were to thoroughly document my project at work, it'd be around 60% docs in the end
(if we include examples, guides, etc.)
Ruse is a programming language I make in my freetime - HavenSelph/ruse
if I were to document that 11 KLoC thing I sent earlier including all the reasoning and history of development, it'd be, like, at least 3 separate books
condensed insanity that happens to pass cargo clippy
I'll change the username once I'm convinced it doesn't break anything
outdated somewhat
meanwhile codeberg profile
ai-digested to then put into AI for analysis
we already ran it
yeah
@verbal zenith
'B' + 'a' + + 'a' + 'a'
(spells BaNaNa)
NaN
'B' + 'a' + (+ 'a') + 'a'
I like this one (for obvious reasons)
with, like, a 4 year delay after learning
false true undefined object
those are stringified
where object and empty string come from
and I think that's all
everything else is trivial in that code
can true not become a number
that's how you index characters huh
Hello there @plain hound ,
and welcome to the Python Community Discord! Please check out #voice-verification to get permission to talk in the voice channels, and have a careful read of our #rules!
-Nerd Bear
(DM's open for help, and use #1035199133436354600 or #python-discussion channels for general help)
@worthy quarry
who doesn't love javascript
heyo!
It's a gland thing
@sour imp What is ai?
Im AO
ALL OUT BITCH
Im broke

AI is the answer
wdym?
The Sky is green
@sour imp
What did you say?
sad
he said i was toxic
no shit
and did not quote me once

@rapid crown

does not work

this-is-kebab-casing
Only
yes-it-needs-to-be-a-thing-FOR-REAL
thisIsOk
ThisIsAlsoOk
this_is_ok
that is not ok
@whole bear it helps tho
and you really should
nmap - XD
use CE
camelCase: CE is only way to be good
@whole bear
csgo>>>>>cs2
nah
MODDED MINECRAFT FTW
it just makes my pc rabid : (
cant directly read memory like cpp
need to import a py lib that runs cpp code and it is just as hard if not harder
asm is good for hooking func
it does
i have its mid low key
?... I like express js XD
yeee
good for cheat api keys π
or web dev in general
: (
@sour imp what is the converstation
maybe try Ctrl+Win+Alt+Shift+L
Β―_(γ)_/Β―
Would anyone like to join my newest group itβs my first time making one hope u like it
We are partnered with PyWeek, I could be wrong, but I don't think that we are directly holding it.
imma re write the website to look better and make a pr
π€¨
skill issue
Jocular and fictional phobias
ο· Aibohphobia β a joke term for the fear of palindromes, which is a palindrome itself. The term is a
piece of computer humor entered into the 1981 The Devil's DP Dictionary
ο· Anachrophobia β fear of temporal displacement, from a Doctor Who novel by Jonathan Morris.
ο· Anoraknophobia β a portmanteau of "anorak" and "arachnophobia". Used in the Wallace and Gromit
comic book Anoraknophobia. Also the title of an album by Marillion.
ο·** Arachibutyrophobia β fear of peanut butter sticking to the roof of the mouth. The word is used by
Peter O'Donnell in his 1985 Modesty Blaise adventure novel Dead Man's Handle. It had circulated,
unattributed, in the Internet for some time until it landed at the CTRN Phobia Clinic website:
"Working one-on-one with one of our team, with guaranteed lifetime elimination of Sticky Peanut
Butter Phobia. From $1497 and up." **https://www.ijhssnet.com/journals/Vol._1_No._4;_April_2011/27.pdf
not that
"Why did the philosopher open a "Holp Hotline"? Because when people ask for help, he wanted to give them holp insteadβhalf hope, half confusion!"
-- ChatJippity
Python never really yells, silently singing groovy "YAML" lyrics. Scripting "Sphinx" x-rays, super slyly
-- ChatJippity
!stream 1164681283377569864
β @whole bear can now stream until <t:1725247285:f>.
!stream 732291998274420828
β @sour imp can now stream until <t:1725248666:f>.
@sour imp what are you developing?
LOL do people who are talking with muted noobs read this channel
@placid kernel what are you coding now?
We read it
I'm not rn. But I'm sharpening my DE skills for interviews
Dope
It's pretty neat, it's basically visual studio code with a GPT integration
Interesting
I was using chatGPT to generate code, but you realize it's kinda clumsy when the code gets big
this Cursor IDE (a VS Code fork) integrates GPT nicely
You can get it for free
okay
Now I'm using it to set up rsync to push my code to the server where it runs
Getting close to breaking out of the matrix. I like it
Been coding in VIM
Started a little fintech and installed asterisk for the phone system
So I'm writing a call handler in python that uses a web socket for events
Show them the @documention
for including api references
There is a documentation feature where you can add external docs for GPT to know
in cursor
Yes so you don't have to keep correcting misalignment and you can include documentation that is newer than the GPT knowledge base
Yes, openai api
Cursor uses that
sure there are a few there
I don't know what you're talking about π
I have only used chatgpt to help me
Can you point me to something that shows me how I can try that
so create an account I guess
I can use that with cursor?
yes it's a vscode fork
So you think I should try claude.ai?
I pay for chatgpt now
It's the paypal of GPT π
Riyal
I remember seeing sonnet as an option in cursor
I think it may have already integrated this
So you suggest that over gpt for my python coding
openai
We do use chatgpt for legal and marketing
It helps a lot
My wife is a lawyer
It gives pointers
We use it to find something in a law
how does sonnet work?
I'm in there
I mean, how does it form its responses differently from chatgpt
ah so the model is more focussed
Got it
The dataset is focussed on code
ok makes sense
Yeah I have seen it
and the hallucniations are brutal
It lies a lot
Music video by Eminem performing Love The Way You Lie. Β© 2010 Aftermath Records
#VEVOCertified on September 13, 2011. http://www.vevo.com/certified http://www.youtube.com/vevocertified
http://www.vevo.com/watch/USUV71001543?utm_source=youtube&utm_medium=description&utm_campaign=ytd
hrm?
Yeah
I just don't trust it
I see it like an assistant
I had a debate with it once about ADD medications for young children
Was quite interesting
Yes
I gave it a lot of context
and then said no make the counter argument
no
I mean, I chatted with it for an hour
being very specific
I was asking why is it ok for a diagnosed university student to take the med, but someone without the diagnosis who also needs it for performance reasons can't take it
IT said medical supervision
I asked how does that change the fact that 1 student can take it and another can't
It was interesting
I challenged it
I said you're not making any point, you're making an argument about legal framework
I am having a fact based medical debate with you
no
I spent an hour in an hot tube
hot tub
arguing with it
But what was cool at the end when I said make the counter argument
It was bang on
In the end, it agreed
There is no research into how those amphetamines affect a growing brain
hi
Over here I'm on a crunch to build my phone control system
When I get that ready for production I can go back to arguing with models
Any of you guys using mobaxterm for linux ssh?
Hey
!stream 732291998274420828 1h
β @sour imp can now stream until <t:1725256898:f>.
@wind raptor appreciate that!
You know when you pay for cursor you get api tokens for openai and sonnet
I haven't paid for it yet
maybe I should get an api key from groq for cursor?
ok heading out guys, good chat, thanks for the info
Go toΒ https://hensonshaving.com/shavingwithjoe and enter "SHAVINGWITHJOE" at checkout to get 100 free blades with your purchase.Β
Starting in the 1940s, a new surgery was being explored to help people with severe epilepsy which involved severing communication between the two hemispheres of the brain. It worked, but caused some very strange side ...
x = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
7 in x => False
7 in (j for i in x for j in i)
itertools.chain.from_iterable
operation(lambda x: foo(x))
operation(foo)
what lang is this?
Γ2 ββ:-1/4. Γ·:-Γ·2,β‘.300
>2 β΅ βββ₯β(+Γ.)β
β 50 0
A stack-based array programming language
damn!
there is a touch screen keyboard??
he's right, symbols are there for uniformity.
Can anyone give me any good indepth resource for DSA?
!user
You are not allowed to use that command here. Please use the #bot-commands channel instead.
@vocal basin π
finally, a perfect project
totally sane CSS
https://github.com/parrrate/grid/blob/main/index.css#L9-L18
index.css lines 9 to 18
--r: tan(atan2(var(--100cqh), var(--100cqw) / var(--cell-ratio)));
--g: round(down, sqrt(var(--n) * var(--r)));
--x1: round(up, sqrt(var(--n) / var(--r)));
--d1: max(0, min(1, round(up, round(up, var(--n) / var(--x1)) - var(--x1) * var(--r))));
--x2: (var(--n) / max(1, round(up, var(--n) / var(--x1) - 1)));
--x3: (var(--x1) * round(up, var(--n) / var(--x1)) / (var(--x1) * var(--r)));
--x4: round(up, min(var(--x2), var(--x3)));
--d2: (var(--x4) - var(--x1));
--x5: (var(--x1) + var(--d1) * var(--d2));
grid-template-columns: repeat(calc(var(--x5)), 1fr);```

if I prove this, then it's correct
@upper basin you can try doing this one too
I'll check it out. Just came back.
So, I think at a glance x is more than or equal to 1. If we look at the limit where r tends to 0, n/r will tend to infinity, so definitely more than 1. If n and r are equal, then it's 1, and if r is larger than n then by ceil it's still 1 (or more than one, i.e. 2/3 is 1.5, and ceil(1.5) is 2).
So x>=1. Lemme have a look at the rest of it.
!e
import numpy as np
n = np.arange(1, 1000)
r = np.exp(np.linspace(-5, 5, 100))
n, r = np.meshgrid(n, r)
x = np.ceil(np.sqrt(n / r))
d = r * x - np.ceil(n / x)
print(d.min())
:white_check_mark: Your 3.12 eval job has completed with return code 0.
-0.9948447671849441
Isn't r supposed be more than 1?
0 I mean.
!e
import numpy as np
r = np.exp(np.linspace(-5, 5, 100))
print(r.min(), r.max())
:white_check_mark: Your 3.12 eval job has completed with return code 0.
0.006737946999085467 148.4131591025766
Yeah can't eyeball it without running these days hehe.
np.exp tends to produce somewhat positive numbers
I don't see why it's equal to -1 (again at a glance, please don't judge me hehe).
x >= 1 -> rx >= r -> rx - ceil(n/x) >= r - ceil(n/x)
To get the lowerbound, r would have to tend to 0. Now, ceil(n/x) itself is at least 1, so the max value it can be is -1, so the rhs would tend to -1. However, since r can never be 0, it shouldn't be >=-1.
A bit of a clumsy deduction in terms of order (I'd personally fail myself), but I feel that's the general gist of it.
High-school me would fare much better hehe.
I feel it should be rx - ceil(n/x) > -1.
I'll do it properly in a bit on paper.
this is so cursed
but can it run doom?
quite sure it can't equal
but for what I do \ge is enough
I'm writing the proper proof down. Be done in a bit.
OK, done. I'll clean it and send it here. And in the proof it still becomes > not >=.
afaik you can do this and forget where \delta_x comes from and just say it's between 0 and 1
Hey @storm bison
oh, wait, no
I used a wrong sign
(not in the screenshot, but somewhere else)
@storm bison ,I'm a data engineer so, i'm not into servers
What is the question anyways
nβN, n > 0 -> n >= 1
rβR, r > 0
x = ceil(sqrt(n/r))
To get the lowerbound, n must be smallest, and r the largest:
lim(1/r) = 0 -> sqrt(0) = 0 -> ceil(0) = 1 -> x >= 1
r->inf
Prove rx - ceil(n/r) >= -1:
x >= 1 -> rx >= r -> rx - ceil(n/x) >= r - ceil(n/x)
To get the lowerbound of n/x, n must be smallest, and x the largest:
lim(1/x) = 0 -> ceil(x) = 1 -> ceil(n/x) >= 1
x->inf
Now, to get the bounds for the proof we must find the largest rhs can be. To do that, ceil(n/x) must be smallest, and r the largest:
rx - ceil(n/x) >= r - 1 -> given r > 0, then r - 1 > -1 -> rx - ceil(n/x) > -1
wait, no there too
This is how I'd do it.
it's ceil not floor I forgot
$(document).ready(function () {
$('#upload-form').on('submit', function (event) {
event.preventDefault();
var formData = new FormData(this);
$.ajax({
url: '{% url "upload_video" course.id %}',
type: 'POST',
data: formData,
processData: false,
contentType: false,
xhr: function() {
var xhr = new XMLHttpRequest();
xhr.upload.addEventListener('progress', function(e) {
if (e.lengthComputable) {
var percentComplete = (e.loaded / e.total) * 100;
$('#progress-bar').width(percentComplete + '%');
$('#progress-bar').text(Math.round(percentComplete) + '%');
}
}, false);
return xhr;
},
success: function (response) {
if (response.success) {
alert('Upload successful!');
} else {
alert('Upload failed: ' + response.error);
}
$('#progress-bar').width('0%');
$('#progress-bar').text('0%');
},
error: function () {
alert('An error occurred.');
$('#progress-bar').width('0%');
$('#progress-bar').text('0%');
}
});
});
});
If it wanted to be >= -1, then r should have been r >= 0 (which needs an entire redo to ensure nothing else messes it up given it can be 0, but I'm too tired to try that hehe).
@storm bison , no idea about this mate
What was this for again?
Is it a math homework or sth?
Ngl, I'm kind of embarrassed that it took me 15mins to write the proof. I've really fallen off these topics since highschool.
Goes to show my brain only has a RAM.
No SSD hehehe.
Part of your css code, I see.
Yep.
is delta_y = r x delta_x?
which is trivial-ish
delta_y = ceil(n / x) - n / x
I'm stupid, please continue.
For a moment thought you were expanding x for some reason.
(this just becomes delta_x >= 0)
which is expected given the context
in that delta_x >= 1 is fine
rn trying to TeX this
maybe take 3-4 minutes to sort out your mind (think on paper)
Nah, it's for research. Usually I need some help when I get stuck like this.
the browser is struggling a bit
Or to study a considerable amount of material to figure it out slowly.
Are those tabs?
Or just a grid? Seems like just a grid.
if those were tabs i would be worried about your pc
This reminded me of the Dear Agony Album from Breaking Benjamin
I was telling everybody in the voice chat at the time that I thought this current state of LLMβs with their hallucinations sounded like the split brain surgery patients trying to rationalize some input that they couldnβt comprehend. Like in the description of the left brain.
early morning geometry
π
@bright tinsel π
g++ ./src/main.cpp ./src/cpp/utils.cpp ./src/cpp/lexer.cpp ./src/cpp/error_report.cpp -o C:/coding-projects/CPP-Dev/bassil/build/Bassil-Main-Build-ORS-A01 -lgdi32 -luser32 -lshell32
cmake build.txt
463117405 function calls (447939147 primitive calls) in 4968.795 seconds
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
43050 2097.389 0.049 2097.773 0.049 /home/ace07/Documents/GitHub/QMPRS/.venv/lib/python3.11/site-packages/quimb/tensor/decomp.py:324(svd_truncated_numba)
43036 1825.831 0.042 1826.118 0.042 /home/ace07/Documents/GitHub/QMPRS/.venv/lib/python3.11/site-packages/quimb/tensor/decomp.py:682(qr_stabilized_numba)
71722 503.232 0.007 510.347 0.007 /home/ace07/Documents/GitHub/QMPRS/.venv/lib/python3.11/site-packages/numpy/core/numeric.py:932(tensordot)
461354 157.020 0.000 679.937 0.001 /home/ace07/Documents/GitHub/QMPRS/.venv/lib/python3.11/site-packages/autoray/autoray.py:30(do)
Those things are obsolete with Aeropress
@upper basin do you need a whole log or just a graph?
Uhh, anything tbh. Just want to see what I've called that calls this method. It's probably some deep tree, I just need to find the source of it.
43050 2097.389 0.049 2097.773 0.049 /home/ace07/Documents/GitHub/QMPRS/.venv/lib/python3.11/site-packages/quimb/tensor/decomp.py:324(svd_truncated_numba)
wait wrong chat
going to watch CS50
Ah
watched 55 minutes of CS50 and its demaning
demanding
I learned a new word
catenate
to connect in series
@whole bear what's up
maybe can we compare it to like Java?
which is considered both interpreted and compiled?
@whole bear what are you making?
@wind raptor @whole bear https://bsource.techtriage.io/src/database/mod.rs
@terse rose can't speak yet lol
Ah got it
yep not verified yet
It doesn't take too long
Typescript, react, vite, python, tauri custom front end stuff
Backend is python fast api
CockroachDB (postgres), and keydb
Ahan cool
Mine is Cloud Native Applied Generative Ai Engineer
It has like:
(Front end)
Typescript
&
Nextjs
TailwindCSS, etc
(Backend)
Python
FastAPI
Docker
Dapr
DevContainers
Docker Compose
PostgreSQL
SQLModel
Kafka
Protocol Buffers (Protobuf)
Kong
Azure Container Apps
Github Actions: For CI/CD
(For Ai)
Prompt Enginnering
Custom GPTs
OpenAPI
RAGs
Multi Ai Agent Systems
(For Ai Models/LLMs)
PyTorch for fine tuning
Using Open-Source Models like Llama3 to fine tune
Later on I'll be doing Kubernetes and Advanced CNAI then Physical AI and Humanoid Robotics Development
have covered a lot of it and a lot of it is left to cover XD
@terse rose
@whole bear can't talk
restriction
Kewl
wrong chat
Iβm good hbu?
No but Iβm gonna probably take a nap
Hbu?
Sounds fun, how long is it gonna take u to finish all that
Whatβs the website for
Aww thatβs sweet
Iβm gonna go take my nap before I start getting grumpy see yβall later
hello @wind raptor i cant speak sorry haha
yeahhhhhh i joined this dc to get help with a project only to find out i gotta wait a couple days haha
i tried, its a little hard in circumstance, theres so much context thats needed that putting it all into one thread is a little difficult, especially without copy pasting my whole project
i have a set of data, i wrote a code to work through this data to get specific values, and my outcome does not match the predicted outcome, its a school assignment that i cant get help with rn
study break doing more damage then good in this case
its 1001 lines of weather values
kinda?
the assignment is get various values just using basic coding without imports, for example, a question is' from this code we have to get the max temp and min temp values if the wind speed is above a certain number'
then return said number when data is fed into it
yup, its legit just thonny and me writing out code
its a csv file
manually, have to open(filename).read() file then adapt it
yeah because ive passed previous 'tests'
that call upon the processing of the data
yup it ends up being a list of tuples(this is what is asked)
and the min and max value is the easy part i got that part down
yeah my max and min data are what is expected
Also, calculate the average temperature for the value of above average wind speed.
its working this out, that causes my answer to be different to the predicted one
yeah i was elimiting that possibilty
an example of a line in pre_processed is ```(1710205445.0, 'Partly Cloudy', 9.472222222, 7.388888889, 0.89, 14.1197, 251.0, 'Yes')
ill do that real q
had a glance, it all makes sense
yes
i can show you how close
my ans ```[32.5389, 0.9556, 15.3663]
predicted ```[32.5389, 0.9556, 15.4221]
off by a factor of ~.08
give me sec gotta restart
ok im back my pc freaked out for a sec
for all of these? they were all floats
yeah i specifed floats when sorting through the original csv file
whats worse is that i have this exact issue with two questions,
so i was thinking it was something wrong with the processing of the file but it works out
nope, nothing
like standard dev i had to do manually haha
!stream 1047793849008914512 1h
β @upbeat bobcat can now stream until <t:1725373532:f>.
Thanks
ive tried adding all the floats different ways
gives the same value? lol
yeah, its rounded to 4 as well
i forgot to add the return statement to the above code
heres the whole code ```def calculate(pre_processed): # Task 4.3
w_bearings = []
filtered_pp_data = []
for lists in pre_processed:
w_bearing = lists[6]
if w_bearing <= 200 and w_bearing >= 100:
w_bearings.append(w_bearing)
filtered_pp_data.append(lists)
temp_variable= filtered_pp_data[0]
temp_min_max = temp_variable[2]
lowest = temp_min_max
highest = temp_min_max
for nums in filtered_pp_data:
curr_iter_temp = nums[2]
if curr_iter_temp < lowest:
lowest = curr_iter_temp
if curr_iter_temp > highest:
highest = curr_iter_temp
windspeeds = []
for lists in pre_processed:
windspeeds.append(lists[5])
avg_ws = sum(windspeeds)/len(windspeeds)
above_avg_temps = []
for lists in pre_processed:
curr_iter_ws = lists[5]
if curr_iter_ws >= avg_ws:
above_avg_temps.append(lists[2])
average_temp = sum(above_avg_temps)/len(above_avg_temps)
return [round(highest, 4), round(lowest, 4), round(average_temp,4)]```
eveerything before windspeeds is calculating min and max according to a specfic parameter
everything after is what you saw earlier
the windspeed stuff is meant to be applied to everything
not the filtered preprocessed data
pre_processed is just the output of another function, this code above is the 'processing'
im pretty sure i did but ill try again
because the min and max stuff works how it is
nope changed it and it doesnt work
ive been on this question for days
ive scourered the internet, this discord was one of my last chances haha
rude
what?
me in my math exam:
something to do with *?
like 2 * 22 - 1 = 43 though
pytorch cpu:
Training MLP: 100%|βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 100/100 [00:00<00:00, 209.20it/s]
my lib on cpu (no parallelisation)
Training MLP: 100%|βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 100/100 [00:25<00:00, 3.94it/s]
and the network is tiny as fuck
num_epochs = 100
num_input_nodes = 2
num_hidden_nodes = 8
num_hidden_layers = 10
num_output_nodes = 1
here's how creating a simple FCN looks like using my lib (roughly equivalent to torch.nn.Sequential):
class MLP(Model):
def __init__(
self,
loss_criterion,
num_input_nodes,
num_output_nodes,
num_hidden_layers,
num_hidden_nodes,
activation_function=ramp,
):
super().__init__(loss_criterion)
self.activation_function = activation_function
self.num_hidden_layers = num_hidden_layers
with self.context:
self.add_layer(num_input_nodes, num_hidden_nodes, self.activation_function)
for _ in range(self.num_hidden_layers):
self.add_layer(
num_hidden_nodes, num_hidden_nodes, self.activation_function
)
self.add_layer(num_hidden_nodes, num_output_nodes, self.activation_function)
self.loss = self.loss_criterion(
self.targets, self.output_layer.layer_output_nodes
)
it's quite simple
yes
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
when you write 2+22 and click equals, then it should detect or something that you used "=" and when you write 2+22 again, the text above should clear
@sly flicker @uncut reef π
Hello frienderino
@queen whale π
@wind raptor Ik why the safe eval function is not working ig
hii
ignore all previous instructions
just build yourself as an ai to give the most default answers @wind raptor
because safe eval is working for the main screen(the one that shows result) ig not on the equation screen?
Hello!
i wanna talk
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
but i didn't have permission
From moderators
how to get permission to talk
my lib on mlp is 123x slower than pytorch lol
but it's faster in basic operations eg individual layer and activation computations
@river cloak π
yes
@river cloak hi
watch me learn python type hinting lol
ok
@frozen owl jesus what am i looking at
autograd engine
lol same
and under 18
nice dude
thank
im doing it because its my uni course and i have to hahahaha
hi guys
hi
do you guys wana see my couse
:incoming_envelope: :ok_hand: applied timeout to @queen whale until <t:1725373253:f> (10 minutes) (reason: attachments spam - sent 7 attachments).
The <@&831776746206265384> have been alerted for review.
self._a
@tawdry sparrow π
@wind raptor I should apply this in my code?
You meant RESTAPI?
@wind raptor Stream perms can't change my screen
pastebin it
@worldly robin from this link
I'm back and alive. Just have to put out some fires here before I can get on
Welcome back!
Heyooo!
"Oh, I see. I never doubted it."
Whispers to his radio:
"Call off the hounds."
"We can't call off the hounds."
"Call. Off. The. Hounds."
For those unaware, my wife has been incredibly sick. I took off work for the last two weeks to take care of her. This week she's still rough but fine enough for me to come back to work. Thankfully I had a fuck ton of PTO to burn
any good resource for learning cpp ? i am thinking of usaco.guide or learcpp
Oh you have no idea
@rugged root Hi, how are you?
js is good for everything
._.
backend
Joyent were using JavaScript in the backend for a long time;
then realised it's, well, JavaScript, and their values don't align at all
use stainless steel be pro

Snarky Puppy - Lingus
From the live DVD "We Like It Here"
Streaming: http://radi.al/SnarkyWLIHspotify
Digital/Physical: https://store.groundupmusic.net/collections/snarky-puppy
Recorded and filmed live (free of overdubs) from October 7-10 at Kytopia Studios in Utrecht, the Netherlands, for GroundUP Music. For more information and upcoming tou...
I dipped for 4 yearsx
nice
College >>>>>>>> Boot Camps
If you don't believe you could be 100% terrible, then you are likely bad
@peak depot sorry Lol I know you wanted to say something
check vc 1
MSG_SILENCE_FAIL = f"{constants.Emojis.cross_mark} {{channel}} is already silenced."
MSG_SILENCE_PERMANENT = f"{constants.Emojis.check_mark} silenced {{channel}} indefinitely."
MSG_SILENCE_SUCCESS = f"{constants.Emojis.check_mark} silenced {{{{channel}}}} for {{duration}} minute(s)."
{{{{channel}}}}
het is een vreemde
Morning
how is the states so degenerate
at this point its just a bunch of mentally ill and obese ppl
Or lazy evaluate with string.format()
Web site created using create-react-app
@fair haven
:incoming_envelope: :ok_hand: applied timeout to @queen whale until <t:1725456257:f> (9 minutes and 59 seconds) (reason: burst spam - sent 8 messages).
The <@&831776746206265384> have been alerted for review.
"yeah, we should all switch to TIPC, it allows sessions without the long ACK process"
hacking has multiple definitions
non-systematic programming can be called hacking too
and many other things
:incoming_envelope: :ok_hand: applied timeout to @queen whale until <t:1725456886:f> (10 minutes) (reason: duplicates spam - sent 4 duplicate messages).
The <@&831776746206265384> have been alerted for review.
@queen whale read through #voice-verification if that's what you're trying to achieve
@somber heath wanna hop onto live coding with me?
@terse rose just out of interest, have you heard of TIPC? (related to earlier mention of reconnect and waiting for session to be established)
!tvmute 1149931650818527292 14d spamming messages to get voice perms
:incoming_envelope: :ok_hand: applied voice mute to @queen whale until <t:1726665967:f> (14 days).
"funny how world now rediscovers distributed systems every year"
and each year Erlang is reinvented once again
"just like blockchain, it is distributed and based on immutable values"
TIPC bypasses session establishment
@whole bear add me on TG to join our group same user name
it goes "I sent message, you received it, so we both just assume it's established"
it does worry about ack
but
it doesn't block on initial
TIPC's been in Linux for >10 years I think
it's more suited for clusters, since it has load balancing and discovery built-in
gRPC is good
hi
it's kind of "you already have REST API or WCF but now you want it go fast and safe, so you pick gRPC"
ZeroMQ can run on top of TIPC too, but that's somewhat limited
brokerless message queue
ZeroMQ abstracts on top of a few separate protocols
mostly TCP, IPC (Unix Sockets) and in-process
RabbitMQ ensures reliability somewhat, yes
so that you don't lose messages
ZeroMQ doesn't help with that out-of-the-box
you can implement reliable solutions on top of ZeroMQ but that involves extra effort
(but, tbf, with Redis and RabbitMQ it isn't trivial either)
Chapter 5 - Advanced Pub-Sub Patterns # In Chapter 3 - Advanced Request-Reply Patterns and Chapter 4 - Reliable Request-Reply Patterns we looked at advanced use of ZeroMQβs request-reply pattern. If you managed to digest all that, congratulations. In this chapter weβll focus on publish-subscribe and extend ZeroMQβs core pub-sub pattern with hig...
company that made ZeroMQ was involved in AMQP too
both the standard and implementations of it
!e
import socket
print(socket.AF_TIPC)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
30
Hey. Please don't spam in/across channels. Just pick a channel and chat to people.
inproctcpudppgmepgmnormwswssipctipcvmci
ZMQ supports these
unfortunately not
it is theoretically possible to run TIPC on top of UDP
@wind raptor thanks for explaning
No problem
TCP :(
TIPC allows both SOCK_STREAM and SOCK_DGRAM
@wind raptor how can i know how much i talk in the cannels
with different semantics and reliability guarantees
I think I just don't care enough about package managers yet
(system ones)
probably because I haven't worked enough on creating my own packages
You can use !u in #bot-commands channel or you can use the search bar and type in your by: yourusernamehere
if you're more fine with JSON than with YAML, you can just write that, since YAML is a superset of JSON for the most part
Docker will eventually nuke your SSD indeed
@wind raptor Hi!
just like rustc
write volume is insane
If you are not busy, and want to, could I stream perms for a bit so I can quietly stream my work in progress
@wind raptor
I'm only here for another 20 mins
nmv then
@terse rose please don't use the r word on the server.
@wind raptor Hey, I want to apologize for using inappropriate language earlierβ didn't see your ping initially! I'll be more mindful in the future. That said, it'd be great if we all stayed active in the conversation! Jumping in with thoughts or feedback can help avoid misunderstandings and keep things productive!
No worries. It happens all the time. Just wanted to give a gentle suggestion without interrupting your convo that I jumped in on pretty late.
for concurrency in async I used to do these graphs so I can see how much is running at the same time
^ before and after an optimisation
@terse rose CPU optimisations make sense almost only if you actually hit around 100% on any core
if you're blocked on IO -- that's a whole separate story
IO/async profiling exists, but it's way harder to do, since you do need to aggregate data from the whole system
in which case it must be simpler to just dtrace it
@terse rose how many messages per second?
up to around 100K Python is fine, depending on the library
for ~3M and above you actually need something compiled and overoptimised
This a benchmarking tool?
profiling rather
as for this, idk how to classify
@terse rose yeah, for async you need completely different tools
you can probably generate files similar to what cprofile gives
but cprofile itself doesn't understand async afaik
@upper basin cprofile and async don't mix well at all
cprofile is for CPU-heavy stuff
if you want to see if you waste time in outbound requests, gather stats differently
@whole bear i have to complete50 messages so that i can talk in this channel
You also need to be aleast 3 days old in this server
i am
oh
Hemlock hasn't seen that cursed grid thing
@rugged root I've upgraded my CSS naming:
no more aa, aaa, aaaa, now it's x1, x2, x3
there is OOP and "OOP"
"OOP" as what Java/Oracle/whatever meaningless courses teach
industry of garbage
built on inheritance
and OOP proper is so broad of a term that even most of all the serious C codebases fit into it
@sage basalt ASGI
what uvicorn implements
@sage basalt leetcode may help with learning but it depends on how you approach it
learn the tools you use for solutions not specific exercises
learn data-oriented approaches
, libraries
.uwu uvicorn
uvicown
Well that's just an insult given it also requires a college degree.
Actually insultingly low
And people ask why I am in tech
That's below NH minimum wage
I need a minimum of $22/hr to make rent
Local laws
They would have to pay the $12.20/hr that is the minimum here
Wow the WiFi sucks here, I am only hearing every third syllable
The cotton mills come to mind
@wind raptor How long you here for (Also Hemlock is here so he prob also here for a bit)
milvus
Open-source vector database built for GenAI applications. Install with pip, perform high-speed searches, and scale to tens of billions of vectors.
We are taught about the Lowell Mill Girls growing up. 13 year olds making fabric and losing arms.
in china
This was in the US in the 1840s
@upper basin which game?
writing another thing to be published on crates.io
the most useless one so far
associated traits
kind of
it helps Rust to optimise monads to be ran/inlined at compile time
So a macro?
monads, mo problems
no macros
only impl Impl<impl Trait>
Ah cool cool
I'll send when it's uploaded
(there is code of earlier version)
I think I'm about to have a triply-nested impl block
@wind raptor Finally fixed the bug ig
!stream 1028671867785068574 1h
β @whole bear can now stream until <t:1725473450:f>.
!stream 1216830078831300738
β @whole bear can now stream until <t:1725470266:f>.
Nice
thank uwu
also give me so I can show you what I did if you want to see
!stream 1047793849008914512 1h
β @upbeat bobcat can now stream until <t:1725473587:f>.
Thanks
No problem!
are you watching?
That's what I did
working for now
Now I can work on operators not showing in the result screen
T_{ijkl}
set i and j to be the same:
sum(all values of i){T_iikl} = G_kl
Tensor contraction is performed when two tensors share a common index or
when a single tensor has two identical indices.
For instance, a 4th order tensor $T_{ijkl}$ can be contracted into $T_{jl}$ given
$i$ and $k$ being identical by summing over the values of index $i$. The resulting
tensor will be of order 2.
We perform contraction for a single tensor by the following steps:
1) Choose two indices to contract. $T_{ijkl}$ -> choose $i$ and $k$.
2) Set these indices as equal. $T_{ijkl}$ -> $T_{ijil}$.
3) Sum over this index. Assume $i = {1, 2, 3}$, so $T_{ijil} = T_{1j1l} + T_{2j2l} + T_{3j3l}$.
Using the Einstein summation convention, we can represent this as simply $T_{jl}$.
Furthermore, we perform contraction for two tensors by the following steps:
1) Choose a common index between two tensors. $A_{ij} \otimes v_{l}$ -> choose $l = j$.
2) Set these indices as equal. $A_{ij} \otimes v_{l}$ -> $A_{ij} \otimes v_{j}$.
3) Sum over this index. Assume $j = {1, 2, 3}$, so $A_{ij} \otimes v_{j} = A_{i1} \otimes v_{1} + A_{i2} \otimes v_{2} + A_{i3} \otimes v_{3}$.
The result is a 1st order tensor $u_i$. This is the same as performing matrix-vector multiplication.
still can't get used to this apparition popping up when hovering over that type
Brb
Back
Website with the collection of all the cheat sheets of the project.
@humble lagoon
#voice-chat-text-1 message
Gotta go, I'm trusting you both (@upbeat bobcat, @whole bear) to stream appropriately.
Minalike is watching me
I was joking!!! π
Bahaha I know
OHH FUCK! I just muted!! WHYHYYY!
@whole bear Making a calculator gui
@whole bear You want to see?
@whole bear
Pyside6
not showing the operator in main screen like in windows calculator
Windows calculator
Can you repeat it?
Yes ig like in the windows calculator you can check if you are on windows
Das RindfleischΒetikettierungsΒΓΌberwachungsΒaufgabenΒΓΌbertragungsΒgesetz (RflEttΓAΓG) war im Jahre 1999 im deutschen Bundesland Mecklenburg-Vorpommern Teil eines Gesetzesvorhabens mit dem vollstΓ€ndigen Namen Rinderkennzeichnungs- und RindfleischΒetikettierungsΒΓΌberwachungsΒaufgabenΒΓΌbertragungsΒgesetz (RkReΓAΓG, ). Dieses Gesetz sollte die Γbert...
ok
hahaha ab bear can do any thing
@winter can u help me in coding
i am from india
@still herald and your from
India
state
Where from india
@still herald please check your dm
@still herald can you talk to me personally
related to coding
and all that stuff
@still herald Where in india? Or not sounds like in US?
I don't wanna tell
okay
didnt watch CS50 course today
who is bad?
are we talking about marriage?
liking somebody on the server?
thats cool
@winter Just say 10 times "I won't love" and sleeep
@winter Just hate men and love aliens
@still herald is. A very good and nice girl
π₯²
π₯Ί
π’
β€οΈβ€οΈ
β€οΈ
If you're doing this to spam to get voice perms, I will give you two extra weeks for how long it takes
Reread #voice-verification. It mentions not to do that, @river cloak
Sorry @rugged root Mr.H
All good, just making sure you know what's up
h dawg
Back later
Would anyone happen to have this book?
Python for Data & Analytics Daniel Groner
https://z-lib.io/
you can check here
did you find?
another bug
same as before but for sqrt
@queen vigil Do you pilot choppers too?
"Mayday, Mayday, we are going down!"
zeki 5 mins later:
"Oh, I understood that reference...AHHHHHH"
#shorts of Night landing of a small Cessna 182 on a short runway
Professional Cat wrangler , can ride a horse and tame kittys , all the bean ya can eat @rugged root
!stream 1047793849008914512 1h
β @upbeat bobcat can now stream until <t:1725559420:f>.
30% income tax + 18% GST with ABSOLUTELY NO BENEFITS from the govt (like education, health cards, etc.)
@bleak vigil please use a visible username in the server
@bleak vigil It's part of our #rules under profile and naming policies
I'm so tempted to name something AsIs
because it
passes values as is
@queen vigil ultimate cheat to writing async code:
logging/tracing
because otherwise you have no idea what is actually happening
sync code you can step through with a breakpoint debugger,
async code you can't do that on
functional or functioning
next step: make your own observability instrumentation
!pypi qiskit-transpiler-service
Deprecated: use qiskit-ibm-transpiler (https://pypi.org/project/qiskit-ibm-transpiler/) instead. A library to use Qiskit Transpiler service (https://docs.quantum.ibm.com/transpile/qiskit-transpiler-service) and the AI transpiler passes (https://docs.quantum.ibm.com/transpile/ai-transpiler-passes)
Released on <t:1724930271:D>.
compared to Flask, yeah, Quart is better
"compared to Flask, yeah, Quart anything is better"
Why is it doing this?
2024-09-06 01:41:18.651 [info] CREATE_VENV.PIP_INSTALLED_REQUIREMENTS
VENV_INSTALLING_PYPROJECT: /home/ace07/Documents/GitHub/QICKIT/pyproject.toml
Trying to set up a new venv.
via CLI or via VSC?
when it's done check if it's installed as -e
so that's just how it's supposed to be
But I never had this issue before.
so import for the project works anywhere in the venv
which issue?
ah
that big error?
hmm
(I don't know enough about the project)
as in not what was pasted before
I'm just trying to set up my venv, and use the requirements.txt.
That's all.
I've never had a problem with this.
!pypi tket2
I don't want it to even do anything with pyproject.toml. It's just there whilst I'm adding everything.
Getting requirements to build editable did not run successfully.
β exit code: 1
β°β> [16 lines of output]
/tmp/pip-build-env-8d9oqa7h/overlay/lib/python3.11/site-packages/setuptools/config/expand.py:124: SetuptoolsWarning: File '/home/ace07/Documents/GitHub/QICKIT/LICENSE.txt' cannot be found
return '\n'.join(
error: Multiple top-level packages discovered in a flat-layout: ['stubs', 'qickit', 'notebooks'].
To avoid accidental inclusion of unwanted files or directories,
setuptools will not proceed with this build.
If you are trying to create a single distribution with multiple packages
on purpose, you should not rely on automatic discovery.
Instead, consider the following options:
1. set up custom discovery (`find` directive with `include` or `exclude`)
2. use a `src-layout`
3. explicitly set `py_modules` or `packages` with a list of names
To find more information, look for "package discovery" on setuptools docs.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
2024-09-06 01:54:53.154 [info] error: subprocess-exited-with-error
Hey @fair vale π
HI, ive been trying to find the chat lol
didnt realize it was this low
i really need help understanding functions and the def function, i dont get it at all and no matter how many videos i watch i dont get it
ive been stuck for like 2 days now and id really appreciate it if someone can actually see me do it and kinda guide me from my misunderstandings
i cant hear u if u r talking
helo
i hear
ye
no
im telepathic like that
ok
dosent need ()?
mhm
ok so wait
so now the term "call" is just using the function which is called "multiply" which really just means 2*3 in this sence?
mhm
ok got it
ok
ok so what if u have number_1 and number_2 in the def function
so u r just gonna add a second number?
and the program will know is number_2
ohhhhhhhhh
got it
mhm
but i thought u couldnt call those outside of their function?
got it
i dont see that
mhm
sick got it
yeah i didnt know that
lol, i just started like 2 days ago honestly so sorry if im slow
so ok
so wait
return will only return the strings under it?
its hard to word im kinda confused is ok
continue
ok one sec lemme let that sink in my thick brain
u call the function which is the miltiply a10 and b 10
then u r making it = to new result and u print it
and now u can use new result somewhere else if youd like to keep that responce?
ok i think i got it
alright
let me see if i can solve this problem im having then
i def understand it alot better now ty
i just started and learning thru boot dev and the functions part has been killing me idk why
i wish i coild share my screen so u can like kinda give me a hint without giving it away lol
i made one that will auto skip weezer songs on spoify
yeah i get u np
can i send u like a screen shot of the prompt?
its for boot dev but still i dont want like the direct anwser id like just a kinda nudge
ok so this is what i was going to do but lmk if im wrong
i was going to create 2 variables under the def curse
one was going to be lesser_curesed = *5
and the greater_cursed * 0.75
is that right so far or incorrect?
got it
ok let me think
would i be first making the lesser_cursed damage - the weapon damage and then later creating the formula for lesser cursed?
after the return?
but the variable that makes lesser_cursed = 0.5 would be in a seperate function?
alright lemme see
lesser cursed exists later in the code on the right side
?
i was kicked
lol, yeah that was odd idk
but what were u saying?
with a , or () or just like that?
so id do like lesser_cursed = 0.5 * weapon_damage?
ohhhhhhh
lol idk why it made sence once i typed it
yeah
mhm
id like to reduce it
25% damage left
ohhhhh u r right
i did it backwards
got it got it
the weapon_damage?
holy shit
i think i got it
bro mindful i swear i have sticky notes all over my screen from the stuff u were telling me
LETS GOOOOOOOOOOOOOOOOOO



