#ot1-perplexing-regexing

1 messages · Page 214 of 1

granite lake
#

Lmao

lost hornet
#

i paid 40 dollars for these emojis

#

im damn well going to use them every chance I get

#

and if people ask where I got them from then I'll say that I made them and my prices have actually gotten cheaper

granite lake
#

Lol

#

Where you bought them?

lost hornet
#

(i made them myself)

#

well, I'm making emojis now to recuperate my losses

#

from buying emojis

granite lake
#

Agh

lost hornet
#

You want some emojis?

granite lake
#

Nah

#

I don't have nitro

lost hornet
#

If you have your own server then you could add them

granite lake
#

Nah

#

It's good

lost hornet
#

only 2 bucks a pop

granite lake
#

I don't have payment cards

lost hornet
#

send me a toonie in the mail

ionic hill
#

I'd like a toonie too

#

Could go for a coffee at timmies

lost hornet
#

i just buy two doughnuts whenever im at timmies

ionic hill
#

hehe where you from Skinny

granite lake
#

Pokemon world

#

Look his pfp

ionic hill
#

Oops, didn't know Pallet town had Timmies

lost hornet
#

not pallet town

#

a bit south of rustboro

ionic hill
lost hornet
#

actually im from alberta

#

you?

gentle moss
#

oh i keep my clothes on

#

but thanks for taking interest

ionic hill
#

Originally from New Brunswick but I'm in Toronto now finger_gun

lost hornet
#

neat

lost hornet
gentle moss
lost hornet
#

@worn kite @tough garnet

gentle moss
#

Oh god

#

You're welcome

worn kite
#

hm?

sour shale
#

Nice job bisk

steel fox
#

Skinny do you accept shrute bucks

wild yarrow
#

what are.... schrute bucks?

steel fox
#

They’re like Stanley nickels

wild yarrow
#

huh

wild yarrow
#

oh Clay, i am building an mtg search cog because fuck it, i can't keep my projects straight and it's cool

tulip palm
#

this is mildly annoying. zsh only substitutes ~ for my home directory when i'm in the directory itself, but not any subdirectories.

cerulean basin
#

is that check in your powerline indicative of command success/failure?

lone otter
#

yep

#

also the directory element is probably configurable

#

If not, you should be able to edit the .zsh-theme and modify the prompt element

#

iirc the themes are written in bash

tulip palm
#

that's what i'm doing

#

now it's not even marking my home as ~

#

but now i'm just getting it to display the current directory

wild yarrow
#

hot it works

wild yarrow
#

hmm

cerulean basin
#

next level would be to add custom emotes for the mana cost

#

i dont play mtg though so there may be a ton to add for all I know

wild yarrow
#

so emotes can't be put in an embed.... far as i know

#

but yes

#

that was on my list of things to do

#

i have the symbol urls for them and the 0 - 9 and X and T symbols

#

so i will try to find a way

cerulean basin
#

ah yeah only emojis right, not emotes?

wild yarrow
#

the thing is there are things like the 1 colorless symbol now that came from eldrazi, and there's phyrexian mana

cerulean basin
#

that's the issue?

wild yarrow
#

and hybrids

#

and energy

#

so it's a LOT

#

no emojis yeah

cerulean basin
#

you mean emotes 🤔

#

emojis = unicode

wild yarrow
#

oh

#

yeah

#

i can see if there are emojis for those

#

idk

#

i would be surprised

cerulean basin
#

maybe something close enough

wild yarrow
#

i will look around

cerulean basin
#

waiit

#

those circles are emotes not emojis

#

so it is possible

wild yarrow
#

OH

#

i could probably do something like that

cerulean basin
#

I think you have to use them like this in embeds !hyperlemon

#

so they show up

#

idk try it out I haven't messed with embeds in a while so I forget these things

wild yarrow
#

i'll give it a go after dinner :D

cerulean basin
#

👍🏻

wild yarrow
#

cause i can totally pull those icons off of the wizards site

cerulean basin
#

yeah you just need to make them into emotes

#

they cant be urls to images

wild yarrow
#

yup

cerulean basin
#

what @royal lake has is a separate server just for the emotes

#

so it doesnt clog up this server

wild yarrow
#

wait wait wait

#

that makes sense

cerulean basin
#

how convenient

wild yarrow
#

yeah

cerulean basin
#

I like the design on those

#

never really looked at mtg cards before

wild yarrow
#

mtg, especially now, is a much prettier and nice looking card game. also out of the card games i have played its mechanics are 👌 out of 10

#

so it looks like <emoji_name:emoji_id> like you posted.... cool

cerulean basin
#

Maybe it only works in the description, not in fields?

wild yarrow
#

idk haven't tested yet

#

i will in a bit tho

cerulean basin
#

oh I thought you were saying that it didnt work

#

and showed up as the bracket stuff

wild yarrow
#

nah, just thinking out loud :P

tame pier
#

Why are so many bots made by fucking weebs?

wild yarrow
#

i'm not a weeb

tame pier
#

Are you sure?

cerulean basin
#

I guess discord appeals to weebs

#

havent you seen their twitter

tame pier
#

no

tame pier
#

lmao

cerulean basin
#

there was a worse one

#

but I cant find it 😡

tame pier
#

jesus they're active

cerulean basin
tame pier
#

lol

#

Well, it seems that this astolfo bot is coded in Kotlin...huh

cerulean basin
#

didnt know rythm was coded in Java

#

seems like Java and JS are the most popular langs

#

at least for the big bots

tame pier
#

Yeah

#

Java makes sense, as it's good for big complex server applications

#

JavaScript...I haven't used enough to say, but I've heard enough to say

cerulean basin
#

Eris is surprisingly popular too

#

oh eris is just js

#

i thought it was elixir

tame pier
#

lol

#

Surprise!

#

It's JavaScript!

cerulean basin
#

4k lines

tame pier
#

Crikey

#

This is why we split things into files

#

32 lines of imports

cerulean basin
#

LOL

#

just noticed

tame pier
#

in no particular order

cerulean basin
#

worst part is

#

yes

#

exactly

tame pier
#

Though to be fair, I'm bad at that too

cerulean basin
#

when you have comments like this ` # ---------------------------- Settings ------------------------------------

#

you know your file is too long

tame pier
#

At least I split out libraries / local modules / external packages

#

yeahhhhhh

#

Bringing me back to C-code

cerulean basin
#

brings me back to my Java days as a kid

#

in case you missed it I shared my 39k line file I worked with

#

most not written by me but still

#

my browser tab hangs just loading that page

tame pier
#

omg

#

2.1gb of memory

#

2.4

#

it loaded

#

but if i scroll CPU spikes

#

....why Mark, why

wild yarrow
#

thanks to @solar zealot for their help :D

#

it works

#

i might fiddle with the icon sizes but the code works :D

tame pier
#

Nice

wild yarrow
#

c:

cerulean basin
#

is the embed colour based on rarity?

#

or on what

wild yarrow
#

on the mana cost

#

or rather the card's color

cerulean basin
#

either way its a nice touch

wild yarrow
#

so like if a card has no mana cost but claims it is blue then....

#

thank you

#

but yeah, the api lets you get the set of colors, if it's None it does the colorless grey, otherwise it does the card backing color for the color, if it's multi it's gold even for hybrids that don't have the gold back

#

i don't think you can do gradients, plus the set of cards with hybrid background is non trivial

cerulean basin
#

yeah limited to 1 solid colour

wild yarrow
#

welp, then i will stick to the gold :D

versed jackal
#

@edgy pier silicon valley fan i see

oak viper
#

@feral jetty

feral jetty
#

local &| = 1;

#

what does this mean

oak viper
#

Ah shit, punctuation... If I had my oreilly perl cheatsheet at hand I would he able to reply, I forgot most of it. Hang on

#

Are you sure it's an & not a $?

#

If it was $| = nonzero, you'd be setting the buffer to autoflush on whatever i/o context it's in

feral jetty
#

it's $ 🤦

oak viper
#

It looks like setting the reference of that variable (a pipe?) to 1 and not much else to me, otherwise

#

Ah, I thought so

#

It's listed in perlvar, my friend

#

if you use English; then it's also called $OUTPUT_AUTOFLUSH

feral jetty
#

what? use english?

oak viper
#

It gives long constant names to punctuation variables like that

#

use English; is one of the ways to make coding in perl less cancerous

#

To think I'd be helping someone in perl after all this time 😂

feral jetty
#

to think i'd be askiing someone in perl after all this time

oak viper
#

Hahah

#

I feel you bro

feral jetty
#

not a bro

#

😄

oak viper
#

Bro-ness transcends gender!

feral jetty
#

k bro 😉

oak viper
#

Worked 2 years in perl

#

Mojolicious

#

It was fun but I wouldn't repeat

feral jetty
#

what did you write in it?

oak viper
#

A browser game lmao

feral jetty
#

i've seen it used to write test cases

#

oh

oak viper
#

I'm serious, this company was using perl rather than php to make a site

feral jetty
#

2 years?!

oak viper
#

Well, we made several

feral jetty
#

omg 🙄 🤦

oak viper
#

Still it was fun

feral jetty
#

and why not js instead of php?

oak viper
#

Mojolicious is actually pretty well done

feral jetty
#

what's that

oak viper
#

Web framework

#

Think a shittier Django i guess

feral jetty
#

ahaha i first used google translate and got no translation so i was like whaaat?!

#

i see!

oak viper
#

Lmao Hahah

#

It's the de facto web framework for perl

feral jetty
#

didn't know perl could be used in web too

#

and what about tests?

#

they were written again in perl?

oak viper
#

I think so ya

feral jetty
#

we use it too

#

for tests

oak viper
#

Now I'm using python for everything 😁

feral jetty
#

so i always saw local $| = 1; and didn't understand the meaning

#

python is good

#

do you use unittest?

#

bro? @oak viper

#

ok sorry imma sleep now, it's late

sand goblet
wraith umbra
#

lol

tulip palm
#

haha

#

that's a good one

wild yarrow
#

heh

#

that’s good

versed jackal
#

lmfao

mossy matrix
#

The crickets outside are chirping sporadically and it’s making it hard to sleep

tulip palm
#

sleep harder then :^)

lost hornet
#

what's ligma

cerulean basin
#

LOOOOOOOOOOOOOOOOOOOOOOOOL

tulip palm
#

you alright there mark?

tame pier
#

?

wild yarrow
#

too much THC?

tulip palm
#

i read that as "too much THICC"

wild yarrow
#

hahaha

#

thicc 👌

tulip palm
#

thc 👌

wild yarrow
#

yeah boi!

#

also CBD edibles are p great

#

good for shit like meetings or dealing with sales managers

tulip palm
wild yarrow
#

O.O

tulip palm
#

thank you linux very cool

wild yarrow
#

huh

tulip palm
#

have no idea

#

just doing a stress test with s-tui

wild yarrow
#

idk, i've never seen something like that before

#

hmm

tulip palm
#

as a general guideline i always add 40 degrees to what my temps say

wild yarrow
#

that's a lot

tulip palm
#

stock cooler lmao

wild yarrow
#

oh

tulip palm
#

will probably get a better cooler soon though

tame pier
#

Your temperature sensor is faulty...

tulip palm
#

no shit :^)

wild yarrow
#

is it amd?

tame pier
#

What is that, a temperature for ants?

tulip palm
#

looks like something you could embed on a 2004 webpage

wild yarrow
#

i had issues with accuracy on amd

#

it is temperature for ants

tulip palm
#

yes it's AMD

wild yarrow
#

:D

cerulean basin
wild yarrow
#

ah ok

cerulean basin
#

i find any excuse to use that emote

wild yarrow
#

yeah AMD sensors are often not read properly

cerulean basin
#

i love it

wild yarrow
#

it's good

cerulean basin
#

do you guys always have temps and other pc stats open

wild yarrow
#

i like to keep cpu mem and temps open, just because

#

makes me feel smart

cerulean basin
#

If so, I never understood the point of that

wild yarrow
#

:P

cerulean basin
#

I guess I have a bunch of free space on my desktop

#

I could do it to

#

and itd save me time on the very rare occasion I actually need to know those stats

wild yarrow
#

better than desktop icons

tulip palm
#

htop

#

good

wild yarrow
#

right?

#

i love htop

tulip palm
#

still prefer s-tui though

wild yarrow
#

haven't seen it, what does it do?

tulip palm
#

wow thank you scrot, loving the lines

wild yarrow
#

looks cool

#

i like it

tulip palm
#

looks good in a tty too

wild yarrow
#

c:

#

nice

tulip palm
#

has a built-in stress test

wild yarrow
#

nice

#

that's p cool

tulip palm
#

can be configured

wild yarrow
#

cool

cerulean basin
#

it's worrying how often people make this mistake

odd thorn
#

Probably has something to do with Discord bots being an obvious first project-type thing. If a newbie doesn't know how to work Git, it's easy for them to upload it by accident, even if they know the tokens are important.

tame pier
#

Scraping for API keys is one of the first steps in a Red Team engagement, and unfortunately, those same tools are abused by skiddies to pull shit like this because they're brats with mental issues.

glass gorge
#

ugh

tame pier
#

Make a JSON file with a bunch of stuff normally associated with discord bots, then you're off to the races

glass gorge
#

I like it

#

Maybe i should generate a bunch of tokens

#

and hide em in my code

#

(reset em ofc)

tame pier
#

Lmao yes please

#

Honey Repos

glass gorge
#

c:

tame pier
#

Mwuahaha

glass gorge
#

Ill just hide a bunch of api keys as well

#

and make sure to burry the commit

steel fox
#

known join me in my chamber

glass gorge
#

remove em now and then to change it up

#

I like it

#

Im off to uni 👋🏾

wild yarrow
#

Have fun

oak viper
#

@wild yarrow \[T]/

wild yarrow
#

hello

#

praise the sun

#

oh lizard man their voice actor is also a man, but in game it does not seem that way. it's 👌

tame pier
#

?

#

Oh

#

You remembered my alter ego

#

Lol nice

#

Even better that way 👌

wild yarrow
#

:D

viral parrot
#

@wheat stirrup like in this channel 😄

glass gorge
#

🚜

sand goblet
robust sierra
#

Rest in potatoe G+

glass gorge
sour shale
#

nic

glass gorge
#

And thats only parts of the syllabus for one course.

sand goblet
#

Those look expensive

sour shale
#

hopefully library 😄

glass gorge
#

€130 or so

#

1300 nok to be precise

sour shale
#

that's a lot 😮

glass gorge
#

Ill hopefully be able to resell em next tear though

#

I still have 2 more courses to buy the syllabus for

sour shale
#

ye if u can resell u can save a lot

glass gorge
#

Yup

#

Think the remaining books total to another €100

robust sierra
#

where are you from @glass gorge ?

glass gorge
#

Norway

granite lake
#

No way

glass gorge
#

🚪 👈🏾 AngryDog

#

So i connected with like 20 people on linkedin, (up to 50), and in a day appeared in 15 searches thonk

glass gorge
sour shale
#

haha

glass gorge
#

I was tasked to draw an object I possessed, so that someone would be able to guess what it was... whelp, any takers?

rough sapphire
#

a book?

lone otter
#

phone case?

sour shale
#

wallet

glass gorge
#

Woo

#

My wallet

#

Guess im not that bad at drawing

sour shale
#

takes wallet

glass gorge
#

:(

violet wadi
#

Could we get one of these bois terning1 with zero eyes so well have an emote for 1?

tulip palm
#

terningkast starts at 0

cerulean basin
sour shale
#

you're comparing PCIe to SATA 3 though

#

we did have PCIe drives 5 years ago

cerulean basin
#

yeah I know

#

but these drives are the same price

sour shale
#

ye

#

nice

cerulean basin
#

🤔 so I think my mobo supports that ssd

#

it just needs 1 pcie 3 x4 lane

#

z97 has 8 lanes total

#

idk how many the SATA and USB ports use though

#

my gpu should be using the cpu's 16 lanes

floral widget
#

@cerulean basin that's an M.2 SSD, you'll need an M.2 port/slot on your motherboard

rough sapphire
#

NVME will not work over regular SATA or SATA6

#

it needs an M.2 PCI connector which you'll need to look up if your motherboard actually has one

#

most motherboards after the year 2015 do have one but you should confirm before investing money into a very expensive storage medium

cerulean basin
#

i know

rough sapphire
#

also most motherboards have pci splitters, while cpu's have limited PCI lanes, a motherboard can expand that number by using very weird and confusing tech 👀

cerulean basin
#

m2 ssds over pcie use pcie lanes

#

i have a mobo with an m2 slot

rough sapphire
#

alright ye

floral widget
#

nice

cerulean basin
rough sapphire
#

970 pro 1tb is a fucking menace on your wallet though

cerulean basin
#

nah

#

450 bucks isnt bad

rough sapphire
#

I'm on a z270 GPC

floral widget
#

we're all developers, so we should be all loaded amirite

cerulean basin
#

i am unemployed I just have some savings

floral widget
#

all of those people that told me I'm in for money when I graduate

rough sapphire
#

lmao I prefer regular SSDs cause of the HUGE price difference

floral widget
#

unemployed for six months after graduation

#

when I did get a job, only have savings because I live with my parents

lost hornet
#

NVME has only marginal performance difference iirc

cerulean basin
#

i dont think my current ssd is nvme

#

i wouldnt say these benchmarks are marginal

rough sapphire
cerulean basin
#

actually to be fair, that is also pcie vs sata

rough sapphire
#

regular ssds don't have a pci medium

lost hornet
#

This isn't bottle-necked by a sata?

rough sapphire
#

well It kind of is cause sata6 doesn't really go past .5gb/s

cerulean basin
#

I think it is bottlenecked by sata

#

sata is like 600 mb/s

rough sapphire
#

but you're paying a lot for the M.2 NVME technology

cerulean basin
#

6 gigabit apparently converts to 600 megabytes

rough sapphire
#

the chips might actually be really comparable

#

gigabit and gigabyte are different

#

but this is over pci lanes

#

I don't think there will be any new sata specific connectors after 3.0

lost hornet
#

Wouldn't buying multiple SSDs and running them in raid be a more economic option?

rough sapphire
#

it would

cerulean basin
#

doesnt that use more pcie lanes though

#

which are precious for me at least

lost hornet
#

yeah

cerulean basin
#

I have 16 + 8

#

16 already used by my gpu

rough sapphire
#

but if you want comparable speeds to 3.2 on sata 3.0 you'd need like 16 separate ssds

cerulean basin
#

and apparently sata drives plus usb use up some of the other 8

rough sapphire
#

considering speeds go up weirdly with raid

#

2 drives gives just under double

#

but adding a third doesn't give 3x performance

lost hornet
#

diminishing returns?

rough sapphire
#

and that way you'd need a specific RAID controller to manage the excess sata cables cause you don't have that many connectors on your motherboard

#

also depends on the raid version you're using

#

RAID 0 has a lot of speed and efficiency loss iirc

#

I would say RAID 4 or 5 are the most beneficial to you as a user cause of the parity information

#

but RAID 0 would be the fastest

#

I might disregard my hackintosh installation and go for a raid array, even though it's unsafe

cerulean basin
#

Generally I dont think I'll use raid

#

maybe if I get my backup situation worked out I'll raid that

#

but that might be too expensive

rough sapphire
#

I just use google drive backup and sync for backing up important stuff 👀

#

all my important data is backed up to the cloud

cerulean basin
#

I think I'd like to have both physical and cloud backups

rough sapphire
#

that's fair

cerulean basin
#

i havent looked into the logistics and costs of everything

#

so not sure

rough sapphire
#

I do have a NAS at home but I don't think it's online right now

#

I'm gonna go see if I can buy a big backup drive for it and back up my stuff on there

#

@cerulean basin I have a g suite account for my business which gives me a terabyte of cloud storage for 10$/m

#

and team drives which is pretty nice

cerulean basin
#

idk if 1 tb is enough for me

#

probably

#

Im not sure what I need to back up

rough sapphire
#

I only back up my user folder

cerulean basin
#

right now I just manually do it once in a while

#

pretty shit system

rough sapphire
#

rippu

cerulean basin
#

dont feel like making it better cause I plan to switch to linux and buy new drives etc anyway

rough sapphire
#

I synchronize my user folder to the cloud which backs up Documents, Videos, Music etc

#

so most of the important stuff

cerulean basin
#

hmm, you back up music?

rough sapphire
#

I don't really need program files and data backed up

#

I make music so I backup my projects, sample packs etc

cerulean basin
#

Ah ok thats different

rough sapphire
#

and full songs cause some projects do work off them

cerulean basin
#

to be fair it would suck ass if I lost my music

#

I download all my music as files

#

i dont stream it

rough sapphire
#

I don't backup spotify cache or anything

#

actually let me check that

#

👀

cerulean basin
#

well if you have spotify why back it up

#

its all tied to your account no?

rough sapphire
#

no that's what I'm saying

cerulean basin
#

so your library is saved and all your music can be easily retrieved from spotify servers

rough sapphire
#

I don't backup my spotify

#

cause that's useless

cerulean basin
#

yeah

rough sapphire
#

cause it's all on my account

cerulean basin
#

thats what I am saying too

#

idk why youd make that point though

#

it seems obvious

rough sapphire
#

but I do backup my mp3s and wavs and oggs and other stuff I use for my music that I make

cerulean basin
#

All my music is on one drive without backups

#

280 gigs

#

idk if its worth backing up

#

maybe at least to physical storage cause its cheaper

rough sapphire
#

Mark Today at 03:49hmm, you back up music?Robin Today at 03:50I make music so I backup my projects, sample packs etc.``````I don't backup spotify cache or anything

cerulean basin
#

yeah I thought you already answered the question

rough sapphire
#

idk it seemed logical to point it out to me

cerulean basin
#

i thought it was in response to me saying i dont stream my music

rough sapphire
#

redundancy is relative

#

anyway I think I'm gonna be mirroring my entire PC to a local network RAID5 array with 4 2tb drives

#

which would give me 6TB of usable space and 2TB of parity space

#

and then also cloud backup my user folder

#

it'll be an investment for sure

#

but it gives me security

cerulean basin
#

interesting

#

i considered something like that but it sounds overkill

#

i dont need to mirror everything

rough sapphire
#

if my pc fails

#

I would like to be able to quickly continue off anything I was working on

#

so it makes sense to mirror the programdata directory as well

#

so I wouldn't need to reinstall shit

cerulean basin
#

actually thats a good point

#

if my main partition ends up being 1tb thats not bad in terms of drive costs

rough sapphire
#

if I'm right about it, if you mirror the windows directory correctly you could actually run windows off a vm on the NAS itself

cerulean basin
#

I could do raid 5 too

#

is is possible to partition drives and use 1 parition for raid on each drive?

#

or is that a bad idea 🤔

rough sapphire
#

performance would be horrible but if you needed to quickly fix them 🤷

#

raid 5 does exactly what you're saying

#

it has the parity blocks on separate drives so if a drive fails, the chance of you losing your data is smaller

cerulean basin
#

I meant that I don

rough sapphire
#

in raid 4 one of the physical drives is used specifically for parity storage

cerulean basin
#

so it doesnt use up the whole drive?

rough sapphire
#

I think raiding will consume the entire drive, I'm not sure if you can raid volumes

cerulean basin
#

the thing is, I'd like to use the same drives for mirroring my main drive and for backups of my other HDs

rough sapphire
#

there is a thing called nested raid

#

so it might actually work with volumes

cerulean basin
#

sounds complicated

rough sapphire
#

lmao i'm just reading this now

cerulean basin
#

if it was possible, it sounds more economic to buy less drives with more storage

#

well, when we're talking about low terabytes

rough sapphire
#

so how many drives are you planning on?

#

minimum of 3 with raid 4 or 5

cerulean basin
#

probably just 3 yeah

#

I think it'd be nice to RAID my back ups

#

but the idea of mirroring my main drive sounds nice too

#

so I wonder if it's possible to use same drives for both functions

#

and even then that begs the question of if that is a good idea, regardless of if its possible

#

So I'd need 3 1TB drives just to cover mirroring my main drive. Then I'd probably want 3 or 4TB for my backups. Buying 3 4TB drives for $120 each is more economic than 3 1TB drives for $63 each and 3 3TB drives for $108 each

rough sapphire
#

so you're talking about a RAID1 that mirrors a RAID0 into another RAID0?

#

that's nested

#

and you can do that with just 2 drives

#

which is possible

cerulean basin
#

I don't think so. I don't need RAID 0

rough sapphire
#

but not the safest in terms of a single drive failure

#

but the blocks are data blocks not volumes

cerulean basin
#

yeah

rough sapphire
#

I don't actually know if it's possible to just volume the raid5 array

#

you'll have to try that yourself

#

if it doesn't work you can always just use the nested RAID0+1

cerulean basin
#

having trouble wrapping my head around 0+1

rough sapphire
cerulean basin
#

not sure why I would want that

#

for my situation

rough sapphire
#

actually 1 sec

#

so you have 3 drives

#

all of which are split into two volumes

#

one active

#

one backup

#

then you raid0 the active ones into a single raid volume

#

and do the same for the backup one

cerulean basin
#

why raid 0?

rough sapphire
#

and then you raid1 both raid0 volumes

cerulean basin
#

raid 0 doesnt mirror it

#

i want a mirror of my active drive

rough sapphire
#

why are you using multiple volumes on separate drives?

#

do you want them separated or as one raid volume

cerulean basin
#

Heres my current situation

rough sapphire
#

I assumed you wanted to raid0 the active volumes to combine storage space and increase r/w speeds

cerulean basin
#

No I dont care about increasing r/w speeds at all

#

I will have an nvme ssd it will be good enough

#

and i dont care about the HDs since its just bulk data like music and films

#

dont need speed for those

rough sapphire
#

okay then there's no need to raid0, just partition the drive and raid1 the 2 partitions

cerulean basin
#

so that is what I was asking all along

rough sapphire
#

and do the same on all your HDs

cerulean basin
#

if I can have two partions on one drive

#

each one for a diff raid

rough sapphire
#

one sec

#

I'm gonna just try that rn on my own storage hd

cerulean basin
#

yeah I dont have any means to try that right now

#

or I would

rough sapphire
#

you can literally do that software wise

#

RAID0 requires no raid controllers or external tools

cerulean basin
#

but all my drives are already in use

rough sapphire
#

diskmgmt.exe

#

you can shrink an active volume

cerulean basin
#

yeah I dont want to do that though cause I cant undo that later

#

iirc

rough sapphire
#

I'm just defragmenting this 4tb drive now to speed up the process

#

you can shrink a volume

#

and extend

#

so if you just try the raid1 right now

#

you can unraid later

cerulean basin
#

by that I meant

rough sapphire
#

delete the mirrored volume

cerulean basin
#

it has to become a dynamic volume

rough sapphire
#

and extend the active one

cerulean basin
#

and once its dynamic theres no going back

rough sapphire
#

hmm

cerulean basin
#

tbh im not sure if I care about that

#

but i remember i did that a while ago

#

and for some reason wanted it to be basic again

#

but couldnt do it

rough sapphire
#

hmm

cerulean basin
#

I don't plan on having any of my drives in my pc being in raid

#

just the ones in a nas or wherever

rough sapphire
#

ah alright

cerulean basin
#

actually can I do raid 1 over nas?

#

like main drive is in pc

#

but raid 1 in nas

rough sapphire
#

raid over ethernet is not possible

cerulean basin
#

rip

rough sapphire
#

it has to be plugged into the same controller

#

eg your motherboard

cerulean basin
#

whats the bottleneck of raid 1?

rough sapphire
#

there are programs that are like backup and sync that just sync and mirror a selected root folder to a network drive

cerulean basin
#

yeah I could do that too

#

anyway if I have an 970 Evo as my main drive and RAID 1 that with a HD, would that bottleneck the speed to that of the slowest drive i.e. the HD

rough sapphire
#

I think the bottleneck of raid1 would be the write speed of the parity(mirror) drive

cerulean basin
#

yeah so RAID 1 isn't really an option

rough sapphire
#

so if you have the 970 EVO as active I think it would be slowed down to the HD speed but I'm not entirely sure

cerulean basin
#

i wouldnt buy two 970 evos just for raid lol

#

probably the backup of root to the nas is fine

granite lake
#

Woah this conversation is still woke

rough sapphire
#

raid1 read speeds would be SSD + HD - raidloss

#

writing would be slowed down to hd speed

#

but reading would be faster than the ssd

cerulean basin
#

that actually makes sense

rough sapphire
#

cause it can read from both disks at the same time

cerulean basin
#

intuitively

rough sapphire
#

so if you want raid1 with ssd speed you'd need to back up to an ssd

#

I'm just learning about this stuff right now as well btw

cerulean basin
#

well you seem to have an aptitude for this kind of stuff

#

unlike myself

rough sapphire
#

rip

granite lake
#

Robin, can I interrupt ?

rough sapphire
#

of course

granite lake
#

Hows your pentesting progress ?

rough sapphire
#

different robin

granite lake
#

Oops

#

Lol

rough sapphire
#

that's ok

#

i just joined today

#

👋

cerulean basin
#

welcome 😃

granite lake
rough sapphire
#

anyway, RAID1 would be most effective if you need to mirror your entire storage, while RAID 5 would combine 2 of the drives (and grab a portion of the parity drive) so to increase read AND write over the max r/w of the fastest drive in the array and using the parity drive as a means of calculating the lost data (extrapolating) using the still alive drive1 and the parity stuff it had stored on the drive

#

so RAID1 is a 1:1 backup

#

RAID5 is increasing speed and storage while backing up blocks of data and in case of drive failure being able to calculate and extrapolate lost data

cerulean basin
#

hmm I originally planned raid 5

#

but i dont care about speeds for my backups

#

but raid 5 increases storage too 🤔

rough sapphire
#

RAID1 would always work with an even number of volumes, if you have an odd number of drives you'd need to partition one of them or you'd need to raid0 at least two of them.
RAID5 works regardless of the amount of drives with a minimum of 3

#

I think you can cheat and partition one drive into 2 volumes so you can get 3 volumes with 2 drives but that's not the safest in terms of drive failure

cerulean basin
#

I think raid 5 is better for me

rough sapphire
#

cause raid5 cycles the parity volume per block

cerulean basin
#

cause of increased storage

rough sapphire
#

if you want the parity blocks to always be in 1 specific volume you'd want raid4

cerulean basin
#

hmm so if I have 3 4TB drives in raid 0

#

that should give me a total of 7.92 TB of storage according to wikipedia

#

sorry not raid 0

#

raid 5

rough sapphire
#

3 drives in raid0 should give you 12tb - cache&raidloss

cerulean basin
#

yeah it was typo 😄

#

so my effective capacity wouldnt really be 7.92 TB though

#

right?

rough sapphire
#

3 drives (4tb) in raid5 should give you a cylced sum of 2 drives of active storage space and should keep a cycled parity drive of (a bit less than) 4TB

#

so you would get about 7.92 tb yea

cerulean basin
#

yeah it's 67% of total

#

so what happens if the raid 5 array is at full capacity

#

then a drive fails

rough sapphire
#

and 4tb of drive-cycled parity (which you can't access regularly)

#

if one drive fails

cerulean basin
#

ik it has a fault tolerance of 1 drive failure

rough sapphire
#

it'll use backed up parity data and data off the live drive to extrapolate the data off the dead drive and the parity drive should become an active drive for you to at least transfer the data

#

so it doesn't actually mirror all the data into the parity blocks

cerulean basin
#

Well wait, I thought parity is distributed

rough sapphire
#

it is

cerulean basin
#

Raid 4 was the one with all of it on 1 drive right

rough sapphire
#

ok here

#

so 1 drive fails

#

depending on the amount of data blocks

#

you would lose about 1/3 of the total data and 1/3 of the total parity

#

but with the parity still on the other 2 drives

#

you can calculate the lost data

cerulean basin
#

makes sense

rough sapphire
#

2/3 of the data on the drive is 1/3 of the total drive data
1/3 of the data on the drive is 1/3 of the parity

#

if you had a raid5 of more than 3 and more than 1 drive fails

#

you lose extra parity

#

and there's too little parity to accurately calculate what the lost data is

#

so that's the fault tolerance of 1 drive

#

it's 5 am for me

#

so I'm gonna sleep but if you have more questions I'm certain you can ask more people here

#

or just hmu tomorrow lol

cerulean basin
#

alright

#

good night

#

ty for enlightening me

rough sapphire
#

np

cerulean basin
rough sapphire
#

I learn more from trying to explain stuff than getting explanation

cerulean basin
#

same with programming sometimes 😄

rough sapphire
#

cause you look at it differently when reading

#

👋

cerulean basin
#

👋🏻

wild yarrow
#

the default hand color looks like a lego person

robust sierra
#

Roblox hand

cerulean basin
#

fuuuuuuuuuuuck

#

NAS enclosure are expensive

#

it costs as much as the 3 drives i will put in 😩

#

i think im just looking at top-end ones

tame pier
#

Buy used

#

Or better yet, just build your own

wild yarrow
#

it's not really hard c:

#

right? i think it's not hard.....

cerulean basin
#

yeah might build my own 🤷🏻

#

it isnt hard its basically like building a PC

#

just gotta choose the right parts

#

and I guess the case is smaller

wild yarrow
#

that sounds right

#

i know i've done it in the past, and that sounds correct

#

couldn't you like do it with something like a rasberry pi?

#

just like get a couple like 5TB drives and hook them up to a rasberry pi and have it connect to the network etc

cerulean basin
#

I believe hardware specs are tied to r/w speeds

#

so rpi would probably be pretty slow

wild yarrow
#

oh that's true

rough sapphire
#

there's this 2-bay one I know of

#

cause we have that at home

#

my-Ditto

#

it's like 80$

#

but my-Ditto might be Netherlands only

#

EU at least

rough sapphire
#

@rough sapphire

#

?

#

oh

#

i solved it

#

thank you tho

worn kite
#

this is why we have

#

!t ask

royal lakeBOT
#
ask

Asking good questions will yield a much higher chance of a quick response:

• Don't ask to ask your question, just go ahead and tell us your problem.
• Try to solve the problem on your own first, we're not going to write code for you.
• Show us the code you've tried and any errors or unexpected results it's giving
• Keep your patience while we're helping you.

You can find a much more detailed explanation on our website.

worn kite
#

I actually find the most funny thing in that drawing is how his hat is actually talking.

#

actually...

wild yarrow
#

lel

solar zealot
#

amazing

ebon quarry
#

lol

steel fox
#

@cerulean basin u know about the easy stores for shucking right?

cerulean basin
#

no i didnt actually

#

i have opened one of those up before but not to safe money

#

just had an old one sitting around and got tired of using it over usb 2

#

it does have 1 year less of warranty though 🤔

sand goblet
#

I decided to try i3wm

#

I see the value of tiling, but this thing is definitely not for me

#

so I installed the shelltile gnome extension, and now I have easy tiling

tame pier
#

Ceramic or stone?

sand goblet
#

are you secretly a dad?

#

👀

tame pier
#

Yes

#

Why do you ask

#

Also I don't remember it being 240 wtf

#

I need to just get off the computer at 10

#

Got sucked into a project...

sand goblet
#

Happens. :P

tame pier
#

And now someone locked their dog outside and it's really not happy

#

So why am I a dad again?

sand goblet
#

dad jokes

#

:v

tame pier
#

Mmk

#

Now there's a chorus of dogs...

steel fox
#

@cerulean basin most of them have 8TB WD Reds iirc

#

It saves like $100/drive or something over buying retail

cerulean basin
#

yeah it looks like a good deal especially when on sale

#

i was planning on getting 4tb drives

#

in raid 3 thatd be 8 tb already which is plenty

#

but on sale theyll cost about as much as the 4 tbs so its worth

#

might end up needing the space eventually

steel fox
#

Yeah. It’s real nice. There’s a spreadsheet somewhere that lists serial number vs what type of drive is inside

cerulean basin
#

I went on the reddit for it, you probably know the one I am talking about

#

Going to just watch for sales

#

then strike

steel fox
#

Yeah

#

I was thinking about buying 1 or 2 for drives to put in my box

#

But then I found a dude selling 2TB drives for $20 on CL

#

So I bought a couple there

sour shale
#

do u get warrenty

#

wouldn't trust craiglist HDD 👀

wild yarrow
#

same tbh

rough sapphire
#

Do you have a repo with the name bot already on your gl account?

#

that'd be my first guess

#

Nope

#

reforked and it worked

#

¯_(ツ)_/¯

#

nope failed again, now got an error 404

#

I will try again later

bleak lintel
#

thank you gitlab very cool

royal tartan
#

githug

halcyon willow
#

O

sour shale
#

i prefer github

royal tartan
#

eww

glass gorge
#

Fileshare through uni file system with FTP drakeyea

rough sapphire
#

I preffer mailing an usb

glass gorge
#

Pidgeon over 21 floppy disks

bleak lintel
#

to be honest you can use git over ftp

#

mount the ftp share using FUSE, git init share/memes.git --bare

#

then clone from the path

#

ezpz version control over FTP

glass gorge
#

But is it hosted by your university thonk

bleak lintel
#

no

#

I don't have a university sorry bro

glass gorge
#

By my university * ?

bleak lintel
glass gorge
ebon quarry
#

lol

tame pier
#

You can use git peer to peer

#

I did not know it went over ftp though, that's neat

sullen thorn
#

oooh perfect - a git ot right when i need it

#

so i have a repo on github, and i wanna rename one of the directories

#

but it has like 100 files in it, so i cant do it manually on the website

#

i have a blank ubuntu server - what do i do?

worn kite
#

git clone, move, add, commit, push

sullen thorn
#

ok wait one sec

#

ok i cloned it

#

now do i need to do git mv, or just normal mv?

worn kite
#

both are okay, but i'd use git mv

sullen thorn
#

ok now i have now idea how add commit or push work :/

worn kite
#

that might probably add the files automatically, or maybe it gets even recorded as a move/rename instead of a delete and create that way

#

check git status to see if the changes are staged or not

sullen thorn
#

idk if that means theyre staged or not?

worn kite
#

I think so

#

then git commit -m "PUT YOUR COMMIT MESSAGE HERE"

#

and git push

sullen thorn
#
warning: push.default is unset; its implicit value has changed in
Git 2.0 from 'matching' to 'simple'. To squelch this message
and maintain the traditional behavior, use:

  git config --global push.default matching

To squelch this message and adopt the new behavior now, use:

  git config --global push.default simple

When push.default is set to 'matching', git will push local branches
to the remote branches that already exist with the same name.
#

not sure which one i want?

#

holy crap it worked !!!

#

i fucking love u @worn kite

worn kite
#

... we might also skip the fucking part, if you don't mind 😳

sullen thorn
#

if u insist...

granite lake
#

Lmao

modern heron
#

Ill take you to the candy shop

#

BOO BOOO BOO BOOOO

#

I'll let you lick the lollipop

#

Go ahead girl don't you stop

#

DOOO DOOO DOO DOOOOO

sand goblet
#

These are not spam channels

modern heron
#

its not spam

#

its art

sand goblet
#

It is spam.

modern heron
#

One mans spam is another mans art - Mahatma Gandhi

tame pier
#

A shitpost is a shitpost -Known "banhammer" Error

modern heron
#

Well, Not according to Gandhi. Are you implying your above Gandhi?

tame pier
#

Yes

sand goblet
#

It's not your definition that matters.

modern heron
#

Dang

sand goblet
#

:P

sour shale
#

Well, Not according to Gandhi. Are you implying your above Gandhi?I forgot the name of this logical fallacy

I guess it is a subset of strawman anyway

modern heron
#

cant argue with that

sand goblet
#

Just link the song next time

sour shale
#

ah i remember

it's Appeal to Authority fallacy

sand goblet
#

You'll also avoid alienating half the channel

sour shale
#

remember Ghandi also literally said that if he had a nuclear bomb he would fire it at england

modern heron
#

well. I mean, 50 Cent - Candy Shop ft. Olivia has the channel to split any channel

#

its a hot topic

sour shale
#

it was a good song ye

modern heron
#

was

#

still is

sour shale
#

its past its time a bit

sand goblet
#

I know people that used to unironically like that :P

modern heron
#

damn

tame pier
#

We're not really that kind of server tho

modern heron
#

Every server is a candyshop server

sand goblet
#

Yeah, I guess fiddy cent isn't gonna be that popular among developers

sour shale
#

I don't rly like fiddy

#

but I do like old school Kanye West

sand goblet
#

Well, you know, that's just the way it is.

modern heron
#

I mean

#

its a fucking MASSIVE song anyway

sour shale
#

Kanye West's first few albums were great

modern heron
#

have you seen the lyrics for it

sand goblet
#

Things will never be the same.

#

Okay I'm done, see you guys tomorrow

sour shale
#

now we got Kendrick Lamar

#

night o/

modern heron
#

4 minute songs arnt popular nowerdays

#

thats sad

tame pier
#

Bai

steel fox
#

@sour shale over here quoting fallacies like he’s some kind of vegetarian

sour shale
#

culol

modern heron
#

where did the minecraft channel go?

tired osprey
#

closed because the server was taken down because nobody was playing on it

modern heron
#

boo

glass gorge
#

I have no idea where to take my front page now

#

Also, can you do "modules" of html/css for say navigation? without python/js etc

steel fox
#

Africa

tame pier
glass gorge
#

that would require another installation?

#

I gotta do it in pure html/css 😅

tame pier
#

This is markdown

#

I'm gonna play around with it next weekend maybe

slate quail
#

"modules"?

glass gorge
#

As in how flask uses templates, and jinja i believe to load in certain html snippets like a navigation bar

#

So i dont have to copypaste the same navigation bar to every single html doc

tame terrace
#

without js or python? I mean.. in what, pure html?

glass gorge
#

and css yeah

tame terrace
#

I guess there are frames...

tame pier
#

Sounds nice

tame terrace
#

but it is really really old school

glass gorge
tame pier
#

Sounds like it won't crash my browser when I click login

glass gorge
#

But if its what I gotta do to save some time. so be it

tame pier
#

Or fucking scroll

slate quail
#

ocourse frames are deprecated now

tame terrace
#

baaically you make a navbar "website" and then load it at the top of every page as an iframe

glass gorge
#

whelp

slate quail
#

no longer part of the standard

#

some browsers have dropped support

tame terrace
#

yeah it's fucked

slate quail
#

oh iframes

tame terrace
#

don't do it.

glass gorge
#

Accessibility is like half the course, using deprecated functions ... yeah

tame terrace
#

communicating back to the page you're loading the iframe from is really gross

#

and when I think about it, using iframes as frames maaay require ja

#

js

glass gorge
#

ugh

tame terrace
#

legacy frames may be a possibility

glass gorge
#

Maybe I just have to stick to copypaste

slate quail
#

iframes are still part of the standard and don't use JS

tame terrace
#

I certainly would

glass gorge
#

I'll write a python script that edits all my files for me weSmart

slate quail
#

legacy frames are the dead ones

tame pier
#

Is it possible to make a good website without JS?

glass gorge
#

So it seems

tame pier
#

Just pure modern html and css

glass gorge
#

This is mine so far

#

Only html/css

tame pier
#

I said good website

glass gorge
#

:(

tame pier
#

Just kidding

glass gorge
#

Reminds me i forgot to write the hover-over a hyperlink feedback thing

tame terrace
#

basically iframes is fine until you wanna send data between the iframe and the iframe host. at that point js may be needed. maybe for a pure navbar it would work.

glass gorge
#

Hm

#

It would (hopefully) just be a click to navigate bar

#

no dropdowns or anything either

slate quail
#

send data?

tame terrace
#

could always try

glass gorge
#

Actually

#

I was going to make a hamburger nav bar

tame terrace
#

yeah the classic example is resizing stuff. the iframe might need to know the size of the window you're sticking it in.

glass gorge
#

since ya know, start with mobile layout, and work up in size

tame terrace
#

or else it ends up looking fucked.

slate quail
#

ahhhh

glass gorge
#

Could probably just resize it in css?

#
iframe{
width: 100%;
height: auto;
}```
tame terrace
#

that's likely to work for you. at work it caused a huge problem and was a pain in the ass

glass gorge
#

oof

tame terrace
#

the iframe host would end up with these 6000px empty pages

#

scroll forever

glass gorge