#development
1 messages · Page 208 of 1
Gotta re apply 
Nah just spam ping Aaron until he wakes up and adds you
Or any admin
or alternatively bans me
But you can’t see who’s online because the member list is… that
yeah right
@shut stag
(don't)


Once you leave the server you have to repay the bribes
hi
hi phil
Ah yes how could I forget
what do u need
i accidentally left the server so i'm not in ono
need buy a copy of nexus and rune remember
accidentally
Which one is more expensive atm
rune i think
Rune yeah
i was closing Discord but instead i left the server idk what happened 
Actually this happened to me once
I just closed discord once and it removed me from the last server
Guys check #1189739986707288154
What do we think…
are you voting for me again? 
well it appears you do not own rune by icraze
how would you know
ONO knows everything
big 150MB zip file
might be able to stream it though
Relevant https://youtu.be/0uQ3bkiW5SE
Now you can finally stop complaining about lua being 1-based indexing and start complaining about all the other languages that got it wrong.
Links
Twitch: https://twitch.tv/teej_dv
Twitter: https://twitter.com/teej_dv
Github: https://github.com/tjdevries
Neovim: BTW
#neovim #programming #lua
Build iOS Jailbreak Tweaks using GUI. Contribute to sourcelocation/TweakBuilder development by creating an account on GitHub.
No way 💀 (wait a minute it says development hasn't started :/, at least somebody came up with the concept)
Isn't this just Supercharge
(which has also stalled development for years)
Yeah
I'm so glad it's just a concept because Siri Shortcuts is a terrible ui for building anything
I tried to make a brainfuck interpreter with shortcuts once and 1) it was unusable after 3 levels of indentation and 2) the shortcut corrupted on save
Hello
hi
:3 heyy
proof that no real computer is turing complete
why does theos say private framework not found? its there in the sdk
what is your TARGET ?
TARGET := iphone:clang:16.5:16.0
using 16.5 sdk
yes
/Users/lemin/theos/sdks/iPhoneOS16.5.sdk/System/Library/PrivateFrameworks/AppleMobileFileIntegrity.framework
i was on the wrong theos commit
??
is main.m included in your sources

@gentle grove i kinda want to try making a code video thing too
did you make any progress yet
chat what are the os libraries out there for mixing emojis
iirc i saw plenty years ago
there should be more advanced ones by now
Wdym
No i had classes but also im trying to figure out how you call this stuff in v8 without deserializing and serializing twice at every ffi boundary
like the emoji thing in Apple Intelligence and emoji kitchen on Google pixel
I think with ts its possible with correct libraries to re-create the emoji thing of Apple intelligence and inject it into the keyboard
yeah im messing with v8
i would be extremely surprised if there were any libraries for it
id imagine theyre just built directly into their respective apps
Embedded scripting language and engine for Rust. A small, fast, easy-to-use scripting language and evaluation engine that integrates tightly with Rust. Builds for most common targets including no-std and WASM.
there is this i guess
the reason for me wanting to use lua or js or something is because theyre mature and fully featured in syntax and capability you get in the script language
but i dont want to use lua
lua is nice and this litterally what it was designed for
lua was designed to be embedded into things
but what it was designed for doesnt matter compared to what can be done today
javascript is embedded in a browser
lua is embeded into pretty much everything
bridging types is hard in both
yeah same with js
thanks google
ok theres "gluon" which is supposed to be a statically typed functional language which is precisely what i need, but everything has typos and not recent vcommits
but a functional language can be created from lua or js with a bit of effort
id rather write lisp than lua
any purpose built rust scripting language is designed for this, not really any existing generic one
it's because i need to transparently call rust methods from lua/js without serializing and deserializing types and arguments
what.
Have you not heard of string comparisons 

what the fuck
i already got past that one though im focusing my eyes on gluon
or writing a huge proc macro to make all my ffi adaptations for stuff using v8
thats for the greater than and less than?
maybe this could be made if i avoid having many functions in the scripting side and basically distill it down to just a few methods that happen in js
stuff like a map/apply, quantifier functions for looping,
and for rhai i think id be better off using lua at that point
it may help if i just work on making the interface first
i cant find api documentation on the various ffmpeg libraries
all i see
oh i have to go herenvm
🧑🍳 This repository contains the source code for the website https://emojikitchen.dev and allows for quick and easy browsing of the over 100,000 supported emoji mashups as part of Google's ...
one of many
os libraries i mean
since thats what you said originally
yeah I haven't found anything
other than this
but there should be
the last message

im real dev (i cant code)
i mean #general message
Forget all wrong opinions
There’s too much objc hate
There cant be too much
tbh i somewhat agree with both statements
Objc is awesome
C++ is created to torture people, though
Objective-C is way too verbose
and also there's no Objective-C auto completion in vscode so that's annoying
For the record and for the ONO disciplinary committee: I do not hate Objective-C, but it isn't perfect. If anything I dislike Swift more
objc got its issues, but swift got more of them
did you see the tsoding video lol
how many dylibs they link with
for a hello world program
mfw i can't run print() because libswift_RegexParser is missing 
this is great thanks for sharing
anyone here know what daemon handles the rendering of app icons on the watch from iphone
i know snowboard can do themed icons there, i want to add said daemon to nathanlr
do people like actually use nvim
everytime I keep trying i get frustrated that I can't see my file structure or terminal, then I try installing plugins and realise I can just use vscode
vscode 🔥
i need to learn vim at some point
is the time investment i'd get from learning nvim worth whatever productivity boost there is
it looks so nice
i keep having to google stuff for shortcuts
emacs…. 
i do
your terminal..? youre in the terminal
nvim is a terminal based editor
But you're "stuck" in nvim
is it not normal to use tmux?
neovim is my only editor
apart from ida if you count that
ngl it wasnt that hard of a change
for looking at my filestructure is just use tree in a terminal
for adding / deleting / moving files i use oil.nvim
i very rarely need to view a filestructure anyway
telescope fuzzy find is all i need
yes, it took me about a week to get used to and the productivity boost is insane, i also enjoy writing code more but that could just be me
a week
"shortcuts"? like motions or commands? the motions are easy to learn with the built in tutorial :Tutor
no not basic movement
what sort of things
i can't search/replace only 1 instance
or have multiple cursors
or like auto format shit
you dont want multiple cursors
your lsp is responsible for that
wdym
A file explorer tree for neovim written in lua. Contribute to nvim-tree/nvim-tree.lua development by creating an account on GitHub.
please dont use this
its so finicky to work you might as well go back to vscode
idk i dont really use nvim much anymore but it was fine when i did
zed with vim mappings >
if you're using vim motions you dont need them, if you're trying to insert things across a list, like a bullet point in markdown for example you can use block selection and hit I to insert at the start of every line or A to append
but most of the time things you're doing with multiple cursors are done with macros in vim
ngl iunno what you're talking about 😭
never tried zed so i cant comment
fair enough, i'm not explaining it best
swift is only ABI stable on Darwin
he didn't do it on darwin
bulletindistributord
i hardly ever use this tbh
but it is a thing
swift is only ABI stable on Darwin
Or use Emacs
no i like my pinky
useful for compiler assisted debugging
meaning that of course it links with all those dylibs lol
i just use like arrow keys and yy/dd
Doom emacs/ spacemacs
quickfix list
at that point you're just using someone elses config which imo ruins the best part of neovim / emacs in that you can tune your config to how you want it to work
on Darwin:
i also use arrow keys but my keyboard has them on the home row so its fine
@granite frigate if you want to give vim another go i can highly recommend this playlist, teaches you all you need to know https://www.youtube.com/playlist?list=PLm323Lc7iSW_wuxqmKx_xxNtJC_hJbQ7R
thanks mate
Do you get commission for new users?
lol
i just love how neovim has changed how i code
and want others to find the same
Yeah just kidding
and there is no disputing how beautiful it looks
You can get the same with vscode
vscode has regex based highlighting so no you cant
well you probably can but not easily
Pretty sure that code would look exactly the same in vscode just with different colors
i only just got interested in it again bc i saw some guy speedrunning shit
Speedrunning his will to live?
😭
YALL
i actually the feature of in the last ss lmao, this is without an lsp btw
HOW DO YOU SPAWN A CHILD PROCESS IN RUST WITH THE ABILITY TO KILL IT VIA SIGTERM FROM CTRL+C
im losing my mind 😭
check the nix crate
yeah but the nix crate feels like so much bloat
all the stuff is already there in the rust stdlib, i can do literally all except the ctrl+c part
what terminal is this
its not the terminal that makes it look good
i know
but kitty i think
i think you need to catch the sigsegv and pass it onto the child
yep
@manic forum idk if you were still interested but i think the best way is to split it up
a crate that i'll call pipeline for now which is just an abstract object representation of different operations you could want to do which is pure data and thats it (easy to (de)serialize and generate for any language)
then another crate for providing somewhat high level interface for the ffmpeg bindings which i named process (because i thought this was gonna be the first one but now i dont want to rename it to another temporary name for no reason)
then an application crate which helps glue the abstract representation into actual operations using ffmpeg
rust packages 🙏
i love rust crates !
my implementation in bobashare is kinda flimsy and ugly
except its not flimsy because its rust
sharing boba over the internet
i was thinking of writing a project in C for fun and realised how painful it would be
but i can flex that it’s in C…..
@granite frigate don't do it
you'll regret it
or at least i did recently
but perhaps i'm a
idk
theres no flex except for insufferable people
what project
Worth it (untill you get stuck and abandon the project for half a year)
generics are useful
wtf is *(void *)&x 😭
wtf
Come to think of it that may be an actual thing
For me it justs casts it to void * ?
i dont think it lets you just cast a variable willy nilly
then it dereferences it
you can't dereference a void*
oh yeah its fake
You can but the compiler will tell you to end your life
how can you
it doesnt know how to dereference it because its void
Like I said the compiler will tell you no
so you cant
it’s just a img2ascii thing nothing special
since (void)x is a noop
isnt reinterpret_cast a noop by definition
its pretty short it works who cares
setSelectedCheckbox(val === selectedCheckbox ? null : val)
``` probably lol
still though
i wouldve left the if
why does ffmpeg api make you pass double pointers though
it takes a *mut *mut AVFormatContext for avformat_close_input, open_input, etc
is it really just so they can erase the pointer
eyl is the new ky
Avoid threads other than the main thread so you don't have to worry about it
yes actually 
Pay attention to the lifetimes of all your variables
wow congratulations
bytedance???
bruh this is like facebook and fishook
their inline hook is called shadowhook and they also have a PLT one called bytehook 
why do they have a linux kernel fork 😭
congrats!!
Yeah I noticed the other day
I wonder what they use it for
Bytedance had a subsidiary that manufactured phones
yeah but the repo says "cloud usage"
idk
ooooo nice
is info available yet
wait did you discover it or have it in your program
is there a easy shortcut to comment lines in vim like command slash
i only see like selecting multiple then inserting it in
but that doesnt work for html
for html you don't even need to do that
you go to start and enter a <!--
and go to the end and put -->
i mean you just have to do it twice
if youre doing <!-- and --> on every line
you could probably make a shortcut but idk
ive always been used to just having to use visual block manually
ight
i should learn macros
they sound cool
theres a lot of shortcuts that i havent learned
react devs for you
I mean it in the nicest way possible that I'm starting to see some real sludge in React lately
thank you boba very cool
done
and React libraries are starting to embrace that sludginess for themselves, because everyone around them is doing it
In terms of speed is there much difference ? Or is it just for readability
between ternary and if?
they are exactly the same thing
Between this and something better
I cant imagine its a particularly hot function but writing that is so horrible and ugly
doing 1 equality checks is definitely slower than 9 but again not a hot function
if this was a compiled language with optimizations turned on this should have no difference
i think
It depends
That looks a bit complex to be optimized
and unfortunately this is js anyways
surely v8 engine goated
@grave sparrow v8 mentioned
I found it in the grandstream gxp2170
it’s like a phi instruction
the ternary*
foo = uninit
jnz x true false
true:
jmp end
false:
jmp end
end:
foo = phi true 1 false 0
it’s pretty easy to optimize
but theres 9 equality comparisons rhat arent easily immediately obvious
I was talkomg about how you would get from that step to the ternary
how can i combine 2 bridging headers for theos?
I'm going to crash out why is writing text on an image so fucking hard in C
True type font moment
why does zig's documentation just straight up lie sometimes
No
e.g.?
saying golang has try/catch
also as far as i can tell the comptime functiosn arent magic and have to be cmposed entirely of comptime functions too, but theyre acting like its magic
Brother would listen to something called hey porsche
I completely forgot python exists
and there are good python-rust bindings i thibk
maybe that will be my scripting language for my video editor
I think the goal is to do 0 calculations in script land
You should use bash as your scripting language and ffmpeg for your api
i think i see what to do
- make an IR which closely mirrors the actual operations/commands you can do in ffmpeg
- make a high level user-facing language/protocol which is canonically just json
- make functions and types in scripting language which serialize to my standardized json format
- make a compiler to translate between the high level json language and the ffmpeg IR
and yes i have gone crazy
it makes the ffi boundary simple and also i can temporarily just write in raw json
so
I find myself in a situation
where I’ve already solved this problem once 😂
here’s the deal right. I want to use an iPhone 7 as a seamless hotspot
it runs iOS 15 latest, so automations cannot be run automatically, right
here’s the thing. the battery is absolutely shot on this thing. so there are very good chances that
- it will run out of battery at least once during the day
- a rootless jailbreak would further add battery drain, I think?
my goal: be able to detect when a wifi connection is lost, and then immediately begin broadcasting the hotspot
the former can’t be run automatically, the latter didn’t exist as a shortcut action
so you beautiful people here’s my question
any ideas????? can this be done with trollstore entitlements or something? should I go for the battery replacement? Does that shortcuts alternative whose name I can’t remember still work?
Should I whip out Xcode and get started lmao
@tacit spade you asked me to remind you of something a couple months ago iirc
Just reminding
Idk what though 😭
what was it
i forgot
idk I’m super focused on Japan rn
Like
What is there to be gleaned from the worst hijacking of a tap-and-hold gesture ever that makes Arise play Live Photos?
Seems like a true beauty
I’m pretty sure I just added pressure with a timer LMFAO
Yeesh
what's the ARM equivalent for ebp and rdi registers?
FP and x5 i think
thanks
maybe you can make a daemon to continuously check if device is connected to wifi for the first part
Id say go for the battery replacement though because as long as the screen isnt cracked it isnt too hard
so I came up with a solution
- remove the passcode from the device
- use a focus to open the personal hotspot pane
Yep
and when I turn the focus off
I have it open the wifi panel
only downside is that I have to do all this BEFORE I lose network connection
well here’s the idea right
I could also have the focus activate when I leave a certain place
It’s a very interesting problem to solve right?
have the thing activate on a time and setup a action for every minute
Acrivate on every 5% battery intervsl
Enables Native CarPlay Interface on iOS 8
There was a tweak that did this like a decade ago
Does anybody by chance know an app that doesn't use "SoloAmbient, Ambient or Playback" as its AVAudioSessionCategory ?
explanation of time APIs on macos/ios
first, the mach_* APIs:
mach_absolute_time()returns auint64_tthat represents ticks since boot, which does not increment when the system is sleepingmach_continuous_time()returns auint64_tthat represents ticks since boot, which indeed increments when the system is sleepingmach_approximate_time()is almost the same asmach_absolute_time(), but has faster execution time, but with less accuracymach_continuous_approximate_time()is almost the same asmach_continuous_time(), but has faster execution time, but with less accuracy
ticks are not a real-world value at all. you must convert number of ticks to number of nanoseconds (which would also be uint64_t) using mach_timebase_info(). once converted, you will have a uint64_t that represents number of nanoseconds since boot (precise/approximate, including/excluding sleeping)
second, the clock_* APIs. the function clock_gettime_nsec_np(someMode) can be used in any of the following modes:
CLOCK_UPTIME_RAW- identical to (i.e. wraps)mach_absolute_time(), but automatically includes the conversion to nanosecCLOCK_MONOTONIC_RAW- identical to (i.e. wraps)mach_continuous_time(), but automatically includes the conversion to nanosecCLOCK_UPTIME_RAW_APPROX- identical to (i.e. wraps)mach_approximate_time(), but automatically includes the conversion to nanosecCLOCK_MONOTONIC_RAW_APPROX- identical to (i.e. wraps)mach_continuous_approximate_time(), but automatically includes the conversion to nanosec
what we have discussed thus far is not affected at all by changing the time/date on your computer, nor time zones, nor daylight savings - they are simply misc measurements of time since boot
continuing on, now we will discuss APIs for a human-interpretable clock. these would be affected if you explicitly change the time/date on your computer, but still are not affected by time zones and daylight savings
CLOCK_REALTIME- returns the current timestamp of now. expressed as auint64_tas the number of nanoseconds since epoch (january 1 1970 at 12:00:00 AM UTC)- under the hood, this calls
gettimeofday()
- under the hood, this calls
CLOCK_MONOTONIC- returns the timestamp at which the system was booted. also auint64_tas the number of nanoseconds since epoch- under the hood, this calls
mach_boottime_usec(), which subsequently reads from the COMMPAGE, and potentially does a fallback tosysctlbyname("kern.boottime", blah) - note that if you manually change the time on your computer by a certain delta, for whatever reason, the returned boot timestamp will also instantly change by the same delta. i suppose this makes sense when you think about it in a certain way? idk? (i.e. you changed the time by X seconds.....so why not also change the boot timestamp by X seconds?)
- under the hood, this calls
time zones/daylight savings do not count as changing the time on your computer - time zones/daylight savings are completely separate artifacts and do not relate to the time you set on your computer at all. for example:
uint64_t t1 = mach_continuous_time();
t1 = do_conversion(t1); //conversion with mach_timebase_info()
t1 = t1 / NSEC_PER_SEC;
//t1 is now 1726199644
//now go change your time zone in System Preferences (not manually set the time)
uint64_t t2 = mach_continuous_time();
t2 = do_conversion(t2);
t2 = t2 / NSEC_PER_SEC;
//t2 is now 1726199665
//in other words, only 21 seconds have elapsed
here's some example scenarios with the proper choice of API:
- to measure the execution time of some code: call
mach_continuous_time(), then run your code, then callmach_continuous_time()again, then subtract, then do the conversion
- i suppose you could use
mach_absolute_time()too, either should work, but i'd prefermach_continuous_time()due to the sleeping situation - using
CLOCK_REALTIMEis not appropriate because that is slow. accuracy is important here, so you want the lowest-level API, which ismach_absolute_time()
- to retrieve the timestamp at which the system was booted: use
CLOCK_MONOTONIC
- time_now - continuous_time is not appropriate because continuous_time is since the cpu first turned on, and not when the kernel saved the boot timestamp in a variable for us to use. we want the timestamp that the kernel saved. same applies to absolute_time
- to retrieve how long the system has been booted: find the
CLOCK_REALTIME. then find theCLOCK_MONOTONIC, then subtract
- continuous_time (and absolute_time) are not appropriate for same reason as #2
- to retrieve the timestamp of now: use
CLOCK_REALTIME
- boot_time + continuous_time is not appropriate (nor with absolute_time). boot_time is when the kernel saved the variable, and continuous_time is when the cpu turned on, i.e. those 2 overlap with each other. adding them would produce an inaccurate value that is off by a few seconds due to the overlap
- you want a "virtual uptime", such as Zefram's Launch Uptime (uptime since you launched Zefram)
- more specifically, you want to measure how much time elapses between two moments, independent of the user manually changing the time on their computer. you want across process lifespan, across system sleep, etc, but never across system reboot
- save time_now, then time elapses, then save time_now again, then subtract is not appropriate because what if the user manually changes the time set on their computer?
- (continued from above)
- so, the proper choice is to save continuous_time now, then time elapses, then save continuous_time again, then subtract. this can be displayed as the number of nanoseconds that elapsed
- if you want to also display the time at which the first save occurred: retrieve time_now, then subtract the calculated number of nanoseconds that elapsed. then display that as a time/date. remember that boot_time + continuous_time does not work to yield a human-interpretable time because of the reasons already explained ^
lastly, here is how to implement mach_continuous_time() yourself in raw assembly, in case you want super-speed. also includes a C version. taken from https://github.com/apple-oss-distributions/xnu/blob/xnu-8020.140.41/libsyscall/wrappers/mach_continuous_time.c
__attribute__((naked))
uint64_t custom_continuous_time(void) {
asm(
"mrs x8, S3_4_C15_C10_6 \n"
"mov x9, #0xFFFFF0000 \n"
"movk x9, #0xC0A8 \n"
"ldr x9, [x9, #0] \n"
"add x0, x8, x9 \n"
"ret \n"
:
:
:
);
}
uint64_t custom_continuous_time(void) {
return __builtin_arm_rsr64("S3_4_C15_C10_6") + *(uint64_t *)0xFFFFFC0A8;
}
I should make a video about white lights
Got enough ms there
pov: you disabled kpp
I believe capt will be able to read/find apple's docs/source code by himself some day
today is not that day
lmao
Please god no don’t need his nerd ass answering people in this chat with cited examples from apple
he's already doing this by using chatgpt
Is there a way to make my alert so that other ui elements can't block it ?
Have you tried spawning the notification from springboard?
Like the low power notification
Jailed tweak so i can't do that
Block the main thread until the user dismisses the notification?
Doesn't seem ideal to pause the app for this but i can try it thanks
You can probably force this be the first view shown
Forgot how but there is a way
Probably making a seperate higher level window and showing the alert there instead
Microphone+ mfs when
you know, the whole calling functions thing wasnt a huge issue i dont think because i was thinking of it wrong
serialization is kinda the same thing
technically as in the number can store it?
or as in you invented time travel
ok so time travel

Ok capt inc
Ok floppa
TBH I kinda just assumed the uptime was just stored in seconds or whatever and was incremented on a clock
Does this mean hibernating a system can give you stupid long uptime because it won't ever go down
yeah ive seen this lots of times
just look at anyone's windows; it hibernates the kernel by default when you shut down
kernel world right?
not some actual physical thing in the cpu
theres an uptime memory in the cpu??
wdym
when the computer is running the kernel is always running
when can you observe the uptime while the kernel isnt running
wdym
the kernel is still managing everything
the subtraction operation..?
didnt you just say the uptime was measured by storing the boot timestamp
yeah
oh thats weird
i thought it was always just reading the time on demand instead of counting up in cpu-time
wdym
yeah
the rtc..?
so you dont use the rtc for timing after boot?
why
U Know How To Change Screen Time Change And Hide All apps From Battery Usage?
im taking a cs class and i was told to write c#
i didnt like how the teacher wrote it but i dont know if my way is more idiomatic
double FahrenheitToCelsius(double degrees) {
return (degrees - 32) * 5 / 9;
}
Console.Write("Enter a temperature in °F -> ");
string? fahrenheitString = Console.ReadLine();
double fahrenheit;
if (!string.IsNullOrEmpty(fahrenheitString) && double.TryParse(fahrenheitString, out fahrenheit)) {
Console.WriteLine($"{fahrenheit}°F = {FahrenheitToCelsius(fahrenheit):0.##}°C");
} else {
Console.WriteLine($"Invalid temperature provided: {fahrenheitString}");
}
(its still the start of the class so its very easy)
do any people who use c# professionally know a more idiomatic way to write this? i dont really use c# very often
what does idiomatic mean
A better way/standard basically
i think trying to convert empty strings to double will throw anyway, idk if the nullorempty check is needed
Python code be like
can just use mach traps to match mach_continuous_time
mov x0, sp
mov x16, #-89 // mach_timebase_info_trap
svc #0x80
mrs x8, cntvct_el0
ldp w9, w10, [sp]
mul x8, x8, x9
udiv x0, x8, x10
https://vxtwitter.com/chordbug/status/1834642829919781369 honestly quite incredible (run it on a python interpreter)
What happens i am too lazy
amogus
ඞ
amoung
converting not() to T is interesting
i wonder how they figured that out lmao
a lot of stars had to align i guess
Does anybody know how i can fix this.

Issue: my alert gets blocked by other ui elements if i present it using keywindow.rootviewcontroller. And same thing happens without other ui showing up if i create a new window with windowlevel alert and show the alert in the new window instead
the trick is to work backwards
Make a new/another UIWindow ?
First video is like that
I change the x position of an image and the xml parser starts doing illegal memory reads
I love homebrew development
(I have no clue what is happening)
this thing alone could make me learn rust out of frustration
i think something somewhere is writing out of bounds and i have no clue what it is
valgrind?
Or wait i cant remdmber if it tells you
who the fuck found this
Yeah but you only know when something is writing out of bounds at runtime
find a way to run it 
i don't want to touch a wii again
Do you have stack traces from crashes due ti the memoru writing
i used to get stack traces
but i stopped getting them at some point
not sure what happened
that sentence could replace stack traces and them with two other nouns and be funny no matter what
i used to get pineapples but i stopped getting them at some point
not sure what happened
tldr you're saying it's a skill issue and you're probably right
but I'll continue blaming other people's libraries
because i really don't care, I'm not touching a Wii again
can you look at the previous stack traces
if you have debug symbols for at least some of teh stuff it shoulf be pretty clear
i didn't save them 
ok yeah it is a skill issue
i did look at where some of them were coming from and i distinctly remember one of them being triggered by printf("test")
something was terribly wrong
i mean ub being caused somewhere else can have random (might i say undefined) effects elsewhere way later on
so all you need is a single double free or read after free or something stupid
actually those examples it might not be possible realistically but it is in principle
i know
i know what ub is
i didn't care enough to thoroughly debug it
it's a silly app for the Wii
make it a silly app for the computer so you can valgrind it 
I already made a Qt version of this and it works on macos, windows and linux
i never had random segfaults there so i don't think the problem is the library itself
are there any docs to link some backend stuff with frontend stuff
in what context?
python <-> html
Something like Flask?
?
you make a web server with flask that serves both the frontend and api endpoints
you make requests from the frontend to the api endpoints to do stuff with python code and return results to the frontend
you can run it locally
yeah im kinda trying to put it on my website :D
what's your website hosted on?
idfk
and what will your python code do?
github pages
yeah you probably can't do that with github pages
hugging face might be another solution
its just some python code that learns from the user
does it use ai?
if you want a website with a backend you'll need vercel or another website hosting service
github and cf pages are static
A
i know a friend who uses huggingface for making a lambda function 💀
Looks like no backend
it works ig
yeah you'll need a backend server
i can recommend heroku and digitalocean as those are the ones I've used in the past (although they are very different in how they operate)
it gets very expensive really quickly but you don't have to worry about setting up anything
whether that's worth it or not is up to you
personally I've only used the eco plan that gives you 1000 shared hours per month
oh
so i just need to get their api and make it work with my html?
discord is the best cdn fr
no
Heroku is no longer free unfortunately
true
what
but it's easy to get started and use
tbf i only used heroku initially because it was free
if it were paid i might have never used it
probably cheaper to set up dokku on digitalocean
Just get a vps for a few bucks a month and proxy traffic through cf 👍
I have an even better (worse) idea for a storage solution
Have not made it yet unfortunately
Use the rune DRM server to store data
give it a way to read/write blocks by id and it gives you a filesystem
alongside a fuse mount and an ftp server
oh thats handy
The info needed to retrieve the data is gonna take more space than just storing the data locally

is that not what fuse is too
no?
For what I’m gonna be using it will
CaptFS
HydroFS
ZeFSram
FSloppa
BFRFS
FS
FS
_ _
if this doesnt exist already then there must be some reason but
some day i wanna make a sort of tickless physics engine where everything is functional and lazily evaluated based on math/linear algebra expressions, so there's never a ticking you have to do where you move the object 1/100th of its velocity 100 times per second for exAmple
/var/mobile/Library/Caches/Checkpoints.plist
anyone knows what use is this plist for
it has a lot of stuff like icon rows and blur background colors idk if I should change values in it
and width and height of the screen
Whoa this is cool
If you do change it I’m curious about the results
I’ll wait for someone to try because it’s my only 17.0 device and my lower ios device
Fair
But the plist has many things think 50/50 they don’t persist over reboots as they’re “cache”
Would be so cool if it worked
is there a way to block OTA updates on macOS?
bet thanks
easier solution: accidentally buy a 256gb ssd when you first buy a mac not knowing how little storage that is and then have it always be full so macos can’t ever update even if you want it to
Sadly
Might end up being stupid but I wonder if actually preventing modifications does anything
But you could end up fucking something up though
I want current screen/window/view to have my gesture recogniser
is there a better alternative than (very simplified code)
-(void) becomeKeyWindow{
%orig;
[self addGestureRecognizer:gestureRecognizer];
}
because sometimes this doesn't really work at all for the main ui of the apps. While writing this i thought of making my own window or whatever and adding the recogniser to that, does this make sense ? is there a way to do it without interfering with the app in any other way. I thought this part worked nice untill i tried a new app not long ago. I am very sleepy to correct it tonight anyway i would just like suggestions
I am interested to check that out now but I don't have anything on 17.0 atm
you can just use sparserestore to overwrite it
I might try depending on ios 18 patchnotes
I still need the file though
And I don't know if sparserestore would let me change the permissions
Assuming it's overwritten
i was gonna say I could send it but i think it's different per device
i have 14pm
I'm just gonna wait until my 15 pro arrives
Although I might just update my iPad Pro given I wouldn't wanna risk another device again
is there any dbus implementation that works under Darwin?
anyone know how to get the battery current mAh in objc
apparently in iOS 6 it was -[OSDBattery _getBatteryCurrentCapacity]
oh, I guess you just use UIDevice now?
Ill buy a 2 tb for my framework just to flex on the apple users
It’s different per decice i checked on my friends 14 pro
buy a 256GB, complain about it so thye are like yeah i know then upgrade to 2TB to flex on them
But have same keys as icons per row and colors and stuff
Icons per folder
Icons in dock
All numbers and they’re valid
Icons size
But there’s things like accountability keys and resolution keys i think those per device
i probably would be fine with 256 though
I'm runnng 500GB but i am kinda on the low side
but I keep finding stuff I can delete
my mac is running out of 500 because macos SUCKS
I mean I have 430GB of data in my home directory so I think its just a me issue
to be fair steam is taking 40GB
real and true
i only freed ~12GB after extensive cleaning
swap:
me rn
quick question
would uk iphone work fine in us
regarding carriers and stuff
figured id ask here rather than jb
pretty sure it will, not sure about 5G
never use 5g anyways
in that case imma see how this guys 14pm on 16.5 goes
If the phone is compatible with both GSM and CDMA I’m pretty sure it is
In the about tab if you see both IMEI and MEID it is compatible with both
get cleanmymacx, dont buy premium just do a junk search, itll find a bunch of cache files for electron based stuff like spotify, chrome, vscode, etc, right click and click open in finder, delete it, clear trash can, profit
reveal in finder
there is no download except paid
easy storage
Delete megatons of junk, malware, and make your Mac faster & more organized.
CleanMyMac X packs 30+ tools to help you solve the most common Mac issues. You can use it to manage storage, apps, and monitor the health of your computer. There are even personalized cleanup tips based on how you use your…
workey for me
try actually cleaning
one of the reasons i want a new 14pm
what
you wanna reveal the big folders in finder and delete them manually
man im using onyx instead
.
Wtf did you do with your phone 💀
Idk bro
brew install dua-cli
dua i
or just, pirate the thing 😭
Clean it with @whole delta
Mods
today i decided i needed to write some c++ for something and wanted to use switch/case
just to realize case labels can only be ints or something compatible with ints
and the most widely accepted solution is to generate a unique hash for each input to be compatible with string literals instead????
nah i'd go insane
what the hell man
what zero sugar gets you
i think rust might also be doing this though
except sugaring
i call this one: the string switch magic trick
but yeah i can cope with that
has anyone here hooked objc using dobbyhook/mshookfunction
i am failing
miserably
an objc method
this is what i have for mshookmessageex right now
Class class_XBSnapshotContainerIdentity = objc_getClass("XBSnapshotContainerIdentity");
// MSHookMessageEx(
// class_XBSnapshotContainerIdentity,
// @selector(snapshotContainerPath),
// (IMP)&XBSnapshotContainer_Identity_snapshotContainerPath,
// (IMP*)&orig_XBSnapshotContainerIdentity_snapshotContainerPath
// );```
ignore the comments
so what would it be with mshookfunction
this is the hook and all it does is crashes:
static NSString * XBSnapshotContainer_Identity_snapshotContainerPath(XBSnapshotContainerIdentity* self, SEL _cmd) {
NSString* path = orig_XBSnapshotContainerIdentity_snapshotContainerPath(self, _cmd);
if([path hasPrefix:@"/var/mobile/Library/SplashBoard/Snapshots/"] && ![self.bundleIdentifier hasPrefix:@"com.apple."]) {
path = [@"/var/jb" stringByAppendingPathComponent:path];
}
return path;
}```
why not fucking use MSHookMessageEx 😭

i want to try something different
I know the top one i shouldve mentioned dobbyhook but basically same thing
yes im pretty sure
it will not generate a crash log for some reason
don't filter to process SpringBoard
i would rather notdo that
wat
i dont wanna mess shit up by doing that idk
???????????
ok
I did see kernel corpse
but after that nothing else useful
no i meant
this hook works fine with mshookmessageex
doesn't want to mess shit up
is hooking shit
its something with the new way of hooking
anyways do this
theres nothing else useful
i had a weird crash like this once, where if i returned orig immediately it worked but if i did anything else it crashed
turns out i had my hook args wrong
does it crash if you don't call orig at all
just NSLog and return NULL (or a hardcoded valid path)
well it will maybe crash but do you see the log at least
yeah i dont think its working at all
static NSString * XBSnapshotContainer_Identity_snapshotContainerPath(XBSnapshotContainerIdentity* self, SEL _cmd) {
// NSString* path = orig_XBSnapshotContainerIdentity_snapshotContainerPath(self, _cmd);
// if([path hasPrefix:@"/var/mobile/Library/SplashBoard/Snapshots/"] && ![self.bundleIdentifier hasPrefix:@"com.apple."]) {
// path = [@"/var/jb" stringByAppendingPathComponent:path];
// }
NSLog(@"Im hooked");
return nil;
}```
i dont see any nslogs
let me try mshookfunction
theres none
i checked in filza and settings
i dont have cr4shed
bruh
are you fucking shitting me
mshookfunction works grea t
or it didnt hook
lets see
nah its working
bro why doesnt dobby work for this
i just want a lightweight hooking thing
i switched from litehook to mshookfunction 2 days ago and it fucked battery
idk what to do
make one
too much work
maybe i could modify litehook to
let you call original function
instead of syscalls
hm
this is a funny statement lol
@grave sparrow weird enough it works for other things
like for example this
Class class_MI = objc_getClass("MIContainer");
Method methodmi = class_getInstanceMethod(class_MI, @selector(makeContainerLiveReplacingContainer:reason:waitForDeletion:withError:));
IMP imp3 = method_getImplementation(methodmi);
DobbyHook((void *)imp3, (void *)new_makeContainerLiveReplacingContainer, (void **)&orig_makeContainerLiveReplacingContainer);```
this works fine
when will the features.... be accessible... to other individuals
if it aint a stock lib or some ssl shit i refuse to use them 
u cant not have it so it dont count
u have to link with libsys on m1+
mov x16, #4 
with what
so what is the best hooking library for performance and battery life in my scenario, i hook csops, csops_audittoken, and fcntl, and some of the other stuff i showed earlier
use linux
make xnu-zefram-edition
substitute still mids
litehook
yeah but only syscalls
just add orig calling
show
add here
depends on *OS and the restrictions in place
macos is easy, ios a little more annoying
if you think yours is the best why dont you let me try it
@native orbit do you know how i would properly add orig to this though
then yours belongs on the bottom of that list
@visual meadow are u doing this on dopamine or ur jb thing
ida:
zefram is fake so it should be at the bottom
legitimately downloaded on my pc and mac
of course
yeah that was the point same here
probably over half of ida 9 users are pirated ones
jiang ying a real one
ping when you figure it out i tried and failed lol
test device is charging now
both ways right
get hired at arm, add the instruction, quit
capt is a hooker
imagine if you could just ldr into pc lol
zefram kernel
real
wonder how much longer til they kill kexts
signed kexts
not hacked up shit we use
prob with intel death
i am very confused, do you guys think the the recognizer would work in this code, (functionally it doesn't work but i am trying to understand the reason)
tweakWindow.windowLevel = UIWindowLevelAlert - 1;
tweakWindow.backgroundColor = UIColor.clearColor;
tweakWindow.alpha = 1;
tweakWindow.hidden = NO;
[tweakWindow addGestureRecognizer:gestureRecognizer];```
um
i dont think ur suposed to add gesture recognizers to UIWindows...
add it to a View.
or the rootVSs view
bet lemme try
lik window.rootViewController.view
Currently making a program with libimobiledevice, and im wondering, im getting LOCKDOWN_E_INVALID_ARG, for this
lockdownd_client_new(device, client, "test")```
idevice_t device = NULL;
lockdownd_client_t* client = NULL;
lockdownd_service_descriptor_t* service = NULL;```
not really sure what im doing wrong
not seeing this on 17.6, palera1n rootless
I think it's Checkpoint.plist now Checkpoints.plist
nothing of the sort is there, just folders
At least in the C category
i couldnt find it at the beginning either, but when I looked closely I found it
(iOS 15.2.1)
do a search
We have found
yep
What to edit
the homescreen columns thing is what I found most interesting
yes
I’ll set it to like 6 and respring
hmmmm
just pushes apps to the other window
Trying
Wats max folder icon row and column count normally?
(Not for the file, iPadOS)
3?
The file says 3
on my iPad
But I just shoved 4 and 4 together
Had a feeling
3x3 on iPhone
That’s dummy cache or something
I wonder if there's something else that has the real data
Many checkpoints
yes
rip
yeah you helped me make that shitty ass objective-c tweak
oh yeah
hidy
it's been so long lmfao
yeaahhh
buuuuut, you got a fix for me?
what?
Hidy
but i did write something something im proud of
that's how you compile a rootless deb
nah the theos thing wouldn't reinstall on my new mac
weird
https://github.com/justdie386/rolua
wrote a whole fucking web API wrapper lmao
biggest project i ever made in the last 2 years
for something i got paid to make


