#development

1 messages · Page 617 of 1

faint timber
#

ah hella nah microshaft u ain't gettin my shittercode

lone bronze
#

that's fucked ^

#

they should offer to at least pay devs for their code

weary heath
#

If my code ends up in Copilot I should pay them as compensation

faint timber
#

lmao

#

I'd say 0.30$ per snippet then we have a deal

#

@compact swift I think you need copilot

#

bro wtf

#

I went back and those bastards rechecked the box... @grave sparrow

lone bronze
#

i guess... i dont really use the hub tbh

faint timber
#

I maintain an org... so...

lone bronze
#

hahaha switch to gitlab ftw

faint timber
#

gitea vps host TrollFront

lone bronze
#

actually idk if gitlab does the same shit tbh

#

yeah "let us train our NN using your code snippets and in return we can replace all your jobs"

ocean raptor
lone bronze
#

por... i mean github

#

thats like "hubba hubba"

ocean raptor
#

I would imagine they have a dev mode that shows safe for work videos

native dune
#

imagine developing for pornhub

lone bronze
#

those jobs must get scooped so fast lmao

#

nerds and their pornz

#

hoping to meet riley reid irl

#

emphasis on the BEEFY

gentle grove
#

Unit tests must be very valuable there

#

What

#

Nfr

#

Look up their api

weary heath
#

You can find out pwn20wnd’s name origin there

gentle grove
#

Unofficial

gentle grove
lone bronze
#

capt you okay? you going to build out ph tweaks now 😂

ocean raptor
#

Hottub

#

The tweak dev that made a porn app

lone bronze
#

hottub is a great name 😂

tidal jungle
pearl sail
gentle grove
#

I'm not a tool

zenith hatch
#

lol

exotic spire
ocean raptor
lime pivot
lone bronze
#

touché

lime pivot
#

I really like copilot, but they clearly realised they had to use the ginormous corpus of OSS to make it an actually useful product people will subscribe to

#

licenses be damned

#

give us your code for free and we might trick someone into using it without following the license

#

because we never told them the license or where it even came from

#

I took an AI course last semester and I think I understand less than when I started

restive ether
lime pivot
#
  1. you supply inputs
  2. ???
  3. you get outputs
restive ether
#

are they legally liable for content copilot may have taken from others work

vivid dew
#

2 is linear algebra

#

@restive ether

restive ether
#

source?

lime pivot
#

and users think well if it’s coming from copilot, it must be fine

restive ether
#

that’ll be a court case in the future for sure

lime pivot
#

so everyone’s expecting the opposite to handle the situation and yet nothing happens

restive ether
#

getting sued into oblivion because copilot stole a few lines from some random project with 2 stars

lime pivot
#

I sure hope Microsoft got a good legal case prepared before going ahead with Copilot

restive ether
#

#MeThings

lime pivot
#

big companies are always extremely serious about everything going through legal

restive ether
#

that whole AI sphere really doesn’t have much regulation behind it

#

and considering their terms say your licenses are worthless here

#

i guess the case is really if licensing supersedes terms of service

lime pivot
#

I do wonder if “whatever your LICENSE says, assume there’s an extra clause that says we can do whatever we want” would hold up in court

#

if you’ve agreed to it as part of the TOS

restive ether
lime pivot
#

oh they definitely miss often

restive ether
lime pivot
#

but you have to think whenever there’s something like a big price fixing conspiracy, the lawyers were there to figure out how legal it is, and what the worst penalty under law is if it isn’t legal

restive ether
#

i think the fact TOS is just a wall of words no one could reasonably read is a little ridiculous

lime pivot
#

definitely ridiculous

restive ether
#

i get the over security but jesus no one’s gonna read that for every website and app they ever use

#

lawyers are gonna lawyer

lime pivot
#

I feel like there should be some framework in law to require summarising them in plain english

restive ether
#

and by the time the fine came in it was well under what they made from the charges itself

lime pivot
#

but given the chance to troll users, big tech will absolutely do so with their “summaries”

restive ether
lime pivot
#

like extremely vaguely describing something that shouldn’t be that vague, and then claiming it’s fine because “well it’s a summary bro that’s what the law wanted”

restive ether
#

i’d rather have that then nothing

indigo peak
#

@vivid dew happy birthday 😁😁

restive ether
#

there’s definitely so ways to remedy such an issue

#

but i’m no lawyer

#

and or lawmaker

lime pivot
#

like “we use your data to provide services you request” could be bent to mean you consent to ad tracking, because you “requested” to visit a site that has trackers on it

restive ether
#

i think ios 16 focuses are broke

#

the driving focus keeps turning on

lime pivot
#

is your car bluetooth running while the car is off? lmao

restive ether
#

my bluetooth isn’t even on

#

i think it’s just stupid

lime pivot
#

I wonder if that’s it

#

because it technically hasn’t seen your car “disappear”

#

it’s just stopped receiving nearby bt device lists

restive ether
#

the car bluetooth would’ve shut off hours ago, i don’t think it runs all the time

#

it turned off fine when i got out of the car

tepid olive
#

i finally managed debugging

cloud sundial
#

Does anyone know of an alternative to iSH? It's too slow for my taste

native dune
#

a-Shell

#

has shortcuts support too

peak quartz
#

is there a way to hook/print all system calls app is doing? i know i saw some tutorial somewhere but cant remember where

vivid dew
#

try instruments

peak quartz
ocean raptor
hexed knot
#

Well you don’t see in general so yeah

faint timber
native dune
#

ozy+svOhol4=

#

oh i did base64 first

primal perch
cloud sundial
native dune
#

not sure but i know its much faster than iSH

cloud sundial
#

Well as long as it's fast and I can install stuff from hosted repos then I'm happy

#

Thanks

#

Oh it's actually not. Interesting

faint timber
rain falcon
pearl sail
rain falcon
#

god please fucking do

#

or kill me and say not guilty fr

#

just kill me with your cock

pearl sail
zenith hatch
#

do it

rain falcon
#

do it

lime pivot
#

do it

ocean raptor
#

Yes

#

But

#

You need an old SDK

#

Then just set -isysroot and -arch to the appropriate values

#

And profit

indigo peak
#

@vivid dew happy birthday !

zenith hatch
#

@vivid dew happy birthday !

native dune
#

@vivid dew happy birthday !

hexed knot
wicked summit
#

gm

#
let nfat_arch = 4

done

restive ether
#

i love ancient versions of make đŸ’ȘđŸ’Ș

tardy narwhal
#

macos may be gatekeeping you

#

in that case, pray to the higher beings inside your terminal and punch in the required command to access the forbidden fruit

wicked summit
#

try removing the code signature

#
codesign --remove-signature /path/to/app
opal ridge
#

codesign -s - --force --deep /path/to/someapp.app

zenith hatch
#

true

ocean raptor
#

@lime pivot @compact swift @grim sparrow so I was looking at dpkg, and it seems that instead of doing dpkg patches for conffile stuff y'all can just look for the status-fd message conffile-prompt and send the appropriate response character to stdin

ocean raptor
#

what are you actually trying to compile?

#

grab one of these that have ppc

#

then just do -arch

#

no

#

to clang

#

obv

#

which ppc are you actually targeting?

#

is that ppc or ppc64?

#

ok, then add -arch ppc64 -isysroot path/to/downloadedold/MacOSX.sdk

#

then do -arch arm64 -arch x86_64 for the other archs

#

and lipo them together

#

tri

#

x86_64, arm64, ppc64

#

look at that

#

no, it's 64 bit

#

but can run 32 bit

#

it's technically 32bit with 64bit extensions

#

but x86_64 binaries can't run on x86 processors

#

only x86_64 or x64

#

also, you do not seem to understand what make is

#

make is just a fancy shell script

#

it doesn't actual do the compilation

#

haswell extensions

#

for example AVX2

#

@brittle quest now that I think about it, I don't think clang supports powerpc macOS

#

you have to use gcc iirc

#

no!

#

/usr/bin/gcc is a symlink to clang on macOS

#

you need to compile gcc yourself

#

it's for backwards compatibility reasons

ocean raptor
#

You are asking me questions I would not know

#

Read their docs and try to figure it out yourself

#

I've never used it before

#

So I can't help

vivid dew
#

this is advanced trolling

vivid dew
serene ridge
#

what?

ocean raptor
#

you don't give gcc a makefile fr

#

makefiles are just fancy shell scripts

gentle grove
#

Wait.... You compiled GCC from source??

serene ridge
#

compile the compiler

gentle grove
#

bootstrap moment

#

by hand

primal perch
#

i tried

#

even with 16gb ram it chewed through and just failed

#

could also be because windows

#

idk

#

got through a bunch of it tho

#

lots of cpu rape

gentle grove
#

It can't be that big can it

serene ridge
#

fr

primal perch
primal perch
gentle grove
#

where is llvm

proven pilot
#

Question, does anyone know which open source program to use for the Nvidia Cuda?

gentle grove
#

Wdym?

serene ridge
#

wdym pump gcc lmfao

#

what?

#

your trying??

vivid dew
#

me begging legacy mac users to tell me where they buy their meth

ocean raptor
#

@grave sparrow @gentle grove @primal perch y'all acting like it's super difficult to compile llvm, it only takes like an hour

primal perch
#

1 hour

#

nfr

ocean raptor
#

I've built llvm so many times for procursus trying to update it

#

It's not that difficult

ocean raptor
primal perch
#

wow what a surprise

ocean raptor
#

Yes

#

You can actually build llvm is under 15 minutes if you do a barebones one supporting only 1 arch

pearl sail
#

capt you gonna mess it up and then come back here and say it took you 12 hours

#

man

ocean raptor
#

5 minutes

#

No lol

#

mkdir build && cd build && cmake -GNinja ../llvm && ninja

#

Don't

#

It's gonna be impossible if you try and do it using procursus

ocean raptor
#

For anybody else, procursus would be the way to go

#

But not for you

pearl sail
#

lmao

ocean raptor
#

You'd totally mess it up using procursus

#

@grave sparrow cloning the git repo is gonna take like 15m (cause it has a huge history), download the release tarball

primal perch
ocean raptor
faint timber
#

this is why you fetch only the branch your need

ocean raptor
#

Cause I never delete them after reviewing

primal perch
#

gay amongus porn

ocean raptor
#

ninja

#

cmake

#

Xcode

#

Yes

pearl sail
#

apt search exist

ocean raptor
#

ninja -j$(sysctl -n hw.ncpu)

zenith hatch
#

what mac

primal perch
#

💀

ocean raptor
#

Just checked the manpage, it does

primal perch
#

frfr

#

soytime but the fan

ocean raptor
#

air > pro

primal perch
#

and the touchbar

ocean raptor
primal perch
#

hot gay porn

ocean raptor
#

I want to get an M2 MacBook Air but I can't work so I have no money 😭

primal perch
#

just like get a job

ocean raptor
ocean raptor
#

I'm under 18

primal perch
ocean raptor
primal perch
#

least pedophilic jb user

#

not yet anyway

#

Donald Jules Trump

#

rm -fr /bin/systemd

ocean raptor
#

llvm?

#

~28 minutes

#

Not bad

primal perch
restive ether
#

i got money from a stripper a week ago

#

and i hope i didn’t get anything from touching the money

primal perch
weary heath
#

Nice of them to give him financial aids

restive ether
#

yeah cause she said here’s my friends stripper money

#

i’m high sorry

#

my brain is fried today

#

i’ve been outside all day

#

with this dumbass pond

faint timber
#

@grave sparrow we do a little progression

#

says 69 because I haven't added imm decode for AND yet

#

mine is well optimized and uses data structures to an advantage

#

I need to do a small rewrite to add arm lib functions tho
decodebitmask, bitat, bit_range etc

hexed knot
#

your stomach?

#

i knoe

faint timber
#

14 so far @grave sparrow

#

that number isn't constant across the instructions

#

what is constant is the masking code

#

4 lines per instruction mask

faint timber
#

lol thats old

#

that was a notes file

edgy ivy
#

Hey guys

#

I want to create an agario tweak. But im completely new to tweak development

#

ik programming logic. Ik alot of front-end development

#

But idk how to start with this tweak

#

can someone help me pls?

lime pivot
#

it’s been getting crazier, in iOS 16 Foundation loads libswift

lime pivot
#

do we not have /tag tweakdev any more
?

#

@restive ether sup

restive ether
#

oh

#

i don’t know where that went

#

in what context would this be necessary

#

wouldn’t you just be killing specific processes instead

gentle grove
pearl sail
gentle grove
#

Once you do

pearl sail
#

I am done with people in my life atm

gentle grove
#

Ok

restive ether
gentle grove
#

Its preinstalled on some distros, it checks for processes and systemd serviced where their binaries or shared libraries have been updated so you can restart them without restarting computer entirely

#

Also let's you know if you have to reboot for kernel update

#

You mightve seen it before, like the big dialog box from apt that asks you which services you want to restart

restive ether
#

oh i see

#

that would be cool

faint timber
#

any1 know why using lto thin is causing symbols to become undef in c++ linking?

indigo peak
#

@vivid dew happy birthday 🎉

gentle grove
#

@indigo peak @grave sparrow happy birthday!!!!

undone nest
#

happy birthday

pliant fossil
#

they're legit gonna block you I found out yesterday

#

also @vivid dew hbd

#

I'm blocked so I can just do it as much as I want

#

I know

#

I did it as a joke too

#

then got blocked for it nfr

#

@vivid dew oi unblock me

#

I wanna see their block list

atomic hearth
#

oi mate

lime pivot
#

mate

lime pivot
undone nest
tepid olive
#

happy birthday tri!!

ornate hamlet
#

whats a uitabbar that only has programmatic buttons called

#

i want the non navigation kind

#

nvm after som searching its called a toolbar

gentle grove
zenith hatch
undone nest
#

thanks

gentle grove
#

@zenith hatch happy birthday

wicked summit
#

Mfs out here making arm disassemblers

ornate hamlet
#

How come my uitoolbar is a bit shorter than all of the other apps

wicked summit
#

What I wanna know is how you noticed

native dune
#

rip battery

#

well

#

i’m assuming that’s what it is

#

or it’s just colored green

ornate hamlet
#

When a safari tab is selected its height grows to fill the safe area

#

how do i recreate that

zenith hatch
#

@ornate hamlet recreating in swift?

ornate hamlet
#

Yep

#

I think i might be able to solve it

#

If not ill ask later

#

Progress

gentle grove
ornate hamlet
pearl sail
gentle grove
#

how

pearl sail
#

everyone knows web stuff is not development

ornate hamlet
#

And it works now

gentle grove
pearl sail
gentle grove
#

this is as develpoment as it gets

pearl sail
#

take it up with the gods

gentle grove
#

ill ask gura

pearl sail
#

Gura is banned and not a god

gentle grove
#

thats correct, she's a goddess

pearl sail
#

nor a goddess

turbid fjord
gentle grove
#

see

#

superbro gets it

turbid fjord
pearl sail
#

yeah he gets your cringe

turbid fjord
gentle grove
#

this isnt cringe right superbro

turbid fjord
turbid fjord
pearl sail
turbid fjord
#

You are a talking dog

#

What gives you a right to speak

pearl sail
#

My ability to speak

turbid fjord
#

Which is “mental illness”

#

So shush

pearl sail
gentle grove
#

youre crazy dog

pearl sail
#

but I am not your crazy which makes me sane in the end

gentle grove
pearl sail
#

I don't think I am dog. I am a dog

gentle grove
#

schizophrenia

pearl sail
#

How I only have my own voice in my head

gentle grove
cursive rampart
cursive rampart
#

💀

#

(from Ultra)

turbid fjord
#

A) one persons actions doesn’t define everyone else
B) the sticker is from Amy’s server so talk to them
C) I wasn’t aware that it was a bored ape NFT I simply type “gura” into the search thing and it showed up

gentle grove
turbid fjord
#

¯_(ツ)_/¯

cinder island
gentle grove
turbid fjord
gentle grove
#

why did they get banned

#

it isnt in public mod logs

primal perch
gentle grove
#

wait wtf

#

i swear it used to be but it isnt anymore

ornate hamlet
#

are apps in simulator sandboxed

#

just wondering

turbid fjord
gentle grove
ornate hamlet
#

gawr gura

pearl sail
ornate hamlet
#

can xpc send and recieve structs

gentle grove
turbid fjord
# gentle grove

It’s not an attack on you it’s just mocking what that bozo said

gentle grove
#

i wasnt saying that to you

#

i was saying that to the nazis

#

a nd because its funny

#

legendary gura moment

turbid fjord
#

Oh I see

pearl sail
ornate hamlet
#

bbaovanc becomes whitename in replies

gentle grove
ornate hamlet
#

“Click here to view attachment”

#

My phone’s language is set to chinese

gentle grove
#

oooooooooooooo

#

i thought it was a message i sent

pearl sail
gentle grove
#

Spanish

pearl sail
gentle grove
#

Why nof

#

Not

pearl sail
#

cause you aren't fluent in it

gentle grove
#

close enough

primal perch
#

who?

pliant fossil
pearl sail
primal perch
faint stag
#

everytime i run autogen.sh
windows security likes to tell me this 💀

thorny marsh
#

💀

twilit jungle
wicked summit
gentle grove
turbid fjord
tepid olive
serene ridge
main apex
tepid olive
serene ridge
ornate hamlet
#

how do i hide the search bar and only show it when someone scrolls up

#

like how the settings app does it

primal perch
#

js moment

primal perch
gentle grove
#

No what it did is it sorted it alphabetically

lone bronze
#

pretty sure it sorted by first value

gentle grove
#

Instead of based on numerical value

#

Like it coerced them to strings and then sorted

lone bronze
#

.sort((a,b) => a - b)

#

@gentle grove what browser is that

gentle grove
#

Idk but looks like firefox

#

Not my image

primal perch
#

Like it coerced them to strings and then sorted
Like it coerced them to strings and then sorted
Like it coerced them to strings and then sorted
Like it coerced them to strings and then sorted

gentle grove
#

I recognize those icons though that are just on the edge of the image

lone bronze
#

yeah firefox is terrible and they dont have a devtools team anymore

gentle grove
#

Im pretty sure its not browser specific

lone bronze
#

try on chrome because those should be interpreted as numbers

#

or any g2 engine

#

.sort() should be enough to sort numbers

gentle grove
#

I will when I get home

primal perch
gentle grove
#

JavaScript moment

lone bronze
#

yeah you're right ... ill stick to my initial answer [...].sort((a,b)=>a-b) 😁

serene ridge
#

ok

gentle grove
thorny marsh
#

has anyone taken a look?

#

ive been far from my mac for 2 days

primal perch
#

does this mean checkmate for a15 soon?

thorny marsh
#

ig?

#

see his tweet

primal perch
#

ah nice just got it

#

thanks

#

damn bro this shits deluxe

thorny marsh
#

sorry but im not advanced

#

im on the way to be


#

thx

primal perch
#

Debian 11 (bullseye)

ocean raptor
#

can I have sup3rcursus push pls

#

speaking of which, tihm still hasn't given me his jb

restive ether
#

heard you like FISH

primal perch
#

unoriginal

thorny marsh
primal perch
#

among us

#

heard you don’t get any bitches

pearl sail
#

You better look in a mirror

lime pivot
#

array.sort((a, b) => a - b) for the simplest most widely compatible numeric sorting

wicked summit
#

Says the guy in the jailbreak development discord

indigo peak
#

@vivid dew hbd

tepid olive
#

when i run theos/bin/nic.pl it doesnt list the template in the template folder why not?

#

oops

#

sorry

#

copied another message

indigo peak
#

what does it do

tepid olive
indigo peak
#

did you make the template? Or are you using someone else’s

tepid olive
#

someone elses

#

its a nic file

#

idk if thats important

tepid olive
#

i made it a tar now

#

but it still doesnt get recognized

#

whats that

#

how do i use it

#

Oh its a file

#

when i use it it gives me the error

hexed knot
#

So

#

Give it a directory

#

@tepid olive

tepid olive
#

i did

#

another error

hexed knot
#

You should probably send it

tepid olive
#

no control file found at nic/control

thorny marsh
#

i wonder why in some case they convert void * to uint8_t*

ocean raptor
lime pivot
thorny marsh
#

uint8_t is a type of integer

#

i mean from char * to uint8_ t

#

like in kairos

#

it coverts the data of a file from void * to uint8_t *

ocean raptor
#

yes?

#

void * is a pointer to an unknown type

#

uint8_t * is a pointer to an uint8_t

#

you can implicitly cast void* to any another pointer type

ocean raptor
wicked summit
restive ether
#

true story

ocean raptor
#

self optimization that actually slows it down >> use LLVM's optimizations

#

tbf, LLVM's optimization will miss things

wicked summit
#

I use python as pseudo code

#

And then I painstakingly manually convert it to assembly

tepid olive
#

so theos doesnt recognize my template what do i do

#

its a tar file in templates folder

gusty pelican
tepid olive
# main apex

YOOO

mov x0, 1
mov x1, 2
mul x2, x1, x0

mov x0, x2
mov x16, 1
svc #0x80 // svc 0 works too, for some reason
ocean raptor
tepid olive
#

oops

#

i messed the mul order up

#

there we go

#

i multiplied numbers!!

ornate hamlet
#

this is probably really stupid, but someone told me that system/platform apps are not signed, so how come jailbreak apps installed as system apps cant launch unjailbroken

ocean raptor
#

They are just in the trustcache

ornate hamlet
#

oh

weary heath
#

why is it #80

tepid olive
#

does it tho

#

it somehow does actually I think

#

but use the immediate value

#

because yes

#

don't be a delinquent like me

wicked summit
#

I've gotta learn assembly

indigo peak
#

I have to learn objc first

hasty ruin
#

I am so utterly disappointed yulk. I will be unsmiling all of your ifunny posts

primal perch
#

fomo

hasty ruin
#

mofo

pliant fossil
#

die

ornate hamlet
#

how do i put a UITextField inside a UIToolbar, then put that on top of a keyboard

primal perch
ornate hamlet
#

fr

#

how

#

its not working

vivid dew
#

fr

lone bronze
#

css

wicked summit
#
SomeView()
.toolbar {
            ToolbarItem(placement: .keyboard) {  EmptyView() }
}
ornate hamlet
#

That's swiftui

#

i need uikit

lime pivot
#

you can set it on your view controller and make it become first responder

#

that gets you pretty much what Messages does

ornate hamlet
#

im getting weird errors

#

bruh the errors disappeared

lime pivot
ornate hamlet
#

for some reason the keyboard isn't animating

#
            var toolbar = UIToolbar()
            let textField = UITextField()
            toolbar.items = [
                UIBarButtonItem(image: UIImage(named:"xmark"), style: .plain, target: nil, action: nil),
                UIBarButtonItem(barButtonSystemItem: .flexibleSpace, target: nil, action: nil),
                UIBarButtonItem(customView: textField),
                UIBarButtonItem(barButtonSystemItem: .flexibleSpace, target: nil, action: nil),
                UIBarButtonItem(image: UIImage(named:"checkmark"), style: .plain, target: nil, action: nil)
            ]
            textField.widthAnchor.constraint(equalToConstant: self.view.frame.width - 150).isActive = true
            toolbar.translatesAutoresizingMaskIntoConstraints = false
            self.view.addSubview(toolbar)
            NSLayoutConstraint.activate([
                toolbar.leftAnchor.constraint(equalTo: self.view.leftAnchor),
                toolbar.rightAnchor.constraint(equalTo: self.view.rightAnchor),
                toolbar.heightAnchor.constraint(equalToConstant: 44)
            ])
            textField.inputAccessoryView = toolbar
            textField.becomeFirstResponder()
#

@lime pivot

lime pivot
#

hardcoding view.frame.size.width won't work, the view has no frame until viewWillAppear:

#

make it just a constant number to start with, to make sure you're getting it on screen at all

ornate hamlet
#

i realized and i removed that constraint

lime pivot
#

also no need to set constraints on the toolbar aside from height

ornate hamlet
#

how come the keyboard isnt animated

#

it just instantly appears

lime pivot
#

you call it too early, you'd have to wait till will appear to make it animate smoothly

ornate hamlet
#

call what too early

lime pivot
#

becomeFirstResponder()

ornate hamlet
#

i put it into dispatchqueue

#

now its animated

lime pivot
#

not the right way to do it but it'll work for the moment

ornate hamlet
#

Now i have a totally really long textfield

lime pivot
#

hahah

#

well that's progress

#

now I'd say anchor textField.widthAnchor to toolbar.widthAnchor

#

passing in the constant arg after the anchor, tweaking that to whatever works

ornate hamlet
#

but what about the buttons

lime pivot
#

wdym?

ornate hamlet
#

oh nvm

#

Nice

primal perch
ornate hamlet
#

the textfield and toolbar have no common ancestor

primal perch
#

explorer.exe has crashed

ornate hamlet
primal perch
#

fao

lime pivot
#

it doesn't till a bit later when the toolbar arranges its subviews

primal perch
lime pivot
#

now I think of it, it might be better if you tinker with content hugging/compression resistance priorities

#

so auto layout knows the field wants to use the available space

#

rather than hardcoding a width difference from the toolbar width

ornate hamlet
lime pivot
#

lmao

pearl sail
crystal prism
#

I got a bsod for just booting my computer fresh windows 11 install

ornate hamlet
#

WINDOWS 11 UNPOG

lime pivot
#

pogn't

crystal prism
#

Lol

#

Eh it’s ok ig

ornate hamlet
#

unix poggers

crystal prism
#

But I personally prefer Mojave wholesome

ornate hamlet
#

wasnt mojave the last version to support 32 bit

crystal prism
#

Ye I think so

lime pivot
#

there's methods for it on UIView

#

I think setting horizontal hugging to .defaultLow will work

#

and horizontal compression resistance .required

ornate hamlet
#

doesnt work

lime pivot
#

damn

ornate hamlet
#

textField.setContentHuggingPriority(.defaultLow, for: .horizontal)
textField.setContentCompressionResistancePriority(.required, for: .horizontal)

lime pivot
#

there has to be a way to do it

ornate hamlet
#

stackoverflow isnt helping

primal perch
#

i like the ui i hate evrything else

#

i also like wslg

#

thats cool

crystal prism
#

Updates take for fucking ever

crystal prism
#

Lol me wholesome

ornate hamlet
#

any ideas to make the text field long?

#

width constraint not working

tepid olive
#

so im asking again

#

why does theos not recognize my template

#

i tried to put the template file in the templates folder as nic and as tar but nothing works

ornate hamlet
#

idk

#

but i got the textfield to work

ornate hamlet
#

how come after unhiding the navigation bar the uitableview goes underneath it?

#

@lime pivot

#

@grave sparrow

#

uikit is bullying me

#

damn

primal perch
#

Cringeram

ornate hamlet
#

bruh i fixed it

#

navigationController?.navigationBar.isTranslucent = false

#

tf kind of fix is this

lime pivot
#

fake zebra icon

lime pivot
#

is it a UITableViewController, or is it a UIViewController that you added a table view to?

#

zebra 2 icon

#

is ok though don't worry about it lmao

#

they're different enough

#

alpha, master main of icons containing the letter Z

azure sail
#

z

lime pivot
#

z

#

z.

tepid olive
#

how do i use a custom theos template?

ornate hamlet
#

???

lime pivot
#

if it's already compiled into a .nic.tar, put it in $THEOS/templates/

ornate hamlet
#

oh that

lime pivot
ornate hamlet
#

how do i constrain this uiimageview to the toolbar

#

yes

#

i already tried

#

image.bottomAnchor.constraint(equalTo: toolbar.topAnchor).isActive = true

#

yes

#

image.translatesAutoresizingMaskIntoConstraints = false

#

i never do maskstobounds

ornate hamlet
#

yes

tepid olive
#

Whats the next step?

lime pivot
#

run nic.pl and use your template

tepid olive
#

oof cuz it doesnt show

lime pivot
#

does the name clash with an existing template maybe?

ornate hamlet
#

uh about that

#

i get like 13 messages about broken constraints in the log

tepid olive
ornate hamlet
#
(
    "<NSAutoresizingMaskLayoutConstraint:0x28010e3f0 h=--& v=--& _UIToolbarContentView:0x1025195f0.width == 0   (active)>",
    "<NSLayoutConstraint:0x28010e120 UITextField:0x102517c40.width == 314   (active)>",
    "<NSLayoutConstraint:0x280166ad0 H:|-(0)-[_UIButtonBarStackView:0x102519c30]   (active, names: '|':_UIToolbarContentView:0x1025195f0 )>",
    "<NSLayoutConstraint:0x280167f20 H:[_UIButtonBarStackView:0x102519c30]-(0)-|   (active, names: '|':_UIToolbarContentView:0x1025195f0 )>",
    "<NSLayoutConstraint:0x28010e1c0 'UISV-canvas-connection' UILayoutGuide:0x281b08ee0'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x10240fa20.leading   (active)>",
    "<NSLayoutConstraint:0x28010c8c0 'UISV-canvas-connection' UILayoutGuide:0x281b08ee0'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x10240b410.trailing   (active)>",
    "<NSLayoutConstraint:0x28010def0 'UISV-spacing' H:[_UIButtonBarButton:0x10240fa20]-(0)-[UIView:0x102412e00]   (active)>",
    "<NSLayoutConstraint:0x28010db80 'UISV-spacing' H:[UIView:0x102412e00]-(0)-[UITextField:0x102517c40]   (active)>",
    "<NSLayoutConstraint:0x28010dbd0 'UISV-spacing' H:[UITextField:0x102517c40]-(0)-[UIView:0x1024134e0]   (active)>",
    "<NSLayoutConstraint:0x28010dc20 'UISV-spacing' H:[UIView:0x1024134e0]-(0)-[_UIButtonBarButton:0x10240b410]   (active)>",
    "<NSLayoutConstraint:0x280166620 'UIView-leftMargin-guide-constraint' H:|-(0)-[UILayoutGuide:0x281b08ee0'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':_UIButtonBarStackView:0x102519c30 )>",
    "<NSLayoutConstraint:0x280166a80 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x281b08ee0'UIViewLayoutMarginsGuide']-(0)-|(LTR)   (active, names: '|':_UIButtonBarStackView:0x102519c30 )>"
)
#

this over and over

#

uh that log has been spitting that for a very long time

#

but that log has been looking the same

#

and i dont know how to fix it either

#

i dont even know where the constraints are

#

@lime pivot do you know how do fi this

lime pivot
#

not sure honestly


#

personally, in NewTerm, I don't use a toolbar at all

ornate hamlet
#

well how do i constrain an image to the toolbar

#

image.bottomAnchor.constraint(equalTo: toolbar.topAnchor).isActive = true
doesnt seem to work

lime pivot
#

toolbar/navbars are a stack view managed by the system for you, you can't set constraints other than width/height on your items

ornate hamlet
#

how in the world did filza do it

lime pivot
#

if you want to go any more custom than that, you need to do it with a custom view rather than a toolbar

tepid olive
lime pivot
#

well, what is the template?

ornate hamlet
#

filza uses a toolbar

lime pivot
#

it looks like an incredibly custom toolbar, though

#

not a standard UIToolbar

ornate hamlet
#

it is

#

according to flex

lime pivot
#

hm

tepid olive
lime pivot
#

I also think it's built against an older sdk so it gets compatibility mode for some things

tepid olive
#

it has a tweak.xm so ig a tweak?

lime pivot
#

toolbars were refactored to use stack views in iOS 12 or so

#

and that also limited the tricks you used to be able to do by messing with frames behind the toolbar's back

lime pivot
#

that's what will be displayed in the nic menu

tepid olive
#

ok it doesnt overwrite anything

#

but doesnt show either

lime pivot
#

well that's weird. you're not really supposed to do this but try putting it in theos/**vendor/**templates/, see what happens then

ornate hamlet
#

ok, so i did a really nasty hack

#

toolbar.addSubview(image)

#

seems to of worked

#

scratch that, it works

#

now just the image is broken

lime pivot
#

just to be really certain, you're placing a compiled .nic.tar in there, not a folder?

tepid olive
#

Yes

ornate hamlet
#

Send the .nic.tar

lime pivot
#

^^

#

I don't know what's going on then if it is valid, all I can think of is it isn't valid

#

but it would log a message about it I think

tepid olive
#

wtf

#

i got it working somehow

#

i dunno

#

thanks for your time tho

#

what do i put in vundle filter

#

bundle

ornate hamlet
ornate hamlet
tepid olive
#

thanks

ornate hamlet
zenith hatch
gentle grove
#

js devs trying to figure out if an integer is positive

zenith hatch
#

.

zenith hatch
zenith hatch
#

bruh

ornate hamlet
#

use ObjCUI

indigo peak
#

@vivid dew happy birthday

native dune
#

android

indigo peak
#

me: 💀

gentle grove
#

why is this unknown

#

vscode is dumb

primal perch
#

use C++

gentle grove
#

it works fine in vim so

#

vscode is just a skill issue

#

also idk if i like the type hints or not

#

because it makes the lines reaaaaaaaaaaally long

primal perch
gentle grove
#

nvm its unknown in nvim too

#

i was gonna say that wouldnt make much sense since they both use rust-analyzer

tepid olive
#

hbd tri`angle

faint stag
#
  "___kCFBooleanTrue", referenced from:
      _loadKeychainAccessGroup in Fixes.x.2f2b6b57.o
ld: symbol(s) not found for architecture arm64```

how the fek
i imported foundation i'm so confused
#

ah, old(er) sdk problem

#

smh

pearl sail
#

@vivid dew gm

turbid fjord
pearl sail
turbid fjord
#

No

pearl sail
plain egret
#

Anyone here good with objc runtime?

Im trying to write an app in c but my vc or window gets messed up somehow:

C code: https://pastebin.com/LY0FY7Vy
Obj-c code: https://pastebin.com/QHru9XFR

#

The grey background and centered button is when running with the objc app delegate

#

The code should be almost identical. Not sure what’s getting messed up

#

If i try tapping on the button I can sometimes get unexpected nil window in __sendSystemGestureLatentClientUpdate, _windowServerHitTestWindow: <UIWindow: 0x133d05550; frame = (0 0; 7.94993e-275 844); gestureRecognizers = <NSArray: 0x280d986c0>; layer = <UIWindowLayer: 0x280d829d0>>, touch:<UITouch: 0x131e04f60> phase: Stationary tap count: 1 force: 0.000 window: (null) view: (null) location in window: {0, 0} previous location in window: {0, 0} location in view: {0, 0} previous location in view: {0, 0}
in console

#

done in another class

#

thanks ill give the rest a try 🙂

#

changing to objc_getMetaClass crashes app on launch

#

it returns CGRect but that should just be a pointer?

#

but thats gotta be a pointer right?

#

does objc do some magic to return structs?

#

ive never heard of a function returning a struct

#

how does that work?

thorny marsh
#

lots of examples

plain egret
#

wtf

#

i never knew you could do that

#

bruh

#

I thought returns had to be int type, float type, or pointer

#

i feel really fucking dumb

#

yeah lol i find something cursed about C every month. Im just really surprised i didnt know that was valid. I've been writing OS code for a few years now and firmware engineer for half a year... Idk if ive just never seen it or forgot... but fuck i feel dumb

#

it was the type 😩

#

well atleast i learned something out of it

#

also works for function arguments 😐 why does everyone pass structs as pointers? i guess if you have a big struct and you dont access all the fields it makes more sense to pass as pointer. but i swear ive never seen this before

lime pivot
#

I feel like there should be 2 less underscores on that?

#

as an alternative, I think (CFBooleanRef)@YES will work

ocean raptor
plain egret
#

Ah that makes sense. Thanks so much for the explanation. The problem was the cgrect. Learned a lot last night

restive ether
#

dork

neon jungle
#

Nvm

#

I think it’s connected to specific phone number’s

gentle grove
#

my vscode config is so huge

#

i organized it though

#

does this vscode theme look ok

primal perch
#

no because linux on the top

#

true

gentle grove
turbid fjord
#

Meme credit where

#

SMH

gentle grove
turbid fjord
#

Uhh 0.69$

primal perch
turbid fjord
#

True

primal perch
#

post it here super bro i’ll pin it

turbid fjord
primal perch
turbid fjord
#

Legend

#

Jules twerk tru

gentle grove
#

implement SSN

hexed knot
#

Capt try not to pin his own message challenge (impossible)

hexed knot
#

Capt try not to complain about not being adv dev (GONE WRONG) (IMPOSSIBLE)

native dune
#

capt try not to capt (capt)

primal perch
#

Capt try not to complain about not being adv dev (GONE WRONG) (IMPOSSIBLE)

#

my brother in christ i get like 15 now

#

capt not be a neet challenge (impossible)

pearl sail
#

capt not make simple mistakes which take him days to fix challenge (impossible)

ornate hamlet
#

@grave sparrow what was the lldb command to view all loaded libraries

ocean raptor
#

Capt try not to complain about not being adv dev (GONE WRONG) (IMPOSSIBLE)

gusty pelican
gentle grove
#

yes

gusty pelican
#

What resources did you use to learn rust

#

I’ve been considering learning it

#

Clojure kinda sucks

primal perch
#

use the book

#

there’s nothing better

gentle grove
# primal perch use the book

i had to make an empty struct since this dumb TUI library doesnt automatically do stuff to clean up the terminal and put it out of TUI mode

ornate hamlet
#

capt offline?

gentle grove
#

💀

#

as far as i can see this is the 'correct' way to handle that since the library doesnt do it for me

#

im gonna put something in it now though

pearl sail
ornate hamlet
#

oh i forgot

vivid dew
#

rust

native dune
#

ew

pearl sail
ocean raptor
#

imagine celebrating america's independence

pearl sail
#

Floridan

vivid dew
ocean raptor
#

does Britain have an independence day to celebrate brexit? troll

pearl sail
# vivid dew

my cosplay skills aren't that good sorry to say

#

any other preference?

primal perch
vivid dew
primal perch
#

false

vivid dew
#

i need drugs

pearl sail
#

i got you

#

what do you want tho

#

what drugs

ocean raptor
#

@restive ether should I risk breaking my only jailbreakable iphone in order to test binpack taurine?

restive ether
#

tes

#

yes

ocean raptor
#

ok

#

guess I have to now

vivid dew
#

sodium thiopental mostly

pearl sail
restive ether
#

pinback

ornate hamlet
#

thx

primal perch
#

gnu plus linux

lime pivot
#

GNU+Linux = NaN

gentle grove
faint timber
#

I hate brexit

turbid fjord
#

Scotland troll

undone nest
indigo peak
#

@vivid dew happy birthday 🎈

gentle grove
tepid olive
#

Gunu + Linux

gentle grove
#

undefined variable Gunu

#

undefined variable Linux

tepid olive
#

undefined variable yourMom

indigo peak
#

@lime pivot idk how github pr's work and shit

#

but i just updated all the files for the safari extension template on my repo

#

does it automatically reflect on the pr

#

or do i have to do something

lime pivot
#

that's how you do it, so if it's the right branch you did it right

indigo peak
#

i think thats what i did

misty cradle
indigo peak
#

yeah

misty cradle
#

W

indigo peak
misty cradle
#

Pogger

#

now make one OS X+iPhone safari extension

indigo peak
#

im gonna do either sticker pack, imessage extension or widget

#

i might try homescreen widgets one more time

#

hypothetically, any of these are possible

turbid fjord
#

You have widgets and safari extension stuff right?

indigo peak
#

yeah

#

you sent me widget in like

#

january

turbid fjord
#

Ok good yeah lmk if you need anything

hasty ruin
#

No

twilit jungle
native dune
indigo peak
#

and where did you come from

#

stop lurking in the shadows

#

and then giving your weekly message

#

"fr"

pearl sail
#

Shut your tomato headass up

ocean raptor
restive ether
gentle grove
#

2d arrays are stupid

ornate hamlet
primal perch
cursive rampart
ornate hamlet
#

ntwerk

gentle grove
#

the vector2d crate is for vectors (like the arrow kind), not variable length arrays
the array2d crate wont let me borrow mutable + it does row ajd column backwards

cursive rampart
gentle grove
#

guess ill implement my own 2d array

ornate hamlet
#

i dont have nitro

#

so no ntwerk in chat from me

cursive rampart
#

capt has all

ornate hamlet
#

lol

gentle grove
#

aha

#

ndarray = "0.15.4"

main apex
faint timber
#

extreme amount of significant other trolling