#ot2-the-original-pubsta

652 messages Β· Page 69 of 1

sudden swallow
#

sadguy I will miss the old one

steel eagle
#

The leaked dev iso was really snappy on a VM I ran solely on an HDD, with 8GB of RAM and 4 cores

#

Dusk is my favorite, and I genuinely might use it day to day

#

I just like how it looks.

daring jay
#

Oh, nice. Hopefully I can run it on my 4gb ram ssd computer well enough, assuming the computer lives till then

steel eagle
#

uhhh maybe not actually

#

not yet, at least

daring jay
#

Yup

steel eagle
#

(Keep in mind this is a DEVELOPER PREVIEW INSIDER ALPHA, NOT EVEN A BETA YET)

#

it has a bit of an issue with file explorer, at the moment

daring jay
steel eagle
#

Microsoft apparently somewhere stated they will work on bringing 11 to "Compatible non-tpm2 systems in the future"

cedar leaf
#

I wouldn't read much into that statement

steel eagle
#

yooooo

#

you can edit the colors directly.

#

custom computer theme to match my editor's syntax theme

#

let's GO

#

you can use hex codes in the color picker now

shrewd lance
#

The big question is

#

Did they finally change the control panel?

steel eagle
#

No.

#

But! Even more things are in the settings menu now

shrewd lance
#

The only stable thing in my life

steel eagle
#

so they're slowly eliminating it

shrewd lance
#

That's nice

steel eagle
#

it's mostly sysadmin stuff in the control panel now

#

like advanced network adapter settings, etc

#

stuff that isn't neccessarily "user-facing" for the average user

#

just look how small it is now, compared to vista/7

#

and even some of those aren't control-panel only

sudden swallow
#

@steel eagle is it stable

steel eagle
#

This is a developer alpha

#

it has its issues

#

I crossed out everything that you access through the normal settings menu

#

have fun

#

I'm enjoying it so far, despite the issues

#

I just removed the taskbar from my second monitor until it's fixed

#

join the windows insider program

#

on the dev channel

sudden swallow
steel eagle
#

if you're prepared to deal with potential system breakage and issues

#

Beta isn't available yet for 11.

#

it's not ready for casual everyday users yet

#

See: Taskbar doesn't work with multiple monitors at the moment

#

and the high contrast themes kinda, break things

#

are you joking

#

or that dense

sudden swallow
#

which is more stable beta channel or release preview channel

steel eagle
#

release preview

sudden swallow
#

wut does that mean

steel eagle
#

Dev is Alpha
Beta is...Beta
Release Preview AKA Release Candidate is final stage testing before being released to general public

#

just like python builds :)

cedar leaf
#

does Windows 11 have RC?

sudden swallow
#

thanks a lot

steel eagle
cedar leaf
#

Cool

sudden swallow
#

wut is rc

steel eagle
#

Release Candidate.

#

I'm gonna have and and you're ism

odd sphinx
#

ooh

#

imma scroll up

#

damn

#

@thorn dragon how is it

steel eagle
#

I did have an issue when I rebooted where my main monitor didn't turn on, yet was detected

odd sphinx
#

any performance changes ?

#

i mean

#

this is the first preview build isnt it

steel eagle
#

But I think that's more of an issue with my monitor, it's an MSI Optix high refresh rate IPS

#

it takes a WHILE to turn on, regardless of what it's plugged into

odd sphinx
#

get windows insider

steel eagle
#

enable windows insider in the dev channel, in your windows 10 settings menu

steel eagle
#

then run through windows update

odd sphinx
#

u didnt do this on ur main machine right?

steel eagle
#

LOL you wish

odd sphinx
#

bruh

steel eagle
odd sphinx
#

what if it breaks

steel eagle
#

Β―_(ツ)_/Β―

odd sphinx
#

so u have all ur data?

steel eagle
#

Anything important is backed up already

odd sphinx
#

the "upgrade" process was smooth?

odd sphinx
steel eagle
#

It was very smooth, yeah

odd sphinx
#

interesting

#

show more options will take u to the old context menu

#

maybe it refreshes better now

#

well

#

was refresh useful?

#

lol

#

i love this one

#

i dont like the new file explorer headers tho

#

wsl acces?

#

wait

#

all ur files are on it?

#

i thought it would get corrupted or some shit

#

lmao

round moss
#

oh wow, you no longer have to do that horrible $wsl thing

odd sphinx
#

bruh epic

odd sphinx
#

very nice

round moss
#

\\wsl$\Arch\rootIG it is not too terrible

steel eagle
#

no, for the third time, READ, you MUST use the DEV CHANNEL there is NO BETA AVAILABLE!

#

Do you want a smaller taskbar?

#

that is correct. Do that and then go through windows update as normal. I will answer no farther questions

#

though I don't genuinely recommend you do this

round moss
#

I am going to wait for w11 to be stable before trying it out

steel eagle
#

as you don't appear to have the knowledge/depth required to run an alpha build of windows.

round moss
#

don't want to deal with backups and bleeding edge

#

got enough of that when running arch

steel eagle
#

I just couldn't wait lol

#

I've always been an early adopter

somber belfry
#

did they consolidate settings and control panel?

odd sphinx
#

i am resisting the urge

steel eagle
somber belfry
#

alright

odd sphinx
#

nice

steel eagle
odd sphinx
#

lol what did u expet

round moss
#

I think they want to keep some control panel for enterprise users

steel eagle
#

everything crossed in red is accessed through the new settings menu

somber belfry
#

oh

round moss
#

you could already do that though

#

now it's just not horrible

steel eagle
#

you might want to scroll up, I posted a lot of screenshots and stuff @somber belfry

sudden swallow
#

wait_what y tho

somber belfry
#

I was scrolling up and i got pinged lol

steel eagle
#

this is where I started.

sudden swallow
steel eagle
#

l i g h t m o d e p s y c h o p a t h

steady thistle
#

.

#

Hello, where is the chat room?

steel eagle
#

wat

timber mango
round moss
steady thistle
round moss
#

and honestly, even for code I am kind of debating it

timber mango
sudden swallow
#

lol it causes headache for me

round moss
#

sepia is quite nice, yeah

#

or light grey

timber mango
steel eagle
#

dork mode

round moss
#

if discord had a less terrible font, I would be using light mode

steel eagle
#

:(

#

what does that have to do with poggers?

timber mango
steel eagle
#

I wasn't aware there was a crossover of pogs players and scheme programmers big enough to warrant mention

#

what do you mean?

sudden swallow
steel eagle
#

it's not available in beta channel

round moss
#

windows 11 doesn't have a beta yet, right?

steel eagle
#

as I told you four times

round moss
#

yeah

steel eagle
#

This kid's just a troll

#

Just ignore him, he's definitely not serious.

#

it does not

#

I told you this, FOUR TIMES

#

but you don't listen to me.

sudden swallow
steel eagle
#

No. DataData.

#

Either a troll or...just insanely dense.

#

well, at least you know, I guess.

#

I really recommend you don't

odd sphinx
#

bruh awoo said dev so many times

steel eagle
#

You are not going to be able to deal with issues you get on the system

round moss
#

I would strongly suggest not using bleeding edge windows versions

steel eagle
#

You're going to come up with a problem

#

and then you're going to come here

#

and ask us how to fix it

odd sphinx
#

ikr

steel eagle
#

and we're ging to tell you there's no way to fix it

#

and you're going to keep asking how to fix it

round moss
#

the main reason windows is so stable is because of all the testing that goes into the updates

steel eagle
#

and we're going to keep telling you you just have to wait for an update, but you won't listen

#

and you're going to lose important files

#

your system will crash

#

and you'll get upset

round moss
#

remember when a windows stable update broke numpy for like 10 months

steel eagle
#

if I were you I'd just stay on beta

#

and wait for a beta

steel eagle
#

you've proven that you're not capable of running dev already

round moss
#

tbh, windows pushing everyone to dev with windows 11 may turn out to be a mistake

steel eagle
#

well, they're not PUSHING anyone.

round moss
#

"hey we have this cool new thing you can try right now if you do this thing whose consequences we don't really explain"

steel eagle
#

the process of getting 11 dev channel enabled on my system was less than easy

steel eagle
#

If that doesn't deter you, you deserve whatever cricumstance prevails

round moss
#

hopefully

#

and at least with the new forced onedrive integration most of your files are backed up in the cloud

#

for 30 days, and it won't stop file corruption

#

you can avoid it

#

but the default is everything on onedrive

#

so I call it forced

round moss
#

I really hope wslg ends up good

#

I would love to just have emacs on wsl work with no issues

#

I should learn proper emacs someday

#

but with how prone I am to wrist pain, it is not a great idea

#

I just use evil-mode

#

but it is by no means amazing for scheme

steel eagle
#

final W11 screenshot now that I got it all ironed out

odd sphinx
#

nice

steel eagle
#

The polish is just so much better than 10.

#

I loved 10, I really did.

odd sphinx
#

agreed

steel eagle
#

But this is just...another level.

odd sphinx
#

are the animations nicer?

steel eagle
#

This rivals my Tumbleweed install.

#

The animations rival KDE Plasma.

odd sphinx
#

damn

sinful sun
#

really just looks like a customized win10

#

whats the hype for

round moss
#

looks prettier, better multiple windows on one screen support, wslg, extra security (supposedly), seems like you also get more customisation.

#

I am mostly interested in wslg

sinful sun
#

what exactly is wslg gonna be like

#

is it gonna act like a vm

round moss
#

if it ends up as promised, it should allow running linux gui apps in the exact same way you run native gui apps

#

you can pin them to the taskbar, have them in a start menu, etc.

#

now, it is still in preview, so it may turn out to be kinda shit

sinful sun
#

huh

#

i thought it'd be like the virtualbox experience lol

round moss
#

I think the idea is just to sort of reduce the usecases of desktop linux. For the vast majority of tasks, both OSes will work well, and if getting the "linux only" stuff on windows yields fewer seams than getting the "windows only" stuff on linux, it would be a good merit for not switching to *buntu.

steel eagle
#

Direct storage is nice, it's also just in general optimized better

#

it's snappier and faster, and I just did an in place upgrade

#

Windows 11 has all the power and security of Windows 10 with a redesigned and refreshed look. It also comes with new tools, sounds, and apps. Every detail has been considered. All of it comes together to bring you a refreshing experience on your PC.

  • Microsoft
#

If your accessories worked with Windows 10 and meet the Windows 11 requirements, they should work with Windows 11.

#

Most Windows 10 PCs currently being sold will be able to upgrade to Windows 11

#

and it is a free upgrade

wheat aurora
#

But does Power Toys support win11, that's the real question

steel eagle
#

not sure why shitcord isn't embedding it

wheat aurora
#

Because at this point the color picker is a must-have

steel eagle
#

if a program supports 10, it should support 11. no reason not

wheat aurora
#

ooooh, sweet

steel eagle
#

the only potential reason if it the developer has a test of "if windows.version == 10"

#

color picker does work.

#

Ignore the weird bit at the top, that's my game recording software

vale spire
#

Anyone interested for a round of chess with me?

steel eagle
#

what's your rating

vale spire
#

I do not have an account there

#

To lazy to make one

steel eagle
#

what do you mean, account where?

#

I'm asking what your rating is in general lol

#

like, never made a chess.com or lichess rating? I'm assuming you don't have a FIDE/OTB then

vale spire
#

Nope

#

I played and I have a chess player passport I think

#

But it is 5 years old I think

wide totem
#

aha

jovial island
#

i'd like to give it a try but i'm not on the program

steel eagle
#

it's easy to join, but I wouldn't recommend it if you're not deeply familiar with windows, the registry, and the like

#

I spent a good hour or two doing registry tweaks to fix little problems

#

@jovial island^^

jovial island
#

It is a dev build after all, do you mind sharing some of the bugs you've encountered?

steel eagle
#

the only real bug is that multi-monitor taskbars don't work

jovial island
#

hm i have no use for that feature.

#

I'll give it a go on a separate hard drive

#

Oh wait, you can't download the raw iso for it can you?

steel eagle
#

nope

#

you could install 10 first

jovial island
#

yeah I'm gonna try that

steel eagle
#

gaming runs fine

jovial island
#

shit i also can't use secure boot

#

gonna have to find a workaround

steel eagle
#

why can't you use secure boot? lol

#

screw up a linux install?

jovial island
#

Yeah i was lazy to set it up

hazy laurel
#

Why would one Arch WSL D:

jovial island
#

seconded. Why?

#

So let's see

#

Change hard drive, erase files

#

Convert to gpt, install w10

#

Join insider program, update to 11 preview

#

Do whatever tweaks necessary, proceed to open suse install

#

Great, something to do in this otherwise boring day

hazy laurel
#

jeez

proper python
#

i swear building softbody sims with rigidbodies is gonna kill me X_X

wild compass
#

@covert mango img here since none in general

covert mango
wild compass
#

yeah, sry lol

proper python
#

yo it works

hazy laurel
#

wot am I looking at

proper python
#

softbody sim

quiet depot
#

the girl who lives here is very pretty

proper python
#

who lives in linda?

sudden swallow
hazy laurel
#

listen linda

proper python
odd sphinx
sudden swallow
tawdry salmon
#

linda

odd sphinx
#

bruh*

hazy laurel
#

linda not india

quiet depot
#

cynthia, not lidya

tranquil ridge
quiet depot
#

no correlation at all

whole condor
low fulcrum
#

what is a good modern alternative to c++? i've seen about D, Go and Rust. what are your thoughts

daring jay
#

Rust is great

low fulcrum
#

ooh why

echo fern
#

D is used by like no one
(exageratting, but it's not a popular language)

low fulcrum
#

yeah, nvr heard of it till tooday

round moss
#

Rust is your best bet probably

#

or just C++, it isn't all that bad

echo fern
#

Rust is pretty amazing

round moss
#

yeah, no data races is quite nice

low fulcrum
#

it can do all c++ can do?

round moss
#

though pony is better for that IMO

echo fern
#

Go, I think, is somewhat different from both - it is focused on concurrency using goroutines, AFAIK?

round moss
#

yes, rust can do everything cpp can

low fulcrum
#

cool, sounds like a good bet

echo fern
round moss
#

though for some things you have to dip into unsafe

#

such as doubly linked lists

echo fern
#

I do think Rust is also just nicer to program in than C++ in most cases. It happens that you need to use unsafe code sometimes, but it's not often, and most of the time the borrow checker does the opposite - protects you from making dumb mistakes

round moss
#

yeah, my main annoyance with rust is that it is often too forgiving, so the only way to truly know if your design works is to just write it out in full and see if it yells at you

#

also, compiles slowly

low fulcrum
#

should i learn rust straight away or learn c first?

#

do i need that kind of foundation like people recommend if i want to learn cpp

round moss
#

you can learn rust first, but some of its features may feel useless if you didn't experience life without them

#

also, you should not learn C before cpp

#

cpp is at this point very different and you can have a much nicer time programming without putting up with C

low fulcrum
#

oh i see

#

aight thanks for the advice

odd sphinx
#

yes

dusky cliff
#

not me either

tranquil ridge
#

not me either

quiet depot
#

me, but I think it's again the rules

timber mango
dusky cliff
#

i'm just starting to get somewhat used to numpy and god it's hot

dusky cliff
#

damn

echo fern
#

aaaaah

#

I realised I introduced a heisenbug into my own code

#

guess what I did? I have a macro that does nothing if a constant is set.

tranquil ridge
#

sounds like a city name if it were heisenburg

odd sphinx
#

theres a heisenbug?

tranquil ridge
odd sphinx
#

uncertain if its a bug?

echo fern
#

In computer programming jargon, a heisenbug is a software bug that seems to disappear or alter its behavior when one attempts to study it. The term is a pun on the name of Werner Heisenberg, the physicist who first asserted the observer effect of quantum mechanics, which states that the act of observing a system inevitably alters its state. In e...

odd sphinx
#

oh

#

lmao

echo fern
#

That is, it had:

if SOME_DEBUG_CONSTANT{
    return;
}
tranquil ridge
echo fern
#

the macros-savvy of you already know what happened

tranquil ridge
#

william heisenberg

echo fern
#

that return isn't from the macro's scope. It's from the function.

odd sphinx
#

lol

#

how do u return from a macro

#

$return

echo fern
#

When I disabled debugging (and only then!) a function of mine was returning without doing anything...

odd sphinx
#

wait why would u return from a macro

echo fern
#

and now my AI works!

#

again! better than ever, hopefully!

tranquil ridge
odd sphinx
#

epic

echo fern
#

(it better beat it all the time, because that's exactly how it simulates its opponent - as a lesser version of itself)

vale spire
#

Chess game anyone?

steel eagle
#

Y'know there are chess servers

#

Like chess academy

vale spire
#

They are maybe to good for me

steel eagle
#

there's everyone from first day players to long time veterans there

#

plus it gives you a reason to set up an account and get a rating

undone root
#

lichess best chess

hoary basalt
#

vat?

rotund nova
#

hi

rotund nova
#

u rite

rotund nova
steel eagle
tranquil ridge
#

woah whats this

steel eagle
#

title bar is visible :p

tranquil ridge
#

is that an ascii world map

steel eagle
#

yes, yes it is

tranquil ridge
#

oh dwarf fortress

steel eagle
#

forever world gen

tranquil ridge
#

seems like i have searched what it is before and i still dont know

steel eagle
#

it is a fortress management/simulation

#

As far as I'm aware, it holds the crown for most complex game ever made.

#

stupid levels of detail

tranquil ridge
#

o

steel eagle
#

but it's hard to play, it's like the vim of games

#

everything is hidden behind 4 arbitrary keys

#

some make sense, many don't

#

but the people who know how to play it will argue that it's just fine and totally all makes sense

#

literally. the. vim. of. games.

steel eagle
#

msfs is not that complex, it does one thing

viral hare
#

well vim has key bindings for a reason

#

dunno if that game has it as so

clever salmonBOT
#

Hey @steel eagle!

It looks like you tried to attach file type(s) that we do not allow (.bmp). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a.

Feel free to ask in #community-meta if you think this is a mistake.

steel eagle
#

aw, really!

sudden swallow
tranquil ridge
steel eagle
tranquil ridge
#

oh

steel eagle
#

libstdc++

#

just delete it and it'll use your system's

tranquil ridge
#

owo its in sdl

#

how do i exit this game

#

ah nvm theres a quit option

hazy laurel
#

I saw nothing

dim root
#

that's good

somber belfry
wild compass
#

<t:1623039432:d>

#

hmm interesting

somber belfry
wild compass
#

yup lol

#

<t:1625130343:R>

#

<t:239402949320>

#

<t:8640000000000>

bitter scroll
#

<t:162398105>

dusky cliff
#

<t:0>

#

<t:-1>

odd sphinx
#

ohh

#

thats for localising times

#

nice

#

<t:1>

#

amazing

#

<t:0>

bitter scroll
#

<t:1623981015:F>

median blade
#

wait wtf is this

#

Friday

#

hm

bitter scroll
#

<t:1623981015:T>

odd sphinx
#

cool

hazy laurel
#

what on Earth am I looking at

jovial island
#

chrisjl hacked discord and added new things.

#

now everyone is using it

hazy laurel
#

<t:1625134322>

#

oh. that's cool

wild compass
#

8640000000000 is the maximum apparently

#

one above, and it becomes invalid

#

<t:-8640000000000> to <t:8640000000000> is the largest possible range
(-8640000000000 - 8640000000000)

odd sphinx
#

cool

hazy laurel
#

<t:18446744073709551615>

#

amazing

#

<t:2132679932>

wild compass
#

max year is 275760

odd sphinx
#

dope

hazy laurel
#

<t:8640000000000>

neat light
#

why do they looks like spoilers that have been clicked on

junior moat
#

because discord ℒ️

hazy laurel
junior moat
#

i'm guessing they're timezone-aware though? that would be cool

hazy laurel
#

yes

#

<t:1625135552> < This should be the current time for you

neat light
#

I have "show spoiler content on servers i moderate" on so I turned it off and restarted discord to check they weren't actual spoilers πŸ˜”

hazy laurel
#

epic

wild compass
#

but... its... not

#

its a whole hour off

hazy laurel
#

oh.

wild compass
#

i would know if it were 5 am

hazy laurel
#

then it's not timezone aware

wild compass
#

its only 4

hazy laurel
#

<t:1625160940:R>

#

What does that say for y'all?

#

It would be your UTC off-set

wild compass
#

it says in 8 hours

hazy laurel
#

"in x hours" = -x
"x hours ago" = +x

junior moat
#

not timezone aware, lame

hazy laurel
#

You can do something kinda goofy like

#

<t:1625122800:R> is <t:1625122800>

tranquil ridge
#

btw @neat light i was bored so heres a chad wookie

hazy laurel
#

is it bad I'm thankful I never liked Power Rangers too much

wild compass
#

someone named ! is typing... πŸ‘€

junior moat
#

🎣

neat light
tranquil ridge
#

lol

dusky cliff
#

damn

somber belfry
wild compass
#

but how? i havent even touched it

junior moat
#

are you saying it is timezone aware?

#

it's wrong for me too lol

somber belfry
#

you guys live in the wrong timezone

wild compass
#

smh\

hazy laurel
#

lol

somber belfry
#

are you guys sure your system timezone is correct?

wild compass
#

yeah, i just checked my phone, and its the same time as my computer

hazy laurel
#

wait a minute wtf

dusky cliff
#

the timezone system is incorrect

junior moat
#

unless it's cypheriel's timezone that's incorrect

hazy laurel
#

Damned Windows

wild compass
#

LMAO

dusky cliff
#

how the turns table

hazy laurel
#

on Linux I just install chrony

junior moat
#

vivek, is your timezone wrong?

hazy laurel
#

wtf has it been off this entire time

wild compass
#

wait... thes is @somber belfry timezone broken?

somber belfry
neat light
#

lol

dusky cliff
#

vivek is broken

wild compass
#

lol

somber belfry
hazy laurel
#

wtf what time is it supposed to be for me

junior moat
#

i mean, i just let windows handle everything for me

#

and my cell phone just gets the local time based on cell tower

somber belfry
#

hey !, which timezone are you at?

junior moat
#

central us

wild compass
#

time is irrelevant, nothing makes sense

hazy laurel
somber belfry
#

<t:1625133226> is this off by 4 hours?

junior moat
#

it is not

jovial island
#

did you change os? that happens if we change os.

hazy laurel
#

<t:1625133249:R>

jovial island
#

we need to like off auto matic time and on again to get correct time

tranquil ridge
hazy laurel
#

what does that say for y'all

somber belfry
junior moat
tranquil ridge
#

wtf

hazy laurel
#

oh heck

tranquil ridge
#

how are you doing that

hazy laurel
#

it is timezone aware

tranquil ridge
#

discord?

hazy laurel
#

yes

jovial island
somber belfry
tranquil ridge
#

tf

jovial island
#

not on cellphone yet?

wild compass
#

lol

hazy laurel
#

213-267-9932

somber belfry
junior moat
#

it was correct

#

0 hours

hazy laurel
#

wowzer

#

times are timezone aware

#

and today I learned my time was off

wild compass
hazy laurel
somber belfry
hazy laurel
#

Ocean Eyes with Blackbear

#

I got it stuck in my head πŸ˜΅β€πŸ’«

junior moat
#

the real question is why was it right for you, vivek?

hazy laurel
junior moat
#

it was one hour ahead for me because cypheriel was one hour ahead

somber belfry
#

My mom always said that I was special

hazy laurel
#

lmao damn Windows thinking I'm in Pacific Standard Time

wild compass
#

lol

odd sphinx
#

<t:1625133419:d> time to find the americans

somber belfry
#

lmao cypherial

odd sphinx
#

send how this looks now getgunned

hazy laurel
odd sphinx
#

spotted

#

uh

somber belfry
#

guess I'm American now PEWshrug

odd sphinx
#

anyone else?

hazy laurel
odd sphinx
#

but u are in oman!!!

wild compass
#

umm, i just got assimilated into america

hazy laurel
#

It's so strange

#

How do people see a instead of e

tranquil ridge
#

guess i am american now shrug

odd sphinx
#

BRUH

wild compass
odd sphinx
#

stop being american now!!! 😠

odd sphinx
somber belfry
odd sphinx
#

lol

balmy radish
#

Lol

wild compass
#

k lol

hazy laurel
#

My brother says "Phycereal" lol

tranquil ridge
#

the cereal of physics

#

yum

hazy laurel
#

absolutely

odd sphinx
#

physics of cereal

wild compass
#

@odd sphinx basically everyone should be seeing 7/1/2021

odd sphinx
#

no

hazy laurel
jovial island
#

I'm amarican too?

odd sphinx
#

NO

hazy laurel
tranquil ridge
odd sphinx
#

stop being american noww!!!!!!!!!!

jovial island
#

but um. I didn't want to be.

balmy radish
jovial island
hazy laurel
#

πŸ‡ΊπŸ‡Έ

wild compass
#

πŸ‡¦πŸ‡Ά

jovial island
odd sphinx
#

lol

balmy radish
#

You use 24 hrs normally?

jovial island
#

how can people read 12 hr clock.

tranquil ridge
#

obviously

jovial island
#

yeah. we all do.

odd sphinx
#

ikr

#

24 hour gang

tranquil ridge
#

ye

wild compass
#

i mean, im indifferent

#

both are ok

jovial island
odd sphinx
#

red countries use MDY

wild compass
#

mdy?

jovial island
#

mmddyyyy

balmy radish
#

Month day year

odd sphinx
#

yes

wild compass
#

oh ic

tranquil ridge
odd sphinx
#

bruh

somber belfry
odd sphinx
#

true

#

its only the land of freedom

wild compass
#

mhm

hazy laurel
#

yes

thin kindle
#

guys

#

is there a way to determine if an integer can be evenly divided into 3 numbers, and the numbers being an even number

hazy laurel
#

wait

#

I can say... "July 4th is <t:1625378400:R>"

rigid echo
#

Lol

jovial island
lunar basin
#

he probably meant divided as in, x * y * z = n

jovial island
#

umm, i thought like divide as in, y'know, break in 3 parts.

jovial island
thin kindle
#

something like that idk

jovial island
jovial island
#

this makes sense if it was, in terms of *

thin kindle
jovial island
#

n%2==0 and n>=6

thin kindle
jovial island
#

logic.

#

i mean there is no thumb answer book for this its just math

#

should be even, because => odd can't be summed up by 3 even numbers

=6 because you don't want to give 0 candies to any one

#

yeah O(1)

lunar basin
#

yeah but isn't it unfair that one person gets 2, one person gets 4, and the last person just gets the rest?

jovial island
lunar basin
#

i know, but there's no reason it can't be a greater even number

jovial island
#

ofc its not. i just gave simplest way i could think of.

odd sphinx
#

sure

hidden lintel
#

I just realised

#

joe isn't active for so long

vague shadow
#

he's away from discord for a couple of days πŸ˜„

hazy laurel
#

:L

median blade
#

:K

hazy laurel
#

absolutely not

clear geyser
#

This is a fun curve

#

Glad I looked into 40+ cores, as the 1-40 cores was not helpful

#

However, I doubt any user will be running this program on 128 threads :P

real forum
clear geyser
#

TARDIS

trim cloud
clear geyser
#

Rapid modelling of supernovae

#

Down to 11 seconds is kinda crazy, but who has that many cores

tranquil ridge
trim cloud
tranquil ridge
#

no idea

odd sphinx
steel eagle
#

Idk who needs to hear this but if you order food answer your phone if a number you don't know calls.

odd sphinx
#

lol

wild compass
#

shit my laptops not charging

odd sphinx
#

slap it

wild compass
#

i think the charging block is broken

keen burrow
proper python
#

LETS GO

#

POGGERS

#

I AM IN THE %1

gaunt jacinth
#

oh, how many people qualified

real forum
simple arch
proper python
#

IM STILL IN THE 1%%

graceful zephyr
#

Hey so my current project, a desktop speedcubing timer app, is open source, and i want to include 2 features, a server and an automatic update feature. How can I avoid security issues if the app is open source?

lunar basin
#

what security issues might there be?

graceful zephyr
#

I get that my server has to handle all kind of pings and all that stuff, but say for example I want to make a beta version of my app, like Discord Canary, and i want that the app does not look for any updated and that it cant connect to the server, well, if somebody who knows to code, he can get the beta version and even check for updates and all that stuff and even connect with the server and send messages that can possibly crash it? I dont know. This is my first big and open source project

plain spruce
#

what is a flat file?

steel eagle
#

a flat file is just a regular, uncompressed, unencrypted file

#

i.e. .txt, .json, etc

#

@plain spruce^

proper python
round moss
#

The important thing is that your server should never crash just because the user sent wrong data

odd sphinx
#

might be useful later

ancient whale
#

you ever just

#

want to build a nuke?

odd sphinx
#

yes

#

multiple times

magic atlas
odd sphinx
#

ikr

#

ez

magic atlas
#

No big deal

odd sphinx
#

yep

#

ill just get one from my local fissile mass distributer

magic atlas
#

Or you can go with a fancy-pants implosion device.

odd sphinx
#

too fancy for me

tranquil ridge
odd sphinx
#

ikr

graceful zephyr
round moss
#

never make your own encryption, always use existing well tested solutions

proper python
#

man, are you really that worried about people's speedcubing scores being open?

outer solstice
#

Learn the basics of GitHub Copilot - an AI-powered tool for writing code faster. It is built on top of OpenAI’s GPT-3 model and uses training data from public places like StackOverflow to suggest and write code automatically.

#ai #code #firstlook

πŸ”— Resources

Copilot https://copilot.github.com/
OpenAI https://openai.com/blog/gpt-3-apps/
GPT3...

β–Ά Play video
round moss
#

there is a massive gap between suggesting small snippets from comments and writing a whole application

#

I don't really buy this alarmism

tribal tinsel
#

I realised I have really nice round number of photos on my phone :D

echo fern
#

equal amount πŸ‘€

rich cargo
#

Those roses are beautiful

#

But wait

hazy laurel
#

there's more

rich cargo
#

Face reveal πŸ‘€

hazy laurel
#

oh I would've never seen that

#

felt kind of like where's waldo

dusky cliff
#

what

#

where face

#

i only see cats and bees

cerulean panther
#

behind the orange-white cat

dusky cliff
#

??

#

oh

#

nvm

#

ok

median blade
rich cargo
#

What?

median blade
#

just damn

sharp spoke
#

guys i am just wondering how do u judge how good is a google entension?

tribal tinsel
tribal tinsel
#

oh, no. it's really part of my face with the cat

#

dammit, I tried to take a screenshot with mix of photos without faces on them

rich cargo
#

Hahaha πŸ˜‚

vague belfry
#

Very off topic: Anyone knows any free software for animation?

odd sphinx
#

blender?

vague belfry
#

Yah, anymore?

dusky cliff
#

ask vinam to do it in macroquad

odd sphinx
#

lol

woven hornet
#

could i ask, over here, the lecturer did this to create two tables, and then insert the values of title into the first table called shows

with open("Favorite TV Shows - Form Responses 1.csv", "r") as file:
    reader = csv.DictReader(file)
    for row in reader:
        title = row["title"].strip().upper()

        id = db.execute("INSERT INTO shows (title) VALUES(?)", title)```

could i ask for the last line, if we could directly substitute the variable `title`(a variable that is derived from previous calculations) like this
```id = db.execute("INSERT INTO shows (title) VALUES(title)")```
 vs 
```id = db.execute("INSERT INTO shows (title) VALUES(?)", title)```
round moss
#

that will not work, you will just be sending the string as is, without using the title variable

woven hornet
#

oh that makes sense yeah

round moss
#

you should always use the ? based substitution

woven hornet
#

right πŸ‘

odd sphinx
#

if u put title inside {} and make it an f string

woven hornet
#

i have another qn sorry for joining tables, are the two JOIN functions for the arrows in red? does the direction of the arrows matter? if i were to follow the structure of the first JOIN, the second one should be JOIN stars ON shows.id = stars.show_id or am i mistaken? thanks!

odd sphinx
#

u are vulnerable to whats known as an sql injection attack

graceful zephyr
proper python
tranquil ridge
ancient whale
tranquil ridge
#

i think it is

#

actually i am fairly certain its used

ancient whale
#

hm

odd sphinx
#

it can be used for animation

ancient whale
#

hM

viral hare
#

i think u can even script it with python too

#

there is like some python module that u can use to control blender

timber mango
ancient whale
#

game creating? how

odd sphinx
#

ye

dusky cliff
#

ye

rigid echo
#

ey

median blade
#

e

woven hornet
#

oh i mistook the small crow's feet as an arrow, so it doesn't indicate any direction?

#

im having issues with the third line, can it be JOIN stars ON shows.id = stars.show_id instead of JOIN shows on stars.show_id = shows.id?

#

oh okay but im still having trouble determining which table i should put after JOIN and which table value to be after ON, is there a convention/ method to decide?

base on what i understand,
line 2 JOIN stars ON people.id = stars.person_id is where it joins the star table with people table so it's JOIN the table stars on the people table with the value people.id only

line 3 JOIN shows ON stars.show_id = shows.id it means to join the shows table to the stars table with the value show.id only.

but i don't get for either line, why cant we see it as the reverse, eg. people table joining with stars (line 2) and stars table joining to shows table (line 3) if the order doesn't matter?

woven hornet
#

uh sry noo i don't have the data

#

yea

glass tulip
#

does anyone know info on sat?

rotund python
#

wow. I have discovered how to make python hints as real enforced data types.

#

(without mypy)

dusky cliff
#

show

rotund python
#

I am just reading theory about it, but going to try right now.
a moment, coding.

odd sphinx
#

damn

ancient whale
#

what's that one package that can give you the return type

tranquil ridge
#

github copilot

dusky cliff
#

bruh

ancient whale
#

no :(

rotund python
# dusky cliff show

!e

from typing import Callable, Any
class Validation:
    def __init__(
        self, validation_function: Callable[[Any], bool], error_msg: str
    ) -> None:
        self.validation_function = validation_function
        self.error_msg = error_msg
    def __call__(self, value):
        if not self.validation_function(value):
            raise ValueError(f"{value!r} {self.error_msg}")
class Field:
    def __init__(self, *validations):
        self._name = None
        self.validations = validations
    def __set_name__(self, owner, name):
        self._name = name
    def __get__(self, instance, owner):
        if instance is None:
            return self
        return instance.__dict__[self._name]
    def validate(self, value):
        for validation in self.validations:
            validation(value)
    def __set__(self, instance, value):
        self.validate(value)
        instance.__dict__[self._name] = value
class ClientClass:
    descriptor = Field(
        Validation(lambda x: isinstance(x, (int)), "is not a number")
    )

client = ClientClass()
client.descriptor = 5
client.descriptor = "str"
clever salmonBOT
#

@rotund python :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 34, in <module>
003 |   File "<string>", line 25, in __set__
004 |   File "<string>", line 23, in validate
005 |   File "<string>", line 10, in __call__
006 | ValueError: 'str' is not a number
rotund python
#

multiple validators can be used

#

for one field

#

I am sure it can be adapted to work with hints too I think

#

original example:

descriptor = Field(
        Validation(lambda x: isinstance(x, (int)), "is not a number"),
        Validation(lambda x: x >= 0, "is not >= 0"),
    )
dusky cliff
#

now validate a list of a million items, hinted as list[int] lemon_long

ancient whale
#

ya the whole container[type] screws with everything

#

same with stuff like Union

dusky cliff
#

or validate a function, hinted as Callable[float, int] and check if it returns an int for every float in existence

rotund python
#

don't be a party pooper

dusky cliff
#

heh

rotund python
#

it is still a cool thing ;b

dusky cliff
#

yeah

rotund python
#

a new level of abstraction, replacing @property and @name.setter

ancient whale
#

idk why you wouldnt just stick a bunch of isinstances to sanity check it

#
def foo(a: int, b: Optional[str], c: list[int]) -> dict[str, int]:
    if not isinstance(a, int):
      raise ImproperA
    else if not isinstance(b, (str, None)):
      raise ImproperB
    else if not isinstance(c, list) and not all(isinstance(item, int) for item in c):
      raise ImproperC

    ...
    if not isinstance(return_var, dict) and not all(isinstance(item[0], str) and isinstance(value, int) for item, value in dict.items()):
      raise ImproperReturn```
clever salmonBOT
#

@rotund python :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 17, in <module>
003 |   File "<string>", line 4, in __init__
004 | ValueError: my string is not of <class 'int'> type!
ancient whale
#

theres probably a better way to do it but im lazy rn

rotund python
#

a bit no idea how to properly set values yet, but it in the process

ancient whale
#

also the whole

#

not working with typing

rotund python
#

mm, __get__ and others aren't working for some reason

#

I don't get something with those decriptors yet

#

!e

class Integer:
    def __init__(self, value):
        self._name = None
        if not isinstance(value, int):
            raise ValueError(f"{value} is not {int}")
        self._value = value
    def __set_name__(self, owner, name):
        self._name = name
    def __get__(self, instance, owner):
        return self._value
    def __set__(self, instance, value):
        if not isinstance(value, int):
            raise ValueError(f"{value} is not {int}")
        self._value = value

class C:

    a = Integer(5)
    b = Integer(6)

print(C.a)
print(C.b)
print(C.a)

class D:
    e = Integer("123")
clever salmonBOT
#

@rotund python :x: Your eval job has completed with return code 1.

001 | 5
002 | 6
003 | 5
004 | Traceback (most recent call last):
005 |   File "<string>", line 25, in <module>
006 |   File "<string>", line 26, in D
007 |   File "<string>", line 5, in __init__
008 | ValueError: 123 is not <class 'int'>
rotund python
#

it works ;b

#

lets try to catch hints now

rotund python
# dusky cliff now validate a list of a million items, hinted as `list[int]` <:lemon_long:75444...

!e

from typing import List
class Field:
    def __init__(self, value):
        self._name = None
        self._value = value
    def __set_name__(self, owner, name):
        self._name = name

        hint_type = owner.__annotations__[name]
        class_type = self._value.__class__

        if "typing" in hint_type.__module__:
            if hint_type.__origin__ != class_type:
                raise ValueError(f"{self._value} of {class_type} is not {hint_type.__origin__}")

            try:
                for value in self._value:
                    if hint_type.__args__[0] != value.__class__:
                        raise ValueError(f"{value} of {value.__class__} is not {hint_type.__args__[0]}")
            except KeyError:
                pass

            return

        if hint_type != class_type:
            raise ValueError(f"{self._value} of {class_type} is not {hint_type}")
    def __get__(self, instance, owner):
        return self._value
    def __set__(self, instance, value):
        self._value = value

class C:

    a: int = Field(5)
    b: List[str] = Field(["678", "546"])
    c: List[int] = Field(["123", "099"])


print(C.a)
print(C.b)
print(C.a)
clever salmonBOT
#

@rotund python :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 19, in __set_name__
003 | ValueError: 123 of <class 'str'> is not <class 'int'>
004 | 
005 | The above exception was the direct cause of the following exception:
006 | 
007 | Traceback (most recent call last):
008 |   File "<string>", line 32, in <module>
009 | RuntimeError: Error calling __set_name__ on 'Field' instance 'c' in 'C'
rotund python
#

well, and it was fun

dusky cliff
#

nice

#

my point was that validating a list of million items would take up a lot of time, not that it's not possible to implement, heh

rotund python
#

I mean... aren't languages like C++ basically do that?

#

or well, at least checking once during __init__

#

is much less consuming

#

the only read difference that...

#

C++ has a lot of performance to spare

dusky cliff
#

in c++ the types would be checked at compile time and not at runtime

#

you wouldn't be able to make a list(array?) declared as a certain type and put in objects of other types in it

rotund python
#

it is checked during runtime

dusky cliff
#

not really sure

rotund python
#

it can't be checked during compile

#

actually it can be

#

I mean... every return type is typized there as well

#

so even that could be checked during compiling time

dusky cliff
#

yeah

#

besides, if something is even potentially type unsafe, the compiler wouldn't allow it, even if it isn't actually type unsafe at runtime

rotund python
rotund python
#

I wonder how much performance would degrade though

#

probably a lot πŸ˜‰

dusky cliff
#

mmm

rotund python
#

actually you know

#

this is not really different than using @property and @elder jungle.setter

#

it could be nice to use when we are having too much of repeatedly the same ones

#

to DRY their logic

#

accidentally pinged a user. Well, he should choose better name.

thorn eagle
#
console.log("Hello?")
hazy laurel
#

yes

thorn eagle
#
PIE DOUGH

2 Β½ cups flour (315 g)
1 teaspoon salt
1 Β½ sticks butter, 1 1/2 sticks, cold, cubed
8 tablespoons ice water, or as needed
FILLING

2 Β½ lb granny smith apple (1 kg), cored, sliced, peeled
ΒΎ cup sugar (150 g)
2 tablespoons flour
Β½ teaspoon salt
1 teaspoon cinnamon
ΒΌ teaspoon nutmeg
Β½ lemon
1 egg, beaten
1 tablespoon sugar
TOPPING

1 scoop vanilla ice cream
Nutrition Info
View Info
Preparation
In a medium-sized bowl, add the flour and salt. Mix with fork until combined.
Add in cubed butter and break up into flour with a fork. Mixture will still have lumps about the size of small peas.
Gradually add the ice water and continue to mix until the dough starts to come together. You may not need all of the water, but if the dough is too dry then add more. The dough should not be very tacky or sticky.
Work the dough together with your hands and turn out onto a surface. Work into a ball and cover with cling wrap. Refrigerate.
Peel the apples, then core and slice.
In a bowl, add the sliced apples, sugar, flour, salt, cinnamon, nutmeg, and juice from the lemon.
Mix until combined and all apples are coated. Refrigerate.
Preheat the oven to 375Β°F (200Β°C).
On a floured surface, cut the pie dough in half and roll out both halves until round and about β…›-inch (3 mm) thick.
Roll the dough around the rolling pin and unroll onto a pie dish making sure the dough reaches all edges. Trim extra if necessary.
Pour in apple filling mixture and pat down.
Roll the other half of the dough on top.
Trim the extra dough from the edges and pinch the edges to create a crimp. Make sure edges are sealed together.
Brush the pie with the beaten egg and sprinkle with the sugar.
Cut four slits in the top of the pie to create a vent.
Bake pie for 50-60 minutes or until the crust is golden brown and no greyish or undercooked pastry remains.
Allow to cool completely before slicing.
Top with ice cream and serve.
Enjoy!

how to make apple pie from scratch

cerulean panther
#

uhh, ok? oh you forgot to make the universe

thorn eagle
#

lol

dusky cliff
#

you must first create the universe

thorn eagle
#

oh

cerulean panther
#

lol

thorn eagle
#

you mean litterally from scratch?

dusky cliff
#

yes

thorn eagle
#

from nothing?

dusky cliff
#

yes

thorn eagle
#

lol

odd sphinx
#

yes

hazy laurel
neat light
#

@prime timber you closed your help channel, but fwiw, the site seems to work fine when accessed from a browser, so i'd guess the reason it's not working to be some sort of anti-scraping measure

prime timber
#

That is what confused me too so I thought the problem to be in my pandas installation. I guess I will wait for if the problem resolves until next week and hope it's just a maintenance issue instead of the anti-scraping measure

steel eagle
#

Pro tip if you order food give your apartment number

#

Or at least answer your phone

odd sphinx
#

uhh

#

isnt that pretty obvious

steel eagle
#

You would think.

#

Yet it's pretty much a daily occurrence where I get a delivery with no apartment number, just a building number

#

And they almost never answer their phone

odd sphinx
#

wtf

#

but

#

isnt that a mandatory part of the delivery address form

steel eagle
#

Address line 2 is optional

odd sphinx
#

damn

steel eagle
#

Because not everyone lives in an apartment...

odd sphinx
#

thats true

steel eagle
#

You just have to have two brain cells

odd sphinx
#

but if one lives in an apartment

#

and one wants food delivered

#

to said apartment

#

what goes in their heads

#

wtf

steel eagle
#

Line one 1124 NE Kendall St
Line two #D1
Ez.
(Not a real address)

odd sphinx
#

do they pay in advance via credit card or is it like cash on delivery

steel eagle
#

Most of them pay ahead

odd sphinx
#

bruh

#

that is so

#

AHHHHHHHHH

#

didnt know this happens

#

now i know

steel eagle
#

Yeah. And I've had it happen where it was paid card, with like a $10 tip added already

odd sphinx
#

lol

#

amazing

steel eagle
#

There's a process pretty much every company uses

#

1: call once
2: call a second time and leave a voicemail
3: wait 5 minutes then call the store
4: store attempts to call and leave a voicemail
5: wait 5 more minutes then return to store

#

I followed this, drive back to the store, they then call asking where the delivery is

odd sphinx
#

wtf

#

so u have to go back?

#

do they tip u extra for that

steel eagle
#

Then when they got their food, they called and complained that it was "cold" (it was not, it was in a thermal bag under a heat lamp)

odd sphinx
#

jeez

steel eagle
#

Welcome to food service

steel eagle
#

Nice thing about where I work now it's I get paid for mileage

#

So if I do have to go back somewhere I get paid, most places don't do that

odd sphinx
#

ah nice

steel eagle
#

And I meant to reply to the extra tip message

#

Not the going back message, yes we have to go back lol

odd sphinx
#

oh ok

#

lol

grim seal
#

i have more ipv6

tribal tinsel
grim seal
tribal tinsel
#

No, I was just curious about the name. The name sounds epic

grim seal
#

hahaha

#

yeah

#

good company

quiet depot
#

I don't know how this happen or it actually happens, but I was trying to figure it out why the display was so low quality in the TV and know I just plugged and

#

smoothie

upbeat sandal
#

You can't fool me anymore, @keen burrow. I've seen through your Frenchy ways.

#

And I don't care what fancy name you call it. I'm not eating another snail.

dusky cliff
#

akarys have you been lying to us!? lemon_angrysad

pastel nest
upbeat sandal
pastel nest
#

ah, found the name

#

"escargots gratines"

#

accent aigu on the e, too lazy to type it

mental idol
#

Cheesy snail

upbeat sandal
#

are you french?

pastel nest
mental idol
#

Shouldn't be that chewy though 😦 Like squid, will be a little chewy due to the nature but overcooked = rubbery

daring jay
#

@keen burrow What are you hiding? πŸ‘€

pastel nest
#

i believe there's a special way of carving a squid's meat so that it becomes less chewy and more like almost crunchy

#

oh god, that sounds horrible lmao

pastel nest
upbeat sandal
pastel nest
upbeat sandal
pastel nest
#

but holy moly quebec's poutine is absolutely world-spinningly delicious

pastel nest
upbeat sandal
#

I really like potatoes so I really want to try poutine tbh

daring jay
#

French fries aren't French

upbeat sandal
daring jay
#

They're from Belgium

pastel nest
daring jay
#

Yes

pastel nest
sinful sun
#

Its not the carving, its the cooking

#

Overcooked squid is chewy af

pastel nest
fickle ether
#

hi should i learn c or c++ if i want to understand more about how computers work at the lower level

thorn eagle
#

lol

#

but why do they call them French Fries

#

questionmark.

cerulean panther
# thorn eagle but why do they call them *French* Fries

In winter, when the river froze, the fish-deprived villagers fried potatoes instead. It's said that this dish was discovered by American soldiers in Belgium during World War I and, since the dominant language of southern Belgium is French, they dubbed the tasty potatoes β€œFrench” fries.

thorn eagle
#

Oh

native cobalt
tranquil ridge
odd sphinx
#

that emote is now my property*

ancient whale
#

ik clion isn't light but using rust is bringing my laptop to a halt when compiling

median blade
#

lol

ancient whale
#

and for some reason my fan isnt spinning up which is a bit concerning

keen burrow
median blade
#

fun stuff

dusky cliff
#

πŸ˜‹