#development
1 messages · Page 265 of 1
o wait wrong channel
Depends where you're getting your pointer from
From something like dlsym, it's fine, from MSFindSymbol, you need to sign it
uhh
Joe
Fr

pac takes the fun out of assembly
True
pac is like math proofs 
@grave sparrow they should be signed already but also wtf
all that is exposed to the objc runtime why are you accessing it directly?
cumra1n 0.69.0
@faint timber thanks
@faint timber You can share the link with me. I can't find it
if it was a pure swift class then it wouldn't have a Class
Class is the objc wrapper
which means the info you need is either not in that Class or is exposed to the objc runtime
aaa
you need to read up more @grave sparrow
Swift classes are layout compatible with objc
So in a way they’re visible to the objc runtime
But there can be pure swift methods which aren’t exposed to objc
literally ceo of swift
Which are found in the vtable I believe
Seems right
afaik the vtable at offset -1 is actually the vwtable
which isn’t what you want
read the docs again
and check out the runtime struct layouts in the headers
ok, so is it more efficient to allocate the uiwindow when i need to present an alert, or just keep it in memory
personally, for the amount of alerts i present, i think reallocating is more efficient
a uiwindow is only like 700 bytes of memory, so its weighing that against the energy required to do the function call for reallocating
700 bytes of memory is a lot, though
to keep in memory forever
ping me if you want to respond, thanks
anyone know to get maps to open with 3D enabled as a default?
Filter to only Apple Maps, Hook the init of the Map View, Enable 3D 
True
How can I compile code on NewTerm?
install theos
there is a lot of info on the iphone dev wiki
Ok
how do i call swift
@vivid dew
I'm needing something that specifically requires gcc to compile. Where can I get gcc? I can't find any useful information on the iPhone dev wiki.
Uh
I don't have any of those DVDs.
How do I ensure that the SDK is trustworthy?
bruh
?
how do i call swift
@vivid dew idk his phone number
I do know how to hook it tho
Although some people would say “its too hard”

to call swift, dial #70438

lmao
@grim sparrow can you post a screenshot of the dev portal
@vivid dew that’s against rules
Lol
Ik
:uhhcyclops:
:uhhcyclops:

Well, if a pirated tweak might be dangerous, then I don't see why the same problem could happen with an SDK that doesn't come from an official source.
What are you all thinking about the ARM macs? will many of you be switching over?
I personally think it would be nice to be running ARM as x86 is pretty gross and messy
but performance wise how will it be comparing to the top end macbook pros?
and what about tools that utilize gpu like hashcat, johntheripper most likely wont work. i guess i could just use my desktop for that kind of thing.
just wanted to know what some developers are thinking

sure x86 has some bloat from over the years but it works and it works well
arm macs gonna have poor software support for 2 years
and half the people here dont even use macs
lol and yeah thats fair enough support wise. I agree its a well working architecture but if I had 2 devices performing similarly Id choose an ARM one.
if it were to be used for lighter tasks then its a great choice because of power efficiency
true, well I guess Ill see when they come out
sileo 
I haven't been able to figure it out myself, but, how would I compile this?
https://conwaylife.com/wiki/Tutorials/LLS
oh yeah
@gaunt mesa yeah it’s pog
@gaunt mesa yeah it’s pog
@tepid olive
it's just a ret patch
It works fine

no password he means
It shouldn’t 
Wow Jules you are looking very cute today ngl
https://cdn.discordapp.com/attachments/627601934463008796/771169121923498014/unknown.png
https://cdn.discordapp.com/attachments/627601934463008796/771168876422496296/unknown.png
wow exploit is so cool he patched out the panic function...
danke
patched out panic instead of fixing the problem
exploit3d not an exploit
Oh wait
lol
You mean the person
he patched out pongo's panic function
Also thanks for reminding me to continue learning assembly
he patched out pongo's panic function
@faint timber wtf

thats literally the patch
I mean
This is solution, I’ll just patch out springboard crashes!!!
It works
does it work for a11
yes
If you’re like me, and only need it for updating your shit, having no sep isn’t terrible
I wouldn’t particularly like it on my main device though
Considering everything I have on it
Nudes
That’s all I need to be hiding
btw pongo and kpf are next to each other when mapped into the heap
What do you expect after that?
Reading dms for the first time be like
What do you expect after that?
@twilit jungle well if he spammed me for 11 days for something He could google then...
I would not have expected him to be the one blocking
Thats an interesting notice/message
Thats an interesting notice/message
@primal perch
@primal perch sir i am rocking a fucking old 2015 macbook pro and i need new computer. i was gonna get the arm mac, but give me ur thoughts
@grave sparrow
@primal perch sir i am rocking a fucking old 2015 macbook pro and i need new computer. i was gonna get the arm mac, but give me ur thoughts :intjghostpray:
@grave sparrow
Do you need it portable
Do you need it portable
True
imagine no tidal
you forgot to suck m y cock

again
https://tenor.com/view/gamerpoop-gif-5353149
@valid venture
me IRL writing disgusting c++
You can literally use printf
May as well
@twilit jungle do you use cout or printf when c++

printf
true
I don't have any array calls
Though overriding operator<< is pretty nice
all pointer based 🙂
yeah but like cout 
wtf
vector and string pretty nice
tru
or just place
use namespace std
and after that just do cout<<"string"<<;
true
using namespace std wtf pls no
std::string cout = "std::cout";
(char[cout.size()])cout.c_str() << 12;
i hate colons too but like assumed namespaces kinda sus
bruh moment
hmm gh0st at the bell i wonder what he'll get today @primal perch
maybe cum
did anyone notice my sins
Idk our teachers back in first semester basically forced us to use use namespace std always
I shifted a string overriding << with shift
no problems then
using is best for prototyping
Except using std will literally multiply your compile times by a lot when you do it for small stuff.
I never use
I need to fix my even median math
odd works
even broke
double medianFunction(int IntegerArray[], std::size_t IntegerArraySize)
{
return (IntegerArraySize % 2) ? (double)*(IntegerArray + (IntegerArraySize - 1) / 2) : (double)*(IntegerArray + IntegerArraySize / 2) / (double)*(IntegerArray + (IntegerArraySize / 2 + 1));
}
whats wrong here
Parenthesis
it being on one line
both wrong
fixed it
return (IntegerArraySize % 2) ? (double)*(IntegerArray + (IntegerArraySize - 1) / 2) : ((double)*(IntegerArray + ((IntegerArraySize - 2) / 2)) + (double)*(IntegerArray + ((IntegerArraySize) / 2))) / 2;
Parenthesis
Because PEMDAS is a bitch
that wasn't the problem
I was dividing instead of adding
and didn't divide the result by 2
I was dividing instead of adding
and didn't divide the result by 2
So parenthesis...


how do you cast a pointer to an array in c++
Same way as C? well other than the fact that static_cast/dynamic_cast is preferred.
does anyone else get headaches from smoking sometimes?
I am trying to figure out if the headaches i am getting are from that

probably not helping
how do you cast a pointer to an array in c++
@faint timber shouldnt you cast pointers?
Like make it a void ptr and cast the value when you read it?
@primal perch sir i am rocking a fucking old 2015 macbook pro and i need new computer. i was gonna get the arm mac, but give me ur thoughts :intjghostpray:
@grave sparrow I wouldn’t say 2015 is that old, the specs you have prob aren’t enough
return (IntegerArraySize % 2) ? (double)*(IntegerArray + (IntegerArraySize - 1) / 2) : ((double)*(IntegerArray + ((IntegerArraySize - 2) / 2)) + (double)*(IntegerArray + ((IntegerArraySize) / 2))) / 2;
@faint timber isn’t it easier to calculate the index asIntegerArraySize / 2 + (IntegerArraySize % 2)?
I want to fuck with my professor
Making the code the worst possible way?
how do you cast a pointer to an array in c++
arrays are pointers...
something like int* myArray; can be indexed like myArray[2]
same as c
unless you meant std::array?
now I will be saved the headache
this one required c style array
using vectors next time
I'm using a pointer to a function scope variable in another function's scope with no global defines guess this is illegal
well it depends
a function can pass a pointer to a local variable to a function that it calls
eg c void func1(void) { int var; func2(&var); }
return (IntegerArraySize % 2) ? (double)*(IntegerArray + (IntegerArraySize - 1) / 2) : ((double)*(IntegerArray + ((IntegerArraySize - 2) / 2)) + (double)*(IntegerArray + ((IntegerArraySize) / 2))) / 2;
@faint timber what the fuck is this
please index your array using [] not +
so in that example, func2 is getting a pointer to a variable in func1's stack, which is fine
but take this code for example ```c
int* func2(void)
{
int var;
return &var;
}
void func1(void)
{
int* p = func2();
*p = 5;
}```
that is illegal
because the pointer that func1 receives is to a stack for a function that has finished
so when you say "I'm using a pointer to a function scope variable in another function's scope with no global defines guess this is illegal", it depends whether or not you can guarantee that "a function" is still running when "another function" uses the "pointer to a function scope variable"
Alright so I been doing swift a week now and I always get the same issues no matter what and it’s “ cannot find X in scope “ like this example I have rn and wondering if anyone knew where the problem usually lies so I can fix it in future
this is the code
Can you show the top of the file @turbid fjord
Line 36
I click the open brace and } on line 36 is highlighting yellow
Wtf
Okay either way
The variable tasks is part of EntryViewController
You’re extending ViewController
As far as the class ViewController is concerned, tasks doesn’t exist
Alright but when I remove the EntryViewController class there no issues
¯_(ツ)_/¯
No issues with tasks if I remove it
I honestly can’t figure out what you’ve done

That formatting is mad

Oh well
I’m figure it out one day 
I’m surprised you haven’t got a warning saying it was never written to
Where are you writing to tasks
On storyboard?
I’m writing tasks to task View controller
Ok

I’ve done something catastrophic
I missed clicked and deleted contentview file 
Cmd z
Didn’t work I googled it
I didn’t save it so it should be there from yesterday

@faint timber Pls don't fuck with your professor cos the ta's are the ones that have to grade your monstrosity
is there still ta for online class
also
oh lol
been vibing all night
wtf
@grim sparrow pog news I’ve fixed all the issues... doesn’t crash anymore but the add button still isn’t visible so I’m just trying to change the colour
Oof
heres the fix

let rightItem = UIBarButtonItem(title: "Refresh", style: .plain, target: self, action: #selector(refreshButton))
let leftItem = UIBarButtonItem(title: "Purge", style: .plain, target: self, action: #selector(purgeButton))
self.navigationItem.rightBarButtonItem = rightItem
self.navigationItem.leftBarButtonItem = leftItem
just put that in your viewDidLoad
change the selector to the name of your function
adjust text accordingly
screenshot pls
remove left button because you don't need it
action: #selector(didTapAdd)
put that in right item
hpp is Fucked™️ on 14 goodness
major rewrites
@half walrus
Hey, you. You're finally awake. You were trying to cross the border, right? Walked right into that Imperial ambush, same as us, and that thief over there.
expected it to need it though
major rewrites
Dang that sucks
kek
lmao
You could make racks throwing together a tweak to mimic a passcode
for those of us without sep
Awesome the refresh button shows up 
Unpopular Opinion: Stock checkra1n should of had this option from the start, I imagine developers don’t mind losing sep for a bit on a phone to update stuff
a month ahead of you @grim sparrow
Lmao
kek
@half walrus 🥵
You could make racks throwing together a tweak to mimic a passcode
@grim sparrow ok making a free SEP replacement

Nah
It will be called SEPenis
Just something so that you need a passcode to unlock the phone
I’ll do it this weekend

I just need to add an entitlement for Signal to work

@half walrus do you still need that Hue CC module
I wrote my own mini library for controlling them the other day, probably gonna put it in a CC module somehow
I just need to add an entitlement for Signal to work
@grim sparrow what that
I can’t remember the exact name of it
The one that gives me read/write to a specific directory
What is signal
Oh
Based off of on device cache
That’s cool
Wait, how does the SEP panic the phone?
it informs it of the steady rise in global warming
I thought someone here said Flex works fine on 14?
What i've heard from people is
That they can easily just enable the passcode after jb
lol
yep can confirm
pain
does that surprise u or something
Not really tbh
sneeze at catalina and some shit crashes
you take a screenshot of the crash and the screenshot program crashes
lmao
then the crash reporter crashes
Unpopular Opinion: Stock checkra1n should of had this option from the start, I imagine developers don’t mind losing sep for a bit on a phone to update stuff
@grim sparrow it's incredibly unstable right now, and the checkra1n team wouldn't ever dream of putting something like this out tbh
I haven’t had issues tbh
@grim sparrow it's incredibly unstable right now, and the checkra1n team wouldn't ever dream of putting something like this out tbh
@half walrus so truer
like actually
i’ve had my touchscreen fail twice
same
rip
faceID popup is being annoying now
I’ve just been lucky then
where it just freezes on startup

at one point when all i had was substrate installed my apps wouldn’t open
i mentioned this like a month ago, was a matter of time till someone did it, but its a hacky solution i don’t think checkra1n team likes
whelp I mean
if its a test device you don't give a shit about and bootloop it anyways(I do)
I've bootlooped my iphone x over 20 times
from checkra1n
I've restored the device over 50 times
lol
krit is back!
@tepid olive thats cool and all but i want more shmoo cat pictures
hey @half walrus
welcome back
@grim sparrow it's incredibly unstable right now, and the checkra1n team wouldn't ever dream of putting something like this out tbh
@half walrus im assuming you know this already but the patch doesnt actually add anything,,,, it just removes pongo's panic functio
sorry charlie i love u
kek
LessThanOr
But I'm saying for developers who don't mind if a device dies, it's not too bad just to update tweaks
Similar to Apple Developer betas, they are buggy, but useful for developers updating to new stuff
But I'm saying for developers who don't mind if a device dies, it's not too bad just to update tweaks
@grim sparrow yeah exactly
i need to update tweaks but i do dev on my main device
exactly
that's why I've only got it on my 7
never putting that shit on my main
I value sep too much
I value sep too much
@grim sparrow yeah
i just enjoy using sep stuff
apple pay, etc
Nah not even that
I always use my watch for apple pay
it's just the code
itself
I have a lot of shit on my phone I don't want others seeing
exactly
biometrics
Having to type my 1Password masterkey every time is a hassle
- I like text messages and stuff being hidden on the lock screen
however that could be done with a tweak
@misty cradle rise to the ranks of advanced developer and you'll be flooded with cat pics in backroom
YES I GOT A 103 ON CHEMISTRY TEST
k
YES I GOT A 103 ON CHEMISTRY TEST
@tepid olive
your greatness is beyond understanding
allow me to be graced by your presence, I beg you

@misty cradle rise to the ranks of advanced developer and you'll be flooded with cat pics in backroom
@tepid olive
Anyone know of a good tutorial for debugging tweaks? Also debugging preferences?
My tweak in progresses preferences just crashes the settings app
How do I compile subjective-C instead of objective-C?



How do I compile subjective-C instead of objective-C?
@stark barn
@tepid olive okay but where pin code entry

true
who needs sep
Dependencies: no.sep
yeah
Besides the phone I have it on
this is my main phone for today
do people actually check out models on the spotify home page
You what
do people stare at girls in ads

its not an ad on spotify i have premium
its just featured on the home page
banner at the top 

Please don't release that fake passcode
Are you thinking because it will make people more likely to use it on a main device?
Yes
That’s a good point tbh
And you are endorsing everyone to use that leaked product

about 2000
Bruh
true
SMH
@tepid olive don't worry someone will make a shittier version, put it on a repo and a bunch of people will update their phones 🙂
Yes
Dont worry burrito will make a shortcut for that
It will be a very simple shortcut he spends a lot of time on
To be clear I’m referring to the shortcut kid

@tepid olive no you are the shortcut guy now
true please remove the 0z from your name
@tepid olive
I’m tryna do home work
Dont want to do it at home
Thanks
Cameren don’t you have adult stuff to do
@restive ether
@misty cradle where is sur center bro

I’ve been waiting
@misty cradle hey bro where is anatra
@misty cradle hey bro wen eta sentro???

Who am I
I am eta kid
Thanks for playing Guess Who with me
Ok bye
I am eta kid
@tepid olive
Ok boomer
Look at me
January humor

Who am I?
I’m a 6th grader
Thanks for playing round two of Guess Who with me!
Hey @dghost hswidets crash iOS 14 fix please?
Thank
rm -rf /Library/MobileSubstrate/DynamicLibraries/HSWidgets.*
It must have been the PhotosWidget
Yes true
tr1 at it again
@misty cradle your photos widget bootlooped me
My iPod isn’t booting
Please PayPal me the money to buy a new
Thank
Sad!
@misty cradle PLEASE respond
Are you going to respond?
It’s been 11 minutes since I emailed you
Ok I’m done
Dev won’t respond
Now I make Reddit post about it
Hello reditt, developer boot loop me and not respond to emails instantly. We should cancel developer and ban him from opening Cydia
Ok now I’m done for real
- the boobToday at 1:45 PM
@Tr1Force hello please respond i think veza killed my cat
hello?
bump
bump
@misty cradle hello please respond i think veza killed my cat
@undone nest
CSS isn't development 
shortcuts
@grave sparrow
so when you say "I'm using a pointer to a function scope variable in another function's scope with no global defines guess this is illegal", it depends whether or not you can guarantee that "a function" is still running when "another function" uses the "pointer to a function scope variable"
@lapis vessel have you consideredstaticvariables? :P
@tepid olive
@glacial matrix lol, lets hope that if it was a static variable he was talking about, he would have mentioned that
I know it was not the case :P
That would be a super janky use case
isn't that the point of their way of writing the homework?
Fair
make it pass through movfuscator just for shits and giggles
hi nginx, I'm dad
I believe you would be renting a VPS lmao
I’m a lazy mofo, who can compile this for me?
@lime pivot yeah, for sure. it’s a base model MBP. having only 128gb SSD is painful lol
@grave sparrow ouch yeah the base models sucked for a long time. I think pro is 256 gb standard now? that already makes a massive difference, SSDs don’t perform well being >70% full
well they still perform ok but it can be noticeable if you’re consistently maxing out RAM and it’s swapping to disk like crazy to keep up
I believe you would be renting a VPS lmao
@lime pivot imagine if you could just
buy
a vps
I own 1/10,000th of a CPU!

I own 1/10,000th of a CPU!
@lime pivot i own 9,999/10,000ths of a CPU!





:woeis_01::woeis_02::woeis_03::woeis_04::woeis_05:
:woeis_06::woeis_07::woeis_08::woeis_09::woeis_10:
:woeis_11::woeis_12::woeis_13::woeis_14::woeis_15:
:woeis_16::woeis_17::woeis_18::woeis_19::woeis_20:
:woeis_21::woeis_22::woeis_23::woeis_24::woeis_25:
@narrow mason
@narrow mason
@vivid dew


I half feel sorry for this dude who suddenly has traffic to a dead website about an obsolete OS, browser, and plugin he can’t explain
:woeis_01::woeis_02::woeis_03::woeis_04::woeis_05:
:woeis_06::woeis_07::woeis_08::woeis_09::woeis_10:
:woeis_11::woeis_12::woeis_13::woeis_14::woeis_15:
:woeis_16::woeis_17::woeis_18::woeis_19::woeis_20:
:woeis_21::woeis_22::woeis_23::woeis_24::woeis_25:
@narrow mason
gitea or gitlab
@tepid olive gitea is easy
gitlab looks better
what’s the difference in hardness
Like at what point
what topic about the installation
gitea is just straightforward
i havent tried gitlab
so
your mileage may vary
i also set up drone ci with gitea which was kind of a pain to get working but
ok I’ll just use gitea
I don’t need any complicated stuff i guess, just some file hosting
nginx gonna rape me tho, I can’t find any good tutorials
I half feel sorry for this dude who suddenly has traffic to a dead website about an obsolete OS, browser, and plugin he can’t explain
HAHAHAHAHAHAHA
i'm dead
does anyone have a good source read about how to start with nginx and end up hosting it to a domain
I use GitLab but my requirements are probably very different from yours
also GitLab likes being on a machine with a decent amount of RAM
also GitLab likes being on a machine with a decent amount of RAM
@lime pivot this is true
does anyone have a good source read about how to start with nginx and end up hosting it to a domain
@tepid olive download nginx
get certbot
use certbot for domain
change values as you see fit
profit
GitLab has a bug/feature where it wants to run 4 worker processes by default, which really says fuck you to your RAM
you can reduce it to 2, but reducing it to 1 causes weird unexplainable bugs/crashes
I’m very confident a GitLab instance on my home network only needs 1 worker but ya know, whatever
Debian or Ubuntu? I’m comfortable with both
i use ubuntu, people say they dont like the bloat, its always been fine for me, newer packages on stable etc

gonna figure it out somehow tmrw and get something up
thanks for telling about certbot btw, didn’t know about that
Might as well use windows if you don't care about bloat
GitLab has a bug/feature where it wants to run 4 worker processes by default, which really says fuck you to your RAM
@lime pivot imagine
not
using
cgit
cgit is a pita though is it not
its lightweight af tho
i dont really care about size
i only have cgit as a method of syncing my work between my computers at home
so the commits are absolute trash
after all i host every single one of my images on my own hardware
but its better than a network volume
after all i host every single one of my images on my own hardware
@surreal mountain is ur IP static?
yes
mine only changes if im disconnected (ie therouter is disconnected) for more than like 6 hours
😴
bruhhhhhhhhhhhhhhhhhhhhh
he sleep
gm shep goba
😴
@primal perch
gm
help me with what i was saying in backroom
goba

charlie go to sleep u need to sleep
@surreal mountain it’s only 00:08
true
idk just make your copy of the screenshot data and upload it somewhere else
custom delegate object
singleton maybe
wym no lol
i think i can make a binary and just call the binary with my stuff
and thatll do it all
sure
i hate UICollectionViewController
@gaunt mesa what’s the point of them
to view a collection
well
technically
to control a thing that you use to view a collection

Same as UITableViewController but for collection views
what he said
its like a controller for the view known as the UICollectionView

which inherits from NSObject
what he said
which inherits from
deez nuts
Yeah but
I’ve always just put put a collection view on a view controller and made it hug safe area
MyCock inherits from LargeObject
whatever
apparently so does YourEgo
apparently so does YourEgo
@inland fog lurk much?
yes no maybe so
My IP changes every reboot
@grim sparrow I WANT THAT
I want my whole ip to change
if multipla 2 is so good why isn’t there a multipla 3
2 months
@surreal mountain i dont have time
you can usually rent ips for a few bucks a month and switch between them
also there was a shit ton to fix
if you dont have a dynamic already
@surreal mountain i dont have time
@tepid olive but its release candidate

not beta
yeah
it is newterm 2 bro get on my level
it is newterm 2 bro get on my level
@lime pivot newterm 2 is actually gonna have [redacted] feature with [redacted] so pog
where is xterm.js for iso
release candidate = i fixed all of what i needed to, now i listen to tester feedback for what needs to be changed before release
I’m here because Xcode has forgotten how to autocomplete today and I’m rebuilding everything and I hate computers
I’m here because Xcode has forgotten how to autocomplete today and I’m rebuilding everything and I hate computers
@lime pivot my xcode is indexing orion rn
so

I’m here because Xcode has forgotten how to autocomplete today and I’m rebuilding everything and I hate computers
@lime pivot xcode

i'm so here for the 4 letter name revolution

can ios please stop telling me to update to the latest beta, there is none
hello krit how are u
and my dev account got cancelled so i cant download ipsws anyways 
that is pog
vibe duck

that’s cute
i quak at him he waddled away



xcode still not done

wtf
kirb face reveal leaked
intjallah
is that real arm64e on twitter?>.

who needs xcode and theos when @half walrus is using xcod and drag
xcod
truth

sounds like an Apple-invented fish breed
yeah
wtf krit 

hi
g
hello
Xcode more like 
want ur dev role
sure
true
I like how i can analyze multiple dbs in IDA without slowdowns

ultimate multithreading 
I swear I had the Xcode build error red exclamation mark but I must have left the server it was on
ok
so cool
yes
gonna need more than that i'd imagine
checkra1n a11 patch
@surreal mountain
is the person who asked
it was very laggy
/s




















































