#development
1 messages · Page 165 of 1
yes
Lemme pull some code up and see how I’ve done it from c before
I can't believe you'd ever think I'd write sw*ft
print the current env vars form environ
sure one sec
cars*
true
I was mixing u up with icraze
Speaking of cars fiore, how’s that turbo coming along?
rlog moment
no
o
u

bro
I was talking about myself duhhh
just copy all the vars into a new array first
then edit it
ah sure that makes more sense
ok setting this as PATH seems to have worked
but uh seems not great so I will look into how to fix this
why does it not seem great?
i mean, its not guaranteed, but like most if not all rootless jailbreaks should be the same
let env = ["PATH": "/var/jb/usr/bin:$PATH"]
this is what Derootifier does. I think what I'll do is do the same thing where I prepend /var/jb/usr/bin/: to the original string
yeah, just do that
if it works, thats all that matters
its not like u need it to resolve any of the other paths
yeah
so just put usr/bin cuz that's what u need
awesome
yeah libiosexec should handle it
nice
Minimal, simple, efficient, statically typed, compiled, meta programmable, safe and extensible systems programming language with a Lua flavor.
I'm switching to this
compiles to native code
it's the same syntax as lua
except you can embed C
import C
etc
no
no
write asm
just want to know this so I dont do something stupid later on and regret it
good
this at least lets me use my existing code
I also really don't like objc syntax
its good imo
I mean it's fine
I'm just not a big fan of the whole
@
I don't like looking at @
ideally I'd like to use C#
C# is the best programming language I have ever used
it has the best things of all my favorite languages
I know Xamarin exists
but I don't think I could use it for tweaks
(?)
nevermind
the use of @ does get annoying fr
this has the limitations of no reflection though
I could use JIT for .NET, but that requires compiling the runtime for iOS which I don't really want to do XD
damn
I could even use C# UI stuff
time to bust out rider
gl with windows forms on mac
this exists for a reason now
this is how much i hate C#: I would rather use swift
and xaml is the worst thing in existence
what did C# do to you

no live preview of what you’re doing
be the worst lang ever
no drag and drop editor
yet my peers decided to use it for an internal tool 6 months ago
the application is obviously shit
hm
slow, microsoft, mid syntax, hell if not using vs
it isn't hell if using rider
I really like the syntax
but I guess it isn't for everybody
is there a way to work around it lol
tldr it’s shit if you’re not using windows
markup based UIs are fucking garbage
yeah trueee
like
programmatic UI my beloved
Was just thinking can you chroot on iOS?
uh, maybe...?
xaml sucks, storyboards suck, nibs suck
real
swiftUI and UIKit are the only ways to go
there is 0 reason to even use a markup language for UI
unironically
(UIKit is kind of messy)
at least imo
I don't like calling a million functions to get a UI
but I also don't like swift
I just use GPT4 to generate swiftUI for me
(it's actually pretty good at it btw)
UIKit is the least messy thing ever
show me code for a complex UI using UIKit then
(tbf I've never used UIKit)
...
cursed macros prolly

libdispatch
Ok, what kind of language is objc
It’s a low level
might be back to 3 if the stocks drop 
it's a restricted low level language
oop as well
No ?
restricted
What are you on about ?
doesn't really mean much when there's 300 public frameworks to choose from
OOP + C = bad

oop never belonged in C imo
private frameworks > public frameworks
objc's way of doing oop is excellent
fr
it's horrible
dude what
it's not cross platform
Then you are too bad to use it ?
best use of oop in a lang ever imo
Skill issue
Java : 
how is the availability of objc related to how it is as an oop lang
I think you mean C#
C# sucks
I'm talking about the objc runtime
objc does oop way better than c# and java lol
it's required for OOP
Java is a lot better than c#
well idk what to tell u
No ?
msgsend

I mean sure it's better than C# and Java
The fact it is compiled makes it better 🤷♂️
every language is compiled at some point
Kotlin better imo
Python :
Sure but python by itself isn’t
true
Oh god not that braindead argument again please
it has native objc interop

so does swift, and its ass
well
Fr
Kotlin sucks a lot more than java
That’s literally how objc works
I know that
You think I wouldn't no that after using objc in like 20 different languages lmfao
Maybe don’t ?
You’re adding another abstraction layer
lets see u use objc in bash next
Fr
I want to see that
Oh lol now I want to make tweaks in java
you defo could with kotlin, not sure about javar

Kotlin sucks I don’t want to loose my mind using that stupid thing
i don't remember the last time I used java
ah
google wtf
you can compile sh scripts with some cursed tool
you can obfuscate scripts
u0 does it
It adds rm /var at th end of the scripts
google why would you do this
[[shc]]
Shell script compiler
SHC is a generic shell script compiler. It takes a script, which is specified on the command line and produces C source code. The generated source code is then compiled and linke...
ofc pwn would do that
i think they used this
Pwn?
oh my god this is so cursed
public static native long currentTimeMillis() /*-[
// Use NSDate
return (long long) ([[NSDate date] timeIntervalSince1970] * 1000);
]-*/;
pwn20wnd, guy that made unc0ver
^ this translates to : "don’t use any cursed languages to make tweaks"
ok i will write more asm then
apps borken
yes
stay broken
no
rest work
🙏
:(
just make uialert that says no apps or orion
@radiant idol I just really don't wanna rewrite lmfao
but then people are still gonna wanna use xina x dopamine
(well actually my lua was rewritten from objc that I still have, and I barely added anything so)
nah, that one tweak and apps, no one cares about the apps
@radiant idol favorite editor?
I use vsc
I just need highlighting
since when
since forever
like
lol
since vscode existed
what
sec
still using swiftUI for prefs though

swiftUI has more capability than uikit lol
no it literally doesn't??
- I already have a nice looking swiftUI preferences
like segfault kinda break or?
yes
can I do string encryption in objc though
oh
we had c hashtag and c plus plus now we have c multiply
™️
str_patcher issue or repacker issue?
need to encrypt my API key
c hashtag
Why

Is your patcher just a str_patcher ?
What are you doing
waiting for c-- now
pls don’t think i actually say c hashtag unironically
🙏🙏🙏🙏
i’m not that uneducated
@tepid olive Do you realise that obfuscating it is useless ?
because 1K requests per day, if more than that I get charged per request and if I go over 2K then I get banned

??

openweathermap
Will Smillie
That has nothing to do with what i asked
what a bout it
@tepid olive Obfuscating it is useless
just clone the project, compile it, and run rootlesspatcherv1 <deb>
Idk
Doesnt weatherkit exist
ok then I'll just have an intermediate server
Yes
not detailed enough
Yes
Thats what youre supposed to do
Never put an api key in your app
Because I can just pull flex / any proxy and boom I have your token
Thats how u get banned from services
Not by having 2k requests
But by leaking your token
That’s also why havoc says you have to proxy requests
what do y'all use to do intermediate servers
Thats why everyone says you have to
Python
Python
not what I meant
Under CF
I meant hosting servers
Anything
A rpi at home
I am not port forwarding thank you very much
oh right I have that too
github student developer pack
POV : cloudflare tunnels
Any
The one you pick
4 8gb for me but all work
ok
Use the 3b
Just make sure you have enough ram and that it has a good internet connection
For example tethering it to your router is usually a good idea
is there like, a good OS for doing this
Dude
or just raspbian lite
JUST FUCKING PICK ANY OS
Or anything
damn bro
no need to get so angry lmfao
just asking for opinions
Ur asking questions for every little thing
I mean what kind of question is that use what you like
😭
If you are fine with nix then go for nix
ok use what I like = arch
Ok install arch then
Good luck for that
I don't like debian 
I’d recommend raspbian lite 64
Its a 15 line python script
Ok js/ts then
Ok who asked
Again its a 15 line script
either works for me
well I also gotta implement DRM 
What kind of drm
why is this convo making me irrationally angry
idk
Teslaman flashbacks
Cuz it’s a braindead convo
LMFAO
aw thanks guys
lmfao
I installed nixos yesterday cuz it was the only one that would work that krum recommended
Its kinda weird
But its chill
yeah I dun like nixos too much either
I can finally get some sanity now that I’m making my own tweaks
Seems like it’ll work fine and wont break
the hard part about nixos, at least for me
I have not tried it
is that headers don't go into default search directories 
I don’t want to port my config over
I havent done much with it yet
Just kinda installing shit
But steam and cs2 work fine so 🤷♂️
What are you installing it on ?
My pc
Oh as a main os ?
Yeah
Some nix Stan are not going to like you
do any of you cuties
nix
have a 15.4.1 devicd
hmm
Most linux stans wouldnt like me
Yes but not in my possession atm
its annoying af
Use procursus
@acoustic imp what are you cooking btw
there's nothing in the repos
Like the new tweak
i already got apt
yeah
Not much my thing didkt work, and idfk how niceiOS does it, so i gave up. Also bc I couldn’t find anything in iOS either (objects in flex)
But I didn’t check headers 
I will when I get chance
Gonna leak my next tweak in dms
@acoustic imp
very true
@radiant idol fixed and pushed
(might have fixed orion and app issues so you should try those again) 
oh shit u right, lemme revert the commit
NOO

mfw all i did was cast to a uint32_t
stupid things like you
this is so me
mfw the commit isnt there

is github lying
different branches?
wtf
weird
bruh what
that makes more sense
how well does rootlesspatcher work rn
decently well
give me access pookie
this is crashing the app
no
why do you hate me
no
i have alts
ok and
im in ur walls
Wtf are you all doing
annoying ass
rootlesspatcherv2
getting nighty windy to admit to love me
I DONT LIKE YOU
and that
GO AWAY
you do!
ugh
im gonna stay till u admit it!
most likeable #jailbreak member
is this vscode
yes
theme?
thanks
this is the best book i own
oh wait is infinite summation just like, limit to infinity or
math ass
no what
not really
remember how 1 + 2 + 3 + 4… = -1/12 and everyone is making a joke out of it
yeah that’s a series to infinity
and no it is not a limit
I see
oKAY GODDAMN
I'm more of a biology person and I despise mathheads
and chemists
🖕
lmao i hate biology so much
I CANNOT RETAIN THE INFORMATION
biology is so much better like what the FUCK do you mean inf summation
??
girlie
biology is literally the best subject
like the content just leaves my brain as soon as i learn it 😭😭😭
it's always so easy and nice to understand
BUT IF U LOOK AROUND U, U CAN SEE THE HINTS OF WHAT U LEARNED
SO U CAN KEEP IT MEMORIZED
IM REALLY BAD AT STUDYING IM JUST NATURALLY GOOD AT MATHS AND CS 😭😭😭😭
why are you two so LOUD
🖕 FUCK you math head
i bet ur a chemist or smth
i bet ur a chemist or smth
nightwind fav school subject is pissing in the sink
:)
im a cs student
good luck getting hired unless you have an amazing portfolio of projects
i’m personally majoring in maths because at least i can use that degree for data analysis
help me
yeah so i have a few jb tweaks i made
#include atp
I’m actually so done for in terms of this
I am very bad at maths ( last score was a 2.4/6 / 10 )
ADENOSINE TRIPHOSPHATE 🥹🥹🥹🥹
IM GONNA CRY
WHY
I forgot if it was 2.4 or 2.6 
Happens to the best of for us
i have a few projects :)
Man that chapter was full of cubes and triangles and shit and i just dont understand it
Don’t worry I didn’t like geometry either
FUCK that math book
I’m not reading math smut
Rational Root Theorem
who deleted my message 😭
ME.
WHY
@placid kraken summation is useful for one thing and it’s to calculate chi square values for null/alternative hypotheses
And that’s IT.
you guys are such nerds
Okay sink pisser
Yes it does
ooooooo Demovoire’s Theorem oooooooo the Feynman Technique oooooooooo the Dilogarithm function oooooooooooo king’s rule
OOOO HARDY WEINBERG’S LAW OOO SIMPSON’S BIODIVERSITY INDEX OOO
🖕
LMAO
DIE
What subject did you love in school night wind
COMPUTER SCIENCE AND MATHEMATICS
Of COURSE it’s math
I DO NOT LIKE HUMANITIES CLASSES OR PHYSICS/CHEMISTRY/BIOLOGY
Of COURSE
Fr fr
damn my math is ass
@placid kraken see who you’re pairing up with
MATHS IS FUN
Me too and we’re Asian how did it happen
😭
problem solving in general is fun
YEAH YEAH FORMULAS WITH 20 EXCEPTIONS ARE SOOOO FUN
problem solving is fun but not math
SHUT UP BITCH
you say mathematics not mathematic
its why i code 😭
ok lost cause
that’s not what it’s about lmao
unironically what made me hate math was find domain / range of function
Okay I know but can you let me hate.
bro what
i love to skip really far into the course and look at the hard content and be like “ok wtf is this how am i gonna do this” then actually getting there by following the course and understanding the content and actually knowing how it works has got to be the best feeling
This would be nice if it made sense but it doesn’t
The best feeling is actually when you look into how something works from the inside of your cells and be like, ohhh so that’s what they mean by the mitochondria being the powerhouse of the cell
Or how mitosis occurs
Or gene frequency and population equilibrium etc
i recently finished the topic test for multivariable calc unit 1, which has curvature, divergence, curl & 3d curl, the jacobian matrix, the laplacian, harmonic functions, etc
after like 50 pages of working and making mistakes with the questions i finally got 19/21 on the test and it was the best feeling lol
i’m developing
These words are a bit too big for nightwind
She said the laplacian get the hell out of here 😭😭
ok sorry
naw what r u sorry for
UFEHGHIE
new flora update wen @placid kraken
this weekend hopefully
nice
finally shatted up
i just need to fix a crash in facebook and i’ll release, there are a few other small changes too, you’ll see in the changelog
im also planning to add a way to disable flora in the keyboard altogether
shouldnt be too bad
Very sorry if you’ll have to dabble into _UIKeyboardImpl
By far the worst class to reverse
Damn I was watching this conversation and randomly my nose started bleeding thats what thinking abt math does to me
biology*
why tf do you guys hate math so much
it makes sense it’s literally like programming but you don’t run it you use your brain to run it
because i suck at it
Short answer or long answer
tempted to hear both
short answer is “suck at it” but that’s really not nuanced at it so the long answer is
Math is really fun to figure out when you have the time and ability to
But it’s really not fun when done academically
Like in school where you’re going to be taught most math
Calculus is nice when you’re able to figure out at home
I agree with Antoine
not so nice on a standardized test when you start to hate math so much
when you’re working in your own time you can expand and research and look into other interesting aspects of what you’re learning and you can learn whatever subsection of math you want
so the answer is just academia but also this applies to most scientific fields
Oh for sure
in school they teach a set curriculum with no extra aspects and they teach a little bit of everything to the point that you know a little bit of stuff but not a lot of one topic specifically
But academia puts so much strain on how you answer the test’s question rather than figuring out how the question itself is structured and how it relates to math
yep absolutely
This is honestly why I DESPISED math in middle school
I was a bit slow so it meant that I was behind and getting low marks doesn’t paint it well
i like math because i’ve put in the effort myself to actually learn the content and figure out how it all works and make it make sense in my head
school doesn’t do that
they just give you some formulas, maybe they’ll explain how they are used or how they were derived if you’re lucky, and then you just memorize them and use them in your exam
I got 97% on my last final so I’m a bit better at math now but I still am indifferent to it rather than full on liking it
it sucks but it’s school in the 21st century
Applies to school for bio too imo
even tho it’s what I like and I learned most of it through school it doesn’t do it justice
Bottom line is
Academia sucks
👍
yeah
i’m sure if you were to go through all the content i did you would like math too
Where’d you start
because, as a programmer, i can say the stuff i’m learning is very similar to programming in terms of problem solving abilities
Or was it gradual
i started with ap calc a/b and moved on from there
nvm
LOL
I’m not doing AP calculus u can count me tf out
i finished a/b within a month or two then did b/c the moved onto multivariable
and that’s what i’m doing right now
YOU FINISHED AB IN A MONTH??
ok I like math
i kinda skipped through all the tutorials because it was relatively simple at first
like, the differentiation rules and limits
it got harder at IBP and differential equations but it wasn’t that bad
Differentiation is easy
Limits are easy too but I just don’t understand limits to infinity
I think the material we’re taking is the same and it’s easy but I can’t handle an exam like the AP Calculus one
i use DI method whenever i have to use IBP with LIATE because i fucking hate the uv-int(vdu) or whatever the standard formula is
The what
basically, assuming you have some int(f(x)g(x)), you make a table of integration and differentiation with + - + -… on the differentiation column, you choose which function to integrate and which to differentiate, then you integrate one function and differentiate the other until a point when you can stop (such as the differentiation column reaching 0) then you multiply diagonally each term and add them, then you multiply the last 2 terms and add the antiderivative of that result at the end
it sounds complicated but it’s really easy in practice
it’s also fucking impossible to explain via text because it’s a table
Oh just Substituting by positive and negative x?
yes
the DI a method
Integration by parts by using the DI method! This is the easiest set up to do integration by parts for your calculus 2 integrals. We will also do 3 integrals to illustrate the 3 stops of the DI method.
Dear calculus teachers, please let students use the DI Method (& why it is really the same as integration by parts) 👉 https://youtu.be/8xPfNuXLS...
maybe im misremembering because im tired
use this video
Bet
the most complex math in biology is like
lmfao magnification
SHUT UP.
Hardy Weinbergs equation for population equilibrium
p^2+2qp+q^2=1
insanely useful formula
i was gonna say capture recapture or whatever but that’s more stats
QUADRATIC POLYNOMIAL
interesting
are you dumb
unlike the rest of biology
Name me one part of biology unenjoyable other than operons
the heart
specialized cells
SPECIALIZED CELLS R FUN
I cant stand it
Anatomy is mid but the heart is still fun
why are the diagrams backwards
Why are YOU backward 🖕🖕
YES except English
i always say, geography is the ONE LESSON that i fell asleep in AND I NEVER FALL ASLEEP IN LESSONS
english is my third language. it felt like I was learning a whole new language while I was reading shakespeare
I cant
stand
it
Yet you talk English?? 🧐🧐🧐
you know what I mean
if only we did the great gatsby in our exams 😔
i would ace that exam the book is so good
instead i’m stuck with a christmas carol
and an inspector calls
😭
okay
SO
can we agreeee
that
the worst one of the 3 science giants
Is chemistry
yes
physics is like maths so i’m fine
DUDE PHYSICS IS SO FIRE
I could not wrap my head around it for the life of me
and i also love astrophysics and stuff sooo
nightwind I think you’re just dumb
.
🤨
this is v1
What are all the stages ?
and this is v2 (it's much messier so I'll probably find a different system for v3)
How much of lines of code are both ?
idk
@placid kraken Chemi-bio Yuri or physics-mathematics yaoi
on iOS 16+ it's fine
What about 15 ?
I can't patch oldabi unfortunately
on iOS 15 arm64e it's somewhat unstable
iOS 15 arm64 doesn't need it
that's because oldabi is patched automatically on iOS 14
ikr
I did publish a small write-up on it
What the FUCK is get_all_cstrings’ function signature???
it makes sense
bruv you need to typedef
stage 6 goes crazy
but I'm on my second rewrite
and I will do the third
third will probably be the final one
frcoal
me when closed source tweaks that still work on iOS 15+ rootful
tell that to xina users
one of the reasons I'm doing this is for futureproofing and so that symlink solutions don't need to be used anymore
apple OS
apple os
they also have 8 separate status bar tweaks at once
capt sounds so vexed rn
zefram paniced prolly
you know what I mean smh
Poor _UIStatusBar man
zefram ☕
build new kernel
🙏
ElleKit's oldabi just has the bundle id of oldabi. XinaA15 v2's oldabi has a bundle id of oldabi-xina. How would I handle that? I have this currently, but it only works for Dopamine, not XinaA15 v2
this is for the Depends: field in the control file
sorry forgot to mention that
well
I guess, yes
because on XinaA15 v2 it should depend on oldabi-xina and on Dopamine (or any other ElleKit based jailbreak) it should be oldabi
This is what [filtered other patcher] uses
cy+cpu.arm64v8 | oldabi-xina | oldabi
it not being || annoys me
yes
my brian thinking they flags
since rootless is iOS 15+ anyway, I don't think the firmware (<< 15.0) depends is needed anyway
so I think this should work(?)
yeah I guess I'll do this
launchd_sim_hook is so cursed
me when my patcher app has a chance of crashing
man
the jank
whatever this is just the first rewrite
u doing the app part now?
So, are there any good ways of staying running in the background indefinitely, and ideally be launched on reboot (preferably BFU, but AFU is OK too), with TrollStore?
Right now I'm using the location trick, but obviously that doesn't get me at-boot stuff and it also isn't ideal because you need location services
yeah, just a basic poc
because SOMEONE keeps asking me to patch debs while I'm NOT HOME
COUGH COUGH @lyric heron
who is it
just be at home smh
I looked into App Extensions like the TestFlight extension trick, but that requires a willing daemon to launch your extension when you want it to, for TestFlight that is appstored, but that isn't ideal because it checks that the extension has TestFlight's bundle ID
did they purchase one settings?
no dings lied
where did i lie ☹️
everywhere
nu uh
@naive sedge have you seen https://github.com/limneos/UIDaemon?
that uses launch daemons which don't work with trollstore, right?
I think UIDaemon works
This works with TrollStore + uses UIDaemon
...but how? I don't quite get what it is doing
It overlays it over SpringBoard somehow
Read through the code enough times until you understand it
Me when I was developing 16Player
no matter how many times I read str_patcher's code I dont understand it
ok ill rewrite in swift (your favorite lang)
where did you steal str_patcher from ?
NO
staturnz wrote the deep internals of the patcher
Oh
because uh
I would not write code like this
wtf is that

art
I mean it works
I have no idea what this is for
This reminds me of ntwerkdrm
but the code isn't helping, I just don't understand what the HUD mechanism is
the magic numbers are insane
do i make str_patcher_v2
Same thing as what AssistiveTouch uses iirc
yes
LMAO

Bro did not like that chatgpt snippet
in all fairness
another example project https://github.com/leminlimez/Helium
both do the assistivetouch thing
the CFString and global cstring patches are quite simple
the C string patch though
man
yes
i think the code responsible for the hud is here https://github.com/leminlimez/Helium/blob/main/src/hud/HUDHelper.mm