#development
1 messages · Page 215 of 1
can we consider bingner deprecated at this point
Undefined symbols for architecture arm64:
"_BN_check_prime", referenced from:
_BigIntegerCheckPrime in libsrp6a-sha512.a[3](t_math.o)
"_EVP_MD_get_size", referenced from:
_hkdf_md in lockdown-cu.o
_hkdf_md_extract in lockdown-cu.o
_hkdf_md_expand in lockdown-cu.o
"_EVP_PKEY_Q_keygen", referenced from:
_pair_record_generate_keys_and_certs in libinternalcommon.a[3](userpref.o)
_pair_record_generate_keys_and_certs in libinternalcommon.a[3](userpref.o)
ld: symbol(s) not found for architecture arm64
doesn't even include the modern libcrypto
not even mentioning the other bunch of outdated libraries
speaking of adobe https://x.com/dan_goosewin/status/1855174208005021809?t=tguu_VMosDopV-LxE7HZVg&s=19
Skull
Wtf procursus pfp
It’s been 5 days app connect says it should take no longer than 48 hours …. Do u think it’s bugged should I reject then re submit
Real
who doesn't consider it as that tho
probably bingner themselves
there is no way to simulate the press of the home button
Do you mean programmatically?
yes
What are you trying to do tho, just go to the Home Screen ?
i dualboot my phone and on the second ios the home button doesn't reconize my finger so i want to create a button like assasitive touch but juste for the home button
do you understand sorry i don't speak english
You can set assistive touch’s single press to go to the Home Screen
I do, you speak very well
ok
how can i do that
thank
No problem 👍
jesus christ making a blog is so painful without astro
holy shit i've been so spoiled
chat gpt 
How
what did astro do for you
i can just throw in markdown files and it just Works™️ with astro
they do some crazy mdx bullshit that i don't bother about normally
What are you trying right now
why not try something comparably usable like hugo
because uh i also have to fetch data
react is just a client side framework so its not gonna have all the batteries
Astro is just the batteries
true.......
Wdym
There's definitely markdown libraries
I like it
Why tho
It's easier than learning frameworks that come and go
I just keep adding random shit ☠️
Charge yo phone brother
Why would you do that
Bro posted this in #general and realized it should go here
Its not at 0 yet
You don’t have VS premium ???????
Crazy
????
what the fuck
camera control but its actually useful
bro has an unsupported version of bash
Guess what the fix was
Or the problem rather
theos being a dumbass 
Despite compiling with gmake, broken xcode cli was the culprit
My mobiledevice framework was broken which somehow broke everything else
Wait u have to pay to edit classes after saving?
Its a joke
you guys want a cursed regex?
yes!
/Question ?(?:\d+)\n(.+?)(?:\nSelect one:)?\n+(?: )?[aA].[ \n]?(.+?)\n+(?: )?b.[ \n]?(.+?)\n+(?: )?[cC].[ \n]?(.+?)\n+(?: )?d.[ \n]?(.+?)\n/gs
peak
did not disappoint
I love parsing stuff written by humans and it completly inconsistant
Also it took me like 3 hours to make this and still saved time
das pretty cool
maybe if they want to transfer it somewhere
I can't remember exactly where you would end up with a pinned boxed future
Ah yeah I think you have to pin a future before you can poll it
Something like that
i did format stuff in elle and learnt that strings actually support unicode
(accidentally)
which is weird i was not expecting it to work
i mean
isnt ur backing rust
which does support unicode strings
yes lol
however the string is being printed in elle code
which means c printf also supports unicode
i meannn
if printf is just printing each character
and unicode can be represented by characters
then .
the only real issue C has with unicode is parsing it itself
yeah true
i did cast the character into a u16 and it is actually the right thing so
that’s interesting
also it can’t
unicode is 2 bytes
chars are 1 byte
in the case of rust they’re 2 tho
also i think it can be up to 3?
i feel like there was up to U+1FFFF or sumn
wchar_t

this is fun
is that wide char
no i googled it
its synonymous among all OSes
for *nix its utf32 for windows its utf16
well I'm pretty sure it doesn't support it
it just repeats the bytes back, and your terminal is utf 8
oh that was answered oops
Unicode isn't an encoding
Utf-8 takes 1 byte for normal characters (all ASCII is valid utf-8)
in rust char is 4 bytes
but otherwise they are just utf-8 bytes (I.e. in the String's vec) because utf 8 characters are variably sized
Its 4 bytes because it has to accommodate the largest in a sized type
This is my main point
On windows where UTF-16 exists, some files might use it and then will use 2 bytes per charactee
but almost everyone uses utf8 for everything now and that means 1 byte for simple characters
you can just print them out and it works
well you can always just print out bytes and if its the same encoding it works
idk
idk
idk
idk
idk
idk
idk
idk
idk
idk
idk
check the api requests
shit i broke a chain
That doesnt help
nice jb work here
Finally, the guy who knows
this is why i love maclaurin series more
And here I am revising complex roots of polynomials o.O
isn’t that really easy
Oh yeah but I just had to go over it for my AS exam on Friday
I meant I haven't even covered MacLaurin series yet
taylor series clears unfortunately
.
maclaurin series is just
special
(case)
heyyy something mentioned that I learned about 2 week ago
Not written that way though thank god
Idek where to start trying to read it that way
As usual wikipedia has it perfectly
For example, if we know that the remainder of n divided by 3 is 2, the remainder of n divided by 5 is 3, and the remainder of n divided by 7 is 2, then with no other information, we can determine that the remainder of n divided by 105 (the product of 3, 5, and 7) is 23. Importantly, this tells us that if n is a natural number less than 105, then 23 is the only possible value of n.
No way yall are talking about math voluntarily
No way you're hating on good math
dev channel built different 
That's a 5.
They’re both easy
is this ev
HOW WAS ITTTT
just did palera1n trustcache patch
but on my mac
everything is asking for keychain again
why
Uh huh
SO WELL 🥹
I just finished an interview with Apple!!
I’m not yet 😭
confidence 🙏
At first it was some cultural questions and then the other half was a LC question
It is for apple
anyone here know where this check is performed
thank you
i could probably patch this:
} else if (psa->psa_platform != PLATFORM_IOS) {```
to
} else if (0 != 0) {
thats so based
i would pay for that
!!!!!
@hasty ruin got it
i ended up patching the goto to jump to this
https://github.com/apple-oss-distributions/xnu/blob/8d741a5de7ff4191bf97d57b9f54c2f6d4a15585/bsd/kern/kern_exec.c#L7750-L7753
pray for me to get it 🥹
Good luck !
also for some reason they limit it to macs
well I added a udev rule to fix it on linux but bruh
also no I didn't pay full price got it used for like $15
good luck! which position did you apply to?
🙏
Yooo congrats!
I hope you get it
bro really gone now
hey does anyone know why when i sideload an app the locaiton updates in the background stops after like 20 mins but when downloaded by the appstore it doesnt stop at all
Anyone here know a security hook that would bypass this error
TalkingBenIpad[2816]: registration request failed: (0x10, 0x3) The code signature is not valid: The operation couldn’t be completed. (OSStatus error -67062.)
Ignore app name
TalkingBenIpad
TalkingBenIpad
TalkingBenIpad
TalkingBenIpad
what is bro doing to TalkingBenIpad 😭
i bought a certificate from kravasign
the $7 one, is that sufficient?
the location updates within the first minute or 2 of closing the app but after that it no longer works, any ideas?

do you know any companies who do pay poverty salary?
Opa
what do you even define by poverty salary
web sucks
how much for backend dev
and/or low level
whats hft
i need a rust job for 260k
they wont hire someone that doesnt even know how c++ works 
i know it was just funny
and i was writing from memory too 
thats why it didnt work thuogh
yeah theres no C hiring because theyre replacing it with shitty golang
because their new hires dont know how to use c
fuck startups
no
checks
they cant afford direct deposit
/s
i think they literally mean paying you in equity instead of money
you work at a startup?
im trying to learn ML right now
i mean just the syntax wise
not the actual language
i will in passing
what
i think you can buy tickets from them freely yeah
no, they're not government owned
what does this mean
i dont own any bitcoin
i never have
i think i used to have like 40 cents in bitcoin cash
no
i dont know
i think you should just leave
crypto sucks
idk its hard to know
inheritance is so fucking stupid
it can be replaced by composition or literally just containing the parent in basically any case
no
ui is the rare case where inheritance makes sense, but on the language level you can model it better than actual language level inheritance 🧌
it gets a bad rep because its ugly and forces you to have virtual methods
no
ill get back to you on that one
yeah my point was just that it should be that way instead of using inherited classes
you arent inheriting traits
(in rust)
in c++ you are
supertraits
but all that means is X requires Y to be implemented
it doesnt actually create a relation between X and Y themselves
then you can use Y methods in the impl
not really though
it tells the compiler but not the language code
idk how to say
it is though isnt it
no, it doesnt
semantically it doesnt
i think it just means you can use Y in the default implementations of methods of X
thats it
yeah but it doesnt make X inherit Y because X isn't even a thing teechnically
idk if its transitive like that
let me test it
well wait that would obviously work
but not because youre saying X: Y i think
ok understanding this is a question for another time
i mean that its not inheritance as in it makes X become a Y
all X has a Y implementation but X is not a Y
theres no virtual methods
i wonder what slint looks like
wat
y isnt the implementaiton
well that doesnt really mean anything
of course a concrete type that implements X also implements Y
those functions dont actually take X or Y
trait Y {}
trait X : Y {}
struct A {}
impl Y for A {}
impl X for A {}
fn f<T: X>(t: &T) {
g(t);
}
fn g<T: Y>(t: &T) {}
this doesnt say that X is a Y, at least to me. just that all types that support X can also support Y
they have to, not can, but i dont know how to explain it
originally what i was trying to make fun of was the data structure constraint that inheritance puts on, forcing there to be vtables and all
this doesnt do anything about the data structure, maybe there is inheritance at compile time but not at runtime
but this is just interfaces anyways
inheriting structures is bad
closest humans have achieved perfectness
@glossy jasper joe : NSObject
@naive pollen
@implementation joe
@ember coral
what are you pointing and laughing at
there is no one nicked implementation
@lethal snowlementation is the cloest you can get
does anyone here know anything about how itunes/icloud backend works
specifically anything about passwordToken/clearToken
im working on a reimplementation of the XML itunes store
and the only thing im hung up on is authentication
ive ruled it down to either my certificate or passwordtoken
@radiant idol @spare glen is looking to I guess append a tweaks code onto an apps main binary/dylib ig. Any help would be appreciated by them
aww thank you @acoustic imp
can’t you just add a lc load dylib
unless you mean statically patching it without a dylib
Can’t agree more
That’s what they want to do
🗣️
what does the tweak do?
stuff like, nopping-out code or forcing functions to return early is easy to do
Adjusting segments of the binary to make room for the tweak’s SuperNecessaryClass would be quite complex
Go is better than like typescript
@spare glen
like how do you write his name on paper
ok now how do you say it
like "something... line break
this"
pretzels = np.array ([dough_kneaded]) 💀💀
numpy is based
this is from man 3 fgets:
char *fgets(char s[restrict .size], int size, FILE *restrict stream);
is the char s[restrict .size] here literal C syntax or is it just english saying s has to be size length
theres no way thats real syntax that doesnt even look real
the header defines
extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
__wur __fortified_attr_access (__write_only__, 1, 2) __nonnull ((3));
that is so gross what even is the second line
i cant tell what that is syntactically
that isnt even words
the average 2 dimensional rust user can't comprehend 3 dimensional c code
then go ahead and explain it to me

stackoverflow says to just ignore it which is a stupid response
well it hints to the hypothetical compiler that argument 1 will be written to and should have a size of at least argument 2 elements
also argument 3 should be non-null, and it should warn if you ignore the return value
yeah i mean i could gather that just by assuming what the words mean, but why can those identifiers be placeed there
i thought a function declaration ended after the args
no you can put attributes there
problem is if i try to google the full syntax for function declarations, its just w3schools slop
typically they're #defined away for compilers that don't support it
oh interesting
I figured I can just add dylib (without "installing" a tweak) to /var/jb/Library/MobileSubstrate/DynamicLibraries and proper plist (filter bundles: [com.apple.UIKit]), but the dylib is not hooked to any process. I use frida to call Process.enumerateModules on a running process and while I can see other tweak(s) with same filter bundle(s), I can't see my dylib. There's no error in oslog. How else can I debug it?
@vivid dew happy birthday, big man
happy birthday
happy birthday
Are you sure the plist is correct
Any good free ssh apps? AppStore or ipa ?

positive. i copied plist from another tweak that hooks to uikit which works just fine
Did you rename it though?
yep. naturally. it may "help" that it shows up in Choicy on list of "tweaks" and if I go into specific app tweak settings, it shows up on a list of "available" tweaks for this app. It looks like the dylib is properly set for being hooked but it fails to do so. Not sure if it would show up in a log and if so, in which one
Yeah no clue then
icrazy spotted
that’s me
mhm
On macOS can i use my free developer cert to sign any (more than 3) .app file ?
it is not real syntax
it's just a man page thing
it basically just says that the s array you pass must be of length size
it's like a semantic restriction to the user of the function
that the size you pass at the end is the same as the length of the array you pass at the start
nebulagets
sorry
I DID THIS IN MY COMPUTER SCIENCE EXAM LMAO
and still got an 8
my brain was not comprehending anything that day
should i use lua for my video editor scripting language
Guess it’s time for you to quit while you are ahead 
i already wrote a compiler it’s far too late for me
Went from .length misinterpretation to writing a compiler 
based
what .length misinterpretation
oh
yes
(real)
can you even swizzle it to return NSString * i thought it has to return size_t
surely since everything in objc is dynamic

NSString* casted to size_t

yeah but if anything tries using it they’ll suddenly have a very large integer instead of the 5 they were expecting
true,,,,,
well changing the length to not be length is unsound from the start so i dont think that's the biggest concern
but then it wouldnt print that because itd be displaying an integer
itd just display the pointer
originally i said that in the sense of it wont compile because everything is declaring the return value as "size_t" when it actually returns NSString * but that was stupid because objc is dynamic anyway lol
id length = [awa length]
the compiler will complain??
hm
the compiler will actually change the signature of the method when theres a %hook????
thats news to me
ah
oh fair enough then lmao
%hook NSString
- (NSString *)length {
return self == @"Monday"
? @"24 hours"
: self == @"Tuesday"
? @"24 hours"
: (NSString *)(id)%orig;
}
%end
surely there is no better way to write this
lol obviously
no i hate switch
fuck switch statements
they are so bad to read and the formatting isnt agreed upon by anyone
in that case yes lol
that would me a match statement
but yeah this is the only time its good
because match is an expression not a statement
so are loops
let a = for i in 1..10 {
if i == 5 {
break i;
}
};
let b = match a {
5 => a * 2,
other => other + 1
}
println!(a); // 5
println!(b); // 10
it is horrible to rea
d
but nice to use sometimes
tbh i dont really like the semantics for dictionaries in C
typedef enum {
NODE_X,
NODE_Y,
Nodes_length
} Nodes;
char[] Nodes_strings[Nodes_length] = {
[NODE_X] = "x",
[NODE_Y] = "y"
};
its slightly hard to read sometimes
its not but it has similar semantics to a dictionary
assert(strcmp(Nodes_strings[NODE_X], "x") == 0)
lua is pretty cool
maybe ill just use it instead of making my own language beacuse im pretty sure it can do eveerything i need with custom UserData
maybe deno JS can as well but lua is more mature
yeah im gonna be sad
but it should help me be more productive and not waste time by making a stupid language
https://docs.rs/mlua/latest/mlua/trait.UserData.html look how hot this is
Trait for custom userdata types.
you can literally just make your own type do anything in lua
this is so cool
Free your memory smh
i should start actually writing code
Smh
what does % and ? mean here
is this like a macro thing
where you can do
macro_rules! a {
(type:expr, a:literal = ?b:expr (,?)) => {
};
}
oh its debug and display trait
i see
event! is a macro yeah
it comes from tracing
Constructs a new Event.
look at that beautiful declaration lmfao
ya i figured out later
what the FUCK
i'm going to murder you
that is literally the accepted way to make dicts in c
ive seen people write code like that so many times
usually its with a static assert above the array so that if the enum changes you dont forget to add it to the array to
Hi everyone! Does anyone know if forensic tools like Cellebrite can fully extract data from an iPhone 13 running iOS 18 with a complex passcode, when the device is in AFU (After First Unlock) mode?
probably not, but you should be prepared to go to prison anyway
laugh at the phone thief 
what kind of response is this
that's probably why they're asking
they probably are trying to find out if their phone is secure
how do you know that
you can buy phones with money
and then own the phone
theres no use in assuming
their question is about getting the data off the phone
if you stole someone's phone why would you want just the data, and not usability of the phone
phones can only be stolen from grandpas?
software exploits exist
they have in previous ios versions
but while the phone is unlocked, the key is in ram
maybe not all of the data but much of it
i mean i dont know the specifics but somehow it has worked in the past, but then been patched by ios updates
whether it's hardware or software i dont really care
yes it has been patched
but there could be new bugs lurking
that's security 101
yeah
that's why it's fucking cellebrite
.
Here's the Cellebrite Premium 7.69.5 iOS Support Matrix from July 2024.
404media recently published an article based on the same April 2024 docs we received in April and published in May. Many tech news sites including 9to5Mac made incorrect assumptions treating that as current. https://t.co/Vu1PX3x54I
bugs do exist
ios 17.5.1 july 2024
first slide shows their capabilities of bypassing passcode to unlock the phone
How on earth do they do that
Also what’s FFS mean?
Its the SEP team that should be worried 
For fuck's sake
Full filesystem (access)
very expensive and high stakes bugs
Hope they get patched
@ alfie 
whether cellebrite have such exploits on latest versions is unknown
they dont publish their capabilities
you probably have to be law enforcement or something to get them to tell you
Well the support matrix is from July
and iOS 17.5.1 was the latest version until teh 29th July
Maybe they haven’t been patched 
Do they just sit on exploits ? And use the next as one gets patched ?
im pretty sure this thing wouldve been patched in whatever was right after 17.5.1
this specific one
they might i dont know
ok so i just realized conceptually the missing link
i do need monads here in my video editor because one of the things iw anted to do was abstract away caching
i should not just be making objects that directly, imperatively, interact with the media files, at the high level user-facing level
so this is right
im wgonna write my video editor as i read Clean Code by Robert C. Martin
MySign eta wen? 🤫
Yk what would be fun to add to MySign
Have all the tabs as a swipe able menu kinda like the camera button
But actually good
In Swift UI

it is not swift lol
this is how mediascript will be for like half the operations
please stop hyping it up so hard 💀
it's a language i'm making
its fake rust
erm
Rift
rust actually has traits so
the display trait in question
why is the @ amogus
what font is that
maple mono
is this sane
to just assert that __fmt__ returns a string
so that you dont do something like this
when it should be this
and get into a segfault
yeah
if its UB there should definitely be a warning at minimum
error in my opinion
yeah ok
whats the idiomatic way to check if either something is none or its some and
x.is_none() || x.is_some_and(|x| x.is_string()) feels clunky
this is going to become very referential
so thats fun
and first, then is_none after?
or no map
no
what am i saying
it should be true if none, or if string
i have to send this through the complex part of my brain
The Option type. See the module level documentation for more.
i think this is it
x.is_none_or(|x| x.is_string())
that is so pretty
i cant find it
yes
yes
oh thats super new wtf
you got it at the right time
bro
seriously
it took me like 10 minutes to come up with abstract as the perfect name
then you tell me its fucking reserved
i guess ill call it tree
or model
this is going to suck so much
i really need to make sure i understand everything about how lifetimes work for this to go over well
Is it okay to set up the Theos development environment on Ubuntu 24.04 and just install Swift version 6.x without any issues? The iOS version is 15.8.3
iirc swift is still pretty finicky on non-apple software
but youre welcome to try it
But MacBook is too expensive...
So I'm going to try it on Ubuntu 24.04.
I asked if there was anyone who had tried configuring it...
nebula's code
font is maple mono
theme is a custom version of catpuccin mocha https://github.com/acquitelol/catpuccin-zed
i and a few others use a kvm
And some of us full on hackintosh
don't really see a point in this, all you need is the cli so metal isn't really that beneficial
nevermind they have version for vs
catpuccin has a port for literally everything, one of the main reasons i use it
everything on my system matches and it's beautiful
my catpuccin version has some changes that makes it look better aswell as a glass background but yeah the vsc version is similar enough
Idk but their software is not reliable and a good lawyer could dismiss anything from them lol.
?
do you scan the server for political messages lmao
I auto scrape servers relating to osint and digital forensics.
I have like 100k messages from Cellebrite users lol
Could generate my own support matrix.

horror
reported
oh!
this book sucks
who reported capt lmfao
ok so this guy says have no side effects, but then doesn't think private member mutation is a side effect
maybe he means not to have foreign side effects
daily reminder
I just saw that in the same place you did 
no update to 9?
Ah yah I made the meme
Omg hi Alfie
pray you never need to use lldb/gdb when working with rust
because in the rare case that you do, it sucks so much
ok i tried doing fr v and it ate 28 GiB of ram and i had to kill it
holy fuck
info locals in gdb
I would assume this is basically what appears when you do dbg!()
no because its just showing types here
and a lot of junk
dbg! uses the Debug impl which is actually intelligent
wtf why can't gdb be intelligent
So i am part of a iOS App developement program in Uni and i need some help working with MessageKit framework,
I tried following this video : https://www.youtube.com/watch?v=6v4fmg9iRSU
but after i build & run my collectionView (chat messages ) is not being populated with messages,
ChatGPT & Gemini Did not help.
If someone can please help me out, DM 🙏
In this video we will learn how to create a Chat Message user interface. Complete with chat bubbles, send time, sender definition, and chat heads. This is how iMessage, Instagram DMs, WhatsApp, and other top chat apps are built.
💻 Source Code: https://patreon.com/iOSAcademy
🎥 Subscribe for more: https://www.youtube.com/iOSAcademy?sub_confirmati...
dont use chatgpt or gemini
would you mind getting on a call with me?
if you think you can help?
i can't
Thats okay
well can i send you my code and maybe you can spot the error or something ?
or do you have any suggestions for me?
Thanks anyways
i don't really use xcode or swift in general
dawg wtf
ok idk HOW i didnt make this yet but
you can now use object files in elle
if you make this c thing
int foo(int a, int b) {
return a + b;
}
and create an object file cc -c foo.c
and use it in elle
use std/libc/io;
external fn foo(i32 a, i32 b) -> i32;
fn main() {
io::cprintf("%d\n", foo(1, 2));
}
you can literally just like,,,, pass the file along with the source code now
ellec ./examples/test.le foo.o && ./test
this really shouldve been a thing a lot earlier but oh well
i can probably also let you make object files tbh
just delegate the -c flag to cc
i did it lol
must be public and volatile
if it isnt public it wont be exported because that means its internal
if it isnt volatile it wont be exported because its not used by anything so the compiler will perform DCE by default and get rid of it
i might actually make volatile be default when generating an object file
that sounds more sane i think
I honestly wanted to do smth like this so I could get off discord
But it seems it would be more work to maintain that
no lol volatile is just a term i use to mean "dont do anything such as DCE or optimisation to this function, leave it alone"
shouldn't that just be implicit if its external
yes
i fixed linker flags so you can now static library
Don't let any of the other people here see
They will hang you
idk I think they're fine but the main reason is security I believe
requires every application individually to update their deps instead of it just being updated system wide
is that not like a perfectly reasonable issue though
i mean also statically linked code also has the issue of taking more space when theres multiple copies of it
but also is more portable
I think it depends on the use case
I mean if you're being distrivuted via a package manager just specifiy the version you need
it is
Not a concern today
if they are big librarys possiblty
I just get annoyed when people hate static libraries to the point of lying about a certain language requiring it when it doesn't
it is my little ssd can't handle it 🤧
(Hayden when rust)
rusts dynamic lib support is ass tho
the convo I had with Hayden was about ffi
unless somethings changed since i last looked into it
that gets dynamically linked by default in rust
because static linking requires you to have static libs jnstalled
ffi means you can do any of the rusty stuff, you're limited by capi
that's what i assumed
i've never tried it but i should
You have to explicitly change it to static link c libs because that's not the default
It wouldn't be a feasible default
Rust can't do magic
doesnt rust like include mir the .rlib files which lets you have the fancy rust stuff
i was having this convo earlier
you can do rust dynamic linking but have to be careful because abi is not stable
me when elle doesnt use libraries at all trolley~1
it takes away most of the utility because you can't just like throw an rlib on the system globally and link to it dynamically
is this that crabi thing i saw the other week?
No
i love the name lol
crabi does make a stable abi
the source code of modules is put directly into /usr/local/bin and things that import it compile that too
and it would make this possible
yeah, and then some other people get pissed about having to make everything source available 
idk
not really
source available 🔥
x86_64-unknown-linux-musl statically linked stdlib 🔥
the interface is flexible enough that you can just define the interface of functions in a file then compile to a lib and tell people to import the interface and use the lib, like c
but the downsides of generating an object/lib are this (notably no generics, no string module imported by default to prevent conflicts)
Oh I thought you meant for rust
I've seen that complaint with rust
not sure how well cdylib target works to solve it
Like if companies want to make a binary only library for rust
yeah but function calls
Although I think technically rust considers even structures to be unstable abi
but its very defined now and stable in practice
But you're not allowed to rely on that
you can just define a c symbol, wrap it in fancy rust, and then say that the export from the lib is that c symbol
thats what i do in elle
yeah going through the c abi layer
but ideally in the future you could skip that and do straight rust to rust
not necessarily through the c abi layer
Wdym
just saying that a method was defined in C code when it was infact defined in rust code
it all boils down to symbols in assembly anyway
that sounds unsafe
like, tell rust "i want to define this external C function foo" but instead of supplying a lib compiled from C you supply one compiled from rust
do you have exanple
then the function has no body
as far as the rust compiler is concerned that method is opaque now
so make a safe wrapper and there, opaque functions
you get warnings but
#[no_mangle]
pub extern "C" fn foo(x: usize, y: String) -> String {
y.repeat(x)
}
rustc --emit=obj --crate-type=staticlib -o test.o test.rs && ar rcs libfoo.a test.o
#[link(name = "foo")]
extern "C" {
fn foo(x: usize, y: String) -> String;
}
fn main() {
unsafe {
println!("{}", foo(3, "hi".into()));
}
println!("Hello, world!");
}
LIBRARY_PATH=. cargo run
youre still using rust stuff like String but the compiler has no idea what the body of the function is
well that would be going through the c ffi layer wouldn't it
technically yeah i guess
That's what I meant by that
I thought you were saying you called an extern "Rust" function as if it was C or something lmao
but for passing structrures, if you don't repr(c) then I think its unstable
wait
I see what you meant, because there's string there
It works but that doesnt mean its safe or correct
trueee
Im pretty sure that's technically UB
but if you really wanna have opaque functions
I may ask the rust server
I wonder if abi_stable let's you do it correctly
I have confirmed that is technically UB the way you did it there
They have a bunch of adapters for std types
ah
the world if C had generics
not void*
real standards for monomorphization in the c abi
that wouldve been nice
On My Way!
just download more cores
trying to use mercurial as a git user is not fun
everything is so inflexible compared to git
No fucking way is this reply actually real
I refuse to believe somebody is that tech illiterate
no it makes sense
i assume the game looks better on newer devices
and he wants that, not caring about perf

😭
Hello I am interested in getting into this space and creating a tweak of my own, I have prior programming knowledge but know nothing about jailbreak tweaks.
I do know C! but probably not whatever objective-c is... shouldn't be too different right????
Is this tutorial still applicable?
i'd say learn the basics of objc first (start of https://www.binpress.com/learn-objective-c-24-days/) then give it a go
Yep, that title says 24 DAYS, not hours. You can’t learn a programming language in 24 hours. Publishers say you can, but that’s just for marketing purposes. To really learn a language — to the point where you don’t have to look back through a book every other line — takes time. It takes time […]
so learn this first and then try the Tweak-Tutorial?
and how much C knowledge would translate to Objective-C? I am assuming the syntax would transfer over nicely so that's not an issue
well objc is a superset of c, so you'll just have to learn the new objc concepts
I also have another question, what if I wanted to create an application I can load onto my device with trollstore without using jailbreak
I installed Geranium and I am impressed it does not need jailbreak to fake my GPS
and the reason I am learning to do this is to create something that I cannot find on the market which is not too far from faking my GPS
normal xcode stuff, then just package the .app into an ipa
not really
so how does Geranium work, they can somehow change Daemons and GPS?
do you know enough to say that I could create an app that can notify me when someone leaves or arrives at a place through the find my app? or does that need jailbreak?
also which would you say is easier? creating an app with xcode and then installing through troll store or creating a jailbreak tweak? I think if I could I would prefer to do the xcode app but if I have to learn something new like swift then I am not sure how I would fair
isn’t that already native
like i’m pretty sure you can do that
thats built in
in shortcuts
not when I, but when someone else that is sharing their location in find my
let me try this tho
YES you are correct
but it notifies the other person
obviously
they can do it theirself
pretty sure thats illegal btw 
nope
because they are sharing their location with me, i could technically have the app open and monitor it myself 24/7
it would be illegal if I somehow gained access to someone's location without their knowledge
it's your ex isnt it
💀
no its a really weird case
my gf's dad is overprotective
but he works early in the morning
so I usually come over to visit her
but recently he's been coming home to "check up" on her and last time he almost caught us
so it'd be nice to have a notification when he gets "close" so I can leave before he arrives
so it's honestly not too bad
C++ >>> C
ewwwww
Why eww
that's funny, it sounds doable but would probably take some effort especially for not having prior experience
if you wanna take the easy but paid route, r/tweakbounty
If it’s at a reasonable price I’ll do that sure
But I like programming
you decide the price, could throw it up for cheap and still learn how to do it yourself unless someone offers to work on it
Sounds good then
I also saw this https://github.com/gcobb321/icloud3?tab=readme-ov-file
Which looks like it doesn’t even need to have a jailbroken phone
Or side loaded app
But I haven’t looked closely at it
Just my assumption based off of the description in the GitHub readme file
So now I have potentially 3 methods to do this
So I could maybe have a website or smth to change the location and stuff
But how would I have it ring my phone.. hmmm
Yep
this is probably the easiest way for you
How would I interface something to change the location
Or notify me when said person comes into a zone
Ideally
My phone would ring a ringtone
do you wanna spoof your location?
Nah I’m not trying to spoof my location
If I made a tweak tho I could have the phone ring probably through some kind of tweak activate function
there must be a way on icloud3 to geofence, since it's home assistant it's probably possible to have it send you an alert
https://gcobb321.github.io/icloud3_v3_docs/#/chapters/7.5-sample-automation-scripts this section tracks when he's nearly home, you could adapt it for your purpose
Yeah if the home assistant app can somehow play a loud ringtone then that would be great
I’ll look into that
Also what’s geofence?
And this looks great and easy to program !
That’s yaml, very nice
like a boundary you can mark so if her dad enters the region (fence) it'll trigger an event (alert your phone)
Awesomeee
C>>
Dleovl would love this
mental illness
wait till you hear about php bindings for dbus
do you ever just
Is that on Apple Silicon
yes
How
utm
hold on lemme send you config file github repo
Ty!
just need an iso
then you're good to go
though it runs pretty slow so keep that in mind
I just need to run one program
So it should be alright
But I need to wait for my new Mac to arrive
Thank you
You’re welcome!
what have you bought
M4 MBP
lmao i forgot how much he glazed php
24GB/1TB
agree
🤤
I upgraded for several reasons
I had base M1, 256GB/16GB
But
- Constantly < 10GB free
- Could use more memory
- Battery is bad now
- Getting a second monitor (M1 allows 1)
m1 base can do two displays (including built in) right ?
Didn't wanna spend 200 on that lol
Seems useless
glossy displays are unusable junk
I perfer glossy displays


