#development

1 messages · Page 213 of 1

covert basin
#

thanks

#

Yes that’s exactly what I was thinking; I couldn’t find ‘ryantrent’ on discord

cloud yacht
#

I feel like someone made a tweak to do that

#

can't remeber what it was called though

covert basin
#

it was recently updated for iOS 16

#

on a related note: is this even possible via bootstrap without a full jailbreak?

fading shell
#

Maybe

#

Depends if there are any daemons involved

covert basin
#

Okay

#

Thanks for your help

cloud yacht
#

I think I found the tweak I was thinking of but I'm not even sure if it was ever released

covert basin
young meteor
#

wen eta

fading shell
#

Could be any 16th October

cloud yacht
cloud yacht
# covert basin Can you give any more details? Dm?

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

covert basin
granite frigate
#

just beg him to add it

visual meadow
gentle grove
#

is having namespaces defined by filename fine for a video editing scripting language

placid kraken
#

no because when i hear scripting i think 300 lines in 1 file

gentle grove
#

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[..00![10](https://cdn.discordapp.com/emojis/955450342538088498.webp?size=128 "10")00];

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

placid kraken
#

looks decent i guess

gentle grove
#

I will be remaking that concept entirely

#

instead of variables they are labels

#

well nothing is variables

#

instead of bindings they are labels

wind ravine
#

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)

gentle grove
wind ravine
#

nvm this is whats causing it to fail to compile

cloud yacht
#

Anyone know how difficult it is to inject a dylib into a apple arcade app on mac?

wooden yarrow
#

wait yoooo @gentle grove finally

#

real raw ptrs

visual meadow
#

Would macos dyld work on ios with enough patches

#

Lol

#

Rn im running ios 16.7 dyld on ios 16.4.1

cloud yacht
#

I mean I was able to compile a dylib mean for macos on ios with a couple changes

gentle grove
#

its just sugar

placid kraken
cloud yacht
#

wrap it in unsafe and then put that in a function and say the function is safe

wooden yarrow
placid kraken
wooden yarrow
#

like Dafny thumbsup

fading shell
#

Prove that a function will or will not halt

wooden yarrow
fading shell
#

?

wooden yarrow
# fading shell ?

(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)

fading shell
#

Oh I didn't know that lol

wooden yarrow
#

wtf how

fading shell
#

I only knew that it wasn't possible to have a general solution

wooden yarrow
#

well yeah, given a subset of functions, with a given input i would assume it's possible to compute whether it halts or not

fading shell
#

Yeah you can tell for some individual functions

wooden yarrow
#

but that's like saying a subset of HTML websites can be parsed with regex

#

💀

fading shell
#

But not a general algorithm

wooden yarrow
#

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

fading shell
#

Oh interesting

#

But while true loops aren't possible with that are they

#

Or can you bypass that requirement

cloud yacht
# fading shell Oh I didn't know that lol

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

wooden yarrow
wooden yarrow
fading shell
#

I thought he meant something different

fading shell
#

There's nothing inherently wrong with infinite loops

#

As long as that's your intended behaviour

wooden yarrow
#

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

gentle grove
#

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

wooden yarrow
gentle grove
#

the real question is wtf are they allocating for on a missile instead of statically allocating it

#

malloc is fallible

wooden yarrow
#

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

gentle grove
#

yeah that's what I'm thinkibg

visual meadow
#

anyone here know the modern way to make dyld prefer libraries on the filesystem instead of shared cache

faint timber
#

just look how the override used to work

#

well its still used on protos anyway

visual meadow
#

elrl

#

well

#

have you successfully compiled dyld lol

placid kraken
#

i love macos stickies.app

#

i can just open this and leave it open for tomorrow

north anvil
#

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)?

visual meadow
#

on 17.0+ it will if you fuck it up

rocky oriole
#

I think floppa bootlooped from that

hallow scarab
#

she did

north anvil
#

ty

placid kraken
#

@gentle grove

wooden yarrow
#

why would you do this

clear iron
#

Also why does it just die after you do that

slender glade
#

hello sigmas

#

dropping something later today

#

stay sigma...

wooden yarrow
slender glade
wooden yarrow
#

I am signing up for your newsletter

slender glade
#

WAKE UP SIGMASSSSS

#

@wooden yarrow

#

@granite frigate

wooden yarrow
#

oh yooo seems like a v interesting read

#

time to see

wooden yarrow
slender glade
wooden yarrow
#

also you did this for your uni essay or sumn ⁉️

slender glade
#

Nah I just did this in my free time

#

i put the uni there bc i thought it's standard or whatever

slender glade
wooden yarrow
#

given a bit of fixes from informal to formal language this can probably be submitted as a essay or paper or sumn lmao

slender glade
blazing warren
hasty ruin
blazing warren
cedar stag
#

please accept this DeviceImage5@2x.png asset as your award

faint stag
#

thought you knew this one

wooden yarrow
#

of course i know about analytics

#

i'm talking about the / between t and .co

faint stag
#

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

gentle grove
gentle grove
#

Mine too

faint stag
gentle grove
faint stag
#

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

gentle grove
lime pivot
#

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

faint stag
# gentle grove i am not impressed that a smart parrot can get things correct in code often

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

gentle grove
lime pivot
#

it doesn't, but it's extremely good at feigning that it knows a lot of stuff

#

put it that way

faint stag
#

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

gentle grove
#

please learn how to use the enter key

faint stag
#

it wouldn't look much better
either way i just took the suggestion from the java extension

#

that's why there's no breaks

gentle grove
#

thats terrible

lime pivot
#

well you’re not an airline

gentle grove
#

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

#

(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 troll

#

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

tepid olive
#

Bouta build this

shrewd smelt
#

"Marijuana." Let me know if you need more details!

hasty ruin
pearl sail
#

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

pearl sail
#

Unlike you

light owl
#

Woah cool car

#

The colour is sick

light owl
#

Yes but it is cool

clear iron
#

cool cat

gentle grove
#

DOES THAT HAVE MY ENGINE

#

which lotus is that

gentle grove
#

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

tepid olive
#

I couldn’t figure out why my app was crashing when I exited the camera so I just had to start from scratch 😭

torn oriole
indigo peak
#

@torn oriole

torn oriole
#

Baller

tepid olive
#

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

gentle grove
indigo peak
cloud yacht
#

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

granite frigate
#

i keep thinking of big ideas and never starting it

gentle grove
#

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

gentle grove
#

It can be called witm

#

Wayland In The Middle

manic forum
indigo peak
# faint stag 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;

hasty ruin
native orbit
#

mfs never heard of using a struct or dictionary fr

hasty ruin
#

ios snapchat is perhaps the most well made social app

#

(in terms of dev not design/ux)

#

friendly fire is crazy

north zealot
#

you will be able to boot 16/17/18 tethered, cryptex can be patched in the kernel

faint stag
cedar stag
gentle grove
# manic forum why

Instead of writing my own compositor I should just make good enough debugging tools to fix hyprland issues

wooden yarrow
#

help i wrote a LZVN decompressor that outputs the correct decompressed file but outputs the wrong debug messages

#

how does this even happen

placid kraken
#

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)

trail nimbus
placid kraken
trail nimbus
#

interesting

placid kraken
#

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

orchid fulcrum
placid kraken
#

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

orchid fulcrum
placid kraken
#

lmao yeah 😭

gentle grove
#

i havent read through it or looked at explanations

placid kraken
#

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

gentle grove
#

what

wooden yarrow
#

may be faster

placid kraken
gentle grove
#

dont people have ways to do it with SSE

#

or something

placid kraken
#

and used it here

gentle grove
#

would make it look a little nicer

placid kraken
#

id argue thats unnecessary because they dont do that operation more than once

gentle grove
#

it doesnt matter how many times you use it

#

it gives it a nicer name

placid kraken
#

i guess

gentle grove
#

thats the reasoning

placid kraken
#

ah yes

#

give x / 2 a nicer name but keep 0x5f3759df as a magic constant

#

makes perfect sense

gentle grove
#

they should probably name that

#

sqrt(2^127)

placid kraken
#

yeah

gentle grove
#

it doesnt help my undertsanding but at least its not a random number

placid kraken
#

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

gentle grove
#

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

faint timber
# placid kraken this
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

gentle grove
#

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

tepid olive
#

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

tepid olive
#

Is this useful at all

lofty juniper
tepid olive
#

Ah okay I didn’t generate it it just displayed it on its own so I was wondering if it had anything useful

polar marsh
#

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.

orchid fulcrum
#

What would one hook in CoreGraphics to force 120hz refresh rate in macbook pros with proMotion display

granite frigate
orchid fulcrum
#

I assumed ellekit would work same way it does on ios. @granite frigate does it not ?

wooden yarrow
#

you gotta just use unsafe to apply right

gentle grove
#

wdym

#

its applied by default

#

if you use types that aren't then it removes the trait by default

wooden yarrow
#

yeah but for those that arent

lime pivot
#

why do I have a ping here

#

I don't see it

gentle grove
#

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

gentle grove
#

I mean that's not the technical reason its an unsafe trait but that's the reality

wooden yarrow
#

hm

gentle grove
#

how else would the compiler know whether a type is safe to synchronize other than looking at if every type inside is Sync-hronizable

grim sparrow
#

like im curious of the use case

orchid fulcrum
#

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")

grim sparrow
#

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

orchid fulcrum
#

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

grim sparrow
#

but why would you want it to be 120hz when nothing is moving

grim sparrow
#

as soon as a CAAnimation starts the display goes into "animation mode"

gentle grove
#

isn't dynamic refresh rate specifically referring to hardware VRR capability

grim sparrow
#

which is 90~120hz

gentle grove
#

this sounds like a software issue where it doesn't render at full 120

grim sparrow
#

^

#

when its in animation mode its up to ur hardware to push that 120

gentle grove
#

it should be 120 when you're animating

grim sparrow
#

even if you force the display to 120

gentle grove
#

that's how it is everywhere not apple

grim sparrow
#

(which it already is)

gentle grove
#

even with VRR

grim sparrow
#

the display will be in 120 but the animation will be lower

gentle grove
#

that's even dumber then..?

orchid fulcrum
grim sparrow
#

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

gentle grove
#

there's no way

grim sparrow
#

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

gentle grove
#

Works fine on my amd framework laptop

#

:troll

grim sparrow
#

If you notice an animation lagging 9/10 its SwiftUI

gentle grove
#

but I don't have swiftui on linux

grim sparrow
#

one issue that you will sometimes notce

orchid fulcrum
#

Just to make it clear; are you claiming dragging windows, moving the cursor etc is already presented at 120 ?

grim sparrow
#

is 3rd party apps not using native frameworks

orchid fulcrum
#

That can't be right i wish i could check it lmao

grim sparrow
#

(as long as you havent enabled lock to 60hz)

#

(if in low power mode it will lock to 30)

gentle grove
#

moving the cursor definitely is at the 60 seconds I spent at Costco messing with the macbooks

grim sparrow
#

@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

gaunt helm
grim sparrow
#

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

gaunt helm
#

oh yea i found it

#

it was the only flag mentioning framerate

grim sparrow
#

you can also enable av1 there

#

if you have a phone with hardware support

#

its off by default

gaunt helm
#

i think i do

#

at least i'd be disappointed if not

grim sparrow
#

15 +

gaunt helm
#

yea i have a 15 pm

#

we gaming

grim sparrow
#

yeah you can enable av1

gaunt helm
#

broo amy

#

why is moving so expensive

orchid fulcrum
grim sparrow
#

what mac do you have

tepid olive
grim sparrow
#

inb4 we find out this dudes mac is 60hz

orchid fulcrum
#

I don't have a mac yet lol i am planning to get a 120hz one thats why i was concerned

grim sparrow
#

wait so

#

how are you testing this-

#

how do you know its "80hz at best"

orchid fulcrum
grim sparrow
#

lol

orchid fulcrum
#

Like when switching between pages in springboard/homescreen

grim sparrow
#

wut

orchid fulcrum
grim sparrow
#

that literally sounds like a skill issue

tepid olive
#

Skill issue

grim sparrow
#

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

solar escarp
#

how to install Founation.h on linux

grim sparrow
#

grab urself an sdk

solar escarp
#

if i want to make a tweak for ios 14.3 i grab what sdks

reef trail
solar escarp
#

but it's ios 14.5

#

it work ?

reef trail
#

yes it'll work

solar escarp
#

ok

grim sparrow
#

it doesn’t matter too much

#

I use the iOS 18.1 SDK for stuff I ship to iOS 12

gentle grove
#

it saves battery is the justification I think

gentle grove
grim sparrow
#

80fps on the homescreen?

gentle grove
#

Yeah pretty sure that's normal on ios

velvet path
#

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

gentle grove
#

Wdym

#

Its only 60?

velvet path
#

there's no in between between 60 and 120

gentle grove
#

Oh

velvet path
#

Apple documentation lists what it supports

gentle grove
#

What if it just drops frames instead troll

velvet path
#

I mean iOS does force 80 at most if you're in LPM

gentle grove
#

If I have time maybe I'll try blind testing the promotion on iphone

velvet path
#

irrespective of what type of ProMotion you have

gentle grove
velvet path
#

it's 80, it's weird though

#

Apple is confusing in general

gentle grove
#

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

faint stag
#

works one day breaks the next

orchid fulcrum
grim sparrow
#

Like even if you enable the dev fps view

gentle grove
#

Did you know they found a new prime today

#

Last one was 7 years ago

clear iron
tepid olive
#

My app is shit compared to this I didn’t know ADA worked with native Apple ID 😭

gentle grove
#

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

gentle grove
cloud yacht
#

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>

reef trail
cloud yacht
#

yes

reef trail
#

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

cloud yacht
reef trail
#

oh so you've got the project running but it doesn't actually work, probably best to rephrase it the question then

cloud yacht
#

yeah the code runs but it doesn't behave proper because it doesn't do anything wiht the functions

reef trail
#

there was something i remember seeing writing tweaks in rust for objc, probably isn't what you want tho

cloud yacht
#

yeah

#

I mean if I could get it to use mobilesubstraght instead of what it does now that would be handy

lofty juniper
#

i just checked

#

ok maybe not or maybe i think ive just confirmation biased myself

placid kraken
wooden yarrow
#

.

shrewd smelt
#

it's 80hz normally

#

60 in lpm

grand tide
#

@indigo peak working on calculator history but can’t push the patch for jellyfish reborn frcoal

#

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

solar escarp
#

FLEX debug doesn't work on my phone so i can't search the name of the view so what can i do

velvet path
cedar stag
#

mine probably runs at 24Hz lol

#

iOS 17 is so laggy on A10X

hasty ruin
#

blame swiftui for that

gentle grove
wooden yarrow
#

.

cedar stag
slim bramble
pallid totem
#

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

harsh junco
#

And where is it

pallid totem
gentle grove
#

or figure out what exact combination of extensions to install gives me the right tools

wooden yarrow
#

you still need some setup with lldb too so

gentle grove
#

you just lldb foo

indigo peak
#

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

grand tide
indigo peak
#

yeah finding the issue != testing the issue

grand tide
#

this ☝️

grand tide
#

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

indigo peak
#

@grand tide think i found a way to reliably reproduce it lmfao

#

n i think i fixed it

#

cool

grand tide
grand tide
gentle grove
#

why is trackpad scrolling on macos 60hz

#

nvm its a swiftui moment

#

its only like that in the settings app

hasty ruin
#

fuck swiftui

fading shell
#

swiftui wouldn't even be so bad

#

if it wasn't for the swiftui

reef trail
fading shell
#

it's prefs icba

reef trail
#

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

fading shell
slim bramble
#

?

acoustic imp
#

Why is scrollIntoView moving the document body up??

#

On chrome it like just instantly loads like that

tepid olive
#

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

cloud yacht
#

Just put in nukeular bomb

acoustic imp
reef trail
harsh junco
eager ice
granite frigate
#

it's a meme here

#

actually iunno i just thought it was

shy veldt
#

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.

gentle grove
#

at what point do you say [flags]

#

because apparently not here

SYNOPSIS
usb_modeswitch [-heWQDIvpVPmM23rwKdHSOBGTNALnsRiuagft] [-c filename]

tawny stag
#

Anyone knows a Frida SLL Pinning Script for IOS 16? (especialy for TikTok?)

wooden yarrow
reef trail
fading shell
reef trail
#

yeah

fading shell
#

lol

upper hull
# fading shell 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?

native orbit
#

change the path to where u moved it

upper hull
upper hull
# native orbit change the path to where u moved it

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?

gentle grove
#

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....

worn briar
#

Chat can someone teach jef swiftui please thank you

acoustic imp
#

idk, jus some book from school im using as exmple

indigo peak
#

@grand tide I pushed the update

grand tide
#

i mean thanks

#

the changelog i have been looking forward to my whole life

lusty jacinth
tepid olive
#

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

light owl
#

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

lusty jacinth
gentle grove
#

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

gentle grove
# gentle grove

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.

gentle grove
#

whats to hate there

torn oriole
#

osStr trolley

gentle grove
#

BRO

#

ANDROID LETS ME CHARGE DEVICES IM CONNECTED TO

#

THATS CRAZY

torn oriole
#

Boba finds out about a few year old android feature, episode ??

gentle grove
torn oriole
#

apple would never

gentle grove
#

and plus it defaults to charging only over usb which is awesmoe

torn oriole
#

wait what even is this

gentle grove
#

or maybe thats a GOS feature

torn oriole
#

you connect to something and it charges it from the phone?

gentle grove
torn oriole
#

(my iPhone can do that uhhh )

gentle grove
#

it charges my laptop instead of my laptop charging the phone

torn oriole
#

idk

#

i do it with my apple watch all the time

#

cram in my usb-c watch charger and its going

granite frigate
#

is Cursor worth paying for?

gentle grove
torn oriole
#

what no

#

my phone

gentle grove
#

oh

torn oriole
#

charges my watch

gentle grove
#

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

torn oriole
#

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

gentle grove
#

haha so android wins

torn oriole
#

i mean one overdue toggle away and itll be an even playing field thishowitis

gentle grove
#

can you configure exactly what usb data is transferred

torn oriole
#

no

gentle grove
#

like the usb mode i mean

torn oriole
#

no

gentle grove
#

android wins again

#

also the usb tethering literally just works

torn oriole
#

tethering as in data tethering?

gentle grove
#

so wifi as well if phone is connected

#

or the same vpn the phone is connected to if any

torn oriole
#

afaik ios cant do the wifi but it will do the hotspot trol

gentle grove
#

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

torn oriole
#

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

gentle grove
#

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

shrewd smelt
#

don't you need itunes to use usb tethering on windows

#

well the drivers

gentle grove
#

apple moment

#

idk I haven't tested windows

#

I'll test my iPhone in a bit

#

I don't know where it is

grand tide
#

it would crash every time reo needed to check drm servers

clear iron
#

Although it always works on my windows pc for some reason without having to

#

Even when I don't want it

tepid olive
clear iron
#

What

tepid olive
#

Lockscreen editior process turned into app com.apple.posterboard

harsh junco
#

lockscreen editor IS an app

#

It’s just hidden + smooth animations

tepid olive
#

Well it’s no longer hidden

tepid olive
#

had to change the prompt up for it to work on Siri but works everytime in gpt app

granite frigate
#

wtf

bleak ingot
# gentle grove

you have the option? mine is automatically enabled with no way to turn it off

gentle grove
bleak ingot
gentle grove
#

Yours is on???

#

So wait are you not able to charge your phone with a laptop

bleak ingot
#

i am able to

#

its weird

#

but i can't charge back

gentle grove
#

Maybe its just visually stuck on but in reality its stuck off

bleak ingot
#

i can charge other devices just fine tho

#

maybe its on automatic

#

idk

gentle grove
#

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

bleak ingot
#

and yea

gentle grove
#

Maybe graoheneos adds more options

tepid olive
#

Download the ipsw then get .app and convert to ipa then sideload

gentle grove
#

@grave sparrow

hasty ruin
reef trail
reef trail
#

idk what tweaks you've made they're too irrelevant 🥱

hasty ruin
cloud yacht
bleak ingot
#

if you connect 2 phones to each other, you can use that option to choose the host device

#

to, like, transfer data

cloud yacht
#

Or you can charge your laptop

bleak ingot
#

i haven't tested that

gentle grove
slim bramble
faint stag
#

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

hasty ruin
#

and pop has the smallest button

faint stag
#

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

weary heath
#

what's worse is them restricting their apple watch and carplay apps to subscribers only

placid kraken
#

c is a wonderful language

gentle grove
#

however function pointer syntax is pretty stupid

slim bramble
gentle grove
slim bramble
gentle grove
#

that was supposed to be irony

slim bramble
clear iron
#

the the the the the

acoustic imp
#

the grinch

faint stag
gentle grove
gentle grove
torn oriole
pearl sail
gentle grove
#

am I right or am I right

wooden yarrow
# gentle grove

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

gentle grove
#

I hate designing software

#

because it is never perfect

clear iron
wooden yarrow
gentle grove
#

What's that

wooden yarrow
#

"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

cloud yacht
gentle grove
#

its data structures

#

how do I design abstractions for multimedia that don't leak

tepid olive
#

We should begin storing integers, floating point number, and booleans in Strings and chars

placid kraken
# gentle grove

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

granite frigate
#

making a coding language looks super scary though

#

i'm not even good at coding in a language 💀

placid kraken
#

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

gentle grove
placid kraken
gentle grove
#

Wdym

placid kraken
#

every fucking youtube video about making a language makes it interpreted

gentle grove
#

My application makes sense thoigh

placid kraken
#

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"

placid kraken
gentle grove
gentle grove
gentle grove
#

I want to have a good effects system for good caching

#

Since that's kinda important for video production

placid kraken
#

usually making a programming language is just a niche to gain popularity but they barely implement the bare minimum to call it a language

granite frigate
#

ok how does an interpreter differ from a compiler other than the obvious

gentle grove
placid kraken
gentle grove
#

Like so the built-in libs can't use magic that third parties can't

granite frigate
#

idgi

placid kraken
granite frigate
#

ooo

#

time to make an interpreted language 💀

placid kraken
#

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

granite frigate
#

zamn..........

placid kraken
#

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

naive sedge
#

Does anyone here know how an app could fake the display being off?

#

As in, turn the brightness down/off

placid kraken
granite frigate
#

display a black photo ‼️

placid kraken
#

modern phones have oled

#

which means it literally turns off the pixels if it's pure black

naive sedge
#

this is with TrollStore,

#

trying to actually turn the backlight off on non-OLED devices

placid kraken
#

oh

naive sedge
#

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

placid kraken
#

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

gentle grove
#

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

placid kraken
#

or we'll

#

kinda

gentle grove
#

And presumably all the methods you call go to panim internally

placid kraken
gentle grove
#

But what are the dyn libs holding

placid kraken
#

information about the animation

gentle grove
#

That part is what I'm wanting to just be an interpreted scripting language

placid kraken
#

ah i see

gentle grove
#

I need it to be extensible

#

extra modules can be developed out of tree or by entirely different people

placid kraken
#

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

wooden yarrow
placid kraken
#

thats true

#

but how would you test that

wooden yarrow
#

i guess just test each boolean connective for sanity?

#

idk

placid kraken
#

what like test the relational operators?

wooden yarrow
#

yeah

placid kraken
#

asserting that 1 == 1 and 1 != 0 and whatever

wooden yarrow
#

or the boolean ones

#

both

placid kraken
#

i can just do all

wooden yarrow
#

yeah that would be good i think

placid kraken
#

theres not that many i guess

wooden yarrow
#

no differences between arithmetic and logical operations

#

well actually

#

just for the shifts

placid kraken
#

its fine theres a check elsewhere to make sure you cant put floats through shifts

wooden yarrow
#

bc sign bit

placid kraken
#

from what i can remember you can shift signed integers

wooden yarrow
#

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"

placid kraken
#

i think in rust its just (abs(x) << 3) * sign(x)

wooden yarrow
#

hm

placid kraken
#

in any case you get the same result in elle

#

so if its bad then rust did it wrong too

wooden yarrow
#

nah just that you're choosing rust's impl for the operator then

#

that's fine too

placid kraken
#

and if you try a float in rust

wooden yarrow
#

i guess you could just make a new type that defines it

#

but eh

placid kraken
#

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 😭

wooden yarrow
#

you just shift one in the bit sequence

#

i.e. the float as int

#

but for logical

#

uhhh

#

i guess yes? increase exp?

placid kraken
wooden yarrow
#

trol

placid kraken
#

does rust have bit cast

#

like in cpp you can do std::bit_cast<int>(someFloat)

#

to essentially do *(int *)someFloat but without UB

wooden yarrow
placid kraken
#

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);
wooden yarrow
#

i would uhhh

#

assume you will replace $$$_-_INTERPOLATION_=_START_-_ with something?

placid kraken
#

nope

#

thats just the way you specify

#

like in js its ${}

#

in elle its $$$_-_INTERPOLATION_=_START_-_{}_-_INTERPOLATION_=_END_-_$$$

wooden yarrow
gentle grove
#

Let me read the full history first

gentle grove
#

That's horrible

#

And useless

wooden yarrow
#

quake 2 fast invsqrt

gentle grove
#

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

wooden yarrow
#

yes but it's a logical bitwise shift operator so surely just bit shift

#

and for the arithmetic one

#

add one to exp

placid kraken
#

technically this isnt needed actually

#

the IR handles negative numbers

placid kraken
#

isnt it beautiful

gentle grove
#

what even

#

Why

#

Is that temporary internal syntax

placid kraken
#

you have to type it

#

if you want string interpolation

gentle grove
#

why

placid kraken
#

its very ergnonomic

#

you know

gentle grove
#

no

#

I domt

placid kraken
#

_=_ _-_

gentle grove
#

= .

#

= -

#

= -

wooden yarrow
#

amazing message

#

incredible

gentle grove
wooden yarrow
#

lmao

cedar stag
#

chat is this kosher

gentle grove
#

not food

slim bramble
wooden yarrow
tepid olive
#

“Why is tihmstar still a thing”

#

“Tihmstar is the Elon Musk of jailbreaking”

torn oriole
#

I'd argue pwn was

gentle grove
#

multimedia sucks

gentle grove
#

both

tepid olive
#

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🔥

tepid olive
#

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 ?

pearl sail
#

I was gonna say

#

Wdym it is a g63

#

Front end gives it away

velvet ivy
#

how do i xcode on a potato

slender glade
tepid olive
#

😭frcoal

cedar stag
#

It’s already not playing nice with libimobiledevice

gentle grove
#

Is JIT compilation worth the attack surface for bragging rights