#development
1 messages · Page 282 of 1

rsp and rbp
2 is rip
ebp esp
there arent encodings to deal with the instruction pointer manually so you get to use hacks
:nfr:

_ _
true
nfr
for emotes
getinstructionpointerLMAO:
mov rax, [rsp]
ret
call getinstructionpointerLMAO```
nfr
wtf
call getinstructionpointerLMAO
can someone pls transfer the knowledge of assembly to me
or symbols were stripped
yea true man just pay 4500$

Not as bad as when I cast from auto in c++ using pointers/classes
trust me, that ain't shit compared to the stuff I have to deal with
Dra1n Source Code 
yknow i feel like writing half of a file in one liners that abuse stdout in a completely different programming language is probably worse than messy casts

i use python -c to call exit so i can grep exit codes using $?
THEY HAVE A MORE PRODUCTIVE SCHEDULE THAN ME AHHHH
I wonder how big this source file would be if I took out all the empty lines 
click format code
this is a fucking insult
lmfao
I tried, VSCode crashed
i write shit code but thanks to my IDEs it's well formatted shit code
Lmao
that's actually clean though
only acceptable way i could do this dict comprehension
I like reading that
Python 
Yes we know
just spend a day or 3 fixing it then
no
i spend 80% of my time developing just fixing awful shit i previously wrote
efficiency™️
I spent about 4 months slowly removing shit code from Multipla
And i still haven’t gotten it all

theres an easier way
I told myself I would finally remove it all by the end of the summer
And here we are
rm -r multipla

Pretty much I did
:nfr:

@half walrus do you think it could autoformat this 
appcode could yeah

which u should be using if ur code looks like that
if code in a codebase upon which you are doing work looks like that***

where the fuck is this coming from
i changed the path literally everywhere in the generator
the variable is right
^ this is what debugging dragon looks like
dude, about half the variables/commit names that mega wrote are spelt wrong

i forgot to ```sh
cd $(python3 -c "print('.' if '$i.ninja' in '$(ls | xargs)' else '$i')") || drexit
python3 -c "exit(0 if ('${project_dirs}'.count('.')<2) else 1)" && mv "$(ls *.ninja | xargs | cut -d' ' -f1)" ./build.ninja
woops
fair enough
it uses one of my favorite things
python -c 'print($(bash code here))
because
if we're gonna use python in bash
might as well use bash in the python we use in bash
:)
One of my irrationally least favorite things on earth are combining two languages where one does not depend on the other
lol
yeah it's bad
Like it makes me 
bash couldn't handle the logic i needed while keeping me sane
so dragon.sh uses a shit ton of python -c which abuses stdout and stderr and exit codes
Reeee
brb gonna rewrite dragon in bash
- mcapollo
and to make things easier on myself i sometimes use
$() within the python -c lines
so bash in python in bash
currently rewriting it 'properly' in python as we speak

although i wrote a system() replacement so i use some lazy ass bash here and there
dir = ('.' if project_name+'.ninja' in os.listdir() else project_name)
ok that's the first line
now what the actual fuck
🆗

yay it works
it is tempting

not gonna import another pip library to make being lazy easier
dragon doesn't currently have any pip dependencies other than pyyaml
and i'd like to keep it that way
Oh fair enough
trying to write out as many dependencies as possible
ideally it'll eventually have none
so it can run on windows
w/o linux kernel fuckery
Unfortunately I don’t think you’ll ever remove the biggest and most difficult to install dependancy: a brain
this is enough for now
the bash shit i just wrapped in a bunch of system() calls needs to be done properly in python
never even saw that issue
Lmao
would've had an aneurysm if i did
Yeah my Python fucked itself when I updated to big Sal in the beta
Correct
hoh boy
python3 -c "check = lambda x,y,z: (lambda s: (s.settimeout(z), s.connect((x, int(y))), s.close(), True))(__import__(\"socket\").socket(__import__(\"socket\").AF_INET,__import__(\"socket\").SOCK_STREAM));check(__import__(\"socket\").gethostbyname('$DRBIP'),$DRBPORT,$DBTIMEOUT)" 2>/dev/null

boom
gaming
You do not have permission to use this command.
Rude
Lmao
!ban 726214891970625549 no gaming
You do not have permission to use this command.
!ban 383869862088278016 no gaming
You do not have permission to use this command.
on jah?
Where to learn making tweak?
how long does it take yall to develop tweaks
That’s like saying how long does it take to drive somewhere:
- It depends where you’re going
- How you’re getting there
- Who is helping you
2 weeks for me
Depends on prior knowledge
If you’re already fluent in ObjC and co, not long at all
If you’ve never touched any programming, a long time
what the fuck
8GB memory
minecraft client shit code

@tepid olive ikr
YES I FINALLY GOT A WORKING MOB SWITCH AHHHH
why was it so complicated to design lmao
Minecraft 11/21/2020 11:03:26 PM is one of the millions of Minecraft gameplay clips & videos on Medal. Join today and see more clips.
Because you suck

because minecraft chunk loading is bad

no but the persistence tags on mobs are really odd
and mobs with persistent tag dont count toward mob cap

pain
There are like 3 options for mob switches in 1.16
Shulkers
Withers
And non persistent tagged zombie villagers which are hard as fuck to get
Lol
burrit0z is officially haxzz dev
Refcount:
UAFS be like STOP THE COUNT
WTF
It’s a mach joke you wouldn’t get it

I already did

do you really need an oracle account to download JRE
that's dumb
and since when
someone please tell me i'm wrong
the heck
all for JRE
i hate this
yes
oracle needs my work phone



Yup lmao
This is why you take c++ and not java
l
bruh you really gotta answer 80 questions to get jre
oracle being dumb dumb
any alternative for flexing ios 14 for debugging?
Hey, I bought a new MBP (intel) and I tried installing theos again. Now I am getting this error when compiling my existing projects (basically changed nothing):
Does someone know what the problem is?
would someone happen to know why i'm getting this error after resetting
the ctype.h file exists too
I encounter the same kind of issues on my new MacBook. wdym by resetting?
Evidently not 
One thing I could suggest, of an issue I’ve encountered. If you’re manually specifying an SDK in the Makefile, make sure you actually have that SDK. If you’re specifying one that doesn’t exist, you won’t find anything, obviously
try manually importing foundation 
libFlex works fine
afaik
i have used it on ios 14 with no issues in SpringBoard @stark marlin
just download from old commit
To a version which doesnt require each header to be imported correctly?
I tried this but did not work
rip
do you know a commit hash that doesnt have this?
I went back a year ago
which should be enough
oh ok 😄
this is the most annoying change ever
literally all my tweaks are broken now with new theos
everything was ok there are prefix pch still automatically linked foundation and shit
@ionic cobalt does it give you an import error or something similar when you import Foundation/Foundation.h
if its successfully importing thats at least a start
it is importing sucessfully but it is missing a lot of methods and stuff, so I have to manually extend the headers etc. for literally everything
I already swapped out the SDK and it does behave the same
I used the same SDK on my older MacBook
without issues
rip
i would not recommend doing that
it would obviously be better to find a solution to this issue instead of patching it up
i would just zip up and send my theos folder to see if it makes any difference, but its 4 gb apparently
Bruh
I will try this with Litten I guess 😄
thanks for your help
np

Btw
Use this for Clang 11 toolchain
It’s the same one from before but with more stuff for building Xcode projects


ugh using the default toolchain outside Xcode isn’t a very good idea
It has a lot of relative dyld search paths which are expected to point within Xcode since it’s always supposed to be located at a pre-defined location within Xcode.app
its always worked for me
¯_(ツ)_/¯
and that’s the main issue I know about but there might be (and probably are) others
fixed the theos issue, now I am getting this weird errors. (everything has been working before, on three different Macs, the methods are declared correctly)
Someone knows what the issue is?
Have you tried compiling Swift with it
no i probably should
because it crashes with dyld errors
i don't want to install xcode 11.7
do an otool -l on any of the swift binaries and you’ll see the issue
there are multiple LC_RPATHs that look like @executable_path/../../SharedFrameworks/ or whatever
It might be possible to modify the rpaths but then you’ll need to bundle Xcode’s framework dirs as well and also there won’t be any guarantee on Apple’s end that it’s going to work
@nimble parcel that toolchain I linked works compiling my Swift Xcode projects
It’s the easiest way to get clang 11 while still using Xcode 12 
does it use Swift 5.2 though?
maybe it’s using the xcode 12 copy of Swift?
Because I’m pretty sure you can’t use the one in XcodeDefault.xctoolchain as a stand-alone binary
I literally went into my Xcode 11 install, copied over some Xcode tools and bundled it up
it works fine for Theos
did you copy them into Xcode 12 or is it separate?
Separate
I have both 11 and 12 on my drive
It’s not an elegant solution, but it’s the best way to circumvent ABI changes
13.0 or 13.x?
13.3 has been my go to for ages now 
@tepid olive can procursus compile for macOS and linux too?
We might be able to distribute a 5.3 old abi toolchain if it does
@nimble parcel theoretically it can for macos, linux no way
Im workin on the macos thing
Because linux needs a ton of different flags and im too lazy to support that
I’d assume jailbroken userland is closer to linux than macOS though
Well yes but compiling is not
have you tried cross compilation?
or is that the issue with the flags
Yeah thats what im getting at: cross compilation for linux (or even regular compilation) needs a lotta different flags
Im just lazy
Like thats it
haha I get it
@grim sparrow do you have a notched device by any chance?
No sir
tbh a simulator should be enough


would you want to make a little notch hiding tweak? 
I mean
Thinking about it
Just move the status bar into the safe area, force it to non notched status bar, throw a UIView on top of safe area?

what will it be 
uhhh

you know how theres like battery and shit on the notch right
yes
Oh god
yea basically
so why not use notchless + battery notch tweak

idk
.
there is no need for a new one
would just be a waste of time
true
wheel needs to be reinvented
to be better
Why did the wheel take so long to be invented anyway
Surely it’s just the perfect design for rolling
Nah you just draw a circle




@lapis vessel wtf squiddy is b1g brained
@misty cradle yeah he doesn't realise how good he is lol
BRUH
respect for the effort he went through just so he could have intellisense
@tepid olive please do ur minecraft stuff in #general
@lapis vessel wait what does he use
VSCode?
however
# gzip is great though because the packages end up tiny.
dpkg-deb -Z gzip -b ./out/package ./out/package.deb```
this is 
this is development related
smh


jetbrains' packages I believe
CLion to be more specific
valueForKey and some others didn't allow me to hook the ivar
lool
nice CLion
i would do the same to get intellisense 
its why i use AppCode rn
but it sucks in the .xm file
yeah I just really accept that I'll just be using text editors for my iOS stuff
yeah appcode is macos only
is there really that much market for app dev on windows with no interface builder and no way to publish your apps?
leaked image of his taskbar
@lapis vessel imagine having money
education edition exists
@lethal kayak imagine having education
Just be like me
And fill in a new email address everytime the 30 day trial finishes
And fill in a new email address everytime the 30 day trial finishes
@misty cradle

honestly tho
me, with any streaming service
Uhh, my first tweak, any thoughts or suggestions?
0 votes and 1 comment so far on Reddit
Looks good to me, other than some code styling issues
What do mean exactly?
SwiftUI closes a big gap in cross-platform actually
no more need for interface builder which apparently nobody has been able to clone very well
gm kirb
gm
how r u doing on this fine day
as much as people say they hate it
SwiftUI looks really good visually imo
tho it looks cursed af in swift
lol
swift 
is there a good tutorial for basic UIViews in Obj-c
cause everyone seems bent on making sure all I see is swift
just look at open source apps on github

swift > objc
no
LOL

limit your searches to 2008-2014
true
or just write in swift
no

lmao
excuse me?
you actually do that?
pretty much
easier to write UI that way
one of my tweaks is essentially all xcode UI and then hooks
np
HOW TO CREATE UIWINDOW """programmatically""" is how i roll
why tho
if you use xcode you might aswell use storyboard
^
for a tweak?
yeah i'll pass
only xcode because it's faster to test UI than to build a theos package every time
it's slower that way
well xcode will write most of your logic if youll use storyboard i thought it will save you some time if you already use xcode
UI-Wise
not program logic
why does this matter?
doesnt. im interested. in other easier ways to develop tweaks
like i said
i just use xcode for faster UI testing
i could use storyboard but i don't
does anyone have any idea how to make a function that uses fontpicker for IOS 13 not compile in ios 12?
i thought about #define on the version and then use #ifdef, is this the right way?
run time is not good enough for me
ah
i just read that line again
its just if i use font picker for ios 13 it forces me to add this line export TARGET = iphone:clang:13.0:13.0 in makefile
which breaks the preferences for me in ios 12
How does it break preferences
dont know. just clear blank page with no options
when i disable this and remove the fontpicker it works
Either sdk is wack, deployment version is giving it issues or maybe your code’s logic is bad and doesn’t use an iOS 12 fallback
well
it works for me on arm64 with ios 12,2
but today someone with arm64e and 12.1 told me its broken
sdk issue seems about right
ill find something for that
API_AVAILABLE(ios(13.0)) thats good enough i guess






True
Date of stream 21 Nov 2020.
Live-stream chat added as Subtitles/CC - English (Twitch Chat).
Stream title: tinygrad: Apple Neural Engine, can we support it?
Source files:
- https://github.com/geohot/tinygrad
Follow for notifications: - https://twitch.tv/georgehotz
Support George: - https://twitch.tv/subs/georgehotz
Video archive: - https://youtu...
lmao geohot being an objective c noob
8:50

wtf
HAAH
<button>.layer.cornerRadius = 50;
i made an eyeball
iOS development is sus
it's... different
not bad, but different

smh
Why do i get this alert even when building & installing with theos?
(i'm trying to access siri shortcuts in an app built wtih theos btw)
adding the application-identifier seems to work but then it's a free account and i technically shouldn't need this entitlement right?
@grim sparrow exactly!! Then why is an app installed from Theos' make package install even show this
woeis
i.e.?
the application-identifier entitlement?
@grim sparrow yeah i tried using the application-identifier entitlement and that works. I'm just worried that the app will break for everyone in a week since mine's still a free account and i think the team ID changes when xcode fetches a new provisioning profile?
or since i am installing with theos it doesn't matter anyways?
so i just use whatever xcode shows for me now?
Wym
- the app bundle id in entitlements?
wwwwaaaaaaaaaa
i think you should continue the description of your process charlie, might shed some light into his problem if he reads your procedure
@grim sparrow true amy do that
just for context i get this error when i try presenting the add to siri viewcontroller
Aight so imma use signal as an example here but it probably passes on:
To get the cellular stuff I need CommCenter entitlements, which are essentially private entitlements. I can’t give those with a dev account, and need ldid to make a fake certificate essentially.
So I made a Jailed target that didn’t try and get any cellular info, and I just hard codes values, so that I can build and run from Xcode

So for example if you’re doing NSTask, you should not do that jailed because you need fancy entitlements

yeah yeah i get that
but this seems like a weirder issue
it looks like when you use siri stuff it looks for a bundle ID match?
Yeah
You don’t need to add the Xcode Wildcard ID
Are you fake signing both the extension and the app?
i dunno
Aight ok
how do i fake sign the extension?
i might have forgotten to fake sign the extension i think
It should automatically tbh if you’re using Theos


ye
I don’t think you need to take into account application identifier when using ldid 
@grim sparrow remember when my app used to break only when jailbroken? that was also because of this
the black screen when generating gradients

then i sandboxed the app it started working again
Ok the way I fixed Signal was just opening Console and filtering to warnings only
And it spewed out I was missing IOKit entitlements
For some bizarre reason
@grim sparrow but the problem is that this runs fine when it's running through xcode
when the entitlements all match out
Yeah I had that same issue
But for whatever reason
I had to add IOKit stuff
Fr I had to add all that security stuff for it to work when built from Theos
It worked fine from Xcode

Do what I didn’t do, just check the console for errors
but they just use this single entitlement:
<true/>```
hmm
brb
@grim sparrow what was that cli command that let you see the entitlements of an app?
ldid -e binary
oh
God, wtf safari has so many fucking entitlements
smh, ok it looks like i don't need those random xcode characters before my bundle id
Springboard has the most, or Preferences, I don’t remember
<key>application-identifier</key>
<string>com.apple.mobilesafari</string>
@grim sparrow i hate how literally the notes app has more entitlements than more powerful apps on the app store
I’m convinced they’ve just got a default private entitlement set
Notes doesn’t need any entitlements, apart from a bit of Siri iirc
yeah fuck them
lol
@grim sparrow yeah it started working without that 10 character gibberish at front
then it shouldnt matter since ldid should take care of stuff

I think it does, bc u can make notes while locked
china has launched 6g

I saw that
i hear @tardy narwhal will be launching 28g soon
The article was dumb
Something along the lines of "China has launched it's first 6g satellite. We don't even know what 6g is yet"
"RRRReatrmpe 9afioasf..\n" https://github.com/ZecOps/FreeTheSandbox_LPE_POC_13.7/blob/main/ios13_app1/ios13_kernel_universal.c#L2196
@river hamlet In the UK only like 11 major cities have it, I'm lucky to be on the outskirts of one (which before rona I was in quite a lot), but ya know, A11 soooooooooooo
guys do you know how i can access the documents directory of a specific app?
from a tweak i mean
eeeeeeeeerrrrrrrrrrrrrrrr
standby
@lament mica https://github.com/KritantaDev/appinfo

Hey, can anyone help me here quickly?
Anyway to fix this?
Okay. Which one?
Okay. How so?
From the Mac SDK?
Okay.
and use #import, not #include
@grave sparrow I didn’t do that. Someone who made Odyssey did.
Modifying Odyssey.
Remove Sileo and add Cydia.
That and SafeMode.
Never mind.
lul


Gm
@marsh sentinel damn bro who’s the sexy man who lets you get Cydia on Odyssey and remove Sileo?
lmfao
anyone know how i can use a normal container with an app installed using theos?
Bro isn’t that aaron
i thought their name was diatrus smh
i bet you wish you could be that guy @tepid olive

Yes
True
!false
Its time for a name change
Be prepared

Thank you for the inspiration @tepid olive
pog
i helped
@tepid olive Don't ping me for shit that makes no sense. Some people, like myself, hate Sileo.
@primal perch
mood
a simple "thanks" would suffice
@misty cradle Don't ping me for shit that makes no sense. Some people, like myself, hate Sileo.
gang gang
why can't you pip i when you can npm i

pip needs to step up it's game so we can save ourselves 2 seconds typing out install
pip
tab [completion]
why aren't u just manually downloading the library and using it 
tab [completion]
@marble tiger LOL
.
one scary button 
.
bruh
moose
lol
shitadev
:sofuckingmoose:
i'm using it to install a local package, cause some guy mistyped download_url
in his setup.pu


can't wait for him to ship me a dick or something
pip install ./

May we clean up the pins? Unfortunately I’m not confident which ones are shitposts and which ones aren’t
lmao
i'll go ahead and do that
Thanks
nvm mobile sucks

THANK YOU SIR

Been looking for that everywhere
you have a .gitignore
Should hide some important info in a .DS_Store
lol
wait so i’m confused
did you and mega get in an argument 
you dissed his code in the readme

GG
sensible
yeah the code is shit

and mega didn't write jack shit
time to tweet about this

someone ping mega first
frcoal
man really just took the cash
@azure sail
Is this legit? I legitimately can’t tell: #development message
diss
lmao @marble tiger
Thanks, unpinned
stfu

no







i have to do a zoom for band class in a min

i wanna kms i didn’t practice this damn music at all
lmfao
what's the diff between format reformat again?
ah

true
hiiii
it still looks like shit
L
@gaunt mesa
well not the PoS part but
hiiii

wait I should put the original blame on
so I don't get called out for shitty code on tweak


true
foo = 5
true
HELO
GMMM RENNAAAIII
GM
jah
oh yay











rip




























