#development

1 messages · Page 207 of 1

stray viper
#

Is it possible to run darwin arm64 binaries on ios with a terminal app?

reef trail
#

but chances are the thing you're looking for is already on procursus

stray viper
#

Nah im trying to run source engine port and yeah it might need to be patched

#

Im assuming you cant run anything that uses opengl?

tight carbon
#

I might agree about 3x, but not about 2x. These distributions exist for a reason. For example, 2x is often used for iPads. Of course, you must manually adjust the sizes so there are no issues

P.S. Learn how to pack assets, it's a pretty cool thing, though probably useless in the context of 99% of tweaks when bundle only has a few images, lol

radiant idol
#

¯_(ツ)_/¯

tight carbon
radiant idol
#

👍

tight carbon
quaint rain
#
make: *** No rule to make target ‘/bundle.mk’. Stop.```
#

Windows WSL (ubuntu) when trying to compile a theos tweak

quaint rain
#

How would I set it?

faint stag
#

and ios would have opengl ES which may or may not be fully compatible with opengl calls

granite frigate
#

just try it and see

#

source is pretty old anyways

faint stag
granite frigate
#

fwiw I got the dylib to work properly so ig i'm using that

gentle grove
#

is it a bad idea to try to use quartz for something

#

i wanna make a wayland compatibility layer for macos so i can test my stupid compositor on macos

#

all i need to do is be able to just bridge a buffer between the window and wayland client

#

oh actually that might be a problem because with vulkan id probably be rendering to a dmabuf

crisp quest
#

I think Nugget's region code change will work on iOS 16 and 15, is that correct?

stray viper
#

Thats what i want to run

indigo kraken
#

would you happen to still have this? :p

crystal sparrow
#

i want to make an ios app without xcode

#

how

#

nvm

#

how do i build an elctron app for arm64 even tho i am on 86.64x

crystal sparrow
#

macos

crystal sparrow
harsh junco
crystal sparrow
harsh junco
#

Or really, do universal

crystal sparrow
#

Wait I can build for windows on Linux

#

Good

grave orchid
harsh junco
grave orchid
#

should I make mateiral design buttons?

crystal sparrow
grave orchid
#

ok

crystal sparrow
#

M3 design buttons

#

@harsh junco

#

I caught you

#

In the act

#

/snipe

harsh junco
#

Yes

#

As long as you have the deps

crystal sparrow
#

But I can’t build for android

#

I think

harsh junco
#

Why

crystal sparrow
#

Because I can’t

#

It’s not possible

#

No android

#

No apk

#

= no android

grave orchid
#

😭

placid kraken
#

change your phone

crystal sparrow
placid kraken
#

change your iPhone

crystal sparrow
#

From a 7+ to an 8

crystal sparrow
grave orchid
#

HELP

harsh junco
#

@

grave orchid
grave orchid
#

oki thank you!!

granite frigate
#

bro you should try and figure it out for yourself instead of asking #development

grave orchid
#

i failed

#
  • idfk what is failing
#

code works in another html file

grave orchid
#

wait

#

no

#

my code is working

#

bruh

#

I hate VS preview

granite frigate
grave orchid
granite frigate
#

no its ok

#

idc if you ask but like im worried youre not gonna be able to figure it out yourself

grave orchid
#

I mean I gone thru all of the troubleshooting steps

#

but turns out VS code preview was just being bitchy

granite frigate
#

fr

stray viper
crystal sparrow
grave orchid
crystal sparrow
grave orchid
#

material :3

#

also damn you can edit code on ios now

crystal sparrow
grave orchid
#

Koder

#

ok

crystal sparrow
#

It’s on the App Store

#

Wait you forgot something

crystal sparrow
#

I like editing code :3

#

It’s afternoon not evening

#

Maybe I messed up the time

#

Now it’s fine

grave orchid
#

oh

crystal sparrow
#

@grave orchid I changed the hyperlink color from underlined blue to white

grave orchid
#

hyperlink?

#

crystal sparrow
#

Now it’s white

grave orchid
#

oh

#

well

#

I mean blue for clarity?

crystal sparrow
#

Wait I forgot about figma

#

I’m going to try it

#

Figma not compatible

stray viper
#

Is there anyway i can apply coretrust certficate to the binary?

crystal sparrow
stray viper
#

Can i do it from ch0ma?

#

Its the library used by trollstore

crystal sparrow
stray viper
#

Well the port also includes dylibs do i need to sign those too?

stray viper
#

Well good news is it now doesnt complain about coretrust (i think), but now:
only launchd is allowed to spawn untrusted binaries

stray viper
#

Well the binary is supposed to launch dylibs so im gonna try signing them too

stray viper
#

Still the same error

crystal sparrow
stray viper
#

You mean launchd then binary path?

crystal sparrow
#

Probably

stray viper
#

Well it says abort

#

And i found:

launchd[23039] Corpse allowed 1 of 5

crystal sparrow
#

Oh

#

Idk what to do next

stray viper
#

Yeah i give up

#

Will need to be packaged into an ipa before it works

stray viper
#

Hey i got the binary to not get rejected

#

But now its complaining about a missing dylib

#

Guess this is as far as i can get without modifying the source

crystal sparrow
crystal sparrow
#

Just mod it

stray viper
#

What do you mean?

crystal sparrow
robust radish
acoustic imp
#

is @versed fiber still in the comunity ?

#

was wondering if betterCC could be OS ?

#

what do i do for a tweak ?

#

how do i see hooks ?

indigo peak
acoustic imp
#

idk this stuff 😭

sly ibex
#

does anyone have xcode 13 and can send me a used template for old watchOS complications 😭

#

id get it myself but it'd take forever to download old macOS and even xcode 15 crashes on macOS 15

robust radish
sly ibex
#

i just need a blank project from it

#

just make a watchos app with ios companion then add an extension

#

or however you get complications

#

same

gentle grove
#

shortest rust code

#

(idk how they ended up in this situation)

crystal sparrow
reef trail
gentle grove
#

but it seems like there isnt much of a better way to do that specific thing

#

its an enum thats private

reef trail
#

i don't get what they're trying to do, if you don't know the type of the number how are you meant to deserialise it without checking which types it would conform to

gentle grove
#

checking which type it can fit into

placid kraken
clear iron
#

LOL

placid kraken
#

also i was looking at some c++ features

#

if ANYONE says c++ is just c with classes ever again omg

#

WHAT IS THIS 😭

#

WHO THOUGHT THIS WAS A GOOD IDEA

crystal sparrow
harsh junco
orchid fulcrum
#

C++ comitee when language still has readable features supershocked (they have to fix it)

sacred orbit
#

"/private/var/.backup.i/var/root/Library/Backup/SystemContainers/Data/../../../../../../../../var/containers/Bundle/Application/8387A40F-6C8E-4529-B6C2-0CC5014EC180/RedditApp.app/Assets.car" (MBErrorDomain/102). Underlying error: The file “Assets.car” couldn’t be saved in the folder “Reddit” because a file with the same name already exists. at path "/private/var/.backup.i/var/root/Library/Backup/SystemContainers/Data/../../../../../../../../var/containers/Bundle/Application/8387A40F-6C8E-4529-B6C2-0CC5014EC180/RedditApp.app/Assets.car" for URL
Does anybody know how to fix this error from SparseRestore

granite frigate
#

apparently passing in /private/var fails restoring even if its the same as /var

#

im gonna assume its bc var is a different partition from /private

sacred orbit
#

nvm

harsh junco
granite frigate
#

idk

#

i thought they were the same

sacred orbit
#

is there a way to clear uicache on new versions without ts or jb

gentle grove
#

Are you dealing with .vulkan too?!!?

gentle grove
crystal sparrow
#

@grave orchid

#

I found the secret html file

grave orchid
crystal sparrow
#

And the button you hid for it

#

I had to be in landscape to see it

reef trail
placid kraken
grave orchid
#

I didn't hide no button

crystal sparrow
#

I found it

clear iron
#

Not secret ?

crystal sparrow
clear iron
#

Fake

crystal sparrow
#

I couldn’t find it

#

I found it

crystal sparrow
grave orchid
#

wdym

#

there is not a button about

#

oh

#

fake

#

fake news

crystal sparrow
grave orchid
crystal sparrow
grave orchid
granite frigate
#

🔥

reef trail
# grave orchid

make the colours match your pfp, it looks out of place otherwise

grave orchid
grave orchid
#

so o

#

yeah

#

;D

reef trail
granite frigate
#

bro going all in with the google AI

grave orchid
#

omfg

#

I just realised I spelt designer wrong

#

deisgner

grave orchid
#

sometimes better than chatgpt

granite frigate
#

nah claude the goat

grave orchid
cloud yacht
#

Does it know how many R's are in strawverry

fading shell
#

There are 2 R's in strawverry

grave orchid
#

there are 3

#

oh god

#

my site is very laggy

#

i can’t even visit

#

😭

#

time to optimise

#

i think i added too many fancy effects

#

the site doesn’t work on mobile anymore

#

wait

#

it doesn’t work for only ios 15

slim bramble
#

@grave orchid Corrected it for you

hasty ruin
#

Real

warped sky
slim bramble
warped sky
crystal sparrow
crystal sparrow
torn oriole
grave orchid
#

doesn’t work on ios 15

#

works on ipadOS 18

crystal sparrow
#

hmm

warped sky
#

Change those margins for phones too @grave orchid

crystal sparrow
#

btw the site will look bad on mobile

grave orchid
#

i’m gonna sleep

grave orchid
crystal sparrow
grave orchid
#

i am NOT A FURRY

slim bramble
grave orchid
grave orchid
#

NO

#

NO

#

NO

slim bramble
#

Well you said you are not a furry

#

I gotta prove my point

grave orchid
crystal sparrow
night rover
grave orchid
crystal sparrow
#

but make it diffrent for mobile by using the user agent

#

so its optimized if you are on moblie only

torn oriole
crystal sparrow
#

so if its too small

fading shell
crystal sparrow
#

it will use the optimized version

grave orchid
#

idk why

torn oriole
#

Safari moment

fading shell
grave orchid
#

works on android

crystal sparrow
#

who uses safrai

grave orchid
#

forced

fading shell
#

everybody on ios might as well use safari

crystal sparrow
#

i cant spell it from how bad it is

fading shell
#

it's all webkit anyway

grave orchid
#

wait isn’t ios 18 changing that

crystal sparrow
#

yeah i use safrai

grave orchid
#

or only eu

crystal sparrow
#

on ios only

crystal sparrow
#

hopfully

fading shell
#

not sure though

reef trail
fading shell
#

yeah that's what i think too

faint stag
#

just use a media query

reef trail
#

^^^

cloud yacht
#

Yeah unless your using a backend that is serving a different site yo mobile uses

reef trail
#

i hate when websites do that

#

their mobile site is usually broken

fading shell
#

Nobody wants to share a mobile link

cloud yacht
#

Depends on the site

#

YouTube's mobile site is okay

#

I think wikipedia's is smart enough to redirect m links on dekstop back to desktop

warped sky
#

False

placid kraken
crystal sparrow
reef trail
#

media queries exist for a reason

placid kraken
#

i assumed they needed to know if it was mobile from js

vivid dew
#

meow

manic forum
#

meow :3

warped sky
#

Toyota AE86

#

Wbu

#

This ones fire too

#

240k 💀

#

Mine is like 20-30k

slim bramble
#

bro doesn't want a corvette no more

#

💀

#

🙄

#

fr

#

Bro is broke: doesn't have 400k

#

(I don't either)

#

fair enough

#

Ngl the new aventador looks soo good

#

fr

placid kraken
#

pov you just tried to call Foo::get_a<T, U>(Foo<T, U> self) on a Foo<string **, string**>

function l $Foo.get_a.__elle_generic.__elle_pointer.__elle_pointer.__elle_pointer.12.__elle_pointer.__elle_pointer.__elle_pointer.12(:Foo.__elle_generic.__elle_pointer.__elle_pointer.__elle_pointer.12.__elle_pointer.__elle_pointer.__elle_pointer.12 %self.10) {
@start
    %.11 =l add %self.10, 0
    %.12 =l loadl %.11
    ret %.12
}
#

😭

reef trail
#

what the fuck is that

placid kraken
#

it is not

#

it is this

struct Foo<T, U> {
    T a;
    U b;
};

fn Foo::get_a<T, U>(Foo<T, U> self) {
    return self.a;
}

fn main() {
    Foo<string **, string **> foo = Foo { a = 0, b = 0 };
    foo.get_a();
}

compiled into IR

type :ElleMeta = { l, l, w, l }
type :Foo.__elle_generic.__elle_pointer.__elle_pointer.__elle_pointer.12.__elle_pointer.__elle_pointer.__elle_pointer.12 = { l, l }
function l $Foo.get_a.__elle_generic.__elle_pointer.__elle_pointer.__elle_pointer.12.__elle_pointer.__elle_pointer.__elle_pointer.12(:Foo.__elle_generic.__elle_pointer.__elle_pointer.__elle_pointer.12.__elle_pointer.__elle_pointer.__elle_pointer.12 %self.10) {
@start
    %.11 =l add %self.10, 0
    %.12 =l loadl %.11
    ret %.12
}
export function w $main() {
@start
    %.6 =l alloc8 16
    %.7 =l add %.6, 0
    storel 0, %.7
    %.8 =l add %.6, 8
    storel 0, %.8
    %foo.addr.9 =l alloc8 16
    storel %.6, %foo.addr.9
    %foo.5 =l loadl %foo.addr.9
    %foo.5 =l loadl %foo.addr.9
    %foo.5 =l loadl %foo.addr.9
    %.13 =l call $Foo.get_a.__elle_generic.__elle_pointer.__elle_pointer.__elle_pointer.12.__elle_pointer.__elle_pointer.__elle_pointer.12(:Foo.__elle_generic.__elle_pointer.__elle_pointer.__elle_pointer.12.__elle_pointer.__elle_pointer.__elle_pointer.12 %foo.5)
    ret 0
}
#

😭😭😭

#

i will turn them all into numbers

gentle grove
#

its not IR, its elle compiled into IR

#

idk whats happening.there thoigh

#

ive never read IR

#

you suck

placid kraken
#

i use __elle_generic to indicate that this is a monomorphic generation of some generic struct

#

and i use __elle_pointer to indicate that the next argument is actually a pointer to something

#

i can just turn it into a number tho

gentle grove
#

Where does it say what types are used in the generic

placid kraken
#

that is the part that follows

gentle grove
#

It just says pointer yhough

placid kraken
#

each primitive is given a number

#

12 is char in this case

#

__elle_pointer.__elle_pointer.__elle_pointer.12 = pointer to pointer to pointer to char = char *** = string **

gentle grove
#

Hmm

#

What if its not a primitve, does it say the name of the type

placid kraken
#

if its a struct it puts the struct name directly

#

if its a pointer it does __elle_pointer.<inner parsed as id>

#

so a Foo<Bar *> would parse to Foo.__elle_generic.__elle_pointer.Bar

#

although im working on turning these specific identifiers into numbers themselves

#

so 0 is __elle_generic and 1 is __elle_pointer

#

i made it numbers

type :ElleMeta = { l, l, w, l }
type :Foo.0.1.1.1.14.1.1.1.14 = { l, l }
function l $Foo.get_a.0.1.1.1.14.1.1.1.14(:Foo.0.1.1.1.14.1.1.1.14 %self.10) {
@start
    %.11 =l add %self.10, 0
    %.12 =l loadl %.11
    ret %.12
}
export function w $main() {
@start
    %.6 =l alloc8 16
    %.7 =l add %.6, 0
    storel 0, %.7
    %.8 =l add %.6, 8
    storel 0, %.8
    %foo.addr.9 =l alloc8 16
    storel %.6, %foo.addr.9
    %foo.5 =l loadl %foo.addr.9
    %foo.5 =l loadl %foo.addr.9
    %foo.5 =l loadl %foo.addr.9
    %.13 =l call $Foo.get_a.0.1.1.1.14.1.1.1.14(:Foo.0.1.1.1.14.1.1.1.14 %foo.5)
    ret 0
}
#

that is a LOT more sane looking

orchid fulcrum
placid kraken
#

none when compiled, but char has extra semantic context

wise spruce
#

In ios 17.0 launch daemons protected by ssv

#

How can i sign a daemon that auto load on start up

#

Anyone knows ? And whats the new path

thin valley
#

Vagina boob

grave orchid
#

Hmm

#

I don't understand

#

Is there something that isn't up to date with apple's webkit

grave orchid
#

How did you make the gradients work on iOS 15

crystal sparrow
grave orchid
#

Howwww

crystal sparrow
#

it was just in the perfect time

#

i took the screenshot

#

and desktop chrome is webkit btw

#

its not webkit 's problem

grave orchid
crystal sparrow
#

idk

#

your pixel is newer ig

grave orchid
#

Hm

#

Doesn't work on iod

#

iOS

grave orchid
crystal sparrow
#

i dont have a 14

#

i have a 7+

grave orchid
#

And it doesn't work

crystal sparrow
#

wait on a 11 pro at ios 14 it will work

grave orchid
#

Send picture

crystal sparrow
#

maybe

#

wait

gentle grove
#

chrome uses chromium engine

crystal sparrow
#

it is

gentle grove
#

on ios it is webkit

#

on desktop it is chromium

crystal sparrow
#

i remember chromium uses webkit

gentle grove
#

it was forked from webkit a decade ago, it's certainly not the current webkit anymore

crystal sparrow
gentle grove
gentle grove
crystal sparrow
#

its based on webkit

gentle grove
#

sorta

#

i think firefox is based on netscape?

#

or it may not be

crystal sparrow
gentle grove
crystal sparrow
#

just make a diffrent version for webkit

gentle grove
#

i have several webkit specific css rules on my website just to make it behave normally

gentle grove
gentle grove
crystal sparrow
#

firefox began when netscape was open soreced

#

what

#

mobile safrai

gentle grove
#

for some reason all the browsers put all the frameworks in their user agent

#

and i dont remember why

#

oh i didnt notice youre simulating one there

crystal sparrow
#

yeah

grave orchid
gentle grove
gentle grove
#

also my fonts look really goofy in chromium for some reason right now

grave orchid
gentle grove
#

it works in ios chrome but not ios safari?

grave orchid
#

Android chrome

gentle grove
#

android chrome should be same as desktop chrome

grave orchid
#

Ph

#

Oh

gentle grove
#

it actually uses chromium

grave orchid
#

iOS is very annoying

gentle grove
#

webkit is a little wonky

#

firefox devtools have a compatibility tab that can tell you if theres something blatantly incompatible with other ones

grave orchid
#

It broken

gentle grove
#

what si the website

crystal sparrow
#

its safari

gentle grove
#

right over here on the right

gentle grove
crystal sparrow
#

yeah firefox says no issues

gentle grove
#

somethings broken about that

#

is this dynamically loaded with js or something

#

i feel like there should be at least some entries

#

instead of none

#

also i feel like its half broken on firefox or maybe thats just the design

crystal sparrow
#

nah its fine on firefox

gentle grove
#

is it supposed to look like this

crystal sparrow
#

wait

#

let me check

granite frigate
#

looks the same on firefox for me

crystal sparrow
#

me too

#

let me try chrome

gentle grove
granite frigate
#

ah

gentle grove
#

but also the layout is equally messed up

crystal sparrow
#

im installing chrome

grave orchid
#

It looks best on mobile

crystal sparrow
#

same on chrome

gentle grove
#

on mobile its super squished for me

crystal sparrow
#

yeah im not going to use nano

#

why do i see KJRKHHGYTHRBUHKUHJTGYUKT

grave orchid
#

I made that commit

crystal sparrow
#

ik

gentle grove
#

i have no idea what is going on here

grave orchid
crystal sparrow
#

idk im try to understand this code

grave orchid
#

Left is android

#

Right is safari

#

And I have no idea what id wrong

crystal sparrow
#

wait appitize has andriod

grave orchid
#

Whar

#

Also should I be using a bootstrap

gentle grove
#

i cant find the matching function in my libnrary

#

oh wait i totally missed an entire section before

crystal sparrow
#

wait safari has vertical tabs

grave orchid
#

I write shit code, hence I am a shitdev

crystal sparrow
#

i completely forgot html and now i need to fix something in it

grave orchid
#

Should I just remove the background graidnet

#

Because it's causing a lot of lag on other legacy devices

crystal sparrow
#

but im making it work for safrai

grave orchid
crystal sparrow
#

idk i just googled

grave orchid
#

O

crystal sparrow
#

i cant fix it

#

i tried

grave orchid
#

Yeah

#

Weird problem

crystal sparrow
#

webkit bad

grave orchid
#

True

orchid fulcrum
gentle grove
faint timber
#

2’s compliment my ass I ain’t complimenting no one let alone 2 people

weary heath
orchid fulcrum
fading shell
#

Maybe TestFlight?

#

I'd assume he has a dev account

weary heath
#

probably, just kinda misleading since he said he wanted it to be where "you open the NYT games app that you open every morning"

orchid fulcrum
#

Technically it is the same app 🤷

weary heath
#

true

grave orchid
#

I think I found the problem

#

It must be overflow: hidden;

slim bramble
grave orchid
#

I am not a furry

slim bramble
grave orchid
slim bramble
#

sure

grave orchid
slim bramble
#

no

grave orchid
slim bramble
#

funy

grave orchid
#

But not a furry

slim bramble
#

Bro cooked again

orchid fulcrum
crystal sparrow
#

Explain

grave orchid
#

If I removed overflow hidden

#

It removes the borders

#

Which makes it better

crystal sparrow
#

Hmm let me try

gentle grove
grave orchid
#

I'm still learning

harsh junco
crystal sparrow
#

Can you put the code on GitHub

#

Because I can’t find overflow hidden

grave orchid
#

The commit is called fix iOS attempt 1

crystal sparrow
#

Oh ok

#

Still bad

#

@grave orchid

grave orchid
#

Yeah idfk

crystal sparrow
#

Just remove the background effect

#

Or remove it if there is iOS in the user agent or smth

crystal sparrow
#

It should be iPhone OS

#

Mozilla/5.0 (iPhone; CPU iPhone OS 15_8_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.6 Mobile/15E148 Safari/604.1

#

There is no iOS

#

Only iPhone OS

harsh junco
grave orchid
#

I don't want to talk about it

granite frigate
#

that is pretty scuffed

grave orchid
#

What is scuffed

granite frigate
#

mobile

grave orchid
lusty jacinth
cloud yacht
#

Can I see to access its photoshopped-nsss

orchid fulcrum
#

About the capability of sparserestore above 17.0; can it be used to overwrite a deletable system app with any app i want so it becomes basically a perma signed app i can use ? If so, does it keep the original apps entitlements ?
Also i wonder the same thing about appstore apps, can i install an app with a target entitlement and then overwrite it with sparserestore, in order to keep the entitlement it has (or to simply have a permament sideloaded app instead)

fading shell
#

no

#

the app will just crash on launch

#

source: i tried it

#

did not work

#

Tips just does not launch anymore on 17.2.1

orchid fulcrum
#

Ohh right, alfie was talking about how installing and codesignature/launching were different things

fading shell
#

yeah the executable would still need to be signed

orchid fulcrum
#

Is it a write exploit in /var or /private/var though ?

weary heath
#

i thought /var was a symlink for /private/var

fading shell
#

/var is just a symlink for /private/var

#

yes

orchid fulcrum
#

And to apply does it actually restore (ie. the phone reboots) or does it cancel it and its a seamless experience. I didn't have the chance to try it yet (and also idk how to use it anyway lmao)

fading shell
#

It restores but includes a faulty file which causes the restore to cancel

#

But the files are still overwritten

#

And you need to reboot

#

Also, there's gonna be the Setup screen again

#

Where it'll ask you to transfer data, choose your language etc

weary heath
#

nugget dev said they found a bypass for the setup screen, not sure if it's out yet

fading shell
#

Hmm

#

Maybe

orchid fulcrum
fading shell
#

/var is /private/var

#

Just a symlink

orchid fulcrum
#

Well sure, is it an exploit that can write there ?

#

Talking about sparserestore

weary heath
#

yes

placid kraken
#
struct Array<T> {
    i32 size;
    i32 capacity;
    T *elements;
};

fn Array::len<T>(Array<T> *self) -> i32 {
    return self.size;
}

fn Array::with_capacity<T>(i32 initialCapacity) -> Array<T> {
    Array<T> array = Array {};
    array.elements = malloc(initialCapacity * #size(T));
    array.size = 0;
    array.capacity = initialCapacity;

    return array;
}

fn Array::new<T>(ElleMeta meta, ...) -> Array<T> {
    Array<T> array = Array::with_capacity(2);

    if meta.arity > 0 {
        variadic args[meta.arity];

        for i32 i = 0; i < meta.arity; i += 1 {
            array.push(args.yield(T));
        }
    }

    return array;
}
``` this is becoming so complicated i cant imagine ever having a self-hosted compiler at this rate
gloomy gale
#

Hi ,

I hope you're doing well! I’ve been working on a tweak to manage or hide certain apps' battery usage, and I’ve made some progress. You can check out what I've done so far using this link:

However, I ran into some issues with my Mac last night, and I currently don't have Xcode installed to package the tweak into a .deb file. Could you help me package it properly into a .deb?

Let me know what your fee would be for this. Looking forward to your response! 😊

Thanks again!

Best regards,

radiant idol
#

where is the link

#

@gloomy gale

gloomy gale
#

@radiant idol

#

U can help ?

radiant idol
#

Where is the link

gloomy gale
#

Check Dm

#

@radiant idol

radiant idol
#

I don't see anything

gloomy gale
#

U message me

#

@radiant idol

radiant idol
#

I can't

#

I have to add you as a friend to do that

gloomy gale
#

Accept req

rocky oriole
wise spruce
#

here

gloomy gale
gloomy gale
#

@rocky oriole

#

@wise spruce

rocky oriole
#

Accepted. Send it

wise spruce
#

i’ll open it

rocky oriole
rocky oriole
#

@gloomy gale You claimed you were working on the tweak, not chatGPT.

gloomy gale
torn oriole
#

@radiant idol this guy feels oddly familiar

manic forum
#

idea

#

on device ai tweak generator

torn oriole
manic forum
#

create your very own bootloop troll

#

powered by ai

torn oriole
#

Ngl a whole like

rocky oriole
#

I have homework to do goodbye

torn oriole
#

"Tweak Dev GUI" or whatever would be pretty baller

manic forum
#

xcode interface builder but it generates code?

#

Something like that?

torn oriole
#

Simplify the tweak dev experience troll

#

And then proceed to create a whole new era of tweak dev slander for people who used the "easy way"

hasty ruin
#

Still beats swiftui

manic forum
#

idea

torn oriole
#

SwiftUI tweaks troll troll troll

manic forum
#

block based tweak ide like scratch

wise spruce
#

Apple when moving completely to swiftui in ios 19 troll

manic forum
#

i don't think they can just do that

orchid fulcrum
#

Apple when moving xnu completely to rust in ios 19

wise spruce
#

they'll do this gradually

#

not the xnu thing

#

swiftie

gentle grove
#

chatgpt is a disease

shrewd smelt
#

BobaGPT will revolutionize the AI industry

gentle grove
#

ai is a diswase

manic forum
#

ai is actively and exclusively being utilized to solve problems that don't exist

#

there are exceptions but that's the majority

native orbit
shrewd smelt
#

iOS 18's best AI feature is notification summaries so i don't have to read aaron's wall of text in announcements

shrewd smelt
#

Over 1 characters, too long

gentle grove
#

stkcOS forgot to add the singular form of all the strings to the i18n maps

cloud yacht
shrewd smelt
torn oriole
#

i would honestly applaud them over calling it cursed

radiant idol
#

furries can't build shortcuts man

gentle grove
gentle grove
#

how

#
  1. arrange systematically in groups; separate according to type, class, etc.
#

where are the groups

cloud yacht
gentle grove
#

thats the entire original point of the question

#

your response made no sense because it was entirely wrong

#

string concatenation

#

or decatination

#

trim pwd off the front

native orbit
#

realpath fr

#

there a flag for it

#

u on new macos aint u

#

last few version i think

#

they removed the command

#

need install coreutils off brew

#

can prolly do some haxx with find command maybe

gentle grove
#

just call python at this point

#

python is included in macos isnt it

#

you do you

cloud yacht
#

Count the number of / in the current dir add ../ for each / then append . and your other path

gentle grove
#

if you need something reliable, you want an actual language and stdlib

#

well i cant stop you can i

#

kill me

#

time to compile esphome c++ on i5-2310

native orbit
#

tf u doing where u need it fully stock

gentle grove
#

use meson

native orbit
#

use cmake

#

(pls dont)

#

makefile or script the only valid ways

#

makefile calling xcode build

cloud yacht
#

Why do you need relative path?

#

You could probably look at pwd and if the dest path starts with it then replacr that part with . Otherwise increment a counter and cd .., then repeat. Append, as many ../'s as the coubter counts

gentle grove
#

meson is the only valid way in the current decade

wise spruce
#

what's the path for status bar icons?

gentle grove
#

show

shrewd smelt
#

cock

gentle grove
#

@grave sparrow rate the struct

// Provided by VK_VERSION_1_0
VkResult vkEnumerateInstanceLayerProperties(
    uint32_t*                                   pPropertyCount,
    VkLayerProperties*                          pProperties);
#

oh actualyl im stupid that does have a purpose

#

nvm

#

i was thinking its stupid because uint32_t* but i just realized thats becaause its an output

#

what

torn oriole
#

Apple developer; make their codebase work with newer xcode challenge (IMPOSSIBLE) (XCODE GOT HANDS?)

faint timber
#

commit axe murder asap

torn oriole
#

Probably apple'd their way through this one somehow

#

I wouldn't put it past them

gentle grove
#

guys i might be about to use c++ or rust as a scripting language

faint timber
#

use what you know the best

gentle grove
#

thats not really what i meant

#

im trying to make a video editor where you write code to make the video, but figuring out hwo to make a javascript runtime would be a huge task

#

so what if i just compile rust files on the fly and execute them instead of figuring out an actual scripting language

#

javascript can become the task later once i have a first version

faint timber
#

just link against ffmpeg

gentle grove
#

i mean im gonna make my own wrapper around it to make it an actually good api to edit with

#

because writing stuff with 5 c raw ffmpeg c libraries is the worst way

faint timber
#

yah but no way bash or python can do this

gentle grove
#

i mean like id have a javascript runtime which would just get the types and methods bridged over from my rust api i make

#

so then you wouldnt have to learn rust to edit videos (only js, maybe thats worse)

#

you know maybe js is worse

#

if i can compile the rust scripts to .so easily from my program then we should be good

#

hopefully there isnt a problem of abi if i compile it on the fly

#

oh but compiling rust is slow so that gets annoying fast

granite frigate
#

writing code to make videos? how does that work :o

gentle grove
#

and its all declarative

granite frigate
#

ffmpeg wrapper?

#

🔥

#

lets go

#

where are non-removable system apps stored?

crystal sparrow
granite frigate
#

oh bummer

gentle grove
#

its got so many good things to mess with

#

it would be really funny if i made a cover of a song using samples from this video...

grave orchid
#

hello

#

I got something funny

granite frigate
#

show

grave orchid
#

turns out

#

ios

#

doesn't support that many items in safari

#

so I edit code again

#

so I must remove all of the gradients

placid kraken
#

lua ❤️❤️❤️❤️❤️❤️

placid kraken
cloud yacht
#

Lua my beloved

manic forum
#

said no one ever

placid kraken
#

lua >>>>

harsh junco
gentle grove
gentle grove
#

also this is gonna involve a lot of monads

#

idk if lua is even oop enough to handle that well

wooden yarrow
#

i think

gentle grove
#

you can Option::map without directly branching in your code on whether it's Some or None, which i think is what monad means

#

not entirely sure

wooden yarrow
#

hm

reef trail
gentle grove
#

im talking about rust

reef trail
#

so anything that takes self as an arg is called with a .

gentle grove
#

theyre literally the same thing in rust, and ive always thought it was more correct to say the actual method because Option.map is not valid syntax if you pasted it in

reef trail
#

but Option::map is also not valid

gentle grove
#

it is though

reef trail
#

since Option isn't an instance

gentle grove
#

Option::map(my_option, predicate)

#

thats all methods are in rust

#

its just sugar

reef trail
#

i don't even think the compiler will let that pass, my_option.map(predicate) is the idiomatic way of calling it

gentle grove
#

if you look at js docs, people use Option#map (but equivalent because theres no Option in js)

#

it's more idiomatic to say the method generically than with the . because the dot means something specific

reef trail
#

i disagree but to each their own

#

as any normal person would in a codebase

gentle grove
#

they dont use anything, they just show you the methods

reef trail
#

they'll show you the class it's apart of in some cases

#

ie Option.map()

gentle grove
reef trail
#

that's cos it's the namespace i'm pretty sure

#

not that you're calling it with that

#

ngl it doesn't really matter anyway lol

gentle grove
#

also a common pattern with maps is referring to the actual method instead of making a closure

// turn this to a string
["jakdskf", "djasfjkkaf"].into_iter().map(std::string::ToString);
gentle grove
#

notice how it says method on the left

gentle grove
reef trail
#

yeah ik but it's the namespace to the method, not how you would call it

gentle grove
#

i picked the wrong example

reef trail
gentle grove
#

it is the method because thats what a method is in rust

#

its just implicitly passing self when you put .

#

that is all

#

you can all it using :: syntax if you want, the rust reference mentions that

reef trail
#

in what world would you manually pass that tho

#

for what reason

gentle grove
#

you wouldn't? but that's not the point?

#

it's more correct to refer to the actual method object instead of writing invalid syntax using dot which doesnt mean anything

reef trail
reef trail
#

you're suggesting it's something you should do

gentle grove
#

in documentation you write by referring to the actual method, this is standard basically everywhere in programming

#

it doesnt make any sense to write invalid syntax to refer to a method

reef trail
#

sure but if you're telling someone how to call it you're not going to give them the namespace to the method you're going to show them how to call it

#

option.map()

#

not Option::map()

gentle grove
#

if you go in the rust server, that is what the convention is

reef trail
gentle grove
#

someone goes
"hey how do i apply something to an option if it's some but just propagate none if it's none"
"you need to use Option::map"

#

makes the most sense

reef trail
#

i suppose

#

again, it doesn't really matter

gentle grove
#

good

#

i am glad

#

you were the one acting like it did when i used it

#

if you want to be a normal person then you use it

#

if you were really insistent on using dot notation then you can just omit the start and say "use .map("

reef trail
gentle grove
#

and that's relevant how? you were the one making a fuss over it lol

#

and also confidently incorrectly saying Option::map and Option.map (the latter technically not existing) are different

reef trail
#

we're arguing over semantics, im ngl i have much better things i could be doing

gentle grove
#

you were incorrectly arguing over semantics, i was trying to correct you

reef trail
#

bro, leave it

#

irdc anymore

orchid fulcrum
#

Does anyone know a c++ learning material that only covers the additions over c

orchid fulcrum
orchid fulcrum
gentle grove
placid kraken
#

horror

gentle grove
#

but monads are good

placid kraken
#

fp when writing code for a video might actually be the most interesting idea i’ve heard in a while

gentle grove
#

yeah

gentle grove
# placid kraken fp when writing code for a video might actually be the most interesting idea i’v...

ive been trying to work out how stuff might actually be connected

i first thought of using a javascript runtime but ive neverdone that and dont know what that involves (do i potentially just wasm-bindgen all my types and make them serialized out from the js execution?)

Then i considered at least being able to write video in rust as a prototype but then thats unstable abi hell, and slow to build

#

still think js runtime is the final solution but idk how yo do stugf

placid kraken
#

imo luau? fast to compile, fast to run, easy to bind types to, easy to embed idk

#

i joke about lua but it may actually be a good idea

#

i will say, after effects uses a subset of JS for expression values

#

it is not very nice because you’re writing js

gentle grove
#

i dont think lua has enough oop to do anything

#

its painful to write too

placid kraken
gentle grove
#

does it even have a particularly strict type system yet

placid kraken
#

luau does iirc

gentle grove
#

js has everything you need in terms of types

placid kraken
#

thats more TS

gentle grove
#

prototypes ✨

placid kraken
#

if you access a null property in js it feels the need to not tell you until runtime

#

painful for refactoring

gentle grove
#

which is fine because itll be run

#

theres no compile step

placid kraken
#

hmm ok

#

so it’s gonna be jit then?

#

are you planning to embed node or write your own orrrr

gentle grove
#

im curious whether there really is a type binding thing in lua in rust which is also easier than any js relatef solution

gentle grove
#

i imagine they have better rust bindings than node

#

since, you knwo

placid kraken
#

fair

gentle grove
#

i just need to be able to bridge type definitons (preferably without redefining them all manually in ts and wrapping the ffi calls) basically i thinm

#

and be able to just export default the final type structure which represents the video, and convrtt it back to rust types

placid kraken
#

you could autogen .d.ts files from the rust bindings

gentle grove
#

idk i was hoping thered be some option that could just like inject everything to the runtime and convert transparently without generatimg stuff

#

plus idk how the ffi goes

placid kraken
#
  1. pointers are numbers
  2. floats are numbers
  3. ints are numbers
manic forum
#

Not sure what your looking for exactly but I recently used duktape to embed JavaScript into C++ and it worked great

gentle grove
#

its because i wanna avoid having to write half my code in js instead

placid kraken
#

imagine having a nice interface with floats, an array in the form of a whatever* and a bunch of ints of different sizes

#

in js they’re all : number

placid kraken
gentle grove
#

but what exactly does it do in full

#

Does it solve the problem of bridging types and ffi which is bascially the entire issue

#

just running js isnt a problem because deno

placid kraken
#

Duktape is an embeddable Javascript engine, with a focus on portability and compact footprint.

Duktape is easy to integrate into a C/C++ project: add duktape.c, duktape.h, and duk_config.h to your build, and use the Duktape API to call ECMAScript functions from C code and vice versa.

#

you get given an api in the js to run C code

manic forum
#

You can create functions in JS that just call C functions

placid kraken
#

in this case rust code

gentle grove
#

but idk if thats the problem

#

Basically i want to write my object model (all my types and methods to transform them) in rust but have all that accessible from js

manic forum
#

Duktape lets you do exactly that

#

But you'll need to create the JS objects manually unless the Rust bindings do some magic

#

The API takes some time to get used to but after that it's quite simple

gentle grove
#

also depends if es5 is enough

manic forum
#

yeah there's also that

gentle grove
#

does it at least have esmodules

manic forum
#

its js is not exactly modern

manic forum
#

You could also straight up embed v8

#

I just don't think running Deno or Node externally would work too well, unless you write a majority of the code in JavaScript

reef trail
gentle grove
#

yeah but lua sucks

manic forum
gentle grove
#

ill consider it but i dont think its object model is strong enough for my needs

reef trail
#

you'd be surprised

#

it can get a little bit hacky but it's doable

gentle grove
#

i dont even know how classes work in lua

reef trail
#

__proto__ iirc

manic forum
#

actually, Lua's API doesn't look too bad

#

i should do something with it

reef trail
#

no lua is quite nice, only hinderance i have with it is 1 based indexing

manic forum
#

oh right

#

yeah nevermind no lua

gentle grove
#

can you have type wrappers easily in lua

reef trail
#

i think you can do it but it might've been through doc comments

#

i honestly can't remember

gentle grove
#

struct Trim(Box<dyn VideoStream>)

reef trail
#

generics?

gentle grove
#

No

reef trail
#

oh nvm i'm dumb

gentle grove
#

A type thar just contains one other

reef trail
#

i've only really seen that in rust

#

but if lua hasn't got a standard way of doing it you could just have an object with one field

gentle grove
#

generics are necessary but maybe work through dybamic typing

#

Oh it has generics anyways

reef trail
#

yeah lua has generics

gentle grove
#

Ive decided ill just use v8 because then i can say i use a v8 engine

granite frigate
#

okay apparently ipatool is bugged because purchasing is busted

#

is there any way to purchase removable system apps?

stray viper
#

Arent they purchased by default?

granite frigate
#

Apparently not

stray viper
#

Oh you are using ipatool py

granite frigate
#

Apple Music, measure, literally none of them are purchased

#

Yeah

#

ipatool golang also has the same issue when I try it with CLI

stray viper
#

Maybe try their method for old version

granite frigate
#

What's that

stray viper
#

You can run an itunes server on windows and download old versions through it

granite frigate
#

Oh that's cool

stray viper
#

Try using the server to purchase instead

granite frigate
#

where do I find how to selfhost a server?

stray viper
#

Theres a guide in their github

granite frigate
#

oops didn't see the readme

#

thanks!

timid furnace
#

Well yes but also no

#

You don't get the proper versions but some garbage stubs instead

#

Why