#🪅-progaming
1 messages · Page 106 of 1
like i tried getting started with it and it just never clicked
no, php framework
ahhhh
okay
for me leaf means some minecraft stuff and i assumed thats not what you meant
ah
nah, tbh
you should only be using php without a framework while you build up your understanding of the language
im looking at some snippets it looks pretty cool
once you understand the language, you're really just hurting yourself
reminds me of like ktor
okay thats cool
Because the JSON grammar is much simpler than JavaScript’s grammar, JSON can be parsed more efficiently than JavaScript. This knowledge can be applied to improve start-up performance for web apps that ship large JSON-like configuration object literals (such as inline Redux stores).
Presented by: Mathias Bynens - https://goo.gle/2Oh2tq6
More...

if i use the same framework we use at work, i'm pretty much just always going to write the same style
so
"hi gang" hmm
thats the first thing i heard
yeah i figured, this is why i recommended that framework, the syntax reminds me of other languages that PHP haters like
this actually kinda makes sense
but i'm wondering how it would be faster
because its really just putting the data down while json.parse has to actually parse a string
well maybe its faster because usually thats done using native code because its built into the framework
basically explained that json is context-free while js objects are not, and therefore due to context-free grammar being faster to parse, it is faster overall
oh okay
that makes sense
i really only scrubbed the video a bit so i didn't really see the explanation
so this is why discord uses JSON.parse for their massive i18n json
but holy is that counter intuitive
json is slow asf in many scenarios
i was thinking the same
Scroll up a bit its in my scaffold
btw i like how ur profile matches the aro flag :D
NavHost(
navController = navController,
startDestination = Screen.Home,
modifier = Modifier.padding(innerPadding),
enterTransition = { slideInHorizontally { it } + fadeIn() },
exitTransition = { slideOutHorizontally { -it } + fadeOut() },
popEnterTransition = { slideInHorizontally { -it } + fadeIn() },
popExitTransition = { slideOutHorizontally { it } + fadeOut() },
) {
composable<Screen.Home> { HomeScreen() }
composable<Screen.Search> {
SearchScreen(
navController = navController,
viewModel = hiltViewModel<SearchViewModel>().apply {
from = it.savedStateHandle.getLiveData<String>("from").value ?: ""
to = it.savedStateHandle.getLiveData<String>("to").value ?: ""
}
)
}
composable<Screen.PlaceSearch>(
enterTransition = { slideInVertically { it } + fadeIn() },
exitTransition = { slideOutVertically { -it } + fadeOut() },
popEnterTransition = { slideInVertically { -it } + fadeIn() },
popExitTransition = { slideOutVertically { it } + fadeOut() }
) {
PlaceSearchScreen(navController = navController, source = it.toRoute<Screen.PlaceSearch>().source)
}
// composable(Screen.Settings.route) { SettingsScreen() }
}
that's funny
that's actually entirely coincidental
green was my favorite color long before i knew i was aro
seeing this makes me glad i went with Voyager for navigation
lmao
ive been working with compose for like 3 days
people give me different views on what am i doing wrong, so im still pretty clueless
you are using what google recommends
i just prefer voyager because its a lot simpler
FINALLY
Let’s dive in~ Explore the latest DevTools features in Chrome 136-138 with Matthias!
Chapters:
0:00 - Introduction
1:11 - Automatic workspace discovery
1:54 - corner-shape and function debugging
3:06 - End-to-end patching for styles with AI
4:49 - Ask AI about Performance insights
6:06 - Bonus tip
Resources:
Automatic workspace discovery →...
Slop? In my devtools?
im such a genius I forgot I had functionality to programmatically show the window without pressing the menubar
@woven mesa
they don't make it super obvious what keys are what
ew tabs. does swift/xcode use tabs by default?
tabs are so good...
why do some people like an indentation which is easy to screw up
and also doesn't allow the viewer of the code to customise the width
and also takes more disk space
just use tabs for indentation and spaces for alignment if you want it...
its what i use
so true
not sure if they use it by default idk I immediately customize mine
that rainbow indent vscode extension highlights incorrect indenting based off the file settings, I like it better because it looks cleaner to me with the whitespace dots than the small tab symbols do
I used to use maplemono for xcode but i cba to re-download the font
tbh i don’t really the always enabled uh what’s it called like visible characters for spaces, tabs, enters
oomfs
tbh idk why people use visible whitespace
i think i need that
You dont like it?
you mean
highlighting when indentation is wrong is good but why do you need to see symbols for the correct indentation
i personally only have it enabled for github prs as it’s necessary to ensure nobody mixes tabs whitespaces
I think it's pretty that's about it
sorry :c
I want to enjoy looking at my code
on selection, right?
i might make an xcode plugin to randomise the indentation in the current working file
I started using it in Xcode because I realize it's easier for me to determine what level code is at a quick glance
not a web dev
yeah everyone has their own preferences don’t take my opinion to heart :3
If its like hella nested it would be so obvious
i used to
/run
/**
* Count the number of substrs in str.
* To use new improved api use the new keyword.
*/
function count(str, substr, until) {
const v2 = this.constructor === count;
if (until != null && !v2)
throw new Error("The until parameter is only available with new.");
if (substr.length > str.length || substr.length === 0)
return 0;
if (str === substr)
return 1;
let matchLength = 0;
let matches = 0;
let exactMatches = 0;
let exact = true;
for (let i = 0; i < str.length; ++i) {
if (i >= until)
break;
if (str[i].toLowerCase() === substr[matchLength].toLowerCase()) {
if (str[i] !== substr[matchLength])
exact = false;
++matchLength;
if (matchLength >= substr.length) {
++matches;
if (exact)
++exactMatches;
matchLength = 0;
exact = true;
}
} else
matchLength = 0;
}
if (v2)
Object.assign(this, { matches, exactMatches });
else
return matches;
}
const lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.";
console.log(count(lorem, "DO"));
console.log(new count("HALLO welt", "l"))
console.log(new count("HALLO welt", "l", 5))
Here is your js(18.15.0) output @winged mantle
6
count { matches: 3, exactMatches: 1 }
count { matches: 2, exactMatches: 0 }
if you want people to only use your style of indentation in Xcode you can also make a editorconfig file
yeah its great
xcode listens to that but needs u to reopen the project if u make changes to it
nice. tho i usually just use whatever is set by default
refined github is very nice
shake my head you said ew to whatever you thought was default
i’m not real that type of a person to like go thru all the settings and tweak everything to my need
I like it when extensions and mods blend so seamlessly you forget what the original was until it stops working
is there something that lets you write tabs in code suggestions
yeah i don’t like tabs but ig id just get used to it
even tho i probably wouldn’t like it i would not dare to change it lol
yop i also like how there is a safari extension
so good
can even use it on my phone
@solemn ravine i rewrote someones webserver in swift from cpp
dont you hate how safari handles extensions
you can have
in commit names this is more than enough 
reel
wdym
does ublock exist for safari
yes
hm
no iirc
it shows up as individual apps
only thing I hate about safari extensions is their csp and signing requirements
that is how app extensions work
otherwise they work okay
someone was asking me about ad blockers for apple and I couldn't help much bc I know nothing about apple other than you cant do much without breaking stuff or smth
oh iunno i don’t really mind as long as it does its thing
safari extensions arent special, they’re a .appex file in the main app
just like other extensions
who need vencord safari
true
i just used adguard but i also heard wipr is good
need
you know what if ublock lite is what safari gets then maybe the extensions aint too bad after all
its full
i cry
worse than chrome so far though still
its ok ish
that makes sense ig, i mean as opposed to chrome/firefox extensions though
yeah but using a different app extension model would be wrong in this regard
apple wants to regulate extensions on the appstore too so it works out in their favour even more if web extensions are app extensions
i only have a few extensions, dont really feel the need to add something more 
to the fruit company they do everything with apps and extensions
all i need
all great
i just remembered that since like ios15 or so you can now install custom fonts via app store. are the fonts also separate apps 
i dont have any extensions
I used to use refined github but their settings is a UX nightmare
safari is fine on its own
is mv2 really really dead yet
you will hate me but you need an app for it yeah
good thing mac you dont need to
you can just install the font
yeah that makes sense since you can install fonts off internet
I have like 140 extensions firfox takes a long time to load sometimes haha
i think it’s only for fonts that are on app store
WHY DO YOU HAVE SO MANY
because its fun
ur treating them like vencord plugins 😭
I think theres a few apps that let you import fonts
but again needing another app lol
lets make a font book port to ios oomfies
they all do something for me 
by oomfies i mean sammie
oh neat i didn’t know you can view system fonts like that
its like my 214 mod pack for risk of rain 2 or my 190 minecraft mod pack
no thank yoouuuu llsc
lol
I just like features
I have a few ideas for other apps but like theyre not really important
i love how this button doesn’t even redirect you to a fonts-only app store page it just redirects you to the main page 😭
i dont really wanna work on them either since
they require an absurd amount of work
today i learnt how people make webservers from only sockets n stuff
probably the most useless page they have
true
i wanna make some pretty lastfm macos app but i’m afraid someone might have already done it
theres a lot of those
why is everything I wanna make going to be open source 👻
why is everything i make never published open source or even monetised close source
deltatube oss when
you can charge everyone 5 dollars like a ton of other mac apps that do one very specific thing
idk we gotta ask YOU 🫵🫵🫵
meow
well what are these ideas
@woven mesa I implemented many keybinds now I could just copy stuff without ever touching my mouse
don't say them he'll steal them and do it first
oh another thing i would like to try making is a custom telegram client for ios. i wonder how long it’d take build such heavy project tho (like compile time)
apparently theyre high effort so maybe not?
navigating in jetpakc compose is such a bs
oh yeah
free and open source cross-platform (desktop) ios sideloading app that doesn't require pre-installed apps like icloud or itunes (requires gui)
(this doesn't exist)
surprisingly

im surprised
so good
by doesn't exist I mean something that doesn't have a requirement for itunes/icloud
hell yea no more having to install the old ass icloud & itunes versions 🙏
(all of them do)
that would be hard
but you know that would be too much work
for such a simple thing
would make me go insane probably
@dense sand nintendo switch homebrew swift xcode
icloud on windows isnt even bad now
i want m3 😭
this is so over an ai is now #1 on h1 😭 https://x.com/xbow/status/1951040733936492915
material 3?
yes
idk last time i tried it it still sucked lol
whar
was trying to upload a 1gb file and it was taking forever
guh
@woven mesa defaults write com.apple.dt.Xcode DVTTextShowInvisibleCharacters 1 && killall Xcode
@frosty obsidian if i use voyage for navigating, can i pass arbitrary objects or do i have to shit with serialization
ty
i really hope google sticks with flat design
M3 is so pretty

this looks nice but for whatever reason i don’t really like it 
I actually hope google does too
me neither but its better than liquid glass 
you can update a fucking monitor??? AND ITS 700MB??? https://x.com/inerati/status/1951082231419773357
Aplp
@woven mesa ive gotten into a flow of using appkit/uikit for ui and only swiftui for settings
this may be my peak era
you wanna know a fun fact
sure
It comes with 64gb of storage
😭
the monitor runs a fork of a fork
its not a firmware
its like ugh
uhhh
uuuuuh
based on deez nuts
oh
oh yeah it has an A12 chip too right? or something similiar that they made a ton of
so funny considering they already have 120hz in macbooks
They care more about clarity and crispy displays more than refreshrates
i need more 218 ppi displays so bad
i care about both that’s why i’m choosing mbp over mba 
understandable cos no one in the professional field really needs it
i would take ppi over hz any day
but when both your phone and pc monitor are 120+ hz, you really don’t want a $2000 laptop to be 60hz :D
yippieeeee
ive been spending too much time grinding coding
now to do more
the unfun part of any project is setting up the readme/workflow
what happened to ur other account btw
@solemn ravine @spark tiger im so happy my swifty wrappers are so good
imagine writing this in c
ight
i’d rather not 
yea
What happens if the guard is not there, does it enforce error handling like that?
yk how ppl say not to nest if statements
guard is meant to enforce you to not allow your program to continue further by returning or throwing
its quite good
kinda like assert?
guard is like an advanced if/if let but if anything goes into guard ... else { // you must return here }
you can accomplish thhe same thing with if statements but the compiler will know your intent and ensure you return
you cannot fall through
also it allows you to not nest stuff which is kinda sweet
sammie do u like the swifty apis i made to make networking and json parsing easier
no
that makes sense, but say you place let jsonData = ….parse() outside a guard , does swift tell you to use a guard/know its fallible?
idk what that is
aw
whats a swifty
just based on your needs really
no
im doing that because my parse method can return nil
and i cannot continue parsing the data if it doesnt exist
so i dont want my program to continue
so i guard against nil condition
a random question in my head - i wonder if the E symbol just a Unicode symbol put in the song name by the app or there is a way to display icons similar to this one
I use a guard here and I think its easy to understand, it retrieves data from an item and determines if its a valid png/jpeg, if its not it just won't do anything (empty view)
guard is not required (a normal if can achieve the same thing, but it exists for convenience)
probably an SF Symbol, e.square.fill
🅴
e
vchars
🅴 NEGATIVE SQUARED LATIN CAPITAL LETTER E
oh so it’s just a unicode symbol ic ty
I forgot that this code is kinda obsolete now I somehow didnt update it with a better way of displaying the image
gotta find the code
@modern jungle you're right
vchars 絵希
絵 ?
希 ?
?
?
?
oh my god look at this
beautiful
what’s cocoa i’ve been hearing this name so often
ui framework for fruit company platforms
cocoa touch would be the one for mobile
(their names are just substituted with appkit/uikit though)
and they also serve as a backing for swiftui
so many different names for ui frameworks 😵💫
i only know swiftui
ignore the names for now but just imagine that framework being the original, and swiftui is the successor but uses the original under the hood for a more easy to read syntax
ofc it could have more features that the original could offer but thats the nature
also both are maintained and updated regularly
@valid jetty do english 450k 100 words and correct every mistake
by looking at the gray graph you can tell where i was typing and where i was correcting
holllly os many options
@solemn ravine my code threw an error that server sent invalid response
i will have to diagnose after i eat
i cry
i think i will try zed now they have an ai toggle
i find a single toggle for ai very admirable
guh i became too reliant on vscode's typescript formatter... though isn't that part of typescript itself
ah you can just set formatter to language_server
why is no formatter as good as go fmt
I already got an error that nobody else has ever got according to google
server is for rust
i think it would be good to use https://handlebarsjs.com/ for bot message customisation?
Minimal templating on steroids
i kinda reinvented the wheel
well no... I opted for a self-produced mediocre wheel without knowing of far more advanced wheels which were already perfectly compatible with my vehicle
Use jsx
If you really need templating in your bot messages
it's for user configuration
Hm…?
so you can do
ban_message = "You have been banned from {{server}} for {{duration}} :hammer:"
to customise the bot's ban message
you can but for voyager to save state the arguments you pass have to be parcelizable iirc
its just an android limitation
[SECURITY] firefox-patch-bin, librewolf-fix-bin and zen-browser-patched-bin AUR packages contain malware
old news
[SECURITY] firefox contains malware
♻️
I personally believe that a bot should have a consistent design language which also covers responses but if you really want to add customizable responses there is no reason to bloat your project with a templating language when string replace does everything you’d need
it's pretty important
sometimes you want to add info on how to appeal
this is just for logs/dms which i think it's essential
If you say so
[SECURITY] google-chrome contains malware
i clearly dont care https://codeberg.org/cat2623/dots/src/branch/master/scripts/.local/bin/same
[SECURITY] use nixos
nixos package devs are so incompetent
whoops wrong reply, meant this one
electron 32 and 35? pfff same thing
3 major versions means nothing
womp womp
@frosty obsidian when using voyager, what would be an optimal way of passing data back to the previous screeen(pop)
i actually don't know, its not something I've ever had to do
okay cool, thanks
ive decided to migrate, as the passing data bs was getting real bad
ah yes i encountered this
it's horrendous one sec
i found something on gh related to it https://github.com/adrielcafe/voyager/pull/128#issuecomment-1763034415
i didnt get to the point in my rewrite when i have to actually try it yet though
wait thats actually pretty nice
thanks
i had to persist a screenmodel for a screen in another screen
https://github.com/Aliucord/Manager/blob/28eb54a7b66bdadae33a31cf814e6e79f66a8970/app/src/main/kotlin/com/aliucord/manager/ui/screens/iconopts/IconOptionsScreen.kt#L57-L65
IconOptionsScreen.kt: Lines 57-65
// Retrieves a global model owned by the navigator
val navigator = LocalNavigator.currentOrThrow
val modelScreen by remember {
derivedStateOf {
navigator.items.lastOrNull { it is PatchOptionsScreen }
?: error("No PatchOptionsScreen in stack")
}
}
val model = modelScreen.koinScreenModel<IconOptionsModel>() // Parameters are already injected in PatchOptionsScreen
its so husk
nice thanksies
i wonder if using reflection(for one side thing) will slow the whole thing down a lot
you should avoid reflection
yea ik, but i want to provide some static data for each screen - such as if should display topbar, the topbar title, icon etc.
i could just make a shared companion interface but idk how good idea
use an enum
@deep mulch what is the default access modifier in kotler
everything is public final by default
Full video on channel
https://m.youtube.com/watch?v=pq7NLMwynYg
cinema
Since people are asking, the monitor is a INBES VM-784 - a Japanese monitor literally designed to scroll Twitter with
QRT: AzakaSekai_
in case you're ever wondering what systemd boot output looks like on a very narrow monitor
@frosty obsidian @deep mulch I finally found a monitor to display logcat
peak i need this shit
does kotlin have multiple inheritance?
yeah, that's what i thought
smh imagine not being able to patch in your own multiple inheritance
why am i addicted to writing parsers
i'm already making a custom implementation of mustache
because i didn't like the existing ones
insanity, i think
how is there no addAll with vararg T
guhhh kotlin so bad
where bitwise and
i think you just write and
yeah
but it's dumb
also for the love of god numbers should cooerce to booleans in boolean contexts
i hate writing foo and bar != 0 instead of foo & bar
wdym
inherit from more than one base class
you can implement multiple interfaces
private fun ifNumpad(event: NativeKeyEvent, ifNumbadKey: Key, elseKey: Key) =
if (event.keyLocation and NativeKeyEvent.KEY_LOCATION_NUMPAD != 0) ifNumbadKey else elseKey
least cursed kotlin function
delete
ive been cursed to deal with new language versions
send the definition of the variable
or prepend nonisolated(unsafe) to it ig
what do i do instead
use an extension function
THANK YOU
yw
i don't want to become javascript
tbh i was more thinking of c/c++
kotlin is just too high level for that kinda stuff
😭
i'd consider javascript higher level than kotlin and it has it
and c/c++ are lower level and they have it
i mostly mean that its language features have to compile to several very different platforms
Here is your js(18.15.0) output @jade stone
)
vchars „“”
„ DOUBLE LOW-9 QUOTATION MARK
“ LEFT DOUBLE QUOTATION MARK
” RIGHT DOUBLE QUOTATION MARK
` GRAVE ACCENT
vchars ‚‘’
‚ SINGLE LOW-9 QUOTATION MARK
‘ LEFT SINGLE QUOTATION MARK
’ RIGHT SINGLE QUOTATION MARK
actually didn't take that long to implement most of mustache templating
oh nah
my reason for reimplementing is existing implementations are quirky 😭
it is that
NOP
sadan wants js string concatenation
@jade stone
is tilde
left of the number row
but ` is probably what it is
thanks wikipedia
The backtick ` is a typographical mark used mainly in computing. It is also known as backquote, grave, or grave accent.
common
I've never heard back tick mentioned in speech
or grave

wingy
what do you hear people call it
I dont
:|
no one uses it@frosty obsidian @frosty obsidian
programmers do
its used for template strings in js
used in markdown for codeblocks
kys
Wing taking 5 years
I'd finish the pr if I knew what what your remaining plans were
tbh I might just fork from the pr and finish it
it's a modifier
@deep mulch make keybind library for jvm
never
yop
also fuck wayland global hotkeys
i will just do some IPC + CLI
they can bind it themselves
less painful than dbus
maybe a websocket
so many saudis
but if I sort by total amount, KSA is only 7th
Saudis donate less on average
i should add sort by average donation
see which countries are the most generous
what does windows use
pope is greedy
the pope
turkish rusher alt gave me 15 bucks
@woven mesa
2 americans 
add IP address when
SOOON
it's fake america
real america has 735 people
@royal nymph can i give you -5$
vee thinks i can't make jokes
nah
vee made a bad commit so i forced him to refund my hard earned $5
github is funny
insane
if you change tier to a higher tier, it first creates a fake charge with the negative of your previous payment
@formal walrus
oh wait one of the researchers here are in Hood Network
thats so funny
i recognized the miku tag
so goood
i think the other person is the css clicker person
add easter eggs
the only docs I can find is either unidentified or just missing so 
the only thing I can think it could be is like the equivalent of pressing down on a dpad but realistically you can probably ignore it
should have just rebuilt the entire api or simply kill old apps
@deep mulch does compose come with a logging lib?
nop youre too serious
better
no
thankfully not
you can use any logging lib
zoot logs everything to stdout
https://github.com/oshai/kotlin-logging @jade stone
yop alreay found that and looks like i'm going to be using it
good
is it just me or should this be does not not do not
LOL
I think doesn't
@deep mulch send DTD for log4j2.xml
what's that
why is readme dev so hard
do you want my minkinator schema

oh mine uses logback
idk if it's the same
tbh I hate that it's configured like this
I wonder if there's a library that doesn't depend on another library for logging
americans when a chinese guy doesnt speak flawless english
@deep mulch full autocomplete
@jade stone is chinese
nop
oh different repo... so
americans when an israeli guy doesnt speak flawless english
mantika makes funny English grammar errors @royal nymph
how
@deep mulch how do i do linux vs. windows deps in gradle
i dont think journald exists on windows
i like using it to view my logs
what library
all in one handy place
you can just see logs in the ide
guhhhh
i usually just make my own basic logger class
i don't really need fancy features like dumping to a file or anything
slimy sadan
slimy sadan
is function parameter evaluation order defined behavior in java
whyy
@deep mulch is this how compose works
i dont know if vararg is stable
wdym by stable
it's unpacked
dont use Any
compiler basically has no idea if the data there is changing or not so it cant optimize
nonrestartable composable
your useKeybind function is gonna run every time anything changes
then let's say i use some statful value in the handler
if the statful value changes, how will it know when to re-apply the keybind handler to update the statful value
idk, it just does

primitives are stable
react naming scheme
@jade stone oyu will learn my child
@deep mulch make a youtube video showing react basics mirrored in compose
best way to learn
hai
hai
actually, what is the kotlin naming scheme for hooks
you can try doing something similar to the BackHandler function
https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:activity/activity-compose/src/main/java/androidx/activity/compose/BackHandler.kt
50000 line file incoming once my wifi loads
we don't really have one
useFoo it is
116
composable function should always be PascalCase
composable functions in a variable are camelCase
PascalCase is for classes and types
yes
camelCase is for functions and variables
its PascalCase is for composables that return unit
camelCase is for everything else
standard functions and variables
android studio will yell at him @deep mulch
yop
good thing i'm not using android studio 
idea does the same thing
mostly because we don't really have hooks
in a few years once my wifi loads
@jade stone@jade stone has dial up
xfinity, same difference
the past few days it has taken like 1m to make a new connection
but streaming is fine
what if you go through a vpn
android docs will make gigabit internet look slow
no, this is everything
both statements are true
@jade stone wanna see deranged packaging
you will get job at googl and make it blazingly fast
https://github.com/subframe7536/maple-font#arch-linux
expand the All packages section
@deep mulch i might have found the issue
it's on the aur
and again nix fixes this it's also in nixpkgs 
it's under a scuffed name I forgor
move ttf to the end
i think the answer is to use comic-shanns-mono-nfm
wait
no maplemono-ttf is just teh basic
the issue is they split every little feature up into 500 pacakges
instead of just providing multiple font
@frosty obsidian fix
nop
@pseudo sierra WHO NAMED THIS SETTING
INSANE
tailscale optimized the dns to a local ip
in some update recently i think
and it no longer goes throught tailscale which bypasses firewall
but this option does not open the port for the dns
@nimble bone
i will try it out when my i will get my hands on 4k screen
https://tenor.com/view/gato-joia-gif-27503164 @jade stone
sadan science
you can use the fonts website to toggle a bunch of stuff
I WAS RIGHT
"... In addition to identified 2 weeks ago malware packages firefox-patch-bin, librewolf-fix-bin and zen-browser-patched-bin, the google-chrome-stable package has been added to AUR, also containing changes that install malicious component providing remote system access." (sorry for bad translation)
i didnt know u were joking about chrome
i thought everyone knew there was also a google chrome package
that was malicious

why
??
opennet
You just told more
hm with a shape aware template compiler you could likely generate very nice code and avoid many pitfalls
hello {{#person}}{{name}}{{/person}}
function anonymous(view) {
return "Hello " + view["person"]["name"];
}
hello:
{{#people}}- {{name}}
{{/people}}
function anonymous(view) {
return "hello:\n" + view["people"].map(item => "- " + item + "\n").join("");
}
voyager assigns each screen a key for lifecycle stuff (like screenmodels) and you can't have any duplicates in the navigation stack
I followed the guide and wrapped the screen content in slidetransition and cant go to different screens
https://github.com/vendetta-mod/VendettaManager compare your code to this
wing uses bun
i guess i will make a more loose version of zod/valibot for this
const person = m.object({
name: m.terminal,
});
const viewShape = m.object({
person: person,
people: m.array(person),
})

valiapp
@hoary sluice
wolves can be tamed
2
i could probably convince the wolves to eat the linux guy
I'd out talk the linux guy
hey how would it be possible to get like when all this button shows up? like on what message types, from client code
Usually you'll have to find the component in the react devtools, and then go to the parent's source
then find where it's being rendered, and if there are any conditions (here it's canPublish/b)
since canPublish is passed as a prop, you'll have to go search for the parent component that passes it down
and you'll end up finding
K = t.type === ea.d4z.GUILD_ANNOUNCEMENT && null != p && p.features.has(ea.oNc.NEWS) && (A || O) && (0, m.Z)(n)
then it's just a matter of finding what each part of this condition is
ah nice thanks
After 3 days of learning jetpack joyride framework i finally have a prototype
Im so glad i rewrote my navigator to voyager
istg im jumping out of window if our mobile app teacher tells us that we're using xmls
this so much better
yea sorry we're not doing apples here
too bad
i eat apples
how do i make it not go insane when i interact with it
https://cdn.discordapp.com/attachments/1335058334335893604/1401279361423900772/2025-08-02_15-02-29.mp4?ex=688fb29a&is=688e611a&hm=66a191153eb7d59c61ca20adf58051cfb70c369f0e1f0b33587ae43751dbbb19&
@jade stone do you use slf4j
yes
but that's not really relevant here tbh
who wins, concatenating and slicing massive amts of binary data, or one loopy boi
what are you even trying
what does the ms tags on the left mean
resize window
also happens when it moves sometimes
performance gutter decorations
what frameowrk
compose
idk then
@dense sand found the issue
compose really doens't like you resizing transparent winows
@deep mulch fix
how
make sure you're setting the underlying jframe window type
you just want something floating on top right
i just set transparent=true in the construcotr
Cz*ch person detected 
theres quite a few
CPU time in the measured profile
Are other languages even allowed here or is that just a privilege for german speakers 
there used to be an international channel
but its long gone
german is allowed ig because vee is german idk
😭
Istg last time I've seen a czech channel being a thing on a public english server it got removed within 12h cuz people kept posting illegal shit
put a spacer in the middle with the weight modifier set to 1
i already got it by setting the horizontalAllignment on the row to spaceBewteen, but doing what you said gives a compiler error
e: file:///home/meyer/dev/kt/goodclipboardmanager/composeApp/src/main/kotlin/zip/sadan/gcm/ui/App.kt:44:29 None of the following candidates is applicable:
fun Modifier.width(intrinsicSize: IntrinsicSize): Modifier
fun Modifier.width(width: Dp): Modifier
both do work
width just made sense in my head
your thing is actually better though i just forgot about it
tysm
im actually very surprised how fun the android development is
now try ios development 
never in the world
maybe with kmp
why 😔
liquid ass
it’s not even out smh
on the serious note, im just not fan of apple or xcode lol
fair
a.argv_to_git_url()?; smh
rob pike knew exactly what he was doing and did awful design decisions on purpose
why husk then 😭
i was husking at the reply tweet
rob pike ? are pikes that expensive
ohhh
@young flicker @woven mesa @nimble bone @granite geyser https://github.com/khcrysalis/Copyboard
what does this even mean 
woah so good
(you didn’t ping me 😔)
didnt know u were interested..
well now u do
how do you load svgs in compose
i made a close icon but have no idea how to load it
i've tried vectorResource but it just loads an empty thing
you're supposed to use the vector drawable format
@jade stone
or create an ImageVector
add here and then reference from R.drawable
idk if normal idea has that
oh they arent using android studio
hes making a desktop app
idea does come with the android plugin so maybe its still there
he doesnt have the R. crap
cmp has its own resources thing
basically the exact same as android resources but multiplatform
why is the naming so confusing 
compose = jetpack compose
cmp = compose mp
kmp = kotlin mp
cmp uses kmp
Oh
right click in the res folder and select create vector asset
im not entirely sure if idea actually has that
android studio definitely does
oh i found out they do have a way to load raw svgs but its kinda weird
r u fucking kidding me, compose has all the m3 icons in itself and i downloaded them like an idiot from website 
Oh what
technically that library is deprecated
its still usable and will be forever but its not supported anymore
i couldve just imported them from androidx.compose.material.icons.outlined. 😭
material-icons-extended my beloved
i do have that library implementation(libs.androidx.material.icons.extended)
but like how did i not notice
i recommend avoiding them
personally i really dislike icons defined in code
you cant preview them from the IDE, you cant modify them later, yadyada
i always get svgs and convert them into android vector drawables
just use png icons
which matrix app should i use
@valid jetty we should put down eachother as references on job applications and say we worked at like enron or worldcom for 25 years
Husk
Java serialization is cursed
gASVOAAAAAAAAAB9lCiMBHR5cGWUjAVwbGFpbpSMB21lc3NhZ2WUjBdwaWNrbGUgaXMgdW5zYWZlLCBicm9zIZR1Lg==
you can convert java objects to bytes and store them to disk
then later load it again from the file
deserialize my bytes
wow that sounds really fun! can’t wait to use it the microsoft sharepoint way
Does it also serialize referenced objects?
wait everything in java is object
fields yes
but they need to be serialisable too
what about circular references 
your computer says “NO you can’t do that 3:< fuck you..”
in that phrasing
try it i was shocked the first time
python's serialisation i think is based on java and it supports circular references
i am a circular reference
t1 = datetime.strptime(created_at, "%Y-%m-%d %H:%M:%S.%f")
t2 = datetime.strptime(decision_at, "%Y-%m-%d %H:%M:%S.%f")
total_minutes += (t2 - t1).total_seconds() / 60
avg_minutes = round(total_minutes / len(times)) if times else 0
avg_hours = round(avg_minutes / 60) if times else 0
can someone please help me with this? I am so tired and cannot fathom how to get it to return as a properly formatted time (3h 48m) for example, pretty sure this would just return like (3h 228m) if I did
return f"{avg_hours}h {avg_minutes}m
from datetime import datetime
import math
t1 = datetime.strptime("2025-08-03 14:12:00.000000", "%Y-%m-%d %H:%M:%S.%f")
t2 = datetime.strptime("2025-08-03 18:00:00.000000", "%Y-%m-%d %H:%M:%S.%f")
total_minutes = math.floor((t2 - t1).total_seconds() / 60)
hours = math.floor(total_minutes / 60)
minutes = total_minutes % 60
print(hours, minutes) # 3h 48m
omg thank you so much !!!! I have been staring at this for like half an hour lol
^^
Alright @jade stone, in 2 days: https://canary.discord.com/channels/@me/1124544746262634606/1401745195292299325
@jade stone saladd
Alright @young flicker, in 10 hours: make penis daemon
penis demon
?remindme 7w amogus
Alright @runic sundial, in 1 month, 2 weeks and 4 days: amogus

what is aws
Amazon Web services
Is there any way to check the stream resolution?
I'm trying to increase it, but I don't have any tests to confirm it.
many such cases
https://fixupx.com/ImSh4yy/status/1952159426669908197
This thread is a perfect example of people throwing solutions without understanding the actual problem.
︀︀
︀︀I looked at the code. This is a static pattern showcase website, fully static with minimal client-side reactivity.
︀︀
︀︀This doesn't need Next.js, SSR, or ISR. It doesn't need a $50/month VPS. It could (and should) be plain HTML/CSS/JS hosted on a static hosting service, or something like an S3 bucket behind a CDN for pennies.
︀︀
︀︀There are a number of massive (8292x5923) PNGs (~5-10MB/ each) for SEO screenshots that users never see. That's over 110MB of data that search engines are repeatedly downloading and you're getting billed for. These should be 1920x1080 max, WebP format.
︀︀
︀︀I've converted them to WebP and the result is a 94.4% reduction in file size. That's 17x less data transfer for something that users never see.
︀︀
︀︀Fix the root cause, not the symptom.
it is the solution cuz the guy successfully managed to scam vercel https://vxtwitter.com/meghtrix/status/1952107755587981488
↪️ Replying to @meghtrix
Update: We’re officially sponsored by @vercel now!
Huge thanks to the team for stepping in PatternCraft isn’t going anywhere 🚀
Appreciate all the love, support, and shares. You all made noise, and it worked.
Let’s keep building: http://patterncraft.fun
😭 😭 😭 😭
the web nowadays is such a big joke bro
it's not really scamming tbf lmao vercel itself is the scam
vercel's limits and pricing is a scam
idk why anyone would use vercel
yeah
especially stuff like this https://deltaprophecy.vercel.app/
you can do this in plain html, js and css
oh wait
damn it is in plain html, js and css im so used to vercel apps automatically being made in react
wondering why they dont just use like github pages then...
how to make lxc container connect to internet?
Shoulda use cloudinary for high quality thumbnail generation
or something like it
The free tier and 100 free GB is insane tho
last time the web wasnt a joke was when enron was still around
you can just refuse to do anything related to aws or any devops and live happily
yes




