#development

1 messages Ā· Page 356 of 1

tardy narwhal
#

did you see the lotion discussion we had this morning

#

absolutely beautiful

misty cradle
#

yes KEKW

grim sparrow
#

lol

gloomy compass
#

I think Jellyfish Jerry is someone else 😜

tardy narwhal
#

i told him but he wouldn’t believe

grim sparrow
#

L

tepid olive
#

L

grim sparrow
#

Do you ever have an idea, but it’s pure pain?

tepid olive
#

yes

grim sparrow
#

Thing is, working on it is a good idea

#

but it’s gonna be pain

tepid olive
#

and then you do it but it sucks and you force revert commits

#

then you realize there was some good code and you deleted it

#

then you suffer

tardy narwhal
#

there’s no such thing as bad ideas, only unoptimized pathways

tepid olive
grim sparrow
#

See this would be beneficial for tweak developers all around, but it’s gonna be pain and may not even be possible shake

tepid olive
#

True

#

Do it tho

grim sparrow
#

I will try intjallah

tardy narwhal
#

well what’s your idea

grim sparrow
#

Currently my Mac has frozen

#

And the only open app is system information

tepid olive
#

True

#

Macbook Air < 2017 moment

grim sparrow
tepid olive
#

wait no

#

Macbook Air < M1 moment

#

almost got a macbook air

grim sparrow
#

Me using Orion like a big girl smug

tepid olive
#

true

tardy narwhal
#

lmao alright

tepid olive
#

why is the apple music app so inefficient

#

on mac

grim sparrow
#

It’s one of those ideas that would be great if it worked, and if it doesn’t is a terrible idea

tepid olive
#

literally lags scrolling through albums

grim sparrow
#

It doesn’t on my 7

tepid olive
#

on mac

grim sparrow
#

Oh right

#

lol

tepid olive
#

lol

grim sparrow
#

Imma blame Catalyst for that

tardy narwhal
#

one of those ideas would be to have a common-sense test before you can invoke nic.pl but that’s not gonna happen

tepid olive
#

pain

#

slight stutters

#

kills me

grim sparrow
misty cradle
#

taylor swift

#

vibeok

grim sparrow
gloomy knoll
#

Is this how I would compare two strings in objective c?

    if ([deviceType isEqualToString: @"iPhone8,1"]) || ([deviceType isEqualToString: @"iPhone8,2"])
{
} 
#

But I am told I have a missing expression

tardy narwhal
#

your error is a bit more apparent though

lime pivot
tardy narwhal
#

@gloomy knoll make sure your if is valid

grim sparrow
#

what the fuck

tepid olive
misty cradle
#

no

tepid olive
#

ok

grim sparrow
#

I am very confused

lime pivot
#

so now when I curse make for being so unsuitable to Theos's growing featureset, I just have to remind myself: someone wrote a raytracer in cmake

grim sparrow
#

lmao

tepid olive
#

cmake raytracing

#

ultimate lighting while compiling

#

i think i've gone through iOS setup 20 times in the last 10 days

grim sparrow
tepid olive
#

vibeok

gloomy knoll
tepid olive
#

@gloomy knoll i love your username

#

You made a typo

tardy narwhal
grim sparrow
#

lol

tardy narwhal
#

idk if you’re an alt of someone to ask these questions

tepid olive
#

true

tepid olive
tardy narwhal
#

if this is you AlexT fuck off

tepid olive
#

No I don't think that's alex

grim sparrow
#

lol

gloomy knoll
#

Who's Alex??

tepid olive
#

if it were that code would be ridiculous. That man just made a typo lol

tardy narwhal
#

Oh true

tepid olive
#

this guy would spam this channel with google questions

tardy narwhal
#

AlexT is a legend unable to google

#

and unable to stackoverflow

tepid olive
#

alexT is the one true god

tardy narwhal
#

i hope one day i can be a hacker like him and his website

#

which is a slideshow of shit

tepid olive
tardy narwhal
#

@tepid olive can you rate a website

tepid olive
#

fuckin iPad 2 is stuck on the progress bar and nothing happens

#

how do i get this mf working

grim sparrow
#

Give it a kiss

tardy narwhal
tepid olive
tardy narwhal
#

I’m still not sure if it’s irony or not

tepid olive
#

I didn't think he'd be able to make a functioning website

tepid olive
#

The T in AlexT is for Torvalds

tepid olive
grim sparrow
#

Progress

tepid olive
#

the kiss must be wet

tardy narwhal
#

it’s for Tor bro, remember, hacker vibes

tepid olive
#

very very wet

#

give it a very wet kiss

tepid olive
#

not wet enough

#

i'll do a dfu ig

tepid olive
#

google

#

google

#

TRUE

#

love how old iOS has a fade out recovery mode

#

probably due to bootrom being iOS 6 era

#

mf is still hanging

#

@grim sparrow kiss is done, what next

#

uhh maybe it's bricked? dfu is broken apparently

#

nvm

grim sparrow
#

sorry my macbook froze again

#

accidentally tried to throw the whole shared cache into Hopper shake

grim sparrow
tepid olive
#

ok

#

working on it

#

jfc

gaunt mesa
tepid olive
#

I was a whitename for two messages unacceptable

#

True

#

don't get why idevicerestore bins don't run if the cert expired but ok

#

too bad i'll give it up, it's ded

tepid olive
tepid olive
#

nah, other bins run

#

i codesigned it with xattr and chmod +x too

#

doesn't work

tardy narwhal
#

cc/ @tepid olive I just realized i have headers mapped out, just forget i ever had a repository lmao

tepid olive
gloomy knoll
#

On iOS 13, I could use a tweak called oslog from bigbos to get the os log,
Is there any alternatives for iOS 14?

#

Thanks

peak quartz
tardy narwhal
#

np

lethal ice
#

@narrow mason DID THE STRINGS COME HOE

restive ether
#

@lethal ice hello i would like to purchase one sex for a giveaway

lethal ice
#

i dont think chariz can generate codes

restive ether
#

loss

lethal ice
#

maybe i'm wrong

restive ether
#

i don’t wanna do dynastic again woeis

lethal ice
#

if you give me their username i'll gift it

restive ether
#

oh can you do that

#

that works

lethal ice
#

yea

restive ether
#

how much is a sex

lethal ice
#

$0

restive ether
#

is it 2.50

#

or what

lethal ice
#

if it's a giveaway i'd hate to see it paid for

restive ether
#

it’s for boosters not general server so

lethal ice
#

oh ok then

#

2.49

#

šŸ˜Ž

#

nah jk

restive ether
#

what’s is your pisspal

lethal ice
#

fr it's fine just give me their username

restive ether
#

nfr

#

ty

lethal ice
restive ether
grim sparrow
restive ether
#

literally me

lethal ice
#

yea true

restive ether
#

not false tbh

peak quartz
#

guys - any suggestions for real blur effect?

lethal ice
#

mtmaterialview

#

private framework

peak quartz
#

any examples?

lethal ice
#

not off the top of my head but there are some on various githubs

#

from what i remember it's pretty straight forward

peak quartz
#

nice

#

thanks ill look it up

burnt niche
#

fridatools is dope asf

#

someone should make a fridatools gui. that would be nice asf

marble tiger
lethal ice
#

someone should finish fermiUI. that would be nice asf

#

cc @twilit jungle

twilit jungle
burnt niche
#

frida-tools gui would be nice no cap

#

that would be really useful

lethal ice
peak quartz
marble tiger
peak quartz
#

looks ugly as hell

marble tiger
#

Hm

peak quartz
#

the nicer views blur i saw was involved with customintesityvisualleffectview

robust radish
#

Maybe uivisualeffectsview

peak quartz
#

could not translate that into objective c... very weak at swift

robust radish
#

oh yeah that

peak quartz
#

lemme try that

peak quartz
#

no need ill remove that

robust radish
#

a macro to objc_msgSend - you can rewrite the innovations in objc-syntax

#

ie objcInvoke_3(objc_getClass("UIVisualEffect"), @"effectCompositingColor:withMode:alpha:", [UIColor blackColor], 7, 0.6); is [UIVisualEffect effectCompositingColor:[UIColor blackColor] withMode:7 alpha:0.6];

glacial matrix
#

I’ve yet to comprehend your aversion to objc syntax peepoCoffee

robust radish
#

declaring interfaces for all the classes/methods is way time consuming

#

with the macros the method name is a string

#

so its faster to write

#

only for tweaks though

peak quartz
#

the blur effect im getting is identical to the one as if i did [UIBlurEffect effectWithStyle:UIBlurEffectStyleDark];

#

ill try to play it around maybe im not doing something right

twilit jungle
#

Its only faster if you make no spelling errors.

burnt niche
#

anyone use frida-trace here?

#

is there a way to trace all function calls in a certain class. or trace all function calls for the app

#

log

#

log when its called

#

in a certain class

lapis vessel
burnt niche
#

yea i already did that

#

frida seems a lot easier. i know it can be done

peak quartz
burnt niche
#

because i can log certain method calls in a certain class

lapis vessel
#

I would recommend trying to convert it into objc if you don't think you know how. That's much more of an objc challenge than a swift one

#

all it's doing is in drawRect it is animating the effect from nil to a UIBlurEffect object using a UIViewPropertyAnimator, but setting the fractionComplete of the animation to the blur level and then never starting the animation

#

although it might be a better idea to do this in didMoveToSuperview rather than drawRect, try it

burnt niche
#

@grave sparrow got it working, way better than nslogify. you can log/trace all functions in a class or you can log one specific method. if you trace all methods in class, you can even exclude certain methods that get called alot to clear up the log

#

this is going to save me a lot of time

#

yea i get it since it doesn't log values. it traces the address to them correct?

peak quartz
lapis vessel
#

do look at the code too, you don't need to know any swift to see what methods they are calling when

#

I've never written a line of swift code in my life

robust radish
#

pretty funny

#

frida-trace lets you use wildcards too: -m "[NSImage* initWith*]"

burnt niche
#

oh yea, that is really going to helpful in the future holy fuck. is there a way to log values with that as well instead of showing the address.

#

that would be gold

robust radish
#

you can open the handlers directory it creates in cwd and edit the js file for the particular method to log the retvalue

#

you can also tweak the python script that backs frida-trace so that it logs retvals automatically, but its kind of dangerous bc you dont know what type of arg could be passed in

#

itll likely cause crashes

burnt niche
#

i am not sure if it can

#

it shows who called

#

i dont know any js uhhsweat

#

you should write a script for that. it would be so helpful and way better than using nslogify

#

does it log the values of the parameters?

#

ill check it out

late ridge
#

I just read up on Modules in NodeJS and now I feel 100x more powerful

burnt niche
#

@grave sparrow i am pretty sure it does but i would have to do it in js which i have no idea about

#

its possible

burnt niche
#

nice i am going to post a issue in frida

#

to see if someone can help me

#

frida-trace -U -m ā€œ-[ClassName *]" AppName

-For example 

frida-trace -U -m ā€œ-[ServerHandler *]" Safari



CASE 1


-This is what the output looks like for a method that returns void but takes arguments

ā€œ-[ServerHandler setNumberOfRequestsRunning:0x0]ā€

-The Method is

ā€œ-(void)setNumberOfRequestsRunning:(int);ā€

—What I want
I want the output to be the value of the argument not the address

-something that looks like this

ā€œ-[ServerHandler setNumberOfRequestsRunning:58]ā€



CASE 2


-This is what the output looks like for a method that returns a value and takes arguments

ā€œ-[ServerHandler isShortTimeoutURLString:0x105285860]ā€

-The Method is
ā€œ-(BOOL)isShortTimeoutURLString:(id);ā€

-What I want
I want to print the return value for the method and also print the value of the argument not the address.

-Something that looks like this

ā€œ-[ServerHandler YES isShortTimeoutURLString:ā€Stringā€]ā€

Or 

ā€œ-[ServerHandler 1 isShortTimeoutURLString:ā€Stringā€]ā€

Or something that’s similar. 



-Summary
I want to print the return value of the method(if there is one) and I want to print the value of the argument(if there is one). Anything that can be converted a string and printed is what I want to print. For example, I want to print all primitive types and things like ā€œNSStrings,NSDictionary,NSInteger,NSArray,etcā€¦ā€ ```
#

this is what im going to post hopefully someone can help me

half walrus
#

know what i would kill for

#

is a browser extension to convert swift to objc

twilit jungle
primal perch
#

I’ll do it if you kill Jules

restive ether
#

@narrow mason you are fucking dead idiot

narrow mason
primal perch
#

No not really

twilit jungle
#

No not really ā„¢ļø

half walrus
#

nobody tell the weebs but you can set custom background images in intellij

burnt niche
#

Oh damn i am definitely switching to appcode @half walrus

burnt niche
#

And it has code completion? Im ditching vscode lmfao

lapis vessel
#

object_setClass?!

peak quartz
half walrus
lapis vessel
#

Well firstly, you're passing self as the second arg even though self is not a Class

half walrus
#

if anyone wants something incredibly boring to debate, what's a better name for this method

#

it processes placeholders in a string and returns a processed string

#

best practice is usually to not mention object type in method name

peak quartz
#

but comments says its broken as of ios 10

burnt niche
#

I wish vscode had better objective-c support

#

Like code completion

#

That would be nice

lapis vessel
#

The way you've tried is alright if you fix that thing I told you

#

But I don't understand why you didn't try converting the first thing you sent me from swift

surreal mountain
#

its xcodes autocomplete stuff

#

but in vscode

half walrus
#

^ that breaks for me

surreal mountain
half walrus
#

wdym how

#

it just didnt work

surreal mountain
#

like

#

nothing happens?

half walrus
#

wait this was for logos

surreal mountain
#

no objc(++)

half walrus
#

other shit works for non logos yeah

surreal mountain
#

but FILES= Tweak.xm

lapis vessel
#

@peak quartz I told you what it was doing, what part did you not follow?

half walrus
#

ccls' cache is destructive though

#

wouldn't reccomend

surreal mountain
#

no???

half walrus
#

creates tens of thousands of files

surreal mountain
#

bro

#

im the one that uses it

#

not you...

half walrus
#

i'm pretty sure what he's suggesting works

surreal mountain
#

what

half walrus
#

however it highlights logos syntax as a mistake

#

but it still works

burnt niche
#

I just installed it. And damn its bugging tf out

surreal mountain
#

it has some issues for sure

#

but

half walrus
#

its just all too gimmicky for me

surreal mountain
#

its far far better than nothing

half walrus
#

i use appcode if there's no logos or vscode with only the logos extension if there is

#

or appcode if the project is larger than 20 non logos files which is only like 2 projects

burnt niche
#

@surreal mountain do i just install it from vscode? Do i have to do anything else

tepid olive
#

Just dont use cringe editor xcode

half walrus
#

^

#

use appcode unless u need storyboards

#

if you write FOSS software they give you a free license for their entire suite of shit

tepid olive
#

Yall do some silly shit to make xcode stuff work and its like

#

Why lol

half walrus
surreal mountain
#

capt doesnt even do UI

half walrus
#

but none of that works in tweaks unless you recreate the build system in uh

#

whatever xcode's build shit is

surreal mountain
#

no

half walrus
#

i pay

#

but that's bc i'm dumb

#

i also get a free license for it

surreal mountain
half walrus
#

not supposed to use it on commercial so i pay but literally nobody really cares

#

intellij basically hands out their software

#

great company

surreal mountain
#

true

#

IntelliJ IDEA

#

good java ide

half walrus
#

so i forgive them for writing it all in java

surreal mountain
#

love idea

half walrus
#

lol

surreal mountain
#

lol

#

still like my vscode

#

i have xcode at my disposal but

half walrus
#

i still use vscode for most tweaks

surreal mountain
#

eh

half walrus
#

cuz most tweaks are pure logos

#

and whatever dumb objc plugin i have works

#

let me check

#

i use mitaki28.vscode-clang

surreal mountain
#

o

half walrus
#

which is part of llvm

#

so it works w/o any extra setup

burnt niche
#

Its confusing to setup sourcekit lsp lmfao

half walrus
surreal mountain
half walrus
#

no setup required

half walrus
surreal mountain
half walrus
#

i remember trying it and also thinking "this isn't worth it"

surreal mountain
#

this has it all done already

surreal mountain
half walrus
#

i dont wanna do that i wanna click button make code go

burnt niche
#

Same

half walrus
#

i write tweaks not ide plugin configs

surreal mountain
#

then dont specify anything

half walrus
surreal mountain
half walrus
#

lost my emojis

#

from the server i can't say that i left

burnt niche
half walrus
surreal mountain
#

search up clangd

#

i think its an official build

primal perch
burnt niche
#

Is this objc code completion?

half walrus
#

the one i pasted is

#

it doesn't work on .xm files

#

don't expect it to and you'll lose your mind trying to get it working

surreal mountain
#

question: why isnt cc a symlink

burnt niche
#

šŸ˜‚šŸ˜‚ alright. Ill just change the extension everytime

surreal mountain
#

instead its just another bin

half walrus
#

no it wont process on .xm

half walrus
#

on .xm files the logos extension will kick in

#

and you'll just have regular features w/o the red underlines

burnt niche
#

so just keep ignoring the log/errors?

half walrus
#

that’s a logos file so

burnt niche
#

yup

half walrus
#

and don’t open the log view

#

we ignore errors here

burnt niche
#

it ll work on .x/.h files but not on .xm

#

?

half walrus
#

it shouldn’t and it doesn’t look like it is?

burnt niche
#

does it only work on .m files?

#

damn

half walrus
#

and .mm

surreal mountain
#

you have them opened as Objective-C++ files

#

so

half walrus
#

.x is logos

#

lol

surreal mountain
#

we know.....

#

look at the bottom right

#

Objective-C++

half walrus
#

oh that’s weird

surreal mountain
#

no

#

thats just manually set

#

likely

burnt niche
#

i have it set up

surreal mountain
#

thought so

half walrus
#

do you have the logos extension?

burnt niche
#

no

half walrus
#

sec

burnt niche
#

so i can only use this on .m files

#

great

half walrus
burnt niche
#

lmfao

half walrus
#

did you not read me saying

burnt niche
#

no i didn't lol. should i install this?

half walrus
#

and so on

half walrus
burnt niche
#

what will that do

#

let me use it in logos?

half walrus
#

basic minimal support for logos syntax

#

lets you fold %hook and %group blocks

#

has basic support for objc

#

etc

#

most people here use it afaik

burnt niche
#

is it from renai?

half walrus
#

that one is mine

#

i've heard about renai's but haven't seen a download link

#

@gaunt mesa

burnt niche
#

its on extension page

half walrus
#

oh neat it's out

burnt niche
#

im jsut going to uninstall clangd since i don't use .m files

#

n i ll try the one u sent me

half walrus
burnt niche
#

how would i install that zip

#

it doesnt have a vsix file

gaunt mesa
#

hi

half walrus
#

use renai's

#

seems like they added some snippets

gaunt mesa
#

mine is literally just krits and a few others combined together and deployed on vscode marketplace because i just happened to have an azure deploy key

half walrus
#

and mine is just the original old one but i added code folding

#

lord knows who even wrote the first logos plugin

gaunt mesa
#

i think mine has it too

half walrus
#

it's just *existed*

#

someday we'll get a language server

#

or a working shim

gaunt mesa
#

i have a half finished language server

half walrus
#

have a half started one

gaunt mesa
#

kek

half walrus
#

half started activator alternative too

gaunt mesa
#

ughhh

half walrus
#

made good progress and then apparently what'hisname is back

gaunt mesa
#

how does my RDS randomly break

half walrus
#

Exo is about to make a comeback tho

gaunt mesa
#

who

half walrus
gaunt mesa
#

oh that one

half walrus
#

was about to write placeholder support for chapters and then remembered i already have a placeholder server

gaunt mesa
#

nice

half walrus
#

exobar is just a web view that uses it

#

underrated project

#

it was supposed to replace xeninfo

#

but 'calico' was the only person who ever wrote a project that used it !kekw

gaunt mesa
#

i need to get off technology

#

i just spent 4 hours on a stupid ass math test and i got 1 question done

half walrus
#

just have ur internet cut

#

i spent the earlier half of today doing nothing

#

it was

#

wonderful

gaunt mesa
#

i hate that teachers pile up so much bullshit on the last week of the quarters and semesters

half walrus
#

1 week here lol

#

still mid week

gaunt mesa
#

if i had the opportunity to i would just sleep

half walrus
#

they're coming wednesday to fix

gaunt mesa
#

no internet is poggers

#

is it comcast

#

man we have verizon here and its fucking balls

half walrus
#

i need a subdomain that pagerules to my github

#

too many letters

gaunt mesa
#

fios is shit

half walrus
#

1 sec

gaunt mesa
#

google fiber isn't offered in cities anymore

#

they stopped new cities

#

and they cut back on their existing ones

#

lol i have my own router

#

but i rarely ever get my 1gbps advertised speed

#

full duplex and yet im getting like 300-400 on wifi and then 20 on ethernet

half walrus
#

damn

#

cloudflare cant do it

#

time to spin up the tiniest droplet

gaunt mesa
#

i wish cloudflare proxy anything was free

#

i have to serve my minecraft server through my hetzner VPS just to be able to mask my actual IP

half walrus
#

VPNs are overrated

#

but not for servers

gaunt mesa
#

well its not a VPN

half walrus
#

^

#

cloudflare proxy is different

gaunt mesa
#

cloudflare proxy is nginx

#

and its proxy anything is HAProxy

#

ofc probably heavily forked and modified

half walrus
#

a cloudflare proxy prevents your DNS from exposing your server's ip @tepid olive

gaunt mesa
#

cloudflare proxy only works with HTTP rn tho

half walrus
#

so, for example, i cant run a brute force on discord.com's ssh

gaunt mesa
half walrus
#

dont tell me that bc i just proxied my home IP the other day through it

#

if its broke i dont wanna know

#

my internet literally got cut 2 hours afterwards but

lime pivot
half walrus
#

i'll leave that to nginx

lime pivot
#

see: countless tor hidden sites exposing IPs in PHP errors and shit

half walrus
#

my server IPs leaking shouldn't be an actual issue

#

i don't use password auth

gaunt mesa
#

neither do i

half walrus
#

one of the few things i actually do anything securely on whatsoever lol

#

out of habit

gaunt mesa
#

my only concern is if my home IP leaks

#

so anything hosted at home is proxied via nginx stream to my VPS

#

and then if proxyable it'll go on cloudflare

half walrus
#

24.32.122.113

#

bite me šŸ˜›

lime pivot
#

ddos incoming

half walrus
#

line cut

gaunt mesa
#

FUCK

half walrus
#
  • dont care
gaunt mesa
#

how do i convert VMWare to Hyper-V

lime pivot
#

rip vmware

burnt niche
#

botnet turning on

lime pivot
#

what happened

gaunt mesa
#

windows server 2019 happened

#

and im not paying for vcenter

half walrus
#

F

burnt niche
half walrus
#

isn't

#

hyperV a vmware alternative

lime pivot
#

but esxi is free?

half walrus
#

oh did u mean like

burnt niche
#

virtualbox>

gaunt mesa
#

im using physical windows server 2019

half walrus
#

a vmware vm in hyperv

lime pivot
#

for personal use

gaunt mesa
#

not esxi

lime pivot
#

oh

tepid olive
#

qemu troll

lime pivot
#

that's disappointing

half walrus
#

i bought windows 10 pro

#

mcatdab

gaunt mesa
#

it is disappointing

#

but i need it

half walrus
#

for my

gaunt mesa
#

because of a few stupid things

half walrus
#

2.9ghz x8 snapdragon laptop

#

specifically for hyperv

gaunt mesa
#

okay u can convert vmdk to vhd

#

pog

half walrus
#

literal probably dumbest $100 i have spent

#

oh i get remote desktop too

lime pivot
#

I config'd my firewall to only accept cloudflare IPs on port 443 and my IP on port [something other than 22]

#

so at least I'm sorta covered if my IP is ever exposed

half walrus
#

oh yeah cloudflare also makes it so i don't have to worry about logs

#

i think?

#

they don't expose people's real IP iirc

gaunt mesa
#

incase u have to ssh temporarily

#

unless u have some sort of tunnel back home

half walrus
#

use a private ip then and only accept ssh from that

gaunt mesa
#

that too

half walrus
#

that's my emergency backdoor in digitalocean

gaunt mesa
#

i have it so u can only ssh into my main VPS from the second micro vps

lime pivot
#

I have a VPN set up to a jumpbox

half walrus
#

i have to spin up a droplet with password auth enabled

#

and then log into that, and then log into the private ip with ssh password auth enabled

gaunt mesa
#

i don't use DO anymore

peak quartz
#

@lapis vessel i did something

gaunt mesa
#

cuz its expensive compared to hetzner

half walrus
#

haha yes

#

went to google

#

immediately came up in my results

#

who needs a hard drive

#

just make a 100gb ramdisk

gaunt mesa
half walrus
#

and still have more ram than most pcs

gaunt mesa
#

i pay significantly less

lime pivot
#

run your database from RAM and pray the machine never crashes 😬

gaunt mesa
#

true

half walrus
lime pivot
#

oh cool hetzner has Finland datacentres now

gaunt mesa
#

they do?

half walrus
#

could you use RAID for this in a backup setup

gaunt mesa
#

damn i might have to migrate

half walrus
#

i don't know how raid works

lime pivot
#

probably

half walrus
#

aside from that i have to disable related features to hackintosh

lime pivot
#

mdadm and zfs probably will literally just work

half walrus
#

wondering if hardware could handle a ramdisk/nvme style setup

#

use the ramdisk, keep nvme up to speed with it as much as possible

gaunt mesa
#

wtf

lime pivot
#

cause you can just make a mount with tmpfs and go nuts

gaunt mesa
#

i don't remember my VPS being in nuremberg

half walrus
#

but the goal of that server was to use it for builds so

grim sparrow
gaunt mesa
#

ok

half walrus
#

i think we were looking at it for drm with velox

#

custom built copies for each user kinda thing

lime pivot
#

modern distros make a ramdisk for you at /dev/shm by default actually

#

when I say modern distros I mean Ubuntu

#

don't know who else does it

half walrus
#

is centos modern !uhh

#

stopped trying to convert people to it because it's truly just

#

bad

lime pivot
#
Filesystem      Size  Used Avail Use% Mounted on
tmpfs            16G  8.0K   16G   1% /dev/shm``` literally half my ram and it's just there by default
half walrus
#

not like linux is gonna use it

#

(the ram)

#

could only get arch to use 7/16 on my laptop

lime pivot
#

considering it's used a whopping 3 bytes lmao

half walrus
#

meant the regular ram

#

wonder what they could even use the ramdisk for OS-wise

lime pivot
#

I run a Windows 10 VM on this machine and as expected it uses all of the 8 GB I allocated to it

half walrus
#

lemme see what mine uses

lime pivot
#

because Linux is Linux I also have a useless swap that exists purely to make it not freeze all the time

#

I still don't know why it does that

#

or why making a ramdisk even of a useless size fixes it

half walrus
#

fusion letting me do headless linux vms is nice

#

truly no reason to install linux anymore

#

i think headless is the right word

#

no UI

lime pivot
#

yeah headless

half walrus
lime pivot
#

why does our industry have an obsession with gruesome names

#

headless
failed to detach HEAD

half walrus
#

would be funnier if i haven't literally gone through this specific thought process about 7 times now

lime pivot
#

the startup operating

#

hey that's me

half walrus
#

brb doing that

lime pivot
#

oh um

#

hold shift when you click shut down

#

it's Hybrid Shutdownā„¢

#

aka it just logs off and hibernates not actually shut down

half walrus
#

imagine not holding the power button every time to shut down

lime pivot
#

man

half walrus
#

it's like holding a pillow over your PCs face and strangling it to sleep

#

i'm on a list now probably

lime pivot
#

I'll never forget my high school IT sent an email out to the entire staff and students saying can you please hold down the power button to update something on your PCs thank you

half walrus
#

lmao

half walrus
#

throwback to getting yelled at by teachers for holding the power button to shut down pcs

#

let me find the image

late ridge
#

LOLOL

lime pivot
#

in primary school I had a streak of being Banned From Computers at least once per year

#

it was amazing

half walrus
#

were u here for storytime with krit yesterday

lime pivot
#

one year I was Banned From Computers for amusing myself with the icon selector in shortcut properties

half walrus
#

about me getting suspended

lime pivot
#

I was not

half walrus
#

i feel like there’s a common theme among regulars here

half walrus
#

they should’ve paid me

#

with how insecure everything was

#

when i came back there were so many new security measures

lime pivot
#

another year I got away with almost being banned for using "The Internet" without supervision, aka I was fucking around with exporting html from Microsoft Word

half walrus
#

given, ~10k population kansas town

lime pivot
#

explained it to the teacher on timeout duty and they were like šŸ¤·ā€ā™€ļø I trust you, you can go now

late ridge
#

another year I got away with almost being banned for using "The Internet" without supervision, aka I was fucking around with exporting html from Microsoft Word
wtf

#

that's not even bad tho

half walrus
lime pivot
half walrus
#

in spurts bc i was making dinner

#

fwiw i touched nothing

#

copied nothing

lime pivot
#

hah

half walrus
#

just looked

#

and used it to fix a projector during theater

lime pivot
#

I mean my primary school IT was literally just the dad of one of the students

half walrus
#

which is what got me snitched on

#

which in retrospect bless that kid for having a big mouth

lime pivot
#

idk whether he quit or got let go or if he was even being paid but he was so dodgy af it was hilarious

half walrus
#

better security and everyone knew me for it

#

and what i even did got spun way out of proportion but i wasn’t complaining

#

ā€œhacked the school and changed gradesā€

#

yes i absolutely did that verycool

lime pivot
#

probably not a thing any more with office 365 but Word used to ask you who you are when you use it for the first time, he somehow achieved Word always using his son's name

half walrus
#

lmao

lethal ice
#

kk

#

kirb n krit

#

besties for life

half walrus
#

just wait till kabir shows up

#

wait no

lethal ice
#

tru

lime pivot
#

so when you open a file that's been locked elsewhere (probably by you), it says "you can't open this file, it's already opened by [son's name]"

#

he was confronted about snooping in other people's files at least a few times despite never actually doing anything

late ridge
#

bruh, that's hilarious

half walrus
#

held shift while shutting down

#

here goes

lime pivot
#

this was big Windows 98 vibes so permissions weren't a Thing

half walrus
#

man and they changed the wifi password to hardware auth

#

i didn’t even know you could do that

lime pivot
#

you were just trusted to open the S:\ students network drive and only ever double click your name not someone else's

half walrus
#

it made it even easier for me to get into but

lime pivot
#

lmao

half walrus
#

couldn’t exactly sell that

#

udid DRM vibes

lime pivot
#

I loved dumping the wifi certs from PCs with wifi access

half walrus
#

i just imaged one of the surface PCs they had for art class

#

took it home and copied all of the relavent files to my laptop

lime pivot
#

for at least a year after I graduated I could have showed up at any time, used fucktons of their wifi, and gone home without them realising

half walrus
#

can barely remember

#

damn i still have that laptop too

lime pivot
#

cause I had a valid private key for the wifi

#

hahahaha

half walrus
#

ex has it rn but

lime pivot
#

see

#

my version of this is the school image was Windows 8 so I overwrote it with Windows 10

#

giving myself that sweet ass local admin

#

Office license is covered through 365

#

Adobe license I found the activator exe and key and it totally worked

half walrus
lime pivot
#

ugh

half walrus
#

i get to sit through all of these programs opening at once now

#

bc i held power button to shut down

#

actually

lime pivot
#

I untick that box but it "helpfully" reopens all your apps after a panic reboot

lethal ice
#

in a hundred years you guys will be together in build tool heaven

lime pivot
#

I wonder if they removed the "do you want to open your apps?" dialog because it says "You restarted your computer due to a problem"

#

no you restarted my computer bitch

half walrus
#

if i restart/power down via software it does that

#

hard power off doesn't bring up the box

lime pivot
#

all I did was sit frustrated watching it restart on its own

half walrus
#

i also get the box when macos panics which is very rare

lime pivot
#

Firefox has been panicking me for 2 weeks now lmao

half walrus
#

killall -u kritanta & tho

half walrus
#

in newterm

lime pivot
#

kkk

#

…

#

wait

lethal ice
#

true

half walrus
#

krib i

lethal ice
#

the kkk

#

that's what theosdragon is gonna be called

half walrus
#

kritToday at 4:52 PM
just wait till kabir shows up
[4:52 PM]
wait no

half walrus
#

i

lethal ice
half walrus
#

that sounds awful i kinda want to do it as a joke now

#

given the whole lack of internet thing

lethal ice
#

rip

half walrus
#

a ninja generator written purely in makefile

#

why the fuck not

lethal ice
#

does dragon use python

half walrus
#

it'd be faster than theos too

#

yeah, it uses python

lime pivot
#

again if some dude could write a raytracer in cmake…

lethal ice
#

nice

lime pivot
#

anything is possible…

#

…

#

………

#

.

lethal ice
#

rip

#

but slow

half walrus
#

i need to know

lethal ice
#

theos slow sorry kirb

lime pivot
#

it is

lethal ice
#

i still use theos tho i can't be bothered to change my build system

half walrus
#

i'm fairly sure it'd beat theos because theos' design slows it down

lime pivot
#

just haven't had any damn time to work on it lately

half walrus
lethal ice
#

when are you getting fired again?

half walrus
#

he already did

lethal ice
#

oh

lime pivot
#

yesterday I had the thought to just write a New Theos from the ground up

#

just see what happens

lethal ice
#

ooh

#

go ahead

half walrus
lime pivot
#

whether it's worth replacing Old Theos or not

lethal ice
#

what would you write it in

lime pivot
#

what's the dumbest possible language I could use

half walrus
#

well

lime pivot
#

APL?

lethal ice
#

make

lime pivot
#

Brainfuck?

half walrus
#

makefile was the dumbest

lime pivot
#

Lisp?

lethal ice
lime pivot
#

Make?

lethal ice
#

make...

half walrus
#

like i can't imagine a worse language

lethal ice
#

@lime pivot write it in C i'd use that

lime pivot
#

MS-DOS batch file?

half walrus
#

C would actually be a good one

lime pivot
#

Abort, Retry, Fail?

lethal ice
#

if someone wrote a C build system i would use it

lapis vessel
#

CMakeLists.txt theos

half walrus
#

^

#

a cmake system / whatever for tweaks

#

then we could use CLion

#

šŸ˜›

lethal ice
#

honestly i might write a small C build system that only supports tweaks

#

would be so fast

lime pivot
#

to be honest it seems like ninja is the right call? like, you can totally generate an xcodeproj from ninja

lime pivot
#

no clue if that works with dragon

half walrus
#

thing is

#

ur overestimating how much speed matters

lethal ice
#

idc

#

i need speed

lapis vessel
#

@peak quartz you've got to try different stuff out and just see what works. Try the blurRadius private ivar thing u sent me earlier

half walrus
#

on the biggest project i have

lethal ice
#

if i'm gonna write something that i'm gonna be running hundreds-thousands of times per tweak i'm gonna need it to be speedy...

lime pivot
half walrus
#

so if you can beat 0.2 seconds

lethal ice
#

honestly i'll use c++ just for std::string and std::vector

#

does dragon build in .2 seconds?

half walrus
#

ninja builds in 5 seconds

lethal ice
#

nice work

half walrus
#

dragon, the generator, finishes in .2

lapis vessel
#

@peak quartz pretty sure I've told you before to ask questions in public channels not DMs

lime pivot
#

I mean Theos basically really only does a bit of thinking initially, a bit of waiting for slow as fuck xcrun, and then kicks off a dozen clang and logos.pl and ld and whatever threads

half walrus
#

if you want to write a full build system in C, fork ninja

lapis vessel
#

That way other people can help too

half walrus
#

and remove anything non-tweak related

#

or hardcode the extremely little logic there is

lime pivot
#

however I have doubts that make's parallelism is actually as fast as it can get

half walrus
#

i have to say that a lot

lime pivot
#

Xcode can really make my laptop fan scream from a 15 sec build

half walrus
#

not like i don't like ppl im just not the smartest person around

lime pivot
#

feels like no bullshit no second of CPU time is wasted

lethal ice
#

nah bro not a build system even

#

literally just a tweak builder

#

nothing else

#

bare minimum

half walrus
#

fork ninja

#

it's C

lethal ice
#

true

lime pivot
lethal ice
#

lol

#

true

half walrus
#

and it's exactly what you want

#

bc ninja rn has no evaluational logic

lime pivot
#

then you only have to occasionally reject friend requests from randoms

lethal ice
#

uhh imma turn that on kirb thanks

restive ether
#

if only i could keep that off

half walrus
#

it's uh

#

what's

#

i dont think ninja is turing complete

lime pivot
#

so basically it's MS-DOS batch but worse?

half walrus
#

by design

#

make is, and look what you guys did with it

lime pivot
lethal ice
#

where is that setting on mobile?

half walrus
#

no scripting forces you to write a generator

lethal ice
#

oh i found it

lapis vessel
# lime pivot you want this

Problem is I don't wanna disable DMs from everyone. Like I'm totally happy if it is a question for me only, like a bug report for one of my tweaks, I just don't want people asking objc questions they could be asking anyone in my DMs

half walrus
#

meaning the build script processing goes faster

lime pivot
half walrus
#

and your generator is probably much faster than the same logic being evaluated in a turing complete language

lime pivot
#

good thing they finally made batch useful 15 years after it was already obsolete!

half walrus
#

i couldn't grasp the lack of scripting at first in ninja

#

because you can accomplish it anyways by heavily abusing the fact that 'rules' have 'cmds' and 'cmds' support bash syntax

lime pivot
#

yeah, I would reallllllly prefer to have a generator that could just spit out a completely static makefile

half walrus
#

i still abuse that from time to time

lime pivot
#

change anything about your setup? run the generator again

half walrus
#

iirc makefile syntax isn't done bc i don't know makefile syntax

#

lol

lime pivot
#

uro already had something neat or at least was theorising it a while back, generating a compiled-down makefile from all the theos makefiles

#

variables expanded etc

#

and apparently it did provide a huge performance boost

#

@glacial matrix bleep bloop

half walrus
#

easy enough to add for someone who does though, i already have the makefile-syntax.py and functions in place

half walrus
#

well

gaunt mesa
#

kek

#

doesnt dragon generate one build.ninja

#

or sm

half walrus
#

it generates one per module

glacial matrix
#

I only theorized, no actual implementation of any kind

gaunt mesa
#

oh yeah

half walrus
#

module being "thing that's gonna get lipoed"

primal perch
gaunt mesa
#

lol

half walrus
#

although you can lipo multiple together if you so please, invoxi harassed me enough to get that added

#

šŸ˜›

lethal kayak
#

uroboro python

primal perch
#

lipo * and hope it runs

glacial matrix
#

:P

primal perch
half walrus
#

I could have it generate a single build.ninja

gaunt mesa
#

does dragon support bundles without code

half walrus
#

yes

#

resourcebundle

gaunt mesa
#

might be time to migrate oo

glacial matrix
#

Great, now I lost the unread tracker. Discord is šŸ’© at that

half walrus
#

also stage

gaunt mesa
#

discord is šŸ’© in general

half walrus
#

aka just a bash script in the dragonmake

#

stage commands on each module like usual

#

but you can also make a stage type module that has nothing but stage commands that run

gaunt mesa
#

my concern is that sometimes dragon just doesn't work u know

primal perch
half walrus
#

v true

gaunt mesa
half walrus
#

i always say keep theos installed lol

#

but

gaunt mesa
#

vscode proved electron isn't bad to an extent

half walrus
#

my issue is when it doesnt work people dont @ me here

gaunt mesa
#

4 hour SSH session

#

trying to debug dragon

half walrus
gaunt mesa
#

and it was worse cuz we had different terminal sizes

half walrus
#

whatever tool that was was nice

#

according to someone on the hack different server

gaunt mesa
#

yeah i forgot

half walrus
#

dragon supports toolchains perfectly if you just add it to your path on linux

gaunt mesa
#

it was tmux based

half walrus
#

lol

#

tmate was the tool

gaunt mesa
#

Yeah

#

i don't think i've had to do the hack to specify toolchain in a while

half walrus
#

oh yeah i also made it non-directory dependent sometime in december

gaunt mesa
#

i just use xcode select and then hikari loaded via -Xclang -load

half walrus
#

which they were for some unknown reason abusing

gaunt mesa
#

abusing how?

half walrus
#

didn't use the install command, just git cloned and manually typed out the entire directory path

#

to the main script

#

every time

gaunt mesa
#

lol

half walrus
#

almost begged them to add a symlink or alias

#

but i'm glad to know that works now

gaunt mesa
#

wen eta brew for dragon

#

dragon on brew

half walrus
#

when i feel like it

#

it doesn't compile anything so

#

should be easy

gaunt mesa
#

yeah

half walrus
#

pip owner of dragon hasn't gotten back yet

#

they did once

#

but not a second time

gaunt mesa
#

there is probably a package called dragon on some obscure asf tap

#

i like that dragon uses yaml

#

pretty much everything config related i use is in yaml now

half walrus
#

speaking of

#

been working on something

#

shoot i deleted the POC

gaunt mesa
#

rip

glacial matrix
#

F

half walrus
#

nah just the POC still have the code i wrote for it

#

might be able to guess what this does

gaunt mesa
#

plist

half walrus
#

what's the point of writing an entire preference bundle when sometimes all you want to do is edit the basic plist

gaunt mesa
#

formatting conventions really said no

#

2 blank lines between methods and shit!!!

half walrus
#

haven't clicked the "format code" button yet