#ot1-perplexing-regexing

1 messages · Page 316 of 1

dusky orchid
#

tbh, just g does it for me

#

its not tho lol

gentle moss
#

easy left hand keyboard stab

#

not my fault you've got weak hands

dusky orchid
#

i can't deny this. my right arm is half dead

#

i'd love to learn something like piano one day

#

but that's unlikely to happen

fossil solar
#

im on ubuntu mate @sand goblet

dusky orchid
#

because nerve pain in right arm

buoyant pendant
#

my top commands are probably sudo, nano, apt and clear

sand goblet
#

Scragly said yeah @fossil solar

#

Snap is probably easiest

buoyant pendant
#

noooo

#

apt is way better!

fossil solar
#

which one do u use g

buoyant pendant
#

snap mesed everything up for me

sand goblet
#

It's not in the repos

#

I use manjaro

buoyant pendant
#

oh what is he trying to install?

dusky orchid
#

deb is plenty easy though

buoyant pendant
#

vs code?

dusky orchid
#

yep

#

plus he's got that app store thingo

buoyant pendant
#

yeah was gonna say, deb is good enough

gentle moss
#

ouch scrags

sand goblet
#

The deb won't keep up to date though

gentle moss
#

yeah, my left hand is the heavy lifter while typing and my right is lazy

#

cause guitarist

dusky orchid
#

that's fair

buoyant pendant
#

that store thing never works for me. it always hangs at 99% and wont install anything...

gentle moss
#

i mostly right hand one or two finger type with pinky for enter / shift

sand goblet
#

You just broke it leterax

#

Haha

fossil solar
#

any tips for a new linux user, what to do after installing linux distro

dusky orchid
#

lol two finger typing

buoyant pendant
#

or it will say it installed something and then its nowhere to find!

dusky orchid
#

my dad does that

gentle moss
#

yet still hit over 100wpm

#

on one hand :P

#

left hand is all fingers

#

and big stretches

#

it crosses the middle line

dusky orchid
#

i'm not quick, only hitting maybe 80 on a good day

#

the more i type the slower it gets

gentle moss
#

my left will even do up to j

#

depending on what i'm typing

dusky orchid
#

in school i used to refuse to do the touch typing classes

buoyant pendant
#

@fossil solar

cmatrix -s```
fossil solar
#

whats that\

buoyant pendant
#

then tell everyone you are a hacker!

dusky orchid
#

@fossil solar as a note, never just install anything that people tell you to

gentle moss
#

^^^^^^^^^^^^^^

buoyant pendant
#

its a c implementation of that matrix screen

fossil solar
#

.... -_-

gentle moss
#

a million types don't type random terminal commands

buoyant pendant
#

you know where the letters come down from the top

gentle moss
#

esp as a rookie

#

i mean that's harmless

#

but just as a word of warning

buoyant pendant
#

fair enough

dusky orchid
#

sure, but a lot of things are hidden as possibly harmless fun things

gentle moss
#

do not type in random shit without knowing exactly what it does

dusky orchid
#

google everything

gentle moss
#

heh, true

#

packages can be poisoned

dusky orchid
#

yep

buoyant pendant
#

i hope cmatrix is clean 0_0

dusky orchid
#

even if they were previously clean they can be later compromised

#

it's best to always double check when installing something new

gentle moss
#

then you sudo apt-get update && sudo apt-get upgrade

#

bam, popped

dusky orchid
#

lol

#

i'm on arch these days

fossil solar
#

i did an update

#

what does upgrade do

dusky orchid
#

so it's all just pacman -Syu

buoyant pendant
#

iceman did you want vs or vs code?

dusky orchid
#

code he wanted

#

that was pretty clear

gentle moss
#

update updates the database list for the apt manager

dusky orchid
#

esp since he was comparing it to n++

fossil solar
#

vs code it is

gentle moss
#

upgrade actually updates the packages that need updating

#

or can be

dusky orchid
#

pacman -Syy for me. I never remember these damn commands when i want them.

buoyant pendant
dusky orchid
#

snap also keeps it up to date

buoyant pendant
#

wait. is wget not installed by default?

dusky orchid
#

wget is installed in mate afaik

#

are you sure they're not updating it

buoyant pendant
#

sudo apt install software-properties-common apt-transport-https wget

#

they all look like things that should be installed by default..

dusky orchid
#

well if it's installed already it'll just be skipped

#

so it's not terrible to add it just in case i guess

buoyant pendant
#

i guess so

dusky orchid
#

esp if someone ends up using a random custom install

#

i like how that site you linked doesn't load for me

buoyant pendant
#

haha

#

what

dusky orchid
#

the cdn failed

buoyant pendant
#
sudo apt updatesudo apt install software-properties-common apt-transport-https wget```
#

then

#

add the key

wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
#

and then enable the repo

sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"```
#

then just install it

dusky orchid
fossil solar
#

guys my distro has python 2.7 installed

gentle moss
#

all distros do

dusky orchid
#

not all

gentle moss
#

there's a large portion of shit that still depend on it

dusky orchid
#

it's just not unusual

buoyant pendant
#

showoff @dusky orchid

fossil solar
#

which commands get me python3

dusky orchid
#

that's not me @buoyant pendant

gentle moss
#

sudo apt-get install python3

dusky orchid
#

that's just r/unixporn

buoyant pendant
#

ubuntu always comes with py2.7 a lot of it runs on python

dusky orchid
#

mine is no longer transparent

buoyant pendant
#

so never uninstall it

dusky orchid
#

and when it was it was only down to 80%

gentle moss
#

and NEVER remap "python" from 2.7

#

to 3.6

#

or w/e

dusky orchid
gentle moss
#

you will break EVERYTHING

buoyant pendant
#

i once removed py2.7 heheh

fossil solar
#

how to get python3.7

#

will it get the latest?

dusky orchid
#

don't touch system python tbh

gentle moss
#

you'll have to add the PPA

dusky orchid
#

all system pythons should just be left alone

buoyant pendant
#

sudo add-apt-repository ppa:deadsnakes/ppa

#

deadsnakes ppa for python 3.7

dusky orchid
#

you could use pyenv pretty sure

summer rampart
#

pyenv is nice

buoyant pendant
#

and then apt install python3.7

gentle moss
#

i accidentally aliased python to python3

dusky orchid
#

bad idea

#

lol

buoyant pendant
#

what broke for you?

fossil solar
gentle moss
#

everything

fossil solar
#

should i follow this?

gentle moss
#

i MEANT to alias it to py

#

but typed python

summer rampart
#

best python alias is py

dusky orchid
#

py is very windows of you lol

buoyant pendant
#

yeah that should work iceman

gentle moss
#

it's very lazy of me

buoyant pendant
#

wait

#

nono

summer rampart
#

I have neovim aliased to v lol

dusky orchid
#

afaik there's no perfect eq to py manager in windows on linux

fossil solar
#

waittt

buoyant pendant
#

thats from source. you dont need to do that @fossil solar

fossil solar
#

my distro has python 3.6.8

#

already installed

dusky orchid
#

closest might be pyenv maybe, but that does a lot more

fossil solar
#

how to update to 3.7

dusky orchid
#

you dont update to 3.7

buoyant pendant
dusky orchid
#

you install 3.7

fossil solar
#

okay

#

so i remove 3.6 and install 3.7

dusky orchid
#

no

#

you leave it

fossil solar
#

waat

dusky orchid
#

just leave what already exists

#

install 3.7 on it too

fossil solar
#

okay

buoyant pendant
#

in general never remove anything heheh. might break something

dusky orchid
#

it'll exist as python3.7

fossil solar
#

okay

dusky orchid
#

i used to have a set of build commands for 3.7 actually

gentle moss
#

INSTALL ALL THE PYTHONS

buoyant pendant
#

sudo apt autoremove will clean some stuff up for you if you really want to

gentle moss
#

or when removing an install and want to completely remove all configs and shit

#

sudo apt remove --purge <app>

dusky orchid
#

yeah i don't tend to touch autoremove

buoyant pendant
#

bisk, i did that for python2.7

#

luckily on a fresh install of ubuntu.

gentle moss
#

"remove 'unused packages'? what could possibly go wrong!"

buoyant pendant
#

i couldnt even open a terminal

fossil solar
#

show me ur custamisation guys

gentle moss
#

hello macos

buoyant pendant
#

had to use the ctrl shift f3 or whatever it is

#

i have literally no customization.

#

i like the ubuntu fox logo they have rn

fossil solar
#

which distro

buoyant pendant
#

ubuntu 18 or 19. the one with the fox

gentle moss
#

minimal

fossil solar
#

🤔

dusky orchid
#

oh we showing desktops?

fossil solar
#

u guys custamise ur terminal?

buoyant pendant
#

yes

dusky orchid
#

sure

fossil solar
#

okay lemme do it as well

buoyant pendant
#

little bit of transparency. and changed color

fossil solar
#

default one is not bad tho but some transparency will be good

buoyant pendant
#

also changed the uhh theme for ubuntu

rough sapphire
#

have you tried powerpoint

buoyant pendant
#

haha

fossil solar
#

whats the command to use python3.7 in terminal

#

to type code

dusky orchid
#

python

#

oh n3.7

buoyant pendant
#

python3.7

fossil solar
#

cuz if i just type python,it uses 2.7

dusky orchid
#

python3.7

rough sapphire
#

shazam

fossil solar
#

okay,dint know it was that simple

dusky orchid
#

ye that's it

buoyant pendant
#

you can see what you can do by hitting tab.
python<tab>

#

that will show you all the commands that start with python

fossil solar
#

okay

buoyant pendant
#

even a screenshot of my settings

sand goblet
#

Gnome with desktop icons

buoyant pendant
#

come to find out im still on the beaver version of ubuntu.

dusky orchid
sand goblet
#

You monster

buoyant pendant
#

wha

dusky orchid
fossil solar
#

jeez 3 screens

buoyant pendant
#

ok gonna go eat

#

cya

sand goblet
#

I have 3 too

fossil solar
#

wow

buoyant pendant
#

if i count my laptop as a screen i have 3! but i never do that

fossil solar
#

cya pokemon

buoyant pendant
#

so only 2

#

thx

sand goblet
dusky orchid
#

old pic from when i reinstalled, but that's my monitor setup

fossil solar
#

all 3 linux?

dusky orchid
#

all 3 is the same pc, so yeah

fossil solar
#

nice

#

installed python3.7

dusky orchid
#

i no longer have windows installed on this machine

sand goblet
#

I have but I don't use it often

fossil solar
#

oki

oak tangle
#

I have windows installed, but I'm afraid to boot to it, since it will probably update for a year by now

fossil solar
#

lol

#

show me ur terminals

dusky orchid
#

i already did :3

fossil solar
#

oh yea

#

what colors u use in that

sand goblet
#

I'm not home to do that

#

But I use the default manjaro bash with tilix, adapta nokto theme

dusky orchid
#

@fossil solar it's a colour scheme called OneDark, named after the original editor syntax scheme

fossil solar
#

okay

dusky orchid
#

the font is FuraCode, a NerdFont variant of FiraCode

fossil solar
#

i will google it

dusky orchid
#

also the shell is zsh, and i use the Oh My Zsh framework for zsh configs

#

and the zsh theme is called powerlevel10k/powerlevel10k

gentle moss
#

oooooh

#

we posting desks?

#

intentionally low resolution so you can't see my google query about mssql being a piece of shit

#

or my awful code

fossil solar
#

installed pycham

gentle moss
#

PYCHAM

#

a chamois leather for cleaning your python

fossil solar
#

charm*

rough sapphire
#

why the FUCK your feet on table

#

I'm more interested as to why @gentle moss doesn't use the top shoe holes

buoyant pendant
#

hah

gentle moss
#

these laces were too small

#

i snapped one the other day and this is all i had

#

it feels weird because the shoes feel like they're about to fall off my feet

#

i always wear my shoes super tight, i preferred it when skateboarding

rough sapphire
vapid bluff
#

bisk is that a stuffed raccoon

buoyant pendant
#

those look high quality!

#

i only have cheap acer 1080p 60Hz monitors 😦

fossil solar
#

i have pycharm tar

#

i can run it by ./pycharm.sh

#

what is another easier way

#

like i have to run it always to open pycharm

vapid bluff
#

tools -> create desktop entry or something like that

gentle moss
#

it's a red panda, but close meta

rough sapphire
#

Use the JetBrains Toolbox to install it

#

It's a lot better that way

fossil solar
#

how

gentle moss
#

and feet on table to make my job look casual xx

rough sapphire
#

@fossil solar Download it

vapid bluff
#

there's a way to make a launcher shortcut inside pycharm itself

gentle moss
#

it's not like this desk is new or even ours.

rough sapphire
gentle moss
#

it's got massive score marks in it where some dickhead cut up some stuff without using a mat

rough sapphire
#

yikes

#

actually my current desktop set up is different, I recently assembled a new table for myself

#

it uses motors to go up and down

#

fuckin motors

#

it's also incredibly heavy

gentle moss
#

this one weighs a ton

fossil solar
#

i think i will do desktop entry

gentle moss
#

it's one of those huge business office desks

#

plus i have 3 of them

#

i basically get an entire corner of the office to myself

rough sapphire
#

@fossil solar Toolbox is actually a lot easier, and you don't have to mess with anything else.

buoyant pendant
#

you could add . to path

#

but yeah toolbox is pretty nice

fossil solar
#

okay

#

i will have to install it first

rough sapphire
#

add . to path

#

this can only end well

buoyant pendant
#

here i would even go as far as to use snap to install pycharm/toolbox

#

why?

fossil solar
#

i downloaded toolbox tar @rough sapphire

#

what next

buoyant pendant
#

sudo tar -xzf jetbrains-toolbox-1.13.4801.tar.gz -C /opt

fossil solar
#

i extracted it

buoyant pendant
#

that will extract it to the /opt directory

rough sapphire
#

Should be a single executable in the tar

buoyant pendant
#

ok then inside the dir it makes there is a binary called jetbrains-toolbox

fossil solar
#

what will happen if i extract in downloads folder

buoyant pendant
#

execute that

rough sapphire
#

then add /opt/jetbrains-whatever to the path (or append /bin as well if it needs it)

#

@fossil solar nothing, but you usually want your executables to be somewhere read-only

buoyant pendant
fossil solar
#

okay okay

#

will delete the extracted one and use ur cmd

buoyant pendant
#

ok

fossil solar
#

should i also extract the pycharm tar there itself?

buoyant pendant
#

remember to replace
sudo tar -xzf jetbrains-toolbox-1.13.4801.tar.gz -C /opt

#

with your version

gentle moss
fossil solar
#

what about the pycharm tar

gentle moss
#

SOOOO MUCH DESK

buoyant pendant
#

delete that

#

toolbox will install it for you

fossil solar
#

okay

rough sapphire
#

why the hell is your desk so w a v y

#

and is that.. a picture of trump?

#

eating what appears to be someone's face?

fossil solar
#

done @buoyant pendant

gentle moss
#

nexus 5 panorama technology

#

that's ted cruz inside donald trump's mouth

fossil solar
#

where is this opt folder

buoyant pendant
#

@fossil solar ok! now cd into /opt/mytoolboxfolder and execute the jetbrains-toolbox

gentle moss
rough sapphire
#

usually people keep pics of their kids or gf on their desk, bisk keeps a pic of donald trump eating ted cruz

buoyant pendant
#

cd /opt/jetbrains-toolbox-<tab>

fossil solar
#

where is opt

#

dont see it

gentle moss
#

it was a freebie from Internet Comment Etiquette when i got a load of t-shirts xx

buoyant pendant
#

that is a full path.

#

its like C:\User\iceman\... on windows

#

so you can just call
cd /opt/jetbrains-toolbox-<tab>

fossil solar
#

bash: syntax error near unexpected token `newline'

buoyant pendant
#

oh sry

#

wrong /

#

its / on linux

#

sry

vapid bluff
#

you know what that pic reminds me of

fossil solar
#

\ or /

vapid bluff
#

there's a parasite bug looking thing that lives in fish mouths

buoyant pendant
#

its /

fossil solar
#

okay

gentle moss
#

i mean that's literally why i find it hilarious meta.

buoyant pendant
#

like in the msgs above

gentle moss
#

because ted cruz is a dirty little goblin

fossil solar
#

same error

buoyant pendant
#

can you paste it

fossil solar
#

cd /opt/jetbrains-toolbox-<tab>

buoyant pendant
#

oh

#

hit tab where it says tab

fossil solar
#

ahh

buoyant pendant
#

so cd /opt/jetbrains-toolbox-"hit tab here"

fossil solar
#

worked now

buoyant pendant
#

sry bout that

fossil solar
#

np

#

what next

buoyant pendant
#

execute the jetbrains-toolbox binary

#

so ./jetbrains-toolbox

fossil solar
#

what does ./ do

buoyant pendant
#

execute a file

fossil solar
#

ohk

#

installing pycharm

buoyant pendant
#

well. to execute a executable you have to call it with its full path

#

unless its part of your path

fossil solar
#

oh

buoyant pendant
#

. always means the current directory

fossil solar
#

okay

buoyant pendant
#

so ./ just means currentdirectory/myexecutalbe

fossil solar
#

oki

#

btw

#

in my software botique

#

spotify is not installing

#

says Package spotify-client isn't available

#

should i get it from the website then?

buoyant pendant
#

yeah i guess so

fossil solar
#

okay

#

pycharm installed

buoyant pendant
#

nice

fossil solar
#

so if i want to run toolbox again, i have to do the same procedure?

buoyant pendant
#

no

#

you should be able to execute it from the start menu or whatever its called

#

does your keyboard have a windows button?

fossil solar
#

yes

buoyant pendant
#

or on the top left for you where it says "menu"

fossil solar
#

yes

buoyant pendant
#

yeah press one of those

#

and type toolbox

#

should come up

fossil solar
#

yea i see it

buoyant pendant
#

nice

fossil solar
#

another thing

#

i have my pycharm projects in my hard disk

#

should i just copy them over to my PycharmProjects folder?

buoyant pendant
#

shouldnt really matter.

fossil solar
#

but it actully does, lol

#

when i do git status

#

it says all stuff is modified

buoyant pendant
#

hmm

fossil solar
#

maybe i should just git clone my own projects?

buoyant pendant
#

ive never had a external hard disk attached or had problems with github...

#

ahh

#

it probably changed all the line endings

#

can you check what got modified

#

on windows its \r\n and linux just uses \n

fossil solar
#

i guess

#

so what to do now

buoyant pendant
#

i guess commit and push your project with the new line endings

fossil solar
#

no wait

#

its the same

#

or wait

buoyant pendant
#

?

fossil solar
#

lemme check

#

its the same when i compare it on github

buoyant pendant
#

huh

fossil solar
buoyant pendant
#

yeah you cant see line endings

fossil solar
#

oh

buoyant pendant
#

but in pycharm on the bottom bar

#

it says crlf

fossil solar
#

yea

buoyant pendant
#

stands for carriage return (\r) and line feed (\n)

fossil solar
#

oki

#

so i just commit now?

buoyant pendant
#

yeah

fossil solar
#

and push?

buoyant pendant
#

yeah

#

unless some other stuff is wrong

fossil solar
#

will it affect pull reqs?

buoyant pendant
#

?

#

sry i dont really know a lot about github. i know how to commit and push haha

fossil solar
#

if i commit and push to a branch on which i opened PR

#

lol okay

buoyant pendant
#

no idea

fossil solar
#

okay

languid silo
#

hi guys im new here can python be used for controling minds?

buoyant pendant
#

@oak tangle ^^

languid silo
#

what is rust?

oak tangle
#

Well, you know, iron gets into contact with oxygen, the two like each other, so they go into a redox reaction together and, bam, iron oxide a.k.a. rust

#

It's also the name of a programming language

#

Which is what the ot-name is referring to

fossil solar
#

iron in presence of moisture and O2 = Rust after long time

buoyant pendant
#

iron o2 and some energy!

fossil solar
#

energy 🤔

#

installed spotify

buoyant pendant
#

nice!

fossil solar
#

followed the last section in this

buoyant pendant
#

yeah a lot of apps have install on linux sections.

#

mostly because the devs that make those apps use linux allot

#

im pretty sure the linux version of discord is something the devs made for themselves and released

fossil solar
#

haha

buoyant pendant
#

explains why the control panel is called something like "super secret discord control panel" haha

fossil solar
#

xD

#

now i need to get vs code

languid silo
#

is rust lang better than python? i must know

buoyant pendant
#

hmmm. i wonder what the python discord will say to that hahah

#

gonna go with python

dusky orchid
#

it's not like the reasons given are going to really be helpful to a self-confessed newbie either. if you're genuinely interested in programming, try both and evaluate which suits you personally yourself

languid silo
#

yea that sounds good

fossil solar
languid silo
#

ill try some rust tonight

fossil solar
#

👍 let us know how u feel about it

languid silo
#

i think the path ahead is clear for me

#

to really answer my own question

#

i will learn rust

#

then i will implement a python 3 interpreter in rust

#

and then i will truly know

#

whether rust > python for me

dusky orchid
#

that makes zero sense

oak tangle
#

That sounds like a really good plan, actually

dusky orchid
#

and sounds like shitposting

oak tangle
#

Indeed

languid silo
#

i am 100% serious

oak tangle
#

Ah

buoyant pendant
#

go for it

languid silo
#

save this comment, in 4 months i will reply to you

buoyant pendant
#

ok i set a reminder for 4 months

rough sapphire
#

no one uses rust

sand goblet
#

well there's already RustPython

rough sapphire
#

so.. it would let me use a gif in help channel.. but I get the feeeling I would be in trouble if I did

#

is it a trap?

buoyant pendant
#

you mean discord gifs?

#

or a gif of your project

pliant pawn
#

what font do you use for coding? my eyes hurt

sand goblet
#

I appear to be using DejaVu Sans Mono

gentle moss
#

i learned recently that there's a comic sans mono font and that's super good for people with dyslexia and stuff

vestal briar
#

Was talking to someone about that on a different server

sand goblet
gentle moss
#

pretty cool

pliant pawn
#

apaprently dejavu or anything from the sans family is not a part of IDLE standard library, pooh

#

i know it might be weird, but i enjoy coding on the phone more than on the pc...

sand goblet
#

I mean, you shouldn't be using IDLE if you have any choice anyway

#

terrible editor

pliant pawn
#

yeah, downloaded it as a simplest editor available

#

well, technically notepad would be simplest

sand goblet
#

visual studio code is popular with learners

#

pycharm is popular with professionals

pliant pawn
#

got that too, but it takes like a minute to launch

sand goblet
#

So don't close it

#

:>

pliant pawn
#

pydroid 3 is a very nice android application that i just finished writing a no-matrix NN on

rough sapphire
#

keep your computer running

sand goblet
#

if I'm writing code then I start my IDE when I boot and leave it open

stark prawn
#

Think of the planet.

sand goblet
#

to be fair it opens in seconds on my machine, but still

rough sapphire
#

no one think about the planet when take 1 min to open your editor

vestal briar
#

Who even uses rust

pliant pawn
#

the planet could use more scientific advances for a renewable energy source

sand goblet
#

Hem does!

stark prawn
#

If you don't launch it from a hdd it should be fine.

rough sapphire
pliant pawn
#

ssds burn like flies in a microwave, i dont trust them

#

sshds are nice

sand goblet
#

no they don't

#

SSDs have been incredibly reliably for years

stark prawn
#

I would never suggest anyone get a SSHD.

sand goblet
#

the very first SSDs had that problem but that was a loooong time ago

stark prawn
#

They are the worst of both worlds.

sand goblet
#

a hybrid drive?

#

they can be pretty good

pliant pawn
#

ive had two ssds and two sd cards burn on me in the past 6 years

sand goblet
#

I'm actually using a hybrid drive right now

#

although it has a separate mode, which is what I have it set to

pliant pawn
#

granted, i abuse them like tehres no tomorrow, but their rw cycles are still way worse than the wear and tear of hdd

gentle moss
#

i just double checked and i'm on dejavu mono too

sand goblet
#

if you're burning through SSDs like that then either your SSDs are cheap crap or you're doing something really weird

gentle moss
#

sans

stark prawn
#

For that usecase there are archive hdds

gentle moss
#

i used to use tahoma

rough sapphire
#

what's wrong with sshd, how else would you access your server!?

sand goblet
#

oh yeah that reminds me

#

mounting SSH turned out to be a dud

#

it just gives me "invalid command" when I try to upload anything

rough sapphire
#

wait, what?

gentle moss
#

hybrid drives? lol

stark prawn
#

SSHFS has been great for me.

rough sapphire
#

what filesystem?

pliant pawn
#

reinstalling the system (or flashing) on a solid state is eating at their rwc bad

sand goblet
#

ext4?

pliant pawn
#

sshd is basically an ssd and hdd slapped together with duct tape

#

uses sd memory for quick access, hdd for long term storage

sand goblet
#

if you're reinstalling your OS that often then you have bigger problems

gentle moss
#

i'm aware of what an SSHD is

#

they're just all the problems of a HDD with a little bit of cache

pliant pawn
#

yeah, its called windows 10

gentle moss
#

just get two drives

sand goblet
#

that sounds like a you problem, Cybrid

pliant pawn
#

idk, does anyone here like windows 10?

gentle moss
#

yes

rough sapphire
#

yes

sand goblet
#

yes

pliant pawn
#

youse weird peoples

gentle moss
#

way more than win 7

stark prawn
#

Haven't used it really so can't tell.

rough sapphire
#

and I'm a Linux person

sand goblet
#

well we actually know how to make use of it

gentle moss
#

i am also an IT professional who works on linux nearly all day

sand goblet
#

I too am a Linux person

gentle moss
#

along side Windows 10

#

¯_(ツ)_/¯

#

Win10 is the best windows so far

#

hands down

#

the UI is a bit of a bitch

buoyant pendant
#

linux if nvidia didnt have linux as much...

gentle moss
#

but in terms of functionality it's superb

sand goblet
#

the nvidia that started to release OSS drivers recently?

gentle moss
#

and a VAST improvement on 7

buoyant pendant
#

installing anything from nvidia is horrible

sand goblet
#

yeah if only they didn't hate the OSS community

#

to be fair it took them fucking forever, but

buoyant pendant
#

i gave up like a year ago and haven't tried since..

stark prawn
#

Don't they only have OSS drivers for Tegra's and such?

gentle moss
#

yes

sand goblet
#

they do have that, yeah

gentle moss
#

because data centres i guess

#

not so much consumer demand

buoyant pendant
#

yeah but none of the cuda stuff works with nouveau

rough sapphire
#

we use nouveau magic in the Nintendo Switch homebrew scene

sand goblet
#

see above

stark prawn
#

Why nouveau on the switch?

#

Drivers for that chip exist

buoyant pendant
#

i was trying to get tensorflow and some other cuda/cudnn stuff working on linux. impossible task

rough sapphire
#

hardware acceleration in homebrew used to be a big oof - we needed to dissect and port nouveau memes to HorizonOS

gentle moss
#

wait, tegra isn't their workstation GPU

#

my bad

rough sapphire
#

@stark prawn yes, if you're running Linux on it.

stark prawn
#

Tegra is what they use for cars and such

gentle moss
#

quattro

rough sapphire
#

I'm talking about native homebrew

gentle moss
#

that's the bastard

#

quadro?

stark prawn
#

Quadro is the workstation/server one yeah,.

gentle moss
#

ahhh yes

#

quattro

#

the classic GPU for workstations

#

-.-

stark prawn
#

They activly block some server features on rtx/gtx

grave phoenix
#

Yeah C++ is better

rough sapphire
#

quattro sounds like someone I used to know...

#

quattroking?

stark prawn
#

Like you have to trick your consumer gpu into thinking it's not in a virtual machine.

gentle moss
#

it's the first 4WD rally

stark prawn
#

Otherwise it just won't do.

gentle moss
#

that's fucking bastard behaviour

#

open hardware when

stark prawn
#

RISCV is a thing recently.

#

a lot of power stuff is open

rough sapphire
#

2020 is the year of the RISC-V desktop

gentle moss
vestal briar
#

I have heard 2020 is the year of x already today

pliant pawn
#

how hard do you think it would be to write a NN without using numpy or any matrices?

#

because it seems like i did it, but it might be stupid and wrong

buoyant pendant
#

not that hard

#

might not be very fast

#

i mean you will have to use matrices

#

but you can implement those yourself

pliant pawn
#

its just everywhere i looked everyone used numpy and those long complicated words
took me a couple weeks to reverse engineer everything and create my own
technically lists are still matrices right?

#

because i only use lists

buoyant pendant
#

yeah kinda

vestal briar
hidden depot
#

Hmm

rough sapphire
#

wow that embed is super cool

jagged fog
#

@languid silo watch it

languid silo
#

animation looks good

jagged fog
#

it is top notch

languid silo
#

ok sold

jagged fog
#

If there was no story, no development... I would still watch it

#

just for animation

#

there's a episode with this particular scene that was done so well that I would easily rank it 10

languid silo
#

oh nice!

#

watching it now

#

do you know any other new shows

#

also worth watching

cerulean basin
#

Dr Stone

#

Vinland Saga

#

those are the other seasonal ones I am following

#

Also heard Fire Force is good but it doesn't seem to appeal to my tastes

rough sapphire
#

anime?

jagged fog
#

I watched first 2 ep of fireforce, seems okay

rough sapphire
#

have you heard of Hell Girl

cerulean basin
#

As for Kimtesu, I'd rate it somewhere between 7 and 8 out of 10 so far. But I don't like to give ratings before I've watched it in full. I'm also behind like a month in epsiodes

#

And yeah Tron this is an anime discussion

jagged fog
#

animation is superb no question in that

#

uefotable unlimited budget 👀

cerulean basin
#

Yeah it looks good

#

That type of genre generally isn't my thing that's why I am not crazy over the show like some others

jagged fog
#

I just love the visuals, story is idk okay I guess

vestal briar
#

Imagine formula 1 with no rules

#

Sure people would die but it's good TV!

vapid bluff
#

electronics savvy people

#

would i be able to read audio signal values from a 3.5mm jack on a breadboard hooked up to analog pins on an esp8266?

#

doesnt need to be very accurate, i just need to get rough volume levels

gentle moss
#

idk but i can tell you that the average audio signal is 0.3v to 2v

vapid bluff
#

reading up on some stuff now. i could possibly work with that

#

seems the analog pins on the 8266 read from 0-3.3v

gentle moss
#

i know peak audio can be around 2.5 -> 3mAmp too

#

¯_(ツ)_/¯

vapid bluff
#

oh constant voltage?

gentle moss
#

no, peak to peak

vapid bluff
#

or does the voltage go up and down as the volume changes?

#

ah

gentle moss
#

on a sine wave

vapid bluff
#

got it

gentle moss
#

my knowledge may be out of date as i learned it like 8-10 years ago

#

but i don't think sound stuff would've changed that much

vapid bluff
#

theyre killing the audio jack 😦

gentle moss
#

it'll never die

#

trust me

#

same as vinyl

#

excuse me, wtf did you just do in that subject line?

#

fuckers

#

what's with pentesting java shit then @rough sapphire ?

rough sapphire
#

it's just disgusting code barfed into a million tiny files that serve no other purpose than to piss me off

#

and since i'm missing some sort of deps, my IDE's auto-what-where feature isn't working either

#

which sort of actually doesn't make sense, as I can build the project fine

#

obviously it's looking at the wrong place for the deps

gentle moss
#

eep

#

so you were provided the code or...?

rough sapphire
#

this is an api, most of the time when we're working with apis or web applications, we're provided the sauce

#

but, again, it depends

#

government, for example, rarely ever does and those have to be treated as a grey box (sometimes even black if the devs are nonces and give us no fucking documentation)

gentle moss
#

ouch

vapid bluff
#

bisk

#

i ripped open a 3.5mm male-male cable and connected one end to my pc

#

am not getting any proper readings from the other

#

it's like at 900 mV all the time

gentle moss
#

with audio down it?

vapid bluff
#

i believe so

#

there should be

#

playing a youtube video rn

gentle moss
#

got an oscilloscope?

vapid bluff
#

dont have jack shit 😄

gentle moss
#

hmm

vapid bluff
#

just a crappy 10 dollar multimeter

#

oh im an idiot

#

the jack wasnt fully plugged in 🙃

gentle moss
#

haha

vapid bluff
#

well

#

that increased the voltage to what looks like 1.5v but it's just staying there

gentle moss
#

you're measuring in AC?

vapid bluff
#

nope

gentle moss
#

try that

vapid bluff
#

ac headphones? o.O

#

the ac reading on this multimeter has two levels

#

200 and 300 lel

#

getting 0 atm

gentle moss
#

oof

#

you might uhhh

#

need some better kit

#

but you've maybe found your offset

#

1.5v

vapid bluff
#

i wonder if theres something else that goes on for the pc to recognize that a pair of headphones is actually plugged in before transmitting audio

#

and free wires maybe dont do whatever that is

gentle moss
#

the way around that is to connect both L/R to the earth

#

with one being metered

vapid bluff
#

oo let's try that

gentle moss
#

although it COULD do something smart like measuring resistive load

#

not sure why you would do that though

#

maybe prevent a short but that'd be on bigger stuff

vapid bluff
#

ok i connected them both to ground

#

now im just getting 0

#

rip

rough sapphire
#

well.. yeah

gentle moss
#

you want to measure across one channel to ground

#

but L/R use a shared ground

rough sapphire
#

your 10 dollar multimeter won't be able to pick up the audio imho, it might just float at one value, i'd personally use an oscilloscope

vapid bluff
#

oh ok, so one of L/R to ground, then meter on the other?

#

yeah probably not xx

#

but it's interesting so im still gonna try 😛

gentle moss
#

at least you've seen 1.5v across as DC

vapid bluff
#

yea

#

1.5v seems a lot for idle voltage

gentle moss
#

¯_(ツ)_/¯

vapid bluff
#

but idk anything about anything

gentle moss
#

i haven't done this in nearly a decade

#

and we had a scope

vapid bluff
#

i wonder if there's like a electronics club or something in town

#

and maybe theyll let me use their scope lol

#

nothing shows up on google

#

i feel bad for butchering this poor innocent cable now

#

but progress demands sacrifice

gentle moss
#

could always re-wire it, unless you cut it near the ends

vapid bluff
#

yeah i cut too far up like a moron

gentle moss
#

i always cut on the assumption that at some point i might want to use that end again

rough sapphire
#

can I do something like this?

global var a, var b

#

or is it global var a global var b

vapid bluff
#

global a, b works i think

rough sapphire
#

OH crap... I just realized... I think functions can be objects of a function class?

#

Is that true?

#

like, can a function derive from another function?

dusky orchid
#

I think functions can be objects of a function class
sure, the type of a function is function, which means it has it's own function class that determines it's attributes, methods and behaviour.
can a function derive from another function
No.

rough sapphire
#

but... a class can derive from another class

#

so I can just derive a class, and then put the altered function in that

dusky orchid
#

yes, and an individual function is an instance of that class. each instance don't get derived from each other

#

it's classes that get subclassed

rough sapphire
#

Understood! Thank you!

#

I refactored my code once. It was successful! I am going to attempt to do it again by using inheritance.

#

I have a legit question though about modules.

#

I mean... technically speaking... I could put all my code in one module?

dusky orchid
#

sure

rough sapphire
#

Are they for organization? or...

dusky orchid
#

structure and convenience, yes

rough sapphire
#

so....

#

If I make global variables in one module...

#

by importing.. does it import the global variable?

#

please don't use globals sadcat

#

XX, I'm just learning, ok? Chill. I know I'm supposed to be attempting to not use them.

#

Thats' why I'm asking this question.

#

i am chill

#

Aight cool

#

I"m just learning about them

#

but to answer your question - no, a global within an imported module is not global to the entire project, just the module

#

if they aren't supposed to be used, why are they used? whats the use case for them.... I feel that would be more helpful than "don't use them". just my 2p

sand goblet
#

There are genuine use-cases for them

#

but those use-cases are few and far between, they're quite esoteric

#

they're considered a code smell unless you absolutely need them

rough sapphire
#

I see now why they were not necessary in what I was doing, but yeea... would like prime examples of how it causes problems.

fossil solar
#

yo whats going on

rough sapphire
#

@rough sapphire most of the time, it makes code less clear - and it's also really not thread safe at all

#

That makes sense, actually.

summer rampart
#

another thing is that globals make it very difficult to determine which functions read and wrote to the variable, so debugging becomes tougher as you have to keep track of a global state rather than just following the state passed between functions

rough sapphire
#

yeah, anything can access a global, so it's next to impossible to keep track of what accesses it at what point of the program execution

rough sapphire
#
def main_func():
    var a = 1

    def my_func():
        print(var a)

    my_func()```
#

Can someone help me understand this...

#

var a is NOT global because it's in a function, right?

#

my_func won't print 1 will it?

dusky orchid
#

it will error

#

it'll say var is not defined

rough sapphire
#

ok man I give up. everyone is telling me not to use global variables, but my god would they make my life so much easier

#

I cannot see any other way to write my code, except for using a global var

dusky orchid
#

the above is just a basic syntax error, it's not related to globals

#
def main_func():
    a = 1

    def my_func():
        print(a)

    my_func()
rough sapphire
#

oh wait

#

yea

#

so, then that WOULD work?

dusky orchid
#

yep

#

it'll print 1

rough sapphire
#

Hmmm OK

#

thank you!

dusky orchid
#

you won't be able to edit a though

#
def main_func():
    a = 1

    def my_func():
        a = 2  # no
        print(a)

    my_func()
rough sapphire
#

OH! THAT EXPLAINS MY PROBLEM!

dusky orchid
#
def main_func():
    a = 1

    def my_func():
        nonlocal a
        a = 2  # yes
        print(a)

    my_func()
rough sapphire
#

ok now wait.. question...

#

are nonlocals bad?? lmao

dusky orchid
#

no tool is bad unless you use it badly pithink

rough sapphire
#

hmm

#

but....

#

are they considered to be like globals? ....

dusky orchid
#

nonlocal is just unlocking that variable to be editable to outside it's current scope

rough sapphire
#

ok

dusky orchid
#

it's unusual to do tbh

#

and usually it's more common to keep things in scope

#
def main_func():
    a = 1

    def my_func(b):
        c = 2 * b
        print(c)
        return c

    a_result = my_func(a)
#

it's more readible and it's clearer what's been processed and where

rough sapphire
#

I'll write some code to show you specifically my problem

#
def main_func():
    a = 0

    def func1():
        a = int(input())

    def func2():
        func1()
        print(a)

    func2()```
#

so what'll happen is

#

func1 doesn't change a

#

and so it ends up printing 0

#

what am I supposed to do in a situation like this?

#

@dusky orchid

dusky orchid
#

inner funcs that aren't conditional like this seem odd

#

and mostly useless

#

why can't you just keep all the logic in one function (main_func)

rough sapphire
#

😭

#

Because I have this reoccuring function throughout my program

dusky orchid
#

it wouldn't be an inner function in that case though

rough sapphire
#

and if i don't do it this way it'll be spaghetti spaghetti

dusky orchid
#

since you'd want to define that re-used code once

rough sapphire
#

wait... this return

#

what does return do?

dusky orchid
#

it returns the value

#

as a result of the function

rough sapphire
#

let me try that

#

omg....

#

can I do this a = func()

dusky orchid
#

yep

rough sapphire
#

AHA

dusky orchid
#

that's how to store a returned value

rough sapphire
#

that's the solution to this problem

dusky orchid
#

probably

rough sapphire
#

I see now

#

I can now use a local variable just by assigning the functions returned value to that variable

#

!

#

thank you scrag

#

i been at this problem for 3 hours now

dusky orchid
#

no probs

rough sapphire
#

1 week worth of learning how not to use a global variable and spaghetti code. Totally worth it. :)

sand goblet
#

I wonder if I can extract our club's crest from the old site and waifu2x it or something

#

I need a high resolution version of it and of course nobody has one

#

hnnng

#

doubt

summer rampart
#

THIS

#

IS

#

SPA GAA

sand goblet
#

haha

rough sapphire
#

is that really the highest resolution you can find

sand goblet
#

I can find higher ones but they're not transparent

#

and seem to be clipped

rough sapphire
#

the crest, I mean

sand goblet
#

why do I think they're clipped?

rough sapphire
#

I could try vectorizing it

sand goblet
#

I was thinking about that

#

I'd do it myself if I had any clue how

#

The shield is probably not too hard

summer rampart
#

import numpy as np; np.vectorize(img) pretty sure this definitely for sure 100% works

rough sapphire
#

paths n shit

sand goblet
#

I would kill for a line vector for this damn thing

#

okay, inkscape, come here

#

..where the heck is the path tool

#

I swear I used it before

summer rampart
#

isn't there like a convert to path thingy in one of the menus?

sand goblet
#

wait, you think I can convert the image above to a vector automatically?

#

maybe that's the case

buoyant pendant
#

yeah bunch of tools online

#

not sure how good they are

sand goblet
#

inkscape is not good at this

summer rampart
#

I opened inkscape for this

#

Path > Trace Bitmap

sand goblet
#

I tried that but it makes like a bajillion points

#

nah, this is stupid, I don't have the skills for this

#

what the heck am I doing

#

as always, I know what I want and I can't make it

minor jewel
#

gamers

#

how do i sort negative numbers and letters

rough sapphire
#

What on Earth is this abomination

plucky ridge
#

Love that game

#

Human Resource Machine is the name, I believe

minor jewel
#

yep

#

just got my hands on it

#

cool but holy shit its really hard at some points

rough sapphire
#

"Send all things that ARE NOT ZERO to the OUTBOX"

#

Sure, sounds easy. "NOPE"

plucky ridge
#

Yeah it gets difficult. Well, it's a bit easier if you don't sweat the par scores

#

But it's hard not to be like "HOW DID THEY DO IT IN 3 STEPS"

#

I'm not even a perfectionist and that still killed me time and time again

minor jewel
#

it counts letters as a zero

#

the only fix for me is do it in like 10 commands or more

#

i cant come up with anything else

#

no, it all is randomized and there are more boxes coming

#

letter is always coming fourth

plucky ridge
#

Well I'll say the same thing about that as I do here

#

Solutions that work but take longer are better than solutions that don't work but are optimized

minor jewel
#

thanks google

#

now i feel kinda bad for my walkthrough

dry zenith
#

this meme is too spicy

rough sapphire
#

can you return multiple variables with one function?

undone berry
#

Yes

#

You get the result by doing var_1, var_2 = f()

rough sapphire
#

Cool thanks

undone berry
#

Oh also, in case it isn't obvious, you get the values out by doing 'return a, b' not with 2 return statements

minor jewel
#

hrm is dumb

#

how is it expecting -3

#

if 2 - 7 is -5

vestal briar
#

Alright then

minor jewel
#

how it all works in this god damn game

rough sapphire
#

the refactor feeels

vapid bluff
#

bit confused here

#

why are there two sets of files with the same name

#

ubuntu-bionic-core-cloudimg-amd64-root.tar.gz

#

which one am i supposed to download

#

oh

#

derp, misread arm64 as amd64

gentle moss
#

haha

rough sapphire
#

how the fuck am I only just learning that there's a character named Rasmus in Hotline Miami

gentle moss
#

¯_(ツ)_/¯

#

that's one i still need to play

sand goblet
#

It's good

undone berry
#

For the people who essentially live in the terminal, do you type properly with all your fingers, or do your just hunt and peck?

sand goblet
#

I type properly regardless of what I'm doing

undone berry
#

So do I. I'm just curious if there people who like doing everything via the command line who don't touch type

gentle moss
#

so much tab complete

#

not being able to touch type is a concept i don't think i can quite grasp unless i'm preeeeetttty drunk

#

as long as my index fingers hit f and j and i'm facing the keyboard, we're all good

#

wonder what happens if you turn a keyboard 180 and try to touch type

#

.x.7nhvl8cl;76xm,nnb7;lfko

#

10 points for decoding

undone berry
#

I only learned to touch type line a year ago

#

Its amazing how much nicer it is

gentle moss
#

yeah. you can really let shit flwo from your fingers while not really paying attention

undone berry
#

Yeah that's the difference. I don't care hugely about the speed, but typing requires 0 thought or effort

gentle moss
#

yeah, it's super great when you've got multiple screens too

#

i'm currently looking at some code on monitor 3 while qwriting this

#

awww

#

typos

#

more coffee.

rough sapphire
#

the bottom eyelid of my right eye has been constantly twitching for a solid week now

#

and it's pissing me. the fuck. off.

tired osprey
#

you sound pretty damn healthy

vestal briar
#

I think that's stress

#

Either that or some disease

rough sapphire
#

I'm not stressed at all though, like I haven't been this non-stressed in my life for a very long time

tired osprey
#

what are you even doing all day long

rough sapphire
#

like, whatever

#

today I shot my bow and played some videogames

#

usually I just work

#

but I love work, and it's not stressful