#ot2-the-original-pubsta

652 messages ยท Page 127 of 1

jovial island
#

tf is RPing

remote widget
#

Roleplaying

cloud blade
#

whats rp

#

oo

jovial island
cloud blade
#

LOL

#

RPashley

#

one in a lifetime experience

jovial island
#

whenever I text in this channel, I always feel like I'm gonna get warned at some point, for no reason

cloud blade
#

lol

#

but why

#

its ot

remote widget
#

Then stop doing stuff which u feel like is gonna make u get a warning

remote widget
#

Sometimes I suspect if u r even 16

cloud blade
remote widget
#

Same for myself but we don't talk about it

jovial island
cloud blade
#

what about u

remote widget
#

I..... uh nvm
I better go study for exams

jovial island
#

lmao

#

good luck though

remote widget
#

They do be starting from Tuesday lemon_pensive

remote widget
#

Also got CS tomorrow but we don't talk bout it

jovial island
remote widget
#

Let's hope I score good since I feel like I know literally everything lemon_pensive

cloud blade
#

hunter be teaching the teacher

remote widget
#

Uh

#

Many of the times, yes
But in those cases, the teacher just does anything to make everyone forget what I said and continue on with the lecture

cloud blade
#

LOL

#

suffering from success

remote widget
#

I mean, they do know I coded in Python in the last 2 years. They just dk at what level ๐Ÿคทโ€โ™‚๏ธ

cloud blade
#

btw

#

what kind of file should i convert to

remote widget
#

PNG

jovial island
cloud blade
jovial island
#

feel you

remote widget
# cloud blade shessssh

everyone thinks I wrote a few if statements and a print statement and I call myself a coder

cloud blade
cloud blade
#

๐Ÿคฃ

jovial island
remote widget
#

I remember this instance...

#

I showed my mom a piece of code I wrote about smth an year or two back and she be like: Where's the 0's and 1's at

jovial island
remote widget
#

iirc she did learn like Fortran or smth back in College or smth (tho she isn't a coder, idk why the heck she even learnt it)

jovial island
jovial island
#

more of a nice question

remote widget
#

She learnt like, uhhh, 25 years ago

jovial island
#

C
ASSEMBLY, OUR BELOVED

remote widget
remote widget
cloud blade
#

even c has a family ;-;

remote widget
cloud blade
#

i touched a bit and i change to python LOL

jovial island
jovial island
cloud blade
remote widget
cloud blade
#

cin and cout and << >>

remote widget
#

Ah, yes

cloud blade
#

they are just weird so i change to python

remote widget
#

include <iostream>

cloud blade
#

cuz python is like human language

remote widget
#

How can we forget this

jovial island
cloud blade
remote widget
#

Is that C++? Idk

jovial island
remote widget
#

Or is that C

jovial island
#

cpp

remote widget
#

Phew

#

I was gonna learn C++ in school this year

jovial island
remote widget
#

But we changed to Python and I automatically became the most knowledgeable person in the class ๐Ÿ’€

remote widget
cloud blade
#

and the way the teacher teach ๐Ÿคฆ

remote widget
#

Lucky

cloud blade
#

its been 3 months and teacher hasnt even finish variable

#

i want to cry

#

i mean

#

any newbie can even finish it in a month

jovial island
remote widget
#

Just learn classes and show the code to the teacher and make her cry

cloud blade
#

and they teacher cs in malay

remote widget
#

Lmao

jovial island
remote widget
#

Relatable

remote widget
#

We do be having a chapter called Stack this year

jovial island
#

stack?

#

memory-related?

remote widget
#

Which is just a fancy name for lists

cloud blade
#

but my classmates cant event remember those 4 data type

jovial island
remote widget
cloud blade
#

and that makes me wonder am i too smart or are they too ||not clever||

remote widget
#

I would take the first one

cloud blade
#

but if i am too smart then why cant i even understand classes 100%

#

๐Ÿคฃ

jovial island
remote widget
#

Hi mari

sinful sun
#

Classes are a dict and some related functions

#

Thats pretty much it

cloud blade
#

my classmates be joining cs class to avoid biology

#

i guess thats why

#

they dont have the interest

remote widget
jovial island
jovial island
#

I mean, bio is easy

remote widget
#

Like, we can't skip subject classes until 11th

cloud blade
remote widget
#

And then, in 11th u gotta listen to the teacher else u won't get marks and sit in the class even when u don't want to ๐Ÿ’€

cloud blade
#

chemistry + physics + (cs/biology)

remote widget
#

That's here from class 11

cloud blade
#

biology is for 1st and 2nd class

#

cs is for 3rd class

remote widget
#

School ends in class 12 here

jovial island
remote widget
#

Ya

cloud blade
#

huh what time do u start schooling

#

and what time does it end

remote widget
cloud blade
#

mine is 7:30 - 1:50(average)

remote widget
#

Oh time

#

Eh, it varies

cloud blade
#

ya

#

same

#

what about the longest time range

remote widget
#

Rn the timings are 7:30 to 11:35

cloud blade
#

u go to school for 4 hours?

remote widget
cloud blade
#

oo

remote widget
#

Or smth like that

#

But that's for the young ones

cloud blade
#

mine is 730 to 250 on monday

jovial island
cloud blade
#

and the goddamn school purposely arrange the timetable to tons of subject with just 1 or 2 period

brazen jacinth
#

uhhhh

cloud blade
#

so i legit need to carry the whole damn cabinet to school

remote widget
brazen jacinth
#

uhhhhh

#

no u

remote widget
#

Yea, uh, seems about right

cloud blade
#

we have 2 school

#

elementary and secondary

#

6 and 5 years each

jovial island
cloud blade
#

but @jovial island

#

they are just a few random blocks in the file

jovial island
cloud blade
#

imma ask in official mc server

#

lol

jovial island
#

well

cloud blade
#

erm this looks weird

#

@jovial island any idea?

jovial island
#

hm?

cloud blade
#

๐Ÿคฃ ๐Ÿคฃ ๐Ÿคฃ

jovial island
#

uh

#

how would I know

cloud blade
#

hmm look at this @jovial island

#

wtf grass block is this

#

where is the colour

jovial island
#

black and white

#

hm

cloud blade
#

lmao

#

its working now ignore that pillar

cloud blade
jovial island
cloud blade
remote widget
cloud blade
#

alright look urself

#

which one do u think it is

#

if u say grass_block_top then thats the black and white one

willow plinth
# brazen jacinth uhhhh

in cpp, after decimal is u have like more than 3 or 4 zeroes in a row it ignore it so 0.1110002 becomes 0.111

lofty loom
#

You know how grass changes colors depending on the biome? Or if there's snow on top of it?

#

Yeah, think of it like a photo filter but for textures

cloud blade
brazen jacinth
#

but the tradeoff is that it is cpp

willow plinth
#

ya true

brazen jacinth
#

damn that REALLY hurt

radiant socket
#

good song

vital nest
#

As nobody really says grade down here

jovial island
vital nest
#

I hear the word "marked" more than graded

jovial island
#

interesting

radiant socket
#

we get graded ๐Ÿฆ… ๐Ÿ”ซ

jovial island
remote widget
#

Agreed

jovial island
jovial island
#

yalllike rap

jovial island
#

From what I've read so far, it's kinda a replacement of WCAG contrast ratios

cloud blade
jovial island
#

@jovial island Just in case, I just remembered that SQL has support for datetime objects to be stored directly to the db without any conversions of the datetime types

#

๐Ÿ˜”

misty basalt
cloud blade
misty basalt
#

(Top-right hand corner green download arrow on Discord)

#

It means there is a newer version out there

cloud blade
#

Lol

remote widget
#

Lmao

frigid pollen
#

@jovial island Oh-oh moment? ๐Ÿ˜†

jovial island
frigid pollen
#

Pish.

#

Otherwise people would be DMing me all day with all sorts of things and I think it's easier if I have that all whitelist only.

jovial island
#

I like igniting the flame, you could say ๐Ÿ˜†

frigid pollen
#

I'm not always around, I don't have all the answers and I don't always feel like helping.

#

I give plenty of my time as it is and I prefer it to be on my own terms.

#

Uh-oh moment, indeed. Hurumph. ๐Ÿ˜„

jovial island
#

Yep, I understand

full summit
#

yet another otn ruined

jovial island
cloud blade
jovial island
#

what?

remote widget
#

These names have started giving anxiety

vague shadow
wheat aurora
#

Okay. So apparently it's a wedding tradition somewhere, that at the rehearsal dinner the bride gets the groom a "groom's cake" where it's a cake decorated with the groom's favorite activities/personality.

... My fiance would hate this BUT I think it would be hysterical. ...... What kind of decorations should I do?

#

Also!! What flavor??

#

I wonder if I can get a cake that somehow incorporates hiking and like ... machine tools.

round moss
#

hmm, a mountainous terrain is fairly doable with just cake

sinful sun
#

Lava cake fo sure

wheat aurora
#

I wonder if I can do like a chocolate peanut butter flavor...

#

@hidden kernel @slate leaf provide input pls

somber belfry
#

what are your fiance's hobbies?

#

other than playing the kazoo during staff meetings

wheat aurora
#

Hiking, making things, reading scifi fantasy, building things, vidya games

#

Lmao, I should start putting a kazoo in the cookies I ship out

somber belfry
#

lol

slate leaf
#

lemon_ping cookies?

slate leaf
#

Maybe a bright yellow (for the tools) with a chocolate crumble dirt trail

errant seal
#

building things

Pop the ingredients for the cake in a hiking boot.

full summit
full summit
slate leaf
#

I would say, one very nice thing was having letters written to each other that we sent and read as we were getting ready at the start of the day, after she left for getting ready

wheat aurora
errant seal
#

can give it a weird name like CAKENMERX to give it Scandinavian flat-pack vibes.

wheat aurora
slate leaf
wheat aurora
#

The plan is to do a sort-of first look. So getting ready in a big airbnb situation and then doing the first look there as well

full summit
slate leaf
#

Nice nice, definitely recommend it to get the waterworks out of the way (more for the groom lol)

wheat aurora
#

I'll send some yout way~

full summit
#

thank youuu

#

power tools + stump cake

unreal sigil
#

lmao

wheat aurora
#

Lmao that would be great

slate leaf
#

Chocolate cake + globs of peanut butter sounds great tbh. How to tie it in to a theme is the tricky part, and to make it simple-ish to prepare as well

real forum
#

You could also try a volcano theme and make it a volcano cake

#

And could do probably a chocolate peanut butter flavor

elfin vine
visual slate
tidal lagoon
hidden kernel
languid osprey
#

I don't particularly like peanut butter

tidal lagoon
brazen jacinth
full summit
#

wrong month my friend

fluid plank
#

what even is marriage?

wheat aurora
#

It's like you get to spend the rest of your life with your best friend and partner in crime with tax benefits

languid osprey
#

lmao

digital bane
gray plover
#

heyy

#

i like that

remote widget
#

Sammeeeee
It's soo cool

willow plinth
#

finally found the way to do this

fallen current
#

Hi

cloud blade
#

sarth or ashley or hunter or sparky or literally anyone

#

;-;

cloud blade
jovial island
dull ridge
cloud blade
cloud blade
errant mason
#

What is this channek about

sinful sun
#

Its an offtopic channel

errant mason
#

I can ask help here about linux?

#

Xd

sinful sun
#

Sure

brisk edge
#

you can but we might redirect you to the linux discord server which might be more helpful

jovial island
brazen jacinth
#

HAHA, i already LOVE terminals

tidal dragon
sacred quarry
#

whats that thing called that discord bot games do when they strike out the text or blacken out the text ? how do you do it on your own ?

slate leaf
#

Its just markdown:
||spoiler|| -> ||spoiler||
~~strikethrough~~ -> strikethrough

feral meteor
#

Welp @brazen jacinth totally baited me into condensing this blessed-based terminal animation into a one-liner. Then a bunch of people in #esoteric-python helped me golf it further. (Updated 5/21 -- cut about 20% of the code out)

Un-golfed code: https://paste.pythondiscord.com/amevowohid

(i:=__import__,n:=255,p:=lambda a:print(a,end='',flush=True),t:=i('blessed').Terminal(),H:=0,w:=t.width,h:=t.height,p(t.clear+t.home),x:=1,y:=1,X:=1,Y:=1,u:=lambda v,p,m:v if 0<p<m-1else -v,p(t.hide_cursor),all((x:=x+X,y:=y+Y,X:=u(X,x,w),Y:=u(Y,y,h),R:=i('colorsys').hsv_to_rgb(H/n,1,1),p(t.move_xy(x,y)+t.bold+t.color_rgb(*map(lambda m:int(m*n),R))+"โ˜ป"),H:=H+7&n,i('time').sleep(.01))for _ in iter(int,1)))
feral meteor
#

Python.org "Try to limit use of the walrus operator to clean cases that reduce complexity and improve readability."
I'm trying but it's not working...

sinful sun
#

Limit by not using

tawdry fog
#

@jovial island I didn't realize what you had was a final project, usually I would always explain my method of how to do it but since I wasn't sure I just told you what to try, I just want to make sure you understand it. When you create the object of whatever class that was, it would call self.searchBox.toPlainText(), I'm assuming that the default value of searchBox was "". So when it was called on creation it was just an empty string. When you would run self.pushButton.clicked.connect(lambda: self.search(search_term, location_term)) the search_term and location_term were already defined as "" from when what I just mentioned was called. I hope this makes sense, and if this doesn't feel free to ask!

tawdry fog
feral meteor
#

I feel like the screen gets cluttered and then it's not as much fun to look at

tawdry fog
#

Though chaotic.

feral meteor
#

Yeah it makes quite the laser show haha

tawdry fog
#

If you can post the gif in #esoteric-python I'd send it there, I'm sure people will get a kick out of it. (assuming you haven't yet)

feral meteor
#

Oh good point, I didn't post the gif there.

#

btw I'd recommend using a terminal with good color support -- e.g. the default Terminal.app in Mac OS only supports a small default set of colors, versus iTerm2 which supports 24-bit colors. I've found Windows Powershell etc to actually be pretty solid for this.

tawdry fog
feral meteor
#

Yeah I think cmd or powershell are both good

tawdry fog
feral meteor
#

I'm actually surprised how good terminal emulation on Windows has gotten. I'm sad that Mac is so far behind now

tawdry fog
daring jay
#

it's a much nicer alternative to conhost or whatever windows calls it

feral meteor
#

Yes, I've been using that now!

feral meteor
#

Maybe a simple thing to start with is a queue of (x,y) positions of written characters. When it gets to a certain length start doing q.popleft() and erasing those characters.

tawdry fog
feral meteor
tawdry fog
#

Wish there was opacity in terminals

#

๐Ÿ˜ฆ

tawdry fog
feral meteor
#

That would be cool, or maybe make a command line tool that takes different switches. Have you seen sl?

tawdry fog
#

Or even better, depending on how much you'd want to get into it, use something like pyaudio, and depending on the amplitude (I think that's the term) set the colors of what it writes, and then try to detect major differences in average amplitude throughout the song then change the function based off that number :D

#

Though that sounds like a lot of work now that I'm done writing that lmfao.

feral meteor
#

lmao i'm not even sure I understand

#

are you saying to read audio input and convert it to colorful/moving symbols on the screen?

tawdry fog
#

It's kinda hard to explain if you don't see the program running :D

feral meteor
#

Ah! Yes

tawdry fog
#

Also I made it when I had little python experience so even if I found the code, you'd be better off figuring something else out from scratch lol

feral meteor
#

I mean you could use this to make a cool like equalizer view pretty easily.

tawdry fog
#

If you make any other cool things with this library if you don't mind send them to me, they're very satisfying to look at!

feral meteor
#

For sure! I post them here from time to time

#

Thanks for the encouragement. I'm not much of an artist so it's been nice to make something that people like to look at.

tawdry fog
#

That's pretty cool!

tawdry fog
#

Other than that though, I love python :D

feral meteor
#

what if it was a quine

tawdry fog
#

That is sick.

feral meteor
#

colored code shaped like a donut, which renders itself (in different colors maybe, to make it less trivial)

feral meteor
tawdry fog
#

Okay my brain is frying :D

sour echo
#

Kali ma linux? More like debian but with tools ma linux

feral meteor
tawdry fog
#

Okay, this is completely off subject lol, but anyone who is fairly knowledgeable on ASIC miners on the hardware level, the limiting factor for their speed is really just heat, correct?

slate leaf
#

.rp 1 Mandelbrot

rustic harborBOT
slate leaf
sour cosmos
#

@shadow tangle I probably should mention: If you ever open that file to read it in python code again, you may need to specify the encoding as well

pseudo creek
#

@light void you have coverage listed in the for enterprise section as under tidelift. I'm not super clear on tidelift - is a company required to use the tidelift version, or is just a completely-optional manager like continuum's anaconda?

light void
#

@pseudo creek there isn't a tidelift version of the library.

pseudo creek
light void
willow plinth
#

whats combo?

#

oh

#

๐Ÿ‘€

jovial island
#

anyone have a chrome extension that can replace specific text on a page? (eg scan for "HELLO!" and replace it with "BYE!")

remote widget
willow plinth
#

party mode stuff

brazen jacinth
#

how do you all pronounce python, like PIE-THIN, or PIE-THONN

brazen jacinth
willow plinth
#

ya got it xD

brazen jacinth
#

best do it in a private server, not here

willow plinth
versed wigeon
fluid plank
#

hmm

#

very sussy otn

remote widget
versed wigeon
foggy flicker
#

and wtf is pie-thin

#

thin doesn't sound right, I've never heard someone pronounce it that way

remote widget
sinful sun
#

Its pronounced python

misty basalt
#

nvm frick

#

But basically, it's this:

willow plinth
#

only if we could send images

misty basalt
#

Every character you type = 1 point...
Every message you send in quick succession = +1 combo...
Every combo = times the number of points by whatever combo you're on...

For example, If I want to get 2048 points, I can do:
2048 characters on 1x combo (default) = 2048 x 1 = 2048 points
1024 characters on 2x combo = 1024 x 2 = 2048 points
512 characters on 4x combo = 512 x 4 = 2048 points

elfin vine
foggy flicker
elfin vine
#

Yeah ๐Ÿ˜…, like- sometimes I'll say pae-th-in, sometimes pae-th-on, and sometimes go deeper with pae-th-un.

foggy flicker
#

ic

#

I too keep switching between pae-th-on and un

fluid plank
#

so how is the swedish boi that got sentimental doing?

foggy flicker
hollow heart
#

I've started saying "pythun" bc of all the Englishmen

nimble ivy
hidden kernel
#

wait you guys don't say "Pyth On" like the human torch when you start coding?

lofty loom
#

Pie weighs a ton

daring jay
#

I say "pie thon," where "on" is pronounced just like the word "on."

hollow heart
errant seal
#

Someone I worked with always jokingly called it Pith-on

#

Like piston with a lisp ๐Ÿ˜„

daring jay
#

aren't those the same thing?

radiant socket
#

it's jason

daring jay
#

or you do you mean "json" like "jason"

errant seal
#

sorry yes ๐Ÿ˜„

daring jay
#

I cannot imagine saying it like that, interesting

remote widget
#

Pronunciation convo going on ic ๐Ÿ‘€

brisk edge
#

JavaScript Object Notation

errant seal
#

The American pronunciation of Python and JSON always seems to take forever.

"We use PyTHAAAAAAAAAWWWWWN"

daring jay
#

it's just like if you said "on"

hollow heart
#

I say j sawn hahaha

brisk edge
#

py-th-un is better

daring jay
#

I assume you don't pronounce "on" like "in"

errant seal
#

I exaggerate, but somehow the presence of a prefix causes an elongation of the on.

hollow heart
#

so, interesting. dawn you say jason?

daring jay
#

absolutely not

#

I say jay sawn

hollow heart
#

oh lmao

daring jay
#

and pie thawn

#

but not elongated whatsoever

hollow heart
#

@radiant socket you say jason?

radiant socket
#

kinda?

hollow heart
#

and pythawn?

fluid plank
radiant socket
#

i say them normally ๐Ÿ˜”

brisk edge
radiant socket
#

no, the way i say it is normal

hollow heart
#

maybe I should start saying jason to match my new pythn pronunciation

errant seal
#

Python named for Monty Python, which is British, therefore it is Python not Pythawn ๐Ÿ˜›

hollow heart
#

wait wait wait

#

someone find a clip of how it's pronounced in mp

daring jay
brisk edge
#

Pyth-u-n and JS-aw-n (because of how Object is pronounced) seem right

daring jay
#

I have family in britain, so I'm obviously british

errant seal
#

You have been corrupted

#

My brother has lived in the US for about 10-15 years... he has an odd accent now lol

daring jay
#

are you suggesting that brits can be corrupted???
how dare you say such terrible things about your own people.

errant seal
#

lol of course not! shitshitshit

slow valve
#

lol

errant seal
#

I'm sure you have to fit in. Once you're back in Blighty with a cup of tea and your own weight in biscuits you'll be right as rain.

foggy flicker
slow valve
#

JASON

fluid plank
#

oh no...

brazen jacinth
#

is the only correct way to pronounce it

steel eagle
#

That's wrong

#

It's either "jay-sawn" or "Jay ess oh en"

cloud blade
#

what is cached image

fiery glade
#

no

jovial island
hollow heart
#

@sharp glacier so are you really a yakult ajumma? :P

sharp glacier
#

@hollow heart LOL only at heart ๐Ÿ™‚

pseudo creek
#

@jovial island, this is what @jovial island's name looks like for those of us with the right fonts installed

jovial island
real forum
foggy flicker
#

wait

#

this is not a rust server?

dull ridge
#

like Jay S Oh N

fallen parrot
#

Whatโ€™s your favorite programming language and why is it Python?

feral meteor
#

Haskell ๐Ÿ˜

#

Although it has some warts. I think it's fair to say the module/import system is not that nice to use.

median blade
#

F#

#

username checks out

feral meteor
#

I think laziness is still underrated in functional programming language design tbh

#

It's a big part of what gives you referential transparency

fluid plank
cinder sigil
#

this is a c++ server right

willow plinth
winged gyro
#

Hello.
I am an SEO. Where can I find an SEO group?

cloud blade
#

apa ni

remote widget
cloud blade
remote widget
#

Your VSC rich presence extension didn't connect to discord

cloud blade
#

but its working yesterday

remote widget
cloud blade
#

everytime people ask question nobody can help and there is only me that dk how to help them

jovial island
remote widget
cloud blade
#

because idk how to help
i cant even help myself

#

btw gtg

remote widget
#

Cya

cloud blade
#

byeee

#

going to sleep

remote widget
#

Gn

digital bane
remote widget
#

What the

daring jay
#

Isn't a function referentially transparent when it has no side effects and reads/mutates no form of state?

#

I'm curious as to what nonstrict semantics have to do with it

magic atlas
feral meteor
# daring jay What do you mean by this?

The example I had in mind is defining if as a function, which sadly Haskell doesn't do

if' :: Bool -> a -> a -> a
if' True x _ = x
if' False _ y = y

Because of laziness only x or y will actually get evaluated depending on the condition. If you wanted to write this in a strict language it would have to be like:

#
if' :: Bool -> (() -> a) -> (() -> a) -> a
if' True fx _ = fx()
if' False _ fy = fy()
#

At this point you have to care about the distinction between (() -> a) and a which I think is a referential transparency issue

elder barn
#

Hello.

#

Is a conversation currently occuring?

spiral ember
#

It does not appear so, no

daring jay
#

that's the entire philosophy of nonstrict semantics

feral meteor
#

Because you're treating "computation that produces X" differently than X itself

daring jay
#

you're saying if the computation of the arguments isn't referentially transparent, the function isn't either?

#

I don't get it, but perhaps I'm just missing something

feral meteor
#

to the extent that you have to make a distinction between thunks and their results, to me that seems like the crux of referential transparency?

#

the expression and its evaluation are semantically equivalent

daring jay
#

I've always thought that referential transparency was "as long as the arguments provided to the function are the same, the function will always produce the same result, and as such, you can replace the call with the result of the function"

feral meteor
#

Right but that's not the case for thunks in strict languages

#

like in my if example

#

You can't just replace the two branches of the if with their values and maintain the usual semantics of if

#

You need to add in an extra layer of indirection/thunks to make it work right

daring jay
#

tbh I know next-to-nothing about haskell so I don't know what thunks are

#

the only functional programming languages I've worked with are ocaml and idris, and not too much for either

feral meteor
#

A thunk is just a no-argument function

#

Like if I wanted to implement if as a function in Python, might look something like:

T = TypeVar('T')
def my_if(cond: bool, true_branch: Callable[[], T], false_branch: Callable[[], T]) -> T:
    return true_branch() if cond else false_branch()
#

Callable[[], T] is a thunk that evaluates to T. And since Python is strict I have to treat true_branch() and true_branch separately, whereas in Haskell that distinction does not exist. Every expression evaluates to a thunk

#

Not sure if that helps explain what I'm getting at...

daring jay
#

I do see what you mean, I think. But not really, at the same time.

feral meteor
#

haha. I'll take it

#

Let me put it another way. Say do_very_expensive_computation is an expression. In Haskell when I say:

let foo = do_very_expensive_computation

It does not run do_very_expensive_computation. It just sets foo to be a function that, when run, does the expensive computation. Hence it performs exactly the same as do_very_expensive_computation

#

To me that is the essence of referential transparency

#

foo and do_very_expensive_computation can be used completely interchangeably

#

In a strict but otherwise pure language, the LHS and RHS of the assignment might evaluate to the same value, but they can have very different performance.

delicate blade
#

`class Character():
def init(self,name,age,soul):
self.name = name
self.age = age
self.soul = soul

Anne = Character("Anne",13,"Soul of Anne")

AnneData = [Anne.name,Anne.age,Anne.soul]

del(Anne)

Anne = Character(AnneData[0],AnneData[1],AnneData[2])

for attribute in AnneData:
print(attribute)`

languid osprey
#

I finished horimiya, turns out romcoms are pretty good

remote widget
#

Yo @spiral ember do u know about port forwarding and NAT stuff? I wanted some help

remote widget
fluid plank
rugged portal
#

@muted phoenix Do you still have a question?

jovial island
#

nice

spiral ember
remote widget
languid osprey
#

Perhaps

willow plinth
#
     Length Name
     ------ ----
20110000000 io.txt

file too big sadge

#

i tired opening the file in python and reached 97% memory useage

brazen jacinth
#
Problem? -> Use prior knowledge -> Docs -> Google -> Topical channels -> Help channel
                           |        |         |            |                  |
                 (True)    |        |         |            |                  |
Implement fix  <------- Worked? <------------------------------------------------
                           |
                           | (False)
                        Next step``` steps i follow if i run into a problem, anyone else do this?
alpine narwhal
sinful sun
#

there are extensions to files

alpine narwhal
sinful sun
#

learn what

#

python files have a .py extension

#

include that in your path

alpine narwhal
remote widget
spiral ember
#

Usually NAT just translates private IPv4s to public

remote widget
#

Well there are 3 types of NAT

#

Strict
Moderate
Simple (I forgot the name, but it was smth like Easy)

spiral ember
#

Ah okay, not sure about that

#

Never had to mess with that for port forwarding

remote widget
#

Oh, u lucky that u didn't have to

#

It's a pain
Got it to work after 2 days

brisk edge
#

there's also SNAT and DNAT

remote widget
#

I just needed to change it for GTA Online lemon_pensive

brazen jacinth
#

uh guys, is C a high level language?

#

tf

#

google snippets

radiant socket
#

it's relative

brazen jacinth
#

C can't possibly be high level, right?

radiant socket
#

it's relative

brazen jacinth
#

i mean, it might be higher than bytecode, b-

#

i think im gonna go slep

#

and wake up tommorow, with C hopefully being low level

pseudo creek
#

see, this is the problem with boolean-oriented thinking. c may not be low-level, but it sure ain't high level neither. thus i give you the shouldn't-be-new criterion of a medium-level language, which c fits nicely into

brazen jacinth
#

take it or leave it

pseudo creek
somber belfry
jovial island
#

how tf i get this

daring jay
jovial island
daring jay
#

idk ask discord

pallid wagon
#

@dire arch do you have anything which has actually been peer reviewed, cited more than 5 times, or contains a significant finding from actual evidence?

fluid haven
#

@rough saffron What problem are you having with js?

rough saffron
#

lecturer taught me little to nothing on this so far

#

`` /**

  • Write a function to find the shortest word from a list of words.

  • @memberof! Exam_questions

  • @function

  • @param {string[]} word_list An array of words to find the shortest in.

  • @returns {string} The shortest word in the input array.

  • @example shortest_word(["hello", "cat", "ok", "12345"]) // "ok";
    */
    Exam_questions.q1.shortest_word = function (word_array) {
    var words = [];
    if(!words.length){
    undefined;
    }
    else{

    let words = s.split(" ");
    let shortest = words[0];

    for (let i = 0; i < words.length; i++) {

     if(shortest > words[i].length){
         shortest = words[i]
     }
    

    }

    return shortest.length

};``

#

That's what I've written for this but i know it's completely wrong

pallid wagon
#

We can't help with exam questions

rough saffron
#

it's not an exam question

#

it's a tutorial question

#

but the file's called exam question

pallid wagon
#

Lol

rough saffron
#

i mean they wouldn't give us exam questions a week after introducing us to javascript lol

fluid haven
#

I can think of two approaches here, either something like what you were doing, keeping track of the current shortest word. Or using an arrays sort with function that sorts it on length and then taking the first.

rough saffron
#

hmm ok yeah

rough saffron
#

i've got lots of problems like these

fluid haven
#

You are comparing shortest to the next word.length instead of shortest.length

#

You are returning the length instead of the word

#

The if at the start makes no sense and makes the whole function immediatly end

#

You declare words twice

#

You split s but s doens't exist.

#

There is word_array as the function input, but that's already an array of words and needs no splitting

rough saffron
#

ok i need to restart this haha

fluid haven
#

tip: You can use for of to loop over the elements of an array instead of using the index.

#
for (const word of word_array) {}```
rough saffron
#

ok

rough saffron
#

problem is right now that i dont understand any of the javascript syntax right now

fluid haven
#

It takes a bit to get used to if you only know python

rough saffron
#

yeah

#

python got taught to us way too quickly and rushed for a single term as well so that doesn't help

jovial island
#

Are you undergoing a cs degree?

rough saffron
jovial island
#

Cause i feel they should take their time when teaching the first language of someone

fluid haven
rough saffron
#

design engineering

jovial island
#

I see

rough saffron
#

so we're not even expected to be experienced in coding

jovial island
#

Rush is probably justified then

#

You got a shit ton of things to learn

rough saffron
#

meant to make some kind of game for my assignment by next month as well rip

rough saffron
#

i'll try writing out a pseudocode first

fluid haven
#

I think the nicest way to solve it would be with reduce but that might be a bit complex

jovial island
#

Is javascript worth learning?

#

I mean, if i don't intend to do any web dev during my life

fluid haven
#

I don't think so if you don't do webdev.

jovial island
#

is html and css enough for basic stuff?

fluid haven
#

For static content it is.

#

For static pages generated on the backend php or python are good to work with.

#

For dynamic pages you'll have to use js or something that compiles to js

jovial island
#

Do you think that web dev is even avoidable when being a programmer nowadays?

fluid haven
#

Sure

dire arch
# pallid wagon <@364561751766859787> do you have anything which has actually been peer reviewed...

http://www.seanmuller.co.za/Academics_rentseekers_IJED_AcceptedManuscript.pdf

beyond academics being rent-seekers within universities, universities are also rent-seekers in the classical sense in relation to land. Often tax exempt, get subsidized by the government through tuition programs for students. Many (at least here in the US) received their land on a grant. And neo-classical economists took over back during the gilded age.

https://www.bestvalueschools.com/faq/what-is-a-land-grant-university/

https://stuartbramhall.wordpress.com/2013/12/29/the-robber-barons-behind-neoclassical-economics/

A land-grant university is a United States institute of higher education that was given federal land by the Morrill Acts of 1862 and 1890. Read on to learn more about the history of land grant universities in the U.S. and the status of these institutions today. History of the Land-Grant Program In the early 1800s, ...

pallid wagon
#

Still haven't answered my question lol

dire arch
#

pdf link

hidden jewel
pallid wagon
#

You've linked a manuscript with no actual evidence or quantitative analysis, just unfounded conjecture

dire arch
pallid wagon
#

I don't usually entertain the flavour of the day ideas that people take from niche/microcommunity YouTube channels, but you're actively giving people objectively terrible advice

pallid wagon
#

University studies isn't even a degree lol

#

The research projects I've done into higher education, assessment and pedagogy for assessment is more credible though

#

You've clearly been convinced by some pop culture, new-wave ideas, and are excited to share them with everyone else

#

It's quite common on this server for people to randomly join and start purporting that some new idea of theirs (which is never, ever novel) has all the answers to all the problems, if we'd just hear them out

dire arch
#

sure sure, economic theories that Nobel prize wining economists agree with are totally zany

pallid wagon
#

As I said, I usually ignore these types of messages because it's a huge waste of time to even interact, but you're actively giving people awful advice

dire arch
#

all I've been saying is that universites do engage in rent-seeking and I'd like to see that change

pallid wagon
#

Economics is inherently subjective, and will never model reality

pallid wagon
dire arch
#

no I wasn't

pallid wagon
#

And to repeat this same point that everyone already told you countless times, bootcamps are specifically designed for employability

dire arch
#

I was just debating the validity of one being better than the other

pallid wagon
#

That makes them "better" to find work than a purely academic pursuit, to some extent, but the reality is a degree proves way more

pallid wagon
dire arch
#

displaying the ability and knowledge to do the job speaks for itself, regardless of method that it was obtained

idle beacon
#

Right, so I glazed over the PDF, and since I'm studying in South Africa found it interesting. It's not wrong about the grants, but that's specifically for people in academics doing research. The study doesn't relate to people getting a STEM degree and going out into the job market at all?

dire arch
pallid wagon
#

Ok, that's your time and money to do with as you please

#

A lot of people on this server are pre-uni age, and are more likely to be affected by such statements

sinful sun
#

mfw i thought i was still in careers discussion

dire arch
#

I'll say it again: displaying the ability and knowledge to do the job speaks for itself, regardless of method that it was obtained

the fact I've seen it happen with those I did network with, including the high school grad who went right into bootcamp and landed a job (with the intent of having a company pay for his uni while working, because economic rents making paying your own way too expensive). it works. and you know what the key factor in his success was. Motivation to keep learning and display his found knowledge in really cool projects.

I think it ultimately comes down to the individual more than anything. You can have a bootcamper that just doesn't display the motivation and knowledge, just as much as you can have a university student display the same level.

pallid wagon
dire arch
#

and yes, companies will pay for your uni. There is a guy in the georgist server going for his masters in data science and his company is paying for it.

sinful sun
#

Masters means he already got a degree

idle beacon
#

having a company pay for your postgraduate is a lot different than your first degree

sinful sun
#

Do you have someone whose company is paying for a bachelor

idle beacon
#

Most larger companies over here are willing to pay for your postgraduate studies while you work for them, since it's beneficial to the company for people to have a higher education from a university, because what's being taught is useful

sinful sun
#

MBAs are most commonly sponsored by companies too, i dont know anyone with an mba that paid out of pocket

dire arch
#

the kid from the bootcamp

sinful sun
#

Literally who

#

Get them to come in here so they can share their story then

#

I know a guy who knows a guy

radiant socket
#

displaying the ability and knowledge to do the job speaks for itself, regardless of method that it was obtained
no one disagrees with this. the only problem is how you'll prove that you have ability and knowledge if you don't get into an interview or your resume gets tossed because you don't have a degree

dire arch
radiant socket
#

what monopoly on knowledge ๐Ÿง

sinful sun
#

university bad, i cant believe im reading this

dire arch
#

that a university degree has within the job market

dire arch
radiant socket
#

wasn't your whole point that a bootcamp gives comparable knowledge?

sinful sun
#

Realistically, what do you want people to do

dire arch
idle beacon
#

A university degree is clear proof that you were able to obtain the knowledge, none of the knowledge is monopolized

radiant socket
#

that's such a big embed

sinful sun
#

It really is a shame the embeds are so big, theres some really nice ones

idle beacon
radiant socket
#

literally my whole screen

dire arch
idle beacon
#

If you don't have experience and no degree, of course. How do you want to compare to someone that spent 4 years studying to break into the job market?

#

How are you going to stand out?

sinful sun
#

Degrees have such power because theyre backed by accredited institutions that guarantee a minimum quality in the syllabus

Who guarantees angela yu's or whatever's bootcamp

#

Nobody, so back of the line, thanks

#

Really grinds my gears when some bootcamp kid gets a free ride into a big firm just cause they got some kind of deal with the bootcamp

#

Didnt spend 4 years for this

fluid plank
sinful sun
#

University is "best we got so far"

fluid plank
sinful sun
#

Congrats, here's to many more

fluid plank
lusty fulcrum
#

boyyssss

fluid plank
remote widget
#

Another name ruined

brazen jacinth
#

@copper tartan, i know people ask if you are network chuck, but im gonna ask, are you smooth mcgroove? https://www.youtube.com/watch?v=t4W12k0MYC0

Get the UNDERTALE Acapella album on iTunes โ–บ http://apple.co/2364yEe
Google Play โ–บ http://bit.ly/25TZ8l3
Spotify โ–บ http://bit.ly/24N7F3l

Catch me live on Twitch! โ–บ https://www.twitch.tv/smoothmcgroove

I originally planned on doing this song last October after I played Undertale, but...I had a bad time and didn't record much music at all. I've...

โ–ถ Play video
#

and did you clone yourself 9 times?

copper tartan
nova ember
#

How have I not seen this before

errant seal
#

I like network chuck, but his video titles are egregiously click baity. ๐Ÿ˜ฆ

foggy flicker
#

like a common thing is you need to learn this blah blah thing right now!!

errant seal
#

I mostly blame the YouTube algorithm that makes those videos stand out more, but it's still annoying lol.

jovial island
#

@zinc temple

#

ok so

#

@reef osprey

zinc temple
#

Imo you lose pretty much all privacy the second u get an internet connection. You can try a lot and make it very difficult for people to see you, but never impossible

jovial island
#

@quartz parcel

quartz parcel
#

yeah

jovial island
#

thing is

reef osprey
#

hey

jovial island
#

in the modern day world

#

I believe that

#

if you use tor for example

#

The NSA will try to track you down

#

and you will probably be monitored by more than 5 people

reef osprey
#

tor?

jovial island
#

The Onion Router

quartz parcel
#

tor is like browser

jovial island
#

Its a network

#

it bounces traffic

reef osprey
#

Oh yeah right i have heard of that

jovial island
#

across atleast 3 nodes

reef osprey
#

the onion router

jovial island
#

its used to access the "dark web" if you heard about that

zinc temple
jovial island
#

Plus

#

What are you gonna do when you're private

#

If you really wanted free speech

#

You will probably not get it

#

Since if you want to say something on facebook

#

you need to make an account

reef osprey
#

So what is it gonna do with chrome or firefox or everything else

jovial island
#

and by making an account they will track the shit out of you

#

and then you will be more sus

zinc temple
#

Tor + linux tails + vpn is pretty much as private as u can get i hear, but even then youre depending on a vpn co

languid osprey
#

I doubt the nsa will track you down if you use tor

languid osprey
#

You can use it as a conventional web browser too, it's not just a dark web access thing

jovial island
#

depends on your searches

jovial island
#

Thing is

jovial island
#

Afaik if you connect to a malicious tor exit node

languid osprey
#

Maybe, but I've seen more people use it as a privacy thing rather than for accessing the dark web

zinc temple
jovial island
#

there are 3 possible ways your info can be leaked

#

first of all you can do an MITM fake SSL certificate attack

#

and the second way is that you connect to an HTTP website

#

and not HTTPS

#

3rd way is cookies from websites

zinc temple
#

Make sure you still follow the server rules in this channel btw

zinc temple
#

Dont stray too close to talking abt how to leak ppls info

jovial island
#

oh ok

#

I'm just saying you can prob get ur info leaked

#

if you use tor as a general purpose browser

#

I wouldn't recommend doing that

#

plus websites will see you are using tor

zinc temple
#

The best way to not get hacked or smth like that is to not be a target, so dont be any sort of politician lol

reef osprey
#

interesting

jovial island
#

and imo dont use tor

#

the best way to be anonymous is hiding in plain sight ig

reef osprey
#

idk who would use TOR on a regular basis

zinc temple
#

Firefox is fine for me, pretty customizable

jovial island
#

So like your best bet is not using google assistant for example

#

but you can use google services normally

zinc temple
jovial island
#

You can close web and app activity and personalized ads in your google account settings

jovial island
reef osprey
#

๐Ÿ‘€

#

well fuck me

jovial island
#

If you use Tails OS the traffic gets routed through tor by default

#

through obfuscated bridges or direct connections

#

Thing is

zinc temple
#

From my experience the only ppl who use tails are hackers and ppl in a "privacy" phase lol, till they realize you cant be completely private online

jovial island
#

If an entry node is malicious

#

you can get joe mama'd

#

and you get your ip leaked

#

if you don't use a vpn

zinc temple
jovial island
#

and even if you use a vpn the NSA has the right to "request info"

#

You can't say no to law enforcement

#

or else you become the criminal

#

for not cooperating

zinc temple
#

If you dont do anything illegal, you dont need to worry bout the nsa. Using tor isnt illegal afaik

lethal gate
#

why do python developers wear glasses?

quartz parcel
jovial island
#

If you dont do anything illegal, you dont need to worry about the nsa (therefore why use tor in the first place?)

lethal gate
#

ha got him

quartz parcel
#

oh nice one

#

idk

jovial island
#

Theoritically if you don't do anything illegal you don't need to worry about google nor the NSA

quartz parcel
#

wait will nsa catch me for downloading a repack?

jovial island
#

But if you care about not being in a filter bubble

#

You can use Duckduckgo for example

smoky island
jovial island
#

Tor is useful there

lethal gate
jovial island
#

But I'm saying that Tor isn't really secure afaik

quartz parcel
jovial island
quartz parcel
#

like

jovial island
#

so imagine if i like cats and i search dogs it will give me results on how "cats are better than dogs"

#

and if i like dogs its the opposite

quartz parcel
#

if you search like is apple good

#

it says its good

#

if you search is apple bad it says its bad

lethal gate
#

ahh very interesting

quartz parcel
#

that sort of thing

lethal gate
#

i wasnt aware of that

jovial island
#

Lemme send you a link to a sumsub video on that

quartz parcel
#

thats basically what social media do lol

jovial island
#

Wake up, guys! Which pill would you choose - red or blue? Regardless, if youโ€™re making a choice - the filter bubble has you! To make this all clear for you, weโ€™re telling you the story about filter bubbles and echo chambers! Follow the white rabbit..
We hope you enjoy our video!

00:00 Intro
00:34 Barak Obamaโ€™s Speech
01:02 The Filter Bubble Tr...

โ–ถ Play video
brazen jacinth
#

im gonna bm it and not checks my dm's later

rustic harborBOT
#
Please don't do that.

@quartz parcel, please enable your DMs to receive the bookmark.

brazen jacinth
lethal gate
brazen jacinth
#

i thought there was a pr on negative words as responses from bots?

#

didn't they remove it?

sudden iron
jovial island
#

But I'm talking about using it for general use

quartz parcel
#

is downloading a repack legal or not

jovial island
#

If you don't have something important to hide then you probably shouldn't make people know you're hiding something

jovial island
quartz parcel
#

yea

jovial island
#

illegal

quartz parcel
#

so nsa be watching?

jovial island
#

depends

#

afaik if you're in Germany then big oof

#

Germany has the most strict copyright laws iirc

brisk edge
quartz parcel
#

well germany wants you to work

lethal gate
#

i think i illegally downloaded nuclear throne

quartz parcel
#

not play

jovial island
#

like imo

#

If you're a regular person and don't have any important things to hide

#

You probably shouldn't tell people you have things to hide by using tor for example

#

You're one person against a whole agency that is monitoring the internet and sometimes more

brisk edge
#

Tor exit nodes have control over all of the Tor traffic

jovial island
#

^

brisk edge
#

which NSA has a lot of

jovial island
#

40% of exit nodes are hosted by the NSA iirc

sudden iron
brisk edge
#

not an unpopular opinion

jovial island
#

^

brisk edge
#

even NSA hates NSA ig ๐Ÿ™ƒ

quartz parcel
#

they gotta be there

jovial island
#

like imo

sudden iron
quartz parcel
#

cus yk how bad things are in dark web right

jovial island
#

Yep

#

I mean they got a point

#

Best way to be private is making your own pc from scratch and using a geo cache with a pre paid burner phone and using it to communicate with the internet or smth lmao

#

and making a secret base under a tree with an alternate exit

quartz parcel
#

you are a genius

sudden iron
quartz parcel
#

from sratch

brisk edge
quartz parcel
#

like even the transistors

jovial island
#

Thing is

brisk edge
#

mesh networks seem better for privacy

jovial island
#

Just you breathing is a digital fingerprint

#

every second you take to think about something can be linked back to you

#

every millisecond you take to type each letter can be used to identify u

brisk edge
jovial island
#

Your characteristics also

sudden iron
quartz parcel
brisk edge
#

Discord is a data hungry company too, y'know

quartz parcel
#

meta

jovial island
quartz parcel
sinful sun
#

Youre against the company but not the individual willfully signing away their data?

sudden iron
brisk edge
quartz parcel
sinful sun
#

Forced? Youre forced to use google?

jovial island
#

We are in a technological world

sudden iron
jovial island
#

trying to go back is like saying ima use a knife in a gun fight

sudden iron
#

when I did use it

quartz parcel
brisk edge
jovial island
sinful sun
sudden iron
jovial island
brisk edge
#

yeah, so? Meta is bad/worse

quartz parcel
#

worse ofc

jovial island
#

Thing is

quartz parcel
brisk edge
#

I'm just saying in general, you can't really choose private software

sinful sun
jovial island
#

If you want to communicate with others like normal human beings

#

You must become part of the society

brisk edge
jovial island
#

Google won't accept a random person trying to use their services

brisk edge
#

people don't like that

sudden iron
quartz parcel
brisk edge
quartz parcel
#

RRS?

sinful sun
#

This is turning very edgy very quickly

quartz parcel
#

i forgot the name

jovial island
#

They make their services zero trust

jovial island
#

Monitoring SMS was like from 1990 prob

sudden iron
#

Tbh, if I was in a US prison for anything related to a crime, I would die.

sinful sun
#

There are free and open source alternatives that dont have as much telemetry

brisk edge
sinful sun
#

irc

brisk edge
sudden iron
jovial island
#

IRC is still monitored

brisk edge
#

they are just not convenient for the general public

sinful sun
#

If you wanna be completely anonymous dont use the internet then

jovial island
#

Contrary to common belief law enforcement monitors IRC too

sinful sun
#

Cant have a cake and eat it too

jovial island
#

Not using the internet is a big problem

jovial island
#

You want people to break into your home and law enforcement do nothing?

#

.-.

sinful sun
#

For you, because youre putting arbitrary resteictions on yourself

sudden iron
jovial island
sudden iron
#

If I ended up in jail, i would kill myself

languid osprey
#

Hm, is it actually the majority? I'd guess it depends on where you live too