#development

1 messages · Page 527 of 1

indigo peak
#

i have not been making good progress on harmony v2

#

it looks horrible

grim sparrow
#

This is technically allowed on App Store which is funny

#

It will work from the App Store too

#

only if ur jailbroken

indigo peak
#

at this point i only want to push this tweak so i can prove to everyone who said i cant bc react thast i can

grim sparrow
#

But I’m. It

indigo peak
#

troll

grim sparrow
#

But I’m not

#

Fuck discord

#

App crashed

restive ether
#

if unveil can make it anyone can

grim sparrow
#

ok back in a couple minutes

#

Nope

#

Read the source

#

Read the source

#

Read the source

#

Read the source

#

No

indigo peak
#

i dont think any of you have been in vc's lately bc you have no friends, but has the ping just started getting really bad for no reason

grim sparrow
#

So am I

#

And my phone has 4%

#

And I just left and I need to use Apple Pay

#

In 10 minutes

#

lol

indigo peak
#

then stop talking on discord dummy

grim sparrow
#

I plan to

indigo peak
#

THEN DO IT

grim sparrow
#

uwu~ DA SOFFWAWE IS PWOVIDED “AS-IS”, WIFFOUT WAWWANTY OF ANY KIND, EXPWESS OR IMPWIED, INCWUWDING BUT NOT WIMMITED TO DA WAWWANTY OF MEWCHANTABIWITY, FITNESS FOR A PAWTICUWAW PURRRRPOSE AND NONINFWINGEMENT.

grim sparrow
tepid olive
#

Can I learn C++ to help me learn objc for tweak development or should I just learn objc by itself?

grim sparrow
#

Learning C++ would probably be of very little use

#

ngl

tepid olive
#

Ok, thx

tepid olive
#

Ok, I’ll look I to C. Thank you

indigo peak
#

balls

grim sparrow
twilit jungle
tepid olive
#

Does anyone know how I can make a repo with a github account? I've seen many people do that with https://their-username.github.io/

#

Like I know you need to make a repo for github too, I just don't know how to go about it

snow python
#

^that will explain everything you need to know

tepid olive
#

Ok thankyou

glacial matrix
#

You should be using more property access and less getattr

gentle crescent
glacial matrix
#

Instead of

        if getattr(getattr(ctx, "guild"), "roles")[getattr(getattr(user, "top_role"),"position")] > getatttr(user, "t"+"o"+"p"+"_"+"r"+"o"+"l"+"e"):

do

        if ctx.guild.roles[user.top_role.position] > user.top_role):
gentle crescent
glacial matrix
#

Hm

#

Should’ve been worse written

gentle crescent
#

id like to see u try

glacial matrix
#

Well, for one,

    if isinstance(user, type(ctx.author.guild.me.guild.me.guild.me)):

Could use more getattrs

tepid olive
#

i want to block some domains what command should i use errorWithDomain?

#

at tweakxm

tepid olive
#

anyone there

glacial matrix
#

There’s too little context to your question

tepid olive
#

wdym

glacial matrix
#

What do you mean by “command” and “errorWithDomain”?

#

(Besides the lack of punctuation making it less clear of a question)

tepid olive
#

i remember something for block domains

#

errorWithDomain:code:userInfo:

#

something like this

glacial matrix
#

That’s just a method to create an NSError

tepid olive
#

i have a some domains which block detections that i use on

glacial matrix
#

I hope you don’t expect to be spoonfed an answer here. At least not by me, one of the reasons being that I don’t know how to “block a domain” without googling about the subject, which I hope you did

glacial matrix
#

Thank you f(o)r the emote

next wadi
#

true

twilit jungle
twilit jungle
twilit jungle
proper reef
#

hello. I am trying to import functions from a large library w/ dlopen and dlsym. Is there an easier way to define the functions than the complicated mess of pointer definitions I am using rn?

twilit jungle
hardy glen
#

Just turned in my CS lab with a mem leak and got a 100% fr

#

lmao the same program crashed on mac, but it ran on linux

vivid dew
tepid olive
#

What dimensions should the icon be for the preferences for a tweak?

tepid olive
#

Thanks

lament parcel
#

@everyone

tepid olive
#

ye nice try

tardy narwhal
#

@lament parcel inshallah gtfo

warped hawk
#

Hi, is there a way to copy system libraries off the phone and onto the computer without opening Xcode and having it auto-copy them?

grim sparrow
#

ssh?

restive ether
#

ssh isn’t real

#

it can’t hurt you

#

unless you’re the guy who just posted his ssh gui on r/jailbreak

restive ether
#

oh i sent the entitlements

#

it’s the wget guy from a few days ago

grim sparrow
#

//kiracmlt("./iproxy2") //I TRIED TO MAKE A SCRIPT TO START IPROXY ON LAUNCH UP!! ITS NOT WORKING, RUNNING THE SCRIPT FROM TERMINAL INSTEAD WORKS FINE.

restive ether
#

lmao.

grim sparrow
#

oh

#

my

#

god

#

UserDefaults().string(forKey: "rootpassword")!

#

whats worse, default password or storing the password in plain text in mobile (something any app can read)?

restive ether
#

hmm

#

probably plain text storage

native dune
#

someone should make a libimobiledevice wrapper so people don’t use [redacted]

warped hawk
# grim sparrow ssh?

I need to do copy the system libraries out of a non-jailbroken phone, so I can't use SSH

grim sparrow
#

Dump an ipsw then

warped hawk
#

How do I do that

grim sparrow
#

Download an ipsw

#

Unzip it

#

Mount the dmg

tepid olive
#

Look at the fugu script

warped hawk
#

A ~4GB download would be too slow for this use case (this is for a service that runs an app repeatedly in the cloud, and for various reasons it can't have a persistent 4GB file for each run, so it has to download it each time)

grim sparrow
#

What is your use case

tepid olive
#

or you could use partialzipbrowser / libfragmentzip

#

there's no partialdmg

#

oh

snow python
grim sparrow
#

It would probably help knowing that actually needs to be done

snow python
warped hawk
#

The use case is a service, using AWS Device Farm, that runs an app with Instruments' Time Profiler and then shows the user a flamegraph of the result. From the Instruments .trace output we get a bunch of stack traces with addresses that we have to symbolicate for the flamegraph, so that's the issue.

#

You can try to symbolicate on-device, but it appears that you can't access dylibs except via the shared cache, where local symbol names have been stripped

viral ermine
#

Anyone know why I'm getting a signing error in theos?
Error 2, I've done some research but can't seem to find a solid answer.

weary heath
#

send the full error

swift plinth
viral ermine
hardy glen
hardy glen
#

i did it on purpose

swift plinth
haughty tulip
next wadi
#

dont care

indigo peak
#

s

tepid olive
#

hi donut fucker

#

you’re down bad

#

have a nice day

gentle grove
#

troll

tepid olive
#

Reply with that

gentle grove
tepid olive
#

Actually no

#

Reply with this

#

"Since my admission in the beta program, I have learned that Warp is being developed with the Rust programming language. With that in mind, I can’t fathom using such a program, as it is definitely not ethical. Thanks for understanding"

#

@gentle grove

restive ether
#

make a shell in zig

gentle grove
#

lol

gentle grove
restive ether
#

and a term in zig

tepid olive
#

What is zig

restive ether
#

zig is like the worst aspects of every programming language

#

ncdu 2.0 is zig

gentle grove
restive ether
#

yeah the alpha rewrite is in zig

gentle grove
#

it looks like rust tbh

#

rust + js

#

and that's it

restive ether
#

any language that uses emojis in their advertisements it’s a rust rip off

#

or go

gentle grove
#

this just looks like rust

#

except for the const part

#

and struct part

#

other than that

#

ok what i mean is those are the same type names rust uses

#

u8, i8, for unsigned and signed 8 bit

#

etc

#

i know regular ncdu is in C

#

beacuse i tried to look at its code while i was writing smines

#

but it uses ncurses really weirdly

#

so it ended up being useless

restive ether
gentle grove
restive ether
#

fr

gentle grove
#

and compare speed

#

same speed

#

ram usage is 0.8 GiB less than ncdu 1

#

0.15 GiB ram for ncdu 1 and 0.7 GiB ram for ncdu 2

grim sparrow
#

@lime pivot I think you need to manually refresh the price of it again

#

(Zinnia)

tepid olive
grim sparrow
# tepid olive thanks lucy

It happened with a LaughingQuoll tweak a while back and I remember the fix being something along the lines of manually refreshing it

#

It’s only showing $0 for some people though?

lime pivot
#

lol, erm, what

lime pivot
grim sparrow
#

Idk

#

You did something last time

#

Cause it was showing $0

#

For some LQ package

#

For a month

lime pivot
#

hmm, I mean those requests are uncached (design flaw of payment api)

#

well I didn't repro that, but I did manage to make something not in the queue show QUEUE and then on tap block the screen with a blur view I can't dismiss lol

grim sparrow
#

Also update your packages

#

:)

indigo peak
#

true

lime pivot
#

lol yeah

#

I haven't used this phone in weeks, battery actually died for the first time in like half a year

grim sparrow
#

Wow

lime pivot
#

was pretty far behind on checkrain updates that it was crashing on Monterey

#

@tepid olive wyd bro

grim sparrow
#

He’s trying to overwrite something which is part of something

lime pivot
#

ok it worked after I went and ran the last few pending updates again. missing a Pre-Depends: / Breaks: ig?

lime pivot
grim sparrow
#

Thank you Kirb!

lime pivot
#

oh… @grim sparrow I know why I cleared cache last time

#

no clue if it "fixed" it really. but I remembered it's figuring out whether to call the API based on cydia::commercial tag

grim sparrow
#

Ah

#

Ok

lime pivot
#

if not refreshed yet it's going to call it based on the stale cache still saying it's paid

grim sparrow
#

Ok yeah that makes sense

#

Sorry woeis

lime pivot
#

it could have been on our side that time because we were having some issues with the repo edge cache not clearing properly back then, but idk if there's anything to fix this time around, just how it works I guess

#

although I could mask the problem by returning string "FREE" instead of "$0"

grim sparrow
#

Tbh it’s probably just an edge case that’s not worth it

restive ether
grim sparrow
#

It’s very unlikely for something like that to happen

lime pivot
restive ether
#

@cameron

#

man

lime pivot
#

where's cameron but spelled correctly

restive ether
#

i’ll ask him to fix it

#

just an upgrade path thing i guess, i remember having that issue initially but someone fixed it

lime pivot
#

yeah this upgrade path ordering can be a pain in the butt

#

just need to add a hint that ncurses-bin needs to be updated first with Pre-Depends: and/or Breaks:

indigo peak
#

he left

#

because he wouldnt get dev role

restive ether
#

i couldn’t give it back

tepid olive
#

Love Procursus contributors

restive ether
#

i always do whenever he comes back for his five seconds

tepid olive
#

Give me dev role
gets it
asks a question
leaves

lime pivot
#

confirmed by /r/jb discord: pro contributors are not developers

indigo peak
#

@restive ether @tepid olive that is very true

tepid olive
hexed bolt
#

I recently reinstalled macOS on my MacBook Pro, and now while building anything "swift-driver version: 1.26.9" appears a lot.
Is there a way for me to hide that?

lime pivot
#

or Lisp

restive ether
vivid dew
#

it all returns to lisp

restive ether
#

if you know how to write emacs lisp you’re a freak

lime pivot
#

Lisp seems more appropriate given there's literally an example in the make docs about overriding make to execute Lisp instead of bash

#

ever just write a makefile in Lisp

vivid dew
#

no

#

all my makefiles are written in tcl

tepid olive
#

Should I learn Julia

restive ether
#

sounds gay

lime pivot
#

I even considered semi-rewriting Theos with SHELL = perl once

restive ether
#

is that another broke language no one actually uses but everyone talks about

lime pivot
#

rewrite all Theos's logic as Perl contained inside .mk makefiles

restive ether
#

yes

tepid olive
#

idk

#

its better than rust

#

thats all i know

restive ether
#

is it better than zig dog

tepid olive
#

never used it tho

restive ether
#

that’s the true test

tepid olive
restive ether
tepid olive
#

me

tepid olive
lime pivot
hexed bolt
restive ether
#

theos isn’t real it can’t hurt you

tepid olive
#

dabezt alt

lime pivot
vivid dew
#

it's time to retire theos

lime pivot
hexed bolt
vivid dew
#

ending theos development is the best way to kill jailbreaking for good

lime pivot
#

oh you're right, we did merge it

#

yeah we should prooobably fix that

#

I see why, Apple did something janky

tepid olive
#

I love brew

#

Is the gcc download really that massive

lime pivot
#

gonna spend like 30 years downloading and 40 extracting a bunch of .tar.gz's

#

certified bruh moment /cc @gaunt mesa

tepid olive
#

I did that instead actually

lime pivot
#

it actually makes me angry that he was able to beat brew by such a margin

tepid olive
#

ikr

#

well this is slow too

#

its not bruh's fault

restive ether
#

@lime pivot convince andy to delete that garbage theos installer from packix

lime pivot
#

but at least then you can blame it on GitHub container registry being slow shit lmao

tepid olive
#

It's fine

#

tbf

lime pivot
#

Bintray was so much better but they one day suddenly decided to shut down with only a few weeks' notice

tepid olive
#

I don't like how it asks you to install xcode tools but then makes you install a massive gcc package

restive ether
#

randy420 can’t code

weary heath
#

He’s a mod in main telegram

restive ether
#

if you can’t run git clone you shouldn’t be allowed to publish tweaks

restive ether
weary heath
#

Not sure

lime pivot
#

was more devastating for Java devs because JCenter (also shut down with Bintray) is pretty much a default in all Android projects

restive ether
#

someone said he wasn’t anymore

#

he still published apt fix

weary heath
#

When even a pirate repo has standards

restive ether
#

worst idea ever conceived

tepid olive
#

@lime pivot rip

tepid olive
restive ether
tepid olive
#

When 420 is your entire personality

restive ether
#

the dylib got too high

lime pivot
#

hahaha funny weed number is funny

restive ether
lime pivot
#

I respect that the donate link is broken and he hasn't bothered to fix it

restive ether
#

i like deleting every file that errors on elu apt too

lime pivot
#

I mean thank god NSTask forces you to pass arguments as an array rather than one big string

#

there would be soooo many shell injection vulns in tweaks if not for that

gentle grove
tepid olive
#

TS

gentle grove
#

same thing

restive ether
#

he said let me stuff as many links as i possibly can here

#

and pray they all work

#

without testing it

#

truly amazing

lime pivot
#

good job randal

restive ether
#

i think that speaks to the greater quality of their work

#

not like you needed to guess

vivid dew
#

dude weed lmao

restive ether
#

someone who thinks deleting every single log and error file is a good idea probably isn’t the guy to trust

#

saily moment

lime pivot
#

ok this entire package is just confusing

#

why is it written as a bunch of NSTasks that run a shell script

#

why not…

#

gasp I don't know

#

just ship a shell script

vivid dew
#

anyone can write a shell script

gentle grove
vivid dew
#

to separate yourself from the crowd you need to be unique

gentle grove
#

this language is disgusting

lime pivot
restive ether
#

it deletes all the files that could possibly error with dpkg and apt

gentle grove
hexed bolt
# gentle grove i cant read this code, what does it do

killall Cydia;killall apt apt-get;rm -rf /var/log/apt;mkdir /var/log/apt;rm -f /var/lib/apt/lists/lock;rm -f /var/lib/dpkg/lock-frontend;rm -f /var/cache/apt/archives/lock;rm -f /var/lib/dpkg/lock;dpkg --configure -a >/dev/null 2>&1

gentle grove
#

wtf is /usr/bin/gap

restive ether
#

that cydia doesn’t clean up or can’t clean up

gentle grove
#

thats the one thing i can read

lime pivot
#

doesn't Cydia mostly know to do these fixes anyway

gentle grove
#

i will s/;/\n/

vivid dew
#

kiwwaww Cydia;kiwwaww apt ^w^ apt-get;wm -wf /vaw/wog/apt;mkdiw /vaw/wog/apt;wm OwO -f /vaw/wib/apt/wists/wock;wm -f /vaw/wib/dpkg/wock-fwontend;wm -f /vaw/cache/apt/awchives/wock;wm -f /vaw/wib/dpkg/wock;dpkg ----configuwe -a >->/dev/nyuww 2>&1

restive ether
#

i’ve found it doesn’t do a very good job

tepid olive
#

JSONDecoder is being a bitch ugh

lime pivot
#

eg when apt prints the error that you should run dpkg --configure, it just runs it for you

restive ether
#

a lot of dpkg / apt files seem to go bye bye a lot for no reason

#

also the super epic cydo errors

lime pivot
tepid olive
#

Me when some JSONDecoder finds a string for some people and an int for some people

#

So it crashes

restive ether
tepid olive
#

Well

#

Not crashes just doesn't work

gentle grove
tepid olive
#

woeis

lime pivot
#

mfw /vaw/wog/apt

#

/dev/nyuww

#

did you know you can make your own /dev/null wherever you want

#

you could make your own /dev/nyuww

tepid olive
#

wtf how

lime pivot
vivid dew
#

i'd rather not

tepid olive
#

ok ghcr is actually really slow rn

#

wrong window nfr

gentle grove
lime pivot
tepid olive
#

Almost done installing gcc, the package i already have intjpray

#

halfway done, not almost

restive ether
#

fix your font

#

and give me a nerd font in newterm dad

lime pivot
#

I use sf symbols actually

#

just the setup is broken on my linux machine for whatever reason

#

it's meant to enable if it detects me sshing from iTerm

tepid olive
lime pivot
#

there's an example of $LC_TERMINAL being useful lmao

gentle grove
#

g

lime pivot
#

I need to revise it again to see if they added any useful icons in SF Symbols 3 this year

#

there's a lot I just had to replace with something pretty generic because there was nothing useful for it in SF

#

but otherwise it works well, you just need the SF Symbols app installed

tepid olive
lime pivot
#

though that might have changed this year since symbols are now merged into the combined SF Pro font

lime pivot
#

inside a switch of all the iconsets it supports

#

just search for stuff in the app and right click --> copy symbol

tepid olive
#

alright

#

ty

lime pivot
#

lmaooo

#

hey one of the other options was swift!

#

like, you know

#

the compiled language

#

being used as an interpreted language

#

you actually can do it, it's just slow, also awful because of the way make runs each command separate from each other (bash -c 'whatever')

tepid olive
lime pivot
#

so you end up doing like ```make
all: blah

blah: blah.o
import Foundation
try! FileManager.default.copyItem(atPath: "$@", to: "$<")

blah.o: blah.swift
import Foundation
try! Task.launchedProcess(launchPath: "/usr/bin/swift", arguments: ["$<", "-o", "$@"])

#

lol indeed

lime pivot
#

there was logos.py uro was playing around with, but tbh ultimately I don't think it's worth it

#

Orion should be seen as the successor to Logos

#

Theos itself though, yeah we talked about it but don't really have a good answer

#

at the least we know if we rewrite, whatever it'll end up being won't be compatible with current projects

#

there's no real way we can switch from Make to something else and somehow retain 100% makefile compatibility

#

it’s a bit of both

#

the 2 slowest things are make startup time, and xcrun

#

though xcrun is only god slow when you invoke it for the first time after a reboot or if you run something that cleans $TMPDIR

#

unfortunately Theos’s architecture relies too much on spawning child make instances, and the performance loss there is more in make itself than Theos

#

you actually gain performance by moving all your projects into one makefile (where you can), rather than using SUBPROJECTS

#

though that only helps so much, Theos itself already spawns 1 or 2 levels of child make instances even if you don’t have any subprojects

hexed bolt
lime pivot
#

(referred to as master and instance in theos, master coordinates spawning an instance to build + stage each binary, then package and install)

lime pivot
serene hawk
#

how long does it take for you? for me it takes ~ 10-30 seconds, depends on the tweaks files

indigo peak
#

same for me

lime pivot
#

yeah especially with subprojects the performance of a quick rebuild can be really bad

#

before I just fixed that swift-driver output spam bug, you could tell how many times a child make is invoked by how many times that displayed

serene hawk
#

well then. haven’t used any other tools for now so i propably can’t tell the difference

lime pivot
#

yeah, though in the case of Xcode it has the benefit that its build system and dependency tree is already in memory (because you have Xcode.app open which needs that info for other reasons anyway)

indigo peak
#

when i rebuilt a tweak it took 5.91 seconds

#

no changes from previous build

lime pivot
#

somewhat, though it’s difficult to efficiently rebuild those caches

restive ether
#

wake up babe incompatible theos ABI

lime pivot
#

eg Xcode knows if you type even just 1 letter in this one file, it and its dependents are now dirty and need rebuilding

#

instantly rebuilds that cache in the background

indigo peak
#

wake up babe, cameron joined and left the server again

lime pivot
#

Theos has to evaluate every file as soon as you run make, while you sit there and wait for it

#

although fortunately Make knows something is changed by looking at its modification date, which is fast

#

if a source file date > the output file date, rebuild

#

there was a fun bug at one point where Filza somehow didn’t cause the mod date to change when you saved a file in it, so people were complaining on the theos issues that it wasn’t recompiling unless they did make clean

lime pivot
#

🏎️

indigo peak
#

nyooooom

#

do you think its possible to convert better discord themes over to ios?

lime pivot
#

it’s something I think clangd can solve, actually

indigo peak
#

because some of the var names in the actual react app are present in the mobile app

lime pivot
#

clangd basically gives you an intellisense server (vscode has an extension that supports it) and I think??? clang can pull data from it to speed up builds

restive ether
#

fuck

lime pivot
#

m

indigo peak
#

deadass

#

m

lime pivot
#

lmao

indigo peak
#

m was better

lime pivot
#

Ⓜ️

restive ether
#

m

indigo peak
#

🇲

ocean raptor
#

I'm back

#

idk

ocean raptor
ocean raptor
subtle grail
#

gm

lime pivot
#

also hi

lime pivot
ocean raptor
ocean raptor
lime pivot
#

I agree you should have it

restive ether
#

cameron is gonna do strict version controls

restive ether
lime pivot
#

lmao

#

need a role reassigning bot

restive ether
#

yeah i don’t know why the bot doesn’t do that

#

i guess that’s a lot more overhead

lime pivot
#

even chariz bot does that

restive ether
#

and then you have bots like carl who give roles back to people who leave

#

and you don’t want them to have access to said role after they left

#

but forget about it

lime pivot
#

tbh, I think I disabled it from granting roles

ocean raptor
#

Adding Conflicts: ncurses-bin (<< 6.2+20201114-2) to adv-cmds should fix it

ocean raptor
#

netctl airdrop got on my nerves so I'm taking a little break after speedrunning netctl wifi

lime pivot
#

wait that's a lie, I use the carl reaction role assigner thingy, oh well appleshrug

restive ether
#

the only people who has done airdrop stuff is like nito and midnight chips

#

and now cameron

lime pivot
ocean raptor
restive ether
#

oh right cameron doesn’t understand swift trollage

ocean raptor
restive ether
#

thanks apple for your well documented airdrop functionality

indigo peak
#

@restive ether HES BACK

ocean raptor
restive ether
#

oh

#

understandable

ocean raptor
#

I tried reversing the CF api

#

but I was getting segfaults iirc

#

and CF sucks

ocean raptor
restive ether
#

finally

#

i still don’t have rights so i can’t give you dev back though

ocean raptor
#

I thought you're admin?

#

wtf cameren demoted

faint timber
#

aaron no like some shit he semi demoted eerrr one

#

you left bozo u lost roles

restive ether
#

i deserved that but seriously screw discord for that

#

and the most they can do is give me a report spam button? and then try and shove NFTs down everyone’s throat

#

garbage ass company

ocean raptor
#

cmon everyone, lets move to matrix

restive ether
#

fr

faint timber
restive ether
#

of course not

#

they responded to my email said they would forward it

#

of course nothing has changed

faint timber
#

where is token stored and how do I tell if I got grabbed

restive ether
#

it’s stored in plain text in uhh

restive ether
#

because discord won’t even tell you about unusual activity

#

because they’re worthless devs

#

lol

faint timber
#

im not jailbroken so not relevant but thanks

restive ether
#

you can access it unjailbroken technically

#

some major sandbox escape

#

since you can find one left right and center i suppose that’s possible

#

is anyone gonna do that probably not

#

but still

lime pivot
#

discord will never care

#

if they cared about anything but Windows they would have released an apple silicon mac build a full year ago

lyric timber
#

damn I actually got sharingd from 14.5 to run on 14.4.2

lime pivot
#

and if the problem is that binary blobs like krisp won't give them an arm64 build, not good enough. they can still run the blob in a child process only while I'm in a call

ocean raptor
lyric timber
#

yeah

ocean raptor
restive ether
#

i don’t see why krisp would be like fuck you emulate our blob

#

why would they also want people to have a worse experience

lyric timber
#

and I'm sure I broke a bunch of features

restive ether
#

it just seems like everyone loses

lime pivot
#

exactly appleshrug

#

but all we can do is speculate because they're saying absolutely nothing

restive ether
#

i think the reality is discord just doesn’t care

#

and it’s nothing deeper than that

lime pivot
#

I mean they only just upgraded to the latest version of Electron, well, latest at the time

#

by the time it got from canary to stable, it was already 2 versions out of date

lyric timber
#

like, in 14.5 something in sharingd related to "autounlock" (is that unlocking mac with watch?) calls new MobileActivation.framework functions which are missing in 14.4, and I patched them in like

id MAEIssueDCRTWithCallback(id queue, void* callback, NSError** err) {
    abort();
    return nil;
}
restive ether
#

i too love people exploiting bugs electron fixed a year ago

#

that’s probably the watch to mac thing

lyric timber
#

yeah so it's probably irrelevant in iOS anyway, only watchOS and macOS would use this code at all 🤷‍♂️

restive ether
#

i think that was .5

lime pivot
#

disappointingly the reason why Electron Bad isn't because of actual problems with Electron itself, it's because companies that use Electron just don't give a shit about well-documented Chromium vulns

hexed bolt
indigo peak
#

yes

#

its called orion

lime pivot
#

^^

restive ether
#

merge hayden and amy’s theos PR’s plz trol

indigo peak
#

but i recommend writing tweaks in objective-c

lyric timber
#

anyone here on 14.5? I want to look at a file from 14.5 and mounting the rootfs dmg with apfs-fuse on Linux fails

#

/System/Library/FeatureFlags/Domain/Sharing.plist

ocean raptor
lyric timber
#

huh neat

lime pivot
restive ether
#

a personal favorite of the procursus team

indigo peak
#

react though

lime pivot
#

I'm also sure if you run an auditor on their node_modules you'll find dozens and dozens of vulns

restive ether
#

also i seemed to have fixed github in safari

serene hawk
#

any workaround to get FLEXing actually let you select anything in UIImagePickerController?

restive ether
#

one of the experimental webkit features must’ve broke it

#

not sure which

ocean raptor
#

gonna leave now troll

restive ether
#

bruv

lyric timber
#
./apfs cp /data/038-44862-252.dmg /System/Library/FeatureFlags/Domain/Sharing.plist
   ⨯ unknown compression type: CMP_ATTR_UNCOMPRESSED

I bet this is the same reason why apfs-fuse fails woeis

ocean raptor
restive ether
#

loss

lime pivot
#

heh unknown compression no compression

ocean raptor
#

tbf it is WIP

hexed bolt
lime pivot
#

orion doesn't change anything about hooking swift, only lets you write hooks in swift

restive ether
#

i don’t believe swift is a real thing

#

i only use zig

indigo peak
#

but how about zag

lyric timber
#

damn swift

#

one of the few things in Sharing written in swift is airtag pairing

restive ether
#

Don’t use NewTerm(2) — It is buggy as hell and literally broken. Not sure why it’s still even downloadable.

main apex
#

Question, does anybody know the name of the view for the ios 13 lockscreen music player? I don't own an ios 13 idevice to get it.

indigo peak
#

isnt it the same on ios 13 and 14

main apex
indigo peak
#

heres a music player tweak that has support for 12-14

#

so it has a bunch of hooks

#

for the music player on on all the aforementioned versions

main apex
lyric timber
restive ether
#

yeah cam has been trying to work with airdrop

lyric timber
restive ether
#

lol

lyric timber
#

Standalone dylibs haven't existed in the filesystem for years

quaint wigeon
#

@carmine patio happy birthday

ashen birch
#

correct me if i’m wrong but i *think* they’re still around in ramdisks?

faint timber
#

That’s correct

lyric timber
#

some are, but not the whole set of all frameworks, I guess they may even have some features disabled

lyric timber
restive ether
#

legend

lime pivot
#

actually make that 12

glacial matrix
# lime pivot clangd basically gives you an intellisense server (vscode has an extension that ...

Iirc, clangd implements an LSP (Language Server Protocol) which is useful for IDEs. We’d have to implement our own daemon that would be notified on file changes for a project directory to do these cache updates while a developer is editing files on another program. If not a daemon, it can be a tool that is ran manually on Greg background or a set of extensions for VSCode and other IDEs

ocean raptor
#

I use coc.nvim + coc-clangd

#

And bear to generate the compile_commands.json

hardy glen
#

real ones use native lsp

lime pivot
#

so I guess theosd?!?!

hardy glen
#

Lmao i have a logos lsp implemented

#

It only outputs diagnostics for comments

lime pivot
#

doesn't even seem like the worst idea, I mean I'd rather have a nice generic background job that sits around and processes stuff as soon as it changes, rather than waiting for me to run make to do those things

glacial matrix
hardy glen
#

Also fucked around with clang-format and made it function pretty well with logos as well

lime pivot
#

that sounds pretty cool, might be worth putting together a tutorial or maybe a brew formula if you're comfortable with releasing it

glacial matrix
hardy glen
#

Yea i am, i just didn’t since i didn’t think anyone was interested but i can make it public with a tutorial

lime pivot
#

yeah I'd totally love to see it released

#

these are all little bits and pieces that improve quality of life, worth the trouble

lime pivot
hardy glen
#

Say less, i kind of shifted towards psx homebrew dev but i have it basically ready, might look through it once more and make it public today when i wake up

lime pivot
#

of course you could also just launch it yourself, foreground (might be useful if it needs to output diagnostics?) or forked to background

hardy glen
#

Its a good thing ms has extensive docs on the lsp protocol

lime pivot
#

a theoretical vscode extension could presumably run an LSP client for both clangd and theosd

hardy glen
#

It can

lime pivot
#

that's perfect then

hardy glen
#

posted it here

nimble parcel
#

@lime pivot @glacial matrix btw I’m not sure if you saw but the orion branch has a fully functional compile_commands generator for both objc and swift

#

it’s just make commands and then VSCode/whatever gives you autocomplete in all your [Obj]C[++]/Swift files

lime pivot
hardy glen
lime pivot
#

maybe I didn't code review it or maybe it's just been a long time, heh

nimble parcel
#

possibly the latter, I added it not too long ago

lime pivot
#

is the PR still marked as draft by the way? maybe let's graduate it to "ready"

nimble parcel
#

just marked it as ready for review today

lime pivot
#

perfect

#

somehow I didn't get an email for that

nimble parcel
#

Chariz SKU wen

lime pivot
nimble parcel
#

pretty sure that’s already in use by the other Orion lmao

lime pivot
#

hahahah oh true

nimble parcel
#

I sent tale the details tho, waiting for him to put it up so that I can publish the package

lime pivot
#

one day I'll probably give up trying to have super short urls and change those to be namespaced by author

indigo peak
lime pivot
#

hello donuto

nimble parcel
#

hello donut fucker

indigo peak
#

gm

#

gm

lime pivot
lime pivot
#

so that's my fault

indigo peak
#

so in one of discord classes ‘DCDThemeColor’ there’s a bunch of colors that if you look at the actual discord website, are actually in the website, so I tried converting a bd discord theme over to iOS using that and nothing happened :c

#

Only chat background changed

lime pivot
#

in js or objc?

indigo peak
#

So I’m the :root {} on the CSS it’s there

#

And in the DCDThemeColor

lime pivot
#

I get the vibe if it's in objc, it's for some very specific UI written in native code

#

while js continues to use whatever crap RN people use for theming

tepid olive
lime pivot
#

fire up an entire web view in the background to parse css values trol

#

hey if Apple can do it you can do it!

nimble parcel
indigo peak
#

that was a WHILE ago

#

like almost 4 years ago

nimble parcel
#

indeed it was

lime pivot
#

Accord feels like it should have components called Civic and Odyssey

indigo peak
#

but i dont think ill be able to do pur DCDThemeColor hooking

#

i think i have to actually find out which classes are calling setBackgroundColor

lime pivot
#

actually ngl it wouldn't even be that bad if you fired up a web view in the background to evaluate CSS values one time and store them in a cache plist/json file

indigo peak
#

you see

lime pivot
#

that would allow you to perfectly evaluate complex things like vars that reference other vars

indigo peak
#

i actually was thinking ab something like that

tepid olive
indigo peak
#

omg

tepid olive
#

Enjoy

indigo peak
#

i fucking love ytou

tepid olive
#

DEPRECATED_TEXT_INPUT_PLACEHOLDER

lime pivot
#

you just need to do ts let style = getComputedStyle(document.body); let value = style.getPropertyValue("--background-primary"); for each one you need to extract

indigo peak
#

but would that actually work?

lime pivot
#

why not?

indigo peak
#

im still not sure exaclty how similar the ios app is to the website

tepid olive
#

I love how the only way to make a macOS Music app atm is to fire up a background webview and handle all the web app’s events

lime pivot
#

yeah, I mean you would need to probably do some extra work to map the web client css vars to whatever RN client does

indigo peak
#

but the one thing that sucks

#

is that DCDThemeColor isnt the only place there are colors

#

they also have a bunch of custom UIColor's

lime pivot
#

overriding them still doesn't do much ig?

indigo peak
#

well the thing is, i havent tried

#

because the names present in DCDThemeColor mapped nicely with the website

#

but nothing in UIColor made sense

#

like some did

#

but i just never tried

#

like if i look at the colors in ida, these color names are in the website

lime pivot
#

a dumb trick you could use is to just copy all the method names, opt-shift and drag to make a cursor at the end of each of those lines, and add something dumb like { return [UIColor redColor]; }

indigo peak
#

but what are these

lime pivot
#

so they're all red

#

just to confirm they're in use at all

indigo peak
#

i dont think any of the DCDThemeColors are in use lmfao

lime pivot
#

if they are, you know that's what you want, now you just have to narrow down which are being used where

indigo peak
#

after converting a css thing over, only one thing changed

lime pivot
indigo peak
#

????

#

this is news to me

lime pivot
#

they're stop points for the accessibility saturation slider I believe

#

75% is the correct value to set that to btw

#

gives you old blurple

indigo peak
#

i can see some of them

lime pivot
#

oh never mind then I guess the slider just sets --saturation-factor

indigo peak
#

these are self explanitory, but i dont know where they would be present

tepid olive
indigo peak
#

but i dont know where they would actually be used

indigo peak
#

bc anything i think of with that are the little icons

tepid olive
indigo peak
#

which i think would just be presented as an image with color

#

wait

#

that

#

makes

#

sense

#

wtf

tepid olive
#

The discord api returns twitter embeds but does not return a blue color

#

That’s the client

indigo peak
#

interesting

tepid olive
#

And such things only happen for the platforms in that screenshot

#

I know this because I wrote embed functionality in my discord client like 2 weeks ago

#

They still look terrible though

lime pivot
indigo peak
#

yah

#

same

tepid olive
lime pivot
#

truuuu

tepid olive
#

I’m guessing it’s also for accessibility purposes

#

But if it was they could just parse the hex and add 0.1 to all the values

lime pivot
#

Discord always being on the latest Electron or releasing an Apple Silicon build challenge

tepid olive
#

I would have said "Discord making sense challenge [2021]" but I remembered it’s been more than 5 years that they piss off developers

lime pivot
#

how long has it been since the discord.py discontinued announcement and Discord just going appleshrug about it?

tepid olive
#

@lime pivot Just searched in a discord with a bunch of staff members and look what I found

#

lmaoo

#

(he works at discord)

lime pivot
#

with working binary blobs like krisp?

indigo peak
#

i wonder when discord is going to make an official api wrapper

tepid olive
#

I’m guessing

tepid olive
#

They believe using the API directly is easy and fun

#

That’s what they said officially

lime pivot
#

cause you can “make” discord arm64 by just chucking its app.asar inside the standard prebuilt Electron.app, but of course anything that depends on those blobs won’t work

tepid olive
#

Well they have the source code

lime pivot
#

although, apparently Krisp literally doesn't work on M1 anyway

tepid olive
#

ITS SNOWING

indigo peak
#

doxxed

#

its sunny as fuck hear

#

after there was a tornado warning yesterday

tepid olive
#

How is it snowing already wtf

lime pivot
#

supposedly the DRM breaks so it just doesn't run Krisp at all appleshrug

#

under Rosetta

tepid olive
#

bruh

#

Oh then maybe Krisp doesn’t work at all and the company won’t update it

#

Which would make sense for delays

indigo peak
#

im gonna go with that

#

it makes the most sense

tepid olive
#

Or discord are just incompetent

indigo peak
#

that too

lime pivot
#

just checked, the setting is just, not there

indigo peak
#

on the web version theres barely any voice settings

lime pivot
#

M1 has been out for a year and the DTK was first available 1.5 years ago

tepid olive
#

why can’t krisp be wasm

lime pivot
indigo peak
#

@lime pivot after doing your return [UIColor redColor]; thing, literally, only the chat background was changed

lime pivot
#

lmao, damn

indigo peak
#

and i used everything in DCDThemeColor

lime pivot
#

I would say google about how you do themes with react native

#

because chances are they're probably using whatever is most popular for that

indigo peak
lime pivot
#

if I wanted to be a tinfoil hat enthusiast I'd even say the DRM is more to protect Krisp from Discord reversing their code, than from end-users reversing it

tepid olive
#

I recommend asking Ian 2

#

forgot his name

indigo peak
#

@nimble parcel when you were working on accord, were you using any DCDThemeColor's or were you hooking the classes, like DCDChat, DCDMessageTableViewCell etc

tepid olive
#

he works on the desktop client

hardy glen
#

Whos tryna play gta online

tepid olive
#

Ian Webster

indigo peak
#

wtf

#

if i put the them in discord website

ocean raptor
#

Gonna setup a matrix home server

indigo peak
#

it actually works

#

this is bullshit

proper reef
#

How do I present a UIView over an application?

ocean raptor
#

@cameronk:matrix.org

proper reef
#

What I have been doing is adding it as a subview but that's not too reliable

next wadi
#

troll

lethal kayak
weary heath
#

/r/tweakbounty

#

would be helpful if you said what tweak you want as well

#

Link post

#

What do you want your tweak to do

next wadi
restive ether
#

no wonder no one answers you

next wadi
indigo peak
#

@weary heath friend me

#

so youre using alts now

#

okay\

weary heath
#

idk who said hi but hello

fierce ember
#

hello @gentle crescent

indigo peak
#

get bigger pants

gentle crescent
vivid dew
vivid dew
#

please dm my secretary @grave sparrow for more information on tweak commissions

ashen birch
#

y’all best be gettin to learning these now

vivid dew
#

stater pack of h4ckers

proper reef
tepid olive
#

sudo ping -F 127.0.0.1

proper reef
#

ok so i have a problem

#

so I need a UIView to show above an application

#

How do I do that?

vivid dew
torn oriole
proper reef
#

aaaaa

#

so uh

#

how do I do that

#

ok

vivid dew
#

ty

proper reef
#

so

#

how do I show a UIView above an application

tepid olive
#

You insert it in the subviews at index 0 i guess?

proper reef
#

Yeah I've been using addSubview but that doesn't like to work for Metal applications

vivid dew
#

the real solution is to make a new [redacted] for anything you need to display on top of apps

twilit jungle
#

Thats better than the key window hack people keep going to

proper reef
#

well whatever I am doing is unsatisfactory

lime pivot
#

never have, never will, this has been happening since IRC days

lyric timber
#

ugh, how do I store into an ivar?

#

there is no setter method in this system class

lime pivot
#

setValue:forKey: or MSHookIvar(blah) = something

lyric timber
#

I know the offset

restive ether
#

i don’t believe in reading

lime pivot
#

neither

#

writing

#

now that’s where it’s at

lyric timber
#

won't setValue:forKey: call the setter method?

tepid olive
#

are there writeonly properties

lyric timber
#

it's readonly

#

so there is no setter method

lime pivot
lyric timber
#

so I have to pass "_color" rather than "color" right?

lime pivot
#

yep

#

assuming that’s the ivar name, it should be but I always check the header dump to be sure

lyric timber
#

ok, now we start the fun airtag stuff

#
Nov 14 20:24:27 SharingViewService[3261] <Notice>: B389SetupMainViewController viewWillAppear
Nov 14 20:24:27 SharingViewService[3261] <Notice>: ensurePairingDataAvailable() - started...
Nov 14 20:24:27 SharingViewService(CoreFoundation)[3261] <Notice>: -[SPPairingManager initiatePairingSessionWithCompletion:]: unrecognized selector sent to instance 0x283801170
restive ether
#

man i know you’ve put a lot of effort into this but have you ever considered updating

#

maybe for a research standpoint it’ll benefit you but practicality wise you’ll probably update in like 4 months

proper reef
#

How do. Ishow a UIView above an app?

restive ether
#

yeah bro the saurik irc

proper reef
#

in that app

tepid olive
#

Do you not know what IRC is..

grim sparrow
#

man

vivid dew
#

capt is widely known for being stupid

proper reef
#

The issue is I have to show it on a Metal app

#

o adding subview just

#

doesn't work

tepid olive
proper reef
#

which of these works on metal?

lyric timber
#

yeahhhh I think I give up

tepid olive
#

Why

misty cradle
#

i am widely known for raw dogging

proper reef
#

i am no longer widely known

tepid olive
misty cradle
#

not yet

#

but soon

tepid olive
#

ah

misty cradle
#

soon we rich

tepid olive
#

Akara is actually a Ponzi scheme

#

Only those on top get the good gesture

misty cradle
#

certain users already have the gesture

#

like nobody

#

i will work on this tomorrow

#

got the entire day off

#

for the first time in weeks

lyric timber
#

[SPPairingManager initiatePairingSessionWithCompletion:] is missing from SPOwner.framework in 14.4
I could swizzle it but it seems all it does is make an XPC call into searchpartyd
searchpartyd-14.4 is missing that XPC method (and others)
if I tried to run searchpartyd-14.5, SPShared.framework in 14.4 is missing too much stuff... in Swift >_<

proper reef
#

i am no longer widely known as that guy with member pro

misty cradle
#

ah thats who she was talking about this morning about the guy from the night before having a small dick

#

american moment

tepid olive
tepid olive
proper reef
#

welp UIWindow method it is

tepid olive
#

loss

misty cradle
#

except you're not gonna get it when its in test phase

restive ether
proper reef
#

and UIWindow works

indigo peak
#

if it wanted my tweak to show a funny message in the install log, would that be a postinst

lyric timber
#

welp project failed, now what

indigo peak
#

like in cydia

#

when the black screen comes iup

#

andf makes you feel like a badass hacker

#

and it has a custom message at the end

restive ether
#

like those weeb devs who dirty postinst by putting stupid fucking ascii art

vivid dew
#

no one said he wasn't annoying

restive ether
#

especially when they don’t even have a reason for a script besides to just spam ascii art

#

that’s true

indigo peak
restive ether
#

🙄

#

echo “imagine cheating smh”

indigo peak
#

and then put

#
██████████████████████████████████        ░░████████
████████████████████████████████      ██    ░░██████
████████████████████████████████          ░░░░░░░░██
████████████████████████████████          ░░████░░░░
████████████████████████████████        ░░██████████
████████████████████████████████      ░░░░░░████████
████████████████████████████              ░░████████
██████████████████████░░░░░░              ░░░░██████
██████████████████░░░░░░░░░░░░░░          ░░░░██████
████████████████░░░░░░░░░░▒▒▒▒▒▒▒▒        ░░░░██████
████████████░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒        ░░████████
██████████░░░░▒▒░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒        ░░░░████████
██████░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒          ░░  ██████████
██        ░░▒▒░░▒▒▒▒▒▒▒▒            ░░    ██████████
██░░░░░░░░▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░    ████████████
██████████████████                  ████████████████
██████████████████████████  ██  ████████████████████
██████████████████████████░░██▒▒████████████████████
██████████████████████████░░██▒▒████████████████████
██████████████████████████░░██▒▒████████████████████
████████████████████████░░░░░░░░▒▒▒▒████████████████
#

better

#

there are some pretty cool ascii seagulls holyshit

restive ether
#

die

indigo peak
#

im getting death threats from an admin

#

i feel unsafe in this community

#

oh i knew i was going to hell WAYYYYY before this

gentle grove
#

wtf why

indigo peak
#

i get that a lot

restive ether
#

sun piss

subtle grail
#

fr

faint timber
#

Production moment @restive ether

restive ether
#

bruh lol

#

we love a good java crash

tepid olive
indigo peak
faint timber
#

mitchell is the dev that notoriously never fixed bugs, a "slacker" so they call all bugs the mitchell cuz they won't be fixed?

#

why you doxxing me

#

reported

lime pivot
#

IRC.

#

RIP saurik irc

tepid olive
#

why did it close

indigo peak
#

@tepid olive i forgor how enums work

#

help

tepid olive
#

in swift?

lime pivot
#

was shut down back in March because the place was dead since Discord took over

indigo peak
#

in general

#

please hold

#

i fouind something

tepid olive
#

tell me what is the problem

#

i am not explaining enums as a whole

indigo peak
#

wow

#

shit dev

tepid olive
indigo peak
#

stfu

tepid olive
#

cope

indigo peak
#

@tepid olive halp

#

enum

#

so if therss that

#

how do i reference in code

#

the enums things

twilit jungle
indigo peak
#

DGH0ST

#

SHUT

#

UP

twilit jungle
indigo peak
#

ty

vivid dew
indigo peak
twilit jungle
indigo peak
#

seven -> 7

#

does it have to be english though