#voice-chat-text-0
1 messages ยท Page 430 of 1
@dire pebble expand the selection
@dire pebble You should pay him 2 cents for his technical support
xd
@dire pebble if you're comfortable with using VSCode, then yes
@dire pebble pick second option
Folder
and let it be main as it suggests
@dire pebble Where are you from?
Ohh Turkey
@dire pebble Dude you're getting hacked!
this one, the default
@dire pebble Soon you will be robbed
let the linux tools be only in Git Bash for now
@dire pebble do you have SSH installed?
It's not helpful, don't click it, it's kill switch dude
Seriously SSH is a Virus Injection
@dire pebble if you don't know what it is, then use the first option
second so that you don't have to add certs in two places
@dire pebble We are just helping you, making sure you do not get hacked at end
I am sure this Programmer gonna hack your stuff
No body is helping you
All are playing game
Your the toy
xd
Alisa ain't helping, she is hacking
Yes
select next
Ransomware
@dire pebble That is Osama bin ladin program!
Search Ransomware on web
its a few steps asked by GIT like MCQ ๐
Next, for now; you can change it per-repo later
2nd one
its a total hack
it handles Unixisms a bit better than cmd
Git Bash tries to be as Linuxy as possible
@dire pebble dude click next
this is only for Git Bash, not Git in general
Thats why you will get hack
It is bait for you
We are the one who are truly honest
in window we can linux as well so dont think more about it ๐
once you installed you will lose the access to your computer
Yes
@dire pebble go with first one
@dire pebble you'll be able to access cmd-ish one through Windows Terminal anyway
choose first, you can change it later
Do one thing just click cross on the top right
you aren't going to use Git Bash at first anyway
this
it will not you let accidentally merge
Exactly
leave those two options as is
@dire pebble hacked git
symlinks on Windows are non-trivial
I have seen first time that much selection in git\
@dire pebble open cmd type git --version
Hi! Didn't know Git for Windows installs Vim.
up arrow to get previous cd command
@dire pebble Now in windows search type git bash and hit enter
whats a fun way to learn programming? cuz watching youtube etc. alone is boring
Stop learning
@dire pebble either mv or move via the file explorer
hey guys can you also guide me to install Endeavour OS? on hp pc...
that's all I can advice
mv file/ path/
also sitting in classrooms for 5 hours makes me wanna do something bad
Hit the teacher
I mean it
@dire pebble cd not mv for now
Hit the teacher
mv sourcepath targetpath
ur obviously not making a point
we'll do it the easier-ish way
Exactly
u just said some words
@dire pebble Pay everyone in VC 2 cents for technical support
stop wasting my time then
steps:
cdto the directory (already done)mv ~/welcome-to-docker ./welcome-to-docker
not here at the end of this text
you don't need to do the long-form move
Stop reading my comments dude
thats better, cant see your messages anymore
Good
now you need to cd there
You could've just used GUI.
make projects, read docs, help other people learn, do everything basically
watching only videos is not efficient
create a Dockerfile
@teal crystal Dude say something in Hindi!
@dire pebble in the same directory
code .
it's already there, the guide asks to open and read it
i think the only way to make it fun at this point is working with others, is it common amongst programmers to learn together instead of alone?
it will create an image
common enough
also that's kind of what school/college/university is about
@teal crystal dude have some water!
average help session
@teal crystal to the image not the container
@dire pebble Directory is repository which contains folder and file
also sometimes called catalogue
So here @dire pebble docker will create a one kind of virtual machine where we dont have anything
So using dockerfile we are configuring a machine where we are installing nodejs first then copy a code files from our machine to docker image
like we are installing softwares in our machine
@dire pebble Dude ask him to have some water
- we are installing a node software docker machine
- then we are assigning the working directory as an app folder where all code will be moved
@dire pebble completely ignore the EXPOSE one
it does nearly nothing
it's a hint to some tools but not much more
hello
hello tanmay
- now we are copying package file to our machine
- then moving src and public folder to docker imahe
- then installing required packages in docker machine to run a node applications
- then expose the port so our application run on port 3000
- and the last we will run build command so it will create a build on docker image
-t means tag
in CMD
you can run it on CMD, powershell, gitbash or you can do it in vs code as wll
`
in vs code terminal you can run same command
no
No @teal crystal
he is on right path
we need to stay the same path where we created dockerfile
yes
-t welcome-to-docker names it welcome-to-docker and . points to the current directory
context: 669B
under kilobyte is impressive nowadays, even for a demo
it will create a machine
we can say its a machine template
yes
now run "docker images" to see your all images in docker
Yes for that you need to also run docker-compose where you can configure application, database or other application etc.
@vocal basin do you work as employee or as a freelancer?
have dapp developer here?
full-time employed
6 figure income?
docker run command
i want to learn c
to run a image
where to learn c from scratch
$22K annually
which in Russia is relatively high
especially for a (formally) junior dev
welcome-to-docker is image which you just created
Good for you!
its an optional setting
type 3000
localhost:8080
colon
so in code your default port was 3000
but from the setting we have redirected it to 8080
Its done ๐
what database are you using ?
@dire pebble first I suggest removing the existing mysql container entirely
because docker have already docker images
because it was misconfigured a bit
@dire pebble yes, it's failing to start
docker run --name some-mysql -p 127.0.0.1:3306:3306/tcp -e MYSQL_ROOT_PASSWORD=test mysql:9
docker rmi ImageID to remove docker image
actually it won't require re-download until gc
only the tag is removed
layers stay until GCd
yes
@dire pebble now you can connect to it from outside the container
@teal crystal it's not -d
but, yeah, you can ctrl+c it and then start from GUI
go to the terminal, press ctrl+c (it should stop the container), go to GUI, find the container, start the container
docker run -d --name some-mysql -p 127.0.0.1:3306:3306 -e MYSQL_ROOT_PASSWORD=test mysql:9
Now run my command it will run in background
@dire pebble there's a VSCode extension with DB support
open localhost:3306 on your browser
it is somewhat bad because not fully open-source
should error with empty response
if it does, that means it's probably working
or use mysql tools like sqlyog, workbench or vscode extension etc
if its properly configured then it will work
Yes this one
also I think I recognise the author name
@dire pebble they come from the dependency of that extension
@dire pebble password: test
and connect
yes
I think it Discord auto-stops AFK streams nowadays
also, yes, muting drops the stream when the role is no more
sorry
i thought we need to go back so that we can pass directory name in the docker build cmd
now i got it
now
tell me, who is missing me?
๐
@dire pebble
bro, where you gone??
have you gonna for a walk to moon? ๐
@upper basin do you play rocket league?? ๐
No I don't.
i got it
smart people likes playing chess not any creep like minecraft, rocket league, etc.
I wouldn't know, not really a smart person myself hehe.
do you play any games other than chess?
When I have time, yeah. I like all sorts of games as long as there's an element of tactic to it.
I really like milsim games.
The geometry of room clearing is intriguing to me.
free fire, pubg??
No, none of those.
Like ready or not.
Although these days I just code and then worry about money, then sleep, and repeat.
Oh you are playing cards, i don't know why i thought it as chess ๐
It's the only game I have for killing time in between pytest.
nope
i think 10-15 mins passed in this time you can play other games like free fire, cod, rocket league, etc.
I also don't have RAM.
So can't do alot of stuff at the same time.
8?
16 as add-on or 8 will be replaced with 16?
!stream 544864513556611082 30M
โ @dire pebble can now stream until <t:1741952781:f>.
@vocal basin waiting for you
@dire pebble we were attempting to connect to the database iirc
@dire pebble click this
@dire pebble the run button should just work with that SQL code
yes, that button
@dire pebble that GitHub thing was just a tutorial
127.0.0.1 is generally not accessible from outside
for a local networking, it's normally something like 9.0.0.0/24, 192.168.1.0/24, 192.168.88.0/24, etc.
@dire pebble this instance of MySQL is made specifically so that you can access it from your computer on 127.0.0.1, due to how we started it
@dire pebble we're using Docker to run MySQL
docker run created and started the container
sorry
@dire pebble i will come in just few minutes
it connects to 127.0.0.1:3306
which we told Docker to redirect to port 3306 of mysql
Why your screen so big.
Do you use 34 inch screen?
Nah
Your screen in general is huge
-p 127.0.0.1:3306:3306 is where we tell Docker to do that port mapping
-p {what host ip to bind to}:{what host port to bind to}:{what mysql port to connect to}
it was here
yes, we want the same port on the host as inside the container
bind is what the server does, connect is what the client does
server binds to an address and a port, then listens on it
Hi Python Besties
client connects to that address-port pair
Can anyone explain to me what Global and Local Variables are_
Do you know what scopes are?
yes, intentional that they're the same 3306
that's the default MySQL port
-p 3306 is short for -p 3306:3306 which is short for -p 0.0.0.0:3306:3306;
however we need 127.0.0.1 not 0.0.0.0, therefore we can't use the short form
security, yes
so that it's local only
otherwise someone on the same local network as you would be able to connect to it
TCP is a protocol that gives you a "connection" abstraction
you can write bytes to a connection, you can read bytes from a connection, you can close the connection
unlike UDP where there is only write and read without the notion of a connection
within a single TCP connection all bytes are read in the same order that they were sent by the other side
whereas UDP may reorder pieces of data arbitrarily

TCP is the default for Docker
you can omit it
TCP and UDP may coexist on the same port, in which case you'd need to specify -p twice
!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...
-e MYSQL_ROOT_PASSWORD=test mysql:9
@dire pebble not yet
-e MYSQL_ROOT_PASSWORD=test provides an environment variable to mysql
each process is started with a list of environment variables
those are commonly used for configuration, especially when combined with Docker
variable is like value you can change
a ENV var is basically a standard way to pass values from the environment to a program
some programs have dedicated env vars, there also some general purpose ones
# variable_example is the variable
# 2 is the value
variable_example = 2
for example the env var HOME tells a program where your home directory is
It's just Ace.
the env var PATH tells programs where they should search for other programs
and then you have more specific ones, like MYSQL_ROOT_PASSWORD tells mysql what the root password should be
Yeah. They're variables used by the environment.
!e
from os import environ
print(environ)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
environ({'LANG': 'en_US.UTF-8', 'OMP_NUM_THREADS': '5', 'OPENBLAS_NUM_THREADS': '5', 'MKL_NUM_THREADS': '5', 'VECLIB_MAXIMUM_THREADS': '5', 'NUMEXPR_NUM_THREADS': '5', 'PYTHONDONTWRITEBYTECODE': 'true', 'PYTHONIOENCODING': 'utf-8:strict', 'PYTHONUNBUFFERED': 'true', 'PYTHONUSERBASE': '/snekbox/user_base', 'PYTHON_COLORS': '1', 'HOME': '/home', 'LC_CTYPE': 'C.UTF-8'})
You need to learn what scopes are. That will help.
It's a variable from the environment, not the program
TL;DR its a standardized way of passing values to programs
there are many ways to pass configuration to a program
and if you use anything other than environment variables, Rabbit will be angry at you
.
๐
@dire pebble it stands for publish
but inside compose files it is indeed called ports, because that's an easier mnemonic
my diagram skills are unmatched
mysql:9
mysql is the name of the image
9 is the version
@dire pebble the image is directly related to mysql
mysql:9 part
MySQL is a widely used, open-source relational database management system (RDBMS).
3306:3306
because they could be different
@vocal basinbecause docker is a vm can i run malware inside it?
if it was 1234:3306, you'd have to specify 1234 as the port when connecting
like you could say "route port 80 on my machine to port 8080 in the container"
(very similar to port fowarding on a router, if you are familiar with that)
no, use Solaris Zones, BSD Jails or proper VMs if you don't trust the software
disable as much hardware access as you can
Docker is not a VM, it's based on OS-level virtualisation
i.e. virtual syscall table
as opposed to virtual hardware
@dire pebble those hints to the Docker Desktop come from the EXPOSE instruction in Dockerfile, presumably
what are you using to create that?
excallidraw?
Excalidraw
ah, it's single l
(I am just used to spelling stuff wrong, so I assumed you were right xD)
I don't remember ever seeing it written
at least for long enough to notice how it's spelled
I think I actually use the default port for everything, huh
I do use a nginx proxy so I dont have to remember the ports tho
like pi.home/red redirects me to pi.home:1880
normally using IPs like 127.1.2.3 if it's not supposed to be public
also allows many things to just exist on 80
(it does really annoy me firefox assumes pi.home isnt a domain and just does a search if I dont explicitly use http://pi.home)
oh theres a setting for it
browser.fixup.domainwhitelist.pi.home ๐
There's no tld list?
.home is an ICANN rejected generic top-level domain proposed in 2012. The ICANN Board issued a resolution on February 4, 2018 to cease the processing of all applications for the .corp, .home, and .mail gTLDs.
lol
basically people used it for internal networks a lot, so making it a proper TLD could cause a lot of issues
hi
have i speak properly, any suggestions for me?
are you able to understand?
my rpi just works over... whatever the hostname magic thingy is
why is everyone so silent ? ^^
@celest oyster ๐
I think neither me no OsmanYD had troubles understanding your speech
for some reason
list.append((
"hello", "world!"
))
structure looks amazing
Every word has its time.
while it can be structured better, that's just a practice thing
every second shapes our future
( it was not about that code, it was in response to #voice-chat-text-0 message )
it reminds me of using
element.addEventListener("click", (event) => {
console.log("something
})
I hope to see more tools combine paired punctuation like that
anyway I have been getting into excalidraw recently, been a bit helpful structuring some data flow
(also trying to switch back over to obsidian from notion, I think my issue before is I just tried using obsidian for too much)
after trying several notes apps I've just decided that taking notes is not my thing
that was my issue actually, I was trying to use it to take notes
while what I really needed was just a kanban board and excalidraw
for writing stuff down I mostly use Outline
I've trained myself out of using kanban
and for diagrams, draw.io
may I ask why?
does not work that well when open issue counts go >100
- for many things the simple definite flow of whether it's worked on/done isn't entirely applicable
I wonder if Forgejo's Projects thing has auto sync to issue state
we just like the feeling of being with people
Oh yeah a human touch in machine
that's sad
thats fair, I also dont use it with github issues, just manually created todos for projects
javascript guy ๐
If we think about it, you and we are all virtual.
Some connected somehow, and desire is the key which connects us
That is a full room of silence, I feel liek I'm in there without be9ing htere
desire of what?
In it for the alert tones
I can stream some mtg arena if people want ๐
@somber heath
I'd be a little more prone to judgement were everyone also deafened.
so like..
24 minutes until weekend in Australia
what is this abhorrence
its braces in python
desire to talk, chat, know people
where ;
I like how your folder name is stupid LOL
is it gaming server?
is it allowed to stream??
@vocal basin I want to do live coding... can you give me streaming rights
Ig it is!
close your vscode and restart it
in 4 minutes
I am staff, I can do what I want/hj
Ok
i crashed it
20 bucks a minute.
its to late qwp
thats my cursor
ok bro ๐
Hmm
give permission me also, so i can show my gameplay in rocket league
but okay fine, I'll program a bit
I grant you permission now go ahead and waste your time!
rust good, can you teach me?
what code are you working on?
Dude why you like to learn from other folks?
use rust-lang.org
this is the best way to learn rust: https://doc.rust-lang.org/stable/book/
the joke was good
- rustlings
i thought he is streaming, so why not to ask him only
also that book has a version with quizzes
which should be linked on the first page I think
any guide for go??
4 Mins
Tour of Go
@charred rapids
If you think about it, your time is limited.
It won't came back
I am doing CP stuff
competitive programming?
Yes
!stream 1252496871532920876
โ @charred rapids can now stream until <t:1741956631:f>.
You're not asking help for code problem, you're asking for tutor to teach you rust
@mental laurel @spiral frigate ๐
hello
Milien is alien from catland
@somber heath Take deep breath in and out.
Think about life and say "f my life"
Best way to be relaxed
yep
something like rustlings and rust book but for golang
and proper roadmap for learning golang
what would this do ?
class Foo:
def __init__(self, **k):
self.__dict__.update(k)
if you mean roadmap.sh, that's not a map, it's just a road
Now let make her insecure about height
!e ```py
class Foo:
def init(self, **k):
self.dict.update(k)
f = Foo(apple=123, pear=456)
print(f.apple)
print(f.pear)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 123
002 | 456
Not the best of practices.
Sorry ill have to leave.. Electricity Issue ๐ฆ I will join when it come
no stream eh D:
vim ๐ฅ
She brought it up
Not really, she was asked what's her height is.
hm?
mentally stable people
"do we even have those?"
this is vim, but sure
i use lunarvim
@winter tartan I do have theme, it's dark owl one
I like animated wallpapers
why we cant stream?
because everyone likes lua ofc /hj
@winter tartan
nvim has less cursed colours when using termux compared to regular vim
for whatever reason
whereas on Windows Terminal it somewhat misbehaves
since it can overwrite the functions ?
Whats termux?
A front end thing?
terminal emulator for mobile
nice wallapaper
(android specifically)
I see
ive used it
termux+nvim, still the best way to write code on a phone
A mod need to give u the role for it
real
the issue on termux is it dont put file on home directory of the android
Why would i want to write code on an emulator anyway
to be able to write code on phone
Oh i see
all terminals nowadays are emulators
i just recently learened about vim
yeah, it's quite isolated
ive code for year only on phone
I've been using termux since 2020 or even earlier I think
if i wanna use termux ill use nano
termux doesn't emulate the runtime and filesystem
terminal emulator is just terminal
@winter tartan it's a weird term you can ignore the word emulator
termux runs on the metal as directly as android allows it to
you don't get to write to /bin
termux only have permition to write on its own home dir
(code is not running "on an emulator", you're just viewing through something that emulates a teletype)
as it should
and software should be able to handle it
also, data dir not home dir
Thx for explaining
well as a terminal emulator isnt it should have all permition?
Gotchu
for example, when you use KDE,
your default terminal emulator would be Konsole
https://en.wikipedia.org/wiki/Konsole
Konsole is a free and open-source terminal emulator graphical application which is part of KDE Applications and ships with the KDE desktop environment. Konsole was originally written by Lars Doelle. It ls licensed under the GPL-2.0-or-later and the GNU Free Documentation License.
KDE applications, including Dolphin, Kate, KDevelop, Kile, Konvers...
on Windows, there are three main terminal emulators:
whatever cmd uses by default
whatever powershell uses by default
windows terminal
first two, if you have your system configured correctly, you should only encounter when running something as an administrator or embedded in some other software
@somber heath
for i in 1..=10 when
hows importing stuff will change how python work???
make it truly Rust-like
import __future__ import braces
hows importing stuff will change how python work?????????????????????????????????????
it makes no sence
class Button:
surface: Surface
rect: Rect
def __init__(self, surface: Surface|None = None, rect: Rect|None = None) -> None:
self.set_surface(surface, rect)
def set_surface(self, surface: Surface|None, rect: Rect|None):
if isinstance(surface, Surface):
self.surface = surface
self.rect = surface.get_rect()
if rect:
pygame.transform.scale(self.surface, rect.size, self.surface)
self.rect.topleft = rect.topleft
elif isinstance(rect, Rect):
self.surface = pygame.Surface(rect.size)
self.rect = self.surface.get_rect()
self.rect.topleft = rect.topleft
else: raise ValueError("Either surface or rect must be provided")
```would this work ?
someone ๐ญ
!d future
Source code: Lib/__future__.py
Imports of the form from __future__ import feature are called future statements. These are special-cased by the Python compiler to allow the use of new Python features in modules containing the future statement before the release in which the feature becomes standard.
While these future statements are given additional special meaning by the Python compiler, they are still executed like any other import statement and the __future__ exists and is handled by the import system the same way any other Python module would be. This design serves three purposes:
oh so it mess the compiler
@somber heath yes it does
with the great power comes the great what the fuck have I done how do I undo it
lol
i wanna do live coding
i cant install vim on my fon D:
it need git
and installing stuff needs permission
what is happening...
nvm its working now
its just lunarvim on fon :D
lunarvim on fon letsgooo
why milien's voise is so depresing ๐ญ
I have pneumonia and cough alot
Affects my vocal corts
!stream 489768070034882571
โ @jade mountain can now stream until <t:1741959487:f>.
sorry for that
@chilly wolf is that pvp or pve?
ah, pvp
do you have synchronisation/reconnect handling or is it just forfeiting on disconnect?
who here works something on android
My head hurts ๐ค
im linking the lvim binary to /data/data/com.termux/files/usr/local/bin/
but it need permittion
Bhe
ah, yeah, linkage is fun
I definitely have nauseous!
I didn't figure out how to start code server
u know how to do that on android??? termux
complains about stuff no installed/not in places it expects it to be
Whyy does my firewall block my Windows 7 starter leptop
i just wanna type lvim whenever i wanna code
my latest success was getting rustc 1.84 to work
it broke with an extremely weird error before that
Bye
It simply ends the game on disconnect
had to just nuke the env vars for one compilation, and apparently that somehow fixed it forever
idk how or why
@ionic wave ๐
Why it say firewall need to allow MicrosoftEdgeupdate.exe allowed
@abstract urchin ๐
what I did for minesweeper:
all connections from the same user are treated as one connection
if there are 0 real connections from them for 10 seconds, it treats the whole user as disconnected
this handles both reconnects and sync
will we be blessed with the hemlock experience tonight?
important note: it also replays all events on each new connection
if only rooting a android is safe and easy
rewrite everything in Zig, be in control of all the linkage
Intewesting, might be something to consider to make the game smoother? I'd need a few more bits and bobs to get it working fluidly though
it'd actually be immensely great if NixOS provided a more stable way to set its root to somewhere other than /nix or whatever
Whats wrong with my old leptop lol
so this way you can just run it inside wherever
root for nix packages I mean
clock is out of sync
NixOS has three things:
/bin/sh
/usr/bin/env
/nix (directory)
Just a litte
what are you using for connections currently? WebSocket?
:( boom bap/trap x mumble rap ): song. Listen and make your own with Suno.
@rugged root
((= message "Hello, World!")
(if (> (len message) 5)
(print message)))
or whatever JavaScript version looks like
I am starting to wish I had gone for nix on my gaming rig, because rpm-ostree can be a nightmare sometimes
I don't understand how to home computer
I'm a Windows user, I like KDE Plasma preinstalled
uh ahhhhhhh, I don't smoke the reefa
I do, it helps me sleep.
I shall start a crusade focused on claiming Alpine is the best dev OS
here is the python-to-javascript translator super compositor
import sys
sys.path[0] = sys.path[0].replace(r"\__pycache__", "")
import ast
import os
class FutureBracesRemover(ast.NodeTransformer):
def visit_ImportFrom(self, node):
if node.module == '__future__' and any(alias.name == 'braces' for alias in node.names):
print("Enabled braces!\n")
return None # Remove the import
return node
import sys
import traceback
file_arg = sys.argv[1]
with open(file_arg, "r", encoding = "utf-8") as f:
content = f.read()
content = content.replace(" {\n", ":\n")
content = content.replace("} elif ", "elif ")
content = content.replace("} else ", "else ")
content = content.replace("\n}\n", "\n")
content = content.replace(" }\n", "\n")
if content[-1] == "}":
content = content[:-1]
try:
tree = ast.parse(content)
tree = FutureBracesRemover().visit(tree)
ast.fix_missing_locations(tree)
exec(compile(tree, filename="<ast>", mode="exec"), {}, {})
# exec(content)
except Exception as e:
out = []
trace = traceback.format_exception(e)
# print(''.join(trace))
for index, line in enumerate(trace):
# if 'File "<string>", 4' in line:
if index in [1, 2]:
continue
if index == 3:
# print(line)
line = line.replace('File "<unknown>", line ', rf'File "c:\Users\{os.getlogin()}\Desktop\Python Braces!\{sys.argv[1]}", line ')
out.append(line)
print(''.join(out))
you can't alpine the python and not suffer by default
AH scary code >.<
because CPython is too glibc
normally
there is a static build of CPython
uv:3.13-bookworm
or whatever
200MB approx.
at least that's what I remember for whatever debians there are
there's like a bus being escorted by a truck with loud speaker, circling the neighbourhood, cause this is a jewish community and some event is going off, it's annoying af
mynoise.net plus headphones
it's drowning out my drum and bass ๐ฎ
Django+HTMX, aka the `I have no f___ing clue but JetBrains is sponsoring' stack
drums performed bass to mouth
That's impressive, although most of the dnb I listen to is either neurofunk or jungle
or Pendulum because duh
@somber heath Zak is not in the VC
I'm listening to the prodigy rn
call police for noise complaint โ
become the bigger reason for noise complaint โ
What is Babylon it block all on dis windows 7 leptop
u americans and your incoherent measurements such as "feet", "inches" and the worst offender, "miles"
@brittle quarry ๐
*English
We only use it because the English insisted on it.
hi there
And because they sank the ship bringing the metric system to us in the 1810s.
i speak australian
An Australian dialect of English. It's still English.
The second time we tried, we got halfway there, and then Ronald Reagan got rid of it.
A lot of our current issues can be traced back to Ronald Reagan demonstrating why popularity is not a good way to determine leadership.
@rugged root and Lemon
!server
we do do everyone pings, in #announcements
@upper basin on the profile
@rugged root why mastodon does decentralisation well:
you can use an account across instances
instance defines where your account and messages are located
you can reply and mention cross-instance
there is no inherent reason to centralise in Mastodon
why i am seeing that zak has stream opened but when i open it shows it's closed
@willow light I think smart dude can exploit this.
He can let his relative or friend to make a off shore company and hire and fire and hire and fire and hire and fire
what makes you think they don't already do that?
Do they?
It's a good way to get benefit and survive by doing nothing
If you can think of a way to exploit the system, someone has probably already been doing it.
Especially if it's a billionaire doing it.
Billionaires are the best in the world at exploiting the system. It's why they became billionaires in the first place.
Yes
@rugged root make your own fork
get good
Like in India, government has absolute control on which company should get legal license to make airline, airport, 4G, 5G, ports and many more.
Basically capitalism on paper but license raj in reality
I have too much empathy to do well in that field.
@rugged root no maintainers => no bad maintainers
By license I mean government doesn't sell those license like auction
don't hold people to account for not having the same moral capacity
they sell those to specific company
or orligarch
That's how we have super rich like multi billionaire in country with just 4 Trillion GDP and 1.4 billion population
Corporate nepotism
Yaaaaaarp
So suppose if government won't sell the license no hope for innovation or business.
As no one is legally permitted to make business but government
@peak depot if it starts to hurt the muscles somewhat, then maybe yes
Hurt is not enough though. You need tiny tears and then sufficient protein to rebuild them.
One of the small benefits to the US, I guess
yeah, first two are correlated
the third isn't
I also cry tiny tears when I workout
I thought that was just me.
Well taking into account soy is a complete protein...just slam the tofu when you workout.
Where I live tofu is cheaper than steak, so it's the main source of protein in my diet. Well, that and rice-n-beans.
Maybe but what makes me feel worried is that they make sure that even latest technology comes under license. Before Star link they have no such a license after star link, they made it illegal to make something like that without license
@rugged root today is Pi day. 3.14
Yep, check the server logo
Aaaa, me stupid
But it look like swastika
The python symbol itself?
Nah the new logo's python symbol
https://en.wikipedia.org/wiki/Nixie_tube These are neat
A Nixie tube (English: NIK-see), or cold cathode display, is an electronic device used for displaying numerals or other information using glow discharge.
The glass tube contains a wire-mesh anode and multiple cathodes, shaped like numerals or other symbols. Applying power to one cathode surrounds it with an orange glow discharge. The tube is fi...
the background is too mirror symmetric to look like that
But doesn't it look like swastika?
No no. The Piethon
It does look like swastika
Does an S?
"freedom of speech! they only spoke words and signed papers! they're innocent!"
I like the name of it
^ I wouldn't be surprised if people even excused officials like Beriya that way
given people who argue that know basically nothing
Lonelyyy, I am so loooonellyy...
"government's assistance lack of control and security"
JACKSON, MSโSeeking to assuage consumer concerns about dwindling supplies,ย the nationโs egg companies reportedly assured shoppers this week that a dozen has always meant nine. โWhile we have seen some temporary shortfalls due to the avian flu, I want to let all our loyal customers know that we will continue to sell delicious, farm-fresh eggs by ...
Does prices even matter, if earning is in top 10%?
HA
Oh, @vocal basin. I can't find the message to reply, but you were talking about noise complaints and stuff, right? https://youtu.be/hsn63yAzP6E?si=5E8XcZjN8glPN_ou
The Whitest Kids U' Know | Season 1, Episode 2
"Let's Wake Up the Neighbors" - Trevor performs a rap on waking up the neighbors.
Fun Fact: The disgruntled old man neighbor makes a return cameo in Mustard from Season 3.
SUBSCRIBE: https://youtube.com/@OfficialWKUK?sub_confirmation=1
#WKUK, #WhitestKidsUKnow #ComedySkit, #SketchComedy, #Funny...
Yes I think so.
I hope I won't be banned
I have another funny onion thing screenshotted but it's a DM-only material
biblically accurate human lore
Royalty accurate as well
@whole bear Yo
Hello, i was just curious lol
Hi
How goes it
Good so far. Nothing exploding at work, so I'm pleased
I came here the first time because I had a problem with a program a few days back, and since then I come here to look what's happening
Well we're happy to have you! It's always nice to see we managed to keep folks around
Well, I'm very glad to be accepted, but unfortunately, I need to go (it's late here in India), but I will come back some days to see what's up,
Bye
https://youtu.be/ECcqqPN1EXk?si=-G1Saxr3JFjmX-DR
Is this how America is?
Used to
he has none, he does not live off credibility
Now the people double down and don't get panicky when they're called out
Hmm, they will deny like trump
Deny, attack, pivot, repeat
Fight to death!
his own? no, someone else's
@olive hedge You have another ally in the love of Ghost.
Every day when I wake up, one thought lingers in my mindโthere are at least a billion people on this planet who lack the resources I have, yet their potential far exceeds mine but goes to waste. And here I am, with all these resources, choosing to waste them by being lazy.
Has it ever happened to you?
Dan "the cypertruck" Brown
Free can of beans with every purchase.
Grab โem by the truck nuts. Use code JULIE at the link below to get an exclusive 60% off an annual Incogni plan: https://incogni.com/julie
P.S. Sign up to my Patreon for behind the scenes bloopers and early access to videos here: https://www.patreon.com/julienolke
Actors: Julie Nolke
Writer: Julie Nolke
Camera: Sam Larson
Editor: Alec McKay
"You can throw a soup can but you can't throw a brick"
I feel attacked at end of the vehicle when she puts laptop in truck bed
Amazing
New album dropping soon 
Neat
@ornate heron I try not to make exceptions on the voice gate. Otherwise there'd be no point in having it
You'll have to get it organically like everyone else
alr
I appreciate you being understanding about it
Yes!! All hail Papa Perpetua!!
I like how rabbit ain't got chill
I would have gone with Hushlock.
Hemlock! Hushlock...Hemlock! Hushhhlock. So hush, husshhh.
@rugged tundra in what ways
Stfulock
That's an Angrylock.
@amber raptor it's been very coำงperative with Russian law enforcement
and Iranian/wherever else
He's the Hemlock, a really nice folk, makes a nice buck, and he can go hushlock, but don't abuse his silence, or he'd be a madlock, you're fucked!
Bad Guy rhythm.
@amber raptor telegram encryption is opt-in and hard to opt in
there was some example of what Signal sent, like a giant blank page with the same phone number that the law enforcement gave them to check and half a sentence saying it's all they have
As long as one can bare consequence of breaking Law.
Feel free to break it!
I want this book.
QML Unlocked: From Curiosity to Capability in Quantum Machine Learning
Formal pwease.
You want this or a computer
"here, have this instead"
I had to pay ALL of my savings for the tuition. 4.2K. All the backup saving I had for the laptop.
Nooo, I don't like that one.
"Buying QML Books via Drug Trading"
woohoo another name collision
Qt Meta-object Language
why is Qt's thing not QMOL
@rugged root the ifs are more correct syntactically this way
Rust-style
compared to JS
and Java
and C++
and C
and Zig
though Zig at least forces block braces
seemingly
oh wait no it doesn't
thanks, "Toggle dark mode", very helpful
https://raw.githubusercontent.com/braver/FileIcons/master/icons.png Looking at these icons, I don't think I've seen a language or anything that has this pug as a logo. And I have a feeling this is going to be one of those moments where AF tells me about it, I'm going to look it up, and then lo and behold the link will be purple
I have seen that one
because of a certain user, whenever I hear IO with O not being stressed enough compared to I, I first think of them rather than I/O
shall I play the game of trying to remember what these are
It's relatively new book, highly unlikely that the there would be PDF version of it or Pirated pdf version
I have alternative book but it share same goal as this book
It stares into my soul
C, C++ and Rust have the same speed
in C++ you gain speed through your code not working and crashing each few minutes
in Rust you gain speed through composability
@somber heath almost
so rust is just better than c and c++
r something keyword
C++ has different memory management semantics which sometimes might fit the problem better
A library for safe, in-place construction of Rust (and C++!) objects.
githubโcrates-ioโdocs-rs
++C
proper increment
@jade mountain of a package
yes
but
it's not a library, for weird reasons
"library" as a term has some implications
.as and .sos are libraries
directories full of .cs and .hs -- less so
in C terms, library is the compiled result that can be linked either statically or dynamically
I like how you all are learning and reading books
Mean while me yawning
It was fun, hearing the conversation.
I'll catch you later!
I'm stuck at the library :(
Not that I mind the library, it's just I have to steer clear of my apartment while they're doing renovations
!e
for i in range(5):
print(i)
if i == 3:
break
else:
print("I'm in the else!")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 0
002 | 1
003 | 2
004 | 3
!e
for i in range(5):
print(i)
if i == 3:
break
else:
print("I'm in the else!")
finally:
print("I'm in the finally!")
:x: Your 3.12 eval job has completed with return code 1.
001 | File "/home/main.py", line 7
002 | finally:
003 | ^^^^^^^
004 | SyntaxError: invalid syntax
!e
for i in range(5):
print(i)
if i == 3:
break
finally:
print("I'm in the finally!")
:x: Your 3.12 eval job has completed with return code 1.
001 | File "/home/main.py", line 5
002 | finally:
003 | ^^^^^^^
004 | SyntaxError: invalid syntax
:x: Your 3.12 eval job has completed with return code 1.
001 | File "/home/main.py", line 2
002 | else: ...
003 | ^^^^
004 | SyntaxError: expected 'except' or 'finally' block
ah, right
whats this
try-else-only would make no sense
!e
try:
print("printing in the try")
finally:
print("printing in the finally")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | printing in the try
002 | printing in the finally
!e
def stuff():
try: return 1
finally: return 2
print(stuff())
:white_check_mark: Your 3.12 eval job has completed with return code 0.
2
Java does the same I think
you can think of return as backed by a write-only variable
initialised to None
@rugged root Fortran too I think
idk about Algol
@rugged root cobol
as in took inspiration from
anything indentation is cobol-inspired to some extent
iirc
well, it did a lot of weird things with whitespace anyway
@rugged root learn Language H
READ, PRINT, PUNCH, NUMBER, MAX, BEING, FROM, CHANNEL, DIGIT, STERLING, CHARACTERS, UP, TO, RADICES, QUANTITY, DECIMAL, POINT, INADMISSIBLE, INPUT, CONTROL, ERROR, SEEN-CHARACTER, OPERAND, CALCULATE, HOLD, OFF, ON, SEE, AT, POSITION, PLACES, FILE, GET, AGAIN, WITH, FINISH, REEL-END, UNOBTAINABLE, END-OF-FILE, MARKER, BRANCH, OR, GET-AGAIN, ACCORDING, SEQUENTIAL, FILING, DUMP, DATA, PROCESSING, PROGRAM, FOR, CHAPTER, NOTE, IN, OBEY, AND, ARE, AT, BY, IN, IS
some of the keywords
OBEY
all others have been lost to time
That's ominous
that's what the program ends with
and it starts with CHAPTER 1
there is no CHAPTER 2, by the way
@rugged root Hi
challenge: write a story using only known Language H keywords
Can somebody explain like what we use in banks/financial data where we need exact count instead of analytics were we use HyperLogLog to count estimates in very much large scale where counting one by one isn't feasible??
CHARACTERS ARE BEING IN PLACES
CONTROL BRANCH
BY STERLING
READ AND OBEY IN POSITION
FILE AGAIN AT SEQUENTIAL DATA PROCESSING
SEEN-CHARACTER OR ERROR
ERROR IS ON HOLD WITH UNOBTAINABLE INADMISSIBLE INPUT
END-OF-FILE
banks use proper transactional DBs
Done
either RDBMSes or specialised stuff like tigerbeetle
UNOBTAINABLE DATA IS BEING IN INADMISSIBLE PLACES
banks don't actually have such a problem of scale
Ooo that's a good one
I'm dumb
isn't that create memory issues? do we have any HyperLogLog like thing or any algorithm but for exact count??
I should have used BY MAX STERLING
count of what?
HyperLogLog is for set cardinality
any data
it's not for "I paid you N dollars"
account balance isn't count
pennies don't each have their own identity
instead, it's amount
let's say US gov wants to count people having SSN
then how they gonna count??
Carefully
SELECT COUNT(user) FROM ssn or whatever
@jade mountain processes instead of threads
if you just have all data available, counting isn't that hard
i don't know it properly
but let say on march 31, banks have to close their book and count total number of transactions, transaction value, and other transactional data,etc. do they simply count each and every transaction happened in whole year, like how they do?? do they simply do counts one by one?
there will usually be an index
b-tree indexes have a Log(N) count complexity for each range
you can also use database transactions to update data atomically
are python dicts faster than something like mysql?
Minor Nim difference that confused me for a bit. Nim's HashSet is essentially a Python set. Adding another value into the set in Python is set.add(). In Nim? .incl(). I know it's include, but it still bugs me
depends
That's not really an easy comparison
you should be comparing to sqlite in-memory
is it something like calculating data after each new updates/transaction??
are we gonna use same thing for 1.43 billion?
got it thanks a lot
I think I know why it bugs me
It's because inc is increment.
Was just too close in my brain
one more query
I have to search for mobile number of a user for verification check in 1.43 billion records or more than how that search happens in just 1-5(max) secs like governments, google, facebook do??
O(logN) queries are supported by indices
if you just need to find something by some value
@brazen gazelle learn Zig then
Rust is there for when you realise C++ is entirely bad
and Go, yes
C -> Zig, Go
C++, Haskell -> Rust
@somber heath it now also includes JITting
as one of definitions of what compiling CPython could potentially mean
@rugged root PyPy?
I don't really use OOP so I think Go will be next
plus I want to make some web APIs for work
No the other compiler like Numba
what definition of OOP are you using?
I just don't use classes... idk
Java-style?
or inheritance specifically?
if I ever need to bind C++ to Python, I'd really rather do that through a Rust layer
Rust-C++ integration is relatively easy
Rust-Python integration is relatively easy
Python-C++ directly is not something I want
in Python, do you use @dataclasses at least?
as equivalents of C structs
I've never been included in or have written a project that uses it
45,387
353,403