#development

1 messages · Page 172 of 1

slender glade
reef trail
#

that’s really smart, this one is a 2nd language group discussion so idk how useful it will be here but when i do my speech in early year 11 im definitely stealing this

lyric heron
#

what files does

#

appdata delete when i click the reset data button

#

also does the advertising id

#

change if you erase your device

#

or is it device unique like the uuid

tawdry trench
#

youll be fine bro

drifting heron
#

tysm! ❤️

#

gl with your exams!

reef trail
torn cloud
#

@queen ruin this is my someone elses code and the log does this in light mode, it works fine in dark mode.

queen ruin
frail cedar
torn cloud
#

i'll check font of other stuff though

#

the thing is it doesn't show the black border around log

frail cedar
#

What are you using to dynamically change colors

#

Show dark mode

#

what it's supposed to be

#

Also any particular reason you're using objc and not swift

torn cloud
# frail cedar What are you using to dynamically change colors
(void)viewDidLoad {
    [super viewDidLoad];
    // Set background color based on user interface style
        if (@available(iOS 13.0, *)) {
            // Use default system background color for iOS 13 and above
            self.view.backgroundColor = [UIColor systemBackgroundColor];
        } else {
            // Fallback to white color for older iOS versions
            self.view.backgroundColor = [UIColor whiteColor];
        }

i assume this is what you're asking for?

frail cedar
#

Hello chatgpt

#

what iOS are you targeting

torn cloud
torn cloud
frail cedar
#

I didn't say swiftUI

#

i said swift

torn cloud
#

mb

frail cedar
lyric heron
#

tailani

#

hi

#

do you know if the advertising id changes if i erase my device

frail cedar
#

Probably

#

Idk

#

Just disable the advertising ID

torn cloud
queen ruin
torn cloud
#

hmm

#

ok

frail cedar
queen ruin
frail cedar
#

But only on like

#

ios 9 and up

#

ios 5 and older storyboards are sure something

#

Auto layout constraints? Hahahahaha what are you talking about

torn cloud
#

or no

queen ruin
frail cedar
#

It's irrelevant

torn cloud
#

true

frail cedar
queen ruin
#

I thought programmatic was the way to go to UIKit

frail cedar
#

In some cases programmatic is good

#

In other cases storyboard/interface builder is good for when you just wanna build something quick and simple

torn cloud
#

ok i'll just try this ig

void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor systemBackgroundColor];
}
frail cedar
#

drag and drop, connect your IBActions, and go

frail cedar
#

Alcatraz' UI is a mix of both - programmatic where storyboard was still too new to be of any use

queen ruin
#

SwiftUI > Storyboards?

torn cloud
#

@ashen birch happy bday

frail cedar
#

Yes

#

SwiftUI is basically storyboard 2

queen ruin
#

I see I see

frail cedar
#

Without drag and drop

ashen birch
queen ruin
#

Between programmatic and storyboards

frail cedar
#

swiftUI still does have limitations though

queen ruin
slim bramble
#

Don’t you ever use storyboard

frail cedar
#

mostly that you have to use UIViewControllerRepresentable for some things bc apple STILL hasn't given us a swiftUI map view

queen ruin
#

No storyboard

frail cedar
#

I don't use it for new stuff

slim bramble
frail cedar
#

It breaks my mac

#

Kepler graphics moment

#

it's fine in mountain lion though

timid furnace
#

Happy birthday @restive ether @ashen birch

ashen birch
#

thank

slim bramble
#

Oh wait it’s cam’s birthday too

#

Happy birthday @restive ether

restive ether
#

my birthday was yesterday

#

but thank you

primal perch
#

Happy birthday @restive ether @ashen birch

restive ether
ashen birch
#

year weary

#

Happy Birthday @ashen birch!

torn cloud
#

log outline shows in light mode including the top

#

however the top is missing in dark mode

#

also the button is missing in light mode

vivid dew
#

omega

queen ruin
#

🍰

torn cloud
#

@tepid olive where did bro go

tepid olive
#

on vacation

torn cloud
#

W

tepid olive
#

(I wish)

torn cloud
#

oh

torn cloud
#

wen eta

tepid olive
#

I don't have an A12+ device anymore

torn cloud
#

buy one

tepid olive
#

I don't have money

slim bramble
tepid olive
#

It is

sonic totem
#

‘Easy’

primal perch
#

simple money

acoustic imp
#

Gorn

primal perch
#

gorn

queen ruin
#

Good morn

torn cloud
#

who deleted my messages

torn cloud
visual meadow
#

Im trying to macspoof and its actually tweaking bro

faint stag
#

amy made a rootless version but still kept the firmware as >=14.0 lol

visual meadow
kind herald
#

rootlessJB14

visual meadow
#

it doesnt work either way because wifid runs as root

#

it works on my ipad but im trying to do it on serotonin

faint stag
visual meadow
#

true

#

is there a good way to restart a service

#

or do i have to stop start

faint stag
hasty ruin
#

done

kind herald
#

A12+

visual meadow
#

ok launchctl stop com.apple.wifid just makes it restart

#

so ill do that

faint stag
#

because you didn't unload it

visual meadow
#

i know

#

thats good

#

i want it to do that

faint stag
visual meadow
#

I did

#

thats what i did

hasty ruin
#

this mf coding without syntax highlighting

visual meadow
#

cause i dont care rn

torn cloud
#

that’s painful to watch

visual meadow
#

because i am just quickly modifying this tweak

torn cloud
#

soon

#

ik

#

soon

visual meadow
#

@faint stag now im not sure what to do lol

#

what would be a good way to restart it as mobile

#

also the mac address still will not change wtf

faint stag
visual meadow
#

well on my router it shows as my normal phone mac

#

im hoping its just possible to make a trollstore implementation of macspoof

faint stag
#

well the tweak itself only injects into preferences
but do you really want to patch the settings app binary clueless

visual meadow
#

i feel like its possible to convert the tweak into a prefs app

#

like

#

separate app imean

faint stag
#

yeah ofc
that only solves the prefs issue

#

not the tweak

visual meadow
#

annoying

faint stag
visual meadow
#

cause hooked audittoken

radiant idol
#

@vivid dew @ashen birch happy birthday!

primal perch
#

@vivid dew @ashen birch happy birthday!

radiant idol
#

@primal perch .

primal perch
#

gm

radiant idol
#

gm

kind herald
#

so called free thinkers when they see "gm"

primal perch
#

fr

acoustic imp
#

gm

torn oriole
#

so called free thinkers seeing swiftui(time to slander vigorously)

opal ridge
#

hydration

torn oriole
#

Hihi

torn oriole
opal ridge
#

remember the uhh iPad on 10.3.2

torn oriole
#

Mine? Or

opal ridge
#

yours

torn oriole
#

That funny drop test right

opal ridge
#

right

torn oriole
#

Yeah what about it

opal ridge
#

I think that only had 6 GB of storage

torn oriole
#

Nah it has a 32gb nand

#

It’s just partitioned weird

opal ridge
torn oriole
#

It’s empty

opal ridge
#

oh

kind herald
torn oriole
#

The other ~26gb is just empty space

torn oriole
#

RunePad

proud geyser
#
PlayGround/NetworkingManager.swift:72: Fatal error: 'try!' expression unexpectedly raised an error: Swift.DecodingError.keyNotFound(CodingKeys(stringValue: "id", intValue: nil), Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key CodingKeys(stringValue: \"id\", intValue: nil) (\"id\").", underlyingError: nil))``` help?
primal perch
#

FEX

faint stag
cloud yacht
#

like 60 years

primal perch
#

if windows on arm kicks off properly with snapdragon X elite, 25 years at soonest

lean ermine
primal perch
#

probably 40+

lean ermine
#

x86 is definitely a long time from death but arm laptops will probably be the standard in like ten years

primal perch
#

ya

lean ermine
#

and maybe workspace prebuilts or monitor pc combos will be arm

primal perch
#

after that wed need DIY/socketed arm and motherboards for every corner of the market to have an option

#

then its just a waiting game

lean ermine
#

arm socket motherboards are really far away imo lol

#

it'll be neat to see when it happens

cloud yacht
#

tbh linux arm support is pretty good

primal perch
#

at least 15 years probably yeah

cloud yacht
#

thats nice

lean ermine
#

arm support is already good for most things

#

arm is dailyable with minimal hassle

cloud yacht
#

I heard it was abysmal on widnows

primal perch
#

its definitely improved a lot

lean ermine
#

i think it is fine now but idk

primal perch
#

but it doesnt help that until snapdragon x elite the arm hardware is buns

cloud yacht
#

anyways how long until RISCV adoption

lean ermine
#

m1 is fantastic and apple singlehandedly pushed the envelope for arm standards

#

i love my m1 air very much

primal perch
#

same

#

they cooked

#

they cooked so hard the vast majority of users dont even know or care its arm vs x86

#

fairly seamless transition

lean ermine
#

yep lol

cloud yacht
#

yeah M1 seems so good, too bad apple locks down it's hardware so much

lean ermine
#

m series are not locked down at all

#

lol

primal perch
#

yea

#

i agree on iphones but nothing on mac is theoretically impossible

lean ermine
#

apple has set and maintained a really good standard for their computers

cloud yacht
#

well I mean things like soldered ram and stuff

primal perch
#

yeah that sucks

gentle grove
#

ROD

primal perch
#

for the nand anyway

gentle grove
#

ram on die

lean ermine
#

that is true

gentle grove
#

that should be an acronym

primal perch
#

in my opinion the on package ram is part of why the battery is so good

#

less power from traces so its permissable

granite frigate
#

i wish asahi could run rosetta

#

for translation

#

man

lean ermine
#

ssd is also not a realistic point of failure

primal perch
#

it is after you use it enough

lean ermine
primal perch
#

its guaranteed to fail at some point

granite frigate
#

around there?

cloud yacht
lean ermine
#

interesting

lean ermine
granite frigate
#

i tried box as well

lean ermine
#

i hear box is mid

granite frigate
#

dunno

primal perch
#

for the lifespan of the first user though yeah its plenty

granite frigate
#

most of the apps i ran on asahi ran fine with arm

primal perch
#

7+ years

lean ermine
#

i havent messed with asahi because it doesnt support booting from external storage

cloud yacht
#

at least like most of the apps I use on linux are open source, which means they can be recompiled

granite frigate
#

if not i recompiled it myself

#

which was really useful

primal perch
#

but like a 300TBW rating for 500GB is gonna wear out at some point

lean ermine
primal perch
#

me neither mine has like 2

cloud yacht
#

the AUR is really good for software (idk how well for ashi, i don't own a M series)

granite frigate
#

how do i check tbw/r

primal perch
#

if youre nebula and got 8gb of ram though you have 150TBW

#

troll

#

smartctl -a /dev/disk0

#

after installing smartmontools

lean ermine
#

i mean i have 8gb ram also and am a poweruser i think

granite frigate
#

man

primal perch
#

troll

lean ermine
#

pretty wild but still a ways away from even worrying about failure

primal perch
#

yeah

lean ermine
#

i have also seen mixed things about what failure entails

#

but i am pretty sure it is just unwritable zones

primal perch
#

the standard industry rating is 600TBW/1TB of nand but realistically most products will last longer

lean ermine
#

not like failure failure

primal perch
#

usually yeah blocks die before the whole thing and can be marked off

cloud yacht
#

I have 32GB of RAM 😎

granite frigate
#

so 150tbw/250gb?

primal perch
#

yea

#

so even worst case youve used like a sixth

lean ermine
#

yea

granite frigate
#

aight

#

worst case 1/5th

#

we chill

#

5 years

primal perch
lean ermine
#

its fine

#

no worry

primal perch
#

a 73TBW rated samsung 250gb ssd lastest about 1PB

lean ermine
cloud yacht
#

question is this a lot?

primal perch
#

no

lean ermine
primal perch
#

its not worth worrying about unless you hit your disk hard with renders at work

granite frigate
#

🔥

#

fuck docker

cloud yacht
#

chances are I'll replace my drive sooner because I'm out of space hten it died

primal perch
#

and even then itll take years

lean ermine
#

i also hit a lot on swap but its fine

cloud yacht
#

maybe I should swap drives with my pc

lean ermine
primal perch
#

its just annoying that this is a potential point of failure for the entire logic board

cloud yacht
#

I also don't have a mac

#

I can just replace my drive

primal perch
#

based

lean ermine
#

there is a guy doing m2 slot replacements on m1 series nands

#

for like 150

cloud yacht
#

hmm do I nuke my pc's drive again?

#

I did some thinking and its probably better to swap drives with my laptop

#

cause I use my laptop more now and I am running out of space

#

amd it has twice the storage

#

I'll have to check disk speeds

gentle grove
# granite frigate 1 year with 8gb ram

5 years with 16 GB ram

Available Spare:                    100%
Available Spare Threshold:          99%
Percentage Used:                    3%
Data Units Read:                    82,770,764 [42.3 TB]
Data Units Written:                 53,510,231 [27.3 TB]
Host Read Commands:                 1,870,220,652
Host Write Commands:                729,651,645
Controller Busy Time:               0
Power Cycles:                       206
Power On Hours:                     959
Unsafe Shutdowns:                   50
#

how many power on hours do you guys have

cloud yacht
#

mine is not that old

gentle grove
#

mine is

cloud yacht
#

like roughly 2.5 years

#

I almost have as many power on hours as you

#

well

#

I guess I'm a bit behind

#

wait no I did my math wrong

#

my laptop is only 1.5 years old

granite frigate
#

wait no

#

i read the wrong field

#

887

#

216 cycles

primal perch
#

42 cycles troll

native orbit
#

Power On Hours: 582
had this for like 6 months uhhsweat

wooden yarrow
#
Data Units Read:                    119,364,320 [61.1 TB]
Data Units Written:                 63,942,439 [32.7 TB]
Power Cycles:                       655
Power On Hours:                     1,609
Unsafe Shutdowns:                   38
#

🔥

#

had this for like 3 years now i think

#

also 16gb ram

gentle grove
#

how do I only have like 1000 though after 5 years

faint stag
faint stag
faint stag
#

it's a m1 macbook pro
8gb of ram sadly

primal perch
#

zamn

faint stag
#

tbf i rarely reboot the thing
only if it panics or something

primal perch
#

zefram

faint stag
#

or a funny thunderbolt dock

#

something power related, idk

gentle grove
#

I've never had a panic on macOS though

primal perch
#

it’s been a long time

#

same with bsods

#

unless i’m over clocking

gentle grove
#

Im never on windows so

#

.crowns

worldly sundialBOT
#

You or the user you're searching for don't have any crowns yet.

Use .whoknows to start getting crowns!

gentle grove
#

.wk

worldly sundialBOT
gentle grove
#

.crowns

worldly sundialBOT
#
Crowns for bbaovanc 🦆
  1. Neal Schon31 plays — Claimed <t:1713257971:R>
gentle grove
#

@primal perch winning

#

.crowns stolen

worldly sundialBOT
#

You or the user you're searching don't have any crowns that got stolen yet.

gentle grove
#

.crowns shepgoba

worldly sundialBOT
#
Crowns for bbaovanc 🦆
  1. Neal Schon31 plays — Claimed <t:1713257971:R>
gentle grove
#

.crowns @primal perch

worldly sundialBOT
#
Crowns for shepgoba, requested by bbaovanc 🦆
  1. Between the Buried and Me1958 plays — Claimed <t:1713257048:R>
  2. Porcupine Tree264 plays — Claimed <t:1713244303:R>
  3. Symphony X114 plays — Claimed <t:1713256952:R>
  4. Native Construct82 plays — Claimed <t:1713256782:R>
gentle grove
#

why cant it just auto claim them

hexed knot
#

Theres a command for that

#

.refreshcrowns

#

Or smth like that

torn cloud
#

@radiant idol this is what I was having issues with in my UI, when I tap on a table view the grey fade doesn’t go away automatically, it stays and it looks bad, is there a way to set a time of 1-2 seconds for the fade to disappear?

#

sorry if I’m not making sense idk how to explain this

indigo peak
#

you have to deselect in your tap row method

#
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    [tableView deselectRowAtIndexPath:indexPath animated:YES];
    
    // other code
}```
native orbit
#

the good days before swiftui 😢

radiant idol
torn cloud
torn cloud
#

yeah ok

radiant idol
#
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
    tableView.deselectRow(at:indexPath, animated:true)
}
#

i think thats the swift

#

maybe

radiant idol
#

whar

primal perch
#

yea its fine

slim bramble
#

Hey @grim sparrow, I've noticed that after using Sileo, a process named dash is spawned with this command #development message. It uses my phone's cpu to more than 100%. Which makes my phone really hot (it reaches like 140% cpu usage 💀). Do you know where this could come from ?

Discord

Discord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities.

brazen timber
#

dash is a shell

grim sparrow
#

Oh yeah it’s a bug with apt afaik

torn cloud
grim sparrow
#

We need to migrate from some of the old apt tools

torn cloud
#

if I turn landscape it looks fine

grim sparrow
#

It’s a known bug with apt that Sileo manages to trigger

brazen timber
#

trolly

slim bramble
torn cloud
#

while we’re talking about Sileo @grim sparrow I always have this issue when installing/upgrading any package, it doesn’t happen when using zebra

slim bramble
slim bramble
torn cloud
#

thanks

restive ether
placid kraken
#

everything i’ve heard about apt has been bad so far

#

including performance issues

#

rewrite it in rust or something

slim bramble
torn cloud
#

rust

placid kraken
#

probably? idk

torn cloud
#

rewriting apt into rust

slim bramble
#

pacman on iOS would be fun

restive ether
#

done and done

slim bramble
#

Yeah surely it hasbeen done

torn cloud
slim bramble
#

But it's not really usable as no repos supports it

reef trail
#

gonna make mine work rn

#

/jk

placid kraken
#

lmao imagine just being able to use the rustup installer for unix

slim bramble
placid kraken
#

that would actually be amazing holy shit

slim bramble
#

@hasty ruin thoughts ?

#

Oh wait your muted

torn cloud
slim bramble
torn cloud
left phoenix
#

Icum

nocturne spindle
#

what is the best coding language to learn for newbies? Python or javascript?

nocturne spindle
slim bramble
nocturne spindle
orchid fulcrum
#

Just learn c imo

#

People make it seem harder than it is

nocturne spindle
torn cloud
#

you just have to get a concept of headers and basic programming elements

#

my first Lang was python but imo C is way better

orchid fulcrum
#

Learning the basics is maximum 1 month. Getting to level where you can actually understand meaningful programs may require couple of months more

steady nest
#

brother c is far from a beginner language

nocturne spindle
steady nest
#

do yourself a favor and go for java(script) or python

#

1 month or so for basics and then you can go for c

nocturne spindle
torn cloud
#

python is good for a beginner language

nocturne spindle
sonic totem
#

I find that C is good once you have a basic knowledge of programming. Python is good to understand how the flow of your programs should go, but C reveals a lot of what goes on under the hood (e.g. memory safety, even simple things like how a for loop is declared in Python vs. C)

orchid fulcrum
#

If the endgoal is learning c i don't see the point of learning oop languages hm

nocturne spindle
slim bramble
nocturne spindle
orchid fulcrum
tawdry trench
#

does anyone know what a .pack file is

slim bramble
#

but you can defo do python -> Java -> C

#

or remove python

orchid fulcrum
# nocturne spindle yeah i will do python then C instead of doing directly C

I started with python in highschool and forgot about it after that course was over 😂. Then i started learning c to remake a game i used to play on ios 4 days. I put that project on hold after making like the foundation because i got interested in tweaks so i learned objective c, i made a cc module but couldn't do anything else (probably because the hooking stuff confuses me) before i got bootlooped and forced to update 💀

nocturne spindle
nocturne spindle
sonic totem
slim bramble
sonic totem
#

Python -> C will do you just fine

slim bramble
orchid fulcrum
nocturne spindle
#

alright then i will avoid js lol

#

pthyon -> C it is

slim bramble
granite frigate
#

i'm still bad at C

#

i've gotten sidetracked and went down the dark path of web dev

nocturne spindle
granite frigate
slim bramble
nocturne spindle
#

If i learn C then i will be more prepared to handle the messy objc uhh

slim bramble
#

objc is superset of C

granite frigate
#

i was going to say something but i'm probably not qualified enough to give advice

nocturne spindle
slim bramble
#

for the amount of C you will do for tweaks

#

just go for objc

orchid fulcrum
granite frigate
#

here

orchid fulcrum
#

Yep

nocturne spindle
reef trail
#

i'll probably get murdered for this but swift has a much nicer syntax and is closer to python which you can use to make tweaks

nocturne spindle
orchid fulcrum
nocturne spindle
slim bramble
#

yes

#

100% better

reef trail
#

theres more objc resources though

#

but i learned tweak dev with swift

slim bramble
#

sw*ft

#

ewwwww

nocturne spindle
orchid fulcrum
reef trail
granite frigate
reef trail
#

i use swift because i can write and debug it faster

#

and write cleaner code

#

but i havent learnt objc properly yet

slim bramble
#

@nocturne spindle Let's do it easily, do you have a mac ?

granite frigate
reef trail
#

i did

orchid fulcrum
#

Respect

granite frigate
#

how hard was it

reef trail
nocturne spindle
reef trail
granite frigate
#

huh

reef trail
slim bramble
reef trail
#

or vm like me

#

but yeah i agree with that

slim bramble
reef trail
#

using any swift in your tweak will make it not work for arm64e devices

#

if built on non mac

reef trail
#

doesnt work with swift sadly

#

and is still buggy with objc

nocturne spindle
slim bramble
granite frigate
#

i wanted to write a tweak that isn't just one (1) hook but i have no clue how to do stuff

reef trail
slim bramble
#

on iOS 14 & 16 it's pretty clean

timid furnace
#

the best tweaks are tweaks that you come up with out of your own misery

#

i worded that wrong

#

pet peeves is a better term

placid kraken
#

anyway yes python is very fast if it’s just calling c functions

reef trail
placid kraken
#

i made it to solve a problem i had myself

slim bramble
orchid fulcrum
granite frigate
#

i don't have any problems w jb

slim bramble
#

That's also why 16Player exists

granite frigate
#

i wanted to write a xenhtml replacement

slim bramble
granite frigate
#

but designer already exists

#

so

reef trail
#

not why pinnacle exists, i made pinnacle cos i saw it on a bounty and it seemed like it touched areas of ios i waned to learn about

reef trail
orchid fulcrum
nocturne spindle
reef trail
#

i might, if i get time after exams, make a free xenhtml replacement

granite frigate
#

wouldn't call it that

reef trail
#

designer has html support?

granite frigate
#

yes

#

that's why I said i had no reason to make my own

slim bramble
#

@reef trail eta pinnacle ios 14

granite frigate
#

i got bummed out after hearing about it

slim bramble
reef trail
#

havent tested it tho

#

the control file allows you to

nocturne spindle
granite frigate
#

i don't have any grievances with iOS other than the fucking beta alert

#

but I can't jb to remove it anyway

slim bramble
#

😭

granite frigate
faint lionBOT
#
Zenith

Organisation Done Right

Author

Muirey03

Version

1.2.6

Price

Free

Repo
Bundle ID

com.muirey03.zenith

reef trail
slim bramble
#

yes

reef trail
#

[[pinnacle]]

faint lionBOT
#
Pinnacle

A new way to organise your apps

Author

rugmj

Version

1.1.0

Price

$1.49

Repo
Bundle ID

dev.rugmj.pinnacle

reef trail
#

read the depiction

granite frigate
#

how hard would that be omg uhh

slim bramble
#

Ohhh ok but idk how it is useful

reef trail
granite frigate
#

ah nvm i see pinnacle does it

reef trail
slim bramble
#

Just tried and it safemoded me @reef trail

reef trail
#

you didnt pay for it did you?

slim bramble
#

I sniped a code

reef trail
#

ah

slim bramble
reef trail
#

i forgot

slim bramble
#

[SBIconView _removeJitter]

#

it doesn't exist

reef trail
#

annoying

#

you're a dev so you couldve just built it yourself

slim bramble
#

I don't have a mac handy

reef trail
#

fair

reef trail
slim bramble
#

oh wait I can look at headers

reef trail
#

flex would be easier cos you get type info

#

but yeah

lyric heron
#

hi guys

#

funny question

#

can i remove the keychains from an ipa

granite frigate
#

i think I don't have anything I want to make as a tweak so i haven't bothered learning how

lyric heron
reef trail
lyric heron
#

by being smart

reef trail
#

so thats why you dont have it

lyric heron
#

im only good at maths man

orchid fulcrum
#

💀

lyric heron
#

dont do me like that

lyric heron
#

this

#

pls

reef trail
#

i still dont know

orchid fulcrum
#

I made a cc module make me orange too troll

lyric heron
#

ugh

#

🙄

granite frigate
#

well not me only

reef trail
#

oh nice

lyric heron
#

oh em gee

reef trail
#

i didnt know who the dev of that was lol

lyric heron
#

serotonin person

#

it was mineek and sacro

granite frigate
#

i released the initial version

#

then i think he just added kpf

harsh junco
#

arm64e was a mistake

reef trail
#

as in the abi or roothide?

lyric heron
#

both

slim bramble
#

@reef trail here is a fix that should work : MSHookIvar<BOOL>(self, "_allowJitter") and set it to false

orchid fulcrum
#

Wasn't your name hwroti or something @granite frigate

reef trail
#

the abi is painful but roothide will be amazing

granite frigate
placid kraken
#

hrtowii ❤️

granite frigate
#

fr

placid kraken
#

@slender glade

reef trail
placid kraken
#

nvim >>>>>>

slim bramble
#

@available ?

placid kraken
#

anyway yes

lyric heron
#

rosie

#

hallo

reef trail
#

#available i think

slim bramble
#

it exists in swift

placid kraken
#

if you need the version as a string then [[UIDevice currentDevice] systemVersion]]; otherwise @available(iOS <version>)

#

available is a macro iirc? it returns false if the sdk version used to build isn’t higher or equal to the version specified there

#

i think

reef trail
#

that wouldnt work then cos im using the same sdk for all versions

#

something runtime would be better

placid kraken
#

then the first one

#

returns a different value based on the version

#

it returns just 16.3.1 or whatever

reef trail
#

i think available does it at runtime too tho

#

i could be wrong

#

will test

placid kraken
#

in swift it’s probably like UIDevice.currentDevice.systemVersion;

placid kraken
#

because i remember it throwing an error because i was trying to use a function that was marked with @available on an ios version that i didn’t have in the sdk

placid kraken
#

ok my english abilities just exploded

#

but you get what i mean

reef trail
#

yeah i'll test it out now

placid kraken
#
static void loadDynamicColors() {
    messageCellLightColor = [UIColor colorWithRed:1.0 green:1.0 blue:1.0 alpha:0.4];
    messageCellDarkColor = [UIColor colorWithRed:0.0 green:0.0 blue:0.0 alpha:0.4];

    if(@available(iOS 13, *)) {
        messageCellDynamicColor = [[UIColor alloc] initWithDynamicProvider:^UIColor *(UITraitCollection *traitCollection) {
            return isDiscordDarkMode() ? messageCellDarkColor : messageCellLightColor;
        }];
    } else {
        messageCellDynamicColor = messageCellDarkColor;
    }
}
reef trail
#
            if #available(iOS 14, *) {
                Ivars(target)._editing = false
            } else {
                target._removeJitter()
            }
#

might work

slim bramble
reef trail
#

yep i copied the ivar from another place

#

mb

slim bramble
#

What you could also do

#

is hook updateJitter

#

and don't call orig

placid kraken
#

when is logos getting MSHookIvar support

reef trail
#

orion does so just convert to swift i use it

placid kraken
#

no i meant like custom syntax for it like %hook

reef trail
#

i prefer having lsp integration

placid kraken
#

i’m pretty sure MsHookIvar itself is a substrate thing

reef trail
#

than preprocessor shenanigans

placid kraken
#

true but swift syntax looks so hard to read imo

#

it’s not my thing

reef trail
placid kraken
#

@slender glade

reef trail
#

go, rust, python, javascript etc

placid kraken
reef trail
#

you wouldnt use try and ? / ! in the same expression but ig

#

its just safer

#

i like the ? / ! syntax

#

and try catch blocks are just standard

placid kraken
#

no lmao not try catch blocks i mean the try getSomething() syntax

reef trail
#

i've never used that

placid kraken
#

objc has @try @catch too btw but it’s terrible for performance

reef trail
#

is the try x() not only used inside try catch blocks?

#

oh it can be used if a method throws

#

interesting

#

didnt know that

sonic totem
#
do {
   try Function()
} catch { }

Would be the Swift syntax

placid kraken
#

yeah

reef trail
#

or do catch in swift

sonic totem
reef trail
#

it makes sense to tell swift which call you expect to fail imo, that way if its unexpected the compiler can tell you about it

sonic totem
#

Oh agreed

#

I like the unsafe syntax in Swift

#

Unsafe + optionals are surprisingly helpful

reef trail
#

i love optionals, I'd prefer not to have unsafe code but i can deal with it if theres compiler enforcement

granite frigate
#

first legit NES emulator and it’s iOS locked

#

fuck!!!!! WHY

reef trail
#

lmfao, retroarch on app store when eta

lyric heron
queen ruin
lyric heron
#

who ghost

#

pinged me

harsh junco
#

Not me

queen ruin
#

Like nothing appdevelopment related got added in iOS 17.4

slim bramble
primal perch
#

no jb?

lyric heron
#

i have my jailbroken ipad

#

ion need a jailbroken phone

#

im enjoying my peak app support

placid kraken
#

because it makes me think of rust without borrow checker

#

imo a better term is throwableFunction instead of unsafeFunction

#

however i dont know what swift intends it to be called

native orbit
#

UnsafePointer stuff in swift is very annoying

primal perch
#

UnsafePointer stuff in swift is very annoying

primal perch
#

Data Units Written: 962,799,362 [492 TB]

#

previous owner hammered this thing lmfao

restive ether
#

jesus christ

primal perch
#

141 battery cycles too mfg dec 2021

#

jesus christ is correct

restive ether
#

what was bro doing

primal perch
#

rendering 8k yorn 24/7

restive ether
#

8k VR yorn

kind herald
placid kraken
primal perch
#

smartctl -a /dev/disk0

#

smartmontools package if brew

placid kraken
#

not as much as i thought lmao

#

Unsafe Shutdowns: 35

granite frigate
#

wait my % used increased from 1 -> 2

placid kraken
#

idk why my macbook keeps doing this thing

#

basically

#

when it dies

#

i plug it in

#

and it fully reboots

#

instead of just launching from the saved state

#

maybe it didnt have enough storage to fully write the ram to disk

#

because we love 256gb ssd

near blade
#

Any devs that can do this:

I need a tweak that can be controlled over ssh like

type-cli -t “Hey there” -d 0.01

T being the text and D the delay between keystrokes

placid kraken
#

guys

#

i found my new favourite programming language

#
transient classification Person {
    extemporize(name : Ligature) {
      aforementioned.name = name;
    }
    -> Integer dependent invariable void async subroutine greet ? (){
        C:\Standard\System\io\format\print\ln("buzz")
    }

}
#
compeer number {
    1 => C:\Standard\System\io\format\print\ln("One!"),
    2 | 3 | 5 | 7 | 11 => {
        C:\Standard\System\io\format\print\ln("This is a prime")
        C:\Standard\System\io\format\print\ln("lmfao")
    },
    nonfulfillment => {
        C:\Standard\System\io\format\print\ln("Ain't special")
    }
}
radiant idol
#

s

#

t

#

o

#

p

placid kraken
#

this is beautiful

#

im gonna write a tweak in this

kind herald
#

meow code

placid kraken
#

true

#

i think i might like this more than llvm ir

#

llvm ir has such boring syntax

@.str = private unnamed_addr constant [13 x i8] c"hello world\0A\00"

declare i32 @puts(i8* nocapture) nounwind

define i32 @main() { ; i32()*
    ; Convert [13 x i8]* to i8  *...
    %cast210 = getelementptr [13 x i8],[13 x i8]* @.str, i64 0, i64 0

    ; Call puts function to write out the string to stdout.
    call i32 @puts(i8* %cast210)
    ret i32 0
}

!0 = !{i32 42, null, !"string"}
!foo = !{!0}
``` smh
radiant idol
#

this is disgusting

#

all of these langs are disgusting

native orbit
radiant idol
#

true(?)

slim bramble
timid briar
#

Based Firefox user

ashen birch
slim bramble
ashen birch
placid kraken
#

hey guys i made callable arrays because javascript didnt suck enough

#
const test = CallableArray();

test[12] = 'meow'
console.log(test[12] === test(12)) // true
#
function CallableArray<T>() {
    const array = new Array<T>();
    const _closure = (index: number) => index;
    const typedClosure = _closure as unknown as typeof _closure & typeof array;

    array.toString = function() {
        return `[${array.map(element => JSON.stringify(element, null, 2))}]`;
    }
    
    const proxy = new Proxy(typedClosure, {
        get(_, prop: string, __) {
            if (typeof prop === 'symbol' && prop === Symbol.toPrimitive) {
                return Reflect.get(array, prop, array);
            }

            return !isNaN(+prop) ? array[+prop] : array[prop as any];
        },

        set(_, prop: string, handler) {
            !isNaN(+prop)
                ? (array[+prop] = handler)
                : console.warn(`The index ${prop} is not a number.`);

            return true;
        },

        apply(_, __, [index]) {
            if (typeof index === 'number') {
                return array[index];
            }

            return null;
        }
    });

    return proxy;
}
``` this is the most cursed code ive ever written
vivid dew
placid kraken
sonic totem
#

What's this

placid kraken
#

oh do you not use sparx

#

its like the (up to gcse) maths homework website

#

it overtook hegarty

sonic totem
#

Didn't use either of those lol

#

We used some other website for GCSE and at A Level its another one

placid kraken
#

ah ok

tawdry trench
#

educake 🔥

native dune
#

Her fit goes hard ngl

wooden yarrow
hasty ruin
primal perch
#

28-30 we're halal

timid furnace
visual meadow
#

3

timid furnace
#

well yes

#

i asked them not you

primal perch
hexed knot
#

training for my badminton tournament

visual meadow
hexed knot
#

idk

native dune
#

when the battery dies it doesnt go to sleep mode like my intel mac

#

it just >dies

hasty ruin
#

dont let it die then intjmentallyhandicapped

pearl sail
#

icraze when racist

hasty ruin
pearl sail
# hasty ruin gm

you don't have your internet license so expect a fine to come to your place of residence in 5 - 7 business days

pearl sail
lean ermine
#

not sure if it was posted here but that nes emulator has since been removed from the app store

#

by the dev himself because he didnt wanna risk apple taking it down

#

i will build in a bit but im sure it works on below 17.4

hexed knot
#

okay

acoustic imp
#

okay

lean ermine
#

no need to be rude

hexed knot
#

man since when okay is rude

radiant idol
#

okay

queen ruin
#

‘Kay

granite frigate
placid kraken
#

just most of the time it doesn’t

#

so i have a feeling it can’t store the ram into disk to hibernate properly

#

so it just reboots

granite frigate
#

don't think it's a problem tho

primal perch
#

maybe they don’t implement or expose SMART on ios

pearl sail
#

yet zefram bootloops you when you try to do a simple ls command

granite frigate
#

is it worth learning (n)vim

#

i keep hearing people praising it like it's the best text editor to exist (other than nano ofc)

sonic totem
#

Notepad++

primal perch
orchid fulcrum
#

Just use vscode troll

granite frigate
#

i am

#

fr

placid kraken
#

i learnt it because it’s fun

#

but it hasn’t been a huge productivity improvement because i’ve become conditioned to work fast in both vscode and nvim

granite frigate
#

but the learning curve to get to that level is probably super steep

placid kraken
#

lmao yeah pretty much me

#

it is

#

it takes a while to learn all the vim keybinds

granite frigate
#

i don't even code fast enough to justify learning the productivity improvements fr

faint timber
#

I banged out neatly organized and documented c program within a day

faint timber
placid kraken
faint timber
#

I will still try

placid kraken
#
behave mswin
#

the vim ruiner ^^^

faint timber
#

wat do

placid kraken
#

lets you use ctrl + c and ctrl + v

#

and shift + arrow keys to select characters in visual mode

#

and a few other things

faint timber
#

myself is a y p shift* enjoyer

placid kraken
#

shift p pastes before the cursor btw

#

after yanking

#

regular p puts after the cursor

faint timber
#

nice

#

shift* is for copy to clip

placid kraken
#

oh interesting

faint timber
#

after vis select

placid kraken
#

i just yy

faint timber
#

shift v + shift *

placid kraken
#

and that copies to clipboard but that might be a iterm2 thing

#

i also added cmd + / back via iterm2 lmao

faint timber
#

its probably an alias for yy

#

or the other way around

placid kraken
#

i don’t like the commenting keybind

#

i got used to cmd + /

faint timber
#

iterm2 jumpscare

placid kraken
#

oh you can turn that off lol

faint timber
#

I had to add alt arrow binds into iterm

placid kraken
#

i also have

#

but i dont usually use it

harsh junco
faint timber
#

what about it

placid kraken
#

i also have ```vim
" These mappings only work on iTerm2:
" ⌘ + / = <M-p> = gc
" ⌘ + s = <M-s> = :w<CR>
nmap <M-p> gcc
nmap <M-s> :w<CR>

harsh junco
#

Why
brew is better

faint timber
#

I still have brew lol

placid kraken
#

i use brew usually yeah

faint timber
#

why not have both

placid kraken
#

macports < procursus < brew imo

#

my whole config is pretty simple lol

#
" Base configurations
set number
set expandtab
set tabstop=4
set clipboard=unnamedplus
filetype plugin indent on

" Preferrably disable as it ruins the Vim experience
" behave mswin

" These mappings only work on iTerm2:
" ⌘ + /    =    \<M-p>    =    gc
" ⌘ + s    =    \<M-s>    =    :w<CR>
nmap <M-p> gcc
nmap <M-s> :w<CR>

" Allow for Ctrl+C to close
nmap <C-c> <ESC>:close<CR>

" Utility mappings
nnoremap rs :!cargo run<CR>
nnoremap lg :!sh ./make.sh<CR>
nnoremap cnfd :edit ~/.config/nvim/init.vim<CR>
nnoremap cnfs :split ~/.config/nvim/init.vim<CR>
nnoremap cnfa :tabe ~/.config/nvim/init.vim<CR>
nnoremap div! <ESC>i---------------------<ESC>

" Start interactive EasyAlign in visual mode (e.g. vipga)
xmap ga <Plug>(EasyAlign)

" Start interactive EasyAlign for a motion/text object (e.g. gaip)
nmap ga <Plug>(EasyAlign)

call plug#begin(has('nvim') ? stdpath('data') . '/plugged' : '~/.vim/plugged')

Plug 'junegunn/vim-easy-align'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'tpope/vim-commentary'

call plug#end()

" Map <CR> and <TAB> to confirm
inoremap <expr> <cr> coc#pum#visible() ? coc#pum#confirm() : "\<CR>"
inoremap <expr> <tab> coc#pum#visible() ? coc#pum#confirm() : "\<CR>"

" Set the Elle filetype to use Rust syntax highlighting
autocmd BufRead,BufNewFile *.elle set syntax=rust
#

i dont have a fuzzy finder yet

faint timber
#

bro

#

wtf was I doing

#

I always go back and see old code

#

wtf is this

placid kraken
#

lmao horror

placid kraken
#

is there a faster way to write this

+ (NSString *)hexStringFromColor:(UIColor *)color {
    CGFloat red, green, blue, alpha;
    [color getRed:&red green:&green blue:&blue alpha:&alpha];

    int redInt = (int)(red * 255.0);
    int greenInt = (int)(green * 255.0);
    int blueInt = (int)(blue * 255.0);
    int alphaInt = (int)(alpha * 255.0);

    return [NSString stringWithFormat:@"#%02X%02X%02X%02X", redInt, greenInt, blueInt, alphaInt];
}

+ (UIColor *)colorFromHexString:(NSString *)hexString {
    NSString *cleanString = [hexString stringByReplacingOccurrencesOfString:@"#" withString:@""];

    if (cleanString.length == 6) {
        cleanString = [cleanString stringByAppendingString:@"FF"];
    } else if (cleanString.length != 8) {
        return nil;
    }
    
    unsigned int rgbaValue = 0;
    NSScanner *scanner = [NSScanner scannerWithString:cleanString];
    [scanner scanHexInt:&rgbaValue];
    
    CGFloat red = ((rgbaValue & 0xFF000000) >> 24) / 255.0;
    CGFloat green = ((rgbaValue & 0x00FF0000) >> 16) / 255.0;
    CGFloat blue = ((rgbaValue & 0x0000FF00) >> 8) / 255.0;
    CGFloat alpha = (rgbaValue & 0x000000FF) / 255.0;
    
    return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];
}
wooden yarrow
gilded laurel
#

but nix is underdog

near blade
#

Anyone know what event is called to send a keystroke into the current open app? ios 14.8

visual meadow
#

Chat

#

Finally found a stable vpn

#

This random chinese vmess vpn works bro

wooden yarrow
visual meadow
wooden yarrow
#

why

visual meadow
#

School

#

Blocked literally almost every vpn

wooden yarrow
#

what if you

#

mobile

#

data

native dune
#

^

faint stag
#

speeds?
maybe there's reasons to be on the network other than that

#

idk

visual meadow
#

It does

#

Not work

faint stag
#

yeah what if you want to do something over LAN too
clueless

wooden yarrow
#

troll

visual meadow
#

School has thick walls

wooden yarrow
#

hm

visual meadow
#

Sometimes it says sos lol

pearl sail
#

@grave sparrow

sonic totem
#

Make your own VPN that goes back to your home router

pearl sail
#

Make your own ISP that goes back to your home

fiery saddle
placid kraken
#

progress guys

#

so far this

const languageName: String = "Elle";

op add(Int arg1, Int arg2) {
    ret arg1 + arg2;
}

pub op main() {
    let res: Int = add(3, 5);
    puts(res);
    ret 0;
}

compiles into

data $languageName = { b "Elle", b 0 }

function w $add(w %arg1, w %arg2) {
@start
    %ret_val =w add %arg1, %arg2
    ret %ret_val
}

export function w $main() {
@start
    %res =w call $add(w 3, w 5)
    call $puts(w %res)
    %ret_val =w 0
    ret %ret_val
}
#

not quite correct yet because puts needs to be passed a line via a data section

#

so it wont compile

#

types do nothing so far mfao

fiery saddle
placid kraken
#

yeah unfortunately i have no way to fix that as i dont own an apple watch so i cant test

fiery saddle
#

👍 no problem

placid kraken
#

you can get refunded if you like, if you purchased within 30 days

fiery saddle
#

Nah its been more than 30 days.

placid kraken
#

thats unfortunate, sorry i cant provide any further services :c

fiery saddle
#

It’s understandable. Still a great tweak unfortunate it doesn’t work with the aw

placid kraken
#

❤️

radiant idol
#

rosie maybe filter the processes which Flora injects into

pearl sail
#

but somehow still better than whatever zefram is

placid kraken
gentle grove
pearl sail
#

Bro got fucked by his parents

placid kraken
hasty ruin
radiant idol
#

sec

placid kraken
#

it also needs to inject into springboard

gentle grove
#

tf is an account afap

placid kraken
# gentle grove what

if you’re gonna make a fake account for it you’re just gonna put in a or something into both text boxes

#

as fast as possible