#development

1 messages · Page 215 of 1

wooden yarrow
#

node.js looking ahh

cedar stag
#

can we consider bingner deprecated at this point

#
Undefined symbols for architecture arm64:
  "_BN_check_prime", referenced from:
      _BigIntegerCheckPrime in libsrp6a-sha512.a[3](t_math.o)
  "_EVP_MD_get_size", referenced from:
      _hkdf_md in lockdown-cu.o
      _hkdf_md_extract in lockdown-cu.o
      _hkdf_md_expand in lockdown-cu.o
  "_EVP_PKEY_Q_keygen", referenced from:
      _pair_record_generate_keys_and_certs in libinternalcommon.a[3](userpref.o)
      _pair_record_generate_keys_and_certs in libinternalcommon.a[3](userpref.o)
ld: symbol(s) not found for architecture arm64
#

doesn't even include the modern libcrypto

#

not even mentioning the other bunch of outdated libraries

gentle grove
hollow oar
#

Skull

fading shell
#

Wtf procursus pfp

tepid olive
#

It’s been 5 days app connect says it should take no longer than 48 hours …. Do u think it’s bugged should I reject then re submit

hollow oar
faint stag
velvet path
#

probably bingner themselves

solar escarp
#

there is no way to simulate the press of the home button

acoustic imp
solar escarp
#

yes

acoustic imp
solar escarp
#

i dualboot my phone and on the second ios the home button doesn't reconize my finger so i want to create a button like assasitive touch but juste for the home button

#

do you understand sorry i don't speak english

acoustic imp
acoustic imp
solar escarp
#

ok

solar escarp
#

ok

solar escarp
#

thank

acoustic imp
#

No problem 👍

granite frigate
#

jesus christ making a blog is so painful without astro

#

holy shit i've been so spoiled

acoustic imp
#

chat gpt troll

gentle grove
#

what did astro do for you

granite frigate
#

they do some crazy mdx bullshit that i don't bother about normally

gentle grove
granite frigate
#

now i have to do it with react

#

FUCK

gentle grove
#

why not try something comparably usable like hugo

granite frigate
#

because uh i also have to fetch data

gentle grove
#

react is just a client side framework so its not gonna have all the batteries

#

Astro is just the batteries

granite frigate
#

true.......

gentle grove
#

that's it

#

So you're just complaining about not having the stuff you just removef

granite frigate
#

True

#

Unfortunately uh it's too late to change that

gentle grove
#

Wdym

granite frigate
#

We live and learn

#

It's not just my project

#

I can't just rewrite it

gentle grove
#

I don't mean use another framework

#

I mean just add back the stuff you need

granite frigate
#

Yeah

#

Which is painfuler

gentle grove
#

There's definitely markdown libraries

gentle grove
granite frigate
#

There are indeed

#

I'm kinda lazy

#

But true

granite frigate
gentle grove
#

It's easier than learning frameworks that come and go

granite frigate
#

True

#

The vanilla version will always stay

tepid olive
torn oriole
gentle grove
north anvil
gentle grove
#

Its not at 0 yet

north anvil
#

Crazy

cedar stag
faint timber
pallid totem
wooden yarrow
faint timber
#

Or the problem rather

wooden yarrow
#

theos being a dumbass troll

faint timber
#

Despite compiling with gmake, broken xcode cli was the culprit

#

My mobiledevice framework was broken which somehow broke everything else

gentle grove
pastel dome
gentle grove
wooden yarrow
#

why is there a pin

#

.

cloud yacht
#

you guys want a cursed regex?

tepid olive
#

yes!

cloud yacht
#

/Question ?(?:\d+)\n(.+?)(?:\nSelect one:)?\n+(?: )?[aA].[ \n]?(.+?)\n+(?: )?b.[ \n]?(.+?)\n+(?: )?[cC].[ \n]?(.+?)\n+(?: )?d.[ \n]?(.+?)\n/gs

tepid olive
#

peak

hasty ruin
#

did not disappoint

cloud yacht
#

I love parsing stuff written by humans and it completly inconsistant

#

Also it took me like 3 hours to make this and still saved time

lusty jacinth
gentle grove
#

I can't remember exactly where you would end up with a pinned boxed future

#

Ah yeah I think you have to pin a future before you can poll it

#

Something like that

placid kraken
#

i did format stuff in elle and learnt that strings actually support unicode

#

(accidentally)

#

which is weird i was not expecting it to work

wooden yarrow
#

isnt ur backing rust

#

which does support unicode strings

placid kraken
#

yes lol

#

however the string is being printed in elle code

#

which means c printf also supports unicode

wooden yarrow
#

if printf is just printing each character

#

and unicode can be represented by characters

#

then .

#

the only real issue C has with unicode is parsing it itself

placid kraken
#

yeah true

#

i did cast the character into a u16 and it is actually the right thing so

#

that’s interesting

placid kraken
#

unicode is 2 bytes

#

chars are 1 byte

#

in the case of rust they’re 2 tho

wooden yarrow
#

they can be encoded as characters

wooden yarrow
#

i feel like there was up to U+1FFFF or sumn

placid kraken
#

this is fun

placid kraken
wooden yarrow
#

yeah

#

one windows uses I thinm

placid kraken
#

no i googled it

#

its synonymous among all OSes

#

for *nix its utf32 for windows its utf16

gentle grove
#

oh that was answered oops

gentle grove
#

in rust char is 4 bytes

#

but otherwise they are just utf-8 bytes (I.e. in the String's vec) because utf 8 characters are variably sized

gentle grove
gentle grove
#

On windows where UTF-16 exists, some files might use it and then will use 2 bytes per charactee

#

but almost everyone uses utf8 for everything now and that means 1 byte for simple characters

#

you can just print them out and it works

#

well you can always just print out bytes and if its the same encoding it works

gentle grove
#

how tf do i find out what repo this is

light owl
#

idk

pallid totem
#

idk

placid kraken
#

idk

harsh junco
#

idk

tepid olive
#

idk

visual meadow
#

idk

young meteor
#

idk

native dune
#

idk

pallid totem
#

idk

cedar stag
#

idk

bright bobcat
#

idk

reef trail
#

shit i broke a chain

gentle grove
viscid blaze
#

nice jb work here

cloud yacht
placid kraken
#

this is why i love maclaurin series more

sonic totem
#

And here I am revising complex roots of polynomials o.O

placid kraken
#

isn’t that really easy

sonic totem
#

Oh yeah but I just had to go over it for my AS exam on Friday

#

I meant I haven't even covered MacLaurin series yet

wooden yarrow
wooden yarrow
#

maclaurin series is just

#

special

#

(case)

gentle grove
#

heyyy something mentioned that I learned about 2 week ago

#

Not written that way though thank god

snow python
#

Oh I hate that

#

Write that normally

gentle grove
#

Idek where to start trying to read it that way

#

As usual wikipedia has it perfectly

#

For example, if we know that the remainder of n divided by 3 is 2, the remainder of n divided by 5 is 3, and the remainder of n divided by 7 is 2, then with no other information, we can determine that the remainder of n divided by 105 (the product of 3, 5, and 7) is 23. Importantly, this tells us that if n is a natural number less than 105, then 23 is the only possible value of n.

orchid fulcrum
#

No way yall are talking about math voluntarily

gentle grove
native orbit
#

dev channel built different shrug

gentle grove
#

this ain't algebra 1

#

this is actually fun math

pallid totem
slate bobcat
slender glade
granite frigate
visual meadow
#

just did palera1n trustcache patch

#

but on my mac

#

everything is asking for keychain again

granite frigate
#

why

slate bobcat
slender glade
slender glade
granite frigate
#

CONGRATS UR HIRED

#

whatd they ask :o

slender glade
#

I’m not yet 😭

granite frigate
#

confidence 🙏

slender glade
gentle grove
granite frigate
#

nah a disc reader is NOT worth $200

#

i might as well buy a usb reader

gentle grove
visual meadow
#

anyone here know where this check is performed

visual meadow
#

thank you

hasty ruin
#

could also be line 7737 idk

#

one of them

visual meadow
#

i could probably patch this:

} else if (psa->psa_platform != PLATFORM_IOS) {```
to

} else if (0 != 0) {

fiery seal
#

i would pay for that

slate bobcat
visual meadow
slender glade
native dune
pearl sail
#

and good luck

cloud yacht
#

also for some reason they limit it to macs

#

well I added a udev rule to fix it on linux but bruh

#

also no I didn't pay full price got it used for like $15

serene hawk
slate bobcat
cedar stag
#

I hope you get it

gentle grove
viscid blaze
chrome spade
#

hey does anyone know why when i sideload an app the locaiton updates in the background stops after like 20 mins but when downloaded by the appstore it doesnt stop at all

visual meadow
#

Anyone here know a security hook that would bypass this error

#

TalkingBenIpad[2816]: registration request failed: (0x10, 0x3) The code signature is not valid: The operation couldn’t be completed. (OSStatus error -67062.)

#

Ignore app name

native dune
#

TalkingBenIpad

cloud yacht
#

TalkingBenIpad

severe stream
#

TalkingBenIpad

wooden yarrow
#

TalkingBenIpad

viscid blaze
#

what is bro doing to TalkingBenIpad 😭

chrome spade
#

i bought a certificate from kravasign

#

the $7 one, is that sufficient?

#

the location updates within the first minute or 2 of closing the app but after that it no longer works, any ideas?

sonic totem
#

Cellebrite, Dataflow Security/Forensics

#

Two big names

sonic totem
naive kraken
#

do you know any companies who do pay poverty salary?

sonic totem
#

Not sure, no

#

Do you have iOS VR experience?

viscid blaze
#

Opa

velvet path
#

what do you even define by poverty salary

gentle grove
#

web sucks

#

how much for backend dev

#

and/or low level

#

whats hft

#

i need a rust job for 260k

#

they wont hire someone that doesnt even know how c++ works troll

#

i know it was just funny

#

and i was writing from memory too troll

#

thats why it didnt work thuogh

#

yeah theres no C hiring because theyre replacing it with shitty golang

#

because their new hires dont know how to use c

#

fuck startups

#

no

#

checks

#

they cant afford direct deposit

#

/s

#

i think they literally mean paying you in equity instead of money

#

you work at a startup?

#

im trying to learn ML right now

#

i mean just the syntax wise

#

not the actual language

#

i will in passing

#

what

#

i think you can buy tickets from them freely yeah

#

no, they're not government owned

#

what does this mean

#

i dont own any bitcoin

#

i never have

#

i think i used to have like 40 cents in bitcoin cash

#

no

#

i dont know

#

i think you should just leave

#

crypto sucks

#

idk its hard to know

#

inheritance is so fucking stupid

#

it can be replaced by composition or literally just containing the parent in basically any case

#

no

#

ui is the rare case where inheritance makes sense, but on the language level you can model it better than actual language level inheritance 🧌

#

it gets a bad rep because its ugly and forces you to have virtual methods

#

no

#

ill get back to you on that one

#

yeah my point was just that it should be that way instead of using inherited classes

#

you arent inheriting traits

#

(in rust)

#

in c++ you are

#

supertraits

#

but all that means is X requires Y to be implemented

#

it doesnt actually create a relation between X and Y themselves

#

then you can use Y methods in the impl

#

not really though

#

it tells the compiler but not the language code

#

idk how to say

#

it is though isnt it

#

no, it doesnt

#

semantically it doesnt

#

i think it just means you can use Y in the default implementations of methods of X

#

thats it

#

yeah but it doesnt make X inherit Y because X isn't even a thing teechnically

#

idk if its transitive like that

#

let me test it

#

well wait that would obviously work

#

but not because youre saying X: Y i think

#

i mean that its not inheritance as in it makes X become a Y

#

all X has a Y implementation but X is not a Y

#

theres no virtual methods

#

i wonder what slint looks like

#

wat

#

y isnt the implementaiton

#

well that doesnt really mean anything

#

of course a concrete type that implements X also implements Y

#

those functions dont actually take X or Y

#
trait Y {}
trait X : Y {}

struct A {}

impl Y for A {}
impl X for A {}

fn f<T: X>(t: &T) {
    g(t);
}

fn g<T: Y>(t: &T) {}

this doesnt say that X is a Y, at least to me. just that all types that support X can also support Y

#

they have to, not can, but i dont know how to explain it

#

originally what i was trying to make fun of was the data structure constraint that inheritance puts on, forcing there to be vtables and all

#

this doesnt do anything about the data structure, maybe there is inheritance at compile time but not at runtime

#

but this is just interfaces anyways

#

inheriting structures is bad

indigo peak
#

closest humans have achieved perfectness

gentle grove
#

@glossy jasper joe : NSObject
@naive pollen

@implementation joe
@ember coral

#

what are you pointing and laughing at

#

there is no one nicked implementation

#

@lethal snowlementation is the cloest you can get

gentle grove
young ferry
#

does anyone here know anything about how itunes/icloud backend works

#

specifically anything about passwordToken/clearToken

#

im working on a reimplementation of the XML itunes store

#

and the only thing im hung up on is authentication

#

ive ruled it down to either my certificate or passwordtoken

acoustic imp
#

@radiant idol @spare glen is looking to I guess append a tweaks code onto an apps main binary/dylib ig. Any help would be appreciated by them

spare glen
#

aww thank you @acoustic imp

granite frigate
#

can’t you just add a lc load dylib

#

unless you mean statically patching it without a dylib

cedar stag
acoustic imp
hasty ruin
robust radish
# acoustic imp That’s what they want to do

what does the tweak do?

stuff like, nopping-out code or forcing functions to return early is easy to do

Adjusting segments of the binary to make room for the tweak’s SuperNecessaryClass would be quite complex

exotic spire
pallid totem
#

excel isn't a real database

#

😡

cloud yacht
#

Go is better than like typescript

gentle grove
viscid blaze
torn oriole
viscid blaze
#

ok now how do you say it

fading shell
#

like "something... line break
this"

tepid olive
#

pretzels = np.array ([dough_kneaded]) 💀💀

gentle grove
gentle grove
#

this is from man 3 fgets:

char *fgets(char s[restrict .size], int size, FILE *restrict stream);

is the char s[restrict .size] here literal C syntax or is it just english saying s has to be size length

#

theres no way thats real syntax that doesnt even look real

#

the header defines

extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
     __wur __fortified_attr_access (__write_only__, 1, 2) __nonnull ((3));

#

that is so gross what even is the second line

#

i cant tell what that is syntactically

#

that isnt even words

vivid dew
#

the average 2 dimensional rust user can't comprehend 3 dimensional c code

gentle grove
#

stackoverflow says to just ignore it which is a stupid response

vivid dew
#

well it hints to the hypothetical compiler that argument 1 will be written to and should have a size of at least argument 2 elements

#

also argument 3 should be non-null, and it should warn if you ignore the return value

gentle grove
#

yeah i mean i could gather that just by assuming what the words mean, but why can those identifiers be placeed there

#

i thought a function declaration ended after the args

vivid dew
#

no you can put attributes there

gentle grove
#

problem is if i try to google the full syntax for function declarations, its just w3schools slop

vivid dew
#

typically they're #defined away for compilers that don't support it

gentle grove
#

oh interesting

errant cave
#

I figured I can just add dylib (without "installing" a tweak) to /var/jb/Library/MobileSubstrate/DynamicLibraries and proper plist (filter bundles: [com.apple.UIKit]), but the dylib is not hooked to any process. I use frida to call Process.enumerateModules  on a running process and while I can see other tweak(s) with same filter bundle(s), I can't see my dylib. There's no error in oslog. How else can I debug it?

marble perch
#

@vivid dew happy birthday, big man

vivid dew
#

thanks brother

#

@lament mica can i get the birthday role since it's my birthday

radiant idol
#

happy birthday

acoustic imp
#

happy birthday

hasty ruin
acoustic imp
#

Any good free ssh apps? AppStore or ipa ?

gentle grove
gentle grove
errant cave
cedar stag
errant cave
# radiant idol Did you rename it though?

yep. naturally. it may "help" that it shows up in Choicy on list of "tweaks" and if I go into specific app tweak settings, it shows up on a list of "available" tweaks for this app. It looks like the dylib is properly set for being hooked but it fails to do so. Not sure if it would show up in a log and if so, in which one

radiant idol
#

Yeah no clue then

hasty ruin
#

Is your dylib compiled for the correct arch

#

Also check syslog for your dylib name

grave orchid
#

icrazy spotted

hasty ruin
#

that’s me

grave orchid
#

mhm

orchid fulcrum
#

On macOS can i use my free developer cert to sign any (more than 3) .app file ?

placid kraken
#

it's just a man page thing

#

it basically just says that the s array you pass must be of length size

#

it's like a semantic restriction to the user of the function

#

that the size you pass at the end is the same as the length of the array you pass at the start

placid kraken
#

and still got an 8

#

my brain was not comprehending anything that day

gentle grove
#

should i use lua for my video editor scripting language

faint timber
placid kraken
#

i already wrote a compiler it’s far too late for me

torn oriole
gentle grove
#

based

placid kraken
#

oh

#

yes

#

(real)

#

can you even swizzle it to return NSString * i thought it has to return size_t

wooden yarrow
#

NSString* casted to size_t

placid kraken
wooden yarrow
#

i mean

#

if they use it like it was on that exam

#

then

placid kraken
#

true,,,,,

wooden yarrow
#

no issues

#

why is my network lagging so hard wtf

placid kraken
#

i wonder what code you would have to write to actually get that output

#

1 sec

gentle grove
#

but then it wouldnt print that because itd be displaying an integer

#

itd just display the pointer

placid kraken
#

lmao true

#

fair

gentle grove
#

UNSAFE

#

unsafe { }

placid kraken
#

originally i said that in the sense of it wont compile because everything is declaring the return value as "size_t" when it actually returns NSString * but that was stupid because objc is dynamic anyway lol

#

id length = [awa length]

#

the compiler will complain??

#

hm

#

the compiler will actually change the signature of the method when theres a %hook????

#

thats news to me

#

ah

#

oh fair enough then lmao

#
%hook NSString
- (NSString *)length {
    return self == @"Monday" 
            ? @"24 hours" 
            : self == @"Tuesday" 
                ? @"24 hours"
                : (NSString *)(id)%orig;
}
%end
#

surely there is no better way to write this

#

lol obviously

#

no i hate switch

#

fuck switch statements

#

they are so bad to read and the formatting isnt agreed upon by anyone

#

in that case yes lol

#

that would me a match statement

#

but yeah this is the only time its good

#

because match is an expression not a statement

#

so are loops

#
let a = for i in 1..10 {
    if i == 5 {
        break i;
    }
};

let b = match a {
    5 => a * 2,
    other => other + 1
}

println!(a); // 5
println!(b); // 10
#

it is horrible to rea

#

d

#

but nice to use sometimes

#

tbh i dont really like the semantics for dictionaries in C

#
typedef enum {
    NODE_X,
    NODE_Y,

    Nodes_length
} Nodes;

char[] Nodes_strings[Nodes_length] = {
    [NODE_X] = "x",
    [NODE_Y] = "y"
};
#

its slightly hard to read sometimes

#

its not but it has similar semantics to a dictionary

#
assert(strcmp(Nodes_strings[NODE_X], "x") == 0)
gentle grove
#

lua is pretty cool

#

maybe ill just use it instead of making my own language beacuse im pretty sure it can do eveerything i need with custom UserData

#

maybe deno JS can as well but lua is more mature

placid kraken
#

but making a language is funnnn

gentle grove
#

but it should help me be more productive and not waste time by making a stupid language

#

you can literally just make your own type do anything in lua

#

this is so cool

radiant idol
gentle grove
#

i should start actually writing code

placid kraken
#

what does % and ? mean here

#

is this like a macro thing

#

where you can do

macro_rules! a {
    (type:expr, a:literal = ?b:expr (,?)) => {
        
    };
}
#

oh its debug and display trait

#

i see

gentle grove
#

event! is a macro yeah

gentle grove
#

look at that beautiful declaration lmfao

placid kraken
#

ya i figured out later

placid kraken
gentle grove
#

lmfao

#

i mean theres a lot of permutations

#

thats all

vivid dew
placid kraken
#

that is literally the accepted way to make dicts in c

#

ive seen people write code like that so many times

#

usually its with a static assert above the array so that if the enum changes you dont forget to add it to the array to

gentle grove
#

that is terrifying

#

ive never seen that

#

a static dictionary is spelled "struct" 🧌

unique rune
#

Hi everyone! Does anyone know if forensic tools like Cellebrite can fully extract data from an iPhone 13 running iOS 18 with a complex passcode, when the device is in AFU (After First Unlock) mode?

vivid dew
#

probably not, but you should be prepared to go to prison anyway

faint timber
#

laugh at the phone thief PointAndLaugh

gentle grove
#

what kind of response is this

#

that's probably why they're asking

#

they probably are trying to find out if their phone is secure

#

how do you know that

#

you can buy phones with money

#

and then own the phone

#

theres no use in assuming

#

their question is about getting the data off the phone

#

if you stole someone's phone why would you want just the data, and not usability of the phone

#

phones can only be stolen from grandpas?

#

software exploits exist

#

they have in previous ios versions

#

but while the phone is unlocked, the key is in ram

#

maybe not all of the data but much of it

#

i mean i dont know the specifics but somehow it has worked in the past, but then been patched by ios updates

#

whether it's hardware or software i dont really care

#

yes it has been patched

#

but there could be new bugs lurking

#

that's security 101

#

yeah

#

that's why it's fucking cellebrite

#

.

#

bugs do exist

#

ios 17.5.1 july 2024

#

first slide shows their capabilities of bypassing passcode to unlock the phone

acoustic imp
#

Also what’s FFS mean?

sonic totem
#

Its the SEP team that should be worried hm

fading shell
sonic totem
gentle grove
#

or something

gentle grove
acoustic imp
#

Hope they get patched

gentle grove
#

thats ios 17.5.1

#

so yes they have been patched long ago

acoustic imp
#

@ alfie hm

gentle grove
#

whether cellebrite have such exploits on latest versions is unknown

#

they dont publish their capabilities

#

you probably have to be law enforcement or something to get them to tell you

sonic totem
#

Well the support matrix is from July

#

and iOS 17.5.1 was the latest version until teh 29th July

acoustic imp
#

Maybe they haven’t been patched thishowitis

#

Do they just sit on exploits ? And use the next as one gets patched ?

gentle grove
#

im pretty sure this thing wouldve been patched in whatever was right after 17.5.1

#

this specific one

#

they might i dont know

acoustic imp
#

Dif it

sonic totem
#

Well Cellebrite don't exactly report bugs to Apple lol

#

They kind of rely on 0days

gentle grove
#

ok so i just realized conceptually the missing link

#

i do need monads here in my video editor because one of the things iw anted to do was abstract away caching

#

i should not just be making objects that directly, imperatively, interact with the media files, at the high level user-facing level

#

so this is right

#

im wgonna write my video editor as i read Clean Code by Robert C. Martin

tepid olive
#

MySign eta wen? 🤫

#

Yk what would be fun to add to MySign

#

Have all the tabs as a swipe able menu kinda like the camera button

#

But actually good

placid kraken
#

clearly the most sane way to do that

tepid olive
placid kraken
#

beautiful

#

"inline"

faint timber
tepid olive
#

That doesn’t look like swift

placid kraken
#

it is not swift lol

gentle grove
keen linden
#

please stop hyping it up so hard 💀

placid kraken
#

it's a language i'm making

gentle grove
#

its fake rust

placid kraken
gentle grove
#

Rift

placid kraken
#

rust actually has traits so

gentle grove
#

thats why its fake

#

i dont know how to name things

placid kraken
#

the display trait in question

gentle grove
#

why is the @ amogus

placid kraken
#

true

#

idk why

#

thats just my font

gentle grove
#

what font is that

placid kraken
#

maple mono

gentle grove
#

this cant be pure what am i doing

#

a file can change

#

i need to pass file handles

placid kraken
#

is this sane

#

to just assert that __fmt__ returns a string

#

so that you dont do something like this

#

when it should be this

#

and get into a segfault

gentle grove
#

yeah

#

if its UB there should definitely be a warning at minimum

#

error in my opinion

placid kraken
#

yeah ok

#

whats the idiomatic way to check if either something is none or its some and

#

x.is_none() || x.is_some_and(|x| x.is_string()) feels clunky

gentle grove
#

so thats fun

gentle grove
#

or no map

#

no

#

what am i saying

#

it should be true if none, or if string

#

i have to send this through the complex part of my brain

gentle grove
#

i think this is it

#

x.is_none_or(|x| x.is_string())

placid kraken
#

thats the method i was thinking of

#

but

gentle grove
#

that is so pretty

placid kraken
#

i cant find it

gentle grove
#

whar

#

x is an Option?

placid kraken
#

am i on a too old version of rust

#

1.81.0

#

oh

gentle grove
#

yes

placid kraken
#

yes

gentle grove
#

oh thats super new wtf

placid kraken
#

that was introduced in 1.82.0

#

ok

gentle grove
#

you got it at the right time

#

bro

#

seriously

#

it took me like 10 minutes to come up with abstract as the perfect name

#

then you tell me its fucking reserved

#

i guess ill call it tree

#

or model

placid kraken
#

perfect

#

lmao this error is so easy to understand

gentle grove
#

this is going to suck so much

#

i really need to make sure i understand everything about how lifetimes work for this to go over well

high comet
#

Is it okay to set up the Theos development environment on Ubuntu 24.04 and just install Swift version 6.x without any issues? The iOS version is 15.8.3

placid kraken
#

iirc swift is still pretty finicky on non-apple software

#

but youre welcome to try it

high comet
#

But MacBook is too expensive...supershocked

#

So I'm going to try it on Ubuntu 24.04.

#

I asked if there was anyone who had tried configuring it...

gentle grove
hasty marsh
chrome spade
#

what theme

granite frigate
#

wait what font is that wtf

#

curly mono is crazy

placid kraken
#

font is maple mono

reef trail
chrome spade
#

oh i thought was vs code

#

dam

wintry zenith
reef trail
chrome spade
reef trail
#

everything on my system matches and it's beautiful

placid kraken
#

my catpuccin version has some changes that makes it look better aswell as a glass background but yeah the vsc version is similar enough

tepid olive
shut stag
#

?

placid kraken
#

do you scan the server for political messages lmao

tepid olive
#

I have like 100k messages from Cellebrite users lol

#

Could generate my own support matrix.

fading shell
placid kraken
#

horror

lofty juniper
placid kraken
#

oh!

placid kraken
#

am i insane or did you just straight up post piracy

#

mods!!!

harsh junco
#

Send it

#

This too

#

Oh come on i was just about to report them

gentle grove
#

this book sucks

gentle grove
gentle grove
#

ok so this guy says have no side effects, but then doesn't think private member mutation is a side effect

#

maybe he means not to have foreign side effects

faint timber
#

daily reminder

sonic totem
sonic totem
#

I mean the image itself lol

faint timber
#

Ah yah I made the meme

north anvil
gentle grove
#

pray you never need to use lldb/gdb when working with rust

#

because in the rare case that you do, it sucks so much

#

ok i tried doing fr v and it ate 28 GiB of ram and i had to kill it

#

holy fuck

#

info locals in gdb

granite frigate
wooden yarrow
gentle grove
#

and a lot of junk

#

dbg! uses the Debug impl which is actually intelligent

wooden yarrow
devout coral
#

So i am part of a iOS App developement program in Uni and i need some help working with MessageKit framework,
I tried following this video : https://www.youtube.com/watch?v=6v4fmg9iRSU
but after i build & run my collectionView (chat messages ) is not being populated with messages,

ChatGPT & Gemini Did not help.
If someone can please help me out, DM 🙏

In this video we will learn how to create a Chat Message user interface. Complete with chat bubbles, send time, sender definition, and chat heads. This is how iMessage, Instagram DMs, WhatsApp, and other top chat apps are built.

💻 Source Code: https://patreon.com/iOSAcademy
🎥 Subscribe for more: https://www.youtube.com/iOSAcademy?sub_confirmati...

▶ Play video
devout coral
devout coral
#

Thats okay
well can i send you my code and maybe you can spot the error or something ?
or do you have any suggestions for me?
Thanks anyways

pallid totem
#

i don't really use xcode or swift in general

slender glade
tepid olive
placid kraken
#

ok idk HOW i didnt make this yet but

#

you can now use object files in elle

if you make this c thing

int foo(int a, int b) {
    return a + b;
}

and create an object file cc -c foo.c

and use it in elle

use std/libc/io;

external fn foo(i32 a, i32 b) -> i32;

fn main() {
    io::cprintf("%d\n", foo(1, 2));
}

you can literally just like,,,, pass the file along with the source code now
ellec ./examples/test.le foo.o && ./test

#

this really shouldve been a thing a lot earlier but oh well

#

i can probably also let you make object files tbh

#

just delegate the -c flag to cc

placid kraken
#

i did it lol

#

must be public and volatile

#

if it isnt public it wont be exported because that means its internal

#

if it isnt volatile it wont be exported because its not used by anything so the compiler will perform DCE by default and get rid of it

#

i might actually make volatile be default when generating an object file

#

that sounds more sane i think

gentle grove
#

volatile? What does that even mean for a function

#

are you memoizing

tepid olive
#

But it seems it would be more work to maintain that

tepid olive
placid kraken
gentle grove
gentle grove
cedar stag
placid kraken
#

i fixed linker flags so you can now static library

gentle grove
gentle grove
#

They will hang you

placid kraken
#

whats wrong with static libraries----

#

i think its time for a manpage soon

gentle grove
#

requires every application individually to update their deps instead of it just being updated system wide

placid kraken
#

is that not like a perfectly reasonable issue though

cloud yacht
#

i mean also statically linked code also has the issue of taking more space when theres multiple copies of it

#

but also is more portable

#

I think it depends on the use case

reef trail
#

there's no version collision tho

#

i hate when that happens

cloud yacht
#

I mean if you're being distrivuted via a package manager just specifiy the version you need

cloud yacht
gentle grove
#

I just get annoyed when people hate static libraries to the point of lying about a certain language requiring it when it doesn't

reef trail
reef trail
#

rusts dynamic lib support is ass tho

gentle grove
#

the convo I had with Hayden was about ffi

reef trail
#

unless somethings changed since i last looked into it

gentle grove
#

that gets dynamically linked by default in rust

#

because static linking requires you to have static libs jnstalled

reef trail
#

ffi means you can do any of the rusty stuff, you're limited by capi

gentle grove
#

no

#

but in this case yes, was talking about extern c

reef trail
#

that's what i assumed

gentle grove
#

for using a c library

#

like openssl

reef trail
#

i've never tried it but i should

gentle grove
#

You have to explicitly change it to static link c libs because that's not the default

#

It wouldn't be a feasible default

#

Rust can't do magic

placid kraken
#

doesnt rust like include mir the .rlib files which lets you have the fancy rust stuff

#

i was having this convo earlier

gentle grove
#

you can do rust dynamic linking but have to be careful because abi is not stable

placid kraken
gentle grove
#

it takes away most of the utility because you can't just like throw an rlib on the system globally and link to it dynamically

reef trail
gentle grove
#

No

reef trail
#

i love the name lol

gentle grove
#

crabi does make a stable abi

placid kraken
#

the source code of modules is put directly into /usr/local/bin and things that import it compile that too

gentle grove
#

and it would make this possible

gentle grove
placid kraken
gentle grove
placid kraken
#

the interface is flexible enough that you can just define the interface of functions in a file then compile to a lib and tell people to import the interface and use the lib, like c

#

but the downsides of generating an object/lib are this (notably no generics, no string module imported by default to prevent conflicts)

gentle grove
#

Oh I thought you meant for rust

placid kraken
#

oh

#

that too tbh

#

i like having source available in rust

gentle grove
#

I've seen that complaint with rust

#

not sure how well cdylib target works to solve it

#

Like if companies want to make a binary only library for rust

placid kraken
#

rust has opaque structs right

#

so its totally possible

gentle grove
#

yeah but function calls

#

Although I think technically rust considers even structures to be unstable abi

#

but its very defined now and stable in practice

#

But you're not allowed to rely on that

placid kraken
#

thats what i do in elle

gentle grove
#

yeah going through the c abi layer

#

but ideally in the future you could skip that and do straight rust to rust

placid kraken
#

not necessarily through the c abi layer

gentle grove
#

Wdym

placid kraken
#

just saying that a method was defined in C code when it was infact defined in rust code

#

it all boils down to symbols in assembly anyway

gentle grove
#

that sounds unsafe

placid kraken
#

like, tell rust "i want to define this external C function foo" but instead of supplying a lib compiled from C you supply one compiled from rust

gentle grove
#

do you have exanple

placid kraken
#

then the function has no body

#

as far as the rust compiler is concerned that method is opaque now

#

so make a safe wrapper and there, opaque functions

gentle grove
#

Can you show

#

What extern are you using, Rust?

placid kraken
#

you get warnings but

#
#[no_mangle]
pub extern "C" fn foo(x: usize, y: String) -> String {
    y.repeat(x)
}
#

rustc --emit=obj --crate-type=staticlib -o test.o test.rs && ar rcs libfoo.a test.o

#
#[link(name = "foo")]
extern "C" {
    fn foo(x: usize, y: String) -> String;
}

fn main() {
    unsafe {
        println!("{}", foo(3, "hi".into()));
    }

    println!("Hello, world!");
}
#

LIBRARY_PATH=. cargo run

#

youre still using rust stuff like String but the compiler has no idea what the body of the function is

gentle grove
#

well that would be going through the c ffi layer wouldn't it

placid kraken
#

technically yeah i guess

gentle grove
#

That's what I meant by that

#

I thought you were saying you called an extern "Rust" function as if it was C or something lmao

#

but for passing structrures, if you don't repr(c) then I think its unstable

#

wait

#

I see what you meant, because there's string there

placid kraken
#

yeah

#

and it works

#

youre warned

#

but it works

gentle grove
#

It works but that doesnt mean its safe or correct

placid kraken
#

trueee

gentle grove
#

Im pretty sure that's technically UB

placid kraken
#

but if you really wanna have opaque functions

gentle grove
#

I may ask the rust server

placid kraken
gentle grove
#

I wonder if abi_stable let's you do it correctly

#

I have confirmed that is technically UB the way you did it there

#

They have a bunch of adapters for std types

placid kraken
#

ah

#

the world if C had generics

#

not void*

#

real standards for monomorphization in the c abi

#

that wouldve been nice

cloud yacht
#

On My Way!

vivid dew
#

just download more cores

gentle grove
#

trying to use mercurial as a git user is not fun

#

everything is so inflexible compared to git

tepid olive
#

I refuse to believe somebody is that tech illiterate

hasty ruin
#

no it makes sense

#

i assume the game looks better on newer devices

#

and he wants that, not caring about perf

pallid totem
inner ice
#

Hello I am interested in getting into this space and creating a tweak of my own, I have prior programming knowledge but know nothing about jailbreak tweaks.

I do know C! but probably not whatever objective-c is... shouldn't be too different right????

Is this tutorial still applicable?

hasty ruin
# inner ice Hello I am interested in getting into this space and creating a tweak of my own,...

i'd say learn the basics of objc first (start of https://www.binpress.com/learn-objective-c-24-days/) then give it a go

Yep, that title says 24 DAYS, not hours. You can’t learn a programming language in 24 hours. Publishers say you can, but that’s just for marketing purposes. To really learn a language — to the point where you don’t have to look back through a book every other line — takes time. It takes time […]

inner ice
#

and how much C knowledge would translate to Objective-C? I am assuming the syntax would transfer over nicely so that's not an issue

hasty ruin
#

well objc is a superset of c, so you'll just have to learn the new objc concepts

inner ice
#

I also have another question, what if I wanted to create an application I can load onto my device with trollstore without using jailbreak

#

I installed Geranium and I am impressed it does not need jailbreak to fake my GPS

#

and the reason I am learning to do this is to create something that I cannot find on the market which is not too far from faking my GPS

hasty ruin
inner ice
hasty ruin
#

trollstore-installed apps have extra permissions

#

since they use an exploit

inner ice
#

also which would you say is easier? creating an app with xcode and then installing through troll store or creating a jailbreak tweak? I think if I could I would prefer to do the xcode app but if I have to learn something new like swift then I am not sure how I would fair

lofty juniper
#

like i’m pretty sure you can do that

inner ice
# pallid totem

not when I, but when someone else that is sharing their location in find my

#

let me try this tho

inner ice
#

but it notifies the other person

pallid totem
#

they can do it theirself

#

pretty sure thats illegal btw fr

inner ice
#

because they are sharing their location with me, i could technically have the app open and monitor it myself 24/7

#

it would be illegal if I somehow gained access to someone's location without their knowledge

hasty ruin
#

it's your ex isnt it

inner ice
#

💀

#

no its a really weird case

#

my gf's dad is overprotective

#

but he works early in the morning

#

so I usually come over to visit her

#

but recently he's been coming home to "check up" on her and last time he almost caught us

#

so it'd be nice to have a notification when he gets "close" so I can leave before he arrives

#

so it's honestly not too bad

harsh junco
#

C++ >>> C

slim bramble
#

ewwwww

harsh junco
weary heath
#

if you wanna take the easy but paid route, r/tweakbounty

inner ice
#

But I like programming

weary heath
#

you decide the price, could throw it up for cheap and still learn how to do it yourself unless someone offers to work on it

inner ice
#

Sounds good then

inner ice
#

Which looks like it doesn’t even need to have a jailbroken phone

#

Or side loaded app

#

But I haven’t looked closely at it

#

Just my assumption based off of the description in the GitHub readme file

inner ice
#

So now I have potentially 3 methods to do this

weary heath
#

yeah no jb needed for that

#

not sure if a mac is needed

inner ice
#

So I could maybe have a website or smth to change the location and stuff

inner ice
#

But how would I have it ring my phone.. hmmm

weary heath
#

you need home assistant

#

you could run that on your pc at home really

inner ice
#

Yep

weary heath
#

this is probably the easiest way for you

inner ice
#

How would I interface something to change the location

#

Or notify me when said person comes into a zone

#

Ideally

#

My phone would ring a ringtone

weary heath
#

do you wanna spoof your location?

inner ice
#

Nah I’m not trying to spoof my location

#

If I made a tweak tho I could have the phone ring probably through some kind of tweak activate function

weary heath
#

there must be a way on icloud3 to geofence, since it's home assistant it's probably possible to have it send you an alert

inner ice
#

I’ll look into that

#

Also what’s geofence?

inner ice
#

That’s yaml, very nice

weary heath
slim bramble
harsh junco
slim bramble
#

mental illness

harsh junco
cedar stag
#

do you ever just

sonic totem
#

Is that on Apple Silicon

cedar stag
#

yes

sonic totem
#

How

cedar stag
#

utm

sonic totem
#

I need an x86 VM

#

for macOS

cedar stag
#

hold on lemme send you config file github repo

sonic totem
#

Ty!

cedar stag
#

just need an iso

#

then you're good to go

#

though it runs pretty slow so keep that in mind

sonic totem
#

I just need to run one program

#

So it should be alright

#

But I need to wait for my new Mac to arrive

#

Thank you

cedar stag
#

You’re welcome!

orchid fulcrum
sonic totem
#

M4 MBP

lusty jacinth
cedar stag
#

which specs you got

sonic totem
#

24GB/1TB

cedar stag
#

awesome

#

I'm still using my M1 Pro mbp

#

pretty good at basically anything

viscid blaze
fading shell
sonic totem
#

I upgraded for several reasons

#

I had base M1, 256GB/16GB

#

But

  • Constantly < 10GB free
  • Could use more memory
  • Battery is bad now
  • Getting a second monitor (M1 allows 1)
acoustic imp
#

m1 base can do two displays (including built in) right ?

sonic totem
#

1

#

Oh including built in yeah

tepid olive
#

I want one so bad

#

With the nanotexture display as well

sonic totem
#

Didn't wanna spend 200 on that lol

slim bramble
gentle grove
#

glossy displays are unusable junk

cloud yacht
#

I perfer glossy displays