#development

1 messages · Page 325 of 1

gaunt mesa
#

so

#

yeah

grim sparrow
#

And?

burnt niche
#

Oh shit marathi

#

Nice

tepid olive
grim sparrow
#

Bro just chomp that cock

tepid olive
#

false

misty cradle
#

@grim sparrow uhh

grim sparrow
#

What

misty cradle
#

u real sus

grim sparrow
#

Why uhh

burnt niche
#

@gaunt mesa did kabir used to live in india and come to the US as a student or is he from the US as well

grim sparrow
#

What

tepid olive
grim sparrow
#

Why am I sus

#

Explain

tepid olive
burnt niche
#

Yea man, people from india smart asf

grim sparrow
burnt niche
#

Really?

gaunt mesa
#

but hes attending college at waterloo

#

so hes coming to canada soon

tepid olive
#

why kabir so smart

burnt niche
#

Oh shit nice. Hes on student visa

gaunt mesa
#

kabir is smart cuz he gives a fuck about school

grim sparrow
#

lol

tepid olive
#

imagine

burnt niche
#

Bruh its hella rare to get a student visa. U gotta be smart asf for indians to send ur ass to canada or the US

gaunt mesa
#

like school has really taken up a lot of his time

misty cradle
#

L

#

L

tepid olive
#

in the grand scheme of things school is so unimportant

misty cradle
#

L

burnt niche
#

They dont give anyone student visas. Its hard asf to get a visa abroad in india let alone a student visa

#

You gotta be the smartest mfer

tepid olive
#

yes

#

true

#

i live in india i know

misty cradle
#

This me

grim sparrow
#

Bruh

tepid olive
#

ok

burnt niche
#

😂

tepid olive
#

facts

misty cradle
#

its 21st of dec

tepid olive
#

tr1 ape

misty cradle
#

today superpowers

grim sparrow
tepid olive
gaunt mesa
#

oka

#

nice bunk bed

grim sparrow
#

Don’t stand up too fast

tepid olive
#

yes i live in 10 square foot room

#

we know

grim sparrow
#

You’ll destroy what remains of your brain

tepid olive
#

toxic

grim sparrow
#

Same

#

Went from single bunk to double

burnt niche
#

I am indian, i feel dumb asf cuz i aint that smartegg

tepid olive
#

i literally have no choice, its the only way my room can fit any sort of space for a bed and a desk

#

i have smallest room in the house

grim sparrow
#

Same

burnt niche
#

Me too

grim sparrow
tepid olive
#

I HATE THOSE EMOTES OMG

grim sparrow
burnt niche
#

My room ass as fuck

grim sparrow
#

Sus

burnt niche
#

Wrong video

tepid olive
#

balls

grim sparrow
#

lol

burnt niche
grim sparrow
#

Just go and sleep in the hall sir

burnt niche
#

My room small asf. I trip on my chair

grim sparrow
#

How

burnt niche
#

Capt dog

grim sparrow
#

How would you break your neck

#

Lmao

burnt niche
#

His name mexican asf

grim sparrow
burnt niche
#

Juanito

#

Cam is part black

grim sparrow
burnt niche
#

Now that i think of it. Coolstar indian too

grim sparrow
#

Ok?

#

Not sure why it matters

#

Bruh

rain falcon
#

nfr

burnt niche
#

Fax

grim sparrow
tepid olive
#

DopeboyToday at 10:22 PM
@dumb bitch i am not saying it as a bad thing. I was just thinking most indians be smart asf. I feel dumb😂

rain falcon
#

tru

grim sparrow
#

Everyone simp me for no reason at all

tepid olive
#

i do not

grim sparrow
#

It was a command

tepid olive
burnt niche
#

I mean i am indian so obviously i am not saying it as a bad thing bro. I was just wondering

rain falcon
grim sparrow
#

Not a sir peek

tepid olive
#

yOu nEeD To sImP YoUr bOoK RePoRt dUe wEdNeSdAy

grim sparrow
gaunt mesa
#

ok

tepid olive
grim sparrow
tepid olive
#

FUCKING STOP WITH THE EMOTES

#

HOLY SHIT

grim sparrow
#

bruh

tepid olive
#

does discord have a filter emotes option

#

to hide messages

grim sparrow
tepid olive
#

nfr

burnt niche
#

Get pwn on aarons podcast

grim sparrow
#

That would just be a shit show

burnt niche
#

so entertaining

#

@vivid dew dont have a playlist

grim sparrow
#

If pwn didn’t exist I’d be a few hundred richer

burnt niche
#

I have liked songs on spotify. You want that?

#

I am not pretending to be a rapper😂😂

grim sparrow
#

Me in 5 minutes

burnt niche
#

I was just playin

grim sparrow
burnt niche
#

I just have a studio. I do music production

tepid olive
grim sparrow
#

I was using python an hour ago

rain falcon
#

who tf asked

burnt niche
#

@vivid dew i can show you a couple demos i made

grim sparrow
#

Ok I sleep now

rain falcon
#

who are u x

burnt niche
#

@vivid dew dont clown memonkaS

#

Let me boot to windows

tepid olive
#

#TrappaNewsToday at 10:30 PM
She a stupid bitch, if there ever was a bitch
She's a bitch to all the boys and girls

rain falcon
#

shut the fuck up bitch

#

wtf

burnt niche
#

Wait what

#

Why

tepid olive
#

BRO WHY IS MY CLIENT

#

AHHHH

burnt niche
#

Sent a fr juan

#

Accept

tepid olive
#

ah this is nice for my eyes

#

black discord

burnt niche
#

Nvm then

tepid olive
#

OLED discord

#

cum

burnt niche
#

I cant send messages if u dont accept

tepid olive
#

canary

#

wtf

#

ban him

#

self bot

#

uses hacked discord client

#

#TrappaNewsToday at 10:41 PM
!selfbot ghostping -u triangle
@Juan Roberto Jose Pablo

#

#TrappaNewsToday at 10:42 PM
sus

#

aaron damn you you stole the good sus

burnt niche
#

Timothy

#

Ur mom is calling you

#

Idk if i want to do development or music production honestly

#

Be a mixing engineer or some shit

tepid olive
#

bruh i think i went too low level

#

im gonna have to manually download and tell apple to decrypt the mp4 if i continue like this

#

MutaApprovesOfTrappaNewsToday at 11:03 PM
fuck you

#

lmao

#

demoted from member

#

how

weary nacelle
#

@tepid olive i know another one let me see

#

nekos.life

lofty juniper
#

YEET

weary nacelle
#

pog

#

why did you spend so much time on nekofetch though

tepid olive
#

lmao he just sent nekochan sub

tepid olive
#

both official discord installs, one is just an older version

#

no

#

shading is different

hollow kernel
#

yes steve

#

oh

#

he linked to a different channel smh

dense basalt
#

lol

#

where tf

nimble parcel
#

Are there any docs for PreferenceLoader?

gaunt mesa
#

@nimble parcel probably on the github

burnt niche
#

Idk if you already saw bro

nimble parcel
#

thanks

#

I don’t think that showed up when I googled it for some reason

burnt niche
#

Yea i looked up a wiki for it because i remember researching on it

#

Np

burnt niche
#

Gonna be making a game in spritekit tommorow

glacial matrix
#

It’s gonna be easier to resize the image than its ascii representation

lapis vessel
#

she's the biggest bitch in the whole wide world

restive ether
#

.

tepid olive
#

fr

#

fr oracle i just want to download java

undone nest
#

just use adoptopenjdk

tepid olive
#

why would i want anything but the jdk

#

are you retarded

#

optifine is shit

#
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70)
        at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34)
Caused by: java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')
        at net.minecraft.launchwrapper.Launch.<init>(Launch.java:34)
        at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
        ... 6 more```
#

fuck what version of the jdk do i need

#

this is 1.12 forge so

#

idk

#

ok thats what i was tryna download

#

woeis

#
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70)
        at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34)
Caused by: java.lang.NoClassDefFoundError: org/apache/logging/log4j/Level
        at net.minecraft.launchwrapper.Launch.launch(Launch.java:94)
        at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
        ... 6 more
Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.Level
        at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
        ... 8 more
tepid olive
# tepid olive

what's that addon that shows the wayback machine banner

#

its my browser

#

ah finally it fucking works

#

forge gay

#

1.12.2 has no options in terms of mod loaders

half walrus
#

floshed
👉 👈

#

usb C laptop charging is so nice wtf

#

like i can charge my power bank with my laptop charger and then charge my laptop with my power bank

#

and then charge my iphone with its own special charger bc apple has to be a special lil snowflake

restive ether
#

everyone’s different and special in their own ways

#

👉👈

tepid olive
#

@fast quiver accept friend req so i can dm you abt the tweak

fast quiver
#

I accepted it yesterday

tepid olive
#

oh

tepid olive
restive ether
#

deb when

tepid olive
#

deb when it works

#

apple music swipe to queue pain

restive ether
#

L

tepid olive
#

apple music app is just a mesh of shit

#

3 languages

#

very good practice for me in terms of RE

late ridge
tepid olive
#

POV your selfbot exceeds rate limits

late ridge
#

LOL

tepid olive
restive ether
tepid olive
restive ether
#

saw it

tepid olive
lethal kayak
#

The shrooms

ashen birch
#

Producing 100lbs per week

#

fresh or dried fr

frozen ingot
burnt niche
#

It cant find llbuild?

frozen ingot
#

im assuming? dunno what that is

burnt niche
#

This might help. Obviously this is in the scenario of xcode. But it might be useful to check

#

Try this

frozen ingot
#

yeah sadly thats not my issue

burnt niche
#

Damn,wish i could help.

frozen ingot
#

thanks tho!

tepid olive
#

Neko

pearl sail
#

@FBI

restive ether
#

WTF

#

both

pearl sail
#

is nekofetch in python?

#

are you using psutil to grab system info

#

makes sense

#

I know the FBI would be at my door if I was fucking around with something called nekofetch

weary nacelle
#

holy fuck

#

nekofetch became a reality

#

lmao

pearl sail
#

Well if you are gonna go to jail might as well full send it I guess

ashen birch
#
import subprocess
import sys

subprocess.run('neofetch --source neko', shell=True, universal_newlines=True, stdout=sys.stdout)```
#

os.system but better

#

is it a binary

#
x = subprocess.run(('which', 'jp2a'), stdout=subprocess.DEVNULL)

if x.returncode == 0:
    print('jp2a exists!')
else:
    sys.exit('no jp2a, fuck you')```
#

np

#

dumbass moment

#

fixed

#

actually universal_newlines=True wouldn't even be needed for running the neofetch --source neko command

#

since it's being piped to stdout anyways

faint timber
#

yo

#

wtf

burnt niche
#

should i make a new class for number buttons and subclass it as uibutton? is that best practice

#

and one method for their values using their restore ids to give them a value of 1,2 and so forth?

fair robin
#

Why are you writing it in Swift?

burnt niche
#

because i am trying to learn swift

#

why would i not write it in swift

#

better than writing it in objective -c imo

fair robin
#

But in form of a tweak or IPA? I thought Swift tweaks weren’t possible

burnt niche
#

i mean its a app

#

^ swift tweaks and swift apps packaged as tweaks are different

#

you can package a xcode project as a deb

#

using theos

tepid olive
#

You can make swift tweaks

burnt niche
#

^ and that too

fair robin
#

How?

burnt niche
#

kabirhook coming soon

tepid olive
#

?

#

No hooking

burnt niche
#

?

#

wot

tepid olive
#

You write a tweak in swift

burnt niche
#

no i am talking about using theos to compile my xcode project

#

idk what they talking about

fair robin
#

A tweak that injects into SpringBoard or into an app written in Swift

burnt niche
#

app written in swift can be compiled with theos and packaged into a deb

fair robin
#

Yeah that I know

burnt niche
#

for example, dra1n which uses swift as the app

#

and also does tweak injection

twilit jungle
#

You can write tweaks in swift, using the obj-c runtime for injecting currently.

grim sparrow
#

If things go to plan, Aemulo will have no ObjC hehe

tepid olive
grim sparrow
#

@grave sparrow stop

#

Orion is cool

tepid olive
#

true

burnt niche
#

Yea i am using storyboards.

grim sparrow
#

Tbh Aemulo only really needs to tweak Passbook

#

And maybe Springboard if I want background logging of tags

#

Which I will probably do thinking about it

burnt niche
#

@twilit jungle should i make a new class for the buttons. Rather than outleting 10 buttons to my main view controller

grim sparrow
#

Why not use a collection view

#

Make a custom cell

burnt niche
#

Didnt even think of that uhh

grim sparrow
#

lol

burnt niche
#

Thanks for the tip bro

grim sparrow
#

@DevelopersWhoKnowThings For background reading/logging of tags do I

  • Create a background daemon and start a session
  • Inject into springboard and start a session
#

Whenever you come into contact with an nfc tag

#

your phone*

#

Damn Aemulo gonna be tweak daemon and app now shake shake shake

tepid olive
#

lmao i just open sourced my minecraft hack guys

#

Just to prove i can also write shit code in java

glacial matrix
burnt niche
#

Would you do it programmically? @glacial matrix

grim sparrow
#

For something like this I probably would yeah lol

glacial matrix
#

I wouldn’t do storyboards

grim sparrow
#

I like storyboards but this is basic

#

It’s just a collection view hugging safe area

burnt niche
#

Damn doing it programmically is too much for me ngl

#

I am still learning and this shit is hard already

#

I am trying to create a calculator without any help. So its gonna take me a while

#

Might have to go back and change everything

#

Instead of a collection view rn(since i have no clue on how to use them) i just put all the buttons in a outlet collection. Havent really sent any constraints either

grim sparrow
#

Yeah that’s dreadful

#

Collection views are ezpz

glacial matrix
#

Ah ok yeah

burnt niche
#

since i am colorblind

#

my colors are way off lmfao. gotta find the rgb value of the buttons in the calculator app

restive ether
#

just uncolorblind yourself

burnt niche
#

i wish. i fucking hate being colorblind

restive ether
#

what kind of color blindness

burnt niche
#

and my colors are way the fuck off

#

red green

#

or green red

#

i forget

restive ether
burnt niche
#

dont see shit

restive ether
tepid olive
restive ether
#

this is true

burnt niche
#

OH SHIT

#

really?

restive ether
#

has anyone used that in a tweak yet

burnt niche
#

clutch

burnt niche
#

ios 14 lmfao

#

nvm im on 13.5

#

ill try in simulator

tepid olive
burnt niche
#

thanks bro

#

I found one on ios

grim sparrow
#

There’s a built in one for MacOS if that helps

burnt niche
restive ether
#

idk why the font looks weird

grim sparrow
#

Because it’s not stock?

burnt niche
#

yea i used a apple font

grim sparrow
#

Just use system

burnt niche
#

dk what font calculator uses. ill check

#

sfui regular

grim sparrow
#

It’s just big ass system light by the looks of it

#

Yeah

#

Ok

#

System regular

restive ether
#

oh

grim sparrow
restive ether
#

bring back Espy Sans

burnt niche
#

alright changed it

restive ether
#

SF Mono sexy

rain falcon
#

@lethal ice NO BRO

burnt niche
#

if set the tag of the buttons and in buttons pressed method i print the sender's tags. it wont work

#

tf am i doing wrong

grim sparrow
#

Honestly the way you’re doing it is a sin

burnt niche
#

yea i know but the other way is too damn confusing ngl'

grim sparrow
#

I’d just make a collection view
Make a custom cell
Make an enum with the cases digit, operator
Assign each cell it’s cotext(value from enum), and it’s value

burnt niche
#

yea no idea tf u just said lmfao

grim sparrow
#

Eeeerrrrrrrrrrrrr

#

There’s a million open source examples

#

I have my own

burnt niche
#

yea but i wanna try it this way lowkey cuz if i use open source examples. then i didnt really do it on my own. i wanna see what kind of rabbit hole i go into. just to see if i can do it on my own

grim sparrow
#

Here’s the thing

#

Doing it yourself is a good thing

#

But the rabbit hole you’re going through of making all these buttons manually is just gonna do more harm

#

It’s a terrible way of doing it

#

You will learn a lot more making the collection views and custom cells etc

burnt niche
#

fuck man, i dont think i could even do that at this point

#

i would love to, but it would be too hard for me i think

grim sparrow
burnt niche
#

so i should make a collection view and make the buttons in code?

grim sparrow
#

I used interface builder/storyboards in that

burnt niche
#

yea thats too hard to look through lmfao

#

ngl

grim sparrow
burnt niche
#

i am a noob bruh

#

i dont even understand mvc

#

like i get it

#

but no idea how i would put that into work

grim sparrow
#

If it wasn’t 4am I’d help you as best as I could shake

burnt niche
#

nah man i don't wanna bother you. i guess i need to just figure it out myself. ill delete this whole thing and use collection views

grim sparrow
#

I like teaching people

#

lol

burnt niche
#

even though i don't understand what i could achieve with them. what i was doing is, i put all the buttons in a outlet collection to modify them. then i connected all the buttons to one action and trying to use their sender.tags to do shit when pressed.

grim sparrow
#

Honestly that approach should never have been attempted

#

Dynamic Collection View is how I would do it

burnt niche
#

yea, like i said, my programming knowledge is fucking trash

#

like i could figure it out and put it to work. but my practices are garbage

#

guess its going to come to me over time

#

with practice

grim sparrow
#

I learnt a lot very quickly making Dra1n and Shade

burnt niche
#

i am not that smart to go directly into shit like that

#

because i only have little programming experience

#

by little i mean little

#

i used a for loop tho. so i am proud of that

#

used a for loop to customize all buttons in a outlet collection array. feelin proud

#

@grim sparrow would you say that i should look at a calculator tutorial and watch it and then attempt to do it with all the things i learned or i should just try to mess with collectionviews and see for my self

grim sparrow
#

It’s up to you

#

I’m merely giving a much better way to do it

#

That’s simpler in the long run

burnt niche
#

yea i deleted the project fuck it

grim sparrow
#

L

burnt niche
#

so what you are saying is i should put each button in a seperate cell

grim sparrow
#

Delete that default cell

#

Set the view to hug the safe area

burnt niche
grim sparrow
#

You need constraints for that

#

On the bottom right ish you see the square with 4 lines coming out

#

Press that

#

And in the top section, set your constraints

burnt niche
#

nvm got it

#

for all 4 safe areas

grim sparrow
#

Actually I’m dumb

#

You’ll want to leave some space at the top for your result label or whatever

burnt niche
#

okay

sweet tangle
#

Does anyone know how to get an instance variable of an object of an "unknown" type in swift? Any way that I've tried using objc results in a crash.

#

Currently I'm attempting to pass said object to a custom swift object and retrieve the data there, but since the type doesn't exist in the eyes of the compiler, it fails.

burnt niche
#

man i have no idea how to deal with constaints lmfao

#

got it i guess

#

Just gonna watch a calculator tutorial instead @grim sparrow . Maybe it ll help me learn more

#

Thanks for the help tho

grim sparrow
#

lol ok

burnt niche
#

Appreciate it

#

Got no idea how to do a collection view but ill learn @grim sparrow . I agree with you, i should learn best practices to avoid headaches in the future things i do

#

Do you prefer swiftui or uikit @grim sparrow

grim sparrow
#

Uikit

burnt niche
#

Okay great. Appreciate it. https://youtu.be/QsLHrEUCvVQ ill watch this

Today we will build a basic calculator app in swift for beginners. Learn to put together the layout, logic, and functionality. Find the code for the finished project below.

Join the iOS Academy Community: https://iosacademy.io/waitlist

#swift #calculator #tutorial

Project Code: https://github.com/AfrazCodes/SwiftCalculator

Subscribe for more...

â–¶ Play video
#

And maybe remember it and try that approach myself after

#

After i complete this calculator. Maybe ill try to make one more app and then start trying to fuck with spritekit

#

Okay this mfer typing out all the buttons in code WeirdChamp pepehands

tepid olive
#

yes

burnt niche
#

That shit too confusing

tepid olive
#

then do something that isnt

#

learning isnt a singular jump

#

its steps

burnt niche
#

True. I would much prefer the interface in storyboards

#

Instead of programmically

burnt niche
#

true, this is just a simple calculator. it wont be able to do the things the ios one can do ofcourse

#

but i might try to add a log window in the future

restive ether
#

calculator not have history is annoying af

#

the swipe gesture is nice though

#

they dont wanna put texas instruments out on the street that fast lol

#

also the calc does have log tho

#

too bad you can’t change the log

#

oh wait you can

#

in 2nd

#

i didn’t realize

#

texas instrument needs to die

#

they have a monopoly on calculators

#

they’ve been selling the same fucking calculator for a decade and charge the same price

#

jesus christ

#

the ti-84 plus came out in 2004

#

i like the newer ones

#

the uhhh

#

CE

#

nicer screen

pearl sail
#

I got that TI-84 Plus C Silver Edition

restive ether
#

User memory
256 KB RAM of which 154 KB are user accessible.
Firmware memory
4.0 MB Flash ROM (3.0 MB user-accessible)

#

loss

#

that’s the CE

#

User memory
128 KB or 48 KB RAM (depending on hardware revision) of which 24 KB are user accessible.
Firmware memory
1 MB Flash ROM (480 KB user-accessible)

#

plus

#

give that mfer some ddr4 ram

pearl sail
#

Calculator legit have one function and can be out runned by a rasberry pi

restive ether
#

eta cheap pie calc

burnt niche
#

holy fuck its so hard making this calculator function

#

how its 2+1 = 4 mfer

twilit jungle
surreal mountain
#

if plus then x + y

#

if minus then x - y

#

if x then x * y

#

if division then x / y

ashen birch
#

TRUE

burnt niche
#

man its harder than you think

#

maybe i am doing it completely wrong

#
 @IBAction func buttonsPressed(_ sender: UIButton) {
        
        //store appended INTS in a string
        displayString.append("\(sender.tag)")
        //Update display of the label and set Display string to the label
        displayLabel.text = displayString
        //Store the value of the string in a INT
        x = Int(displayString)!

        
    }```
#

this how i am getting x

#

i get stuck on y

twilit jungle
granite frigate
#

:frburn:

burnt niche
#

im fucking retarded

#

i know

lime pivot
#

it actually does 😬

#

can't remember if it's TI or Casio that's still using effectively just a slightly improved Z80

#

The latest (mid-2015) graphing calculator in the TI-84 line by Texas Instruments, the TI-84 Plus CE, uses the eZ80 in the 24-bit address mode at a clock rate of 48 MHz. In Europe, the TI-84 Plus CE-T and TI-83 Premium CE are also powered by the eZ80.

#

yep

#

I'd be pretty depressed if all my company did was shit out very incrementally better versions of an Intel 8080 clone from 1976

tepid olive
#

lol

#

OH NO ITS 3:30 am again

#

FUCK

burnt niche
#

a calculator is harder than it seems....

#

lmfao

#

fuck this shit

#

To apply operations on the answer value with a new value is when i got lost

#

Ill try it another day

brave frost
grim sparrow
#

@burnt niche is that using collection views

burnt niche
#

It is @grim sparrow

grim sparrow
#

Pog champ

nimble parcel
#

Has anyone here used HBPreferences before?

#

I'm trying to find out whenever a pref is updated using -[HBPreferences registerPreferenceChange:] but it's only firing when the app is first launched

#

this is my plist

<dict>
    <key>entry</key>
    <dict>
        <key>cell</key>
        <string>PSSwitchCell</string>
        <key>defaults</key>
        <string>com.kabiroberai.oprefs</string>
        <key>label</key>
        <string>oprefs</string>
        <key>key</key>
        <string>enabled</string>
        <key>default</key>
        <true/>
        <key>icon</key>
        <string>/Applications/Preferences.app/icon-table@2x.png</string>
        <key>PostNotification</key>
        <string>com.kabiroberai.oprefs/preferences.changed</string>
    </dict>
</dict>
#

and my code (it's Orion/swift but tl;dr think of MyTweak.init as the constructor)

import Orion
import Cephei
import UIKit

extension HBPreferences {
    static let tweak: HBPreferences = .init(identifier: "com.kabiroberai.oprefs")
}

class LabelHook: ClassHook<UILabel> {
    func setText(_ text: String) {
        orig.setText("\(MyTweak.isEnabled ? "on" : "off")")
    }
}

struct MyTweak: Tweak {
    static var isEnabled: Bool {
        HBPreferences.tweak.bool(forKey: "enabled")
    }

    init() {
        HBPreferences.tweak.register(defaults: ["enabled": true])
        HBPreferences.tweak.registerPreferenceChange {
            NSLog("%@", "[OPrefs] Prefs changed to \(MyTweak.isEnabled)!")
        }
    }
}
grim sparrow
#

I’ve used it before but not what you’re doing blind

grim sparrow
#

I’d just fire NSNotification if I needed to monitor the change shake

nimble parcel
#

hm okay I managed to work around it using CFNotificationCenterAddObserver but i still don't know why Cephei isn't working

#

Also the CFNotification APIs are pretty crummy to use in Swift

#
import Orion
import Cephei
import UIKit

extension HBPreferences {
    static let tweak: HBPreferences = .init(identifier: "com.kabiroberai.oprefs")
}

class LabelHook: ClassHook<UILabel> {
    func setText(_ text: String) {
        orig.setText("\(MyTweak.isEnabled ? "on" : "off")")
    }
}

private func notificationCallback(_: CFNotificationCenter?, _: UnsafeMutableRawPointer?, _: CFNotificationName?, _: UnsafeRawPointer?, _: CFDictionary?) {
    NSLog("%@", "[OPrefs] Prefs changed to \(MyTweak.isEnabled)!")
}

struct MyTweak: Tweak {
    static var isEnabled: Bool {
        HBPreferences.tweak.bool(forKey: "enabled")
    }

    init() {
        CFNotificationCenterAddObserver(CFNotificationCenterGetDarwinNotifyCenter(), nil, notificationCallback, "com.kabiroberai.oprefs/preferences.changed" as CFString, nil, .coalesce)
    }
}
misty cradle
#

UnsafeMutableRawPointer

grim sparrow
#

@nimble parcel I can use SPM with Orion right?

nimble parcel
#

@grim sparrow not yet, spm is only supported on Xcode’s end but it still needs to be able to build using Theos

grim sparrow
#

Ah ok

tardy narwhal
#

although not swift and probably not recommended, have a peek at this particular gist from iMokholes with manual prefs synchronization

tepid olive
#

Developers

#

<@&355177983398641674>

grim sparrow
#

Why ping

tepid olive
lament mica
#

who ping

restive ether
nimble parcel
#

ok this orion stuff gets better by the minute

grim sparrow
tepid olive
#

Tweak.x.swift

tepid olive
#

@nimble parcel wait can you build the tweak with the run button normally in Xcode?

lament mica
#

@grim sparrow gm

half walrus
#

i mean you can do that currently @tepid olive

grim sparrow
half walrus
#

this is an extreme example and i dont have the xcodeproj here i think

#

you set it up as a library project (because tweaks are just libraries)

grim sparrow
half walrus
#

then add a build rule to move the tweak into a staging directory, and another build rule to package it with dpkg, then you can add a rule to run a bash command and do scp packagepathhere root@phoneip:/var/mobile/packagename; ssh root@phoneip "dpkg -i /var/mobile/packagename"

tepid olive
#

@grave sparrow is good?

restive ether
#

.

tepid olive
#

five guys too good

tepid olive
#

alright

grim sparrow
#

has that changed peek

nimble parcel
grim sparrow
#

yet smug

misty cradle
#

@gaunt mesa fr

#

Dm me when u see this

gaunt mesa
#

hi

half walrus
ashen birch
#

oh god

grim sparrow
half walrus
#

bc it’s true?

grim sparrow
tepid olive
#

trying to scroll up and my phone thought I tapped on triangle's username?? and then tapped again on the call button??? wow

misty cradle
grim sparrow
#

Nice

misty cradle
#

@vivid dew did u pick up

tepid olive
#

shep

#

shep is alive

misty cradle
#

shep

tepid olive
#

no we are not friends on discord so it didn't work lol

grim sparrow
#

L

tepid olive
#

I just saw the popup about it and took me a sec to figure out what happened

#

shep speak

primal perch
#

I am alive

tepid olive
#

How was your week off

primal perch
#

Pretty good

#

Well turns out not being here did nothing for my productivity as I went to reddit instead

tepid olive
#

just turn off notifications for socials like i do

#

only thign I have notifications on is for imessage, but I get those on my computer anyway

primal perch
#

I don’t have any notifications except sms and calls

tepid olive
#

oh

primal perch
#

It’s pretty chill

lime pivot
#

otherwise it won't be aware of the value change

nimble parcel
lime pivot
nimble parcel
lime pivot
#

it's documented under registerObject:default:forKey: but admittedly that's easy to miss if you aren't using that method

#

I also need to fix the see: docs fields so they actually link to the symbols being referenced

nimble parcel
#

Hey at least you have see: fields; Swift's - SeeAlso: is broken lmao

lime pivot
#

ugh can't say I'm even surprised

#

Jazzy is far better at docs than Xcode, which seemingly never improves

nimble parcel
#

btw i'm making a few changes to the fullwidth template (inserting a style tag into the head) which should make it slightly more responsive so feel free to use those in cephei's docs once I push em

lime pivot
#

yeah I'd definitely like to, it's unusable on mobile

#

I used the default theme for Alderis because of it

tepid olive
#

alderis

lime pivot
#

alderis

tepid olive
#

why can’t discord sync the emotes up

#

cmon

lime pivot
#

it does for me

#

prolly only by luck of how chromium handles gifs I bet

tepid olive
#

yeah it only affects the client of the sender

nimble parcel
lime pivot
#

I do!

tepid olive
#

when i restart my client they are very close to synced

lime pivot
#

oh yeah it won't be consistent on iOS

nimble parcel
tepid olive
lime pivot
#

blobbo's just vibin

nimble parcel
#

tfw no nitro

nimble parcel
grim sparrow
tepid olive
#

:hypershook:

grim sparrow
#

L

lime pivot
#

you don't have kabir's permission so you have to steal it

grim sparrow
#

True

tepid olive
#

where are the binaries for system apps stored

grim sparrow
#

/Applications/AppYouWant.app/AppYouWant

tepid olive
#

why is the binary 50kb and contains none of the apps functions then

#

that’s not the real binary

grim sparrow
#

what you looking at

#

/for

tepid olive
#

Family.app

#

and Health.app

#

oh health.app is normal actually

#

but family.app is not

#

so it seems

grim sparrow
#

eeeeeerrrrrrrrrrrrrrr

#

idk

#

no idea what Family.app is even for blind

tepid olive
#

family

grim sparrow
#

Apps that you can delete are somewhere in var

#

ones that you can't are /Applications

tepid olive
#

interesting

#

that explains why I couldn't find some system apps in /Applications

grim sparrow
#

the crack?

tepid olive
#

i’m specifically looking for the music app binaries

grim sparrow
#

yeah they're somewhere in /var

tepid olive
#

OH ITS DELETEABLE

#

BRUH

#

OK

heavy jungle
#

How would one go about completely disabling the CommCenter daemon?

tepid olive
#

Actually Family.app is normal it’s just super small

#

i’m retarded

tepid olive
#

cock center daemon

grim sparrow
#

You can't completely kill CommCenter nicely

#

the phone won't boot without it

#

Learnt that the hard way

heavy jungle
#

Then in substrate mode

grim sparrow
#

Why do you want to kill it

heavy jungle
#

how would one disable?

#

I want to disable it because I want to render an iPhone cellular capability useless like an iPod Touch

tepid olive
restive ether
grim sparrow
heavy jungle
#

Sooo

grim sparrow
#

killing CommCenter is a bad way to do that

#

lol

heavy jungle
#

It re-enabled itself

#

already tried

grim sparrow
#

Yeah because is an essential daemon

#

I know an easy way you can make it refuse to connect to any cellular service

heavy jungle
#

That’s not what I want to do. I want to prevent the phone from even searching for a cellular service

#

Unless that’s what you meant

grim sparrow
#

Why

heavy jungle
#

Because iPhone 7 basebands are gay

grim sparrow
#

...

tepid olive
#

nfr

heavy jungle
#

so

tepid olive
#

i have no idea what this is

#

but it might be it

#

lol

heavy jungle
#

is it not even possible to disable CommCenter with Substrate?

grim sparrow
#

eeeeerrrrrrrrrrrrrr

restive ether
#

term

grim sparrow
#

It just revives itself

tepid olive
#

just rm -rf CommCenter

restive ether
#

makes sense

grim sparrow
heavy jungle
#

that will prevent it from booting

grim sparrow
heavy jungle
#

which is bad

grim sparrow
heavy jungle
#

so

tepid olive
#

yes this has both objc and swift

#

nice

grim sparrow
#

time to scrape my time machine for an old file

heavy jungle
#

/System/Library/Frameworks/CoreTelephony.framework/Support/CommCenter

#

How disable?

grim sparrow
#

modify launchd kek

tepid olive
#

bro this auto analysis is gonna take forever

heavy jungle
#

So hook LaunchD to not restart CommCenter?

nimble parcel
#

lmk what y'all think

#

cc @lime pivot

grim sparrow
grim sparrow
heavy jungle
#

fuck

tepid olive
#

cool

#

orion

nimble parcel
tepid olive
grim sparrow
grim sparrow
tepid olive
#

ill actually use swift if i can make tweaks in it

nimble parcel
grim sparrow
#

I think theres enough for what I need

heavy jungle
#

Is the process # the process ID?

tepid olive
#

wtf why is the class even named like this

nimble parcel
#

because its a music subscription status hacks

grim sparrow
#

awesome

#

ida crashed

surreal mountain
#

lol thats how launchd works

heavy jungle
#

says that if CommCenter is disabled, then the WiFi connectivity also gets disabled?

surreal mountain
#

no

heavy jungle
surreal mountain
#

yes

#

yes

#

yes

#

it will

heavy jungle
#

nooooo

#

wait

lime pivot
grim sparrow
#

CommCenter handles all wireless connections

heavy jungle
#

Spotify works in offline mode nvm

surreal mountain
#

pretty sure about that

heavy jungle
#

It’ll work

nimble parcel
grim sparrow
#

Ping me when I can inject into the kernel

surreal mountain
#

when checkra1n m1 support

heavy jungle
nimble parcel
grim sparrow
tepid olive
#

@nimble parcel give orion

nimble parcel
#

🧅

grim sparrow
tepid olive
#

:giveme:

#

:haydenanimecumchristmas:

#

Beginning with iPhone OS 2.0, stopping CommCenter will also result in a loss of Wi-Fi networking until the device is rebooted.

nimble parcel
tepid olive
#

True

heavy jungle
#

That’s fine

tepid olive
#

I will use these docs to make orion 2 and release first

heavy jungle
#

do I just run a .bat file every launch?

grim sparrow
tepid olive
#

:how:

#

Please please dont put it on bigboss or dynastic

surreal mountain
tepid olive
#

theos.dev/repo

nimble parcel
surreal mountain
#

chariz

restive ether
#

on u0 and check

heavy jungle
#

chariz
@surreal mountain no

grim sparrow
#

since when peek

restive ether
#

they have userspace support

heavy jungle
#

Hashbang is gang gang

grim sparrow
#

interesting

restive ether
#

so you can attach to launchd

surreal mountain
nimble parcel
restive ether
#

i don’t have bigboss

surreal mountain
#

chariz

restive ether
#

because it’s bloated garbage

tepid olive
#

@nimble parcel can the framework be compiled without xcodebuild or any of that special stuff because if so im gonna add it to procursus

#

bigcocks

#

I dont keep bigboss or dynastic on my sources lol

grim sparrow
#

L

surreal mountain
#

fuck dynastic

restive ether
#

@grim sparrow chimera soon though

nimble parcel
restive ether
#

loss

heavy jungle
tepid olive
#

loss

grim sparrow
#

Aemulo on the flame icon repo peek

heavy jungle
lime pivot
#

only quickly skimming through for now but these docs are pretty well written and extensive. well done @nimble parcel

grim sparrow
tepid olive
surreal mountain
#

go ahead

#

give me a fucking working checkra1n

#

for m1

restive ether
#

bigboss bad i don’t even have anything installed from it GirDance

surreal mountain
restive ether
#

darwin-arm build when

heavy jungle
#

@restive ether really?

surreal mountain
#

Waiting for DFU devices

nimble parcel
surreal mountain
restive ether
#

really to what

lime pivot
#

omg

tepid olive
heavy jungle
#

Not even a single tweak?

restive ether
#

no

tepid olive
#

@nimble parcel curious which part requires xcbuild?

surreal mountain
#

bigboss is ass sorry

restive ether
#

why would i want that junk

#

lol

#

you don’t need a single depend from bigboss either

surreal mountain
#

not sorry lol

restive ether
#

at least with pro

#

you do with elu if you want newterm

heavy jungle
#

Cephei?

surreal mountain
#

ODYSSEY IS SO SHIT

tepid olive
#

Love that chicken from popeyes

surreal mountain
#

sorry

restive ether
#

cephei is on chariz bro

tepid olive
heavy jungle
#

O

surreal mountain
#

likterally 18 tries so far

restive ether
#

get good lol

tepid olive
#

Quipr everytime u say that i feel a little better because u consistently have had the worst takes on earth even before odyssey

restive ether
#

i have never had to try more than twice

#

lmao

twilit jungle
#

How else are you going to get WinterBoard?

heavy jungle
#

@restive ether you should try out the tweak DoubleCheck

restive ether
tepid olive
#

@twilit jungle dreamboard

grim sparrow
#

omfg

surreal mountain
#

i am ldrestarting now

grim sparrow
#

i'm so dumb

tepid olive
#

just pirate WinterBoard, i heard its on [redacted]

surreal mountain
#

lets see

restive ether
#

i do miss dreamboard lol

surreal mountain
#

if it works

restive ether
#

parygon was cool

nimble parcel
tepid olive
heavy jungle
#

I have like 14 tweaks from BigBoss

nimble parcel
#

ideally I'd like to make it possible to build it with Theos itself but we don't have all the functionality for that yet

restive ether
#

gross

grim sparrow
restive ether
#

devs that upload to bigboss are weird

#

i don’t get it

twilit jungle
restive ether
#

i’ve noticed most of them are usually chinese so maybe that’s got something to do with it

burnt niche
#

@grim sparrow when you asked if it was using a collection view. I meant no... it was 4am so i typed yes

grim sparrow
#

lmao

surreal mountain
#

back to u0

tepid olive
#

Whichever ends up being easier for me

grim sparrow
#

wtf

tepid olive
#

(If u dont mind ofc)

restive ether
#

quip took the L again

heavy jungle
#

Sorry I was wrong. @restive ether

restive ether
#

loss

surreal mountain
#

cant even get tweaklist

heavy jungle
#

I have 57 tweaks from BigBoss

restive ether
#

????

nimble parcel
heavy jungle
restive ether
#

how

#

i can’t even find 5 good tweaks on there

surreal mountain
#

LMAO

tepid olive
#

57 is more than all the tweaks i have installed

surreal mountain
#

ok ldrestarting again

tepid olive
#

mfers be over here with 300 installed packages and are blaming their jb for battery drain

restive ether
#

yeah i literally have like 6 tweaks lol

restive ether
#

@tepid olive did you see Mr. Andres got caught

nimble parcel
#

I can add you to the Orion repo if you want a headstart @tepid olive

grim sparrow
restive ether
#

yes

#

lol

#

it was Mr. Andres

tepid olive
#

paul

#

mr. paul has since left us

tepid olive
restive ether
#

because he didn’t wanna get caught

heavy jungle
#

well there’s Activator, AFC2, AppList, Choicy, DiscreetVoiceMemos, DoubleCheck, Flex 3, Flipswitch....

restive ether
#

obviously whatever he’s doing isn’t good

tepid olive
#

I appreciate the offer though

surreal mountain
#

failed again

nimble parcel
surreal mountain
#

kill

#

me

#

now

tepid olive
#

@restive ether tell more nmonkashake

restive ether
#

@tepid olive he was dynamically creating a dylib called snowboardSB when snowboard was present and you installed some of his junk

tepid olive
#

oh yeah ik

#

lol

restive ether
#

Loss

tepid olive
#

i remember because i have snowboardsb dylib

restive ether
#

literally just call it ImStealingYourUDID.dylib

tepid olive
#

ship the data of the dylib in base64

surreal mountain
#

NSData cockANdBALls

tepid olive
#

literally just like

#

upload raw udid

#

and boom

#

now you have free udids

nimble parcel
tepid olive
#

U just lmk man i love getting others into exercise