#ot1-perplexing-regexing

1 messages ยท Page 364 of 1

gleaming hare
#

ok i made the boot stick

#

lets try booting from it

gentle moss
#

woot

#

i was right

gleaming hare
#

lets see what happens

gentle moss
#

[14:55] bisk: my thinking is that there's a problem syslinux and fat32

gleaming hare
#

BRUH

#

ive gone back to the start

gentle moss
#

iiiii ammm the champion of the woooorlllld

gleaming hare
#

cannot launch up anything past the logo screen

gentle moss
#

o

tired osprey
#

bisk you suck!!!!

gleaming hare
#

well, thats idiotic

rough sapphire
#

Speaking of Windows, why is Bluetooth so horrible on it?

gentle moss
#

shitty drivers

gleaming hare
#

true

tired osprey
#

bluetooth is horrible everywhere

rough sapphire
#

All I want is some kind of command that tells me connected/disconnected/etc and things that have been paired in a simplistic way

tired osprey
#

i just wanna debug this stupid ARM toolchain and its supid flash software

rough sapphire
#

Whereas Windows obfuscates that stuff away

tired osprey
#

why is zis so hard

gentle moss
#

welcome to the dumbification of information

rough sapphire
#

You'd think ha, it can't be that hard! Scott has no clue what he's talking about!

tired osprey
#

and even more relevant

rough sapphire
#

But I've looked, for over a year ๐Ÿ˜ฆ

tired osprey
#

why has it not been documented publicly, how can it be in the interested of a company to limit their developers to windows

rough sapphire
#

As a wise man once said

gentle moss
#

fuck bitches

rough sapphire
#

"Developers, developers, developers, developers"

tired osprey
#

i mean

gentle moss
#

tbh scott

tired osprey
#

they are a comapny that builds microcontrollers + debuggers for them

#

and

gentle moss
#

i think he said that 9 times

#

in a row

tired osprey
#

why would you not document how to communicate with the fucking debugger

#

whyyyyyyyyyyyyyyyyyyyyyyy

#

reeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

gentle moss
#

at least i'm pretty sure the developers count in that presentation was 36

rough sapphire
#

Now I'm thinking it was 8

#

Lemme check

gentle moss
#

way not 8

#

maybe it's not 36

rough sapphire
gentle moss
#

14

#

i always think it seems like more than it is

tired osprey
#

hm

#

actually the stlink is also not properly documented

#

where do poeple get info from on how to communicate with these debuggers......

gentle moss
#

i wish i was excited about anything as much as ballmer is excited about windows

#

hmm... what should i marinade these chicken drumsticks in

gleaming hare
#

im trying to install puppy linux and i am not sure which one i need to download

gentle moss
#

xenial 32bit

gleaming hare
#

k'

rough sapphire
#

@gentle moss hot sauce

gentle moss
#

tbh i was thinking cumin, smoked paprika, soy sauce, hot chilli powder, garlic, lime juice and sriracha

#

or something like that

#

maybe cayenne pepper as well

#

i usually wing it

gleaming hare
#

what the hell are chicken drumsticks

gleaming hare
#

ah

gentle moss
#

they're called drumsticks because before drumsticks were invented people used to use those

gleaming hare
#

i like them with ketchup or bbq sauce

undone berry
#

Drumsticks are pretty naff

#

wings or thighs are where its at

gentle moss
#

wings i'll agree with for finger food

#

thighs less so

#

however i got like 25 drumsticks for ยฃ6

#

which is pretty good if you ask me

undone berry
#

Yeah, thighs are bad finger food, but better if they're going into something

#

I see no place for drumsticks

#

except possibly for fried chicken

gentle moss
#

they've got more meat than a wing, but less skin

#

a trade off

gleaming hare
#

pup seems to load up fine

gentle moss
#

puppy is a nice lightweight linux for a shit device like that

#

might be worth going with it

gleaming hare
#

uh

#

me: *starts up the Eee
the laptop: *high pitched EEEEEEE

#

some x-shit decided to not work properly

#

aight

#

i gotta go sleep

#

jeesus

#

i was installing linux for about 10 hours

#

goodnight people

gentle moss
#

well, technically, you weren't

#

:D

#

nn

gleaming hare
#

i started at 12 at noon, now its 22, evening

#

also the "d" key is kinda broken on my EEE

#

ok goodnite

gentle moss
#

avengers assemble!

rough sapphire
#

+1 for that one on the right

gentle moss
#

I got that a week or so ago, pretty nice

#

I know it's popular in America

#

oh no

#

it happened again

undone berry
#

saw knife, saw reddish brownish stuff. For a second I assumed you cut your fingers off and just casually posted it on Discord

vestal briar
#

โ™ซ whoops i did it again โ™ซ

gentle moss
vestal briar
#

That poor baby

gentle moss
#

haha

#

out the park there owez

#

:D

#

tbh i don't cut myself that much when knife handling

#

when i do i always superglue it

covert latch
#

I know this is not how you should normally do it - but couly sb please look over my code in #help-orange ? I literally have 0 idea why it does not work, even after restarting kernels. And it keeps me from continuing working.
Sorry for stealing your time

undone berry
#

I can't even see your question there. If you repost it in that or another help channel, someone will come along and help @covert latch you don't really need/want to advertise it in too many channels. If it fits in one of the topical channels, you can ask there

covert latch
#

I know, that why I didnt want to post it in another help channel

gentle moss
#

if you don't get traction after a few hours, try again

rough sapphire
covert latch
gentle moss
#

also charlie, if i did cut my finger off i am 100% doing triage on myself and posting it somewhere

tired osprey
#

lol

gentle moss
#

takes like 30 minutes for an ambulance to get here anyhow

#

gotta kill the time somehow

undone berry
#

I assume it depends on what finger

#

If you cut your right index finger off

#

thats gotta be a bastard to post

gentle moss
#

i'm pretty good with my left hand

#

<_<

rough sapphire
#

have y'all ever played with beyblades?

sand goblet
#

yup

rough sapphire
#

god

#

those were the bomb

sand goblet
#

just be careful what you use that wrist action for

rough sapphire
#

now they make shitty ones that blow up

sand goblet
#

beyblade launchers, lawnmowers, fine

#

anal beads, not such a good idea

rough sapphire
#

beyblade burst

#

i

#

i did not ask

sand goblet
#

haha

gusty oar
#

i wanted to download genymotion

#

but it wants account

#

i tried creating account but asks company :d

#

but i don't have one

gentle moss
#

Mmmm chikken.

gusty oar
#

its overcooked

sand goblet
#

No, just barbecued

gentle moss
#

it's seasoned

#

the seasoning crisped up with the skin

#

crunchy on the outside

#

soft on the inside

#

like armadillos

undone berry
#

ah - the perfect food analogy - armadillos

stark prawn
#

armadillos don't taste as good though

gentle moss
#

apparently they taste like chicken

#

so idk

frosty berry
#

it's overcooked, i'm pretty sure eating char is not healthy at all

sand goblet
#

char is like, the basis of bbq

#

it's fine

frosty berry
#

Researchers found that high consumption of well-done, fried, or barbecued meats was associated with increased risks of colorectal (19โ€“21), pancreatic (21โ€“23), and prostate (24, 25) cancer. However, other studies have found no association with risks of colorectal (26) or prostate (27) cancer.
https://www.cancer.gov/about-cancer/causes-prevention/risk/diet/cooked-meats-fact-sheet
hm less conclusive than what i though

#

though pancreatic is left out of the second list, so i guess there is no study concluding in no link for this nasty one

#

anyway, you do you, it's probably a lesser concern to anyone who smokes and drinks

sand goblet
#

I don't do either, and tbh I don't eat much bbq'd food either because cleaning it is a fucking nightmare

#

but I do enjoy it

rough sapphire
#

@frosty berry so not conclusive at all

#

bruh if like

#

you just ran a mile

#

every time you ate some cured or bbc meats

#

all the minute supposed health effects would go away

#

everyone that can should run

gleaming hare
#

after 12 hours of sleep i am back with the things about my linux install

#

xenialpup couldnt install because the system wouldn't launch

#

lemme send the console log...

scenic moth
gleaming hare
#

here it is

#

need some help

#

meanwhile ill try another distro

#

total time passed since the linux install idea: 22 hours

gleaming hare
#

bodhi linux does not work either because of the cpu and kernel conflicts

#

found the 32 bit one

#

23 hours

#

32 bit: i have only the console interface

#

cmon, tiny core was the only successful distro

#

the bodhi crashed when i tried to save a text file in terminal

gleaming hare
#

SparkyLinux: works, but lags

#

might dual-boot ubuntu on this very laptop

dreamy atlas
#

fish.

gleaming hare
#

what?

dreamy atlas
#

fish

gleaming hare
#

ok

rough sapphire
#

have you tried just getting better hardware

gleaming hare
#

what do i have to do with 12-year old laptop

#

and i dont have money lol

rough sapphire
#

I've repurposed my old machines as various servers and shit

vapid bluff
#

doesn't have to be super new

#

performance for consumer hardware has sort of plateau'd over the last 5ish years

#

and a lot of parts will work just fine second or third hand

rough sapphire
#

yeah, the thing with your machine @gleaming hare is that it was low-end even 12 years ago when it was new

gleaming hare
#

ik right

rough sapphire
#

lol that russian keyboard layout for a sec

gleaming hare
#

yeah lul

#

also a question?

#

how do people copy-paste into terminal

#

whenever i do that, terminal gives me ^V

vapid bluff
#

shift+insert

sand goblet
#

It depends on the terminal

gleaming hare
#

ah

sand goblet
#

Most use shift+insert

#

Alacrity uses ctrl+shift+v / ctrl+shift+c

#

Don't ask me why

solid pollen
#

Mine is CTRL + SHIFT + C

#

It is Konsole

vapid bluff
#

in some you can paste by right clicking

rough sapphire
#

selecting text copies it to the X clipboard, and you can paste it using middle mouse button

#

if using a mouse is your thing

#

(or shift-insert)

gleaming hare
#

ctrl shift c make an empty command lul

#

and yes

#

the windows cmd

mossy lion
#

Right mouse button

#

on a lot of terminals as well

gleaming hare
#

yeah the context menu works

mossy lion
#

I mean some terminals just paste automatically on rmb

#

windows cmd is one of them

#

vsphere supports rmb paste too on vms swaglemon

rough sapphire
#

oh, windows terminal

#

i thought we were talking about linux

gleaming hare
#

i will instaall linux on my 3rd good laptop

mossy lion
#

rmb should work on Linux too

#

which is why I use it - keep forgetting os specific shortcuts

rough sapphire
#

on windows cmd and powershell, you select text and press enter to copy it, and right click to paste

#

an odd combination but it works

gleaming hare
#

ok

#

homework time

sand goblet
#

Shift+insert does work on windows these days too

gleaming hare
#

windows8.1

sand goblet
#

I'm not gonna ask.

rough sapphire
#

eee pc

#

the eee stands for me screaming

gleaming hare
#

true

#

trying to do anything on that laptop is awful

mossy lion
#

At least its not 8.0

solid pollen
#

I just found a library that have arch as his main target, f*** yeah!

summer vector
#

The lemon effect

solid pollen
#

๐Ÿ‹ ? Ha yes, the otname

#

Oh man, Iove good README haha

rough sapphire
#

god this ansible shit is pissing me off

gusty oar
#

how can i improve myself

gleaming hare
#

@gusty oar depends on what you are talking about

solid pollen
#

You just need to download the latest update

gusty oar
#

what you need to know

gentle moss
#

trying to be better than you were the day before is probably a good start

#

but you also shouldn't beat yourself up too much either

#

self improvement is something that takes effort and dedication to achieve

rough sapphire
#

assuming a constant rate of learning something every day

#

no matter if you take it slow and learn bit by bit

#

you will finish one day

gusty oar
#

novadays i'm trying to learn OOP concept ๐Ÿ˜„

#

but everything seems abstract to me

rough sapphire
#

same for me

gentle moss
#

oh damn, i thought you meant improving yourself as a person

#

not code skills

#

nvm

rough sapphire
#

they're equivalent

gentle moss
#

not if you've got a massive pile of dishes to wash up and you instead go and fuck about with code

#

do the dishes yo, else you'll get fruit flies

rough sapphire
#

oh no

#

fruit flies

#

what a problem

gusty oar
#

yea i meant Computer science general ๐Ÿ˜„

rough sapphire
#

who doesn't wash their dishes right after eating anyway

gentle moss
#

i rinse them right after eating, so they're easier to wash up

#

then build a little stack

sand goblet
#

I wash them up right after eating

gentle moss
#

oh look

#

the dishwasher twat wanders in

#

geddouddahere

rough sapphire
#

I eat the dishes right after

#

No dirty dishes that way

sand goblet
#

Hey man, dish washing isn't so bad

gentle moss
#

i actually knew a guy at uni who just got paper plates

rough sapphire
#

yeah it's easier to just cronch on them

gentle moss
#

so he could eat a meal and throw them away

sand goblet
#

Cronch

rough sapphire
#

wow

#

cringe

sand goblet
#

Yeah that sucks

rough sapphire
#

I mean, that's pretty smart

#

But not everyone wants to live on paper plates

gusty oar
#

i want a robot that makes dinner,washes dishes and clean the house

gentle moss
#

yeah

gusty oar
#

are there any

gentle moss
#

and here's why it's smart

sand goblet
#

Also it's wasteful

gentle moss
#

uni students NEVER FUCKING WASH UP

sand goblet
#

I did

gentle moss
#

so you could never be sure if there were plates

rough sapphire
#

eating on paper plates / plastic makes me feel dirt poor

sand goblet
#

So did my flatmate

gentle moss
#

lucky

rough sapphire
#

it doesn't have the same feel as metal and ceramic

sand goblet
#

And then every few months we had a cleaning blitz on the whole flat together

gentle moss
#

i remember waking up hungover after a party and wanting scrambled eggs

#

but all the shit was dirty

#

so was like "fuck this" and cleaned it all

rough sapphire
#

just eat from the pan

#

also

gentle moss
#

i'm not a monster.

rough sapphire
#

alcohol? cringe broo

sand goblet
#

Good way to ruin a pan

gentle moss
#

^

rough sapphire
#

not if you eat it with chopsticks

sand goblet
#

You'll still ruin it

#

Sharp edges

rough sapphire
#

with

gentle moss
#

oh yeah, it was soooo cringe. such a cringe party. we all had fun while drinking. it sucked.

rough sapphire
#

wooden

#

sticks

#

?

sand goblet
#

Yes

gentle moss
#

teflon pans are delicate little flowers

sand goblet
#

Yes they are

#

Fuck teflon

gentle moss
#

i've ruined a teflon pan with a sponge that was a bit too rough before

sand goblet
#

Same

rough sapphire
#

@gentle moss i say cringe because my mom's boyfriend is dying of cirrhosis and i hate the guy

sand goblet
#

Tefal can die in a fire

rough sapphire
#

from severe alcohol addiction

sand goblet
#

I have steel pans with a non stick pattern that is metal implement safe

#

And a stone metal blend non stick pan

rough sapphire
#

so yeah enjoy the hearing loss from the music and gaining weight

sand goblet
#

It needs seasoning but it's so good

gentle moss
#

well that sucks, that's a reason to not drink yourself but a bad reason to judge others.

rough sapphire
#

said by the guy that drinks

#

cringe bro, cringeee

sand goblet
#

Bisk is right

#

Let people be people

#

Don't project, haha

rough sapphire
#

project what

gentle moss
#

plus i got hearing damage from my professional sound work, rather than parties :P

rough sapphire
#

i'm too young to drink

sand goblet
#

I don't drink, but I don't try to like

#

Hold it over people's heads

rough sapphire
#

i drink way too often

gentle moss
#

i like to drink, but i don't shit on people who don't

rough sapphire
#

hah

#

bisk your new avatar deeply unsettles me

gentle moss
#

good.

#

more than one person wants the golfball back

sand goblet
#

Needs more fisheye

rough sapphire
#

bisk has wonderful teeth though

sand goblet
#

Right now you just look like eggman

rough sapphire
#

That's great @sand goblet

gentle moss
#

yeah, they're the perfect shade of cream

rough sapphire
#

you look like someone who plays dnd

gentle moss
#

thanks, i used to.

sand goblet
rough sapphire
#

hahahah

#

That seems like a weird thing to say. A lot of people play D&D

gentle moss
#

yeah, it's not a nerds only thing anymore

#

some of my most bro friends play d&d now

gusty oar
rough sapphire
#

adults that play it usually played it as a kid

#

it's definitely not as big as videogames

sand goblet
rough sapphire
#

nor is the rate of growth

#

i wish

gentle moss
#

lots of adults discover it and are like

#

"fuck yeah, roleplaying is actually fun"

#

just need a good dm and to get over prejudice

sand goblet
#

That's the hard part, DMing

gentle moss
#

good dm's are hard to find

rough sapphire
#

yoo i saw this raspberry pi dnd screen

gentle moss
#

my dm was a legend

#

so i was a thief and my sister played a mage

#

so as a really good artist he'd actually draw out the traps / etc

sand goblet
#

Oh nice

gentle moss
#

or the runes / glyphs of magic stuff

#

i once got a nail shot into my leg because i disarmed a trap wrong while robbing a house

#

then had to jump out a 3rd floor window

#

and broke both my legs

#

bad rolls man, bad rolls

rough sapphire
gentle moss
#

oh that's cool

rough sapphire
#

personally i would pour some dirt, rocks and leaves for aesthetics

#

on the screen

gentle moss
#

i used to build sets for my warhammer collection

rough sapphire
#

wth is a warhammer

gentle moss
#

wot

#

little figurines you make / paint to create armies

#

then you can fight armies against each other using rule books

rough sapphire
#

oh cute

gentle moss
#

there are a few different types but i had an undead army

#

headed by vampires

#

i think it was about a 35-40k point army

#

which is pretty big

rough sapphire
#

point?

gentle moss
#

could cover half a pool table

#

yeah, each unit is worth points

#

painting them was pretty relaxing

undone berry
#

Wargaming seems dope - except for the bit where expensive and the fact theres so many weirdos who do it

gentle moss
#

the cost is insane

#

i used to find ways around that though

#

since i had an undead army i could have skeletons missing an arm, or a hand poking out the ground with a tombstone etc

#

so i could get more units out of one box

plucky ridge
#

I do not know how to feel about the new avatar

#

It's like those happy buddha statues

sand goblet
#

It's definitely eggman

plucky ridge
#

Yeah I guess I see it now

gentle moss
#

if it's going to cause this much trouble i'll change it back

#

smh my fishy head

plucky ridge
#

No it's fine

#

I just need an adjustment period

#

Consider that for almost 2 years I've only ever seen you with the golf ball

gentle moss
#

i think i prefer this

rough sapphire
#

Is that a loading icon?

solid pollen
#

It isnโ€™t centereeedd

gentle moss
#

it's the youtube dots

#

but with eyes

#

and you're right, it's not.

#

intentionally

solid pollen
#

Arg, youโ€™re the worst haha

gentle moss
#

one person doesn't think that

plucky ridge
#

I like it

gentle moss
#

all seeing eyes

#

i can't even remember the conversation / joke that made me make the no image golden golfball

#

or what it was before then

undone berry
#

this is much worse than either of the previous two IMO

gentle moss
#

always a critic

undone berry
#

I wasn't a critic of either of the previous two

gentle moss
#

sometimes a critic

#

found a random spring on the floor

#

this is probably a bad omen

primal spruce
#

No

#

It just means spring is just around the corner.

gentle moss
#

good one @primal spruce

undone berry
#

Thats a pretty easy fix @gleaming hare

solid pollen
#

.. ะœะตะผะต ัั‚ั€ะฐะฝะธั†ะฐ.. sure

sand goblet
#

What's that translate to?

gleaming hare
#

meme page

sand goblet
#

Use a switch, anyway

undone berry
#

You don't even want a switch there - just a for loop or something similar

plucky ridge
#

No?

gleaming hare
#

tell that over to @SergeyMC9730#7402

primal spruce
#

Heck, just use the value of "a" directly

undone berry
#

the files are all meme1 meme2 and so on

primal spruce
#

You literally need nothing

undone berry
#

oh yeah

#

I didn't even think about where as was coming from

primal spruce
#

Use the value of "a" to construct the file name

solid pollen
#

Strangely enough, you donโ€™t have the same m, e, c, t, a, h than other languages

gleaming hare
#

oh yeah

undone berry
#

the point is - you don't need to know any JS to fix that really

gleaming hare
#

in python that would be something like f"filepath and shit...\\memes\\meme{a}.mp4"

rough sapphire
#

pls no slashes like that

#

use pathlib

undone berry
#

you can literally turn the entire block into js var player = new Playerjs({id:"player", file:"memes/meme"+a+".mp4"}); console.log("1");

solid pollen
#

Without knowing any JS, Iโ€™d say you could do

var player = new Playerjs({id:"player", file:"memes/meme" + a + ".mp4"});```
plucky ridge
#

JS does have string interpolation

sand goblet
#

Yeah, using backticks

#
`x/$Y`
stark prawn
#

they do more than just interpolation iirc

sand goblet
#

Not much more

plucky ridge
#

About as much as f-strings, right?

sand goblet
#

Well there are no format specifiers in JS

#

Because JS doesn't have string formatting

plucky ridge
#

Ah okay

stark prawn
#

There's tagged template literals.

sand goblet
#

I mean that was a template literal there

gleaming hare
#

ok i forwarded him the info and his reaction was o

stark prawn
#

But it wasn't tagged.

sand goblet
#

Tagged literals just have their arguments passed to a function first

#

It's really just syntactical sugar

#

I'm not sure why it exists tbh, it's far less convenient than just writing a builder function

gentle moss
#

trading has been halted in the US due to a sharp downward trend

#

a mechanism put in place after the 2010 flash crash

#

which was wrongfully blamed on waddell and reed

#

hmmmmmmmm ๐Ÿค”

rough sapphire
#

Do anyone here know some cool JSON apis to use ?

undone berry
#

There's a trivia API thats pretty fun

#

Google maps has tonnes of random stuff

plucky ridge
#

Read that as "trivial" API

#

And was like "there is no such thing"

undone berry
#

You can do fun stuff with openweatherapi or whatever its called

gentle moss
#

dub horn api when

gleaming hare
#

mfw our website has this dlibs folder which contains 2 js files with about 1mil characters and it still weights less than the css folder

#

447615 + 253004 = 700619

#

chars

thorn snow
undone berry
#

Do you know if participants can join in teams?
@wind karma
replying here so we don't block their conversation.

What do you mean? You can request teammates but they might not be honoured

#

but I think they said they probably will be

#

assuming you mean for this server

wind karma
#

Ohh

#

Yea I mean for this server

#

I want to get a team together haha, I really loving teaming up and doing shit

#

:/

undone berry
#

Well, you'll be placed into a team by the system

#

if you like working with randoms

wind karma
#

Well I meant teaming up so that we can join other code jams as well

undone berry
#

Well, there's nothing stopping you looking for people to do that - but the server has no mechanism for that

wind karma
#

Yea I know

#

If you want we can teamup, I really want to do codejams :/

gleaming hare
#

and that is the link it goes to...

gentle moss
#

holy fuck shit ass

#

they're remaking Mrs Doubtfire

#

with Kevin Hart

#

nvm, that's old news. the miss confused me with the musical adaptation that's coming out

vestal briar
#

Made a wip plex server case for rpi

plain slate
#

does the rpi have sata connectors?

stark prawn
#

It seems to be missing a fanmount

plain slate
#

^^

vestal briar
#

Pff, relability

stark prawn
#

Are the new raspi's powerful enough to host a plex server?

vestal briar
#

Yeah

sand goblet
#

I wouldn't say so

vestal briar
#

Rpi 3's where fine on 3 1080p

sand goblet
#

They'll host it fine but the actual live conversions..

vestal briar
#

I'm only ever going to use 1 hard drive bay for expandability y'know

plain slate
#

@vestal briar so we will need an expansion bay (you can put it on the top) for a discrete gpu. and since you do that, you might as well just bring the sides down with some tempered glass panels

#

sell for $15 on amazon and we good

#

๐Ÿ™‚

vestal briar
#

๐Ÿค”

plain slate
#

also when building cases, don't forget rgb

stark prawn
#

hides his solidblack case

vestal briar
#

Hm

#

I'm not sure how to actually cool this thing

plain slate
#

IT HAS THE MOTHERBOARD LIGHTS

vestal briar
#

Printing with fan holes will be a pain

stark prawn
#

Hardline tubing?

vestal briar
#

?

#

Was the fan thing a joke?

#

I was thinking about the poor laptop hdds

stark prawn
#

No, That looks like it could generate serious heath

vestal briar
#

Hmm

#

No idea how to configure this

stark prawn
#

You can get some pretty decent passive coolers I think.

vestal briar
stark prawn
#

But idk how much heat the ssds will generate

vestal briar
#

I mean

#

The 5mm thick plastic should be enough for very mild use?

#

Bearing in mind the max that this will have is 3

sand goblet
#

That definitely should have more air holes

#

That's just solid plastic

vestal briar
#

I have an idea

#

And it will make it look like art

plain slate
#

ez

#

also rgb

restive ledge
#

did you use sw for this? @vestal briar

sand goblet
#

It's Owez's design with Savant's mspaint

plain slate
#

actually im a bit more sophisticated sir @sand goblet

#

this was Paint 3D

sand goblet
#

gimp

#

oh, close enough

vestal briar
#

I'm using fusion360

#

Air holes and art

#

And 3d printable

#

Though it's more of a torture test at this point haha

royal lakeBOT
#

Hey @vestal briar!

It looks like you tried to attach file type(s) that we do not allow (.stl). We currently allow the following file types: .3gp, .3g2, .avi, .bmp, .gif, .h264, .jpg, .jpeg, .m4v, .mkv, .mov, .mp4, .mpeg, .mpg, .png, .tiff, .wmv, .svg, .psd, .ai, .aep, .xcf, .mp3, .wav, .ogg, .md.

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

vestal briar
#

If anyone wants stl for this, i'll pm them

mellow lagoon
#

.ogg

torn raptor
#

question , how many amps does it take too paralyze some one ?

rough sapphire
#

why do you need to know this

#

anything about 10mA for muscle paralysis.. >30 mA for respiratory..

rough sapphire
#

how do you include links in markdown for headings that occur with spaces

#

for example: Set Theory Clauses

plain slate
#

that was an abrupt change in subjects

vestal briar
#

How do you hide the body

tulip palm
#

put it in a graveyard

rough sapphire
#

oh right junkyard is different than graveyard. i was wondering why would you put a body in the dump

#

too much magic the gathering lately ๐Ÿ˜ฎ

vestal briar
#

Will a drone work if the motors are rectangular instead of perfectly square?

#

I got it 5cm more apart one way that the other but in the other axis they are the same

bronze root
#

shud work

#

There are triangular ones

#

but good luck calibrating it x3

vestal briar
#

I can't calibrate it at all

#

It's a modded syma x5c

glad bear
#

I passed my first Comp Sci test!!! Thanks to this server ๐Ÿ˜…

gusty oar
#

congratulations!

vestal briar
#

So you know how pipenv has a stigma of being slow..

#

:p

#

Oh but no, the timeout is too buggy and the timeout gave an exception

#

Time to switch to a better program

sand goblet
#

I honestly haven't found a better solution though

#

It might be better to try to solve this problem if possible

#

I wonder how annoying it'd be to do with gradle

#

haha

#

"Oh cool, you made a Discord bot in Python?"

#

"Yep, but if you wanna use it, you'll need Java"

vestal briar
undone berry
#

What are you actually trying to install?

vestal briar
#

Pandas

#

Poetry wants to use python 2.7

sand goblet
#

I've had precisely no luck whatsoever with poetry

vestal briar
#

Also why the hell is there no way to uninstall poetry

#

I can't find a single method

sand goblet
#

pip uninstall poetry?

vestal briar
#

Not installed by pip

#

Because it's speshul

sand goblet
#

the heck did you install it with?

vestal briar
#

Using some fucking curl

sand goblet
#

link me

vestal briar
sand goblet
#

I swear to god if their curl is just a pip command..

#

oh god, that's just

#

why

vestal briar
#

I know

sand goblet
#

why did they do that

#

that's awful

vestal briar
#

Now it's using python 2 and i'm very close to using words that are not allowed but describe this

sand goblet
#

you need to do

#

wget https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py && python get-poetry.py --uninstall

vestal briar
#

rm -rf /*

#

What the hell

sand goblet
#

I dunno

#

it supports pip installation too

vestal briar
#

I thought that was some experimental thing

sand goblet
#

if you're on linux you could probably have gotten it from the package manager

vestal briar
#

Not a thing I don't think

sand goblet
#

iunno

#

pipenv is there on all distros I've used at least

vestal briar
#

Nope, it isn't

sand goblet
#

although pipenv actually works, so maybe poetry won't be there

vestal briar
#

This is what must have pushed younger me to make my own clone

sand goblet
#

ELA uses poetry though, I think, and he's got it working clearly

vestal briar
#

Didn't work in the end because of the backwards-compatibility-hell of pypi

sand goblet
#

Dependency management is hard

#

I've written a package manager before

#

It was for plugins for an old chatbot I worked on, Ultros

#

but even that was a little tricky

vestal briar
#

I'm working on a system package manager now

#

Like full basic package manager made in rust

#

As much as possible is made by me, even if it's not high quality :p

sand goblet
#

It's definitely an interesting project

vestal briar
#

Yeah

#

Apart from when I have to learn about p2p networking and build systems

sand goblet
#

I was kind of thinking about working on a universal build tool

#

but then I realised, well, gradle exists

#

and I do really like most of gradle, so

vestal briar
#

I mean, isn't any build system universal

sand goblet
#

I mean, yes, but gradle makes it easy

vestal briar
#

You can use something like make with minor difficulties

sand goblet
#

I mean, yes, but then I have to write a makefile, yknow?

vestal briar
#

๐Ÿค”

sand goblet
#

as opposed to something like gradle which comes with plugins for most languages

#

you just dump it in the folder, gradle init and go

#

it does use groovy (or kotlin) for its buildscripts though, so you need to know groovy (or kotlin) beforehand, at least to a point

#

although I picked up groovy from just using gradle myself

vestal briar
#

So it's like a complicated make with lots of plugins

sand goblet
#

I mean, to a point

#

it has a lot of useful features, like incremental builds and portable build caches

vestal briar
#

What are incremental builds again?

#

Is that a fancy way of saying compiler cache

sand goblet
#

only processing things that need to be processed

#

which isn't always the same as "this file changed, compile it again"

vestal briar
#

Most things have that nowadays

sand goblet
#

well, yes, but there's more than compilation in a lot of projects these days

#

with java for example, you also have packaging to do

#

you might have annotation processors to be run before/after/during compilation

#

although those have been solved by maven/ant as well

vestal briar
#

Why so many steps

#

:(

sand goblet
#

well, java has a lot of features that people don't really think about

#

have you heard of lombok?

#

or graal, maybe?

vestal briar
#

Hm

sand goblet
#

lombok is basically like python's dataclasses

#

you put annotations on your classes and it will generate getters, setters, .equals(), etc for you

vestal briar
#

Oh

sand goblet
#

you have to be able to run a third party annotation processor as part of the compilation stages for that to work

#

graal on the other hand allows you to basically build a custom jvm that's optimised for your project

vestal briar
#

Shouldn't that be built into the LS

sand goblet
#

LS?

vestal briar
#

Or as an extension

#

Language server

sand goblet
#

I mean I guess your IDE could do it for you

vestal briar
#

The part that connects to build system as a unified api

sand goblet
#

but that doesn't give you clean source

vestal briar
#

How you write 1 connector and it works on 10 different editors sort of thing

sand goblet
#

well, I guess

#

but the point is less that lombok provides this feature and more that you can extend the compilation process using an annotation processor

#

which is something that's been defined by java specs for years now

#

years and years

#

certainly longer than language servers have been around

#

annotations that remain in actual java code aren't very flexible tbh, so being able to process them at compile time is super useful

#

they're basically just metadata otherwise

vestal briar
#

Is this more of just javas weird side

sand goblet
#

I mean, annotations are super common and very useful

#

it's just a feature most people don't think of when you talk about java

vestal briar
#

Like it is an "if ain't broke don't fix" it sort of thing

sand goblet
#

everyone uses them but most people haven't written one

#

Well I guess, yeah, that's kind of java's thing

#

back compat

#

I mean some people are still using ant

#

which came about in.. 2000?

#

as a replacement for people just using make for java

vestal briar
#

Would be funny if java done a python 3

sand goblet
#

I mean it's not like they don't break things

#

it's just they don't break expected things

vestal briar
#

..Oh

sand goblet
#

they broke the classloader system in java 12 or something

#

that was annoying

vestal briar
#

Why don't they just fix it all gradually and annoyingly

sand goblet
#

I'm not sure

#

Oracle Java isn't something people actually use these days tbh

#

everyone's using openjdk because oracle's licensing is ass now

vestal briar
#

Yeah

sand goblet
#

which, to be clear, openjdk is still maintained by oracle

#

it's just a real oss distribution

vestal briar
#

I'd have like too have seen some cool spinoff of java

sand goblet
#

I mean we have other JVM languages

#

including python (jython)

vestal briar
#

Yeah but not just a compiler backend

sand goblet
#

What, like, let's do a mariadb?

vestal briar
#

Basically heavily modified java that irons out the wrinkles but could still be ported fairly easily

sand goblet
#

that would be interesting

#

But I think java has a lot of issues that are best served with a jvm language

vestal briar
#

Yeah, that would be the best solution

sand goblet
#

reason being, java's pull is its ubiquity

#

I mean I guarantee you have something near you at all times that runs java

vestal briar
#

But it would be easier to just have java-like syntax when porting

#

I don't think I actually do

sand goblet
#

whether that's a car's computer system, a set top box under your tv, or the sim card in your phone, or maybe your blu-ray player

#

blu-ray movies have a fair bit of java in them

vestal briar
#

Woo for weird contracts

sand goblet
#

I'm still amused that sim cards are just little java computers

vestal briar
#

Yeah

#

The strange limited embeddable java

sand goblet
#

that's really java's strength though

vestal briar
#

Why did they get that in the first place anyway?

sand goblet
#

write once, run anywhere. really.

vestal briar
#

Like for blu-ray

sand goblet
#

I'm not sure

vestal briar
#

They wouldn't have have a long standing relationship with oracle

sand goblet
#

BD-J, or Blu-ray Disc Java, is a specification supporting Java ME (specifically the Personal Basis Profile of the Connected Device Configuration or CDC) Xlets for advanced content on Blu-ray Disc and the Packaged Media profile of Globally Executable MHP (GEM).
BD-J allows bonu...

vestal briar
#

For gods sake

#

They have an entire spec for blue rays

sand goblet
#

yup

#

every blu-ray player out there supports it

vestal briar
#

This is when you can tell it wasn't meant for this haha

sand goblet
#

I mean, sort of

#

Sun did originally design java to be suitable for porting for discrete devices and use-cases

#

the plan was basically an extreme version of "write once, run anywhere", and it worked

#

and it really is just fucking everywhere.

vestal briar
#

That's what an ABI is for though

sand goblet
#

I mean yeah, but how old is java?

#

1995?

#

yeah

#

not quite as old as python, but pretty old

vestal briar
#

This is around 2006 times

sand goblet
#

Oh, sure

#

But if you look at the projected goals for java

#

it was designed to be ubiquitous, right

vestal briar
#

Oh, 2008

sand goblet
#

in achieving that goal, it meant that most programmers had to know a little java to get by for a while

#

BD-J probably made sense from that perspective

#

everyone already knows java, right? well let's just use that

#

that's not true in the hobbyist world, but in the enterprise world..

vestal briar
#

Or they could have hired some embedded devs to do the embedded programming

sand goblet
#

I mean you already have this high level VM that runs on a toaster

#

what's the point

vestal briar
#

I doubt a bluray development division was packed with java devs

sand goblet
#

actually I suspect that the people writing BD-Js probably weren't programmers at all to start with

#

embedded programming might have been a bit above their level

vestal briar
#

Hey timmy you are a java coder now

sand goblet
#

well, you know how businesses like to cut costs

#

also, don't forget, BD-J is just java ME

vestal briar
#

Was it actually cutting costs though at oracles prices

sand goblet
#

like J3ME

#

you might remember the old J2ME phones, right?

vestal briar
#

Nope

sand goblet
#

hoo

#

so yeah

#

basically every phone ran Java ME for a while

vestal briar
#

I remember from iphone 5

sand goblet
#

Java Mobile Edition

#

if you take the ancient sony ericsson walkman phone for example

vestal briar
#

Yeah

#

Now for phones it makes sense

sand goblet
#

this thing could probably do most of what people use a phone for today

vestal briar
#

For bluerays not so much

sand goblet
#

well, yes

#

but the point I'm making is that Java ME was already an established tech with a lot of devs

vestal briar
#

They would have had c devs on hand in development already though?

sand goblet
#

Would they though?

#

They're movie producers

vestal briar
#

With licensing and hiring/(minimal) training costs it would have evened out to just using one of their own guys or just hiring a firm

#

The development team

#

If you're working with a lot of embedded in a fairly large team, one or two of them would have known embedded programming

sand goblet
#

I mean, sure, but the people that came up with BD-J weren't going to be the ones using it

vestal briar
#

Hm?

sand goblet
#

well, blu-ray was just another high capacity disc format

#

you can store 80GiB on this shiny blue CD

#

it would have been the minds at the movie industry that came up with this standard

#

but the actual companies producing movies would be the ones writing BD-J into their releases

vestal briar
#

Could have also been done with an abi

sand goblet
#

I guess? Java would have been simpler though

vestal briar
#

Hm, wouldn't the BD-J just be an abi also

sand goblet
#

in a sense, I suppose so

vestal briar
#

Was it just a timerush thing?

#

Make shoddy short-term solutions to release fancy stuff in time

#

And Sony's PlayStation 3 has been the de facto leader in compliance and support of BD-J. So everyone else went along with it

undone berry
#

Make shoddy short-term solutions to release fancy stuff in time
agileโ„ข

sand goblet
#

well, sony was in charge of the blu-ray project

#

after all, they unveiled the first prototypes back in 2000

vestal briar
#

@undone berry The amount they talk about the agile methodology in our school..

sand goblet
#

oh hey

#

Sony Ericsson W810

#

no

#

bad clipboard

#

thank you

#

this is a "keynote" from 2005's javaone conference

undone berry
#

I had some lecturer at my uni banging on about his 10 years of industry experience as an agile expert go on to talk about how you wouldn't use Java for long term projects because its dynamically typed - and that you'd use an oop language instead

sand goblet
#

uh

#

what

undone berry
#

I can't use the word I'd want to use to describe him here

vestal briar
#

Every slide has a cheesy bit about java put in

#

:)

undone berry
#

turns out his 10yrs experience was installing POS systems in Carphone Warehouse

vestal briar
#

Lol

sand goblet
#

hah

#

nice.

vestal briar
#

My cs teacher keeps talking about how c# is oop and python is more "procedual"

glacial owl
#

Ah, the old "Javascript is Java, it's in the name!"

undone berry
#

thats not really that wrong

sand goblet
#

it looks like they picked java because DVB-GEM already defined a java environment for this kind of work

vestal briar
#

90% of python is an object

undone berry
#

Yes, but you're not forced to write OOP code

glacial owl
#

TBH i don't REALLY see a difference between Python modules and C# static classes

undone berry
#

just because it is an object doesn't mean the code you're writing is OOP

sand goblet
#

yeah, java does force you to write OOP

vestal briar
#

They phrased it like python didn't have oop

glacial owl
#

StaticClass.StaticMethod() vs module_name.function()

sand goblet
#

I mean modules aren't classes though

#

there's no this/self

#

a module can't refer to itself like that

glacial owl
#

There is no instances of static classes either

sand goblet
#

(given how python works, that doesn't make sense anyway)

#

well yes, but it's a second level of encapsulation

#

and you still have stuff like inheritance

vestal briar
#

Basically

glacial owl
#

...damn, i forgot if you can actually inherit static classes

#

let me check

vestal briar
#

My teacher thinks python doesn't have classes

glacial owl
#

Nah, you can't

#

Static classes are almost glorified namespaces that are initialised in background and can't be used via interface

sand goblet
#

Huh, okay

#

well, to be fair, python doesn't have static classes

#

they probably solve similar problems

#

but classes do belong to modules (usually, not always)

glacial owl
#

I like that you can use types as a variable

sand goblet
#

well, yknow, everything is an object, first-class

glacial owl
#

Like animaltype = Dog; fido = animaltype()

sand goblet
#

@vestal briar anyway, there are a lot of interesting jvm languages

#

scala and clojure, kotlin, jython..

#

I guess rhino (javascript) counts, although that's more an interpreter written in java

#

whereas the others actually compile to jvm bytecode

#

groovy is another one, obviously, not sure how I forgot that

#

and yeah they basically exist to improve upon java

#

you won't need lombok if you're working with kotlin or groovy for example

undone berry
#

I like that the different JVM languages actually have niches where they are used

sand goblet
#

clojure is basically java with lisp paradigms/syntax

#

so the lisp people like it

#

it's an interesting language, I'm not sure I like it though

glacial owl
#

Where closure is actually used, btw?

sand goblet
#

well Fexco uses clojure

#

I know that much

#

(I worked there)

glacial owl
#

Maybe some day i'll try to learn Scala, if i start working with Spark

sand goblet
#

Spark is great in Java and Kotlin too

glacial owl
#

I've heard that Kotlin is JS-like language that runs on JVM

sand goblet
#

It's nothing like JS

#

it is a fantastic language though

glacial owl
#

Who would make that, considering even JS devs do not like JS?

sand goblet
#

I'm a big fan of it

#

yeah I dunno who said it was like JS

#

it's nothing like JS

glacial owl
#

What's the biggest improvement compared to Java?

sand goblet
#

I mean there are just so many improvements, I'm not sure I could pick just one

vestal briar
#

Basically it's one of the new class of fancy languages like rust and ew go and nim that have a ton of compile targets and are dev friendly

sand goblet
#

Maybe the much smarter compiler, or the explicit null-safety

glacial owl
#

Smooth

vestal briar
#

I see a mash of java, python and a bit of js

sand goblet
#

note the question marks in this

vestal briar
#

I'm used to question marks automatically routing errors in rust

glacial owl
#

I'm looking at weird squiggles. Are they &&?

sand goblet
#

at the ends of the lines? yeah

glacial owl
#

Null-safety, yeah

sand goblet
#

so, there are a bunch of operators in kotlin that include ?, and those are null-safe operators

#

or rather they operate based on nullness

#

so if jsonData is null, then jsonData?.keys will return null - it'll only move on to jsonData.keys if jsonData isn't null

#

we also have the elvis operator

undone berry
#

(rubbish name)

sand goblet
#

statement ?: statement

glacial owl
#

TBH i like explicit Python Optional[Type] more

sand goblet
#

if the left side is null, the right side is executed

#

oh, we have that too

#

you can explicitly type things if you like

glacial owl
#

Ah, yeah. What's the typing in Kotlin?

sand goblet
#

(and you do have to in some cases)

#

well, firstly we have var and val - var is mutable, val isn't

#

if you wanted to type a variable as a string which may be null, you'd do eg

#

var str: String?

#

the ? means it could contain null

glacial owl
#

I wonder if Python would introduce immutable fields later.

sand goblet
#

Perhaps, perhaps

#

oh, but I forgot one of my favourite things somehow

#

I have also crashed idea, so one minute

glacial owl
#

๐Ÿ™‚ Your favorite feature seems to be dangerous

sand goblet
#

so you might be familiar with switch

#

I'm sure you are

#

kotlin does not have switch

glacial owl
#

Yep, i miss it

sand goblet
#

it has something which I actually prefer

#

it's known as when

glacial owl
#

...go on

sand goblet
#

sec, I'm trying to find a good example

#

haha

#

so when comes in a few forms

#

it's worth noting that the last statement of a branch (the only statement if it's not a Unit defined by {}) will be returned

#

in this case, type is just a string

#

if we didn't know what it was, our branch could be is String or is Integer

#

it's basically a way more powerful switch

#

it can also do closures, like in java

#

they're like context managers in python

#
fun Request.getBody() =
        when (val response = executeRequest()) {
            is Success -> response.body
            is HttpError -> throw HttpException(response.status)
        }
#

something like that

#

(from the kotlin docs)

glacial owl
#

Cool! Makes me want this features ๐Ÿ™‚

sand goblet
#

the is checking combines with kotlin's smart casting as well

#

by smart casting, what I mean to say is, java is dumb

#
Object x = ...;

if (x instanceof String) {
  x.toInt();
}
#

that won't work.

#

you have to explicitly cast x

glacial owl
#
if(fruit is Apple)
{
  MakeApplePieFrom(fruit as Apple);
}
sand goblet
#

kotlin removes that requirement, it's smart enough to understand that you did an instanceof check and so you want to use it as that type

#
val x: Any = ...

if (x is String) {
  x.toInt()
}
#

it also does other things like forcing you to have an else block when you use when to generate a return value

glacial owl
#

C# also added A LOT of pattern-matching goodness in 8.0, but i haven't got time to really enjoy it

sand goblet
#

and, yeah, explicit casting is fruit as Apple, as you said

#

anyway I could go all night

#

it's a huge bag of nice small improvements really

glacial owl
#

And probably even bigger bag of legacy garbage thrown away, right?

sand goblet
#

Well, I would say so, to a point

#

It does run on the JVM

#

..by default, anyway

#

it also compiles to javascript and native code

undone berry
#

Have you had experience with non jvm kotlin? Any issues with it?

glacial owl
#

Gimme native Jython on android ๐Ÿ˜ฆ

sand goblet
#

I have tried to use it for javascript

#

and it is quite nice

#

however

#

when writing kotlin code for JS, the compiler still enforces the strict typing

#

if you're making use of an external js library - which does work - you either have to have a kotlin external class to represent the types in that library, or you have to tell the compiler to throw out type safety

#

there is a converter that can convert typescript stubs to kotlin external classes

#

but it's still alpha and quite slow

#

it does work though, and at least you don't have to keep running it, just run it once and you have your stubs

#

I think it was probably slow in my case because I had it running against some npm libs

#

I didn't really need stubs that deep

glacial owl
#

BTW, is there a way to transpile Python to JS? Is it a good idea?

sand goblet
#

to answer your questions in order: yes, no.

#

:>

glacial owl
#

Damn ๐Ÿ˜ฆ

sand goblet
#

you basically have two approaches when it comes to that

#

you either write javascript with python syntax

#

or you reimplement a python interpreter in javascript

#

both of those approaches exist

#

the former is probably smarter to use at the moment because the latter requires bundling a 60+MiB runtime on your page

#

there's also rustpython, which compiles to wasm, but that's not really that useful in the browser yet

#

(because you can't manipulate the dom without a hacky JS shim)

glacial owl
#

Damn, JS is really unescapable

#

I really like the concept of "learn language once, use it everywhere", but Python is not like that.

#

At least it goes well with both Linux and Win

sand goblet
#

Well, the W3C is working on adding DOM support to WASM

#

Python is viable on mobile too with Kivy BTW

glacial owl
#

Half the people say "it's viable", half say "you can do that, but shouldn't".

#

Probably should try for myself and decide

sand goblet
#

Nah, Kivy is actually really quite good