#development

1 messages · Page 305 of 1

primal perch
tepid olive
#

why is this so hard peepoCry

primal perch
#

True

lime pivot
#

pretty sure I got a 6-key sampler for like $15

primal perch
#

All of the options are mediocre

#

I’m not a big fan of either 3 but it beats membrane

#

And any good one is a lot less common and you pay more

#

Like zealios

lime pivot
tepid olive
#

$21 why

#

man

lime pivot
#

damn are they getting more expensive??

tepid olive
#

That's like paying someone to ship a car to your house to test drive

tepid olive
#

ridiculous

lime pivot
#

it’s like not even useful after you’ve figured out a decision, which you’d probably do in about 10 minutes

burnt niche
#

if i put a %new method in a class that shows a button and a %new method of the button action. it doesn't work

lime pivot
#

you’ll have like… one spare key you can have for your keyboard? I doubt you’d ever need it lmao

burnt niche
#

could anyone instruct me on how to do it properly

primal perch
#

@burnt niche be more descriptive of the problem

#

Send code

lime pivot
#

could use them for electronics projects since they’re just 2-prong switches in the end

primal perch
#

I remember breaking my keyboard because a switch broke then paying 10$ for 10 brown switches

#

Soldered it off but worth

tepid olive
#

hmmm ugh this is hard

#

I vaguely remember trying a cherry mx brown keyboard freshman year because my roommate had one

#

and it felt great in vim

#

but I am wondering if there's better options

burnt niche
#

@primal perch one sec computer just diedpepehands

tepid olive
#

I saw on youtube that the clear was a stiff and hard keypress

burnt niche
#

My profile picture explains my mood

primal perch
#

Just buy from amazon and return if you hate it

tepid olive
#

true 😳

primal perch
#

I did that and ended up liking it enough

burnt niche
#

Amazon prime go brazy

tepid olive
#

I think it would be worth it to get a sampler actually

#

fuck it buying the sampler thanks @lime pivot

#

holy fuckin shit I forgot I had $500 amazon credit

fair robin
#

Hi, removing theos folders is a proper way to uninstall it?

tepid olive
#

from a friend

lethal ice
#

wtf

#

give me the code pls

lime pivot
#

hah

#

see if we weren’t living in covid times I would say just go to best buy and try the keyboards on display

lethal ice
#

or you could just go anyways

primal perch
#

Wtf

lethal ice
#

wear gloves 😳

primal perch
#

Just casually 500

tepid olive
#

no way am I going to best buy to touch a keyboard with covid lol

lime pivot
#

guess you could #merica

tepid olive
#

Bring back covid for the whole family

burnt niche
#
%new
-(void)_setupButton {
self.customButton = [UIButton buttonWithType:UIButtonTypeRoundedRect];
    [self.customButton addTarget:self action:@selector(buttonClicked:) forControlEvents:UIControlEventTouchUpInside];
    [self.customButton setFrame:CGRectMake(120, -50, 40, 40)];
    [self.customButton setTitle:@"button" forState:UIControlStateNormal];
    [self.customButton setExclusiveTouch:YES];
    [self addSubview:self.customButton];
}

-(void)buttonClicked:(id)sender {
  NSLog(@"pleasework");

}``` and i have added ```%property (nonatomic, retain) UIButton *customButton;``` in my hook
lime pivot
#

but I trust you have better respect for yourself than that

tepid olive
#

I do lol

burnt niche
#

button shows up but action does not work

lethal ice
#

see it would be smart to stay inside but ill take sanity over covid thanks

#

i wear mask but not gonna stay in a cage like a rat

primal perch
#

True

#

I’ll mask social distance and sanitize but for the most part I still go wherever

tepid olive
#

no peepoSmile

burnt niche
#

and i also added -(void)_setupButton; -(void)buttonClicked:(id)sender; in the interface

lethal ice
#

shmoo can i buy something with 50 cents off ur gift card

primal perch
#

Shmoo can I have leo

lethal ice
#

ok thanks

primal perch
#

I’ll take good care of him

lethal ice
#

yeah ill take leo

#

thanks

#

thanks

tepid olive
#

you can fight me for leo lol

primal perch
#

True

#

Ok what about milo

lethal ice
#

i would fight you for leo if i lived in the east cost

primal perch
#

I’ll take him too

lethal ice
#

wtf

tepid olive
#

Hm yeah you can take milo

lethal ice
#

isnt milo a she

primal perch
#

True

burnt niche
#

if anyone knows what i am doing wrong that would be great

primal perch
tepid olive
#

Milo is a guy

lethal ice
#

WTF

tepid olive
#

You thought milo was female??

primal perch
#

@burnt niche buttonClicked needs to be new too

#

Probably

lethal ice
#

ive only ever seen like two pictures of milo woecry

burnt niche
#

i did that shep

tepid olive
#

oh true

primal perch
#

It’s not in your snippet

lethal ice
#

it's cat tax day shmoo

burnt niche
#

i put a %new for buttonclicked as well now

primal perch
#

Where do you call _setupButton

lethal ice
tepid olive
#

I tried to listen to Muse without the gh context and ew

#

was not good lol

primal perch
#

Wtf

lethal ice
#

wtf

#

wtf

primal perch
#

Knights of cydonia bro

burnt niche
#
    self = %orig;
        [self _setupButton];
    return self;
}```
lethal ice
#

what song did you listen to

tepid olive
#

Only good when jamming on a plastic guitar

lethal ice
#

false

tepid olive
#

Some stuff from their latest album

#

I think

lethal ice
#

oh

primal perch
#

Wtd

lethal ice
#

yea thats why

primal perch
#

Wtf

tepid olive
#

the album with the joystick

lethal ice
#

dont

primal perch
#

I only listen to old muse and even then not that much

lethal ice
#

wait joystick u mean the resistance?

primal perch
#

Gm @tardy narwhal

tardy narwhal
#

gm

lethal ice
#

true

primal perch
#

No that’s simulator theory or drone scoob

#

Drones*

#

I think drones

lethal ice
#

oh true

#

drones

tepid olive
#

drones

#

Yes

lethal ice
#

shmoo their new stuff isnt that great

tepid olive
#

Oh

lethal ice
#

jules likes it but its not really my favorite

primal perch
#

Jules likes anime music too so

tepid olive
#

my top song was rock the casbah

primal perch
lethal ice
#

lol

burnt niche
#

some anime songs be hitting

lethal ice
#

if u wanna give it another shot tho try absolution

#

really good album

tepid olive
#

okay

lethal ice
#

hysteria floshed

#

@narrow mason

#

true

primal perch
#

Then try soad

#

:intjcum:

lethal ice
#

soad

#

toad

#

road

primal perch
#

True

lethal ice
#

load

#

wtf

#

no more oad

primal perch
#

Blast a fat load on toad on the road

burnt niche
#

bars

rain falcon
#

nfr

#

kinda bars

burnt niche
#

someone get this man on a beat

#

lil shep

primal perch
#

Ttue

rain falcon
#

lil shep spitting facts

primal perch
#

True

rain falcon
eternal crater
burnt niche
#

filtered

tepid olive
#

@burnt niche no slur

burnt niche
#

my fault did not know lmao. just trying to spit bars

rain falcon
#

why do women ruin everything

burnt niche
#

i get the money. i get the bag. fill up the mag. im playin tag. n im sellin crack.

tepid olive
#

Lmao

burnt niche
#

thats bars dont cap

rain falcon
#

lil jynx

burnt niche
#

im makin tweaks. im gonna tweak. i gotta take a leak. my booty it reeks

lethal ice
#

u cant rhyme tweaks with tweak homie

rain falcon
#

shut up

#

go do more liquid meth

lethal ice
#

no

lime pivot
#

tf

burnt niche
#

im makin tweaks. my cock it leaks. my booty it reeks

lethal ice
#

there u go

burnt niche
#

bars or no bars

lethal ice
#

definitely bars

#

cant lie on that one

tepid olive
#

first msg was bars then you added something about crack and ruined it

rain falcon
#

f

burnt niche
#

lmfao

#

that was one of my best rhymes n it got deleted

celest glen
#

go spit bars

burnt niche
#

bruh i did

celest glen
#

stfu and spit bars

#

keep going

burnt niche
#

it got deleted

celest glen
#

ok

#

keep going

burnt niche
#

it was nice

#

aight

celest glen
#

yeah

#

go

burnt niche
#

pull out my cock. im in the shop. im in a coupe. go around like a loop. with my homie shmoo. n my homie scoop. we makin tweaks. my door it creaks. my bed it squeeks. im gettin cheeks. gotta go take a leak. my flow so unique. my booty so steep.

tepid olive
#

I'd give that a 6.5/10 getting better

celest glen
#

yo booty steep?

#

what you do to it

burnt niche
#

i don't wanna discuss that on here

lethal ice
#

wait

#

steep booty means flat right

burnt niche
#

yea

lethal ice
#

why are u bragging about flat ass

celest glen
#

normal people have fatties and this mf got a flatty

lethal ice
#

tru

tepid olive
#

link me a debian package to add

#

I wish I had as big a pair of balls as hayden to show my face

burnt niche
#

my booty so flat. but its so fat. i aint no rat. im gettin racks. not paying no tax. like a train on track. bob the builder. my cock is so big. that is what killed her. im gettin bricks. im doing trick. no sus. i cannot dicuss. my pimple got puss. i dont listen to russ. we aint no simps. im doin limps. on my hip its gun. shoot it for fun. i need some funds. i was just lying. im so broke. broke like a joke.

tepid olive
#

wtf 4/10

restive ether
burnt niche
#

i think my creativeness is going down. ill end it right here and go back to working on my tweak. right after i take a leak. i aint no creep.

low flicker
#

Now you just need to mumble that in front of a generic trap-beat, auto tune your voice, add in some random "uh"s and "oh"s, and you'll be onto something

burnt niche
#

like. my booty so flat. yeaaaaaa. but its so fat. ohhh

#

?

#

good thing i make beats i might have to hop on a record tonight

#

go worldwide

#

leave a link to my soundcloud at the bottom of my preferences page. free promo

restive ether
#

@tardy narwhal kal themes favorite repo is pull a good old twickd, who’s gonna be the first person to upload malware

twilit jungle
#

Ah yes those questions are always fun.

half walrus
#

im focused on the bottom comment

surreal mountain
half walrus
#

what is it even trying to say

surreal mountain
#

Fuck you, Homebrew.

#

they have internet recovery etc

#

but

#

they still do have a recovery partition

#

yeha

#

iphones arent ready for that phase

twilit jungle
#

Yeah but if you have a 512 GB device, it doesn't hurt to have a 16 GB recovery parition

surreal mountain
#

it doesnt hurt but is it viable?

twilit jungle
#

Why not?

surreal mountain
#

i just dont think iphones should be like that

twilit jungle
#

Everything you can do on a laptop, supposedly can be done on iPhone so why should it be treated differently?

#

Its getting to the point where you can store more on an iPhone than your laptop is that not enough reason?

half walrus
twilit jungle
#

Thats true

half walrus
#

doesn’t killing it mid update cause issues

twilit jungle
#

Probably but that would apply to anything

half walrus
#

dragon probably

#

wouldn’t know i would never do that kinda thing

#

definitely not while updating to ios 14

#

return to monke

surreal mountain
#

fuck macos security shit

#

oh lets move a file in /usr/local/bin to trash thumbsUp

half walrus
#

what’s wrong with it actually

surreal mountain
#

i get bin

#

put it in dir

#

run it

lethal kayak
#

since when are macs portless

half walrus
#

how is that security related

lethal kayak
#

what is that comment trying to say

surreal mountain
#

and it wont let me run it

#

bc of security shit

#

saying the developer cant be verified or something i forget

#

ok thanks'

lethal kayak
#

also considering they're still stuck on lightning port i don't see them removing it any time in the near future

surreal mountain
#

bruh wireless chraging is not viable

half walrus
#

wireless charing still shit

#

on iphones anyways

surreal mountain
#

there need to be major advancements for that to be the only option

lethal kayak
#

i wirelessly charge my phone every night

half walrus
#

although

#

that hasn’t stopped apple before

surreal mountain
#

i wireless charge allt he time

#

but its just bad

lethal kayak
#

then again my house is also cum powered

restive ether
#

@lethal kayak kek saw an EAP video yesterday in my recommended about portless leaks next model

#

imagine if they do that for the pro model only

lethal kayak
#

guess who will not be buying a new iphone

#

if they do that shit

half walrus
#

me

surreal mountain
#

500Mbps on wifi 6

#

not bad

half walrus
#

cuz i can’t afford it

lethal kayak
#

true

#

that money is better spent on black tar heroin anyways

surreal mountain
#

homeplus 2

#

wtf

pearl sail
#

I get 600mbps when I stand next to my wifi 5 router wtf

restive ether
#

ok

#

say less

lethal kayak
#

bro who hears the name black tar and is like

#

yooooo

#

that sounds good

pearl sail
#

Cause it is

half walrus
#

people on narcotics probably

lethal kayak
pearl sail
#

trust me all I talk about is black tar

half walrus
lethal kayak
#

true

surreal mountain
#

@pearl sail im in another room

#

so

half walrus
#

it’s bc every other narcotic is prescription controlled substance

surreal mountain
#

if i stand next to it i expect 800+

pearl sail
half walrus
#

heroin is cheap as balls in comparison, it’s why everyone gets addicted

lethal kayak
#

yeah

half walrus
#

same with meff

surreal mountain
#

i know my armbook does

#

thats it

lethal kayak
#

catch me dead before you catch me doing heroin though

pearl sail
#

that is HQ cocaine tho

half walrus
#

people who put coke in the same category as heroin or meth, smh

lethal kayak
#

my dad's hometown has a black tar problem

half walrus
#

nobody can afford a fuckin coke addiction

lethal kayak
#

you're canadian

half walrus
#

who calls it ‘black tar’ tho

lethal kayak
restive ether
#

why

pearl sail
lethal kayak
late ridge
restive ether
#

just do heroin @lethal kayak

#

not that deep

lethal kayak
late ridge
lethal kayak
#

me and cam trying to figure out userspace reboot with libhooker be like

pearl sail
restive ether
#

the last funeral i went to my friend’s family picked up a random homeless heroin addict they met at the bar hours prior to bring him there

lethal kayak
#

why

restive ether
#

and then after we all did drugs and drank and he told us what heroin was like

lethal kayak
#

lmfao what

surreal mountain
#

can someone tell me why

tepid olive
#

@tardy narwhal it’ll be added

surreal mountain
#

W: Unable to read /etc/apt/apt.conf.d/ - DirectoryExists (2: No such file or directory)

#

apt-ftparchive

half walrus
#

reboot3() moment

surreal mountain
#

is fucking stupid

tepid olive
#

Thats not “fucking stupid”

#

Its just a warning

surreal mountain
#

mac moment

restive ether
#

@lethal kayak to this day i don’t know why they brought a homeless heroine addict to my friend’s mom funereal

half walrus
#

ask why not

#

and then when they try to tell you why not you ignore them

restive ether
#

lol

half walrus
#

bc fuck that noise

restive ether
#

it was a good day all things considered

lethal kayak
#

crazy

restive ether
#

i guess you have to celebrate like that especially when she dies under odd circumstances

#

it be like that though

lethal kayak
surreal mountain
#

@tepid olive no this just completely breaks

#

for some reason genning my Release file with apt-ftparchive will break

tepid olive
#

Not cuz of that warning

#

Sounds like user errrrrror

surreal mountain
#

nah

#

works fine on machine with apt

half walrus
#

do it there then

surreal mountain
#

no

tepid olive
#

Ok it also works fine on my mac machine

surreal mountain
tepid olive
#

And its not because of that warning

surreal mountain
#

ik

#

but

#

something still breaking

tepid olive
#

If the static compiled bin i compiled works on my mac then it works on your mac

#

Unless its m1 in which case,, maybe not

half walrus
#

should still work perfectly fine tho, no?

tepid olive
#

Should

#

But im not quipr

surreal mountain
#

Should

half walrus
#

i mean if windows can do it properly

surreal mountain
#

im running thru rosetta

half walrus
#

and windows is windows

surreal mountain
#

i run iterm thru rosetta anyways

tepid olive
#

That literally could not matter less

half walrus
#

could use an ios build

#

¯_(ツ)_/¯

#

doubt it'd work whatsoever

tepid olive
#

If it was static it would

#

Which is easy to do

half walrus
#

yeah only if its static

#

idk where libs go on macos

tepid olive
#

Ill have to update my ftparchive build for mac users soon

#

Nah

half walrus
#

I think it's finally viable for me to bring up again

tepid olive
#

Itll just come with procursus mac

half walrus
#

now would be a great time for people, especially those who maintain bootstraps, to consider moving towards a macos styled way of doing things

tepid olive
#

Not zip

half walrus
#

not zip

restive ether
#

bingner doing anything at a good time nfr

#

bingner doing anything at all nfr

pearl sail
#

wait procursus mac is becoming a thing!?!

half walrus
#

talking about things like the python install structure

pearl sail
#

fuck yeah

tepid olive
half walrus
#

mood

pearl sail
surreal mountain
half walrus
# tepid olive Likely

bc if a full bootstrap is able to move to it, then """""theoretically""""" you could just drag and drop stuff from arm macos onto your phone

surreal mountain
#

i dont see how my packages is messed up

tepid olive
#

Well

#

No

#

Because library paths are gonna be different

half walrus
#

ah fun

#

what does macos use

tepid olive
#

Regardless of what macos uses we cant put shit in usr lib there

#

On ios we just use usr lib

#

Because theres not already a full suite

#

I will say the macos bootstrap for dpkg is gonna be so insanely small itll be great

#

Especially compared to brew

surreal mountain
#

wanna see a nice screenshot

restive ether
#

me watching brew update for four minutes just to remove two formulas

surreal mountain
#

4 minutes

#

try

#

18 minutes

#

and i updated earlier today

tepid olive
#

Brew is the worst of the worst in every way

surreal mountain
#

i think its cuz it went to sleep tho

tepid olive
#

Their documentation is soooo shitty too

half walrus
#

wish apple didn't use their own full SoC for macos

tepid olive
#

I tried to do a complex formula a while ago and NONE of their fun little options are documented

#

Fucking asses

half walrus
#

something something theos

tepid olive
#

At least theres an organized community of people who know whats happening with theos

half walrus
#

very true

tepid olive
#

Homebrews a buncha dudes in the wild west fending for themselves

#

And some asshole maintainers

surreal mountain
#

opinion on macports

tepid olive
#

No experience with it

#

Fink is stupid though

half walrus
#

macports is to dragon what brew is to theos

burnt niche
#

No relation

surreal mountain
#

true

#

faster

half walrus
#

faster and much better but lacks the mature community and maintenance of the other

restive ether
#

macapt macapt

tepid olive
#

Macports really does lack the community sadly

half walrus
#

someone bout to come in here and tell us all about the wonders of pacman on macos

tepid olive
#

This was a while ago

half walrus
#

dragon would be a lot less useful for me if the theos builder weren't fairly good

tepid olive
#

It’s 2030

#

Theos has become a full clang replacement

half walrus
#

but still written in make

primal perch
#

it's 2060, the theos megacorporation controls most world governments

restive ether
#

it’s 2030, for some reason everyone uses gcc instead

surreal mountain
#

@half walrus should i update dragon installer to support m1?

half walrus
#

in what way does it not currently

#

its a bash script

surreal mountain
#

arm

half walrus
#

ah yes

surreal mountain
#

itll always think its ios

#

and install with apt-get

half walrus
#

let me recompile it for arm real fast

surreal mountain
#

what

#

wym recompile

#

just add another flag

#

might have to hardcode chips

#

Darwin atmos.local 20.1.0 Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:10 PDT 2020; root:xnu-7195.50.7~2/RELEASE_ARM64_T8101 x86_64

#

thats my uname -a

lethal kayak
#

has anyone done a direct comparison of gcc and clang

#

like compiling the same things

half walrus
surreal mountain
#

m1

#

macbook air

half walrus
lethal kayak
#

yeah

restive ether
half walrus
surreal mountain
#

yes

#

rosetta

half walrus
#

yes so where is it going to pull arm from

#

you just ran it and it printed x86

lethal kayak
#

RELEASE_ARM64_T8101

surreal mountain
#

Darwin atmos.local 20.1.0 Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:10 PDT 2020; root:xnu-7195.50.7~2/RELEASE_ARM64_T8101 arm64

#

thats without rosetta

lethal kayak
#

can't you just pull the cpid

surreal mountain
#

uhh

half walrus
#

not a cross plat solution

#

@ ultra

lethal kayak
#

yeah

half walrus
#

bc it needs to support literally every platform possible

lethal kayak
#

oh

#

tbh i dont even know what you're trying to do

#

lol

#

thought you were just trying to identify processor

half walrus
#

@surreal mountain if you want to add M1 support then just remove iOS

surreal mountain
#

nah

#

ill figure something out

half walrus
#

?

#

i will then

surreal mountain
#

n

#

o

half walrus
#

the installer doesn't support ios

surreal mountain
#

i got it

#

o

#

why not

half walrus
#

I made a cydia package that installs it properly

surreal mountain
#

oh right

#

ok ill pr

half walrus
#

just run a check for mobile user to ensure it's not being ran on ios

lethal kayak
#

me making a macos user called mobile

half walrus
#

if [ "${USER}" == "mobile" ]; then

#

do that in the main file for on-device install support

#

always reasoned that if someone named their user mobile i'm considering it an unsupported edge case

#

could check GID but it's overkill

surreal mountain
#

oke done

#

pr son

lethal kayak
#

fucking calculator using mini usb

#

who the fuck uses mini usb

surreal mountain
#

@half walrus done

#

wait

#

wtf

#

bruh

half walrus
#

im faster

surreal mountain
#

mine errored

#

i was like

#

the fuck

#

lucky u waited cuz i fucked it up the first time

half walrus
#

ik

#

love how it's been implemented in 3 different languages now

manic forum
#

unrelated but does anyone here do adventofcode? the next day will be released in 21 minutes

surreal mountain
#

never done it

#

but

#

sounds interesting

surreal mountain
half walrus
#

py one isn't stable enough to push in any preliminary way

surreal mountain
#

true

half walrus
#

c one isn't even functional

#

and the py one is almost a copy paste of the c one

surreal mountain
#

ive learned a lot about python recently

#

looked at old api code

#

realized how much i didnt know about my own code

#

i didnt know what half of it did bruh

half walrus
#

none of it makes sense

surreal mountain
#

lol

half walrus
#

i didn't write it but

surreal mountain
#

im trying to write a superspeed packager in python

#

to extract, add depiction data to control and repack debs

half walrus
#

1 sec

surreal mountain
#

im at about 0.05s per deb

half walrus
#

how are you doing it rn

surreal mountain
#

rn i use dpkg-deb --raw-extract then load the control file with pyyaml, add data and dump it then dpkg-deb -b

#

you arent doing nearly the same thing

half walrus
#

why are you repacking if all you're adding is depiction data

surreal mountain
#

experimental is using ar and tarfile to edit control and not even unpacking data.tar.gz

#

i cant edit control without unpacking the deb

#

so

half walrus
#

why do you need to

gaunt mesa
#

gm

surreal mountain
#

cba to manually add and rebuild

#

and i like keeping it separate

half walrus
#

you don't need to touch the deb whatsoever??

surreal mountain
#

apparently package managers will break

half walrus
#

edit it in the Packages file

surreal mountain
#

cc @gaunt mesa

#

ik

half walrus
#

that was a statement

gaunt mesa
#

because of two things

#

no

half walrus
#

just said in a questioning tone

gaunt mesa
#

a. if someone removes the repo it should keep the depictions

#

b. i forget

#

all main repos do this for a reason krit

surreal mountain
#

gig gle

gaunt mesa
#

what

#

OH

#

SHIT

#

i meant like default repos

surreal mountain
#

true

gaunt mesa
#

also no way it takes less than a second @grave sparrow

half walrus
#
for filename in os.listdir('./iphoneos'):
        if filename.endswith(".deb"):
            control = tar.open(fileobj=ar.open('./iphoneos/' + filename).open('control.tar.gz')).extractfile(
                './control').read()
gaunt mesa
#

dpkg-deb is slow as fuck

half walrus
#

just use that^

gaunt mesa
#

i have my own bash implementation

surreal mountain
#

@half walrus the fuck

#

mine is so much worse than that

half walrus
#

what i used for an experimental project

surreal mountain
#

does that even work???????????????/

half walrus
#

yes

surreal mountain
#

HOW

#

oke thanks

half walrus
#

that's how you read it

gaunt mesa
#

are u using ar

#

or os.system and dpkg

half walrus
#

i think there's some .write() function or whatever but have no idea

surreal mountain
#

@grave sparrow are you writing to the control file??????????????????????/

gaunt mesa
#

oh wait, i forgot python doesn't wait for the system cmd to finish

surreal mountain
#

L

half walrus
#

if you want an absurdly fast implementation write it in C and extract it yourself

gaunt mesa
#

yeah bash waits for it to finish

#

so it takes a second

surreal mountain
#

@half walrus true

gaunt mesa
#

yes

#

write in asm

surreal mountain
#

true

#

fast

half walrus
#

humans write slower asm than llvm

surreal mountain
#

bro its not like everyone said that before u

gaunt mesa
#

so does python wait for os calls to finish?

surreal mountain
surreal mountain
gaunt mesa
#

os.system or whatever the fuck

surreal mountain
#

but os.system doesnt i dont think

gaunt mesa
#

so that means ur code won't work quiprr?

surreal mountain
#

wdym

#

my code works fine

half walrus
#

use my system() replacement

gaunt mesa
#

dpkg-deb definetely takes more than a second last i checked

#

if its taking less than a second its editing control files that aren't even extracted yet

surreal mountain
#

capt is making his Packages file himself

#

i think is it

gaunt mesa
#

yeah well that's called stupid

surreal mountain
#

using dpkg-deb to do it

#

then what are you doing

#

thats what i mean

#

you made a py script

#

to literally

#

reinvent the wheel

gaunt mesa
#

yeah man dpkg-deb takes a few seconds quip

#

no way u can get it in less than a second

half walrus
#
SystemCall = namedtuple('SystemCall', ['code', 'stdout', 'stderr'])

def system(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE):
    proc = subprocess.Popen("" + cmd,
                            stdout=stdout,
                            stderr=stderr,
                            shell=True,
                            universal_newlines=True)
    std_out, std_err = proc.communicate()
    if proc.returncode != 0 and len(std_err) > 0:
        print(f'Error while executing `{cmd}`: {std_err}', file=sys.stderr)
        print(std_out)
    return SystemCall(proc.returncode, std_out, std_err)
#

C system() replacement in python

gaunt mesa
#

namedtuple

half walrus
#

yes

#

so you can

#

system("command").stdout

gaunt mesa
#

i need to continue learning python

half walrus
#

and get a string that contains stdout

gaunt mesa
#

i still don't understand how python would execute the EXACT SAME COMMAND faster than bash would

#

like my head just cannot fathom that

surreal mountain
#

it cant

#

that isnt physically possible

half walrus
#

well

pearl sail
#

python go brrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr

surreal mountain
#

running a shell command

gaunt mesa
#

nfr then how is ur python impl faster than my pure bash one?

surreal mountain
#

from python

half walrus
surreal mountain
#

cannot be faster than not running it thru python

half walrus
#

that's entirely untrue

surreal mountain
#

thats just overhead

gaunt mesa
#

my bash one takes about 6 seconds cuz of dpkg-deb being slow as fuck

surreal mountain
gaunt mesa
#

and ur saying ur python takes less than a second to do all of that and edit control files

#

makes no sense

surreal mountain
#

it isnt editing

half walrus
#

job scheduling, thread mgmt, and other things can be implemented

surreal mountain
#

hes just building Packages

gaunt mesa
#

im talking about u

#

dumbass

surreal mountain
#

thats it

#

o

gaunt mesa
#

less than a second my ass

half walrus
#

that's why ninja works faster than gnu make 4

pearl sail
#

bashtop is slower than bpytop

half walrus
#

otherwise it'd be even faster to just generate a bash file

gaunt mesa
#

okay that makes sense

#

but in the context of this specific thing

#

how does quiprr's dpkg-deb commands take like 0.05seconds and mine directly from bash take like 3-4

#

that's a huge difference

surreal mountain
#

hold on

half walrus
#

but anyways, don't use system("dpkg" to extract and rebuild something if you're going for anything close to speed

surreal mountain
#

my apt-ftparchive is broken

half walrus
#

tarfile and unix-ar aren't that hard to figure out

surreal mountain
#

oh god

#

media proxy?

#

dead?

#

nvm

#

if i took out extra shit it owuld be faster too

gaunt mesa
#

how the fuck 0.05 seconds

#

i will use ar and tar on bash and somehow it'll still be slower

half walrus
#

yeah i don't think that 0.05 is accurate

pearl sail
gaunt mesa
#

my fucking zsh takes longer to load than that nfr

#

bro this was before

surreal mountain
#

how cna that not be accurate

gaunt mesa
#

so

half walrus
#

doesn't change it

gaunt mesa
#

@surreal mountain are u using ar and tarfile?

surreal mountain
#

no

half walrus
#

no i just gave him the code to do that

gaunt mesa
#

dpkg-deb cannot take 0.05seconds

#

that's literal fake

half walrus
#

^

gaunt mesa
#

if dpkg-deb took 0.05 seconds i would ascend to heaven

#

but

#

unfortunately its slow

surreal mountain
#

hold on

#

i had bad code

#

0.08

gaunt mesa
#

cap

pearl sail
#

get footage when they walk on the field

#

fuck

#

me

gaunt mesa
#

no

half walrus
surreal mountain
#

takes another .1 seconds to gen packages and release

surreal mountain
#

this is just running dpkg-deb in py

gaunt mesa
#

dpkg-deb took 8 seconds to make a 27mb deb file

#

lemme time without the huge deb now

surreal mountain
#

keep in mind dpkg-deb slows the fuck down on stuff like apps

#

Grapher takes around 5 seconds

#

per deb

#

and i have two

half walrus
#

so you wrote a packager that extracts, writes a file, and recompresses, all in 0.05 seconds

#

but we aren't allowed to see it

gaunt mesa
#

^

surreal mountain
#

in a bit

#

hold on

#

nvm il just show u

gaunt mesa
#

@half walrus okay so my 13kb deb does it in about 1.2 seconds

#

and that's mostly cuz of dpkg-deb

#

this is the pure bash tho

#

on pure bash*

surreal mountain
#

thats awful code

#

and its fast

gaunt mesa
#

where did ur syntax highlighting go

surreal mountain
#

idk u tell me

half walrus
#

does os.system wait for the command to finish

gaunt mesa
#

i don't think it does

surreal mountain
#

no idea

gaunt mesa
#

no way

surreal mountain
#

actually

#

yes

half walrus
#

bc

surreal mountain
#

it def does

#

because

#

its never failed evne on huge debs

gaunt mesa
#

how are u timing this

half walrus
#

dpkg takes 3x longer to do nothing and fail than ur program apparently takes

surreal mountain
#

my*

#

code

#

before it extracts, it sets pkgStartTime

gaunt mesa
#

i jiust tried a blank one like krit

#

took longer

#

sus code

surreal mountain
#

idk what u want me to say

#

m1 is just faster?

#

like\

half walrus
surreal mountain
#

its literally on my github

half walrus
#

i was wrong

#

my bad

surreal mountain
#

yourcompany

#

true

#

YourCompany, Inc.

#

Captain Incorporated

gaunt mesa
#

fuking m1

#

making me jealous

half walrus
#

so

surreal mountain
#

@half walrus ur rcode dont even work wtf

half walrus
#

wdym

surreal mountain
#

ar doesnt have open

gaunt mesa
#

well then my macbook is drugged

#

cuz its slow

half walrus
#

what are u using quip

surreal mountain
#

tried ar and arpy

#

ar has no attribute open

half walrus
#

import unix-ar as ar

#

import tarfile as tar

#

you don't need to use yaml

surreal mountain
#

still no

pearl sail
#

@gaunt mesa It is ok Ren at least you didn't but a 2019 15in MBP

surreal mountain
#

@pearl sail sir

#

he bought a 2020 mbp

half walrus
#

mb

#

import unix_ar as ar

gaunt mesa
#

2020 1.4ghz

#

should've just waited for the m1

#

instead of being an idiot

surreal mountain
#

my debs are xz for some reason

#

theos moment

half walrus
#

ezpz

gaunt mesa
#

dpkg-deb -b takes so fucking long

pearl sail
#

yeah at least you aren't like me tho M1X coming out in like 8 months so yeah

gaunt mesa
surreal mountain
#

true

half walrus
#

dragon uses dpkg-deb --build -Zgzip -z9 .dragon/_ .dragon/packages/

gaunt mesa
#

ok it took 11 seconds to do a 70mb deb file

surreal mountain
#

gz

#

true

half walrus
#

compression time didn't affect speed much

pearl sail
surreal mountain
#

@half walrus does that code do what i want

half walrus
#

depends on what you want

#

for me it creates a Packages.bz2

gaunt mesa
#

well my bash implementation is 100% done

#

epic

half walrus
#

good now rewrite it in a real language

gaunt mesa
#

faster than ts-node and laziness fr

pearl sail
#

zsh still better

gaunt mesa
#

¯_(ツ)_/¯

gaunt mesa
surreal mountain
#

@half walrus his typescript one took 40 seconds for 6 debs

gaunt mesa
#

that's cuz i stole some dude's recursive readdir

pearl sail
#

rewrite it in js /s

gaunt mesa
#

cuz i was too lazy to write my own

#

and the only reason i used typescript was cuz i needed something fast and i was lazy

pearl sail
#

All I hear from devs is that js needs to die already

gaunt mesa
#

it doesn't

surreal mountain
#

false

gaunt mesa
#

the people that say that are the people that need to shut the fuck up

surreal mountain
#

@grave sparrow shut the fuck up

gaunt mesa
#

js powers pretty much all of the web

surreal mountain
#

js powers a lot

gaunt mesa
#

then don't use js

#

instead of saying it needs to die

surreal mountain
#

@grave sparrow stfu

gaunt mesa
#

people that say that just piss me off

#

WASM fr

surreal mountain
#

i dont think the person with the absolute shittiest site out of us 3 can talk about web shit

#

sorry i said it

gaunt mesa
#

js is fine

surreal mountain
#

its so ugly

#

false

gaunt mesa
#

ui is the only thing people actually care about

#

no one cares if ur website loads in -2 nanoseconds

#

if it has shit ui

surreal mountain
#

@grave sparrow

gaunt mesa
#

then mind ur own business and stop saying js needs to die

#

it's not hard to not give a fuck

surreal mountain
#

TRUE

pearl sail
#

Here is my opinion

#

All languages need to die

half walrus
#

all of you silence

gaunt mesa
#

krit i can't type in it

half walrus
#

python in a web browser

#

is the only way

gaunt mesa
#

in the end

#

that python becomes js

half walrus
#

and when that exists and is on my website then i don't think its fair to be complaining about any other language

gaunt mesa
#

because the browser only understands js

#

actually that's probably false

half walrus
gaunt mesa
half walrus
#

because the cpu only understands assembly

gaunt mesa
#

which becomes binary

pearl sail
#

When will go be in web browsers?

gaunt mesa
#

when will dart be exterminated off this planet

half walrus
#

but yeah the python gets transpiled to javascript

#

on load

gaunt mesa
#

doesn't that slow down loading time tho?

half walrus
#

almost 0 overhead which I didn't expect

gaunt mesa
#

hmm

#

usually i make static site generation just because of big loading times

half walrus
#

you'd think it would but that's only in the context of massive web apps

gaunt mesa
#

that's actually interesting that there isn't much overhead

half walrus
#

browsers are insanely powerful engines, machines now are insanely powerful, internet is fast as fuck

#

people are just used to associating JS with slow load times because of massive library import overhead

#

when each website is downloading 10MB of javascript dependencies to implement basic features

#

bc good frontend is dead

gaunt mesa
#

and outdated crap ¯_(ツ)_/¯

pearl sail
#

Well js does out of way to be very friendly that some people argue that it impedes itself

gaunt mesa
#

apparently react 16 really cut down on a lot of shit

#

17*

#

ok

#

discord is the shittest app in existence

#

it somehow manages to be fat and still have so many issues

#

i never said everything was perfect

half walrus
#

thats how i can tell yall dont use slack

gaunt mesa
#

ok slack is worse

#

but i barely use it

half walrus
#

what i love is

gaunt mesa
#

wanna know something worse than slack and discord?

#

microsoft teams

half walrus
#

lol the rce

#

that allowed xss in your display name

gaunt mesa
half walrus
#

full rce

#

microsoft wouldn't award a CVE

gaunt mesa
#

kek

#

@grave sparrow wanna know something else that's stupid?

#

if discord ran an interactive dependency upgrade on their node_modules then i can guarantee u discord would be wayyyyyyy faster

#

these people just never update their node_modules

half walrus
#

meanwhile VSCode runs on electron and works better than native apps

#

nah

gaunt mesa
#

it's not viable to update tho

gaunt mesa
#

vscode is fine but it takes 10 years to load my term

half walrus
#

writing it natively doesn't fix crap code

gaunt mesa
#

and its not due to zsh

half walrus
#

vscode is an example of doing it right

gaunt mesa
#

the vscode term thing is like one of the main reasons why i have switched to vim

half walrus
#

had no problems with mine

gaunt mesa
#

and the fact that i can't afford to pay for nova every year

half walrus
#

well

#

it has a memory issue

gaunt mesa
#

vscode recommended the other renderer for mine

half walrus
#

not sure if it's a leak but it behaves like one

#

w/ terminal

gaunt mesa
#

if i remove this my vscode will just take another 10 years to load terminal

half walrus
#

cat a big file in the vscode term and the whole app dies iirc

gaunt mesa
#

vscode has some issues

#

but overall its fine

half walrus
#

why is com.apple.RawCamera loaded in Weather.app

gaunt mesa
#

loll

#

why does discord include squirrel build logs in its updates

half walrus
#

imagine how much thinner SpringBoard would be if it didn't include all of the description and debug logic

gaunt mesa
#

yeah true

half walrus
#

guess at some point for companies the logistics required to strip debugging stuff out has minimal benifit

gaunt mesa
#

well u see here

#

squirrel automatically deletes build logs when marked as a production build

half walrus
#

has discord ever released anything that would qualify as 'production ready' tho

gaunt mesa
#

before 2018 yeah

#

when they barely ever had downtime

#

now it feels like something breaks every other day

half walrus
#

@twilit jungle do you happen to know proc i need to hook for widgets

gaunt mesa
#

gonna have to give discord credit for their API

#

that's written very well and has a robust system

half walrus
#

discord app is fine as well in my experience tbh

#

on desktop and mobile both

gaunt mesa
#

the mobile app is the worst for me

#

cuz sometimes it just glitches out and starts doing stuff without me touching my screen

half walrus
#

you don't feel the inefficiencies on desktop unless you're running the x86 on arm version

gaunt mesa
#

the app is fine just wish it did a few things differently

gaunt mesa
half walrus
#

referring to windows

gaunt mesa
half walrus
#

rosetta does it before the app starts

#

iirc

twilit jungle
#

proc?

half walrus
#

process

gaunt mesa
#

i wish discord's stupid window was actually properly resizable on mac

half walrus
#

are Widgets running in springboard

gaunt mesa
twilit jungle
#

Nah

half walrus
#

figured yeah

twilit jungle
#

Each widget gets its own process

half walrus
#

neato

restive ether
gaunt mesa
#

true

twilit jungle
#

Well they used to pre iOS 14

#

I am sure they figured out a way to make it part of the app with iOS 14

restive ether
#

remember like a year and a half ago when it would kill your battery in like two hours

gaunt mesa
#

those were the days

restive ether
#

it hasn’t been too bad in any of the servers i’m in the last like month or so

gaunt mesa
#

no one ever needed to check the status page back in the day

restive ether
#

i think most of the issues are US-east based

gaunt mesa
#

u know its bad when people already know to just check the status page and have the URL memorized tho

#

like yikes

twilit jungle
#

The reason I say that is because widgets are now 2 things: rendering and business logic.

#

The rendering side (swift stuff) is run in SpringBoard

gaunt mesa
#

business logic?

twilit jungle
#

business logic is either app or separate process

half walrus
#

the stuff that controls what the swift is gonna display

twilit jungle
#

Yeah

gaunt mesa
#

curious as to why its called business logic

half walrus
#

old phrase

gaunt mesa
#

ah

restive ether
#

boomer phrase

half walrus
#

'business end' etc

#

ye

gaunt mesa
#

yeah i get what u mean

half walrus
#

all undocumented so we call it what we want mcatDab

gaunt mesa
#

don't widgets have some sort of restraint that prevents the view from refreshing often

twilit jungle
#

Yeah, I mean I can't think of any other term for it.

gaunt mesa
#

like its 5 minutes minimum right?

half walrus
#

"backend" and "frontend" i guess

gaunt mesa
twilit jungle
#

ig

gaunt mesa
#

i remember the tunetrack dev talking about how the song data on his widget could only update every 5 minutes