#development
1 messages · Page 249 of 1
Ehhhhhhh
This is probably not syntactically correct but you get the idea
Any more ideas ?
Europeans trying to write code without syntax highlighting late at night is so much fun
objc methods are so long
fr
lmaooo
clangd my goat
wdym ?
[array enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) { ... }];
I’m on day 3 of dopamax I forgot my own name this morning
The amount of times you repeat yourself in Objective-C methods is crazy
Lemme find some really funny ones
I mean swift is close to worse ngl
how 💀
UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 200, 50)];
label.text = @"Hello world";
label.textColor = [UIColor blackColor];
label.textAlignment = NSTextAlignmentCenter;
[self.view addSubview:label];
vs
let label = UILabel(frame: .init(x: 0, y: 0, width: 200, height: 50))
label.text = "Hello world"
label.textColor = .black
label.textAlignment = .center
view.addSubview(label)
no need to say uilabel twice, no need to say uicolor twice, or color 3 times, no need to say textalignment twice
"textcolor -> uicolor -> blackcolor" vs "textcolor -> black"
The problem I have is I frequently use these APIs in both and will mix them up
And then have to spend time correcting it
__auto_type to remove first UILabel, you can shorten it to BLACK with a macro in objc too
👍
that too
and yes i know it's the same thing under the hood but how much more sense does it make to say "i want my textcolor to be black" than "i want my textcolor to be a uicolor that is a black color"
Unfortunately if you want a job writing apps you usually need Swift
Iirc the split on the App Store now is 92 / 8 for primarily Swift
And I enjoy being employed
oh this ones a particularly bad one
[button addTarget:self action:@selector(buttonTapped:) forControlEvents:UIControlEventTouchUpInside];
Notice how apps started being exponentially worse ever since

I don’t think this is the reason
probably, still funny
A lot of things have happened
label.textColor = .black
how tf does compiler know this ? first looking at lhs to get the type and then looking at its type properties on the rhs ?
textcolor is a uicolor
SwiftUI is definitely a reason things got worse
yes
the compiler knows this
swiftui is garbage
I despise SwiftUI despite loving Swift, SwiftUI was such a mistake
ngl im starting to bend the same way
i really like uikit
having code inline and having so much control over everything is actually quite nice
despite requiring like 5x much boilerplate
mine is opposite lmao, despise swift but like swiftui. i will port it to objc by cursed dlsym and macro magic one day
SwiftUI is slow, makes your code look like trash and is just weird in general
Flutter and RN have gained a lot of popularity, not helping the shitiffication of apps
You're always indenting
Flutter is so bad
i mean you can always seperate out to smaller views but i guess
I mean it does what it's supposed to, but it's also harder for small companies to maintain both iOS and android apps
looking bad is not a criticism i'd take of swiftui but ig i can see it
I don’t like not having as much as control
^
this is the big one for me
and not having inline code
being able to have my logic and ui in the same place
so nice
I guess, but it shows a lack of care a lot of the time
And also the thing I despise with ShitUI is the compiler failed to type check this expression
or so
Oh you can fix this
But yes it’s garbage
by not using ShitUI, yes
i feel like swiftui has a lot of potential though
fair, i don't do work-grade ui and swiftui is so much faster to do prototypes in
thats also true
There’s a build option for how long the compiler thinks is too long
for being completely re-engineered yeah
i wouldn't say that but sure
Yeah that’s true. I’m on the “I work on systems that require 0 latency and perfect layout on every system” kinda job
does it help tho ? most of the time when swift hits me with this bs error i was doing something completely wrong and it failed to tell me
It can tell you where the error is a
But expect to sit there for a long time to find out
time is money 🤷♂️ and most of the time people have the latest device so it doesn't really matter, and then their battery starts to worsen, so they just blame the OS for it
I tend to just comment stuff out
you’d be surprised actually
why on earth does it even happen though
ive never seen a error like it on any other language
because shitui is garbage
because the compiler gets stuck in a recursion loop
lmao
i was about to say
it happens in non SwiftUI code too
what the
never happened to me
It’s a your code is truly sucky problem
you write objc
I wrote swift
how much though
thank god, that era is over
nah clang is actually working
FWIW I only experienced this on a really old machine
shouldn't the compiler be able to detect a recursion loop though?
Not much, but still a bit
I still made a lot of peardb
It has a hard time out that it hits on older machines easier
on newer machines it can sorta figure out what’s going on
oh one thing i deeply still cannot get over and thank god i made a library for myself for this is how truly terrible buttons are in uikit like why on earth is it STILL using selectors
idk how to explain it well rn im so tired
if you have a powerful machine you can generally avoid it
i actually had this for the first time yesterday
Maybe it’s apples way of forcing you to buy a better machine
cooked
thats what makes them good bro 😭
I mean the chip is powerful enough to handle nonsense
it makes them piss poor
your methods are FORCED to be objc
idk i've had it on m1 pro but might be because the view was too large or something
Broskie has not read the docs in 6 years
UIAction is iOS 14+
Yeah
iOS 14
that’s a long time ago
And well below the average target for 99.9% of apps
ah you are talking about uikit/swift combo, fair i can see the issue now.
Dude you cannot be complaining about stuff being added in iOS 14
you’re targeting iOS 7 you’re fucking deluded
fr
It should have been changed with swift
ios 14 was goated in terms of new api
They were busy with other stuff
But yes that's true
I am targeting a diabolically old OS
Also it's iOS 6 not 7
Even worse
UIKit had some other significant changes before we decided “hmm let’s change how we invoke button actions”
Such as, idk, dark mode?
that’s a huge engineering effort for the ui team
button actions were not high on the list
It was? I thought that UIKit was designed such that stuff like that could be fairly easily swapped out
ohh no ok i think it's moreso that there's an exponentially large set of type combinations the compiler could try to be able to make the view valid
surely then it should be possible to give type hints to the compilers atleast?
It was actually a huge change under the hood
ngl tho iOS 13 was too late
so so late
iOS 13 completely changed iOS tho
Basically Modern iOS 1.0
Missed the thing, what changed with UIAction
UIAction lets you use closures instead of selectors
oh
that’s about it
so you see what I mean when I say it’s a really insignificant change
Ah yes, I love asking for Objective C
UIMenu is pretty neat
UIMenu...
I mean it's also faster
Is UIMenu useful
barely
yes
grr i see selectors
It doesn't have to go through that dispatch thing, it's just a straight function call
Say you press a UIBarButton and it brings up a pop up that shows 3 buttons
mm
And you press one and then 3 more options pop up
mm
That’s a UIMenu
doesn't apple warn you against that
no?
Nerds
Just come here with the shitui hate
As long as you use UIMenu they don’t care
👍
hmmm
perchance could backport if i see use
ill add it to the list
Hey you were arguing 10 minutes ago that objc dispatch calls aren’t that bad
Pick a side 🔫
I never said that
Me adding five million otherwise unused uimenus that only spawn on rootfs's device
I prefer to use UIAction these days but at the same time it’s such a minor change
It's really not that hard
And on minor devices we’re truly talking nano seconds of differences
oof relies on an iOS 7+ type
i know
i've already backported a lot of modern uikit which makes me mad apple didnt do it its a whole speal
that i wont go into
Objc vs Swift speed difference was huge back in iOS 6/7 when it was first introduced but nowadays it’s kinda negligible
ngl it's negligible on iOS 6 w swift 5.10
How did you run your tests ?
with pain
debugging iOS 6 is not fun
basically have to log to a file and do all debugging on device
debugging swift is not fun
you're mentally special
debugging swift is not fun +1
no shit
perchance
indeed
it’s almost like modern Xcode is designed to target iOS 13+
however debugging iOS 7 in modern xcode is great
fr
since apple didn't place any artificial limits on it
I think you're probably better jailbreaking, running debugserver and connecting through llvm16
just because you can doesn’t mean you should
You're prolly using llvm5 or so
i'm using whatever xcode 13 gives me
Swift support is kinda good
@slim bramble debuting Swift only sucks in release mode because symbols get compiled out. If youre debugging just use debug mode like you would in any other language that uses heavy optimisation and static dispatch
objc is just special
Oh yeah, I only reverse production builds (go wonder why
)
ngl the funny bit is the only part of swift that's hard to debug is the objc calls
????
"unrecognised selector" will be the bane of my existence
they’re the easiest
debugging optimised code sucks because it becomes super hard to match the assembly to your code
because well, you don’t think like a computer. A computer can see hundreds of ways to optimise your code
try hunting down a single ".systemBlue" call that won't work on iOS 6 because it's iOS 7+ when all you have to work with is that single line
from a debug log
You know how Apple don’t officially support this
And then you do it
And then complain it sucks
i mean you'd get the same error if you used an ios 14 method on ios 13
Does that not make you think that they don’t support it for a reason
no it makes me think they did bad and i need to fix
./hj
be jwi
see unrecognized selector sent to instance
say debugging objc is hard
ngl tho overall its been pretty smooth
really after i did the backporting of foundation and uikit the rest kinda just came pretty freely
constraints are a godsend
i shudder for those developing uikit apps for ios 5-
untrue
hell theres someone making a dc client for iOS 3 currently
lmao
think i'm targeting a dead platform
Yall are both targeting a dead platform
(he's using objc)
It’s something you’ll get a 1000 updoots with and maybe 3 downloads
How many people daily iOS 6?
bluetweety has 3000 active users on ios 6
keyword is daily
🤨
3000 daily active users
y'all underestimate iOS 6 usage
ppl are heavily nostalgic for it
I mean
That's 0.000038% of worlds population
yes yes it's small but it's big enough that it's worth doing for me
plus it's barely any extra effort
my app basically reads like a modern uikit app
pardon?
Unfortunately I cannot share the numbers but it’s probably a lot more than you think
🙄
I was genuinely shocked when I learnt
indirectly i guess anyone who uses my client directly ive had about 20 or so ppl dm me about it so far
Use it or just dm you ?
use it
dm me to help them setup
which imo is not bad
ngl tho ive made setup so easy atp idek why they dm for setup
gotta remember where the baseline for legacy development is, prior to this you were stuck with Xcode 4, legacy macOS and the iOS 6/7 SDK
Do you ever feel like you’re cheating on that nostalgia factor by using modern dev tools
Why not do it how Steve intended
not in the slightest
2006 MacBook running snow leopard 
Exactly
Ngl, I should stop using a compiler and compile by hand
it feels great to be using a language i backported myself on a dead platform running a codebase that could almost be modern
I need a macOS weed tweak
real as fuck
You’re not targeting a version of iOS older than half the population of the server calm down
They should host a wwdc on April 1st one day
And troll the hell out of people by announcing macOS weed finally
using sdk overlays i built for myself as well being able to control how they work
very fun
And then double back and announce the real version
half ??? you mean 99%
its the most fun ive ever had developing
so much control over everything without it being a pain to work with
(minus objc unrecognised selector)
rootfs is the type of guy to not believe in the law of universal gravitation
(I'm currently studying that rn)
No no, it's that and he believes he can bypass it in some regard because he's French
got an exam in 2weeks
y'all in highschool?
no
wut
i did that in year 12
doesn't mean you don't do it later to ?
fr
in HS we could only do regular physics but I had to take real "physics for scientists" last year
which is more rigorous
Yeah but you might have question on it too ???
so it came back up again
How old are you even ?
skipped 3 years ?
schooling isn't exactly linear so you'll have the same topics come up and get re-studied in future courses
No
Did 4 years in 1
oh
4 years in 1 just wait to be studying physics in 12th grade
So what do you study now ? compiler optimization
?
top research degree and advanced computing with some full ride scholarship at ANU
rn we're doing funni C shenanigans
kinda annoying but oh well
not yet
gm chat
gn
Gm
ngl this is true
Fr
Fr
@native dune Is it working
Are you working
Im about to blow my shi smoove off bro
same
Im about to blow my shi smoove off bro
Shut up maxine
Sorry
how do i insert a rpath load command into my binary? is there a CLI tool for this that i can refer to
install_name_tool -add_rpath … bin ?
^
member role in hack different before developer role here is crazy ngl 😐
i got rejected 😭
any rando can get Member role
really 💀 i thought it was special
fair mb
the only thing it allows is people to talk in the checkra1n channel anyways
Is that hidden even from developer?
photography channel in HD server

What’s that
hack different server
Ah alr
If you do and post mind blowing stuff you get developer role, good luck
yall are a tough crowd https://github.com/doraorak/hookInstance this in and of itself deserves it :/
hook a specific objc instance('s instance methods) - doraorak/hookInstance
Cool project but if the goal is for this to be standardized and used by many tweaks by different developers within the same process, you cannot simply call class_replaceMethod/method_setImplementation, see here: https://github.com/rweichler/shitstrate
you actually have to grab the original function pointer to the original implementation and call it via FFI, or handwritten assembly if you're into that
of course if you're just doing this within your own app, then its fine, you just need to be careful about how you hook things
rip irc.saurik.com
give me the developer role
is there an api to trigger vibration in uikit like there is for haptics?
There’s the 3 default feedback generators and there’s also an API to generate your own haptic engine patterns
I want the vibration motor though
Not haptics
For devices without haptics
So 3GS-6 and preferably an older api, there must be one
Awesome
iOS 2+ I assume
It exists in every version of iOS
It’s a compile time constant so it exists wherever the fuck you want
Pls for the love of good use impact generators on phones that support them though
I already do ofc
They’re iOS 10+ tho
Which is weird Bcus the 6S was iOS 9 right
Doesn’t it use like a generator??
The docs don’t mention it anymore but you should check CHHapticEngine.capabilitiesForHardware()
Won’t that just exclude like iPod touch and SE 1
Oh and iPads ofc
pretty much
you can hard code if you want
the impact generators are pretty catch all for doing it for you nowadays with the newer sdks
CoreHaptics is actually a really fun API
It’s what the music vibrations accessibility feature uses
It requires gen2 Taptic Engine
I think X
right
The 8 was a sad phone that generation
I love my 8
taptic engine 2 is actually 7
backport a physical piece of hardware?
didnt read that part
Oh I may be vastly mistaken because the full api isn’t available until the iPhone 12 which shipped with iOS 14
It was available with older hardware but the iPhone 12 fully unlocked it
i see
well my main modern device is now a 12 pro
so probably will end up optimising for that asw
Fuck knows what generation it was at that point
god i hate safe area layout
Why??
because of the dynamic island
until i can figure out how to build with the iOS 16 sdk i can't account for it
Ok you’re gonna need to have a really good fucking reason for this because I think apples logic of don’t put things you need to read behind the dynamic island is pretty based
oh it is
it's great logic
it's just super annoying to deal with when targeting non notched phones
i basically have to write my constraints twice
Not really cause the safe area just becomes the top of the screen
except the safe area doesn't exist on iOS 10>
Weird how the first device that shipped with a hole in the screen was iOS 11
Why can’t you just define a constant that breaks down to safeAreaLayoutGuide if available
Like every other dev did when they had this problem
?
im confused
anchors aren't constant they change don't they
screen rotation and sizes
do you mean like a computed UILayoutGuide?
extension UIView { var _safeAreaLayoutGuide: UILayoutGuide {
if #available (iOS 11.0, *) {
self.safeAreaLayoutGuide } else { self.layoutGuide } } }
I LOVE coding on my phone in my bed
whats the _ for also that'd be for ios 9+ and wouldnt solve the 14 pro problem
and since ios 9 doesn't really need them
Because a variable called safeAreaLayoutGuide already exists
YOU CAN DO THAT?
And you can use _safeAreaLayoutGuide on all versions
time to go
and it will compute at runtime which version to use
wait is it the same syntax or do you have to prefix with _
the _ is completely decorative
can you do it on functions
You could call it myFuckingLayoutGuide if you want
no i want syntax to be identical im gonna go implement in all my backports its going to solve so many issues
can you do functions
Oh this didn’t override the existing but you can do that actually
there’s an undocumented way of doing that
The problem is I don’t know how you could get the original back
do i have to modify the sdk??
No
2 secs
does this also extend to structs and classes
making me get my laptop out ruining my hjopes of going back to sleep tonight 😭
BUT
Swift has an attribute called @_disfavoredOverload
which means "use the version that exists in the sdk BUT if im targeting an older version use me"
so I use it to backport the newer String localized api
quick question is there a way to make web clips open a real installed app
internal extension String {
@_disfavoredOverload
init(localized: StaticString) {
let string = String(cString: localized.utf8Start)
if let localeBundle {
self = NSLocalizedString(string, tableName: nil, bundle: localeBundle, comment: "")
} else {
self = string
}
}
@_disfavoredOverload
init(localized: String) {
if let localeBundle {
self = NSLocalizedString(localized, tableName: nil, bundle: localeBundle, comment: "")
} else {
self = localized
}
}
}
I reckon you could do something similar for constraints
disfavouredoverload meaning
_ _
didnt see
LETS GO
basically if you can use the system version use it, if you can't use the system version use the version I write here
this is fucking huge
this actually might make me pushing the app to the app store viable now
no it doesn't
you're using a custom toolchain
that immediately makes it so you can't
obv w xcode toolchain..
and itd be for modern ios
I'dput money down that you'd get denied because the app does not follow a single one of the human interface guidelines
like
not one
i read those they're kinda eh
they lead to homogenous app design which i dislike but then again, swiftui
no they're really not
a lot of them make sense
and haven't really changed since iOS 13 UIKit whcih was peak
the big idea of the human interface guidelines is that all apps should try and look like they belong on the system
and they should use system components as much as possible
so that anyone who picks up the device immediately knows how to use all the apps on it, and all the apps on it evolve with the operating system
makes sense but ruins fun custom ui
some of the best apps followed the human interface guidelines perfectly
Flighty, Apolo, Tweetdeck
i'd imagine so
Tweetbot
man its gonna be a rough day
but the point is that people generally enjoy using those apps a lot more
there's always the official client ¯_(ツ)_/¯
i'll probably end up making the ui a bit more tweaked and polished
yeah and nobody fucking used those when Apollo and Tweetbot lived
be the change you want to see in the world
but one thing i always wanted was the ability to make the ui look like how you wanted
Third party clients were killed because:
A: No ad money from the API
B: They weren't happy people weren't using the official client
and look at how it destroyed reddit
indeed
wait now that i think about it i dont think it would be accepted anyways since its against tos
oh it is 100% against the discord rules
ye
apparently the official client uses ETF payloads
Have you added friend requests yet?
why
freind requests is the most protected API
more protected than 2fa sign in?
yup
damn
its because spam bots use it
ah
Surprising considering how easily ariez could abuse it
good point
discord dont care about people using third party clients for UI tweaks or whatever
they care about people mass spamming friend requests and shit
well they still care ive gotten many psw resets
still unsure why
ill fix eventually
when was this though
probably bcus of all my testing
they added captchas to friend requests a few years ago
Distinctly remembering when they were lurking at one point. I told them to send me friend requests if they were here and I suddenly had 20 requests appear instantaneously
and hoenstly I haven't had any issues since then
Late last year
ha
I've had to solve a captcha every time I add a friend for years now
and I haven't used any third party clients since 2020
isn't it just a REST endpoint?
yup
lmao
Third party clients are just annoying atp
yeah
No notifications, shit just breaking because it can
Someone deciding to make a malicious plugin
It's not worth the risk anymore
no notifications is a problem im not sure how to solve
its discord having to crack down on the malicious side of it
It's not, it's Apple
well and that
ngl i wouldn't have made a client if it didn't target a version where the official client doesn't exist
shouldn't this prevent the risks
it used to be awful
they're still strict af about it
especially now that we live in a society where sam altman sells you a machine that can break a lot of captchas :/
wow okay so the api is dead simple they shouldve just made it more complicated
it already is
i was expecting way way way worse
theyve put more effort into making sure htey can detect fake clients than making the api hard to use
because people will always figure out how to use the api
most fake clients announce their presence
istg every client i see always includes it's name in the identify payload
oh I can guarantee Discord see your client as a third party client
and if you started doing stuff other than sending messages you'd be getting nuked
perchance, it does pop up in my "active devices" with the same identifier
i have sign in with 2fa which is stable
idk about no 2fa
thats not that big thoguh
wouldve thought it would be for them
No
i mean on ios 6 its pretty nice
Clients had that 7 years ago
2fa sign in is not a new thing
and almost every service does it the exact same way
captchas could perchance be very hard to get working on ios 6 tho
this is an endpoint???
old apple id 2fas just made u put the code after reentering ur password
ik i still have to on old devices
i wouldve thought this would be obfuscated 😭
what does this constitute btw
ive seen people get banned in 3rd party clients for:
- Friend frequests
- Sending a dm to someone new
- Creating a channel
- Being the first to message in a channel
Its probably not exhaustive and its not a guaranteed every time thing
aight well ill pay close attention to how the official client does it
but its enough that I wouldn't do anything but send messages in public servers
because I value my account
you will never be perfect
thats the issue
they could do one change overnight and screw you over instantly
true enough
unfortunately you're fighting the same battle that the scam bots are fighting
well not exactly
and the scam bots have been winning for too long
i have no desire to spam the api
discord see third party api usage as third party api usage
you can't just put in your identify payload "im not a spammer trust me bro"
then why don't they immediately ban every self bot
they just see someone who is about to send fake steam gift cards in every channel they can see
exodus
hm?
even that is against tos which they could ban right
like if its this bad just fully crack down
but they at least get the benefit of using the discord client
its harder to detect vencord because you aren't inherintly tweaking the api requests the app makes
no but there would be stuff that should be fairly easy to pick up on
like certain plugins
but ban waves have defintiely happened, usually in relation to a bad plugin
it does happen
ye
and those plugins quickly get nuked
funnily enough if a plugin is known to cause bans its usually removed from the marketplace
i mean im absolutely certain dc knows cus so many times during testing shit broke and went haywire
and ive had like 2 or 3 pswd resets
maybe i should move to etf..
problem is i have to fetch initial data via rest rather than the ready payload so its a lost battle
yeah i really wouldnt add much else unless you dont care about your account 😭
I do care about it but I’m gonna try adding as much as I can without too much risk there’s still a lot of data I get from the rest fetcys that I don’t use
Which I can implement without issue since I’m not having to make anymore requests
I’m hoping most of the cool customisation stuff is open ended
now that i know that certain stuff gets flagged ill try and avoid like admin actions
damn that actually kinda sucks, now i hate scam bots even more
then how do they detect it
Things like custom api requests
The vencord api devs are in a constant battle to make it undetectable
Vencord itself is usually undetectable but once you start doing things like the experiments or plugins that make api requests it becomes obvious
then don’t /j
i don’t know a plugin that needs api requests
okay maybe there are some but legitimate users are able to replicate this
so
Vencord plugins are a spectrum
ok that made me giggle
wdym spectrum
😭
You’ve got things like mass message deleters which obviously make mass requests, theming plugins which are just css, message loggers which are just “don’t delete data I already have”
i thought message loggers were just storing deleting messages somewhere instead of api requests
and css would just be completely client side
Yeah
i remember how easy it was to wipe one of my dms w a friend many eons ago
then How
many eons lmao
oh
And then message loggers don’t make requests but modify the clients behaviour in response to existing requests
and they check for that?
Currently when I delete a message your client receives a message to say I’ve deleted it and hides the message, message loggers just ignore that request or mark the message as deleted in red or smth
that’s hard to detect because it’s again client side theming mostly
But mass deleting dms can be detected because that’s making (usually) thousands of delete requests
yea but if the developer of that message logger have brain in ass then it would probably be easy to detect
yea
That’s what I mean by a spectrum of how much it modifies requests from not at all to is actively making auditable requests
im wondering how vencord didnt get dmca’d have
Funnily enough sometimes they can be because users will try and reply to deleted messages
other mods have been
why not vencord
just hide the reply button

I don’t know tbh
if i was discord i would be pretty upset about it
cuz i cant juice nitro out of more users
(fakenitro)
Maybe it’s big enough that they like scan it every now and again and just let it be cus too much effort or cus goodness of heart
Honestly idk
no one has goodness of heart in big tech
That was a joke lmao
The biggest issue is they’re not really violating discords copyright
So a dmca isn’t really valid
especially when they’re modifying the existing client
they’re modifying their client without authorization
so
Is that a copyright issue though
That’s not DMCA worthy that’s just a breach of TOS iirc
^
And get sued for wrongful filing
maybe
Tbh discord is busy enough fighting bots
yea
I don’t think it’s that high on their priority list
its affecting their revenue
bots arent really
Clearly not dramatically enough
How though
Oh good lord
good example is fakenitro
Bots massively impact perception of the platform
plugins like fakenitro lead users to believe “nah i dont need nitro”
^
Drives away new users like the plague
and discord cant spread mass propaganda for nitro
i mean so far bots havent been a big problem recently
A much much smaller percentage of users are using that though
My family refuses to even consider it because of the bot allegations
(recently not 2 years ago)
And to make fakenitro not viable would mean making the platform ass
Such as breaking inline image embeds
Ye
Fake nitro is literally just an image picker
i mean
Fr
It’s not that deep
it also unlocks 1440p 60 fps streaming for whatever reasn
idk why that is client sided

I bet that’s an account flag they’re monitoring
There’s still 10 flags that we don’t know the use of
lmao
1 of them is “used fake nitro to stream in 1440p” 
Surely.
i mean
you can test it
probably?
LOL
my bus is late by 1 minute
If it was that big a deal they would just add a server and check
how dare they.
i mean they advertise it as one of the main benefits of nitro
The fact they still haven’t probably means the user count is not even high enough for them to notice
probably
what if i report it rn and they say they’re aware of this issue already

I would be interested to see what they say
i had replied to this when i woke up but realised it was bs so heres another reply.
What you say is true about class hooks, but this just hooks a single instance.
curently when you do
HOOK_INSTANCE(obj, selName, SIGNATURE(void), {
NSLog(@"hook 1");
orig(); // calls the (most) original impl
});
HOOK_INSTANCE(obj, selName, SIGNATURE(void), { //calling it again with the same object
NSLog(@"hook 2");
orig(); // calls the hooked impl from the first macro
});
[obj selName];
this prints
hook 2
hook 1
and then performs the (most) original implementation.
if you mean how it interacts with normal class %hook's, i am not so sure about it, never tried myself but i think it comes down to whether the class hook is initiated before the instance hook.
cls* obj = [[cls alloc] init];
cls* obj2 = [[cls alloc] init];
HOOK_INSTANCE(obj, selName, SIGNATURE(void), {
NSLog(@"hook 1");
orig(); // calls the (most) original impl
});
MSHookMessageEx([obj class], sel, ...);
HOOK_INSTANCE(obj2, selName, SIGNATURE(void), {
NSLog(@"hook 2");
orig(); // calls the impl from the MSHookMessageEx's hooked version
});
[obj selName]; // prints hook 1, then calls the (most) original impl
[obj2 selName]; // prints hook 2, then calls MSHookMessageEx's hooked version
//edit:
//not sure what happens when we HOOK_INSTANCE(obj, ...) in this line one more time, it probably continues using the (most) original impl rather than MSHookMessage's version, but its a stretch and even then i don't think its a big issue
im not seeing anything wrong, its consistent whether or not there are multiple tweaks
i am talking about an edgecase here, yes this applies to your project
it has to do with hooking the same method on a subclass and a superclass
let me think about this for a minute
oh ok, since this is creating subclasses on-the-fly, i think i can make this example simpler
wait.... hold on
this is broken in ElleKit too
i must be tripping
ok, apparently im not tripping, they're not using an FFI (or handwritten assembly), just the objc runtime functions:
i wonder how this affects end users
this must be affecting some people in strange ways
but maybe in practice this just doesn't happen much anymore, now that the scene is less active
anyway. there goes my morning
yep thats the same example in my second codeblock, still it depends on whether HOOK_INSTANCE or MSHookMessage is called first. When you change their order it will meet your expectation
i am well aware of that
yeah, ideally there would be a mechanism to regulate these orders, i.e running hook_instances after hookMessage's etc. But idk whose responsibility that would be
in the old days, that was saurik's responsibility
seriously. he wrote substrate to handle it so you didnt need to think about the ordering
Hm, now that i think about it most class hooks are initialised in a constructor. And instances are created only after that, so it kinda meets your expectation in reality
how long has this been available
it works perfectly btw
Doesn't work on classes sadly though
Is there any way to override a class?
I have no idea I can’t find a lot of docs on it
it solved a bunch of problems
still sadly can't get swift to shutup about my uilayoutguide override
Leaking the root password is an incredible security issue
"two moderate vulnerabilities" is crazy
What a shocker
if it ain't broke don't fix it
well a lot of the nocturne code you've committed is broken
I do

When you write no code it becomes perfect
"Another change is also made to not treat backspace as a password character when the password is empty." something makes me think this hasn't had any user acceptance or vuln testing whatsoever
feels like they've done this in too much of a rush for the 26.04 LTS. uutils is incredibly good (I'm using it on macOS) but some of the bugs are kindaaaa like how did you not catch this
maybe they’re falling into microsoft’s steps
half of Linux userland still being shell scripts duct taped together means it's way more critical if a coreutil is producing unexpected behavior
I still call complete bullshit on every company claiming high % of code being produced by AI
why would u say that
smh
have a bot pushing code round the clock to a repo that isn't used by anything, wow impressive, can't believe 30% of our code is written by AI!!!
inb4 the bot is just updating README.md
there’s an ex microsoft employee here willing to say that most of the azure code being pushed currently is slop

fixed seahorse emoji X 500
human written slop which is even more sad
not necessarily ai slop but
yea
Still on 24.something.something for my Kubuntu installs
stable is usually always better then bleeding edge
also as expected of phoronix of course the comments are all "lul not so secure now are you rust"
yeah I mean if you wanna find the guy who said rust fixes every bug ever, feel free to argue with them
nobody who has a clue was saying that
bleeding edge number 1 💪💪💪💪💪 unstable code my favorite. 💪
even the .1 release of an LTS is when Canonical actually starts pushing it as an upgrade option
I'll use ubuntu devel on my desktop but that's because I enjoy pain and can get myself out of bugs usually
yeah that’s the thing
iOS 26 has a similar issue with not being fully polished by full release
atp Apple x.0 releases exist because the hardware has to ship with something, not because it's ready
17.0
The initial batch got trollstore


any way to change intensity
Don’t think so
I think that’s a hardware problem too
It's fixed???
Really???
Wow that's cheap
Wait
I beam vibrationintensuty on older devices
Way back when it was just on or off
Now you get a lot of choices
That’s what you mean right
That’s kinda the whole point of the haptic engine
Oh I read it wrong, yes it’s fixed
So yes
very cheap
apple cheaped out
variable intensity motors are not expensive
well i guess that means no haptics on anything less than the iphone 7
Hey there’s now been more iPhone models with a home grown engine than there hasn’t been
Vibration intensity isn’t that big a deal 
Bad answer
on like 99% of phones
Android is an open source operation system
^
They had to add stuff that Apple didn’t have to try and win
or more aptly, 99% of android based phones had it since inception
Because at the time Android itself wasn’t as good
Android still struggles with 3rd party app developers
So the phones have to rely on better hardware :/
android the software is cooked as fuck
ngl tho hardware nowadays, kinda cooking
but besides that
its cheap
its like 2 bucks
You could vary it through private API I think
But I don’t know if it would be that good
What private api
I don't know
but if you can vibrate for incredibly short periods of time
you could effecitvely pwm the motor
its just a vague idea
I see
yo, has there been any progress on this?
I have integrated your way of using that api so it requires no user interaction
SSVInstallManagedApplicationRequest
use rclone !
i just wanted to odwmload an album 😭
you should be able to use the website of a cloud based storage provider
it took 17 minutes
the zip file was 914MB in the end
i think the problem is not the download speed itself but just because you can't make a user download an entire folder you gotta package it in a zip
they probably relegate it to the slowest possible machine they have
Nice. I was gonna offer to send an example if you hadn’t (I noticed that nothing seems to actively use it anymore lol)
because of the zipping
if browsers were less bad about downloading files you could just pull them straight down without it being a mess
you kinda can but it'll whinge about the site trying to download bomb you
Hmm, if only google had control over every browser
yes, if I had control over every browser
That's my motto
back in the day i had this one gif on my site that wouldn't render properly in firefox
so naturally i slapped a "works best in ie6" banner on there
nothing renders properly in Firefox
Do you have a job yet
Lol
my website does
I integrated it with my website as well, so now I have a locally hosted [redacted] clone :D
Doesn't even need a usb connection to the iphone that will decrypt the apps anymore, it can do it over wifi as well
It just cannot enter deep sleep
pircay :/
pircay :/
pircay :/
Does anyone have any idea what could cause this crash?
this is the funniest way to share a crash log ive seen in a while
I'd look at those symbols
cause it looks like something in BackDeployment.cpp called Terminate after seeing what version of ios you were running, or what version of swift you were running
that doesnt look to be a crash, more something called quit
iOS 7 an swift 5.10 but it’s only on arm64 and it only happens on iOS 7-8
I don’t know what back deployment.cpp even is
I don’t actually own that device
It’s someone using my app
To me it reads as something in the swift stdlib called terminate after reading some kind of version
I see
operatingSystemVersion to be exact
Well the Stdlib is swift 5.1.5
Which is fully iOS 7 compatible
So that’s highly confusing
Yeah I can see that
can you get the full crashlog
Ye sec I’ll ask
do i know who you are? i dont recognise you
9/10's out of 10 the next question to ur dm is "can you make me a tweak for tinder" or "can you make a piracy tool"
I ignore all requests by default, I get a good few a day
most of which being spam
You're better off just asking here anyway
Unfortunately most tweak/jb developers get spammed with requests for icloud bypass or tinder tweaks or in app purchase bypass or whatever
which is why a lot of requests get ignored
have you posted on r/TweakBounty
why was it deleted?
