#ot1-perplexing-regexing

1 messages · Page 215 of 1

tame terrace
#

mostly due to poor design in our backend

glass gorge
#

ah

tame terrace
#

but also a little bit because using iframes for this sort of thing is inadvisable

glass gorge
#

I will admit though, I wish we were able to use js/python FeelsBadMan

#

but it's a design course non the less

#

which happens to teach html and css to achieve it

tame terrace
#

I would probably just copypaste if that seems to be what they expect

#

but

#

might be fun to experiment

glass gorge
#

They only expect it to work, when scripts are stripped off

tame terrace
#

aha

glass gorge
#

As in, I CAN use js. But it will be completely stripped upon review

tame terrace
#

a website using a python backend works fine without scripts though

glass gorge
#

How would I setup that backend on their network thonkpeek

tame terrace
#

haha. yeah you probably can't

glass gorge
#

would be great

#

"Hey how is your website doing login, queries, templating etcetc..."

#

"oh you know.. html"

tame terrace
#

no php either?

glass gorge
#

Imma make fancy hyperlink hover css now, and worry bout the nav bar when I need to navigate

#

php blobhyperthink

#

I dont think so..?

tame terrace
#

php could glue together the html files fairly easily.

#

just some includes

glass gorge
#

yeah..

tame terrace
#

no iframes needed.

glass gorge
#

You know what

#

Ill ask him on my lecture today

tame terrace
#

(and very little php)

glass gorge
#

"can we use php include etc to simulate template"

#

That sounds nice

tame terrace
#

css navbars are fun to write.

tame pier
#

Is html/css Turing complete?

#

No, apparently not, damn

#

One proof was that you can determine when it will halt, therefore it's not Turing complete

#

Proof by contradiction 👌

odd thorn
#

The stackoverflow page seems to be pure CSS, while the codeworks page mentions a continuous stream of HTML feeding into it, which might explain the contradiction.

tame pier
#

Want a python interpreter in my browser

#

Without any JS

#

Is that possible

odd thorn
#

Might be able to do some kind of request-response page thing?

#

Not sure though.

slate quail
#

CSSPython

tame pier
#

They're really just formatting languages though, kind of a dumb question

#

Lol

#

Wait

#

Is that

#

Oh no

#

It's not

#

;(

slate quail
#

CSS3 is a little more than a formatting language now

tame pier
#

It can go animations

#

If I remember my SoloLearn click through correctly

slate quail
#

it can

#

all variety of animations and transformations

steel fox
#

There was a game made in only CSS / HTML

odd thorn
#

Of course, perhaps the question is not one of could, but of should.

tame pier
#

Hmmm

#

Yes of course

#

If Node.js exists, so should PyCsssss

slate quail
#

that's fair

tame pier
#

"pie-ci-sss"

steel fox
tame pier
#

Is is with less guns and more memory usage

steel fox
#

I’ll take the guns

tame pier
#

404 ;(

#

Good sign to sleep

#

Good night

slate quail
#

o/

glass gorge
#

o/

#

Imma stop touching the frontpage now

#

Before i break it

slate quail
#

oo

glass gorge
#

My only concern atm is the "project" headers color

#

It may not be readable to colorblind people

#

¯_(ツ)_/¯

tulip palm
#

just checked with 4 common filters, looks okay on all of them

glass gorge
#

Which ones is that

slate quail
#

the common ones

glass gorge
steel fox
#

Looks fine to me

#

I’m not colorblind but I can pretend to be

glass gorge
#

Pretending to be color blind thinkies

#

I should probably change the 3rd picture though

#

As the project title gets hard to read there

steel fox
#

I also showed it to my dog and he looked like, if he knew English, he could read it

glass gorge
#

lol

steel fox
#

Agreed on #3

glass gorge
#

Back to drawing board

steel fox
#

I got you the perf image to use

glass gorge
#

Do share

tulip palm
#

monochromacy colour blindness would actually show that yellow as white

glass gorge
#

(pref in a 1x1 ratio)

#

But its Achromatopsla?

tulip palm
#

hmm

glass gorge
#

Text shadow thonk ?

slate quail
#

web design got really progressive somewhere down the line

#

no more epileptic seizure inducing marquees

#

probably for the best but you gotta miss it sometimes

glass gorge
#

Ay

odd thorn
#

Are the words even really needed on the pictures? The lab names seem pretty clear.

glass gorge
slate quail
#

MY MOBILE BROWSER

#

ACK

glass gorge
#

It's mostly because projects != labs

#

labs are equal to things im tasked to write in lectures

#

while projects could be anything

odd thorn
#

I'm sure it was fun to flail around wildly without wanting to.

steel fox
#

Floppy didn’t like my photo 😦

glass gorge
#

Not enough vivid colors

steel fox
tulip palm
slate quail
#

now that's what I'm talkin' about

tulip palm
#

haha

slate quail
#

accessibility in the form of no one can read the page anyways so it doesn't matter that you're colorblind

tulip palm
#

yup :D

steel fox
#

That’s equal opportunity

glass gorge
#

lmao

#

10/10

slate quail
#

the end user should have to work to get anything of value from my site

tulip palm
#

holy shit i think it changes every time you load the page. this is wonderful

slate quail
#

information doesn't come cheap

steel fox
#

^^^

glass gorge
steel fox
#

Lucy I’m starting to rub off on you. Feels good man

glass gorge
#

Pizza-pug

#

Very cute

steel fox
#

Could use my dog too. But i have a license fee of 1 pet per page view

slate quail
#

I was always like this. I just have many faces

#

pizzadog!!!!

#

yessssssssssss

steel fox
#

👌

glass gorge
#

fbm, the site that applies filters doesnt have hover enabled

#

So can't test if the color change on hover makes is easier for color blind, or opposite

glass gorge
#

Mooney

dusty gate
#

totally not scam at all eh

#

😛

glass gorge
#

I already sent him a picture of my passport

dusty gate
#

next thing this guy will ask you to buy iTunes card and give him the code

glass gorge
#

lmao

#

The best form of money transfer

dusty gate
#

must be apple's secret way of making mooney ye

glass gorge
#

What if apple hires the tech support / refund scammers

rough sapphire
#

Free book if anyone is interested

dusty gate
#

thanks i wanted to learn meself some data mining

sour shale
#

ty

sand goblet
#

I think we might need to have @royal lake warn about Packt links

#

Just remember, they'll publish just about anything

sour shale
#

this one looks okay

sand goblet
#

I think I found my new favourite subreddit

#

r/RubeGoldbergFails

sour shale
#

waow

sour shale
#

wtf

#

wow

unkempt shale
#

lol gdude

#

hey where did the minecraft channel go? 😛

sour shale
#

server died

#

lack of players

#

I'd join if they made a survival one

#

i only play vanilla survival with plugins rly LOL

#

or minecraft factions can be okay if you have a decent team

unkempt shale
#

cake hm, i own a server since 8-9 years

#

minecraft, spigot

sour shale
#

nice

unkempt shale
#

if ure interested i can give u detials

#

there are even players on it recently

sour shale
#

is it mod or vanilla

#

will vanilla client work

unkempt shale
#

vanilla client will work

#

its spigot with server-side plugins

sour shale
#

okay ye sounds gud

unkempt shale
#

try: play.nextgamers.eu as IP minecraft 😉 we even have a discord channel relayed to the server and vice versa

sour shale
#

ook i try now 😄

unkempt shale
#

oki 😃

sour shale
#

maybe i can roll my client back

#

to 1.13

#

and it will work

unkempt shale
#

oh yea, most servers right now are on 1.13 because, spigot (the server software that is fast efficient and supports plugins) is first announced to be updated on 5.9. 😃

#

yes u have to

sour shale
#

1.1.4 is the minecraft aquatic update

#

ok

unkempt shale
#

1.13 is aquatic yes

#

ure trying to connect with version 1.13.1

#

but the server has 1.13

#

thats because spigot has to be updated first

sour shale
#

ok gonna try 1.13

#

im in ! 😄

unkempt shale
#

ok cool 😃

#

yay

#

cake in case ure interested u can always come back 😃

sour shale
#

ye sure

unkempt shale
#

oki ^^

#

if u want i can give u 5000 or so ingame money so u are closer to premium (/fly etc.) and everything is free on our server, nothing u have to pay real money for ;D

sour shale
#

no that's okay

#

i just like to build rly lol

slender ocean
#

eiuu minecraft

sand goblet
#

dude, you say that every time

#

you're so boring

granite lake
#

lol

#

some gamers are like that gdude

sand goblet
#

boring? yes, I agree

slender ocean
#

one hour of mnb warband is more exciting than 1 year of minecraft

sand goblet
#

who cares what game is more exciting?

#

I don't play minecraft to slay fools

#

lol

granite lake
#

lol

glass gorge
#

yes

#

willsmith wifi-password

sand goblet
#

it's a shame Mirage: Arcane Warfare flopped

#

because that game is just so much fun

slender ocean
#

the risk is too limited and playing on hardcore you can only lose if you either 1) die early on 2) fall in lava/off a cliff late game

sand goblet
#

it's like Chivalry, but with magic

#

same developers

slender ocean
#

it flopped because it wasnt fun like chivalry

glass gorge
#

flopped blobhyperthink

sand goblet
#

I found it more fun than Chivalry

#

chivalry wasn't balanced at all, though

tulip palm
#

floppy flopped

sand goblet
#

if you knew what you were doing, it was easy to go on that power trip

glass gorge
#

A lot of fun games have died unfortunately

sand goblet
#

mirage is very balanced, so people that cheesed chivalry didn't find it fun

glass gorge
#

Esp in the mmo category

slender ocean
#

i liked that chivalry wasnt balanced

sand goblet
#

it felt kinda bullshit to some players ultimately

slender ocean
#

the harder a game is the more rewarding when you do something

granite lake
#

reminds me of hello neighbor

slender ocean
#

that game was terrible

sand goblet
#

mirage has an ability system as well, which is very interesting

slender ocean
#

you could fly on a trash can and beat every level

granite lake
#

Hm

#

no

slender ocean
#

yes

granite lake
#

that game was too hard

tulip palm
#

i'm completely out of the loop when it comes to games haha

granite lake
#

played for two weeks and didn't even pass act 1

#

😡

slender ocean
#

you must be really bad because its extremely easy if you dont follow the developers intended path

granite lake
#

well

#

Im a player not a beta tester

slender ocean
sand goblet
#

yeah hello neighbor was super broken

slender ocean
#

its in my 10 worst games ever played

glass gorge
#

Just because it has a game breaking bug, doesnt mean you cant enjoy it the intended way

slender ocean
#

the game is just terrible even if you dont run into any bugs

granite lake
#

The game wasn't buggy really

glass gorge
#

Lots of games let you object boost at least

granite lake
#

Just difficult

slender ocean
#

the game was extremely easy

glass gorge
#

I believe it when i see it

slender ocean
#

the alpha was better than the release

granite lake
#

Btw Im waiting for beach buggy racing 2 to come out for mobile

#

Can't wait to see whats new

slender ocean
#

is that sarcastic

granite lake
#

no

#

im a fan of it

slender ocean
#

well i can see why you liked hello neighbour

granite lake
#

hmm

wooden kindle
#

I'm pretty sad Everquest Next was cancelled

granite lake
#

A game ?

wooden kindle
granite lake
#

Hm

sour shale
#

whats that

steel fox
#

I mean it would’ve flopped

#

Eq1 was good. The rest were not

granite lake
#

@sour shale A game

sour shale
#

looks kinda cool

wooden kindle
#

Yeah it's a cool idea

#

Minecraft + WoW pretty much

steel fox
#

Yeah

#

I wish there would be another good MMO on the scene

sour shale
#

BDO online

#

is good

steel fox
#

no its no

sour shale
#

BDO is pretty

steel fox
#

but WoW just has too much content. its really hard for an MMO to gain any traction because you blow through your launch stuff in a month and then people are stuck doing nothing

#

so then they come back to WoW

sour shale
#

Eve Online

wooden kindle
#

Yeah, you basically need to create another world

granite lake
#

clay

wooden kindle
#

Eve isn't new player friendly

granite lake
#

why do you love that santa hat so much

steel fox
#

Yeah eve is okay but

#

To do anything cool it’s spend money on injectors or wait like 6 actual months of real time for skills to train

wooden kindle
#

WoW is easy, huge, and addictive.

#

They've perfected the art of wasting your time

granite lake
#

Overwatch too

steel fox
#

Yeah. I mean I’d welcome another on the scene it just almost feels like they’re always destined to flop because you can’t compete as a new game with like 15+ years of content or whatever t is now

sour shale
#

Dota 2

#

is great

steel fox
#

Both are not MMOs

wooden kindle
#

Also not new player friendly

sour shale
#

new player friendly is bad not good

wooden kindle
#

I've got 3,000 hours in that game and I'm still bad

granite lake
#

Fortnite is great

sour shale
#

you can learn dota in like 70 hours

steel fox
#

I have about 1300-1400 days total /played on WoW. And still nowhere near done with everything

granite lake
#

Another pay to win

steel fox
#

What is

sour shale
#

WoW

steel fox
#

How do you figure

wooden kindle
#

New player friendly is good when you want new players

granite lake
wooden kindle
#

and if you think you can learn DotA2 in 70 hours then you don't know DotA 2

sour shale
#

LOL I've played dota roughly same hours that u have

granite lake
sour shale
#

nice logical fallacy though

steel fox
#

I’ve got about 3k in dota too though

#

Haven’t played in a long long time though

sour shale
#

after 70 hours I was able to win in the trench with viper mid

#

back in like patch 6.78

wooden kindle
#

That doesn't mean you know the game

sour shale
#

like, I was playing functional dota

#

ye but at least at that point you know what's going on

#

like the overall game

wooden kindle
#

Yeah you can flop around and win, I'm talking about actually knowing how the game works and what you should be doing

sour shale
#

I still don't know that tw tw tw

wooden kindle
#

SAME

sour shale
#

I watch the international and the team that I think will lose wins easily lol

#

they pick some weird strat and win TI8

wooden kindle
#

The mechanics of that game are a bottomless pit

sour shale
#

a few months ago Topson was a pub random Dota player
he gets added to OG right before international
plays dagon pugna
wins a million dollars
👍

wooden kindle
#

idek

sour shale
#

ah it says he joined OG on 4th of July

#

then in august he wins TI8

#

😄

wooden kindle
#

That game is too stressful for me, I like using the minimum amount of brain power required, so WoW it is

steel fox
#

Same

#

Only problem with WoW is the cost to enter as a new player

#

Which they just fixed by removing the battle chest

sour shale
#

people buy hi level accounts

#

using crypto

gentle moss
#

wait

#

did someone say

#

"you can learn dota in 70 hours"?

sour shale
#

ye

gentle moss
#

nice, you figured out how to play juggernaut

sour shale
#

no it was viper

#

back in the day

gentle moss
#

dota was a BITCH when I was playing the original

sour shale
#

before they reworked viper's skills he was a bigger pubstomper

gentle moss
#

you're right that you can learn some basic character strats

#

and then use those chars

#

but if you're on AR

sour shale
#

juggernaut never used to be good until they buffed his Base Attack Time

gentle moss
#

is this DotA or #2?

sour shale
#

22222

gentle moss
#

o

#

I could never do AR games well

#

but AP games weren't too bad

sour shale
#

cos in AR you might get broodmother with no counters

#

and that's gg

steel fox
#

Isn’t every game p2w then cake if you’re including black market purchases?

gentle moss
#

nah, AR requires you know a wider range of stuff

sour shale
#

kinda ye

#

but dota is not p2w

gentle moss
#

i think in 70h you can do okay in learning how to operatate 1 char

sour shale
#

you can't buy anything to win dota more

gentle moss
#

but to get better with AR

sour shale
#

every mmo is potentially pay to win yes

#

this is why i like MOBA more

steel fox
#

You can’t buy anything to “win” WoW more. It has a rotation you have to know for good damage

sour shale
#

but you can buy an account that played for 15 years

#

and has all the stuff they got over 15 years

steel fox
#

And all meaningless in the current expansion

sour shale
#

the items don't mean anything at all ?

#

they offer zero advantage ?

steel fox
#

Old ones? Absolutely none

#

Maybe some slight convenience for teleports

sour shale
#

hmm okay
IDK WoW at all by the way

#

my friend was a raid leader or something but IDK

steel fox
#

You could make the point that buying an account gives you access to better groups by having a higher item level, but you’re gonna perform poorly and be kicked almost immediately because of it

sour shale
#

okay ye

#

its not like say Battlefield where higher level = more guns

steel fox
#

No. Every expansion has a cap. This expansion is 120. There’s stuff you can only obtain at 120, but if you don’t know your rotation or how to play the class. It doesn’t matter how much gear you have, You’ll perform poorly

#

It’d be like buying an account in ancient in dota

sour shale
#

okay yeah

#

but can a level 1 account do good

steel fox
#

Not really. But that’s not how the games designed. The end game doesn’t start until level cap of the expansion, which is 120 right now. But that’s only like 15-20 hours of leveling. You are put against people your level in pvp situations though

sour shale
#

okay

steel fox
#

Level is less like - I’ve done stuff and leveled up for power like bdo where it’s a huge grind.

In WoW it’s more like, story progress. Once you’ve finished the main games story; the end game raids and stuff open. If that makes sense

sour shale
#

i think so

rain spindle
steel fox
#

more lens flare

rain spindle
#

that ain't artificial

#

My most proud photo

tulip palm
#

the white is hard to read.

sand goblet
#

No problem, but don't forget to let it mature

#

:P

#

you need to leave it in a sterilized, airtight container, out on your counter out of direct sunlight, for a month

#

if you didn't manage that, you'll have to eat it

#

to sterilize, I mean

#

@prisma gust

#

if the jar wasn't sterilized (ovened for 20 mins, with the seal boiled if there is one) then store it in the fridge and use it

#

it won't mature in the fridge, so just go ahead

ebon quarry
#

i read that as "if the jar wasn't serialized" and was wondering how java jars would be serialized

#

oh god

sour shale
#

food

#

whats that

#

chutney ?

#

whats this

#

ah nice

#

i made this once

#

with green tomatoes from allotment

#

i rly like to add cayenne pepper

#

i have a giant oversized pepper plant

#

yields like 300 peppers per year lol

#

it grew like a virus

#

england

#

its in a makeshift greenhouse its rly hot in there

#

it might die eventually

#

i just kept giving it water and fertilizer lol

modern heron
#

Heres a question

#

why do all custom Emojis

#

start with :GWetc

#

in the emoji name if you hover over it

#

because it never use to do that

sour shale
#

thats just one server or group of sr

#

servers

steel fox
#

GW is a public emoji

#

Means you can use them cross server without nitro

#

It’s for GameWisp. Not all of them are like that

wild yarrow
#

o.o

#

that is 👌

#

yeah :P

glass gorge
#

This button did nothing

#

Dissapointed

wild yarrow
#

;~;

tame pier
#

Which is the markdown file on GitHub in edit mode, which if you're not a contributer, shows options to fork the repo

glass gorge
#

Which did not improve the website, by clicking it

granite lake
#

😂

glass gorge
rough sapphire
#

is that

#

from dr.mike?

glass gorge
#

y

rough sapphire
#

charming dude

glass gorge
#

Found his "doctor watches" series

#

Hooked atm

#

Imma become a doctor soon™ with all the advice imgetting

rough sapphire
#

yeah, I started seeing him after I finished house

glass gorge
#

I just read a few comments on his videos, I wonder why they all seem to be female blobhyperthink

#

Is this the place to pick up ladies Kappa

tulip palm
gentle moss
#

Dr Mike is pretty cool @glass gorge

rough sapphire
#

Or private message but here people can help too, in any case I strongly suggest to ask someone with more experience in React to advise you

mental stratus
#

ok no worries, I'm just kicking ideas around

#

not taking anything for gospel just looking for open discussion

rough sapphire
#

So currently you have one Django app for each "section" or "part" of your web app

#

Is there a Master app for the home page or the container then ?

mental stratus
#

so actually the homepage is just a simple form that takes in the ticker. So the app I showed is actually dashboard. here's the current site (lfav2 is the django project name)

#

so far I've build home and dashboard and dashboard is a big react app

rough sapphire
#

By Django app you mean like when you create a whole new Django app right ?

mental stratus
#

yes

rough sapphire
#

okay

#

Yeah in this case I'm not sure how you could do it while preserving the xxx/part/ in the url unless you serve the react app after every part in the url

#

Not sure if that makes sense

#

If the parts are really independant (and I suppose they are since they each have their app) then I guess it's fine if it's one React app per Django app

mental stratus
#

yeah they are really independent

#

for example here's dashboard.html

#

for ChartMachine, I would basically just duplicate this, change the css and js file and render a different parent component into the lazy_app div

#

I feel like it's best to make everything as independent as possible for the purposes of the mobile app down the road, since that would allow me to just swap components around however I want later on

rough sapphire
#

How would that affect the mobile app

mental stratus
#

I don't know I've never built a mobile app before 😄 ... I was just going with my gut, lol

#

making everything independent and reusable

#

one of the problems I have now is that there's just so much stuff on the site, it's difficult to use on mobile screens. So I thought maybe a mobile APP w/ an API to talk to would be better, and this was a good start towards making that happen

rough sapphire
#

I'm not sure of the scale of your project

#

But a native mobile app is a lot of work, you could consider a responsive website too

mental stratus
#

the site is responsive now, but uses chartjs heavily, which would be better as a native mobile app IMO

#

since the charts themselves are not really responsive

rough sapphire
#

Oh okay I see

mental stratus
#

I don't mind a lot of work though ... site has the potential to generate big $$$

rough sapphire
#

The mobile app will need a rest api and your react app too so

mental stratus
#

Yeah ... sounds like API is the way to go

#

not a big deal I've built lots of APIs 😃

#

my goal right now is just to make a "lite" version which will be just this dashboard app ... and sell it for $5-10/month

#

as opposed to the current $30/month for the whole site

#

then I want to add each extra app and convert them to independent, mobile-friendly, react components as I go

#

gives me a smooth transition for current users and allows me to do a full site overhaul piece by piece

#

I could even split it off to allow access to only certain apps for a small cost each

rough sapphire
#

I never splitted my app into multiple apps

#

When it gets big It means it's just bad organization

#

But I guess it can work too

#

It will be hard to deploy though

#

you'll have to do it manually or do custom scripts

mental stratus
#

well this is a fairly large app

#

it needs multiple URL namespaces and such so it made sense for me to split it

rough sapphire
#

What were the limitations ?

#

Can't you just make routes in Django

#

multiple subdomains for each app ?

mental stratus
#

well it's mostly just that each section of the site logically is independent from all the others

#

for example red flags has nothing to do w/ the dashboard

#

I guess it's just logical separation for purposes of keeping my codebase organized

#

It just made sense to me that way I suppose 🤷

rough sapphire
#

I don't know, I would just make a folder for each section

#

A whole different application might be overkill

#

I suppose they are all using the same database

mental stratus
#

But they all have their own views, URLs, functionality

#

tests

#

etc

#

I always thought best practice was to separate functionality into separate apps

rough sapphire
#

I don't think it's bad practice it's good to split stuff actually

#

I just never did multiple apps

mental stratus
#

gotcha

rough sapphire
#

I'm sure some would say it's better to do that even

mental stratus
#

I feel it makes sense when apps get larger

#

my views.py for the parent app would probably have like 500 views if I didn't separate things lol

rough sapphire
#

yeah that's a lot

#

I do different microservices in the back-end when it's really independant (with each their own db)

#

so it's separate apps (even servers)

mental stratus
#

that's cool. interestingly this doesn't use a DB at all other than for user/subscription management.

rough sapphire
#

but for the front-end I never tried multiple so far, with Angular you have modules so it just loads a part of the application so it's alright

#

Okay then 😄

mental stratus
#

to be fair this is the first time I've really built a production level react/django site so I might come back a year from now and say damn this is a big mess

#

but it will be a major improvement over the current site at least haha

rough sapphire
#

Maybe, maybe not

#

I would check how to handle horizontal scalability as well if this is targeting many conccurent users

#

Not sure how Django apps scale

#

Don't work a lot with it

mental stratus
#

ok I will definitely do that

#

I don't expect to hit scalability problems yet but it's good to think about in advance

#

going to get to work building this API now ... thanks so much for your advice/input! It was really helpful!

rough sapphire
#

You're welcome, have fun

sullen thorn
#

guys is there anyone to whom i can give 6 .dex files and they send me back java sourcecode?

tired osprey
sullen thorn
#

oh shit didnt know that was a thing (although i may have searched for it wrong)

#

yeah was hoping to avoid having to install java runtime or whatever and then jadx and dex2jar

tired osprey
#

but

sour shale
#

what is dex 👀

tired osprey
#

why want java code if you cant run it

#

some java binary format for apks

#

dalvik executable

sullen thorn
#

wanna try reverse engineer something

sand goblet
#

Android doesn't actually use dalvik anymore

#

Only older versions

modern heron
#

does a admin have to change these off topic channels each day or is it automatic from Pythonbot?

wild yarrow
#

it occurs automatically

modern heron
#

h u h

tired osprey
#

everything is automatically today

#

just like everything had wifi 10 years ago

modern heron
#

dont get fucking black mirror here

#

ah

#

yes

#

It is automatic

#

woah on earth is hiphop-prison?

#

Just reading through source of the bot because why not, And I see a cog for a channel named hiphop-prison

tame pier
#

That's the old repo

#

We migrated to GitLab several months ago

#

hiphop prison is for people with bad names

#

it changes their nickname to a random hiphop artist for the specified amount of time

modern heron
#

ah

glass gorge
#

Wooo time for 2-3 hour travel for 2 hour lecture! peepoCheer

steel fox
#

Sounds like a reason to stay home

dusty gate
#

did it take 2-3 hours to get there or including time to return home lol

#

either way it does sound like a heavenly reason to stay in a home yes

glass gorge
#

2-3 h both ways

#

If I get a bis home

#

Bus

#

20min walk to the bus, 1h bus. 2h lecture, (tfw no bus all the way home at midday), 45min bus home , 5km walk home

#

Atleast ill reach dat 10k steps GWfroggyPepoSmug

tame terrace
#

I agree with the above statements

#

all 18529 of them

wild yarrow
#

a rather bold move tbh

tame terrace
#

you don't get made president by not taking chances, gwyndolimburger.

wild yarrow
#

that is true

sour shale
#

you get made president by being like Trump

#

so not sure if we want another one of those

glass gorge
#

Or do we

#

To watch em fight

sand goblet
#

looks at @glass gorge

glass gorge
#

Thonking very softly

sand goblet
#

World Order are great

#

you should watch

#

:P

glass gorge
#

Ill do so when I get home

glass gorge
#

America first!

sand goblet
#

aha, you're watching it :P

glass gorge
#

What am i watching GWseremePeepoF

granite lake
#

Memes

sand goblet
#

World Order

glass gorge
granite lake
sand goblet
#

They're not a meme group

#

all of their stuff has that kind of dancing in it :P

wraith umbra
#

I love this channel name okhandbutflipped

sullen thorn
#

-d in cURL is the data parameter in requests, right?

#

lol yeah its pretty good

#
curl -X POST  https://rest.nexmo.com/sms/json \
-d api_key=a \
-d api_secret=b \
-d to='c' \
-d from='d' \
-d text='e'
#
import requests
url = 'nexmo thing'
data = {
    'api_key': 'a',
    'api_secret': 'b',
    'to': 'c',
    'from': 'f',
    'text': 'e'
    }
r = requests.post(url, data=data)
#

those two should be the same thing right?

sand goblet
#

that will encode the data as a multipart form body

#

If the API accepts json, you should probably send it JSON, though

#

you can do that by using json=data in the call instead

sullen thorn
#

ok lemme try

#

hmm - says bad credentials but i swear i copy pasted them... lemme try them again

sand goblet
#

you could try using data=data if you like

sullen thorn
#

i did both

sand goblet
#

although it may be the case that nexmo provides a python library

#

I'd recommend trying that first if so

sullen thorn
#

oh huh so they do

#

still kinda wanna figure out why it doesnt work with requests but works with curl

sand goblet
#

you may need to set the content-type header yourself depending on the data they expect

#

I had to do that with the saltstack rest api

sullen thorn
#

nvm i just somehow copy pasted it wrong lmao

#

thnx tho

sand goblet
granite lake
#

Having a deja Vu this might be terrible

glass gorge
#

Is there a way for unix systems to check if a script is running? (specifically raspian, check if script is running, pipe echo 1 to a gpio pin)

sinful copper
#

@glass gorge you could use ps, but it'd be more reliable to have the script create a file that you check for the existence of

glass gorge
#

(mind I barely know how to navigate a raspian system c:)

#

So would the os / scripting something or have a python script handle it

rough sapphire
#

is there anyone who worked with installers? tag me if you did please

glass gorge
#

actually, could have a python script handle it

sinful copper
#

i mean the first question is, what is the script you're checking if it's running, and can you modify it

glass gorge
#

More specifically a python script

#

and yes, I thought i'd try to weave in some "hardware" to a dpy bot

#

While working on an async build for the io part

rough sapphire
#

twitch broadcasting the first pokemon season _

#
  • _ *
tulip palm
#

P = NP, change my mind. :^)

steel fox
#

Its true. N = 1.

tulip palm
#

N = 0

#

N is a boolean

steel fox
#

0 is an integer.

tulip palm
#

0.0 is a 0-bit float

steel fox
#

you're a 0 bit float

tulip palm
#

0.0

tame terrace
#

the fuck

#

N is not a boolean.

steel fox
#

N is truthy

tame terrace
#

ahh, but your mom was also truthy when she complimented me on my fine beard, but that does not her a boolean make.

tired osprey
#
boolean N;
#

N is a boolean now

#

get over it

wild yarrow
#

beards are important

#

remember that kids

#

or something

#

idk

worn kite
#

pets his majestic beard

bleak lintel
#

I want a beard like lemons

worn kite
#

I'm working on it

#

but keeping the chin longer and the rest short

bleak lintel
#

I have a moustache but no beard 😞

worn kite
#

"moustache"

#

milk line

tired osprey
#

will you send us a picture of your lemon beard once its done byte

tame terrace
#

I am actually gonna grow my beard much longer now

tired osprey
#

wikingmon

tame terrace
#

...wiking. I will kill you etc.

tired osprey
#

yes wiking

#

not viking

tame terrace
#

whyking

tired osprey
#

exactly

bleak lintel
#

pyking

tired osprey
#

no joseph

#

yking

tame terrace
#

you're high king.

bleak lintel
#

sorry nix

tired osprey
#

who

worn kite
#

this reminds me that I also didn't listen to Amon Amarth in a while... 🤔

tired osprey
#

oh nice

#

discord is lagging

#

i mean the client is

tame terrace
#

a longer beard will require a lot more maintenance

bleak lintel
#

thank you Discord very cool

steel fox
#

I always grow my beard for like a year and then shave it all off

worn kite
#

eep

bleak lintel
#

Lemon on average how long does beard maintenance take every morning

worn kite
#

I always feel like a sheep when I trim a month's work

steel fox
#

Same

tame terrace
#

not long. and it's not every morning.

#

every two days maybe.

worn kite
#

oof

steel fox
#

I shave it in the summer, feels so nice once it’s all gone

tired osprey
#

(length * time_not_maintained)/skill @bleak lintel

tame terrace
#

you wash it, you oil it, you blow dry it and you balm it into shape.

#

the last part is not compulsory

bleak lintel
#

do you get bed beard like you get bed hair?

tame terrace
#

not as much.

bleak lintel
#

fair enough

sour shale
#

beard oil hmm

tired osprey
#

oil beard

worn kite
#

I shave it monthly maybe, just the stache probably bi-weekly because otherwise it tickles while eating

tame terrace
#

a beard brush takes care of bed beard.

#

every 3 weeks my barber trims it up and reinstates contours.

worn kite
#

maybe I should look into oils and stuff too

tired osprey
worn kite
#

didn't so far

tired osprey
#

this is gonna be lemon in a few months

tame terrace
#

in a few years, maybe.

tired osprey
#

fine

#

years

#

futuremon

steel fox
#

👌 young 👌 living 👌 oils ❓

tame terrace
#

@worn kite the right barber will teach you maintenance.

tired osprey
#

the right one

#

how does one find the right barber

tame terrace
#

try a bunch.

steel fox
#

There’s a couple monthly boxes too with random beard supplies

#

Which may or may be worth a damn. But it’s neat to try stuff

worn kite
#

I haven't visited a barber yet

#

all home made

tame terrace
#

but the biggest tip I can give is beard wash (not hair shampoo, that stuff is murder), beard oil, and a blow drier.

worn kite
#

no shampoo? GWchadThinkeyes

tame terrace
#

you need beard products.

worn kite
#

hmm

tame terrace
#

hair products will fuck up your skin

tired osprey
#

i wonder if aperture can photoshop us a barbarossa beard on lemons face

tame terrace
#

not meant for facial use.

worn kite
#

fucked up is its default state

tired osprey
#

^

tame terrace
#

normal hair products will wash away your facial skins natural oils. beard wash or beard shampoo will help hydrate your skin.

#

and prevent stuff like split ends

worn kite
#

I normally use some sensitive or special shampoos anyway

tame terrace
#

well that might be better. iunno.

sour shale
#

T gel is a good shampoo

#

it has coal tar extract lul

worn kite
#

because of dry skin and atopic dermatitis and stuff

#

but yeah, splitting beard hair is something I observed quite often recently

#

annoying stuff

tame terrace
#

something like this is fantastic.

#

a good wash and a good oil every two days is how you keep it alive.

sour shale
#

what does the oil do

tame terrace
#

split end beard is dead beard.

#

oil hydrates skin and facial hair.

worn kite
#

rip

tame terrace
#

and smells nice.

#

using blow drier makes it not greasy

worn kite
#

yeah, convinced me

#

might investigate this... sometime

tame terrace
#

if you want longer than one month, this is how :)

#

and it is like 5 minutes of work every 2 days so it's not exactly super hard work

#

makes the beard all soft and nice, too.

#

instead of hard

worn kite
#

I wouldn't say mine is hard

#

but it could be less curly

tame terrace
#

yeah, getting beards to grow straight is mostly a matter of blow drying it and having a barber that knows how to counteract curls with smart contouring.

#

(it's a science)

#

those hipsters with super gorgeous beards probably all have a skilled barber involved.

#

and when you can't counteract, you compensate with product

#

beard balm + a comb

#

but a blow drier can sometimes act almost like a straigtener

#

so it's a super important part of it.

#

best investment I made in my beard tbh

worn kite
#

that I use already, after washing the longer part

tame terrace
#

make hair really hot and it straigthens

#

to the best of its ability, anyway

worn kite
#

but it's not a really hot one

tame terrace
#

turn it up to hothothothot

worn kite
#

😂

#

must relisten

tired osprey
#

why do you all even want to get so long beards

worn kite
#

why not?

#

🤘

tame terrace
#

beards suit me.

#

thats all.

tired osprey
#

i wonder if byte commander is gonna head bang with his beard

tame terrace
#

not really trying to grow a dumbledore though

worn kite
#

if you put a sausage in a bun, it's called a hothothothothothothothot dog

steel fox
#

nasa considers hotdogs a sandwhich

worn kite
#

the rest of my hair is too short for a proper headbang

#

like the swirling around kind

tired osprey
#

get more hair

tame terrace
#

yeah well nasa calls everything it launches up to the ISS a vitamin so

#

wtf do they know

steel fox
worn kite
#

catsup?

steel fox
#

ye

worn kite
#

cat soup?

steel fox
#

another term for ketchup

worn kite
tame terrace
#

pretty common

#

even today

steel fox
#

wheres that emote from byte

tired osprey
#

is that real?

steel fox
#

yeah

tired osprey
#

that protocol

#

wow

tame terrace
#

astronauts can't have a sense of humor?

worn kite
#

Victoria's Wonderland, I think

steel fox
#

there's also this gem

worn kite
#

💩 GWchadThinkeyes

tired osprey
#

where are you getting these from

steel fox
#

i just had these 2 saved from my time @ space camp that were funny

#

all the transcripts are online though

#

Also apollo 16 lost Ken Mattingly lost their wedding ring in space and found it on the way back from the moon on a space walk

bleak lintel
#

wow

#

clay went to space camp

#

did you try send the vapes to aliens

steel fox
#

i worked at space camp

#

but yeah i ripped a fat one for my boys the martians every day

bleak lintel
#

Lmfao

steel fox
#

\/ /\/

tired osprey
#

did they like it?

wild yarrow
#

lmao

steel fox
#

i think so

tired osprey
#

did they send something back?

steel fox
#

Nop

tired osprey
#

sad

steel fox
#

no u

#

watching youtube in 4k feelsbadman

wild yarrow
#

o.o

steel fox
#

LTT only channel that really supports it i've seen

bleak lintel
#

I have a selection of 4K anime images in my download folder that you just reminded me of

#

I should delete them some day

#

They take up hella space

worn kite
#

nuuuu

#

dont delet

bleak lintel
#

It's from when I tried to make an anime detection neural network

worn kite
#

sounds cool

bleak lintel
#

but then I remembered I have no experience with machine learning or neural networks

worn kite
#

how far into the project did it fail?

#

oh, that early 😒

bleak lintel
#

oh right after installing tensorflow

granite lake
#

Hey Joseph

bleak lintel
#

Oh no

granite lake
#

Lul

bleak lintel
#

Hello Jason

granite lake
#

You seem annoyed when I said hey

bleak lintel
#

How is fortnite treating you

#

Have you updated?

granite lake
#

I deleted it

#

💔

bleak lintel
#

understandable why

sour shale
#

lol

worn kite
granite lake
#

Controls are wierd on mobile

bleak lintel
#

oh dear

granite lake
#

I'll wait till I get my better pc

#

Also I can start game dev then

bleak lintel
#

unity or unreal

granite lake
#

Unity

bleak lintel
#

good

granite lake
#

Unreal requires god memory and cpu

#

😂

bleak lintel
#

And it doesn't support Linux!

#

🤣

granite lake
#

Talking about that. I saw a Linux user with epic games launcher installed today

#

So that means

#

Fortnite is possible for Linux ?

worn kite
#

steam play maybe?

#

or generic wine?

bleak lintel
#

how the

#

probably steam play yeah

steel fox
#

@bleak lintel send anime

bleak lintel
#

I think wine has issues with epic games launcher but proton may have fixed them

steel fox
#

id like to make anime detection

bleak lintel
#

I believe it was to do with the anti cheat

#

When I get back home I'll send them Clay

steel fox
#

👌🏾

#

ty based joseph

granite lake
#

@steel fox we won't send anime

#

😏

#

Why doesn't my gif load up

#

🤔

modern heron
#

0w0

#

I got to watch the channels change

#

its cool that it cycles through names then chooses some

mental stratus
#

sup everyone. Anyone in here good w/ the django rest framework? Trying to figure out how to construct a few views for an API I'm building

inland gull
#

@mental stratus just start writing your request handler.. I not good with django anyway and I ever tried Flask

mental stratus
#

well my question is more about if I have a collections of endpoints that all have part in common, like

/api/v1/companyinfo/basic/
/api/v1/companyinfo/vital/
/api/v1/companyinfo/averages/

I'm trying to decide how the views should be built

#

I want them all to be post-only but don't really see the point to write 3 separate views for that

#

can I nest them somehow?

worn kite
#

dunno Django, but usually you can make parts of the path parameters

#

so your schema would be like /api/v1/companyinfo/$TYPE/...

#

no idea how you'd do that in Django, but should be possible

mental stratus
#

yeah that's not a bad idea

#

or just submit the info type w/ the POST data

#

but then I have if-then logic inside the parent view which is ugly

#

Just trying to think of the most elegant way to do it thats all 😃

worn kite
#

depends on how different your logic is for each type

mental stratus
#

Not different at all really ... all it determines is which data comes back from the data provider

#

basic would be like company name, stock ticker, website, SEC number etc

#

vitals is some financial info

#

but it all comes from the same API and can get retrieved w/ a single request

#

I like your idea of sending the info type as an argument. Think I'm gonna start there and see where it leads. Thanks!

rough sapphire
#

do needs help with django

#

the master is here

tame pier
#
# For MAC (a.k.a. IEEE 802, or EUI-48) addresses, the second least significant
# bit of the first octet signifies whether the MAC address is universally (0)
# or locally (1) administered.  Network cards from hardware manufacturers will
# always be universally administered to guarantee global uniqueness of the MAC
# address, but any particular machine may have other interfaces which are
# locally administered.  An example of the latter is the bridge interface to
# the Touch Bar on MacBook Pros.
#

Huh

dusty gate
#

Do anyone know the way to get where this guy from(like country) when this user accesses your website? I intend to make web service for both Japanese and English users, and want to use some detection mechanism to determine the default language website shows to user

#

I'm gonna look through google myself too but if anyone knows something good let me know

cerulean basin
#

Look at Accept-Language in the header

modern heron
#

I mean, A simple way would be just check IP of user. There are many IP Locate APIs that will give you rough country estimates

dusty gate
#

Hm, tbh i totally did forget IP exists lol I'll start from that and accept-language, thanks!

cerulean basin
#

the header is better because I believe that is something that can be set by the user

#

whereas I could be visiting Germany for a week and not want all my websites in German.

bleak lintel
#

Accept-Language is ideal for localisation

#

If it's not present default to something or check IP

#

there are a mix of services on the internet, some will send me to a USA site when I browse them, some will send me to the norweigan site based on my localisation header

dusty gate
#

Is using both of them at same time a bad idea?

bleak lintel
#

I wouldn't say so, you can use them in an order of like, Header, then IP, then default

dusty gate
#

Alright, thanks! ❤

#

I was about to ask that is installing google auth to your web service costly but i totally forgot I'm gonna make user to use twitter to login lmao

bleak lintel
#

support multiple services so everyone is happy 🤠

dusty gate
#

Right, But I don't intend to make these email/password authentication system for now

bleak lintel
#

I did the same thing with most of my apps

#

I used discord oauth for a lot of my logins because I could reuse code lol

dusty gate
#

One of reason is that I don't know jackshit about securities aside from stop installing authentication system on your javascript lol

#

o discord oauth exists?

#

(And hashing your password of course)

bleak lintel
#

yeah discord has oauth

dusty gate
#

Hmm, I'll look into it, thanks! I gotta write down my plans and concepts first in my notebook first tho

#

I couldn't focus on job because this fucking idea keeps circling around in my brain

clear moss
#

I have recently converted a blog to a static site generated by Jekyll and am thinking about the git workflow for drafting and publishing new articles. Opinions between having a stock drafts branch vs. having a feature branch for each individual draft?

proper dune
#

Use Netlify with Hugo for your website. Hugo has drafts builtin. Netlify's default setting wont build the drafts. Your local server run by hugo server -D will show the drafts

#

To publish, just change it to

---
draft: false
---

and push and Netlify will build it again and render it this time

#

no need for messing around with branches

#

Netlify is great

clear moss
#

I'm currently doing that with Jekyll (deployed automatically to AWS)

#

I am thinking though that I like the idea of feature branches for drafts. When I'm doing a series I can edit the other post(s) in the series to add navigation links to the new post, and then roll them all out at once.

clear moss
#

Lovely... I need to manually invalidate Cloudfront caches when I deploy an update.

sullen thorn
#

So like what would a personal solutions engineer and a dedicated account team do?

clear moss
#

"personal solutions engineer" = "our stuff is complicated, here's a guy to help you figure out how to make it do what you want"

#

I assume

sullen thorn
#

Hmm - like is it just to explain their options to me? Or like can they help me setup a mail server or something?

steel fox
#

Guess that would depend on that company. I'd assume it to be someone to help setup stuff

sullen thorn
#

It’s still digital ocean

#

Hmm so u think it’s more like help set up a domain name on a server or somethjng

clear moss
#

Are there any free git clients for iOS that support pushing to remote repos?

steel fox
#

found this

#

but idk what the inapp purchases are

clear moss
#

Pushing to remote repos. 😃

steel fox
#

oh

#

feelsbadman

#

couldn't find the list anywhere but i saw free, remote repos, and something else on the website for it xd

clear moss
#

Yes, there are two or three that are "free" with an in-app purchase to enable pushing to remote repos. Kind of makes the free version worthless.

sand goblet
sour shale
#

I don't play consoles anymore

steel fox
#

That’s honestly an insane deal

sand goblet
#

Yep, 20 dollars off the xbox one x, over a two year contract that there's no getting out of

#

Insane.

sour shale
#

what desktop GPU is the xbox one x equal to 🤔

steel fox
#

its 0% apr friend

#

that's the insane part

#

you're not just saving $20 you're saving $840 and getting it's worth of interest through being able to freely invest it the first month, $820s, the second month, ... etc for 2 years.

sour shale
#

The S will cost you $530 in total compared to $640 if you were to purchase an Xbox One S and 24 months of Gold and Game Pass individually. On the other hand, the Xbox One X will set you back $840 in total instead of $860.

#

🤔

steel fox
#

so you could actually net $200 over the course of it with a 5%monthly investment, which i don't think is hugely unreasonable

sour shale
#

wut
how on earth do you get 5% monthly

#

5% compounded monthly = 12.6% annual

#

can't safely get 12.6% annual

steel fox
#

admittedly, I only checked one source, but 5% was what I saw as an average return they listed for months

#

but even at 3% you only lose like $30 over the course of the 2 years

sand goblet
#

You're ignoring the fact that in 2 years this hardware won't be worth that much

steel fox
#

I guess but idk how important that is when its the 0% plan vs paying all upfront

modern heron
sour shale
#

3% compounded monthly = 12.36% annual

This is also really unrealistic

modern heron
#

discord is litterally taking over steam

worn kite
#

sour shale
#

yes very cool

sullen thorn
#

Thank you kanye

languid kelp
#

guys

#

i had my IQ tested

#

it's 68

#

should i just give up ?

tulip palm
#

giving up ain't gonna make you smarter :P

sour shale
#

where did you have it tested

sullen thorn
#

u never know it might be 68

dusty gate
#

its a fucking 2018

#

let the machine do the logic for you