#development
1 messages · Page 14 of 1
So true
Good evening to the swift developers of this channel.
gm “swift developer”
gm swift "developers"
gm "swift" developers
i did this yesterday too
what
this is being pulled directly from the phone
so
no
skul
@lime pivot or @nimble parcel could either of you look over this project to see if its good as is to convert to a theos template
amazing
giving it a look rn
true
oh could you make that launch screen change to the other app templates as well @indigo peak?
just throw it in the same PR since it's small
Text("Fiore is a tomato")
.padding()``` keep that in the final template 
notrly
the templates have support for older versions
It’s true 
ok yeah that's fair
and the key is valid in those old versions
TODO:
- remove "Fiore is a tomato" from template
somehow we should support both
who gave me pin access
#development TODO
we all have it
wholesome agreement
I know
looks good to me @indigo peak go ahead with making the template 👍
it comes from the "developer" role

i still dont know what to use for the app template
l;ike
what shoudl the app do
exactly
half the people with "developer" role aren't real devs 
cameron fake dev confirmed
case in point: I got developer role for "developing" eggNotch
i made WatchTube and still don’t have dev role
I mean there's also the whole thing where you maintain the distro half of the community uses
but ya know
not a big deal
should i remove any app icons
yeah but thats not why I got it originally
AppIcon29x29@2x.png AppIcon40x40@3x.png AppIcon57x57@2x.png AppIcon60x60@3x.png AppIcon76x76@2x.png
AppIcon29x29@3x.png AppIcon50x50.png AppIcon57x57@3x.png AppIcon72x72.png
AppIcon40x40.png AppIcon50x50@2x.png AppIcon60x60.png AppIcon72x72@2x.png```
ah yeah, remove all the 1x ones
all 1x?
yep
well ones that dont have @*x
do the same as the others I'd say
alr
tiem to learn swift ui
AppIcon29x29@2x.png AppIcon40x40@3x.png AppIcon57x57@3x.png AppIcon72x72@2x.png
AppIcon29x29@3x.png AppIcon50x50@2x.png AppIcon60x60@2x.png AppIcon76x76@2x.png
AppIcon40x40@2x.png AppIcon57x57@2x.png AppIcon60x60@3x.png
i think thats it
Arsenal for dev role
something like (extremely rough code) ```swift
@State private var items = Date
var body: some View {
NavigationBar {
List {
ForEach(items) { item in
Text(item.description)
}
}
}
.rightNavigationBarItem(Button(image: Image(systemImage: "plus"))) {
items.insert(Date(), at: 0)
})
}```
I forgot how to do navbar items but you get what I'm doing
<dict>
<key>UIColorName</key>
<string>LaunchColor</string>
<key>UIImageRespectsSafeAreaInsets</key>
<true/>
</dict>
im adding this
to Info.plist
LINUX IS NOT GNU SOFTWARE!
it makes the app "fullscreen" on X+ devices
yep
bc the old templates dont have that
i dont see why not
like the Info.plist for an actual app only has this
I'd just like to interject for a moment. What you're referring to as Linux, is in fact, GNU/Linux, or as I've recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.
Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called "Linux", and many of its users are not aware that it is basically the GNU system, developed by the GNU Project.
There really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine's resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called "Linux" distributions are really distributions of GNU/Linux.
yeah, that sounds about right
so wait you can build swiftui projects in theos now
I hate you cam
@sacred bridge
Hey @lime pivot, 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.
🧑🚀
🧑🚀 always have been
lmaooo
for real
so i should remove it
github copilot guessed exactly what i wanted
well actually wait
yeah, no need to declare a launch image file that doesn't exist hah
i dont want to use Response::builder()
no thats facts
"I use Linux as my operating system," I state proudly to the unkempt, bearded man. He swivels around in his desk chair with a devilish gleam in his eyes, ready to mansplain with extreme precision. "Actually", he says with a grin, "Linux is just the kernel. You use GNU+Linux!' I don't miss a beat and reply with a smirk, "I use Alpine, a distro that doesn't include the GNU Coreutils, or any other GNU code. It's Linux, but it's not GNU+Linux."
The smile quickly drops from the man's face. His body begins convulsing and he foams at the mouth and drops to the floor with a sickly thud. As he writhes around he screams "I-IT WAS COMPILED WITH GCC! THAT MEANS IT'S STILL GNU!" Coolly, I reply "If windows were compiled with GCC, would that make it GNU?" I interrupt his response with "-and work is being made on the kernel to make it more compiler-agnostic. Even if you were correct, you won't be for long."
With a sickly wheeze, the last of the man's life is ejected from his body. He lies on the floor, cold and limp. I've womansplained him to death.
true
"I use Linux as my operating system," I state proudly to the unkempt, bearded man. He swivels around in his desk chair with a devilish gleam in his eyes, ready to mansplain with extreme precision. "Actually", he says with a grin, "Linux is just the kernel. You use GNU+Linux!' I don't miss a beat and reply with a smirk, "I use Alpine, a distro that doesn't include the GNU Coreutils, or any other GNU code. It's Linux, but it's not GNU+Linux."
The smile quickly drops from the man's face. His body begins convulsing and he foams at the mouth and drops to the floor with a sickly thud. As he writhes around he screams "I-IT WAS COMPILED WITH GCC! THAT MEANS IT'S STILL GNU!" Coolly, I reply "If windows were compiled with GCC, would that make it GNU?" I interrupt his response with "-and work is being made on the kernel to make it more compiler-agnostic. Even if you were correct, you won't be for long."
With a sickly wheeze, the last of the man's life is ejected from his body. He lies on the floor, cold and limp. I've womansplained him to death.
well, that's also the super super old way for like iOS < 8
only works for the OG 3.5" and 4" phones
and OG iPads
whos gonna write a BSD copypasta
not me
I value my braincells sorry
wait, where is the procursus copypasta
Oh
i wasted my brain cells on ballpa1n
one time I was talking to a girl and went on a tangent about the history of the BSDs 
she stopped talking to me after that
...
well nah bruv
I wonder why 
"I use Checkrain on my iPhone," I state proudly to the unkempt, bearded man. He swivels around in his desk chair with a devilish gleam in his eyes, ready to mansplain with extreme precision. "Actually", he says with a grin, "Checkra1n is just the jailbreak. You use Elucubratus+Checkra1n!' I don't miss a beat and reply with a smirk, "I use Odysseyra1n, a jailbreak that doesn't include the Elucubratus bootstrap, or any other Elucubratus patches. It's Checkra1n, but it's not Elucubratus+Checkra1n." The smile quickly drops from the man's face. His body begins convulsing and he foams at the mouth and drops to the floor with a sickly thud. As he writhes around he screams "I-IT WAS COMPILED WITH Sbingner's TOOLCHAIN! THAT MEANS IT'S STILL ELUCUBRATUS!" Coolly, I reply "If a tweak were compiled with Sbingner's toolchain, would that make it elucubratus?" I interrupt his response with "-and work is being made on Procursus to make it more compiler-agnostic. Even if you were correct, you won't be for long." With a sickly wheeze, the last of the man's life is ejected from his body. He lies on the floor, cold and limp. I've womansplained him to death.
cause she is not a nerd

I was actually gonna mention odysseyra1n too
I wore my freebsd shirt to school today and whenever people asked what it was I just said "nerd stuff" 

Good move 
i have a not-nerd friend who happens to be a girl who still talks to me
👍
you're 100% the type of person to wear a FreeBSD shirt 
was it the devil dude or what
Why is bsd not free
PaidBSD
no it was not beastie
FreeWithInAppPurchasesBSD
thank you
none of my friends are techy people 
what about my shirt
almost same
all of them hate swift
is it meant to have a shadow/border or is it shitty pritning
shitty printing 👍
I also have a wwdc shirt from when my brother got the wwdc scholarship and he brought me a shirt back
llsc chest reveal 😮
no way brother katri got the scholarship?
damn
fr
he's so incredibly lucky to have won on the last in-person wwdc
wow
I’ll do it if you pay me the money
sounds good
https://github.com/TokamakUI/Tokamak swiftui web????
i literally unboxed it
@lime pivot Wen eta Chariz chair merch
hours after I got my account approved some random ass crypto bro sent me $10
flame tshirts when
now
tomorrow after lunch
literally who is this
Made some tweak dev tutorials on iOS 9 and 11
That’s all I know
oooo ok so he is kinda sorta in the community
I was assuming he just has some script that sends new github sponsor profiles $10 to advertise himself or something like that
but sounds like it was just coincidence
Idk if he’s still into jbs, but yeah he was previously
yeah
thats cool
and linux swiftUI
not many people use swiftUI I guess 
Y86 sucks
whats that
A crappier version of x86 that I'm being forced to use
It doesnt support division, like how is this thing helpful
bruh
@lime pivot i think its done
i can send a screen recording if you dont wanna install the ipa (which i totally get)
send recording
kirb
send recording
not because I don't trust you more cause I'm too lazy to charge up a test phone
@lime pivot I forgot the edit and the delete part

okay i think i got it to wokr
but i think its the most skuffed code ever
@lime pivot
import SwiftUI
struct ContentView: View {
@State private var items = [Date]()
var body: some View {
NavigationView {
VStack {
List {
ForEach(items, id: \.self) { item in
Text(item.description)
}
.onDelete(perform: delete)
}.toolbar {
ToolbarItem(placement: .navigationBarLeading) {
EditButton()
}
}
.listStyle(PlainListStyle())
}
.navigationTitle("Root View Controller")
.navigationBarTitleDisplayMode(.inline)
.toolbar {
ToolbarItem(placement: .navigationBarTrailing) {
Button(action: {
items.insert(Date(), at: 0)
}) {
Image(systemName: "plus")
}
}
}
}
}
func delete(at offsets: IndexSet) {
items.remove(atOffsets: offsets)
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}
i think i should replace "Root View Controller" with "Content View"
@zenith hatch good, bad
prob bad
also, should i make it have "modern" flare, since its
swiftui ✨
like the fancy floating uitableview + large title
@lime pivot well this is the template
it uses this ui (since we have access to it, we might as well use it to make it seem more modern)
i also ran dos2unix on every file to make sure theres no random windows escape sequences
oh yeah me too oops
looks good to me 👍 feel free to PR
poggerinos
but you cost me money not make me money 🙏
QuickActions 2 will be paid
Chariz flame gaming chair too?
(with very little feature additions
)
judging by how long it’s taking to release it seems like it’ll actually be SlowActions
flaming chair 🧨
I've been busy with work and school
(and complete lack of motivation to program anything lately)
all I want is to build legos
but I don't want to finish building my lego set too soon
I want to buy more legos, but I should really be saving up to buy a car
who unpinned my QuickActions 2 TODO 😭
@indigo peak would you like to make some very petty cash? I'll give you 50% of QuickActions 2's revenue if you make some changes to the settings UI
ok
so basically:
in the app selector, I need a plus button in the top right that prompts you to type in a phone number, then adds that number to the ENABLED list as com.cameronkatri.quickactions.call.PHONENUMBER
and displays as the phone number
I cba to learn UIKit again
You would get maybe like $.20 max after chariz cut, then splitting it
Considering only like 1 person is ever gonna buy it 
lego > making money 
money > everything
love me some money
@indigo peak for your add button use withanimation
wrap your add date code like this
withAnimation(.easeInOut) {
// add date
}```
@torpid crater
@lime pivot im editing the readme from Application (Objective-C and Swift) to Application (Objective-C, Swift and SwiftUI)
is it possible to dump the whole kernel memory to a file ?
gm
Oxford comma please
nerd

nerd but true
exactly
add an oxford comma and you’ve got a deal
@indigo peak found the vinfo address fr this time
@grave sparrow listen fucker
is akemin on the server?
Dynamically or static offset
It’s dynamic 100% of the time due to slide
development
jazzyshare when
I meant like a static offset + slide
Or gets the offset dynamically to add to slide
it's an address not a struct offset thing
Static offset for each version/model + slide
hey @unkempt raft you might be able to use wallpaperkit for some more granular control of wallpapers
those apple stripe wallpapers are actually generated on the fly, for example
thanks, will look into it
np, hopefully it loads lol
a lot of the wallpaper generation is completion handler-based
That seems inefficient, no?
well I mean, they are once
it’s just the stripe overlaid on the background color it can’t be an expensive image to make
now in iOS 16, that’s a different story
I thought you were saying it's generated every time it's used
yeah I phrased that pretty bad
And generating an image has got to be more expensive than loading it from a file
on the fly usually means “at runtime, every time” my bad
@ocean raptor yeah ios 16 uses… either metal, CA, or spritekit I can’t remember
names every graphics framework
“yeah it’s one of those”
You missed CoreGraphics 🤦♂️
and CG uses quartz
if only this was good
is there anything else good 
fr
If only swiftUI was good
don't care
- your dad was really good in bed last night

how tf do i make vscode not automatically insert quotes after i type <div class= because i keep closing the quotes immediately because of it
do you mind sharing how?
@lime pivot drama
https://github.com/theos/templates/pull/29#issuecomment-1287892982
complicated to explain but if you follow the string "progress-dy" you will be able to find the function initialize_screen
SwiftUI bad!!!!!!!!!!!
trolley
I'm building an app for trollstore which modifies bundles of user apps (/var/containers), I use FileManager to create a file/folder inside them, but get a permission error. Creating in /var/mobile works fine though
What could be the reason?
entitlements includes this key
<key>com.apple.security.exception.files.absolute-path.read-write</key>
<array>
<string>/</string>
</array>
i wanna make him more mad
what do i say
maybe I need some entitlement I forgot?
Found info about this, I need a root helper
wait shit lmao
that was an oops
do you guys know if i have this checkbox that's .upload-titlebar > .upload-titlebar-right > .wrap-text-checkbox > #wrap-text can i use css only to make it change styling on another element that's .upload-content > something
or am i gonna have to use js
uhh, wdym change styling on another element
that sounds like js to me
yeah but i was hoping to do it with pure css
but it looks like i cant do that without :has()
or if i somehow hack them to be siblings so i can use the + selector
but that just makes the structure terrible
uhh, how about ~ the selector?
it didnt seem to work
i think it's trying to find a .upload-content thats a child of the checkbox
should also note that firefox doesn't support :has() by default if you're using it
yeah thats the problem
how do i print something depending on OS in python

you should really use JS for behavior-based things like a checkbox being checked/unchecked anyway
writing super complex selectors is rarely what you want
yes i have that but i want an “if” statement that prints something depending on the OS
that should be trivial given the data returned from platform.system()
yeah that’s where i’m stuck
import platform
os_platform = platform.system()
if os_platform == "Windows":
print("We are on windows!")
elif os_platform == "Darwin":
print("We are on macOS!")
elif os_platform == "Linux":
print("We are on Linux!")
else:
print("We are on an unknown platform!")```
what of it are you stuck on? the question is kinda vague
i dont want to be rude but if this code is confusing i recommend learning python a little bit more
good luck with whatever you are trying to do though!
just as a suggestion for future @tepid olive, for best results when asking a question you want to take a step back and work out what you’re actually trying to achieve, rather than asking about specific details that don’t give the whole story. more info here https://xyproblem.info/
Asking about your attempted solution rather than your actual problem
@lime pivot i can make a widget template (i just got it working), but @main apex pointed out to me that widgets wont work sideloaded using free accounts, but using trollstore it will work
so im not sure if i should just because i could
Honestly free accounts have a lot of restrictions, vpn entitlements, widgets, etc, so I never think about them making things. Would be nice to have a template for it though regardless of free or not.
mobile apps can't access root paths, you need a root helper
you should because it would be good to have regardless
Wouldn’t it be better to select case rather than stack a bunch of if-else’s like that?
so i'm interested in making a simple tweak . there was a tweak called PhotosByTakenDate by lonestar on ios11 which pretty much just sorted your recents album by the date the photo was taken. its annoying you can't already do this in ios, at least on the version i'm on (14.8.1), but that tweak doesn't work on ios14 so i want to make a similar tweak which works on ios14.8.1. i have xcode and theos installed on my mac. i was wondering if there are any useful videos/tutorials i could follow to get some insight?
match moment?
Thanks!
no switch?

Oh TIL 3.10 actually added match
python moment
well mine is better anyways
it doesnt have LaunchImage pngs, plus it follows the other app projects
ok guys
im really new to this stuff
and this is going to sound super stupid
but what is a hook
i'm just trying to make a simple tweak w/ theos
you basically hijack every call to the piece of code you're "hooking" and replace it with your own
ok so for example with a tweak like puck (where it shuts down your phone when you activate it and you have to volume press up 3 times) the hook would be listening for the volume up button 3x and replacing it w/ deactivating puck?
also are there any good example tweaks that are coded in logos, use theos, and the source is available
puck 😭😭
i think litten deleted her github account if you're suggesting puck as an example tweak
for the better
There is loads here. Weather they are good or not judge for yourself
weather 🌥️
nope, traurige is still there
though ofc, someone else had to archive the rest of the tweaks
oh ok
👍👍👍👍
i would just like to let you know, i have made tweaks before
Yes
At what point do you stop sharing the message link (this one) to the message link (the one you linked too)
maybe
i wasnt talking to you
The point when development becomes great again
Should I ask Donald trump to use “Make development great again” ?
Replace MAGA with MDGA
rust is good
So true!
wb shep
@lime pivot review theos fbsd pr 🥺👉👈
@grave sparrow @faint stag static is easy when you can use a ./dep_root folder
you’ve got no idea how behind I am on Theos PRs 
actually you do because I’m behind on all of them
same on Procursus lol

ventoy
🙏
what command for tsschecker
commit 7b1b302 broke apnonce, since apnonce becomes null for second call, tss_request_add_ap_img4_tags fails
@grave sparrow

cum
devs get spoiler perms
cum
||no spoiler perms?
||
@turbid fjord @zenith hatch rust moment, this every time I return an error page https://github.com/BBaoVanC/bobashare/blob/62e5cca28ea7afa927d39434ae67f908fd78caca/bobashare-web/src/views/upload.rs#L105-L109
true
copium

yes
Cause SEP and savage and all the other firmwares that you can't save blobs for
do you like it
It’s uhh interesting
you can save blobs for them, just can't set nonce
tsschecker (and therefore basically every blob saving tool) does save at least sep and bb ticket, maybe the others too
Easy solution: just save blobs for every possible nonce
also firmware components other than sep/bb are often signed for years after the main fw gets unsigned, except a13+ for some reason
@lapis vessel gg
Thx Aaron!
Is it just the one? I thought apple had patched 3 of my bugs this update...
We'll have to wait, I think they might add them to previous security updates
At least the one they have included is a fun one lol
The code is written by a robot
I've never heard of a bug in autogenerated code before
It's cool
Means the same bug is duplicated about 100 times too cos it's in autogenerated code
Yeah it does, Fugu14 uses a driverkit bug
You just need another bug to let you install dexts first
(which fugu14 and fugu15 both have)
Gonna have to ask apple about the other 2 bugs lmao
Lmfao don'tttttt
The mach port double free is 100% fixed
And the buffer overflow is fixed too I'm pretty sure
Memory leaks aren't exploitable yeah
And when you terminate the process?
Userspace leak or kernel leak?
Ah yeah that's not worth anything I'm afraid
hey how's everyone doing
I have a couple dummy-level questions about getting into jailbroken IOS, specifically 12.4.3
Do jailbreak devs use the same basic toolchain that App Store devs do aka Xcode? I'm currently downloading the earlier version of Xcode that will hopefully allow me to target 12.4.3... Should I just follow the standard Apple Xcode guidelines/tutorials?
I'm not looking to make and distribute apps, just make some custom bits of code for use on jailbroken spare devices I have
yeah sorry I'm Mac based although I built my first gaming rig since like 2004 recently haha so have access to Windows but I'm assuming the Mac is going to be best obv
I haven't used Xcode or developed before, but I am otherwise familiar with a huge amount of Apple apps and the operating system, worked as a tech for 8 years even so
but always been so lazy when it comes to learning to code, but now I think I'm going to be forced to because I want to put these spare iPhones to work haha
and in my experience, having to learn something because you have no other choice is often a great way to learn
so between tweaks and apps, tweaks do things that are not allowed by the public SDK? apps are things whose core functionality would be allowed on the App Store
sweeeeeet
thank you for that, you on twitter or anything mate?
wise, wise
haha
haha I'm proud of you
logs on to reddit for the 245th time today
I just use Reddit without an acct 
i love xcbuild i want to force you to use a macbook to build my project

make
the like 400 other cross platform build systems idk
xmake perhaps
cmake?
pwn20 moment
do we have universal nib builder yet or whatever swift uses?
would be cool to use swift toolchain on linux to build a swift app
xctool was a real one
your mom
there is no linux toolchain for it
good luck doing anything meaningful
if you use it on macos it’s probably slower now
has anyone else encountered an issue where spawnRoot in TrollStore only works exactly 126 times? (fails at 127)
binary is executed correctly, but doesn't get released or something
Helper.m
@import Foundation;
int main(int argc, char *argv[], char *envp[]) {
return 0;
}

Incredibly interesting bug, fixed actually using the provided code (had a bunch of imports, removed all of them and it worked)

we were enemies so I'll say not to free
WTF how could you not liek shep
I don’t remember why
paid shepgoba
This is the way
Show a progress bar for downloading apps instead!
omg we found shepgoba
Now we just need to find who asked
you're mother
Now we just need to find someone who loves you
All whitenames are dearly loved in this server so wym?
Even me?
Yeah sorry you are the exception
“hi” “developers”
who are you
did you do le funni to the timetable app
Idk I accidentally came across this channel
i forgor
we're yet to figure that one out
Sus. I think it’s Kirb



You're not going to have to look hard
Lmfao
is that projection 
Can someone help develop something to get me off my fentanyl addiction
Cocaine
?
Asking your question would be helpful
does anyone know
computer networks
netstat in particular
how do i differentiate broadcast routes, multicast routes, routes to my subnet/network from each other
on the list of routes in netstat -nr
man netstat
Are you on Linux?
windows 10
@grave sparrow ?
ohhhh noooo
he did it
yes you are
you don't understand how autotools works
I've been trying to add ota support for fr for days I'm heated
gm cryptic
how the fuck do you stop redirects in urlsession
waiting for the day there’s another api for releases
beg adam
man
or we could set up appledb to auto pull from itunes plist maybe 
i think the eventual goal is to have it auto populate
what exactly are you trying to do
im matthew hunting and saw a mention of appledb in server logs
was trying to get redirect url from location header of-
oh fuck
nvm
i just noticed the built in emojis don't have the :s around them
discord seems to have randomly added a few default reacts as suggested since this is a new acc
huh
can someone send 13 pro 16.2 ipsw
weird
egg
only captain
man i have to use gcc and ubuntu for this project im gonna die
Thats better than windows
hi, does anyone know what should i hook in order to spoof the date of the system?
There is a setting for that 
want to spoof, without changing in the settings
tried NSDate but it didnt work tried all init methods
Whats wrong with gcc? For my classes they demand all out code run on the passoff server running with gcc, but I just use clang locally and have yet to have any issues, other than pragma marks
Not UIKit but still ui based
why not backport onboardingkit
I've been working on this
I have a 1:1 rewrite nearly finished
I just need to fix a handful of bugs
it’s gnu
i am gnu-phobic

Sounds like a personal problem
it is
wow
its really cool
W
hes true
I use whatever is currently in my tool chain.
I prefer LLVM because of the cross compilation support
But I still use gcc occasionally cause it will give different warnings than clang sometimes
you wouldn't need to see the warnings if you just wrote perfect code first time round
this is what we call girlbossing
thus we use rust

Not for my own code, for when I'm working on ldid
and adds a space after -S
already done
most of the asserts are gone
there’s like 50 something asserts
but none of them are really relevant
asset no=4732
malloc failed
the templating library im using for bobashare has the worst compiler errors known to man
see if you can guess what caused this error
it was because in error.html.jinja i didn't provide something for the header_extra block (i thought blocks were optional)
i have no clue why it said "message: no entry found for key" because thats completely unrelated
I forgot you like to ignore errors that will let cause the program to fail in unexpected ways
@amber bone has been trying to get me to add signing to ipsw 
Then don't print anything when malloc fails?!
If malloc fails in a program I write I just assume shit is so royally fucked that nothing is worth trying anymore
panic safely like in rust 🚀
although im sure panic must allocate inside it so idk what happens when that happens
maybe it frees enough memory before the panic
If Malloc fails you should just force shutdown the pc from syscalls and tell the user to buy a new pc
No program I’ve wrote should ever be in the situation where malloc fails (hopefully)
All they changed was clearing anything you free
I think?
real
👀 Rust
Y e p
better then it failing later
I mean printing a static message to the screen doesn’t need malloc does it? I know I can do it in Assembly without using malloc
I mean to actually fix whatever is happening malloc is probably necessary haha but at least a message tells you where it happened
I would be interested to see what happens if you do this 
#include <sys/types.h>
void *
malloc(size_t size)
{
return NULL;
}
LD_PRELOAD=./fakemalloc.so
T r u e
Imagine making malware where the only purpose is to replace the real malloc on someone’s libraries with that
That would screw with any low level language developer so much
three-way comparison
like this:
echo 1 <=> 1; // 0
echo 1 <=> 2; // -1
echo 2 <=> 1; // 1
So…
Basically…
You also need another comparison operator to use it in most cases…
no
Oh?
it returns 0 if a == b, -1 if b > a, and 1 if a > b
you could use it in a switch or smth if you need to handle all 3 cases
Ohhh okay
Okay that’s kind of cursed but actually not that awful in terms of usability then
the "spaceship operator", as it's called, also exists in perl, ruby, and php
all cursed languages
although, I hear perl is pretty good, I should learn it some day...
Yepppp
I swear I hear like nothing about Perl
Impulsive Googling time haha
Yeppp
I just realised when I’ve written messages for malloc errors before I’ve used printf haha
I wonder if it still uses malloc if you don’t use formatting
Yeah Perl looks interesting ngl
https://somedudesays.com/2020/02/perl-in-2020-is-it-still-worth-learning/
https://stackoverflow.blog/2022/07/06/why-perl-is-still-relevant-in-2022/
Facebook0Tweet0Pin0 I got a little nostalgic going through my bookshelf and finding all of my Perl books. I’ve been in a constant state of decluttering to keep my habit of hoarding useless junk from getting out of hand and I stumbled on the little bits of my Perl bookshelf I had left. All I had ... Read more
"perl looks interesting" said no one ever
perl be blessing bitches all over the place
Hahahaha
Two good things about Perl (supposedly):
- You can pretty much write it however you want, which is why some people don’t like Perl cause people write bad code with that works
- It runs everywhere
U dislike reading pything
Yeppp
I kind of just assumed we were talking about something like C, C++ or assembly because as far as I’m aware those are the main places malloc is used
Y e p
Maybe Perl is more efficient? I don’t know that for certain though I’m just guessing because honestly that’s the only reason to use it over Python I can see
Python is pretty slow tbh
@silver rampart just realized ktool supports inserting load commands which is nice, i've been looking for an optool alternative (that doesn't force me to sign the binaries with a certificate) for linux forever
this would be ultimate trolling
just sneaking that into a library somewhere
When is @grave sparrow gonna release his tool for that 😡
this is better trolling:
void free(void *ptr) {
return;
}
uh well i tried
ERROR - ktool.macho:L#406:MachOImageHeader:from_image() - Bad Load Command at 0x2ad8 index 98
0x148cbb0 - 0x20918
ERROR - ktool.macho:L#406:MachOImageHeader:from_image() - Bad Load Command at 0x233f0 index 99
0xb0009a68 - 0xf9431d01
ERROR - ktool.macho:L#406:MachOImageHeader:from_image() - Bad Load Command at 0xf94550f1 index 100
0x0 - 0x0
ERROR - ktool.macho:L#406:MachOImageHeader:from_image() - Bad Load Command at 0xf94550f1 index 101
0x0 - 0x0
./patch_enmity.sh: line 48: 498842 Bus error ktool insert --lc load --payload @executable_path/Enmity.dylib --out Payload/Discord.app/Discord Payload/Discord.app/Discord
hmm it doesn't crash if i make the output file different
still errors though, not sure if those matter
let's see if the ipa works
No, that just creates leaks
that's the point
how do i compile CydiaSubstrate.tbd into a binary
i have one from somewhere already just want to know how to make it myself from https://github.com/theos/lib
i guess i could also get it from mobilesubstrate.deb
uh ok so i fixed that but now zsign is segfaulting lol
oh wait

Do you know what a tbd is lol
Get it from theos jailed
ok yeah dumb question i mean s/.tbd//
just got confused for a sec because theos/libs was talking about having tbd instead of binary
oh theos-jailed has insert_dylib, nice
oh wait nvm
insert_dylib: Mach-O 64-bit x86_64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|PIE>

will that compile on linux
3.11 is out?
yeah true
cant live with 3.9 on pro
brew moment
it is installed
need ansible on pro
oh wait ansible is just a python package
wait fr?
when he is no longer a mid dev
So never 😔
bro updating python to 3.11 is easy as hell
i just didn’t wanna go thru all the debian patches and apply the relevant ones
tbf there wasn't any breaking changes in 3.11 like there was 3.10
||I won't||
REAL
win
xcrun simctl runtime list -v
Hi all. Anybody knows the explanation to why opa334 put @autoreleasepool { ... } at the start of his root helper? don't understand why it needs to be in the memory at all times
i think i was gonna take like 5 or 6 of them
pov ur british
@autoreleasepool just tells arc to free any objects allocated inside that block after it is exited. I recommend you read https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/MemoryMgmt/Articles/mmAutoreleasePools.html
Explains how to allocate and deallocate objects in Cocoa.
free any objects that have received the autorelease message*
🤓
where
This is not me
Perl is known for being a horrendous / garbage language
O h n o
A h
excuse me
Perl is the best write-only language
good luck with that
ah yes cant code java without my coding skirt
I’m in Turkey smh
Silly whitename
Does anyone face the issue that the “Hidden Album” doesn’t show up? I guess this might caused by the tweak of “PhotoManager”. Anybody know the way to fix it?
I hate people that do that
And yes, people do use that in actual code
where did you acquire this moving picture of me
real
it seems so cursed and i dont like it
I did checked that. Still the same.
Anybody ever used solar2d?
Ight screw it, which language is easier, obj-c or swift
Just found out its only available for mac and my only mac is shit that can't even run xcode without crashing every 20 minuts
Guess that means that it is the end of the road
95% sure that some GNU project uses it


How unexpected
does anyone know how to get the app icon from a bundleId inside Preferences? I know of the way through SBIconController, but that one obviously only works from SpringBoard.
thanks!
also sounds promising, will give both a try. thank you very much!
Yes, this is the correct way
ill take terrible decisions for 500$ alex
What's wrong with ventura
Should I avoid updating
it is buggy from what i heard
wonder when they'll patch that
i hope not
Typing the code into swift playgrounds app on my iPad just crashes my whole iPad instantly lol
I don’t have to run anything
yeah
It’s annoying as hell but funny
it does that on macos too
Fr? Lmfao
as long as you have a UIWindow being presented somewhere
because playgrounds acts as a repl
it will compile continuously and run
pid_t pid;
const char *args[] = {"sbreload", NULL, NULL, NULL};
posix_spawn(&pid, "/usr/bin/sbreload", NULL, NULL, (char *const *)args, NULL);
Or even better
system("sbreload");
How about you null some bitches
didn't know it released
yo how do package managers (cydia/sileo) get data from a repo
it ain’t a GET request

just tryna make something 😭😭
it is
multiple of them actually
the backend is libapt yes, but you're still requesting specific stuff
for any repo, what get request gets a list of packages
More complicated than you want
just want to get the json that has it
Or is it not organized in json
Is auth keys needed
nope, not a json
looks more like yaml if you want to compare it to something
Or one of its compressed varients
yes but I think some repos don't have the just /Packages
Not at all
usually dist repos (because they have dists with their own packages files
)
Oh ok. I've looked into how some of this works, but I haven't quite figured out everything
see, getting the file is easy, parsing it? not so much
i guess this is a half-decent example, though it really doesn't do much with the contents other than display it https://github.com/lichongjia/cydownload/blob/master/mainwindow.cpp
Thanks!

doubt it because cpu time is measured in microseconds for the scope of decompression and extra network time is milliseconds if not seconds
true
how do i render an HTML file in react instead of writing HTML out?
"how do i render an HTML file in react instead of writing HTML out?" - 🤓

why would you need to do this
You're gonna have to recompile for rootless anyways
you use JSX in react which is literally just html but inline inside a js file
wdym
like
just put that preexisting in the code
unless you want to keep it separate?
letting react control part of an existing page and letting react render the entire page are both valid use cases
bruh what is this
Comments from the life of programmers
no context
i mean, not like anyone would be using your code to begin with
true
damnnn
is that rust
is there a recommended way to read/save the value of a PSSpecificer when subclassing a PSTableCell? Right now I'm using [[self _viewControllerForAncestor] read/setPreferenceValue], but that seems kinda like a hack.
-(id)value; / -(void)setValue:(id)arg1;?
ah wait no that's probably just the value it displays
I'm pretty sure you can use performGetter and performSetterWithValue on the PSSpecifier tho
???
i am trying to learn (some parts of) java to help someone else with it 💀
Should've mentioned that I've already tried that, but for some reason it doesn't work. Looks like setPreferenceValue isn't called (even though thats what you'd expect from performSetterWithValue)
maybe the PSSpecifier isn't set up right then
i mean there isnt much to set up. I've got no custom setter/getter on it, everything works fine, so I'd expect that to work 😄
So I'm new to objective C so please pardon my ignorance but this is the first time I've tried to create my own variables for a tweak. I'm having to make a sideloaded login bypass so I need to return expected values for the non-sideloaded app. I decided to create them all inside the tweak.xm just to get it running before I cleaned it up and put it in a separate Sideloaded.xm file. Is there any reason why I can't create these variables?
Thank you!
yes, convert "Never" which is &'static str into a String (owned)
and allocated
you can pass around a Cow though I think but I don't bother
Free Tech Tip: If your tweak only injects Soundcloud, add to your makefile ARCHS = arm64
oh yeah being dark is the point of it
i didnt know you could use <template> in actual regular HTML, i thought it was made up by those frameworks
bro what a coincidence I'm literally reviewing your PR from a million years ago rn
oh oh oh true
1 I like as long as we can support both cases
2 doesn't really work, control can only be gz or in very recent dpkg, zstd
I like the idea of zstd control, but we're stuck with lzma as the baseline that all devices will support
for 3 it's intentional that it's not xz, there are some reasons why xz isn't a good format as compared to lzma
although I do feel like these days I'm being more pedantic than realistic about it, I guess
we haven't really seen the disasters https://lzip.nongnu.org/xz_inadequate.html tried to warn us about
and that's given it being used by every package (except dpkg and xz-utils itself) in Debian/Ubuntu and all its derivatives for the past 5+ years without any documented disaster I know of
plus as 7-zip's default compressor

trolled by elu once more
basically
I'd gladly make it use zstd for iOS 12+ deploy targets if not for that
kind of a shame that apt allows you to define custom compressors with a conf file, but dpkg has it hardcoded
cause if I could, I would make an Essential: yes package on Chariz that configures Elu apt/dpkg to support zstd
probably not worth it unless the entire package is the same algo
I'd need to verify it's supported by elu dpkg
since I believe that started out as a Ubuntu-specific patch, and Elu tracks Debian stable
or well, did before Sam disappeared
It tracks like Debian old-old-old-stable
Which is like Jessie or smthn
I get that randomly, probably from it being quit while being half-finished updating is my guess
god damn it
@lime pivot why did you approve my pull request but not actually merge it 
there's a bunch of them I need to merge
merge some bitches
copilot keeps typing !req.readyState === XMLHttpRequest.DONE instead of req.readyState !== XMLHttpRequest.DONE and i keep taking forever to notice
the type coercion stuff is so stupid
@ocean raptor @grave sparrow I merged some bitches
so real
(ty)
I'd definitely want to add an extra flag for it in dm.pl
and then Theos will need to decide based on deploy version whether to specify that flag or not
question will be whether that version check ends up being 13.0+, or 15.0+
need confirmation elu supports it is the thing
not really the version specifically, just the distro
if it works on 14.x elu, then it'll be fine
I'd have gone back to 12.0+ but 11/12 is a mess with the abandoned electra/chimera distros
me (not by choice)
if I feel like charging up that phone
How about you contact some bitches
nope
heh, it was meant to be a thing, just never got implemented
Orion is definitely the successor to Logos, rather than us adapting Logos to Swift
that guy is a crazy ass mf
nope 14
happy Halloween birthday
@turbid fjord downgrade thhe 6s to ios 3.1
No
check your mailbox
Doesn’t even support iOS 3 anyway
then do ios 2

Hey all, great discord!
I'm wanting to setup an iDevice to download unencrypted IPAs on demand.
Been trying to get hold of an iOS 14 device on marketplace but nobody seems to have due to auto updates, but I did manage to get a 15.3.1 iPhone 7.
I guess I can do a tethered JB with palera1n, or fugu 15 seems to support.
Question is. Will these JBs allow me to extract IPAs







