#development
1 messages · Page 213 of 1
Messagesxi? I’ve reached out to the original developer regarding updating/monetary contribution, I think that manual read receipts implementation is very well done
it was recently updated for iOS 16
on a related note: is this even possible via bootstrap without a full jailbreak?
I think I found the tweak I was thinking of but I'm not even sure if it was ever released
Can you give any more details? Dm?
wen eta
Unfortuantly the eta has been lost. We're working really hard to find it and will get back to you when found
No. I'd have to ask the author if they would be okay sharing but I dooubt it would work on mdoern iOS it's fairly old and aolso I just checked and it might just be mark as unread which isn't what you want
Okay thanks
Any info is helpful but thanks for your time
If that author/dev is still around and familiar, maybe they would be interested in a commission?
nathanlr can inject into daemons
just beg him to add it
is having namespaces defined by filename fine for a video editing scripting language
no because when i hear scripting i think 300 lines in 1 file
how I'm imagining variable and scoping:
video1.media
source = open("media/2024-10-10_12-34-56.mkv"); // this is public by default
static funny_soundbite = source[00:05:23..+00:00:10]; // this is a private variable
first_ten_mins = source[..0000];
hook_and_intro = funny_soundbite + first_ten_mins;
project.media (entrypoint)
use video1;
use video2; //not shown but for illustration
funny_video_seq = video1::hook_and_intro + video2::interview1 + video2::interview2;
export("out/final.mkv", funny_video_seq, todo!("how to configure output format and codec settings"));
this is my initial concept
hmm I wonder if the export settings should be in the file or in the CLI command
the todo!() is not supposed to be syntax I just didn't know how else to say that
How crazy am I for yearning to edit videos by writing code like this
looks decent i guess
I will be remaking that concept entirely
instead of variables they are labels
well nothing is variables
instead of bindings they are labels
after updating xcode im getting a theos linker error
ld: warning: object file (lib/libminimuxer-ios.a[72](1ddd1489cc625d97-zstd_compress_superblock.o)) was built for newer 'iOS' version (17.4) than being linked (16.4)
Hey newly enlisted 18 year old, that 25-30k C6 Z06 might actually fix your life
nvm this is whats causing it to fail to compile
Anyone know how difficult it is to inject a dylib into a apple arcade app on mac?
wait yoooo @gentle grove finally
real raw ptrs
all the rest of the changelogs https://blog.rust-lang.org/2024/10/17/Rust-1.82.0.html
Would macos dyld work on ios with enough patches
Lol
Rn im running ios 16.7 dyld on ios 16.4.1
I mean I was able to compile a dylib mean for macos on ios with a couple changes
how do you make safe raw pointers
wrap it in unsafe and then put that in a function and say the function is safe
you can make them safely, you just can't deref them safely

pov any wrapper to a C library:
it would be fun i think to be able to prove that a C function will not cause crashes for all inputs i ∈ 𝕸(∀)
like Dafny 
Prove that a function will or will not halt
im going to pass the function into itself

?
(that is how turing proved that there can be no turing machine such that it can compute whether or not a certain machine will halt given an input)
Oh I didn't know that lol
wtf how
I only knew that it wasn't possible to have a general solution
well yeah, given a subset of functions, with a given input i would assume it's possible to compute whether it halts or not
Yeah you can tell for some individual functions
But not a general algorithm
Dafny, the programming language, actually requires you to prove that a loop will stop for all possible inputs given to it through the use of a decreases keyword
so
(and that decreases condition will help determine whether a condition will hold forever or not)
but for an arbitrary machine, it will be impossible
Oh interesting
But while true loops aren't possible with that are they
Or can you bypass that requirement
Yeah the idea is you have a function that can tell you whether a given function will halt or not. If it will halt, this function doesn't half and if it won't halt then it will halt. Then by passing it into itself, its a contraditction
i mean yeah while true loops, given no break conditions, will not halt by definition
https://langdev.stackexchange.com/a/2510 interesting answer to halting problem

Oh wait I did know that
I thought he meant something different
There's nothing inherently wrong with infinite loops
As long as that's your intended behaviour
in Dafny specifically, programs need to terminate
thus, loops also need to terminate
otherwise they are not correct in the model Dafny specifies
although this can be problematic when dealing with external things such as IO
then don't ask
if you ask there can exist a situation in which you will receive an answer
This is a good reminder that functional programming doesn't exist because computation is a side effect and all functions compute

no loop is infinite
well unless you have a bug
there's always some condition to exit
well I guess from the perspective of inside the computer they can exist
the real question is wtf are they allocating for on a missile instead of statically allocating it
malloc is fallible
i guess if it fails the missile falls down prematurely

probably using dynamic to store things like coordinates or something
although, they could have just used a big static array for that
yeah that's what I'm thinkibg
anyone here know the modern way to make dyld prefer libraries on the filesystem instead of shared cache
Does messing around in /var/mobile lead to a bootloop (w/ sparserestore)?
I once did on 15.6 to forcefully remove my acc and it worked just fine (with TS filza)?
on 17.0+ it will if you fuck it up
Yes*
I think floppa bootlooped from that
@gentle grove
Floppa moment
Also why does it just die after you do that
please inform when the sigma content has dropped
on sigma
I am signing up for your newsletter
WAKE UP SIGMASSSSS
@wooden yarrow
@granite frigate
Today, I'm dropping my paper on how Apple's permission system (TCC) works: https://t.co/5a4anZ3sjd
also why is twitter like this lmao
wtf i didn't even notice till now
lfg
ok yeah this is fire
also you did this for your uni essay or sumn ⁉️
Nah I just did this in my free time
i put the uni there bc i thought it's standard or whatever
thank u goattt
damn nice
given a bit of fixes from informal to formal language this can probably be submitted as a essay or paper or sumn lmao
Yea I feel like I can actually breath when I write stuff for me
jelbrek iso 20!!!
😂

winning
please accept this DeviceImage5@2x.png asset as your award
no not that
of course i know about analytics
i'm talking about the / between t and .co
oh i see it now
something something elon probably broke things

but it's only an issue after discord embeds it
so maybe discord lol
Mine too
wow i'll never need the modulus function ever again!
for all the mistakes this LLM makes, i have to say i'm still impressed at how often it does get things correct
especially when it comes to code
i am not impressed that a smart parrot can get things correct in code often
I mean, I'm impressed with it because it's a parrot that knows a lot of stuff
and can look it up very quickly
i mean i asked it to make a java class which:
- reads an xml in an expected format
- reject the file under constraints (missing keys, value for one key should be used to verify what's expected next in the xml)
- check if specific values can be parsed as a EC or RSA private key or certificate and print the results
i then asked it to extend it with a method that takes it all and puts it in a hashmap with appropriately named keys
and before doing so, ensure that each string is just the base64 encoded data with no whitespace characters, headers or footers
all while not depending on libraries that don't exist in AOSP
it doesnt know anything in my opinion
it doesn't, but it's extremely good at feigning that it knows a lot of stuff
put it that way
tricking sand into believing that it can think (but can process natural language this time) ✅
also i didn't know a "lambda" style switch statement was a thing since java 14
bro
please learn how to use the enter key
it wouldn't look much better
either way i just took the suggestion from the java extension
that's why there's no breaks
thats terrible
well you’re not an airline
show
sounds like they want you to stop using something deprecated
what does it do
funny enough the only documentation i can find on it is it being a symbol in a rust crate
the reference i could find: https://docs.rs/object/latest/x86_64-apple-darwin/object/macho/constant.REFERENCED_DYNAMICALLY.html
API documentation for the Rust REFERENCED_DYNAMICALLY constant in crate object.
(theres no docS)\
ok i found a meson issue
its just someone's error message having that name
guess ill just have to guess what it does based on the name
so you cant do that with -exported_symbols_list?
yeah but you lie sometimes
what do they do differently
no
this is so cursed
i was gonna do null but that sounded like a bad idea
so in other words you need to get with the times and use different features

i think you forget the platform you are developing for is made by apple
so you do the apple way
then know the names of the functions 
then dont strip

dont let it be clanged
whys clang stripping
oh
it sounds like it is your problem right now
i literally develop C too
no you are just blind
Bouta build this
"Marijuana." Let me know if you need more details!
NebulaAI
You are gay and a loser
Shit coffee for life for spending 15k
Bruh spending 15k on Starbucks stocks for white girls is a crazy level of being down horrendously bad
Unlike you
Yes but it is cool
cool cat
TOYOTA 🔥
it uses my engine
2GR-FE
the emira isn't a supercar because it uses a Toyota engine?
I didn't say it was
Corvette isn't a supercar?
I thought you were saying they both were before
I couldn’t figure out why my app was crashing when I exited the camera so I just had to start from scratch 😭
Wtf is this
@torn oriole
Baller
Idk I’m just trying to learn just some half baked app that tests most common system functions
I get bored and make apps that I only use like once lmao
good for a portfolio 🤷♂️
I wrote oath from scratch before
Was good to know how it works
Idk if I did the full spec
Probably not
Just enough to login to discord
i mean better than nothing
i keep thinking of big ideas and never starting it
I'm gonna write a Wayland mitm
something like wireshark but for wayland
there isn't a good single solution for knowing everything about a Wayland connection
you have got to be kidding though that they made strings null terminated
why
17 arguments? god damn
+ (id)buildWithUDID:(id)arg1 withOrganizationInfo:(id)arg2 withMDMOptions:(id)arg3 withLastCloudBackupDate:(id)arg4 withAwaitingConfiguration:(id)arg5 withITunesStoreAccountIsActive:(id)arg6 withITunesStoreAccountHash:(id)arg7 withDeviceName:(id)arg8 withOSVersion:(id)arg9 withBuildVersion:(id)arg10 withModelName:(id)arg11 withModel:(id)arg12 withProductName:(id)arg13 withMarketingName:(id)arg14 withSerialNumber:(id)arg15 withDeviceCapacity:(id)arg16 withAvailableDeviceCapacity:(id)arg17 withIMEI:(id)arg18 withMEID:(id)arg19 withModemFirmwareVersion:(id)arg20 withCellularTechnology:(id)arg21 withBatteryLevel:(id)arg22 withIsSupervised:(id)arg23 withIsMultiUser:(id)arg24 withIsDeviceLocatorServiceEnabled:(id)arg25 withIsActivationLockEnabled:(id)arg26 withIsDoNotDisturbInEffect:(id)arg27 withDeviceID:(id)arg28 withEASDeviceIdentifier:(id)arg29 withIsCloudBackupEnabled:(id)arg30 withActiveManagedUsers:(id)arg31 withOSUpdateSettings:(id)arg32 withAutoSetupAdminAccounts:(id)arg33 withSystemIntegrityProtectionEnabled:(id)arg34 withIsMDMLostModeEnabled:(id)arg35 withMaximumResidentUsers:(id)arg36 withPushToken:(id)arg37 withDiagnosticSubmissionEnabled:(id)arg38 withAppAnalyticsEnabled:(id)arg39 withICCID:(id)arg40 withBluetoothMAC:(id)arg41 withWiFiMAC:(id)arg42 withEthernetMACs:(id)arg43 withCurrentCarrierNetwork:(id)arg44 withSIMCarrierNetwork:(id)arg45 withSubscriberCarrierNetwork:(id)arg46 withCarrierSettingsVersion:(id)arg47 withPhoneNumber:(id)arg48 withDataRoamingEnabled:(id)arg49 withVoiceRoamingEnabled:(id)arg50 withPersonalHotspotEnabled:(id)arg51 withIsNetworkTethered:(id)arg52 withIsRoaming:(id)arg53 withSIMMCC:(id)arg54 withSIMMNC:(id)arg55 withSubscriberMCC:(id)arg56 withSubscriberMNC:(id)arg57 withCurrentMCC:(id)arg58 withCurrentMNC:(id)arg59;
snapchat has a method with over 300

mfs never heard of using a struct or dictionary 
ios snapchat is perhaps the most well made social app
(in terms of dev not design/ux)
friendly fire is crazy
you will be able to boot 16/17/18 tethered, cryptex can be patched in the kernel
the naming makes me think they should be bools but like
at that point just use a struct
like y'know, an array, maybe even a map? 💀
withADamnStruct: is what they needed
(id) is so real
Instead of writing my own compositor I should just make good enough debugging tools to fix hyprland issues
help i wrote a LZVN decompressor that outputs the correct decompressed file but outputs the wrong debug messages
how does this even happen
oh yeah i dont think ive posted this here yet but elle is powerful enough for the quake 3 fast inverse square root algorithm
i tried a few months ago and it went horribly because casting was bad
(also cleaned up a little but the very raw translation from C code also worked fine)
why does ur pfp have an typing animation
because you have the decor plugin installed
interesting
is it fast
idk
it was already established that fast inv sqrt is slower than the rsqrtss instruction
so probably not
its just cool that its possible now
Evil floating point bit hack ❌
Interpret the bits of a float as an integer ✅
TRUE
honestly that comment rewrite was more for me to understand it
i still dont fully understand how the magic constant part works that well
Yea its funny how they created the constant for three-halves but threw that just like that 😭
lmao yeah 😭
i havent read through it or looked at explanations
i think in reality x2 is also unnecessary
because they only do 1 iteration of newton rapshon
theres no point to define x / 2 as a constant value because its only used once
what
if fastinvsqrt as impl'd in microcode then

may be faster
in the original code they defined int x2 = x * 0.5;
and used it here
that would be nice
would make it look a little nicer
id argue thats unnecessary because they dont do that operation more than once
i guess
thats the reasoning
ah yes
give x / 2 a nicer name but keep 0x5f3759df as a magic constant
makes perfect sense
yeah
it doesnt help my undertsanding but at least its not a random number
lol yeah obviously
i understand everything except that floating-point-manipulation-thing
i know its something to do with how ieee-754 works
and i know how that wworks
this
i am going to write a wayland MITM tool
ugh then i have to figure out what gui toolkit to use for my tool, or a tui
maybe tui is the way to avoid depending on a graphical environment existing
float Q_rsqrt( float number ) // 5.0
{
long i;
float x2, y;
const float threehalfs = 1.5F;
x2 = number * 0.5F; // 2.5
y = number; // 5.0
i = * ( long * ) &y; // 0x40a00000
i = 0x5f3759df - ( i >> 1 ); // 0x5f3759df - 0x20500000 = 0x3EE759DF
y = * ( float * ) &i; // 0.45185754
y = y * ( threehalfs - ( x2 * y * y ) ); // 0.45185754 * (1.5 - (2.5 * 0.45185754 * 0.45185754)) = 0.44714100981
// 1 / sqrt(5) = 0.4472135955
return y; // 44714100981 ~= 0.4472135955
}
if I feel like it I'll look into it later but heres a commented starting point
you know what's really nice about rust is not being able to accidentally create UB by violating thread safety
and also being able to know something is thread safe instantly by just looking for Send and Sync
and the library author can't just forget to tell you that something is thread unsafe
OH BABY
they are tracing fans
that is very good
maybe i should be using color_eyre instead of snafu::Report for my errors
tracing is an awesome ecosystem for debugging
Is there a downside to enablling all capabilities under an app ID , I know push notifications, extended memory ,but would anything else benefit me really
Is this useful at all
about as useful as something chatgpt can generate
Ah okay I didn’t generate it it just displayed it on its own so I was wondering if it had anything useful
Has anyone ever tested what -unsafe_kernel_text does? Max Bazaily mentions this boot-arg in his 64-bit dualboot presentation and mentions that this disabled KTRR (which I have looked up and confirmed).
Only asking because this arg is present in iOS 10 iBoot for 32-bit as well. Not sure if it'll even do anything since I'm terrible with reversing but curious as to why that argument is present for 32-bit too.
What would one hook in CoreGraphics to force 120hz refresh rate in macbook pros with proMotion display
Seems like https://developer.apple.com/documentation/coregraphics/1454760-cgdisplaysetdisplaymode?language=objc to me
you can hook coregraphics on macos? how?
I assumed ellekit would work same way it does on ios. @granite frigate does it not ?
shame you can't apply the traits and let the compiler check it though
you gotta just use unsafe to apply right
wdym
its applied by default
if you use types that aren't then it removes the trait by default
yeah but for those that arent
you have to manually apply Sync if you use a type that isn't Sync inside the struct, for exame
but that is what "compiler check it" is
and usually that means you have to write unsafe to actually write the synchronization code necessary anyeays
I mean that's not the technical reason its an unsafe trait but that's the reality
hm
how else would the compiler know whether a type is safe to synchronize other than looking at if every type inside is Sync-hronizable
what for
like im curious of the use case
The main goal would be to force UI animations (dragging windows, scrolling, moving the cursor) to a fixed 120 instead of varying refresh rate (which, lets be honest is a fancy name for "80hz most of the time")
idk ive never noticed it on mine
like i can just see it being forced at 120 being sucky for battery
theres a good reason its 10hz -> 120hz
I know, extra battery drain is taken into account but still this would be what i preferred. Some people like high refresh rates more than others i get that
They do that on macOS too?????
but why would you want it to be 120hz when nothing is moving
dynamic refresh rate, same display as iphones and ipads
as soon as a CAAnimation starts the display goes into "animation mode"
isn't dynamic refresh rate specifically referring to hardware VRR capability
which is 90~120hz
pretty much
this sounds like a software issue where it doesn't render at full 120
it should be 120 when you're animating
even if you force the display to 120
that's how it is everywhere not apple
(which it already is)
even with VRR
the display will be in 120 but the animation will be lower
that's even dumber then..?
Why is that
well its not its fault
the animation is lower because of hardware limits
i.e. performance
i.e. a complex shadow animation might be struggling
if you've got a lot going on
there's no way
macos says "hey we're doing an animation, jump to 120"
and then the animation will push frames as fast as it can
but sometimes it lags behind
something something swiftui
If you notice an animation lagging 9/10 its SwiftUI
but I don't have swiftui on linux
one issue that you will sometimes notce
Just to make it clear; are you claiming dragging windows, moving the cursor etc is already presented at 120 ?
is 3rd party apps not using native frameworks
yes
That can't be right i wish i could check it lmao
(as long as you havent enabled lock to 60hz)
(if in low power mode it will lock to 30)
moving the cursor definitely is at the 60 seconds I spent at Costco messing with the macbooks
@orchid fulcrum open up ufotest
if you get 120hz then ur display is fine
if it locks to 60 then you've set something
lol
safari only goes up to 60hz 
theres a way to make it go to 120
oh
its a dev flag
Settings -> Safari -> Advanced -> Prefer frame rendering close to 60
turn that off
you can also enable av1 there
if you have a phone with hardware support
its off by default
15 +
yeah you can enable av1
Even this doesn't work for me lmao
what mac do you have
Skill issue
inb4 we find out this dudes mac is 60hz
I don't have a mac yet lol i am planning to get a 120hz one thats why i was concerned
On phone
I checked it while i was jailbroken, i didn't say it was 80 at best though i said it was 80 most of the time
Like when switching between pages in springboard/homescreen
wut
If thats not the time to use 120 idk what is
that literally sounds like a skill issue
Skill issue
i almost never see a frame drop on my mac
the only time I do is when i'm doing something stupid like a full res fusion render
how to install Founation.h on linux
grab urself an sdk
if i want to make a tweak for ios 14.3 i grab what sdks
the ios 14 one..?
yes it'll work
ok
Latest is usually fine
it doesn’t matter too much
I use the iOS 18.1 SDK for stuff I ship to iOS 12

I know on iOS its well known that it never hits 120 unless screen recording
it saves battery is the justification I think
It's known and intentional behavior
80fps on the homescreen?
Yeah pretty sure that's normal on ios
it might be on iPhones (though even then it's not as frequent as people make it out to be)
but iPad ProMotion straight up doesn't support 80hz
there's no in between between 60 and 120
Oh
Apple documentation lists what it supports
What if it just drops frames instead 
I mean iOS does force 80 at most if you're in LPM
If I have time maybe I'll try blind testing the promotion on iphone
irrespective of what type of ProMotion you have
Thought it was 60
Makes no sense
Maybe so it doesn't look as shit
After using 120 on phone and laptop for like 3 weeks, 60 looks terrible but 70 is fine
common complaint with ios updates on the pro iphones lol
works one day breaks the next
Right (not "never" but most of the time), thats why i was surprised when they said macOS doesn't have the same thing
I’ve never noticed it that low
Like even if you enable the dev fps view
So that's why my iPad is smoother
My app is shit compared to this I didn’t know ADA worked with native Apple ID 😭
are you serious
this is main -> loop {}
thats it
theres no line num,bers
oh im stupoid theres rust-lldb
i am not really sure what is happening
so if you guys remeber from earlier I was trying to port that rust thing to iOS, but it wasn't working because the iOS version had statically linked libraries and the mac version had dynamically linked. However, I got thinking, could I, hook the methods needed, with just versions that call orig, then make a dynamic libraru that exports those hooks, then when the rust lib "hooks" the method, it would hook my hook and work
Or would that not work because of something about the libraty already being loaded or smth>
do you have the source to this rust project?
yes
oh why so hard then
procursus does it
this is the only notable bit $(DEFAULT_RUST_FLAGS) cargo build \ --release \ --all-features \ --target=$(RUST_TARGET)
excuse the formatting i'm on phone
well basically it's hooking a dynamic libraru bundled with the app and getting functions/replacing them https://github.com/ethangreen-dev/lovely-injector/blob/master/crates/lovely-core/src/sys.rs#L23 but the same app for iOS is statically linked so it can't lookup the functions to use/hook them
relevent past convo #development message
oh so you've got the project running but it doesn't actually work, probably best to rephrase it the question then
yeah the code runs but it doesn't behave proper because it doesn't do anything wiht the functions
there was something i remember seeing writing tweaks in rust for objc, probably isn't what you want tho
yeah
I mean if I could get it to use mobilesubstraght instead of what it does now that would be handy
it’s 100% 60hz in lpm
i just checked
ok maybe not or maybe i think ive just confirmation biased myself
@indigo peak working on calculator history but can’t push the patch for jellyfish reborn 
i love when i have to figure out why my phone goes into safe mode every month like it’s a puzzle
maybe it’s intentional then
FLEX debug doesn't work on my phone so i can't search the name of the view so what can i do
how would it be 80 hz if, per Apple's documentation, iPads don't even support 80 hz https://developer.apple.com/documentation/quartzcore/optimizing_promotion_refresh_rates_for_iphone_13_pro_and_ipad_pro
blame swiftui for that
Don't think that will help
I blame swiftui for many things
Good, continue to
hello guys
how do i fix down not being imported properly
idk how to xcode i started today
xcode forgor 💀 to add it
nvm i didnt fix it
not when I have to figure out all the stuff to do to configure vscode
or figure out what exact combination of extensions to install gives me the right tools
well, given it is configured correctly
you still need some setup with lldb too so
no I dont
you just lldb foo

its hard for me to test the fix bc i can't 100% replicate it
i've only been able to replicate it once, and that was unintentional
and i also was actively working on calculatorhistory for about a week, most of the code i wrote back in february
i sent you the good crash log a few weeks ago
yeah finding the issue != testing the issue
this ☝️
yeah true
i could’ve tested it today but too late
gotta wait another month
it’s alr idc that much you’ll fix it eventually
gl
wdym wait another month 😭
@grand tide think i found a way to reliably reproduce it lmfao
n i think i fixed it
cool
the reo notification
epic
why is trackpad scrolling on macos 60hz
nvm its a swiftui moment
its only like that in the settings app
fuck swiftui
it's prefs icba
yeah that's the same excuse i gave for pinnacle lol
imo swift ui is actually good for simple menus like that
wait i thought this was ono
good thing i didn't leak drm stuffs

Why is scrollIntoView moving the document body up??
On chrome it like just instantly loads like that
New GPT jailbreak more detailed , this crazy💀
Hmm asked about a nuke and it gave me a cocktail recipe 😭
Might be the .json that passes filter guidelines
Just put in nukeular bomb
and 16 player
leak
Why? /genq I’m not a SwiftUI fan either but I’m curious why is it so hated
Hey, did anyone here mess with LiveActivities maybe?
I’m trying to perform specific tasks only on the media player live activity, but it’s applying to all other live activity containers.
at what point do you say [flags]
because apparently not here
SYNOPSIS
usb_modeswitch [-heWQDIvpVPmM23rwKdHSOBGTNALnsRiuagft] [-c filename]
Anyone knows a Frida SLL Pinning Script for IOS 16? (especialy for TikTok?)
mfs just copy pasted the string from getopt
it'd kill you, the code is worse than yandre devs
you mean this
yeah
lol
I don't know if you can help me with this, but I'm trying to make all and the issue I have is: ``main.m:20:8: fatal error: 'Foundation/Foundation.h' file not found`
for context, I moved Xcode to another location and it works and reinstalled the toolchain.. but it seems <Foundation/Foundation.h> doesn't exist. Is there a way to re-rout in a sense to point to the new location?
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
change the path to where u moved it
That's been done to reflect on Xcode's new location
so far the command is clang -arch arm64 -isysroot -framework Foundation but clang can't find Foundation, is there a way to set it Foundation as a default path somehow or do I have add in every file manually to the command string?
I mean if its not done every frame or otherwise a hot path, then can you fault them for doing that
no point manually writing out a binary search tree for something that isn't a hot path
unless this is a language that lets you switch on strings
although all of that could probably be solved by using an enum....
Why do i remember this book from like middle school
Chat can someone teach jef swiftui please thank you
idk, jus some book from school im using as exmple
@grand tide I pushed the update
i love you too
i mean thanks
the changelog i have been looking forward to my whole life
jelly reborn?
Apple has announced that iOS 18.2 beta allows developers to develop and test EU specific features from anywhere in the world. The company says this change was made following European Commission and developer feedback
So am I able to make an app market place for the US then this is confusing to me
I think its saying that you can develop an app marketplace for the EU from anywhere in the world now
Cause it might have been restricted to just EU developers able to do that

capt deleted all his incorrect messages flaming rust from 2 weeks ago
did someone send that meme before in this channel which is showing like 15 different rust types -> one single char* in c
because i wrote the c/c++ equivalents for each of those now
ok well i will send it on my own then and then refute it immediately
In order, mapping Rust -> C/C++ (closest equivalent; comments to clarify details that don't exist)
&str -> char * // like unsized array of utf8 (technically each char can be up to uint32 because unicode)
String -> std::u8string // since C++20
&[u8] -> uint8_t * // smart pointer holds the length in rust
&[u8; N] -> uint8_t x[N]
Vec<u8> -> std::vector<uint8_t>
&u8 -> uint8_t& // this is not an array, much less a string. is just pointer to a single uint8. should not be in the comparison.
OsStr -> char array on unix; wchar_t array on windows, // NOT POINTERS TO THE ARRAY; these are the actual string values themselves. They cannot be stored in a variable and instead must be behind a reference.
OsString -> std::vector<uint8_t> on unix; std::vector<uint16_t> on windows; // these are arrays; akin to a OsStr.
Path is an OsStr that has methods for dealing with paths
PathBuf is same as above but wraps OsString (owned)
CStr -> char // this is an actual just C char string, but the value; not a pointer to the c string (see explanation in OsStr above)
CString -> char * or std::string // finally: the same as c/c++ but a wrapper that guarantees it is null terminated
And finally: &'static str is identical to the first entry but with a static lifetime. This is usually encountered as a string literal, which is 'static because it lives in .bss or .rodata for the life of the program, but if taken as a function argument, a &String can be passed in (since an owned type can live up to as long as 'static) too.
rustoids would hate AppleDB src
osStr 
Boba finds out about a few year old android feature, episode ??
ios doenst have the feature
apple would never
and plus it defaults to charging only over usb which is awesmoe
wait what even is this
or maybe thats a GOS feature
you connect to something and it charges it from the phone?
yeah i can toggle on "Charge connected device" in usb settings
(my iPhone can do that
)
it charges my laptop instead of my laptop charging the phone
how
idk
i do it with my apple watch all the time
cram in my usb-c watch charger and its going
is Cursor worth paying for?
it charges your laptop from your watch?
oh
charges my watch
what about for laptop
im pretty sure if i did a watch charger it would default to charging the watch because theres no way to do the opposite
i dont get to make that choice but i know my switch will charge my mac for no reason
if i use a direct usb-c connection
haha so android wins
i mean one overdue toggle away and itll be an even playing field 
can you configure exactly what usb data is transferred
no
like the usb mode i mean
no
tethering as in data tethering?
whatever network your phone is connected to
so wifi as well if phone is connected
or the same vpn the phone is connected to if any
afaik ios cant do the wifi but it will do the hotspot 
i cant remember usb hotspot ever working on my iphone
like i tried it before
but that was on macos, maybe its better on linux
i know that because i would use it to get my macbook the stupid broadcom drivers that would keep uninstaling themselves after updates on linux
here with networkmanager i literally just switched on usb tethering mode and then it immediately connected
cdc_ncm
what the hell does midi do
bro i can use my phone as a webcam easily
do you
apple moment
idk I haven't tested windows
I'll test my iPhone in a bit
I don't know where it is
yeah the reo notification bug was finally fixed
it would crash every time reo needed to check drm servers
It does but it only offers if you disable Bluetooth too
Although it always works on my windows pc for some reason without having to
Even when I don't want it
Lockscreen debug
What
Lockscreen editior process turned into app com.apple.posterboard
Well it’s no longer hidden
had to change the prompt up for it to work on Siri but works everytime in gpt app
you have the option? mine is automatically enabled with no way to turn it off
What is automatically enavled
charge connected device
well yes
i am able to
its weird
but i can't charge back
Maybe its just visually stuck on but in reality its stuck off
there's just no option to toggle it on or off
i can charge other devices just fine tho
maybe its on automatic
idk
when its off mine does that automatic behavior you say
but then I cna override it if I want to switch the order
I mean charging a laptop from my phone is useless but still
it only gives me this
and yea
Maybe graoheneos adds more options
No
Download the ipsw then get .app and convert to ipa then sideload
@grave sparrow
bold to assume he’s employed
i have this on my personal computer 😱 should i be worried
Pinnacle :/
idk what tweaks you've made they're too irrelevant 🥱
we both know this is not true 
.ds_store malware
yeah true
Silly question what if you swap which end of the cable is in which device
its for USB-C peer-to-peer support
if you connect 2 phones to each other, you can use that option to choose the host device
to, like, transfer data
Or you can charge your laptop
i haven't tested that
USB c cables are identical on each end though
I think you gotta know him with the numbers
don't you just love it when they put visuals over user experience
looks cool but is a mess since everything is an option here
like, the bento grids are great when you want to display info
don't use it for a list of buttons that honestly should have equal priority lol
lmfao
and pop has the smallest button

looks normal to me
not sure why switching the host fails though
but tbh to disable charging the connected device it would have to support both being the host and having a hal to control usb power anyway
what's worse is them restricting their apple watch and carplay apps to subscribers only
c is a wonderful language
i think you can make something this bad in any language
however function pointer syntax is pretty stupid
Java:
java is better
True tbf
that was supposed to be irony
🙄
the the the the the
the grinch
the language is fine
losing practical applications besides android though
it's like
java to kotlin is like objective-c to swift
i guess fine is a relative term
JacksonTheSkylanderDude67
TheLegend27
ah yes, burning my life away instead of doing things like playing sports i will never be extremely good at or playing instruments i will quit after playing for 2 years

This can be said about a ton of things 🔥🔥
then what if you start writing Coq
What's that
"Coq is an interactive theorem prover first released in 1989. It allows for expressing mathematical assertions, mechanically checks proofs of these assertions, helps find formal proofs, and extracts a certified program from the constructive proof of its formal specification."
complete and utter perfection
mathematically precise
Honestly yeah
My problem isn't math related though
its data structures
how do I design abstractions for multimedia that don't leak
We should begin storing integers, floating point number, and booleans in Strings and chars
working on a language is the most productive thing i've ever done tho
i learnt so much about low level architecture because i had to implement it myself
making a coding language looks super scary though
i'm not even good at coding in a language 💀
it is
i'll leave the code for 2 months and come back and have no idea how it works anymore
but you still learn stuff
if a bug ever occurs like, here, i'm done for
Maybe I should write an interpreter
says every person contemplating it ever
Wdym
every fucking youtube video about making a language makes it interpreted
My application makes sense thoigh
like they all say "we have 2 choices, either we make it interpreted or compiled. for the purposes of this video i'm gonna make it interpreted"
true but at least try to jit it
As if its some tiny pedantic design difference that can easily be an exercise to the watcher
it depends
lmaoooo yeah
I want to have a good effects system for good caching
Since that's kinda important for video production
usually making a programming language is just a niche to gain popularity but they barely implement the bare minimum to call it a language
true
ok how does an interpreter differ from a compiler other than the obvious
I wanna make it so all functions are created by hot pluggable shared libraries that are loaded dynamically
an interpreter is much easier to actually write compared to a compiler
Then you can extend it with the same functionality as the stdliv
Like so the built-in libs can't use magic that third parties can't
so basically panim
wait how? both build an abstract syntax tree and convert it to IR, then the interpreter runs it while the compiler does some magic shit
idgi
no IR it usually just runs it
a compiler turns into IR then into assembly usually then the assembler and linker turn that into assembly
or if you're using the llvm toolchain you just generate IR and llvm will do the rest
but the hard part is generating that ir
zamn..........
like for example if your language has generics, most IRs don't even have strings as a primitive type and you somehow have to compile down generics into that low level representation
Does anyone here know how an app could fake the display being off?
As in, turn the brightness down/off
set the pixels to being black?
display a black photo ‼️
modern phones have oled
which means it literally turns off the pixels if it's pure black
this is with TrollStore,
trying to actually turn the backlight off on non-OLED devices
oh
since this is for ValidationRelay which is expected to run for months in a drawer on like an iPhone SE 1st gen etc.
and I have been relying on background stuff to keep it alive, but iOS appears to play tricks with the WiFi connection if it is locked
so trying to just keep it awake but appear off so that it stops disconnecting from WiFi
it's always gonna be plugged in right so why not just set it to lowest brightness and set auto turn off to never
ios may allow you to set the brightness lower than the system lowest if you mess with the property directly via code
The opposite of that I thinks
I want the library functions to be dynamic libs, then the user writes a script that's interpreted that calls the functions that are from the dynamic libs
that is how this works
or we'll
kinda
It says you load your own code that makes the animation as the lib
And presumably all the methods you call go to panim internally
you compile the main panim executable then compile dyn libs in the form of .so files and pass them to the executable
But what are the dyn libs holding
information about the animation
That part is what I'm wanting to just be an interpreted scripting language
ah i see
idk i don't particularly mind this approach https://github.com/tsoding/panim/blob/main/src/squares.c
I need it to be extensible
extra modules can be developed out of tree or by entirely different people
is this a sane way to reason about testing code in the language itself
with that assumption above you can there be more confident that these tests are correct
or at least i think
i mean, there is a possibility that while true and false evaluate correctly, other boolean expressions may not
what like test the relational operators?
yeah
asserting that 1 == 1 and 1 != 0 and whatever
i can just do all
yeah that would be good i think
theres not that many i guess
no differences between arithmetic and logical operations

well actually
just for the shifts
its fine theres a check elsewhere to make sure you cant put floats through shifts
wb negative integers
bc sign bit
from what i can remember you can shift signed integers
in C++ atleast i think it was disallowed
"In C++11, signed shift left of a negative number is always undefined behavior, even if the underlying machine defines it for values that are in range"
i think in rust its just (abs(x) << 3) * sign(x)
hm
in any case you get the same result in elle
so if its bad then rust did it wrong too
and if you try a float in rust
yeah probably
but how would you shift floats
do you add one to the exponent or something
ok well the tokens are screwed up and i cant be bothered to fix them but this is how it looks on elle 😭
well, for bitwise it's easy
you just shift one in the bit sequence
i.e. the float as int
but for logical
uhhh
i guess yes? increase exp?
trol
does rust have bit cast
like in cpp you can do std::bit_cast<int>(someFloat)
to essentially do *(int *)someFloat but without UB
A 32-bit floating-point type (specifically, the “binary32” type defined in IEEE 754-2008).
ok i see
im thinking of adding string interpolation to elle
this is some syntax that i think is nice
i32 a = 5;
string foo = ""`Hello with fmt: $$$_-_INTERPOLATION_=_START_-_{a}_-_INTERPOLATION_=_END_-_$$$ and more after `"";
it would be the same as
i32 a = 5;
string foo = "Hello with fmt: {} and more after".format(a);
i would uhhh
assume you will replace $$$_-_INTERPOLATION_=_START_-_ with something?
nope
thats just the way you specify
like in js its ${}
in elle its $$$_-_INTERPOLATION_=_START_-_{}_-_INTERPOLATION_=_END_-_$$$
@gentle grove thoughts about this syntax
Let me read the full history first
useful for one specific circumstance
quake 2 fast invsqrt

What the duck is that
that's a case for a bit cast
not implementing bit shift operator
Otherwise people will try to bit shift a float and it will become all kinds of ridiculous values that don't make any sense
yes but it's a logical bitwise shift operator so surely just bit shift
and for the arithmetic one
add one to exp

its string interpolation syntax
isnt it beautiful
what even
Why
Is that temporary internal syntax
If you nerds forgot: there was indeed ransomware which targeted chastity belts. We have the source code.
It's Trojan-Ransom.Python.ChastityLock in the Python directory.
https://t.co/5RHeEYWYth
nope
you have to type it
if you want string interpolation
why
_=_ _-_
"hahaha i have your cock now. send 0.02 BTC (Bitcoin) to %s by %s or you'll be locked forever"
amazing message
incredible
@vxunderground idk I feel like a lot of people would be into that so I don't get what they were trying to do with that one
lmao
LMAO
chat is this kosher
LOL
Wtf tihmware actually building
that shit is not going to last a day without tihm updating some kind of dependency and it being unusable

I'd argue pwn was
multimedia sucks
both
Ripped from iPad and repackaged and an IPA don’t know if it’s cuz I’m Esim or it just don’t work
Ayo🔥
is this from <redacted> ?
What
is this a dumped internal app?
oh the name is pretty is pretty self-explanatory
It’s a Hidden app but yes side loading didn’t work
Surprising you can use Siri Shortcuts to open hidden internal apps ?
how do i xcode on a potato
LMFAO
lol memories
I guess you were right
It’s already not playing nice with libimobiledevice
Is JIT compilation worth the attack surface for bragging rights
