#development
1 messages · Page 172 of 1
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
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
youll be fine bro
thanks lol
@queen ruin this is my someone elses code and the log does this in light mode, it works fine in dark mode.
Set the log text color to like blue or something and see if it still happens
Is your font color set properly
log is yeah, because when i click the invisible button it does this
i'll check font of other stuff though
the thing is it doesn't show the black border around log
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
(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?
prefer it, also we've written half the UI in objc so switching to swift midway is kind of annoying
14.0 and higher
mb
so the if #available is completely useless
i can't write ui code so
POV: objc to swift converter and fix
Storyboard
🤮
Look man it's better than trying to do programmatic UIKit
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
isn't it handy for writing code that needs to adapt to different versions of ios
or no
You are supporting 14.0+
Is it really? What about iOS tweak/app devs that use UIKit? Do they use storyboard too?
It's irrelevant
true
It depends on what you're doing
I thought programmatic was the way to go to UIKit
In some cases programmatic is good
In other cases storyboard/interface builder is good for when you just wanna build something quick and simple
ok i'll just try this ig
void)viewDidLoad {
[super viewDidLoad];
self.view.backgroundColor = [UIColor systemBackgroundColor];
}
drag and drop, connect your IBActions, and go
I see
Alcatraz' UI is a mix of both - programmatic where storyboard was still too new to be of any use
SwiftUI > Storyboards?
@ashen birch happy bday
I see I see
Without drag and drop
ty
Still a good balance I’d say
Between programmatic and storyboards
swiftUI still does have limitations though
Yeah I just use UIKit when limitations occur
mostly that you have to use UIViewControllerRepresentable for some things bc apple STILL hasn't given us a swiftUI map view
I don't use it for new stuff
Thank god 🙏
Happy birthday @restive ether @ashen birch
thank
Happy birthday @restive ether @ashen birch
let me be the first to say, happy birthday
@frail cedar now this happens
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
omega
@tepid olive where did bro go
on vacation
W
(I wish)
I don't have an A12+ device anymore
Skill issue
It is
‘Easy’
simple money
Gorn
gorn
Good morn
thy art have missed the joke
Im trying to macspoof and its actually tweaking bro
amy made a rootless version but still kept the firmware as >=14.0 lol
and forgot to /var/jb/usr/bin/killall
it doesnt work either way because wifid runs as root
it works on my ipad but im trying to do it on serotonin
in that case you're supposed to use launchctl
thats just a line or two in the makefile
A12+
it's supposed to
because you didn't unload it
that's what root path (ns) is for
at least in code
she didn't even push the changes to github
this mf coding without syntax highlighting
cause i dont care rn
because i am just quickly modifying this tweak
@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
i think i know why it looks like this
setrandomMAC in the tweak just sets the address for a specific ssid if it exists in prefs but leaves the rest of the arguments as orig
well on my router it shows as my normal phone mac
im hoping its just possible to make a trollstore implementation of macspoof
well the tweak itself only injects into preferences
but do you really want to patch the settings app binary 
i feel like its possible to convert the tweak into a prefs app
like
separate app imean
annoying
see, the restart is called from preferences (binary) which would be privileged
also apt installs with root perms already which is why the postinst works
it should work for me tho cause every app that has platform-application on my phone will work with launchctl
cause hooked audittoken
@vivid dew @ashen birch happy birthday!
@vivid dew @ashen birch happy birthday!
@primal perch .
gm
gm
so called free thinkers when they see "gm"
fr
gm
so called free thinkers seeing swiftui(time to slander vigorously)
hydration
Hihi
Just don’t look at the latest project on my GitHub 
remember the uhh iPad on 10.3.2
Mine? Or
yours
That funny drop test right
right
Yeah what about it
I think that only had 6 GB of storage
have you figured out whatever’s on the other partition
It’s empty
oh
put a rune deb on it
The other ~26gb is just empty space
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?
when do you think x86 will finally be dead

like 60 years
if windows on arm kicks off properly with snapdragon X elite, 25 years at soonest
how fast is fast
probably 40+
x86 is definitely a long time from death but arm laptops will probably be the standard in like ten years
ya
and maybe workspace prebuilts or monitor pc combos will be arm
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
arm socket motherboards are really far away imo lol
it'll be neat to see when it happens
tbh linux arm support is pretty good
at least 15 years probably yeah
thats nice
I heard it was abysmal on widnows
its definitely improved a lot
i think it is fine now but idk
but it doesnt help that until snapdragon x elite the arm hardware is buns
anyways how long until RISCV adoption
m1 is fantastic and apple singlehandedly pushed the envelope for arm standards
i love my m1 air very much
same
they cooked
they cooked so hard the vast majority of users dont even know or care its arm vs x86
fairly seamless transition
yep lol
yeah M1 seems so good, too bad apple locks down it's hardware so much
apple has set and maintained a really good standard for their computers
well I mean things like soldered ram and stuff
yeah that sucks
ROD
for the nand anyway
ram on die
that is true
that should be an acronym
in my opinion the on package ram is part of why the battery is so good
less power from traces so its permissable
ssd is also not a realistic point of failure
it is after you use it enough
how good is that thing they just sent
its guaranteed to fail at some point
half as good as rosetta
around there?
but it is a realistic piint of upgrade
interesting
true
i tried box as well
i hear box is mid
dunno
for the lifespan of the first user though yeah its plenty
most of the apps i ran on asahi ran fine with arm
7+ years
i havent messed with asahi because it doesnt support booting from external storage
at least like most of the apps I use on linux are open source, which means they can be recompiled
but like a 300TBW rating for 500GB is gonna wear out at some point
my 2020 m1 has 8tbw so honestly im not worried
me neither mine has like 2
the AUR is really good for software (idk how well for ashi, i don't own a M series)
how do i check tbw/r
if youre nebula and got 8gb of ram though you have 150TBW
troll
smartctl -a /dev/disk0
after installing smartmontools
yeah which is crazy lol
i mean i have 8gb ram also and am a poweruser i think
1 year with 8gb ram
man
troll
pretty wild but still a ways away from even worrying about failure
yeah
i have also seen mixed things about what failure entails
but i am pretty sure it is just unwritable zones
the standard industry rating is 600TBW/1TB of nand but realistically most products will last longer
not like failure failure
usually yeah blocks die before the whole thing and can be marked off
yes this
I have 32GB of RAM 😎
so 150tbw/250gb?
yea
i think some dude did a test and https://techreport.com/review/the-ssd-endurance-experiment-theyre-all-dead/
send it to dosdude for nand upgrade
its fine
no worry
a 73TBW rated samsung 250gb ssd lastest about 1PB
got damn
question is this a lot?
no
no
its not worth worrying about unless you hit your disk hard with renders at work
i regularly hit 18gb swap
🔥
fuck docker
chances are I'll replace my drive sooner because I'm out of space hten it died
and even then itll take years
i also hit a lot on swap but its fine
maybe I should swap drives with my pc
ill trade in for m3 pro/air before i hit 50 tbw lol
its just annoying that this is a potential point of failure for the entire logic board
based
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
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
mine is
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
190
wait no
i read the wrong field
887
216 cycles
Data Units Written: 6,199,838 [3.17 TB]
1.5 years with 16g
42 cycles troll
Power On Hours: 582
had this for like 6 months 
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
How
how do I only have like 1000 though after 5 years
Available Spare: 100%
Available Spare Threshold: 99%
Percentage Used: 22%
Data Units Read: 759,620,518 [388 TB]
Data Units Written: 686,827,532 [351 TB]
Power Cycles: 153
Power On Hours: 1,561
Unsafe Shutdowns: 22
well that's certainly something
yikes
it's a m1 macbook pro
8gb of ram sadly
zamn
tbf i rarely reboot the thing
only if it panics or something
zefram
Same
I've never had a panic on macOS though
You or the user you're searching for don't have any crowns yet.
Use .whoknows to start getting crowns!
.wk
👑 bbaovanc 🦆 - 31 plays
Crown claimed by bbaovanc 🦆!
.crowns
- Neal Schon — 31 plays — Claimed <t:1713257971:R>
You or the user you're searching don't have any crowns that got stolen yet.
.crowns shepgoba
- Neal Schon — 31 plays — Claimed <t:1713257971:R>
.crowns @primal perch
- Between the Buried and Me — 1958 plays — Claimed <t:1713257048:R>
- Porcupine Tree — 264 plays — Claimed <t:1713244303:R>
- Symphony X — 114 plays — Claimed <t:1713256952:R>
- Native Construct — 82 plays — Claimed <t:1713256782:R>
why cant it just auto claim them
@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
you have to deselect in your tap row method
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
[tableView deselectRowAtIndexPath:indexPath animated:YES];
// other code
}```
the good days before swiftui 😢
You’re not
I want this grey highlight to go away automatically
uh ok I’ll try this
do this
yeah ok
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
tableView.deselectRow(at:indexPath, animated:true)
}
i think thats the swift
maybe
nice formatting

whar
yea its fine
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 is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities.
dash is a shell
Oh yeah it’s a bug with apt afaik
it’s my phone
We need to migrate from some of the old apt tools
if I turn landscape it looks fine
trolly
Yes please 🙏
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
Not sure but you could try to refresh sources from newterm 🤷♂️
idk the command
sudo apt-get update
thanks
it’s that apt-key issue
maybe we can migrate from apt altogether lmfao
everything i’ve heard about apt has been bad so far
including performance issues
rewrite it in rust or something
There is a way to compile rust for iOS ? 💀
rust
probably? idk
rewriting apt into rust
done and done
Yeah surely it hasbeen done
already done
But it's not really usable as no repos supports it
lmao imagine just being able to use the rustup installer for unix
I can't imagine writing a tweak in rust
that would actually be amazing holy shit
Not sure if icraze would agree
@hasty ruin thoughts ?
Oh wait your muted
mf is gonna get me banned 😭
why you ?
I sent something in general that he didn’t like
Icum
what is the best coding language to learn for newbies? Python or javascript?
neither
what would u recommend?
idk it depends on what you want to do
just learn an easy start to coding? So something basic which allows me to get used to coding and be able to learn more complex coding languages like C
have u learned C? how long did it take for u to get to know it?
it’s not too hard
you just have to get a concept of headers and basic programming elements
my first Lang was python but imo C is way better
Learning the basics is maximum 1 month. Getting to level where you can actually understand meaningful programs may require couple of months more
brother c is far from a beginner language
oh 
do yourself a favor and go for java(script) or python
1 month or so for basics and then you can go for c
would it be stupid if i did pthon -> javascript -> C? or do i do something other than C at that point?
python is good for a beginner language
okay thanks
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)
If the endgoal is learning c i don't see the point of learning oop languages 
no i just wanted to learn some coding as a hobby tbh, and it seems that C is a pretty good one to do anyways
Remove the (script) and I can agree
yeah i will do python then C instead of doing directly C
Well then you can do as they say. Knowing python or java never hurts
does anyone know what a .pack file is
I did java -> (js) -> python -> other randoms -> C
but you can defo do python -> Java -> C
or remove python
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 💀
might do python first and then js? isn't python even more noob friendly?
plz no js 🙏
why is it bad?
If you don’t want to develop websites don’t bother with JS
Have you not seen JS memes yet 😭 ?
Python -> C will do you just fine
That too
syntax : 
Now i am trying to get into kernel research/dev and the IOKit is made with c++ so i may also learn that
I am trying too but for now tweaks it is
i'm still bad at C
i've gotten sidetracked and went down the dark path of web dev
Oof
what is your goal
Possibly go all the way up to objc for tweaks
i need some project ideas to make in C
tbh you don't really need C for simple tweaks
Yeah but its like a stepping stone if you get what i mean
If i learn C then i will be more prepared to handle the messy objc 
objc is superset of C
i was going to say something but i'm probably not qualified enough to give advice
so you are saying i should just go directly to objc after python? or do a bit of C then move on to objc?
objc is like C but simplified (with a really really weird syntax)
for the amount of C you will do for tweaks
just go for objc
I mean you need to know at least the if else and loops but other than that simple hooks don't require much c code
Yep
yeah i guess we will see how it goes after i learn python
Best tutorial fr
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
yeah i will keep it pinned for me to use later

gtfo
Normally i despise swift but it makes sense in this particular case 💀
isn't objc better for ios tweaks?
imo no
theres more objc resources though
but i learned tweak dev with swift
i could always just learn swift after objc
💀
I am also with yes. Then again my only "tweak" is a cc module so
theres not rlly any point in learning it after, if you're comfortable with objc use it
wow
i use swift because i can write and debug it faster
and write cleaner code
but i havent learnt objc properly yet
@nocturne spindle Let's do it easily, do you have a mac ?
you wrote pinnacle in swift?
i did
Respect
how hard was it
i thought u only need theos to do it
it was surprisingly easy
huh
you do but for arm64e devices you need to use a mac to compile swift, i have a vm setup
Yeah but trust me don't go for swift if you don't have a mac
Stop goofing
using any swift in your tweak will make it not work for arm64e devices
if built on non mac
oldabi 
i have an amd cpu and i can't be bothered patching it
only on iOS 15
i wanted to write a tweak that isn't just one (1) hook but i have no clue how to do stuff
pinnacle is a combination of simple hooks really
on iOS 14 & 16 it's pretty clean
horror
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
what game was it :o
anyway yes python is very fast if it’s just calling c functions
very true
lmao that’s why flora exists
i made it to solve a problem i had myself
This is true, make a tweak because you need it
UltraDeep Plus
i don't have any problems w jb
That's also why 16Player exists
i wanted to write a xenhtml replacement

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
same
I couldn't implement bg scrolling like they did in the game
it looks like he just renamed it from lockplus pro to designer 🤣
i might, if i get time after exams, make a free xenhtml replacement
it's an entire rewrite and supports homescreen + html
wouldn't call it that
designer has html support?
@reef trail eta pinnacle ios 14
i got bummed out after hearing about it

it might actually work on ios 14
havent tested it tho
the control file allows you to
damn i thought it was literally just updated to make it work with newer ios versions but makes sense why it was rewritten
i don't have any grievances with iOS other than the fucking beta alert
but I can't jb to remove it anyway
[[Zenith]]
pinnacle?
yes
[[pinnacle]]
read the depiction
i remember Zenith used to push other apps away
how hard would that be omg 
wdym push them the other way
ah nvm i see pinnacle does it
looks cool + faster than folders
Just tried and it safemoded me @reef trail
you didnt pay for it did you?
I sniped a code
ah
you sent in #jailbreak
i forgot
I don't have a mac handy
fair
do you know of a method which does the same
I'm gonna pull flex
oh wait I can look at headers
i think I don't have anything I want to make as a tweak so i haven't bothered learning how

how have you got the dev role then?
so thats why you dont have it
im only good at maths man
💀
dont do me like that
i still dont know
I made a cc module make me orange too 
i made serotonin
well not me only
oh nice
oh em gee
i didnt know who the dev of that was lol
arm64e was a mistake
as in the abi or roothide?
@reef trail here is a fix that should work : MSHookIvar<BOOL>(self, "_allowJitter") and set it to false
Wasn't your name hwroti or something @granite frigate
the abi is painful but roothide will be amazing
yeah
you are the goat
it's funny when no one knows tho
hrtowii ❤️
fr
@slender glade
when i get time i will do this, icr how to check ios version rn tho
nvim >>>>>>
@available ?
anyway yes
it exists in swift
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
that wouldnt work then cos im using the same sdk for all versions
something runtime would be better
then the first one
returns a different value based on the version
it returns just 16.3.1 or whatever
in swift it’s probably like UIDevice.currentDevice.systemVersion;
i’m not sure
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
yes
yeah i'll test it out now
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;
}
}
if #available(iOS 14, *) {
Ivars(target)._editing = false
} else {
target._removeJitter()
}
might work
*_allowJitter
when is logos getting MSHookIvar support
orion does so just convert to swift i use it
no i meant like custom syntax for it like %hook
i’m pretty sure MsHookIvar itself is a substrate thing
than preprocessor shenanigans
yeah it is
really? it looks the same as most modern languages
@slender glade
go, rust, python, javascript etc
try!!?? getVarible!!?;
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
no lmao not try catch blocks i mean the try getSomething() syntax
i've never used that
objc has @try @catch too btw but it’s terrible for performance
is the try x() not only used inside try catch blocks?
oh it can be used if a method throws
interesting
didnt know that
do {
try Function()
} catch { }
Would be the Swift syntax
yeah
i dont see whats wrong with it? how else are you meant to do try catch blocks?
or do catch in swift
it is
My mistake. I thought you were talking
try {
unsafeFunction()
} catch { }
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
Oh agreed
I like the unsafe syntax in Swift
Unsafe + optionals are surprisingly helpful
i love optionals, I'd prefer not to have unsafe code but i can deal with it if theres compiler enforcement
lmfao, retroarch on app store when eta
womp womp
Lmao why is the limit so high too
Not me
Like nothing appdevelopment related got added in iOS 17.4
womp womp no jb
i have my jailbroken ipad
ion need a jailbroken phone
im enjoying my peak app support
i dont like the word unsafe used in this context
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
UnsafePointer stuff in swift is very annoying
swift is very annoyingUnsafePointer stuff in
work m1 pro
Data Units Written: 962,799,362 [492 TB]
previous owner hammered this thing lmfao
jesus christ
what was bro doing
rendering 8k yorn 24/7
8k VR yorn
quest 3 512gb
where do you check this
wait my % used increased from 1 -> 2
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
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
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")
}
}
meow code
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
better then swift still
true(?)

Based Firefox user
better than any capt code
Zefram rn
bootloop code
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
link?
What's this
oh do you not use sparx
its like the (up to gcse) maths homework website
it overtook hegarty
Didn't use either of those lol
We used some other website for GCSE and at A Level its another one
ah ok
educake 🔥
mommy
Her fit goes hard ngl
ok but why would u do this
google her age shepgoba
28-30 we're halal
pmset -g | grep hibernatemode
3
training for my badminton tournament
why not working
idk
it does this for me too
when the battery dies it doesnt go to sleep mode like my intel mac
it just >dies
dont let it die then 
icraze when racist
gm
you don't have your internet license so expect a fine to come to your place of residence in 5 - 7 business days
hopefully from nintendo
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
https://github.com/tsalvo/nes-emu-ios source is here though
i will build in a bit but im sure it works on below 17.4
okay
okay
man since when okay is rude
okay
‘Kay
how was that rude
it’s already set to this because sometimes it works fine
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
don't think it's a problem tho
no idea
maybe they don’t implement or expose SMART on ios
yet zefram bootloops you when you try to do a simple ls command
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)
Notepad++

Just use vscode 
only learn it if you wanna bother to
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
i was interested in it because i saw some guy streaming his coding, i took a look and he was zooming around files and editing so much faster around files
but the learning curve to get to that level is probably super steep
i don't even code fast enough to justify learning the productivity improvements fr
I banged out neatly organized and documented c program within a day
I think I need a shock collar for whenever I use arrow keys instead of hjkl
i think you can turn that off
I will still try
wat do
lets you use ctrl + c and ctrl + v
and shift + arrow keys to select characters in visual mode
and a few other things
myself is a y p shift* enjoyer
shift p pastes before the cursor btw
after yanking
regular p puts after the cursor
oh interesting
after vis select
i just yy
shift v + shift *
and that copies to clipboard but that might be a iterm2 thing
i also added cmd + / back via iterm2 lmao
iterm2 jumpscare
oh you can turn that off lol
I had to add alt arrow binds into iterm
i dont remember how you turn off that thing but
i also have
but i dont usually use it
Procursus??
what about it
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>
Why
brew is better
I still have brew lol
i use brew usually yeah
why not have both
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
lmao horror
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];
}
lgtm, looks pretty clean as is
Anyone know what event is called to send a keystroke into the current open app? ios 14.8
why not just use like uhh cloudflare's warp
uhhh blocked
why
^
yeah what if you want to do something over LAN too

School has thick walls
hm
Sometimes it says sos lol
@grave sparrow
Make your own VPN that goes back to your home router
Make your own ISP that goes back to your home
How to? Also is there a way to stop the IT admins from knowing the internet traffic is going through a vpn?
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
Hey so the tweak Flora breaks Apple Watch connectivity. I stopped using it and just wanted to let you know. Always prioritise exams tho.
yeah unfortunately i have no way to fix that as i dont own an apple watch so i cant test
👍 no problem
you can get refunded if you like, if you purchased within 30 days
Nah its been more than 30 days.
thats unfortunate, sorry i cant provide any further services :c
It’s understandable. Still a great tweak unfortunate it doesn’t work with the aw
❤️
rosie maybe filter the processes which Flora injects into
but somehow still better than whatever zefram is
currently its filtered to just UIKit altogether, how do i filter to apps only?
Bro got fucked by his parents
yes because people trying to put in fake info make an account afap are gonna just put the same name in both
I think I have something for this
sec
what
it also needs to inject into springboard
tf is an account afap
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





