#ot1-perplexing-regexing

1 messages ยท Page 250 of 1

sand goblet
#

Stahp

river anvil
#

NOONE can see what youre doing

#

your location, your connection, completely hidden

#

protect your internet privacy today, with ip vanish

river anvil
#

lmao

#

such a bad ad

#

i get it all the time

sand goblet
#

Why you gotta derail

sullen thorn
#

imma derail more

#

@tame terrace how do we make your rice cookery food?

#

share your secrets

river anvil
sand goblet
#

ok screw you guys

#

:P

tame terrace
#

you don't know how to cook rice?

sullen thorn
#

mostly cuz im looking at rice cookers

stark prawn
#

plain white rice, cook for 15 minuts, let it stay in pot without water for 10 more, enjoy

sullen thorn
#

aww gdude food is fun tho

#

in a rice coker or in a pot?

river anvil
#

just boil the rice in a pan

sullen thorn
#

and also no one really wants to discuss paedophiles

river anvil
#

or something

sullen thorn
#

wtf

river anvil
#

rice and pasta cook the same way dont they

sand goblet
#

we weren't

sullen thorn
#

i feel like that would burn the rice

#

oh

river anvil
#

maybe but thats how i cook pasta

sullen thorn
#

who cooks dry pasta in a pan...

river anvil
#

get a pot and put boiling water in

#

then put the pasta in

#

what ever

sand goblet
#

you guys didn't even read the conversation you were derailing

#

that's gold xD

river anvil
#

pan pot

sullen thorn
#

its called off topic for a reason gdude ๐Ÿ˜‰

river anvil
#

its derailing central

sand goblet
#

there are three channels for a reason though

#

I thought I could stop saying that since I left staff..

sullen thorn
#

yeah but like no one was talking in the others

river anvil
#

we need 3 more

#

:)

#

like the help channels

sand goblet
#

you two are like

#

the worst couple ever

river anvil
#

.love doodspav kazo

median domeBOT
#
๐Ÿ’— You seem like you are good friends ๐Ÿ’—

doodspav#4727 โค kazo#2129 scored 34%!
โ€‹

A letter from Dr. Love:

The chance of this relationship working is not very high, but its not that low either. If you both want this relationship to work, and put time and effort into it, meaning spending time together, talking to each other etc., than nothing shall stand in your way.

river anvil
#

awh

lilac glade
#

That shouldn't be here.

river anvil
#

not the worst

sullen thorn
#

ah im not good at putting in time and effort :/

sand goblet
#

oh trust me

#

we know

#

xD

sullen thorn
#

๐Ÿ˜’

river anvil
#

lol

sullen thorn
#

just i get distracted easily

river anvil
#

okay derailing again

tame terrace
#

what I do is

  • wash the rice
  • wash the rice some more. washing rice is awesome.
  • put the rice in a dry pot
  • fill up with water until it covers the rice and maybe a fingertip above the rice level
  • max heat that motherfucker and bring it to a boil
  • as soon as it starts to boil, set the heat to the lowest setting, put a lid on it, and forget it exists until you're ready to eat. 20-30 minutes is enough for it to be perfectly fluffy and awesome.
river anvil
#

why is it os.___make___dirs

sullen thorn
#

wait nooo

#

i wanna see the rice

river anvil
#

and os.___mk___dir

#

what the heck is going on

sand goblet
#

it's mirroring a system-level API

river anvil
#

what

sand goblet
#

so it's not really a python problem

#

it's a gnu c problem

sullen thorn
#

@tame terrace how do you wash rice?

sand goblet
#

in water, dood.

tame terrace
#

how do you wash anything:P

#

rinse it a bunch of times

sullen thorn
#

ok

#

but like with a colander or a pot?

sand goblet
#

what

rough sapphire
#

Can't rinse away these sins

tame terrace
#

you don't need a colander for it.

sand goblet
#

okay use your head for a second

river anvil
#

wash rice with more rice

sand goblet
#

what is gonna happen when you put grains of rice

#

into a colander?

tame terrace
#

just put water in the pot, use your hands, pour out water.

river anvil
#

make it nice and ricey

sullen thorn
#

maybe you put it all in the colander and collect it from the bottom idk

tame terrace
#

depends on the colander, g :P

sand goblet
#

he didn't say sieve, lemon

#

:P

sullen thorn
#

oooh yeah or rinse it with a sieve

stark prawn
#

My rice have instructions on the box that specifically say not to wash it.

sullen thorn
#

then u dont have to collect it

#

oh

sand goblet
#

you likely have part-cooked rice then

sullen thorn
#

i havent looked at the box's instructions

worn kite
#

parboiled rice?

river anvil
#

lemon

tame terrace
#

most rice say don't wash it. but if you're buying rice that comes in a box, you're probably not buying good rice anyway

river anvil
#

you say to rinse rice

tame terrace
#

just get one of those 1kg linen sacks

sand goblet
#

haha good point

river anvil
#

but we all know youre a robot

tame terrace
#

it costs nothing

#

lasts you a year

river anvil
#

hmm

sand goblet
#

I actually have no idea where I'd get that

stark prawn
#

Never seen one of those.

sullen thorn
#

hmm what if the rice comes in a metal container?

sand goblet
#

then you're paying too much for rice

tame terrace
#

you go to your local import food store

#

they have a whole section full of rice

sand goblet
#

ours don't

sullen thorn
#

i like the metal ones :/

#

theyre not that expensive

sand goblet
#

they have a whole section of dried fish instead usually

river anvil
#

how much are they

tame terrace
#

I go to a place like this

sullen thorn
#

idk im assuming - my parents buy them

sand goblet
#

yeah, that's what I was thinking

sullen thorn
#

we dont have a place like that

sand goblet
#

just that's all dried fish instead of rice

sullen thorn
#

wait how can you tell thats dried fish?

sand goblet
#

or like, noodles

#

oh my god, dood

river anvil
sand goblet
#

you are not paying attention at all

#

:P

tame terrace
#

obtuse

sullen thorn
#

it says rice on the back

#

*bag

sand goblet
#

if you were paying attention

#

you'd know I was talking about the import store I have here

#

:P

sullen thorn
#

ohhhh

#

how do u guys have import stores, but you dont have different kinds of flour?

#

like semolina flour

sand goblet
#

I'm gonna spray you with one of those squirty water bottles in a minute

#

we do have semolina flour

#

there's this big "import store" known as "tesco" that has it

sullen thorn
#

i swear we had a convo like a week ago, and u guys said u didnt have special flours

#

or was that bisk?

sand goblet
#

I don't think it was bisk

#

he has more or less the same stores

sullen thorn
#

it was definitely one of you two

sand goblet
#

I don't recall saying that

#

I dunno why I would either

#

it isn't true

#

we can get flours

sullen thorn
sand goblet
#

oh, sure, because it's expensive and you only get like

#

a 150g pot

#

but you can get it

sullen thorn
#

๐Ÿ˜’

sand goblet
#

it's a small enough container that I'm not sure what it's actually good for

sullen thorn
#

u could probably still use it to cover a pizza stone and stuff

sand goblet
#

actually I just looked it up

#

I'm not sure what the difference between "semolina" and "semolina flour" is

#

but we only have the first one

sullen thorn
#

theres a difference?

sand goblet
#

I dunno

sullen thorn
#

i thought they were the same thign

sand goblet
#

is there?

#

they seem to think you can feed 4 people with 50g of semolina

#

that doesn't really sound like a flour

sullen thorn
#

i mean u never know, maybe u can ๐Ÿคท

#

i dont think its really like white flour in that sense

#

its just its made from wheat

sand goblet
#

durum wheat, yeah

sullen thorn
#

get some and try ๐Ÿ˜ƒ

sand goblet
#

okay so it looks like

#

this stuff costs around uhh

#

โ‚ฌ5.50 ish for 500g

#

in the UK you can get a 1.5KG bag of the fine stuff for.. around โ‚ฌ2?

#

wut

sullen thorn
#

i think your local store is ripping you off ๐Ÿ˜‚

sand goblet
#

it's not like a corner store

#

tesco is a nationwide chain

sullen thorn
#

its still ripping you off

sand goblet
#

oh wow, mumsnet sucks

#

note the timer at the top right

#

when that empties they assume you consent

#

and play it anyway

river anvil
#

what the heck

sullen thorn
#

that feels like its against gdpr

sand goblet
#

it is

sullen thorn
#

report them ๐Ÿ˜ƒ

sand goblet
#

bit late at night for me to call a lawyer over a dailymotion video embed

#

:P

sullen thorn
#

is there not like a form you can fill out or something?

sand goblet
#

I dunno

#

probably not

sullen thorn
#

but if u dont report them, who will?

sand goblet
#

someone that isn't tired at 10:20pm

worn kite
#

To quote import this:

Now is better than never.
Although never is often better than *right* now.
sullen thorn
#

lol

vapid bluff
#

uncanny

river anvil
#

dont spoil it i have bad internet

sullen thorn
#

wtf

sand goblet
#

So good

#

xD

rough sapphire
#

@sand goblet my eyes.. -

#

it burns

shell blade
#

wtf lol

sullen thorn
#

watching tv shows from 2005 is really weird

#

like u see all the different trends

#

mobile phones look different

#

cars look shit

vapid bluff
#

good old indestructible brick phones

sullen thorn
#

lol yeah it was like a black one with an antenna

tame pier
rough sapphire
#

if you squint real hard, it says Tron

river anvil
#

whats your fastest minesweepr solve on easy

#

i got 25

granite lake
#

What cartoon was this again ?

summer rampart
#

Wallace and Gromit

granite lake
#

agh

river anvil
#

aw you beat me to it kosa

summer rampart
granite lake
#

kazo and kosa

#

kinda sounds same

viscid quarry
#

one's z other's s

#

also one's yellow one's not

#

so just say yellow one or not yellow one

granite lake
#

hehe

river anvil
#

wow im not yellow one now lol

viscid quarry
#

xd

#

sowwi

river anvil
#

lol its ok

summer rampart
#

need you guyses input

#

I'm working on a GUI calculator that supports postfix, infix and prefix notation. For postfix and prefix, there is a button to separate the next input from the current number, I'm just not sure what to label the button, or to leave it blank

viscid quarry
#

yea

river anvil
#

can you give an example of what it does?

sinful copper
#

@summer rampart I assume you mean for postfix and prefix

summer rampart
#

yep

#

whoops typo, I dumb

sinful copper
#

for postfix, old-school HP calculators use an up arrow, which fits with the whole stack metaphor

#

tht might not be appropriate for prefix though

#

on newer HP calculators it's just called enter

#

and there's alsp a space key

summer rampart
#

I could change the text for prefix, that's just one more if

#

โ†‘ for postfix?

sinful copper
#

if you're not exposing the stack as a user-visible thing that might not be as appropriate

#

also, traditionally, if you press it twice, it duplicates the last entry

summer rampart
#

duplicates the last entry? how so? like the last input text or the last equation?

sinful copper
#

on the stack

#

(actually, on old-school calculators it always duplicates the last entry, and puts the calculator in a state where if you start typing a number it will replace it)

#

like 1 <enter> <enter> 2 / + ends up executing 1 1 2 / +

summer rampart
#

but 1 <enter> 2 / + would be 1 2 / +?

sinful copper
#

yeah

#

like i said, the old-school sequence is it gets duplicated and the 2 replaces it

summer rampart
#

ah

sinful copper
#

the new-school sequence is that the first press finishes the entry and the second duplicates it

summer rampart
#

so
1 1

#

1 <enter> 1 1

#

1 <enter> 2 1 2

sinful copper
#

right

#

there are other scenarios where the differences between the behaviors are more relevant, such as after an operation

#

e.g. 1 <enter> + old-school is 1 1 +, new-school is 1 +
1 1 + 3, old-school: the 3 replaces the 2, new school: it places it on the stack below the 2.
1 1 + <enter> 3 old-school results in 2 3, new-school results in 2 2 3

#

sorry, i have a bit of knowledge about HP calculator behavior that I felt like showing off in the context of postfix calculators, got a bit sidetracked

summer rampart
#

no this is good, I have never touched an actual postfix calculator

#

and I'm trying to implement one

#

so this is great

#

I don't get your second example though

#

1 <enter> +
old school: 1 1 +
new school: 1 +
this one I get

#

after that not so much

sinful copper
#

basically once you do the + on an old-school calculator, it goes into a state where it's ready for input to replace the current x [old-school stack is four labeled positions, x y z t from bottom to top]

summer rampart
#

+ as in addtion operator?

sinful copper
#

yeah

#

once you do any operation really

#

wait, now i'm not sure

#

no, i'm wrong

#
  • does not put it in replace state
#

only enter does

summer rampart
#

do old school stack calculators only have 4 slots and they evaluate as you input?

sinful copper
#

yeah

#

well they always evaluate as you input

#

anyway, i was wrong about the up arrow too, it's always labeled enter

tame pier
#

There's an old HP RPN calculator somewhere in this house

#

Yeah up arrow

sinful copper
#

is it? i can't find an image of one, the hp 12c for example uses "enter"

tame pier
#

Trying to remember where it is now...

sinful copper
#

hp 41 has ENTER โ†‘

tame pier
#

That seems familiar

sinful copper
#

that might be what i was thinking of

tame pier
#

Yeah

#

Well, just remembered where it is, and it's not somewhere I want to dig into at 10PM...

sinful copper
#

this goes into some detail on enter key behavior on various models

#

they call it "classical" and "entry" RPN

summer rampart
#

mine would allow more than 4 levels in the "stack", or should I limit to 4

sinful copper
#

well, on a 4-level calculator, as values are consumed t is duplicated, whereas on a more modern unlimited-stack calculator, you can run out of values

#

for example, if you go to https://epxx.co/ctb/hp12c-platinum.html you can press 1 and then enter three times to set x=y=z=t=1, and then press + an unlimited number of times to keep adding

#

the unlimited stack behavior is certainly more intuitive for the purpose of the abstract concept of postfix notation

#

if you have a place to display a stack it may be worthwhile to partially evaluate on the fly and display pending operations on the stack in algebraic and prefix mode too

#

look at the calcoo app for an example of what that might look like for infix

summer rampart
#

the one at sourceforge?

sinful copper
#

yeah

#

it also emulates every combination of RPN

#

nothing for prefix but it's easy to reason out what a partial evaluation stack looks like for prefix

#

except it fills t with 0 instead of duplicating like real HP calculators

tame pier
#

Having a graphical display of the stack would be quite nice

summer rampart
tame pier
#

Nice dude

sinful copper
#

maybe have an option whether to do partial evaluation on the display on the bottom

summer rampart
#

Right now the bottom space is a statusbar that shows up if the expression is invalid, there was a ZeroDivisionError etc

#

I might add it as an option at the top

sinful copper
#

i meant the one right below the main number display, not the bottom of the window

summer rampart
#

ah

sinful copper
#

like if they've entered "5 6 * 4" have an option to display "30 4" instead

#

and likewise "+ * 5 6" have an option to display "+ 30" in prefix

summer rampart
#

so emulate the 4 stack thingy, after an operator is added, evaluate and repeat

sinful copper
#

and, well it's not as simple to reason about for infix which is why i mentioned calcoo

summer rampart
#

aw, the calcoo help button is blocking

#

wow the xyzt RPN

sand goblet
sullen thorn
#

postfix > prefix

#

@sinful copper do you know of any tools that show you how the stack grows as your program runs?

#

(for compiled programs)

#

also gdude how would a microsoft game pass work on the switch?

#

seems weird

sand goblet
#

@sullen thorn maybe read the article

sand goblet
#

right then, it's time to get back to the godforsaken spreadsheet

gentle moss
#

/o\

sand goblet
#

so far so readable at least

#

my neck isn't great but we'll manage

#

I wonder if there's a tool for excel where I can like

#

list all the unique values in a column

#

and then pick some to be changed to something else

tame terrace
sand goblet
#

that's like 300 dollars a year though

tame terrace
#

there's at least one that's free out there.

sand goblet
#

Yeah, probably

#

What would really help would be if excel's automcomplete used the entire column instead of contiguous sections only

#

but I already looked that one up

tame terrace
#

I remember the excel team had an AMA on reddit and talked about Python a lot

#

they were gonna launch official support for it

#

as an alternative to VBA

#

but I think it fell through :(

vapid bluff
tame terrace
#

nice. free and open source.

#

that does look nice.

vapid bluff
#

v0.15.2

#

so potentially buggy

#

but then you can at least fix the bugs yourself

sand goblet
#

Low versions don't mean buggy

#

They mean "things might change dramatically"

vapid bluff
#

ah ok

#

i always thought it meant like alpha/beta stage

#

oh, looks like 0.1.0 came out in 2014 ๐Ÿ˜…

#

that'd be a pretty long beta test

sand goblet
#

alpha/beta don't necessarily mean buggy either

vapid bluff
#

don't they? i thought that the point of a beta was to iron out those final bugs before release

#

and alpha was like the same but in earlier stages

sand goblet
#

Not always

tame terrace
#

gmail was beta for 5 years

#

it was still more or less the most polished webmail client in the world

#

practically free of bugs

#

it's just a label, companies use it diffferently.

vapid bluff
#

so then in a context like that, beta is more of an indicator of how concrete features are?

#

ah ok

tame terrace
#

in googles case, yeah it was just their way of saying "we're still working on big features"

#

essentially they have some internal to-do list they've decided to complete before ending beta and they haven't checked off all the boxes yet

#

for some companies that might mean big features, for others, bugs.

stark prawn
#

Some pieces of software are perpetually in beta and use that as an excuse.

tame terrace
#

DayZ has been in alpha since it released in 2013 :P

#

I haven't tried it in many years, but I assume it's still an unfinished mess.

gentle moss
#

gmail has been hella good for ages

tame terrace
#

gmail was good since release.

gentle moss
#

constant redesigns suck a bit at times

tame terrace
#

I was in super early friends and family invite beta

gentle moss
#

i think i got in the open early on

tame terrace
#

I got my gmail in like early 2005 or something.

vapid bluff
#

lol remember google wave?

#

never forget

tame terrace
#

yes. :D

vapid bluff
#

the shouldve focused on that instead of google+

#

maybe couldve integrated the two

#

oh well. rip.

gentle moss
#

Google+ was hella messy attempt at something

#

but i did like its privacy settings better than facebook

vapid bluff
#

they couldve had ed sheeran do a promo when he released +

#

'listen to + on +'

sullen thorn
#

@sand goblet iโ€™m a Redditor, we donโ€™t read articles

sand goblet
#

I'm a redditor and I read articles

#

checkmate atheists

gentle moss
#

I'm not a redditor and i read reddit

sand goblet
#

and articles, I hope

#

speaking of articles

gentle moss
#

no, i do not read articles

#

no matter what type

vestal briar
#

Ah, today is the day where they put all prices to normal for once in a year; just to put them on "sale" every other time

gentle moss
#

especially articles of clothing

#

100% don't read them

vapid bluff
#

reddit? what's that? a 4chan board?

vestal briar
#

Yeah dude

#

Its W0K3

vapid bluff
#

@gentle moss gasp so all this time youve never checked the label to see if your shirts are truly machine washable????

stark prawn
#

momo challenge? As in two times code jam champion momo?

sullen thorn
#

@sand goblet youโ€™re like a lemon in a sea of apples then

#

No one else on reddit does that

sand goblet
#

yes they do

#

:P

#

most redditors do that

#

you're the lemon

stark prawn
#

What? We jump straight to the comments and start ranting based off of assuptions we made from the post title.

sullen thorn
#

The definitely donโ€™t, or else some posts wouldnโ€™t get as many upvotes

#

Yeah iโ€™m with grote here

sand goblet
#

if you browse like r/funny or r/circlejerk then I'm not including you

#

because they don't post many articles

#

:P

#

people that browse stuff like r/python, r/netsec, r/devops do read 'em

stark prawn
#

post with 50k upvotes, reactions with 20k upvotes that clearly haven't read the article.

gentle moss
#

[11:45] meta: @gentle moss gasp so all this time youve never checked the label to see if your shirts are truly machine washable????

#

everything goes in on 40c

sand goblet
#

we use 30c

vapid bluff
#

do you even separate the whites

sand goblet
#

nope

gentle moss
#

nope, i aint racist

#

these colours don't run baby

#

because running is hard

vapid bluff
#

wheres that horror emoji

#

๐Ÿ˜ฑ

stark prawn
#

Now you remind me of that asian laundry detergent ad.

sand goblet
#

tide pods

gentle moss
#

i think i might take it down to 30 from now on

sand goblet
#

good squishy

gentle moss
#

the annoying part is that a 40c cycle in "Quicker" mode is 1h, but the 30c cycle is 2h in "Quicker" mode

#

a whole hour for 10 less c's

vapid bluff
#

you guys ever seen those oblong shaped pastries with an almond in the centre

#

they kind of look like tide pods

sand goblet
#

no they don't

#

lol

vapid bluff
#

... if you squint

#

use your imagination ok ๐Ÿ˜›

sand goblet
#

they got nothing on the bright colours of Grote's favourite snack

#

:P

stark prawn
#

Remember, your child's favourite stuffed animal needs to be washed at 90C

#

My favourite snack isn't colorful at all.

sand goblet
#

what

#

90c

#

xD

stark prawn
#

My sister is still salty 15 years later I think.

sand goblet
#

there are machines that go up that high?

#

why even

stark prawn
#

After her bunny became half the size, and lost all it's fluffyness

vapid bluff
#

wow my life is a lie

sand goblet
#

Hah

stark prawn
#

90C is a common setting.

oak tangle
#

My machine goes up to 95

sullen thorn
#

I mean sure I read the developer articles cuz theyโ€™re interesting

gentle moss
#

my machine will do 100c

#

BOILING WASH

#

i could put like a lasagne in there for a full cycle and cook it

vapid bluff
#

nice

tulip palm
#

now actually do it.

vapid bluff
#

if you poke a hole in the top you could turn your laundry room into a steam room

tired osprey
#

Sauna

oak tangle
#

Just use a vented dryer, but don't connect the vent

ember laurel
#

๐Ÿค”

gentle moss
#

we have a condensor dryer and after a serious bout of washing the house feels like a damn jungle

ember laurel
#

My mum always makes my house feel like that and I can't fine shit anymore

stark prawn
#

Ah, my house isn't big enough for that

#

๐Ÿ˜ฆ

ember laurel
#

I have a tiny house and it still happens. Rip

rough sapphire
#

hello

sand goblet
#

We got a vented dryer precisely because emptying the water was annoying

vestal briar
#

We have a cheap washing machine and dryer

#

Ours has to empty like 1/3 times

rough sapphire
#

i need help related to python code

#

anyone here? to help me

ember laurel
#

@rough sapphire hello

rough sapphire
#

do you know how to cod

#

do you know python

ember laurel
#

What does it say in the name haha? Sorry man I can't help you

vestal briar
stark prawn
#

I have no place to connect a washing machine finger_gun_dank

vestal briar
#

Rip

gentle moss
#

aint got no option @sand goblet

#

washing machine plumbing on the side of the kitchen next to the exterior wall

#

dryer would vent into the living room ๐Ÿค”

rough sapphire
#

ok

sand goblet
#

convert the living room into a sauna

#

problem solved

gentle moss
#

but all muh electronics

#

they're not rated for a finnish climate

sand goblet
#

haha

#

turn the cellar into a man cave

gentle moss
#

a what?

#

what's one of them

glass gorge
#

I am slightly annoyed at how that article didn't say anything about how the game is played @sand goblet

sand goblet
#

you don't have a cellar?

glass gorge
#

I just wanna know the playing rules GWqlabsFeelsBadEh

sand goblet
#

@glass gorge basically a whatsapp bot educates kids on how to harm themelves and others

glass gorge
#

That could be so much

#

I want details

sand goblet
#

well, they found one of the "players" dead in a barn with "illuminati" and "devil's one eye" scrawled on the wall

glass gorge
#

Now that sounds interesting

#

time to play childerens games on a new device ๐Ÿ˜

sand goblet
#

you're approaching this in a very strange manner :P

glass gorge
#

But in all realness, non meirl mode

#

damn

sand goblet
#

"damn"

#

yes

#

Between this and the YouTube pedophilia problem, I've gotta wonder what the heck is going on with the Internet lately

gentle moss
#

no, i don't have a cellar

#

they're not particularly common here tbh

vestal briar
#

Uh

gentle moss
#

are we in charlie brooker's mental hell yet gdude?

bleak lintel
#

We have a lot of wine cellars up here in Yorkshire

vestal briar
#

I just came back and am confused

gentle moss
#

WIINE cellars?

vestal briar
#

In a house (liverpool) built at the end of WW2, we have a bomb shelter that makes for a shoddy wine cellar

gentle moss
#

I think you mean benedictine.

vestal briar
#

Has been used to ferment cider

gentle moss
#

since that's what you up in yorksherrr drink

sand goblet
vestal briar
#

Haha what?

glass gorge
#

@flint dagger What have I said about harming little people

vestal briar
#

Uuh

vestal briar
vapid bluff
#

and north korea's naval program was thwarted by a rogue wave @sand goblet

sand goblet
#

It's just a name joke.

#

Also if you guys believe my link, you'll believe anything

#

that site is satire

glass gorge
#

Yeah i was playing on the whatsapp bot momo

vestal briar
#

Speed doesn't matter in browsers anyway, just the features nowadays

sand goblet
#

that's not true at all

#

not even close to true

#

amazon measured it

#

each 1 second of extra page load time results in something like 6 million dollars of lost sales for amazon

vestal briar
#

Browsers have very little effect on speed nowadays

sand goblet
#

again, not true

#

maybe on your i9 processor and dual GTX 1080 Tis

gentle moss
#

go figure momo doesn't take part in the first codejam i don't do

sand goblet
#

hey man

#

be glad

#

I'm not competing against you

vestal briar
#

My ยฃ150 netbook can run browsers fast

sand goblet
#

I could totally have done that

#

:P

gentle moss
#

my skill in the jams comes in the form of brilliant ideas

#

ยฌ_ยฌ

glass gorge
#

There's a reason front end devs squeeze ms in performance

vestal briar
#

:)

#

Oh cool

#

;)

sand goblet
#

:(

vestal briar
#

<3

glass gorge
#

Or just disable auto emoji in general

#

:)

vestal briar
#

Yeah

sand goblet
#

yeah

#

I turned off the auto emoji thing

vestal briar
#

I'll do that now

#

:) :( ;) :'(

#

cool

#

Oh, emotes = :), emojis = ๐Ÿ˜ƒ

gentle moss
#

smileys, i think you'll find

#

:P

vestal briar
#

:P

#

Thanks, reddit

glass gorge
sand goblet
#

I can't 100% tell if that's appropriate or not..

vestal briar
#

It's a gif

sand goblet
#

No, what you posted

vestal briar
#

It's both at the same time

#

Gifs

#

:(

solid pollen
#

Hem.....

vestal briar
#

I don't like gifs apart from well-timed good quality ones

solid pollen
#

Okay I suppose ๐Ÿ˜ƒ

vestal briar
#

:D

#

oh no

#

that looks weird now

#

๐Ÿ˜… , ๐Ÿ‘ and ๐Ÿ‘Œ are the only ones I use unironically

sinful copper
#

@sullen thorn i don't know any offhand that just do tat

#

and generally the stack doesn't grow continuously, it just grows as recursive functions are called and then shrinks back when returning to the main loop

sullen thorn
#

Yeah but like I wanna see how the stack grows as more functions are called

#

I donโ€™t wanna see just 1 functions call frame

nimble igloo
#

Could I ask something php related here?

sand goblet
#

You could, but I wouldn't be sure of getting an answer

nimble igloo
#

I think it shouldnt be that hard. However

vestal briar
#

Title does hold up

nimble igloo
#

I dont find it out by myself

#

So my problem is the following:
I want to style php with css. And this doesnt work

sand goblet
#

I mean really your problem is that you don't understand the technologies you're using

vestal briar
#

It's php <-- Best joke of ever

sand goblet
#

Your page is HTML.

#

CSS is for styling HTML.

vestal briar
#

Style php with css?

sand goblet
#

PHP is a HTML preprocessor.

vestal briar
sand goblet
#

No, like neither of those things

nimble igloo
vestal briar
#

Oh i'm tired, jinja then

nimble igloo
#

(its a php file)

sand goblet
#

it's not really like jinja either

nimble igloo
#

and if you look at the red box

sand goblet
#

Yes, it's a PHP file, but the output still should be valid HTML

nimble igloo
#

@sand goblet everything is working fine, except that I cant stye the php echo with css

#

and thats my question

sand goblet
#

yes, because your HTML is invalid

#

you didn't close the div on the line before

#

that's why it's red

nimble igloo
#

but where is a closing div missing

sand goblet
#

No, look at your HTML

#

You're missing a single character

vestal briar
#

Closing div of "form1" div

#

the > isn't there

sand goblet
#

Owez, what are you doing

#

why are you stopping the guy from thinking for themselves?

#

:P

vestal briar
#

Being bored and attempting to help (poorly)

#

Mm

nimble igloo
#

omg

#

and for that shitty > thing

#

I was sitting 2h

#

omg

sand goblet
#

that's why we have linters

stark prawn
#

auto closing tags โค

vestal briar
#

VSCode <3

sand goblet
#

and, yeah, decent editors

nimble igloo
#

usually Im not doing stuff with html etc

#

thats why I probably dont have a good editor

vestal briar
#

VSCode and Atom are either really advanced text editors or are IDEs for everything

sand goblet
#

They're not IDEs

#

they're editors with plugins

#

:P

vestal briar
#

Why can't they be

sand goblet
#

because you have to customize them to get a fully integrated environment

#

IDEs come preconfigured with everything you need

vestal briar
#

I have good debugging, intergrated terminal, syntax highlighting, code completion

sand goblet
#

it's kind of in the name

vestal briar
#

They are cool hybrids

sand goblet
#

They are editors.

vestal briar
#

With the features of an ide with one click to install a plugin with a couple million downloads

sand goblet
#

They are still just editors, and to call them anything else would be deliberately misleading.

#

You can install plugins to build an IDE-like experience, but they aren't IDEs.

#

the whole point of an IDE is you don't have to customize it to get a fully integrated environment

vestal briar
#

What does VSCode not have that's an IDE

#

(Not arguing, curious)

sand goblet
#

well if we take a good IDE like PyCharm for example

#

PyCharm pro comes with docker integration, thread timings, asyncio timings, a database browser, support for tools like pipenv and such

#

a fully integrated debugger which even allows you to run arbitrary code at a paused execution state

vestal briar
#

VSCode has db browsers (with plugins), support for tools and can debug nicely

sand goblet
#

automated deployment tools, remote debugging, SSH integration..

vestal briar
#

No idea about them

sand goblet
#

A fully integrated inspector that can not only warn you about problems and style violations, but also automatically fix a lot of them

vestal briar
#

Ah

sand goblet
#

honestly the list of features that pycharm has is kind of endless at this point

vestal briar
#

Yeah

sand goblet
#

As a result, though, the thing is massive

#

so some people use an editor instead, with the implication that the classifier of "editor" gives you something light and customizable

vestal briar
#

I prefer VSCode because it's snappy, extendable and i'm just used to it

#

Yeah

sand goblet
#

if people try to say that VSCode is an IDE then the classifiers of IDE and editor become useless

vestal briar
#

I'd classify VSCode as a customisable, ide-like editor (if you want it to be one)

sand goblet
#

just call it an editor

#

save everyone a lot of confusion

#

I use both, by the way

#

pycharm and vscode

vestal briar
#

Then notepad is an editor

#

ยฏ_(ใƒ„)_/ยฏ

sand goblet
#

It is.

vestal briar
#

There should be a differentiation

sand goblet
#

the differentiation is "good" and "bad"

#

:P

vestal briar
#

Mm

#

But thats subjective :'(

#

What about Notepad++?

sand goblet
#

Also a pretty bad editor

vestal briar
#

Sublime?

#

(That's in the middle for me)

sand goblet
#

Pretty good example of an editor

#

Lighter than VSCode

#

doesn't really have its own package manager but there's always Package Control

vestal briar
#

It just feels like a glorified notepad++

sand goblet
#

Nah, it's way more capable

#

Sublime is largely python, by the way

vestal briar
#

Notepad++ has plugins ;)

sand goblet
#

Yeah, it has like, ten plugins

#

:P

vestal briar
#

Yup

#

VSCode > (Atom == Pycharm) > Sublime > Notepad++ > Death > Notepad for me

sand goblet
#

Atom is basically the same as VSCode

#

different plugins

#

lol

vestal briar
#

Yeah

#

It's a bit more bulky for my pc for some reason

#

I have seen it run on macs with like 20mb ram usage

#

It's 1-2gb (with ~40% cpu usage) on mine for whatever reason :/

sand goblet
#

Wouldn't know really, don't use it

#

plus I have 32GiB of RAM

vestal briar
#

Oh weird

#

Cpu jumped to 60% for a second then

#

Thats on a pentium n4200 with 4gb DDR3(L)

sinful copper
#

how about "semi-integrated development environment"

vestal briar
#

^ ;)

sand goblet
#

how about

vestal briar
#

TEXT EDITOR

sand goblet
#

well to be honest that's still an IDE

#

like, what's it called

sinful copper
#

that seems like a good term for stuff like vs code and sublime

sand goblet
#

that thing that Hemlock likes

vestal briar
#

It's sill a DE

sand goblet
#

scapy? heck I can't remember what it's called

vestal briar
#

MDE - Modular Development Enviroment

sand goblet
#

no, don't copmlicate things even further

#

people are assholes enough already :P

sinful copper
#

of course

#

if we talk about text editors vs ides for too long

vestal briar
#

No it's to impress hipsters using node

#

MDE

#

It has modular in

sinful copper
#

someone with a giant beard will magically appear to say "well actually emacs is the original IDE"

vestal briar
#

Actully

sinful copper
#

and then someone with a larger beard will say "no, the unix command line is an IDE"

vestal briar
#

Whatever the default ubuntu one is is the best

sand goblet
#

I mean, there.. isn't a default linux one

vestal briar
#

Nano

sand goblet
#

and if there was, it wouldn't be nano

#

I like nano personally

#

but since vi is standard on BSD, it'd probably be vim on linux

rustic crater
#

You don't use ed?

vestal briar
#

It comes with vi(m) by default

sand goblet
#

not all distros default to vim, which may be a surprise to you

sinful copper
#

I think the default editor on one of the BSDs is something called "mg" which is a tiny emacs-like editor

vestal briar
#

I love linux

gentle moss
#

nano is the best

vestal briar
#

So stable

gentle moss
#

vi clearly has power but it's also a cunt

vestal briar
#

^

tulip palm
#

@sand goblet do you mean mu? hemlock likes that, i do too.

sand goblet
#

mu is an editor

#

I mean it's in the name

#

mu editor

#

lol

tulip palm
#

fair enough.

sand goblet
#

it is a pretty great learning tool though

vestal briar
#

Looks like a very cold computer lab kinda learning tool

sand goblet
#

Yeah it kind of is, but it's good at what it does

vestal briar
#

Never used it

bleak lintel
#

mu is awesome

vestal briar
#

I had a goverment-requred it lesson once a week a couple years back when I was first messing around on python. I already knew more than the teacher once I learnt what a loop was

bleak lintel
#

the integrations with circuitpython are fantastic

gentle moss
#

lemon mentioned that to me the other day

#

python on arduino type stuff?

tulip palm
#

yeah.

bleak lintel
#

yeah python on arduino sort of

#

it's a fork of micropython

#

juans got a microcontroller from adafruit and has played with it

#

very cool seeing what he has built

tulip palm
#

ty :D

sand goblet
#

Adafruit's stuff looks great

#

shame I can't afford any of it xD

tulip palm
#

i've managed to do a whole bunch of stuff with just a circuit playground express.

sand goblet
#

Wouldn't I need some tools?

tulip palm
#

nope

sand goblet
#

I have none tools

bleak lintel
#

no tools needed

tulip palm
#

absolutely none for the circuit playground express.

#

it's all built into the board.

sand goblet
#

Hmmmm

tulip palm
#

you just need a USB A -> micro B USB cable

bleak lintel
#

no electronic knowledge required either

#

just python

sand goblet
#

Oh, but adafruit is American

tulip palm
#

you can buy a CPX from pimoroni which ships from the UK

#

that's what i did.

bleak lintel
#

shipping is hard from america yeah

sand goblet
#

Aren't you in the UK though?

bleak lintel
#

it was $30 for me

sand goblet
#

It's more customs I'm worried about

bleak lintel
#

in the end I didn't go down the official store route because import tax is horrific

#

yeah that was the customs paid option

tulip palm
#

i didn't go with the official store either.

sand goblet
#

And I won't be able to buy from the UK soon anyway

#

Brexit means I'll have to pay customs there too :>

bleak lintel
#

zoinks

sand goblet
#

That looks interesting

tulip palm
#

it's really easy to use, too.

sand goblet
#

I have a little mbed somewhere with a couple sensors on it but honestly their python support is awful

tulip palm
#
import time
from adafruit_circuitplayground.express import cpx

cpx.red_led = True
time.sleep(1)
cpx.red_led = False

while True:
    if cpx.button_a:
        cpx.pixels.fill(0xff00ff)
    else:
        cpx.pixels.fill(0x00ff00)

here's a basic example i gave to lemon. flashes the little LED for a second, then turns the neopixels bright magenta when a button's pressed, and turns them green when it's released.

sand goblet
#

It's like serial over USB basically

#

Doesn't even work half the time

#

Interesting

#

Does it support modules and classes?

tulip palm
#

yes.

sand goblet
#

You could write a nice event dispatcher

tulip palm
#

you'll want to be careful though, you have to work with its limitations.

bleak lintel
#

yeah memory is a luxury haha

tulip palm
#

it's got 32KB of RAM to work with

bleak lintel
#

as juan found out when he decided to write a MEGALARGE SIGNAL RECORDING PLAYBACK APPLICATION

gentle moss
#

sounds like writing stuff for lambda on AWS

tulip palm
#

haha, i was even previously warned that memory errors were rife with so many features being used at once. did i listen? no, but it just about managed to work anyways after a bit of optimisation.

gentle moss
#

:D

bleak lintel
gentle moss
#

nice

#

i'm 200% for a slightly bulkier phone if it's easier to tear down

sand goblet
#

Haha, 32k should be plenty for what I'm thinking of

#

I like event driven APIs

#

Mom wanted to buy some moisturiser and I kept reading "nvidia" instead of "nivea"

tough stratus
#

๐Ÿคฆ

sullen thorn
#

@tough stratus me ๐Ÿ˜ƒ

stark prawn
#

That's not pep8

tough stratus
#

That is true.

tame terrace
#

you shouldn't make your own dunder methods. especially not with camelCase in them. I'm afraid your name is highly offensive.

tough stratus
#

๐Ÿ˜ข

#

I would argue that all python objects have a right to cook food for themselves and others

tame pier
#

If you can ping the target, then it does exist

ember laurel
#

Doesn't mean that mods should ping everyone.

river anvil
#

they dont?

tame pier
#

a) that's a falsehood
b) it's referring to ICMP requests (commonly known as "pings" and are often sent using the ping command), not Discord mentions

river anvil
#

tuples are (1, 2) right?

sinful copper
#

yeah

river anvil
#

damn

#

nvm

#
def call_func(x, func):
    print(func(x))
call_func(x)```
#

probably just break syntax before anything

#

but this looks like a logical paradox

sinful copper
#

huh

#

?

river anvil
#

woops

sinful copper
#

well, now you're not passing enough args to call_func - do you mean call_func(x, call_func)?

#

in that case you'd get a recursion error or whatever it's called

#

RuntimeError: maximum recursion depth exceeded

river anvil
#

yea lol

covert atlas
#

anyone worked with google api i do export GOOGLE_APPLICATION_CREDENTIALS="path", but it always says it cant find the credentials

tame pier
#

What OS?

covert atlas
#

linux

#

mint

tame pier
#

The export is only present in the current terminal session

#

You need to add to bashrc

covert atlas
#

oh ok

tame pier
#

~/.bashrc

covert atlas
#

i know

grave phoenix
covert atlas
#

didnt work @tame pier

grave phoenix
tame pier
#

Is the path absolute?

covert atlas
#

yes

tame pier
#

And the JSON formatted correctly?

covert atlas
#

its downloaled from the google api website

tame pier
#

Is that the right variable name?

#

I did this like a year ago on Windows so don't remember the details

covert atlas
#
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/zomatree/.pyenv/versions/3.7.2/lib/python3.7/site-packages/google/cloud/translate_v2/client.py", line 64, in __init__
    super(Client, self).__init__(credentials=credentials, _http=_http)
  File "/home/zomatree/.pyenv/versions/3.7.2/lib/python3.7/site-packages/google/cloud/client.py", line 130, in __init__
    credentials, _ = google.auth.default()
  File "/home/zomatree/.pyenv/versions/3.7.2/lib/python3.7/site-packages/google/auth/_default.py", line 317, in default
    raise exceptions.DefaultCredentialsError(_HELP_MESSAGE)
google.auth.exceptions.DefaultCredentialsError: Could not automatically determine credentials. Please set GOOGLE_APPLICATION_CREDENTIALS or explicitly create credentials and re-run the application. For more information, please see https://cloud.google.com/docs/authentication/getting-started
``` full error
tame pier
#

Hmm

#

Maybe check the docs or source code

tame pier
#

Sorry can't think of what else

#

Maybe try python 3.6?

#

And check file permissions

summer rampart
#

tfw you're searching something on the web browser and you click Esc then start trying to move your cursor around with hjkl

rough sapphire
#

@finite nacelle hello

finite nacelle
#

stop

viscid quarry
#

ricardoooo

river anvil
#

hey squiggles

tulip palm
#

oh dear, i remember ricardo.

grave phoenix
viscid quarry
#

heya kazo

river anvil
#

how are you

grave phoenix
#

Good

river anvil
#

not you

tulip palm
#

that's rude

river anvil
#

๐Ÿ˜•

tulip palm
#

hey @grave phoenix, how are you?

#

:)

river anvil
#

sorry

tulip palm
#

:)

river anvil
#

:)

grave phoenix
tulip palm
#

||:||||)||

grave phoenix
river anvil
#

damn it

#

you always have to one up me

tulip palm
#

yes. :D

grave phoenix
river anvil
#

๐Ÿ˜ช

grave phoenix
#

I'm bored

river anvil
#

wanna help me play minesweeper

grave phoenix
#

Huh,I dunno how to play it

tulip palm
#

i'll help

river anvil
#

basically

grave phoenix
#

I'm monkey?

river anvil
#

the numbers display how many mines there are within a 3x3 grid around them

#

actually let me see if i can screenshate

#

juan mind getting in a call?

tulip palm
#

give me a moment.

#

in the server, or DMs?

#

i'm pretty sure there's video calling capabilities in this server, just have to use a specific link.

viscid quarry
#

MINESWEEPER

#

YEEEEEEET

#

im good btw

river anvil
#

i dont think there is

viscid quarry
#

how are you ?

river anvil
#

im good

grave phoenix
#

Nice

river anvil
#

you just missed out on me being vulnerable in ot0 ๐Ÿ˜•

grave phoenix
#

@viscid quarry how's your project going? We still don't know what to do GWnanamiCoconaSweat

viscid quarry
#

we're still thinking

grave phoenix
#

I see

river anvil
#

hm

grave phoenix
#

There's a Juanita in the general voice chat

#

Also a Kazo

tulip palm
#

yup ๐Ÿ™†

shell blade
#

im allll aloneee

tame pier
#

sorry i'm yawning a lot

shell blade
#

it's fine ๐Ÿ˜ƒ

viscid quarry
#

aw

#

be like me and imagine there's lots of people around aKyuClapCat

shell blade
#

lol

#

there is no around me ever

viscid quarry
#

no around you ?

shell blade
#

not in a meaningful physical social interactional way

viscid quarry
#

ah

#

same

deep mesa
#

What programming languages are basically useless for everything?

viscid quarry
#

all programming languages have a worst, but what for? part of them

#

you get like worst for production, worst for developer, worst to maintain ...

rustic crater
#

befunge is one pretty useless one that comes to mind

viscid quarry
#

it's also esoteric lol

worn kite
#

true, but on the other hand each of those languages has a purpose that it is designed and (at least somewhat) good for

viscid quarry
#

i dont think esoteric should be considered >w<

rustic crater
#

i wrote an interpreter for it though, so i guess that's a use case :p

deep mesa
#

Ok, who gets the award for hardest to maintain?

viscid quarry
#

hm

worn kite
#

also that, esoteric languages exist "just because". Their purpose is to be mind-teasing and confusing, or entertaining.

viscid quarry
#

most dynamic languages tbh

worn kite
#

And they're usually good at that

viscid quarry
#

dynamic languages imo are hardest to maintain

#

especially for larger codebases

worn kite
#

I smell JavaScript javascript

viscid quarry
#

python, js, lua ..

#

C# and VB to an extent too

deep mesa
#

What's the worst named language?

viscid quarry
#

facefuck

#

then again it's esoteric so

granite lake
#

๐Ÿค”

sullen thorn
#

is python actually hard to maintain? i thought it was only hard in the sense that its easier not to

#

whereas with stuff like c++ or c, the language kinda forces you to maintain it

granite lake
#

Depends on the operations

#

But with these many libs today. I'd say it's not

viscid quarry
#

dynamic languages are harder to maintain yea

granite lake
#

Why so

#

@viscid quarry

fervent dock
#

static typing allows you to catch more errors at compile time

sand goblet
#

Fallacies! Hurrah!

#

Static typing allows you to catch typing errors

#

At compile time

#

But I don't really see any serious python developer that wants that

#

The main reason being, in python, it's slow as hell to constantly check types

#

Mypy exists for your unit testing though

fervent dock
#

Static typing allows you to catch typing errors so more errors mad

sand goblet
#

Well, no

#

Python is all about duck typing

#

So static typing is quite irrelevant

#

The two couldn't work together

fervent dock
#

oh i'm not saying python is bad for its lack of static typing

sand goblet
#

Some people think that

#

The truth is that static typing does not lead to cleaner or more stable code

#

It's all about the skill of the developer, and always has been

fervent dock
#

i would agree with that

sullen thorn
#

user testing > unit testing ๐Ÿ˜ƒ