#ot1-perplexing-regexing

1 messages · Page 4 of 1

graceful basin
#

rather than having the pascal procedure-function duality but only in the typesystem

lofty dirge
#

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

tardy rain
#

That seems unnecessary

graceful basin
#

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)

jovial oriole
#

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

floral apex
#

Unit type?

graceful basin
#

(), None, undefined (ish). A type with a single member.

rough sapphire
#

I don't understand loops lemon_clown

#

They're so hard

tardy rain
#

Which part

lunar shore
#

wthhhh Firefox's Brave theme is great

jovial oriole
#

i think im a robot

#

captchas are getting too fucking hard

rough sapphire
#

hi lads

#

lizzie has bit the bucket

#

can’t believe it

jovial oriole
#

like bro

inner lagoon
#

.joke

median domeBOT
#

The class object inherits from Chuck Norris.

inner lagoon
#

.joke

median domeBOT
#

What do you call a parrot that says "Squawk! Pieces of nine! Pieces of nine!"? A parrot-ey error.

inner lagoon
#

.joke

median domeBOT
#

How to explain the movie Inception to a programmer? When you run a VM inside another VM, inside another VM ... everything runs real slow!

median domeBOT
#

What do you mean 911 is only for emergencies? I've got a merge conflict.

inner lagoon
#

An avengers level threat

#

.joke

median domeBOT
#

Two bytes meet. The first byte asks, 'Are you ill?' The second byte replies, 'No, just feeling a bit off.'

inner lagoon
#

.joke

median domeBOT
#

Chuck Norris performs infinite loops in under 4 seconds.

inner lagoon
#

.oke

#

.joke

median domeBOT
#

Chuck Norris can't test for equality because he has no equal.

acoustic moss
inner lagoon
#

.joke

median domeBOT
#

QA Engineer walks into a bar. Orders a beer. Orders 0 beers. Orders 999999999 beers. Orders a lizard. Orders -1 beers. Orders a sfdeljknesv.

inner lagoon
#

sorry

inner lagoon
#

lmao

bold moat
#

let's go england has a king now

hallow minnow
#

L

tardy rain
#

⬛⬛⬛🟨🟩
⬛⬛⬛⬛⬛
🟩🟩🟩🟩🟩

ionic bane
#

🐧

thick ore
#

What have I become

floral apex
thick ore
#

rest in piece namemc 🙏

#

or is it "early RIP namemc 🎉"

#

bet they will rebrand to SkinMC

maiden tartan
#

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?

jaunty wraith
#

all expressions are evaluated once for every line AFAIK

rough sapphire
#

every file, color or behavior I perceveid I think

#

It's malicious code.

nocturne venture
#

@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 😄

thick ore
#

this seems like a response to a deleted message

#

unless you're literally saying "every file, color, or behavior I perceive is malicious code"

rough sapphire
thick ore
#

what about it?

#

does it contain malicious code?

rough sapphire
#

I changed the extension of the file to txt

thick ore
#

then?

#

does it show weird stuff?

rough sapphire
#

yes

thick ore
#

does it begin with "PNG", "JPG" or whatever?

rough sapphire
#

I hope I can find a script that

#

no

thick ore
#

it's completely normal

rough sapphire
#

it begins with RIFF

thick ore
#

means it's a RIFF file

#

doesn't necessarily mean it's malicious

rough sapphire
#

riff file is a mode for transfer images betweens machines

#

rightw

#

can I paste one line herew

#

?

thick ore
#

sure?

thick ore
#

it stands for "Resource Interchange File Format"

#

wait

#

it's not necessarily for images

#

but whatever

rough sapphire
#

I don't get a ban

thick ore
#

?

#

I don't think you will get banned

rough sapphire
#

nevermind

#

I did the same thing with other image and it showed the same kind of weird characters

thick ore
#

lol nice

rough sapphire
#

¸ˆüž6³×'C­ÙðAÂEÁ,§×{3µ4‰Gàox¼ŒnŸƒÙì€0ÑH+329 Mí£Éþ†“

#

stuff like that

thick ore
#

yeah

#

just image data

#

looks weird when you display it in unicode

rough sapphire
#

All I know about images is that one pixel has 3 values

thick ore
#

correct, the RGB values

rough sapphire
#

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

thick ore
#

there is no malicious script

#

that is just an image

rough sapphire
#

I pay a program to scan files

#

That one was that

#

there

hallow frigate
echo crater
#

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

jovial oriole
rough sapphire
jovial oriole
#

you mean an av

#

a bunch of those exist already

rough sapphire
#

av?

small coral
tulip cedar
#

How's the view, jake?

floral apex
#

Cluttered with Nvidia ads

rough sapphire
#

how much important is Bash ? should I learn it ?

acoustic moss
#

yes and yes

graceful basin
#

yeah, bash is quite good to know

#

even just to learn its many keybinds

rough sapphire
#

Thanks

jaunty wraith
graceful basin
#

exactly

jaunty wraith
graceful basin
#

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

floral apex
#

Also featured in Zsh last time I set it up

graceful basin
#

yeah, these are fairly common between shells

jaunty wraith
#

aren't those just GNU readline features?

floral apex
#

But is it found in the Microsoft oddball

graceful basin
#

yup

#

PSReadLine

graceful basin
floral apex
#

I need to learn how to programmatically make tab completion in PowerShell

tribal aurora
#
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

verbal trench
#

Let's go i finally got my first laptop

#

And it's a gaming one which i didn't expect

graceful basin
#

Aren't modules in C++ 20 already

tribal aurora
#

oh wait yes, ma bad

graceful basin
#

Also, the syntax is import <std> IIRC

#

But yes, modules are incredible

#

Finally, a way to get rid of the preprocessor for good

tribal aurora
#

aight now better

tribal aurora
#

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.

graceful basin
#

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

tribal aurora
graceful basin
#

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++

lofty dirge
rough sapphire
#

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 ?

wraith hound
rough sapphire
wraith hound
#

although for the record, you usually use -, not _ in html files

rough sapphire
#

Thanks, I will try it

tardy rain
#

Is it just my phone or does youtube on android not autorotate when fullscreened anymore

stark prawn
#

it does still work for me, but it can be finicky at times

#

especially when going from nonfull to full screen during rotation

twilit temple
#

my commit graph doesnt look very healthy

young shoal
floral apex
wise pasture
scenic beacon
#

try looking at your commit graph that way

twilit temple
scenic beacon
#

i'm not much of a committer

floral apex
scenic beacon
#

and that graph is from last year

gritty zinc
#

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...

▶ Play video
soft violet
#

@pastel tree You didn't have to close the channel.

soft violet
#

@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.

spice spire
royal lakeBOT
#

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)`
soft violet
#

Review at your leisure.

#

I'm off.

blissful moth
#

this is normal, right?

paper sequoia
#

I feel like this is definitely a help channel

floral apex
paper sequoia
#

Obviously must be one

jaunty wraith
jovial oriole
jovial oriole
tame wigeon
#

🍋

#

to

west scroll
jaunty wraith
#

I can't do doubly linked lists in Rust
Rust sux

acoustic moss
#

Rc

tardy rain
#

BOX BOX
BOX BOX

#

angry Raikkonen noises

floral apex
jaunty wraith
floral apex
proven ermine
#

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

jaunty wraith
#

.wa s Cunningham's law

median domeBOT
jaunty wraith
#

well

floral apex
#

What's the Wikipedia command again?

tardy rain
#

.wiki kimi raikkonen

median domeBOT
#
Wikipedia Search Results

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

floral apex
#

.wiki Cunningham's Law

median domeBOT
#
Wikipedia Search Results

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

proven ermine
#

“The best way to get the right answer on the Internet is not to ask a question; it's to post the wrong answer”

proven ermine
young shoal
merry grove
#

any1 knows a program that mirrors my screen like obs is recording just an app that gcan get me a live screen mirror?

wraith hound
#

gankra actually wrote a book on this

jaunty wraith
#

y'know the context was cunningham's law

#

and you kinda proved it

grave cove
#

Trolled

acoustic moss
#

i bet no real company uses rust in prod

grave cove
#

I bet none of y’all can send me 20 bucks

tardy rain
#

Its almost october

wraith hound
tardy rain
#

Time for another free shirt

wraith hound
#

i just saw psvm's post

jaunty wraith
#

imagine reading

#

smh

wraith hound
#

reading your messages* sorry

#

i read the more important ones /s

grave cove
#

damnnnn

jaunty wraith
#

😕

crisp ledge
young shoal
tardy rain
#

mfw opened dev tools on discord

#

web dev is hard i guess

gritty zinc
#

weird, why not null

tardy rain
young shoal
tardy rain
#

This was the cutest sticker i've gotten from hacktoberfest

young shoal
#

I have that one too

#

I like it a lot too lol

upbeat olive
soft violet
#

Were underscores unavailable for the current room name? That's disappointing.

rough sapphire
#

This is another server, but holy cow i can't believe this didn't get marked 😂

west scroll
#

it's a famous copypasta

floral apex
#

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

rough sapphire
azure beacon
floral apex
#

Vampires

floral apex
#

Either old Discord doesn't allow it, the bot can't or they did it on purpose

hot brook
#

can someone explain what a stream is 😭

floral apex
#

🚽

#

||I'm sorry||

hot brook
#

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

tulip cedar
#

Idk about buffer but i do know about buffet 😋

hot brook
#

bro 😔

tulip cedar
#

Nice profile picture btw

jovial oriole
#

I_LIKE_THIS_CHANNEL_NAME

floral apex
#

It's not screaming snake case

hot brook
small coral
rough sapphire
unkempt oriole
small coral
#

SCREAMING CASE

jovial oriole
stable talon
#

ok

jovial oriole
#

I meant bananas

#

As in your name

#

You know when you're talking to someone and typing

floral apex
#

I got a screenshot already of your typo

jovial oriole
#

And you type what you were saying

#

That's what happened

floral apex
jovial oriole
#

Ik

plucky ridge
#

Anyone heard of or messed with bun? Seems to be a nodejs and deno competitor https://bun.sh/

Bundle, transpile, install and run JavaScript & TypeScript
projects – all in Bun. Bun is a new JavaScript runtime with
a native bundler, transpiler, task runner and npm client built-in.

#

Seems interesting

#

Lots of bold claims for sure

thick osprey
#

The logo reminds me of @distant hazel for some reason

plucky ridge
#

Yeah it does a bit

thick osprey
#

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.

plucky ridge
#

Let me know how it goes, I'm pretty curious

thick osprey
#

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 .env files as native sources of environment values? rooMadSip

plucky ridge
#

A lot of it just hasn't changed enough or recently enough to do it

#

Which yeah, is silly

thick osprey
#

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 rooDerp1 to deployment.

graceful basin
#

anything that sells performance first always seems suspicious to me, since I expect some corners to be cut

plucky ridge
#

Same

#

A lot of it is written in Zig which is the first time I've even seen that language

graceful basin
#

Zig is quite neat

plucky ridge
#

Well yeah he is

#

But what about the language

thick osprey
#

Was going to make a "found Zig" joke but I can't get stickers to work.

graceful basin
#

the language has goals I disagree with, but it meets those goals really well

plucky ridge
#

What parts don't you agree with

graceful basin
#

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

jaunty wraith
distant hazel
#

i'm in their server

floral apex
#

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

graceful basin
#

afaik JSC just warms up faster.

crisp ledge
#

still in early stages of development; pretty ambitious goals but we'll see how it plays out

tardy rain
#

Such a js thing to get excited about literal proofs of concept

acoustic moss
#

pur lease like pyscript wasnt hyped to death too

tardy rain
#

Thats for js people that wanna do python instead

crisp ledge
tardy rain
#

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

distant hazel
tardy rain
#

I feel that py people that dont wanna do js would do the smart thing and use ts instead

nova wyvern
distant hazel
#

wasn't that its pitch?

#

or am i misunderstanding

tardy rain
#

Maybe, idk, as a python guy myself i would rather do TS than "python but worse" (in the browser)

thick osprey
tardy rain
#

Im sorry but thats like saying chocy milk is just flavoured milk when its so much more

jovial oriole
#

why does my enter key not work in vsc?

#

i need to press ctrl+enter

floral apex
#

Why learn d3 when you're already familiar with matplotlib

dapper dew
#

Hey I'm a Brad

ionic bane
dapper dew
#

At least 3 other, similar emeralds

grave cove
ionic bane
grave cove
#

sounds like a deal to me!

jovial oriole
ionic bane
proven ermine
jovial oriole
ionic bane
#

👽

proven ermine
jovial oriole
proven ermine
#

🗿

ionic bane
jovial oriole
#

18 pixels from that image

shy spoke
#

@jaunty wraith why are there suddenly 5 random volumes

jaunty wraith
#

idk

shy spoke
#

i have to reset, dont i

#

siiiigh

jaunty wraith
#

I think so, yeah

shy spoke
#

welp

#

time to borrow my neighbor's external drive for backing up

jaunty wraith
#

well good luck

floral apex
#

Just treat Ubuntu the same way you would treat macOS and Windows

thick ore
#

no 1 mistake when using Linux: "ooh i can do this? hmm what would happen if i just..."

shy spoke
tribal aurora
#

deleting your home directory and watching your pc deleting itself is fun

#

init

floral apex
#

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

floral apex
crisp ledge
#

I suppose

#

I don't toggle between showing/hiding the file list often

floral apex
#

It didn't really matter anyways after I remember Zen mode exists

crisp ledge
#

Zen mode is great

floral apex
#

Although I disabled full screen and centering

royal lakeBOT
#

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.

rough sapphire
#

Rip

rough sapphire
#

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?

grave cove
#

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

rough sapphire
#

what is DDG ?

topaz aurora
west scroll
topaz aurora
#

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

west scroll
#

that's a start

tribal aurora
tulip cedar
#

Brave vs Google search engine which is better?

tribal aurora
#

in what term

floral apex
#

For privacy, honestly I'll hand it to SearX or DuckDuckGo

#

I don't see Brave as a company that has morals

tulip cedar
#

Like, overall

tribal aurora
floral apex
#

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

#

Which also highlights not respecting their userbase for not being transparent about affiliate links

tribal aurora
#

i mean, yea, brave did wrong things in the past. like selling its data to ad companies without its users knowing

floral apex
#

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

topaz aurora
#

that said

#

Brendan Eich is far from a good character

west scroll
jovial oriole
#

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

young shoal
#

bus needs to get people

jovial oriole
#

But bus drives too fast

floral apex
jovial oriole
#

Now I have to awkwardly wait with
3 class mates I don't know the names of

young shoal
#

why don't you get off your phone or whatever and socialize

wraith hound
#

learn their names

floral apex
#

Teach them about the Holy C

jovial oriole
#

What if they start silently judging Me for talking to them

young shoal
jovial oriole
jovial oriole
young shoal
#

have you considered introducing yourself

jovial oriole
#

Already have

#

Gabe, Brianna, and chase

topaz aurora
#

It reflects their behavior more than it does yours

small coral
jovial oriole
#

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

floral apex
#

Go to the politics section

jovial oriole
#

Wow, such empty!

bold moat
bold moat
#

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

shell raptor
#

has anyone figured out how to move a fullscreen window to a different screen on XFCE?

rough sapphire
fossil urchin
#

its definitely dead

tardy rain
#

Stop crossposting a literal advertisement

#

Smh some people have no sense

jovial oriole
#

No sense

sage dune
#

im new to this stuff

tardy rain
#

!rule 9 never happy

royal lakeBOT
#

9. Do not offer or ask for paid work of any kind.

sage dune
#

im not payin you

tardy rain
#

Lmao

sage dune
tardy rain
#

Did i miss the sharing part?

sage dune
#

?

#

@tardy rain what does that mean?

tardy rain
#

You didnt share your project

sage dune
#

okay

royal lakeBOT
tardy rain
#

Youre distributing a random python file? Why not put it on github?

#

Makes you look less shady as well

sage dune
#

@tardy rain I said im new to this

tardy rain
#

I think you should be less worried about how to get people to test your code and learn new technologies and automated testing

sage dune
#

@tardy rain Explain please

tardy rain
#

Learn to use version control (git) and testing frameworks

sage dune
#

?

#

@tardy rain what is that?

tardy rain
#

Finding out is part of learning

sage dune
#

fair

tardy rain
#

You already have enough keywords for a google search

sage dune
#

thanks

ionic bane
#

@reef geyser whats so scary about C++pithink

reef geyser
#

Not really scary, just not my cup of tea.

ionic bane
#

Define not your cup of tea? Like not to your liking?

reef geyser
#

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.

ionic bane
#

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.

reef geyser
#

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

ionic bane
#

I'm personally liking C++ it reminds me of a low level python

reef geyser
#

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

ionic bane
#

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

young shoal
ionic bane
young shoal
#

how? it's literally c++ lol

ionic bane
ocean vapor
#

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

reef geyser
#

this is horrible and I love it

floral apex
floral apex
#

@dapper ibex

const {head: something}

A SyntaxError

west scroll
#

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)

topaz aurora
#

16 is LTS

floral apex
#

Something that I appreciate Node has that Python doesn't in combination with nvm

west scroll
floral apex
#

I don't even use Node.js on the cloud, why should that matter

west scroll
#

I'm only unhappy because Netlify uses AWS L and I can't use N18 features lol

floral apex
#

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

floral apex
#

Hmm yes, Clisp

rough sapphire
#

i dont find the current font very nice

thick ore
#

ic

#

for a bit more contrast, change the text color to white

#

try messing around with IBM Plex Sans/Mono, Inter

rough sapphire
#

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

#

lemon_sweat .

#

i think ill go without italics to be safe

floral apex
#

Couldn't you download them all at once and install

rough sapphire
#

i could, and i suppose right now the assets being bloated wouldnt matter anyways, the game is in early stages of development

floral apex
#

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

rough sapphire
#

no im not installing it to my system fonts

#

in the game, yeah

floral apex
#

Okay ignore what I said then

rough sapphire
floral apex
#

Very nice graffiti art

rough sapphire
thick ore
#

Dang

#

Looks good

rough sapphire
#

thanks!

thick ore
#

also

#

just a tip

#

don't commit your __pycache__

rough sapphire
#

i dont

#

i just havent added anything to the repo, for now it just acts as a backup incase i want something

solid elbow
#

@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++

digital ivy
#

Got you. Thanks!

solid elbow
#

👍

violet flint
#

woah woah woah, where is prolog and lisp at 🤣

small coral
violet flint
small coral
violet flint
#

are you talking about the "what" insted of "where" that was a mistake 🤣

violet flint
#

oh, they're both still widely used these days

#

and when i say lisp i mean common lisp of course

graceful basin
#

both prolog and lisp are far simpler than C++, though prolog can get pretty close in places

solid elbow
#

My impression is that prolog and lisp are both small languages that are known for their simplicity and consistency

small coral
solid elbow
#

they fully specify the language's behavior

small coral
#

so everything?

solid elbow
#

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

wraith hound
#

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

small coral
solid elbow
#

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

wraith hound
#

basically the standard only cares about user-facing things

#

it doesn't care what it does on the inside

solid elbow
#

right.

small coral
#

is there ever a case when writing a spec that there are some conflicts between parts

solid elbow
#

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.

solid elbow
floral apex
rough sapphire
#

Isnt there a way to see the registered age of someone's account

wraith hound
#

not on Discord

floral apex
#

Unless it's from a bot

rough sapphire
small coral
small coral
#

yeah you can't get that

young shoal
#

that would be really weird

#

unless you were on tinder or something

tribal aurora
west scroll
#

objectively wrong

grave cove
#

If you want to know when a user created their account, get their ID, bitshift right 22 times

violet flint
violet flint
# tribal aurora both easier than C++

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

graceful basin
#

the original statement was that C++ is the most complex language currently in use, which I find hard to argue with.

west scroll
graceful basin
#

yeah, the language isn't bad

#

but it is pretty arguably the most complex

jovial oriole
ionic bane
#

😳

young shoal
jovial oriole
proven ermine
#

Would probably be super slow though

young shoal
#

you wouldn't even need any of that, just use OCR or something to read the output of the scratch script

cunning dove
#

Spawn with all it deamons was not a bad movie 🙂

#

I did spawn few daemons in my life too !

jovial oriole
#

!pypi pytesseract

royal lakeBOT
jovial oriole
#

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

proven ermine
young shoal
#

rofl

proven ermine
#

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

violet roost
#

personally I find it more complicated than c++

graceful basin
violet roost
#

hmmm

graceful basin
#

I mean, just compare std::regex with javas 4 classes to do the same.

prime aspen
#

@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

floral apex
#

Solution

#

Buy a 3D printer, a Raspberry Pi and go to your electronics store

prime aspen
#

Shit

#

Wait, hangon, aren't the Butterfly printers you sent the industrial stuffs

floral apex
#

DIY printer

#

I dunno I just asked Google for "butterfly printer"

prime aspen
#

Yea mate, no, it's the industrial stuffs

#

I might consider that when I get to printing packaging labels though

floral apex
#

@eager trout Got any idea if Flutter can be used to overlay on top of something

#

Like say a keyboard app

#

Or desktop widgets

eager trout
floral apex
#

I can always check the pubspec

#

Seems like a combination of window_manager and flutter_acrylic

jaunty wraith
uneven pine
#

Nothing of value missing

jaunty wraith
floral apex
jaunty wraith
#

yea

floral apex
#

That or they can't guarantee it works for macOS and Linux and can't test for it

floral apex
#

I can reuse what they did here

#

And make a custom desktop

#

If I can force hide the Windows taskbar

floral apex
#

Or can I crabify them

jaunty wraith
#

¯_(ツ)_/¯

#

ask Skynse

floral apex
#

@eager trout mah boi

#

Can I crabify the bird lang plug-ins

tribal aurora
#

did you know

#

that

#

python is older than java

jovial oriole
#

🧢 🧢 🧢

tribal aurora
#

it's tru tho

proven ermine
#

And supposedly python was conceived in late 1980 but wasn’t implemented for a while

jovial oriole
graceful basin
#

yeah, python does indeed predate java, though python 2 is really when it became relevant

ionic bane
#

Do you guys believe in love at first sight? I dont personally.

thick osprey
#

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.

ionic bane
thick osprey
#

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.

ionic bane
thick osprey
ionic bane
#

Ive never really felt the feeling of love at first sight or true love i would say, so they definitely dont align

proven ermine
thick osprey
#

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.

ionic bane
ionic bane
#

What is love in one sentence?

proven ermine
#

a release of chemicals in the brain and body

ionic bane
west scroll
#

love is when I munch on burgers

thick osprey
ionic bane
#

You forgot the most important value

#

Respect!

thick osprey
#

Personally, I did not forget. Stress on the fact that this is subjective opinion.

ionic bane
#

What do you mean subjective? Dont you need respect to have trust, safety, compassion and kindness?

thick osprey
#

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.

ionic bane
#

But you cant show love without showing kindness or respect?

#

If you miss one of those, that's just lust and not love?

thick osprey
#

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.

ionic bane
#

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

thick osprey
#

I see what you are saying.

ionic bane
thick osprey
#

It's always interesting, seeing how widely others assign words to emotion.

ionic bane
#

Yep

thick osprey
#

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.

ionic bane
#

What the heck is respect for you?😭

thick osprey
#

Something complex, just like love.

ionic bane
#

E.g being kind and polite and the feeling of a good relationship between person to person without any feeling of rivalry

thick osprey
#

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)

ionic bane
thick osprey
jovial oriole
thick osprey
#

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".

ionic bane
thick osprey
#

The complexity comes in when you stop looking at a single emotion and try to quantify the entire bundle. rooDerp1

ionic bane
thick osprey
#

well.. two individuals who come to mind when I think about this. I'm sure it's more complicated than that.

ionic bane
thick osprey
#

For that matter, is respect an emotion or an opinion? rooHmm

ionic bane
#

I would say a concept that correlates to an emotion to each person

thick osprey
#

I'm going to have to write tonight now. darkoLUL You've got and pushed my head into deep thought mode.

ionic bane
thick osprey
#

It's a good think to think about. They control you. I'd say that's worth self discovery and understanding.

ionic bane
#

Yourself meaning your emotions and how they can change your minds response at that time/situation

thick osprey
#

Mhmm. It's a good phrase in context.

ionic bane
#

Yep

thick osprey
#

"You can turn your back on a person. But never turn your back on a drug." - Fear and Loathing

ionic bane
#

Mhm, addiction a strong evil concept

thick osprey
#

It's also a metaphor that the character's emotions are in full control, not the character.

ionic bane
#

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

prime dove
eager trout
#

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

coral tinsel
#

🤣🤣🤣

coral tinsel
tidal bluff
#

This is not approved advertising. Please contact ModMail via DM to seek permission.

acoustic moss
#

@hazy dirge please don't post chainmail

rough sapphire
#

The USSR was founded in 1922, Gorbachev died in 2022.

The USSR was dissolved in 1991, Gorbachev died at the age of 91.

Coincidence?

solemn leaf
#

i think not

jovial oriole
#

Is it just me or is anyone else having a stroke

autumn night
#

@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

jovial oriole
#

woah my ping is so bad i sent a message after it was deleted

rough sapphire
#

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

graceful basin
#

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

rough sapphire
#

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

graceful basin
#

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

rough sapphire
#

nah, they literally embed cameras and microphones into them instead of giving you the option to hook one up

graceful basin
#

a microphone is absolutely critical for the functionality of a phone

rough sapphire
#

well yeah

graceful basin
#

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

rough sapphire
#

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

graceful basin
#

as if anyone cared before

rough sapphire
#

yeah because nobody thinks for themselves, they just do what joe blow does down the street

graceful basin
#

I think most people are aware that privacy is dying, but there is more or less nothing you can do

rough sapphire
#

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

graceful basin
#

why do you think so?

rough sapphire
#

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

graceful basin
#

most people I see are either looking around or talking with whoever they are walking

rough sapphire
#

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

graceful basin
#

who knows, probably other people

rough sapphire
#

yeah that too

floral apex
#

Still far off until Windows on Arm becomes less of an afterthought

rough sapphire
#

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

tribal aurora
rough sapphire
tribal aurora
#

oh cool

tribal aurora
#

ye ik

rough sapphire
#

i love the wording of the book

coral tinsel
#

anyone in the discord STEM server mind sending a link?

#

this one

#

but all the ones ive found expired

proven ermine
#

It was the second one down after searching 'STEM' for me

coral tinsel
#

Ohh thankss

thick ore
#

i

#

i'm thinking

proven ermine
#

you are indeed

floral apex
#

You are now manually thinking

jovial oriole
runic wigeon
#

meanwhile youtube recommending me chinese videos when I'm not even one

#

ignore the charlie playlist

topaz aurora
#

Twitter thinks I'm Japanese too

runic wigeon
#

oh yeah that's japanese

#

japanese is usually curves while chinese is mainly straight lines

#

that's how I differ them

tardy rain
#

Chinese looks like literal square blocks of characters to me

runic wigeon
#

japanese looks cute

#

chinese looks strict

topaz aurora
#

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

rough sapphire
#

what is the deal with people able to write code that works the way it's designed

rough sapphire
#

I can write a code right now

#

that will return an Error

#

and the end goal was to rename files

small coral
#

because "works the way it's designed" can be applied to every piece of code

rough sapphire
#

yes

jovial oriole
#

Very interesting

cinder laurel
#

does Rust work well with Emscripten and Emscripten's SDL2 emulation?

#

I've heard some bad stuff about the Emscripten Rust target from Reddit

wraith hound
#

why not just wasm32-unknown-unknown?

#

or wasm32-wasi or whatever

floral apex
#

Emscripten was originally made for C/C++ anyways

cinder laurel
#

I'm not aware of any other SDL ports that are as mature

wraith hound
#

ah idk

cinder laurel
#

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

thick ore
#

i

#

i'm thinking

young shoal
#

is there an equivalent to an afterAll in rust? i want to run teardown code after all my tests

young shoal
#

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

wraith hound
#

ah no i don't think so if you're talking about the junit thing

young shoal
#

rare rust L

wraith hound
#

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

young shoal
wraith hound
#

yeah but it does have a different execution model

#

so i was just wondering if it could

flint basin
young shoal
#

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

wraith hound
flint basin
young shoal
#

tried it, but that only does teardown between tests, not after all tests

wraith hound
#

ah

#

that

#

nvm, i don't know how you'd do that

#

since tests are run as separate binaries iirc

young shoal
#

😔 rare rust L

wraith hound
#

have you tried asking in the rust server?

young shoal
#

no, it's too scary

wraith hound
#

the community server is nice

young shoal
#

but also, why is this not a thing that exists lol. every testing framework in like every other language has it

wraith hound
#

unless i have the execution model wrong

young shoal
#

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?

wraith hound
#

no, like how would you get the state of the thing between the tests

young shoal
#

hm?

wraith hound
#

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

young shoal
#

each file in tests/ is compiled separately, but each file can have multiple tests inside

wraith hound
#

those are still compiled separately, no?

#

or am i being really dumb

young shoal
#

wdym compiled separately

wraith hound
#

like, they're separate binaries that are run i thought

young shoal
#

not each test in a file, just each file

wraith hound
#

oh, i didn't realize that

#

file or module, specifically?

young shoal
#

um, i think you could have submodules, so module, probably

wraith hound
#

but i still don't understand how you're passing resources between them tbh

flint basin
#

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);
    }
}
young shoal
#

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
wraith hound
#

color me surprised

young shoal
#

no, that's the point of Once

wraith hound
#

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

young shoal
#

the funny thing i could do is extract the stuff that makes the server from my main.rs into a lib.rs then use a thread instead of a child process

#

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

floral apex
#

@dapper dew to what?

jovial oriole
#

Brad 2.0

dapper dew
floral apex
# dapper dew 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...

▶ Play video
#

Brad Bourne Again Shell or Bash

dapper dew
#

Oh neat

uneven stump
tranquil orchid
#

blocking .edu

#

lmao

eternal wing
#

Hey, this OT name is unnecessarily sarcastic

dapper dew
median domeBOT
#
I can't believe you've done this

Your input was invalid: text is a required argument that is missing.

Usage:```
.randomcase <text>

young shoal
#

is this a hacktoberfest PR I smell

dapper dew
#

Probably wouldn't be a bad one, the .uwu can handle replies if I recall

dapper dew
median domeBOT
#

.wandomcase

young shoal
#

although, surely pydis doesn't participate because spam? I think it's better this year though

distant hazel
#

why's it better this year?

thick ore
#

.

#

.randomcase aaiaisjgdijf

median domeBOT
#

AaiaISJGDIjf

jaunty wraith
rough sapphire
floral apex
thick ore
#

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

floral apex
#

Adobe would like to sue you

thick ore
tardy rain
#

Is it blazingly fast?

thick ore
#

🚀 Blazingly fast 🚀 🌑

floral apex
#

Can't also do rush since Microsoft already took that

tardy rain
#

Do flsh

thick ore
#

then it will look like fish

tardy rain
#

Or blsh

floral apex
#

😳

west scroll
young shoal
#

nah the rocket is accurate

young shoal
#

heroically awesome shell

floral apex
ionic bane
#

Pizza pringles are quite delicious

agile mesa
#

What is better a laptop with i3 gen 12 or i5 gen 11?

flint basin
agile mesa
flint basin
#

which i3 gen 12

tardy rain
#

no thoughts at all

topaz aurora
#

I can live without Tate's advice

tardy rain
#

wouldnt even call it that

#

good for you

topaz aurora
#

That's great

tardy rain
#

aw now youre ruining it

topaz aurora
tardy rain
#

what about the literal ponzi scheme he has going

young shoal
#

is this what made you want to drop out of uni

tardy rain
#

tate is a certified scam artist

#

should have stuck to boxing

#

it was a pyramid scheme and everyone knows it

topaz aurora
#

So the point was to get more memberships w/o any real product of value

tardy rain
#

the product here is you get to listen to andy tate hot takes

topaz aurora
#

Why was it made unavailable?

tardy rain
#

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?

topaz aurora
#

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