#ot1-perplexing-regexing

1 messages · Page 414 of 1

jolly sparrow
#

Google spies: slide him that generic c++ ide gang

rough sapphire
#

Guess Google also wants me to learn C++ and not C.

topaz aurora
#

lark is fun
The parser's alive!

λ> (+ 5 (* 5 5) 5)
35
graceful basin
#

lark seems overkill for lisp

topaz aurora
#

Actually yeah now that I think about it

#

Though it's two birds with one stone so I might as well

plucky ridge
#

Wait, so the prepended operation can handle an arbitrary number of arguments?

graceful basin
#

most lisp functions are variadic

plucky ridge
#

Why did I think it could only handle 2 at a time...

graceful basin
#
#|kawa:1|# (> 1 2 3 6)
#f
#|kawa:2|# (> 6 5 4 2 1)
#t
``` even things like `>`
plucky ridge
#

Is that like an any?

#

On first fail it short circuits?

#

And is it comparing like....

#

1 > 2, 2 > 3, 3 > 6?

#

Or does it compare it all to the first

graceful basin
#

definitely does not short circuit

#

as for the internal impl, I would assume it works like that

#

for short circuiting, it would have to be a macro, which it is not

#|kawa:1|# >
#<procedure >>
#|kawa:2|# let
#<macro let>
high verge
#

@shadow jetty

#

speaking of stupid uses of dunders

shadow jetty
#

i have a ridiculous one i've shared a few times

high verge
#

ooh

#

i've been trying to think of interesting ones but i've been coming up a little short

shadow jetty
#

!e

class Stringy:
    def __init__(self, name):
        self.name = name
    def __getattr__(self, attr):
        self.ext = attr; return self
    def __matmul__(self, other):
        print(f'Emailing {self}@{other}')
    def __str__(self):
        return '.'.join(attr for attr in self.__dict__.values())
    def __call__(self, msg):
        self.msg = f'.. {msg}'; return self

class StringyDefaultDict(dict):
    def __missing__(self, key):
        if key.startswith('__'): raise KeyError(key)
        self[key] = Stringy(key); return self[key]

class EmailMeta(type):
    def __prepare__(*args):
        return StringyDefaultDict()

class Server(metaclass=EmailMeta): ...

class Email(Server):
    lemon@discord.py('Hi lemon!')
    ves@zappa.edu('Hi ves!')
    joe@mama.com('Hi joe!')
royal lakeBOT
#

@shadow jetty :white_check_mark: Your eval job has completed with return code 0.

001 | Emailing lemon@discord.py... Hi lemon!
002 | Emailing ves@zappa.edu... Hi ves!
003 | Emailing joe@mama.com... Hi joe!
high verge
#

oh god

#

i didn't know you could do that

#

is the @ still being a decorator?

shadow jetty
#

it's __matmul__

high verge
#

i was actually thinking of doing 'haha @ is also email' but it wouldn't have been as good as that

#

oh nice

#

i didn't realise that [x] could have x as a tuple

#

or

#

well

#

[x,y,z] gets passed as (x,y,z)

shadow jetty
#

you use [...] on classes with __class_getitem__

#

or define __getitem__ in a metaclass

#

i use it as a constructor for a class

high verge
#

oh god i have an idea

shadow jetty
#
In [40]: from real_ranges import *

In [41]: Range[1:4], Range[10:], Range[:3.14159]
Out[41]: ([1, 4), [10, ∞), (-∞, 3.14159))
plucky ridge
#

Ow my brain

#

God, I wish I was half as smart as you

shadow jetty
#

have you seen the ranges library?

plucky ridge
#

Okay, that time implementation

#

THAT'S genius

high verge
#

brought to you by subpar psuedocode

shadow jetty
#

oh, i made a neat helper class for ranges that you might like

#
In [43]: x = Var('x')

In [44]: RangeSet(x < 3, 4 < x < 6, 7 < x < 8, 9 < x)
Out[44]: {(-∞, 3), (4, 6), (7, 8), (9, ∞)}
#

inspired by sympy

#

reduces typing

deep drum
#

so GitHub is doing another design change in Feature Previews

#

i do not like it at all tbh

#

I like their repository refresh. It's quite different and experimental, could use some work, but overall interest.

#

But this new site redesign with all the circles, rounded squares and stuff. no thanks

high verge
#

feels incomplete

#

which it may well be

deep drum
#

It just looks bad. Probably the only Feature Preview that I've immediately disabled.

rough sapphire
#

@oak tangle random q., but if you don't mind me asking, did you happen to go to Leiden uni?

warm widget
#

lemon_thinking exposed

oak tangle
#

@rough sapphire Ha, what makes you think that?

rough sapphire
#

I'm just interested because my gf goes there

oak tangle
#

Ah, yeah, I went there and worked there

rough sapphire
#

fair enough

oak tangle
#

Now I wonder where that email address is listed

tawny star
#

what do you all think of OneLoneCoder?

plucky ridge
#

Not really familiar with them

rough sapphire
#

(4 pics)

gentle moss
#

hah

plucky ridge
#

@rough sapphire True, I could see that. Stealing just for entertainment is a bit shallow, but education is a different matter. I still don't condone it, but I'm less bothered by it, I guess

rough sapphire
#

yes

#

i understand

#

ive got to sleep so

#

gn

plucky ridge
#

Fair enough, sleep well

#

Huh, okay now THAT'S interesting

#

Messing with Reason some more, just got to functions.

#
let add = (x, y, z) => x + y + z;
```Compiles to this in JS:
```js
function add(x, y, z) {
  return (x + y | 0) + z | 0;
}
#

I guess I shouldn't be overly surprised, but I just wasn't expecting it to do the | 0 bits

rough sapphire
#

wasn't the | 0 to force integers or something

#

since javascript only has floats

#
> (1.9999 |0)  + (1.9999 |0)
2```
graceful basin
#

no, it is because functions in JS can receive too few arguments

plucky ridge
#

It's essentially defaulting y and z to 0

graceful basin
#
function add(x, y) {
    return x + y
}
console.log(add(1)) // 1 + undefined = NaN
#

gotta say I am impressed, expected '1undefined'

rough sapphire
#
> (1 + 2.999 |0)
3```
high verge
#

wh

plucky ridge
#

Hold on, I'll see what it does with floats

high verge
#

oh

#

that's horrible

rough sapphire
#

it truncates floats...

#

to ints

high verge
#

this is neat

graceful basin
#

ah, I get it

#

| is bitwise or, and it coerces its args to whole numbers

rough sapphire
#

@graceful basin it's bitwise yes.

#

that's how you force things into integers in javascript

graceful basin
#

and number | 0 is the number itself

rough sapphire
#

as said, javascript doesn't have integers

#

it does floats only

graceful basin
#

but here it is used for this I would think

> undefined | 0
0
plucky ridge
#

Okay so:

#
let float_add = (x: float, y: float, z: float): float => {
  x +. y +. z
};
```Turns into:
```js
function float_add(x, y, z) {
  return x + y + z;
}
#

Which, huh

#

And yes, you do have to do +. when adding floats

#

It's friggin' weird

rough sapphire
#

kinda like it

graceful basin
#

oh, it was for integer setting then.

plucky ridge
#

Seems that way

graceful basin
#

I guess the haskell solution of a Num typeclass is a bit iffy

plucky ridge
#

If there's a possibility that it could be undefined, I think you can just wrap it in an option or something like that

#

Still a little fuzz on the JS interop stuff

rough sapphire
#

yesterday's venture of trying to use R from python ended up poorly.

#

didn't work.

#

gonna have to try again with some new energy. try to set up some docker container that they provided.

#

the problem are the versions and intricacies of calling the correct things from one to another.

plucky ridge
#

Ah, found it, one sec

rough sapphire
#

especially on windows it seemed to be painful since cygwin was involved and there were version number problems with that.

high verge
#

is there a dunder for chained comparison?

rough sapphire
#

chained?

graceful basin
#

no, it just compares multiple times (if this is what you mean)

In [53]: dis.dis("a < b < c")
  1           0 LOAD_NAME                0 (a)
              2 LOAD_NAME                1 (b)
              4 DUP_TOP
              6 ROT_THREE
              8 COMPARE_OP               0 (<)
             10 JUMP_IF_FALSE_OR_POP    18
             12 LOAD_NAME                2 (c)
             14 COMPARE_OP               0 (<)
             16 RETURN_VALUE
        >>   18 ROT_TWO
             20 POP_TOP
             22 RETURN_VALUE
warm widget
#

The forbidden language. Yava.

high verge
#

i have this

#

the brackets change the behaviour

rough sapphire
#

those are binary operators

#

yes, they do

high verge
#

because presumably it does a < b AND b < c

#

so i lose what i'm returning from the __lt__ dunder

plucky ridge
#
let add = (~x: int, ~y: option(int)=?, ()): int => switch (y) {
  | None => x
  | Some(y) => y + x
};
```To JS:
```js
function add(x, y, param) {
  if (y !== undefined) {
    return y + x | 0;
  } else {
    return x;
  }
}
#

Which yeah, probably should have seen that coming

#

Also don't hate, still trying to get the hang of the Reason styling

#

Oh interseting

#

Since Reason can infer the types, I can change ~y: option(int)=? to just ~y=?

high verge
#

i want to know what that exe does lol

#

oh it might be legit

#

weird

idle night
#

May someone please help me find my passion without trying different things? If it is so, that how I think of passion is wrong. Sorry for bringing the subject up again. I wished I had the money to try out new things. I just feel more insecure knowing that it is subjective. But then again maybe I'm wrong. Is it? How can I feel what I think someone else is feeling?

bleak lintel
#

@high verge removing link purely because someone will click it lol

rough sapphire
#

lol

rough sapphire
#

like it shouldnt exist

#

the console was below the code, but i figured since python shouldnt be more than 120 chars wide anyway, why not just put the console to the side, and make more screen space

fluid mason
#

is that pycharm?

#

everything looks so colorful
i wanna edit the colors but im too lazy to go search for it so wtv

rough sapphire
#

it is

#

it's a plugin called material theme ui

fluid mason
#

doesnt pycharm come with its default css styling?

#

eh ill try it out

#

woah everything looks... cleaner

#

aaaaaaaaaaaaaaaaaaaaaaaaaaaaand i regret running the bot in cmd prompt cuz now it types twice REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

rough sapphire
#

xD

#

but ye thats the point of material design

#

to be clean :3

summer knot
#

@modern ibex Replying here since #python-discussion isn't the place. Yes I'm a uni student, just about to finish my final semester

rough sapphire
#

...yes angry sugar

terse heron
rough sapphire
#

What's the bare minimum it needs?

terse heron
rough sapphire
#

Uhuh

terse heron
#

The way it works is via backtracing, which is really cool because it means it can be given 0 numbers and still generate an answer

rough sapphire
#

Oh wow

#

So to use a different sudoku would you need to change the board values?

terse heron
#

Basically it goes through every number 1-9, and if the current iteration would be valid, keep it, and move to the next. Once there's no longer a possible input, delete the previous number, and start iterating again but numbers num-9 so you don't just keep getting the same values

#

And yea basically. I could also make a randomiser and stuff which would be easy enough but haven't bothered tbh

rough sapphire
#

How long did it take you to code this?

terse heron
#

If you're curious this is the solving for an empty board to start

rough sapphire
#

Thats cool

terse heron
#

And honestly the hardest part was making the output pretty

#

Took me about an hour or two just to do that lmao

#

The actual code for backtracing etc. was about 40-60mins

#
def print_board(board: list) -> None:
    """
    Prints out the sudoku board contained within the board list.
    NB: 'boarders' = lines separating the 3x3 grids from each other.
    """
    
    print(f"╔{'═══╤═══╤═══╦'*2}{'═══╤'*2}═══╗")  # top horizontal boarder
    for index, val in enumerate(board):
        print("║ ", end="")  # left column that doesn't interact with other rows/columns
        for nindex, nval in enumerate(val):
            print(nval if nval else ' ', end="")

                
            if (nindex + 1) % 3 == 0:
                print(" ║ ", end="")  # vertical boarders

            else:
                 print(" | ", end="")  # vertical columns

                 
        if val == board[-1]:  # allows us to manually print final row
            break
        
        if (index + 1) % 3 == 0:
            print(f"\n╠{'═══╪═══╪═══╬'*2}{'═══╪'*2}═══╣")  # horizontal boarders

        else:
            print(f"\n╟{'---┼---┼---╫'*2}{'---┼'*2}---╢")  # horizontal rows

    print(f"\n╚{'═══╧═══╧═══╩'*2}{'═══╧'*2}═══╝")  # bottom horizontal boarder```is the printing code
#

Getting the logic right for all that was horrible lmao

#

And tbh this is a pretty basic sudoku solver, basically a brute-forcer

#

Does have a few optimisation things but not many

#

@rough sapphire

rough sapphire
#

Oh damn

#

Looks good

#

I'll have to see how it works when I'm a bit more awake

rough sapphire
#

how big is too big of a YAML file

#

"too big"

#

umm?

#

y e s

#

like, at what point would you say i split it

#

does YAML support imports

#

im currently at 172 lines

#

includes

#

and no ;-;

#

i'd have to do that in code

#

configuration files can be pretty huge

#

sometimes

#

o

#

it depends on the content I guess?

#

true

#

xD

#

config for private bot for my discord server

#

I don't think 172 lines is too much

#

okii

#

some linux .conf files are in the thousands of lines including comments

#

oh

#

true

#

hm cuz like, i also wanna make it so staff can parts it in discord

#

like, add a rotating status

#

so it could grow past the default

#

i think it's about things being logically in the same place

#

ah fair

#

if you start splitting things, as long as they make sense to put into the other place, it's fine

#

i'm already keeping it pretty organized, but yea if 2k lines is accepable, im sure 500 is

#

i'd rather be looking for the settings in one big file than multiple smaller files

#

since that's how other programs do it too

#

yea that makes sense

rough sapphire
#

can someone explain Monolithic and Microservices architecture to me like i'm 12

autumn herald
#

Monolith is a big blob that either work or dont, Microservices are tiny blobs not working together, but its fine because you said its on purpose

#

Ill be at Pycon 2021, thanks for the like and suscribe

high verge
#

nothing works

#

:\

rough sapphire
#

i just had a revelation

#

when you say the word "mandrake"

#

what you're really saying is man and then drake

high verge
#

god this song

#

it's great

#

then they just pull a generic spinnin' records chorus out of their arse at 1:16

rough sapphire
#

@rough sapphire who is this Drake person?

#

@rough sapphire i don't know. i was thinking of drakes. some kind of flying things.

#

Oh

#

Dragons fly

#

magic the gathering has both drakes and mandrakes.

#

its the disk rake util

#

Drake's don't all fly

#

drakes don't fly

#

that's the distincttion

#

@rough sapphire depends on the mythology

#

how does that not fly

#

that's very clearly not a drake

#

same way ostriches dont

#

i guess mtg doesn't have mandrakes. weird.

leaden shuttle
topaz aurora
#

I should probably start using vim-plug instead of pathogen for my vim plugins

wooden silo
#

It's like MtG has no respect for mythological taxonomy!

void carbon
#

hey guys I got confused,

#

look at the address was meant to be same isn't it? I saw a video by telusko and he said that same, what's happening here ?

#

why is the address different here

undone berry
#

It can be the same. But doesn't have to be, cpython caches some numbers as singletons, but not all. Try it with a smaller number, less than 255

void carbon
#

wow! I didn;t knew this technical stuff, tysm

leaden shuttle
#

@topaz aurora I really like vim-plug, but I see packadd everywhere I go these days thonk

bronze root
#

when doing cp-like exercises, should I use the stdlib ?

#

on one hand, not using it is a good way to come up with my own solutions

high verge
#

what kind of exercises specifically

bronze root
#

on the other hand, the stdlib just makes everything cleaner, and is probably going to be the solution that I use in prod

#

hackerrank stuff

undone berry
#

you use any tools available to you unless the task says otherwise

#

you really want to be using stuff like deque() from collections

#

maybe some of the itertools stuff might be going a bit far

prisma geyser
#

I have an out topic question

plucky ridge
#

Shoot

prisma geyser
#

So recently my hard drive crashed

#

And I foolishly had no backup

#

So if I download android Studio again, will I still have my projects there

#

Like are they saved there in my account?

plucky ridge
#

I don't believe so. Unless you were uploading them to somewhere or using GitHub or something

#

If it's wiped, it's wiped

#

The only thing that JetBrains holds on to for you is configuration for your IDE (which that may just be a Pro version thing, not sure)

topaz aurora
#

Argh, the space in my Windows user profile name is coming back to bite me

gentle moss
#

hah

#

never spaces, always lowercase, dashes instead of underscores.

#

i think @rough sapphire is with me on dashes

rough sapphire
#
  • _

gentle moss
#

i don't see it, what's over there?

topaz aurora
#

Might as well migrate to a new profile once I can externally backup my stuff

prisma geyser
#

Ah! So sad 😭

solid pollen
#

The issue with dashes is that it is no go in programming because it is the minus sign

plucky ridge
#

Sort of

#

I mean in a string it doesn't matter

graceful basin
#

Dashes work in identifiers in quite a few languages

plucky ridge
#

winget can't get here soon enough

#

I'm craving for an easy, not Microsoft Store way to update stuff

gritty mulch
#

@cerulean musk If you want to write mods for bedrock you cannot do it in C++

cerulean musk
#

Ok

#

What is the chanel dedicated to C++ developper ? And thank you

gritty mulch
#

You do not want C++

#

How many times

#

Also this is a Python server you'd need to find a C++ Discord

cerulean musk
#

Ok

#

Thank you

#

Bye

rough sapphire
#

I've been having this PSU crackling sound since a while now and it's driving me mad. It's much exaggerated here and only barely audible when the case is closed. Does anyone know what's wrong with my PSU? :P

cerulean basin
#

My first suspicion is the fan

#

Try blowing out any dust

#

If it still persists then email its manufacturer

plucky ridge
#

Yeah sounds like a fan hum

#

Doesn't sound like coil whine....

rough sapphire
#

Hmm, I cleaned the fan but the noise persists

#

The warranty is void since a year unfortunately

leaden shuttle
#

oh no @rough sapphire

#

what have you done.

#

It's suffering from Arch Linux

rough sapphire
#

xD This has been happening since quite some time now

leaden shuttle
#

it's overseer btw, changed name

#

oh okay :D

#

Chess and drinking Thonk

#

what could go wrong

rough sapphire
#

W h y

graceful basin
warm widget
#

Cpu: I don't feel so good.

rough sapphire
#

LOL

rough sapphire
lucid quiver
#

where do i buy dis

rough sapphire
#

Do you even have kids?

#

Nevermind you can even use it on annoying Discord moderators...

tight meadow
#

I need that product in my life

#

I’ll buy your entire stock

#

In fact, I’ll buy the company

rough sapphire
#

Deal

#

Agrees because there's like 420 lawsuits on the company.

#

Cough cough

tight meadow
#

Does not matter

#

I’m already wanted enough

rough sapphire
tight meadow
#

I’m already chasing an idiot for blowing my house up

#

Literally

rough sapphire
#

I'm being blackmailed and sexually abused by a 18 year old lesbian...

#

Literally pedophilia right there.

tight meadow
#

That sucks

rough sapphire
#

Yuh, she won't leave me alone.

tight meadow
#

It’s hard to read discord with my mask on

rough sapphire
#

It's hard to read Discord while split-screening.

tight meadow
#

But if you want her to leave you alone, then just cause a sinkhole at her house

rough sapphire
#

Nah let me let that bioch do her thing until she gets tired of me.

tight meadow
#

Your call

rough sapphire
#

Has ended.

tight meadow
#

Have you ever tried to drink water through a mask

rough sapphire
#

No

tight meadow
#

Well I just figured out it is possible

rough sapphire
#

W h y

tight meadow
#

But you’ll get more water on your mask rather than in your mouth

rough sapphire
#

Yes, makes sense. #DoNotWasteWater

tight meadow
#

I could pull up the mask but that will get rid of the point of my mask and straw hat

rough sapphire
#

Why are you even wearing a mask...

#

Fuck it, corona time!

tight meadow
#

Because I needed a pfp but I didn’t want to show my face

#

So the idea of my pfp was born

rough sapphire
#

Default avatar also works.

tight meadow
#

Eh

#

Not a big fan of it

rough sapphire
#

Epic hacker boys 69 use the default avatar and have a status of invisible.

#

I bet you want to join their hacker group and DDos little girls for cp don't ya?

#

Police sirens intensifies.

tight meadow
#

No

#

I’m not a hacker so I’m not interested

rough sapphire
#

That's what I thought.

#

Pffft

#

Not a script kiddie, smh.

tight meadow
#

Most “hackers” are script kiddies

rough sapphire
#

Yes

#

That's my whole point...

#

Join their epic "hacker" group to DDos and blackmail people, oh my god!!!

#

Hackers, wooo!!!

tight meadow
#

The idea of being a hacker isn’t “cool”

rough sapphire
#

All they know is how to ping <some IP> -t lol

#

Smh

tight meadow
#

Hacking is illegal

rough sapphire
#

I know

tight meadow
#

And you will get arrested

rough sapphire
#

And I'm literally being sarcastic rn.

#

I'm not serious.

topaz aurora
#

dir C:\Users /s

tight meadow
#

I know

soft violet
#

Hacking has a variable definition.

rough sapphire
#

What

soft violet
#

Not all hacking involves illegality.

tight meadow
#

That is true

rough sapphire
#

I hack't my mum's BIOS lololol.

soft violet
#

Not all hacking is sitting at a keyboard going kekeke

rough sapphire
#

KEK

tight meadow
#

True hacking is cutting something up

#

With a crowbar

rough sapphire
#

So... Is anyone interested in teaching me how to hack or no...

soft violet
#

There's hardware modification. It's using technologies in ways they weren't originally intended. Hardware hacking. Engineering. Not necessarily illegal.

tight meadow
#

@rough sapphire Take your local crowbar and hit a window with it

rough sapphire
#

I'll get arrested for vandalism.

tight meadow
#

Boom your hacking

rough sapphire
#

Fuck

tight meadow
#

Hack your window

rough sapphire
#

But I'm only 15, a virgin...

#

No- Not yet!

tight meadow
#

So that one day you will become the greatest hacker

#

You will be able to hack any window

rough sapphire
#

I will hack my sister though.

tight meadow
#

Especially windows 10

#

I hate those kinds of windows

rough sapphire
#

Windows, ah yes I know how to get admin on it without having access to the os itself.

soft violet
#

Or that time I, through a genuine and honest accident, discovered a way to get free photocopies at uni.

tight meadow
#

Lol

soft violet
#

I told the head of the place. Nothing was done to patch it.

rough sapphire
#

Lol

soft violet
#

There was provision for free copying under certain circumstances, so I just used it then.

tight meadow
#

This is the reason I don’t use windows anymore

#

Both digitally and physically

soft violet
#

Hm?

rough sapphire
#

C'mon man, it's a sexy ass os.

tight meadow
#

I have removed all the windows from my house

rough sapphire
#

Lol

tight meadow
#

All the windows from my computer

rough sapphire
#

Fuck it, no Windows.

#

Lol let me find an image of a guy removing a Window.

tight meadow
#

Anyone who tried to break into my house faces my true hacking

rough sapphire
#

And uninstalling Windows 10...

tight meadow
#

I will use my true hacking skills at Microsoft

#

And break all the windows

#

All of them will shatter

soft violet
#

At any rate, if you consider conputers and the internet like an organism, you want that organism to have a good immune system. Having no bad actors would be a really bad thing, because then that immune system isn't being stimulated and it would start to atrophy. Then, when something does come along, the organism gets really sick and maybe dies because, oops, no immune system.

tight meadow
#

Fax

soft violet
#

The universe works in fractals.

#

Micro in us, macro in what we have built.

tight meadow
#

Your starting to get too philosophical for my small brain

red willow
#

who is in charge of changing the Off-Topic channel names?

soft violet
#

Bot does it.

red willow
#

really?

soft violet
#

Is that what you mean?

red willow
#

is that what I mean? I'm not following

#

seems like the off-topic room names change frequently

soft violet
#

Does my answer satisfy your question?

rough sapphire
#

Sorry for the shitty format but I couldn't do much on a tablet...

tight meadow
#

Thank you I’m gonna take that now

#

And credit you

red willow
#

umm.....how does the bot know what to change it to?

rough sapphire
#

Oh

#

OH

tight meadow
#

No but seriously that’s perfect

soft violet
#

@red willow It draws from a database of room names which is added to at admin whim.

rough sapphire
#

IT WAS WINDOWS 10 DOWNGRADE, LET ME UPDATE THE MEME.

red willow
#

ok thanks

#

was just curious

#

I need to get back tot Autocad tutorials but I am just burnt out

#

so I am procrastinating on here

#

😁

soft violet
#

I would at least swap around the image order. Most people read left to right. Top and bottom may be more universal.

rough sapphire
#

I can't do pro photoshop editing, sowwy.

tight meadow
#

It’s fine

#

Its still good

rough sapphire
#

<3

tight meadow
#

Anyways I gotta become a master hacker

warm widget
rough sapphire
#

Fuck it, no Windows

warm widget
#

watches How to hack 14 hour long video on youtube ;/

#

I can just imagine it

tight meadow
#

No not that kind of hacking

#

Physical hacking

rough sapphire
#

There's a noob to expert Python course on YouTube that's like 12h or 16h long...

warm widget
#

Physcal? okay this is beyond me.

tight meadow
#

When you hack?

rough sapphire
#

When you hack.

warm widget
#

You mean life hacks?

tight meadow
#

No, the action of cutting and hitting things with excessive force

#

Or opening things

rough sapphire
#

I opened my own hole in a wall.

#

Hacker

#

Man

#

I hacked the wall.

tight meadow
#

I hacked my window

rough sapphire
#

I hacked my own laptop.

#

It's dead now.

rough sapphire
#

Mr. Hackerman

rough sapphire
#

I've got a Hacker book with Kali

high verge
#

your book runs on kali?

rough sapphire
#

Yes

#

I need to use kali to practice in that book

rough sapphire
#

let me downgrade to 8.1

solid pollen
#

Why so different colors haha

rough sapphire
#

that is by far the worst vscode theme i've ever seen

#

no offense

#

everything is just so fucking GREEN

solid pollen
#

... Green?

rough sapphire
#

red then?

undone berry
#

red

rough sapphire
#

because that's even worse

#

why

solid pollen
#

Ah, you are colorblind?

rough sapphire
#

@rough sapphire 🥳 happy midsummer

#

you too man

#

trying to make hamburger patties out of minced meat here 🍔

#

never done them by hand before. usually just by them premade

#

what do i need

#

i have ... meat

undone berry
#

onion, egg, and minced beef

rough sapphire
#

i have eggs but i don't have onions

#

@solid pollen protanopia

undone berry
#

pretty sure you really want onions

rough sapphire
#

it'll be fine

undone berry
rough sapphire
#

i'm not chopping onions. too much trouble

undone berry
#

chopping onions is a skill worth learning

#

everything good has onions in it

rough sapphire
#

chopping onions is actually much easier than you think

solid pollen
#

Ah okay

rough sapphire
#

i learned it in no time

#

the chopping of the onions part is kinda easy but i hate the part where you have to take the onions apart

#

like peel them

#

plus it makes a mess

undone berry
#

it's a very easy to clean mess

rough sapphire
#

just cut a slight circular ring around the onion and peel it off like a sock

#

the only foods i'll chop onions for are like guacamole and umm

#

tzatsiki? does that even have onions?

#

no

#

it has garlic

undone berry
#

I can't think of any good meal that doesn't involve onions

rough sapphire
#

onions are great

undone berry
#

onions are great

rough sapphire
#

they're bad for your stomach

undone berry
#

are they?

#

that doesn't sound right to me

rough sapphire
#

well for mine at least

undone berry
#

that's fair

#

truly a terrible situation to be in

sand goblet
#

Big fan of both onions and garlic

undone berry
#

I'm sorry for your onion loss

sand goblet
#

Sometimes I even put them in the same dish!

undone berry
#

can't put garlic in a sandwhich

#

or at least - it sounds like a bad idea

sand goblet
#

Sure you can

#

Have you never had a tikka sandwich?

wheat lynx
#

What about garlic bread?

#

That's pretty much the same thing

#

Well it isn't, but still

undone berry
#

it's the cooking that seems important to me

#

and garlic bread is usually cooked/hot

#

can't just have a cheese and garlic sandwhich

#

I think

#

maybe i should try it...

#

i haven't had a chicken tikka sandwich - no

wheat lynx
#

You can have garlic + herb dips, and I guess they wouldn't be cooked

undone berry
#

that's true

sand goblet
#

Garlic butter is nice for making a grilled cheese

undone berry
#

honestly - I have yet to find a thing for which garlic butter isn't nice for

#

cakes I guess

sand goblet
#

I mean on the outside

#

As the frying fat

rough sapphire
#

did someone say free

#

free as in freedom

#

free as in bald eagles

#

why are they considered bald

#

when they have feathers

rough sapphire
#

this guy has his stuff together

#

I'm glad I came across his videos on my YT feed

topaz aurora
#

Personally I have some gripes with ex-Google, ex-Facebook, TechLead

rough sapphire
#

how come Momo

#

he reminds me of someone I used to know.. who's wife also left him and was a senior tech lead

topaz aurora
#

Silencing a smaller YouTuber and being involved in doxxing them just cause he didn't like the criticism

rough sapphire
#

ahh.. let me look that up

#

lot of internet history to unpack here

#

I never knew YT had to release names in case of copyright strikes

#

guy1 made some video criticizing Matt Tran and TechLead, anonymously

#

TechLead copyrighted him to get his names, shares it with Matt Tran.. Matt Tran doxxes him and admits it

#

Seems Matt Tran reached out to Tren, the university student, to remove the video first..

#

now I need to see what sort of criticism he shared.. doxxing is illegal afaik, wowow

#

seems like a non starter.. issue happened late April, didn't go anywhere and they're still going back and forth

urban night
#

Any help

high verge
#

and then nothing?

rough sapphire
#

Does the recources page have anything about Collections?

high verge
#

well

#

!resources

royal lakeBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

ebon condor
#

is anyone here going to be celebrating litha this weekend?

rough sapphire
#

what's litha

#

I mean I probably am but I don't know what "litha" is

#

Germanic neopagans call their summer solstice festival Litha interesting

ebon condor
#

ye that

rough sapphire
#

i'm just doing regular midsummer

ebon condor
royal laurel
#

i would but my parents are from, well, a catholic cult

#

they'd probably exorcise me

ebon condor
#

just be subtle? i managed to convince my mom tarot isnt bs

undone berry
#

is the summer solstice the same as the longest day of the year?

ebon condor
#

ye

undone berry
#

thank god

rough sapphire
#

the summer solstice is yes

#

but the celebrations don't always hit that day

undone berry
#

really? That seems weird

#

or is it a nearest weekend type thing?

ebon condor
#

well if i celebrate for a few days ill be right eventually

rough sapphire
#

@undone berry yes

ebon condor
#

a lot of people i hang out with are celebrating it rn

leaden shuttle
#

@rough sapphire the guy is an imposterous prick

pliant pine
#

Thanks man @wheat lynx

loud basalt
#

help my wall is pecking my bird

wheat lynx
#

Thanks man @wheat lynx
No problem, feel free to contact @polar knoll or ping mods in the future if people are being a pain.

pliant pine
#

Cool

stuck meteor
#
import socket

def receive_message(conn, client_addr):
    while True:
        msg = conn.recv(4096)
        print('[%s] %s' % (client_addr[0], msg.decode()))
        
def server(addr, backlog=1):
    try:
        s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
        s.bind(addr)
        s.listen(backlog)
        print('[+] Server initialized - Waiting for connections...')
    except socket.error as error:
        print(error)
        server(addr, backlog=1)

    conn, client_addr = s.accept()
    print(f"Connection to the server - Client establised: {client_addr}")
    receive_message(conn, client_addr)

if __name__ == '__main__':
    server(('141.255.152.173', 30005))
``` this is working on my pc but not on python repl, but was working before
#

how is that possible lmao

high verge
#

not on python repl?

#

like an online thing?

stuck meteor
#

yeah

#

to simulate another pc

#

because i wanna keep this server online and connect many clients to it

high verge
#

they probably won't allow that cause then people would just use their service as a webhosting provider

stuck meteor
#

before i was running the server on the repl and sending messages through client.py (on my pc)

#

and was working

#

very odd

#

it is running now, ive used socket.gethostname()

#

let me try to connect from my pc

high verge
#

huh it does work

#

that's interesting

stuck meteor
#

Uhm, im trying to connect to that server with client but doesnt work

#

is there a reason why thats not working? lol

rough sapphire
high verge
#

what if it's trying to avoid reading that file

royal laurel
#

failed task completed successfully

rough sapphire
#

it successfully didn't read the file

#

for security purposes

#

make sure it wasn't run with sudo yaknow

#

it's a systemd unit which is supposed to run as root, though

#

some dev probaly just told it to log that, for this reason

#

just to mess with people

high verge
#

guardian getting a bit unsubtle with the marketing

#

it used to be 'we're good at being a newspaper give us a quid'

#

and now it's 'if you dislike boris johnson give us a quid;

sullen thorn
#

eh they put it at the bottom of the article, so i'm ok with it lol

#

also they're not wrong

#

(at least the first paragraph)

pine vector
#

yeah, as journalists you'd expect With those in power failing us.. and without political and commercial bias not to occur in the same place. 😄

sullen thorn
#

You guys ever been given credit in a project you didn’t work on?

warm widget
#

Once.

#

To be fair, I literally did the entire proj by myself, but someone else did a shitter version and got their own chosen instead of mine.

#

Didn't complain, free total.

sullen thorn
#

lmao

rough sapphire
#

@leaden shuttle naa

#

I don't believe in cancelling people who I disagree with. That's for people who can't control their emotions

leaden shuttle
#

Are you referring to TechLead that actually did that? Or are you saying that I am cancelling him because I said he was an imposter?

rough sapphire
#

why do you say he's an imposter

#

I mean, it's pretty hard to clear interviews and work at one of these companies.. guy has an ego problem, but I'm only impressed by his skills.. not his life

#

I thought you wanted me to dismiss him completely because of his short comings, which is cancelling someone.. and that I didn't want to do

undone berry
#

right area, right university, enough practice on leetcode

#

that's pretty much it

rough sapphire
#

is there anyone you look up to?

#

like.. I see all these statues coming down and I'm wondering if these people actually mean well or just taking out their frustrations on the world

#

there are less skilled people at fang, that's a given.. a lot of them complain there are less skilled people around.. I've also met sr devs who don't see the point of working when they make more in stock than they do in hours

#

but that doesn't change the fact they're still hard to get in to.. some times luck, mostly talent

tight coral
#

I'm looking Profile-Guided Optimization (PGO) and it's very interesting

rough sapphire
#

it kinda does

#

well i don't know leetcode that well but the algorithm questions are not easy

#

fake news?

#

what

#

i've failed a couple of job interviews miserably because they've thrown algorithm questions at me.

undone berry
#

If you can just get the basics down with a dsalg book/course, then practice for an hour a day, it doesn't take too long to get up to scratch

rough sapphire
#

the last time i was thrown some pretty involved dynamic programming question

#

didn't even know it required dynamic programming

undone berry
#

Yeah. That's part of what you learn with the practice

#

Learning to get at the algorithm behind the question

#

I used to be alright. Now I've just forgotten everything

rough sapphire
#

but most of the time you honestly don't need to know that stuff when you're working

#

it really depends on the placement but

undone berry
#

Yeah. It comes up very rarely from what I understand. Some people disagree and say it's vital

rough sapphire
#

probably depends on the thing you're doing

#

might be something that when you don't know what you're missing, you don't see it as important

undone berry
#

Yeah. That's very true

rough sapphire
#

how to make a php login system

undone berry
#

Understanding core data structures is obviously important. Lists and hash maps and their operations. Stacks and queues and their uses

rough sapphire
#

there was a live programming session with one guy who wanted me to solve "how do you write the algorithm for detecting whether the game of battleships is over"

#

or whether you've sunk the ships or something

#

fucking nightmare

high verge
#

i don't even know the rules of battleships

undone berry
#

Surely that's just iteration over a matrix?

rough sapphire
#

there was some very annoying bullshit about it

#

like you had to make sure whether the ship you hit was even in a legal position or something

pine vector
#

lol.

Step 1: search SO
Step 2: implement SO solution

no job for me...

rough sapphire
#

and the ships were not of the "traditional" kind - they could be 2x wide

#

i told the guy when we started that i dislike this question because i'm bad at this kind of problem solving.

#

he was not impressed.

high verge
#

what kind of company was it for

rough sapphire
#

i don't remember

#

the problem isn't probably hard if there is any algorithms knowledge behind you and you've done any of those things ever

#

but to me it just felt like "this is the worst bullshit I have ever had to face" when i literally hadn't ever done anything like that

undone berry
#

I feel like I'm very good at spinning the right kind of bs for interviews. Last one I did required some simple data analysis and a recommendation, but I was ill so I couldn't think straight and just chatted nonsense for 20m

#

Just ended up nodding along with what the interviewer suggested, with him essentially answering the question. Somehow it worked though

pine vector
#

buzzword it. "First, i'd execute a breadth-first on the legal position LUT. Then, if that passes, I'd execute an A* search for the hit position against the ship locations LUT".

rough sapphire
#

🧠

#

@pine vector except they put me on screenshare and we were writing code

#

😅

high verge
#

just start pasting random hacker stock photos into a word document

undone berry
#

That's why practice on leetcode stuff is worthwhile. If you can at least poke the code in the right direction without google, it looks much better

#

and solving dsalg problems is very different to normal programming

pine vector
#

@rough sapphire hehe. yeah, at that point i'd probably be like "Y'all hiring in the mail room?"

rough sapphire
#

lol

pine vector
#

or, just start typing import blockchain and wait for the giggles...

rough sapphire
#

there have been very successful tech interviews too. those have usually involved doing some practical stuff.

undone berry
#

just throw in as many buzzwords as you can think of. Using the blockchain oriented GANN deployed as a distibuted system, we can scan the board to detect sunk ships...

rough sapphire
#

... do you want to work for a company that falls for that?

undone berry
#

I like money - so yes

rough sapphire
#

being employed is better than not employed

#

but to go to switch to something like that, no thanks

pine vector
#

in seriousness, i'd likely just be flat out honest: algorithms are a large weak point for me. i have a basic understanding of their application, and some terminology. if provided the opportunity and the necessity, i'm confident this weak point can be addressed. thank you for your time, have a pleasant day. <ends call>

rough sapphire
#

that's what I've kinda been doing. telling them that I'll design you systems etc

high verge
#

does leetcode have different max times for different languages

undone berry
#

I think so, yeah

high verge
#

hmm ok

undone berry
#

fwiw - by Leetcode, I don't actually just mean Leetcode. There's tonnes of sites like that

#

CodeSignal is by far the best I think

high verge
#

ok

#

cause i have an 'Easy' one that I can't avoid a timeout on one testcase for

undone berry
#

For leetcode, that probably means your time complexity is bad

graceful basin
#

ye, your algo is bad then

undone berry
#

there's a chance the same code would pass in C++, but it can definitely be improved in Python

high verge
#

ok

#

i am awful at algorithm design

undone berry
#

you just need to practice

high verge
graceful basin
#

I think in leetcode, time complexity will kill you regardless of language

high verge
#

is it just 'use map' or something

undone berry
#

just link the problem and paste the code

#

that screenshot is rubbish to read

graceful basin
#

ye, that is not optimal, and so will not pass afaik

high verge
#

ok but i can't see how it could be less

#

well

#

it's O(n^2) right now right?

undone berry
#

yeah

high verge
#

i can't see how you could have a non O(n^2) solution given that you need to consider all combinations

rough sapphire
#

not necessarily

#

there might be some magic

craggy knoll
#

perhaps a divide and conquer algorithm could work

#

im not sure exactly how though

rough sapphire
#

sorting in general is O (n log n)

undone berry
#

you could do it in n log n

#

sort it, then do n binary searches

high verge
#

what

#

is this 'use the magically faster python methods'

rough sapphire
#

@high verge sorting is faster than O(n^2)

undone berry
#

sort it. Then for each number in the list, do a binary search checking to see if the other number is in the list

#

that made no sense

#

it does in my head

high verge
#

i think it does

#

so it's faster because it's the same list twice

rough sapphire
#

import antigenicity]

undone berry
#

sort the list. Then each number in the list has a potential partner, search the list for the potential partner

high verge
#

so sorting it only has to happen once

undone berry
#

that's n log n

craggy knoll
#

yeah you could sort it first, then only consider the numbers strictly less than the target

#

but that would still be worst case n^2

graceful basin
#

you do not need the binary search actually from what I can tell. My solution passed with just regular linear probe

undone berry
#

hm - I can't see how you can beat n log n

#

can you dm me your solution?

high verge
#

but isn't 'searching the list' another * n

undone berry
#

not if it's sorted

high verge
#

ohhh

undone berry
#

then it becomes log n

high verge
#

and also because in mine, the inner for loop will use all elements except in the final one

undone berry
#

oh - turning the list into a set

#

that's the actual way

#

if the target value is n
Turn the list into a set
For each number x in the set, check if x-n is in the set

pine vector
#

hehe. i was thinking that the whole time. but, i love sets...

rough sapphire
#

finna made a program that tells me the percentage of the population infected for each country by the COVID-19.
but now i want to do much more
like make a graph and send me the data everyday via email or whatssapp

#

cuz it changes every day

graceful basin
#

|| nums_ = Counter(nums) while nums: n = nums.pop() nums_[n] -= 1 idx = len(nums) if nums_.get(target - n, 0) > 0: return nums.index(target - n), idx|| should be in theory O(n), though not sure why I decided to go with pop() when I first wrote it

undone berry
#

that does not seem like the cleanest way to write that code

graceful basin
#

ye, I am not too sure why I decided to do it this way

#

old code

undone berry
#

It's O(N) though which is what matters

graceful basin
#

ah, I remember now. duplicate numbers. The set solution would possibly fail on [3,5,1] when the goal is 6, because target - 3 is in the set, and it would return 0, 0 which is incorrect

high verge
#

O(-n)

#

actually

#

'find the first (x)'

#

what would that be

graceful basin
#

so I went destructively backwards to prevent number reuse

obtuse falcon
wheat lynx
#

What are people taking about? Probably Python

obtuse falcon
#

ı am new they are using terms that are ununderstandable by me

#

!paste

rough sapphire
#

gotta hate those websites that add them selves to the history 15 times so when you try to go back it doesn't do anything.

obtuse falcon
#

to exit them gotto clik faster tham sonic

rough sapphire
#

hold back

#

atleast on firefox

obtuse falcon
#

waht

rough sapphire
#

hold the back button

obtuse falcon
#

oh okah

#

do you suggestion for me i started todyt

rough sapphire
#

python?

#

fizzbuzz

#

print 1 to 100, for every number divisible by 5 print fizz for every number divisible by 7 print buzz, for everything divisible by both print fizzbuzz

obtuse falcon
#

i wiil do that

#

thx

deep drum
#

Can a O(1) implementation be a worse choice than O(n)?

graceful basin
#

yes, when the input size is small

rough sapphire
#

@deep drum if the constant is for instance "this will take longer than the whole time the universe has existed" then yes

#

then your n would have to be pretty darn huge for it to be worse than that

#

but theoretically at some point your n will be large enough so...

graceful basin
#

time complexity is only meaningful for large sizes

undone berry
#

hashing is an example where that might be the case. Searching a tiny list is possibly faster than hashing something in a dictionary

graceful basin
#

or sorting

rough sapphire
#

the operation could literally be anything when talking about time complexity though.

#

😽 💤 time to go to sleep now

halcyon mantle
#

time to make a hot chocolate

leaden shuttle
#

😋

dusk cedar
#

happy father's day :D

undone berry
#

Hot chocolate is grim

rough sapphire
#

hot chocolate is awesome

undone berry
#

I used to love it

#

Now I just cant drink it

dusk cedar
#

hot chocolate i feel is only good in the winter

#

i cant drink it in any other season or else it feels wrong

tight meadow
#

hot chocolate is meh

#

it's good the first few sips but beyond that is just tastes like liquified chocolate

dusk cedar
#

yea

tight meadow
#

but if you push marshmallows in it

#

it's good

#

or at least the marshmallows are

dusk cedar
#

yea, but if there are too many its really sweet and weird

#

too many marshmallows at least

tight meadow
#

true

halcyon mantle
tight meadow
#

Unless you want to get it illegaly, no

halcyon mantle
#

xD

#

damnit

tight meadow
#

Or at least I don't think so

halcyon mantle
#

i found some good ones tho

tight meadow
#

what do you need them for?

#

actually, nevermind

halcyon mantle
#

my bot

tight meadow
#

oh

rough sapphire
tight meadow
#

oooo, I might check that out

halcyon mantle
#

I'm not making a website

dusk cedar
#

...

rough sapphire
#

@halcyon mantle What are you doing, then?

halcyon mantle
#

I just said lol

dusk cedar
#

a robot? or something else

halcyon mantle
#

.....

dusk cedar
#

uh oh

tight meadow
#

my bot

rough sapphire
#

Discord bot?

halcyon mantle
#

yes

rough sapphire
#

I don't see why you couldn't use FontAwesome if that's the case

#

They're just .svg files

halcyon mantle
#

they're pretty ugly

rough sapphire
#

I disagree, but alright.

halcyon mantle
dusk cedar
#

oooh, i didnt know the first picture wasnt real

#

that clears stuff up

tight meadow
#

the more icon websites you guys send, the more I save as bookmarks

#

keep this up

halcyon mantle
#

the one i sent is all u need ;)

#

they have packs too

tight meadow
#

I might use them for some UI or something

halcyon mantle
#

my favourite author is dinolabs

dusk cedar
#

@halcyon mantle oh my gosh this is an amazing site, thank you

halcyon mantle
#

@dusk cedar no problem my dude

leaden shuttle
halcyon mantle
#

dinosoftlabs

#

my bad

leaden shuttle
#

thanks

halcyon mantle
tight meadow
#

that's fire

halcyon mantle
#

owo

rough sapphire
tight meadow
#

people have security camera in their house

rough sapphire
#

CCTV cameras?

tight meadow
#

there are some really paranoid people out there

halcyon mantle
#

you should take a look at the anti-racism icons

#

they're hardly anti

rough sapphire
#

I'm good

halcyon mantle
#

Ok

high verge
#

flaticon ones can be a bit ugly

#

more mixed than other sites

sand goblet
#

We have multiple cameras in our house

#

well, by multiple I mean two

#

one on the driveway

halcyon mantle
#

me too

sand goblet
#

and the other one is pointed at the water pressure guage

high verge
#

also not free without attribution

#

which is a bit of a major issue in a discord bot it seems

halcyon mantle
#

i never attribute lmao

high verge
#

cool

#

but you want people to not steal your open source stuff

sand goblet
high verge
#

turn off your water pressure

#

turn off your driveway

tight meadow
#

why do you need to check the water pressure?

halcyon mantle
#

@high verge everything of mine is open source

sand goblet
#

We were having issues with it

#

the guage is hard to get to

tight meadow
#

makes sense

sand goblet
#

we just had some work done after a pressure valve failed outside and fired water down the garden

tight meadow
#

also nice driveway

sand goblet
#

thenks

halcyon mantle
#

how do you steal open source stuff

#

@high verge

tight meadow
#

you go to the source code

#

and you go gimme gimme

halcyon mantle
#

then it's not stealing

sand goblet
#

you steal it by not following the license

halcyon mantle
#

nobody pays attention to licenses tbh

tight meadow
#

that's not true

rough sapphire
#

Yes they do... 🤨

sand goblet
#

yeah they do

tight meadow
#

People who don't pay attention to licenses are people who make poor decisions

halcyon mantle
#

a lot of people don't

sand goblet
#

if you violate my licenses I will violate you..r github account with a dmca notice

halcyon mantle
#

you won't

tight meadow
#

damn

rough sapphire
#

Github receives DMCA notices all the time

sand goblet
#

yeah it's a pretty common thing

rough sapphire
#

I don't know why you wouldn't follow a license

halcyon mantle
#

downloading code isn't a violation

sand goblet
#

tbf, that depends on the license

halcyon mantle
#

neither is an image

tight meadow
#

if you don't follow the license then it is

halcyon mantle
#

not really

tight meadow
#

@halcyon mantle it's not about you using the code, it's more HOW you use it

halcyon mantle
#

you can download stuff without knowledge

graceful basin
#

downloading pretty much anything is fine. Using it is another matter

sand goblet
#

I wanna address what you said because it's a common falsehood among pirates

halcyon mantle
#

of downloading it

#

my browser has probably downloaded it, so you are wrong @rough sapphire

graceful basin
#

well, there are cases where you are not allowed to see the data at all

#

such as movies

sand goblet
#

it's commonly used when people talk about streaming stuff, people claim that it's OK to stream things from unlicensed sources - the european courts have proven that isn't the case

rough sapphire
#

@halcyon mantle

downloading code isn't a violation
neither is an image
Depending on the code it very well could be

sand goblet
#

but yeah it absolutely could be a violation

#

of course, it wouldn't be considered open source then, but

rough sapphire
#

Image-wise, moreso even.

graceful basin
#

if the website you dl it from has it legally, you can download it generally, because well, you need to download to see it

halcyon mantle
#

well i've downloaded over a 1000 icons from flaticon, feel free to sue me xD

tight meadow
#

@halcyon mantle look we aren't against you, we are trying not to get you in trouble

rough sapphire
#

@halcyon mantle I imagine those are free icons, or icons that require attribution?

halcyon mantle
#

some do some don't

tight meadow
#

if you want to go against the licensing of free assets go ahead, just understand that you will get in trouble

#

people do pay attention

rough sapphire
#

Then what's the issue with attribution to the original creator?

halcyon mantle
#

all i know is there is a convenient X button

#

no but i cba to attribute for every fucking icon

graceful basin
#

if you intend to use these icons, make sure you have the license to do so.

#

if you just want them on your PC, there is not much to worry about, but do not screw around with licenses

rough sapphire
#

It doesn't make much sense to expect others to follow the licenses for your own code, but disregard others.

halcyon mantle
#

i never said that i have a license?

#

what are you talking about

graceful basin
#

what do you even want to do with the icons?

halcyon mantle
#

not much

rough sapphire
#

@halcyon mantle

i never said that i have a license?
You did though. You said you have open source code. Which, by definition means it would have to be licensed as such: https://opensource.org/licenses

halcyon mantle
#

they are cool

rough sapphire
#

Open source is not the same as source available

halcyon mantle
#

@rough sapphire there's no license file and i really couldn't care if anybody did use my code

graceful basin
#

you should obtain a license with everything, otherwise it defaults to ARR (depends on country)afaik

halcyon mantle
#

what is ARR

graceful basin
#

all rights reserved

#

you cannot do anything essentially

halcyon mantle
#

why would i upload my source code to github if i didn't want people to see it?

graceful basin
#

convenience, for the longest time private repos were not free

#

though you should really have a license in your GH repo

#

it is considered bad form to not have one

#

ye, for those it is fine

halcyon mantle
#

meh... i don't see myself getting sued for using the icons in my bot embed.. i'll be fine

#

and in my eyes.. code is more valuable than an image

rough sapphire
#

@rough sapphire That makes sense, but legally speaking if someone comes in and uses code from one of your public repos and you haven't licensed it, and it becomes a big project, that causes issues.

#

@halcyon mantle this

#

Mind you, I'm not a lawyer. If you have questions about this kind of stuff, ask someone who is a laywer, and who's well versed in it.

graceful basin
#

as someone who can write code and not make images, images are much more valuable to me

halcyon mantle
#

Yeah because you can't make them

#

But how much help, and tools do you get given to you when making an image

rough sapphire
#

Apply your logic about images to user interfaces

#

Does it change?

#

What about CPUs, or architecture?

#

That's pretty much their argument, yeah. They don't believe in attribution to the original creator(s).

#

Anyway, I've got a few things to do. So I'm going to go AFK

halcyon mantle
#

if it was easy, i would

#

but doing it for every icon

#

no chance

#

👌

thin meteor
#

Hi folks, I am looking for quality French socks5 as an alternative of vip72 which can be used via firefox directly if possible, someone would have a tip please ?

sullen thorn
#

why french?

thin meteor
#

need to be located here