#ot1-perplexing-regexing
1 messages · Page 4 of 1
sure, but for more strict languages, I would assume ```python
def hello():
print('Hello')
a = hello()``` would throw at compile time
I know in Python, a will be None but that's python
That seems unnecessary
If the goal is to make it easy to write long expressions, like in rust/kotlin/scala/ocaml/haskell, having all function calls be expression is IMO worth the extra effort. (also it allows passing "void functions" into places generic over the return type of a given function, which can be useful and the units just get optimized out)
Goddammit I swear my school is the back rooms
I can't find a single washroom
I had to dodge several hordes of twelfth graders blasting edgy music while walking around thinking they're cool
Unit type?
(), None, undefined (ish). A type with a single member.
Which part
wthhhh Firefox's Brave theme is great
in Python?
hi lads
lizzie has bit the bucket
can’t believe it
saw it on radio one and was like jeez
(moosic) Buckingham palance has announced the death of her majesty queen Elizabeth the second (moosic)
like bro
.joke
The class object inherits from Chuck Norris.
.joke
What do you call a parrot that says "Squawk! Pieces of nine! Pieces of nine!"? A parrot-ey error.
.joke
How to explain the movie Inception to a programmer? When you run a VM inside another VM, inside another VM ... everything runs real slow!
oh yeah
lol
.joke
What do you mean 911 is only for emergencies? I've got a merge conflict.
Two bytes meet. The first byte asks, 'Are you ill?' The second byte replies, 'No, just feeling a bit off.'
.joke
Chuck Norris performs infinite loops in under 4 seconds.
Chuck Norris can't test for equality because he has no equal.
#sir-lancebot-playground pls 🥺
.joke
QA Engineer walks into a bar. Orders a beer. Orders 0 beers. Orders 999999999 beers. Orders a lizard. Orders -1 beers. Orders a sfdeljknesv.
lmao
let's go england has a king now
tasty
L
⬛⬛⬛🟨🟩
⬛⬛⬛⬛⬛
🟩🟩🟩🟩🟩
🐧
What have I become
https://www.youtube.com/watch?v=XIU4ECWPDAs tl;dr: no more username api
https://help.minecraft.net/hc/en-us/articles/8969841895693
Merch: https://phoenixsc.store/
Cape: https://store.badlion.net/shop/PhoenixSC
This channel is powered by Shockbyte server hosting --
Receive a 25% discount on your first month on a server with code "PHOENIXSC"! http...
rest in piece namemc 🙏
or is it "early RIP namemc 🎉"
bet they will rebrand to SkinMC
Hello
If i am using sed for multiple edits at once sed 's/foo/bar/g ; s/abc/bcd/g
is sed invoked only once or for every edit?
all expressions are evaluated once for every line AFAIK
@hallow frigate i have a question for you! how did Nicol Bolas got his name? i find the name so weird and out of place for a dragon, there must be a good story behind it 😄
lmao what?
this seems like a response to a deleted message
unless you're literally saying "every file, color, or behavior I perceive is malicious code"
like an image that I saved
I changed the extension of the file to txt
yes
does it begin with "PNG", "JPG" or whatever?
it's completely normal
it begins with RIFF
normal
means it's a RIFF file
doesn't necessarily mean it's malicious
riff file is a mode for transfer images betweens machines
rightw
can I paste one line herew
?
sure?
yeah
it stands for "Resource Interchange File Format"
wait
it's not necessarily for images
but whatever
I don't get a ban
nevermind
I did the same thing with other image and it showed the same kind of weird characters
lol nice
All I know about images is that one pixel has 3 values
correct, the RGB values
but that image have a webpm extension
something like that
and that file appears on a sanity check
what would you do in my case to decode to see the malicious script
I actually have no idea. I reasonably suspect it just "sounded cool" and that was good enough. I'll ask.
nice, thanks 🙂
Hello if someone is on pc and willing to help Please join the chess.com server and send me an invite to it so i can join it I'm on mobile and can't join servers without a link please help
?
a malware detector
av?
antivirus
How's the view, jake?
Cluttered with Nvidia ads
how much important is Bash ? should I learn it ?
yes and yes
Thanks
what keybinds?
exactly

it has a fairly basic emulation of emacs or vi, various way to search the history, ways to reinsert parts of the past command
alt+. will for example append the last argument of the previous command
Also featured in Zsh last time I set it up
yeah, these are fairly common between shells
aren't those just GNU readline features?
But is it found in the Microsoft oddball
probably
I need to learn how to programmatically make tab completion in PowerShell
import std.core;
int main()
{
std::cout<< "Hello, World!\n";
}``` so this is the c++20
which compiles 10 times faster than the regular #include <iostream>, said Stroustrup
Let's go i finally got my first laptop
And it's a gaming one which i didn't expect
Aren't modules in C++ 20 already
oh wait yes, ma bad
Also, the syntax is import <std> IIRC
But yes, modules are incredible
Finally, a way to get rid of the preprocessor for good
aight now better
yes
but clang doesn't support em yet, sadge
man c++ is getting awesome
with concepts, std::expected, modules...etc.
trying to steal ideas as much as it can lol.
Yeah, C++ can't keep up now that making a programming language doesn't require 5 professors working full time to write an optimising compiler for it
what does that suppose to mean
C++ is meant to be the language where all the cool features reside in a way that makes them usable in practice
essentially, academic languages make experimental features and then C++ makes them into a real thing
except now its way easier to just make a whole new language and develop it to a point where you can just use it instead of C++
bash itself, not as important, but knowing basic commands are really important
If I have a page like this name.github.io/ how can I add a new page for it like name.github.io/hello_world ?
have a hello_world/index.html file (hello_world.html would be name.github.io/hello_world.html on github pages)
https://yousufsmahmoud.github.io/, here I want to add another page after the last /
right, so add a the_path.html or the_path/index.html to the repo
although for the record, you usually use -, not _ in html files
Thanks, I will try it
Is it just my phone or does youtube on android not autorotate when fullscreened anymore
Google:
it does still work for me, but it can be finicky at times
especially when going from nonfull to full screen during rotation
my commit graph doesnt look very healthy
rotates for me
same. it always goes to one side
That's a quite irregular heartbeat
Getting to bed at 2 AM is not healthy, true 
try looking at your commit graph that way
But a full commitment's what I'm thinking of
ah, I just commit to my own small repos
and that graph is from last year
found a cool (if old) presentation explaining the purpose of ECS and gamedev in Rust, made by a Starbound developer.
https://www.youtube.com/watch?v=aKLntZcp27M
RustConf 2018 - Closing Keynote by Catherine West
When you’re just starting out in Rust, you start by building small programs. As we all know though, medium and large projects can have very different, unique kinds of problems that smaller projects never encounter. As our projects grow in size, we need to be increasingly concerned about code org...
@pastel tree You didn't have to close the channel.
oh okay
@spice spire Good luck. 🙂
I'm not sure you realised, but I was in the middle of typing out an example, but I suppose either I was being confusing or you figured out what you need to do, so whatever.
sry but im confuse on what you're trying to say. thank you though
!d dict
class dict(**kwargs)``````py
class dict(mapping, **kwargs)``````py
class dict(iterable, **kwargs)```
Return a new dictionary initialized from an optional positional argument and a possibly empty set of keyword arguments.
Dictionaries can be created by several means:
• Use a comma-separated list of `key: value` pairs within braces: `{'jack': 4098, 'sjoerd': 4127}` or `{4098: 'jack', 4127: 'sjoerd'}`
• Use a dict comprehension: `{}`, `{x: x ** 2 for x in range(10)}`
• Use the type constructor: `dict()`, `dict([('foo', 100), ('bar', 200)])`, `dict(foo=100, bar=200)`
I feel like this is definitely a help channel
yep, sure is a help channel
Obviously must be one
is py.rs.js a Python interpreter, for embedding in Rust programs, written in JS?

println!(true)
Br
Child's play #ot1-perplexing-regexing message
It's a help channel because if you say "i can't do this in rust, rust sucks" you are likely to get rust help
I can't do doubly linked lists in Rust
Rust sux
Rc
Home page of the Raku Programming Language.
ah yes, Remote-Controlled Rust
Perl: LSD Edition
The best way to get help on literally anything is to post a question, then get on an alt account and respond with a completely wrong answer and BOOM you have an entire community giving you the correct one
.wa s Cunningham's law
Failed to get response.
well
What's the Wikipedia command again?
.wiki kimi raikkonen
Kimi Räikkönen
Kimi-Matias Räikkönen (Finnish pronunciation: [ˈkimi ˈmɑtiɑs ˈræi̯kːønen]; born 17 October 1979), nicknamed "The Iceman", is a Finnish racing driver who
2007 Formula One World Championship
Championship was won by Ferrari driver Kimi Räikkönen by one point at the final race of the season, making Räikkönen the third Finnish driver to take the
.wiki Cunningham's Law
Ward Cunningham
According to Steven McGeady, Cunningham advised him of this on a whim in the early 1980s, and McGeady dubbed this Cunningham's Law. Although originally referring
Duke Cunningham
San Diego. Cunningham became nationally known as a CNN commentator on naval aircraft in the run-up to the Persian Gulf War. Cunningham's visibility as
“The best way to get the right answer on the Internet is not to ask a question; it's to post the wrong answer”
“This isn’t working, rust sucks” “no, you’re wrong, heres how you do it and why its great”
oh but you can 👀
any1 knows a program that mirrors my screen like obs is recording just an app that gcan get me a live screen mirror?
lies
gankra actually wrote a book on this
Learning Rust With Entirely Too Many Linked Lists
Trolled
i bet no real company uses rust in prod
I bet none of y’all can send me 20 bucks
Its almost october
you think i'm reading?
Time for another free shirt
i just saw psvm's post
damnnnn
😕
Honestly really informative. Thanks for sharing this
the stickers are the best part
weird, why not null
Stickers are okayish imho, got one on my water bottle
i love stickers
This was the cutest sticker i've gotten from hacktoberfest
Were underscores unavailable for the current room name? That's disappointing.
This is another server, but holy cow i can't believe this didn't get marked 😂
it's a famous copypasta
Many computer users run a modified version of the GNU system every day
Put an asterisk on that
Mainly for Chromium OS, Android and Alpine Linux users
And Windows and macOS outside of Linux
I know.
light theme 🧟
😈
Vampires
Well, you can make Discord channel names with underscores
Either old Discord doesn't allow it, the bot can't or they did it on purpose
can someone explain what a stream is 😭
lol
actually that helps
but whats a buffer then
and why do u need to buffer streams if streams themselves are a type of buffer
or im wrong
Idk about buffer but i do know about buffet 😋
bro 😔
Nice profile picture btw
I_LIKE_THIS_CHANNEL_NAME
But it's screaming kebab case
It's not screaming snake case
lol these names are the best
IS-THAT-NOT-DIFFERENT
SCREAMING-KEBAB
SCREAMING_SNAKE
SCREAMING CASE
Aboo is canonically a monkey from alladin, so he does like bananas
@low chasm
ok
Fuck typo
I meant bananas
As in your name
You know when you're talking to someone and typing
I got a screenshot already of your typo
Ik
Anyone heard of or messed with bun? Seems to be a nodejs and deno competitor https://bun.sh/
Seems interesting
Lots of bold claims for sure
The logo reminds me of @distant hazel for some reason
Yeah it does a bit
Well, I have a tiny side project on my mind for the next weekend so I think I'll give this a go instead of node.
See how it feels.
Let me know how it goes, I'm pretty curious
Bun automatically loads environment variables from .env files.
I am, to this day, just baffled that this is a selling point on anything dev related. Why do we even make tooling that doesn't support.envfiles as native sources of environment values?
A lot of it just hasn't changed enough or recently enough to do it
Which yeah, is silly
ah well, just something that jumped out. I'm totally not a heavy user of node but I'll see how this performs from derp
to deployment.
anything that sells performance first always seems suspicious to me, since I expect some corners to be cut
Same
A lot of it is written in Zig which is the first time I've even seen that language
Zig is quite neat
Was going to make a "found Zig" joke but I can't get stickers to work.
the language has goals I disagree with, but it meets those goals really well
What parts don't you agree with
obvious control flow is the big one
love me flexibility in when I can call functions
it is of course very useful for writing fast code and such
yes their branding is super cute


i'm in their server
I think Bun has something more concrete to base its speed on
And that's using Safari's JavaScriptCore instead of Chromium's V8 engine
I don't actually know what the performance difference is between the two though
afaik JSC just warms up faster.
yep, it went viral (in JS-land at least) a few months ago
still in early stages of development; pretty ambitious goals but we'll see how it plays out
Such a js thing to get excited about literal proofs of concept
pur lease like pyscript wasnt hyped to death too
Thats for js people that wanna do python instead
well, you can play with Bun right now. they have an install script and cli. but the goals beyond "just a JS runtime" are probably not close to being realized. Oven was founded to lead Bun's development, and you can read more about what I'm talking about on their website (https://oven.sh/)
Not really that interested because i'll probably never get to work with it professionally
And i dont do js if im not paid for it lmao
isn't it for python people that don't want to write js?
I feel that py people that dont wanna do js would do the smart thing and use ts instead
then for python people that don't want to write js/ts*
wasn't that its pitch?
or am i misunderstanding
Maybe, idk, as a python guy myself i would rather do TS than "python but worse" (in the browser)
typescript is just flavoured javascript though. That's a silly way of drawing lines, imo.
Im sorry but thats like saying chocy milk is just flavoured milk when its so much more
I think it's more of a "do you think data scientists would use JS/TS at all"
Why learn d3 when you're already familiar with matplotlib
Hey I'm a Brad
nice to meet you brad! I'm noid. Now, what can i get for 3 emeralds?
At least 3 other, similar emeralds
1 feather, take it or leave it
I'll give you 3 emeralds for 1 feather and then ill give you a feather for 4 emeralds, deal?
sounds like a deal to me!
hi a brad, im dad
I'm* 👽
Hi * 👽 , I'm Dad!
hi hi dad I'm * 👽 brad
👽
now that one just doesn't make sense
hi hi dad 2i9 im * 👽 brad hi
🗿
@jaunty wraith why are there suddenly 5 random volumes
I think so, yeah
well good luck
Just treat Ubuntu the same way you would treat macOS and Windows
no 1 mistake when using Linux: "ooh i can do this? hmm what would happen if i just..."
yep
its a bit difficult to do when ubuntu freely gives me the permission to make it eat itself
it's fun in vm tho
deleting your home directory and watching your pc deleting itself is fun
init
Anyone else put their sidebar on the right?
Been trying this out so the editor doesn't end up shifting around
And see if it's a good enough improvement to keep or not
wdym by shift?
see how the editor moves around when on the left
It didn't really matter anyways after I remember Zen mode exists
Zen mode is great
Although I disabled full screen and centering
Hey @jovial oriole!
It looks like you tried to attach file type(s) that we do not allow (.mkv). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a, .csv, .json.
Feel free to ask in #community-meta if you think this is a mistake.
Rip
how can we protect our privacy and our personal data in the internet?
should I stop using any service or website that asks for a lot of information?
You really can't
Sure you can try to minimize it but it's difficult
The general tips: use a VM, use a VPN, use DDG, that sort of thing
what is DDG ?
DuckDuckGo
This is so true
I think at this point
You should only use services you're comfortable sharing your data with
and at the very least, minimize interaction with those you kinda have to have
You will need to read a lot to figure that out, and I'm not even sure if it makes sense to link you to resources because there is a fairly high technical barrier to achieve high privacy
But with that said - use Librewolf and searxng (online instances at https://searx.space/ ) to replace your browser and search engine.
that's a start
ddg or brave search engine will do
Brave vs Google search engine which is better?
in what term
For search results, Google
For privacy, honestly I'll hand it to SearX or DuckDuckGo
I don't see Brave as a company that has morals
it has better results than ddg imo
I still wouldn't really trust my data to Brave
The idea of a company that doesn't respect content creators, it's own userbase as well as being a hypocrite for blocking ads yet serving their own doesn't sit well with me
https://twitter.com/tomscott/status/1279112966974177287?s=20&t=_9XcKg_w9MJBBT1_VMXZBA About the part with content creators
@smartereveryday @3blue1brown I would very definitely avoid Brave. I had an argument with them about soliciting donations using my name without consent in 2018 (which they have since changed), and lately they've been caught sneakily adding their own affiliate links into web pages: https://t.co/77KChZSAzy
319
Which also highlights not respecting their userbase for not being transparent about affiliate links
i mean, yea, brave did wrong things in the past. like selling its data to ad companies without its users knowing
They've shown to be promising, but end up breaking that when they keep screwing up within a short span of time
It's pretty hard to trust Brave when they're no better than Google or Facebook in their own ways
I'd go with google than either of those, lol.
Web without JS beats web with JS by a long shot, if going even more into the privacy-concern-territory
Dammit I was late for the bus but 15 minutes early for class
How the hell does that work
The teacher isn't even here yet
bus needs to get people
But bus drives too fast
The heel is a very mighty part of a shoe
Now I have to awkwardly wait with
3 class mates I don't know the names of
why don't you get off your phone or whatever and socialize
you can fix that
learn their names
Teach them about the Holy C
Lmao, am I supposed to just put phone down and go " hi, whats your name?"
What if they start silently judging Me for talking to them
uhhh, yes, that's how it works
Lol
Too late already did it
have you considered introducing yourself
That's on them
It reflects their behavior more than it does yours
my man
ah yes that's totally a good way to start a conversation
I'm not that socially awkward, I'm just looking for something to complain about
My life has been too good lately
Everything is falling in place like puzzle pieces
I made a haha big funny humor joke in English
Become a Twitter user
Go to the politics section
do you know how much of a loser you sound saying that?
it actually is
check out thatwasepic
he picks up like 5-6 girls every video
and he has a ton of those
and he starts out by asking them their names
so it is the standard way to talk to a
stranger
has anyone figured out how to move a fullscreen window to a different screen on XFCE?
what is your name
If by no sense, you mean no play testers then yes
No sense
there, happy
im new to this stuff
!rule 9 never happy
im not payin you
Lmao
Did i miss the sharing part?
You didnt share your project
okay
Hey @sage dune!
It looks like you tried to attach a Python file - please use a code-pasting service such as https://paste.pythondiscord.com
Youre distributing a random python file? Why not put it on github?
Makes you look less shady as well
I think you should be less worried about how to get people to test your code and learn new technologies and automated testing
@tardy rain Explain please
Learn to use version control (git) and testing frameworks
Finding out is part of learning
fair
You already have enough keywords for a google search
thanks
@reef geyser whats so scary about C++
Not really scary, just not my cup of tea.
Define not your cup of tea? Like not to your liking?
Exactly. It's not bad per se, but I think it's trying too hard to be too many things.
And that off-puts me.
Thats a quite odd statement, which i cant either relate to it or the feeling for the language
Personally i feel sorta the same way for Rust but i just dont like rust because of syntax and ownership
like you said
it's trying too hard to be too many things.
I respect it when languages can be many things, but because of its userbase and fundamentals, not because you literally shoved everything you could've thought of in it
Which C++ is
A kludge
I'm personally liking C++ it reminds me of a low level python
Which is great, I hope you do enjoy it.
And it's not like I don't enjoy it either, I liked writing C++ code in robotics class when I was asked to
There's just too much going on there to really make me consider it unless its industry standard or de facto
I will probably use it in robotics second semester, but i think ill probably use it in the industry but i still see myself making backend tools with the language
c++ has a bunch of things to manage ownership though, doesn't it?
Dont know havent gone to memory management yet🤷♂️
how? it's literally c++ lol
I just declare stuff and never clear the memory😎
Part of the reason I don't like C++ that much is because it's a pretty old language with a ton of stuff that's been added, not all of it considered best practices these days, but they can't remove anything for fear of breaking backwards compatibility
It can be used to great effect, and modern C++ with current best practices is pretty good, but much of the time dealing with legacy code is a huge pain
Additionally, discovering which tool you should use, without the guidance of someone who has been down that path, is really difficult
@jaunty wraith https://www.youtube.com/watch?v=71WtiZBB_oI Your engine
this is horrible and I love it
my engine? 👀
Your engine, 🗿 V8
does anyone know when is AWS Lambda upgrading their node vers
Why are you using node 16
it's now 18
(and there are good features added)
16 is LTS
Because Node 16 is the LTS
Something that I appreciate Node has that Python doesn't in combination with nvm
the other cloud providers have upgraded IIRC, or provided a timeline to do so
I'm only unhappy because Netlify uses AWS L and I can't use N18 features lol
Well yeah it matters for you since you want/need it
and I can see how that can suck
I just don't need the cutting edge, I just want something stable
Hmm yes, Clisp
ic
for a bit more contrast, change the text color to white
try messing around with IBM Plex Sans/Mono, Inter
oh, these are pretty nice actually
nice pick 👀
I don't know if i should go for extralight 200 italic or not
italic is great imo but if i want to change it later i have to download the ttf again and change the name of the font im loading again
.
i think ill go without italics to be safe
Couldn't you download them all at once and install
i could, and i suppose right now the assets being bloated wouldnt matter anyways, the game is in early stages of development
Windows has a drag and drop interface to automate the install part
Oh a game
I thought like using the fonts on your system itself
Okay ignore what I said then
here specifically
Very nice graffiti art
@thick ore thanks a ton, is this better?
thanks!
ah that
i dont
i just havent added anything to the repo, for now it just acts as a backup incase i want something
@digital ivy I'd estimate that C++ is the most complex language used today.
it's an incredibly, mind bogglingly complex language.
Python has lots of complex bits, too - but C++ has far, far more of them.
that doesn't necessarily mean that it's difficult to learn the basics, but it can be very difficult to understand how all of the complex features interact with each other in C++
Got you. Thanks!
👍
woah woah woah, where is prolog and lisp at 🤣
prolog is at idk and lisp is also at idk
??
still valid sentence
are you talking about the "what" insted of "where" that was a mistake 🤣
it's an answer to both
oh, they're both still widely used these days
and when i say lisp i mean common lisp of course
both prolog and lisp are far simpler than C++, though prolog can get pretty close in places
My impression is that prolog and lisp are both small languages that are known for their simplicity and consistency
The ISO Prolog spec is 222 pages, per https://www.iso.org/standard/21413.html and https://www.iso.org/standard/20775.html
The ISO C spec is 520 pages, per https://www.iso.org/standard/74528.html
The ISO C++ spec is 1853 pages, per https://www.iso.org/standard/79358.html
do ISO specs handle all possible compiler outputs and parsers for each stage of the compiler?
they fully specify the language's behavior
so everything?
they'll usually include a grammar, but I'm not sure what you mean by "each stage of the compiler"
I suspect the answer to that is "no", but I'd need to know what you mean to be sure
the standard is not concerned with how it is implemented
it doesn't give two fucks about IRs or whatnot
it only cares that if the code says X, the implementation will make it do Y
preprocessor, lexical analysis, and semantic analysis?
oh - then, yes - the behavior of the preprocessor is specified, as are things like what symbols are valid identifier names, and what code can be in a block, etc
basically the standard only cares about user-facing things
it doesn't care what it does on the inside
right.
is there ever a case when writing a spec that there are some conflicts between parts
like, the fact that a C compiler will typically compile to assembly, and that assembly is then assembled into an object file, and that object file is then linked into an executable or library - that's all implementation details. The standard doesn't say anything about that.
sure, standards can have bugs, just like code can, or contracts
https://www.youtube.com/watch?v=-G67WVa5kmo Look at me in the sussy Lambo
Isnt there a way to see the registered age of someone's account
not on Discord
Unless it's from a bot
Thank you
do you mean how old the account is or how old the account user is?
The user
yeah you can't get that
both easier than C++
objectively wrong
If you want to know when a user created their account, get their ID, bitshift right 22 times
commonlisp get really complex really really quickly, and i wasn't actually comparing btw,
many languages get pretty complex on large codebases so my statement was about them saying c++ is the hardest, so i was just saying that it's ONE OF the hardest languages
the original statement was that C++ is the most complex language currently in use, which I find hard to argue with.
modern C++ is convenient enough. I say this despite hating having to write it
discord isn't tinder?😳
😳I like to travel and long walks on the beach
😳I use scratch as my apis backend
Ok, so, theoretically it would be possible to do this. It might require some hardware or driver fuckery but theoretically you can make your APIs backend in scratch.
Would probably be super slow though
you wouldn't even need any of that, just use OCR or something to read the output of the scratch script
Spawn with all it deamons was not a bad movie 🙂
I did spawn few daemons in my life too !
something like python?
!pypi pytesseract
i used this to copy all text from images my french teacher sends for assignments (because doesn't know how to pdf) and convert to english. french is so much easier since then
ok but hear me out
.
rofl
sadly the largest array of bytes I can transfer without having to modify scratch-vm is about 10 bytes
however, it does looks like I can transfer a max of 19 bytes back from scratch
how about java
personally I find it more complicated than c++
if you took all the java standards together, it may be more than C++, there are a lot of those. But as a language, it is quite simple
hmmm
I mean, just compare std::regex with javas 4 classes to do the same.
@floral apex But I can't integrate it to my smart house's system to aggressively churn out "Fuck you" whenever someone opens the door to the printer's room
Yea mate, no, it's the industrial stuffs
I might consider that when I get to printing packaging labels though
Oh I was saying 3D printer for the body + Raspberry Pi + electronics store parts = DIY printer
@eager trout Got any idea if Flutter can be used to overlay on top of something
Like say a keyboard app
Or desktop widgets
You might need some third party library. Pubdev has something. I recall that there's a flutter project which utilizes this kind of behavior
@floral apex https://github.com/mulaRahul/keyviz
That's very cool, fr
I can always check the pubspec
Seems like a combination of window_manager and flutter_acrylic
sad. no macOS or Linux support
Nothing of value missing

Must be using something involving the Windows API
yea
That or they can't guarantee it works for macOS and Linux and can't test for it
I can reuse what they did here
And make a custom desktop
If I can force hide the Windows taskbar
Do Flutter plug-ins have to be in a specific language(s)
Or can I crabify them
it's tru tho
Python 1.0 was like 1994, JDK beta was 1995
And supposedly python was conceived in late 1980 but wasn’t implemented for a while
okay, what about jre tho
yeah, python does indeed predate java, though python 2 is really when it became relevant
Do you guys believe in love at first sight? I dont personally.
Depends on how you define "first sight" but I know I've experienced it multiple times in my life so far. Looking forward to more.
First sight as in first eye to eye contact, wdym more?!?!?
First eye to eye... Hmm. Yes. Though, did I know at that moment? Not enough that I felt it, but it's clear that is the singular moment that brought two paths together for that moment.
So you felt a connection but not one enough to actually feel the feeling of "love"?
From the second question you asked I have the strong suspicion that my definition of love and yours do not align.
Ive never really felt the feeling of love at first sight or true love i would say, so they definitely dont align
not really, but I believe in attraction at first sight
And that's perfectly fine because we are all different in our feelings. Makes it difficult to explain what I've felt looking into someone's eyes that lead to absolute no surprise that we would share the feeling of love between us.
I would also agree on attraction at first sight
I got another question
What is love in one sentence?
a release of chemicals in the brain and body
To you😭
love is when I munch on burgers
Love is a word used to describe a strong emotion that is related to trust, safety, compassion, and kindness.
Personally, I did not forget. Stress on the fact that this is subjective opinion.
What do you mean subjective? Dont you need respect to have trust, safety, compassion and kindness?
I can show kindness to those that I do not respect. I can give compassion to them as well. There are many cases where respect is completely removed from love in my world.
But you cant show love without showing kindness or respect?
If you miss one of those, that's just lust and not love?
I'm not sure I'm understanding you correctly. For me, love is kindness and compassion and many other pieces. Respect is not one of them. I have love for those in my life that I've lost respect for. I hope one-day we regain that mutual respect.
Ok ok, so if you love someone you would need respect for them, as you cant love them and treat them like a piece of shit, i would say respect has a big role in love in my eyes
I see what you are saying.

It's always interesting, seeing how widely others assign words to emotion.
Yep
I can have zero respect for someone and treat them like gold. I can all the respect in the world for someone and will literally spit in their face.
What the heck is respect for you?😭
Something complex, just like love.
To me respect is the feeling or concept of treating someone correctly in an honorable way that you want to be treated as well
E.g being kind and polite and the feeling of a good relationship between person to person without any feeling of rivalry
the feeling of a good relationship between person to person without any feeling of rivalry
That's closer to my definition of love xD
I suppose I'm drawing a line in my head between the verb action of "treating someone with respect" and the noun meaning of "respect". Over-complicating it as I do. Respect (the noun), to me is the judgement I have of another. My personal, biased, and completely internal judgement of another person's character.
So I can have no respect for you but still treat you with respect under the correct circumstances. (happens all the time at work)
So you basically love everyone? Thats nice, meaning you also love me right?🤔🥲
At work? That sucks, thats kind of you though.
I don't love everyone. There's still a level of separation between acquaintance, friend, good friend, and love. Though the lines are blurred more than others that I talk too about it. :)
Yes, work present social/political situation that make wearing a metaphorical mask necessary.
for example, everyone is friends with preocts. everyone is good friends with joe. everyone loves brad. very simple
But back to your original question, there have been people in my life that went from a net neutral straight up to the love category in what would equate to "first sight".
Well then that level thats under love in your definition is respect, no?
Quite Profesional of you to do that.
Again, for me respect is another category completely. I don't mix it with love. I, to be coy, respect the fact that for myself those two emotions exist independently.
The complexity comes in when you stop looking at a single emotion and try to quantify the entire bundle. 
Nothing wrong with that, but without respect you have no love, right?
I love two individuals in my life, today, for whom I have little or no respect.
well.. two individuals who come to mind when I think about this. I'm sure it's more complicated than that.
Yeah i dont really understand the feeling or concept and cant figure it out or mold it in to a word, but i do get what you mean.
For sure, it's a super complex topic. We've only been talking about interpersonal emotional labels. But these words aren't isolated to that at all! I love pad Thai. Does that use of the word have any correlation to the love I feel for people in my life? 
For that matter, is respect an emotion or an opinion? 
I would say a concept that correlates to an emotion to each person
I'm going to have to write tonight now.
You've got and pushed my head into deep thought mode.
Sorry, i think allot about emotions and how they can play/manipulate your mind's response.
It's a good think to think about. They control you. I'd say that's worth self discovery and understanding.
That reminds me of a line i saw one time saying, "Dont trust anyone, not even yourself"
Yourself meaning your emotions and how they can change your minds response at that time/situation
Mhmm. It's a good phrase in context.
Yep
"You can turn your back on a person. But never turn your back on a drug." - Fear and Loathing
Mhm, addiction a strong evil concept
It's also a metaphor that the character's emotions are in full control, not the character.
I can relate ive been through addiction and i wouldnt say its a feeling at all but someone else because it doesnt feel like something you would do
sorry, was at work. With flutter, you need to code the plugin in three different langs/API's for each platform
Java/Kotlin for android, Swift for macos/ios, and win32 api (c/c++) for windows, and C (gtk) for linux
As for crabification, not sure
https://youtu.be/5NZVjqQQzLQ full video
Can you improve eyesight in "just five steps"? Lots of online influencers pitch Ayurveda as some magical 'cure' for bad eyesight. Five steps, they say. Guaranteed, they say. Massage your feed and put complicated drops in your eyes, they say.
But is it all total nonsense? And either way, how can you know for sure?
In this video we dive into ...
This is not approved advertising. Please contact ModMail via DM to seek permission.
@hazy dirge please don't post chainmail
The USSR was founded in 1922, Gorbachev died in 2022.
The USSR was dissolved in 1991, Gorbachev died at the age of 91.
Coincidence?
i think not
Is it just me or is anyone else having a stroke
@pulsar summit i can give you the link for a statistics server that i'm a member of if you're interested. there are some R users in there
woah my ping is so bad i sent a message after it was deleted
I'm sitting here thinking about this feature on discord that shows everybody on the server, which app/game you're currently in and wondering why the operating systems give software that much permission.. they probably record everything you type and click.. basically everything you do
well, you are expected to only install trusted software. There are of course systems which can avoid this, notably android, macOS, iOS, ...
and windows is slowly moving in this direction as well
yeah, i just hope it gets more private and not less private.. because smartphones are a complete joke when it comes to privacy and seems like Microsoft is trying to make Windows more like a phone
smartphones are far better in terms of privacy than pretty much any other OS
except maybe BSDs since no one bothers to make spyware for those
nah, they literally embed cameras and microphones into them instead of giving you the option to hook one up
a microphone is absolutely critical for the functionality of a phone
well yeah
a camera I would argue is also mostly indispensible
of course, having hardware switches on those components would be neat
but honestly, I doubt they can be made resilient enough
i honestly think that U.S pushed the 5G bill for phones so that it was less noticable on your bandwidth when they're spying onyou
as if anyone cared before
yeah because nobody thinks for themselves, they just do what joe blow does down the street
I think most people are aware that privacy is dying, but there is more or less nothing you can do
idk .. old people are wise from experience in life but also because they dont work
everyone between ages of 1-retirement age are literally robots.. they get up and do the same exact thing everyday
never take a day off and just look around and think about whats going on
why do you think so?
i haven't worked in 5 years.. hugely rethought life alot
i remember getting up everyday at the last minute to rush off to work.. and then as soon as i got off and came home, i immediately spent every minute I could trying to get my dopamine
whether it was from being on a computer or watching TV or w/e
its like a need for a drug.. everyone goes through it.. thats why you see everyone with a phone in their hand texting nonstop these days
most people I see are either looking around or talking with whoever they are walking
overworked, underpayed.. never satisfied.. always wanting more more more.. it wouldn't matter if you made $5 an hour or $500/hour you still look for something else to want to go buy
yeah but what are those people talking about
who knows, probably other people
yeah that too
Hello again Windows Phone
Still far off until Windows on Arm becomes less of an afterthought
Finally gained my love and motivation to write code again 😌
Im working on a little cli app with rust
Just to get reacquainted with it
i think writing a little bit of code every day helps with consistency for me, before i used to do long hours in one day and then nothing for the next week
what app
minigrep, im following the rust book :3
oh cool
ye ik
i love the wording of the book
anyone in the discord STEM server mind sending a link?
this one
but all the ones ive found expired
Just checked, you should be able to find it in the discord server discovery
It was the second one down after searching 'STEM' for me
Ohh thankss
you are indeed
You are now manually thinking
Wow
meanwhile youtube recommending me chinese videos when I'm not even one
ignore the charlie playlist
That's Japanese fwiw
Twitter thinks I'm Japanese too
oh yeah that's japanese
japanese is usually curves while chinese is mainly straight lines
that's how I differ them
Chinese looks like literal square blocks of characters to me
It's usually easy to differentiate between the two
Unless if the Japanese is written only in kanji
But then again, kanji and Chinese script have their own nuances
what is the deal with people able to write code that works the way it's designed
isn't that every code
I can write a code right now
that will return an Error
and the end goal was to rename files
you mean "works as intended"
because "works the way it's designed" can be applied to every piece of code
yes
Very interesting
does Rust work well with Emscripten and Emscripten's SDL2 emulation?
I've heard some bad stuff about the Emscripten Rust target from Reddit
why do you need emscripten specifically?
why not just wasm32-unknown-unknown?
or wasm32-wasi or whatever
Emscripten was originally made for C/C++ anyways
Emscripten has builtin SDL web port
I'm not aware of any other SDL ports that are as mature
ah idk
It seems like hooking up the Rust SDL2 bindings I've seen to the emscripten target is hard enough, don't feel like wasm32-unknown-unknown is a good idea
Honestly I'm probably gonna go for custom using glutin
is there an equivalent to an afterAll in rust? i want to run teardown code after all my tests
what does that do?
so in java, python, whatever, i can run some setup code before all my tests run, say make a db or something. then i can run teardown code after all my tests, to clean stuff up
ah no i don't think so if you're talking about the junit thing
rare rust L
but maybe I'm just not aware of it
i wonder if nextest or something can do it
i think it's because the only interaction cargo test has with the test binaries is the exit code
that's just a test runner though
yeah but it does have a different execution model
so i was just wondering if it could
maybe you could setup a test helper struct and just implement Drop on it?
i tried that, but i also want there to be only one of the resource for every test. to do that i used static and std::sync::Once, but statics don't get dropped
oh in that case you could always do something like...
i found this https://github.com/markhildreth/test-context
tried it, but that only does teardown between tests, not after all tests
ah
that
nvm, i don't know how you'd do that
since tests are run as separate binaries iirc
😔 rare rust L
have you tried asking in the rust server?
no, it's too scary
the community server is nice
but also, why is this not a thing that exists lol. every testing framework in like every other language has it
^ this would make that practically impossible, no?
unless i have the execution model wrong
as a language feature? wouldn't it be simple to add another macro that would be like #[test] but just run your code after the tests?
no, like how would you get the state of the thing between the tests
hm?
how does the resource move through all of the tests?
if they're all run separately?
i don't think there's even a defined order
each file in tests/ is compiled separately, but each file can have multiple tests inside
wdym compiled separately
like, they're separate binaries that are run i thought
not each test in a file, just each file
um, i think you could have submodules, so module, probably
i'm tempted to ask for you because i'm genuinely curious
but i still don't understand how you're passing resources between them tbh
this is kinda cursed
use tests::*;
fn main() {
run_tests([foo, bar].to_vec());
}
fn run_tests<T: FnOnce() -> () + std::panic::UnwindSafe>(tests: Vec<T>) {
println!("setup");
for test in tests {
let test_res = std::panic::catch_unwind(|| { test() });
if test_res.is_ok() {
continue;
} else {
break;
}
}
println!("teardown");
}
mod tests {
pub fn foo() {
assert_eq!(1 + 1, 2);
}
pub fn bar() {
assert!(1 == 1);
}
}
i just had a
use std::sync::Once;
static mut SETUP: Once = Once::new();
static mut RESOURCE: Option<Server> = None;
fn setup() {
SETUP.call_once(|| {
unsafe { *RESOURCE = Some(...) }
});
}
``` and used that
that doesn't remake the resource every time?
color me surprised
no, that's the point of Once
well rather, i mean that i'm surprised the resource's information didn't "reset"
i guess i've just been wrong about the execution
which sounds like an ok idea 🤔
and theoretically the thread should die
it worked !!
ffs that took too long 😩
compiling rust makes my keyboard too hot to touch
@dapper dew to what?
What's the context?
https://www.youtube.com/watch?v=fGplZtj_Un0 The creator of The Fancy Pants Adventures games has the name "Brad Bourne"
Go to https://buyraycon.com/tamago for 15% off your order! Brought to you by Raycon.
Some Flash games managed to make their way over to consoles, with varying degrees of success.
MEMBERS: https://youtube.com/tamago2474/join
STREAMS: https://twitch.tv/tamago2474
SUPPORT: https://www.patreon.com/tamago2474
MERCH: https://shoptamago.com
outro so...
Brad Bourne Again Shell or Bash
Oh neat
Hey, this OT name is unnecessarily sarcastic
.randomcase
Your input was invalid: text is a required argument that is missing.
Usage:```
.randomcase <text>
is this a hacktoberfest PR I smell
Probably wouldn't be a bad one, the .uwu can handle replies if I recall
.uwu
.wandomcase
my free shirt is calling
although, surely pydis doesn't participate because spam? I think it's better this year though
why's it better this year?
AaiaISJGDIjf

https://www.youtube.com/watch?v=5U0DoDiINaw we are all made out of Kirby
Scientists theorize the source of sound waves emitted by these strange particles can be traced to the creations of the youtuber TerminalMontage
i have a name idea for another shell
it is called "flash", ideally made in Rust (because flash fast yk)
it will surely get a million GitHub stars
Adobe would like to sue you
uhhh
Is it blazingly fast?
🚀 Blazingly fast 🚀 🌑
Do flsh
then it will look like fish
Or blsh
😳
Wrong emojis should be 🔥⚡ Blazingly Fast ⚡🔥
nah the rocket is accurate
shit, shell is turbocharged
Pizza pringles are quite delicious
What is better a laptop with i3 gen 12 or i5 gen 11?
if you need more performance go for i5. if you don't care just get the i3. I would personally go with a Ryzen system over both options though
I did compare i3 to ryzen 5500u and i3 gen 12 seemed much better overall
which i3 gen 12
no thoughts at all
I can live without Tate's advice
That's great
aw now youre ruining it

what about the literal ponzi scheme he has going
is this what made you want to drop out of uni
tate is a certified scam artist
should have stuck to boxing
it was a pyramid scheme and everyone knows it
So the point was to get more memberships w/o any real product of value
discord?
the product here is you get to listen to andy tate hot takes
Why was it made unavailable?
because it was lol
also why would i know what some scammer is up to
doesnt seem very newsworthy imo
i know what he was up to, does that not count?
I know he has very cookie cutter takes, both mediocre and outright terrible
and he doesn't seem like the type to grow and be better as a person
Of course, being "better" is highly subjective
But the fact that he encourages this dynamic of "I have a lambo and get girls and you don't therefore I am better" is just silly





