#development
1 messages · Page 32 of 1
aight you win a medal youre the first person to unironically use that font
what is in alloc_at
firefox 23.0
rust
and i5-2310
almost as slow as github actions
actions is 3m 30s
insert useless race conditions here
?
gitea pog
sorry for your loss
codeberg
something about gitea company being shitty
I don't care enough about the politics around gitea to care
9/10 I have to rebuild some shit because some random gnu base dep fails
"race condition"
uncommon cameron W
oh yeah, I hate when that happens
I thought you were saying there was a race condition in gitea or something
uncommon?? 

Tbf i think you might need to use SwiftUI instead 
Apple do say it’s the best way to make apps
SwiftUI is totally bug free so you won’t have this issue
true
Real
appkit is apple's way of making swiftui look good
Real
It really feels like apple doesn’t care about anything but iOS developer experience
what do you mean apple loves the ipad
Stage manager PTSD moment
There are very few good iPad apps tho sadly
Most of them are just scaled up iPhone apps and not optimised in any way
IG still doesnt even support ipads properly
it looks like the average ipad app in 2011
iphone resolution with a button to 2x it
is there a way to filter the non springboard apps from a list of all installed LSApplicationProxys
like filter out the hidden apps
So true 
Some guy in my classes uses it and god it looks awful
but still keep appstore and shit
probably has it
- (BOOL)atl_isHidden
its been a couple seconds
951 even
this dumb ass mf is busy 😭
can you not just depend on AltList?
I need some help with sessions n shit
Rn i have implemented my register and login routes, from which both work, and i am also creating a jwt token, but i cant manage to keep the user logged in after a page reload
Like, if i use my login route, send it my email and pass, it returns my name and surname that i have stored in the database, and it also shows my name and surname in the navbar component after $router.push({path: '/'}), but after an actual page reload, it shows me the login and register buttons again
im using nuxt + vuetify for the front and express in the back
🤓
anyone know if this is normal?
(substitute-loader.dylib)[45038] <Error>: ExtensionLoader <private>: Not loading <private>: Invalid filter plist (Bundles is not an array or is empty)
no
@grave sparrow if im hooking a regular objc method thats in another framework, does %hook work the same way
like if im in app, and it has a method -[Class someMethod] inside blah.framework, can i just do
%hook Class
-(id)someMethod {}
%end
can i force the framework to be loaded?
o
do i just put the framework name inside the makefile?
ah
didnt know if it was EXTRA or just FRAMEWORKS
ah
its not stock
thats kinda useful
thanks capt inc!
framework not found
what do i do
what did i do
o
rare capt W
eh actually uncommon his decryption guides are good too
occasional capt W
@grave sparrow didnt work 😭
it still says framework not found
i got a tbd, and followed exactly what you sent
to be declared
Is there a better way to fiddle with launchd than using launchctl through NSTask/Process?
I've looked at "launch.h", but I'm not sure if that's what I should dive into.
alright
It's not like someone has created an open source and permissibly licensed launchctl that sends said xpc messages that other people can use in their own code
METH
Step 1. Find the subcommand that does what you need
Step 2. Look at how that is implemented
Step 3. Ctrl-C Ctrl-V
i want the data but not the weird format
I hate to break it to you
that's gonna be a PITA
launchd writes directly to the file descriptor
They don't give that info in a xpc_object
what the fuck apple
or to a shared memory region if on 15+
hmmmmmmmm
launchctl procinfo @grave sparrow
This subcommand requires root privileges: procinfo
Bro!
What launchctl are you using 
skull dot emoji
launchctl resolveport @grave sparrow
I wish I was joking https://github.com/ProcursusTeam/launchctl/blob/main/print.c#L58
> launchctl version
Darwin Bootstrapper Version 7.0.0: Fri Nov 11 02:52:08 PST 2022; root:libxpc_executables-2462.60.15~35/launchd/RELEASE_ARM64
That's your launchd version
is that not what you asked
Run what /bin/launchctl
Are you using sbingner's or simulator launchctl
And why aren't you using procursus launchctl
i like it

schizo posting
and no bitches
mhm
42 fps
thats some intel gma 950 type shit
hiii
you have an unfortunate name
42 fps on half life
Thats depressing
You didnt even prove a point half life runs on butt fuck everything
It’ll run on my vibrator
bro pulled up half life 2😭😭😭
to be fair it's running through wine and translated to arm
crossover on top
what is luz
tweak build system 😼😼
uses logos on a .x file and builds it and links it and compiles it into a deb in .5s
with concurrent building

so true
Theos is no longer supported by us (tweak devs). Luz will be the new cool!
No, Theo not theos
Theo de raadt

gorn

fr
.
fr
yay it works
how do u
open flex again

was it hold status bar
3 fingers
both not be workin 
broken ass jb
😭
ok works finally
i spent ages tryna get flex to work the other day
only to realise it didnt list substrate as a dependency

was a fresh jb install
iOS 16.5 Engineering Beta is now deprecated
Are you using xina 
What is 16.5 engineering beta
@misty cradle can u test now 
not atm


fr nerds
I bully him regardless
@Fly Emirates™ wanna try luz
gotta be consistent otherwise how else am I gonna be called a bully or a asshole
dragon deez nuts across y our face
me silly goose
it uses my own custom build file
but im gonna write a parser to convert makefile to it
im ngl
its a dragonbuild ripoff
but just cuz its python and yaml is easiest
# CC variable
CC: clang
# rootless variable
rootless: True
# control info
name: Trolley
id: com.jaidan.trolley
depends: mobilesubstrate
architecture: iphoneos-arm
description: TROLLEY BUS DEMO
author: Jaidan
section: Tweaks
version: 1.0.0
# targets
TrolleyTweak:
type: tweak
sdk: ./iPhoneOS14.5.sdk
filter:
bundles:
- com.apple.UIKit
files:
- Sources/Tweak.xm
frameworks:
- UIKit
archs:
- arm64
- arm64e```
btec dragonbuild 🧌
but with ootb rootless support
but less problematic 
yea true
and fast
:intjcum:
ok will do
i was on the fence about the Targets thing
but at that point should i do like
hold on im cookin something up
build:
# CC variable
CC: clang
# rootless variable
rootless: True
sdk: ./iPhoneOS14.5.sdk
# control info
control:
name: Trolley
id: com.jaidan.trolley
depends: mobilesubstrate
architecture: iphoneos-arm
description: TROLLEY BUS DEMO
author: Jaidan
section: Tweaks
version: 1.0.0
# targets
modules:
TrolleyTweak:
type: tweak
filter:
bundles:
- com.apple.UIKit
files:
- Sources/Tweak.xm
frameworks:
- UIKit
archs:
- arm64
- arm64e```
is that better
yea thats what i call them in the source code
i just forgot to change it in the file 🚎
ok
thats what i'll do then

this looks nice
now can you support matrix syntax like gh actions 
does capitalization matter in the DEBIAN file
yea
yes
but i handle that in the parser
ah
wait but like i need opinions
OpenStep plists my beloved ❤️
like if i actually do go and finish this
do you think devs would use it
oh
i do
thats the default
you can change it to bzip2 or gz with an arg
i need to add zstd support actually
idk if python has it
true
doesnt mean it shouldnt be an option
true
dose SecTaskCopyValuesForEntitlements not have a symbol? i am trying to use fishhook on it i am getting nothing but this works SecTaskCopySigningIdentifier i looked at the source code for these and they are similar
yea i did a symbol look up with dlsym and it worked perfectly fine, not sure why its not working with fishhook
meta:
# CC variable
CC: clang
# rootless variable
rootless: True
# sdk
sdk: ./iPhoneOS14.5.sdk
# control info
control:
# package name
name: Trolley
# package bundle id
id: com.jaidan.trolley
# package dependencies
depends: mobilesubstrate
# package architecture
architecture: iphoneos-arm64
# package description
description: TROLLEY BUS DEMO
# author
author: Jaidan
# section
section: Tweaks
# version
version: 1.0.0
# modules
modules:
TrolleyTweak:
# module type
type: tweak
# bundle filters
filter:
bundles:
- com.apple.UIKit
# source files
files:
- Sources/Tweak.xm
# frameworks to link
frameworks:
- UIKit
# archs to build for
archs:
- arm64
- arm64e```
cc @grave sparrow
yes
also yes
already done
🧌
tyty
its so fast too
have u seen the screenshots
depends on 2 libraries
both of which i made
@grave sparrow
no

well its a python project
so you install it with pip
install process will be
pip install luz
and it'll work ootb
this project is so based
install path? ie. if i want to put my tool somewhere else
also can files have directories/glob support?
yea
i mean i'd genuinely use this
python too so i can actually understand the code
globbing should be very very easy anyway
what architecture are you using
dyld install name
are you fr building a custom linker
oh
I thought you meant -dylinker_install_name
then why'd you call it "dyld install name" 
wait how do you change that

that is for when building dyld
loss
DON'T YOU DARE TRY AND MAKE A CUSTOM LINKER
that's misinformation iirc
you're just like my mom, believing everything you read on the internet
saturday
tfw my mom asked me if they actually had litter boxes at schools for kids who identify as cats 
@grave sparrow should I use MS api directly or keep using logos?
https://twitter.com/3dgifdubstep
credit artist :)
say yes
i'll keep using logos
the ellekit api is the best
I'm not rewritten quickactions in swift
never
@grave sparrow does zefram have all the arm instructions
lol gir is so slow
this bot sucks
@restive ether unfilter k y s
Hey @ocean raptor, have a look at this!
Don't bypass the word filter. It's there for a reason.
@ocean raptor JBHookFunctions: NSDictionary
@tidal cradle
Hey @hasty ruin, have a look at this!
No personal attacks, accusations, harassment, sexism, racism, or general malicious behavior. This includes, but is not limited to comments that we deem to be of this nature.
can't since someone might actually kill themselves cause discord is all they have
skill issue tbh
I agree
nah this is more like member ultra
fr
what
you should just learn the subtle way of telling people to kill themselves honestly. It isn't as harsh and with a lot of people being tone deaf you it would just go over a lot of people's head
disappear by death
unalive yourself quickly please
@ aaron
I can't ping Aaron anymore he said I would be timedout for a day regardless
wtf
thats what everyone thought happened to maxasisx
🗿
when they had a life for 3 days
noooo people aren't on discord constantly 
fr I got blamed for that as well
fr
it's discord man
how is it that gir is the only bot that's slow
and every other large server i'm in the bot is fine
this happens?
@grave sparrow @next wadi @restive ether lulz? more like ballz! My build system is better (still WIP)
LDFLAGS += -fobjc-arc
CFLAGS += -fobjc-arc
LIBS += -lsubstrate -framework Foundation -framework CoverSheet -framework CoreTelephony -framework SpringBoardFoundation -framework UIKit
all: QuickActions.dylib
QuickActions.dylib: Tweak.o
$(CC) $(LDFLAGS) $(LIBS) $^ -o $@ -shared
%.o: %.x
logos.pl $^ > $<.m
$(CC) $(CPPFLAGS) $(CFLAGS) -c $<.m -o $@
rm -f $<.m
.DEFAULT: all
jit trippin
its called luz you silly goose
possibly some people are truly way too addicted to forms of media that hits that sweet spot of dopamine so they have mental break downs when someone else comes and crushes their whole view on it
Why is it called light
the way you package it into a deb is pretty nicely done
give me 5 min
I'm working on that now
also, stfu
at least it's better than theos
I should introduce you to this build system I work on called “Theos”. in a few lines you can have a full build and packaging system!
nuke silicon valley
/usr/lib/TweakInject, right?
Please do destroy Northern California I hate how tech companies have ruined housing here
bro trynna kill 90% of the tech industry’s workers
I need the cost of living to actually be an actual living cost
gm
gm
general motors
i have never ever touched appkit on its own before


google it bruh
one day there’s gonna be an earthquake that everyone hand waves as “ah whatever just another one” that actually wipes out the entire state 

becomeFirstResponder

how is there not a lawsuit
[textField selectText:self];
[[textField currentEditor] setSelectedRange:NSMakeRange([[textField stringValue] length], 0)];``` idk
yeah that is fine tbh we deserve it for making the cities too god damn high to live in
ok
this takes about 15 weeks to run
People earning 6 figure salaries and still having to share an apartment shouldn't be a thing in this state
why are you focused on one state
lmao
cause I live in that state
stop doing that
and I hate seeing it
this is deprecated and wasnt supposed to be called directly anyways
rf
@grave sparrow did it work
why the hell
idk its just what i read
who are you? the compiler? idc about deprecation 🤓
doesnt cydia use uiwebview and uialertviews extensively

arent those deprecated
💀 💀 💀 💀 💀 💀 💀 💀
yes
cydia update sarikc eta wen
what was that?
Austin Texas has entered the chat
dfw doesn't seem awful
fair
capt moment
based tbh
fr rip Texas in general once they start seeing that giving incentives to tech corporations won't lead to their blue collared population thriving
I don't recommend resting at xray
What if I like cancer
then you have a serious problem
ban capt
FR ban capt
cause capt is worse than swift
So you're essentially forced to just kill whatever dlopened it
Lol
So a temporary memory waste if your program doesn't need the library anymore
true
(it's not)
is there a way to just download a private framework from an ipsw so i don't have to download the whole ipsw
i wanna diff WorkflowKit & ActionKit but don't want to deal with my slow internet
no
sweet
fr
@grave sparrow @lime pivot https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=2c2f7066bd8c3209762762fa6905fa567b08ca5a
zefram ui leak?!
anyone know how unc0ver exits itself back to the homescreen
i'm so glad this isn't the case for me tbh
@indigo peak where does one find theos swiftui app thing
is it on orion branch or something
🆙
this is fricking schrodingner's cat
my app is having an error when its not connected to debug but when i plug it into xcode it works
They pulled it apparently
It appears Apple has pulled the tvOS 16.3 update from their release page.
182
Probably why
I originally got the tvOS 16.3 update but then it got pulled. However, I never received the HomePod update at all. Hope to see these by Wednesday
HomePod too
That’s an L
So true
it wasnt schrodingner it was just my mistake in my code trolling me and deleting the file half the time and creating the file the other times
yasss
Apple using facebook stuff in iOS ?!?!?!?
why is swiftui file importer sometimes not allowing users to select files?
yes, because people won't just get it
its imporved now
whatever this is you should bother deleting it right away
imporved
theyre words
words for what?
so i made some changes @pearl sail @grave sparrow @ocean raptor @native dune @timid furnace
i took a look at the dragon src for some inspiration and decided to opt to using a format where i define default values for the luzbuild config file in a separate file, as opposed to defining them in the code
this somewhat slows things down by a few ms when you don't manually define them in the LuzBuild, but if you do things are a lot faster 😼
heres a screenshot of me compiling my test tweak for rootless, using archs arm64 and arm64e, with the gzip compression algo being used for the deb
SO TRUE
be fr.
use better font 
what was deleted 
my 15 second tweak build
get a load of this
they got muted for ping spam
luz can compile a 21 file tweak

ok now test it with a ramdisk 

im going to open source it soon with semi-usable testing compatibility for a tweak and a tool
one of mine takes 30s
like 60% of that is logos preprocessing 








🧌
















You are missing a filter property list. Make sure it’s named BatteryAssembly.plist.
nfr
isnt a problem with luz unfortunately
RATIO'D BY LUZ
no way you name your makefiles Makefile.make 
captain incorporated
then bully him for being 🙃
whos luz
Mastodon more like masturbation
you're crazy for thinking that's gonna happen
you're so fucking childish
damn it im gonna try
@grave sparrow gmake -f Makefile.make clean package FINALPACKAGE=1 1.08s user 0.89s system 91% cpu 2.171 total
luz is
2.8421052632x faster

just the one
i ran luz build and timed capt's makefile
and then did the divison

ok i open sourced it
please bear in mind that the code is actually fucking horrible
im making steps towards cleaning it
i tried to comment it as much as i could but it could be better so it might not be very understandable
cc @native dune python 
star it faptain kink
real
__main__.py inspired by palera1n-py /s /s /s
Token logger
unironically yea
with a lot of my code i dont like changing what works
ratio
that was supposed to be private

true
anyway this is really cool
tyty
i see leftover palera1n-py imports


its ok palera1n-py has a good file structure 
only add comments for stuff that isn't obvious or is counterintuive or something similar
thats what i do
cuz im a palera1n py dev 
oh also theres tons of logging libraries you can use which will save you a lot of time and line length
do you think im allowed to post this in #showcase
i want clout
dont look at the commits
i shouldve purged them
i was having a hard time getting some stuff to work

true
but just rebase


your cringe build system? sure
0 = 0
untrue
oh btw @grave sparrow
the atom warning thingy is there for me using theos too
so its not a luz problem 🧌
I think you highlighted the issue with the request
wtf is tabby
not dumb im actually gonna do it
as best as i can anyway
theos with defined compression algo and sysroot
Not iTerm

luz with defined sysroot and compression algo
1.2s difference
howisthisman
oh
cuz its not compiling duh


there we are
interesting emoji
ty
ok
<redacted>
luz?
so like
in theory
you should be able to use the theos toolchain and an sdk and build with it
but i havent tested on linux
sooo idrk
i mean theres no reason why it shouldnt work
well idk
what clang version are you on
Capt just fix your alignment
you can't compare an assembly tweak

make a bigger tweak for more cpu
so i can benchmark it against my pc
well the only bigger tweak i've tested is unreleased and is gonna be paid
sooo

@grave sparrow whats an appropriate version to make the minimum default
14.0?
you got it
i added custom install path btw @grave sparrow
we ballin
have a peek at the default cfg
these are the values that the system falls back to if they're not defined in the luzbuild
problem is not everyone has a mac
default sdk is xcode's latest iphoneos one
ok
should that be for both tweak and tool
oh
nfr
ok
i'll ass
ADD
anything else @grave sparrow
cuz im a little confused about it
ok
whats the best way to compile a multi src file binary
ok
i do that already
but then
how does onlyCompileChanged work
if i have to compile every file every time
fr
yea do that please
wont this break on paths with spaces
stop being lazy and just make it a list smh
why
not always
let me have my rootless ios 13 in peace
so you can test rootless without having to test ios 15+ bullshit
ez
uhhhhh
https://github.com/LuzProject/luz/blob/main/luz/deps.py#L32
isn't shell=False by default? how tf does this work
How broken is your computer????
You realize clang links libSystem by default
Unless you specify -nostdlib
i just didnt want to output the shit from git
troll
also fyi i am a very strong pathlib supporter
if you do not use pathlib im boycotting this
(i havent checked yet)
die
pathlib is better
its more pythonic
its more concise
i can do ```py
path_to_c = config_dir / "a" / "b" / "c"
yes but
pathlib or ban
im gonna fix it all soon
everything else is forgivable
pretty sure you have to use the same format_path function or whatever you're using now
but you don't need to split it on /, you can just iterate over .paths
L
wait not .paths
oh smart
yea idk i just use autocomplete
@grave sparrow im gonna link with libSystem just in case
wdym
there is sense
you implement it now, then later you can remove it and say you made performance enhancements
also @timid furnace would i still have to use glob for wildcards with pathlib
come on capt
depends on how much wildcarding
if you wanna do like
*.dylib
Path("car").rglob("*.dylib") is a generator (use .glob if not recursive)
🤔
but if you want to do something like
Path("car/*/a*/b*/c*/*.tbd") there's no one liner for that
i have some function for it
pathlib is old enough that a lot of the stack overflow questions for path manipulation have pathlib answers tho fyi
like i just want the user to have the option to use wildcard path names
So if i wanted to compile all files that end with .x in "Tweak/"
expands globs to your hearts galore
I could to Tweak/*.x
yea use this function then
or google "glob pathlib" and find the original stack overflow source 
trollage
(best to do that tbh in case you have some implementation specific quirks)
which ios
out of curiosity
ok @timid furnace @grave sparrow
im gonna mull over ur suggestions and ping you once i have them done
can you benchmark _isSupportedDeviceIdentityClient too
yea
PF/DeviceIdentity
PrivateFrameworks/DeviceIdentity.framework
yes

lmao
you have public and private symbols but what about protected symbols /s
have you ever wrote java or c#
good
you don't need to know what protected is then
its like private lite
yea I was just making a play on public/private/protected in java and c#
in java
Should still exist yea
Does anyone even link against libblackjack tbh
Why is it separate
@grave sparrow i just got the best idea
how do i extract dyld_shared_cache, dyld_shared_cache_extractor seems to be failing for me
oh my god
what the hell
punch my momma in the throat karate chop my daddy in the chest
what the fuck
oh my god
no
bullying is not permitted
gm
@grave sparrow zsh: killed FirstContact
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>platform-application</key>
<true/>
</dict>
</plist>
it is
ill ldid
yeah it is
Jan 23 22:38:57 iPhone ReportCrash(CoreAnalytics)[72383] <Notice>: Sending event: com.apple.stability.crash {"exceptionCodes":"0x0000000000000000, 0x0000000000000000(\134n 0,\134n 0\134n)EXC_CRASHSIGKILL - CODESIGNING","incidentID":"395AAA97-1376-458A-A4D2-2CFC75A2930A","logwritten":1,"process":"FirstContact","terminationReasonExceptionCode":"0x1","terminationReasonNamespace":"EXEC"}
What
Also way slower than MS
custom install path @grave sparrow
i wouldnt consider 30% more time way slower but yea he took an L
find #3 in <2ms and then you won
ok whats normal mode
did you run it in this controlled test environment
or did you just not because the result would make it look bad

this is me behavior
i would do this
🚎
any statistician would
how long does it take to find symbols 1,2,3 then

i dont really see the win here
cus substitute does it in 2ms
nfr
okay buddy.
okay buddy redacted
true
did you check to see if the symbol it found is correct
did you check to make sure it didn't return an error
capt rn
@grave sparrow sjss time?
fr
super javascript sucks
sjss
[redacted]
|| ntwerk ||
@grave sparrow why didn't you benchmark ellekit?
same reason apple doesnt compare against last year

the chad response would be "im swiftphobic"
what even is a zefram
nullptr
good de bugger
agreed
nvm just info reg
No its not
virgin arm64 users
vs chad x64 users using 15x the powee
flag bloat

huge win
if you like flags you're racist
wtf I'd this
eh true ngl
obviously I have gdb
I have needed to backtrace
gnu > ccp > nazi
What about cp
everything else > those 3
probably the nazis since their war crimes are more documented

Weebs
weebs are worst
imaging wanting to fuck a dog
true
Likebrolez
fr











