#voice-chat-text-0
1 messages · Page 286 of 1
multiple disciplines creates creativity on a broad realm.
heyo guys :D
guess who's back
lmao sorry chair building took a while
it's a shit ikea chair
"markus"
i want a herman miller or a secret labs titan :(
u still alive?
you want to rn? I can help
not rn
alr
just shoot me a dm maybe ill be online later
lol
I have my shit on Do Not Disturb so i wont get pings
yo
whatsup
oh bet
wanna hop into a call then?
yes
cuz like
i cant keep on typing so much im doing other stuffs
up to you
ur chillin
its okay man dont worry about it
take cae
anyone have experienc with WSL?
having a hardtime with it
I use both
i hate mac, with a passion
linux is good
okay so
WSL i just converted it to wsl 2
and now its all wierd
are you on a toilet lol
can some1 help me with some code?
its a program that needs to replace text from another py file from given txt file
basically py file changes py file from txt
are you from the Asian sub-continent?
yes why?
delhi?
nop
?
Nah I've been afk since 11 am
South I think?
yeahh south
I even called you
maybe.. maybe not
i was responding to another user : 4dos
depends on how heavy the calc are
can you type out the task
fuck wsl im using vmware
60,000 objects (neurons in the brain) with variable firing rate are updated each tick (iteration) of a loop based on connectivity etc.
the firing rate is calculated in constant time
im assuming it's just linear in time
@frozen owl how did you get video role?
so what is the problem in running this server-side?
the orginal code for the model is written in NETLOGO
there's a Java library allowing the creation of a wrapper to run Netlogo code in a headless format
So basically the idea is that the back end will do this
Im worried it will be too slow especially considering having to send an http post/get for each iteration of the loop
why not have the loop finish doing what it's doing server-side and then send the complete response object to the client?
Because the model should show the neurons changing color and shit depending on their firing rates
in real time
basically I want to visualize the updates
But maybe that can happen still?
alternately finish the computation on backend and send replay
like a series of frames etc
ok then yes that could be done with a for loop on the client side
Yea
that's a lot of information to send though
in one http request?
60,000 neurons firing rates for like 15,000 iterations....
900,000,000 firing rates
not to mention other variables
how big is the file size of the fetch request?
not there yet
depends on what the file contains
the entirety of the computation json?
or each iteration?
Yea haven't even started putting that together yet
if you run the loop on client side you need to send some json data.. what would be the estimated size of that json?
im a noob so bear with me
but the loop could run without any json data on client side
just based on the parameters given by the user
on the front-end website drop down menus sliders etc.
BUT we do use some data stored in csv files right now
let me get their sizes real quick
200 KB for the coordinates of the brain regions
2 KB for an input stimulationg file (just a vector of numbers indicating the amount of pain delievered to the brain)
I mean if you really have enough time I can send you the Netlogo files for the model and you can help maybe I can pay you if you wanna arrange something?
200 kb of csv data ~= 250kb json data.. that seems like a reasonable size if sending via fetch
I mean yea but that's if we're running the loop client side
server side I think each iteration would be like 2 -3 mb
The problem is there's no wrapper for NetLogo in JS so I think I'll have to parse the NetLogo code to JS 🤦
maybe you could use chatgpt for that
Yea I tried a little bit haha
I apologize all for killing the call I don't mean to im just an autist or something idk
thank you again for your help
i gotta go sleep in a short while so my brain can't process too much rn.. maybe later i'll revisit this
Made my first code using dictionaries :3
Hey pose
Hey Char :3
yeah
wtf sazk
is this obfuscated code
no just ran the bundler
whats that
vite the bundler
youre deploying for browser rn?
yes
@molten bone 👋
Hiiii
i have a little problem about python
can u help ?
i got one debian based server and i want to deploy my own discord bot written with python
i connect the server via ssh
and my bot working without any problem its okay
but when i close my ssh session bot goes offline
how can i permanently make online my bot in my server ?
btw i try to create a service(for the systemctl) but didnt work too
@fast sparrow
sorry, um, I don't think I can help you with this.
do you know anyone for help ?
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Hey meow
My internet is crap
@desert vectorYo
Are you available?
https://bugsweeper.godi.se/ @last wigeon
A multiplayer version of the classic game Minesweeper
A multiplayer version of the classic game Minesweeper
A multiplayer version of the classic game Minesweeper
do yall know how to play minesweeper lol
i think i know the rules but lol
ive never played it before
like formally
hola
A multiplayer version of the classic game Minesweeper
@tropic jewel 👋
hi
cant walk the fish cuz he graduated from my cousins window a year ago
spongebob truth or square is unbelievably
goated
what is a jpeg
i get that
if a room is too quiet you should yell out "awkward!", trust me itll be so funny and everyone will laugh
i need to talk like 50 times or sumn
when i get the chance ima scream alot, trust me >;]
bro how do i download the recycling bin?
does this one have premoves?
no
i cannot
I've never actually played that one
out of multiplayer ones, only played the one I made myself (with chess clock and premoves)
huh
I've switched the order of min/max and couldn't figure it out lol
Hi
tbf I probably have more chances of winning in minesweeper given the unreasonable amount of time I've put into that game
bruh
also coming back to competing on minesweeper.online in April, after a year of casual gameplay only
@vocal basinhttps://www.codingame.com/clashofcode/clash/35973717876bebf56318a2d16edebd985e17538
@vocal basin
I'm a mathematician I can't do arithmetic
yeah, parallel with any being 0 has to be 0 total
it was higher EV to not accoutn for that
tbh
just random thing it is what it is
1._truediv_(n) == 1/n ? @vocal basin
operator.truediv(a, b)``````py
operator.__truediv__(a, b)```
Return `a / b` where 2/3 is .66 rather than 0. This is also known as “true” division.
good night @vocal basin
oh of course you know
i forgot this is a python discord xd
do you know C++ @vocal basin
which part of it
I've mostly been doing C++ integration with Rust recently
like the C++ required for cp
i see
@vocal basin https://minesweeper-multiplayer.dk/game/GMO2R5R69I
A multiplayer version of the classic game Minesweeper
C++ is quite capable for competitive, but I need to do actual work, where slower solution may be preferred if they are cheaper
quick game?
the goal is to find mines
1 min timer @vocal basin
4 sec increment
or like 3 sec
or something
starting now
bruh
gg @vocal basin pretty interesting game right
regular with time cuts and premoves
ok
thx
premoves are key to winning there
I'll stall for a bit
try making moves when it's my move
kk
it will highlight premoves
they get activated when the other player moves
this way you won't lose time
each mine halves the time
flags and chords are supported
i only plasy google minesweeper tbh
When a number has the correct amount of flags, you can click on the number to open all the cells around it.
@ parrrate on most sites
it was never refactored
back-end code is the actual important part
y is there multithreading happening
multithreading?
yeah you are using sync
?
oh this is ruchei
not minesweeper
i was looking at ruchei
ruchei is the library used inside ccms
working by contract
no, haven't
it's also used by some other projects (at least one)
both that project and ccms are closed-source
std::sync there is mostly to make futures Send, to allow them to be used inside work stealing executors, even though most of them work just fine with single-threaded ones
also Wakers, regardless of executor, must be Send+Sync
that's the only place which causes my code to use Mutex::lock instead of Mutex::try_lock, afaik
can any one help me with this
i want to get rid of the empty space above the tabs
yo sorry i cant offer u any help
but can u help me with a hangman game
maybe what's the problem
btw that's a heck of time to ask me for help
@nova prawn hello
kk
@warped raft ill stream it that ok?
you are not allowed to do that
i cant stream?
yeah
you need to ask a mod perms
bruh
@warped raft heres my code
at the bottom
im trying to get a correct guess
to replace the empty spaces that look like this
Welcome To HangMan
What is your name?
Harry
What gamemode would you like to play Harry?
Choose a difficulty
1 - Easy (4-5 Letter Words)
2 - Medium (6-7 Letter Words)
3 - Hard (8+ Letter Words)
2
You have selected Medium Mode
Guess The Word:
['', '', '', '', '', '']
figure
Enter a letter or word:
f
['', '', '', '', '', '']
['f', '', '', '', '', '_']
this is wat im trying to go for
ok
yeah @sleek shale
hello
i can hear you
no
test successful
nothing
no mic
i can talk on char
chat
@sly shard i am wrking on you code
are you still here
you must not be voice verified
how do u do that
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
yeah
@sly shard are you here
yo
i made some minor adjustments
alr
import random
points = 100
easy_mode = ["mean", "mode", "range", "plus", "ratio", "solve"]
medium_mode = ["volume", "radius", "square", "figure", "sample", "median"]
hard_mode = ["logarithm", "triangle", "negative", "boundary", "integral", "interval"]
length = []
print("Welcome To HangMan")
name = input("What is your name? \n")
print(f"What gamemode would you like to play {name}?")
def start():
while True:
try:
game_mode = int(input(
"Choose a difficulty \n 1 - Easy (4-5 Letter Words) \n 2 - Medium (6-7 Letter Words) \n 3 - Hard (8+ Letter Words) \n"))
except Exception as e:
print("Incorrect input try again")
continue
if game_mode == 1:
print("You have selected Easy Mode")
break
elif game_mode == 2:
print("You have selected Medium Mode")
break
elif game_mode == 3:
print("You have selected Hard Mode")
break
else:
print("Incorrect input try again")
continue
print("Guess The Word:")
if game_mode == 1:
random_word = random.choice(easy_mode).lower()
for i in range(len(random_word)):
length.append("_")
print(length)
elif game_mode == 2:
random_word = random.choice(medium_mode).lower()
for i in range(len(random_word)):
length.append("_")
print(length)
elif game_mode == 3:
random_word = random.choice(hard_mode).lower()
for i in range(len(random_word)):
length.append("_")
print(length)
while True:
guess = input("Enter a letter or word: ")
guess = str(guess.lower())
if guess in random_word:
print("hi")
random_list = list(random_word)
index = random_list.index(guess)
length[index] = guess
print(length)
if __name__ == "__main__":
start()
now just design the winning losing system
and you are good to go
np
wait
so wat did u change
just get rid of the other functions?
put it all into one?
yeah cuz you were not pulling the returns correctly
oh alr
like the length was getting out but not the random_word
is that why the bottom part wasnt working?
tysm
@upper basin do you know react
welcom
i am stuck with some kind of css
if my knowledge is right
no problme
how are you doing
yes
if there is any exception it stores it as e
and then prints it
that's the reson it is there
the last part was for the name only
hello @raw jasper
Hi their
@warped raft Hello, can you suggest me a tutor book for Python?
I'm not able to use my mic here yet
You can speak
I'm in the vc
oh i didn't learn python by books
i learnt it from mainly youtube and some documentation
So how high is your experience on Python now?
And when did you start?
i wuold say between intermediate and skilled
more than 3yrs back
Thanks for responding
no problme
@placid plank 👋
aight im gonna verify
@lapis pike 👋
hi guys
Are you guys working related to python programming language anywhere?
I work in the IT industry in India
Yeah
I can't understand what you are asking
No No Only Hindi and English
Ha thik hu
Where are you from ?
Damn Russia hoke Hindi kasie aata ?
Are you guys doing any jobs or anything? Related to python ?
If I have a doubt can I ask ?
Ok I wanted to ask one thing
Is there a possibility that we can create a Flask api to open my laptop camera or any camera and run an object detection model in that live streaming ?
OpenCV? Module
Ok thanks I'll look into it
Umm I'm actually developing a system in which I can detect some objects using surveillance cameras or raspberry Pi
Do you guys do api backend work ?
No I'm actually genuinely asking
am reading a soap opera https://robmensching.com/blog/posts/2024/03/30/a-microcosm-of-the-interactions-in-open-source-projects/
Originally a thread on Twitter about the xz/liblzma vulnerability, when I finished typing it, I realized I had a real world slice of Open Source interaction that deserved more attention.
@ionic prairie 👋
@golden delta #pedagogy message
you have plenty of exercises there
@versed tide 👋
@fallow sundial 👋
@coarse flicker 👋
sorry I gotta go.
Algunos de vosotros habla español?
sup
@cunning heath and @dark swan could you help me with something ?
im new to the server so i cant talk
it says more than 3 days
need to have more messages and 3 days here
yha
i have to wait then
yea
are u a python expert?
ah okay
@last wigeon yes; you can use a separate lobby (/lobby/<lobby name here>) if you want to avoid interfering with others
#python-discussion message
(responding here instead of #python-discussion because offtopic)
hey i needed help for some reson this code itsn't rendering hersection part
import './App.css';
import React from 'react';
import NavBar from './components/NavBar';
import { BrowserRouter as Router,Routes,Route } from 'react-router-dom';
import HeroSection from './components/HeroSection';
function App() {
return (
<>
<Router>
<NavBar />
<Routes>
<Route path='/' exact component={HeroSection }/>
</Routes>
</Router>
</>
);
}
export default App;
can anybody help
<HeroSection />
maybe
<Route path='/' exact component={<HeroSection />}/>
nvm, I confused it with something
It doesn't wrk
what happens if you remove exact?
nothing
ok
@cunning heath hello
how are you doing
is <NavBar /> getting rendered, at least?
the thing that I confused it with was this:
<Route path='/' exact element={<HeroSection />}/>
(element instead of component)
examples/basic/src/App.tsx lines 19 to 30
<Routes>
<Route path="/" element={<Layout />}>
<Route index element={<Home />} />
<Route path="about" element={<About />} />
<Route path="dashboard" element={<Dashboard />} />
{/* Using path="*"" means "match anything", so this route
acts like a catch-all for URLs that we don't have explicit
routes for. */}
<Route path="*" element={<NoMatch />} />
</Route>
</Routes>```
component= thing looks like something higher-order-component related
and that was partially deprecated, afaik
kind of a failed trend of the React ecosystem
yeah before this i was using a outdated hook -- Switch
which is now removed from the react libraray
anyways thanks you
igtg
i cant find the website
and thx
[...]/lobby/<lobby name>
I'll try adding discord login button
(right now it's just /auth/login path with no link to it anywhere)
@vocal basin when does someones turn end
oh
so it's just whoever can last longer without the timer running out
ohhh the first time i played i thought i had like
multiple clicks per move
but it was just bc you premoved
you created it?
yes
Nice
how its work
it's turn-based
what's it?
one opened cell per turn
opening a mine halves the time
player, whose timer hits 0, loses
premoves are allowed
i didn't understand
other than pvp rules, it's a typical minesweeper
probably better to first try playing the regular one
non-pvp
I normally play regular minesweeper there:
https://minesweeper.online/new-game
i don't know much about it
some cells contain mines
why it get stuck on pairing?
ok let's try
don't rush with opening cells
mines cut the time so much that it's always better to think before opening a cell
number shows how many mines are around it
like 1 shows 1 mine around
here are some examples of how this can be used:
https://minesweeper.online/help/patterns
i just play on other site that contains flag
ccms has flags too (right click)
Why Terry Davis was right when he said "Life is about entertaining Mr. God"
Support the game engine on patreon: https://www.patreon.com/coelum_engine
would be interested in feedback on this
which framework you use
for back-end or front-end?
for back-end
right things said a bit questionably
I'm using quite few of the framework-like features
tide is quite low-level/direct compared to many others
its rust framework?
yes
for frontend
for front-end I don't use any framework
@whole bear Good
it's a single HTML page
@graceful kelp👋
most of the interesting stuff in the project happens in how it handles state and websockets
game state is synchronised across tabs, for example
its a open-source project?
(and across browsers/devices, if you sign in)
you had make discord sign-up
@whole bear what's-up
these are some of open-source things that are used there:
https://github.com/parrrate/ruchei/blob/main/src/group_by_key.rs
https://github.com/parrrate/ruchei/blob/main/src/multicast/replay.rs
https://github.com/parrrate/ruchei/blob/main/src/poll_on_wake.rs
https://github.com/parrrate/ruchei/blob/main/src/timeout_unused.rs
not yet properly documented
i sign-up
Are you going to sleep?
...No?
Oh then why did you leave?
Well because apparently I wanted to
@zinc beacon@lethal plaza👋
got some work
its like 1v1 or more players can join
1v1
(not playing rn because working on something else)
hello everyone👋
what up
there's actually a team vs team mode but it takes extra setup to start
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
hello
I am from India
yes
and teams mode is just many players as one player
i was just hanging around
@dire folioCan you help?
from which city?
nice
you're my neighbour
so what's going on??
City : Nashik
there's already quite a lot of python being ran by cloud providers
for ML especially
👋
i am learning web dev
Currently i am learning React and making projects
Any suggesions ??
helloo??
in which year are you studying now
i am not in any degree right now
but i am learning for fun and start freelancing
nice
i have so much time for projects
so can anyone suggest me any good projects for enhance my skill??

!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.
BSC IT & BSC CS Projects Final Year Projects Topics For BSc IT and BSc CS Get all the BSC IT and BSC CS projects self learning kits you need along with Guidance and training. We provide you with full guidance along with self learning software projects kits and help you understand those projects too. […]
@ivory stumpAre you available?
It's a bit rude just to keep pinging people don't you think
Um actually I have permission to ping cheeki
well if they agreed then thats fine
he is quite a rude person tbh.. he keeps asking personal questions from users regardless of whether they mind or not.. he keeps racially profiling people "what race are you?" " what religion are you?" "are you indian?" "there are X indians here".. he keeps stepping over other people's conversations like he has no etiquette and he has a record of hitting on female users .. and he shows no intent of stopping these rude behaviors.. he keeps saying he's "sorry" but part of being sorry is not repeating the same mistakes.. which he is intent on doing repeatedly.. he keeps doing this despite being scolded and told not to.. he's already been banned from other servers for this type of behavior..
yo is it allowed to watch moovies in vc?
Hey
I'm quite certain it's not
well for yourself it surely can't be an issue
if nobody hears it through your microphone
Ok
i agree lol
hes being loud and annoying in general as well
he talks to himself a lot without muting himself; it's quite annoying to be frank
This is the Python server and i imagine most people here prefer to be defined by the work they do, not by what race, religion or socioeconomic class they are born into. yet he insists on racially profiling people. and yes he has no conversation etiquettes
@vocal basin the website is down 😦
restored
... and he mostly plays chess,,,
he has asked whether i was british or not like 5 times this week alr
"youre accent is british"
im getting fed up
If you have an issue with another user please bring it up via modmail. Further extending this conversation will result in mutes as it is off topic.
hello?
@somber heath aoba
ok
i dont have:
"You have sent less than 50 messages."
"You have been active for fewer than 3 ten-minute blocks."
ihave interact more to be able to talk
@somber heath hi
@somber heath @last wigeon im not voice verified rn but
wats better
pycharm
or
visual studio
wats like best for beginner u reckon
pycharm
why not?
think a lot of people are in that boat now.
too bad we shipped all the telephone sanitizers on Ark B
Chording means pushing several keys or buttons simultaneously to achieve a result.
maybe I should add input options
I've only tested it in chrome/firefox on windows and in chrome on android
corner
statistically better
elo
new rating after the game
you need to start pressing mines when there's no empty left
halving the time isn't as bad as letting it run out
multibillion dollar game in the making... 🤑🤑🤑🤑
signing in also allows doing this, but not only across tabs, but also across devices
https://youtu.be/nY8ZLaQYAog
id gladly pay for mindsweeper pro battle pass
https://minesweeper.online/premium
(not affiliated and not sponsored)
getting minesweeper.online to integrate this would be quite epic
but
I'm too lazy to contact them
this is just a showcase of synchronisation
state shown to clients is event-sourced
(apparently with some small mistakes in it given how premoves fail at times)
!stream 1058911088206434314
✅ @trail rover can now stream until <t:1711934913:f>.
the thing, that neither though of, was n_1+n_2
https://www.codingame.com/clashofcode/clash/35986679b07927158a028f0b0a99a2a3e75dc54 @vocal basin@whole bear
reversed(seq)```
Return a reverse [iterator](https://docs.python.org/3/glossary.html#term-iterator). *seq* must be an object which has a [`__reversed__()`](https://docs.python.org/3/reference/datamodel.html#object.__reversed__) method or supports the sequence protocol (the [`__len__()`](https://docs.python.org/3/reference/datamodel.html#object.__len__) method and the [`__getitem__()`](https://docs.python.org/3/reference/datamodel.html#object.__getitem__) method with integer arguments starting at `0`).
!e
a = [1, 2, 3]
print(a.reverse())
print(a)
@vocal basin :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | None
002 | [3, 2, 1]
@void zephyr 👋
Hey guys, tell me, why it's so hard to name things? 
fr
bye 👋 @wind raptor @lavish rover
If you want people to offer help, let them know what you need help with.
why line 10 to line 15 not running
How does while operate?
i dont know i was watching a tutorial of game building by free codecamp
Do you understand how if works?
i know
A while is a repeating if, while the condition given to it is truthy.
True is truthy.
Thus, a while loop, uninterrupted by falsy conditions, breaks, unhandled exceptions, power failures, acts of sabertooth tigers, etc, runs forever, repeating the code in it.
ok
That's why it never passes that point. It keeps checking if True is truthy and, because it is, executes lines 8 and 9 over and over.
@vocal basin are you available for a few moments?
what's the question?
Would Collection be a good choice for what we discussed?
I don't think there's any way to have a mutable generic between list and ndarray, but for a non mutable that would pass mypy, I think Collection works?
!d typing.Protocol
class typing.Protocol(Generic)```
Base class for protocol classes.
Protocol classes are defined like this:
```py
class Proto(Protocol):
def meth(self) -> int:
...
``` Such classes are primarily used with static type checkers that recognize structural subtyping (static duck-typing), for example...
watsup
i want to work a bit with Furyo on a website
he is learning D3.js.. i know D3.js but want to get some mentoring
yes i know.. i worked with it so i know what you mean
it's not difficult just annoying
i am thinking about joining... i am learning C++ as well
@woeful salmon https://github.com/apache/echarts
Found on Google from bol.com
Found on Google from docs.sunfounder.com
@wise loom
my take on linux vs windows for development
python and rust development, works just as well and just as easily in either so just preference (ofc for linux make sure device is compatible and has all drivers needed available
c/c++ development - 100% linux is easier and better unless you need to deal with windows specific stuff (Visual C), gets you easier access to all libraries and managing libraries, etc
what you think?
@stark river ^ you too
pathing in python works bit differently in windows which was always a pain for me
i think there were a couple of other issues as well but can't remember
using pathlib can basically fix that
mostly the issues were with the ecosystem or tooling not with the coding itself
yeah but again it comes down to preferences xD i know many people who would much rather click 5 buttons to get to a setup then type 1 command
although we do have winget now which works surprisingly well for most stuff
for me personally i do prefer linux as an os generally but i also do game alot so i switch between them otherwise i'd probably also use linux full time
the filesystem is also a big issue. it is much easier to have your binaries in /bin or something similar and the logs are in one place and the configs are in one place.. vs windows where everything is in a specific folder scattered in their own folders
i can't afford to game any more.. all my games are > a decade old
I didn't image opening my computer with these tools, even if I do I would break it.
windows has its own folders for all the basic os binaries and they are also in the path environment variable and you can add more own your own as well but yes it can be a turnoff to go into program files -> program name every time to find a binary that i get (i just have a powershell function which finds path of binary and opens it for me)
I mean 'imagine' sorry
i shuffle between 3 games right now and 2 of them are also decade old (kind of cus cs2 is technically new but its just cs:go with better graphics)
just overwatch 2, cs2, and path of exile
i also sometimes play some coop games with my friends like raft, left for dead 2, pico park, etc
imo of all those are very okay in both until you need to integrate existing libraries
(when excluding my view on dev containers being superior to developing directly on the host; so for inside containers there's not much sane choice other than Linux or whatever Zones use)
if you're working on just 1 project at a time i agree but honestly i hop between projects alot so for me personally dev containers tend to slow me down
maybe getting an SSD would fix that but xD i'm not buying one until i really need it
I often have more than one project per container
i mean it does solve the problem... but that just feels wrong to me not having the container isolate the project and its dependencies :x
that is a me issue though i guess
I have two containers set up this way:
one for work -- everything there needs to have the same dependencies because it'll end up running outside docker all sharing one environment,
one for misc Rust stuff -- there are very few dependencies, so it's just an isolated environment in terms of tools I use there
I also have a container for py3.12 because I can't be bothered installing it on host
i guess i could also do that i will try later
In this video I discuss how Facebook has been intercepting and decrypting your private data sent to apps that have nothing to do with Facebook over the years and how anyone else doing this kind of man in the middle attack would be facing prison time, but Facebook execs get special privileges.
My merch is available at
https://based.win/
Subscri...
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@somber heath hello
I'm like, half here right now. My brain isn't working yet, just chugged a Red Bull
No idea when I'll be properly coherent
Im still asleep.
it´s 5 pm here..
@rugged root can stream so I can show my first data demo?
!stream 425552190283972608
✅ @peak depot can now stream until <t:1711983051:f>.
Nieuw in het assortiment: Gall & Gall X Zaanse Mayonaise likeur. Probeer het nu!
You know when you blow your nose but you're really congested and you just get this weird squeaky noise?
Like after you stop and the pressure eases off it's like you have a small balloon in your head
who? me?
Just in general
sisko
def gatemethod(method: callable) -> callable:
"""Decorator for gate methods to log operations.
This decorator logs the method name and its arguments before executing the method.
Parameters
----------
method : callable
The method to decorate.
Returns
-------
callable
The decorated method.
"""
@wraps(method)
def wrapped(instance, *args, **kwargs):
# Retrieve the method's signature, including 'self' for instance methods
sig = inspect.signature(method)
# Bind the provided arguments to the method's parameters
bound_args = sig.bind(instance, *args, **kwargs)
bound_args.apply_defaults()
# Prepare a dictionary to log the method name and its arguments
method_log = {'gate': method.__name__}
# Populate the log dictionary with the method's arguments
for name, value in bound_args.arguments.items():
# Skip 'self' as it's not part of the method's signature
if name != 'self':
method_log[name] = value
# Append the method log to the instance's circuit log
instance.circuit_log.append(method_log)
# Execute the method with the provided arguments
return method(instance, *args, **kwargs)
return wrapped
def throttle(minimum_time):
def decorator(func):
@wraps(func)
def wrapper(*args, **kwargs):
start_time = time.time()
result = func(*args, **kwargs)
duration = time.time() - start_time
sleep_time = minimum_time - duration
if sleep_time > 0:
time.sleep(sleep_time)
return result
return wrapper
return decorator```
hemlock I sent you a dm could you plz check it once
good good, i'm gonna start popping in every morning for about 2/3 hrs to learn
@throttle(1)
It'll be... an experience. Python isn't always what we talk about
In general, it's more of a general chat.
It's what we rarely talk about lol.
But we just happen to talk about coding a lot
I force them to talk shop HEHEHE.
I was wrong
JavaScript: 42 + "hello" and "hello" + 42 would both evaluate to 'hello42' or '42hello'
is my mic being noisy?
I couldn't hear anything
what you really want is
def some_function():
print("something")
some_function.a = 4
because everything is an object
sweet, it was big green
Yeah it was showing as on but I didn't hear anything
a quick question
has anyone worked in a GIS project?
hey A.C.E07
can I get the link to the package you're building?
Geographical Information System
i got a question, shouild i create an additional object named Periods that is associated to the object named Class or should periods be an attribute of class
worked on an autonomy GIS project in a past life but not sure I remember much
@willow light
autonomy GIS? what's that?
I am currently working with vector datas
and I'm stuck on clipping the different vector datas
as in an autonomous vehicles project. clipping?
it's one of many geoprocessing tool in GIS
roads hotels lakes...these are 3 different vector datas in map
and if you show all of them at once in the same area
it's clipping
basically
okay yeah so it's the same as clipping in the traditional sense
is this within GIS software or with a a package?
no I am builiding a software for the local government in my area.. in Nepal
and they want that feature
and I am not using any package
there is a package called geopandas that is really good
but this package doesn't for the project that I am building
depends on how you're building it. numpy dataframes are probably a way to get features like that
i've used geopandas in the past also
I am using mongodb instead of geopandas
I am doing everything that geopandas does but from mongodb
not everything but the function that I am working on sorry
as in reimplementing those features?
yeah you can say that
is there a reason you can't use geopandas? no 3rd-party libs allowed?
No there's no particular reason
just
it's boring
if I use a package
reinventing the wheel is useful for learning but for a paid project you may want an easier life tbh
goobernetes
g8s
yeah that's true but I have plenty of time and the features my client want is not that much
i'd say check out geo dataframes, that may be a good place to start for a DIY feature
I use geopandas to do just that and only that
I convert the vector data to geojson via geopandas and insert it to mongodb and then after I am on my own
for spatial manipulation i remember using shapely a lot as that allowed for disconnect between geospatial data and shape data
shapely is new for me
thanks
I'will look into it
!pip xarray
has a few gis things built in, but that's mostly because it's used by ncar/ucar
It's what I use for weather data
for weather data?
I am doing the same in my project
but it's nothing exceptional....I just show the data in line and area charts which is updated daily
this is what it looks like
dummy data
An Experimental Package Management Solution for Python
hey JSON
what DB do you prefer?? for GIS postgres? or mongoDB?
from ham import (
bacon,
pork,
beef,
grandslamwich,
)
can't say I have any preference tbh, i think i used postgres in the past but can't say what is best choice
@rugged root why is Rye not in the astral list? Maybe it's not mature enough yet
Yeah that's my guess
have you used any of the astral tooling?
it looks great but i don't want to get too enticed by the nice site
hey anyone in the chat from japan??? or lives in japan?
can i get a beef sandwich please?
That does sound really good...
it indeed does
please get me one Mr. Hemlock

uv pip compile --resolution=lowest requirements.in
what would be the point of this? https://github.com/astral-sh/uv?tab=readme-ov-file#resolution-strategy:~:text=However%2C uv pip compile --resolution%3Dlowest requirements.in would instead produce%3A
I....
Have no idea
This distinction can be particularly useful for library authors who wish to test against the lowest supported versions of direct dependencies without restricting the versions of transitive dependencies.
So stress testing I guess?
hm
https://www.pressedcafe.com/menu-nashua-nh-drive-thru technically fast food
guys recently anyone has create twitter bot?
No I use mastodon.
@gentle flint can I ask a few questions in vc1 please?
k
I... huh
You can use SQL queries on Windows system things
Like you don't actually need to in the case I looked at
But the fact that you can feels bizarre to me
Get-WmiObject -Query "SELECT * FROM Win32_Printer"
you may have more then one printer
Although you can also just do:
Get-WmiObject Win32_Printer
That'll show them all too
WMI makes complete sense as System API
how else, ODATA queries?
Fair point
Win32_Printer -eq "HP"
Sorry Win32_Printer.Model -like "HP"
Manthropology
.tex
\times
.t
n^5-n
The command you are trying to time doesn't exist. Use .help for a list of commands.
.t
2 \times 2
The command you are trying to time doesn't exist. Use .help for a list of commands.
.latex
n^5 - n
lol, we have a command name overlap? 
maybe needs $ $ ?
Sir Lancebot SHUT DOWN
oh no we dont
.latex
$n^5 - n$
.t
$ 2 \times 2 $
The command you are trying to time doesn't exist. Use .help for a list of commands.
Sorry sakse
when it suggested .t that wasnt a latex alias, I'm being dumb
Anyways can I use it to demonstrate something to someone next to me?
Or will it be considered spam?
Haiiii
YOU CAN LEARN SOMETHING TOO YOU KNOW?
hey milien
Sure, do it here then 
how are you and how are the cats doin?
Damn alright
Wbu?
.latex
Prove that the expression $n^5-n$ is a multiple of $5$
Yeah that says a lot
hmmmm
oh I think I know where you'll go with this
is it?
first step, check if the expression is valid for:
.latex
$p(1)$
doesnt work that way OK