#voice-chat-text-0
1 messages · Page 131 of 1
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
ou must meet all of the following criteria before you can speak in voice channels:
• Have over 50 messages in the server.
- Messages that have been deleted do not count towards your message count.
- Messages sent in either bot-commands or sir-lancebot-playground do not count towards your total.
• Have joined the community over 3 days ago.
• Have been active for over 3 ten-minute blocks. This means you need to have sent your messages over a span of at least 30 minutes.
• Send the !voiceverify command in this channel to either see which criteria you need to fulfil or get verified.
dont curse
My bad
EDIT: November 2020 wow this really blew up over the years. I have made a direct download available here https://freesound.org/people/wtermini/sounds/546450/ enjoy
Also back in 2012 a wonderful poster was made by Oona Räisänen http://www.windytan.com/2012/11/the-sound-of-dialup-pictured.html
I was bored so I wanted t...
not you
oh ok
spoooky
@turbid sandal what leercode problem is that?
!d enumerate
enumerate(iterable, start=0)```
Return an enumerate object. *iterable* must be a sequence, an [iterator](https://docs.python.org/3/glossary.html#term-iterator), or some other object which supports iteration. The [`__next__()`](https://docs.python.org/3/library/stdtypes.html#iterator.__next__ "iterator.__next__") method of the iterator returned by [`enumerate()`](https://docs.python.org/3/library/functions.html#enumerate "enumerate") returns a tuple containing a count (from *start* which defaults to 0) and the values obtained from iterating over *iterable*.
```py
>>> seasons = ['Spring', 'Summer', 'Fall', 'Winter']
>>> list(enumerate(seasons))
[(0, 'Spring'), (1, 'Summer'), (2, 'Fall'), (3, 'Winter')]
>>> list(enumerate(seasons, start=1))
[(1, 'Spring'), (2, 'Summer'), (3, 'Fall'), (4, 'Winter')]
``` Equivalent to...
@turbid sandal use hashtable
would suggest that too
definitely an option
I come up with solution using just an array, but time complexity was not good
me too
never bothered to learn what a hastable is
hehe
@whole bear Thou hath abandonded me
))
Metaphors:
!d itertools.combinations
itertools.combinations(iterable, r)```
Return *r* length subsequences of elements from the input *iterable*.
The combination tuples are emitted in lexicographic ordering according to the order of the input *iterable*. So, if the input *iterable* is sorted, the output tuples will be produced in sorted order.
Elements are treated as unique based on their position, not on their value. So if the input elements are unique, there will be no repeated values in each combination.
Roughly equivalent to:
who was asking for mod, he is in the voice chat
You can't prove that
I am simply a figment of your imaginations
I'm also currently eating McDonald's
I fell happy for you
but at the same time im not
I disagree
I did cs50 with 0 previous experience
by 0 exp, do you mean, you had no exp in programming at all?
I think it bugs me that it language jumps
I think the language jump is a good thing but you can argue about that
well, may be you are one of the exceptional person
Or is everyone fine with it
!e py print(repr(' abc '.strip()))
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
'abc'
!e py print(repr(' abc '.rstrip()))
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
' abc'
he is struggling with leetcode problem, thats why I assume first doing leetcode will better
!e py print(repr(' abc '.lstrip()))
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
'abc '
!e py print(repr(' ab cd '.strip()))
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
'ab cd'
@turbid sandal
Eh..... better to get a solid baseline first
he is struggling with it because he doesn't know the data structures he's trying to manipulate
repr returns a string "representation" of a string.
at least in part
do you need a solid basis for cs50
Oh no a bug
!e
print(' ab cd '.strip())
print(repr(' ab cd '.strip()))
@tepid edge :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | ab cd
002 | 'ab cd'
!e py print('caabaabaac'.strip('ac'))
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
baab
People with white mode dont fall for this
ez
Although I think too easy can be just as discouraging as too hard sometimes.
uff
I'm on dark mode
and you hit the monitor?
It was apparent. They didn't do the transparency right
They do also have a separate supplementary course for Python.
I assume with the C, they teach just enough of the language to get across the ideas.
No accually thats a not well known phenomen.. Flys can in fact move without using their legs
Pretty much yep 😄
can a fly jump?
AHAHHAHA
it may be perspective
I.... I think so
Flies are not capable of jumping in the way that some other insects, such as fleas or grasshoppers, can. Instead, they use their wings to fly and their legs to walk, climb, and cling to surfaces.
Flies are able to perform quick and agile movements in the air and on surfaces, but they do not have the muscular strength or anatomical adaptations to execute a true jump. Instead, they rely on their ability to move quickly and change direction rapidly to evade predators and capture prey.
Thank you ChatGPT
😉
green friend
In germany we cann him Kai (its a human name and also KI is the equivalent to Artificial/künstlich Intelligence/Intelligenz )
as I know, in go if you create var and you dont use it or do anything with it, it will through an error
@turbid sandal If you step through this short program, you can see that the object disappears when the last reference to it is deleted. The garbage collector is the part of Python that detects that an object is no longer reachable and deletes it: https://pythontutor.com/visualize.html#code=a %3D object() b %3D a del a del b&cumulative=false&curInstr=0&heapPrimitives=nevernest&mode=display&origin=opt-frontend.js&py=3&rawInputLstJSON=[]&textReferences=false
I don't use chrome but yeah they don't work 100%
Without a garbage collector, un-needed objects wouldn't get deleted. They would accumulate taking up more and more memory (which is called a memory leak).
also dead link for me
Well not really lol
btw, brave blocks all ads in youtube
If the adds aren't making money, then the site isn't financially viable, and the people who produce the content aren't making money either.
And Youtube does actually happen to have a paid add-free option.
My 50. message yay
ok, I need to wait 2 days more
yeah
Once
Erm, once 
LOL
maybe

If unicorns could program, would they use unicode?
GUI.tar.gz
I use debian and know 5 terminal commands
congrats
ye
One person can be identified in different ways: (passport ID, social security number, etc)
A person may make any number of applications: (one to many relationship)
Any application may be re-submitted for re-evaluation: (one to many relationship)
And etc. w/documents per evaluation....
So, my big question is, given the below DB Schema, where we generate UUIDs for each person, application, evaluation, document (read: unique IDs internal to our team), how do we do the same in a sane way for the person? Does the suggested implementation look OK?
Considering we might get social security number, passport number, or some other way of identifying the person.
This will be a very "hot" part of the DB, with lots of queries/look-ups.
However, this is also the one that's most difficult to design w/100% certainty ahead of time.
NB: I've not sanity-checked this SQL at all, all hand-written
-- snipped extraneous tables, not relevant for question wrt. a persons potentially multiple ways of getting identified
CREATE TABLE application (
id UUID NOT NULL UNIQUE,
personId UUID NOT NULL REFERENCES person(id),
receivedTime timestamptz NOT NULL,
body jsonb,
PRIMARY KEY (id, personId) -- optimize lookups on person
);
CREATE TABLE person (
id UUID NOT NULL,
identity UUID NOT NULL REFERENCES identity(id),
UNIQUE (id, identity)
);
CREATE TABLE identity (
id UUID NOT NULL UNIQUE PRIMARY KEY,
value TEXT NOT NULL,
type TEXT NOT NULL,
UNIQUE (value, type)
);
How did you all get into programming
Boredom
everyone i know cus of their parents
Curiosity
impressive
Here's a 2nd one @turbid sandal https://www.youtube.com/watch?v=wrb7Gge9yoE
One of the most important milestones for a developer is pushing code to Github for the first time. In this video, Maggie helps you get there! Github allows you to have version control, so you can save and edit work individually or collaboratively and see retain previous versions of the same product. In some ways, it's like the coding equivalent ...
)))
That's also just as well
@rapid flame Not Rust, but the concepts are more important than the implementation language: https://craftinginterpreters.com/
This book is more of a general overview of data-engineering and distributed systems concepts and technologies.
was just saying i bought the physical copy
Ah right. It's an alright book. I have a copy.
But it doesn't have anything about Python specifically, I think.
select p.id from person as p, identity as i, where i.text = 'input string' and i.id = p.identity
Actually, I know a book...
@stuck furnace i could share my screen?
What do you want to stream?
One sec while I deal with something else.
okay
@rapid flame Not sure this is exactly what you want: http://www.composingprograms.com/
!stream 691761388363841588
✅ @jolly terrace can now stream until <t:1683923026:f>.
I think it's a reasonable question though. There aren't many good free resources out there that go into detail about thinkgs like concurrency and parallelism in Python.
At least not that I know of.
There are some books listed here: https://wiki.python.org/moin/PythonBooks
Actually the book I linked to earlier is inspired by this book.
This one.
oh, got access to Mojo playground
My office chair keeps slowly deflating ;-;
do you have an inflatable chair?
the height piston?
✅ @tepid edge can now stream until <t:1683925596:f>.
# my file
# my imports
# any functions/classes/globals
if __file__ == '__main__':
# Any code that's _not_ supposed to run when the file (or it's contents - eg. functions/classes/globals) get imported
@turbid sandal
free(p) because you want to free the pointer itself: p is the pointer; *p is the value the pointer points to.
I got in trouble yesterday caus my mom caught me doing leetcode in bed at 3 am
¯_(ツ)_/¯
Erm, half watching
My computer is struggling to play the stream sorry 
What's the issue?
Erm, try ctrl-Z
jobs?
One of the processes is running as a job in the background.
Ah yeah, fg will also work.
I'm not sure I understand what you're saying x10 
& serves the same role as ;, in addition to creating a background job.
I think that's wrong @warm jackal @tepid edge
A list is a sequence of one or more pipelines separated by one of the operators
;,&,&&, or||, and optionally terminated by one of;,&, or a newline.
Lists (Bash Reference Manual)
¯_(ツ)_/¯
Bash is a weird language 😄
Not me sorry
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Read the message in #voice-verification
Ah well
these people of first world making small probles in big problems
🤣
i answer you
i send messege the 3 of you that have mics open
xddddddddd
men
thank you for helping me
really
im greatfull
but
just keep going
with your things you need to do
brb
thanks
@tepid edge I think he cannot hear you
https://discord.com/channels/267624335836053506/764802555427029012
Oh you're doing the three easy pieces book moritz?
Nice
Yeah seems sensible
My DMs are off
¯_(ツ)_/¯
just you
Nah I think that's a good book
you don't wanna know things I got sent
there really is nothing to it, perhaps you were the most approachable
are you supremely socially anxious? whats the big deal
Yeah don't let perfect be the enemy of good enough 😄
lack of profile picture and roles
yet you still had what I sought
well thats probably just luck or people mass dming
this discussion still doesn't answer my question, which I want to supplement with another: what's the inspiration behind the name "gofek"
they were streaming
and opal had a pfp
you were the only natural choice
a pfp is a form of self-expression, a 2d manifestation of one's self identity, or online persona. those who intentionally leave theirs blank must understand the implications of mystery which at the time I must have found admirable. I couldnt message anyone else with my question not only given their profile's unique disposition, or if they were currently occupied with another task on stream. you, however, were just sitting there available for me contact. Id assumed everyone would have an air of importance and not even respond to me even given the few moments such a query would ask for.
x10and14 was not in the vc at the time
I go into this more in my paper titled "Blank PFPs and their status in the social media ecosystem"
I can't lie to you, we may just have been fated to interact. These notions of perceived importance and occupation in the context of the voice chat may mean nothing, and are just conjured up after the fact. The fact of the matter is an intangible force may have been guiding us together, to meet in the first place. Why did you even join the vc? Despite having voice perms you aren't talking, so your answer to the question may be akin to the answer of why I dmed you of all people. Humans typically are unaware of the many things that go into decisions we make, so even the high-level reasons I supplied on why I dmed you don't necessarily tell the whole story. No, something else entirely has lead to us meeting today, and this may be a force as fundamental as fate itself. The provident gravity that attracted us together must have a reason to do so, even if we cannot understand. Gofek, what is your social security number?
Michael tries to make all his problems go away...
Streaming now on Peacock: https://pck.tv/3mPrdWB
Watch The Office US on Google Play: http://bit.ly/2xYQkLD & iTunes http://apple.co/2eW0rcK
Subscribe // http://bit.ly/subOfficeUS
Welcome to The Office Channel!
This channel is dedicated to everything The Office, from behind-the-scenes videos ...
Back in a bit
Can someone please help with this - https://discord.com/channels/267624335836053506/1106699717578068018
Please let me know if you have any questions.
yes
focus on the task at hand ... and leave the fluffy stuff for ..... those others
You need to read this book https://www.goodreads.com/book/show/34466963-why-we-sleep
But how often do you get unsolicited DMs asking for help laundering bitcoin because you happened to be in voice-chat-0?
hey guys
where is @somber heath ?
Australia.
Yes. I sleep-reply to messages.
then Sleep. I shouldn't be bothering you by now!
Good night,Sweet dreams!
but bruh, it is 3pm in Australia
!e
1 + True
@ivory horizon :warning: Your 3.11 eval job has completed with return code 0.
[No output]
wheredaprintat
Im silenced on voice
:/
I work wth iot
how may I unblock the silence mode on voice?
bid
hello
👋
Michael tries to make all his problems go away...
Streaming now on Peacock: https://pck.tv/3mPrdWB
Watch The Office US on Google Play: http://bit.ly/2xYQkLD & iTunes http://apple.co/2eW0rcK
Subscribe // http://bit.ly/subOfficeUS
Welcome to The Office Channel!
This channel is dedicated to everything The Office, from behind-the-scenes videos ...
im doing it
i need to finish the office tbh
😄
Okie it's 10 past 30
Does anyone here play PUBG?
@frail granite 👋
@signal surge 👋
@somber heath hi
bro why do you sound british (sry mate , if i sound racist)
Anyone familiar with blynk iot?
Can anyone have me with my project?
D:
sad
D:
Ok
I am just dont know how to sync all the thing into the dashboard
Im using esp32
micropython
unfortunate
Im not good at it
But its the homework 😄
Im more into C++ and java
.m_nav_section .active_mob_nav {}
bootstrap or only css?
css only
@onyx trout 👋
you cant talk for some reason
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
See the linked-to room.
yeah they say i have to be atleast like 3 days in the server
so yeah i have to wait like 3 days before i can talk
@sharp abyss 👋
I'd like to be.
Some people need a bloodied nose or worse.
It'd be nice if we could all sing Kumbaya together, but that isn't the world we live in.
Doesn't mean we shouldn't try.
Sometimes all it takes for the impossible to become possible is for enough people to believe in it.
that's a very interesting way to view the world even though I don't agree with it
I think war is necessary
most disagreements can't be solved over a cup of tea
See bloodied nose.
Hello @somber heath
how its going?
oh okay
its kind a quiet today in voice channel
Hello Guys When u start solving codeforces questions!
hello
https://neetcode.io/roadmap @full salmon
A better way to prepare for coding interviews.
https://blog.alexellis.io/meet-minio/ <-- Self-hosted object-storage supporting AWS S3 api
Has Minio S3 storage come up on your radar yet? It's a great project and easy to use. Join me for the 50,000ft overview and walk-through in Docker.
Hello People Really New here
@amber raptor @zenith radish Good Talk
people
really good insights you guyz are providing
@amber raptor have you heard of windows server 07
my org still uses it
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
it's because of the way our backend works
// merch: https://merch.krazam.tv
@night violet @dusk copper 👋
Hi
Just making sure you knew this was here as a voice chat additional. 🙂
python is too slow? is that the joke?
!e ```py
def turkey(func):
def f(arg):
return func(arg)
return f
def duck(func):
def f(arg):
return func(arg)
return f
@turkey
@duck
def chicken(arg):
return arg
result = chicken('Stuffing.')
print(result)```
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
Stuffing.
are there French here?
Not I.
Join us as we explore the physics behind 'What goes up must come down!
Grab ATLAS VPN for just 1.39$/mo + 4 months FREE before the deal expires https://atlasv.pn/DEBUNKED or USE CODE: DEBUNKED
#fallingbullet #debunked #learnmore
CREDITS:
Stu K - Researcher | Writer | Editor | Illustrator | Presenter
Jacob T - Researcher | Writer
Ross G - Edito...
this scares me.
@pale sigil I know you're not asking me but from what I last knew of the subject, the human attempts to mock/remake the silk in ways the spiders themselves do naturally have all been in vein. Its nowhere near the quality.
oh, fair enough
genes 😐
Take a look at the ingredient ban list of the United States compared to the majority of other nations. The issue isn't with what GMO's or preservatives you may be consuming independently. Its that its so common for the big food companies to use the cheaper, faster production ingredients at the betterment of themselves vs the consumers. It's also odd how much reach they have into the companies around them that are supposed to proctor and monitor their process to mitigate issues of the sort :/
@somber heath ^
I'm a slow typer, I kinda missed the conversation.
The push towards renewable energy isn't bad per se, its the rate at which they want to completely eradicate the other sources of energy that's alarming.
@somber heath have you heard anything of eFuel?
what ar you guys talking about ?
What was the book where the premise was a group creating a machine that could alter the atmospheric conditions so that they could make it rain/snow/hail/etc.. in any location they wanted?
Right, right.
UAE make it rain
n 2010, cloud seeding began as a project by weather authorities to create artificial rain.[13] The project, which began in July 2010 and cost $11 million USD, succeeded in creating rain storms in the Dubai and Abu Dhabi deserts.[14]
Cloud seeding is a type of weather modification that aims to change the amount or type of precipitation that falls from clouds by dispersing substances into the air that serve as cloud condensation or ice nuclei, which alter the microphysical processes within the cloud. Its effectiveness is debated; some studies have suggested that it is "diffic...
The problem with cloud seeding is that there needs to be moisture in the air. Also, it's a manual process. With mangroves and rainforests to it becomes self-sustaining, self-propagating and automatic. Not to mention the habitat for various species.
!voiceverify
what you have to do if you not understand because the obtuse or narrow view of things you had?
is there any point in using , micro python ?
im looking at how small a HW is needed , especially memory
diminishing returns --- and all that jazzz
@verbal zenith can you do multi-core MCU with rattle script
no
i mean maybe
probably not though
Actually no you could not do threading or multicore stuff in it
hmmm , how much memory would you need to make a usable OS
128 KB fast sram , 1 , 2 , 4 , 8 Meg DRAM ?
In which I build a Linux computer cheap enough to give away
WRONG
# file_a.py
def foo():
print('baz')
foo()
# file_b.py
import file_a
print('spam')
print('eggs')
The example above will run the foo() at start of the file interpreting
baz
spam
eggs
The more reasonable way you want to do is
# file_a.py
def foo():
print('baz')
# file_b.py
from file_a import foo
print('spam')
print('eggs')
foo()
@turbid sandal
shut up
this pattern *
file a:
def run():
#emailing code
pass
run file:
from blablkabla import file_A
file_a.run()
from balala import ss
from blablkabla.file_A import run
?
`
import logging
import sys
from luci.settings import TOKEN, SETTINGS_MODULE, __version__
from core.commands import client
logging.basicConfig(level='INFO')
log = logging.getLogger()
if __name__ == '__main__':
log.info(
'''
==========
╦ ╦ ╦╔═╗╦
║ ║ ║║ ║
╩═╝╚═╝╚═╝╩
==========
Logical Unit for
Communicational Interactivity
'''
)
log.info('Running LUCI version: %s\n', __version__)
client.run(TOKEN)
`
#_____ .___
# / _ \___ ______ ____ _____ __| _/____
# / /_\ \ \/ / _ \_/ ___\\__ \ / __ |/ _ \
#/ | \ ( <_> ) \___ / __ \_/ /_/ ( <_> )
#\____|__ /\_/ \____/ \___ >____ /\____ |\____/
# \/ \/ \/ \/
>>> import this
The Zen of Python, by Tim Peters
...
If the implementation is hard to explain, it's a bad idea.
...
!eval
import this
@dense ibex :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | The Zen of Python, by Tim Peters
002 |
003 | Beautiful is better than ugly.
004 | Explicit is better than implicit.
005 | Simple is better than complex.
006 | Complex is better than complicated.
007 | Flat is better than nested.
008 | Sparse is better than dense.
009 | Readability counts.
010 | Special cases aren't special enough to break the rules.
011 | Although practicality beats purity.
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/iyunezanus.txt?noredirect
.
this?
__name__
@verbal zenith programming anything fun?
@verbal zenith
What does it do? @desert wolf
before compiling what if you get the raw file you want to use?
like
wget https://raw.githubusercontent.com/chr15m/PodSixNet/master/setup.py
idk if is something like this
all tests passed
This is the django API server source, it consume the MQTT broker , store the data on database and serves it through a GraphQL API
https://github.com/brunolcarli/iot_api/
The API is online and may be consume and teste here: https://iotapi.brunolcarli.repl.co/graphql/
This is the front-end webpage, which consumes the API and plots the lat/long position of the registered devices on a map and plot sensor readings on charts (it may be deprecated since our devices are offline for a long tome since I wrote the project)
Source: https://github.com/brunolcarli/greenhouse/
Hosted on github pages: https://brunolcarli.github.io/greenhouse/
(Im not the front end guy so dont mind the poor UX on the frontend xD)
this is an example of subscribing on my MQTT broker:
mosquitto_sub -h 104.237.1.145 -p 18883 -t estufa/sensor
You have to install apache mosquitto
this is an example to pubish on the above topic on MQTT broker
mosquitto_pub -h 104.237.1.145 -p 18883 -t estufa/sensor -m "(666000666, 1670480148.985498, 80, 23.1, 0.16, 94)"
-h host = 104.237.1.145 my vps address
-p port = 18883 my mqtt broker port
-t topic = estufa/sensor registered topic for the above system project
-m message to be sent
The message, for this project should have the exactly pattern "(int, int/float, int, float, float, int)"
where the tuple of size 6 indexes stands for
index 0 = device id
index 1 = timestamp
index 2 = ldr value
index 3 = temperature value
index 4 = pressure value
index 5 = moisture value
so
(device_id, timestamp, ldr, temperature, pressure, moisture)
how do i get stream permission?
@surreal cape
make install
Install requirements
make install
migrate db
make migrate
run the webserver
make run
mqtt consumer
make mqtt_sub
.env
export MQTT_CLIENT=IOT_API
export MQTT_HOST=104.237.1.145
export MQTT_PORT=18883
export MQTT_TOPIC=estufa/sensor
export SECRET_KEY=anythint_you_want_to_put_here
source .env
what do you mean exactly?
@surreal cape
Using the URLconf defined in iot_api.urls, Django tried these URL patterns, in this order:
graphql/
The empty path didn't match any of these.
which host you put on webbrowser?
localhost:8890?
I mean, how do you tried to access the webserver on the browser
?
http://localhost:8890/graphql/
@surreal cape
query devices{
devices{
deviceId
hardwareType
}
}
query installations{
installations{
reference
latitude
longitude
device{
deviceId
}
}
}
If you want to register a device (fake or real ones, feel free)
mutation {
createDevice(input:{
hardwareType: "espXXX"
deviceId: "1234567890"
description: "Description of the device"
}){
device{
hardwareType
deviceId
}
}
}
install your device to see it on the map on front end page
mutation {
createInstallation(input: {
reference: "name of the installation"
deviceId: "1234567890"
latitude: -0.8877666
longitude: 9.87655
description: "describe the installation: Next to the market Foo. Behind the Billboard baz"
}){
installation{
reference
device{
deviceId
}
latitude
longitude
}
}
}
send some data through MQTT pub with your device id and filter the device transmissions on API
query {
device(deviceId: "1234567890"){
transmissionCount
transmissions{
timestampOrigin
timestampReceive
macAddress
ldrSensor
temperatureSensor
pressure
moisture
}
}
}
We introduce a new language representation model called BERT, which stands
for Bidirectional Encoder Representations from Transformers. Unlike recent
language representation models, BERT is designed to pre-train deep
bidirectional representations from unlabeled text by jointly conditioning on
both left and right context in all layers. As a resul...
!voiceverify
!e python for x in range(1,5): print(x)
@amber raptor :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | 1
002 | 2
003 | 3
004 | 4
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Has voice channels always been at the bottom of the channel list? It feels off somehow...
Hello Guys!
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!voice
@turbid sandal can you check your dm?
Traceback (most recent call last):
File "c:\Users\akshit kaushal\Desktop\test\test.py", line 2, in <module>
import matplotlib.pyplot as plt
File "C:\Users\akshit kaushal\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib__init.py", line 246, in <module>
_check_versions()
File "C:\Users\akshit kaushal\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib__init.py", line 240, in _check_versions
module = importlib.import_module(modname)
File "C:\Users\akshit kaushal\AppData\Local\Programs\Python\Python310\lib\importlib__init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "C:\Users\akshit kaushal\AppData\Local\Programs\Python\Python310\lib\site-packages\kiwisolver__init.py", line 8, in <module>
from ._cext import (
ImportError: DLL load failed while importing _cext: The specified module could not be found.
I have tried installing and uninstalling it multiple times but this still doesnt solve my issue
thank you so much!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
dude I was trying this for so many dayssssss
thanks a lot!
@whole bear @abstract swift 👋
@somber heath 👋
Hello @somber heath how are you
🙃
Hi
@maiden jay 👋
hmm. what are you guys discussing about
I can’t talk
how old are you @turbid sandal
13 years
exactly
How did u learn python @turbid sandal
@abstract lintel 👋
I have same kind of story I bought GTA V for my birthday, and it didnt run on my laptop so I researched it and got into programming C and left it for 2 years then again started it in lockdown
python —version
python will work if you have it in path right
@manic canopy 👋
dev you are a programmer right? destroy their phones 😉
def write(pit, data): if pit == "0": pit = open("Pits\\Pit - a1\\Pit-000.avo", "w") pit.write(data) if pit == "1": pit = open("Pits\\Pit - a1\\Pit-001.avo", "w") pit.write(data) if pit == "2": pit = open("Pits\\Pit - a1\\Pit-002.avo", "w") pit.write(data) if pit == "3": pit = open("Pits\\Pit - a1\\Pit-003.avo", "w") pit.write(data) if pit == "4": pit = open("Pits\\Pit - a1\\Pit-004.avo", "w") pit.write(data) if pit == "5": pit = open("Pits\\Pit - a1\\Pit-005.avo", "w") pit.write(data) ....
Lol
pit = open("Pits\Pit - a1\Pit-001.avo", "w")
pit.write(data)
pit = open("Pits\Pit - a1\Pit-00" + pit + ".avo", "w")
pit = open("Pits\Pit - a1\Pit-00" + pit + ".avo", "w")
000
026
099
999
def write(pit, data):
pit = open("Pits\Pit - a1\Pit-00" + pit + ".avo", "w")
pit.write(data)
def write(pit, data):
pit = open("Pits\Pit - a1\Pit-00" + pit + ".avo", "w")
pit.write(data)
!d str.zfill
str.zfill(width)```
Return a copy of the string left filled with ASCII `'0'` digits to make a string of length *width*. A leading sign prefix (`'+'`/`'-'`) is handled by inserting the padding *after* the sign character rather than before. The original string is returned if *width* is less than or equal to `len(s)`.
For example:
```py
>>> "42".zfill(5)
'00042'
>>> "-42".zfill(5)
'-0042'
@whole bear 👋
Hey @undone idol how are you
https://www.youtube.com/watch?v=NBOx2dEmVuc
"It's as if all he knows is Data Structures, Algorithms, and breathing."
Squidward has a fancy waitress.
AI is being used to replicate voice to talk to your relative/friends and ask them money
good whats going on
ai shouldn't be trained, brick them up, let us do the shit.
Technology marches on.
ok I gtg bye everyone
These are the videos from AIDE (Appalachian Institute of Digital Evidence) Conference 2015:
http://www.irongeek.com/i.php?page=videos/aide2015/mainlist
Presentation available here: https://www.defcon.org/images/defcon-22/dc-22-presentations/Crenshaw/DEFCON-22-Adrian-Crenshaw-Dropping-Docs-on-Darknets-How-People-Got-Caught-UPDATED.pdf
Dropping Docs on Darknets: How People Got Caught
Adrian Crenshaw TRUSTEDSEC & IRONGEEK.COM
Most of you have probably used Tor before, but I2P may be unfamiliar....
Common Darknet Weaknesses
Presented by Adrian Crenshaw MCSE NT 4, CNE, A+, Network+. i-Net+ "Irongeek"
Ok, this talk did not come out quite as well as I hoped. I should be able to polish it more before Defcon
Darknets/Cipherspaces such as Tor and I2P have been covered before in great detail. Sometimes it can be hard to follow attack strategie...
These are the videos from SecureWV 2015:
http://www.irongeek.com/i.php?page=videos/securewv2015/mainlist
@fluid bluff @dapper spoke @slender sierra 👋
hello
@pale pulsar 👋
hi
@eager parrot 👋
👋@somber heath
what r u guys doing??
i am good what about u guys?
I am kind of new here just checking out what u guys do and that's all
and sorry about English if I say anything wrong
oh i am learning python
no no i can understand
ohh I know a little bit of Italian
Yo 👋
I have 3 little brothers live in Italy
And I am really bad at talking with new people man I mean I don't know what to say haha
hey nice to meet u guys
Good a reason as any ¯_(ツ)_/¯
How's it going
The Portal 2 co-op campaign I think is some of the best fun I've had playing a game tbh.
😉
@little olive Can you turn Crisp on again?
Does portal 1 have a co-op campaign?
no i dont think so
nah
Portal 1 is pretty much a proof-of-concept for Portal 2.
I see
I'm a great programmer, by that measure.
Caratteristiche: Design bitcoin a doppia faccia. 100% nuovo di zecca e di alta qualità. Parametro: Materiale: ferro placcato oro Ruolo: souvenir, oggetti da collezione, regali aziendali e regali di Natale Diametro: circa 38 mm (un diametro della moneta in yuan RMB per riferimento: circa 25 mm) Sp...
hey u guys carry on I got to go, nice to meet u all
👋
Does it get any better than a 7.7-litre V12 British supercar, with GT1 racecar engineering and 840bhp? Mike delves into the depths of the only road legal TVR Cerbera Speed 12 ever built by the TVR factory, in all of its carbon fibre glory.
Here is a link to the lot at Silverstone Auctions: https://www.silverstoneauctions.com/2000-tvr-cerbera-sp...
The only production legal build of the car auctions off May 20th.
stable diffiusion
What was your prompt?
Diffusion
yes sorry i fix it
can someone help me , #algos-and-data-structs
well i can give you the promtp but it dependent on the model you use
I don't intend to test your prompt out, I'm just curious what your input was.
RAW, Nikon z 85mm, astronaut young woman, girl, hair, short hair, rainbow colour hair, reading a book, library in space in the background
i dont care i can give how many promtp you like, im gust saying
i love open source
bad anatomy, bad hands add to negative prompt @alpine elbow
Artists since time immemorial: Hands are difficult!
Modern A.I.: Hands are difficult!
there are only 3 fingers and one thumb
No, they're all there. Hes just doing this 👌
Lmao my attempts are macaroni art in comparison. Which model are you using?
germany
if you want to start here is a link that can help whit prompt https://www.aiprompt.io/#
D3DXCreateTextureFromFileA
The first model of KBDcraft mechanical keyboard with a lego case and a fully customizable keyboard Core. I PRODUCT PAGE: https://rama.works/KARAPREORDER OPEN FOR A LIMITED TIME (UNTIL DECEMBER 31ST)EXTRA MANUFACTURING SLOTS ARE AVAILABLE UNTIL EXHAUSTION PAST THIS DATE. NOTE: This is a PREORDER. Shipping will commence
!voiceverify
fr
5154 total
I laughed.
the face of terror of the baby
hope-driven calculus
"lines somewhat match"
@steep juniper compiler for what?
VS Code for Windows/Linux aren't much different
CLion is paid
if you have Linux, you have easier access to Docker
so you can use Dev Containers
to avoid potential setup troubles
@fierce stratus are you talking about VS or VS Code?
oh
no, you can't use expired CLion
you will have to fall back to an older version
if you buy CLion today and don't renew, you will have version 2024 in a year from now and version 2023 in two years from now
because of how perpetual fallback thing works
you will have the current version forever
but not updates
that's paid for sure
why not combine all IDEs into one?
money
euro or dollar
specifically, to avoid spending that money on features you don't need
I didn't hear you, I'm kind lost
I think it depends on country you live
for me its showing euro, cause I am in EU
paper cash it's always country
why is day an int?
is it day of the months?
or of a year?
what does day mean here?
green to a meal?
shouldn't Calendar and Schedule classes be separate?
(second being depend on the first one)
though
idk
maybe in this context it's fine
maybe a mapping
Date -> Meal
?
add Type -> None for readability?
that way, there will be two methods to interact with the class:
setMeal(date, meal)
getMeal(date)
Java is good for things similar to why C# is good
it just has less of those things
it's an object-oriented language that just works
unlike C++
idk
in Python it's harder because dynamic typing
"UML time?"
you guys will add ML?
the only useful (for me) resource I found about UML was the spec itself
the Lisa scene from Jobs really happened?
(illustrated the version license thing)
@thick pulsar yes, smtp
but you will need an API key not password
oh
no, you can't do that with smtp
smtp is for sending
I guess IMAP maybe?
though, yes, probably better to use the API directly
(you will have to create app/api keys anyway)
the api from gmail website?
thanks
this might be related
but I'm not sure
https://support.google.com/mail/answer/7126229
Set up IMAP and change your SMTP settings to read Gmail messages in other mail clients, like Microsoft Outlook and Apple Mail. When you use IMAP, you can read your Gmail messages on multiple devices,
will take forever if have a lot of meals?
yes
maybe xd
if a day contains meals, then month probably shouldn't have any notion of meals on its own
jackpot
to avoid using arbitrary constants (99):
Meal[] --> List<Meal>
new Meal[99] --> new ArrayList<Meal>()
saving mmory
and preventing crashes if someone decided to add 100 meals
is this. necessary there?
nah, just for readability
why so many usc[[
wdym usc?
they'
sugar counts as a meal
depends what you render with
energy
This 2d Java tutorial describes 2d graphics, geometry, text APIs, images, printing, advanced 2d topics
exploring ways to generate and analyse random paths
remotely related to how I was sampling colours earlier
for colours I was doing this but 5D instead of 2D
this one is probably fractal (as in fractional dimension)
yes, that type of fractal
or, no, it seems like it's exactly two-dimensional
because x2 scale for it requires exactly x4 length
very weird structure
maybe it behaves like a very ineffective space-filling curve
limit which is 32?
!e
import numpy as np
np.zeros(tuple([1]*100))
@vocal basin :x: Your 3.11 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 2, in <module>
003 | np.zeros(tuple([1]*100))
004 | ValueError: maximum supported dimension for an ndarray is 32, found 100
it's a reasonable limitation if none of the dimensions is length 1 or 0
if each dimension is at least 2, then the total number of elements is at least 2^(dimensions)
maybe it uses 2^32 specifically somewhere for some reason
because unsigned integer
!e py print(2**32)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
4294967296
though
it can allocate >2^32 length arrays
!e
import numpy as np
np.zeros(2**32 + 1, dtype=bool)
@vocal basin :x: Your 3.11 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 2, in <module>
003 | np.zeros(2**32 + 1, dtype=bool)
004 | numpy.core._exceptions._ArrayMemoryError: Unable to allocate 4.00 GiB for an array with shape (4294967297,) and data type bool
but not in snekbox, because reasons
!e py with open('/proc/meminfo') as file: print(file.read())
@somber heath :x: Your 3.11 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 1, in <module>
003 | with open('/proc/meminfo') as file:
004 | ^^^^^^^^^^^^^^^^^^^^^
005 | FileNotFoundError: [Errno 2] No such file or directory: '/proc/meminfo'
!e
import numpy as np
lo, hi = 0, 2 ** 32
for _ in range(20):
mid = lo + (hi - lo) // 2
try:
np.zeros(2**32 + 1, dtype=bool)
except:
hi = mid
else:
lo = mid
print(lo, hi)
@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.
0 4096
I might've done it the wrong way
!e
import numpy as np
lo, hi = 0, 2 ** 16
for _ in range(20):
mid = lo + (hi - lo) // 2
try:
np.zeros(2**32 + 1, dtype=bool)
except:
hi = mid
else:
lo = mid
print(lo, hi)
@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.
0 0
oh
!e
import numpy as np
lo, hi = 0, 2 ** 32
for _ in range(20):
mid = lo + (hi - lo) // 2
try:
np.zeros(mid, dtype=bool)
except:
hi = mid
else:
lo = mid
print(lo, hi)
@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.
548126720 548130816
!e
print(548130816 / 2**32)
@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.
0.12762165069580078
around .5 GiB
if k8s is too much, maybe just plain Docker?
@whole bear what kind of orchestration?
does it need to be a script?
maybe better to have it as a service?
services as in containers
not necessarily something working 24/7
you can convert the script into a service with a REST-like API
or a service interacting with a message queue
so, you seem to have two separate questions:
library version management
script/container version management
the most appropriate way to approach the first one is probably to factor out all library code into pip-installable package(s)
use submodules
and on specific deployments (containers) have requirements.txt file with an exact version
(often it's better to write requirements.txt manually instead of doing pip freeze out of the development environment)
idk about alternatives to Jobs
not really sure if regularly starting and stopping services is fit for many usecases
if you, at any point, want to call a python script as part of the normal service workflow, there might be reasons to reconsider the current architecture
one example of when not to use python script would be CGI
calling a python script on each request is less than ideal
import-related CPU load overhead is very real for python
do those 50-60 jobs have anything in common other the fact they're ran periodically?
are they all Python?
wow, thats very nice
@frozen vine 👋
yo
finally figured out how the expected value of the average of all the points on the path behaves
specifically, this coefficient that relates standard deviation of the average to standard deviation of the end point
now I need to analyse how variance of the path is distributed
it seems to be log-normal, but I have no reasons to believe that yet (other than some imprecise measurements)
weird triangular plot
You are given an integer array nums. You are initially positioned at the array's first index. Given the starting position I and the second position J, determine if you can perform a jump according to the following logic:
For odd jumps (1st, 3rd, 5th) a jump is considered valid if nums[I] < nums[J] and nums[J] - nums[I] is the lowest of all possible jump position candidates.
For even jumps (2nd, 4th, 6th) a jump is considered valid if nums[I] > nums[J] and nums[J] - nums[I] is the lowest of all possible jump position candidates.
For each element in the array, determine if it is a valid path to jump to the final element in the list.
Example:
nums = [3,2,4,4,1]
Output: 2
Can you solve this real interview question? Jump Game II - You are given a 0-indexed array of integers nums of length n. You are initially positioned at nums[0].
Each element nums[i] represents the maximum length of a forward jump from index i. In other words, if you are at nums[i], you can jump to any nums[i + j] where:
- 0 <= j <= nums[i] a...
@somber heath Dude, I forgot how OP monks are for Underdark
Level 20 they're completely immune to mind affecting abilities
Monk + Rogue = Kicking someone in the butt so hard that they explode
Now turn your head and cough
What're you streaming?
my code
!stream 691761388363841588
✅ @jolly terrace can now stream until <t:1684160238:f>.
Hello
How's it going
Pretty good
@obsidian dragon What is this skill?
Convenient of them to make that big-ass road across the water, direct.
@rugged root I can trun a png into a mesh for blender
so I can ad logos to 3d prints easy
so this is the result
hello @rugged root 👋
How's it going
@woeful salmon wanna help me with nextjs/react sometime? o:
sure 👍
O hell yeah
when are you free like tommorow or day after tommorow?
Probably later, tomorrow is tons of meetings and day after is google interview ;c
Thursday onwards though I should have the time
nice tell me any time between 1 pm Indian standard time to 12 am and i should be able to make time.... i tried to use the discord time thing but its a pain so you're just gonna have to convert timezones there
Eat the rich!
Unemployment rates over the years. That's cray cray: ~1950's to now
Interest rates: ~1980's to now
20% interest rate is insane
xyz
@terse needle Now tell me what each finger represents
erm...
green is the motion, thumb is electric field, first is magnetic field
let me check
thumb and middle finger are the other way around
i thought we were just talking about the one piece character zoro
Gintautas Kazlauskas
Taut as.
yes that is the dude with green hair, 1 missing eye and 1 sword in mouth and 2 in hand
Such a weird manga/anime
It's like they took a hat full of character traits and just pulled random ones out of it
No
k
Begone verboof
@whole bear How's it going
at once, sir
i've seen a rise in people who know react but don't actually know javascript once again since later half of the last year @zenith radish
print( 'yes' ) - great answer
that's hilarious
like they follow react tutorials and learn only js needed there and don't know anything about stuff they might get asked about javascript like what are prototypes and what are bound functions and so on
yeah
i know because they dm me for help o-o
from javascript servers i'm in
can a hooman in HR actually code ? usually its the secretary
I'm the opposite
It's the react that's the problem
well you're missing lesser things atleast 🙂
if you work somewhere - and they behave as they own you - leave
if i go for a job - i interview the interviewer -
Maro - highly knowlegable at button push sequencing - good answer
@midnight agate good morning - do you have any opinions on , Mojo Python .... very interested what you think
Pulumi
A ternary computer, also called trinary computer, is one that uses ternary logic (i.e., base 3) instead of the more common binary system (i.e., base 2) in its calculations. This means it uses trits (instead of bits, as most computers do).
Whats happening guys
Yoooo
Hey hemlock how are you
Not too shabby, how about you
today was my last exam so feeling really good
Which was your final one? What subject I mean
computer
This code was defined in 1998 as one of the traditional IETF April Fools' jokes, in RFC 2324, Hyper Text Coffee Pot Control Protocol, and is not expected to be implemented by actual HTTP servers.
I'm looking to create a portfolio
Damn shame
any recommendations of how many projects i should list?
Computer as in like IT or
As in how many to put on your resume?
Or just in general
both
portfolio and resume differ
In my school IT have two parts one is softs skill(time management, self-motivation) and other one is outdated stuff like openoffice, excel etc
i got to go now 🙂 cya guys tommorow was fun to listen in again as always
Right fair true
#career-advice would probably have better advice in that regard
Are you doing electromagnetism? 😄
As someone who works at an accounting firm, Excel is still a big deal and helpful to know
Especially if you can do fairly complex formulas
Flemings left hand rule is now a gang sign in my physics class
they are teaching 8th graders python and 10th graders excel 🥲
Thank you!
!e
print(help(str))
@woeful wyvern :x: Your 3.11 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 1, in <module>
003 | print(help(str))
004 | ^^^^
005 | NameError: name 'help' is not defined
How come?
!d str
class str(object='')``````py
class str(object=b'', encoding='utf-8', errors='strict')```
Return a [string](https://docs.python.org/3/library/stdtypes.html#textseq) version of *object*. If *object* is not provided, returns the empty string. Otherwise, the behavior of `str()` depends on whether *encoding* or *errors* is given, as follows.
If neither *encoding* nor *errors* is given, `str(object)` returns [`type(object).__str__(object)`](https://docs.python.org/3/reference/datamodel.html#object.__str__ "object.__str__"), which is the “informal” or nicely printable string representation of *object*. For string objects, this is the string itself. If *object* does not have a [`__str__()`](https://docs.python.org/3/reference/datamodel.html#object.__str__ "object.__str__") method, then [`str()`](https://docs.python.org/3/library/stdtypes.html#str "str") falls back to returning [`repr(object)`](https://docs.python.org/3/library/functions.html#repr "repr").
!e
help()
@rugged root :x: Your 3.11 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 1, in <module>
003 | help()
004 | ^^^^
005 | NameError: name 'help' is not defined
@sly kernel
!e
code
!eval [python_version] <code, ...>
Can also use: e
Run Python code and get the results.
This command supports multiple lines of code, including formatted code blocks. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.
The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.
If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside them.
By default, your code is run on Python 3.11. A python_version arg of 3.10 can also be specified.
We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!
!d list.sort
sort(*, key=None, reverse=False)```
This method sorts the list in place, using only `<` comparisons between items. Exceptions are not suppressed - if any comparison operations fail, the entire sort operation will fail (and the list will likely be left in a partially modified state).
[`sort()`](https://docs.python.org/3/library/stdtypes.html#list.sort "list.sort") accepts two arguments that can only be passed by keyword ([keyword-only arguments](https://docs.python.org/3/glossary.html#keyword-only-parameter)):
*key* specifies a function of one argument that is used to extract a comparison key from each list element (for example, `key=str.lower`). The key corresponding to each item in the list is calculated once and then used for the entire sorting process. The default value of `None` means that list items are sorted directly without calculating a separate key value.
!e print('hello world')
@sly kernel :white_check_mark: Your 3.11 eval job has completed with return code 0.
hello world
!e e=1+2/3
print(e)
@sly kernel :warning: Your 3.11 eval job has completed with return code 0.
[No output]
!e print( 1+2/3)
@sly kernel :white_check_mark: Your 3.11 eval job has completed with return code 0.
1.6666666666666665
its a damped waveform
Weird, why did I think PS/2 was hot-swappable ...
barrage application procedure - pure volume applications
do you think they are using AI to filter applications
nature uses repetitive genome patterns
why are you spamming here?
!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.
I don't quite understand what you mean
Just... tell your friend to block them
Software craftsmanship is an approach to software development that emphasizes the coding skills of the software developers. It is a response by software developers to the perceived ills of the mainstream software industry, including the prioritization of financial concerns over developer accountability.
Historically, programmers have been encour...
I'd like to see more default segregation of applications like how things are in mobile apps.
So that running one thing has less opportunity to go snatch shit from elsewhere on the system.
Or whatever.
high pressure = yelling at you , crying over divorce , while under paying you
@stuck furnace Yo
My high pressure: Any minor inconvenience.
crypto - hmmm
Maro - you need to choose what you really like to do - then actually phone them , use your golden melodic voice to pave the way
fat guys applying for personal trainer = jumbo shrimp
So good, LX
https://www.youtube.com/shorts/OP_i7kx5xhU
maro is this you hehe
Any trainer I have has to be named Meghan.
pearls before swine is a a very fatiguing way of life -
fast OR slow twitch muscle groupings for physical event
kinetic linkage - ex golf swing
I don't understand anything.
that is the nature of the universe
However, mushrooms contain no chlorophyll which means they can not photosynthesize; they 'steal' the carbohydrates they need from plants.
if you engineered a single-celled sheep, would it be an amoebaa?
what if the next second organisms in your body stops cooperating as one and starts behaving as individual
bye guys