#development

1 messages · Page 185 of 1

crisp frost
#

Are you sure it fails at curl easy init

faint stag
#

might want to read that note about multithreading

trail venture
#

Unless it's failing at
std::cout << "test" << "\n";
Or whatever I had

trail venture
faint stag
#

i mean, obviously you're only using one thread but

If you did not already call curl_global_init before calling this function, curl_easy_init does it automatically. This may be lethal in multi-threaded cases, if curl_global_init is not thread-safe in your system, and it may then result in resource problems because there is no corresponding cleanup.

#

it recommends not letting it be done automatically

#

even then

trail venture
#

Im a pro at "ill look at it tmr" then seeing my silly mistake or messing with it enough it works

faint timber
placid kraken
#

endl and \n are not the same thing

slender glade
#

also the differences are negligible

faint timber
#

protip use AddressSanitizer

wooden yarrow
#

\n doesn't (force it)

#

so like

#

output could simply not appear

slender glade
wooden yarrow
#

or just don't have that much outputs

slender glade
faint timber
wooden yarrow
#

?

kind herald
#

?

waxen prawn
#

?

granite frigate
#

@opal ridge does procursus support iOS 11

#

like can I build it and just bundle it in with my theoretical iOS 11 jb trol

opal ridge
#

no

granite frigate
#

oke

#

i guess i'll use elu

opal ridge
#

when you make more progress

#

also

#

package manager

#

😭

granite frigate
#

oh right

#

doesn't sileo work

native orbit
#

zebra good tho

granite frigate
#

yeah

sonic totem
#

Build your own bootstrap 🔥

granite frigate
#

💀

sonic totem
#

Not for the faint hearted

granite frigate
#

oh my

granite frigate
#

anyway i better get the actual thing working before worrying about the other stuff

native orbit
#

hm not sure cuz i think elu is like super dependent on cydia existing lol 💀

trail venture
faint timber
#

What

grave orchid
#

hello

#

I was wondering what does -(void) do?

slim bramble
grave orchid
#

a uhh

#

does anyone know where is the lockscreen clock

#

like I could not hook the clock for some reason

slim bramble
#

@hasty ruin Can surely help

slim bramble
grave orchid
#

it

slender glade
grave orchid
#

well, im on ios 15

slender glade
#

oh

#

CoverSheet/SpringBoard then

grave orchid
slim bramble
#

Defo CoverSheet

slender glade
slim bramble
#

Nvm

#

I found the class

slender glade
#

which is it?

slim bramble
#

SBFLockScreenDateView

grave orchid
#

%hook SBUIProudLockIconView

#

or

#

wait thats the lock icon

slender glade
#

%hook SBFLockScreenDateView

#

oh the lock icon

#

that's diff

grave orchid
#

yeah mb

#

copied the wrong thing

#

is there a way to sync my visual code stuff to github
?

grave orchid
slender glade
#

Indeed

cloud yacht
#

Timejump hooks SBFLockScreenDateView

slender glade
#

why don't u have dev role wilson

cloud yacht
#

Uhh I got denied

slender glade
#

dawg what

#

how can u get denied for the dev role in this server 😭

cloud yacht
#

I'm built different

granite frigate
#

can i give you my dev role

frail cedar
grave orchid
#

is it possible to get these kind of VS code thigns

#

I dont really like the plain simple where I have no idea which part is wrong

#

and mainly tab function

slim bramble
#

(for iOS)

hasty ruin
#

have you seen some of the new orange names

#

Mfs write a bash script wrapper and get it nowadays

cloud yacht
slim bramble
cloud yacht
#

Uhh I only had one at the time but I did

grave orchid
#

do I need to add anything for a rootless build of the tweak

#

or do I just kinda

#

make do THEOS_PACKAGE_SCHEME=rootless

cloud yacht
#

I mean if your accessing file paths, you need that one macro

slim bramble
#
#import "libroot.h"

JBROOT_PATH_NSSTRING(@"/var/mobile/path.txt");```
slim bramble
slim bramble
#

and use the other when you want to get the rootful/rootless path

cloud yacht
slim bramble
#

I can pin it

grave orchid
radiant idol
slim bramble
#

Might as well want to create a tutorial for libroot

radiant idol
#

The only public open source tweaks that use JBROOT_PATH_NSSTRING are opa’s tweaks

slim bramble
#

than the old rootless.h

radiant idol
#

The new macro names are ugly as hell

#

So

grave orchid
#

if im hooking into the lockscreen, should I let the path be /var/jb/Library

hasty ruin
grave orchid
#

or just /var/jb

slim bramble
#

fixed gg

radiant idol
#

Then that’s confusing

grave orchid
#

Can I not do this
-(void)setText:(id)arg1{
to
%hook SBFLockScreenDateView

slim bramble
#

wtf are you on about

grave orchid
#

-(void)setText:(id)arg1{ %orig(@"Test!") }

acoustic imp
#

Yea

#

In the hook

grave orchid
#

I can't do that

#

?

slim bramble
grave orchid
#

it worked

#

Nightwind, would you mind explaining what does "Move to window" have to do with here?

-(void)didMoveToWindow { %orig; self.hidden = YES; }

slim bramble
grave orchid
slim bramble
grave orchid
slim bramble
grave orchid
# slim bramble ?

something like this
`@import UIKit;

@interface SBFLockScreenDateSubtitleDateView : UIView
@end

%hook SBFLookScreenDateSubtitleDateView

-(void)didMoveToWindow; {
%orig;
self.hidden = YES;
}

%end`

slim bramble
#

This would work

grave orchid
#

and it didn't

frail cedar
#

i believe that ends the function

#

do your calls first

grave orchid
slim bramble
frail cedar
#

i always do my calls first

#

also, double check the methods getting called

#

add a print statement with name of tweak so you can filter for it

fading shell
slim bramble
grave orchid
#

so... what is wrong...

frail cedar
#

make sure your tweak is actually being injected and doing anything

frail cedar
grave orchid
#

it works before

#

I am able to edit the status bar text

frail cedar
grave orchid
#

I should fr learn objc

frail cedar
#

; {

#

no

#

your method declaration either ends with ; (header) or { (implementation)

grave orchid
#

so remove the ; ?

frail cedar
#

yes.

grave orchid
hasty ruin
grave orchid
#

Thanks for that playlist

warped sparrow
#

POV: You have flora installed 😭

#

It just keeps crashing

#

And then when it restarts it just crashes again

#

All this is from flora 💀

#

Service extension is a part of the PlayStation app idk why flora keeps making it crash

#

Even with tweak injection in choicy disabled for it it still crashes

acoustic imp
#

@placid kraken

placid kraken
#

im aware lol i still need to do the thing to block daemons from being injected into

radiant idol
placid kraken
#

i know i’ll do that soon

grave orchid
#

Night wind

#

May I ask where I should find the things similar to “didmovewindow” in flex

radiant idol
#

Please learn objc first

#

It’s really hard to help when people don’t know the basics of the language

reef trail
#

doubt objc c is any harder to learn

grave orchid
radiant idol
#

It’s hard to help someone who doesn’t know the basics

reef trail
#

of programming?

radiant idol
#

Once he learns the basics, sure

drifting heron
#

what's better to help fix bugs (krashtop or cr4shed?)

radiant idol
drifting heron
#

krashkop

#

idk the name

hasty ruin
drifting heron
#

thanks

reef trail
#

i read the learnxinyminutes thing in like 5 mins and knew pretty much everything i needed

drifting heron
#

@hasty ruin can you please link the rootless ver?

grave orchid
radiant idol
#

What the

#

I never knew that was a thing

grave orchid
#

Objc sounds like a foundation off of C

#

Should I learn first

#

C

reef trail
#

what languages do you already know

reef trail
reef trail
hasty ruin
#

0.5 minutes to understand

grave orchid
reef trail
grave orchid
#

lua

#

And a little bit of html

reef trail
#

try it and see

#

if you find it too hard learn c first

#

theres better tutorials to learn c

grave orchid
#

Aleighty

reef trail
#

its a completely different language but the principles are similar

granite frigate
radiant idol
#

language itself

granite frigate
#

ah ok

radiant idol
#

some understanding about UIKit would help too though

warped sparrow
drifting heron
slim bramble
#

ellekit is broken on macos sequoia, does zefram work ?

#

or does it bootloops it ?

#

based macos version

placid kraken
#

im on ventura lmfao

slender glade
#

@grim sparrow they did not disappoint with UIKit additions this year omg!!

grim sparrow
#

omg

#

i havent looked yet

radiant idol
#

oh no

#

what did they do

fading shell
#

what did they do

grim sparrow
#

you got the whole squad curious

#

lmfao

slender glade
#

you know that zoom out effect from the App Store?

#

the animation

grim sparrow
#

yeah

radiant idol
#

whar

slender glade
#

that's public API now

grim sparrow
#

I swear they just said thats a new swiftui thing

#

what fucking clowns

slender glade
#

nope it's shared

#

haha

#

UIView.animate can also use SwiftUI Animations now but they mentioned that

radiant idol
#

can they just revive objc please

slender glade
#

and the new UITab

grim sparrow
#

from a language concept it sucks

fading shell
grim sparrow
#

mfers and their JIT languages

slender glade
#

it's also a property of UIViewController now

slender glade
#

except for block syntax that looks good

fading shell
#

that is like the worst feature of objc

slender glade
#

Yes I was saying I wouldn't mind if they made block syntax that looked good

faint stag
slender glade
#

when were they encrypted before

slim bramble
slender glade
#

?

fading shell
slim bramble
fading shell
#

surely apple will do something about that

slim bramble
#

At the end of the day the filesystem has to be decrypted

slender glade
faint stag
slim bramble
slender glade
hasty ruin
#

Wtf

slim bramble
#

Sad day

faint stag
#

good

#

the inline one sucked

#

ffs

slender glade
#

right

#

it was so frustrating to use 😭

slim bramble
slender glade
#

not frustrating but it was extremely annoying

tepid olive
slender glade
#

same w widgets

#

but im satisfied

tepid olive
#

oh its swiftui 💀

slender glade
#

yes

radiant idol
#

ugh they probably rewrote the CC in swiftUI

#

ihu;hioo;ihi;ho

#

Why do they hate me so much

kind herald
#

first they stole jade

slender glade
#

genmoji looks so ass

#

so does image playground

slim bramble
tepid olive
#

"hey siri make me an howling lonely alpha wolf emoji "

faint stag
slim bramble
#

I love how iOS 18 sucks in terms of features When they called it "the biggest update of iOS history"

slender glade
#

No I think it's pretty good in terms of that

tepid olive
#

i quite like the new features

slender glade
#

just that the AI stuff is just slop

kind herald
#

the new home screen features

#

I love them

#

awesome features 10/10 still not updating

slim bramble
slim bramble
fading shell
#

i mean we always say it's the biggest thing

#

but it's otherwise pretty good feature-wise compared to 17 for example

slim bramble
tepid olive
slim bramble
#

It’s Apple

fading shell
slim bramble
fading shell
sonic totem
sonic totem
#

They look so cool icl

tepid olive
slender glade
tepid olive
#

they all have the ANE

slim bramble
sonic totem
#

Some of it is crazy

tepid olive
#

not rlly

sonic totem
#

ChatGPT Integration

kind herald
#

siriplus

slim bramble
#

Most of them are straight up useless and will likely never be used

fading shell
#

apparently i was lol

placid kraken
#

r/jb finally became gay

pearl sail
queen ruin
#

How long until someone remakes this for jailbreak

#

Seems to isolate the background from the glyph and change the glyph and background colors separately, but on the fly for so many icons is crazy.

acoustic imp
#

fox fort type tweak

#

if i get a 13pro on 15.4.1 should i update my 12 mini 15.1.1 ? hm

radiant idol
#

hmmm

kind herald
#

it's so joever they did it for Intel macOS installers too

cloud yacht
#

So wait is ccsupport dead and now we get to have a new tweak for cc stuff?

queen ruin
acoustic imp
#

i wonder what Apple AI thinks of brainrott

acoustic imp
#

glad im on ios15

cloud yacht
#

Tbh at this point it's probably worth it to just skip an iOS update and then you get 2 updates worth of updates at once

#

I did that with iOS 15 - 17

lyric heron
#

chat as we rocking ios 18

granite frigate
lyric heron
#

does jade work on ios 18?

cloud yacht
#

Does rune work on iOS 18?

hasty ruin
cloud yacht
#

Nice

#

Does ccsupport work

drifting heron
#

don't really like the tinting stuff

#

but regular dark theme icon pack would be cool

radiant idol
kind herald
#

Nightwind, that is not a nice thing to say.

lyric heron
#

love you too pooks

hasty ruin
lyric heron
radiant idol
cloud yacht
#

Also I'm curious for third party apps, is that dark mode tint something they have to implement or does the system just magically figure it out?

orchid fulcrum
#

latter. i don't think anybody had even time to implement it yet but it works on 3rd party apps

cloud yacht
#

Huh

#

Neat

heady junco
#

what do you think of the site?

#

Ignore percentage ☠️

#

I’m on 1% now so uhh

rugged barn
#

Does anyone have experience building binaries in rust for iOS?

native orbit
#

Incompatible pointer types passing 'struct linkedit_data_command **' to parameter of type 'struct linkedit_data_command **' ok xcode..

gentle grove
#

you were supposed to use struct linkedit_data_command **

native orbit
gentle grove
#

Do you have multiple struct definitions with that same name

native orbit
#

nah its in a mach header, i just closed xcode and it stopped lol

gentle grove
#

I think I've done that before but I can't remember and that's the only idea I can think of

harsh junco
placid kraken
#

conventional for loops !!!!!!!!!!!!

fn fact(long n) -> long {
    if n <= 1 {
        return 1;
    }

    return n * fact(n - 1);
}

fn get_e() {
    double res = 0.0;

    for (long i = 0; i < 50; i++) {
        res += 1.0 / fact(i);
    }

    return res;
}

pub fn main() {
    double e = get_e();
    printf!("e = %.50f\n", e);

    return 0;
}
opal ridge
#

@grim sparrow im pretty sure apple botched persona spawn in 18

#

doesn't work when spanwed from mobile user it seems

grim sparrow
#

well thats dumb

sonic totem
#

@opal ridge entitlement doesn't exist anymore it seems

opal ridge
#

the string exists in the kernel

sonic totem
#

keybagd doesn't have it anymore

#

Wait

#

nvm

#

I thought ipsw diff showed all entitlements

#

@opal ridge can you check on a /usr/libexec/keybagd binary please?

opal ridge
sonic totem
#

interesting

opal ridge
#

by testing

granite frigate
#

man

grim sparrow
#

you know what would be a pretty definitive way

#

😛

slender glade
slim bramble
#

persona

slender glade
grim sparrow
#

Still can't use Aemulo

#

tragic

torn oriole
#

Aemulo death woeis

grim sparrow
#

shut

#

I did learn it works for weworks

#

which i find humerous

slender glade
grim sparrow
slender glade
grim sparrow
#

so aemulo can tag me in easy

torn oriole
#

Raaagh based aemulo

drifting heron
#

I’m very excited for full Aemulo 2 release

granite frigate
#

does anyone know what XNU version 18.0db1 vs 17.5 is?

serene hawk
#

(i looked it up on twitter)

main apex
grave orchid
#

if i’m working with theos, should i use #import or @import

#

my guess is #import

radiant idol
#

Use wherever you like more

tepid olive
#

@lime pivot you know stuff about the app store, right?

#

as in getting apps onto it

lime pivot
#

what's up

tepid olive
#

So, like I want to make an app for students in my school to clone their IDs to Apple Wallet, as you get detention if you forget your ID, so I want to solve the problem

grave orchid
tepid olive
radiant idol
tepid olive
#

the IDs are some form of Mifare, I forgot which one

#

but I don't know how apple is with NFC on the app store

#

or like can I do it with a website

#

because I wonder if I could recreate the ID data from scratch

#

I'll have to analyze it

tepid olive
grim sparrow
#

trol

tepid olive
#

hi amy

grim sparrow
#

hiya

tepid olive
#

I don't want to use Aemulo because I want all students to be able to access it from their iPhones

grim sparrow
#

then ur bang outa luck

tepid olive
#

I was thinking using a website

grim sparrow
#

that wont let you do what you want

#

theres no public api for doing what you want

tepid olive
#

because I could likely generate the data from scratch

grim sparrow
#

you need a pass with a custom UID right?

#

and / or mifare classic data

tepid olive
#

I have to look at the data

grim sparrow
#

basically hte only thing you could do is a really custom thing

#

but that requires a specially designed reader

#

and even that requires getting an entitlement from an apple

#

which from what I've heard is a 6-12 month wait

#

They never granted it to me

slender glade
#

@grim sparrow did u see my new article 🥺

grim sparrow
#

I saw the screenshot hide one

#

is there a newer one?

slender glade
#

oh no i'm referring to that one

grim sparrow
#

oh right

#

yeyeye

slender glade
#

apparently people are discussing morals about it in slack chats

#

and like

#

idk

#

that's such a silly discussion

grim sparrow
#

i shared it with the work group because its something that could actually be useful for us

slender glade
#

i'm so honored!!

#

like if someone wants to prevent u from taking a screenshot they can overlay a UITextField, set it's opacity to 0.0000001 and set secureEntryField or whatever to YES why does there need to be ethical discourse abt a private calayer api 😭

tepid olive
slender glade
tepid olive
#

oh

#

interesting

granite frigate
granite frigate
naive sedge
#

Has anyone done any research into backup manipulation like Cowabunga Lite?

#

@sonic totem sorry to bother you but wondered if you know anything about this

sonic totem
#

I have played around with them before, CBL makes it pretty easy to do. iMazing is a great tool to explore them too.

wooden yarrow
#

plausability to utilize this to enable eligibilityd features?

naive sedge
placid kraken
#

this time with real names

#

for stuff

granite frigate
#

but is it donut shaped

placid kraken
#

soon

radiant idol
#

whats wrong with this image

sonic totem
#

Image is capitalised

hasty ruin
radiant idol
#

yes

radiant idol
#

@next wadi happy birthday!

cloud yacht
#

@next wadi happy birthday

next wadi
#

thank you!

sonic totem
#

Yeah happy birthday party

naive sedge
#

there is a DatabaseDomain I can see in iMazing

#

it has a folder called eligibilityd

#

inside it is domains.data, eligibility.plist, and eligibility_inputs.plist

placid kraken
radiant idol
#

its gonna be so buggy

orchid fulcrum
#

Me exploiting kernel by writing x/0 in notes app

slender glade
#

@grim sparrow idk how like no one mentions this but lack of control has got to be top 3 reasons discouraging me to use SwiftUI as much as I use UIKit

#

like is it just me

#

am i crazy

#

I can't always trust SwiftUI to figure it out all the time

#

how does no one else ever mention or talk abt this

#

UIKit is like sure buddy here's the layer and here's most properties you need to specify what you want and SwiftUI is just very vague, custom functionality is pretty much impossible to add so you always need to do a hacky workaround or wait for a modifier to do what you want

reef trail
#

it’s too abstracted

#

great for simple things like preference pages but awful for actual ui

serene hawk
#

ig bc swiftui covers „most“ layouts or at least provides ways to configure it so that it looks „apple-like“ so you‘d have a minimum level of ui standardization across apps imo

serene hawk
#

any ideas on what this does?

radiant idol
#

FileSystemKit probably

serene hawk
#

oh lol makes sense at a second glance now

fading shell
#

Glance mentioned

native dune
orchid fulcrum
#

imo this has to be waste of money on their part too, like screens can support 120. they just don't allow/utilise it. no need to add them at this state except for marketing reasons really

#

varying refresh rate my a**, maybe varying between 60-80

gentle grove
brazen timber
#

yea

orchid fulcrum
#

at least make it optional

naive sedge
# naive sedge inside it is domains.data, eligibility.plist, and eligibility_inputs.plist
{'OS_ELIGIBILITY_DOMAIN_HYDROGEN': {'answer': 2, 'context': '', 'locatedCountryTimer': ''}, 'OS_ELIGIBILITY_DOMAIN_XCODE_LLM': {'answer': 2, 'context': '', 'locatedCountryTimer': ''}, 'OS_ELIGIBILITY_DOMAIN_SULFUR': {'answer': 2, 'context': {'OS_ELIGIBILITY_CONTEXT_COUNTRY_BILLING': 'US'}, 'locatedCountryTimer': {'enabled': False, 'timeStart': '', 'loadedTimeInSeconds': 2592000}}, 'OS_ELIGIBILITY_DOMAIN_GREYMATTER': {'answer': 2, 'context': '', 'locatedCountryTimer': ''}, 'OS_ELIGIBILITY_DOMAIN_HELIUM': {'answer': 2, 'context': '', 'locatedCountryTimer': {'enabled': False, 'timeStart': '', 'loadedTimeInSeconds': 2592000}}, 'OS_ELIGIBILITY_DOMAIN_PODCASTS_TRANSCRIPTS': {'answer': 4, 'context': '', 'locatedCountryTimer': ''}, 'OS_ELIGIBILITY_DOMAIN_SEARCH_MARKETPLACES': {'answer': 2, 'context': '', 'locatedCountryTimer': ''}, 'OS_ELIGIBILITY_DOMAIN_MAGNESIUM': {'answer': 2, 'context': '', 'locatedCountryTimer': ''}, 'OS_ELIGIBILITY_DOMAIN_SILICON': {'answer': 2, 'context': '', 'locatedCountryTimer': ''}, 'OS_ELIGIBILITY_DOMAIN_BORON': {'answer': 2, 'context': '', 'locatedCountryTimer': {'enabled': False, 'timeStart': '', 'loadedTimeInSeconds': 2592000}}, 'OS_ELIGIBILITY_DOMAIN_NEON': {'answer': 2, 'context': '', 'locatedCountryTimer': ''}, 'OS_ELIGIBILITY_DOMAIN_ALUMINUM': {'answer': 2, 'context': '', 'locatedCountryTimer': ''}, 'OS_ELIGIBILITY_DOMAIN_NITROGEN': {'answer': 2, 'context': '', 'locatedCountryTimer': ''}, 'OS_ELIGIBILITY_DOMAIN_SODIUM': {'answer': 2, 'context': '', 'locatedCountryTimer': ''}, 'OS_ELIGIBILITY_DOMAIN_LOTX': {'answer': 2, 'context': '', 'locatedCountryTimer': ''}, 'OS_ELIGIBILITY_DOMAIN_BERYLLIUM': {'answer': 2, 'context': '', 'locatedCountryTimer': {'enabled': False, 'timeStart': '', 'loadedTimeInSeconds': 0}}, 'OS_ELIGIBILITY_DOMAIN_ARGON': {'answer': 2, 'context': '', 'locatedCountryTimer': ''}, 'OS_ELIGIBILITY_DOMAIN_CALCIUM': {'answer': 2, 'context': '', 'locatedCountryTimer': ''}, 'OS_ELIGIBILITY_DOMAIN_TITANIUM': {'answer': 2, 'context': '', 'locatedCountryTimer': ''}, 'OS_ELIGIBILITY_DOMAIN_VANADIUM': {'answer': 2, 'context': '', 'locatedCountryTimer': {'enabled': False, 'timeStart': '', 'loadedTimeInSeconds': 2592000}}, 'OS_ELIGIBILITY_DOMAIN_SCANDIUM': {'answer': 2, 'context': '', 'locatedCountryTimer': ''}, 'OS_ELIGIBILITY_DOMAIN_IRON': {'answer': 4, 'context': '', 'locatedCountryTimer': ''}, 'OS_ELIGIBILITY_DOMAIN_FLUORINE': {'answer': 2, 'context': '', 'locatedCountryTimer': ''}, 'OS_ELIGIBILITY_DOMAIN_POTASSIUM': {'answer': 2, 'context': '', 'locatedCountryTimer': {'enabled': False, 'timeStart': '', 'loadedTimeInSeconds': 2592000}}, 'OS_ELIGIBILITY_DOMAIN_CHLORINE': {'answer': 2, 'context': '', 'locatedCountryTimer': ''}, 'OS_ELIGIBILITY_DOMAIN_CHROMIUM': {'answer': 2, 'context': '', 'locatedCountryTimer': ''}, 'OS_ELIGIBILITY_DOMAIN_MANGANESE': {'answer': 2, 'context': '', 'locatedCountryTimer': ''}, 'OS_ELIGIBILITY_DOMAIN_COBALT': {'answer': 4, 'context': '', 'locatedCountryTimer': ''}, 'OS_ELIGIBILITY_DOMAIN_PHOSPHORUS': {'answer': 4, 'context': {'OS_ELIGIBILITY_CONTEXT_COUNTRY_BILLING': 'US'}, 'locatedCountryTimer': {'enabled': False, 'timeStart': '', 'loadedTimeInSeconds': 2592000}}, 'OS_ELIGIBILITY_DOMAIN_LITHIUM': {'answer': 2, 'context': '', 'locatedCountryTimer': {'enabled': False, 'timeStart': '', 'loadedTimeInSeconds': 2592000}}, 'OS_ELIGIBILITY_DOMAIN_CARBON': {'answer': 2, 'context': '', 'locatedCountryTimer': ''}, 'OS_ELIGIBILITY_DOMAIN_OXYGEN': {'answer': 2, 'context': '', 'locatedCountryTimer': ''}}
radiant idol
#

why do they have the periodic table of elements there 😭

naive sedge
#
The Apple Wiki

Following regulatory changes in countries such as the European Union (Digital Markets Act) and South Korea (Telecommunications Business Act), with additional enforcement expected in further countries, Apple designed an eligibility system for determining the user's physical location, and therefore which features must be enabled for them. Early pa...

naive sedge
#

using just a partial backup restore (like cowabunga lite)

#

also possibly greymatter

drifting heron
#

I get filtered if I post it here

rugged barn
#

How long until someone back ports the iPad calculator

slim bramble
rugged barn
lean ermine
faint stag
#

battery is not an excuse they've already got that down

faint stag
lean ermine
#

even if you can bypass eligibilityd there is nothing useful you can do with it right now

#

the only public marketplace available is altstore pal

naive sedge
#

which is still cooler than not having AltStore PAL?

lean ermine
#

sure but it costs money lol

naive sedge
#

are there any published apps that use the custom web engine thing?

lean ermine
#

afaik no

#

there are unofficial chromium builds for ios but i havent tried them

#

heard they dont work well

visual meadow
#

where?

lean ermine
native orbit
#

its on github aint it?

lean ermine
#

i assume you tried the 2021 github one

visual meadow
#

trust me

lean ermine
#

theres a guide somewhere to build latest chromium

visual meadow
#

that shit took overnight to download though

native orbit
#

worse then tihmware?

visual meadow
#

Idk if i have enough storage to get it rn

visual meadow
#

I tried followinghtat

#

Failed

#

that was a while ago tho

#

I just switched to firefox today to see if it was any better tho

lean ermine
#

longest build tutorial i have seen in a while lol

visual meadow
#

how lol

lean ermine
#

😓

lean ermine
faint stag
kind herald
#

open-source google projects my beloved

pine holly
#

Has anyone gotten libmryipc working on rootless

#

my builds just respring loop

#

im using updated .dylib too when compiling

pine holly
faint stag
faint timber
#

I wish springboard had a crashlog, unfortunate

pine holly
#

Crash log doesn’t get generated

#

Not my system

#

Not seen on KrashKop

#

Not seen on Cr4shed

torn oriole
pine holly
#

im talking about using libMRYIPC

#

imma switch to crossover ig

#

for rootless only

torn oriole
#

Yeah but just in general, thanks iOS troll

visual meadow
#

Anyone think MSHookFunction (from ellekit) is faster than fishhook?

torn oriole
jade moon
#

To update or not to update. That is the question I have for you.

wooden yarrow
#

update

orchid fulcrum
#

if an array is know to have a list of hex adresses of instances can i access the instances programaticaly ?

wooden yarrow
#

why not

orchid fulcrum
#

like how do i get the adresses

faint stag
#

lol

wooden yarrow
#

then

#

just get it

#

?

pine holly
#

It’s not fully working

faint stag
#

alright but how else are you going to fix it

#

if you don't attach a debugger at this point

#

or look at oslog for clues

placid kraken
#

@radiant idol i added pointers

#

omg

#

look look char *lighting

orchid fulcrum
#

maybe i can loop through it and get words that has x inside it ?

#

so only hex adresses remain

wooden yarrow
#

do you only have the output or something

#

as a string

orchid fulcrum
#

no, i meant this. because of the x in 0x123456

#

i only have that array. which is an ivar

#

as a reminder, i want to use those instance adresses inside it to call their methods etc

wooden yarrow
#

those are hex

#

yes

#

but

#

if you actually have the array

#

you shouldn't have hex

#

you would just have a ptr

orchid fulcrum
#

hmm i thought the array just had the hex adresses as strings. that makes sense

#

this output is from a debugger so it probably automatically converted to hex

wooden yarrow
#

addresses are only printed as hex, they aren't actually hex strings when stored

placid kraken
#

arent all pointers just longs lmao

wooden yarrow
#

that is a assumption you can only make about specific operating system and architecture combinations

orchid fulcrum
#

i see, pretty sure the pk parts are strings though. and the size of the array is 4 so the pointer and those strings are stored in a single index. how do i only access the pointer 😭

placid kraken
#

true

orchid fulcrum
#

the long numbers here

wooden yarrow
#

i have no idea how it's structured so i would not know

#

but

#

if it was some struct

#

like

#

void* thing;
char* pk;

#

then

#

u just .thing

#

so

#

seems like it's attached to IGMedia

#

maybe?

orchid fulcrum
#

yeah weird

#

but i think this just means objectAtIndex: simply returns the pointer

wooden yarrow
#

actually isn't that the pointer

#

then

orchid fulcrum
#

yeah i think so lol

#

thank you

slender glade
#

the reason you see the pointer is how NSObject works

#

-[NSObject description] by default returns (className: address)

#

which im pretty sure in implementation is something like ```objc
[NSString stringWithFormat: @"%s, %p", object_getClassName(self), self];

#

the pk is simply added by overriding -[NSObject description], calling super and then adding that pk

#
@implementation IGMedia
// ...
-(NSString *)description {
  return [NSString stringWithFormat: @"%@, pk: %f", [super description], self.pk];
}
// ...
@end
tepid olive
#

I'm going to start doing kernel security research, I want money, and it's something I can do

#

I know aarch64 assembly quite well

#

(plus I also want to be able to jailbreak my iphone 8 without breaking SEP lol)

granite frigate
#

it’s something I can’t do

granite frigate
tepid olive
#

oh also is there a program that pays more than Apple? I remember hearing about that

young meteor
#

selling to shady Israeli or Russian companies

tepid olive
#

I also remember hearing apple is more picky than other programs

#

also will they even pay a minor lol

granite frigate
#

sure

tepid olive
tepid olive
slim bramble
slim bramble
orchid fulcrum
#

Pagination kinda sucks though i gotta fix that

drifting heron
#

there's also a shortcut that forces 120 Hz but I doubt it still works

placid kraken
orchid fulcrum
#

Imo it was a bit harder since tiktok is all about that kind of media (shorts/reels/tiktoks) but instagram has a lot of other stuff too so even understanding what reels are called internally took a day

radiant idol
proud geyser
#

does intel mac get xcode ai?

#

or is it only M1 macs

ornate kite
#

probably m1

wooden yarrow
#

possibly can be enabled on Intel

#

it's controlled by eligibilityd

ornate kite
#

does anyone know what the problem is here

nuraad@Nuraads-MacBook-Pro nrb % make clean package ARCHS="arm64 arm64e" THEOS_PACKAGE_SCHEME=rootless
==> Cleaning…
==> Notice: Build may be slow as Theos isn’t using all available CPU cores on this computer. Consider upgrading GNU Make: https://theos.dev/docs/parallel-building
==> Warning: Building for iOS 8.0, but the current toolchain can’t produce arm64e binaries for iOS earlier than 14.0. More information: https://theos.dev/docs/arm64e-deployment
> Making all for tweak TetherFreeNRB…
==> Compiling Tweak.c (arm64)…
==> Linking tweak TetherFreeNRB (arm64)…
ld: warning: -multiply_defined is obsolete
Undefined symbols for architecture arm64:
  "_substitute_find_private_syms", referenced from:
      _EntryPoint in Tweak.c.3ac1fb82.o
  "_substitute_hook_functions", referenced from:
      _EntryPoint in Tweak.c.3ac1fb82.o
  "_substitute_open_image", referenced from:
      _EntryPoint in Tweak.c.3ac1fb82.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/Users/nuraad/Desktop/tetherfree-rebuilt/nrb/.theos/obj/debug/arm64/TetherFreeNRB.dylib] Error 1
make[2]: *** [/Users/nuraad/Desktop/tetherfree-rebuilt/nrb/.theos/obj/debug/arm64/TetherFreeNRB.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [TetherFreeNRB.all.tweak.variables] Error 2
nuraad@Nuraads-MacBook-Pro nrb % 
#

same output for arm64 btw

#

or the default makefile

#
nuraad@Nuraads-MacBook-Pro nrb % make
==> Notice: Build may be slow as Theos isn’t using all available CPU cores on this computer. Consider upgrading GNU Make: https://theos.dev/docs/parallel-building
==> Warning: Building for iOS 8.0, but the current toolchain can’t produce arm64e binaries for iOS earlier than 14.0. More information: https://theos.dev/docs/arm64e-deployment
> Making all for tweak TetherFreeNRB…
==> Compiling Tweak.c (arm64)…
==> Linking tweak TetherFreeNRB (arm64)…
ld: warning: -multiply_defined is obsolete
Undefined symbols for architecture arm64:
  "_substitute_find_private_syms", referenced from:
      _EntryPoint in Tweak.c.19d88685.o
  "_substitute_hook_functions", referenced from:
      _EntryPoint in Tweak.c.19d88685.o
  "_substitute_open_image", referenced from:
      _EntryPoint in Tweak.c.19d88685.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/Users/nuraad/Desktop/tetherfree-rebuilt/nrb/.theos/obj/debug/arm64/TetherFreeNRB.dylib] Error 1
make[2]: *** [/Users/nuraad/Desktop/tetherfree-rebuilt/nrb/.theos/obj/debug/arm64/TetherFreeNRB.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [TetherFreeNRB.all.tweak.variables] Error 2
nuraad@Nuraads-MacBook-Pro nrb % 
orchid fulcrum
#

Show your makefile

visual meadow
#

y'all is it possible to make the siri voice use fred lol

ornate kite
# orchid fulcrum Show your makefile
TARGET=iphone:clang:11.2:8.0
ARCHS=arm64 arm64e
include $(THEOS)/makefiles/common.mk

TWEAK_NAME = TetherFreeNRB
TetherFreeNRB_FILES = Tweak.c
TetherFreeNRB_CFLAGS = -I.
TetherFreeNRB_PRIVATE_FRAMEWORKS = Netrb

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
    install.exec "killall -9 UserEventAgent"

cloud yacht
ornate kite
#

im gonna see what happens if i change the target from 8 ☠️

#

yeah no

#
nuraad@Nuraads-MacBook-Pro nrb % make clean package ARCHS="arm64 arm64e" THEOS_PACKAGE_SCHEME=rootless
==> Cleaning…
==> Notice: Build may be slow as Theos isn’t using all available CPU cores on this computer. Consider upgrading GNU Make: https://theos.dev/docs/parallel-building
> Making all for tweak TetherFreeNRB…
==> Compiling Tweak.c (arm64)…
==> Linking tweak TetherFreeNRB (arm64)…
ld: warning: -multiply_defined is obsolete
Undefined symbols for architecture arm64:
  "_substitute_find_private_syms", referenced from:
      _EntryPoint in Tweak.c.a810fc57.o
  "_substitute_hook_functions", referenced from:
      _EntryPoint in Tweak.c.a810fc57.o
  "_substitute_open_image", referenced from:
      _EntryPoint in Tweak.c.a810fc57.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/Users/nuraad/Desktop/tetherfree-rebuilt/nrb/.theos/obj/debug/arm64/TetherFreeNRB.dylib] Error 1
make[2]: *** [/Users/nuraad/Desktop/tetherfree-rebuilt/nrb/.theos/obj/debug/arm64/TetherFreeNRB.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [TetherFreeNRB.all.tweak.variables] Error 2
nuraad@Nuraads-MacBook-Pro nrb %    
cloud yacht
orchid fulcrum
ornate kite
#

oh my god i forgot to get you your ida thing

#

ill do it after this

orchid fulcrum
#

Oh you are that guy 💀

ornate kite
#

☠️

#

also i imported the full library and its not working

#
nuraad@Nuraads-MacBook-Pro nrb % make clean package ARCHS="arm64 arm64e" THEOS_PACKAGE_SCHEME=rootless
==> Cleaning…
==> Notice: Build may be slow as Theos isn’t using all available CPU cores on this computer. Consider upgrading GNU Make: https://theos.dev/docs/parallel-building
==> Warning: Building for iOS 8.0, but the current toolchain can’t produce arm64e binaries for iOS earlier than 14.0. More information: https://theos.dev/docs/arm64e-deployment
> Making all for tweak TetherFreeNRB…
==> Compiling Tweak.c (arm64)…
==> Linking tweak TetherFreeNRB (arm64)…
ld: warning: -multiply_defined is obsolete
Undefined symbols for architecture arm64:
  "_substitute_find_private_syms", referenced from:
      _EntryPoint in Tweak.c.3ac1fb82.o
  "_substitute_hook_functions", referenced from:
      _EntryPoint in Tweak.c.3ac1fb82.o
  "_substitute_open_image", referenced from:
      _EntryPoint in Tweak.c.3ac1fb82.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/Users/nuraad/Desktop/tetherfree-rebuilt/nrb/.theos/obj/debug/arm64/TetherFreeNRB.dylib] Error 1
make[2]: *** [/Users/nuraad/Desktop/tetherfree-rebuilt/nrb/.theos/obj/debug/arm64/TetherFreeNRB.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [TetherFreeNRB.all.tweak.variables] Error 2
nuraad@Nuraads-MacBook-Pro nrb % 
#

i have substishit

radiant idol
#

lol

#

They didn't use the latest beta here, you can see that the icons are not like iOS 18

cloud yacht
#

I bet it's a mockup and not even a real screenshot

orchid fulcrum
# ornate kite

Idk much about substitude but today i had to import CydiaSubstrate from the tweak and add it to my makefile

ornate kite
#

If I could build with something like ellekit that would be better

ornate kite
#

anyone else know the problem?

faint stag
ornate kite
#

wait what the fuck am i doing why am i not using coolstars substitute fork

granite frigate
ornate kite
#
==> Cleaning…
==> Notice: Build may be slow as Theos isn’t using all available CPU cores on this computer. Consider upgrading GNU Make: https://theos.dev/docs/parallel-building
==> Warning: Building for iOS 8.0, but the current toolchain can’t produce arm64e binaries for iOS earlier than 14.0. More information: https://theos.dev/docs/arm64e-deployment
> Making all for tweak TetherFreeNRB…
==> Compiling Tweak.c (arm64)…
==> Linking tweak TetherFreeNRB (arm64)…
ld: warning: -multiply_defined is obsolete
Undefined symbols for architecture arm64:
  "_substitute_find_private_syms", referenced from:
      _EntryPoint in Tweak.c.41823045.o
  "_substitute_hook_functions", referenced from:
      _EntryPoint in Tweak.c.41823045.o
  "_substitute_open_image", referenced from:
      _EntryPoint in Tweak.c.41823045.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/Users/nuraad/.Trash/nrb/.theos/obj/debug/arm64/TetherFreeNRB.dylib] Error 1
make[2]: *** [/Users/nuraad/.Trash/nrb/.theos/obj/debug/arm64/TetherFreeNRB.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [TetherFreeNRB.all.tweak.variables] Error 2
#

coolstarware doesnt work with coolstarware

orchid fulcrum
#

You should really ask in theos server lol

ornate kite
#

theos has a discord?

orchid fulcrum
#

Yes

ornate kite
#

oh shit i still need to get you ida

#

thing

faint stag
#

oh you're using the fork

#

lol

ornate kite
#

i have gotten further ahead

#

but new errors

#
nuraad@Nuraads-MacBook-Pro nrb % make clean package THEOS_PACKAGE_SCHEME=rootless 
==> Cleaning…
==> Notice: Build may be slow as Theos isn’t using all available CPU cores on this computer. Consider upgrading GNU Make: https://theos.dev/docs/parallel-building
==> Warning: Building for iOS 8.0, but the current toolchain can’t produce arm64e binaries for iOS earlier than 14.0. More information: https://theos.dev/docs/arm64e-deployment
> Making all for tweak TetherFreeNRB…
==> Compiling Tweak.c (arm64)…
==> Linking tweak TetherFreeNRB (arm64)…
ld: warning: -multiply_defined is obsolete
ld: cpu type/subtype in slice (arm64e.old) does not match fat header (arm64e) in '/Users/nuraad/theos/lib/iphone/rootless/libsubstitute.dylib'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/Users/nuraad/Desktop/tetherfree-rebuilt/nrb/.theos/obj/debug/arm64/TetherFreeNRB.dylib] Error 1
make[2]: *** [/Users/nuraad/Desktop/tetherfree-rebuilt/nrb/.theos/obj/debug/arm64/TetherFreeNRB.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [TetherFreeNRB.all.tweak.variables] Error 2
nuraad@Nuraads-MacBook-Pro nrb % 
faint stag
#

this is oldabi

#

and you're targeting newabi

ornate kite
#

oh

#

ok

placid kraken
#

least cursed makefile

ifeq (run,$(firstword $(MAKECMDGOALS)))
  RUN_ARGS := $(wordlist 2,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS))
  $(eval $(RUN_ARGS):;@:)
endif

.PHONY: run
run:
    ./dist/compiler ./examples/$(RUN_ARGS).elle ./dist/$(RUN_ARGS).ssa > /dev/null
    qbe -o ./dist/$(RUN_ARGS).s ./dist/$(RUN_ARGS).ssa
    node main.js ./dist/$(RUN_ARGS).s > ./dist/$(RUN_ARGS).s.new
    mv ./dist/$(RUN_ARGS).s.new ./dist/$(RUN_ARGS).s
    cc -o ./dist/$(RUN_ARGS) ./dist/$(RUN_ARGS).s
    clear
    @./dist/$(RUN_ARGS)

compile:
    rustc -o ./dist/compiler ./src/main.rs
#

at least now i can do make run donut and make run variadic

#

and itll automatically do everything

tepid olive
#

is that zed

placid kraken
#

yes

placid kraken
#

holy shit i just realised im using Option<Option<Type>> in this code

#

most cursed code ever holy shit

#

Some(None)

cloud yacht
#

Question can your language have null pointers?

placid kraken
#

not in its current implementation no

cloud yacht
#

Okay

#

Don't really need them if you have option types

placid kraken
#

@radiant idol do i keep this type

#

its currently just an alias for char *

radiant idol
#

yes keeep

placid kraken
#

these are compiled the exact same way

fn input(char *message) -> char * {
    long stdin = fdopen(0, "r");
    char buf[256];
    printf(message);

    fgets(buf, 256, stdin);
    buf[strlen(buf) - 1] = '\0';

    char *result = malloc(strlen(buf) + 1);
    strcpy(result, buf);
    return result;
}
fn input(string message) -> string {
    long stdin = fdopen(0, "r");
    char buf[256];
    printf(message);

    fgets(buf, 256, stdin);
    buf[strlen(buf) - 1] = '\0';

    string result = malloc(strlen(buf) + 1);
    strcpy(result, buf);
    return result;
}
#

like the exact same way

#

it generates the exact same IR

cloud yacht
#

I mean can you make like an alias or smth

placid kraken
#

you cant make type aliases in the language itself yet

#

i did refactor some logic into a few shared functions earlier !!!

#

shaved off 400 lines from the parser

cloud yacht
#

Nice

placid kraken
#

you can do this now

pub fn main() {
    a(other);
}

fn a(function *other) {
    other(5);
}

fn other(int num) {
    printf!("%d\n", num * 2);
}
strange tide
#

getting silly on the steam deck

placid kraken
#

(you couldnt before)

strange tide
#

better image

kind herald
#

no graphics acceleration

#

good luck

torn oriole
#

Yeah but at least it’s Monterey tho

#

Sometimes swiftui piss me off

tepid olive
kind herald
#

it just has no graphics acceleration

tepid olive
#

But why

kind herald
hollow oar
lean ermine
#

no way to get graphics without writing your own custom kext that would probably take months

gentle grove
#

finally it's a real polymorphic language now

tepid olive
#

The same people who got Vega graphics working on macOS

lean ermine
young meteor
#

this is the most cursed image i’ve ever seen

strange tide
#

idk if it works but 💥

kind herald
#

macOS VMs suck

strange tide
hollow oar
faint timber
#

rx580 Flame_Orange

acoustic imp
rugged barn
#

What’s the newest version of Xcode to support iOS 8

tepid olive
#

I think Xcode 14? or 13?

#

I could be confusing it with iOS 9

#

as the lowest available target

lean ember
#

Hey everyone sorry long time. Wondering if I could someone’s expertise a moment

acoustic imp
#

Just ask your questionfr

lean ember
#

header files for dopamine

#

Trying to build on 16.6.1 a16. ‘libjailbreak/primitives_external.h’ file not found. Any help please. Pretty sure it has to do with Frameworks and Libraries but it’s been a LONG time smh

faint timber
#

why is cloning a repo so difficult

gentle grove
#

ssh

lean ember
#

I’m sorry if I’m still like super n00b it’s just been a long time since I had a powerful enough Mac and new enough device with a new enough iOS to attempt. Just trying to build, watch, and learn. Can anyone pls tell me what I need to do to fix the above error?

#

MidnightTeam 👌🏻

faint timber
#

lets lay down some groundwork

#
  1. you have a mac?
  2. you have modern macOS?
  3. you have iOS 16 compatible xcode?
  4. you cloned the repo as recursive and didn't download as a zip?
    if anything in this list is wrong, all is wrong
lean ember
#

4

#

No cloned it. Couldn’t figure out how to open in Xcode. So then zip

lean ermine
#

and try again

lean ember
#

MidnightTeam was just idiotic apologies. Modernish 2017 i7 16gb ram Xcode 15.2.

lean ermine
faint timber
#

who is midnightteam

faint timber
lean ember
#

so how do I make sure I’m opening from repo vs zip. Really old libjailbreak GitHub. Meridian days stuff (which admittedly is around the last time I had anything briefly to do with Xcode

faint timber
#

did you do or did you not use the git command?

lean ember
#

Picture possible on discord?

#

So CLI. Navigate to repo. Then command. I’ll figure it out ty both

#

cd cd /Users/tester/Documents/Dopamine 😂😂. Rusty and ridiculously undereducated 🤡

#

🤦🏻‍♂️

#

I’m slow 🙇🏻 ty Cryptic & martin

faint timber
#

also

#

terminal will tell you which directory you are in

#

or you can run pwd

lean ember
#

Right. Tried to build again same error

#

Ch0ma, XPF, opainject

#

Past that. Refuses to build. Now libjailbreak/kcall_Fugu14.h 🤦🏻‍♂️

#

Product: Clean Build Folder fixed the first error after that command but Fugu14 header files. What am I missing now gentlemen?

#

I feel like I might be warm looking at Build Phases but aside from that blank

#

Build instructions found. Baby steps fellas. Baby steps. Ty again and pls pray for me 😅

#

we all need a good brew occasionally ☕️ 😌

#

Got NodeJS installed still kcall fugu14 header error.

naive kraken
#

what you need to do is run make

kind herald
#

the voices in my head tell me to install nodejs

torn oriole
#

ooooo you will install nodejs

#

ooooo

slim bramble
#

Nodejs traumatised me

#

Same for millions of other innocent people

#

Installing nodejs is a death wish

gentle grove
slim bramble
gentle grove
#

No that is indeed node on large projects

slim bramble
#

Build folder: 10gb

gentle grove
#

rust has a justified reason for it though

slim bramble
gentle grove
#

cargo clean

#

it'd be nice if you could only@clean up old artifacts but it is what it is

slim bramble
gentle grove
#

just get a modern cpu that compiles it fast enough

slim bramble
#

And then run for cargo clean

#

🙏

gentle grove
#

It only builds up to 10 GB after like months

tepid olive
#

use to dislike it because of the syntax but i recently revisited it

#

it’s not that bad

gentle grove
lean ember
#

TL;DR. Tried running make opa334. Errors. Fresh machine still setting up everything. Late, sleepy, been a long time. Misreading wrong repos. Cloning into random directories. Try again fresh tomorrow.

sick crane
placid kraken
lean ember
#

I hit a line, I’m up. Every time I sneeze it sn0ws. /makefiles/common.mk no such file or directory

wooden yarrow
lean ember
#

cd Packages. Make. Fatal error ‘libjailbreak/libjailbreak.h’ file not found

placid kraken
wooden yarrow
#

how many

#

:3

placid kraken
#

elle will interpret that as a pointer to a pointer to a pointer to a char

placid kraken
wooden yarrow
#

wtf

placid kraken
#

should i put a limit..?

wooden yarrow
#

yeah

#

Rule 17.5 of the 2004 MISRA C standard prohibits more than 2 levels of pointer indirection. The limits vary quite drastically between languages: 256 in C++, 12 in C. Note that the limit not only applies to how many pointers there can be in a declarator; it also applies to function, array, etc.

#

so

placid kraken
#

interesting

#

i will limit to 2 aswell i suppose

wooden yarrow
#

people can always bypass that limit by converting a multi-level indirect ptr to a void*

#

so

lean ember
#

Not enough cocaine or knowledge. A16 16.6.1 so should I be using roothide and how in the hell do I fix this .h file missing?

placid kraken
#

there is no voidptr in elle

#

types are optionals

#

nil is matched to None

#

@wooden yarrow do you love

pub fn main() {
    char *test = "Hello World!";

    // Expected result: "H e l l o   W o r l d !"
    loop(test, formattedPrint);

    printf!("\n");
    return 0;
}

fn loop(char *str, function *callback) {
    for (int i = 0; i < strlen(str); i++) {
        callback(str[i]);
    }
}

fn formattedPrint(char character) {
    printf!("%c ", character);
}
#

it actually works now (real)

#

it turns out that when i implemented it earlier wit was completely wrong

wooden yarrow
#

.

wooden yarrow
placid kraken
#

except theres no structs and no preprocessor

wooden yarrow
#

so basically worse C nice lang!

placid kraken
#

no dont cross it out thats exactly what it is

placid kraken
#

its real.

#

c++ syntax highlighting works really well for elle in github

slim bramble
placid kraken
#

yes

#

you have pretty much everything from C stdlib and math.h

slim bramble
placid kraken
#

you have memcpy, memset, malloc, free, all trig functions, sqrt, fgets, fdopen, gets, printf, puts, etc

slim bramble
#

Wen eta strcpy 🗣️ 🔥

placid kraken
#

strcpy is already available

#

so is strcmp

#

and strlen

slim bramble
#

Yeah so basicaly all functions are just from std lib lol

#

Ngl that's a cool project

placid kraken
#

yeah

#

unfortunately theyre not interfaced in elle syntax so you dont get the return type inferred

#

which means that elle thinks that whatever you declare the function as is what it returns

#

so even though sin returns a double, elle will think it returns an int if you declare a variable with int as the type

#

if you interface it then it will throw an error if the types dont match or will cast if its appropriate

placid kraken
placid kraken
#

every other statement like if statements and while loops can be easily made to not require () but imo the for loop looks weird

#

idk

wooden yarrow
#

oh yeah wtf the for looks weird

#

i understand for x in y without brackets

#

but

#

c style for without brackets?

#

kinda weird

placid kraken
#

i made it so you can add brackets and itll still compile

#

and if you add brackets to a while loop or if statement it will just think of it as a wrapped statement

#

this was fun tho

gentle grove
placid kraken
gentle grove
#

char * is fake strings

placid kraken
#

char* is not a fake string

#

a string fundamentally is a bunch of bytes

#

a char* is a pointer to the start of an array of chars, which take up 1 byte

gentle grove
#

i mean I'm saying char * strings are dumb in my opinion tr

wooden yarrow
placid kraken
#

other languages that create "real" strings probably still create a char* under the hood lmao

#

you can always type it as string instead of char * if you really care about semantics

gentle grove
#

it should be struct string {
length: usize,
capacity: usize,
ptr: char *,
}

placid kraken
#

oh

#

elle has no structs yet

gentle grove
#

That's what I mean

placid kraken
gentle grove
#

string shouldn't be a freestanding char * in any modern language

cloud yacht
wooden yarrow
#

there's also a &'static str in rust terms

placid kraken
#

youre working very closely with memory allocation

gentle grove
#

you'd just directly use a char * in that very specific case

placid kraken
#

to declare an array on the heap you would

pub fn main() {
    int *myArray = malloc(100 * 4) // 4 = size of int
    defer free(myArray);

    myArray[0] = 1;
    return 0;
}
#

its still very C-like

gentle grove
#

fake c

gentle grove
#

No null byte

wooden yarrow
#

length + ptr better

#

imo

gentle grove
wooden yarrow
wooden yarrow