#ot1-perplexing-regexing

1 messages ยท Page 381 of 1

rough sapphire
#

I am also often still a dumb adult lol.

#

But its a little different

#

The difference between when I was a kid and now is that dominant popular mainstream culture was not overflowing the internet with stupidity.

#

Even the dumbest kids on the Internet when I was a kid were still... the type of people who gathered on the Internet. Thats kind of hard to comprehend now.

quaint rivet
#

back in my day we flirted with a 6 digit income skill just to impress girls with our myspace css

#

shakes cane at the sky

deep saffron
#

the myspace equivalent over here was purely wysiwyg ... no skills involved
couldn't even use a <blink> ...

rough sapphire
#

I grew up in the geocities/angelfire era.

#

That was actually why when I got older and decided I would try to pick up programming I already had some background with HTML.

#

While things had changed quite a lot, I still knew a lot of basic things from my childhood.

#

Probably the first thing I learned was that my approach to HTML as a kid was wrong.

#

I quickly developed a much more skilled approach to it than I had as a kid.

#

The main thing I would say to newbs of HTML is, "Don't have any styling in your HTML. Separate and identify your different elements. That's all HTML is for. Do all styling in CSS."

deep saffron
#

my first programming was with an educational computer, a toy made for kids
it had a crippled version of basic on it
rem, print, if, then, else, input, jump, clear that was about it, hours of fun, and then years and years without a computer until i finally got my uncles old pc
700 mhz amd k7, fond memories :D

rough sapphire
#

I wish that I had got into programming earlier. The truth is that I didn't. I got into having a web page because I was a child of the 90s internet and I wanted to have a page. But the idea of having my own programs didn't occur to me at that point.

#

I really wish it had

deep saffron
#

well after that toy pc, i never really got back into it, last years i tried, but too old for it i guess

rough sapphire
#

Actually I take it back.

#

In about year 2000 I had the first version of RPG Maker. Not the one you see today on Steam but an older one.

#

That actually is where I learned the concepts of conditional branching and boolean switches.

#

But it didn't involve code. Just coding concepts.

#

I wouldnt waste time with it today either

deep saffron
#

mh well you could argue that i do program, cnc machines and those robot arms they always show assembling cars, but that's quite different
just a file that runs from top to bottom with maybe a few loops and if/thens

#

plus a few bash/python scripts to automate stuff, but yeah

lost radish
#

back in my day we flirted with a 6 digit income skill just to impress girls with our myspace css
@quaint rivet in 10ft of snow, uphill both ways, with no shoes

#

and we were thankful

quaint rivet
#

๐Ÿ˜ฉ๐Ÿ‘Œ

lost radish
#

I'm having a hard time finding a simple icon pack related to software stuff. I can download the individual icons (too much work), but I just can't find a downloadable pack

#

Ah well. I'll just... not do that I guess

quaint rivet
#

flaticon looks like they have ok packs, all they want is a registration to download whole packs at a time

#

they also have an api

deep saffron
#

there is a humble bundle icon pack (nvm just gaming stuff)

lost radish
#

here is a message (nvm disregard it) lol

deep saffron
#

yeah i answered and went to look for a link, and saw that it was just for gaming, so i added that
maybe just now someone is looking for icons for their game too, and will find it helpful ๐Ÿคท๐Ÿฝ

open flame
#

Does anyone know of any good resources to learn C++? There are some SDKs I have interface with that are C++. I am using OpenCV to extract frames and do a little preprocessing, then I am using this custom SDK for on those frames.

rough sapphire
#

does windows evaluate environment variables only once

#

pardon?

#
PATH=otherstuff;%PYTHONPATH%
PY36=c:\python36\
PYTHONPATH=%PY36%
#

pythonpath evaluated correctly to the variable but the path variable contained the string "%PYTHONPATH%"

#

PATH was technically before pythonpath

plucky ridge
#

It depends

#

You can refresh it for a CMD instance by closing it and reopening

rough sapphire
#

windows expands and populates the env vars in a lexicographic order

plucky ridge
#

But system wide I think it's loaded when there's a user login

rough sapphire
#

i did. the thing works if I straight up jam %PY36% in the PATH

plucky ridge
#

So if you log off and log in then it'll work

rough sapphire
#

you mean it's different to relogin than to restart the command prompt?

#
VAR_01=1
VAR_02=%VAR_01%-2
VAR_03=%VAR_02%-3

produces

VAR_01 is 1
VAR_02 is 1-2
VAR_03 is 1-2-3
plucky ridge
#

Sometimes. Actually you know what, I might be thinking of group policies

rough sapphire
#

๐Ÿ˜ฎ

plucky ridge
#

But honestly, when in doubt, restart

#

You might also need to check your PATH order

rough sapphire
#

like i said, just order your vars in the correct order

#

if a var relies on another var, put the other var before the first var

plucky ridge
#

I had this issue previously where I had a Python 2 address that was above my Python 3 stuff

#

Or just use py instead

#

That'll handle pathing for you if you tell it what version you want

rough sapphire
#

they're alphabetically here

plucky ridge
#

Or it'll default to your highest stable version

#

Honestly if you're on Windows, you should be using py regardless

rough sapphire
#

you want

PY36=c:\python36\
PYTHONPATH=%PY36%
PATH=otherstuff;%PYTHONPATH%
#

:<

#

can't

#

why not?

plucky ridge
#

Why's that?

rough sapphire
#

what exactly changes %PYTHONPATH% that can't change %PATH%

#

because they're alphabetically ordered and that can't be changed

#

you can just do PATH=%PATH% again dog

#

what?

#

๐Ÿ˜ฎ

plucky ridge
#

And again, py itself shouldn't care

rough sapphire
#

I don't want no py

plucky ridge
#

Why

rough sapphire
#

because it's gonna mess up my stuff

plucky ridge
#

It's literally there to make life easier on Windows

#

It's not though

#

What would it mess up

rough sapphire
#

trust me it will

#

i have a fully functioning setup right now and i don't want no py

plucky ridge
#

You're telling me that it's easier to mess with the path than to do py -3.6 to make sure it uses Python 3.6?

rough sapphire
#

i use virtual environments

#

you might also be interested in this

plucky ridge
#

You can use py within the venv

#

But fair enough

rough sapphire
#

ok but where's the py

#

where do i get it from

plucky ridge
#

It comes with the Python installs

#

It's part of the installation

rough sapphire
#

apparently i have it?

plucky ridge
#

Yes

rough sapphire
#

lol it works

plucky ridge
#

Yes

rough sapphire
#

how does it know where my pythons are

plucky ridge
#

It keeps track of it

#

It gets noted during the installation

#

(I think that's right, anyway)

#

But either way, it comes with the Windows version of Python to help avoid having to deal with PATH

#

It's not like I was trying to lead you astray

rough sapphire
#

i was just afraid it'll muck up jupyter notebooks

#

those things are notoriously finicky with the kernels\environments

plucky ridge
#

Understandable, but all py does is just direct it to the Python version you tell it to

#

Nothing more nothing less

rough sapphire
#

okay. good.

#

i thought it would start messing around with path variables or something

#

breaking my system.

#

but it's operating through the registry so it's fine I guess

plucky ridge
#

Yarp

rough sapphire
#

mhmm. breaking temperature records again

plucky ridge
#

Which direction

rough sapphire
#

+24C when the last record was +20C according to the windows weather app

#

thanks i'll keep it here. spring is just coming.

plucky ridge
#

5c here

rough sapphire
#

๐Ÿ˜

plucky ridge
#

Which is comfortable to me, honestly

#

Put on a jacket and I'm set

rough sapphire
#

let's get this covid thing out of the way so we can get to summer

#

start going to the beach

plucky ridge
#

You're right, it's the groundhogs

#

Little bastards

rough sapphire
#

the C's?

plucky ridge
#

Centigrades

rough sapphire
#

o

#

well they'll come right

plucky ridge
#

Rather not rush nature any more than humanity already has

rough sapphire
#

๐Ÿ˜ฎ

plucky ridge
#

Yeah it's been doing that here as well

#

But in fairness, the midwest in the US is always wacky when it comes to weather

#

So it's nothing new

rough sapphire
#

covid19 and forest fires; summer will be fun

plucky ridge
#

Won't change for me

#

Being a hermit has its advantages

#

I'm still having to go into work but I'm okay with that. I'm just stoked because it means my family won't ask me to come over so I can just hang out with my wife and play games

#

Yeesssssssss

rough sapphire
#

he is not a programmer by trade

#

i've been coming to the office

#

it's nice and quiet here

#

just me and my boss really

rough sapphire
#

what sorta certification do you need to work where you do?

#

who, me?

#

had 0 certs when i started working here, just my reputation and natural charm ;)

#

what sort of profile do they look for then?

#

someone who has established that they know what they're doing and has something to show for it

#

in my case, it was my blog, the fact that I had done bounties in the past for companies who are their clients, and my CVEs

#

i'd guess so anyways

#

i wish

#

xx this

#

So this was hobby-turned-job for you?

#

pretty much

plucky ridge
#

I have proof that I hate myself. I have made cofftea

#

I wanted the benefits of both with none of the enjoyment, apparently

rough sapphire
#

what is the benefit of tea

plucky ridge
#

Flavonoids

pine vector
#

it can hold more sugar than coffee?

plucky ridge
#

Apparently there are aspects of it that can help "reduce free radicals" in the body, but I mainly drink it because there's another part of it that helps your body better handle caffeine

#

Giving you more alertness with less jitter

#

So my dumb brain tried to bank on that

undone berry
#

cofftea is fine IMO - although it is just slightly worse tasting than either on their own

rough sapphire
#

yeah, my next question would've been why you just didn't make a cup of each

#

Apparently there are aspects of it that can help "reduce free radicals" in the body
So none of this? https://www.youtube.com/watch?v=VgfTDOsxmMY

Provided to YouTube by Warner Records

Free Radicals ยท The Flaming Lips

At War With The Mystics

โ„— 2006 Warner Records Inc.

Engineer, Masterer, Mixer, Producer, Programmer, Recorded by: Dave Fridmann
Mixer, Producer, Recorded by: Flaming Lips
Additional Engineer: Michael Iv...

โ–ถ Play video
#

instead of pouring them together like a madman

undone berry
#

2 mugs to wash up

rough sapphire
pine vector
#

what's the ratio here? 1:1, 45:1? so many questions....

rough sapphire
#

ยฏ_(ใƒ„)_/ยฏ

pine vector
#

does it have a sports star name (e.g An Arnold Palmer)?

plucky ridge
#

One to one mostly

#

And no, Arnold Palmers are tea and lemonade

#

This is nowhere near that tasty

#

And I honestly don't know why I did this

#

It's like I feel the need to punish myself in little ways sometimes

pine vector
#

right, but does cofftea have an Arnie equivalent name?

plucky ridge
#

Sure

#

Hot Garbage

pine vector
#

lol

plucky ridge
#

And if it was cold, it'd be Iced Garbage

pine vector
#

Starbucks would like to talk to you. they think they can market it well.

plucky ridge
#

"I've got a great idea for a product, guys. It's the worst thing most people will have put in their mouths. Hipsters will love it!"

undone berry
#

Isn't a chai latte a cofftea?

#

or does that have no coffee?

sand goblet
#

It's just tea

#

chai tea specifically

undone berry
#

so it is - TIL

sand goblet
#

I like it

undone berry
#

isn't chai just the chinese word for tea?

sand goblet
#

I mean you're about to google it anyway

undone berry
#

Yeah, I am googling it and I am wrong

sand goblet
#

:>

rough sapphire
#

it's derived from chinese

#

but the word chai is used in multiple languages yes

#

the origin is cha

undone berry
#

Chai/Chai lattes look pretty damn good tbf

#

I've never even really thought about them before

rough sapphire
#

also leeroy my nickname changed from white to green

plucky ridge
#

I'm just not as huge on the spice part of it

#

Because you're part of the Jam again

#

Right?

rough sapphire
#

that I am

undone berry
#

Thanks for that @rough sapphire

#

fuck

rough sapphire
#

lel

plucky ridge
#

I actually didn't do it in time

undone berry
#

not fixing it, that guy can have the ping

plucky ridge
#

So someone else did

#

Might as well have been my cat

#

(which is a test account Ves uses)

rough sapphire
#

well it's a nifty looking cat

plucky ridge
#

It is an actual picture of my cat, though

rough sapphire
#

๐Ÿˆ

plucky ridge
#

My fuzzy buddy Lucky

undone berry
#

Ginger cats are great

rough sapphire
plucky ridge
#

He is the most lovey cat in the world, I swear

#

He's all about purring and loving and headbutts

undone berry
#

Both of my cats are really unlovey 99% of the time. Then like 1% of the time they will just demand affection

plucky ridge
#

The only time he's not lovey is when he's not feeling well

rough sapphire
#

why are some cats like that

#

some are not

plucky ridge
#

Like you could pick him up and bug him and then when you put him down he'll come back for pettings two seconds later

#

He's nuts

#

@rough sapphire Same reason it's that way with people. We're all different

undone berry
#

random aside - Google photos is fucking great. I can just search cat and see a bunch of photos of my cat

plucky ridge
#

Nice

rough sapphire
#

@plucky ridge what if I want a cat like that

#

can I go somewhere to get one that's like that but not take it if they're not

plucky ridge
#

No idea how to get one. This one came with my wife

rough sapphire
#

I don't want to hate on the cat but I'd rather have a cat that would be happy that I'm petting it all the time

plucky ridge
#

Well of course. Actually it was funny, when I had the huge scare with him when he had bladder stones, we had to take him to a vet school for the surgery. They said that if every cat was like him, everyone would want a cat

rough sapphire
#

๐Ÿ™‚

#

that's a nice cat then

plucky ridge
#

Absolutely

rough sapphire
#

hmm there was one orange goof that tried to always climb on me when i went to pet it

#

maybe that would be a good cat to adopt

#

he was always like "hey guys, come look at this guy, he's friendly", and his friends would just look at him dumb-foundedly

plucky ridge
#

Usually a good indicator.

#

The ultimate indicator is if he closes his eyes while you're petting him

#

That's a huge sign of trust

rough sapphire
#

Chai/Chai lattes look pretty damn good tbf
@undone berry chai lattes are amazing

solid pollen
tardy goblet
#

poor Liechtenstein

eternal sequoia
#

What happened in Liechtenstein?

tardy goblet
#

omg Patienece here

#

๐Ÿ˜‚

eternal sequoia
#

Yup

tardy goblet
#

I just clciked on the chat

#

and saw you typing

eternal sequoia
#

Iโ€™m leaving Pierian

tardy goblet
#

huh really?

#

did you get tired of it?

#

like our short time pal there, @patent apex

eternal sequoia
#

He left too?

tardy goblet
#

a while ago

eternal sequoia
#

Howโ€™d you get the Jam moniker?

#

I actually came here from the Arcade discoed ๐Ÿ™‚

tardy goblet
#

I actually registered for game jam with arcade

#

haha

#

but I called it quits due to my new job, won't have time for jam

eternal sequoia
#

I did too. But no Kermit activation for me yet

tardy goblet
#

@mild rock is here too

eternal sequoia
#

Excellent.

tardy goblet
#

Why you decided to leave pieran now?

eternal sequoia
#

Too many tags form impatient grasshoppers

tardy goblet
#

๐Ÿ˜‚

sand goblet
#

If you still have the jam role, make sure you DM staff

#

if you're actually leaving that is

undone berry
#

I let the staff know about the team change

#

and they updated WorldWake's role (He took Lossberg's place)

#

so I assume they're aware

tardy goblet
#

@eternal sequoia i considered leaving it too. It played its role for me and I think has no further use for me

eternal sequoia
#

Iโ€™ve learned a great deal helping out in there. Now it seems I just search the logs and paste my old answers.

#

Thatโ€™s no fun anymore

tardy goblet
#

Well help system here is really well thought

#

And it's not tied to specific courses

#

So chances are you can learn even more

eternal sequoia
#

Youโ€™d think Pierian was.. ๐Ÿ˜„

tardy goblet
#

And help with some new problems if you want

#

If you got enough patience that is xD

eternal sequoia
#

Haha

#

Weโ€™ll see if I can reach that status here too

tardy goblet
#

Heh

#

Knowing you, you might indeed

#

Takes a while though it seems

eternal sequoia
#

Iโ€™m going into Django when Iโ€™m not distracted by Arcade ๐Ÿ˜„

tardy goblet
#

why the interest for arcade btw?

eternal sequoia
#

For my cards game

#

I need a more attractive interface than text to show it off with

#

Now Iโ€™ll sleep. TTYL blobwave

tardy goblet
#

night

#

did not know you do a card game ๐Ÿ˜ฎ

rough sapphire
#

@rough sapphire I was following TimedJSONWebSignatureSerializer in the repo, and outside of getting/verifying it, I'm curious how it's being used outside of this?

#

Other than the sending of emails to verify email and reset password, nothing. I put it in there for the purpose of making a token to send emails. That was where I learned about it. There might come other cases for it but i havent learned them yet

#

I appreciate you taking the time to look at my code. I havent had a chance to look at the issue you posted because its kind of an active time at my house. But I definitely will.

#

It's no problem at all. It pretty much just boils down to that code snippet I've already sent ๐Ÿ˜„

pine vector
#

i'm assuming its akin to a JWT with the exp set?

rough sapphire
#

it's from itsdangerous.TimedJSONWebSignatureSerializer

#

I'm wondering if I need to use tokens like that when I do things like have a user delete something they have posted. Currently the way I was going to approach it is to only show the link to delete it if they are logged in and its their post.

pine vector
#

ahh. JOSE. i've come across it being mentioned when i was implementing JWT.

rough sapphire
#

But i got around to thinking that doesnt stop someone from finding the id, especially since they are not uuids but sequential

#

The internal ids honestly shouldn't matter. I think how you've got it set up is a good idea

#

cool.

#

If you find out my specific id is 5123, it shouldn't give you anything extra

#

I can just check at the delete confirm page if the current user is the author of the post

#

that will work fine enough without a token

#

Oh, you're talking about their posts?

pine vector
#

re the ENVVARS: i've grappled with this too. i think in the webapp-type space dotfiles are the norm, but moving to Vaults with OAuth-n-stuff.

rough sapphire
#

I must have skimmed over that section, I meant more about stuff like resetting passwords and the like

#

Because the links make that a good idea

#

right well its not fully implemented yet

#

so there isnt much to look over in that regard

#

Im just thinking about it

pine vector
#

i'll stop derailing... ๐Ÿ˜„

rough sapphire
#

no worries

#

@pine vector You're alright ๐Ÿ‘

#

But if you're checking if someone owns that post, that isn't hard to do. You should have ownership within the database of every post and who it corresponds to

#

yeah I can do that.

#

Preferably, setting up roles/permissions

#

I already have that set up more or less.

#

in the db

#

I swear by the time Im done I will be able to be a DBA. Because ive never designed a database before and every new relation in SQLAlchemy is a thing Im learning to do, I have to do it one thing at a time.

#

So every time I add a feature I end up having to try to migrate the changes.

#

Most times because its only in testing I can just drop the tables but

#

I usually try to migrate first.

rough sapphire
#

I need to master the art of frequent and descriptive commit messages.

pine vector
#

its a constant struggle.

earnest sphinx
#

Can someone recommend me a show to watch on Netflix?

#

I'm out of options.

#

can't even take a walk outside ๐Ÿ˜ฆ

opal timber
#

Witcher, altered carbon, sherlock, better call saul, lucifer, atypical, dead to me, the 100

earnest sphinx
#

tnks lol

#

which one?

#

if I had to pick one.

#

I like something adventure, interesting and exciting.

opal timber
#

the 100 if you like post-apocalyptic

earnest sphinx
#

like stranger things.

quaint rivet
#

have you seen tiger king?

earnest sphinx
#

no

opal timber
#

lol yes thats good too

quaint rivet
#

it was reall good, in a twisted way

earnest sphinx
#

is it a documentary?

quaint rivet
#

id say so

earnest sphinx
#

ok

quaint rivet
#

there is one brief scene of body gore if thats not your thing though

opal timber
#

lots of content warnings I'd say lmao

earnest sphinx
#

I'm gonna go with "the 100" first.

opal timber
#

theres a bunch of seasons but its one of my favorite shows

#

might have to get through some awkward acting in the first season but its worth it

#

even the newest season was pretty good once I got around to watching it

earnest sphinx
#

ok.

opal timber
#

is halt and catch fire any good?

earnest sphinx
#

if u're asking me, I haven't watch it.

#

looks interesting too.

quaint rivet
#

i dont have a netflix account dunno

pine vector
#

100 is a solid show...

earnest sphinx
#

pretty solid so far.

#

on episode 2

opal timber
#

I cried in the last season

pine vector
#

we still need to finish it. only got to like ep3, i think.

opal timber
#

its slow at first for sure

#

but boy it gets good

earnest sphinx
#

yh it's slow.

#

not much happening.

opal timber
#

its worth it. trust :>)

earnest sphinx
#

do you have any other show recommendations?

#

just so I can take a break from it once in a while.

soft shuttle
#

@earnest sphinx

earnest sphinx
#

yep.

soft shuttle
#

que pesa mas? el amor o la muerte?

#

what weighs more? love or death

earnest sphinx
#

el amor

soft shuttle
#

ooo

#

okie ty

earnest sphinx
#

lol is that the name of a show?

#

I'm confused?

soft shuttle
#

no it was a legitimate question

#

XD

earnest sphinx
#

what was the point lol

pine vector
#

Altered Carbon is really good. but it is...has... lots of nudity in season 1. Witcher was a super pleasant surprise, as well (never read/played, but knew the premise).

earnest sphinx
#

I tried witcher.

#

It has a got vibe.

#

I tried watching first 2 seasons of got but I just don't understand anything.

#

Too slow too.

pine vector
#

GoT has a lot going on. def can't get far without tracking everything well.

earnest sphinx
#

yeh

#

what kinda show is Altered Carbon?

pine vector
#

SciFi. Futuristic, social construct/struggle, centered around a small_ish_ core group of characters.

#

but the "world" is large.

earnest sphinx
#

I like it better when it's smaller group but more focused.

#

tnks

pine vector
#

๐Ÿ‘

soft shuttle
#

no me estoy enterando bien

low shadow
#

I have 2 folder. *** Actual *** on one partition and *** Backup *** on other. When I make change to *** actual *** I want exact that change to be made to *** backup *** folder. Eveytime i change *** acutal *** folder i have to copy the actual folder and use *** copy and replace *** to make change to *** backup ***. It greatly reduces my time . Any ideas?

#

What should i do

gentle moss
#

write an rsync script that will sync actual and backup

low shadow
#

how

#

what is rsync

#

wait

#

I just need to use rsync

#

Thanks

#

@gentle moss

#

Also

gentle moss
#

yeah, rsync.

low shadow
#

Is pulling and cloning from github same

#

Like I have outdated .git and files on *** actual *** folder and updated one in github

gentle moss
#

sorta, git clone is pretty much for initialising a project and pull is for updating it

low shadow
#

So it's good to clone or to pull

#

Like I have outdated .git and files on *** actual *** folder and updated one in github
@low shadow for thid

#

I used git init on actual then uploaded. Made change on GitHub. Then now local file is outdated

gentle moss
#

well it sounds like your local files need to be updated from the git

low shadow
#

So git pull or clone

gentle moss
#

okay so you need to update your local file using git pull

low shadow
#

Ok

#

I will learn rsync

#

Thanks

#

And

#

If my partition is not mounted then rsync will fail right. When I start Kali /dev/sda3 isn't mounted

gentle moss
#

yes rsync will fail if the partition isn't mounted

low shadow
#

Hmm

gentle moss
#

you should auto mount your parition using /etc/fstab

low shadow
#

Ok

#

Will learn fstab later

#

Rsync works for Linux systems not windows?

gentle moss
#

it's primarily unix based, yes

low shadow
#

Then I got a problem maybe. Let me explain

#

See /dev/sda6/actual is a partition folder of linux and /dev/sda3/backup is of windows. Rsync works for Linux then when I update Linux actual it updates backup on windows. But when I update windows it cant update Linux because window doesn't understand ext4 partition and window doesn't have rsync thus there is a solid problem. Any ideas

#

@gentle moss

gentle moss
#

is this for programming projects?

low shadow
#

No genral

gentle moss
#

well step 1 would be to use a format for the partition that both OS's can read

#

exFAT or something

low shadow
#

Can I install Kali on exFat

#

And can windows read exFat?

sand goblet
#

I can't recommend installing Linux on an exfat drive, including kali

gentle moss
#

create a new partition for your backups

sand goblet
#

But you can always use a separate partition yeah

low shadow
#

Like exFat for backup

gentle moss
#

yeh

low shadow
#

My problem is half solved now

#

Now I need to find rsync alternative for windows

#

My problem fully solved

gentle moss
#

yeah, there is an rsync for windows but i've never really used it

low shadow
#

So good

#

All good

#

Also is there something else like 2>&1 but not 2>&1

gentle moss
#

std redirect? what do you mean?

#

like what's your end goal

low shadow
#

Like 0>&1

#

Input to output

#

Has anybody tried

rough sapphire
#

@low shadow What's the issue you're having?

sand goblet
#

We call that command echo or cat

low shadow
#

No just asking. If 2>&1 redirect error to output, can input be redirected to output 0>&1 has anyone tried

rough sapphire
gentle moss
#

^

#

they're always XY problems with machineyadav

gentle moss
#

oof, they broke their site?

#

ahhh

#

it's http only

low shadow
#

Hmm

rough sapphire
#

Huh, yeah. Guess just try with that

gentle moss
#

bit sucky in this day and age

rough sapphire
#

Since that certificate is really old it looks like:

The certificate for xyproblem.info expired on October 31, 2015.

low shadow
#

Hmm

#

User X user y

sand goblet
#

More like problem X, unworkable solution Y

low shadow
#

Rooting mobile is shit. I lost my all data

sand goblet
#

Well yeah, obviously

#

You have to reflash half your phone to do that first time

low shadow
#

Its because of password

sand goblet
#

Sort of

#

Updates won't nuke your phone though

#

Root updates I mean

rough sapphire
#

good updates won't nuke your phone ๐Ÿ˜„

low shadow
#

After TWRP installation it ask password to decrypt I didn't have the password so I wiped. Installed custom ROM. Custom ROM was shit. Again installed stock ROM. Last TWRP try without lockscreen password and encrypt device unchecked. Again the same problem. Again wiped. Again installed stock ROM. And only thing left was to say " such a fucking phone, if I had nandroid backup"

rough sapphire
#

Sounds like an issue with your TWRP

#

Which device?

low shadow
#

Redmi Note 3 Snapdragon variant

#

Also after installing custom ROM installing TWRP for another custom ROM didn't ask password

#

I installed like 5 ROMs. Didn't ask password.

#

All custom ROMs are shit

#

So I installed stock rom

#

Again installed TWRP, asked password again fuck

rough sapphire
#

That's less that custom ROMs are bad, and more that whatever custom ROMs you installed didn't force encryption by the sound of it.

low shadow
#

Custom ROM has the worst UI ever seen

#

Most doesn't work

rough sapphire
#

Which is both equally fairly impressive, and terrifying. Considering that should be forced, and has been forced for.. quite a while.

#

@sand goblet and I talked about that a while ago

low shadow
#

Hmm

#

Anyway I won't root my phone again

#

And advise other not to without backup

rough sapphire
#

Looks like your device is too old to support Lineage, too.

low shadow
#

Tried all

#

Works 2 only

#

And has terrible UI

sand goblet
#

Old phones have poor support yes

low shadow
#

Like kenzo works

#

But oh gosh

sand goblet
#

I'm happily rooted on a OnePlus 7 Pro here

#

It was one of the first things I did

low shadow
#

Enjoy it

#

Then

sand goblet
#

oh, I do

low shadow
#

I should had backup

#

I had same problem when I ran RM -rf . All data lost

#

So now I use github (for cloud backup)

#

And backup

rough sapphire
#

What's the codename for your device?

sand goblet
#

"When I deleted all my data, all my data was deleted"

sand goblet
#

yeeah android 6

#

that is.. frickin' ancient

low shadow
#

"When I deleted all my data, all my data was deleted"
@sand goblet I tried and thought ctrl+c but failed

#

Here never seen android 8.0 or above

sand goblet
#

yes, we had this discussion

gentle moss
#

le sigh

rough sapphire
#

You said the Snapdragon variant, so kenzo?

low shadow
#

Yes

rough sapphire
#

Mind you, I don't have the device, and can't test, so no guarantee.

low shadow
#

I don't want to root again. Not in this phonr

rough sapphire
#

You shouldn't have to root to flash recovery. Should be something as easy as fastboot flash recovery <img>

#

That is, if your bootloader is unlocked

low shadow
#

Bootloader is unlocke

#

And I have adb and fast boot installed

#

What is the image

rough sapphire
#

Then yeah, you should be fine

low shadow
#

Boot.img

#

Or system.img

rough sapphire
#

Neither, considering it's just recovery

low shadow
#

Hmm

rough sapphire
low shadow
#

But I m not going to do that or anythng. I will buy OnePlus or something else. Then root

#

Later

gentle moss
#

reading would be a super helpful thing to do

low shadow
#

I have other things to read ,๐Ÿ˜€๐Ÿ˜€๐Ÿ˜€๐Ÿ˜Ž๐Ÿ˜Ž๐Ÿ˜Ž

quaint rivet
#

what a character

rough sapphire
#

So, has anyone seen Lineage's official position on their su addon for Android 10 / Lineage 17.1?

#

Turns out they're getting rid of it, and their Privacy Guard setup. Using Google's "Permission Hub", and pushing people towards using Magisk for their su/root needs. Even though they don't suggest/can't discuss it in their official support channels ๐Ÿ˜„

sand goblet
#

Strange move.

gentle moss
#

o_O

rough sapphire
#

ยฏ_(ใƒ„)_/ยฏ

gentle moss
#

nice

glass gorge
#

Need food.

wide pine
#

materialize food

#

out of air

rain heron
#

I had a question

#

Which makes me think of it a lot

#

what programming language is used in airplanes?

#

I assume it'll be c++?

#

Cause there's a lot math going on?

rough sapphire
#

C, probably

rain heron
#

Why C?

#

Why did they choose C?

rough sapphire
#

tonnes of embedded devices

rain heron
#

Why not python, even?

#

How would they test the scripts though?

#

How would they debug? ๐Ÿ˜‚

#

1 error, boom

#

millions of dollars gone

rough sapphire
#

a simulated environment where each embedded device is emulated

rain heron
#

O_o

rough sapphire
#

and, yeah, software errors do happen

#

like the one which made boeings nosedive

rain heron
#

Surely rockets have a language that their computers are made up of?

#

What would that be?

#

I'd say the computing part would be python

rough sapphire
#

again, C

rain heron
#

Like the part where they record data

rough sapphire
#

python is slow compared to c

rain heron
#

And send them

rough sapphire
#

python requires a full OS to run, generally

#

and that

rain heron
#

O_-

#

Wat.

#

Fak.

rough sapphire
#

embedded systems such as the ones in aircraft are very specialised

rain heron
#

What about circuitpython then?

rough sapphire
#

and can't afford to run a full python stack

rain heron
#

Its not a full os

#

(?)

rough sapphire
#

why would they do that if they could just use C?

wide pine
#

its easier

rain heron
#

Makes me think

#

They record that data with C?

#

dayumn

rough sapphire
#

@wide pine I wouldn't really trust someone to program my rockets that only knows Python and not C

rain heron
#

O_O

rough sapphire
#

xD

#

challenger?

rain heron
#

Are you saying python experts are bad programmers?

rough sapphire
#

no

rain heron
#

Are you saying C is the "boss" language?

wide pine
#

i meant its easier to use C

rain heron
#

Are you saying C is harder?

rough sapphire
#

c is better for that type of stuff.

rain heron
#

O_O_O_O

#

o.

rough sapphire
#

are you trolling?

rain heron
#

o.o

#

No I'm not

#

Generally speaking, wherever someone mentions the term data, python kicks the door open

rough sapphire
#

or R

#

but like

#

thats data processing

#

not data storage

rain heron
#

R?

#

pppfffttt

#

never heard of that

rough sapphire
#

its a language geared towards data science

#

not every language is going to be a good fit for every application

#

One of Rโ€™s strengths is the ease with which well-designed publication-quality plots can be produced, including mathematical symbols and formulae where needed. Great care has been taken over the defaults for the minor design choices in graphics, but the user retains full control

rain heron
#

mh

wide pine
#

R

#

very inspirational name

rough sapphire
#

R

#

r is for data

#

duh

#

often used by pirates

rain heron
#

R

rough sapphire
#

xDDD

wide pine
#

Arr

#

yes

rain heron
#

lmfao

rough sapphire
#

@rough sapphire har

#

the R stands for Data

#

Oh yeah the language war i see

rain heron
#

O_o

rough sapphire
#

not really

#

xD

rain heron
#

@rough sapphire No no

rough sapphire
#

its not opinion

#

Just kidding

rain heron
#

The language discussion

rough sapphire
#

just having a discussion on what languages are mostly used in aerocomputing

rain heron
#

^

rough sapphire
#

besides everyone knows javascript is the boss of al languages

#

hides from the oncoming rage

#

i wouldn't trust an aeroplane being coded in a language that might return a string instead of an int and cause some edge case to be missed

wide pine
#

GRRRRRRRRRRR

rough sapphire
#

xD

rain heron
#

Echo Echo Echo Echo Echo

rough sapphire
#

yep, strict typing is pretty much a must

rain heron
#

Did someone say "JAVASCRIPT"?

rough sapphire
gentle moss
#

i wouldn't trust an aeroplane that didn't have round windows

rain heron
#

Did someone actually say "JAVASCRIPT"?!

wide pine
#

yes my lord i do believe someone has spoken the words "javascript" using their oral cavity

rough sapphire
#

n o

#

sweats

rain heron
#

besides everyone knows javascript is the boss of al languages
@rough sapphire I can't believe you're in this existence

wide pine
#

the fact that you are occupying space in the universe at this current moment is something to be ashamed of

rough sapphire
#

I WAS JOKING

wide pine
#

the carbon that makes you up should be ashamed of itself

rain heron
#

"Javascript is for web development", speaks a guy in the last bench

rough sapphire
#

javascript is a joke

#

@gentle moss's girlfriend yelled JavaScript in bed, is she cheating on me?

rain heron
#

lmao

#

I didn't get it

#

But me mum always said return a compliment

wide pine
#

haha funny joke

rain heron
#

Thanks

gentle moss
#

no, that's her nickname for my penis

#

because it's bloated and overused

wide pine
#

ok thats

#

reall ygood

#

but i hate you

rain heron
#

lmao

rough sapphire
#

bloated

#

you should get that checked out mate

rain heron
#

"That her nickname for my penis"

#

swipe off the "nickname" and add in "love"

rough sapphire
#

O.o

gentle moss
#

i tried to xx but the doctor just said "TypeError"

rain heron
#

Did you roast @rough sapphire ?

wheat lynx
#

TypeError: penis() missing one required positional argument 'length'

#

Was it that one @gentle moss?

rain heron
#

@wheat lynx I spilled all the water I had in my glass over my desk, lmfao

gentle moss
#

hah

rough sapphire
#

we didn't get snow on christmas and now we get this shit?

#

fucking unbelievable

oak tangle
sand goblet
#

you should steal that sled

#

it looks fun

rough sapphire
#

not my pic unfortunately

#

got it off reddit

sand goblet
#

sadface

wheat lynx
#

@oak tangle Ah yes, that is a superior measurement system, and the name fits well :)

rough sapphire
#

why do they have E_ALL enabled

gentle moss
#

gotta get those notice severity items

modern island
#

Government in Russia: attempts to block telegram โ€” yet it is still accessible + we have a bunch of very useful sites still blocked in 2020 because of blocks in 2018 ๐Ÿ‘

low shadow
#

I m so much happy today

#

What a nice day

#

๐Ÿ˜Š

#

When will ******* corona end?

celest tide
#

springer released a load of textbooks for download if anyone's interested

#

and hasn't heard of libgen / booksc etc

rough sapphire
#

@celest tide accidentally or on purpose

#

they did that once on accident

celest tide
#

@rough sapphire oh , i think on purpose, i was sent a spreadsheet with a bunch and it looked like too much effort for an accident

rough sapphire
#

well share that shit then

#

sharing is caring

#

i mean if they're doing it just because, why isn't it on reddit or something?

#

or is it?

charred socket
#

Hey, is there anybody creating chatbots for Zoom?

sand goblet
#

after a quick google

rough sapphire
#

if you're estonian, the bar is closed until 10.04. If you speak english, though, gotta wait until the 17th

charred socket
#

Oh cool! Thanks @sand goblet , cheers

soft violet
#

What if you're an Estonian that reads English? Dun dun dun...

#

Quantum mechanics meets public house service scheduling.

#

Whatever you do, do NOT pet the bar kitty.

lapis void
#

I cant get this crest right

lost radish
#

But can blockchains run Crysis?

#

nvm I genuinely (although naively in hindsight) thought I may have been the first on that one

rough sapphire
#

How can you pass arguments from JS file to onclick="" JavaScript function calls... it always says that they aren't defined. Even with JS loaded in at the end of the HTML

#

such as

#

onclick="reducePoints(getWizardBar1, attr1)">

#

Those arguments are defined in the JavaScript.

#

I might have to make a fiddle

#

It doesnt look exactly the way i have it because its just default bootstrap but the JS is the important bit.

sonic basin
#

hi im new in pretty much every field

#

where do i go?

rough sapphire
#

Well I got my problem to work in the fiddle. Now here is just to hoping I can copy it out and see it work the same haha

compact star
#

I'm reading papers about measuring blockchain performance. They make hypothesis, analyse the consequences and validate their model using a simulation constructed with the very same model. What's the use of doing that ? It doesn't validate the hypothesis...

lapis void
#

@Ronald weasley#7663 4 hour course on youtube

#

rip

autumn herald
#

i leave my job next week and i have a day off to take

#

my manager asked me to take it to travel to give back my computer

#

what about no

gentle moss
#

good man

rough sapphire
#

hey guys..

#

is this valid within a sh script?

#
auth_token=$(gcloud auth print-access-token)
#

don't see why not

#

i would put double quotes around it, though

#

like where

gentle moss
#

double quote evaluation

rough sapphire
#

auth_token="$(gcloud auth print-access-token)"

#

could you tell me why we need to do that.. I didnt know

#

does it mean the command doesn't evaluate unless I do that

#

no, it still evaluates

#

but the result is already quoted and you don't have to worry about that anymore

#

single quotes would cause it to not evaluate

#

also, fun fact, quotes inside command substitutions are isolated from surrounding quotes outside the substitution

#

got it

#

example, this is perfectly valid but discord's syntax highlighter barfs at it:

THING="$(echo "$(echo "thing")")"
#

nice

#

what regex does unix use.. is it the same as pcre

#

asking so I can test online

gentle moss
#

do you mean grep's regex?

rough sapphire
#

"unix"?

#

depends entirely on the tool

#

grep can do multiple

#

I'm doing something like this expect "*?assword:*"

#

got it

#

note: this is for grep

#

dunno what expect uses

#

can probably find out from the man pages

#

I thought there was one basic regexp and that's standard..

#

oh my sweet summer child

gentle moss
#

:D

rough sapphire
#

I mean I know there was different ones for php, perl, python.. javascript

#

but in linux environment.. isn't there like just one

#

Im not really sure that's what I always assumed

gentle moss
#

:D

rough sapphire
#

:<

#

sad puppy

#

well I finally got my script to work

#

always a good thing

#

now to learn how to schedule it as a cron job, so it can run on its own

#

in the wild.. with all the other little processes

#

might want to look into systemd timers

#

oki

gentle moss
#

systemdeeznutz

rough sapphire
#

thank you bisk

#

apparently cron let's us do this

#
@hourly /absolute/path/to/your/parseScript.sh
#

some cron daemons let you do that

#

not all

gentle moss
#

do the cron proper :(

rough sapphire
#

proper?

#

you mean with the cryptic asterisks and numbers thing

gentle moss
#

it's not cryptic

#

it literally tells you what it is at the top

#

# m h dom mon dow user command

rough sapphire
#

I hate working with centos..

#

alrighty then

gentle moss
#

centos gonna centos

rough sapphire
#

you know what I learned today

#

I didn't need to chmod after I renamed a file that already had permissions

gentle moss
#

okay.

rough sapphire
#

what.. I didn't know that before.. what a thoughtful feature

gentle moss
#

file properties, such as permissions, are bound to the file

#

renaming it doesn't change that

rough sapphire
#

how is watch different from cron

#

well

#

achsully bisk

#

it's tied to the file's metadata

gentle moss
#

shut up if you're going into some inode meta data bullshit stuff

rough sapphire
#

not the file (ie the inodes) itself

gentle moss
#

bastard.

rough sapphire
#

0 * * * * /absolute/path/to/your/parseScript.sh

#

:D

#

is this right.. for every hour.. I dont get it

gentle moss
#

minute 0 of every hour

#

every day of the month

#

every month

rough sapphire
gentle moss
#

every day of the week

rough sapphire
#

the website doesnt work

gentle moss
#

yes it does

rough sapphire
#

i mistyped initially

#

edited the link

#

wow

#

this is so nice

gentle moss
#

oh fucking great

#

the ticketing system has exploded.

quaint rivet
#

call the hazmat teams

gentle moss
#

it's not good news :|

#

it's off the ticket count by like 7,000 tickets

wheat lynx
#

ticket_count += 7000 Fixed

rough sapphire
#

7.0 tickets - not great, not terrible

gentle moss
#

:D

#

3 decimals of accuracy m8

#

the problem is those numbers exist as previous tickets

#

so we're getting duplicate tickets

#

and you can't reply to the newly created one, since it's actually not that ticket but another ticket.

rough sapphire
#

what are the tickets for.. can you trade them in for a prize

gentle moss
#

support tickets. for when people break shit.

rough sapphire
#

I know bisk :v I was trying to make a funny

gentle moss
#

well you missed.

rough sapphire
#

why are you so mean today bisk

gentle moss
#

technically i can trade tickets in for prizes though

#

it's called moniz

#

shit's fucked that's why xx.

#

don't work for a few days and somehow they managed to break shit and now muggins here is cleaning whatever it is up

rough sapphire
#

you're telling me

#

i broke my fucking toe yesterday

gentle moss
#

oh no

#

i guess you're going to be toe-tally celibate for a while

rough sapphire
#

:l

gentle moss
#

:D

#

which toe? was it a good one?

rough sapphire
#

my rightmost toe

gentle moss
#

ahhh it's a diddy one

#

you never use those bastards i'm sure

#

or something

rough sapphire
#

i use them for walking

#

it fucking HURTS to walk

autumn herald
#

Arent you supposed to stay in a chair all day and only move if you're gonna starve and die

gentle moss
#

^

#

and then there's all this corona virus stuff on top of regular IT job stuff

#

ticketing system did not like rebooting.

#

it looks like it's re-indexing its entire ticket database o_O

#

~28,000 tickets to process

#

~600mb SQLite database

#

nice.

rough sapphire
#

why did you need to reboot it

#

did it die

gentle moss
#

eh, kinda. restarting the service didn't appear to have any effect so i gave the whole system a reboot.

#

sometimes that fixes problems with Spiceworks. it's a touchy little shit.

low shadow
#

hey i need help git pull didnt bring folders as git clone do

#

git clone only brought .git file

#

but not the content of repo

#

how to make content of repo from .git file, it downloaded 1.2 gb but only .git is there

#

when i uploaded 1.2 gb and checked in github, the files were there

#

is there any ways to make files from .git file

rough sapphire
#

mm

low shadow
#

how can .git be 1.2 gb

#

help

rough sapphire
#

because the full history of the repository is there

#

but I don't think the current status of the repository is supposed to be empty unless the people tried to delete the repository and don't understand how git works...

#

but there might be something going on with git modules or something. does somebody else know?

low shadow
#

oh problem solved

#

git clone already does everythin

rough sapphire
#

@rough sapphire did you smash it into a coffee table?

#

barely missed the coffee table, hit the corner of my sofa instead @rough sapphire

#

or, like, the "leg"

#

did you go to hospital or toughing it out at home?

#

yeah, at home, rather not visit hospitals right now

#

Lollypop splint?

gentle moss
#

update: ticket system still broken

#

why? idk

#

it's almost as if there's another older instance of the server running

#

but i can't find the ESXi host. :D

rough sapphire
#

I saw something mentioning that we could be in sporadic lockdowns until maybe 2020

low shadow
#

how can i send get request to this ip

#

2400:1a00:bd10:9ed2:78d5:1ded:b0cc:6705

#

in port 4444

#

netcat failed

#

curl failed

#

feeling fucked

#

due to ipv6

gentle moss
#

you probably need to specify you want to use an IPv6 address

#

on both netcat and curl

low shadow
#

ok

#

i will google

#

waait

gentle moss
#

yes, google it.

low shadow
#

found this

#

tried this and failed

rough sapphire
#

is it even a valid ip?

#

i did a little checking and something like this should work?
curl -6 "http://[ip6addrhere]:porthere"

low shadow
#

yes its valid

#

wait

#

do this nc 2400:1a00:bd10:9ed2:78d5:1ded:b0cc:6705 4444

#

@rough sapphire

#

it works . Do it fast so that i can end nc -lvnp 4444 and start php -S 0.0.0.0:4444

#

and test curl for ipv6

#

leave it i m exiting nc -lvnp

gentle moss
#

did you just

#

oh lord

#

is that your IP address?

low shadow
#

yes

gentle moss
#

with an open port on 4444

low shadow
#

yes

gentle moss
#

that hooks straight into a PHP shell

rough sapphire
#

you do realise you're on a server with developers

low shadow
#

yes

gentle moss
#

you do realise how fucking dangerous that is?

low shadow
#

yes

gentle moss
#

fine

#

we've told you before about dumb things and you never listen

#

so i'm just going to put it clearly

#

putting a PHP shell web facing with no authentication

low shadow
#

yes thats true i never listen

rough sapphire
#

@low shadow how old are you

gentle moss
#

then posting that information here

low shadow
#

16

gentle moss
#

is fucking dumb

low shadow
#

how do i curl ipv6

gentle moss
#

you're lucky xx didn't spot it

#

:P

rough sapphire
#
> whoami
honeypot

\๐Ÿคฉ

low shadow
#

let xx spot it

rough sapphire
#

heh

#

@rough sapphire it's a honeypot?

low shadow
#

ok 12345 port is open , my ip is good and nc -lvnp 12345 is open, let xx do the job

#

ok so how to curl ipv6

rough sapphire
#

@rough sapphire no idea, i didn't connect

#

okay

low shadow
#

and is there other tool for ipv6

#

like curl

#

for get request

soft violet
#

What was the cpu bug that let people break out of VMs? Was it Spectre?

rough sapphire
#

@low shadow posting your ip address with a php shell is dumber than posting your face with your street address and phone number...

low shadow
#

ok

#

and is there other tool for ipv6
@low shadow

gentle moss
#

there are a number opal

#

spectre can be used for that, sure

low shadow
#

even wget failed

gentle moss
#

dude

#

put stuff in ipv6 mode

#

it may not natively handle ipv6

low shadow
#

wait

sand goblet
#

wget -6

#

it'd be like

#

ftp://[address]:port

eternal sequoia
soft violet
#

I mean, even if you're sandboxing things, say people made outgoing requests through it. Even in a honeypot situation, that could get not good very quickly. Do you understand what I'm saying?

sand goblet
#

eg wget -6 http://[fe80::a00:27ff:fe00:80b9]:8080/

soft violet
#

You could have SWAT come and break down your door and shoot your pets.

low shadow
#

its running php

gentle moss
#

php wont respond to a wget

#

-.-

#

or a curl

low shadow
#

what it will respond to

#

will php respond to xmlhttprequest

#

my main motive was that

#

to test curl

gentle moss
#

you're literally opening a php shell

#

and web facing it

low shadow
#

then test xmlhttpreqest

gentle moss
#

it'll take commands like a shell

low shadow
#

i know