#development

1 messages Ā· Page 209 of 1

radiant idol
#

neat

tepid olive
#

yeah it broke šŸ’€

#

yo btw did yo ass make the UI for dopamine??

radiant idol
#

not the UI

#

I made the website though

tepid olive
#

niiivr

#

using just html, no fancy frameworks, right?

radiant idol
#

yeah

tepid olive
#

oh rally?

radiant idol
#

yes

tepid olive
#

well done man

#

thought you used some overkill typa shit

radiant idol
#

oh its private

#

weird

tepid olive
#

nah but like rn im getting into C a lil bit more

#

do you know where i can find info on the exploit used by EUEnabler?

#

i'd like to maybe do stuff wit it

radiant idol
#

I do not

tepid olive
#

fufk

#

y'know anyone who does that's not a busy mf?

radiant idol
#

no

tepid olive
#

fuck

radiant idol
#

pretty much every dev is busy around here

tepid olive
#

yeah thats what im understandin

#

its like a new MDC, but a lil weaker yah?

radiant idol
#

yeah

tepid olive
#

still better than no nuthin

granite frigate
#

sparserestore is kinda self explanatory

acoustic imp
#

any reason why my tweak like cant read FS?

-(BOOL)rutoreeeuir:(NSString*)path{
    return [[NSFileManager defaultManager] fileExistsAtPath:path];
}``` everything is returing 0
hasty ruin
#

the fuck is rutoreeeuir

acoustic imp
#

random keys i mashed

hasty ruin
#

check syslog

acoustic imp
#

for what ?

hasty ruin
#

it'll be sandboxing

acoustic imp
#

but like 16p doesn't have this issue and it accesses it from SB ?

#

jk

radiant idol
#

jk

harsh junco
#

Why I can’t delete groups

tepid olive
tepid olive
#

Anywhere i can find info about the new exploit? i think its using something in sparserestore, but i don't know python yet and i can't really understand what the hell they are doing in the scripts,

granite frigate
#

the difference is that the directory traversal is from SysContainerDomain instead

tepid olive
#

Thank you, i'll check it out

granite frigate
#

uh I don't think there are rewrites of it in other languages

tepid olive
#

yeah thats what im trinna do

#

but i don't understand python so im trinna find a writeup or smt

granite frigate
tepid olive
#

Thanks, thats alreay much better than python

gentle grove
#

or to be language agnostic

tepid olive
#

also python weird as hell

faint stag
#

yes but
classes are like basic OOP

#

lmao

granite frigate
#

lua doesnt have classes?? then how do mfs makw games in roblox

#

😭

manic forum
tepid olive
#

yeah but i legit never did fucking oOP

tepid olive
granite frigate
tepid olive
#

its luau

granite frigate
#

oh in scratch not from scratch

#

i was tryna make scratch games when i was 9

#

shit was crazy

tepid olive
#

i mean lua like the normal lua DOES have oop, but it requires using metatables to emulate oop, and i got very little clue how to use metatables, never really had to

granite frigate
#

wtf is a metatable

tepid olive
#

thats a good question, that i couldn't even answer myself

manic forum
#

i was so happy

#

wish i could go back to being happy about making flappy bird in scratch

cloud yacht
#

Scratxh was a simpler time

gentle grove
#

well luau does at least

#

Luau has static typing also

cloud yacht
#

Normal Lua kinda has classes

#

I've consumed them but haven't created them myself

#

They are mostly just tables with methods on them but it has some syntatic sugard where if you go class:function() it passes the class as the first argument

#

And if you define one that way it adds a self as the first argument

tepid olive
#

yeah it is pretty cool, but at least me myself never had to use classes in any of my projects, maybe it would've made stuff easier, i dunno

ocean raptor
tepid olive
clear iron
ocean raptor
tepid olive
#

😭

torn oriole
#

Isn't trol

acoustic imp
#

what does it say, ur device will restart after the update?

#

not all that interesting

tepid olive
#

It’s a nice touch

acoustic imp
#

trying to install libsandy to my theos

slim bramble
#

Just find them on google

#

Then -I.

#

In makefile

acoustic imp
#

i didn't need it nvm

harsh junco
#

bsdmake is

rocky oriole
orchid fulcrum
manic forum
#

make is awesome

#

it is simple and effective

tepid olive
#

So I’ve been looking into wanting to make tweaks and I’ve been understanding the whole concept of using objective c to hook functions and stuff but I don’t really understand how u read the applications code kinda like how ida exists

#

what would u use for that and can it be done on windows?

manic forum
#

@tepid olive i never had to use ghidra/ida to make a tweak

#

you can find which methods to hook/use with FLEX

#

and then the rest is trial and error

tepid olive
#

All of this capable without a pc?

orchid fulcrum
#

Or you can dump its headers to see the classes/methods

tepid olive
#

I mean I wouldn’t mind using my pc to do the actual coding since vscode is nice

manic forum
#

vscode would work

#

it's what i use

tepid olive
#

I’m using nathanlr would that mean through the debugging process of making my tweak id have to inject my tweak and uninject for each change I make?

#

No live changes like hot swaps or anything of that sort?

manic forum
#

you'd have to restart the app every time you make a change, there's no hot reloading for tweaks afaik

tepid olive
#

Oh okay that’s not too bad then

manic forum
#

whether the tweak development process is different with nathanlr or not, i don't know

tepid olive
#

How can I test my tweak privately without having my own hosting

manic forum
#

all of your questions will be answered once you actually start

orchid fulcrum
#

Just get the deb on your phone with whatsapp google drive etc

manic forum
#

what

#

no

#

no

orchid fulcrum
#

Yes troll

manic forum
slim bramble
tepid olive
slim bramble
#

I've never used IDA for any of my tweaks yet

tepid olive
manic forum
#

set THEOS_DEVICE_IP to the IP address of your phone and you're good to go

#

also you'll need to have an ssh server installed and running on your phone

#

and you may need to set a password for the root account or you won't be able to log in

tepid olive
#

Damn okay I’m a little behind on this stuff I was reading a bit into it

#

Ill look more into it

#

What’s the best site for information on it for the current date and time

manic forum
tepid olive
#

I’ve been seeing lots of 7 year old threads so I’ve been ignoring those

tepid olive
manic forum
#

@tepid olive to do tweak development on Windows you'll either need WSL or a Linux VM

#

or a macOS VM

#

WSL is probably the easiest

tepid olive
#

😭 how tf is Linux supported but not windows

manic forum
#

because it's Windows

tepid olive
#

Me and the homies love windows

manic forum
#

(I don't like Windows)

tepid olive
#

Btw do u think a tweak like crane will ever be possible on a semi jb

manic forum
#

I don't know enough about semi jailbreaks to answer that

tepid olive
#

I used to think semi jbs were full jailbreaks that just weren’t on the boot state

#

šŸ˜†

granite frigate
#

explanation: you have to replace and inject into everything that crane does, which are like 5 different daemons

#

iirc nathan has gotten a few like installd but not all needed for crane

tepid olive
#

Yeah I noticed some aren’t working completely

granite frigate
#

i Don’t see the point in working on serotonin now because nathanlr is just better than it in every possible way

#

so I probably won’t bother getting crane to work on sero either sorry

tepid olive
#

I don’t know if I can even use seratonin

granite frigate
#

why not

tepid olive
#

unless it also supports

#

Exact same as nathanlr

#

I know both use same method

granite frigate
#

nathanlr is a fork of sero

#

they do the same thing lol

tepid olive
#

Ik

#

I didn’t know tho about the versions if they both were exact same

granite frigate
#

the difference is proper rootless bootstrap and app injection

tepid olive
#

Did u have your own app for sero like ui same as nathans

#

I never used sero before

granite frigate
#

yeah

granite frigate
#

🄺

tepid olive
#

I wanted to try dopamine but my device wasn’t supported 😦

tepid olive
slim bramble
torn oriole
#

What an innocent series of assembly instructions from discord user captinc

#

Surely they would not send me instructions that infinitely spawns processes to lock up my system

abstract forum
#

why isnt it posssible for semi jbs to be put on at boot?

#

i used to think semi jbs were full jbs that just werent on the boot state

cloud yacht
#

I don't think we have very good ways to run code at boot

#

and also they usualy take a bit so you would be booted in and then a few second later it would just reboot into jailbroken

abstract forum
#

i suppose i actually like it being how it is now but

#

i was just curious as to why it wouldnt be possible or if it even is

cloud yacht
#

iirc its mostly just new protections added by apple make it hard to do what we used to

#

I belive fugu14 could have been used for an untethered jailbreak but was just used to sign the unc0ver app, and trollstore you can replace testflight to get code to run on boot, but you can't use testflight apps then

rocky oriole
velvet path
#

no SSV means you can just do that

naive kraken
orchid fulcrum
#

Is there a way to make my tweak NOT load/inject into springboard ?

#

Ideally i want it to only inject into appstore apps, but for now just disabling springboard is fine

manic forum
hasty ruin
manic forum
#

springboard clone hm

#

now where have i heard that before

orchid fulcrum
#

I currently have corefoundation equivalent of that in a attribute constructor but it goes into safe mode/crashes springboard upon installation for some reason

torn oriole
manic forum
#

just use ctor

hasty ruin
torn oriole
#

True

manic forum
hasty ruin
#

(I think TS may have a check for that bundle id though)

torn oriole
#

Just overwrite springboard

#

You don't need it

hasty ruin
#

rewrite shared cache with new sb

torn oriole
#

Guys springboard.app is actually a variant of seashell malware!!!

hasty ruin
#

must be real

torn oriole
manic forum
#

openssh is actually a rat!! supershocked

hasty ruin
#

a certain settings app customisation tweak is as well…

manic forum
#

@torn oriole can you mute me for a week

hasty ruin
#

@torn oriole can you mute me forever

harsh junco
#

?

manic forum
#

ā“

harsh junco
#

@hasty ruin seek help

hasty ruin
#

?

harsh junco
#

?

manic forum
#

?

#

see this is precisely why i want to be muted

manic forum
hasty ruin
#

Just play minesweeper on gir

manic forum
harsh junco
#

#unknown

tepid olive
#

My flex doesn’t open on any apps gotta be on the homescreen anyone know why? I’ve installed FLEXing also

#

@manic forum how are u able to use flex on discord

#

when I try opening flex on anything but the homescreen nothing happens, if I open it on homescreen open say discord and try to select anything nothing happens it just does normal interactions

manic forum
#

hold on there's a spider on the ceiling

#

i'll brb

tepid olive
hasty ruin
manic forum
#

there is no longer a spider on the ceiling

#

but i also don't know where it is

hasty ruin
#

Under your skin

manic forum
#

worked for me every time

tepid olive
#

I try

#

doesn’t work

#

it just interacts with everything lol

cloud yacht
#

holding status bar?

manic forum
tepid olive
#

Holding status bar works but

#

Only on the homescreen

#

Not inside of apps

cloud yacht
#

does the holding with 3 fingers work on the home screen?

tepid olive
#

Yeah

#

I got like degraded flexing or smth

cloud yacht
#

sounds like its not being injected into discord

tepid olive
#

oh prob cause I forgot to turn on tweak injection for discord

hasty ruin
tepid olive
#

LOL I forgot

manic forum
hasty ruin
gentle grove
hasty ruin
#

?

gentle grove
#

what else

hasty ruin
#

Finally

#

No more pixel

gentle grove
tepid olive
#

Anyway to enable tweak injection for certain tweaks only on nathanlr that way I don’t have to uninstall

#

nvm choicy is that but

#

Doesn’t work on Nathanlr

#

@visual meadow choicy support when?

drifting heron
#

I got the "new" AirPods Max with USB-C. I'm assuming that they won't have UI support on an older version like iOS 16?

gentle grove
harsh junco
pearl sail
#

Are we really surprised

elfin quarry
#

are pointers in mach-o files special or something? when i look at some pointers in __const region in a hex editor, the pointers seems to be prefixed with something (though ida fixes them? idk what really happens)

#

for example, this is from ida

#

and this is the file itself

faint timber
elfin quarry
#

when i read the pointer from the executable directly, i'd get 0x0010000007D6E750 which is obviously invalid

faint timber
#

oh I see

elfin quarry
#

but ida makes the pointer 0x0000000007D6E750 somehow

#

which is where i'm confused

#

for a hack, i did this but i'd like to know the actual reason for that behavior

timid furnace
#

a link to a pkpass should work

elfin quarry
grim sparrow
#

If the pass is signed yeah

timid furnace
#

@granite frigate hbd!!!

granite frigate
#

Thanks!

cloud yacht
#

no way you stole my birthday

#

happy birthday

reef trail
cloud yacht
#

didn't know it waas a thing\

wooden yarrow
granite frigate
cloud yacht
#

thanks

tepid olive
#

this snippet from libimobiledevice's lockdown.h docs says this is how this function should be used

lockdownd_error_t lockdownd_client_new     (     idevice_t      device,
        lockdownd_client_t *      client,
        const char *      label 
    )     ```
#

what am i supposed to put for the label? it says its the label to use for communication, usually the program name

#

so do i just put whatever? my program refuses to create a diagnostics_relay_client so i assume it comes from the lockdownd_client being invalid

acoustic imp
#

@cloud yacht happy b day 🄳

slim bramble
#

Yooo happy birthday @cloud yacht

cloud yacht
#

Thank you

harsh junco
#

@granite frigate happy birthday big man

#

@cloud yacht happy birthday

cloud yacht
#

thanks

#

@vivid dew happy birthday big man!!!!

gentle grove
#

@cloud yacht HAPPY BRITHADY!!!!

cloud yacht
#

thank you

gentle grove
#

update on the video editor idea to whom it may concern: i think the answer is to write my own sort of loose scripting language that lets you directly access functions and types; you will define everything in rust (and i can figure out some sort of plugin system for making your own custom operations)

the reason i wanted to use an actual scripting language was to take advantage of basic iterator functions like map existing in the language to make things easier, but i think its better if i define everything myself the way i want it in the rust world and make the scripting an adapter to using that

kind herald
#

update on the video editor idea to whom it may concern: i think the answer is to write my own sort of loose scripting language that lets you directly access functions and types; you will define everything in rust (and i can figure out some sort of plugin system for making your own custom operations)

the reason i wanted to use an actual scripting language was to take advantage of basic iterator functions like map existing in the language to make things easier, but i think its better if i define everything myself the way i want it in the rust world and make the scripting an adapter to using that

kind herald
#

mods

serene heron
#

;

crystal sparrow
#

;

slim bramble
#

;

weary heath
#

;

wooden yarrow
#

;

harsh junco
#

;

slim bramble
#

;

rocky oriole
#

; (#8)

orchid fulcrum
#

Do modern jailbreaks nowadays still use mobileLoader or did we switch to ellekit ?

fading shell
#

Dopamine uses ElleKit

#

Idk about palera1n though

#

And there aren't any other modern jailbreaks

tepid olive
slim bramble
tepid olive
#

well now it uses ellekit so

olive peak
rocky oriole
gentle grove
gentle grove
#

why the hell did i do this

#

why didnt i just make the second impl call the first one

#

i must not have been thinking the first time
so i wonder how many more random things are weird like this in bobashare

gentle grove
gentle grove
granite frigate
#

is there no good way to just save all my twitter bookmarks

#

why is everything on reddit paid

gentle grove
granite frigate
#

jesus christ i should just write a scraper myself

gentle grove
#

its pretty locked down after elon

granite frigate
#

no like i'm just trying to scrape my own bookmarks

#

then delete them all from twitter

#

i think i have like a few thousand

#

😭

#

some js script should work

gentle grove
#

just keep scrolling down but continually grab all the bookmarks on screen and throw them in a buffer Set or something

granite frigate
#

Yeah

gentle grove
#

as long as you have enough memory to store it all and dont have to start swapping the list of bookmarks out

granite frigate
#

ight i got it

#

nvm it died halfway

gentle grove
#

rate limiting moment

wooden yarrow
granite frigate
#

nah

#

made an alt for that

slim bramble
#

No way sacro still has birthday role

wooden yarrow
granite frigate
#

i'm at the beach that makes you old

crystal sparrow
crystal sparrow
granite frigate
drifting heron
#

guys

#

nevermind

grim sparrow
#

I agree tbh

hasty ruin
#

I agree tbh

cloud yacht
#

I agree tbh

pearl sail
#

I agree tbh

harsh junco
#

I agree tbh

placid kraken
#

I agree tbh

acoustic imp
#

I agree tbh

frail cedar
gentle grove
#

i hate references

#

lifetimes

#

its all too much

wooden yarrow
visual meadow
#

Anyone here know where i can get a patched tvos 16.4 sdk for theos

gentle grove
#

that was not worth the time

torn oriole
#

I am in your system

#

Corrupting your project src bit by bit

crystal sparrow
#

Yes

#

And there always will be

kind herald
#

I agree tbh

exotic spire
#

Time for it never being acknowledged or reviewed

slender glade
#

in case someone here knows

torn oriole
torn oriole
#

Hm

#

Try up the DOB in your Apple account by a year, wait a few hours/days and try again troll

#

I lied about my DOB and got through

wooden yarrow
torn oriole
#

Brought myself up to 19 while I was so close to 18 but not there

#

Changed it back down when it finally hit troll

torn oriole
#

Their fault for letting me through

wooden yarrow
#

lmao

slender glade
#

It just gives me an error asap

torn oriole
#

The verify prompt is right after the error troll

#

So close but so far

slender glade
#

So that’s def not the issue here

#

Arghhhhg

granite frigate
#

Antoine publishing app supershocked

slender glade
slender glade
#

LETS GOOO

fiery seal
#

what did u order

crystal sparrow
slender glade
steady nest
wooden yarrow
#

yeah

gentle grove
#

why do we fork() stuff instead of just posix_spawn which is safer

#

since if you fork, you have to branch into an if to do anything useful anyways

#

cant you just put the stuff you would have in the if branch into the executable you spawn

#

rust doesnt even have fork because its deemed too unsafe and problematic

lusty jacinth
gentle grove
#

i guess

#

but instead of duplicating your process you should spawn a new one always imo

#

thats what i always assumed was the case

#

i cant understand when you would need to fork specifically

#

do you have examplse

cloud yacht
#

I believe node js uses forking for user processes so they can share the same in memory node process

#

My guess is most interpreted languages do the same

gentle grove
cloud yacht
#

Also if imadige if uour spawning like x amount of workers then you don't need to use memory for every worker

cloud yacht
gentle grove
#

only if you need isolation or soemthing?

gentle grove
cloud yacht
#

Idk most of the technical details

gentle grove
#

you dont spawn processes to do multithreading

cloud yacht
#

Capt can you explain when I would want to use fork over threads and vise versa?

hasty ruin
#

Common Darwin W

gentle grove
#

whats the pipe doing

cloud yacht
gentle grove
#

hmmmm ok

#

youre trying to signal to the child when the parent dies?

#

every time i search it gives me the reverse of that

#

oh nevermind

#

i found sometihng

#

why isnt this a more common thing

#

that seems like a kinda obvious thing

#

no one wants zombies

#

i have child worker process that should exit if the parent is killed

#

thats what ithought

#

not that i have one i mean theoritically

#

web browser

#

so wanna kill all the tab processes if the parent manager dies

#

Child can ask kernel to deliver SIGHUP (or other signal) when parent dies by specifying option PR_SET_PDEATHSIG in prctl() syscall like this:

prctl(PR_SET_PDEATHSIG, SIGHUP);

See man 2 prctl for details.

Edit: This is Linux-only

#

so wait what even

#

why is this not a more common thing, wouldnt you always wanna deal with stopping children after parent dies if you happen to have subprocesses

#

so you dont have zombie processes

steady nest
#

tldr just use posix_spawn and ignore capt

gentle grove
#

is it just that your subprocess doesnt really care about the parent's state usually?

steady nest
#

if you need to clone parent memory you’re doing something wrong

gentle grove
#

does nginx do worker processes or are they threads

#

apparently it uses processes??

#

it also uses full async io so its non blocking which is nice

#

does it not on other platforms

#

does the kernel do basically the same thing

steady nest
#

lies, it’s vfork

gentle grove
#

or does it just >spawn the process

#

and not clone anything

gentle grove
steady nest
#

it’s supposedly better for bigger processes

gentle grove
#

vfork() is an obsolete optimization. Before good memory management, fork() made a full copy of the parent's memory, so it was pretty expensive. since in many cases a fork() was followed by exec(), which discards the current memory map and creates a new one, it was a needless expense. Nowadays, fork() doesn't copy the memory; it's simply set as "copy on write", so fork()+exec() is just as efficient as vfork()+exec().

#

oh so i just found out clone() exists

#

so fork clones and then removes some stuff?

#

i have many many tabs

#

where the fuck is main in nginx source

#

i cant even tell where the build system is or the entrypoint

#

oh nevermind

#

why does nginx use subprocesses

#

thats my new question

#

where does unistd.h

#

are these all kernel apis that are just magically included or osmething

#

since theres no object linked that corresponds to it and these spawn and fork things are not part of libc i dont think

#

or does libc provide it

#

i have gone far off track

#

i was originally trying to read about how go's concurrency model works

#

no on linux

#

is macos like windows in that it exposes a libc which wraps the syscalls instead of syscalls being exposed to userspace

#

do you have to link against libsystem

#

how does it work

#

also wdym

#

how does linux compare for that

#

where do those c functions come from, are they a dynamic lib on the system that gets linked in or does the kernel inject it in or something

gentle grove
gentle grove
#

its for running it as a "unikernel" so if im udnerstanding that right, that means building nginx directly into the kernel executable (although still userspace)??

#

single application operating system

slender glade
#

@granite frigate @crisp frost @grim sparrow which paragraph is more readable?

granite frigate
#

2

slender glade
granite frigate
slender glade
#

looks very apple which is the goal here

tepid olive
#

Any better tweak than FlexING and flex

#

flex keeps putting my phone in safe mode when I hit done

#

It’s annoying as fuck

gentle grove
#

im about to add the first non-posix code to my minesweeper c program

#

i want an in game timer

#

what is the equivalent of epoll on both stdin and a timerfd on linux, but for macos

gentle grove
#

I really appreciate literally any language except c right now

#

This doesnt even seem sound

#

oh. I thinj i see

#

i was accisentally looking at regular timer functions and confusing them with timerfd ones

placid kraken
#

hi shoot me

wooden yarrow
placid kraken
#

its still not that bad lol

#

you just multiply by the conjugate

#

the denominator expands to cos^2x+sin^2x so it becomes 1

wooden yarrow
#

blehh

placid kraken
#

and ur left with cosx - isinx and that is the same as cos-x + isin-x

#

and boom

#

its not that bad but its very scary when you first read it

#

also by polar did u mean re^(i*theta) or r*cis(theta)

gentle grove
#

you know whats not fun is writing c

wooden yarrow
#

r*cis you still have to do some ass

wooden yarrow
#

when u have so much experience with Rust

gentle grove
#

ugh i have to manually implement carrying subtraction

gentle grove
#

Its my single c project which is suooised to be designed perfectly

#

the only c program i trust

wooden yarrow
#

oh

gentle grove
#

Maybe i shouldnt name my arguments minuend and subtrahend because the lines are getting long

#

wtf do i call the two numbers in subyraction instead though

wooden yarrow
granite frigate
#

😭

#

my math is so cooked holy shit

wooden yarrow
#

surely u learn this?

granite frigate
#

um....

#

i stopped doing math at 16

wooden yarrow
#

wtf

#

how

granite frigate
#

i'm not doing A levels

#

and poly doesn't teach math

wooden yarrow
#

oh

#

so what do u learn

granite frigate
#

code

#

which is so fucking slow

#

they teach nothing man

wooden yarrow
#

šŸ’€

gentle grove
#

Maybe i should experiment iwht writing it in Ig

#

Zig

gentle grove
wooden yarrow
gentle grove
#

not the answer

slim bramble
steady nest
#

rip

orchid fulcrum
#

Does safemode occur only because "springboard crash" or are there other reasons

#

My tweak that works fine on jailed via dylib injection; causes a safe mode when trying to install it in a jb even though i use "return;" in a constructor after checking bundleid and if its equal to com.apple.springboard

orchid fulcrum
#

I see, wish there was a way to prevent the tweak from injecting into springboard specifically

orchid fulcrum
#

supposed to inject into all appstore apps

native orbit
#

panic(cpu 0 caller 0xfffffe0013a9ca80): watchdog timeout: no checkins from watchdogd in 90 seconds bro had one job

orchid fulcrum
#

997 is the lowest of all constructors too

#

really

slender glade
orchid fulcrum
slender glade
#

if [safe_getBundleIdentifier() isEqualToString: @"com.apple.springboard"]

orchid fulcrum
#

damm

slender glade
#

__attribute__ ((constructor(997))) what's the 997 for??

orchid fulcrum
#

thanks everyone

orchid fulcrum
slender glade
#

? shouldn't it be 3 then

orchid fulcrum
#

hm ? you can put any number between 101 and 60.000(something)

#

and it compares between eachother, lower runs first

wooden yarrow
# slender glade ? shouldn't it be 3 then

Priority values up to and including 100 are reserved for internal use. If you use these values, the compiler gives a warning. Priority values above 100 are not reserved.

orchid fulcrum
#

that was recommended to me

#

apparently foundation causes some issues

wooden yarrow
#

what is wrong with dyld

orchid fulcrum
#

no way dyld doesn't care, seemed to work fine for me

#

well there are constructors in different files, i guess i could only have one constructor but thats disorganised IMO

#

makes sense

radiant idol
#

he was listening to opa

#

so

#

idk why he says NSBundle is unsafe there but I won’t question it

native orbit
#

corefoundation anything is better

radiant idol
#

Swift anything is worse

#

Man that hardcoded string length thing frustrates me

native orbit
#

it makes no sense

#

like what benefit does it have

orchid fulcrum
#

i am purple 😠

acoustic imp
hasty ruin
acoustic imp
#

her?

hasty ruin
acoustic imp
#

i add 2 more

hasty ruin
#

mods snipe

#

scammed

radiant idol
#

yeah idk

#

apparently CF is "not good enough" either

hasty ruin
#

That’s for choicy tho

#

it filters Security not UIKit

#

CF should be fine

native orbit
#

its why libhooker is shit

hasty ruin
#

Censorship

native orbit
#

yes it is

#

its one of the reasons

slender glade
#

CF is slow??

elder scaffold
#

Me in 2019: use Substrate

slender glade
#

wtf r y'all smoking

native orbit
slim bramble
slender glade
native orbit
#

CFBundle shit

slender glade
#

this like my first time hearing of this

#

why the hell would cfbundle be slow what r they doing behind the scenes

radiant idol
#

✨ microoptimizations ✨

native orbit
#

well it checks if cached already

#

so not everytime ig

slender glade
#

that'd be funny as fuck ngl

native orbit
#

90% of libhookers loading time is just doing cfbundle shit lol

tight carbon
radiant idol
#

ĀÆ_(惄)_/ĀÆ

orchid fulcrum
#

it would just make sense imo too. runtime lookups being slower and all that

#

#jailbreak message unironically can't find any testers for this. would be cool if someone here could test at least if it installs or goes into safe mode

acoustic imp
#

is there a way to trick ipadOS into thinking its ios? so i could basiaclly have a JB "iphone"

#

for testing purposes

native orbit
#

mac or ios

#

yeah mac is fine

#

ios is fucked

#

idk man

gentle grove
#

BBaoVanC/smines source code better

torn oriole
#

Ahh code

#

Exactly

gentle grove
#

smines is the best code ever

#

capt cant write code

torn oriole
#

It does it perfectly and executes it with 100% accuracy

#

1984 ahh code.

#

No bugs, no mistakes troll

gentle grove
torn oriole
#

Engineering has determined that the feature described is working as intended, and has decided to close the ticket.

slender glade
#

highly enjoyable read, please check it out ^

#

(Just finished it in entirety)

gentle grove
#

I need to figure out how you poll to events asynchronously on macos like linux epoll

#

I mudt make the minesweeper dupport macos

faint stag
#

yeah

#

m1 mac

#

bru

#

don't u have a dev account

#

but like
with a paid dev account you can just use your cert and not have to request through apple every time

torn oriole
#

Want it added to mine?

#

Aka signed by me troll

gentle grove
#
../include/timer.h:11:58: note: expected ā€˜struct timespec *’ but argument is of type ā€˜struct timespec *’

what

#

ok it coredumps

#

awesome

#

i wrote the entire thing without testing because i was on macos

#

oh because im stupid

#

well it works, now i just need the events

gentle grove
wooden yarrow
granite frigate
wooden yarrow
#

so it's like ../include/timer.h:11:58: note: expected <unknown> but argument is of type ā€˜struct timespec *’

harsh junco
wooden yarrow
#

need exact code snippet to find out how

gentle grove
#

idk it was a weird error

#

I didnt change the code around it

solar sleet
#

Hey guys, how to start compiling binaries for iOS from a Linux host? I wanna compile taglib and a music player written in C++, I've even installed theos but still can't figure out how

solar sleet
#

Oh wait, and also GNU Make

harsh junco
solar sleet
orchid fulcrum
#

Theos makefiles are different though afaik

#

You gotta put your includes and libraries in theos/include & theos/lib and then specify them in your makefile as "projectName_LIBRARIES = lib1 lib2 ..."

gentle grove
#

An lvalue is a glvalue that isn't an xvalue.
An rvalue is a prvalue or an xvalue.

torn oriole
#

capt is an rvalue

gentle grove
#

@grave sparrow you are either a prvalue or an xvalue, which one are you

#

holy shit this language is such a meme though

gentle grove
#

thats what im talking about mf

#

c and c++

#

these languages are meme

native orbit
#

nothing they are the best šŸ¤

gentle grove
#

they are just obtuse

#

there is nothing that can be done

#

did you invent zig

#

im pretty sure almost all of that stuff is the stuff zig has :

#

but i dont think its valuable to make unsafe languages

#

what

#

oh

#

i dont think you are either

placid kraken
#

defer is possible by making a return_defer and a defer label right before you return and using goto

#

its almost the same semantics

#

fair enough

placid kraken
late ridge
#

do we have any insight into ScreenContinuityServices the framework for the iPhone mirroring app thing

frail cedar
#

it exists

placid kraken
#

i made sized arrays in C lol

#include <stdio.h>
#include <stdlib.h>

int *create_sized_int_array(int length) {
    // size + array length
    int *array = malloc(sizeof(int) * (length + 1));
    array[0] = length;
    
    return array + 1;
}

int len(int *array) {
    // go back to the start of allocated segment
    return array[-1];
}

void free_sized_int_array(int *array) {
    free(array - 1);
}

void loop(int *array) {
    for (int i = 0; i < len(array); ++i) {
        printf("array[%d] = %d\n", i, array[i]);
    }
}

int main() {
    int *array = create_sized_int_array(4);
    array[0] = 5;
    array[1] = 12;
    array[2] = 4;
    array[3] = 39;
    
    loop(array);
    free_sized_int_array(array);
    return 0;
}
#

its just a fat pointer

#

but still i think its cool

orchid fulcrum
#

int* createSizedArray(int lenght) {

int retArray[lenght] ;
return retArray;

} troll

placid kraken
#

yeah but you wont have the length information in other functions

#

youll just have a pointer

#

youre also returning stack memory which is unsafe

#

this is the equivalent in elle too lol

use std/io;

fn new_array<T>(i32 length) {
    T *array = malloc(#size(i32) + #size(T) * length);
    *array = length;

    return array + #size(i32);
}

fn free_array<T>(T *array) {
    free(array - #size(i32));
}

fn len<T>(T *array) {
    return *(array - #size(i32));
}

fn loop<T>(T *array) {
    for (i32 i = 0; i < len(array); i += 1) {
        io::printf("array[{}] = {}", i, array[i]);
    }
}

fn main() {
    i32 *array = new_array<i32>(4);
    defer free_array(array);

    array[0] = 5;
    array[1] = 14;
    array[2] = 39;
    array[3] = 4;

    loop(array);
}
#

C pointer arithmetic operates on elements not the actual pointer as a number so thats why i have to do -1 in C and -#size(int) in elle

#

actually the fact that C does pointer arithmetic by element makes it really hard to get an exact subtraction so making a sized array for anything other than an int would be kinda hard

#

although you could cast it to an unsigned long long, subtract 4, and cast it back

cloud yacht
#

ok so if I wantged to hook native c code, could that tweak be sideloaded

#

i'm assuming no

#

ok yeah figured as much

native orbit
#

rebinding:

#

still 'hooks' shit

orchid fulcrum
#

With jit this is possible afaik

wooden yarrow
#

this also makes it such that no element types other than int work .

wooden yarrow
#

not as a element

placid kraken
#

this is part of the pointer itself

#

if u want to allocate an array of 4 strings u basically allocate 32 (4*8) + 4 (size) = 36 and shift 4 forwards to just the strings

#

so now you can do [0] and the pointer arithmetic still works

#

then when u need the size u just subtract 4 and deref it

placid kraken
#

this is more intuitive than C imo

wooden yarrow
#

part of pointer means like for eg.

#

uint128 sized pointer

#

where the first 64 bits are the length

#

and the next 64 are the pointer bytes themselves

placid kraken
#

hmm i see

#

64 bit length is kinda overkill because i doubt you need to have an array with 4 quadrillion elements

#

but yeah

#

either way whenever i see fat pointer i just think anything that has a pointer aswell as extra metadata to go along with it

#

whether thats the approach i did or using a struct or making a type wide enough to hold the pointer and size at the same time

#

i see all of those as fat pointers

granite frigate
#

shits about to go down

manic forum
hasty ruin
slim bramble
cloud yacht
#

can't wait for some random printer to jailbreak all the phones on it's network

cloud yacht
gentle grove
#

why is developer twitter up in flames over a vulnerability in openprinting cups which allows you to remotely deadlock cupsd

kindred mulch
orchid fulcrum
#

Masterpiece

torn oriole
#

time to buy one for a dollar

rocky oriole
kindred mulch
rocky oriole
kindred mulch
#

ew tmi

torn oriole
#

Oh no

gentle grove
#

are you serena

#

wow

#

Hoe did yoy make the calculator snfw

#

How

#

What did you do tot eh chartijg anitikaotoonooo

clear iron
#

I want this tweak

harsh junco
pearl sail
gentle grove
#

is the file extension pl used for anything

#

can i make my language .pl

#

FUCK its perl

torn oriole
#

Yeah

gentle grove
#

i need a name for my language

#

i was thinking of PipeLang

torn oriole
#

Name it penis

gentle grove
#

No

torn oriole
#

Name it capt actually

gentle grove
#

no my language isnt stupid beyond all hope

#

how about .ps

#

oh thats photoshop

#

how about .ms

#

ms for MediaScript

hasty ruin
gentle grove
hasty ruin
#

you’are mother

gentle grove
#

i need a name for my scripting language which lets you do video and audio editing

hasty ruin
#

mediascript

#

visualscript

gentle grove
#

thats what i said

#

you copied me

hasty ruin
#

Fuck you :/

gentle grove
hasty ruin
#

šŸ—£ļø

placid kraken
#

bobascript

#

šŸ§‹

harsh junco
gentle grove
#

No

#

Not boba

harsh junco
cloud yacht
#

Video language

placid kraken
#

sane c# code

int result;

do {
    Console.Write("Enter a number to print up to -> ");
} while(!int.TryParse(Console.ReadLine(), out result));

for (int i = 0; i < result;) {
    Console.WriteLine(Math.Pow(i+++1, 2));
}
gentle grove
#

but its not the worst

#

what the fuck is a +++ though

#

is that adding 2?

placid kraken
#

no its i++(+1)

gentle grove
#

yeah does that not add 2

placid kraken
#

essentially log i + 1 and then increment it

#

its postfix

gentle grove
#

++ operators are stupid

placid kraken
#

yeah lol

#

if it was ++i it would be add 2

gentle grove
#

this is why no modern languages implement them 🧌

placid kraken
#

++i+1

gentle grove
#

why not just shift the loop over by one though

#

or put the i++ in the for, whys it in the body

gentle grove
placid kraken
placid kraken
gentle grove
#

in mediascript i will make everything insane

#

FP master race

#

except this is somewhere it actually makes sense

placid kraken
#

i saw the beauty of parsers in haskell

#

i will never go back to a procedural language for them

gentle grove
#

i wonder if rust crates replicate that

#

ive never seen it in haskell

placid kraken
#

i dont think they do

gentle grove
#

but they claim a lot of stuff that sounds good

placid kraken
#

theres fp concepts like applicative functors

gentle grove
#

hold on

placid kraken
#

that allow you to make really clean parsers

gentle grove
#

chumsky

#

and logos

#

thats the two i was recommended

#

not really sure the difference and why both

placid kraken
#

logos?

#

isnt that the theos thing

gentle grove
#

sure

#

but logos crate

#
recursive(|expr| {
    let int = text::int(10)
        .map(|s: String| Expr::Num(s.parse().unwrap()))
        .padded();

    let atom = int
        .or(expr.delimited_by(just('('), just(')'))).padded();

    let op = |c| just(c).padded();

    let unary = op('-')
        .repeated()
        .then(atom)
        .foldr(|_op, rhs| Expr::Neg(Box::new(rhs)));

    let product = unary.clone()
        .then(op('*').to(Expr::Mul as fn(_, _) -> _)
            .or(op('/').to(Expr::Div as fn(_, _) -> _))
            .then(unary)
            .repeated())
        .foldl(|lhs, (op, rhs)| op(Box::new(lhs), Box::new(rhs)));

    let sum = product.clone()
        .then(op('+').to(Expr::Add as fn(_, _) -> _)
            .or(op('-').to(Expr::Sub as fn(_, _) -> _))
            .then(product)
            .repeated())
        .foldl(|lhs, (op, rhs)| op(Box::new(lhs), Box::new(rhs)));

    sum
})
    .then_ignore(end())
#

its beautiful

placid kraken
#

regex lexer is the most cursed thing ive ever laid my eyes upon

gentle grove
#

yeah thats kinda silly

#

im not sure why they do that

#

chumsky looks better

#

but it seemed like maybe you use both, logos for the tokenization and chumsky for actual parsing? idk how language dev works

#

i guess you dont want to overdo your logic in the tokenization stage

#

what'd you use for ellekit

placid kraken
#

the tokenization stage should literally only parse tokens

placid kraken
gentle grove
#

oh

placid kraken
#

i made my own from scratch

gentle grove
#

i kinda feel like itll be more challenging using a library so ill do it that way 🧌

placid kraken
#

i hate using libraries when i dont need to

#

i get forced into their ideologic design patterns for how the code should be structured

gentle grove
#

yeah but good libraries shouldnt do that

#

bro

#

why does the middle of this song like its about to be a rick roll

#

it has that same first 4 chord but different key

placid kraken
#

oh this is very inspired by haskell

gentle grove
#

see i knew it seemed like something right out of haskell

#

i think it was the "just"

placid kraken
#

haskell's Option<T> is a Maybe(Just(T), Nothing)

#

yes

gentle grove
#

not sure why they didnt just be normal and use rust conventions

wooden yarrow
#

can Haskell do anything that rust can't without more verbosity

gentle grove
#

it depends

placid kraken
#

rust is multi paradigm

gentle grove
#

its an entirely different idea

placid kraken
#

haskell is stricly pure functional

#

yeah

#

there are some things that rust would do a lot better than haskell and vice versa

wooden yarrow
#

hm

gentle grove
#

haskell is very mathy and rust is very much imperative

placid kraken
#

yeah that too

gentle grove
#

even though rust has multi-paradigm the imperative takes priority over almost everything

placid kraken
#

but rust does have some fp design patterns like on Option<T>

#

with .and_or_else

#

and whatever

gentle grove
#

its like java where you get some sort of monadic types in the std library but its overall imperative

placid kraken
#

yeah

gentle grove
#

but i think rust does it better obviously

wooden yarrow
placid kraken
#

my friend doesnt consider rust a real language because it doesnt have as many issues like other languages such as cpp or js

gentle grove
#

functional languages are inherently high level because you do not remotely describe what the hardware does, just what transforms and eventually what result you want

gentle grove
wooden yarrow
gentle grove
#

this language isn't real because it isnt shit

placid kraken
#

lmao exactly

gentle grove
#

i dont have that emote

placid kraken
gentle grove
#

what are the holes

placid kraken
#

you just describe what type you wanna take in what and what to do to get a different type out

placid kraken
# gentle grove what are the holes

you can put _a anywhere where an expression goes and haskell will tell you what the type of what expression should be and the type of other things in scope around it

#

and _a is a "hole"

gentle grove
#

thats an interesting fix

#

i should steal that for my mediascript

placid kraken
#

its not a fix lol its a language feature

gentle grove
#

yeah but its a feature thatsa fix in my mind

placid kraken
#

what is it fixing

gentle grove
#

ergonomics troll

placid kraken
#

sure i guess

gentle grove
#

that is a much better way than all the stuff i was dreaming up for how to design my script

#

i thought i was gonna hve to write an lsp

placid kraken
#

i think it was introduced because some fp types get very complex with applicative, alternative, foldable, traversable, etc etc

tepid olive
#

what would probably be the best way to get what current apps active? I tried scenedidbecomeactive and applicationdidbecomeactive but nothing

manic forum
tepid olive
faint lionBOT
#
icloudbypass

Discussion of iCloud/Activation Lock/passcode/MDM (Mobile Device Management) bypass, asking how to do it, or posting about it is not allowed. No, it doesn't matter if the phone is yours or not. We will not help you with it. If you do own it, it’s recommended to use the links below.

If you forgot your Apple ID - Apple Support

If you forgot your Apple ID password - Apple Support

How to remove Activation Lock - Apple Support

If you forgot the passcode on your iPhone, or your iPhone is disabled - Apple Support

faint lionBOT
#

Hey, @faint lion. Have a look at this knee-slapper!

activation

you’re broke lol

#
911

laugh

clear iron
#

LMAOOOOOOOO

#

Why is this in development

placid kraken
#

@gentle grove do you know how to do this >:3

wooden yarrow
placid kraken
#

you can do it like this

wooden yarrow
#

wtf

#

getting outsmarted by someone younger than me I will be murdering myself

clear iron
#

literally

wooden yarrow
placid kraken
wooden yarrow
pine holly
#

Any body able to compile new Taurine with Vertex

#

Time to try another exploit on 14

#

😭

#

KFD been better than Fugu but I’m FEINING for more

gentle grove
#

Do you just enumerate each line segment and say theyre rhe same

#

It sounds vaguely familiar

gentle grove
#

oh it literally says bijective in that text

#

i thought i was being smart by coming up wiht that

#

Whar class is this

placid kraken
#

further maths discrete lol

placid kraken
gentle grove
#

i am in discrete 1

placid kraken
#

omg

#

does this mean ur doing the same stuff

gentle grove
#

judt had that class 30 mins ago and just got home so injective and bijective and surjective was fresh in my mind

placid kraken
#

lmao fair enough

gentle grove
#

I need a good latex rendering workflow so i can start using it for stuff

placid kraken
#

try mathehausaufgabe

#

oh

#

mathcha

#

it’s an interactive latex notebook

#

as in you still write latex but you can see and edit it directly

gentle grove
#

i need something thatll work well with nvim

placid kraken
#

nvm then

gentle grove
#

i will take a look

#

that split

placid kraken
#

WAIT

#

HOLY SHIT???

#

GRANT SANDERSON??

#

THATS SAME GUY WHO DOES MULTIVARIABLE CALCULUS ON KHAN ACADEMY

#

real

#

i had no idea he was 3b1b

gentle grove
#

wdym

#

you should never be able to induce undefined behavior so if you can, that is a vulnerability