#voice-chat-text-0
1 messages ยท Page 304 of 1
benazam
๐ merci dadashem
???
@lavish roveris correct that a memory leak in your code. Not in the C.
๐ I think a C is a good lang ๐ I love it ๐
C is safe just the human do stupid things .
๐
"auto everything" is a good example.
#include <stdio.h>
int main(){
int array[4096] = {0};
int i = 6000;
array[i] = 5432;
printf("%d\n", array[i]);
}
@lavish rover check this
#include <stdio.h>
int main(){
int array[4096] = {0};
int i = 6000;
array[i] = 5432;
printf("%d\n", array[i]);
}
hi!
how to make 123 to 321 with mudolu?
The modulo or modulus operator, %, can be used in concert with the floor division operator, // to mathematically decompose a number into into its digits.
A while loop is generally also used.
!e py print(123 % 10) print(123 // 10)
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 3
002 | 12
!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.
@supple gyro ๐
hii
Dose some one Know How to Setup llvm with the c/c++
for converting AST to IR
I Tokanize and parse the code of my own language, But Still figuring about how to setup LLVM
I play minecraft on 4 gb ram Laptop
with i3 processor
my server is 32GB i7-6700K with 1060-6gb
Is someone Lang Dev in You
@grizzled wasp ๐
@echo lynx ๐
Just Do Some Conversation with Some cone it is not that big number
Just do not Spam it will not block Yu
I mean spam or some sh1t.
The auto text-mute only tends to kick in if you are doing something you shouldn't. It's tuned fairly reasonably, so there's no need to stress.
In the event it does ding you and you weren't actually up to mischief, a moderator usually spots it and will unmute you.
sounds good.
Not where I am!
I'm around.
@fading moss ๐
@lavish dirge ๐
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Hey I have question
Hm?
Has anyone played minecraft? There is a plugin called Slime Fan, which has several add-ons, one of them is Supreme, in it there is a part that generates electricity, it is called Supreme Generator, and... it should generate 20 million electricity per second, but it generates 20,000 electricity. Is there a problem with the programming?
@spare adder @tardy nova ๐
Is the way it came to you a modpack?
No it's plugin
Because these things are often configured in configuration files. A modpack composer may choose to nerf the energy generated.
Could it also be an error from where you're getting the higher figure?
Might you be misinterpreting the energy reading in-game?
I'm opening file with python but it's 20 million but in game 20 k
@slender sierra ๐
@versed heath The best next language to learn after Python is the one you choose.
Learn the one you need.
Learn the one you want.
!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.
https://paste.pythondiscord.com/YOZQ
there are no errors, just compile html
``
public class FizzBuzz {
public static void main(String[] args) {
for(int i = 0; i <= 100; i++){
//System.out.println(i);
if (i % 3 == 0 ){
System.out.println("Fizz");
} else if ( i % 5 == 0) {
System.out.println("Buzz");
} else if (i % 8 == 0) {
System.out.println("FizzBuzz");
} else {
System.out.println(i);
}
}
}
}``
for i in range(100):
string = ""
if i % 3 == 0:
string += "Fizz"
if i % 5 == 0:
string += "Buzz"
if not string:
string = i
print(string)
Not the most efficient, but it's what I would do
for i in range(0,100):
print(f"{"Fizz"*(i%3==0)}{"Buzz"*(i%5==0)}" or i)
i think this is the most confusing way to do ๐คฃ
It's one of for sure
I think I've seen some even more cursed ones in #esoteric-python
i just sometimes like to overcomplicate it
God I just realized that's in an f-string
yesyes
It is a clever usage of True being == to 1
yeah
!e py import numpy as np arr = np.arange(1, 11, dtype=object) three = arr % 3 == 0 five = arr % 5 == 0 arr[three] = 'Fizz' arr[five] = 'Buzz' arr[three & five] = 'Fizzbuzz' print(*arr, sep='\n')
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 1
002 | 2
003 | Fizz
004 | 4
005 | Buzz
006 | Fizz
007 | 7
008 | 8
009 | Fizz
010 | Buzz
!e py import numpy as np arr = np.arange(11, 21, dtype=object) three = arr % 3 == 0 five = arr % 5 == 0 arr[three] = 'Fizz' arr[five] = 'Buzz' arr[three & five] = 'Fizzbuzz' print(*arr, sep='\n')
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 11
002 | Fizz
003 | 13
004 | 14
005 | Fizzbuzz
006 | 16
007 | 17
008 | Fizz
009 | 19
010 | Buzz
damn thats also a weird way
!e h$am = "spam"
@rugged root :x: Your 3.12 eval job has completed with return code 1.
001 | File "/home/main.py", line 1
002 | h$am = "spam"
003 | ^
004 | SyntaxError: invalid syntax
!e py a5 = ... 5a = ...
@somber heath :x: Your 3.12 eval job has completed with return code 1.
001 | File "/home/main.py", line 2
002 | 5a = ...
003 | ^
004 | SyntaxError: invalid decimal literal
@muted hare ๐
@uncut crow If you're wondering why you can't talk, check out the #voice-verification channel
That'll tell you what you need to know about the voice gate
damn okay
i came cause i need help on python assigiment
my professor gave me chance to fix my grade and i dont know how to fix it
am i able to send a picture?
okay brb
!e print(0.1 + 0.2)
@rugged root :white_check_mark: Your 3.12 eval job has completed with return code 0.
0.30000000000000004
!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.
Can you toss the code into that pastebin site?
okay just did it
It should change the URL and you just paste that here
how much flea medicine would you have to drink to get blackout drunk?
should i get rid of exif
anyone can do something smart
being a genius just means you do smart things more often
im not sure anymore i got lost in the code
you can do really stupid things more often tho too
exif was for the image for metadata
why do we use Binary as the default instead of something like Ternary
i cant really start from scratch cause its two assignments in one
till Thursday
i tried to use ai to help but it couldnt
that sucksssss
i just did pip install exif and still nothing
yes i have to pip install and stuff
ill send a screenshot
whats ur assignment evven abt
first 1 is assigiment 1
then second
no we just find whatever works
first assigimnet i passed it but the second i messed up bad got a 35
my prog 2 class
Ai
yea i just got lost so i did that
if you cant understand the code, then you can't fix it when it's wrong
yes ill try again myself
i have the first code all good just the second one to add into it im los
lost
the metadata and the api part
yes
yes
okay ill do that
no you arent
ill be back ill do some
i have a database exam then ill brb
worst elective i ever chose
yea
thought it was gonna be easy the way the consoler explained it
if it has the word database in it then its either really boring or really hard
yes i realized like a week in
but i am passing it just faiking my prog class cause that one assignment i failed
We'll get you up to snuff, don't worry
Right!?!
What ๐ญ
And the adaptive triggers.... I thought they'd be a gimmic but they're so nice
And the fact that Returnal made it part of the controls was awesome
Yeah, I wish there was an easy way to changethe sensitivity of them though
Some games are good about it but others less so for sure
I want to be able to easily customise the light colour on it and the sensitivity of the triggers, and the amount of vibration
.xkcd 1172
hey guys
How goes it
hi
@hearty grotto If you're wondering why you can't talk, check out the #voice-verification channel. That'll tell you what you need to know about the voice gate
What is this diagram ๐ญ
going pretty well, got to delete a few hundred lines of code today
what happened to simplicity
Intentionally?
yup, in a good way ๐
Ben Chang
that's who he played in Community
I think Ken Jeong is still licensed
Yeah I think it's Phil
he stopped renewing his license a while ago
Niiiiiiice. That's always a good feeling when you can cut out excess
sigh
someone told me to check theirs out, pyTermTk, it's pretty good but I don't like how much I gotta type out and how messy it can get
or is using a TUI just messy and makes you type too much anyway?
it's messy in general but Python isn't the language for it either
why has rent increased by so much in the past decades?
various reasons
there's plenty of houses aren't there?
All I know is that last time I checked, I'm probably not going to be able to live on my own within the next 6 years or so
If a bank you are paying your Mortgage to goes bankrupt, do you still have to pay it?
Yes
๐
with pathlib I just want to instantiate a path that's relative to the file it's instantiated in, how can I do that?
I have:
dir/
file.py
schema.json
tests/
...
but if were to run pytest it breaks my Path('schema.json') due to current working directory
that would be quite a hack. Rich people would create a bank, have it issue a bunch of loans, send it to bankruptcy and walk away
at least I can say I'm a millionare... in Vietnamese Dong.
yeah like you can't really comprehend what 1 billion of something looks like in your head
any of yall know why we stopped using the gold standard?
insert economic lesson here
i wanna go back to gold standard :(
not if you are American
๐จ that would be hell
The entire country is built upon pieces of paper with green dye on it
And?
if they tried to replace that with gold it'd all come crashing down
sounds like a reason not to do it
nvm this'll do Path(__file__).parent / Path("schema.json")
that's why I said it'd be hell
yall ever think the USA will switch to the Euro???
prob change its name
to the NATO or smth
Why would we?
The EU needs to stop sitting on their ass and actually do things
GDP of United States: 28.78 GDP of European Union: 19.35
GDP of the United North Atlantic States: 48.13
Sure, but Europeans don't want to deal with it.
What Euro states require a visa to visit the United States?
NVM I JUST REALISED I DONT NEED A VISA ๐ค
wait how do i just go and live in the united states
wait, you talking about visiting or residing and working in United States?
do i have to fill out an application to remain there after a certain amount of time
Residing permanently in the USA
We are closed
wha ._.
window = tk.Tk()
window.bind("<Escape>", lambda event: window.quit())
window.attributes('-fullscreen', True)
background = ttk.Label(window, background= 'black',).pack(expand= True, fill= "both")
checkframe = ttk.Frame(window).place(relx= 0.97, rely= 0.05, width= 400, height= 400,anchor= 'ne')
abox= ttk.Checkbutton(checkframe, text='a').pack()
bbox= ttk.Checkbutton(checkframe, text='b').pack()
cbox= ttk.Checkbutton(checkframe, text='c').pack()
dbox= ttk.Checkbutton(checkframe, text='d').pack()
window.mainloop()
What I expected is seeing the checkboxes in upper right corner, but the happening is I see the checkboxes just underside mid of the window
I can live there if I get a job there tho?
This is extremely simplified but mostly correct
๐
can i marry one of my friends in the USA and then divorce them when I get there?
๐
Immigration is hot button issue in United States and in general, the public sentiment is against increased immigration
Why is the first thing I see
๐ญ
Man pulled the oldest trick in the book, the green card trick
It works, right?
...
There is a bunch of laws, ask a US Immigration lawyer. I believe if you are married in United States for certain amount of time, you can remain
YESSS
๐ค
if (steal land from natives): print "we are closed"
Time to get myself a Husband and/or Wife
๐
Wait which lang is that
Patriot++
Didn't say we make any sense
Level of difficulty: impossible
Harder than getting a US citizenship
Well played. Very well played
The fuck? Random sexist comment
Do they have to be American or do they just have to be a permanent citizen?
ask a lawyer, never looked
It was a joke, relax
they cost money
sorry
I'm trying to go the USA to get money
I apologize
not lose it
Please accept my apology
so does immigrating
you saying I should stay poor forever? ๐ญ
Just delete the message and keep in mind we don't want jokes that would make the community less welcoming to people
my bad bro
YESS
there is a bunch of laws around couple having enough money to support themselves and such. I have friends who dealt with this process, it's not cheap. You need a lawyer to get the paperwork underway, visiting immigration. I know it cost money, I never asked details because I didn't care that much.
There was a meme of that sort so I thought it was alright
i've got it in another server, i think its a classic discord slow rollout
immigration is much harder in the UK now also, they've raised expected salaries past the average salary of first year medical staff. not smart when we depend on other countries for our hospitals to run...
immigration has become hot button issue in many countries. It's only going to increase as people age and climate change causes increased migration
not to get too political but we rejected a damn good offer from the EU the other day about free movement :(
who is we?
๐ฌ๐ง
for some people it was about movement yeah, though the bigger talking point was all about our money being sent off to be spent by pesky europeans that we didn't vote into power
@heavy sundial Would you mind changing your nickname to fit our policy? Specifically not having blank characters in this case. See the #rules channel for more detail on that
and of course the bus
๐
Belive the bus
yeah, asserts aren't really intended to be relied-upon behaviour (they can disappear with the right compilation flags!), they're more just sanity checks for use while debugging
assert is used to make your tests pass CI: assert True
the logic goes is that if you've written good tests, and all of your tests pass without any assertion errors being raised, then it should be safe to remove those assertions from the code for a bit of performance
I think there's a Python flag to strip out the asserts
py -O
--production /jk
TIL that there's also a __debug__ global constant
cpython can even optimise in/out if __debug__ conditions ๐คฏ
!e ```py
def foo():
if debug:
print("hiiiii")
import dis
dis.dis(foo)
@surreal hedge :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 1 0 RESUME 0
002 |
003 | 2 2 NOP
004 |
005 | 3 4 LOAD_GLOBAL 1 (NULL + print)
006 | 14 LOAD_CONST 1 ('hiiiii')
007 | 16 CALL 1
008 | 24 POP_TOP
009 | 26 RETURN_CONST 0 (None)
I think the else would get optimised in/out too
@whole bear We were hearing whatever you were watching in the background and I think you were AFK so I scooted you down there
@rugged root Thanks!
!e ```py
def foo():
if debug:
print("hiiiii")
else:
print("Goodbye, cruel world...")
import dis
dis.dis(foo)
@surreal hedge :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 1 0 RESUME 0
002 |
003 | 2 2 NOP
004 |
005 | 3 4 LOAD_GLOBAL 1 (NULL + print)
006 | 14 LOAD_CONST 1 ('hiiiii')
007 | 16 CALL 1
008 | 24 POP_TOP
009 | 26 RETURN_CONST 0 (None)
the entire else branch is statically known to be unreachable, so it just gets yeeted
#bot-commands message
seems to work essentially just as expected
if a condition is always True, all branches after that disappear
if a condition is always False, that branch disappears, but the later branches still exist
iirc there is also constant folding, if you write x = 5 + 6 for example, it actually avoids that calculation and just loads a constant 11
i wonder if i++++ works in C or js
neon green should be the default obvs
oh I thought you meant skin colour ๐ญ
Neon Yellow
Like this colour
is there a super simple explanation as to how Modulo works
like "explain it to me like I just had a lobotomy"
mhm
wait fr?
It's just that simple
Thank you so much
I thought it was complicated
divmod my beloved
I didn't see starting point is 0 not 1.
dw tho, i tend to overlook things also ๐ญ
wait a minute, what programming language/s that has โ1โ as a starting pointer?
You set it yourself.
Wait VMWare subscriptions now??
i only masster python :3
So?
for i in range(1, 6):
...
import os
folder_path = '/path/to/folder'
# Get all the file names and subfolders within the folder
file_names = os.listdir(folder_path)
# Iterate over the file names and subfolders
for file_name in file_names:
# Create the full file path by joining the folder path and the file name
file_path = os.path.join(folder_path, file_name)
# Check if the file path is a file or a directory
if os.path.isfile(file_path):
# If it's a file, delete it
os.remove(file_path)
else:
# If it's a directory, delete it recursively
os.rmdir(file_path)
You can define it yourself, it's not a limitation.
very helpful, i appreciate it ๐
yes, catch up
You're not the nicest person
This has been MASSIVE news
r u still a minor?
What?
Sorry I've seen NO news about it till now
yeah but why are you asking?
17 then?
Why are you trying to guess my age ๐ญ
Im not gonna tell you if you're right or wrong
Let's not creepily try to guess someone's age, please
If they don't want to say, don't push it
I always expect everyone to be 18+ in vc just to be safe of any wordings and whatnot. My bad if i made you or anyone uncomfortable.
say less ๐ฃ๏ธ๐ฅ
dw dw ๐
I don't get the whole deal with cheese tbh
I give myself the title of Python Master, what pl do u usually use?
... im sorry but I have no clue what that means
Oh i normally use Lua
No I'm just stupid
I'm not very good at Lua but I got bored 2 days ago and decided to use python instead
Both are good and have their place for sure
^
Python seems much more accessible and has much more use than Lua
yokosuka naval base
In terms of library? Yes, python is still developing.
does the entire universe run as a Roblox simulation?

people always talking about it, it's like a Matrix mystery
ask the Creator
It possibly could
i've seen python being used as an embedded lang like lua before (bespokesynth uses it)
Although I'm not sure the universe runs on Luau
Luau logo or Lua logo?
Which is better?
although we can provide theories, i dont advice anyone to suggest such because we are very powerless and microscopic in scale compared to other bodies or segment of the universe
If we're in an experiment simulation, do you think we're in the control group or not?
shoutouts to the short period in time when scotland had pubs/bars that you had to drive to, and would refuse to serve people who walked there
What ๐ญ
this implies a lot of things and is unstable for theories, again, i do not advice to suggest anything.
yeah but just for fun, what do you think
Scotland is honestly the best country in Europe
whos taht
Steve
Is that a Spore reference?
Nah, just seemed like a good name to pick
it was so people travelling through an area could rest and have a drink, but local residents weren't allowed to walk up and get sloshed
but thats the whole point of pubs ๐ญ
this server does not talk about such except python?
Huh, I didn't know that.
although, u can push me
only good ones tho
what is your definition of โallโ used in that statement?
VC and the accompanying chats are more general chat. I've been working on Rust lately, ACE was just working on C
All as in a multitude of things
likeโฆ.
Not necessarily every possible topic
then not all?
Economics, video games, science, fun facts, etc
Politics occasionally. If anything gets too heated we try to shut it down as quickly as possible and shift topics to make sure it's a comfortable place for folks
Oh that reminds me, Scotland's Prime Minister Resigned yesterday!
give me a go?
@rugged root https://minesweeper.online/game/3312480386
I don't know what you mean
no flags
how long until you got this?
still trying to get <90s
i meant how long before u got it?
Do all Huskies have blue eyes?
@vocal basin
I've been playing for three years
@upper basin so we are still pulling all nighters? ๐ญ
would you use a lab pipette to get an accurate volume of liquid or no?
Why didn't Africans on Zebra conquer the world? Why don't we have war bears?
Part 1: https://www.youtube.com/watch?v=JEYh5WACqEk
Website: http://www.cgpgrey.com/
War Bears image by: Filip Dudek http://5ofnovember.deviantart.com/gal...
Special Thanks:
Wenhao Nie, dedla , Thomas J Miller Jr MD, PervertedThomas, Daniel Slater, Saki Comandao, ...
os.system("")
a classic
to whoever was asking about colours
if it's on Windows
if it doesn't work even with terminal emulation on
who was asking?
are humans automatically considered domesticated?
cant really say anything about it, id rather take a look at everything myself in the past (if thats possible)
Allow my voice chat
Check the #voice-verification channel for more details about the voice gate
3 ten-minute blocks. What are blocks?
Do you think there should be more games like Detroit: Become Human?
Yeah, Heavy Rain
The Dark Pictures?
I love their games
Like a half hour conversation
I wish those games jut had more actual gameplay
If you say something, from that point until 10 minutes is up is a 10 minute block
How do you check how long a block is?
You can see how many you've got by doing the !user command in #bot-commands
3 of them seems really easy to get
But sir I do not have the permission to speak in the first place.
would be great but repetitive or similar games tends to fall together. make unique games everyday ๐ซก
how to check this?
Does that mean I have already started a block here? ( I'm trying to figure this out sorry)
Correct
Thank you
how do people even know how to dance?
if people think about me less than I think they do, does that make me weird for thinking about other people a lot?
@rugged tundra from their point of view you could jus tbe really weird and stalkerish to them ๐ญ
@rugged tundra she's a sleeper agent for the KGB
she's gonna kill you
Why are talking about the complex social interaction and relationship like we are professionals lol
honestly just speak to her
More just trying to break out the logic
have u ever done clubbing?
Is that specifically relevant in this one?
whats the most paranoid thing you've every done/thought?
As math and our minds both become more sophisticated, we can use strategies like probability to fill gaps in the unknown. Thatโs particularly useful in a court of law, where we almost never have all the facts we need. But what happens when bad math makes an uncertain situation even worse? In this case, people go to prison. And all it took was th...
ive never done it, im asking for inspirations
this is relevant here
The whole VC is talking about ONE PARTICULAR GIRL whom name is unknown (i only want to know her first name)
The chance of being kidnapped twice is lower than the chance of being kidnapped once
Can we assign this person a made up name pls
Yes, because I'm concerned about my friend
I've known Focus for a few years at this point
It is confusing me with them being referred to as "This girl"
let unk girl be โEagleโ
maybe if focus is chasing only and not her, maybe its time to 
relax
dont chase her no more
He wasn't in the first place
wait
he thinks the girl is stalking him
then why are we talking about her?
Coincidinces occur ๐ญ
But yeah
Confront them then if you dont think they're gonna kill you
@rugged tundra is there any problem on confronting her? and also where is this if that is a possible concern?
I think you're just scaring yourself even more
It's alright to be a bit weirded out when you see a person multiple times like and it feels strange, but you're just making yourself more scared
what would u do? @low stump
I'd try and confirm it before I do anything yk
Like if it's a complete coincidence I dont wanna accuse someone of stalking
but if it almost definitely is then call the cops
@rugged tundra next time u see them ask them why shes crazy
Why can't you go up to her and tell her that she's creeping you out?
is it bad to wish whats happening to Focus to happen to me also?
@rugged root what were the signs that she is a threat?
if staying in the same gym makes u uncomfortable then yeah 100% swap gyms
or build HOME GYM
no
Home Gyms are ๐
The gym environment is built different
It just feels different
at least its โจPRIVATEโจ
how are HOAs even legal?
Privacy is the new luxury if thats what Focus wants
@rugged tundra maybe she just likes you ๐ญ
pre covid prices for gym stuff made home gyms worth it
but its ridiculously priced now
I hate staying at home
HOAs are legal because redlining isn't
less likely
the commies are trying to kill us all
The boys are talking about their feelings about this โstalkerโ girl ๐ฃ๏ธ๐ฅ๐ฅ๐ฅ๐ฅ
Oh I thought you meant stalker as in someone who enters a zone of alienation to retrieve artifacts
๐ญ
u play that game too much
no someone who is a creep
๐ญ
Game? I am referring to the novel Roadside Picnic
Bear spray is surprisingly effective as a deterrent for that
maybe he can have some female friends and have them go and explain to this girl he is not comfortable
Arsenic kills, bear spray causes suffering. Pain is far more effective a teacher than death.
@rugged tundra Do a cop out and switch to another gym
if they start going to the one you told them about, that confirms it
im gonna stop focusing on โFocusโsโ feelings because thereโs only one way to find out. You guys have been giving HIm sound advices. He shall execute them now.
I dunno, Nukes are a pretty strong deterrant
Also do what I do for gyms: ain't no gym like the outdoors.
Far less likely to run into creeps if you get on a kayak and head up a river and back
Oh god I want a Kayak
how expensive are they
nvm way too expensive
There are decent inflatable ones on Amazon for $300
I cant afford that
Inflatable?
Wouldn't it just pop
I want a proper Sea Kayak
Then start saving money and give up avocado toast for a while
-CNBC every three weeks
I cant even afford the toast ๐ญ
never do budget ships or submarines
Avocados are $0.88 each, where tf are you getting your avocados?
Where the hell are oyu getting them for only $0.88?
The local supermarket
Actually this week they're $0.66
brb
lucky
Just go to Hannaford.
yeah I'll just fly halfway around the world to go to a supermarket
CNBC more like CNBA
because americans watch NBA
and I dont
๐
(worst joke ever ๐)
CNBC is the "you should've bought property in 2008 when you were 16, stupid millennials" network lol
Doing my workout: biking to the dispensary.
my favorite place.
??? ๐ญ
the telegraph ๐
"square => right angle => right-wing"
ahem ..
Wait, are you coloring logs?
yo
Wait, you guys have logs? Jealous af.
Hi @supple pewter ๐
Good thanks, how about you?
@wind raptor I am good. Thanks for asking! I have 2 questions.
What are they?
Why can't I stream in Code/Help and Live-Coding?
There is no permission to stream.
Streaming permissions are given out as needed and temporarily.
Ah, okay.
What was the second question?
I messaged you
bbl
oh ok cool
ok but how do I code getting a boyfriend
something like that ?
smtp
Slavoj ลฝiลพek
to answer your question @cedar mason this is who i thought of when u said good president ๐
Mohandas Karamchand Gandhi (ISO: Mลhanadฤsa Karamacaแนda Gฤแนdhฤซ; 2 October 1869 โ 30 January 1948) was an Indian lawyer, anti-colonial nationalist and political ethicist who employed nonviolent resistance to lead the successful campaign for India's independence from British rule. He inspired movements for civil rights and freedom across the world...
Nelson Rolihlahla Mandela ( man-DEH-lษ; Xhosa: [xolรญษฌaษฌa mandษฬหla]; born Rolihlahla Mandela; 18 July 1918 โ 5 December 2013) was a South African anti-apartheid activist, politician, and statesman who served as the first president of South Africa from 1994 to 1999. He was the country's first black head of state and the first elected in a fully r...
Everyone knows the peace-loving prophet who stood for kindness and love to all, Gandhi, but did this holy man actually practice what he preached? Check out today's new video that exposes a dark side to Gandhi that will leave you shocked!
๐ SUBSCRIBE TO THE INFOGRAPHICS SHOW โบ https://www.youtube.com/c/theinfographicsshowOFFICIAL?sub_confirmatio...
Nelson Mandela is heralded as one of the most important and impactful political leaders of the 20th century. But what is missing from the conversation is his actual legacy and the decisions he made in 1960 that still reverberate throughout South Africa today.
In this episode, we argue that the progress South Africa thinks it has achieved since...
Scientology is a set of beliefs and practices invented by the American author L. Ron Hubbard, and an associated movement. It is variously defined as a cult, a business, a religion, a scam, or a new religious movement. Hubbard initially developed a set of ideas that he called Dianetics, which he represented as a form of therapy. An organization...
My grand pa said "Never trust one books mans!"
run:
python mypackage/main.py
install:
pip install -r requirements.txt
build:
python setup.py build bdist_wheel
clean:
if exists "./build" rd /s /q build
if exists "./dist" rd /s /q dist
if exists "./makefile.egg-info" rd /s /q makefile.egg-info
make : The term 'make' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
'
python mypackage/main.py
install:
pip install -r requirements.txt
build:
python setup.py build bdist_wheel
clean:
if exists "./build" rd /s /q build
if exists "./dist" rd /s /q dist
if exists "./makefile.egg-info" rd /s /q makefile.egg-info```
make
.egg
run:
python mypackage/main.py
install:
pip install -r requirements.txt
build:
python setup.py build bdist_wheel
clean:
if exists "./build" rd /s /q build
if exists "./dist" rd /s /q dist
if exists "./makefile.egg-info" rd /s /q makefile.egg-info```
if True:
print("egg")```
An esoteric programming language (sometimes shortened to esolang) is a programming language designed to test the boundaries of computer programming language design, as a proof of concept, as software art, as a hacking interface to another language (particularly functional programming or procedural programming languages), or as a joke. The use of...
CAN HAS STDIO?
PLZ OPEN FILE "LOLCATS.TXT"?
AWSUM THX
VISIBLE FILE
O NOES
INVISIBLE "ERROR!"
KTHXBYE```
Practical data skills you can apply immediately: that's what you'll learn in these no-cost courses. They're the fastest (and most fun) way to become a data scientist or improve your current skills.
๐ฅ Schedule your free video chat โ https://moneypickle.com/jaketran
๐ต Watch Arvidโs video now! https://youtu.be/03fw0Diccos
๐ป Learn exactly how I landed my $40/hr work-from-home job ($83k/yr) at 19 years old WITHOUT a degree or experience โ Click here โก๏ธ https://www.evil.university/remote
๐ณ Learn the ONE SECRET that has made every giant corpo...
:incoming_envelope: :ok_hand: applied timeout to @whole bear until <t:1714529082:f> (10 minutes) (reason: burst spam - sent 8 messages).
The <@&831776746206265384> have been alerted for review.
It says I have less than 50 messages
Web Log Analyzer Project
I need help The objective is to create a web application (using Flask) for analyzing logs from Internet services, particularly web and authentication.
To get inspiration, check out an online demo of an open-source web server log analysis application:
https://rt.goaccess.io/?20240416184251
In the sidebar, you'll find (web, security, and logout).
By default, the displayed dashboard shows web logs (see the shared link).
The requested services include:
UNIQUE VISITORS PER DAY - INCLUDING SPIDERS
OVERALL ANALYZED REQUESTS
REQUESTED FILES (URLS)
STATIC REQUESTS
NOT FOUND URLS
VISITOR HOSTNAMES AND IPS
GEO LOCATION
HTTP STATUS CODES
OPERATING SYSTEMS
BROWSERS
Please note that each log file has its own format (see attachments). You need to model the appropriate database (MySQL or MongoDB), extract the data, load it into the database, and then create dashboards.
Once the application is tested, it should be deployed as a service in Multipass. The application's logs should be configured to be redirected to rsyslog, adopting a rotation management strategy.
yesssssss
Web Log Analyzer
@shrewd linden Are you able to hear us talking?
This is an end-of-year project for which we are provided with tar files. I have started working on the system log parted
sorry i speak just french and arabic
Do you have a github of current project?
that is a 404 it must be set to private
your web analyzer is set to private
can't access
you need the repo to be public for me to see it
@patent socket๐
@whole bear ๐
@tawny cradle ๐
what are your thoughts on caffeine? @somber heath
i often switch between taking it and taking time off, it does help with productivity
ive tried theobromine, and it didnt do much for me @somber heath
its very similar to caffeine structarlly @somber heath
how long have you been coding for? @somber heath ?
is javascript similar to python? @somber heath
ive only used python for basic algorithms so far @somber heath
i havent used it in the context of actually producing something of substance yet ๐ฆ
im about 8 hours into cs50's intro to python
Hello Guys!!
hi @noble solstice
@somber heath Have u heard that news google layoff entire python team
Nowdays getting a tech job is fuckking difficult as a fresher
seems small startups are still hiring
opalmist ur job work?
ai is a tool that i fewel like allows for more experienced coders to do more work
feel
correct
it elimanates entry level jobs
every senior dev is junior once upon a time
@mild igloo ๐
I think i need to move ur country for getting a job opalmist
ive heard that tax laws, and higher intrest rates causing lower amounts of money being invisted into r&d is also causing less jobs
like farmers
less farmers but they are still around
what ur company size @somber heath How many members in ur company how ur company hires fresher or intern ?
deeznuts
@timid wing ๐
thats a cool name
hi
okay @somber heath a rough idea? of hiring?questions?
young people cant be trusted
Okay Anyone?
i work at walmart
Im sorry
Great!
I live in Asia
i love big corporations
no walmart here
ur nuts is expired that's why
they take care of us!
Asia is too big
it certainly is
so @somber heath do you do coding and stuff
!code
@whole bear ๐
class MyClass:
pass```
class MyClass:
pass
instance = MyClass()```
!e ```py
class MyClass:
def init(self):
print('Hello, world.')
instance = MyClass()```
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
Hello, world.
!e ```py
class MyClass:
def init(self, obj):
print(obj)
instance = MyClass('Hello, world.')```
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
Hello, world.
def get_int
get_int = input("enter int")
get_int = (int)
get_int()
def fib
if (int) = 1
print('1')
elif (int) = 2
print('2')
print("Hello World")
I am now a programmer
is that the proper way to call get_int and rename it to int
!e ```py
class Person:
def init(self, name):
self.name = name
def greet(self):
print(f'Hello, I am {self.name}.')
peter = Person('Peter')
sally = Person('Sally')
peter.greet()
sally.greet()```
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | Hello, I am Peter.
002 | Hello, I am Sally.
okay
ah ๐ฆ
understood @somber heath
i use vscode and rely heavily on the auto indentation @somber heath
ill open vscode and fool around and just copy and paste
really
tabs seems so much more convinentnt
@somber heath any good recommendations for problem sets
!e ```py
def func():
print('Hello, world.')
func()
func()
func()```
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | Hello, world.
002 | Hello, world.
003 | Hello, world.
you called it 3 times
!e ```py
def func(obj):
print(obj)
func('Hello.')
func('Goodbye.')
func('Hello, again.')```
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | Hello.
002 | Goodbye.
003 | Hello, again.
def func()
print('Hello world!')
func() *3
@somber heath :x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 1, in <module>
003 | None * 3
004 | ~~~~~^~~
005 | TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'
!e ```py
def func():
pass
print(func())```
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
None
!e ```py
def func():
return 'Hello, world.'
print(func())```
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
Hello, world.
!e py a = print('abc') print(a)
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | abc
002 | None
[] = "hi, hey"
print(f[])
!e py print('TeXT'.upper())
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
TEXT
code
code
!e```py
print('Hello world!'.lower())
@tawny cradle :white_check_mark: Your 3.12 eval job has completed with return code 0.
hello world!
!e py my_list = [] print(my_list) my_list.append(1) print(my_list) my_list.append('abc') print(my_list) my_list.append(int) print(my_list)
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | []
002 | [1]
003 | [1, 'abc']
004 | [1, 'abc', <class 'int'>]
@tawny cradle :white_check_mark: Your 3.12 eval job has completed with return code 0.
{1, 2}
!e py print(dir(dict))
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
['__class__', '__class_getitem__', '__contains__', '__delattr__', '__delitem__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__ior__', '__iter__', '__le__', '__len__', '__lt__', '__ne__', '__new__', '__or__', '__reduce__', '__reduce_ex__', '__repr__', '__reversed__', '__ror__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', 'clear', 'copy', 'fromkeys', 'get', 'items', 'keys', 'pop', 'popitem', 'setdefault', 'update', 'values']
!e py print(dir(set))
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
['__and__', '__class__', '__class_getitem__', '__contains__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__iand__', '__init__', '__init_subclass__', '__ior__', '__isub__', '__iter__', '__ixor__', '__le__', '__len__', '__lt__', '__ne__', '__new__', '__or__', '__rand__', '__reduce__', '__reduce_ex__', '__repr__', '__ror__', '__rsub__', '__rxor__', '__setattr__', '__sizeof__', '__str__', '__sub__', '__subclasshook__', '__xor__', 'add', 'clear', 'copy', 'difference', 'difference_update', 'discard', 'intersection', 'intersection_update', 'isdisjoint', 'issubset', 'issuperset', 'pop', 'remove', 'symmetric_difference', 'symmetric_difference_update', 'union', 'update']
!e```py
set = {1,2,3,4}
print(set)
@tawny cradle :white_check_mark: Your 3.12 eval job has completed with return code 0.
{1, 2, 3, 4}
!e```py
str = 'cat'
print(str.length())
@tawny cradle :x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 2, in <module>
003 | print(str.length())
004 | ^^^^^^^^^^
005 | AttributeError: 'str' object has no attribute 'length'
!e py print('A') print = ... print('B')
@somber heath :x: Your 3.12 eval job has completed with return code 1.
001 | A
002 | Traceback (most recent call last):
003 | File "/home/main.py", line 3, in <module>
004 | print('B')
005 | TypeError: 'ellipsis' object is not callable
@tawny cradle :x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 1, in <module>
003 | set = {dict1,dict2}
004 | ^^^^^
005 | NameError: name 'dict1' is not defined. Did you mean: 'dict'?
should i define dict1, and dict 2 before putting them in the set
or do they require quoutes @somber heath
ohhh
ok ok
ok
no duplicates @somber heath
ina set
ah, not a list @somber heath
what is hashabvle? @somber heath
@somber heath can i get permission to stream?
!e ```py
input("what is x?")
@tawny cradle :x: Your 3.12 eval job has completed with return code 1.
:warning: Note: input is not supported by the bot :warning:
001 | what is x?Traceback (most recent call last):
002 | File "/home/main.py", line 1, in <module>
003 | input("what is x?")
004 | EOFError: EOF when reading a line
ok
ok
i have an error want to fix it
yes
need to modify css
ok
@somber heath bye
!e
print("hello world!")
@lucid trail :white_check_mark: Your 3.12 eval job has completed with return code 0.
hello world!
!e
dict1 = {1:2}
dict2 = {3:4}
set = {dict1,dict2}
print(set)
@lucid trail :x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 3, in <module>
003 | set = {dict1,dict2}
004 | ^^^^^^^^^^^^^
005 | TypeError: unhashable type: 'dict'
Hi friend)
Patient admission system
General admission hours for patients can be scheduled in 1-hour increments every weekday from 10:00AM to 5:00PM
If there is another patient assigned to the doctor at the same time in the reception system, the system should report this
When the program is started, all patient admission data set prior to that day's date must be deleted. For example, when the application is launched on April 25, all old appointment data by date should be deleted from the hospital.json file
I couldn't do this ๐ฆ
I saw many topics
I guess yah.
thanks!
What do you use?
custom windows10
Nice
I recently started using linux
Ubuntu
I feel like shit
after 2 years , same feeling
I am a regular windows user๐ญ
Damnnn
2 years and you still feel the same
God save me
I rewrote part of the network connection policy, and tried to cut out microsoft services, otherwise almost indistinguishable from a simple OS
when i'm working with it , my ADHD just hang me .
my friend downloaded ubuntu,and now he use him phone
He said he would put the old system back on
Here I am,who don't even know how to use linux and why.
๐ญ
I recently joined my uni and i had no idea about tech.
learning and using linux is the easiest think i just saw.to like it and to match yourself with it is hard.
Yah
I got a website from where i am learning fundamentals of linux
Basic commands and sh!t
that's nice.
one person said that after you got used to Linux, you no longer want to switch back to Windows
Yah man
trying to understand it. at the end = Mission Failed.
he said MIT OCW (open course weaver) or something like that. @supple pewter
you can find that in google
@whole bear thanks!
it's a free course from MIT
no worries ma guy
University?
MIT
you will find everything about it on google
I can learn from someone as well
Someone teaches me in Azerbaijan
I paid 300 manats
because of english or some different reason?
but
My English is not good
I think
you can find some tutorials in your language on youtube too.
hope you will get it
no?
English is no reason
then it seems like a big problem.
There are practically no normal guides in Azerbaijani on the web
A country with too small a population is not enough of that and the material is not enough
sorry my english too bad
I can make a lot of textual mistakes.
same bro.
i do make lot of mistakes while chatting and speaking.
just trying to improve.
Personally, I don't notice them anyway.
you will see them if i try to use upper beginner vocabulary words.
while chatting
@upper basin
or speaking
patient: Patient
I can't understand this
data: str
:
def __init__(self,username,password)```
My Python programming teacher taught me like this
@rugged root have u ever worked on login user interface before? cuz i think you know ur stuff
the traffic light has proclaimed it to be a warm day
red is 10 celsius which is cold for such color?
