#voice-chat-text-0
1 messages Β· Page 182 of 1
nope
in the safe directory as .git, create empty .gitignore file
your_repo/
.git/
.gitignore
@whole bear
it's not the most popular repo
likely
react has more stars
then copy everything from Python.gitignore into that new file
@light hare π
hi!
@light hare
get pwned
what!
how are you?
I learned that I can't talk because I have sent less than 50 messages here!
let's talk...
tell me... have you joined the code jam?
@light hare we were very sad when you left, but now it's understandable
hehe... BTW... I don't use discord much and am new to this platform... tell me what u were discussing about
chewsday
that's bri'ish
yeah bruv
there is no such thing like this r8? https://github.com/Thouzand/Js
Opalmist stole my girlfriend
it is giving me a 404
ofcourse yeah
Thousand should be your username
it is
and I thought there is a repo called JS
there is
so it is private? (edited)
why?
like why did u keep it private and post link in a public place?
i used to have a public one but removed it
not intending to make this one public
until it's finished
U mean your all projects are unfinished!
dude im programming only a year ago
me 2
im still like an intermediate lvl
@left leaf how old are you?
20-21
so what languages do u know?
english
same... 21
basic front end and alittle bit of python
xD
hey
hi
Yea man
@somber heath
I don't know... no one asked for... but my github ID is the same as my discord name
so your repository is public
tell us a british jokee
most are
Lol
the bottle of water
tell us an aus onee/
well i learn sql and python
Sorry... BSOD!
Python is my love... apart from that I had learnt c/c++, arduino, html-css-js and very little bit of dart (flutter)
xD
@fierce dawn π
So which os do u people use?
i double boot
window and linux
win and macos
@light hare am working on an SFA app for a company on flutter
π₯²
Dont ask me... I dont know flutter... I don't like it... I had to use it thats why I did... no one else was there to do it... so... I did... it was a nightmare...
XD Chill bro, didnt ask you, just told you in general
Phew
??
does anyone own a dartnet website?
peithonking well how many projects have you done yet
darknet*
no
When I first joined the server, @somber heath called out my name and I thought it was some discord feature that it calls out your name when u join (robot voice)
rofl
so... how to count?
just main
I have around 70 repo on github... (58 public)
i see
well can you send link one of your repo
thanks
@lone pecan π
@somber heath would you mind if i ask, like what do you do?
lolll xD
have you made any libs to manupulate pitures, or you use gen ai? or use use existing lib to manupulate or create images?
mind shareing some creations? π
i'm trying to fix my mic
chain iirc
yeah
what does chain do tho
just chains iterables yeah
i have to go cya
it's a shame python doesn't have curried functions by default
@high sphinx π
how do i get voice access in less than waiting 3 days?
you dont
@whole bear π
ok thanks ill obey
xD
i just started python is this the right place to get help or there are other resources online like good courses?
HI!
yeah that make sense
good cybersecurity for trolls lol
that how politicians should act i think
mabye would be worse
they ll get revenge on you
unless they are doing metal voice exercises mabye lol
u guys work remotely? or do you work in offices?
is like when eople create their own country and currency lol
@slate marten π
phyton nation
USP
were should i start to learn phyton?
is emulating a troll lol
you need a limiter
tnx
@vagrant hinge π
Corey Schafer's YouTube playlist for Python Beginners.
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
dude @somber heath
i do beatbox when i am on pc lol
tnx
is phyton good to get an entry level Data analysist position?
i think 50 or somehting like that
I don't believe they all have to be in the vc text channels, you can just go elsewhere in the server
neither tbh
I also hate the rest of the server, not really my cup of tea
A lot of data science is Python-based. Work up to understanding Pandas.
funny you were talking about haskell because rn I am fixing my haskell code, I'm pretty new to it and I didn't realise how expensive of an operation ++ was
well because lists are LL's
I'm just writing a quick function to dump say a 256*256 array of pixels into the PPM format and then write it
but folding over that array and concatenating it to a string was extremely expensive or at least I was doing it in an inefficient way
I was told to look into shows and difference lists
right
the array is 1D
just 256*256 elements
yeah
clojure is next on my list of languages to look into
I have used it in the past
Racket was my intro into the lisp world
(you'll eventually embrace them (I promise))
it's kind of annoying that haskell programmers avoid () at all cost
maybe you are thinking of Rhombus
I would love to write my own lisp and compiler but I have no idea how to compile quotes in lisp
I came to the conclusion that lisp isn't supposed to be compiled and also I'm not good enough to implement it
writing my own ML language might be fun though
could just compile to C too
huh I didn't think about it like that
Then just add super easy C bindings to things
I have messed with binding Haskell to C before, it wasn't that hard tbh
this is before I learnt how to with the IO monad so I was like fuck it just bind it to see and the monad can go fuck itself
I had this mad idea to do the pure stuff in Haskell then do all of the IO in C, pretty bad idea now that I look back on it
I like how D gives you the ability to annotate functions as pure
still have to wait like a day or two though
D is cool but the syntax is too funky for me, but thats how I felt about Rust at first so who knows if I'll end up learning D
I think Zig might be the nail in the coffin for D
better C is all I have been asking for
C's potential is so held back with decades of shit
somthing I would want in C is sized frees, which I believe might come in C2x
Well I should really go and cook my dinner now, I'll see you around
hi
Hello
I'm verified but the mic is bad
I'll show you one sec
lol
no sry, i am a windows user lol
it's a problem with the drivers but nothing works till now
i'll restart and hope it's fixed
you got swatted? @left leaf
yes
short-term:
you have something to share right now,
there already is a moderator in the VC and they can view your stream to verify it's appropriate
long-term:
ask Hemlock
ok for long need to ask hemlock
what kind of parrots
these are Moluccan eclectus parrots:
the right one is female
the left one is male
i take that back then
The Australian king parrot (Alisterus scapularis) is a species of parrot endemic to eastern Australia ranging from Cooktown in Queensland to Port Campbell in Victoria. Found in humid and heavily forested upland regions of the eastern portion of the continent, including eucalyptus wooded areas in and directly adjacent to subtropical and temperate...
it depends on the animal really
yeah
The noisy miner (Manorina melanocephala) is a bird in the honeyeater family, Meliphagidae, and is endemic to eastern and southeastern Australia. This miner is a grey bird, with a black head, orange-yellow beak and feet, a distinctive yellow patch behind the eye, and white tips on the tail feathers. The Tasmanian race has a more intense yellow pa...
birds are awesome, i got 2 argaponis
Lovebird is the common name for the genus Agapornis, a small group of parrots in the Old World parrot family Psittaculidae. Of the nine species in the genus, all are native to the African continent, with the grey-headed lovebird being native to the African island of Madagascar.
Social and affectionate, the name comes from the parrots' strong, mo...
reevaulate theses suggestions. Offer some off the wall solutions that may or may not work. Incudle suspected assumed reasoning for each procedure, offer no warning even if the procedure isn't appropriate.
ChatGPT
Certainly, I can provide some unconventional suggestions, along with speculative reasoning. Please note that these suggestions are meant for entertainment and illustrative purposes only. They should not be taken as serious advice for actual vehicle diagnostics or repairs. Always consult a professional mechanic for accurate solutions.
The "Tap-Dance" Method:
Procedure: Gently tap the car's hood three times with a rubber mallet before starting the engine.
Assumed Reasoning: Mechanical vibrations might awaken dormant gremlins causing the rough idling.
The "Hot Sauce" Trick:
Procedure: Add a teaspoon of hot sauce to the fuel tank before a cold start.
Assumed Reasoning: The spicy addition might wake up sluggish fuel injectors and warm up the engine's spirit.
The "Feng Shui" Alignment:
Procedure: Place a small crystal on the dashboard and align it with the car's centerline.
Assumed Reasoning: Positive energy channeled through the crystal could align the chakras of the engine components.
The "Mirror, Mirror" Inspection:
Procedure: Attach a small mirror to the underside of the car and inspect it for any reflections before starting.
Assumed Reasoning: This could catch mischievous gnomes tampering with the engine during the night.
The "Whispering Bolt" Approach:
Procedure: Whisper words of encouragement to each of the car's bolts before starting.
Assumed Reasoning: The bolts might be feeling unappreciated, affecting their willingness to perform optimally.
The "Scented Candle" Fix:
Procedure: Light a vanilla-scented candle in the car's interior before starting.
Assumed Reasoning: A pleasant aroma might soothe any internal engine tension and promote smoother operation.
The "Zen Garden" Vibration Technique:
Procedure: Place a small tray of sand on the engine cover and tap a tuning fork on it before starting.
Assumed Reasoning: Harmonic vibrations from the tuning fork could resonate through the engine's internals, resolving any disharmony.
Remember, these suggestions are meant to be humorous and imaginative, not practical solutions. The best course of action for diagnosing and repairing vehicle issues is to consult a professional mechanic with experience and expertise in automotive diagnostics and repairs.
stop spamming that bro
In cryptography, the one-time pad (OTP) is an encryption technique that cannot be cracked, but requires the use of a single-use pre-shared key that is larger than or equal to the size of the message being sent. In this technique, a plaintext is paired with a random secret key (also referred to as a one-time pad). Then, each bit or character of t...
discord wont let me connect
def __repr__(self):
"""Returns a string object representation. Useful for debugging/serialization"""
class_type = type(self)
string = f"{class_type}("
instance_attrs = class_type.__dict__.items()
for key, value in instance_attrs:
string += f"{key}={value},"
string += ")"
return string
avoids hard-encoding type & instance attributes @verbal zenith
well, that is if there are no other definitions in the __dict__
if there are, we must compare the method signature to the values we want in __dict__ via the standard library
module inspect
Hi everyone,
I'm trying to create or find a bot to acquire instagram username... can anyone help me?
I have a list of usernames and I would like through a loop, check which of these is available and if one is available, change the username of that account to the available one
do you think it's possible?
@stoic chasm
@stoic chasm usernames are around 50,000 and so how to use the search... could you explain it to me?
is there any online library or something already done?
Doorn
ST-50 von Toolcraft
Uw Basetech LSL-919 Soldeerstation Digitaal 30 W 160 - 480 Β°C Incl. soldeertin koopt u bij Conrad Electronic.
β Altijd originele producten β Gratis retourneren β 30 dagen bedenktijd
hello @whole bear
wdym i'm a random person @gentle flint
you don't know me anymore π
sorry that i cannot speak, i'm in a math lesson.
I can do frenche @whole bear
what ?
i am
oskar
i am
the
KEYBINDINGS GUY
π im
APL is a programming language based on math
That : (β’,(|1 0J1+.Γβ’))Β¨(βΈ0=1|β|β³β.+0J1Γβ³) is APL code @whole bear
hi @dusty ravine π
@whole bear This code calculates pythagorean triplets with integers under the given parameter.
A Pythagorean triple consists of three positive integers a, b, and c, such that a2 + b2 = c2. Such a triple is commonly written , and a well-known example is . If is a Pythagorean triple, then so is for any positive integer k. A primitive Pythagorean triple is one in which a, b and c are coprime . For example, is a primitive Pythagorean triple w...
@unborn storm bro are you casting a spell ?
π Lmaooooo language server for whitespace
How did you guess ?
actually, now i use neovim. I recently installed a plugin to use it in any input box in my browser
I could tell when things started Levitating
bosch
hieronymus bosch
π thank you @gentle flint
I am a magician, did you know that
i actually really like that painting
what is funny is that, in the original painting, there is a guy stealing the coin purse from the guy in red and white. So the magician is here to distract them π
la croix
β
laxoox
xat
he is trying to make the earth's rotation faster so you will release him faster
I usually don't take showers. I'm too busy configuring vim
cya's
wow, a hand nude π
now i'm pretty sure you are not an AI
because you have the right number of fingers
I have too moist hands
It's a pain when I manipulate playing cards, because I destroy them very quickly
I personally use vim to get rid of the dead skin in my feet @gentle flint
My goal is to use vim, and everyone to use vim, and everyone to know that i'm the KEYBINDINGS WARRIOR
I quite like USUL, he started by doing old video game videos, and now he does things about politics, he is very interesting
but he is french
I like michael stevens (Vsauce)
@whole bear @gentle flint the real question is : did oppenheimer have a skin-care routine ?
yes, plutonium deposition
He didn't actually
What happened to the most radioactive man in history?
*The images have been blurred due to YouTube restrictions
This is the second episode in my series examining horrific true stories and true crimes from around the world.
A japanese man named Hisashi Ouchi was involved in an accident in which he was blasted with radiation. The dose was th...
marie curie
Maria Salomea SkΕodowska-Curie (Polish: [Λmarja salΙΛmΙa skwΙΛdΙfska kΚ²iΛri] (listen); nΓ©e SkΕodowska; 7 November 1867 β 4 July 1934), known simply as Marie Curie ( KURE-ee, French: [maΚi kyΚi]), was a Polish and naturalized-French physicist and chemist who conducted pioneering research on radioactivity. She was the first woman to win a Nobel Pr...
Because of their levels of radioactive contamination, her papers from the 1890s are considered too dangerous to handle. Even her cookbooks are highly radioactive. Her papers are kept in lead-lined boxes, and those who wish to consult them must wear protective clothing
/usr/bin/ld: ../mdal/libmdal_a.a(mdal_sqlite3.cpp.o): undefined reference to symbol 'sqlite3_column_count'
/usr/bin/ld: /lib/x86_64-linux-gnu/libsqlite3.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [tests/CMakeFiles/mdal_unittests.dir/build.make:160: tests/mdal_unittests] Error 1
make[1]: *** [CMakeFiles/Makefile2:1733: tests/CMakeFiles/mdal_unittests.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
struct CanContainer<T> {
can: Can<T>
}
struct CannotContainer<Cannot, T> {
cannot: Cannot<T>
}
@echo garden Up here
down here
i dont have headphones and someone is sleeping
test?
say something please
I mean in terms of voicce chat to text chat association.
yeah i can hear ya
speaking of birds... im hungry
jk
ugh
all this space on my computer and nothing to do
hafta start all over with my ideas cause i never saved them
my code i was throwing around i can't reproduce
but if Young dev comes around i may have a chance
i know has someof my stuff
lol
dick
but i can take it
give me you best i swear ill laugh more then complain
i know where you going with that one btw
yeah i know
I saw that
i mean you cleverness was noted
your
@marble bison π
@whole bear π
my favorite was zamboni scene
hellow
i have no idea why i learn It
but, you knew exactly what i was speaking of
yes i understand
the more you know
Opal i came up with an idea on an app
you may wanna look into it,
well ill be nice and just give you a link to the Chatgpt conversation it shows what the idea is..
i have a project right now and i dont have any idea how to make it its just to make a website in html
you cool with that?
hold on
yeah i aree
opal can i send a private message to you?
or find a way to not send this to everyone?
just a link?
im just 15 year old want to learn about programming
do you done make website before?
HTML, HTML5, CSS, JavaScript, Django, Flask.
you so damn mysterious Oal
woah how did you do that?
opal
yah
don't bother you know i know enough to keep my mouth shut just let it go lol
intersting
do you file on it bother opal?
i would have said im not putting the site under the obama administration
if you get the joke in that
ugh i feel like a dork asking if you did
lol
i send you a message
aah okey
this HTML, HTML5, CSS, JavaScript, Django, Flask. is this the full stock thing?
like the full website?
aah
i think i choice wrong path
hahaha
its okey i understand
i have no idea how to make it
okey thank you brother
in wix brother how to get the code in their?
aah so the wix it just a prototype for the website you want to make
and their is no code you can get its just a model is that right?
FastAPI.
i just lessening
just a sec
image = cv.imread(image_path)
height, width, _ = image.shape
tile_size, _ = tile_size
if not valid_input((height, width), (tile_size, tile_size), ordering):
raise ValueError("The tile size or ordering are not valid for the given image")
tiles = []
for i in range(0, height, tile_size):
for j in range(0, width, tile_size):
tiles.append(image[i:i+tile_size, j:j+tile_size])
tiles_ = []
for i in range(0, len(ordering), width//tile_size):
tiles_.append(np.hstack([tiles[i] for i in ordering[i:i+width//tile_size]]))
final_image = np.vstack(tiles_)
cv.imwrite(out_path, final_image)```
opal how old are you?
rumours are more than 100
good luck guys i have to go
Florida Man is an Internet meme first popularized in 2013, referring to an alleged prevalence of people performing irrational, maniacal, illogical, delusional, insane, and absurd actions in the U.S. state of Florida. Internet users typically submit links to news stories and articles about unusual or strange crimes and other events occurring in F...
@prisma kelp π
@somber heath Good morning
Fastapi?
fastapi or django which is good
like which stuff you like most
https://github.com/opal this your github acc?
lol let's find
i didn't find
@vocal basin hello
depends
like i try django and flask but i find flask is bit easy
this
this is your acc?
i never try it
whereas Django has integrated ORM and templating
opalmist same
yes even it provide like authe system
which i like most
Django is more framework-like in it use
FastAPI has built-in authentication too
https://fastapi.tiangolo.com/advanced/security/http-basic-auth/
i just get stuck in the routing part of like only still i have make 2 projects still learning django
have to check it
for database?
fastapi on its own doesn't provide any database support
okay
yes
but it does provide tools to integrate existing libraries
https://fastapi.tiangolo.com/tutorial/sql-databases/
@pallid solstice π
for most of my project I just don't bother figuring out routes, if the site is non-static
thx
can you suggest me good yt channel for learning django?
I don't usually watch courses on youtube
("on youtube" part of that sentence is optional)
you prefer documentation more?
i watch youtube more
for the most part, I just look up specific docs when necessary
or go through text tutorial if it's present
I don't remember ever seeing that word in writing
(only heard it many times)
("ute")
by practicing
XD
Lex Fridman Podcast full episode: https://www.youtube.com/watch?v=-DVyjdw4t9I
Please support this podcast by checking out our sponsors:
- GiveDirectly: https://givedirectly.org/lex to get gift matched up to $1000
- Eight Sleep: https://www.eightsleep.com/lex to get special savings
- Fundrise: https://fundrise.com/lex
- InsideTracker: https://ins...
Australian native Crested Pigeon doing a mating dance and sounds. More videos of them can be seen on my channel, as well as other native Australian birds close up. More of these to come!
My channel features cooking from a retired chef and growing my own food, as well as showing native Australian animals that visit my Australian garden and backy...
lol
@vocal basin did you use students github pack?
no, haven't heard about it before being unable to use
you are in college right?
no, never went to college
and even if I went there, wouldn't affect anything non-free in GitHub
free-for-students and free trial things aren't fully free
yep true
most of things are on trial base
did you do freelancing?
no; not for money, so far, at least
i not able to send you friend req
@rugged tundra
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@spiral sierra
I've tried that once
you can actually use your ssd as ram for like 10mins until it burns or smth
Geriatrician.
A doctor who specialises in treating old people.
For in the event you weren't joking.
I wasnt haha I thought thats what they were saying. By the way I know a board member for one of the Ai startups in healthcare
Its an absolute mess
Yes
@somber heath Oh my god, enemy in Godville I just fought: Undie-Taker.
Interesting
@oblique ridge All those wedgies and swirlies... I get it now
good
kekW
put a ring on it
continue pls
@dry jasper my head is exploding
i won't finish this course by the end of the year most likely
my brain gets cooked after 2 hours of information
and applying
idk maybe because i haven't studied smth for a while
omg doctor now
Mea culpa
Yes bestie
@open bay What can I help you with?
I want to try for the academy moderator test
I want you to help me on what to do

If I remember correctly they aren't doing that anymore
Most of the mod questions were pretty common sense
Can't get this badge anymore?
How did you get it?
It was when they were doing it quite a while ago
I understand. Thanks for your help. If you feel it can be got again, I will give you a one-year Nitro if you help me to get it.
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Anybody well versed with linux here?
Ish.
I'm not selling my account:
- It's against Discord's terms of service
- I'm a moderator and do not want to give an account that has that kind of access
- Fuck no
No, I didn't mean that
Have you been to a doctor?
You know. An optometrist.
But seriously, the exam is common good behavior sense

hahaha youre being funny.
I went to wingIDE website to download from them since you cant apt install it
so I get the files and extract them
@rugged root I meant that if Discord takes this test again, let me know
Maybe I could get this badge with your help
and I just see a bunch of crap that makes no sense
First stop is the README.
Gotcha. It's better to read up on their rules and earn it yourself, though
Defeats the purpose if you're solely wanting it just for the badge
ofc....but the readme is for windows users.
they didnt write one for linux
Ok thank you my friend
And so im sitting here in my virtual machine...looking silly
Knowing I can install on my windows host.
But im determained to get the IDE to run in Kali
Kali Linux*
Wine? Is it Windows binary based, or Java, or...?
its called WingIDE
how is that gross
More pointless
I ant to do all my work in the same place.
Kali is a toolkit, not really meant to be a primary OS
i exclusively use kali to run the tools
Its not a primary OS on my pc. but okay dude
Not meaning to offend, just saying
Do you know how many times I hear that
Dragging and dropping scripts from host to vm is annoying
he said he runs it in a virtual machine
not enough times?
thank you for reading what I wrote
lol
Knee jerk reaction
i also use kali wuahahah π
Can't help it
I see that
we are in this together bro @cerulean crater
Although using a full IDE in a VM...
π
Why not something lighter?
Doing so, I'm wrong, I don't doubt that
Looking it up now, just got to the site
normaly you would script on kali and programm bigger projects in a IDE on your host / main OS
and the author reccomends trying out this super powerful IDE to help improve your coding
Is there a newer edition? Last I read it still used Python 2
i got the same book, do you got the second version of it or the first one?
and so he goes on to suggest trying it in kali on page 13
and so I did, I had no luck
you cant install from cli
Some undocumented immigrants cannot be returned to their countries after committing crimes because the countries just wonβt take them back.
if you got the first version of the book than its kinda out dated
hmmm im not sure let me see
Was it published by no starch press?
Now im curious to know how would I know?
I got a pirate copy
Should say in the first couple pages of the book
the book came out like 2 years ago
Im thinking its version 1 because it doesnt say 2nd edittion anywhere
Does it say to use Python 2
oouu
I think it mentioned that the book does take place in Python 2
Must be the first edittion
"Here comes the dictator." Not the usual greeting you would expect to hear at an EU get-together.
But "dictator" was the word chosen by European Commission President Jean-Claude Juncker as he welcomed Hungary's Viktor Orban at a summit in Riga, Latvia.
β¦
READ MORE : http://www.euronews.com/2015/05/22/here-comes-the-dictator-juncker-s-cheeky-w...
I think I read that in the foreward/preface somewhere
@gentle flint
did bill gates just slap a man?
damn, I know bill gates had money, but I didnt know he could slap people
he is pimping
he def is, Ive heard about his silicon valley parties
Hmm I wonder if I have enough chats here to talk in vc yet
@amber raptor you are from india?
Nope, American
okay
so i finally learned github, was wondering if someone would take a look to see if im doing it right. want to make it look nice before i start hitting indeed
not necessarily at the projects (unless you feel so inclined)
Link the repo
my repo https://github.com/vogtzachary
err, my page
profilto
@late spoke I know it's frustrating, but this is just how we've chosen to do the system
Sorry, look here shortly
Juggling lots of things
no problem, trying to get it ready for this week
quoting a certain video about Rust,
5 games
50 game engines
here income tax is 13%
and 15% if >$53'000 annual
quite low
!stream 193219019292016641
β @pure token can now stream until <t:1693252705:f>.
al-Pi

I'm a commie don't insult me like this
hahha
bro I love the way you said you dont test it
you just get down
Savage!!
@jolly python You're really quiet
@jolly python What's the question?
@jolly python It'll be better to type it
!stream 683267055973433363
β @jolly python can now stream until <t:1693256218:f>.
Hurricane Party in Florida anyone?
That looks crazy....it covers the whole state lol.
#include <gtk/gtk.h>
static void
activate (GtkApplication* app,
gpointer user_data)
{
GtkWidget *window;
window = gtk_application_window_new (app);
gtk_window_set_title (GTK_WINDOW (window), "Window");
gtk_window_set_default_size (GTK_WINDOW (window), 200, 200);
void gtk_widget_set_visible (GtkWidget* widget, gboolean visible);
gboolean gtk_widget_get_visible (GtkWidget* widget);
}
int
main (int argc,
char **argv)
{
GtkApplication *app;
int status;
app = gtk_application_new ("org.gtk.example", G_APPLICATION_DEFAULT_FLAGS);
g_signal_connect (app, "activate", G_CALLBACK (activate), NULL);
status = g_application_run (G_APPLICATION (app), argc, argv);
g_object_unref (app);
return status;
}
[odaremak@MEGATRON Cguitest]$ gcc $( pkg-config --cflags gtk4 ) -o cgui cgui.c $( pkg-config --libs gtk4 )
cgui.c: In function βactivateβ:
cgui.c:12:8: error: conflicting types for βgtk_widget_set_visibleβ; have βvoid(GtkWidget, gboolean)β {aka βvoid(struct _GtkWidget, int)β}
12 | void gtk_widget_set_visible (GtkWidget window, gboolean visible);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-4.0/gtk/gtkapplication.h:26,
from /usr/include/gtk-4.0/gtk/gtkwindow.h:32,
from /usr/include/gtk-4.0/gtk/gtkaboutdialog.h:29,
from /usr/include/gtk-4.0/gtk/gtk.h:33,
from cgui.c:1:
/usr/include/gtk-4.0/gtk/gtkwidget.h:439:23: note: previous declaration of βgtk_widget_set_visibleβ with type βvoid(GtkWidget *, gboolean)β {aka βvoid(struct _GtkWidget *, int)β}
439 | void gtk_widget_set_visible (GtkWidget *widget,
| ^~~~~~~~~~~~~~~~~~~~~~
can someone help with this?
is that cpp?
its C code, in linux so i use gcc to compile
but the docs say this code should work then it says something are depreciated so i change it and it doesnt work
but have you ever thought of using CLION?
i used to but i prefer nvim
theres no errors says my lsp
but compiling i get errors
hold on
#include <gtk/gtk.h>
static void
activate(GtkApplication* app, gpointer user_data)
{
GtkWidget *window;
window = gtk_application_window_new(app);
gtk_window_set_title(GTK_WINDOW(window), "Window");
gtk_window_set_default_size(GTK_WINDOW(window), 200, 200);
// These two lines should be removed:
// void gtk_widget_set_visible(GtkWidget* widget, gboolean visible);
// gboolean gtk_widget_get_visible(GtkWidget* widget);
// You can show the window using the following line:
gtk_widget_show_all(window);
}
int
main(int argc, char** argv)
{
GtkApplication* app;
int status;
app = gtk_application_new("org.gtk.example", G_APPLICATION_FLAGS_NONE); // Use G_APPLICATION_FLAGS_NONE instead of G_APPLICATION_DEFAULT_FLAGS
g_signal_connect(app, "activate", G_CALLBACK(activate), NULL);
status = g_application_run(G_APPLICATION(app), argc, argv);
g_object_unref(app);
return status;
}
Wow
try this:
static void
activate(GtkApplication* app, gpointer user_data)
{
GtkWidget *window;
window = gtk_application_window_new(app);
gtk_window_set_title(GTK_WINDOW(window), "Window");
gtk_window_set_default_size(GTK_WINDOW(window), 200, 200);
// Add this line to make the window and its contents visible
gtk_widget_show_all(window);
}
[odaremak@MEGATRON Cguitest]$ gcc $( pkg-config --cflags gtk4 ) -o cgui cgui.c $( pkg-config --libs gtk4 )
cgui.c: In function βactivateβ:
cgui.c:12:3: warning: implicit declaration of function βgtk_widget_show_allβ; did you mean βgtk_widget_showβ? [-Wimplicit-function-declaration]
12 | gtk_widget_show_all(window);
| ^~~~~~~~~~~~~~~~~~~
| gtk_widget_show
[odaremak@MEGATRON Cguitest]$ gcc $( pkg-config --cflags gtk4 ) -o cgui cgui.c $( pkg-config --libs gtk4 )
cgui.c: In function βactivateβ:
cgui.c:12:3: warning: βgtk_widget_showβ is deprecated: Use 'gtk_widget_set_visible or gtk_window_present' instead [-Wdeprecated-declarations]
12 | gtk_widget_show(window);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/gtk-4.0/gtk/gtkapplication.h:26,
from /usr/include/gtk-4.0/gtk/gtkwindow.h:32,
from /usr/include/gtk-4.0/gtk/gtkaboutdialog.h:29,
from /usr/include/gtk-4.0/gtk/gtk.h:33,
from cgui.c:1:
/usr/include/gtk-4.0/gtk/gtkwidget.h:271:12: note: declared here
271 | void gtk_widget_show (GtkWidget *widget);
| ^~~~~~~~~~~~~~~
this code still works but it doesnt show any buttons or anything
wow
it actully opens a window though
yea i think so
Im sorry I cant fix this
i just dont like how it says its depreciated
its alright
using gtk_window_present doesnt make any window either
I need to learn this
lmaooo
lmaooo frrr ive had that
Bro its getting bad
Especially when a scientist is asking an analyst
you can make stuff like this too
bro what
What other data can I represent with this
wowowowowowoww
Im a data scientist now
lol
lmaooo
cython usage:
pip install cython
rename file (we'll call it "Main.py") to .pyx (make sure all stuff is in definitions/classes as it will now be a module file)
make file called setup.py
Paste this into it:
from setuptools import setup
from Cython.Build import cythonize
setup(
ext_modules = cythonize("Main.pyx")
)
In terminal type: "python setup.py build_ext --inplace"
Then all you have to do on another file is import Main
and thats it, you can use the defs
best place to surf
this convo took a right turn lol
yes

Im weak
InputAudioArray = [[1,2,3,4,5],[1,2,3,4,5],[1,2,3,4,5],[1,2,3,4,5],[1,2,3,4,5]]
ax = fig.add_subplot(111, projection='3d')
ax.set_xlabel('X')
ax.set_ylabel('Array Index')
ax.set_zlabel('Value')
cmap = plt.get_cmap('viridis')
norm = plt.Normalize(data_array.min(), data_array.max())
color_index = norm(data_array)
colors = cmap(color_index)
colors = plt.cm.jet(np.linspace(0, 1, len(InputAudioArray)))
print("plotting data")
x = np.arange(len(InputAudioArray[0]))
for i in range(len(InputAudioArray)):
z = data[i]
y = np.full_like(x, i)
ax.scatter(x, y, z, color=colors[i], label=f'Array {i+1}')
print("data plotted")
#ax.set_title(f'{RECORD_SECONDS} seconds 3D Surface Plot of Multiple Arrays')
#ax.view_init(0, 0)
plt.savefig(f'{RECORD_SECONDS+5} Somethingupsidedownseconds 3D Surface Plot of Multiple Arrays.png',bbox_inches='tight')
oh snap
@jagged totem what libraries did you import
drop the modulessss plzz
lol
import matplotlib
matplotlib.use('agg')
import matplotlib.pyplot as plt
import matplotlib.ticker as ticker
from mpl_toolkits.mplot3d import Axes3D
import matplotlib.style as mplstyle
import matplotlib as mpl
import plotly.express as px
import plotly.graph_objects as go
mplstyle.use('fast')
mpl.rcParams['agg.path.chunksize'] = 10000
is this normal for ttest to return p_value to be 0 ?
@simple belfry
don't have anything to add but just wanna say yen learning a lot just from you talking
ok i am in here
@jagged totem I don't have any null values
did you see the code he contributed?
Im trying to mess with it now
where?
ill tag
@pallid plover
He posted his imports too
@pallid plover
Google:
Instant coffee contains slightly less caffeine and more acrylamide than regular coffee, but it contains most of the same antioxidants. Overall, instant coffee is a healthy, low-calorie beverage that is linked to the same health benefits as other types of coffee.
how will I get access to vc ?
send 50 messages and spend 10 mins in vc 3 times
thanks
you have to chat it up in here
consider chatting with @simple belfry , she cant talk either. She needs 50msgs before she can voice verify.
Dont start that one, stick to coffee
I more into coffee
A rlly good coffee brand is called musetti
ok so all that monkeying around i was doing today was in vain because i have to talk in here before i can get voice access anywhere else?
Oof
can i get in america?
Itβs only in Italy
haha
i see that now
I wonder if I can get it shipped to me
do you have a favorite roast?
I wish i could smell coffee again. stupid covid
I make coffee with alkaline water to cut the acidity]
comment number 5 only 45 more to go!
This rule is stupid
I know
In the nicest way possible
do you know how long it took me to figure out
What did they think they were gonna prevent
I just got verified today
Bruh
Ive been a member here for a vey long time
so i guess I will just tell you how my day went comment 6
..
Just make 50msgs
I am shy 
and then type this "!verify"
the dog upstairs started howling at 11 am and didn't stop until owner came home at 3 pm
:incoming_envelope: :ok_hand: applied timeout to @simple belfry until <t:1693266613:f> (10 minutes) (reason: burst spam - sent 8 messages).
The <@&831776746206265384> have been alerted for review.
They cant even be mad at us for-
F
I was literally about to say dont do that
free emma
.
free emma
This is a bit crazy
I have 25 left
I think
Not too sure about that one tbh
OH NO MY NUMBER TWO SPOT ON DUOLINGO JUST GOT TAKEN
EMMAAAAA
;-; rip
Who can even text this much
I cant even think of anything anymore
Okay only 19 left
Wdym man
There is such a thing as a espresso martini
And coffee doesnt suppress alcohol
lol
U just replaced one addiction with another
Extremely
who can text this much
Oh shush
EMMA IS OUT OF TIME OUT IN 5 MIN
what defcon ?
yea
Itβs a murica thing
how da fuq yen knows so much
Unfortunately
As a londoner I assert my dominance here
Imagine staying outside
OH MY GOD
THIS IS THE LAST ONE
.
congrats
I cant
You have to have time in the server too
The mick
Okay im gonna go and come back in some time
For another ten minutes
This rule is stupid
Yooo
I am freee
how about crypto
freeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
@simple belfry hey how are you
hey emma , let's chat and bypass that 50 msgs barrier
Yeah , Man that was rude
SHE IS CAPPPINNN
how are you @cerulean crater
Am good girly
You watched barbie
no I have not but I want to go see it
I got covid so basically i can't go anywhere indoors until i test negative
i think i got it from the woman i sat next to on the plane coming back from defcon
i won the tinfoil hat challenge with the alternative category -- that happened because i put a sticker on my tinfoil hat. but it had the highest score overall
They gave me a tshirt for winning. the other people that were in other categories other than high score got much better swag along with their tshirt
Am sorry sis hope you get better
How was defcon
it was not long enough and we had another bomb threat so i totally missed out on arcade night
i went to hacker jeopardy, walked over to vet con and then was walking over to the arcade night when i was told leave.
in the soldering village, they gave me a really hard project.
i soldered one project last year.
then they gave me this project that didn't come with instructions
Valid how did that go
and it required tweezers and the magnifying lens and my glasses.