#development
1 messages · Page 305 of 1
why is this so hard 
True
pretty sure I got a 6-key sampler for like $15
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
so probably like $0.02 USD lmao
damn are they getting more expensive??
That's like paying someone to ship a car to your house to test drive
ridiculous
it’s like not even useful after you’ve figured out a decision, which you’d probably do in about 10 minutes
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
you’ll have like… one spare key you can have for your keyboard? I doubt you’d ever need it lmao
could anyone instruct me on how to do it properly
could use them for electronics projects since they’re just 2-prong switches in the end
I remember breaking my keyboard because a switch broke then paying 10$ for 10 brown switches
Soldered it off but worth

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
@primal perch one sec computer just died
I saw on youtube that the clear was a stiff and hard keypress
My profile picture explains my mood
Just buy from amazon and return if you hate it
true 😳
I did that and ended up liking it enough
Amazon prime go brazy
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
Hi, removing theos folders is a proper way to uninstall it?
hah
see if we weren’t living in covid times I would say just go to best buy and try the keyboards on display
or you could just go anyways
Wtf
wear gloves 😳
Just casually 500
no way am I going to best buy to touch a keyboard with covid lol
guess you could #merica
Bring back covid for the whole family
%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
but I trust you have better respect for yourself than that
I do lol
button shows up but action does not work

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
True
I’ll mask social distance and sanitize but for the most part I still go wherever
no 
and i also added -(void)_setupButton; -(void)buttonClicked:(id)sender; in the interface
shmoo can i buy something with 50 cents off ur gift card
Shmoo can I have leo
ok thanks
I’ll take good care of him
you can fight me for leo lol
i would fight you for leo if i lived in the east cost
I’ll take him too
wtf
Hm yeah you can take milo
isnt milo a she
True
if anyone knows what i am doing wrong that would be great

Milo is a guy
WTF
You thought milo was female??
ive only ever seen like two pictures of milo 
i did that shep
oh true
It’s not in your snippet
it's cat tax day shmoo
i put a %new for buttonclicked as well now
Where do you call _setupButton
Wtf
self = %orig;
[self _setupButton];
return self;
}```
what song did you listen to
Only good when jamming on a plastic guitar
false
oh
Wtd
yea thats why
Wtf
the album with the joystick
dont
I only listen to old muse and even then not that much
Gm @tardy narwhal
Fast And Furious 3 AKA Tokyo Drift: Han's Speech 1080p HD
I Do Not Own any Videos uploaded. All Credit Goes to the Creators of the Movie
gm
true
shmoo their new stuff isnt that great
Oh
jules likes it but its not really my favorite
Jules likes anime music too so
my top song was rock the casbah

lol
some anime songs be hitting
okay
True
Blast a fat load on toad on the road
bars
Ttue
lil shep spitting facts
True


filtered
@burnt niche no slur
my fault did not know lmao. just trying to spit bars
why do women ruin everything
i get the money. i get the bag. fill up the mag. im playin tag. n im sellin crack.
Lmao
thats bars dont cap
lil jynx
im makin tweaks. im gonna tweak. i gotta take a leak. my booty it reeks
u cant rhyme tweaks with tweak homie
no
tf
im makin tweaks. my cock it leaks. my booty it reeks
there u go
bars or no bars
first msg was bars then you added something about crack and ruined it
f
go spit bars
bruh i did
it got deleted
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.
I'd give that a 6.5/10 getting better
i don't wanna discuss that on here
yea
why are u bragging about flat ass
normal people have fatties and this mf got a flatty
tru
link me a debian package to add
I wish I had as big a pair of balls as hayden to show my face
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.
4/10
https://gitlab.haskell.org/ghc/ghc
@tepid olive i’m guessing it’s this
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.
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
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
@tardy narwhal kal themes favorite repo is pull a good old twickd, who’s gonna be the first person to upload malware
Ah yes those questions are always fun.
im focused on the bottom comment
what is it even trying to say
Fuck you, Homebrew.
they have internet recovery etc
but
they still do have a recovery partition
yeha
iphones arent ready for that phase
Yeah but if you have a 512 GB device, it doesn't hurt to have a 16 GB recovery parition
it doesnt hurt but is it viable?
Why not?
i just dont think iphones should be like that
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?
it’s clear apples vision for ios isn’t using the underlying operating system and features in the same way one would on desktop
Thats true
doesn’t killing it mid update cause issues
dragon probably
wouldn’t know i would never do that kinda thing
definitely not while updating to ios 14
return to monke
what’s wrong with it actually
since when are macs portless
how is that security related
what is that comment trying to say
and it wont let me run it
bc of security shit
saying the developer cant be verified or something i forget
ok thanks'
also considering they're still stuck on lightning port i don't see them removing it any time in the near future
bruh wireless chraging is not viable
there need to be major advancements for that to be the only option
i wirelessly charge my phone every night
then again my house is also cum powered
@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

guess who will not be buying a new iphone
if they do that shit
me
cuz i can’t afford it
.
I get 600mbps when I stand next to my wifi 5 router wtf
Cause it is
people on narcotics probably

trust me all I talk about is black tar
nobody picks up heroin bc it’s good
true
it’s bc every other narcotic is prescription controlled substance
if i stand next to it i expect 800+
how many devices do you have that support wifi 6
heroin is cheap as balls in comparison, it’s why everyone gets addicted
yeah
same with meff
idek
i know my armbook does
thats it
catch me dead before you catch me doing heroin though
8 ball of cocaine cost the most
that is HQ cocaine tho
people who put coke in the same category as heroin or meth, smh
my dad's hometown has a black tar problem
nobody can afford a fuckin coke addiction
you're canadian
who calls it ‘black tar’ tho

why
I don't have any devices that would benefit from it that is why I haven't decided to get it
cause
developing be like


me and cam trying to figure out userspace reboot with libhooker be like
That is truest shit I have ever heard
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
why
and then after we all did drugs and drank and he told us what heroin was like
lmfao what
can someone tell me why
@tardy narwhal it’ll be added
W: Unable to read /etc/apt/apt.conf.d/ - DirectoryExists (2: No such file or directory)
apt-ftparchive
reboot3() moment
is fucking stupid
@lethal kayak to this day i don’t know why they brought a homeless heroine addict to my friend’s mom funereal
never ask why
ask why not
and then when they try to tell you why not you ignore them
lol
bc fuck that noise
it was a good day all things considered
crazy
i guess you have to celebrate like that especially when she dies under odd circumstances
it be like that though

@tepid olive no this just completely breaks
for some reason genning my Release file with apt-ftparchive will break
do it there then
no
Ok it also works fine on my mac machine

And its not because of that warning
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
should still work perfectly fine tho, no?
Should
i mean if windows can do it properly
im running thru rosetta
and windows is windows
i run iterm thru rosetta anyways
That literally could not matter less
I think it's finally viable for me to bring up again
Itll just come with procursus mac
now would be a great time for people, especially those who maintain bootstraps, to consider moving towards a macos styled way of doing things
Not zip
not zip
wait procursus mac is becoming a thing!?!
talking about things like the python install structure
fuck yeah
Yeah its on a branch that im not touching
Likely
mood

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
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
wanna see a nice screenshot
me watching brew update for four minutes just to remove two formulas
Brew is the worst of the worst in every way
i think its cuz it went to sleep tho
Their documentation is soooo shitty too
I tried to do a complex formula a while ago and NONE of their fun little options are documented
Fucking asses
something something theos
At least theres an organized community of people who know whats happening with theos
very true
Homebrews a buncha dudes in the wild west fending for themselves
And some asshole maintainers
macports is to dragon what brew is to theos
No relation
faster and much better but lacks the mature community and maintenance of the other
macapt macapt
Macports really does lack the community sadly
someone bout to come in here and tell us all about the wonders of pacman on macos
I did pacman on macos and promptly deleted the git repo
This was a while ago
why supporting your competitors system is a must
dragon would be a lot less useful for me if the theos builder weren't fairly good
but still written in make
it's 2060, the theos megacorporation controls most world governments
it’s 2030, for some reason everyone uses gcc instead
@half walrus should i update dragon installer to support m1?
arm
ah yes
let me recompile it for arm real fast
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
has anyone done a direct comparison of gcc and clang
like compiling the same things
on what machine
llvm is faster
yeah
always wondered this
x86_64
RELEASE_ARM64_T8101
.
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
can't you just pull the cpid
yeah
bc it needs to support literally every platform possible
oh
tbh i dont even know what you're trying to do
lol
thought you were just trying to identify processor
@surreal mountain if you want to add M1 support then just remove iOS
the installer doesn't support ios
I made a cydia package that installs it properly
just run a check for mobile user to ensure it's not being ran on ios
me making a macos user called mobile
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
mine errored
i was like
the fuck
lucky u waited cuz i fucked it up the first time
unrelated but does anyone here do adventofcode? the next day will be released in 21 minutes
one of which is public

py one isn't stable enough to push in any preliminary way
true
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
lol
i didn't write it but
im trying to write a superspeed packager in python
to extract, add depiction data to control and repack debs
1 sec
im at about 0.05s per deb
how are you doing it rn
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
why are you repacking if all you're adding is depiction data
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
why do you need to
gm
you don't need to touch the deb whatsoever??
apparently package managers will break
edit it in the Packages file
no
that was a statement
just said in a questioning tone
a. if someone removes the repo it should keep the depictions
b. i forget

all main repos do this for a reason krit
gig gle
true
also no way it takes less than a second @grave sparrow
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()
dpkg-deb is slow as fuck
just use that^
i have my own bash implementation
what i used for an experimental project
does that even work???????????????/
yes
that's how you read it
i think there's some .write() function or whatever but have no idea
@grave sparrow are you writing to the control file??????????????????????/
oh wait, i forgot python doesn't wait for the system cmd to finish
if you want an absurdly fast implementation write it in C and extract it yourself
@half walrus true
humans write slower asm than llvm
bro its not like everyone said that before u
so does python wait for os calls to finish?

depends what u use
os.system or whatever the fuck
but os.system doesnt i dont think
so that means ur code won't work quiprr?
use my system() replacement
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
yeah well that's called stupid
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
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
namedtuple
i need to continue learning python
and get a string that contains stdout
i still don't understand how python would execute the EXACT SAME COMMAND faster than bash would
like my head just cannot fathom that
well
python go brrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
running a shell command
then how is ur python impl faster than my pure bash one?
from python
not true though
cannot be faster than not running it thru python
that's entirely untrue
thats just overhead
my bash one takes about 6 seconds cuz of dpkg-deb being slow as fuck
how?
and ur saying ur python takes less than a second to do all of that and edit control files
makes no sense
it isnt editing
job scheduling, thread mgmt, and other things can be implemented
hes just building Packages
less than a second my ass
that's why ninja works faster than gnu make 4
bashtop is slower than bpytop
otherwise it'd be even faster to just generate a bash file
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
hold on
but anyways, don't use system("dpkg" to extract and rebuild something if you're going for anything close to speed
my apt-ftparchive is broken
tarfile and unix-ar aren't that hard to figure out
oh god
media proxy?
dead?
nvm
if i took out extra shit it owuld be faster too
how the fuck 0.05 seconds
i will use ar and tar on bash and somehow it'll still be slower
yeah i don't think that 0.05 is accurate

how cna that not be accurate
so
doesn't change it
@surreal mountain are u using ar and tarfile?
no
no i just gave him the code to do that
^
cap
no
send code
takes another .1 seconds to gen packages and release
keep in mind dpkg-deb slows the fuck down on stuff like apps
Grapher takes around 5 seconds
per deb
and i have two
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
^
@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*
does os.system wait for the command to finish
i don't think it does
no idea
no way
bc
how are u timing this
dpkg takes 3x longer to do nothing and fail than ur program apparently takes
look at ur code
my*
code
before it extracts, it sets pkgStartTime
alright it seems feasible
its literally on my github
@half walrus ur rcode dont even work wtf
wdym
ar doesnt have open
what are u using quip
still no
@gaunt mesa It is ok Ren at least you didn't but a 2019 15in MBP
dpkg-deb -b takes so fucking long
yeah at least you aren't like me tho M1X coming out in like 8 months so yeah
dpkg-deb -b builds it as .xz
true
dragon uses dpkg-deb --build -Zgzip -z9 .dragon/_ .dragon/packages/
ok it took 11 seconds to do a 70mb deb file
compression time didn't affect speed much

@half walrus does that code do what i want
good now rewrite it in a real language
faster than ts-node and laziness 
¯_(ツ)_/¯
too bad
that's cuz i stole some dude's recursive readdir
rewrite it in js /s
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
All I hear from devs is that js needs to die already
it doesn't
false
the people that say that are the people that need to shut the fuck up
@grave sparrow shut the fuck up
js powers pretty much all of the web
js powers a lot
@grave sparrow 
i dont think the person with the absolute shittiest site out of us 3 can talk about web shit
sorry i said it
js is fine
ui is the only thing people actually care about
no one cares if ur website loads in -2 nanoseconds
if it has shit ui
@grave sparrow
then mind ur own business and stop saying js needs to die
it's not hard to not give a fuck
TRUE
krit i can't type in it
and when that exists and is on my website then i don't think its fair to be complaining about any other language
which becomes assembly

because the cpu only understands assembly
which becomes binary
When will go be in web browsers?
when will dart be exterminated off this planet
doesn't that slow down loading time tho?
almost 0 overhead which I didn't expect
you'd think it would but that's only in the context of massive web apps
that's actually interesting that there isn't much overhead
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
and outdated crap ¯_(ツ)_/¯
Well js does out of way to be very friendly that some people argue that it impedes itself
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
thats how i can tell yall dont use slack
what i love is

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
it's not viable to update tho
ah if only that were true for my terminal
vscode is fine but it takes 10 years to load my term
writing it natively doesn't fix crap code
and its not due to zsh
vscode is an example of doing it right
the vscode term thing is like one of the main reasons why i have switched to vim
had no problems with mine
and the fact that i can't afford to pay for nova every year
vscode recommended the other renderer for mine
cat a big file in the vscode term and the whole app dies iirc
why is com.apple.RawCamera loaded in Weather.app
imagine how much thinner SpringBoard would be if it didn't include all of the description and debug logic
yeah true
guess at some point for companies the logistics required to strip debugging stuff out has minimal benifit
well u see here
squirrel automatically deletes build logs when marked as a production build

has discord ever released anything that would qualify as 'production ready' tho
before 2018 yeah
when they barely ever had downtime
now it feels like something breaks every other day
@twilit jungle do you happen to know proc i need to hook for widgets
gonna have to give discord credit for their API
that's written very well and has a robust system
the mobile app is the worst for me
cuz sometimes it just glitches out and starts doing stuff without me touching my screen
you don't feel the inefficiencies on desktop unless you're running the x86 on arm version
the app is fine just wish it did a few things differently
rosetta 2 runs a lot of things faster than native x86 tho
referring to windows

proc?
process
i wish discord's stupid window was actually properly resizable on mac
are Widgets running in springboard
so what does rosetta cache a transpiled binary or sm?
Nah
figured yeah
Each widget gets its own process
neato
just appreciate its better now than it used to be
true
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
remember like a year and a half ago when it would kill your battery in like two hours
remember when 2 years ago discord never had downtime ever?
those were the days
yknow I'll test that
it hasn’t been too bad in any of the servers i’m in the last like month or so
no one ever needed to check the status page back in the day
i think most of the issues are US-east based
u know its bad when people already know to just check the status page and have the URL memorized tho
like yikes
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
business logic?
business logic is either app or separate process
the stuff that controls what the swift is gonna display
Yeah
curious as to why its called business logic
old phrase
ah
boomer phrase
yeah i get what u mean
all undocumented so we call it what we want 
don't widgets have some sort of restraint that prevents the view from refreshing often
Yeah, I mean I can't think of any other term for it.
like its 5 minutes minimum right?
"backend" and "frontend" i guess
gen z terms ofc
ig
No there is no such thing
i remember the tunetrack dev talking about how the song data on his widget could only update every 5 minutes







