#ot1-perplexing-regexing

1 messages · Page 303 of 1

vestal briar
#

It randomly picks

sand goblet
#

It's random, yeah, picked from a database

#

there's hundreds of them

vestal briar
#

Hundreds I say!

rough sapphire
#

What is Ed?

sand goblet
#

the standard text editor

#

nah, it's a very basic command-line text manipulation tool

#

it's not really an editor, much like its more modern equivalent, sed, you use a regular expression

#

sed syntax is widely known at least

#

if you type "hello" in a single message, then follow it up with "s/hello/goodbye/" you'll see what I mean

rough sapphire
#

Hmm

sand goblet
#

try it

rough sapphire
#

s/hello/goodbye

sand goblet
#

well your last message didn't have hello in it

rough sapphire
#

Oh in cmd?

sand goblet
#

no, here

rough sapphire
#

Oh

sand goblet
#

also I think you need that slash at the end

rough sapphire
#

hello

#

Oh

sand goblet
#

you're on mobile, aren't you

#

yep

#

desktop only, unfortunately

vestal briar
#

goodby

rough sapphire
#

Oh

vestal briar
#

🤔

#

fuck

rough sapphire
#

Is it a discord feature?

sand goblet
#

yeah

rough sapphire
#

Hmm

sand goblet
#

but it's exactly what sed does too

vestal briar
#

Woah

#

This is cool

rough sapphire
#

Didn't know that

vestal briar
#

Ok only last one

rough sapphire
#

goodbye/

quasi sequoia
#

lol offtopic channel names do change! D: I never realized before :S

vestal briar
#

@rough sapphire Hm?

rough sapphire
#

?

quasi sequoia
#

omg I didn't know marquee tag still worked

tulip palm
#

ymmv though, i wouldn't rely on it at all

quasi sequoia
#

I just saw what looks like a really old web

rough sapphire
vestal briar
#

Don't you hate the advertising that says it's "empowering"

#

This uses all the shitty marketing words Libra’s mission is to enable a simple global currency and financial infrastructure that empowers billions of people.

#

Just missing cloud and vr in there

frosty berry
#

who wouldn't want to empower the people

#

they always find ways to spin things in ways that makes you the bad guy if you disagree 😛

wet steppe
#

empower is political ye

rough sapphire
#

whaaaaat - you mean you dont want to give stupid amounts of money to a non profit charity organisation that only spends 1% of their earnings on the actual mission?

vestal briar
#

:)

#

That's also owned by 20 monopolies in different sectors trying to cling for survival, spearheaded by a company that has the biggest reputation on earth for being untrustworthy out of anything else

vestal briar
#

I'll leave this here

#

No context

wet steppe
#

were you googling R

vestal briar
#

Turns out the letter r is too vague, who knew!

tulip imp
#

why tf are my jquery functions not working
.css()
.text()

#

wtf

solid pollen
#

@vestal briar the rabbit look good xD

vestal briar
#

:)

winter oriole
#

hey everyone

#

I'm reading about Jenkins, Sonar, and all the stuff and I was wondering

#

what's the "best" way to deploy and use these tools ? Should I heavely rely on docker ?

sand goblet
#

Docker is a very popular deployment tool today, yeah

winter oriole
#

Hm, I'll try to find a howto on that topic then

gentle moss
#

docker is super prevalent in many environments for deploying stuff

#

the basics aren't too tricky to get to grips with

#

docker-compose would be a useful thing to look into too

sand goblet
gentle moss
#

O_O

#

A WOO HOO

#

oh, the game.

vestal briar
#

I'm proud of this tiny little parser

#
/// Converts a u8 slice to a valid utf8 string or throws an error if not
fn u8_to_str(input: &[u8]) -> Result<&str, SyntaxError> {
    match str::from_utf8(input) {
        Ok(x) => Ok(x),
        Err(_) => Err(SyntaxError::DataTypeNotFound),
    }
}

/// Matches to a [DataType] depending on the string supplied
fn dt_match(input: &[u8]) -> Result<DataType, SyntaxError> {
    let input_str = u8_to_str(input)?;

    match input_str {
        "s" => Ok(DataType::StringType),
        "i" => Ok(DataType::IntType),
        "o" => Ok(DataType::ObjectType),
        "a" => {
            let array_inner = match get_array_type(input) {
                Ok((_, x)) => x,
                Err(x) => return Err(SyntaxError::ArrayError),
            };

            Ok(DataType::ArrayType(&array_inner))
        },
        _ => Err(SyntaxError::InvalidDataType),
    }
}

named!(get_array_type<DataType>,
    map_res!(
        .. // <-- right parse here
        dt_match
    )
);

named!(
    get_dt<DataType>,
    map_res!(delimited(char('('), is_not(")"), char(')')), dt_match)
);
#

This took 2 days

sand goblet
#

that's almost readable

#

not bad

vestal briar
#

:)

#

Not many other ways to do it consisely

#

So I have to use some intresting recursion

solid pollen
#

@vestal briar this is rust?

vestal briar
#

Yeah

solid pollen
#

I should learn it..

tired osprey
#

@vestal briar for the upper function you could probably just .map_err(SyntaxError::DataTypeNotFound) instead of a function

vestal briar
#

Oh true

native drift
#

So uhhh, anyone has some cool ideas for a Python project?

winter oriole
#

a maze generator

#

and then a maze solver

#

hf

winter oriole
#

hm if I was to try out docker in a VM, the best and easiest way to affect a domain name to that VM would be to modify the host file right ..?

rough sapphire
sand goblet
#

that feel when you're re-reading a series of novels and find out there's a movie adaption soon

#

a disney adaption, no less

#

it was delayed until May next year, but still

undone berry
#

What is that feeling? Mild skepticism

sand goblet
#

Nah, I'm interested

undone berry
#

I have yet to see a single book I've read have a good film adaptation

sand goblet
#

haven't read harry potter, then

undone berry
#

Think the films detract from enjoyment of the books

sand goblet
#

It's a different kind of media really

undone berry
#

Actually, good omens and poirot are both good - although not films

plucky ridge
#

Hog Father was amazing too

undone berry
#

That's true. Although also a miniseries right? If so, my takeaway is that all books should get a miniseries

plucky ridge
#

I suppose it was? I'm honestly not 100% what it's considered

wet steppe
#

I much prefer TV shows to Movies

#

longer

undone berry
#

Can do a lot more in 6 hours than you can in 2.5. You get a lot more wiggle room to bring the nuance and character of books in

wet steppe
#

Movies do have big budget for cool effects to be fair

undone berry
#

True, but I think good books pretty much always live on more than action. So it's fine for stories written as movies, but less so for adaptations

wet steppe
#

yeah for most genre

#

but stuff like sci fi can benefit from big action/effects budget

#

I guess now we have shows like Battlestar Galactica that was like movie graphics for a whole long-form TV show 😄

#

Battlestar Galactica was like a 70+ hour movie lol

#

so good

vestal briar
#

I need to get back into bsg

#

After watching firefly

rough sapphire
jagged fog
#

there are snakes that are not carnivores ?!? nani

summer rampart
#

the snake in Snake eats fruits, and dies when it eats itself

rough sapphire
#

That took a few reads to understand

#

Snake the game

rough sapphire
#

I actually woke up at like 7am for once cus I went to bed early last night and now my mum is forcing me to leave the house and I wish I hadn’t woken up now pepe

glass gorge
#

Climb back in through the window

rough sapphire
#

Hahaha

#

She can’t find my blood test form so I may not be going feelsGladMan

#

Oh god NevErmind she found it fuck

glass gorge
#

Just had a kid leave the waiting room saying they couldnt find his blood veins

#

Multiple pokes no luck, come back tomorrow

rough sapphire
#

I get blood tests a lot and one time the doctor was like “oh you have some very nice veins” I was like... uh thanks?

glass gorge
#

Gf is a nurse

#

She loves my veins

#

They poppin

rough sapphire
#

I don’t think I want my veins to be popping sweatcat

glass gorge
tame pier
#

It makes it easier to get a clean stick

#

Less pain for you and less stress for the nurse

glass gorge
#

Theres no blood in ya meat

rough sapphire
#

I used to hate getting blood tests and then I had to get a steroid injection in my knuckle and after that pain I am TOTALLY okay with Having a blood test if it means I don’t have to go through that again

glass gorge
#

👀

#

What

torn ridge
#

you should have those that stop your blood from clotting, they inject a HUGE needle into your stomach

rough sapphire
#

👁👄👁

#

I’m getting surgery on my knuckle soon and I hope that they put me to sleep but I have a feeling they won’t just for that

torn ridge
#

i had surgery on my ankle, it was brutal, luckily i was asleep!

rough sapphire
#

That steroid injection was the worst outside pain I’d ever felt, man just stuck a needle in my knuckle and started bending it and moving it all around

torn ridge
#

Ew

#

i saw one nurse, and she was a right witch! told me men are such babies when it comes to taking blood.
turns out she was really shit at it, punctured a vein, and my entire forearm was bruised!

rough sapphire
torn ridge
#

she went through both sides of it, so it just bled out into my arm

rough sapphire
#

Holy fuck

gentle moss
#

i got big juicy veins

#

nurses fucking love em

#

back of the hand, wrist, forearm, all massive veins

#

i'd make a great junky

rough sapphire
#

My tendon is out of place so it curves round my knuckle so they tried giving me a steroid injection to stop the pain and it didn’t work so now they have to poke around with it in surgery to see what they can do

gentle moss
#

ahhhhh

#

that type of surgery sucks

rough sapphire
#

At first I thought I’d broken my knuckle cus I can a little dip in the bone but turns out that’s where my tendon is meant to be sitting feelsGladMan

gentle moss
#

i had to get the tendon over my right thumb cut in half so they could remove a bone fragment

rough sapphire
gentle moss
#

still doesn't feel the same afterwards

rough sapphire
#

Apparently there’s like bands that hold your tendon in place and they think I’ve snapped one of them so I’m hoping they can just.. tie it back together?

glass gorge
#

@gentle moss same

#

The vein thing

#

Mentioned above gf is a nurse, and she loves pretend sticking them

gentle moss
#

i was once sorta seeing a medical biology student

#

they can be super weird in a fun way

glass gorge
#

She is super weird

#

In a good way hilarious_lemon

gentle moss
#

fucking naming all my bones and shit with biro

rough sapphire
#

👁👄👁

glass gorge
#

She does that too

#

Not to mention blood vessels, etc

rough sapphire
#

@warm valley What are some projects you've done in the past?

warm valley
#

Nothing really huge, only started programming mroe recently, but i've been doing an internship this summer at a research facility, and I've enjoyed it because it wasn't pure programming, it had a feeling of applying knowledge that wasn't just programming and also some math

rough sapphire
#

What do you want to use Python for? What are some big drives for you?

warm valley
#

ya get me, like applying programming to other subject knowledge

#

uhh anything researchy could be interesting, maybe some ML stuff, or some medtech related stuff

#

I dont know if thats really helpful, what I said

rough sapphire
#

Hmm.. No project comes to mind that needs anything like that right now.

warm valley
#

well it doesnt have to be like a real world project

#

can be small things

#

like even small things like a double pendulum or some kind of chaos theory related thing or whatever

rough sapphire
#

Double pendulums are crazy hyperlemon

gentle moss
#

could say they're chaotic

warm valley
#

are they hard to do?

#

I guess the category of scientific programming interests me, any projects to start in that area

#

anyone done any scientific programming projects, can you recommend any

rough sapphire
oak tangle
#

Blood donor?

rough sapphire
#

Just about my 50th blood test sweatcat

#

No one would want my blood it’s fucked feelsGladMan

oak tangle
#

Ohhh

#

I hope you're at least okay

gentle moss
#

did you get a lolly pop?

#

i got my blood done when i was fucking 25 and the nurse offered me a lolly

#

fucking bet your ass i took that shit

sand goblet
#

they always give me a squeezy stress toy when they do my bloods

#

not to keep but it helps with the anxiety

#

apparently that's a dyspraxia thing, at least that's what they told me

vapid bluff
#

i cant even remember the last time i did a blood test sweatcat

tame terrace
#

I like blood tests.

rough sapphire
#

They did not give me a lolly pop >:((

glass gorge
#

i had a crp blood test today

#

pokey poke

#

I've also never gotten a lollypop

#

time to swap doctors

#

Should probably do that anyways since my current one is a 30 min / 45min bus drive away from here

tame terrace
#

usually when my kid has to do a blood test, they give him a rubber ball.

#

norway doesn't do the giving candy to kids at the doctor thing so much, I guess because our doctors don't fail to see the irony? so often you get a toy instead.

gentle moss
#

that's nice

#

toys last longer than candy

tame terrace
#

depends on the kid hilarious_lemon

gentle moss
#

:D

tame terrace
#

some of those balls were gone by the time we got to the car.

gentle moss
#

well, worshippers of the sun god tend to fair differently

#

sorry, airport god

tame terrace
#

you won't be airport god forever, you know.

gentle moss
#

i still believe it was worship of the airport and not me.

#

it's a very nice airport

tame terrace
#

it's not that nice.

glass gorge
#

At least we get lollypops when buying stronger alcohol

tame terrace
#

that's.. weird.

glass gorge
#

Hey, I'm not complaining

vapid bluff
#

lmao

#

why

glass gorge
#

If you're under 25 and show your ID without being asked to

#

you get a lollypop

tame terrace
#

wat

#

that's a fun rule

#

never seen that over here

glass gorge
#

Really?

tame terrace
#

yeah, you'd think vinmonopolet would do it everywhere.

#

not that I'd be eligable anyway

sand goblet
#

I've never heard of that, that's hilarious

#

Great idea

tame terrace
#

and besides, my beard is huge and has gray hairs, I haven't been asked for ID since I was 19

glass gorge
#

I think it might have ended now though

vestal briar
#

Let me just put a fake beard on

glass gorge
#

Now theres a whole campaign about "show id, save a bee"

#

or something

tame terrace
#

haha wat

#

what's the point of that

vestal briar
#

🤔

tame terrace
#

do they give you a bee then

glass gorge
gentle moss
#

whaaaaaaaaaaaaaaat

tame terrace
#

oh here sir is your complimentary bee

wooden silo
#

No, they refrain from killing one.

gentle moss
#

LOLLYPOPS FOR BUYING BOOZE?!

#

FUCKING HELL

#

i live in the wrong country

wooden silo
#

It's essentially a bee hostage situation.

glass gorge
#

wait no, the bee thing is a 2015 campaign?

tame terrace
#

hahaha

#

so if they have to ask you for ID and you're under 25, they murder a bee in front of you

gentle moss
#

hahaha

wooden silo
#

Exactly.

gentle moss
#

that's gotta...

#

sting.

tame terrace
#

for the bee, maybe

gentle moss
#

it's one way to solve a...

#

collective issue.

tame terrace
#

I actually would be very upset by that. I'm one of those hippies who never kills insects.

gentle moss
#

same, except moths

wooden silo
#

You better beelieve it

gentle moss
#

i just don't like them

glass gorge
#

I kill wasps

#

Fuck those guys

tame terrace
#

I just let them out.

gentle moss
#

wasps eat insects and shit

tame terrace
#

mostly because I don't wanna fight a wasp

glass gorge
#

One does not simply let them out of our garden

gentle moss
#

never been stung by anything and had to deal with them plenty

glass gorge
#

^

#

Same

tame terrace
#

I got stung as a kid

gentle moss
#

idk maybe it really fucking hurts

tame terrace
#

that shit hurts.

#

also, Viktor got stung the other day furious_lemon

glass gorge
#

My little brother stepped on a nest as a kid

tame terrace
#

oh shit

glass gorge
#

blew up by stings

tame terrace
#

he exploded?

#

your brother?

glass gorge
#

Yeah

#

He dead now

#

rip

tame terrace
#

wow

glass gorge
#

No

tame terrace
#

rip

glass gorge
#

But he did swell

#

like a lot

#

everywhere

#

He'd be dead if he was allergic though.

wooden silo
#

He was a real swell chap

vapid bluff
#

used to live in a house with an old air conditioner from like the 60s that you had to mount outside and make a hole in a window for

#

turned out one summer there was a wasp nest in it 😃

#

so imagine thinking youre safe about to escape sweltering heat

#

nope, wasps start flying out of the aircon

#

time to escape aircon room

#

rip

wooden silo
#

Sounds like a defcon aircon situation.

vestal briar
#

I get jumpscared by spiders appareing next to me but I don't want to kill them

#
  1. poor spider
#
  1. It's insides will go everywhere
glass gorge
#

3. It may lay eggs on your bed sheets

#

(happened to me a week ago)

vestal briar
#

Oh well then it crossed the line

#

Nicely scoop it into a plastic cup

#

Then jump on said plasic party cup

#

Then drink whatever colour it's blood alternative is

rough sapphire
#

What the hell

vapid bluff
#

haemolymph

#

and it's light blue

#

/gray when deoxygenated

glass gorge
#

I scooped it up, throw it in da toilet,
and burned the sheets.

rough sapphire
#

We had a convo about haemolymph the other day

vestal briar
#

Riot

#

Don't start it

rough sapphire
vestal briar
#

:P

#

The hospital in liverpool is fucking depressing

#

From 1969, should have been demolished 2 years ago when a new one was built

#

It's crumbling

rough sapphire
#

Oh dear

#

I have to go to queens hospital in London and it’s chaotic

vestal briar
#

Also where all the architects in that time high?

#

Most of the rooms are tiny nooks that are "FIRE HAZARD STAFF ONLY STORE ROOM"

rough sapphire
#

When they were building it they were probably pretty high up yeah

vestal briar
#

It's a labarinth

#

They where making a new one but the corrupt contractor went bankrupt

#

Look at the fucking windows

rough sapphire
#

I think I’m missing something

#

They look fine

vestal briar
#

Hm

rough sapphire
#

I’m also not wearing my glasses so I’m slightly blind but I’ll take your word for it

vestal briar
#

Basically irl they look shitty

#

The whole place inside is old fashioned

#

With random posters up from the early 90s

rough sapphire
#

That’s eerie

vestal briar
#

Not errie because it's overcrouded

#

Too many people there for it to be eerie 😅

rough sapphire
#

Like every hospital in England lol

vestal briar
#

Mhm

rough sapphire
#

Because the FOOKIN NHS

vestal briar
#

Well the NHS is trying

#

They are just way underfunded

rough sapphire
#

They really need a better system

vestal briar
#

And their whole it stack runs 1995 software for their new machines

rough sapphire
#

Because everyone is over worked and everywhere is crowded and everything is a waiting list

vestal briar
#

It's legacy code running legacy code running legacy code running legacy code running legacy code etc

rough sapphire
#

Jesus

#

They should do it if you earn over X amount, you have to pay X% of your bill or something

vestal briar
#

I know someone that works at a security firm for the nhs right at the time of that locking virus

#

0 they could do

rough sapphire
#

God that must have been chaotic

vestal briar
#

Mhm

#

A lot most likely died from that computer virus

#

And there's no chance in hell you could lockdown thousands of nhs computers all running different osses with different bugs

#

:/

rough sapphire
#

I just googled it and I couldn’t find an answer but I found “more than 900 NHS deaths yearly caused by IT failings”

vestal briar
#

Damn

rough sapphire
#

So probably a LOT

vestal briar
#

Mhm

#

And I honestly can't blame anyone from it

rough sapphire
#

“It follows warnings that all 200 NHS trusts assessed for cyber security vulnerablities has failed to meet the standards required”

vestal briar
#

They are just trying to keep together all the half-working equipment with not enough manpower to rewrite it

rough sapphire
#

Can Jeff bozos just come and fund our NHS please feelsGladMan

vestal briar
#

:)

#

AmazonHospital

rough sapphire
#

I think even he would struggle to keep it going without spending everything he’s earning

vestal briar
#

Free with prime until we take over the world

rough sapphire
#

I think I worked out before that with how much Jeff bozos is earning he could afford to end world hunger

#

But amazon would soon collapse because he wouldn’t be able to put funds back into it

#

He could end it for a little bit tho feelsGladMan

vestal briar
#

I spend more % on charity then he does

#

And I have no stable income

#

If i'm rich i'll spend 99% on charity

rough sapphire
#

I reckon if every rich person in the world worked together they could get the money to end world hunger (maybe, I’m sure overpopulation would soon increase)

vestal briar
#

Fuck having an inheritance and rich spoiled children

rough sapphire
#

Right, like if you’re rich rich, you could spend SO much of what your earning and still live a comfortable life

vestal briar
#

Give em a million each in a savings fund that will gradually pour out to them

rough sapphire
#

All I need is a computer and a room feelsGladMan

vestal briar
#

Yep

#

I'll have my children not be spoiled but make sure they never have too little to starve

#

And the rest will all be going to various charities

rough sapphire
#

I think my parents did the same for me, their not Jeff bozos rich, but they’re alright, and they’ve never just given me things, they either just say no I need to get a job or they make me work for them

vestal briar
#

Yeah

#

That's good

#

Well maybe not for you

rough sapphire
#

The only time I get given without needing to work is Christmas and stuff, just normal presents

vestal briar
#

But your future, it helps

#

Yeah

rough sapphire
#

I’m hyped for Christmas hyperlemon

vestal briar
#

:P

#

I don't really want anything

rough sapphire
#

This Christmas I’ll probably just ask for money cus I’m saving up for a lot of different things that would be too much to ask for

vestal briar
#

I have a nice laptop and a useless 3d printer I spent money on and I feel very guilty about

#

And I have sold everything else of value

rough sapphire
#

I’m saving for a laptop and an oculus quest

vestal briar
#

VR is a fad :/

rough sapphire
#

I just wanna play beat saber rub

#

Tbh*

vestal briar
#

Gtg

#

I know it's a cool thing to have but it's probably not worth spending like £400 on

#

I learnt my lesson with this 3d printer

#

£200 gone

rough sapphire
#

but want

#

And I can use it when I’m OUT

#

Like on holiday

#

The maids will walk in the hotel room and see my butt ass naked playing BEAT SABER

#

You can also get 18+ VR apps 👁👄👁

sand goblet
#

That's a damn fine announcement

vestal briar
#

Woo I am in a cafe place

#

Time to do some rust before friends come and then continue

#

:D

rough sapphire
#

@vestal briar What 3d printer you got?

vestal briar
#

Ender 3d

rough sapphire
#

Why is it a waste of money?

vestal briar
#

Never really used it

#

I keep it maintained but just never had anything to use it for and if I did, wan't worth spending an hour calibrating

twilit marlin
#

i kinda love first deus ex

#

and this is it's story, but in MUSIC

rough sapphire
#

i just got a really sudden urge to play minecraft obsessively

twilit marlin
#

AAAAAAAAAAAAAAAAAAA
I WANT DEUS EX BUT I WANNA SAVE UP FOR MORDHAU

#

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
this is like inner demon and inner angel fighting

sand goblet
#

Solution, better job

twilit marlin
#

only if i knew where i can find that better job

gentle moss
#

hey guys, i chose here instead

#

50th anniversary of abbey road!

#

you know what that means, right?

#

no fucking chance of driving down abbey road

plucky ridge
#

I thought it was Abbey Lane for some reason

gentle moss
#

:D

#

it's a well known "fuck this route" in london

#

tourists love that zebra crossing and you're legally required to stop if someone is standing at it or near it

rough sapphire
#

all london routes are "fuck this route"

#

you only drive in central london if you HAVE to

#

which isn't exciting for me considering i want to be a live sound engineer and ill most likely be working primarily in London and theres a pretty high chance that ill be driving trucks of equipment every now and then sweatcat

gentle moss
#

pssssssssssssssssssssssssssssssssssssssst

#

i lived in london for 14 years

#

¬_¬

rough sapphire
#

psssst ive been living in london for 18 years

gentle moss
#

pfffffffffffffffffffffffffffffffffffffffffffffft

#

okay you win

glass gorge
#

PSSSSSSSSSSSSSSSSSSSST I haven't been living in london for 23 years

vapid bluff
#

didnt you say you live in the middle of the woods riot >_>

gentle moss
#

nah, i live in the woods now

#

too many 2x4's got thrown through our car windows and school kids stabbed so my mum moved us to a forest

wet steppe
#

forest is where 2x4's are born

#

you went to their nest

gentle moss
#

hahaha

rough sapphire
#

there are woods in london feelsGladMan

#

i dont know how many compared to the rest of england but theres a few

gentle moss
#

no, there are not woods in central london

#

if you're from the greater metropolitain area

#

maybe

rough sapphire
#

idk i just live in london hyperlemon

#

im about uh

#

a 20 minute train ride from the O2

wet steppe
#

O2 is nice

vestal briar
#

Time to triangulate riots location

#

20 mins train from o2, lives in woods near london

#

There must be some select areas with that

wet steppe
#

all you gotta do

#

is ask whether they are south or east of O2

#

and you will know

rough sapphire
#

I don’t even know that

#

I know if I’m south or east London but idk if I’m south or east from O2

#

I just hop on the train and scadaddle

wet steppe
#

you must know if u're north or south of the river though?

glass gorge
#

in the river

wet steppe
#

as soon as you go East of Tower Bridge even, ways to cross the river get pretty sparse

#

so its always obvious which side you are on

rough sapphire
#

no

#

ive only started driving recently and ive never driven in london yet

#

i mainly stay underground and then pop up at mainly the O2 and like central central london where all the tourists are

vestal briar
#

I was a tourist once and some posh woman tried to barge in front of me when talking and I accidenty cought some of the rubber soal at the bottom of her shoe

#

She looked at me very dirtily done a huffing puffing mini scream and I just looked behind, stared for a split second and continued walking

rough sapphire
#

i never experience anything like that : /

#

maybe im just a likable person finger_gun_dank

#
from tkinter import *
#Python default bank sample


from random import *
Bank = Tk()
Bank.config(bg = "grey")
Bank.geometry("1350x800")
Bank.title("")```
That's a basic tkinter sample
Currently it's a bank program sample
#

ugly grey background hyperlemon

#

these are my go to for tkinter
'color1' : '#21618C',
'color2' : '#5DADE2',
'color3' : 'white',
'font' : 'Caviar Dreams'

gentle moss
#

i keep listening to the thing i remixed of yours riot

#

and thinking "hmm.... it can be better"

sand goblet
vestal briar
#

Cool but they took their time with that

#

Gitlab has had it for some years now

#

Heh looks like they still have pricing on private repos

#

What have github been doing for the last 3 years? Nothing has changed on the website apart from that beta "sponsor" button that people have spammed on old projects

rain spindle
#

That's irrelevant

#

Cause github is the only place for projects that want to be seen

#

If i get 4x parrallelism with github, and docker build support, ill be moving to github cicd

#

Self-hosted runners. If you already have your own VMs within your data centers or as instances you manage in the cloud, you can use Actions to automate your workflows with the same simplicity and speed. Install the Actions runner on your VM and register them with Actions. Workloads that execute on self-hosted runners are free.

#

This is really, really good

#

Oh shit

#

Circleci looks like its partnered

frosty berry
#

i don't think it means that, i think it means they still intend to lead the category, and that github following them is just going to make them more relevant

rain spindle
#

I mean maybe

#

But github actions is going to be a major player

frosty berry
#

(i'm reading "play bigger" these days, which is about highly successful companies being "king" on their categories, and taking most of the profit here, and achieving that usually by creating and defining their categories, so other companies moving into your space, when you are recognized as the leader, is a good sign, if you can stay identified as the king)

#

or at least they are trying to spin it that way because it's the best thing to do for them

rain spindle
#

Ok that makes sense

#

But they are competing with github

frosty berry
#

yeah, i agree

#

they might well get ran over

#

and there is microsoft behind github now

rain spindle
#

mhm

frosty berry
#

with the incredible resources of azure

#

so yeah, it might get windy for them, we'll see if they can take it

tulip palm
#

hmm.. does anybody know how kronecker product for matrices is different to tensor product for vectors? 🤔

#

like, i don't see how they're different apart from the fact that one operates on matrices and the other on vectors.

vestal briar
#

I agree moonman maths

rough sapphire
#

has anyone hjere seen Chernobyl

#

the tv series that is

vestal briar
frosty berry
#

@rough sapphire i did, as a lot of people i guess

twilit marlin
gentle moss
#

yikes.

sand goblet
#

I heard about that

#

they remove the ads for the video games and replace them with actual guns

#

nice.

vestal briar
#

Eh stupid mothers going to games is better then antivax

gentle moss
#

they apologised for the display

#

saying it was "misguided" or something

vestal briar
#

Oh no that's been there for like a year

#

That's an old photo

sand goblet
#

no, this is a thing that just happened

#

the stand isn't important

vestal briar
#

Was a meme in my school for a while

gentle moss
#

nah he's right, it's 2 years old

#

happened in 2017

vestal briar
#

(The stand)

#

YEah

#

Brb

sand goblet
#

it must have happened again then

#

haha

vestal briar
#

Same photo

gentle moss
#

i think people just resurfacing it to display hypocrisy?

vestal briar
#

^

gentle moss
#

apparently someone moved a sign from a school display to the gun display

vestal briar
#

Yeah

gentle moss
#

wat?

#

"Michael Gove raised the prospect of holding a bank holiday on November 1 amid concerns that a no-deal Brexit would cause turmoil on the financial markets."

#

can't have a financial crash if the markets a closed, innit

rough sapphire
#

@frosty berry do you think it was good? I’ve watched the first episode and I really like it but it feels like so much has happened in the first episode, the other episodes may drag it on and become boring

frosty berry
#

😄

#

@rough sapphire Chernobyl? it's very good

#

and yeah, i was surprised by how much happened in the first episode as well, but there is a lot left for what's to follow, believe me

#

i was not bored for a minute

viral parrot
#

i like that Chernobyl was so dramatic, what i do not like is that people i know think that the series is historically accurate. they cant seem to understand that it was nothing like that.. but the drama is good.

quasi lance
#

Hey!

rough sapphire
#

someone i was talking to said the show was about "some nuclear explosion or something" and when question said he hadnt heard of chernobyl and thought it was just hte name of the show

frosty berry
#

#

how old?

#

i mean i was 1 yo, when it happened, so i don't remember things, but people have been talking about it a lot since

rough sapphire
#

I feel like most Americans probably don’t know about Chernobyl

#

I only know about it because a reference was made in a book in my high school literature class

#

he's like 15 i think

#

im 18 and i wasnt alive when it happened but i sure as hell know about lol

#

i dont know if i was alive when 9/11 happened but like i know about that too

frosty berry
#

2001

rough sapphire
#

he's also a bit of an asshole - he said "i don't get why people greif over ded people when overpopulation is the main cause of a near human extinction.
like forget 9 11 or cherbonyl" hyperlemon

frosty berry
#

you know the date

#

believing stupid things at 15 is not uncommon, but sadly keeping them later is not either

rough sapphire
#

at first i thought he was just some edgy kid trying to be hard and funny by saying dumb shit, but the more he talks, the more i think he actually believes what he says

#

he's also said that we should just nuke the middle east and "all the poor countries" and when we said that not only is taht wrong, you also cant just do that, because people wont just let you nuke everyone he said "once the other countries understand it'll be fine"

frosty berry
#

yeah, either he's a troll, or he's been fed very bad information

rough sapphire
#

worst part is he's a staff member 🤔

sand goblet
#

This is the third breach email in as many weeks that I've gotten

rough sapphire
#

Canv?a sweatcat

plucky ridge
#

Never heard of that service

#

I mean you use a password manager, so it should just be a jumbled up password anyway, right?

gentle moss
#

44% of all records in the Canva breach already exist in HIBP

#

well, email addresses

rough sapphire
#

it says im fine sweatcat

gentle moss
#

it is a new breach, but it may also be smooshed with another dataset

plucky ridge
#

That is a very satisfying word

#

"smoosh"

#

Always makes me think of Playdough

gentle moss
#

yeah

sand goblet
#

I do yeah

gentle moss
#

besides all passwords were bcrypt'd iirc

#

"Hollywood is racist ... what they're doing with the kind of movies they're putting out -- it's actually very dangerous for our country." - The President of the United States

#

i'd agree that this trend of Disney re-making perfectly fine movies into garbage is very dangerous

plucky ridge
#

It's just a way for them to keep hold of the copyright

#

And fair enough to them

gentle moss
#

well mickey mouse is public domain soon isn't he?

#

i don't think remaking it stops it going into public domain

#

but perhaps bet your ass disney will give that one a bash

plucky ridge
#

Mickey? I'm fairly sure he's not

#

So the copyright for Steam Boat Willie (the original incarnation of Mickey), is set to expire in 2024, but any subsequent versions will still be owned by Disney until their own times are up

gentle moss
#

yeah, my point is more i don't think just remaking mulan extends the copyright of the original works

#

for example

#

WHAT THE FUCK THEY'RE REMAKING MULAN

#

i just pulled a fucking disney out my ass

#

go figure

glass gorge
#

The remakes have been pretty good so far

#

so im not against it

sand goblet
#

I'm looking forward to their Artemis Fowl movie

gentle moss
#

not seen them but the Aladdin trailer pissed me off

#

and not using Gilbert Gottfried

#

just awful choice

sinful copper
#

@gentle moss it lets them muddy the waters though, can you prove your stuff didn't use anything from the newer material

sinful copper
#

I liked the Aladdin remake - haven't seen the Lion King but I heard it's bad.

oak tangle
#

The lion king remake is okay

glass gorge
#

I thought aladdin was alright

#

Havent seen lion king yet either

oak tangle
#

Some people would have preferred a more cartoon-approach to the animations, I think

#

I didn't mind the more realistic approach

glass gorge
#

Depends how they did it

#

Some "realistic" approaches are a pain to look at

vapid bluff
#

the photorealism destroys all expressiveness

oak tangle
#

Nah, the biggest issue for people is that when you go with the realistic route, you can't have cartoon expressions

#

I don't need cartoon expression that much, though

glass gorge
#

Detective pikachu for instance was pushing the realistic border

oak tangle
#

We already have a perfectly fine version for that

#

And it was released over 20 years ago

vapid bluff
#

did you guys see that thing on reddit recently

#

someone deepfaked the cartoon faces on the remake

oak tangle
#

I saw that

#

Made it look worse

#

But, nostalgia combined with a tendency to complain

#

And you get the reactions you get

vapid bluff
#

i disagree

#

it does look worse quality wise, since it was just one guy doing it on his laptop vs a whole studio with a render farm

#

but the general idea i think is better

oak tangle
#

I disagree

#

I like the realistic approach

#

Instead of over the top cartoon expressions on realistic animations

#

We already have the old Lion King for cartoon expresssions, like I said above

vapid bluff
#

it's not so much about nostalgia and the tendency to complain, i just really dislike the faces in the remake. there's no emotion in the character's faces. it's just not as fun as watching the cartoon version.

oak tangle
#

Sure

sinful copper
#

someone deepfaked the cartoon faces on the remake

link?

oak tangle
#

But having cartoon expressions in realistic animation is just worse to me

#

Kills the whole idea behind the style

vapid bluff
#

what style is there to trying to mimic reality 1:1?

oak tangle
#

¯_(ツ)_/¯

sinful copper
#

part of the problem is realistic animal characters are hard mode

oak tangle
#

Yes

sinful copper
#

because they don't have facial expressions that work the same way as humans

oak tangle
#

And I think they did a great job

vapid bluff
#

(ignoring the fact that the whole movie revolves around talking animals so reality is already out of the ballpark)

oak tangle
#

Hmm

#

That doesn't dictate that you can't use a realistic style for your animations

#

It's an argument that has nothing to do with it

sinful copper
#

like, live action humans are fine because... well, they're humans. they (and e.g. the genie) have human faces, and we know how to read emotion on a human face

vapid bluff
#

the point is that youre arguing that you prefer realism, but the whole premise of the movie is already going against that

#

i just dont see the merit in what is basically a fancy gpu benchmark

oak tangle
#

No, I was just arguing that the point was to have a realistic animation style

#

Not that we suddenly have to have a realistic storyline

#

Those are two completely different things

#

Using my preference for the former, but the existence of the latter, to invalidate my preference is just silly

sand goblet
#

You just make me think of the sonic movie

#

Haha

vapid bluff
#

but wouldnt you agree that there's no such thing as 'realistic' animation style when it comes to talking animals

oak tangle
#

No, I don't agree

#

The animation style is how you make the animations look

vapid bluff
#

the animation style isnt detached from the premise. imagine you had a movie about talking trains

sand goblet
#

The kingdom hearts team did a pretty good job

oak tangle
#

You can still make talking trains look like realistic trains, minus the mouths

vapid bluff
#

you could give the trains mouths, but it would violate the realism aspect to begin with

sand goblet
#

Let's just do everything in the style of annoying orange

oak tangle
#

To say that the addition of a fantasy story element now suddenly means you can't do a realistic animation style is weird

#

The latter doesn't follow from the former

#

It's just you trying to rationalize your preference

#

I don't care that you prefer that, by the wya

#

But arguing I can't have my preference for a realistic style because the story has fantasy elements is a bit odd

vapid bluff
#

lol? that's not what im saying. you can make it look photorealistic i.e. you can make the cartoon faces look photorealistic too by virtue of rendering

#

im saying that if we're going to argue on the grounds of whether realism is better in animation then realism is already gone out the door

#

i dont care what you prefer either

oak tangle
#

That latter sentence makes no sense to me at all

vapid bluff
#

and your claim about me trying to rationalize my preference is ironic

oak tangle
#

It seems like you can't seperate "realistic animation style" from "reality"

#

Ironic?

#

Oh, nice one

#

Anyway, sure you can make cartoon faces realistic photorealistic by virtue of rendering, but we're talking about animal faces here, not cartoon faces

#

That's the realism style they went with

#

And I like it

vapid bluff
#

good for you, lots of people dont

oak tangle
#

Adding cartoon expressions to that would totally defeat the purpose of realistic animations

#

And I'm not arguing against their preference

#

They can have it

vapid bluff
#

if anyone's trying to dismiss preferences it's you btw

#

nostalgia combined with a tendency to complain

oak tangle
#

Yes, I do think that plays a role in some of the complaining

#

That doesn't mean I think they can't have their preference

#

And that I can't have a different preference

#

And that I can't argue for why I think this is okay

vapid bluff
#

ah right, and your preferences are purely rational and above reproach

#

got it

oak tangle
#

I never said that

#

Thank you for attacking me on points of your own creation

#

Totally rational argument.

vapid bluff
#

sorry you feel attacked

oak tangle
#

Oh, come on

#

ah right, and your preferences are purely rational and above reproach

vapid bluff
#

considering you started off by saying everyone

#

who disagrees is complaining and nostalgic

oak tangle
#

I didn't specifically say everyone and maybe I was careless in my phrasing

#

I was just commenting that I do think that's part of it

#

As I still maintain

#

But, if you're now going to claim that a remark like "ah right, and your preferences are purely rational and above reproach" isn't an attack, I guess this whole conversation has become rather silly

#

So, I'm going to do something else instead

vapid bluff
#

ok

wet steppe
#

shrek style best

rough sapphire
#

lmao on a tweet about the powercut that apparently a lot of people experience

lone otter
#

Just so it's easier for helpers and staff to ping you

swift osprey
#

hey does anyone have a game suggestion that I can make using pygame

rough sapphire
#

i dont use pygame so idk what it does but you could make like an old retro game

#

pacman, space invaders etc

quasi sequoia
#

smash brawl

#

anything 2d

rough sapphire
#

ive started messing with pygame and i am very excited hyperlemon

quasi sequoia
#

what did you try?=

#

pygame has a lot of modules

swift osprey
#

its okay i got an idea already

#

thanks anyway

rough sapphire
#

idk just pygame sweatcat

#
import pygame

pygame.init()
screen_width = 500
screen_height = 500
win = pygame.display.set_mode((screen_height, screen_width))
pygame.display.set_caption("my window")

x = 50
y = 50
width = 40
height = 60
velocity = 1

run = True
while run:
    pygame.time.delay(3)
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            run = False

    pygame.draw.rect(win, (255, 218, 185), (x, y, width, height))
    pygame.display.update()

    keys = pygame.key.get_pressed()

    if keys[pygame.K_LEFT] and x > velocity:
        x -= velocity

    if keys[pygame.K_RIGHT] and x < ((screen_width - width) - velocity):
        x += velocity

    if keys[pygame.K_UP] and y > velocity:
        y -= velocity

    if keys[pygame.K_DOWN] and y < ((screen_height - height) - velocity):
        y += velocity

    win.fill((0, 0, 30))

pygame.quit()
``` just following a youtube video
quasi sequoia
#

instead of pygame.time.delay(3) create a pygame.time.Clock(), and make ticks inside the main loop

#

but it is basically the same, just that you can control the fps easier

rough sapphire
#

okay

#

*i really wanna make a platformer but i need to watch the rest of the tutorial to see how to make a different shape other than a rectangle

quasi sequoia
#

you can make a fun platformer with a rectangle 😄 Have you played Thomas was alone?

rough sapphire
#

probably, or ive watched someone play it, one of the two

#

name sounds familiar tho

#

okay thats my project for the night

#

im gonna get no sleep but its fine

quasi sequoia
#

playing Thomas was alone?

rough sapphire
#

making a platformer

#

with 5 levels

quasi sequoia
#

They explain some concepts

rough sapphire
#

i tried to add a jump thing and i made the numbers too big and my character just went flying off the screen lmaooo

quasi sequoia
#

yeah I remember when that happened to me ;D

vestal briar
#

I just 3d printed half an rpi case and is like a card

#

Feels like paper but it's plasic

#

And makes a half wobbly sound

#

It's such a weird feeling

rough sapphire
#

wibble wobble

vestal briar
rough sapphire
#

i created a website

#

it doesnt do anything

#

but its there

orchid hull
#

@lone otter Ok, I thought I had it changed 😅

rough sapphire
#

Chernobyl should be a Area51

sinful turtle
#

How would I represent this on WolframAlpha, so I can calculate it on there?

>>> a=81
>>> for i in range(81):
    a=a*a
summer rampart
#

what do you mean?

sinful turtle
#

I need to work out what that number would be, and I can't calculate it on my own pc because it'd take way to long

summer rampart
#

!e

a = 81
for _ in range(81):
    a = a * a
print(a)
royal lakeBOT
#

@summer rampart Your eval job has completed.

timed out or memory limit exceeded
frosty berry
#

so like 81^3 ?

summer rampart
#

81 ^ 81?

frosty berry
#

yeah, more like this

sinful turtle
#

nvm, I can just do 81^2^2^2^2^2^2 etc

summer rampart
#

or iunno, my math is wek

tulip palm
#

isn't that 81 ↑81

summer rampart
#

probably,

summer rampart
#

is that Knute?

tulip palm
#

yeah

summer rampart
#

damn autocorrect

#

knute sounds like an open source application

frosty berry
#
>>> 81**81
38662196978715633273404758790074316960214213096178319621856934259807530937321861485192508542873470637501160980081794035970219670238407078788135931371782481L
>>>
royal lakeBOT
#
NEGATORY.

Sorry, but you may only use this command within #bot-commands.

tulip palm
#

it's not 81 ** 81

summer rampart
#

yeah, its arrow notation then, not sure if it’s too big a number

frosty berry
#

oh no, a changes during the computation, so it's not

tulip palm
#

even with 3 there instead of 81, you get 6561 (not 3 ** 3 == 27)

summer rampart
#

let’s get juan to do it in their head

tulip palm
#

oh no

#

brainmon

tulip palm
#

it is not 81 ↑ 81

summer rampart
#

3↑3↑3↑3 hyperlemon

frosty berry
#

had read about ackerman's function, but not about knuth's function

summer rampart
#

oh, what is it then juan?

frosty berry
#

there might not be a name for it?

gentle moss
#

oh look it's graham's number

summer rampart
#

There should be a neater representation though

tulip palm
#

i'm just trying to think of a way of representing that value

frosty berry
#

it's going to a be very very big number

tulip palm
#

ah okay it's 81 ^ (2 ^ 81)

#

so 81 ^ 2417851639229258349412352

frosty berry
#

quite a monster

summer rampart
#

that does also look correct

#

!e print(81 ^ 2417851639229258349412352)

royal lakeBOT
#

@summer rampart Your eval job has completed.

2417851639229258349412433
summer rampart
#

wait

tulip palm
#

wrong symbol :D

#

** not ^

summer rampart
#

!e print(81 ** 2417851639229258349412352)

royal lakeBOT
#

@summer rampart Your eval job has completed.

timed out or memory limit exceeded
summer rampart
#

bad bot

tulip palm
#

to make it a bit simpler, it's 3 ** 9671406556917033397649408

summer rampart
#

I doubt that'll decrease computation time

#

maybe in a ternary pc?

tulip palm
#

haha who knows

summer rampart
#

!wolfram 3 ** 9671406556917033397649408

royal lakeBOT
tulip palm
#

fuck i was just working out the last digit :(

summer rampart
#

aw

#

you can still do it

#

what’s the black magic to do it?

tulip palm
#

i dunno about the last few digits, but i believe for 3 ** n the last digit is "1397"[n % 4]

sinful turtle
#

oh god, now I need to work out 6561↑6561

summer rampart
#

na

sinful turtle
#

probably 10x easier to just write 6561↑6561 and leave it there

tulip palm
#

more like 10 ↑↑↑ 10 times easier

summer rampart
#

!e

for n in range(27):
    if 3 ** n != "1397"[n % 4]:
        print(f"wrong wrong wrong wrong: {n}")
        break
else:
print("woohoo")
#

fek

#

!e

for n in range(27):
    if 3 ** n != "1397"[n % 4]:
        print(f"wrong wrong wrong wrong: {n}")
        break
else:
    print("woohoo")
tulip palm
#

also you need to check the last digit

summer rampart
#

EDGE CASES

tulip palm
#

not the value

summer rampart
#

oh yeah

tulip palm
#

it still works with 0

summer rampart
#

!e

for n in range(27):
    if str(3 ** n)[-1] != "1397"[n % 4]:
        print(f"wrong wrong wrong wrong: {n}")
        break
else:
    print("woohoo")
royal lakeBOT
#

@summer rampart Your eval job has completed.

woohoo
summer rampart
#

nice

tulip palm
#

👌

#

hmm.. so [1, 3, 9, 7] is the cycle of last digits

#

i wonder what the cycle of the last two digits is

summer rampart
#

!e

my_set = set()
for n in range(27):
    my_set.add(str(3 ** n)[-2:])
print(my_set)
royal lakeBOT
#

@summer rampart Your eval job has completed.

{'61', '27', '67', '69', '63', '3', '49', '1', '43', '9', '89', '03', '29', '09', '83', '87', '81', '21', '01', '07', '47', '41', '23'}
tulip palm
#
['01', '03', '09', '27', '81', '43', '29', '87', '61', '83', '49', '47', '41', '23', '69', '07', '21', '63', '89', '67']
summer rampart
#

!e

from collections import Counter
c = Counter(str(3 ** n)[-2:] for n in range(40))
print(c)
royal lakeBOT
#

@summer rampart Your eval job has completed.

Counter({'27': 2, '81': 2, '43': 2, '29': 2, '87': 2, '61': 2, '83': 2, '49': 2, '47': 2, '41': 2, '23': 2, '69': 2, '07': 2, '21': 2, '63': 2, '89': 2, '67': 2, '1': 1, '3': 1, '9': 1, '01': 1, '03': 1, '09': 1})
summer rampart
#

that does look promising

#

wait not really

tulip palm
#
>>> endings = []
>>> n = 0
>>> while True:
...     end = str(3 ** n)[-2:].zfill(2)
...     if end in endings: break
...     endings.append(end)
...     n += 1
... 
summer rampart
#

does it loop though?

tulip palm
#

i dunno, does it?

#

i'm pretty sure it does

summer rampart
#

!e

from collections import Counter
c = Counter(str(3 ** n)[-2:] for n in range(100))
print(c)
royal lakeBOT
#

@summer rampart Your eval job has completed.

Counter({'27': 5, '81': 5, '43': 5, '29': 5, '87': 5, '61': 5, '83': 5, '49': 5, '47': 5, '41': 5, '23': 5, '69': 5, '07': 5, '21': 5, '63': 5, '89': 5, '67': 5, '01': 4, '03': 4, '09': 4, '1': 1, '3': 1, '9': 1})
summer rampart
#

yep, looks like it does

tulip palm
#

you need to pad your single-digit ones

summer rampart
#

yeah, taking that into account there’s an even distribution

tulip palm
#

str(3 ** n)[-digits:].zfill(digits)

summer rampart
#

!e

from collections import Counter
c = Counter(str(3 ** n)[-2:].zfill(2) for n in range(100))
print(c)
royal lakeBOT
#

@summer rampart Your eval job has completed.

Counter({'01': 5, '03': 5, '09': 5, '27': 5, '81': 5, '43': 5, '29': 5, '87': 5, '61': 5, '83': 5, '49': 5, '47': 5, '41': 5, '23': 5, '69': 5, '07': 5, '21': 5, '63': 5, '89': 5, '67': 5})
tulip palm
#

for 3 digits it's ```py
['001', '003', '009', '027', '081', '243', '729', '187', '561', '683', '049', '147', '441', '323', '969', '907', '721', '163', '489', '467', '401', '203', '609', '827', '481', '443', '329', '987', '961', '883', '649', '947', '841', '523', '569', '707', '121', '363', '089', '267', '801', '403', '209', '627', '881', '643', '929', '787', '361', '083', '249', '747', '241', '723', '169', '507', '521', '563', '689', '067', '201', '603', '809', '427', '281', '843', '529', '587', '761', '283', '849', '547', '641', '923', '769', '307', '921', '763', '289', '867', '601', '803', '409', '227', '681', '043', '129', '387', '161', '483', '449', '347', '041', '123', '369', '107', '321', '963', '889', '667']

summer rampart
#

There’s definitely a long math reason as to why this happens and I’m too lazy to go understand it

tulip palm
#

i think it would be really simple, to be fair

summer rampart
#

hmmmmm

#

is it because every multiple of 10 it basically repeats?

tulip palm
#

i dunno

summer rampart
#

what are the odds it’s on that collection of sequences website?

tulip palm
#

i was just thinking that

#

the OEIS is great

summer rampart
#

great minds

tulip palm
#

to be fair, i want to check the pattern in the length of these sequences

#

that's.. weird

#
1 digit(s): 4
2 digit(s): 20
3 digit(s): 100
4 digit(s): 500
5 digit(s): 5000
6 digit(s): 50000
7 digit(s): 500000
summer rampart
#

hmmmm

quasi sequoia
#

wow you guys paste code even in offtopic xd

tulip palm
#

haha, that sequence already exists in the OEIS

#

it's exactly how i calculated it too

summer rampart
#

are you Charles Greathouse IV?

tulip palm
#

i am not, what makes you ask? haha

summer rampart
#

PROG
(PARI) a(n)=if(n<5, 4*5^n/5, 10^n/20) \ Charles R Greathouse IV, Mar 26 2016

tulip palm
#

oh haha no, not me.

#

that's a brilliant name though

sinful turtle
#

what's bigger, 260144641↑260144641 or 127↑127↑127↑127?

summer rampart
#

size doesn’t matter

vestal briar
#

size doesn’t matter

frosty berry
#

yeah, you assume that next time you buy a shirt 😛

tulip palm
#

@sinful turtle i'm working that out now

sinful turtle
#

how would you even go about doing something like that

tulip palm
#

i'll be estimating the amount of digits in both

sinful turtle
#

oh yeah, that should work

tulip palm
#

i think the first one may win by miles though, but i'm not entirely sure

#

okay the first one is approximately equal to 10 ** 2189173055

#

it's a bit less, so let's just say 2189173054 digits

#

@sinful turtle btw is that 127↑(127↑(127↑127)) or ((127↑127)↑127)↑127?

#

actually i could work it out for both

#

i think the first one is bigger

#

a lot bigger

#

it is

sinful turtle
#

oh ok

tulip palm
#

hmm okay yeah that's a lot bigger

#

so 127↑(127↑(127↑127)) is bigger than 260144641↑260144641 easily, but i do not know how many digits it has

#

hold on i can approximate it i think

quiet lagoon
tulip palm
#

haha yeah it would

#

tfw the amount of digits is too big

quiet lagoon
#

Y

tulip palm
#

the answer is approximately 127 ** (10 ** 3206843605237346186128164935111002690712235808543770984965714631919499800888309002151609585658019964060874717416744842429026233401026125555722005368816474725102301071144187396671281316948564849148808701835413919773103315755122165345095903528731808159027235647742017536)

#

i'm trying to simplify it to a single exponent but uh.. it's big

quiet lagoon
tulip palm
#

it's great because you can use it to work out the speed of light in fluid ounce gigahertz per square fathom

#

same with wolframalpha

#

it's not an error, that is a valid unit of measurement for speed

frosty berry
#

how useful

tired osprey
#

doubting the usefulness of anything juan does, blasphemy!

tulip palm
#

it's weird. there are 268 digits in 127 ** 127 and 10 ** 268 digits in 127 ** (127 ** 127). i wonder if that's a coincidence or if the pattern continues

tired osprey
#

ill go for coincidence

tulip palm
#

yeah i'm also thinking that

#

i would say it's not if the logarithms were the same but they're not

tired osprey
#

like sure there are a lot of patterns in numbers based on their divisors and what not but their length, especially in base 10 systems seems a weird attribute

tulip palm
#

true

tired osprey
#

like in hex and binary length is always kinda special but decimal?

#

but that might just be a bias from me doing too many bit hacks and having gone crazy from the stanford bithack website

tulip palm
#

lmao

tired osprey
#

if any of you has ever wonder if
Reversing an N-bit quantity in parallel in 5 * lg(N) operations is possible, yes it is:

unsigned int v; // 32-bit word to reverse bit order

// swap odd and even bits
v = ((v >> 1) & 0x55555555) | ((v & 0x55555555) << 1);
// swap consecutive pairs
v = ((v >> 2) & 0x33333333) | ((v & 0x33333333) << 2);
// swap nibbles ... 
v = ((v >> 4) & 0x0F0F0F0F) | ((v & 0x0F0F0F0F) << 4);
// swap bytes
v = ((v >> 8) & 0x00FF00FF) | ((v & 0x00FF00FF) << 8);
// swap 2-byte long pairs
v = ( v >> 16             ) | ( v               << 16);
#

i bet youve wondered that havent you juan? @tulip palm

tulip palm
#

mhm

tired osprey
#

Or finding integer log base 10 of an integer, "the obvious way"

unsigned int v; // non-zero 32-bit integer value to compute the log base 10 of 
int r;          // result goes here

r = (v >= 1000000000) ? 9 : (v >= 100000000) ? 8 : (v >= 10000000) ? 7 : 
    (v >= 1000000) ? 6 : (v >= 100000) ? 5 : (v >= 10000) ? 4 : 
    (v >= 1000) ? 3 : (v >= 100) ? 2 : (v >= 10) ? 1 : 0;
tulip palm
#

oh dear

tired osprey
#

I mean theyre really just brutforcing all base 10 values here :p

vestal briar
#

Woo complicated tenary expressions in c!

tulip palm
#

yes i can see that nix

frosty berry
#

haha, this one is cute

tired osprey
#

alternatively you could also, Count the consecutive zero bits (trailing) on the right in parallel

unsigned int v;      // 32-bit word input to count zero bits on right
unsigned int c = 32; // c will be the number of zero bits on the right
v &= -signed(v);
if (v) c--;
if (v & 0x0000FFFF) c -= 16;
if (v & 0x00FF00FF) c -= 8;
if (v & 0x0F0F0F0F) c -= 4;
if (v & 0x33333333) c -= 2;
if (v & 0x55555555) c -= 1;
#

i wonder in how many places this is used tbh

frosty berry
#

in parallel? is there is any parallelisation going on here?

tired osprey
#

I mean you could technically run all if statements in parallel

frosty berry
#

they all update the same variable, so at least the assignation part won't be parallel, but yeah, the v & … part could be

tired osprey
#

one whole logical operation parallelized fuck yes

frosty berry
#

yeah, no, i live in python, so i can look up, not down 😛

rough sapphire
vestal briar
#

Boo arsenal and chelsea I think

rough sapphire
#

west ham ftw

vestal briar
#

BOOOOOO

#

Tranmere rovers

rough sapphire
rough sapphire
#

im building a base in minecraft and im building from underground going up, and i forgot to flatten out the terrain above and now my base floor is all bumpy lumpy and i have to do it again pepe

sand goblet
#

psst @rough sapphire

rough sapphire
#

THIS IS MINECRAFT

sand goblet
#

what are your builds like?

rough sapphire
#

modern, undergournd secret lab type of thing usually, lot of quartz, green stained glass, concrete etc

sand goblet
#

hmm okay

rough sapphire
#

i have done a xp farm but did not worked

#

xp farms are like hyperlemon

#

you do them right, get mending and youre mmmmmm good to go

#

im excited for the pydis minecraft server hyperlemon

#

working with iron bars is hard sweatcat

sinful copper
#

so what is the plan for the minecraft server anyway? mods or no mods

rough sapphire
#

i think gdude said plugins

#

which im nervous about finding out which plugins

#

i know im bad at building but trying to make iron bars look like they curve is hard sweatcat

#

i also think i need to bring down the size of the platform

#

looks a bit FAT on top

#

i wanted to make the pillar coming up bigger but i get lazy in creative mode

wet steppe
#

you dug that in survival? wow

rough sapphire
#

took quite a few hours sweatcat

#

when i first started digging i also didnt have mending so it took a lot of diamonds too cus my pick kept breaking lol

wet steppe
#

I'm so used to modded I would just let a quarry do that in a few minutes

rough sapphire
#

yeah thats really the only survival server i played cus it was with some mates

wet steppe
#

nice

#

vanilla survival is nice still I just moved on

#

I never actually learnt how to fully automate everything in vanilla

rough sapphire
#

i mean me either

#

most people dont know

#

cus to automate EVERYTHINg needs a lot of redstone

#

the only things i know how to automate are some farms

#

it was weird never having lag spikes tho

wet steppe
#

TBH modded makes it too easy cos

#

everything is just in one block

#

like Farming Station block

#

Vertical Digger block

rough sapphire
#

i mean you cant always fit everything into one block or chunk especially depending on the mods

glass gorge
#

Terrafirmapunk everything in one block

#

👀

wet steppe
#

Compact Machines mod is awesome