#ot1-perplexing-regexing
1 messages ยท Page 381 of 1
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.
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
the myspace equivalent over here was purely wysiwyg ... no skills involved
couldn't even use a <blink> ...
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."
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
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
well after that toy pc, i never really got back into it, last years i tried, but too old for it i guess
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
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
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
๐ฉ๐
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
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
there is a humble bundle icon pack (nvm just gaming stuff)
here is a message (nvm disregard it) lol
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 ๐คท๐ฝ
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.
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
windows expands and populates the env vars in a lexicographic order
But system wide I think it's loaded when there's a user login
i did. the thing works if I straight up jam %PY36% in the PATH
So if you log off and log in then it'll work
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
Sometimes. Actually you know what, I might be thinking of group policies
๐ฎ
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
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
they're alphabetically here
Or it'll default to your highest stable version
Honestly if you're on Windows, you should be using py regardless
you want
PY36=c:\python36\
PYTHONPATH=%PY36%
PATH=otherstuff;%PYTHONPATH%
:<
can't
why not?
Why's that?
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?
๐ฎ
And again, py itself shouldn't care
I don't want no py
Why
because it's gonna mess up my stuff
It's literally there to make life easier on Windows
It's not though
What would it mess up
trust me it will
i have a fully functioning setup right now and i don't want no py
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?
apparently i have it?
Yes
lol it works
Yes
how does it know where my pythons are
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
i was just afraid it'll muck up jupyter notebooks
those things are notoriously finicky with the kernels\environments
Understandable, but all py does is just direct it to the Python version you tell it to
Nothing more nothing less
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
Yarp
mhmm. breaking temperature records again
Which direction
+24C when the last record was +20C according to the windows weather app
thanks i'll keep it here. spring is just coming.
5c here
๐
let's get this covid thing out of the way so we can get to summer
start going to the beach
the C's?
Centigrades
Rather not rush nature any more than humanity already has
๐ฎ
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
covid19 and forest fires; summer will be fun
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
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
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 
So this was hobby-turned-job for you?
pretty much
I have proof that I hate myself. I have made cofftea
I wanted the benefits of both with none of the enjoyment, apparently
what is the benefit of tea
Flavonoids
it can hold more sugar than coffee?
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
cofftea is fine IMO - although it is just slightly worse tasting than either on their own
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...
instead of pouring them together like a madman
2 mugs to wash up
what's the ratio here? 1:1, 45:1? so many questions....
ยฏ_(ใ)_/ยฏ
does it have a sports star name (e.g An Arnold Palmer)?
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
right, but does cofftea have an Arnie equivalent name?
lol
And if it was cold, it'd be Iced Garbage
Starbucks would like to talk to you. they think they can market it well.
"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!"
so it is - TIL
I like it
isn't chai just the chinese word for tea?
I mean you're about to google it anyway
Yeah, I am googling it and I am wrong
:>
it's derived from chinese
but the word chai is used in multiple languages yes
the origin is cha
Chai/Chai lattes look pretty damn good tbf
I've never even really thought about them before
also leeroy my nickname changed from white to green
I'm just not as huge on the spice part of it
Because you're part of the Jam again
Right?
that I am
lel
I actually didn't do it in time
not fixing it, that guy can have the ping
So someone else did
Might as well have been my cat
(which is a test account Ves uses)
well it's a nifty looking cat
It is an actual picture of my cat, though
๐
My fuzzy buddy Lucky
Ginger cats are great
He is the most lovey cat in the world, I swear
He's all about purring and loving and headbutts
Both of my cats are really unlovey 99% of the time. Then like 1% of the time they will just demand affection
The only time he's not lovey is when he's not feeling well
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
random aside - Google photos is fucking great. I can just search cat and see a bunch of photos of my cat
Nice
@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
No idea how to get one. This one came with my wife
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
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
Absolutely
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
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
Chai/Chai lattes look pretty damn good tbf
@undone berry chai lattes are amazing
poor Liechtenstein
What happened in Liechtenstein?
Yup
Iโm leaving Pierian
He left too?
a while ago
Howโd you get the Jam moniker?
I actually came here from the Arcade discoed ๐
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
I did too. But no Kermit activation for me yet
@mild rock is here too
Excellent.
Why you decided to leave pieran now?
Too many tags form impatient grasshoppers
๐
If you still have the jam role, make sure you DM staff
if you're actually leaving that is
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
@eternal sequoia i considered leaving it too. It played its role for me and I think has no further use for me
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
Well help system here is really well thought
And it's not tied to specific courses
So chances are you can learn even more
Youโd think Pierian was.. ๐
Heh
Knowing you, you might indeed
Takes a while though it seems
I mostly hang at #career-advice here snd some topical like #async-and-concurrency and #data-science-and-ml
Iโm going into Django when Iโm not distracted by Arcade ๐
why the interest for arcade btw?
For my cards game
I need a more attractive interface than text to show it off with
Now Iโll sleep. TTYL 
@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 ๐
i'm assuming its akin to a JWT with the exp set?
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.
ahh. JOSE. i've come across it being mentioned when i was implementing JWT.
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?
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.
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
i'll stop derailing... ๐
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.
I need to master the art of frequent and descriptive commit messages.
its a constant struggle.
Can someone recommend me a show to watch on Netflix?
I'm out of options.
can't even take a walk outside ๐ฆ
Witcher, altered carbon, sherlock, better call saul, lucifer, atypical, dead to me, the 100
tnks lol
which one?
if I had to pick one.
I like something adventure, interesting and exciting.
the 100 if you like post-apocalyptic
like stranger things.
have you seen tiger king?
no
lol yes thats good too
it was reall good, in a twisted way
is it a documentary?
id say so
ok
there is one brief scene of body gore if thats not your thing though
lots of content warnings I'd say lmao
I'm gonna go with "the 100" first.
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
ok.
is halt and catch fire any good?
i dont have a netflix account 
100 is a solid show...
I cried in the last season
we still need to finish it. only got to like ep3, i think.
its worth it. trust :>)
do you have any other show recommendations?
just so I can take a break from it once in a while.
@earnest sphinx
yep.
el amor
what was the point lol
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).
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.
GoT has a lot going on. def can't get far without tracking everything well.
SciFi. Futuristic, social construct/struggle, centered around a small_ish_ core group of characters.
but the "world" is large.
๐
no me estoy enterando bien
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
write an rsync script that will sync actual and backup
Is pulling and cloning from github same
Like I have outdated .git and files on *** actual *** folder and updated one in github
sorta, git clone is pretty much for initialising a project and pull is for updating it
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
well it sounds like your local files need to be updated from the git
So git pull or clone
okay so you need to update your local file using git pull
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
yes rsync will fail if the partition isn't mounted
Hmm
you should auto mount your parition using /etc/fstab
it's primarily unix based, yes
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
is this for programming projects?
No genral
well step 1 would be to use a format for the partition that both OS's can read
exFAT or something
I can't recommend installing Linux on an exfat drive, including kali
create a new partition for your backups
But you can always use a separate partition yeah
Like exFat for backup
yeh
My problem is half solved now
Now I need to find rsync alternative for windows
My problem fully solved
yeah, there is an rsync for windows but i've never really used it
@low shadow What's the issue you're having?
We call that command echo or cat
No just asking. If 2>&1 redirect error to output, can input be redirected to output 0>&1 has anyone tried
I ask, because this seems like an XY problem ( https://xyproblem.info/ )
oof, they broke their site?
ahhh
it's http only
Asking about your attempted solution rather than your actual problem
Hmm
Huh, yeah. Guess just try with that
bit sucky in this day and age
Since that certificate is really old it looks like:
The certificate for xyproblem.info expired on October 31, 2015.
More like problem X, unworkable solution Y
Rooting mobile is shit. I lost my all data
Its because of password
good updates won't nuke your phone ๐
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"
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
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.
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
Looks like your device is too old to support Lineage, too.
Tried all
Works 2 only
And has terrible UI
Old phones have poor support yes
oh, I do
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
What's the codename for your device?
"When I deleted all my data, all my data was deleted"
"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
yes, we had this discussion
le sigh
You said the Snapdragon variant, so kenzo?
Yes
Just follow this step-by-step tutorial on how to get root access on Redmi Note 3, powered with Snapdragon 650 chipset, via TWRP 3.o making use of SuperSU v2.68.
https://twrp.me/xiaomi/xiaomiredminote3.html should work for your TWRP issue, if you don't have the latest
Mind you, I don't have the device, and can't test, so no guarantee.
I don't want to root again. Not in this phonr
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
Then yeah, you should be fine
Neither, considering it's just recovery
Hmm
Download page for twrp-3.3.1-0-kenzo.img
I'd suggest reading all of https://twrp.me/xiaomi/xiaomiredminote3.html
Disclaimer:Team Win strives to provide a quality product.ย However, it is your decision to install our software on your device.ย Team Win takes no ...
But I m not going to do that or anythng. I will buy OnePlus or something else. Then root
Later
reading would be a super helpful thing to do
I have other things to read ,๐๐๐๐๐๐
what a character
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 ๐
Strange move.
o_O
ยฏ_(ใ)_/ยฏ
https://xyproblem.netlify.com/ exists now btw, if anyone wants to link to it and have HTTPS
nice
Need food.
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?
C, probably
tonnes of embedded devices
Why not python, even?
How would they test the scripts though?
How would they debug? ๐
1 error, boom
millions of dollars gone
a simulated environment where each embedded device is emulated
O_o
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
again, C
Like the part where they record data
python is slow compared to c
And send them
embedded systems such as the ones in aircraft are very specialised
What about circuitpython then?
and can't afford to run a full python stack
why would they do that if they could just use C?
its easier
@wide pine I wouldn't really trust someone to program my rockets that only knows Python and not C
O_O
Are you saying python experts are bad programmers?
no
Are you saying C is the "boss" language?
i meant its easier to use C
Are you saying C is harder?
c is better for that type of stuff.
are you trolling?
o.o
No I'm not
Generally speaking, wherever someone mentions the term data, python kicks the door open
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
mh
R
xDDD
lmfao
O_o
@rough sapphire No no
The language discussion
just having a discussion on what languages are mostly used in aerocomputing
^
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
GRRRRRRRRRRR
xD
Echo Echo Echo Echo Echo
yep, strict typing is pretty much a must
Did someone say "JAVASCRIPT"?
i wouldn't trust an aeroplane that didn't have round windows
Did someone actually say "JAVASCRIPT"?!
yes my lord i do believe someone has spoken the words "javascript" using their oral cavity
besides everyone knows javascript is the boss of al languages
@rough sapphire I can't believe you're in this existence
the fact that you are occupying space in the universe at this current moment is something to be ashamed of
I WAS JOKING
the carbon that makes you up should be ashamed of itself
"Javascript is for web development", speaks a guy in the last bench
javascript is a joke
@gentle moss's girlfriend yelled JavaScript in bed, is she cheating on me?
haha funny joke
Thanks
lmao
O.o
i tried to xx but the doctor just said "TypeError"
Did you roast @rough sapphire ?
TypeError: penis() missing one required positional argument 'length'
Was it that one @gentle moss?
@wheat lynx I spilled all the water I had in my glass over my desk, lmfao
hah
@wheat lynx Don't you mean TMI?
sadface
@oak tangle Ah yes, that is a superior measurement system, and the name fits well :)
gotta get those notice severity items
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 ๐
springer released a load of textbooks for download if anyone's interested
and hasn't heard of libgen / booksc etc
@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
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?
Hey, is there anybody creating chatbots for Zoom?
this is probably what you want https://github.com/prschmid/zoomus
after a quick google
what
if you're estonian, the bar is closed until 10.04. If you speak english, though, gotta wait until the 17th
Oh cool! Thanks @sand goblet , cheers
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.
But can blockchains run Crysis?
nvm I genuinely (although naively in hindsight) thought I may have been the first on that one
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
Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor.
It doesnt look exactly the way i have it because its just default bootstrap but the JS is the important bit.
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
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...
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
good man
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
double quote evaluation
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
do you mean grep's regex?
"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
:D
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
:D
:<
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
systemdeeznutz
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
do the cron proper :(
it's not cryptic
it literally tells you what it is at the top
# m h dom mon dow user command
centos gonna centos
you know what I learned today
I didn't need to chmod after I renamed a file that already had permissions
okay.
what.. I didn't know that before.. what a thoughtful feature
file properties, such as permissions, are bound to the file
renaming it doesn't change that
how is watch different from cron
well
achsully bisk
it's tied to the file's metadata
shut up if you're going into some inode meta data bullshit stuff
not the file (ie the inodes) itself
bastard.
0 * * * * /absolute/path/to/your/parseScript.sh
:D
is this right.. for every hour.. I dont get it
https://crontab.guru is excellent for this
An easy to use editor for crontab schedules.
every day of the week
the website doesnt work
yes it does
call the hazmat teams
ticket_count += 7000 Fixed
7.0 tickets - not great, not terrible
: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.
what are the tickets for.. can you trade them in for a prize
support tickets. for when people break shit.
I know bisk :v I was trying to make a funny
well you missed.
why are you so mean today bisk
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
:l
my rightmost toe
Arent you supposed to stay in a chair all day and only move if you're gonna starve and die
^
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.
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.
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
mm
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?
@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?
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
I saw something mentioning that we could be in sporadic lockdowns until maybe 2020
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
you probably need to specify you want to use an IPv6 address
on both netcat and curl
yes, google it.
found this
tried this and failed
is it even a valid ip?
i did a little checking and something like this should work?
curl -6 "http://[ip6addrhere]:porthere"
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
yes
with an open port on 4444
yes
that hooks straight into a PHP shell
you do realise you're on a server with developers
yes
you do realise how fucking dangerous that is?
yes
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
yes thats true i never listen
@low shadow how old are you
then posting that information here
16
is fucking dumb
how do i curl ipv6
> whoami
honeypot
\๐คฉ
let xx spot it
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
What was the cpu bug that let people break out of VMs? Was it Spectre?
@low shadow posting your ip address with a php shell is dumber than posting your face with your street address and phone number...
wait
@soft violet this one?
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?
eg wget -6 http://[fe80::a00:27ff:fe00:80b9]:8080/
You could have SWAT come and break down your door and shoot your pets.
what it will respond to
will php respond to xmlhttprequest
my main motive was that
to test curl
then test xmlhttpreqest
it'll take commands like a shell
i know