#voice-chat-text-0
1 messages · Page 555 of 1
JS, when reduced to fundamental principles, is quite consistent
it's just that the results of that are a mess
[] + []
[] + {}
{} + []
{} + {}
this thing can be logically deduced
C++ is a high-level language
JS is a wtf-level language
JS is fun
> [] + 1
'1'
how the fuck is an empty array plus an integer equal to a string
well the recent versions are better these days
@scarlet halo see this
because it didn't throw an error
[]+x is ""+x
{}+x is 0+x
but yeah it's not a running candidate for best language ever
by that logic, you can derive these values
> [] + []
''
> [] + {}
'[object Object]'
> {} + []
'[object Object]'
> {} + {}
'[object Object][object Object]'
yeah this is worse
this is non-standard
I got a different
🤪 A list of funny and tricky JavaScript examples. Contribute to denysdovhan/wtfjs development by creating an account on GitHub.
this is the default expected answer
Django?
I want to go to Africa so I can learn JS and how to make low-budget action movies
yeah im running it in a Node.js console, so it's different ye
Generally racism isn't OK
and calling otu a whole continent isn't racist
it's just ignorant
std::vector<bool> is just a disaster, the poster example of C++ having gone through bad times
though it was going to be a movie reference
or both ✅
which joke?
> [] == ![]
true
just write your own language in binary and be a chad
my fave!
small design oversight turned into by now probably millions of hours wasted
I like Java
awww u have a crush on java?
The only good Java: ☕
I learned DSA in Java
don't fall into the trap of anthropomorphising larry ellison
lol
why are you comparing a language to it's parent company's CEO?
Or his horrible offspring
Java is my first language
I'm not, that's just the first bullet on the list
lol
Java is uglier than a disfigured for Mar-A-Lago face blonde
Borje: I don't like it (on Go), I don't like it !!!
i don't mind the verbosity of java ngl
Java and Go, as languages, are quite simple, from what I understand
Java is dead, I saw an outdated article about it
from 1995
lol ur so salty still
if I had a billion dollars in Africa, it's almost like having a trillion dollars
I wish..
If there exists an outdated piece of information about it, 🪦
zombie tech
oh wait
I misheard the context
anyway
that comment was true about Java too
@heavy zenith in correct JS you can't blockingly read from anywhere, including disk
this needs to be done in IO threads implemented in C/C++/etc.
JS has exactly 1 interpreter thread
C/C++/Fortran/Rust
used to be mostly C, now just a mix of everything
well I was talking in general
thanks, numpy, for keeping Fortran alive
Trillion zambian dollar
there are asynchronous ways to read from disk
Why the personal attacks?
That's not cool
@solar ridge I recommend checking out #rules
No
some of them aren't available on Linux
rules
they exist
@solar ridge you do not make the rules, we are expected to follow em 🙂
specifically, O_NONBLOCK
Just because you
including for how it creates an appearance of those being okay
think it's OK to say bigote things because you're riffing on someone, doesn't mean you can bash entire populations
so others might feel uncomfortable or feel like they're allowed to do that too
once C++ hits reflection for real, there is going to be so much more reason to continue using it in gamedev
while True:
print("Breaking news: Java is dead")
sleep(1 .year)
C is more straightforward than C++
but
yes instead of being homeless in San Francisco, I'd rather be a King 👑 in Africa
current guideline is to use a C++ compiler even with C
while True:
print("this is the year of the linux desktop")
sleep(1 .year)
now implement 1 .year
Empire of iKO
@lavish gazelle short answer: no
it's way too big and inconsistent
there are some things of C++ you actually shouldn't touch
Learn what you need!
Bjarne recently resumed the push for using concepts in C++ more actively
and concepts are one of those rare good parts
this is getting weird
or resuming weird
i feel like this conversation has been going nowhere for the entire time i've been here
somewhat more general than what Rust has
concepts/constraints are to some extent already a way to do reflection in C++
@solar ridge Van Rossum
Uuido, before he joined Microsoft
@heavy zenith it's like those game collections you could buy on a CD but for mobile
You're not even here, why are you replying to me? You're catching and responding to like... 5% of the conversation with zero context
yup
lmao
@heavy zenith yes, should do peak gameplay instead: minesweeper
100 offline games does have minesweeper
it's my second most played
@solar ridge mixing async runtimes
async is good if you're ready to understand Future::poll
futures-executor
under rust-lang/
devolving IMO
(going back to the social media mentioned)
tiktok: I don't understand this
facebook: banned + never used
instagram: banned + never used
twitter: banned + dying
vk: dead
telegram: has no algorithm/I couldn't find where recommendations are
leaving great life with only Discord and YouTube as social media, for maximal isolation
actually, more specifically implementing Stream::poll_next helped me more
no IRC 🤔
"IRC is good => not social media"
@solar ridge surprisingly, yes
even if I don't want to
introvert+having social skills is an unfortunate combination:
everyone wants to talk to you, and you want to hide away from everyone
My guess is because Grok is right wing trash?
Elon keeps crying about woke things and rigging things, and then he keeps havign engineers tweak Grok to be more fascist
I was trying to look up "cat" on my computer but the only thing that came up was this
Because when it speaks freely and shares truth, it hurts his world view
lol
php...
what is happening
ah, found what it is
based on the directory
@heavy zenith Would you like to join us?
author's name: Luigi
The best author
Reducer of healthcare costs
Good guy Luigi
what's wrong with Netflix?
9 September 2020
@solar ridge knowing how Go doesn't like to export functions,
outer C FFI for Rust,
then Go calls into C FFI
calling Rust from Go is straightforward
inverse is non-trivial
@lavish gazelle why is there no sound in space?
because they use Linux
release so bad even Google's AI accidentally censors it out sometimes
solipsism all the way
"none of you are real, only I am real"
I'm not real, because I'm at least in part imaginary
!d complex
class complex(number=0, /)``````py
class complex(string, /)``````py
class complex(real=0, imag=0)```
Convert a single string or number to a complex number, or create a complex number from real and imaginary parts.
Examples...
instagram is jealousy creation machine
part of the problem is the culture of other people excluding those who don't participate in this fake stuff
kind of like push-for-fashion/push-for-trends
I think this is more of a prominent problem in US/Canada/Europe/Russia, as a direct result of what media does
vulnerable
lines 4 and 5 are somewhat off?
!e
print(chr(189), chr(188))
print(chr(190), chr(179))
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | ½ ¼
002 | ¾ ³
random trivia: for bit manipulation, the most convenient language currently is probably Erlang
He wrote a simple programe that takes a list of numbers and find the square root of each a billion times and he's C code was faster than my rust
what does it do with the square root?
for certain things, even GCC will just delete your code if you're not doing it weirdly enough
sees you're doing the same thing => removes your loop
We tried 2 ways bite manupulation like number << 2, and also number = number * number
with C I expect the compiler to replace doing nothing in a for loop with nothing
GNU Compiler Collection
Zig is migrating away from LLVM
Rust is remaining with LLVM
Zig are very eagerly re-doing everything for all architectures they can
Zig is a C compiler with its own separately maintained standard library
tokenisation confusion
0b syntax was non-existent before C23
MSVC
/ VC++
There's many reason to hate M$FT
MSVC is somewhat okay
as a compiler, not a build chain
just fork the compiler and automatically insert the import?
Go relies on Git, not specifically GitHub, iirc
Go had a weird history around that
specifically:
«we don't have versions
why?
because software shouldn't have versions
why?
idk, we're Google, we're right
»
there have been numerous weird choices
and just odd design errors
Go isn't designed to have less code at all
ACCU Membership: https://tinyurl.com/ydnfkcyn
C++ Exceptions Reduce Firmware Code Size - Khalil Estell - ACCU 2024
Universally, exceptions are avoided in embedded systems C++ code, with a preference for error codes as out parameters, return values, or sum types like std::expected<T,E>. This avoidance stems from two main issues: the...
having difficulties with understanding exceptions across packages? just use Java
@lavish gazelle in Java you can't miss an exception during handling
checked exceptions are useful
this is part of that verbosity
@solar ridge it might be a "verbosity culture"/ecosystem rather than language forcing verbosity naturally
Java has mechanisms to reduce it
C++ is finally getting those mechanisms just now- oh wait, we couldn't do that on time, in C++29
@lavish gazelle use dtrace and similar things
you can use those even in prod
even with Docker
even across VMs
databases belong in containers.
databases belong in containers.
databases belong in containers.
this has been the case since long before Docker
with Jails and Zones
@lavish gazelle develop as you do, but also check in Docker locally before deploying
also this, and other mechanisms for introducing observability in prod
Google Tech Talks
August 15, 2007
ABSTRACT
Bryan Cantrill will discuss the Dtrace and how it can be used to significantly improve debugging both for development and live systems.
Google engEDU
Speaker: Bryan Cantrill
Nix and Zig try to push against the Docker-in-dev everything culture to some extent
mostly by making it less necessary
with them you don't get networking and stuff but you do get more reliable and isolated builds
(assuming non-malicious and non-dangerously-stupid code being built)
docker run -p 6379:6379 -it --rm --name redis-but-open-source valkey/valkey:9-alpine
well, that's cursed
"docker is TERRIBLE, use PODMAN instead"
something something
postgri
wait Latin doesn't work that way
It is
This breakes all the time
🚀
A bare metal setup just works for me
No don’t.
I haven't seen any reasonable use cases for podman except for when docker doesn't work at all
Migration tool to copy the data from MSSQL database to PostgreSQL database - openimis/database_postgresql
But Rabbit 🐇, Podman is more secure and doesn’t require a dockerd with root privileges. Are we saying we don’t care for security?
Yes
API: GraphQL with Graphene-Django. Oh yea, I love things no one needs
Graphql is nice
False statements are false
GraphQL is an incredible piece of technology that has captured a lot of mindshare since I first started slinging it in production in 2018. You won’t have to ...
GraphQL turned into over-fetching on server side
i love how it went from technical to geographical
And introduces leaking data in a ton of setups
signing
We have JWT with API Keys, at end of day, it's just JSON
@lavish gazelle if you need to manage sessions, that's a separate concept
it's possible to use both
with JWT you make rejection very fast and without access to the DB
JWT are compromise between needing to annoy authorization service every request and hard static API Key
gRPC
(somewhen ago)
have you heard of your lord and saviour, TIPC?
✅ doesn't work with internet
✅ doesn't work with Docker
something to prove cops who you are
phone with TikTok installed and a beard, good enough for Russian military police
sessions
JWT may be an implementation detail thereof
@amber raptor no server-side state
some services may call authenication service first time a token shows up then cache valid response
it's all about your security profile
again, it ends up as just this
expired/never valid to begin with => insta-explodes
that was likely misheard
(this was misheard by me)
so many same names everywhere
JITted specifically
Python is compiled too
but only to bytecode
and that bytecode is interpreted
Python is finally getting JIT
maybe by 3.89 it will even be functioning
before starlite renamed into litestar?
the Haskell pattern: MMM
ModelModelModel
can't view and can't control
or just M
all those Neovim fans are about to re-introduce COBOL because it has native TUI support
when I dealt with Aviation, there was foxpro system for dealing with part maintenance
It's the 3 Million to greenlit replacement vs 750k/yrly
(the word is polyglot)
Yea, very few people in polyglot
biggest benefit to someone who has used X thing for a while is they know where bodies are buried
@frosty garnet steam just slightly extended Wine and Arch
(as far as end result goes, not the amount of effort, which was likely quite high)
I thought of buying ARC Raiders
but I'll wait for a sale
Tarkov: pay twice, get 0 finished games
FH5 works better for me on Linux
as in it doesn't work on my Windows installation at all
Forza Horizon 5
made by Microsoft, doesn't work on Windows 🚀
I have no idea what I'm doing wrong, there are no logs
I'm used to CS:GO freezing for a ~second on Windows, so probably already used enough to latency spikes
Proton is built on Wine
Steam's Wine fork
+stuff
Proton uses a fork of Wine, isn't a just a fork of Wine
I might have Spotify installed and not even know
Window also, like, used to pre-install Candy Crush or whatever
mac has dtrace
who needs colours anyway
Please react with ✅ to upload your file(s) to our paste bin, which is more accessible for some users.
line 1
I see import os => I know something is seriously wrong
For a while people have looked for ways of implementing delayed
I was so appalled by import os I missed import socket entirely
??? what's wrong with import os???
!d pathlib
Added in version 3.4.
Source code: Lib/pathlib/
This module offers classes representing filesystem paths with semantics appropriate for different operating systems. Path classes are divided between pure paths, which provide purely computational operations without I/O, and concrete paths, which inherit from pure paths but also provide I/O operations.
...
pathlib is so easy to use
the only okay-ish thing there is os.environ and friends
After loading the env data using load_env from dot-env
hm. yeah I don't have a problem using os.
is this supposed to crash on time-of-check-time-of-use race?
if os.path.isfile("scheduler.lock"):
os.remove("scheduler.lock")
or do you just want to remove the file regardless of what's happening?
if the latter,
Path("scheduler.lock").unlink(missing_ok=True)
it's a funky way to exit the task scheduler from the mounted filesystem
this just deletes the file
if it exists
and doesn't crash if it gets deleted after the first check
it's kind of just an experience thing, like Rabbit said earlier about "knowing where the bodies are buried", and os is straight up a graveyard in that metaphor
is it?
Vessi is giving away a pair of socks of your choice to the first 100 shoes sold using code SocksLinusTechTips at http://Vessi.com/LinusTechTips
Create your build at https://www.buildredux.com/linus
For the last THREE years Windows laptops have been plagued by terrible battery drain while the user ISN'T EVEN DOING ANYTHING. It's gotten to the p...
import os and relateds require a lot of justification/excuse to even consider including
@primal shadow don't use Python inside OS Kernel, yes it does matter
@frosty garnet what the fuck?
like, go learn the standard library
literally os on most instances says you to go elsewhere
@frosty garnet is your code supposed to crash on the race condition you have there?
there is
this section
I STRONGLY recommend not sharing code if you get personally offended when people offer advice
process 1 process 2
if os.path.isfile("scheduler.lock"):
if os.path.isfile("scheduler.lock"):
os.remove("scheduler.lock")
os.remove("scheduler.lock") # crash
If you don't like constructive criticism, don't open yourself up to it 🙂
is it supposed to crash when someone else deletes the lock file between the check and remove?
so it's not on purpose?
it's fine if it's out of scope
just unclear from the code
if you want to delete a file if it exists, use an existing implementation
import os is a red flag
very bright
for MANY reasons
including that such code is more likely to have been AI-generated
right ...
another reason:
os is often taught at schools/universities which
- have outdated courses
- can't be bothered explaining correct uses
i acknowledge the feedback thank you very much for it
i'll have to swap out import os pronto
os.environ is surprisingly good and sound compared to the rest of os
and somewhat high-level
it kind of has to
mostly because when that gets misused, it's not just some logical, it's a segfault
iirc os.environ gets initialised once somewhen around the first access
os.urandom is fine too, BUT it's also re-exported in secrets
most of the system/fork stuff is handled through threading, subprocess, multiprocessing
some is re-exported through platform
have linter/error messages returned on paper too
single A4 paper
missing ;
❌ struggling
✅ non-prodigy
@vocal basin added missing_ok=True to os.remove. Thanks for the catching the race condition
that's Path.unlink-exclusive, from what I see
the only something_ok= I can see in os is with os.makedirs(..., exist_ok=True)
@heavy zenith @somber heath infinite debt 📈🚀
alright i'm getting rid of import os ...
wdym "not in wherever you're from"?
you're, like, both in Kangarooschnitzelstate
or are those two separate countries?
ok buddy
expect more jokes like this in the future
perpetual bond => perpetual mortgage
from what I remember from research on UBI, giving people without a job money is, counter-intuitively, incentive and opportunity enough for them to get a job
if someone is serverly disabled they're going to need assistance in form of either money or help with food and basic necessities
UBI isn't source of wealth
the typical way to implement it is negative taxation
want to offset giving money to poor people? tax the rich
then tax the rich more
Soviet Union somewhat disagrees with "only"
trickle down economics is based upon faulty science, if that's where you're going with that
1991
@ember fog yes, we can judge by bottom 1% and we should
@somber heath given Kazakhstan was still part of the Soviet Union when Russia left, do we consider Borat as part of the Cold War?
both median and mean are seriously wrong
in one case you ignore bottom ~99%, in the other you ignore bottom 50%
you ignore the wrong side of the cut-off
Since the 19th century, the United States government has participated and interfered, both overtly and covertly, in the replacement of many foreign governments. In the latter half of the 19th century, the U.S. government initiated actions for regime change mainly in Latin America and the southwest Pacific, including the Spanish–American and Ph...
random reminder that French committed a bombing attack against Greenpeace
(since French got mentioned)
Transgenerational trauma, or intergenerational trauma, is the psychological and physiological effects that the trauma experienced by people has on subsequent generations in that group. The primary mode of transmission is the shared family environment of the infant causing psychological, behavioral and social changes in the individual.
Collective...
This general concept also applies to economics and damage to social structures.
"None of the people our ancestors fucked over are alive anymore, and we weren't the ones who did it either, so our hands are clean, we got ours, bugger off."
why does he have like a part of a speech bubble near his head
ah, it's a star allegedly
I don't think they look similar, but they strike a similar note.
That image not as much
but when you look up steve miller goebbels (sp?) you get a lot of side by sides
there was some photo where there was a Steve Miller and another person which was very similar to him
-# (Jon Stewart commented on that)
upgraded from divisive to multiplicative
Every president since John Adams has occupied the White House, and the history of this building extends far beyond the construction of its walls. From the Ground Floor Corridor rooms, transformed from their early use as service areas, to the State Floor rooms, where countless leaders and dignitaries have been entertained, the White House is both...
@somber heath they always have been
@primal shadow "guns don't kill people, bullets do" or whatever they say
Bonitos are a tribe of medium-sized, ray-finned, predatory fish in the family Scombridae, which it shares with the mackerel, tuna, and Spanish mackerel tribes, and also the butterfly kingfish. Also called the tribe Sardini, it consists of eight species across four genera; three of those four genera are monotypic, having a single species each. B...
nice
@somber heath possibly even political signage on the garbage truck
who knows who knows
Ooh, all gone
The sound wasn't working -> the speakers weren't plugged in. Tech support for my favorite users.
*knife don't kill people, the sharpness do
"He's got two guns and you've got one spear. You'll run out of spear before he runs out of gun!"
"Yes, but his gun will run out of bang before my knife runs out of sharp."
Excerpt from Terry Pratchett's Nation.
I literally just saw that.
in linked in
she just woke up
I've been working for ~4 hours (meeting time excluded)
I sleep twice a day sometimes => shorter duration
I think I only have the timezone listed on GitLab (GMT+3)
(and all my dev computers are in UTC)
@midnight agate ok
@midnight agate everything other than "name" was inaudible
(rule 9 but we do know this is non-entirely-serious)
@mighty linden don't ask people if they're hiring/if they can refer you somewhere randomly, because that will eventually run into rule 9, even in DMs, if happens repeatedly
it came out of context people were talking abt that
also no one is really going to be ready to take the responsibility for doing that if they haven't worked/collaborated with you directly previously
@midnight agate random useless information: I might've recently crossed the 10K contributions per year line
likely because of all the microcommitting and tagging that's happening
mostly Rust-containing repositories
combined
across hosts
GitHub, Codeberg, local Forgejo, local Gitea, work Forgejo
and absolutely nothing on GitLab
different CI, less integrated with the world compared to GitHub
as far as public stuff goes
(non-self-hosted)
if I ever switch off GitHub but still want stuff hosted publicly with CI, it's going to be Codeberg with my own CI runners
Hi
I think this used to include Cargo?
so either never happened or discontinued
possibly because involves more logic than just plain file storage

Who needs to memorize when you can search
While I excel at exams, they are so dumb generally speaking
boss is never gonna say, do this thing, alone, in the dark
they're gonna say, use what's available, anything, get it done
like memorize this
the table is not available ever
in life
I know
That's what I'm saying
memorizing shit liek this is tupid
because it's an available table
That's my point, sure exams, that's it
exams test for...
how good you are at taking exams
Pretty good
nothing to do with actual skills in reality
But I like to just cram at the end
Memorize for a day
Really why exams are garbage, but like I said, I generally excelled at them, so they saved my skin many times
Have you used theThingYouNeedExactly()?
"That doesn't exist..."
I'm sorry, have you tried theOtherThingThatDoesNotExist()?
FuckinAI
I like to say, it can make an image that passes, until actual inspection
so it does the same to code
six fingers
teeth on teeth
.replaceAll('fight club', 'video perms')
That is such a good skit
George Washington (Nate Bargatze) tells his soldiers (Kenan Thompson, Mikey Day, Bowen Yang, James Austin Johnson) his dream for the country.
Saturday Night Live. Stream now on Peacock: https://pck.tv/3n1IyzK
Subscribe to SNL: https://goo.gl/tUsXwM
Stream Current Full Episodes: http://www.nbc.com/saturday-night-live
WATCH PAST SNL SEASONS
Goo...
Then they came back for another
hello guys
😂 CHAPTER 1 — THE REINFORCEMENT LEARNING PROBLEM (No Bullshit Version)
?
I'm js showing the THE REINFORCEMENT LEARNING PROBLEM (No Bullshit Version)
😂
!paste
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
i don't even know if this works 😭
it is monospace there too
just different tab sizes
seems like
looks mostly okay
not fundamentally broken, that is
realloc is cursed but can't really do much about it, it's just a weirdness in the C standard
defaulting to 256 capacity is a bit optimistic about how much you're going to put in there
there's an option to separate all the function pointers into a vtable
~/Documents/C/vec.h/ ./a.out
Vector contents:
my_vec[0] = 10
my_vec[1] = 20
my_vec[2] = 30
After deleting index 1:
my_vec[0] = 10
my_vec[1] = 30
did a little bit of fixing, works with an example
consequences of the consequences
continuous consequences
this looks slightly uncentered
slightly
@wind raptor supporting a small indie studio by buying 30th Assassin's Creed in a row
and doing all in-game purchases, you know, for the new emerging devs
small 20k employees indie studio
🚀
exactly
I like what Space Engineers did
I have the original game, but not the new one
cosmetics and scenarios through a ton of DLCs
each update is new content for the base game + cosmetics in a DLC
because there are people like me who will just buy all of it anyway
600mbps for $100 a year
@molten pewter I pay around $25/month but that does vary depending on usage quite a lot
playing tetris effect was quite an expensive experience
so called "generic" programming
shouldn't start small or big -- should start with something, of any scale (since if you're a beginner you can't even compare scale yet), where the goal is clear
right
lol
remember: std::vector<bool> is not a collection (it's not even std::vector)
that's really hard to build something in ai without a GPU 😭
no cuda no tensor no pytorch 😭
why I have limitations 😭
why would you even think of using std::vector<bool>
also known as std::bitset_but_bad
std::blunder
what do you want to build?
@scarlet halo resizing on remove is somewhat dubious, there are reasons why it's usually not done
instead you'd have reserve and shrink_to_fit separately
@scarlet halo if the size fluctuates, you end up reallocing a lot
without a reason
so need to decide based on usage
Is that c++ ? You all talking about?
it's not like that I'm making my own LLM model around now 1 years still working on a PS4 + pi + ai nas + i3 laptop full clustring devices
it not support anything no tersor no pytorch no cuda
making own OS own deep learning framework to train full LLM model my model is not like a LLM model it's multi agent model somehow I train 3B model from full scratch
I was told just to use pointers to expand 
std::vector can't do that, for reasons
moving values needs both old and new allocations to be present
We talking about rust??
Build like a linked list 
std::vector is C++, we're talking about C/C++
AIt
Ahh cool
though I guess with Rust it's somewhat safer
https://github.com/Spelis/vec.h/blob/main/vec.h @lavish gazelle
because Rust's move is just a memory copy
unlike C++
where it's non-destructive and potentially more complicated
You built your own vector impl using macros??
I am not a C++ guy
Just started learning in like a week ago
i don't think he liked it....
yes
Interesting
that specific one is C
so no templates
Ahh I see
ifdef C++ extern C
or whatever that looks like
so these horrors can be reused in C++ too
@scarlet halo https://doc.rust-lang.org/nomicon/vec/vec.html
potentially useful reading material
though for a different language
What language should one learn after python??
Jinja2
~~python 2 ~~
🥴
Brainfuck
to learn more about Python's internals -- C
to just have something which works as is if you want to make Python faster -- Rust
, or Fortran if you hate yourself
on a serious note, it's up to you, depends on what career you want
learn Cobol
Lolz
numpy.f2pain
That's python library
!d numpy.f2py
Copyright 1999 – 2011 Pearu Peterson all rights reserved. Copyright 2011 – present NumPy Developers. Permission to use, modify, and distribute this software is given under the terms of the NumPy License.
NO WARRANTY IS EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
Fortran bindings for Python
I'm serious 🙏 no cobol fortan please
@solar ridge he always is
how do you build a library?
first, you find books
then the building and shelves spawn around them
if you want to go the web route, then is is a genuine answer
@lavish gazelle because PHP
Laravel has some quite good new stuff
But how you build a Library 💀
rule 1: don't build a framework
Yeah use framework to build app and make 💰
frameworks and libraries are two different views on making reusable software
frameworks generally don't like to coexist with each other, but not always
Let's collaborate on a project?? Anyone?
Let's build our own chatting app that don't store any data client heavy chat app
@upper basin "you've been working,
or it was just a dream, and you actually just woke up"
Sorry, forgot I was in a call on here.
@solar ridge
@upper basin VIBE SCALE
V stands for vibes
V stands for vapourware
@upper basin remember we had this person here, Dustin (blue pfp), who used to go on rants about how great his ideas are
and then got banned
@upper basin "easiest to impress...
... if code exists"
in retrospect, it's a bit unfortunate we didn't shut them down early enough
fake it till you fake it even more
🚀
infinifake
python/src/hhat_lang/toolchain/cli/cli.py lines 38 to 41
def version_callback(value: bool):
if value:
print("[blue]H-hat Language Toolchain[/blue] version 0.1.0")
raise typer.Exit()```
peak boolean parameter
Anyone got 5 mins to help me im new to s3rver and stuff and wanna learn sth but I prefer to talk to someone one on one because I feel more comfortable
rust/hhat_lang/src/hhat_core/src/data/core.rs line 27
fn is_quantum(&self) -> bool;```
rust/hhat_lang/src/hhat_core/src/mem/type_container.rs line 24
pub fn assign_data<T>(&mut self, data: T) {}```
@upper basin ^
(this doesn't pass cargo check)
🚀
@upper basin more made-up terms
@upper basin heap.rs
rust/hhat_lang/src/hhat_core/Cargo.toml line 4
edition = "2021"```
@upper basin they're also re-implementing hashing for whatever reason
ah, it actually doesn't compile
@midnight agate the problem with that person is that they're a toxic asshole, seemingly
not just delusional
@midnight agate the context was that this person got added in some group chat where they don't belong
so now need not to just block, but also convince to kick that person
it's an ongoing problem
"just block" doesn't work
I don't want to create drama there, just know he's gonna be spamming all the time.
With his bs.
I may block him so at least it doesn't notify me each time.
i know what you mean, i had to make my own server because the servers i were on were spammed by people plaugued by AI pyschosis
it's annoying to deal with
If it was blind hate, I wouldn't have given his repo third and fourth chances and attended his talk. I hate his pretentious guts, that's all. Now he's basically gonna be trying to do constant talks in that group.
I wonder how he's even running GA for tests.
Does he even have testers?
I didn't see any testers.
you can do the basic minimum of warning the person who you said seemed enthusiastic about that project too
G__H__A
(usually shortened to that)
GHA, GHES, etc.
My bad. I'll check if his GHA even runs tests.
My gta 5 graphics mod
Lamport
and Liskov in later years
responsible for PAXOS and VSR
why does it have eyes
VSR seems to be slightly obscure
TigerBeetle uses it
please verify mi
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
webscalen't
Expensive web hosting
TiKV
I haven't used these
somewhen possibly
@solar ridge and so is Surreal "benchmarks? what benchmarks?" DB
they already pivoted to AI
this isn't really a DB
it's, like, GraphQL but messier
Anything distributed DB requires decent programmer and that’s where issues start
less cropped
Was trying this tbh
Unlock intelligence.
aaaaaaa
Sure, money people want to see AI
Was building a django integration: https://github.com/Legacy-Engineers/django-surrealdb
NEVER put this in a database
why??
just store everything in a csv people..it's the best way...
JSON files are best
Instresting
open notepad.exe
instruct AI to put CSV inside using the mouse cursor
instruct AI to click the AI button to call another AI to fill stuff in
instruct AI to save the file (optional)
Kinda heavy for some people
even better 🙂
Yes, XML
4+ potential buyers
hahhah
Why does planting carrots need wood?
is_phony
@upper basin i've played that game before lol
I have half a mind to hack the game and give myself billions of each resource.
I want to unlock multiple drones.
have you unlocked mazes yet?
Not yet, it's soooo far away.
lmao it's been a while since i played this, i don't even recall how far in the game i am
Does it continue when you close it?
Like passive farming.
🤷 i have no idea, what if i download it again and i have quadrillions of everything 😂
this is so sad
HAH
I reeeallly want multiple drones.
ALOT
Just allocate one drone per lane.
lol that would be amazing
I'm gonna let it run till I wake up.
I'm gonna be so rich in wood.
Everyone is gonna be so jealous of how much wood I'm gonna have.
I'm gonna go sleep. Spelis, if you're on during my time, I'd love to play with you.
what's your timezone?
Contribute to Legacy-Engineers/vigtra_backend development by creating an account on GitHub.
I don't remember to have ever attended a hackathon
basic requirement: join it
even if it's just local
even for your own sake, commit so you have change history
anything goes wrong => you have git reflog and git log to the rescue
theodinproject
@rich sphinx
@primal shadow wake up i wanna talk quick i did the code
!send_code
help
input1 = input("Enter : ")
list1 = list("abcdefghijklmnopqrstuvwxyz")
char = list1.copy()
key = random.shuffle(char)
# print(list1)
# print(key)
a = list1
# print(random.shuffle(char))
#
# print(a)
# print(char)
def encoder(input2,char):
keys = input2
value = char
storage = dict(zip(keys,value))
return storage.values()
def decoder(input,char):
return dict(zip(input,char)).keys()
print(encoder(input1,char))
print(decoder(input1,char))
@primal shadow \
yup i did it
!e```py
import random
input1 = "The snozzberries taste like snozberries"
list1 = list("abcdefghijklmnopqrstuvwxyz")
char = list1.copy()
key = 8
print(list1)
print(key)
a = list1
print(random.shuffle(char))
print(a)
print(char)
def encoder(input2,char):
keys = input2
value = char
storage = dict(zip(keys,value))
return storage.values()
def decoder(input,char):
return dict(zip(input,char)).keys()
print(encoder(input1,char))
print(decoder(input1,char))```
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | dict_values(['a', 'b', 'v', 'w', 't', 'f', 'g', 'i', 'j', 'm', 'y', 'u', 's', 'x', 'z'])
002 | dict_keys(['T', 'h', 'e', ' ', 's', 'n', 'o', 'z', 'b', 'r', 'i', 't', 'a', 'l', 'k'])
I'm not convinced it's complete.
A shift of 8 on The snozzberries taste like snozberries should give Bpm avwhhjmzzqma biabm tqsm avwhjmzzqma
You might be almost there, but still a step or two shy
Have you met my friends, str.maketrans and str.translate?
!e py trans = str.maketrans('abc', 'ABC') text = "The quick brown fox jumps over the lazy dog." result = text.translate(trans) print(result)
:white_check_mark: Your 3.14 eval job has completed with return code 0.
The quiCk Brown fox jumps over the lAzy dog.
@hollow zenith👋
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Oh okay thanks
@hollow pollen👋
the moment has come, I'm making my own SSH server
SSH! Be vewwy vewwy qwiet, we're making servwers.
are there even any numbers?
@primal shadow @molten pewter
@somber heath they tried, it got declined
iirc
@primal shadow they're ✅ good enough to work at Ford
spend 2 minutes taking that into account, then spend 2 minutes preparing to plan
hey @vocal basin, i made the vec.h library more like std::vector. no automatic shrinking now. and no method-like stuff, a bunch more functions
@little valve👋
also i DID make the delete function just move the last element in the vector to the deleted spot, but maybe i'll make another function to keep the rest of the order
that's order-breaking, not really expected of vector to behave like that by default
it becomes more of an index-set this way
yeah i only thought about this now...
Rust calls that operation swap_remove
because it's swap then pop
@somber heath for me it kind of feels like I lost the capacity to really panic, at some point, possibly one of brain issues side effects, as usual;
there is some sort of missing connection from anxiety to panicking;
weird stuff
R u playing games
I was playing Peglin earlier
mildly exploiting the game by using such a forbidden tool as thinking
i'm writing some library that i can almost guarantee no one will use
hi bro
💦
💦

self-awareness hit in a very unfortunate way
Water 💦
-# (Evil (her name) being sad that Evil exists)
Yeagerest can you stop with the emojis
You guys are yapping too much, bro a fruit is a fruit or vegetables and vegetable that’s it
yes lol
Fruit
berry
meat
(tomato is one of those which are technically berries)
seems like yes
they've already been reported to ModMail, but feel free to do the same
Birb
While I'm far from prudish, there is a time, place and context to post certain emojis, to say nothing of moderated frequency.
Why I was asking normal questions
You don’t like eggplant I like roasted eggplant
They good
If you make it good
Yeagerest you're throwing me off with the things that you're asking.
chill your emoji, you'll get banned easily
remember Gofek?
its parrot and duck bruh
iirc 2023?
July
@somber heath Narnia stole the election
clearly
and Gensokyo
@vocal basin any thoughts on this?
https://paste.pythondiscord.com/G7QQ
i have added an unordered delete function (that just moves the last element to the index, thus being O(1)) that's called udelete. and a delete function that keeps order (shifts all leading elements to the right, O(n))
yeah
yeah i agree, it was basically just a random number i picked
alright im tired now. goodnight
so far successful
@somber heath ohno not the Magic The Gathering
"poor leopards having to live on a face-only diet"
Y'all have been asking for a choir rendition of the leopards song and now it's finally here!!! And as an extra gift to you, I've released my own digital album "Where's That Leopard Lady?" with all your favorite leopards renditions and a few new ones!! visit shop.franchesca.net to get yours!! Wishing you and the ones you love (and those you side ...
it was simpler than I expected
(for the purposes that I need with the tools available to customise that)
iirc Python has something for writing SSH servers too
but that sounds somewhat suboptimal
thousands
Python is okay with many connections
here it will just hit throughput instead
(I'd expect)
I need specifically TCP forwarding that SSH provides
Rust might just be more concise for that
@primal shadow
Northsouth trajectory
we seemingly have a train station called South-Northern
idk how the geometry of that works
@charred wharf 👋
yo
@edgy widget @tiny anchor 👋
@haughty pier this is the other way to get out of debt ☝🏻☝🏻
free money from the government!
Halo
@somber heath do you remember someone called "Just Chilling" btw?
Hello, @somber heath. Nice to meet you, mate! Sorry I couldn't open mic a while ago, I guess I need a lil more interaction with you guys!
!voice 🙂
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
What...

😱
Heavenly Bodies is a game about cosmonauts, the body, and the absence of gravity.
Discover the ever-changing nuances of weightless motion in this challenging physics game. Wrangle control of your cosmonaut’s arms with the left and right thumbsticks to push, pull, and clamber through fully physically simulated scenarios aboard a scientific re…
$6.79
3371
84
I made a web extension today after seeing osyra's extension....
lmao
How does that even happen?
good question
@wispy lark @hallow panther 👋
?
hi
Hello
