#voice-chat-text-0
1 messages ยท Page 357 of 1
Hold on
Went ahead and gave you the probationary period
Don't make me regret it (not that I think you will, but I feel obligated to add that)
Thanks
I promise you wonโt regret giving me this.
hey $
hey
Hello everyone
Hello everyone in chat
hey $
Sorry, reading crap tons of emails and stuff
or get a chair or stool in front of you then put the tissue on top
Hello
I'm back.
the view behind my apartment block
I would just hop the fence and start running at the cows.
"It says moo or it gets the hose again!!!"
Mashup of movies Lord of the Rings with Ace Ventura
โฌโฌโฌโฌโฌโฌโฌโฌโฌโฌโฌโฌโฌโฌโฌโฌโฌโฌโฌโฌโฌโฌโฌโฌ
Footage :
- Ace Ventura: Pet Detective (1994)
- Ace Ventura: When Nature Calls (1995)
- The Lord of the Rings: The Fellowship of the Ring (2001)
- The Lord of the Rings: The Two Towers(2002)
...
Am I dumb or does Milien sound like lewitt
Who?
RAY is the first microphone with our new sensor-based AURA technology to dynamically adapt your levels and tone according to your distance to the microphone. Itโs like autofocus but for your voice. Instead of making perfectly sharp pictures, youโre getting perfectly balanced recordings.
All details on: https://lewitt.link/ray-info
#MakeYour...
Yeah, I hear it.
bc stuff is not working in pyqt6
They're great
@vocal basin Yo
Eh, VC is more general or off-topic
Although coding does come up quite a lot
@still herald Yo
Yo
Hmm
Ah, self bot
Nice
I'm sleepy and I'm having a work situation, where you guys want's to talk about "rice"
Ik I'm just joking
We call it tahchin.
Halwa is different.
Halwa is more of a desert made with flour.
Isn't halwa a peanut dessert?
no
I guess our countries are different then.
Ok I remembered it wrong
So, we fry flour with lots of sugar and add saffron and rosewater and it forms a brown paste.
We consume it with tea.
You can make Halwa with all sorts of stuff, sth I really like is carrot halwa.
This is also halwa, we call it halwa arde.
now i need to check if i have any dessert
It tastes much sweeter, and has a different mouth feel (different texture, feels rougher).
But to be fair, I don't like middle east or south asian style food
You do, tons.
It's the spices
You haven't had my cooking love.
@cold fulcrum Rust
We don't have many spicy dishes though.
I don't like mint, anis, cinnamon, banana, coconut milk etc.
Like very few of them are spicy.
I don't like curry
not a Haskell fan
Nor pineabble
@rugged root can i talk to please
We use mint alot, but it's not necessary. Cinnamon is mostly in desserts, so you'd be fine there. I don't recall a dish that uses bananas (again, just in desserts). I think only Malaysians use coconut milk in food (they use it in their rice).
i'm having meat and turnips rn
@vital snow #voice-verification
Ours is more rice and stews.
I don't like sweet stuff in my salty food
Yeah, I can't recall any spicy dishes from the top of my head.
It helps balance the dish though.
Also I have issues with eating so veeery picky
depends on the maker. it can be made to be spicier
ah i got ya it will be awhile ๐ฆ i could really use a little bit of knowledge
Malaysians here eat lots of spicy food though hehehe.
I like thai food
Do you have a question?
You can always ask. If we're in VC we're usually watching the text channels as well so no one gets left out of the convos
They use tons of spices and even coconut milk though.
qorma.. sabzi.. two things i never mix... qorma is delicious on its own
@gentle flint I'd say "embedded language" more specifically rather than "scripting language"
Thats why I pick only something like phat thai naa
You need to try it first.
as in embedded into other systems, not hardware embedded
@upper basin i run a small concrete business here in virginia beach and im tryig to get this to post ads ive been working on seos and stuff but i cant get the python and pip to open with commanbds
@rugged root yes men get exploited to
money is a good reason
sheer khurma is for eid
@rugged root Can I answer it? I am not sure if the request violates any of the rules.
Is that just date and milk?
Ace do u use bay leaves?
I forgot what bay leaves are HEHEHE.
@cold fulcrum
why write Rust?
idk
it's just an objectively better version of C++
you need to develop more knowledge of how dialects affect linguistic changes across regions and how language travelled with ancient iranian and indian mixing
like how pazar in turkish = bazar in indian languages
Rice with cashews and raisins yeah, but not with dates.
On what basis
and if you're considering C#, you should also include Java into the list;
it's way closer to C# than either of C or C++ are
I always tried to avoid js
build system, safety, composability (including packaging), consistency (no std::vector<bool> specialisation BS)
that isn't a complete list because I'm too lazy to think further
Okay ye I see
point is all languages in the region have loan words and words that are similar but slightly changed because ancient people changed them
What an objective logic opinion LOL
not a Lisp enjoyer, seems like
"JS is a Lisp" joke quota for today met โ
ye I get uur point
i have a hard time believing any muslim from iran/pakistan/india region wouldn't know sheer khurma
it's like the standard eid stuff
(JS evolved from a Scheme interpreter)
at least not C#'s "what? where? wtf is happening?" async model
So just for Confiramtion:
C -> the og but a pain to write
C++ -> C's younger better looking brother
C# -> Windows version of JS
TS -> JS on Steroids
Rust -> C++ on Steroids
Did I understand it somehow right
C++ not C# in case of Rust
persia had a bigger influence on culture
also Java as alternative to C#
C# used to be better, but since then JVM has received some stuff that diverged ensured Java diverges from C#
unless C# decides to ditch async which I don't see it doing
So based on that Rust would be the way to go?
not necessarily
decide based on libraries you're planing to use
Well our current Backend in my company is C# (.NET) Idk to if I really want to get into the pain of that. But whats the usecase of rust
yes but even thousands of years before the mughals.. ancient aryans migrated from iran to indian side near indus river carrying language and trade
Rust is best fit for systems software, not quick development of APIs that you can achieve with ASP.NET stuff
and Rust is relatively new which means lack of native support for many things
if your application domain maps very well to classic Java OOP model, go for C#/Java/Python
Which shouldnt be a big Problem since I know Python.. no?
(C++'s approach to OOP is going to be painful to apply in that way)
Okay maybe I should ask a diffrent question, where would u say are the limitations with Python the largest and based of that which language would compansate this the most?
biggest reasons why I don't use Python as much anymore are:
- performance
- correctness
sure.. but i don't know which timeline you are referring to.. i was talking about 5000 years ago.. around the time of the indus valley civilization
โ
weirdo
for anything performance-critical, Python's approach is to apply another, more performant language
he just deleted all his messages.. i dont know why.. what a weirdo
via one of:
- FFI
- IPC
- subprocesses
correctness?
Python's error handling and typing leaves a lot of room for incorrectness
exceptions, as a model, are fine, but are a trade-off:
happy path is easier to write,
catching errors is more difficult
depends on the what characteristic of Python you want to get
for simplicity, fast compilation and asynchrony -- Go is an option
instead of exceptions, it uses "errors as values" approach
My biggest "Probelm" with python rn, is the compatibility between async and sync in python
Go handles asynchrony transparently/implicitly
similar to latest Java versions
there you don't see the abstraction, you're writing code as if everything is threaded
but threads are virtual
Mhmm
whereas on Python, yes, you need await async.to_thread at times
FastAPI, for example, supports both async def and def for routes
when it sees a plain def, it assumes the handler must be ran on a threadpool
Well my Problem is that when working with librarys that only support async and sync, that run in an event loop its not realy easy (impossible) to call eachother...
No matter what I do
!d asyncio.loop.call_soon_threadsafe
loop.call_soon_threadsafe(callback, *args, context=None)```
A thread\-safe variant of [`call_soon()`](https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.loop.call_soon). When scheduling callbacks from another thread, this function *must* be used, since [`call_soon()`](https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.loop.call_soon) is not thread\-safe.
Raises [`RuntimeError`](https://docs.python.org/3/library/exceptions.html#RuntimeError) if called on a loop thatโs been closed. This can happen on a secondary thread when the main application is shutting down.
See the [concurrency and multithreading](https://docs.python.org/3/library/asyncio-dev.html#asyncio-multithreading) section of the documentation.
Changed in version 3\.7: The *context* keyword\-only parameter was added. See [**PEP 567**](https://peps.python.org/pep-0567/) for more details.
I cant even tell you if this will solve the problem I tried alot. The thing is when I get it to call the function it calls it but never runs
I dont understand anything in the system behind it so its not really easy to fix. Or explain the Problem
does is raise a RuntimeWarning about unused coroutines?
At first yes, then I got to the point where everything was suposse to work no RuntimeWaring . It just never called the function
it was stuck on the function call but never called it
#1281546226075959397 @vocal basin
Used anyio didnt get the RuntimeWarning but then never worked
there was some way in asyncio to run a coroutine then get a non-asyncio (but concurrent.futures) instance of Future back
I can't remember what it was
not unused coruntimes but not awaited ones
!d asyncio.run_coroutine_threadsafe
asyncio.run_coroutine_threadsafe(coro, loop)```
Submit a coroutine to the given event loop. Thread\-safe.
Return a [`concurrent.futures.Future`](https://docs.python.org/3/library/concurrent.futures.html#concurrent.futures.Future) to wait for the result from another OS thread.
This function is meant to be called from a different OS thread than the one where the event loop is running. Example...
found it
the general advice for dealing with that in discord bots and many other places is to separate the problematic part as a microservice
async communication interface on bot's side
sync communication interface on service's side
or just sync/async on both and a slim translation layer
!pypi greenstalk
^ if you're fine with managing something as heavy as RabbitMQ
(unrelated Rabbits)
!pypi pyzmq
^ if you don't want to use a broker
@vocal basin DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop()
you need to obtain it from inside async context
via asyncio.get_running_loop()
!d asyncio.get_running_loop
asyncio.get_running_loop()```
Return the running event loop in the current OS thread.
Raise a [`RuntimeError`](https://docs.python.org/3/library/exceptions.html#RuntimeError) if there is no running event loop.
This function can only be called from a coroutine or a callback.
Added in version 3\.7\.
ye thats kindof my problem.
how are you starting the bot?
The library requires me to call a function from a sync
Well super().run()
If I remember it correctly
look into what it's doing, there is going to be asyncio.run inside or something similar;
you need to extract that code and write your own async def main()
!d asyncio.loop.run_until_complete
loop.run_until_complete(future)```
Run until the *future* (an instance of [`Future`](https://docs.python.org/3/library/asyncio-future.html#asyncio.Future)) has completed.
If the argument is a [coroutine object](https://docs.python.org/3/library/asyncio-task.html#coroutine) it is implicitly scheduled to run as a [`asyncio.Task`](https://docs.python.org/3/library/asyncio-task.html#asyncio.Task).
Return the Futureโs result or raise its exception.
with that instead of asyncio.run
and loop you can get with
!d asyncio.new_event_loop
asyncio.new_event_loop()```
Create and return a new event loop object.
as an alternative to get_running_loop
or you can just initialise a global loop when the bot is ready
whichever works
def main():
bot = Bot(version=__version__, config=fetch_config(ENV_PATH))
bot.run()
if __name__ == "__main__":
main()```
yes so the main runs the bot and the bot class gets initialised via super().run
run function:
def run(self) -> None:
self.event_manager.subscribe(hikari.StartingEvent, self.on_starting)
self.event_manager.subscribe(hikari.StartedEvent, self.on_started)
self.event_manager.subscribe(hikari.StoppingEvent, self.on_stopping)
self.event_manager.subscribe(hikari.StoppedEvent, self.on_stopped)
self.event_manager.subscribe(hikari.StartedEvent, monthly_report) # monthly report
print("โญ โข Running bot...")
super().run(
activity=hikari.Activity(
name=f"@Helferline โข Version {self.version}",
),
status=hikari.Status.ONLINE
)```
^ this is likely the easiest way
Just for my understanding What am I looking for?
Do I want to find the bot object or..
hi zeki
can you talk ?
hi alisa
i m trying to learn python network programin
but i dont know how start
!resources
._.
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
what is this
!!!!Announcement!!!!
https://youtu.be/v4nfF_pf7iU?si=CA7pz0ytot-GAREa
Surreal DB 2.0 just dropped and it's going to be a banger, a world changer and outright data baby maker....
A world paradigm like this has been introduced.
The whole programming language on top of an included with surrealDB !
๐ We are delighted to announce the release of SurrealDB 2.0, with new advancements in stability, performance, security and data management capabilities to build powerful, efficient and secure applications. This latest release represents a major leap forward in database technology, with SurrealDB 2.0 specifically engineered to empower developers ...
how low-level are we talking? TCP/IP? HTTP?
blazingly fast ๐
any think about network
how familiar are you with asyncio?
tcp , udp , dhcp client . threads
0
Source code: Lib/socket.py
This module provides access to the BSD socket interface. It is available on all modern Unix systems, Windows, MacOS, and probably additional platforms.
Note
Some behavior may be platform dependent, since calls are made to the operating system socket APIs.
Availability: not Emscripten, not WASI.
This module does not work or is not available on WebAssembly platforms wasm32-emscripten and wasm32-wasi. See WebAssembly platforms for more information.
the documentation has a number of examples
if you're looking for a tutorial not just documentation,
https://realpython.com/python-sockets/
I haven't heard of any books that focus on Python networking, but there probably exist some
yeah, before doing anything network, make sure you understand the whole of python tutorial
Erlang, Rust
starting with real blessed recommendations I see
for socket-based servers you will almost certainly need threading, so learn basics of that too
the alternative way is to use asyncio
which provides/wraps both socket- and threading-like concepts
Elixir was and is running on top of BEAM, the Erlang virtual machine
(from what I remember, that never changed)
payload?
or am I mishearing
example of what you can make with asyncio:
https://gist.github.com/afeistel/8f05ff74b843baebd44fc3f7644ae344
https://gist.github.com/afeistel/3ff7258d8669879f571d0f641a2b9d23
Yes
I can hear
basic Linux and cybersec question:
why is io_uring disabled on default Docker settings?
that doesn't explain why io_uring is difficult to contain
which is that you're directly passing buffers from userspace to the kernel
way too directly
since I saw AI, at least formally, pass this, I made it more reality-adjacent
https://parrrate.github.io/exercises/exercises/get_functions.html
so now that solution I saw no longer works
would be funny if that adjustment would actually increase its success rate given it's now closer to what it could've seen before
that's some real metaphilosophy out there
@sour imp the next level is nazbol
all characters are equal width, some are just more equal width than others
VSC terminal breaking like this is very cursed
animal farm/brave new world?
same terminal panel, different width
very pain
How Uno Reverse And Draw 4 works ๐คฃ๐คฃ๐คฃ
"what happens when a tutorial provides more than one way to do something"
https://www.youtube.com/watch?v=AG3KuqDbmhM
In this fast-paced talk, I'll start with the well known API for turtle graphics, and then stretch it to the breaking point by creating 13 different implementations, each demonstrating a different functional programming technique.
Along the way, we'll use partial application, functional dependency injection, validation with Success/Failure result...
^ F#
that's just all answers on stackoverflow for Rust
> how to do it
> don't
> that's not the right way to do it
> what's the right way
> not the one you're trying
BEGIN_LICENSE_AGREEMENT
COMMENCE_LEGAL_PROCEEDINGS
SUMMON defendant
SUMMON accomplice
READ_EVIDENCE criminal_records.txt
DELIVER VERDICT The defendant's prior convictions: (defendant)
DEFINE STATUTE calculate_sentence
sentence_length = defendant * 2 + accomplice
DELIVER VERDICT Justice shall be served for (sentence_length) years!
END STATUTE
calculate_sentence
damages = defendant * accomplice * 1000
DELIVER VERDICT The court orders restitution of $(damages)
WRITE_VERDICT permanent_record.txt
CASE_DISMISSED
END_LICENSE_AGREEMENT
popular cryptanalytic tool
(as for usage instructions, refer to online materials)
that doesn't sound like something too old
(there might be some regional nuances to tech)
when was the last reasonable year to still use floppy disks
so before 2008
quite a good language for writing other languages
rustc used to be implemented in OCaml
:incoming_envelope: :ok_hand: applied timeout to @compact axle until <t:1726619195:f> (9 minutes and 59 seconds) (reason: duplicates spam - sent 4 duplicate messages).
The <@&831776746206265384> have been alerted for review.
!tvmute 518533227590189056 "2 weeks" Spamming messages to up your message count is not the way to get voice verified. You can still join voice channels without being verified; you just have to get some legitimate server activity in order to get verified.
:incoming_envelope: :ok_hand: applied voice mute to @compact axle until <t:1727828314:f> (14 days).
import hashlib
def convert_text_to_sha1(text):
digest = hashlib.sha1(
text.encode()
).hexdigest()
return digest
def main():
user_sha1 = input("Enter the SHA1 to Crack: ")
cleaned_user_sha1 = user_sha1.strip().lower()
with open('./not_passwords.txt') as f:
for line in f:
password = line.strip()
converted_sha1 = convert_text_to_sha1(password)
if cleaned_user_sha1 == converted_sha1:
print(f'Password Found: {password}')
return
print("Could not find a password.")
if __name__ == "__main__":
main()
OCaml is another ML derivative
with, if I remember correctly, some notion of ownership model
@hollow hawk this channel
@vocal basin what do you know about ocaml ?
Rust (Actix) vs Zig (Zap) performance comparison.
๐ [Playlist] New Benchmarks: https://youtube.com/playlist?list=PLiMWaCMwGJXmcDLvMQeORJ-j_jayKaLVn&si=p-UOaVM_6_SFx52H
๐ด - To support my channel, Iโd like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
โฌโฌโฌโฌโฌ Experience & Location ๐ผ โฌโฌโฌโฌโฌ
โบ Iโm a Senior Software Engineer...
this stuff is so cool
Richard Phillips Feynman (; May 11, 1918 โ February 15, 1988) was an American theoretical physicist, known for his work in the path integral formulation of quantum mechanics, the theory of quantum electrodynamics, the physics of the superfluidity of supercooled liquid helium, as well as his work in particle physics for which he proposed the part...
fineยทmuhn
Mandelbrot Set
a fine man
hey guysss howdyyyyyyyyyy
do any need
any ux designer
if yesss
i m there to hel u guys
help *
import requests
from itertools import product
def brute_force_directories(url, wordlist):
for word in wordlist:
response = requests.get(f"{url}/{word}")
if response.status_code == 200:
print(f"Found: {url}/{word}")
!code
hey
import requests
from itertools import product
def brute_force_directories(url, wordlist):
for word in wordlist:
response = requests.get(f"{url}/{word}")
if response.status_code == 200:
print(f"Found: {url}/{word}")
@somber heath
import requests
from itertools import product
def brute_force_directories(url, wordlist):
for word in wordlist:
response = requests.get(f"{url}/{word}")
if response.status_code == 200:
print(f"Found: {url}/{word}")
dict = {
"name" : "HOLOKAST"
}
That comes with python
@snow prairie ๐
@warm parcel ๐
@modern root ๐
Lin E.R. algebra.
"Please help me. My arm fell off."
"Okay, first, solve for x."
A VM That is Dynamic and Fast. Contribute to FastVM/minivm development by creating an account on GitHub.
yes
@worn cradle ๐
hey
I am going to study physics
don't coding
sure, I am studying it now
Clothes!
Ofc ik that
so why are u asking?
I mean when you feel fancy what would you wear at work?
Idk i feel like to wear fancy colourful stuff all the time
But had to stick with formals and i hate that
I wish we could wear cool clothes at work place too
do u guys know about queueing theory?
Please stop there
Just tell me
Well, wear that feels u good fook the world
Queueing theory is the mathematical study of waiting lines, or queues. A queueing model is constructed so that queue lengths and waiting time can be predicted. Queueing theory is generally considered a branch of operations research because the results are often used when making business decisions about the resources needed to provide a service.
...
STOP
You guys just start to act professional in vcs I hate that
it's sound easy but fookin difficult!
STOP
what?
Because you're not answering my question
ask!
This
it;s ur life choose what u like
I'm asking you what would you wear???
Mostly shirts and pants I feel comfortable on that
You know what forget it, you're no fun
r u high tonight!
GO and rest!
You're not my parent
I wish I could voice chat alr ;-;
what's ur age?
U seems to be 12 yr old kid
discord is only for 13+
go and do ur homework!
U will send 50 msg!
For people in voice:
How do you go about designing your DB structure without getting overwhelmed with all the branching?
i use mostly datalog based DB's so i dont have much structure to talk about
googling this now
@somber heath everything is fair in love and war
its not super good for beginners
Ah yes I see
I'd prefer to stick with a traditional SQL structure rn but thanks for showing me your option
I only know of its history; as for language itself, not as much
Ray tracing engine, from scratch, in C++. Contribute to mustafaquraish/rt development by creating an account on GitHub.
hello
hey mr.ahmed the amazigh
are we leetcoding
..........................
merge N linked lists is fun one
there was some very cursed one, trying to remember what it was rn
GitHub login UI looking highly engineered as always
leetcode 420
a what
I don't remember doing that
(as in reaching low memory usage)
yeah, just DP-ish and don't store too many leftover results
||```py
sorted(filter(3 .le, map(len, map(''.join, map(itemgetter(1), groupby(password))))))
ah, right, back when I was writing python as if it's lisp
(there are less bad ways to do what that code does)
okay this might've been misinformation, I can't come up with something more concise without loops
!e
from itertools import groupby
for _, g in groupby("aab"):
print(len(g))
: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 | print(len(g))
004 | ^^^^^^
005 | TypeError: object of type 'itertools._grouper' has no len()
did I just put three spaces there
I put one
then decided it's too bad aesthetically
tried to to put four
!e
from itertools import groupby
for _, g in groupby("aab"):
print(type(g))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | <class 'itertools._grouper'>
002 | <class 'itertools._grouper'>
!e
from itertools import groupby
for _, g in groupby("aab"):
print(dir(g))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | ['__class__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__iter__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__next__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__']
002 | ['__class__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__iter__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__next__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__']
it's an iterator
!e
from itertools import groupby
for _, g in groupby("aab"):
print(*g)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | a a
002 | b
!e
from itertools import groupby
for _, g in groupby("aab"):
print(len(list(g)))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 2
002 | 1
imagine even having a rรฉsumรฉ
!e
from itertools import groupby
for _, g in groupby("aab"):
print(sizeof(g))
(I'm still far enough removed from reality that applying to jobs is irrelevant)
sys.sizeof
damnn bro, after scrolling for hours this is the first chat
!e
from itertools import groupby
from sys import sizeof
for _, g in groupby("aab"):
print(sizeof(g))
: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 | from sys import sizeof
004 | ImportError: cannot import name 'sizeof' from 'sys' (unknown location). Did you mean: 'getsizeof'?
eh
!e
from itertools import groupby
from sys import getsizeof as sizeof
for _, g in groupby("aab"):
print(sizeof(g))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 48
002 | 48
_grouper is a lazy iterator
it only requests for a new item from the underlying iterator when requested
so, since len is supposed to be non-destructive, it can't work
also, generally, len is supposed to take a finite amount of time to compute
(this is a joke)
as in you can't go get a len of next(groupby(repeat(element)))[1]
this was mentioned in some video that I haven't watched
if you're solving in Rust or other language unpopular for leetcode, you can just be the first (only) one competing
easy beats 100%
should make an extension that adds Ocen to leetcode UI which compiles to C behind the scenes
can the compiler run on wasm yet?
ohno, I just remembered how painful it was to compile the C kernel for jupyter
thinking of whether it's possible to interpret C in whatever
sandbox in a container in a vm
minimal performance maximal paranoia
I should research how ejudge does sandboxing if any
they recently switched to docker
as in within the last ten years
!source eval
Run Python code and get the results.
ejudge is a specific self-hosted service for testing code in academic-ish setting
universities, programming competitions
compile targeting musl, run in a FROM scratch image
idk if that will actually work
!help
are u talking to yourself?
who to whom
yes
@sour imp whats up
It is
It is going good
the time is 6:27
PM
just barely
I live in michigan
nice!
ew
lol jk
so in verification for vc
it says active for 3 10 minute blocks
what does it mean by blocks?
ah okay
heard
TBH I don't know if I have been active for 3 10 minute blocks
I just have to send 50 messages
that is what it says
How long have you known python?
pardon?
thats
a long ass time
hopefully I code for a long time
I know
I plan to join the air force for cybersecurity
the recruiter wants me since of the sec+ cert I am getting
going over it I saw that air force has better everything
like
everything...
LMAO
1 sec
Hello
Hi
Hello
I canโt speak
Iโm not verified
Iโm voice chat
I need 50 messages
This is dumb
You;ll make it . its not that much.
True
Iโm just trying to figure out
How I can check how many I have
Without having to press the verify button
And going back to check everytime
just wait for 3 days. That's also a criterion. Help someone out in help channel.
@daring totem ๐
Hyello opal
turns out, not only did I joined deafened, but also with sound turned off on the system
Went up 4 flights of stairs๐ญ
I'm pretty unfit ๐
Happens to the best of us
Do you want to see ะผัััะตั ะผะธั
Mister mouse :) (rat)
woke up, as usual, in the middle of the day
Based bad sleeping schedule
I'm gonna look at rats on Instagram
stuff at work is in some weird state where everyone is in a hurry but almost nothing is assigned to me
why am i suppressed here?
"if the original code isn't packaged well enough for you to use via import so that you need to copy, it's their problem"
there do exist reasons to replicate other things from scratch, including licensing
rewrite it in Haskell, make it truly functional
๐ @robust gazelle
taking a specific part out of another codebase and adjusting it to your needs is completely normal;
just check the license for whether it requires attribution (often it does)
@upper basin I remembered a perfect meme for the original question of whether someone makes you feel like a fraud
there do exist licensing restrictions on using something as a reference, but that's something rarely seen in open-source
Yeah, most of the code I use is usually apache 2.0.
as for proprietary code, that is the reasons why current and past Microsoft employees are not allowed to work on projects like Wine:
so that Microsoft can't claim legal as much stuff against the project as a whole
Rust projects often do this:
So, practically every package out there uses Quantum Shannon Decomposition to do unitary synthesis (it's basically the best practice at this point), so I tried to save time and use a clean, functional implementation of it SO that I could get back to my compiler.
Issue is that I used Cirq (Google's package) which is just broken, it doesn't work for the most part. I worked on it for like two days, and it seemed like it was fixed, but still for certain matrices it returns wrong results.
Also, the cost of it is 14 percent more than what I am usually using through Qiskit's QSD, so I am now trying to implement Qiskit's way. Issue is that it's SUPER nested. For good reason, but I need time to figure out how it would even fit in with the overall qickit.synthesis module I have.
My package is already Apache 2.0, and theirs is also Apache 2.0. Do I need to still put theirs in as well?
normally licenses aren't duplicated in dependent projects
@old niche๐
including for the reason of relicensing
I'm trying to reduce my dependency for certain stuff too, hence the whole mess I'm trying to clean right now hehe.
I try to put links to original code whenever it makes sense
For these I have been doing this as an example:
class QiskitCircuit(Circuit):
""" `qickit.circuit.QiskitCircuit` is the wrapper for using IBM Qiskit in Qickit SDK.
Notes
-----
IBM Qiskit is an open-source SDK for working with quantum computers at the level of
extended quantum circuits, operators, and primitives.
For more information on IBM Qiskit:
- Documentation:
https://qiskit.org/documentation/
- Source code:
https://github.com/Qiskit/qiskit
- Publication:
https://arxiv.org/pdf/2405.08810
"""
...
less so for the reason of licensing, but mostly to not lose track of code history
Would this suffice?
How so?
I have a reimplementation of std::sync::Arc in one of the repositories;
in case someone less experienced wants to add weak references to my version, mentioning where it comes from will make it easier
eh
proofread everything AI outputs
including docs and tests
and comments
and what's the best way to proofread comments? remove them
HEHEHE
nothing to check => everything checked
Just erase the problem.
Love the times it gets stuck, and just comments everything the same thing.
I have this at the top of the package, even though the code isn't public yet (and maybe will never be)
//! References
//!
//! * <https://github.com/oxalica/async-ffi/issues/19>
//! * <https://docs.rs/async-ffi/0.5.0/src/async_ffi/lib.rs.html>
//! * <https://zeromq.org/socket-api/>
//! * <https://doc.rust-lang.org/stable/src/alloc/sync.rs.html>
code highlight broke, amazing
//! doc string
huh
why is it not recognising
is * breaking it
//! * item
it's reaching the limit of /s it can handle lol
amazing
not just a product of two independent states => entangled
is it not public yet?
No it's not public yet.
there is a read-only collaborator option iirc
but that option requires first adding with write permissions
which is suboptimal, in general
I think I have.
Whichever you prefer really.
I sent you an invite.
^ this applies to per-repo per-user
(not teams)
Ball.
Yes.
Baaaallll.
I have teams as well I think.
yeah, teams is the only way not to run into "permissions set after adding" issue that I know
put this in a python subprocess command:
C:\WINDOWS\RUNDLL32.EXE shell32,SHExitWindowsEx x
Where x is either 0, 1 or 2 based on the following table:
0 - Log off
1 - Shutdown
2 - Restart
this is from:
http://www.winguides.com/registry/display.php/900/
@vocal basin I was about to cry if that stretched on any longer HEHE.
I'm blind, I couldn't see the extra .T that was undoing my transpose.
@vocal basin You have Write access, right?
I think I gave Member roles Write access.
unless GitHub is having UI skill issues, yes
scp -r
if you have separate systems
@bleak copper at that point, ZFS only
or "ZFS: we're scared of CDDL edition" aka btrfs
openSUSE defaults to using btrfs which is quite convenient
Gonna eat dinner, and get back to this.
I missed the context but I heard 3D, was it 3D cache for AMD?
@lime fractal check this.
@bleak copper Minecraft, especially with mods is extremely RAM-hungry
and the Java GC pauses are cursed
I remember playing Minecraft in around 2015 and getting ~500fps on a regular laptop;
nowadays I can barely get stable 60 fps without mods on relatively good hardware, I have no idea what they did to the game
Minecraft's whole approach to threading is odd
disable V-sync
you can't go above monitor fps with V-sync on
from what I remember, optifine does something about it but even that is limited
Aren't the older versions available?
they are
Could we peek at the source code?
it's proprietary, I'd expect
It's tedious, but that could shed some light.
as for processing of the world, only dedicated server is able to take full advantage of multithreading
@upper basin C extension
is that file in Git?
likely uses maturin/pyo3
@upper basin _accelerate?
or some other package?
I should probably put Rust binding on my TODO list too hehe.
For QMPRS.
The profiler shows massive delay on QR and SVD ops. Here:
They're using numpy (C) code so not sure if it'd make a big difference or not.
pyo3 is quite easy to use compared to plain C interface
I'll check it out.
(though note that same Rust type across separate DLLs is considered as different types)
which might be confusing at times
caused by the fact that Rust doesn't have an ABI
to get compatibility across compilations you need some extra stuff via, for example, abi_stable crate
I'm new in python guys.
I'm very interested to learn python in data engineering, quantum computing and data analytics.
I would suggest checking the MIT OCW courses on this. 6.0001 and 6.0002.
Google MIT OCW, and search 6.0001 and 6.0002 in the search bar.
Both have lecture videos, assignments, etc.
I hope I can learn those thinks since I'm from third world country.
They're good resources.
But the best way to ensure you've learned things properly is to make projects.
Anything really, as long as you're thinking about the code you're writing.
To know when to use what.
there should be a compatibility check but I don't remember where
since the layout logic there allows extending some types
specifically prefix types
trying to poke around in linkedin again
what a slow website
it either takes multiple network round trips to navigate or the server itself is slow
I'm using the non-outdated username there
same as on discord
parrrate
oh lmao I still have the organisation name in caps
even though it's not really an org anymore
only me left there
Hehe
notifications are the only optimised-ish part
Qualition is basically me too.
still waiting for PR to be acknowledged
but it's completely non-critical
@molten pewter it was added to Python to make numpy more convenient;
Python itself has no uses for that operator (binary @)
why are there both
uh
(I have no idea what I'm looking at but ig openproject just supports both so that's why)
I'm back from trying to find how to create an admin account for openproject
apparently I was just supposed to assume it's already created with credentials admin/admin
!e
print(2 ** 1000)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652624386837205668069376
@somber heath I am sorry, I'm done. Please come back.
brb
@warm hawk ๐
hey
River Tam yells too much hair. Episode 7 Jaynestown.
@rugged root Hey
Google Drive backs mine up automatically since I have an Android
@rotund crater You can ask him here
Alright!
Hi @rugged root! I'm Juan and I'd like to stream my project on the live coding channel. It's just a personal project but I'm excited with all the output I've gotten from it, can I do it please?. Before that, I want to stay to watch what your streaming for a while.
@red nymph ๐
I also don't really take a lot of photos so I don't think a lot about it
Yeah we can do that later. What's the project?
External drives are a good option too
Oh I was actually looking for streaming in the live coding channel. My project is a blackjack game that fetches card decks from the deckofcards api and uses streams/sockets to allow two players to playing. The UI is planned to be made with Textual. It's basically a TUI app.
A while ago the good people at Werribee Open Range Zoo let us try out their unfinished Gorilla enclosure... Well now it's finished and from November 7 there will be some even realer Gorilla's in there. Go and check 'em out! (They're probably not as good at golf as us)".
Subscribe for our new videos: http://www.youtube.com/subscription_center?add...
@whole bear What?
this looks easier than lua with making ui
Idk lua but okay.
looks good ๐
Thanks
if you want to keep the source private, don't ship the software to users, host it as a service
So the thing is we typically give video perms as needed when there's an admin or mod available to do so. As we get more comfortable with people, we grant then a 3 week probationary period where they just have it on them. If they prove they're trustworthy after that period, they get it perma
But initially...
@rugged root Can you help? I am not able to install chatterbot
!pip auto-py-to-exe
Makes life so much easier when making an exe
Awesome, that's understandable. I just want to put myself on streaming so I feel more comfortable with people looking at me working to improve social skills for interviews initially but also I'd like to socialize in the server
Installing it then I will try again
The more you push for making the code commercial and private, the more you'll notice it damages the software quality in the long-term.
I speak from experience.
I am really inclined to make my own commercial projects to Apache 2.0 at this point. Reason being is that it makes collaboration much easier, more people would use it, and people would be more inclined to contribute to it.
Oh for sure, totally get that
@rugged root Same error
As long as the code is open-source, no matter how strictly you license it, people can always reproduce it by means of reverse-engineering. We as developers do it all the time.
Might as well just make it Apache 2.0 or MIT at that point.
Looking
Yes it is chatterbot only
reverse-engineering some languages to their original form is extremely hard
I did that
including Rust
but still
Thinking
I didn't say it's not hard, it's admittedly hard (as you saw it today with me trying qiskit's approach). However, it's doable if you got the know-how.
@amber raptor End-stage crapitolism.
The more ingrained the code is within the core of the language/package (i.e., how deep it goes, like a tree graph with many, many layers of classes VS a wide, broad tree with few layers of classes), the harder it'll be, but it's still doable, and depending on what the code does worthwhile or not.
capitalism feels like a pun on cap-italism (all bs, all lies).
@ashen pebble ๐
@upbeat bobcat From what I'm seeing, chatterbot only seems to support up to Python 3.8
comes from inlining+generics
1K functions in source getting turned into 10K functions in binary
Oh so I should not use it?
Exactly, it's hard if it's really deep within the software.
Qiskit's unitary synthesis goes to the very core of the package, basically to DAGCircuit. It was just really deep (however, it feels like they could do it with a flatter implementation).
That I don't have a good answer for
Thanks
All you need to know
useless metrics my beloved
especially the last column
100% 0/0 โ
New math discovered.
new sponsor to this VC replacing our previous sponsor, RAID SHADOW LEGENDS
More and more data brokers are just flat up ignoring them
Outside EU and a few states, they can flat up ignore you
"our responsible use of data: us and our 600 partners do our 'best' (nothing) to protect your information"
reverse-financed internship
aka
scam
We conspire with work with various data aggregator companies to temporarily suppress your info for a cut of the profit remove your information!
One of the most popular CreativeMornings talks of all time, Mike Monteiro gives us some valuable advice on how to get paid for the work that you do.
Mike Monteiro at CreativeMornings/San Francisco, March 2011. Free events like this one are hosted every month in dozens of cities. Discover hundreds of talks from the world's creative community at ...
someone hung this up at work
soon there will be one table with all the cups from all work colleges? ๐
the text above says
"It is recognised that not everyone is able to put cups in the dishwasher. A masterclass will soon be organised for those who have not yet mastered this skill.
If you don't manage yet, do not place your cup on the counter, but on the desk of a colleague who has already mastered this skill."
lol ig
International Talk Like a Pirate Day is a parodic holiday created in 1995 by John Baur and Mark Summers of Albany, Oregon, who proclaimed September 19 each year as the day when everyone in the world should talk like a pirate (that is, in English with a stereotypical West Country accent). It has since been adopted by the Pastafarianism movement.
do you have a hat ?
@rugged root convince the accountants to talk pirate all day
it's differentiation
but
in some languages it's also named the word that translates as "derived"
differentiation, the process
derivative, the result of that process
amazing
new coworker's commit name: fix comments
contents of the commit: all comments removed
finally someone who understands programming
sometimes you can, sometimes you can nada
AF, halp. I started looking into things like natural log and Euler's number
I don't know why
But I'm starting to partially understand it and I don't like that I do
Still some confusion, though
Like it feels like we found these numbers out of thin air
Pi confuses me in the same way
more like they appear everywhere
so it just gets a name
just something not representable as a ratio
(of whole numbers)
square root of two is somewhat simple to prove irrationality of
don't scare spiders that much
True. They are more scared of us than the other way round
Hey what's the scenario after US Fed interest rate easing?
You can actually re-discover pi using a sampling approach.
It's a fun thought experiment by MIT I believe. They draw a circle with a radius of 1, and put it inside a square of size 2 by 2, and they cover the entire surface with needles. Using the ratio of the needles inside the circle (the surface of the circle, pi r^2, where given r=1, it's just pi) and the surface of the square (2 x 2 = 4), you can calculate pi to some approximation.
!e
print((sum(1 / i ** 2 for i in range(1, 1000000)) * 6) ** .5)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
3.141591698659512
I'm guessing as the range is larger the more accurate it'd be?
the approximation is very slow
!e
from math import pi
for j in range(0, 6 + 1):
print(pi - (sum(1 / i ** 2 for i in range(1, (10 ** j) + 1)) * 6) ** .5)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 0.6921029108066152
002 | 0.09223101760772323
003 | 0.009516121780686948
004 | 0.0009545973838003263
005 | 9.548964258376813e-05
006 | 9.549263352059967e-06
007 | 9.549293258359626e-07
Math is weird
That's the game I was talkin' about
OpenJiraClone is so confusing
too many settings and everything
dreams of exponential Bitcoin dancing through your head @rugged root
they too want money, aggressively
Just numbers getting bigger in general. I love incremental games
take on debt and ignore the minus
mooses , mooses
I'm very confused on what 5.51 means here
that's just what the service sees
@dense ibex what language/lsp?
theoretically, your code might be too convoluted for it to understand
but that's rare
or not your but that of the package
(I've seen it fail because of that)
interesting
archive data to avoid ransomware
uhh I mean it's a fastapi app with like 30 routes
most times it just doesn't know what the type is
have you (re)selected the interpreter
yes
300 M install for Pycharm
if you're looking for a more stable LSP,
then
not PyCharm
mine takes up 1.73 GB of space
but your doing multiple languages , I assume
PyCharm is better at guessing
and worse at being correct
generics and PyCharm LSP don't mix well
Theia is an open-source cloud ย desktop IDE framework implemented in TypeScript.
still haven't tried the Eclipse's thing yet
it likely indicates the version of the software or tool used to measure the disk space.
turbo pascal ๐
blazingly fast compiler and IDE for a dead language
yay it gives a checkmark for not having admin/admin as creds
why is it in American locale
and how do I change that
uh
I can't find
Odin mentioned
supports Windows
ohno
I saw something terrible in the UI
so I changed locale to Russian
that, at least, makes the date correct
but
it still shows am./pm.
AND
not as am/pm
but as, quote, ะฃะขะ ะ / ะะะงะะ ะ
(MORNING / EVENING)
in caps
OpenProject web UI
OpenJiraClone
no, Windows has a funnier thing
did you know that lock screen time updates only each minute?
even if you turn on seconds display
so it looks like the time is frozen
does JavaScript count
I meant Lisp
Object Script
I used Lisp for Tree-sitter queries
that's the most non-JS Lisp I've ever written
code analysis
I've watched videos on it
idk if Haskell counts as weird
1ะก probably too
countdown to Mochi arrival @peak depot
Erlang is in the `unusual' category too
same VM
I've written some Nim code before also
F# I've written with goals of actually having that in software others use
I haven't written any BASIC code (and none of it semi-direct derivatives like VBA)
Visual Basic was one of the languages in my course work back in college
King Nimrod
Oh god that's right
GDScript apparently is very old
what a funny collection of languages
sounds like response to
HA
but where is ISNTLISP
Godot's language?
yes
It'd be as old as Godot I would think
yeah, 2001
they've been using their own language from the start
Object Script 1990
another language I should learn
ML, the language, just like ALGOL, influenced basically every modern language
Reason lets you write simple, fast and quality type safe code while leveraging both the JavaScript & OCaml ecosystems.
Do you know about Mumps
?
1960
Massachusetts General Hospital Utility Multi-Programming System
* 1966
six years
reminds of PL/I
Multics, the OS, has been written in PL/I (and successfully overengineered) before any PL/I ever existed
Is REXX being used anywhere ?
Probably somewhere
so many acronyms
IBM and Amiga for REXX , AREXX
game of using old microsoft word without getting interrupted by clippy
age of empires and counterstrike
for minesweeper I prefer minesweeper.online, for many reasons
speaking of that,
@rugged root
https://minesweeper.online/game/3753839970
(there's a replay)
@peak depot I heard that as "eating, like, a groundhog"
your new poop machine will soon be delivered @peak depot
yes
with integrated graphics it was more fun I kinda of miss that now it's all about fps and refresh rate hz and display quality and external hardware
it's quite visible there how I just have brain pauses in the middle of the process
earthworm jim ?
bomber man
Yeah I noticed some hesitation
Still, fucking crushed it
MoleZ
๐คฃ I might have skipped this because of featured image
I'd never heard of this one at all
this were fun but also somewhat unfinished
https://en.wikipedia.org/wiki/Gary_Gadget
I was never able to find any other than 1ะก-published translations
trying this live-ish
https://minesweeper.online/game/3760052398
@upper basin
three free cells to the left
50/50
@rugged root I've played on XP, it can start with non-0 too
you are playing in expert mode
catastrophe happened
@rugged root eight days arena
I got something like 150~200s on a touchpad
arenas
like this
@upper basin @rugged root flags are optional for reaching <100s time
https://minesweeper.online/game/3312480386
Show off HEEHE.
Get a rice cooker
Gas is cheap than Electricity in my country
I'd describe it as conscientiousness
hi โค๏ธ
"it's sparking" in case of plome might mean either clean or funny in an electrical way
Yo, not bad
รถ = island
it looks like ๐ฎ I used these as emojis when I didn't know these are separate characters
elf vs elves