#ot2-the-original-pubsta

652 messages Β· Page 84 of 1

dull ridge
#

it's for school so

median blade
#

shared prefs is recommended for android

dull ridge
#

irdc if it's the greatest app ever

median blade
#

but you do you

dull ridge
#

just needs to work

#

yeeeup

broken sierra
#

guys guys

steel eagle
#

what about girls

odd sphinx
#

deep

median blade
#

what

steel eagle
#

when?

sharp spoke
#

why

jade bolt
#

which

jade bolt
#

lies, you broke the chain

elfin vine
#

@jovial island btw what's the discussion in your profile picture?

jade bolt
#

.sav @jovial island

#

ops

#

.savatar 675937585624776717

rustic harborBOT
#
Is this you or am I just really paranoid?
jade bolt
#

oh

elfin vine
#

Lol why's that your avatar haha

sharp spoke
# rustic harbor

lmao this actually makes sense because of the question mark in the avatar

jade bolt
elfin vine
#

Huh..

jade bolt
#

oh my bad, you're referring to crowthebird's

#

lolz

elfin vine
#

But... Bruh

#

If you picked that, it means you did choose that over a default avatar

sharp spoke
#

blue what is project writer? pithink

elfin vine
#

Social deception game

#

Like Among Us...

  • but with proximity chat
  • Natural elements and survival
  • Cooperation (big tasks you do collectively)
  • Chance to fight (no instant death)
#

Think Among Us with many of the best mods out there

#

Tru

idle beacon
slow summit
#

Hey guys, rust or cpp? why?

jade bolt
#

because i haven't learn it

slow summit
#

I was asking, more of practically

idle beacon
#

depends. what do you want to do?

odd sphinx
#

u didnt call it

blissful coral
#

serves them right tbh, since they did vote. Though gives us juicy news

placid patrol
#

lmao

#

rip UK

sinful sun
#

That sounds like BS

#

Its business as usual, nothing ever changes with politics

odd sphinx
#

lol

hollow heart
#

hnm i was pung πŸ€”

hazy laurel
hollow heart
#

it wasn't there

hazy laurel
#

RIP

#

got ghost ponged

karmic cedar
#

my GAN's generated samples are burning in the pits of hell

hexed nacelle
#

And the other lowkey looks liike the creator of Python

karmic cedar
#

real life troll face

buoyant hawk
#

does anyone follow the nba

steel eagle
#

Many people do, yes.

#

It's a fairly popular sport

proper python
#

Woah πŸ˜΅β€πŸ’«

steel eagle
hazy laurel
#

Haskell

#

I might eventually try F# again

steel eagle
#

correct, it is has kell

wide totem
#

@rapid zinc πŸ‘€

keen burrow
shrewd lance
#

I think the bigger question is why is it warped

keen burrow
#

There is most probably a mathematical explanation

#

because this warping can 100% be modelled by a simple2d function

elfin vine
#

Hmmm....

jovial island
lofty loom
#

Today I learned that the Dutch can not only control bodies of water, they can also control the wind

#

What other forces of nature has the Dutch controlled

odd sphinx
#

me

sinful sun
#

Fun fact, any country with wind turbines is stopping the wind

#

Or well, slowing it down

proper python
#

Like that

dusky cliff
#

wtf lmao

proper python
#

I have no clue what’s up with the image itself

#

Or maybe it’s also my phone screens fault

#

This is the image

median blade
keen burrow
proper python
#

No, just a screenshot

jovial island
#

thats a screen shot lmao

proper python
#

A person took a photo of the screen

jovial island
#

you are taking your image from another device

keen burrow
proper python
#

And then I took a screenshot of that photo in the discord chat

keen burrow
#

right

proper python
#

Or like

#

I did that for the static image

proper python
proper python
rapid zinc
jade bolt
# rapid zinc Context:

Context:

import webbrowser
for rick in range(511):
    webbrowser.open_new_tab("https://youtu.be/F4qicK39ISc")
keen burrow
rapid zinc
#

About 30 seconds

#

Enough to feel concerned, not enough to actually start looking for a solution to the problem ><

jade bolt
#

!d webbrowser.open_new_tab

#

@rapid zinc i wonder how you navigate to other tabs

#

shouldnt the tab icon for each be very small?

rapid zinc
#

firefox, so I can:

  • search by url
  • scroll
  • dropdown menu
wide totem
#

That doesn't say 2k

echo flower
somber belfry
#

@agile fractal this is a beta feature and it's currently only available to partnered servers

agile fractal
#

Sorry-

agile fractal
somber belfry
agile fractal
#

Ah, so I can't do that for my server-

vague shadow
agile fractal
median blade
somber belfry
somber belfry
#

πŸ₯©

lofty venture
#

Omg

fluid plank
#

im melon-gal

upbeat sandal
#

Is this otn about me

#

What did I do

hidden kernel
#

i think i remember this one

#

oh

#

because it was me

upbeat sandal
hidden kernel
#

lol someone called you "fella" in a help channel and I though it was funny

hazy laurel
#

Stelercus is a feller

#

which is either like a western accent for "fella" or... someone who fells trees, I guess

lofty venture
rapid zinc
#

hahaha

#

!ban 757031849909551114 selfbot

clever salmonBOT
#

:incoming_envelope: :ok_hand: applied ban to @grave umbra permanently.

hazy laurel
#

spill the tea

echo flower
#

what happened?

#

did not see

rapid zinc
#

They used a ghostping selfbot command

echo flower
rapid zinc
#

idk

hazy laurel
#

-ban @everyone

#

oops. how did that not work

#

It's worth noting that uh... that was a joke, and I hope it was funny

rotund python
#

if I have a component made out of GPLv2, should be my source code opened or I can keep it private?

round moss
#

Your code will have to be under GPL2/3 specifically afaik

rotund python
#

yeah, that's I already know

#

nvm though, I already found ultimate guide with FAQ to all questions

#

apperently the code can be kept private

#

but if it would be ever one day become published

#

I would need it being licensed/distributed as GPL2

#

oh...

#

plus... if i will distribute binary files

#

I will need to distribute agreement to provide source code of the program by request apperently

lofty loom
#

Ah yes, the GPL

"Fuck you you're gonna have to make it open source whether you like it or not"

#

I went the way of the BSD-like licenses

rotund python
#

if the company provides the program as service as their own servers ;b

#

at least this loophole exists for GPLv2

#

aGPL closes this loophole

lofty loom
#

I'm fine with the LGPL

rotund python
#

I would have to leave with GPLv2, whatever I want it or not at the current job

lofty loom
#

Since only the code used (such as a library) has to be forced open source, not the entire project

rotund python
#

the only thing left to worry, compatibility...

#

which libraries I can use with GPLv2

#

I for example wished to use... PyQT5

#

but it has complications with requiring payment for commercial usage

#

how would it merge with GPLv2 is a good question

#

better perhaps to choose something more open source, Tkinter, Kivy? to avoid the problems

lofty loom
#

That sounds like a headache to deal with

steel eagle
#

GPL stuff gives me a headache and a half

lofty loom
#

There's Tkinter and Kivy yes, I've also been meaning to try DearPyGUI and Pywebview. I've heard of PySimpleGUI and Pyside

steel eagle
#

it's why all my stuff is released under MIT

lofty loom
#

Oh wait PySide are Qt bindings

steel eagle
#

WxPython also for GUIs

#

Pywebview is slick, I enjoy using it

lofty loom
#

Since BSD usually only applies to the software itself, or so I've read

steel eagle
#

the backend actually runs on Haskell with Scotty

lofty loom
steel eagle
#

Literally just static HTML/CSS

#

likely going to use a static site generator for it, to avoid using a database on the webserver side of it

#

local data will use sqlite for the "VTT" setup

#

basically will just have to write a bit of typescript to get interaction up to snuff

#

and that is hopefully going to be the worst thing I have to do

lofty loom
#

I'm honestly not sure whatever's going on at Qt land

elfin vine
#

MIT is the way honestly

rotund python
#

I work in commercial org.

elfin vine
#

I really like it, "Do whatever you wish and want to just include the license*.

jovial island
#

lol

lofty loom
#

Basically "Do whatever you want, credit me and include the license. I don't give warranty lol"

rotund python
lofty loom
elfin vine
#

That literally the terms, and I can say that because I can read it. Apache and the BDL (or is it BSL) have similar terms but I don't want to use them because I don't understand them.

elfin vine
lofty loom
elfin vine
#

In general, just follow the netiquette and you're good as far as I am aware.

elfin vine
lofty loom
#

There's also the 4-Clause BSD license

lofty loom
elfin vine
#

Yeah so if someone forks my project they can't advertise it as such (other than saying it's a fork). IANAL though so I guess we may never know

#

It is pretty uncommon for code licenses to be tested in court so many of these things haven't been tried.

lofty loom
#

Then there's that one derivative of the BSD 2-Clause license that also covers patents

rotund python
lofty loom
#

The nice thing about permissive licenses is that I don't have to think about these

rotund python
#

as long as I don't encounter stuff like aGPL

#

that's just the nuts situation when I need to fulfill a bit of desktop development as well

lofty loom
#

Ngl seeing that graph

#

It just makes me think the GPL is just a pain in the arse

#

Maybe other than the LGPL

rotund python
#

MIT looks indeed cool in this chart

#

Kivy is MIT πŸ˜‰

#

already loving Kivy in advance

lofty loom
#

MIT and BSD are like siblings

#

The only difference I see with the 2-Clause BSD License and the MIT License is that the MIT License by default covers the documentation too (unless you use a separate license)

#

For 2BSD it doesn't cover them, but can be

rotund python
#

Tkinter is Python license, it is written being similar to BSD license. So it should be good I guess?

lofty loom
#

Yeah probably

rotund python
#

or no. actually it is more complicated

#

different resources tell different stories

lofty loom
#

Kivy has the added benefit of also covering mobile interfaces

rotund python
#

Tkinter is Python license which is close to BSD license

#

so in theory there should not be issues

#

all right

#

so I have a choice between Tkinter, Kivy and PySide then

#

PyQT5 is thrown away as license incompatible

pliant trench
elfin vine
#

Because the license requires that the license is included if someone makes any changes

exotic hound
#

argh i hate java, gradle and all that bloaaaat stuff, i've spent 5 hours on gradle problem

#

why the f did google even choose java as android language

#

java sucks

median blade
#

they chose kotlin for android app dev right?

exotic hound
#

yea but kotlin is jvm language thats why it sucks too

round moss
#

because java was the only language for large software projects at the time

#

you also had C and C++, but those would be far worse

exotic hound
#

why not golang or python, it's much better than java i think

round moss
#

android predates usable go and usable python

#

and you need parallel threads in android, which python cannot do

exotic hound
#

i hope fuchsia doesn't rely on jvm

#

*language

round moss
#

android doesn't use the jvm

#

it has it's own runtime afaik

exotic hound
#

i mean jvm language

round moss
#

with compilation

#

jvm is not a language, it's a runtime

#

you probably mean jvm bytecode

exotic hound
#

java-like language

round moss
#

but honestly, if you actually read up on gradle to an intermediate level, it starts to make sense

#

it's just not a simple thing like pip or go

#

it is an elaborate, complex system for managing dependencies for the insane hell that is dependencies in java

#

java also happens to predate a central package repo

exotic hound
#

sorry I don't want to discuss here, I've given up

#

i think java should have its own dependency manager

#

like pip or npm

round moss
#

It does

#

Maven

#

Trust me, gradle is an improvement

exotic hound
#

mmm ok

#

that's good too

sinful sun
#

Gradle > maven

#

First of all its not cursed xml

#

Downside is you gotta learn some groovy to cope (?)

sinful sun
#

315 when???

civic plank
#

Soon lol. A couple more months. (For 5 reps atleast)

#

I hit it for a single but doesn’t count on my book until clean 5 reps XD

topaz socket
#

How many std's do u have?

civic plank
#

just turned 20 πŸ˜„

topaz socket
#

Um

civic plank
#

XD

topaz socket
#

...

#

I don't even wanna know

#

How

civic plank
#

mayb someone hacked u 😱

topaz socket
#

Idk how u got so many stds

civic plank
#

🀨

topaz socket
#

How

civic plank
#

im thinking about it

topaz socket
#

Well there's only 1 way to get an std ig

civic plank
topaz socket
#

That's how

#

Ok bye I'm in the middle of math class

magic atlas
#

!mute 844657199229042708

clever salmonBOT
#

:incoming_envelope: :ok_hand: applied mute to @topaz socket until <t:1632941595:f> (59 minutes and 59 seconds).

civic plank
#

lol

hazy laurel
#

I didn't click that video... was it bad? D:

civic plank
#

me neither. my guess it was a bass boosted loud unfunny meme

dusky cliff
#

twas nsfw

hazy laurel
#

oh my

civic plank
#

oh yikes

magic atlas
#

Yeah, but also the prior comments weren't great either.

placid patrol
#

wtf did i just read O.o

civic plank
placid patrol
#

that's a yikes

#

what a weirdo

autumn sequoia
autumn sequoia
#

LMAO

civic plank
#

the baby koala is so similar to how a human baby would act

autumn sequoia
civic plank
#

lmao

#

i would much rather have koalas take over the world instead of humans

#

i think the only dangerous thing about koalas are their claws

#

dont think they bite

sinful sun
#

Koalas are hella dumb

civic plank
#

😒

sinful sun
#

You can put eucalyptus leaves in front of them and they wont eat it

#

Also who the fuck decides to just eat eucalyptus leaves

#

That shit's poisonous

civic plank
#

i know some animals build up an immunity to poison

#

i think the honey badger is one of them. they get poisoned by a snake and they just take a quick nap

sinful sun
#

But snakes are nutritious

#

Leaves are 90% water

#

Thats why all they do is sleep and eat

civic plank
#

true, no energy from their diet xqcOmega

sinful sun
#

Low energy animal

dusky cliff
#

hello are yall talking about me

civic plank
dusky cliff
#

im just the low energy without the cuteness

civic plank
#

haha

tribal tinsel
elfin vine
#

Who said koalas are cute?

#

They sound horrific.. literal bears

languid osprey
#

@hazy laurel

hazy laurel
#

so then how come nobody's got a linter that works properly in VSCode

#

any time I see anyone programming Python on VSCode, they've got no linting

#

only syntax highlighting

languid osprey
#

what

#

works fine for me

#

I barely configured the linter

hazy laurel
#

I've seen it so many times in the help channels

languid osprey
#

I don't do python all that much in vscode though

hazy laurel
#

People who use VSCode can't solve simple issues because their linter isn't working

#

well. not because

#

but it'd be a hell of a lot easier

languid osprey
#

just tried it

#

works fine

#

and my language server is on default

hazy laurel
#

idk. I hate using VSCode for most things

languid osprey
#

I use it for rust, pycharm dominates for python

hazy laurel
#

Any time I wanted to use VSCode for anything, it meant going into the configuration files

#

or configuring launch/debug files

#

really annoying stuff

sinful sun
#

Linters work fine, its 99% something they've done wrong

#

ie not activate their venv

#

Or not have proper dir structure

#

Its a linter, not god

#

with that said, fuck pylance

lofty loom
lofty loom
sinful sun
#

its too annoying when youre trying to write small scripts

lunar basin
#

can't you just ignore it? how annoying are the errors?

sinful sun
#

yellow squiggly lines are plenty annoying

hazy laurel
lofty loom
#

Currently I'm using autosave to get live linting

lofty loom
hazy laurel
#

so that'd explain why people don't see errors

#

that's kinda dumb lol

sinful sun
#

pylance bad, change my mind

lofty loom
#

I can't see why it's bad tbh. Left the previous one Jedi for Pylance

#

If it also ends up doing Mypy's role too

sinful sun
#

its not bad no

#

doesnt do what mypy does tho

lofty loom
#

Pylance has a type checking option, by default it's at basic but can be set to be strict

#

Because of that I haven't seen the need to install Mypy atm

sinful sun
#

yesterday i ran mypy on the files at work

#

its a tkinter app

#

255 errors across 30ish files

#

deleted the branch immediately and did something else

echo flower
#

like amazing

languid osprey
#

In my experience, VSCode outplays it

echo flower
#

i like how my vscode looks

#

but clion is miles better in predicting

languid osprey
#

not quite

#

VSCode + Rust-Analyzer extension are amazing

echo flower
#

i am using rust-analyzer

languid osprey
#

ah

#

hm

#

ohh

#

yeah I'm not using the native intellisense for prediction

#

I'm using tabnine pro

echo flower
#

of course it's better then

languid osprey
#

free if your a student :P

echo flower
#

smh our school didnt give us ids this year

#

what should i put for ID

sinful sun
echo flower
daring jay
sinful sun
#

consolas best

languid osprey
#

firacode

languid osprey
#

something I've got to fix tomorrow

#

Got my blog to work, now to make the code pretty

daring jay
sinful sun
#

i like my terminals docked to the right

languid osprey
#

firacxode best vfont

#

fuck

sinful sun
#

but i got a big screen

daring jay
#

My favorites are Victor Mono and Fira Code

languid osprey
#

I dont dock my terminals

#

wait

#

dock?

sinful sun
echo flower
#

i just move my terminals to the editor space

sinful sun
#

i mean split off to the right

languid osprey
sinful sun
#

cause 24inch screen can fit it

languid osprey
#

oh

#

fair

echo flower
#

good point

proper python
#

learning calculus on the fly has been an... interesting experience

ornate scroll
#

mmmmm

#

toxins

lapis plinth
#

i eat asbestos for breakfasts

#

and guzzle paint till i faint

fluid plank
#

ah sounds like this channel is for me

steel eagle
#

looks back to a couple of years ago when I had serious addiction problems

#

yeah sounds about right

fluid plank
#

i dont have substance addiction but this channel is still a mood

steel eagle
#

it's not a fun path

civic plank
#

If discord says a password is too common or easy to guess, does that mean they snoop around users passwords?

#

How would they know if a password is too common without looking at their users passwords

compact dagger
#

Then after the hashing they have no idea what password made that hash. And that is what it checks against when logging you in.

civic plank
#

Ahh I see

fluid plank
#

hmmm so is that sufficient to save u from having bad passwords?

civic plank
#

I thought they had like a plaintext database of common passwords and they checked it against that πŸ˜†

compact dagger
#

Yeah. As a bad password wont get hashed so to say as it gets blocked by the checks.

civic plank
#

Oh lol

compact dagger
#

Together with generic checks like minimum length of 8, 1 digit, etc.

civic plank
#

Ah yeah

compact dagger
#

Because password12345678 is very easy to crack

#

Even if it would "pass" those checks

civic plank
#

For my new project I’m not even gonna deal with passwords

#

Straight up google auth or other services

#

Too much of a burden

compact dagger
#

As now your google account is no longer just for google services.

#

Its for ALL services

#

Loose google, and you loose EVERYTHING

civic plank
#

Oh true

compact dagger
#

Stuff like openid would "help". But nobody allows arbitrary login services.

#

So even if its a decentralized auth system, its made void by that people just forcefully whitelist only google, facebook and twitter.

civic plank
#

Would you say a mix of both option is good? Having auth from other services but also your own auth service?

compact dagger
#

Yeah. Not everyone wants to use google for your service. Or even yet has google.

civic plank
#

Oh yeah definitely.

compact dagger
#

But like, id just point you to premade auth systems like keycloak or ipsilon.

#

Then just having those at a auth.example.com or something to give you keys you can deal with at the application level.

civic plank
#

Oh interesting. I’ll look into those premade systems never heard of them before. Thanks

compact dagger
#

Yeah its called identity providers. There exist many more

#

But i only really know of the Redhat projects

#

You can even make things like Keycloak front your application and deal with the auth at that level. And your application can be free of auth related code.

#

But i dont know which of the two are the so called "better practice"

civic plank
#

This one looks promising

proper python
#

how do you take the curl of a vector field that has no function, just a bunch of values like a matrix

haughty oriole
#

@proper python are you sure that's a vector field

jovial island
pliant trench
cinder sigil
daring jay
#

Rust is a great language

jovial island
#

@daring jay would you like to try and convince me to learn rust? I fail to find motivation or advantages for my usecase (web backend)

daring jay
#

I just learned it because it seemed fun and the best of my options for learning a low-level, compiled language

#

I've come to enjoy how nice the compiler is

jovial island
#

I like a compiler that is really strict, what I don't like is small ecosystem

daring jay
#

Rust's ecosystem is hardly small, it's constantly growing

unreal sigil
#

I haven't worked with Rust a ton yet, but so far I've found nothing but great stuff in their docs and all the other stuff they created

#

So working through problems was no issue

daring jay
#

Also, the standard rust toolchain is absolutely wonderful

unreal sigil
#

cargo lemon_hyperpleased

daring jay
#

No need for 3rd party tools when you have rustfmt, clippy, rustdoc, etc.

echo flower
#

what is clippy

daring jay
#

Linter

echo flower
#

i see

#

can i install it on vscode

daring jay
#

No afaik, it's a CLI tool

echo flower
#

so flake8 but rusty?

daring jay
#

Although someone may have made support for it as a VSC extension

#

Yeah

echo flower
#

i see

#

in that case

#

clippy be damned

daring jay
#

Although the compiler does quite a bit of the linting

vital crown
#

I mean, I'm sure it can do it, maybe there are even some decent frameworks, and I'm sure it's very fast, but why bother?

jovial island
#

exactly

vital crown
#

You could just use something more standard, like Python or node.js, and if you have something that needs to be super fast, you can write separate Rust services and just call them.

jovial island
#

I already use .NET at work

#

and it has some of best benchmarks

#

and it has stupidly large ecosystem of packages

#

like identity, entity framework etc.

daring jay
#

What makes Rust more or less standard than Python or Node besides the fact that it's been used for longer so it has a larger ecosystem?

jovial island
#

codegen tools, dependency injection etc

echo flower
#

rust feels relatively less established

jovial island
#

i mean yea

echo flower
#

i mean it has extensive tools and stuff
but idk

jovial island
#

there is not a single job offering for rust at my place

echo flower
#

its just newer

daring jay
#

Rust is just too new, but its ecosystem is growing

vital crown
daring jay
#

Fair enough

#

I just have come to love Rust so I use it for all sorts of things

echo flower
#

rust is fun to use

daring jay
#

I find it really nice to use

vital crown
#

I'm big on the right tool for the right job.

#

Rust is great, but it's great for maximizing performance primarily.

daring jay
#

I find it great to write in personally, so it's what I try to use

echo flower
#

i wonder what's --release
makes my code a heck of a lot faster

jovial island
#

i mean, is the performance of rust even a valid argument as it's pro?

vital crown
#

I think it's amazing how convenient Rust is given that it has to work around ensuring high degree of control over memory. But it does have to work around it. It can't rely on a GC like Python or C#.

jovial island
daring jay
echo flower
#

i see

jovial island
#

clang/gcc have a lot more optimization options

#

like level of optimization

#

( -O1, -O3 ...)

#

gcc has like a whole page for those options lel

#

long page

echo flower
#

i recently got this thing with vs build tools

#

can you use it to sign pyinstaller binaries

proper python
haughty oriole
#

@proper python the point is that you have a list of coordinates (vectors) where you have arrows (vectors) -- that's a vector field

#

if you have a list of coordinates where you have a list of numbers (scalars) -- that's a scalar field

#

I don't know how to calculate the numerical derivative like that but I'd look up how to calculate the normal 1d derivative and step up from there to partial derivatives and from there to the curl

#

since you don't have the functional form

fluid plank
# daring jay It runs optimizations and other things to prepare it for production. The modes a...

Performance highlight of the week for @rustlang: The new pass manager in LLVM 13 (now in nightly) leads to significantly better compile times. Almost every benchmark shows improvements between 5-20% (Right: % change in instruction count; Left: times above significance threshold)

Retweets

101

Likes

640

haughty oriole
#

@fluid plank I can say something to make you want to block me

#

how would that work

jade bolt
#

@fluid plank are you a he or she or nonbinary

jovial island
#

@sharp spoke here

fluid plank
#

so i am a he

jovial island
#

!e

n = 5
for i in range(1, n+1):
  for i in range(1, i+1):
    print(i, end=' ')
  print()
clever salmonBOT
#

@jovial island :white_check_mark: Your eval job has completed with return code 0.

001 | 1 
002 | 1 2 
003 | 1 2 3 
004 | 1 2 3 4 
005 | 1 2 3 4 5 
jovial island
#

ah yes, told ya works!!

#

just because its python and range.

tranquil ridge
jade bolt
#

@jade bolt

jovial island
#

jeez i do have a dark pfp

jade bolt
sharp spoke
jovial island
fluid plank
#

i have fallen

jade bolt
#

!e

print(1)
print("1 2")
```~~ i'd say this is a better practise~~
clever salmonBOT
#

@jade bolt :white_check_mark: Your eval job has completed with return code 0.

001 | 1
002 | 1 2
jovial island
#

does @sharp spoke have you?

sharp spoke
jovial island
sharp spoke
jovial island
#

oh lol, i've just played around with these quite some time in java so they're handy.

#

also get back to that channel, guy is stuck

sharp spoke
#

!e ```py
n = 10
list(map((lambda i: map(print, range(1,i+1))), range(1,n)))

clever salmonBOT
#

@sharp spoke :warning: Your eval job has completed with return code 0.

[No output]
sharp spoke
#

:((

dusky cliff
#

lazy ass map

jovial island
#

map is lazy yeah, list it.

clever salmonBOT
#

@sharp spoke :warning: Your eval job has completed with return code 0.

[No output]
dusky cliff
#

inner map too

jovial island
#

!e

n = 10
list(map((lambda i: list(map(print, range(1,i+1)))), range(1,n)))
clever salmonBOT
jovial island
#

yes, now what about end lol

dusky cliff
#

!e print("1\n1 2\n1 2 3\n1 2 3 4\n1 2 3 4 5")

clever salmonBOT
#

@dusky cliff :white_check_mark: Your eval job has completed with return code 0.

001 | 1
002 | 1 2
003 | 1 2 3
004 | 1 2 3 4
005 | 1 2 3 4 5
dusky cliff
#

ez

jovial island
#

get out, you're fired.

dusky cliff
#

smh

jovial island
#

!e

n = 5
list(map((lambda i: list(map(lambda _: print(_, end= ' '), range(1,i+1)))), range(1,n)))
clever salmonBOT
#

@jovial island :white_check_mark: Your eval job has completed with return code 0.

1 1 2 1 2 3 1 2 3 4 
sharp spoke
#

!e ```py
n = 10
list(map((lambda i: list(map((lambda x :print(x, end=[" ","\n"][x//i])), range(1,i+1)))), range(1,n)))

clever salmonBOT
#

@sharp spoke :white_check_mark: Your eval job has completed with return code 0.

001 | 1
002 | 1 2
003 | 1 2 3
004 | 1 2 3 4
005 | 1 2 3 4 5
006 | 1 2 3 4 5 6
007 | 1 2 3 4 5 6 7
008 | 1 2 3 4 5 6 7 8
009 | 1 2 3 4 5 6 7 8 9
jade bolt
jovial island
#

bruh

dusky cliff
#

thank you aph

jovial island
fluid plank
#

bring pure sodium

#

water will be on fire

dusky cliff
#

na

jade bolt
fluid plank
#

:D

jovial island
#

smoke on water, fire in the sky

sharp spoke
jovial island
#

@steel marlin you may ask here.

jovial island
tribal tinsel
sharp spoke
echo fern
#

one could also use x==i

#

that's also 0 for x<i, 1 for x=i.

sharp spoke
#

i mean

#

yes that works

#

idk i just thought of floor div on the top of me mind

fluid plank
steel eagle
#

How. What.

fluid plank
#

ha?

#

im getting schooled so dont worry

sharp spoke
placid patrol
#

πŸ₯΄

fluid plank
#

i have a male reproductive system but idk what my gender is

placid patrol
#

gender is a lie

#

my gender is none type

#

😎

void axle
#

yo

placid patrol
#

howdy

sharp estuary
#

I have a question about NFTs and Ethereum:

NFTs are popular nowadays, and you always hear about them being saved on the blockchain..

How exactly do you retrieve the associated data of a NFT from the Ethereum blockchain? e.g. If I wanted to create a page that lists all the NFTs in a collection, as well as their properties?

Help or pointers to the appropriate resources would be greatly appreciated, thank you

round moss
#

to my knowledge, an NFT is just a link to the image/whatever else

sharp estuary
#

I'm pretty sure there is some metadata/properties associated with the NFT

#

But either way, I want to know how to actually retrieve those from the blockchain

grim seal
#

@jovial island siren siren siren

nova ember
#

run

#

hide

jovial island
hidden kernel
#

@jovial island i can help you get in

jovial island
#

lol im good for now

jovial island
sharp estuary
#

I tried; there doesn't seem to be a huge community discord for crypto/eth DEV like this Python discord.

#

I found like 5-6 servers with ~200 ppl

signal flax
#

What are the chances that the bots this server aren't written in python

daring jay
signal flax
#

That's what i thought

lofty venture
#

!e print('PYPYPYPY')

clever salmonBOT
#

@lofty venture :white_check_mark: Your eval job has completed with return code 0.

PYPYPYPY
lofty venture
#

!e print('``` weeee')

clever salmonBOT
#

@lofty venture :warning: Your eval job has completed with return code 0.

[No output]
lofty venture
#

?

#

What

#

The

#

Hell

fluid plank
#

🚰 here

#

now you wont be dry

lofty venture
#

lol

fluid plank
#

become πŸ‰

lofty venture
#

arrr

#

Just Melon

#

lol

fluid plank
#

no

#

i will cook u

lofty venture
#

Nnnoooo

fluid plank
#

πŸ”₯

lofty venture
#

Online -> Offline

#

Help

#

Sos

jovial island
#

if i talk here it counts for voice channels allowance?

#

πŸ˜‚

fluid plank
#

well yeah? but just dont break rules

#

or get cooked

jovial island
#

ok then, for how long should i talk?

#

or it counts the msgs?

lofty venture
#

Bye

slate leaf
#

We don't really recommend spamming just to meet a minumum

lofty venture
#

I got to go

#

before cooked

#

lol

slate leaf
#

Instead, focus on having a productive conversation while here in the community

jovial island
#

we*

slate leaf
jovial island
#

ok, so i need to make a final project for my py course

#

and i really dont know what should i do

#

(can include django sql tkinter selenium..)

#

any suggestions?

slate leaf
#

Maybe a website / GUI app / some sort of database?

jovial island
#

yea.. i did that

#

but i need a topic for it

#

also smth challanging

slate leaf
#

Well what interests you?

jovial island
#

f1

#

clothes

#

sneakers

#

books

#

πŸ˜‚

slate leaf
#

Create a data visualization about how the clothing the F1 drivers wear affects their racing scores

jovial island
#

wow

#

awesome

slate leaf
#

There is likely no correlation, but we don't know yet

jovial island
#

yea

#

that i wanted to say

#

:)))

#

so i should use pandas matplotlib

#

seaborn

#

and statistical stuff?

slate leaf
#

All sound like good options

jovial island
#

how hard do you think it is to learn anoter programming language after you already know one?

slate leaf
#

I would think it gets easier, just have to learn the new syntax and other language - specific aspects

#

But the core ideas should transfer between them

fluid plank
# jovial island yea

i see youre already knowledgeable, it wont take a while to get voice verification then

fluid plank
jovial island
#

thanks for that, i cant appreciate my own knowledge so it’s good to hear that

fluid plank
#

or something like a paradigm that u have not used before

jovial island
#

unfortunate voice access is not for knowledgeπŸ˜‚

fluid plank
jovial island
jovial island
fluid plank
#

js is weird anyway but i dont use it haha

jovial island
#

i had to learn a little about it, and i was soo grateful that py exists

fluid plank
jovial island
#

what is julia?

fluid plank
jovial island
#

oh, ive never heard of it before

#

so what is it’s speciality?

fluid plank
jovial island
#

lol moderna vaccine?

#

how’s that?

fluid plank
#

the last one is just an example of what it can do

#

it helped create moderna through pumas.ai

jovial island
boreal hawk
#

sheesh

fluid plank
#

a machine learning framework or solution for pharma stuff

boreal hawk
#

gotta get them messages

jovial island
#

so you’re saying that julia is more developed than py?

fluid plank
fluid plank
boreal hawk
#

btw g eazy dropped a new album

#

just sayin'

jovial island
jovial island
fluid plank
#

julia is fast because of LLVM

boreal hawk
fluid plank
#

it has multithreading support too :3

#

if u want to know more, u might wanna fiddle with the language for a bit and see if you find it comfy

jovial island
jovial island
fluid plank
fluid plank
jovial island
#

thank youu

#

☺️

#

i’ll study them

#

llvm and julia

#

also can you explain me what should i do to activate vc permission?

tribal tinsel
clever salmonBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

jovial island
#

yeey

tribal tinsel
#

I don't know why so many people are obsessed with voice perms

fluid plank
#

same

tribal tinsel
#

I have them but only because I just typed the command out of curiosity and it went through XD I didn't know I met the requirements, I just heard that if you don't meet them, the bot messages you your stats and how yoh fail... But instead I got the role :c

fluid plank
#

i just realized idk what my gender is based on what happened yesterday

jovial island
#

?!

tribal tinsel
real forum
tribal tinsel
real forum
#

Ahh

jovial island
#

chilling with osu logged out lol

#

Hey everyone

#

How is python going on

hazy laurel
#

let's ask him

#

quick @dusky cliff play your part

real forum
#

Who is hspooky

#

I only know python!

dusky cliff
jovial island
#

Nice

#

Where should I ask for help for writing codes on python?

#

Which channel?

real forum
hazy laurel
jovial island
#

Okay thanks

fluid plank
#

.catify

rustic harborBOT
#

Your catified nickname is: uncomfyhalomacro | α˜‘α˜α—’

jade bolt
#

.uncatify

pliant trench
#

.dogify

fluid plank
#

.lemonify

#

it worked!

tawdry salmon
#

.lemonify

#

You tricked me ;(

rotund python
#

Hmm. I am backend and devops person

#

and I was given a task out of web dev sphere

#

to make a desktop application

#

and looking how it works at very low network level

#

I heavily think, I should say it is out of my skill box to manage it πŸ€”

#

there is whole bunch of involved C, and/or optionally added Golang/C++

pliant trench
tribal tinsel
pliant trench
rotund python
#

and I could technically do desktop applications... PyQT5 or something like that, I don't mind to apply

#

but this C stuff is too low level for me πŸ€”

pliant trench
#

who said C is involved in desktop application?

rotund python
#

in the task I am given, it is involved

tribal tinsel
#

But why?

#

Why cannot it be done in eg Python?

rotund python
#

because there is need to raise VPN tunnel

#

from desktop app

#

technically I think it should be possible to do with just... I don't know, console interactions?

tribal tinsel
pliant trench
rotund python
rotund python
#

this is proxy

#

not VPN

#

I need VPN at the third OSI level

tribal tinsel
rotund python
#

yeah, going with console interactions is an option I guess, I mentioned it above

#

in windows it is going to be a bit more messy though

tribal tinsel
#

But Windows has console as well and a lot of gui things install cli tools as well

rotund python
#

point taken

#

it should be possible then

#

if I will find appropriate CLI interface to the needed instrument

jovial island
#

hi i cant message @copper tartan

#

does anyone khow why

barren marsh
jade bolt
#

lolz

odd sphinx
#

lol

rotund python
#

yaaaaay

#

I found how to use necessary CLI interface to the thing I need

#

success

#

It was so alienish. it involved... windows CLI interface!

#

surprisingly it worked

dusky cliff
#

grats

rotund python
#

yeah. thanks

#

I was surprised to find that windows apperently has similar thing to linux services

#

it was different, but nevertheless it worked at the CLI interface as well

upbeat sandal
#

@vital crown your day has come πŸ˜„

tribal tinsel
noble totem
#

!e ```py
import random

print(random.choice)

print("-------")

from math import pi

print(math.e)


@shadow basin
clever salmonBOT
#

@noble totem :x: Your eval job has completed with return code 1.

001 | <bound method Random.choice of <random.Random object at 0x560871552000>>
002 | -------
003 | Traceback (most recent call last):
004 |   File "<string>", line 9, in <module>
005 | NameError: name 'math' is not defined
upbeat sandal
sharp spoke
#

oh wait stelercus changed the bg in pfp :woke:

upbeat sandal
sharp spoke
#

ah ohkay

lunar basin
#

dementati [sic] of limitations

vital crown
#

Aaah

#

Yeah, I think this is my only one

humble valve
#

pals... i reviewed the libgdx game jam 😻
https://www.youtube.com/watch?v=Al_QDQccLFM

The game jam takes place every few months! While I made a submission, I also wanted to take the time to play and review everybody's entries.

LibGDX is an open source, free to use and distribute, multi platform game framework written in Java. Check out more on the github at https://github.com/libgdx/libgdx

Check out everybodys games:

http...

β–Ά Play video
#

i think the funniest moment i realized afterwards, is when some of the people mentioned to me the game was behaving differently on my machine than theirs

#

an excellent moment to remind everyone to fix their timestep and learn what the delta is lemon_pika

fluid plank
#

time to troll

lapis plinth
#

could you do the troll

fluid plank
lapis plinth
#

seems like a troll

fluid plank
#

it is a low level mob right?

#

πŸ€”

lapis plinth
#

double a goblin

fluid plank
#

a hundred slimes.. i see

lapis plinth
#

yeah they nerfed slime xp after that farming glitch

fluid plank
#

so how was Kokomi?

#

i have raiden shogun

lapis plinth
#

ew genshin

fluid plank
#

u just dont like thicc mommies

lapis plinth
#

thicc is the new bad

fluid plank
#

why?

#

πŸ€”

lapis plinth
#

just is idk

placid patrol
#

just be the thicc mommy yourself

#

ez

#

😎

jovial island
#

Hi

placid patrol
#

hello

jovial island
#

How are you

placid patrol
#

good enough i suppose

clever salmonBOT
#

@vital knot :white_check_mark: Your eval job has completed with return code 0.

['Hello, World!']
wise osprey
#

hey bros i made a rickroll script

clever salmonBOT
wise osprey
#

how can i send it ?

#

yup where is the option

#

ok

wise osprey
#

we can also use the playsound module but

sinful sun
#

πŸ…±οΈython code in my offtoπŸ…±οΈic channels?

jade bolt
#

and it looks like a virus for me lol

shrewd lance
#

It basically is

#

In its most innocent form

jade bolt
#

yep

#

they could've go to some virus link/ malicious links

shrewd lance
#

eh, malicious links on their own aren't generally dangerous, it's the interaction with them

#

currently it's similar to the very first viruses, which would spread "I love you" over a network

dusky cliff
#

snakes arent dangerous, getting bitten by them is

jade bolt
#

therefore, i bite snakes first before they can

shrewd lance
#

Being put in front of a terrarium in a zoo is not very dangerous, walking in and touching the snakes, however

rugged portal
#

!source

clever salmonBOT
wise osprey
jade bolt
shrewd lance
#

it's not about the result

#

it's about the ~~Expansion Potentialβ„’ ✨✨

wise osprey
jade bolt
#

i don't really get it then lol

lofty loom
#

Me neither

jade bolt
#

!e

import random
print(random.choice("aaa"))
clever salmonBOT
#

@jade bolt :white_check_mark: Your eval job has completed with return code 0.

a
wise osprey
jade bolt
#

!e

print("a")
clever salmonBOT
#

@jade bolt :white_check_mark: Your eval job has completed with return code 0.

a
jade bolt
#

tell me what is the difference

wise osprey
#

so what

lofty loom
shrewd lance
#

The changes required to get randomized results in the first case are minimal

wise osprey
#

yup

jade bolt
wise osprey
#

so what ?

shrewd lance
#

Though the expansion potential would be better with no duplicates and with a name for the list

wise osprey
#

ok can you improve that code please

lofty loom
wise osprey
#

i hate pycharm logo_pycharm

#

i love vs codelogo_vscode

shrewd lance
#
import webbrowser
import time
import random

sites = ['youtube.com/watch?v=dQw4w9WgXcQ']

while True:
    site = f'https://{random.choice(sites)}'
    webbrowser.open(site)
    delay = random.randrange(5, 100)
    time.sleep(delay)
lofty loom
#

I just like I can have one editor

shrewd lance
#

pythons don't bite, they suffocate their victims πŸ€“

wise osprey
lofty loom
#

I will make it sound bad in the wrong way

shrewd lance
#

please don't

lofty loom
#

ok I won't

shrewd lance
lofty loom
#

yes

ember oar
#

I'm trying to find any good C servers, are the ones in !guilds good or are there any others any of you would recommend?

round moss
#

the one in guilds is afaik quite good

ember oar
round moss
#

Together C & C++ is the one I am in and know is good

ember oar
#

Alright, thanks!

languid osprey
#

hm

#

spooky

#

ghost

#

doot

#

halloween

#

e

#

pumplikin

slate leaf
#

skeleton danger jack-o-lantern

lofty venture
#

doot

daring jay
#

pumpkin doot halloween

lofty venture
#

doot pumkin skeletom danger spooky

#

pumkij

#

pumkin

#

doot skrleton danger spooky halloween pumkim

#

yey

pliant trench
pliant trench
sterile nymph
pliant trench
sterile nymph
#

are you the guy with one millions years

pliant trench
#

..?

sterile nymph
#

did you want one millions dollars

pliant trench
#

idk what ur talking about

sterile nymph
#

why did you change your tone

pliant trench
#

wdym

#

I didn't

sterile nymph
#

sorry, had a tough day

#

words confusion

pliant trench
#

I'm sorry..

median blade
#

umm lol

fluid plank
pliant trench
jovial island
#

I upgraded my text spinner, can anyone tell me what's the best one

#
context=                                The Eurasian blackcap is a typical warbler in Europe, western Asia and northern Africa. It has grey upperparts and paler grey underparts, and the male has a black cap, while the female's is reddish-brown. The male's song is a rich musical warbling.

paraphrased=                            The blackcap is a warbler in Europe, western Asia and northern Africa, The male and female have grey upper parts and grey under parts, while the female has a reddish-brown cap, and it has grey upper parts and grey under parts. The male's song is a rich musical warbling.

paraphrased_synonyms=                   The silvia atricapilla is a warbler in Europe, western Asia and northern Africa, The male and female have grey upper parts and grey under parts, while the female person has a reddish-brown cap, and it has grey upper parts and grey under parts. The male's song is a rich philharmonic warbling.

paraphrased_onetime=                    The male and female of the black cap warbler have grey upper parts and grey under parts, and they both have a black cap, 

paraphrased_onetime_synonyms=           The male and female person of the black cap warbler have grey upper parts and grey under parts, and they both have an undiluted cap, 

paraphrase_web=                 In Europe, Western Asia, and Northern Africa, the Eurasian blackcap is a common warbler. The male has a black head, while the female's is reddish-brown. It has grey upperparts and lighter grey underparts. The song of the male is a rich melodic warbling.```
#

context is the original, the rest were paraphrased by the computer

#

which one performs the best (ignore grammar errors and misplaced punctuation)