#voice-chat-text-0
1 messages · Page 429 of 1
Did they forget that asprin is a drug too?
👀
The pharmaceutical companies push drugs every day
"drugs"
was the commercial I thought

minecraft_hex.exe یک بازی دارای باج افزار است
😂
it's a bot ?
کیر خر
!mute 1349447686834618448 Please abide by rule 4. Also, do not try to adverties or encourage people to pirate software.
:incoming_envelope: :ok_hand: applied timeout to @signal raft until <t:1741887899:f> (1 hour).
can you translate please
!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.
No no, you're fine, Be
What's the question
Sorry
tautology
You mean this? I don't know if we specifically have anyone on here
Which one the translation request or the request for french people?
I mean I'm sure we do, but it's better to just ask questions in general or ask for help
you didn't understand
I know my English isn't perfect but still ^^
Yes. I'm willing to bet on it.
I'll ask the question in the general channel
If there are no french people in a server of 400,000 I'd be insanely surprised.
Wait
Which is why I'd put money on their presence
I will tell him
I will say "404 called you French"
there must be a few French people like me on that server!
😂
I'm having issues of taking python to make code
Exactly
What's got you stuck?
Didn't look at the slip that said "Italian : Room 200"
🥳
me too
@rugged root yes i do
Scroll up and find the Persian, it's not common in the channel.
@rugged root isn't that the same
the code wont work when i transfer
What's the code?
Send it, we'd love to help you 🙂
Just scroll up my guy
I recently tested cloudpanel and am very satisfied with it for my hosting projects. Who knows or uses cloudpanel?
Only one person was speaking persian
I need some help
and we were all replying to em
I've looked into it but never really used it. It's similar to pterodactyl though, right?
import random
import time
Player stats
player_health = 5
player_ammo = 5
level = 1
print("Welcome to the Text-Based Shooting Game!")
print("Defeat enemies to survive and reach higher levels.\n")
while player_health > 0:
print(f"\n--- LEVEL {level} ---")
enemies = random.randint(1, level + 2) # More enemies per level
print(f"{enemies} enemies appear!")
while enemies > 0:
action = input("\nDo you want to (S)hoot or (D)odge? ").strip().lower()
if action == "s":
if player_ammo > 0:
player_ammo -= 1
if random.random() > 0.3: # 70% chance to hit
print(" You hit an enemy!")
enemies -= 1
else:
print(" You missed!")
else:
print(" Out of ammo! You must dodge instead.")
action = "d"
if action == "d":
if random.random() > 0.5: # 50% chance to dodge
print(" You dodged successfully!")
else:
print(" You got hit!")
player_health -= 1
print(f" Enemies left: {enemies} | Health: {player_health} | Ammo: {player_ammo}")
if player_health <= 0:
break
if player_health > 0:
level += 1
player_ammo += 3 # Refill ammo
print("\n Level cleared! Moving to the next one...")
time.sleep(1)
print("\n Game Over! You survived until Level", level)
!code
@rugged root
That might be the problem
you're just "finding" these things
that might be the reason it was abandoned
I am trying to start my first real project and I tried to use git and push to git hub and for some reason my venv is not working correctly
lol
I can't tell you I don't know pterodactyl. On the other hand, I tested cloudpanel and frankly it's a good open source solution for my website projects.
Problems20
Line 1: No module named 'tiles.place_on_tile.castle.tile_grass1'
Line 2: No module named 'tiles.place_on_tile.castle.tile_grass1'
Line 14: can't find called function 'random.randint'
Line 14: name 'random' is not defined
Line 14: unknown object type; cannot lookup attribute 'randint'
Line 18: can't find called function '(undef)' 2
Line 18: calling non-function
Line 18: module 'input' has no attribute 'strip'
Line 18: unknown object type; cannot lookup attribute 'lower'
Line 23: can't find called function 'random.random'
Line 23: name 'random' is not defined
Line 23: unknown object type; cannot lookup attribute 'random'
Line 33: can't find called function 'random.random'
Line 33: name 'random' is not defined
Line 33: unknown object type; cannot lookup attribute 'random'
Line 48: can't find called function 'time.sleep'
Line 48: name 'time' is not defined
Line 48: unknown object type; cannot lookup attribute 'sleep'
Line 50: too many arguments in call to 'print'
I'm not getting this same error. It works perfectly fine for me
Hemlock does not do fully remote physical debugging of hardware it seems
where are these problems shown?
lol
Fix it
🤣
make code
Its old 1 upstairs
I'm dying
too many arguments in call to 'print'
this does not sound like python 3
💀 🪦
What im i dowing wrong here
When you run it does it immediately go to the errors or does it run normally?
@rugged root can you figure out what hardware part is faulty?
are these shown in some IDE? or in the terminal? or somewhere else?
😆 😂 🤣
immediately
No beeps so
It runs perfectly for mine, I'd recommend reinstalling python
I'm gonna die, I think I should go before the death becomes me
where not when
ok
where is that list of problems coming from?
I asked him that

some people are just mad
if you're gonna let every one of the 7 billion people out there get to you
life gonna be hard
Do you have VSCode tied to an interpreter?
if it's not finding builtins, it probably isn't finding Python
That's fair
Don't know why I didn't think about that
it could be micro:bit python
bottom right corner should show
it's not a normal python I think
it's kind of expected that embedded doesn't have random
should I trun it off before touching the board?
@lime fractal the entire problem is your capacitors, just take some pliers and rip em all out!
:)
?
Being a jackass
I thought
im doing it in makecode arcade
these are only three results I see when looking up one of the errors
I'm it's not safe, it's also not deadly.
Do i just plug in ?
It is definitely a deadly task
A powered down motherboard will not have enough voltage left in a capacitor to kill someone, shock them sure, make it painful, plausibly, but not lethal.
fucking with capacitors, they can hold enough charge to kill
In a power supply, absolutely 100%. On a motherboard, plug it in and then it's lethal.
Capacitors hold power after the board is unplugged BTW
I'm well aware
But there is a cool safety feature called voltage draining because we've proven time and time again that people are insanely stupid.
On these old from the attic boards?
We dont know how old it is
Irregardless;
Capacitor Size & Voltage – Motherboard capacitors are typically low-voltage (e.g., 12V, 5V, or lower) and don't store enough energy to be lethal. However, power supply capacitors (inside the PSU) can carry much higher voltages (up to 400V in some cases) and can be dangerous.
Discharge Rate – Many capacitors discharge quickly after power is removed, but some can retain a charge for minutes or even hours.
Potential Harm – While motherboard capacitors are unlikely to cause serious injury, power supply capacitors can deliver a dangerous shock, especially if you touch them before they fully discharge.
I don't think that environment is compatible with sleep and input
it's made for programming micro:bit, an embedded device
you can however use randint
directly, not via random.randint
As I stated previously, motherboard capacitors are not lethal unless powered on and actively pulling current from the psu. A PSU capacitor can be deadly for a very long time, never touch a power supply's internals. As said when making the joke in VC twice, "The problem is your motherboard capacitors, rip them out!"
there is control.wait_micros though
At no point did I tell him to touch the PSU, a graphics card that old wouldn't have capacitors high enough in voltage or coulombs to kill someone, and the motherboard doesn't require that high of a voltage or amperage (coulomb) to kill someone.
I don't condone lethal actions, shitty actions? Possible. Painful actions? Once in a blue moon. But I will definitely never implore someone to commit an act of self delete.
Experienced it from too many of my own friends 🙂 don't feel like having others go through that.
f-strings don't seem to work there either
Keep telling people to play with capacitors, that's a great way to teach stupidity
I prefer to err on the side of caution, to each their own
Tell them it's fun to play with one, they can interpret that means play with all
I prefer to say "capacitors can kill"
You do you, I'll do me. Some people need to touch a motherboard capacitor once in a while. You can't fix stupid but you can sure as hell help it.
Pissed off?
I'm not pissed off
thank you very much
you don't need to tell me what my feelings are, since you don't know me, like at all, as we've already discussed
generally voltage doesn't kill, current does
On top of that, this server is not here to give shitty wrong invalid advice
Oh, I thought it was "The Trolls Nest"
When the only advice you have to offer is not real, it's best to not share
You'll learn sooner or later that some people learn by fucking up.
With something like that, the easiest way to teach em is sooner rather than later.
Encouraging him to mess up big time won't teach him.
Say he learned by opening the PSU instead of playing with a motherboard capacitor. It goes from shock and pain to dead on the floor.
It's how I learned and I used to be a lot like him 
ugh I'm having to write "Stuff " + str(stuff), it's so ugly
why does this thing not support f-strings
What're you doing?
and why does it not error
debugging that cursed code
He asks weird questions. These are questions that he shouldn't be asking, because a he's not gonna put in time to actually learn, and b he is going to hurt himself or his wallet.
The game?
It worked perfectly fine for me
they're trying to run proper Python in a micro:bit "IDE"
I would assume it'd at least have the C style formatting
Make it hurt a bit less and he learns a lot quicker
Agree to disagree. I can't change a mind that's not open to being changed.
As a kid I'd play around sockets all the time. My dad brought home a battery, a resistor, and two wires. Made me pinch one wire and poke the other with my pinky. I learned real quick that the outlet is not a toy.
Oh he's running embedded python
Can't help, don't know it.
It's called tough love.
@rugged root contiguous memory you see is not continuous on hardware
it's OS providing you a useful abstraction
so that you can []
OS is figuring out what to randomly access so that you don't have to
Right
if you want to drop contiguity, you'll have to use trees or linked lists
... implemented via 5 layers of hash maps that are called into on every non-cached memory access
It just always felt weird that they mention it, I guess
So leaving the recording there without any notice
that's not wiretapping or any other "recording without warning / consent" type crime
You not being in the room means you are not party to the conversation
it is a 1 party state
but you are not a party to the conversation if you're not in the room
see how that works?
party room party
1 party means you would need to be there still]
Leap years are stupid
sunken pirate ship aesthetics
"you created life"
@spark girder "using normal songs would be viewed as stealing by the record companies" (and AI songs are all already stolen anyway)
Everything is stolen
Not literally but yeah
something is more stolen
Nuh uh you can’t prove it
@rugged root did you know that year 2000 issues were in part because of that
some software included two rules out of 3
which meant it considered 2000 non-leap
software that's too smart but not smart enough
It's just two if statements, right?
three
if year % 4 == 0:
return True
elif year % 100 == 0 and year % 400 == 0:
return True
return False
Or is that not right
that's three ifs
Ehh
you just joined two
Yeah I suppose, I'm just doing short hand, that's fair
Yep
if year % 4:
return False
elif year % 100:
return True
elif year % 400:
return False
else:
return True
year % 4 != 0 and (year % 100 != 0 or year % 400 == 0)
if (year % 4 == 0 and year % 100 != 0) or year % 400 == 0:
return True
return False
just return
Hmm
you can also drop ()s
I like the () because it makes it more explicit
it doesn't change the logic
And I'm always unsure about OOO when it comes to the ands and ors
Such a good video
!e
for year in range(1, 2025):
a = year % 4 != 0 and (year % 100 != 0 or year % 400 == 0)
b = year % 4 != 0 and year % 100 != 0 or year % 400 == 0
c = (year % 4 != 0 and year % 100 != 0) or year % 400 == 0
assert a == b == c, (a, b, c, year)
def check_leap_year(year: int) -> bool:
return True if (year % 4 == 0 and year % 100 != 0) or year % 400 == 0 else False
hmm
!e
def check_leap_year(year: int) -> bool:
return True if (year % 4 == 0 and year % 100 != 0) or year % 400 == 0 else False
I'm dumb
:x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 5, in <module>
003 | assert a == b == c, (a, b, c, year)
004 | ^^^^^^^^^^^
005 | AssertionError: (False, False, True, 400)
ah
!e
def check_leap_year(year: int) -> bool:
return True if (year % 4 == 0 and year % 100 != 0) or year % 400 == 0 else False
print(f"4000 is a leap year: {check_leap_year(4000)}")
print(f"1941 is a leap year: {check_leap_year(1941)}")
print(f"3140 is a leap year: {check_leap_year(3140)}")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 4000 is a leap year: True
002 | 1941 is a leap year: False
003 | 3140 is a leap year: True
🙂
@dire pebble Sorry, co-worker needs me for something
ah, I put wrong operator
!e
for year in range(1, 2025):
a = year % 4 == 0 and (year % 100 != 0 or year % 400 == 0)
b = year % 4 == 0 and year % 100 != 0 or year % 400 == 0
c = (year % 4 == 0 and year % 100 != 0) or year % 400 == 0
assert a == b == c, (a, b, c, year)
:warning: Your 3.12 eval job has completed with return code 0.
[No output]
finally
!e
def check_leap_year(year: int) -> bool:
(year % 4 == 0 and year % 100 != 0) or year % 400 == 0
print(f"4000 is a leap year: {check_leap_year(4000)}")
print(f"1941 is a leap year: {check_leap_year(1941)}")
print(f"3140 is a leap year: {check_leap_year(3140)}")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 4000 is a leap year: None
002 | 1941 is a leap year: None
003 | 3140 is a leap year: None
!e
def check_leap_year(year: int) -> bool:
return (year % 4 == 0 and year % 100 != 0) or year % 400 == 0
print(f"4000 is a leap year: {check_leap_year(4000)}")
print(f"1941 is a leap year: {check_leap_year(1941)}")
print(f"3140 is a leap year: {check_leap_year(3140)}")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 4000 is a leap year: True
002 | 1941 is a leap year: False
003 | 3140 is a leap year: True
@rugged root @spark girder this is why parentheses are irrelevant
I LIKE parentheses
😠
Fair. I just had the dumb
I. Like. Parenthesis.
def typing_error() -> bool:
return 0 # error
!e
def typing_error() -> bool:
return 0 # error
print(typing_error())
:white_check_mark: Your 3.12 eval job has completed with return code 0.
0
Nim would yell at me for that, yeah
!e
print(issubclass(bool, int))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
True
not in runtime
@dire pebble irrelevant to Docker
you don't need to
!e
assert isinstance(0, bool)
:x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 1, in <module>
003 | assert isinstance(0, bool)
004 | ^^^^^^^^^^^^^^^^^^^
005 | AssertionError
but all bools are ints, and int implements __bool__
True = 1
False = 0
you did not read what I wrote
I did but perhaps I misunderstood you
not year % 4 == 0 and not year % 100 or bool(year % 400)
# ^^^^ why you shouldn't blindly recommend this
# ^^^^ ugly call
Reading that makes me cry
lol
@spark girder in most terms, what docker does is containers
@jade mountain yes, you are installing OSes into containers
what you aren't installing is the kernel
yes
If you're unconditionally returning an int, you can coerce the full expression to bool, if you absolutely must support a type signature...
@dire pebble isolated environment, networking, etc.
not sandboxing
sandboxing is for security purposes
@dire pebble
docker run --name some-mysql -p 3306 -d mysql:9
does this command run successfully in your case?
Shall I try?
yes, you can always delete the container afterwards
@vocal basin Before the start, are you there available for enough time so you won't leave me at the middle of some application?
Python function is_leap_year(year): returns a bool
ChatGPT said:
Here's a simple implementation of the is_leap_year function in Python:
def is_leap_year(year: int) -> bool:
return year % 4 == 0 and (year % 100 != 0 or year % 400 == 0)
now use int's implementation of bool instead
def is_leap_year(year: int) -> bool:
return bool(not (year % 4) and ((year % 100) or not (year % 400)))
> print(is_leap_year(2024)) # True
> True
> >>> print(is_leap_year(1900)) # False
> False
> >>> print(is_leap_year(2000)) # True
> True
> ```
okay, I'm back from dealing with something else, didn't hear the question
did the command error?
for the next ~two hours I'll be here I think
@vocal basin What are these?
(what order were the screenshots taken in)
docker logs some-mysql
yeah, what Rabbit said
-p forwards a port
it's unable to find it locally
that's why it downloaded it
you don't need to remove
it's asking for -e MYSQL_ROOT_PASSWORD=some_password
so the command should be altered to
docker run --name some-sql -p 127.0.0.1:3306:3306/tcp -e MYSQL_ROOT_PASSWORD=some_password mysql:9
what changed here (in terms of networking):
now it only binds to 127.0.0.1:3306 instead of 0.0.0.0:3306
so that only you can access that port and not everyone on the local network
0.0.0.0 means "listen on all IPs you can", approximately
it's not a mask in this case
it's a special value
127.0.0.0/8 (this is a mask) is loopback
127.any.any.any
8 bits
first 8 bits, 01111111
8 fixed bits, 24 arbitrary bits
to understand how IPs work, you can play around with socket module in Python
!d socket
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...
os.environ```
A [mapping](https://docs.python.org/3/glossary.html#term-mapping) object where keys and values are strings that represent the process environment. For example, `environ['HOME']` is the pathname of your home directory (on some platforms), and is equivalent to `getenv("HOME")` in C.
This mapping is captured the first time the [`os`](https://docs.python.org/3/library/os.html#module-os) module is imported, typically during Python startup as part of processing `site.py`. Changes to the environment made after this time are not reflected in [`os.environ`](https://docs.python.org/3/library/os.html#os.environ), except for changes made by modifying [`os.environ`](https://docs.python.org/3/library/os.html#os.environ) directly.
This mapping may be used to modify the environment as well as query the environment. [`putenv()`](https://docs.python.org/3/library/os.html#os.putenv) will be called automatically when the mapping is modified.
first you should understand what these two do just in Python if you want to more deeply understand what they are
you can ignore the forwarding aspect for now, you just need binding and connecting
python is just a program, mysql is just a program
underlying networking and environment variables work based on same things
^ for -e flag
if you run that command, it should complain about the name being taken already
stopping the container:
https://docs.docker.com/reference/cli/docker/container/stop/
deleting the container:
https://docs.docker.com/reference/cli/docker/container/rm/
the most informative place to understand how to run a container is the documentation of specific things you want to run
for example,
https://hub.docker.com/_/mysql
is there any reason why firefox does not trigger the OSK on Phosh ?
it's so annoying
@whole bear you're awesome, please do more hot-micing, you're really cool
@whole bear yeah, do the ASMR, it's excellent, also pump up your volume so we can hear you better
@tacit crane we're listening to @whole bear eat or something
@whole bear no, please eat some more
@whole bear please please, help yourself
he knows it's weird but he keeps talking
make him shut up
@whole bear shut the fuck up
please stay respectful
how respectful can i stay, this guy is reading a huge number digit-by-digit
@whole bear please mute if don't actually have something to say and are just making noises/saying random words
if you need to communicate those numbers, you can use text
3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128481117450284102701938521105559644622948954930381964428810975665933446128475648233786783165271201909145648566923460348610454326648213393607260249141273724587006606315588174881520920962829254091715364367892590360011330530548820466521384146951941511609433057270365759591953092186117381932611793105118548074462379962749567351885752724891227938183011949129833673362440656643086021394946395224737190702179860943702770539217176293176752384674818467669405132000568127145263560827785771342757789609173637178721468
thats what i wanted to say
(in general, not only this particular case)
pi up to 10 digits is used in astronomy, beyond that it's unknown what it would be useful for
and by "useful" i mean practical/pragmatic motives
quite sure that for long-term modelling you'll need more than that
not much more
for calculating super precise circle to the plank lenght
~38 is exhaustively enough for anything static
it's dynamic stuff where it gets problematic
anything gravity + (> 2 things) is a chaotic system, therefore any bit of precision helps
yeah, but homeboy @whole bear gave us 654 digits and he even read them out loud.
from 38 up to 654 there's a looong way to go..
true
time to do an experiment
and it's ...
I'm too lazy to make a proper project, so time to open Jupyter again
try to add brackets and pointers to python for some reason (disable the garbage collector)
idk why i told you this
!d gc.disable
gc.disable()```
Disable automatic garbage collection.
step 1 | 
@jade mountain Can we see that application?
!stream 489768070034882571
✅ @jade mountain can now stream until <t:1741896052:f>.
@woeful blaze you can mute stream audio
@jade mountain This is made using Pygame only?
yessir
@whole bear please don't sing in the VC when it's completely irrelevant to the context
@whole bear please confirm that you've understood this.
if this is made in 6 hours... goddd
Sy
yessir
Good bro i am toh abhi beginner i just developed small games like snake and pongs ones.., This is truly inspirational
Streamlit provides you gui for
your apps
https://loan-predictor-ayra-ai.streamlit.app/
I have made this one
how a 0.001 change in initial positions changes the outcome
i wonder if there is a point in time where they all collide over the same point
@jade mountain Bro how much time did it take to reach to your level?.... I am actually a beginner, just getting disheartened each day seeing AI agents doing code for me(Much better then me)
5 years
😐
if the probability of any of the four reaching escape velocity is positive, than arbitrarily tightly packed configuration is unlikely
that being said i also built sandythong.com with no web frameworks, just pure js/html/css
Do you guys feel, the time we are spending on projects making them.. there will be time that will done by These agents in mins?
ive also make my own remote control site before too to control my computer from school and game on it
my PvP minesweeper's front-end doesn't use any frameworks either, because I want it deployed and delivered as a single file
I might consider using this one though
https://github.com/purplesyringa/steam
I have seen a youtube video you have ur virtual pc on a website
its a real computer
ohh
AI is more effective at wasting time and resources, have to agree
it was a flask app that served and authenticated connections to my computer that streamed mouse/keyboard/screen/audio
Flask has recently stopped being "the worst framework" in my view recently because it's finally ASGI
How we can defend ourselves... being smarter then AI?
AI is getting smarter every second
ai is getting dumber everyday
lmao
it is humans that are getting smarter everyday
:
One of the most common attitudes with respect to AI today is the so-called “doomerism,” the idea that AI technologies are inevitably fated to present an existential risk to humanity. This talk takes that idea on head first, systematically examining the theoretical risks versus the reality on the ground, taking a skeptical but thoughtful view to ...
learning to prompt the ai in more the correct direction we want the responses to be
watch this if you want a proper answer
In live-coding also, i dont have streaming rights... then how gonna we code live?
Screen sharing permissions are available upon request of voice-regular moderator-level-and-above users when they're in the voice chat at their discretion.
Ohk 👍
gonna sleep bye
Learn Python programming from Harvard University. It dives more deeply into the design and implementation of web apps with Python, JavaScript, and SQL using frameworks like Django, React, and Bootstrap. Topics include database design, scalability, security, and user experience. You will learn how to write and use APIs, create interactive UIs, a...
im voice verified and permissions are allowed and i still cant use voice
I did it already lol
some french peoples heroes
vs my French hero :
seulement parce elle a fais beacoup de chose que no sont pas bien , jai concor
yeah
i studied french for 8 years but i couldnt practice cause i lived in the u.s.
im also greek
My teachers were from Tunisia and lebanon
but now you are in us ?
nah Greece .
It would certainly be alot easier if i had voice ;')
no im still learning
but for specific purposes
data analytics
eh , i've heard mixed reviews , between just wanting to be a data analyst vs Data engineer vs Data Scientist
I am atleast aiming for Data anaylst to be able to atleast get my foot in the door to a job and then keep learning until data engineering and database development.
I think you have to like this kind of track....
I'd like to use python to implement functions in asterisk using AGI.
I just want to get out of this 1000 euro a month tech support job where the clients are 50% rude and 50% idiots.
no not at all when rent is 500-700 euros a month , and we are all paying 300 euros
for electricity
pretty much the same yeah.
0 savings
No worries m8 tc .
12:40 im working rn
12:40 am
23h41
any mods on to help me fix my mic ?
did you reconnect after verifying?
yep
how does the access denied popup look like?
this is what I have when I have access disabled through the browser:
check somewhere near the URL there is a button with details about what permissions you gave to the site
okay so issue ?
i cleared the cookies and cash jic, but im trying to figure out if this is a known issue, and maybe someone needs to open a jira ?
does the mic work fine on other servers?
I think pretty much still denied on the others.
(as in create a temporary discord server, not try a different channel)
ahh
okey doke
yeah its happening to other channels as well
Ill try to get the app to see if it works or not there.
the details arrow might contain some extra settings
e.g., if there are/were multiple microphones, only some might be enabled
(and same in voice settings: input device might be a mic that Discord believes to exist while it actually doesn't)
tried it already plus it shouldnt affect sine i reset it and then set it up again
I would never think it's Windows looking at a font like that
idk why but lenovo does some weird shit with letters
no anti-aliasing seems like
my old samsung pc was better
streaming permissions are given on a temporary basis
"if your client sends you traceback, speak their language and response with a traceback too"
I have a very good connection in France
woohoo another 8
@placid jackal you need to provide a reference for an image, right?
where is the image from? (I didn't hear properly if it was said before)
"online" => the link is the source
also go and webarchive it just in case
(idk if that fits the format, but it's generally a good practice to provide both links)
if it's already webarchived or referenced by search engines, it might be possible to get an earliest known date from there
(also that was a very rare case where "a/an" + "-est" adjective makes grammatical sense, since there are multiple earliest dates because they might be sourced from different places)
Google shows either first crawl time or latest meaningful change time (idk which)
((using link from above in the chat as an example))
enable the time-based filter and just set it to before today
yeah
without `From' date
@charred spindle 👋
@somber heath earlier this week there was a point when I had only 11 hours of sleep for 82 hours prior to that
(0 + 9 + 2 hours in three nights)
memory basically working in read-only mode
why are they trying to teach nationalism to my poor boys, heinous.
yeah, desktop within docker is a funny thing
termux had some weird chroot-ey thing that just worked
the way I type, all keyboard are clicky
"even if it's a keyboard on a phone screen"
typewritering
I did use a typewriter a while ago
I doubt that's the reason though
my guess is that it's from my previous keyboard being bad towards the end of its life
so I'm gradually training myself out of that
@last night 👋
Hey.
@verbal crescent 👋
my brain understands phonetics better than spelling
I think these should be enough for my usecases
this thing's driver
https://stenokeyboards.com/products/polyglot-keyboard
Description: The Polyglot Keyboard offers a fast and efficient typing experience with 42 keys, a sleek design featuring black PCB, white keycaps, and artwork on the backplate. Easily switch between QWERTY and Steno modes, making it perfect for use with Plover. Get the most out of your workflow with the powerful Polyglo
this one mostly because it's the only one I can buy
($280 locally)
living in Russia
just install Debian
Arch 2025-03-01 is so much faster than Fedora 40
penetration testing
Tails?
no
I care a lot about base memory consumption because I have an ASUS T100TA that I'm trying to get working as a tablet.
Arch has 300MB base mem usage on the Phosh desktop environment. Fedora has 700MB.
I've had to disable a few systemd services.
(Tails isn't pentesting, yeah)
what about Alpine
(Alpine is a very trollish thing to suggest as a desktop; but it is compact)
Alpine is awesome. The closest derivative of Alpine is called PostmarketOS, but I haven't gotten around its install process.
That would work well for tablets.
I like Alpine for almost the same things that people hate it for
for example, no glibc
is it musl-based?
yes
also no systemd, therefore I actually have to learn how dockerd is started and installed
which is very simple, turns out
It was Manjaro!
are you a PostmarketOS user?
Oh I feel so dumb 🤣
valid
Technically it's BlackManjaro but it's really just Manjaro with some pentesting suites pre-packaged
what?
both definitions are kind of opposed to engineering
one is about taking something engineered apart, the other is about putting something together without proper engineering
that's tinkering I believe
the difference between Debian and Ubuntu:
to get Debian to work, you use apt-get install,
to get Ubuntu to work, you use snap remove
it's a joke
snap on Ubuntu Server is a serious mistake
it will suggest you to add basically everything during OS installation
including docker
docker does not work in snap properly
yet
object-rainbow
it's on halt for a while
this week, mostly migrating infrastructure from one office to another
Still reading chat, just splitting the conversation to more people.
it's already usable for some things
(though you'll have to implement storage and query parts yourself)
that will depend on the core package
it's built to be a base dependency
So you build onto it with your required functionality?
yes
I got tasked with doing networking because no one in the company was confident enough with doing it
(CTO just decided to have me do it to see if it'll work)
as simple as possible, as to not confuse others
thing to learn and then unlearn in programming: Clean Code
(the book and the ideology)
make your ISO yourself
like with arm64 bootables for alpine
my latest attempt to boot anything functioning on arm64 without putting it directly onto emmc ended up in failure
well, technically some UEFI-ish thing booted
but it's, like, DOS
not Linux
I truly liked the "cannot determine current directory" when running ls
and cd / error with `option "" is unknown`
illumos + qemu + zfs + directly mount fs into the vm because you can
first sounds saner
@wise loom similar stuff was mentioned just a few minutes ago
I've just realised what a cursed thing I'm about to deploy
podman build using QEMU running in a container running in docker in docker in docker
5 layers
I've actually used a setup like that to emulate a raspberry pi (ARM) on an x86_64.
Performance was abhorrent but I was told it was because of the QEMU config used.
Forgejo Actions responsible for the first half, me responsible for the second
Good night all
@fossil grotto
@whole bear Yo whats good
Hey guys!
suup
hey blort
How are your guys' day?
Its a brainless tech support day
agonizing pain, hand frozen in paralysis.
extreme headache tightening around the skull.
repressed hatred swelling in the chest.
intrusive thoughts weaving mischief.
burning eyes shut, yet no relief.
I mean all good
Good to hear!
remember to drink water btw guys! 😼
Well I'm going to go guys have a great rest of your days!!
Sorry for the ping Hemlock, disregard
@nimble birch 👋
@somber heath Hello
Happy Holi!
Ah
Event queue?
What does that mean?
Well today is Holi
@somber heath Today is Holi, it means groping is legal
I beg your pardon?
I mean most of fellow use this event as means to grope in name of festival
Viticm are mainly women
You might need to help me out in understanding the underlying principle at work there.
Explain.
Do.
Unfortunately, during crowded festivals, some people take advantage of the situation to grope others. It’s a known issue in many places.
Fucking incels.
@chrome shard 👋
@chrome shard Hey, hello, how was your day?
@somber heath have a look
https://youtube.com/shorts/Z8NZH4QY8ao?si=d86UuE5eNF1sWLKQ
Japanese Woman, On India Tour, Harassed During Holi Celebrations #shorts #viral #japanese
Support Independent Journalism. Support Mojo. Here: https://rb.gy/5f3ppi
Subscribe to us for more updates:
Follow us on Twitter: http://www.twitter.com/themojo_in
Like us on Facebook: http://www.facebook.com/themojostory
Instagram: http://www.instagra...
@jade mountain Did he left?
i think so? i mean i think he left the vc
might be invisible
Yes he must be invisible
@somber heath 🫡
@functools.cache(user_function)```
Simple lightweight unbounded function cache. Sometimes called [“memoize”](https://en.wikipedia.org/wiki/Memoization).
Returns the same as `lru_cache(maxsize=None)`, creating a thin wrapper around a dictionary lookup for the function arguments. Because it never needs to evict old values, this is smaller and faster than [`lru_cache()`](https://docs.python.org/3/library/functools.html#functools.lru_cache) with a size limit.
For example...
user:User = None```
okay inside class declarations, not okay for variables in arguments
top-level type hinting in class declarations in weird

@tacit crane my 76 line AST is complete 🙂 I'll expand upon it later but for the time being it does what I need it to and that's that.
Can't wait to complete EVERYTHING else so I can compile and test 
proc-macro it
I am working on a rust frontend framework
trying to plan out the prop data model atm
(this prolly just looks as a mess to other people)
hmm
well
running the async code would still be blocking
the only way around that is spawning a async runtime on a seperate thread
"just imagine if worked"
fn inner() -> py::Result<()> {
Ok(())
}
fn outer() -> py::Result<()> {
py! {
try:
return inner()
except:
raise py.Error.other("...")
}
}
you can integrate Python/Rust async somewhat easily
at least on Linux
but would calling that async code be blocking or not
because you can do that in python
just spawn a thread and use asyncio.run
you might as well just invent green threads, for easier user experience
because async generally needs a runtime, and that runtime generally is the top thing running on a thread
in Jupyter, for example, you're already inside an event loop and can just await at the top level of the cell
your lang could spawn a dedicated async thread that all async code gets moved to
normally reactors and blocking IO is ran on auxiliary threads rather than logic
so something like ```rust
async fn get_tasks() {
for task in channer.recv().await {
tokio::spawn_task(task);
}
}
fn my_sync_code() {
channel.send(my_async_task())
}```
(massive pseudo code)
(tho idk if there are any exsisting threading-async mixed channels like that)
just tokio::task::spawn at that point directly
that requires the sync code to have been called from tokio already right?
which I suppose isnt that hard to do
just always run the app in a async runtime 😛
tokio does have context stuff, idk if it applies for spawning tasks
Rusty-Python
This function must be called from the context of a Tokio runtime. Tasks running on the Tokio runtime are always inside its context, but you can also enter the context using the Runtime::enter method.
so TL;DR you can spawn async tasks from sync code in rust if the sync code was called from async
(at least in tokios case)
just make the lang always run code in a tokio runtime
A small and fast async runtime.
or, to be more precise,
https://docs.rs/async-io
https://docs.rs/async-executor
Async I/O and timers.
Async executors.
the backend for this page uses a lot of threads
each stat is handled by a separate one
and it works okay
Linux isn't allocating the whole separate stack in advance, so it doesn't take up as much space per thread
custom Runtime instance is a valid option too
braining is hard
token: Token
Token: token
Token: Token
I mean
both of those will be compiler errors
so I dont really see the issue
I have a method with the same name as one of my fields
fn changed(&self) -> bool {
self.changed
}
(this is in a trait impl, I am not a total idiot)
did you know you can have 5 different things with the same name within the same scope
type, value, macro, lifetime, label
I do like myself some neat macros tho
inplace_op!(AddAssign.add_assign());
inplace_op!(SubAssign.sub_assign());
inplace_op!(MulAssign.mul_assign());
inplace_op!(DivAssign.div_assign());
inplace_op!(RemAssign.rem_assign());
inplace_op!(BitAndAssign.bitand_assign());
inplace_op!(BitOrAssign.bitor_assign());
inplace_op!(BitXorAssign.bitxor_assign());
inplace_op!(ShlAssign.shl_assign());
inplace_op!(ShrAssign.shr_assign());
these macros have been REALLY usefull ```rust
/// Call the given macro with every string type
macro_rules! strings {
($macro:ident) => {
$macro!(&'static str);
$macro!(::std::string::String);
$macro!(::std::borrow::Cow<'static, str>);
$macro!(::std::rc::Rc<str>);
$macro!(::std::sync::Arc<str>);
$macro!(::std::boxed::Box<str>);
};
}
/// Call the given macro with every numeric type
macro_rules! numerics {
($macro:ident) => {
$macro!(u8, itoa);
$macro!(u16, itoa);
$macro!(u32, itoa);
$macro!(u64, itoa);
$macro!(u128, itoa);
$macro!(usize, itoa);
$macro!(i8, itoa);
$macro!(i16, itoa);
$macro!(i32, itoa);
$macro!(i64, itoa);
$macro!(i128, itoa);
$macro!(isize, itoa);
$macro!(f32, ryu);
$macro!(f64, ryu);
};
}
which can be used like ```rust
macro_rules! string_element {
($t:ty) => {
impl<C> Element<C> for $t {
fn render_box(
self: Box<Self>,
_ctx: &mut State<C>,
_render_state: &mut RenderingState,
) -> web_sys::Node {
let text = web_sys::Text::new().expect("Failed to make text");
text.set_text_content(Some(&self));
text.into()
}
}
};
}
type_macros::strings!(string_element);
u8 is unsigned yes
uint/int
(because manually writing out the same implementation for every numeric type is stupid)
(and I need to do that for multiple traits, hence a macro to call a macro)
(and no I cant do a generic impl)
(I already have a blanket implementation on Fn..., so rust wont let me have another one for itoa::Integer, because ofc in the future a type might implement both)
@flat notch 👋
I’m going to use Tokio and make the most horrendous Async Runtime you’ve ever seen
Not out of spite or malice, just pure uneducated bliss cause I’m still learning Rust

@dim nymph 👋
I’ve already got an idea of what it’s gonna look like
side note, on youtube music the shuffle button isnt accisibale on small screen widths :/
there are some very weird reasons why you need to Arc it even if it's an Arc-ish on the inside anyway
(like actual actual reason, or did they forgot to unsafe impl Send/Sync?)
it's mostly cursed variance stuff, but it's also not Arc-ish enough (no way to properly clone)
Ah
it was a lot of tweaking but finally got thid ewaste to run modern apps
opal why do we get new computers all the time and throw away the old?
another yacht hm
use tokio::runtime::Runtime;
fn call_async_from_sync() {
// Create a Tokio runtime for maximum performance
let rt = Runtime::new().unwrap();
rt.block_on(async {
example_async_function().await;
});
rt.spawn(async {
println!("This is an async task spawned from a sync function!");
example_async_function().await;
});
// Some check for blocking code then possibly this
rt.spawn_blocking(|| {
println!("Running blocking task on a dedicated thread pool");
std::thread::sleep(Duration::from_secs(2)); // Obviously the blocking code
});
}
And then I just have to figure out how I'd do this exact same thing in my interpreter 🙂
Something of that nature
yhe I recently dropped a lot of subscriptions (and picked up one more ...)
cut out around 120$/year of subscriptions
i'm against apple's policy of locking dwn devices so only their os works on them
yhe vendor lockin is the worst
blame them as much as you can.
But at the end they are in business!
but for how long
thats ... not a good argument
just because it earns money doesnt mean its right
(hell the best ways of earning money are illegal)
As long as they want!
But for them it is right
As long as it makes money
thats what social media are xD
Google made it free cause it liked to have control on data and user
as simple as it is
google is paying developer, server to handle those data, it won't be doing anything for free
market has a lot more options now, nobody does lock down to fhe degree that apple does
Business is not charity
No monopoly is not good
but I'd like to say that nothing is free
like most android phones let you swap out the rom
Google has authority on andriod, even if it's open source
and you can transfere data between any android phone
As per government's decision they blocked huawei from using android
you can swap manufacturer and just move all your data over
fair
it isnt exactly recommended
oneplus phones have a recovery tool you can use from a pc to recover phones
even if they are fully boot looping
had to do that a few times
Problem with android user is that they think they are getting best for money.
But they forget those features are not for every phone, every android phone has different feature even if it has same android.
just carry a rpi in your pocket instead
and thats kinda a good thing?
it lets manufatures add new features
no company can make a "IOS but with cool new features"
you can with android
Maybe but not really!
Now no one can fast boot new andriod phone from xaiomi
because they made it so
and my desktop pre-built doesnt let me control certain things in the bios.
thats not phone specific
Dude problem is that you are blinded for android
if somebody has physical access to your hardware you are genneraly fucked anyway
It does that so user have to buy phone
.xkcd 538
I'm using 8 year old phone of xaiomi with stock os, it works great
but they intentionally makes update which makes older phone slower
so fast boot of stock andriod was only way to avoid the loop of buying phone over and over
has the age of NixOS on mobile finally arrived
I ditched nixos
iirc the actual usecase for it was to run Android containerisedly
What exactly does that mean?
I have no idea about NixOS.
it's a Linux
me hungry, 
Ah so linux on android?
android is linux
But how will you boot linux if phone manufacture made sure to make it impossible to do so?
Like Xaiomi
new xiaomi, yes, can't do that
Exactly
a very recent change
This trend is now gaining more popularity in other Android Brand as well!
<2 years ago
As they saw decline in revenue because user were able to use custom os
@open warren 👋
yes but it is change nonetheless !
@steady kayak 👋
hello
Hello batman
sup?
How do you know about all those yap?
im batman
No more OpalMist, now Opal become invisible again
true true
Dude must have -1000 IQ like me!
dont say it loud
How should I say so?
Ah you're right Opal is here but he ain't visible to us
He can hear our dumb talk
@vocal basin Hello, what you coding today?
just started little fine tuning using unsloth
why do you use unsloth?
yes doing it on custom dataset using LORA and quantizating the llama model to 4 bit
Hi guys
Hi skiop
wbu
not coding; mostly integrating others' software
so I can't resist my tempation to type
i c
Good!
what is it??
Sound's interesting to me
Nothing special
It's a paid tool to train your AI on established LLM
Happy Holi guys
like some cool projects
So what?
hello dawgs
any idea?
wdym by dawgs?
@dire pebble what do you want to stream?
are you black?
us slang for bros
!stream 544864513556611082
✅ @dire pebble can now stream until <t:1741942832:f>.
racist
Hmm but dog is used by black folks
Yes but I've seen mainly black people using it!
not exclusively
yea
@dire pebble in powershell
in some empty directory
or, like, "projects" directory
wherever you want to put it
cd
@dire pebble ls, cd
cd dir_name
to go back use cd ..
you can use relative paths
cd tabkey to latest / modified recently
up not back
same thing
@dire pebble what happened bro??
if it's not their
go back to cd /
and cd directory-name
@teal crystal Give up on coding
Coding ain't for you!
it's same only if you previously did cd some_directory (without / and ..)
@dire pebble https://git-scm.com/downloads/win
ohh yea
@teal crystal Indian?
yea i think too
He is Indian from America but in China working as Russian
His name is paradox
@dire pebble wait, I'll tell
No curse word dude, please programmer no curse word
@dire pebble You're getting scammed dude run!
F is for fish, i was seeing aquarium downstreets
you are the one scamming 😁
Fr This Programmer works For chinese Govt, he also hacked Postgres just 1 week before
He work for mars
That's how he is beyond law
insane
Capitalism