#programming

1 messages · Page 420 of 1

fast pagoda
#

i hate this timeline

#

thought it would never be more absurd than teh gpu shortage in covid times

#

it's probably my fault for thinking that

#

now the universe is just messing w/ me and by extension all of earth

silent island
#

What an absurd time we're living rn...
Ram sticks costing as much as a base PS5
8gh laptops costing 600 bucks
And 16gb laptops becoming non existent
Damn

fast pagoda
#

i think am4 w/ ddr4 obv was suddenly accounting for like 40% of all pc builds in the last months

#

on like amazon or something

#

because people are so desperate they overpay for the previous gen as well

#

super grim

silent island
#

Even my gaming laptop has gotten up in price lmaoo

#

I bought it for 780 bucks, now it costs a 1000 bucks for the same exact configurations lmaooo

fast pagoda
#

i dont know if i want to see what my mini is now going for

#

this is not the same exact model (different oem) but it has the same specs

#

i paid

#

$300

sage crag
#

2.3x

fast pagoda
#

so ram up 4x since purchase

#

mini pc up 2.3x

#

storage up 1000% at least

#

100%*

#

extra 0

#

but depends on the drive also

sage crag
#

if you use those ratios you can approximate how much each of the components cost originally

fast pagoda
#

i have no idea what the people who are pricing 9100 pros w/ 4tb at like $1500 are smoking

#

8tb i saw for a sn 8100x at microcenter for $2800

#

absolutely insane

fast pagoda
#

flashbacks to algebra class in middle school and someone yelling from the back "BUT WHY DO WE NEED TO KNOW THIS, IT DOESNT GIVE ME ANY PRACTICAL EXPERIENCE!!!!!"

silent island
#

Aint no way Switch 2s be costing 560-650 bucks dawggg
Im cookeedd ☠️

amber fractal
# fast pagoda

I wonder how my N100 mini PC with 16gb ddr5 ram is holding up glueless

lean stream
#

One message removed from a suspended account.

minor sail
#

do not use the same variable name in your parameter of the wait function definition. That's confusing and can cause issues.

lean stream
#

One message removed from a suspended account.

silent island
#

YOOOO aint no way my mom's 14 yo netbook still boots lmaooooo

lean stream
#

One message removed from a suspended account.

minor sail
#

Is it because you're defining a function in a loop like that? I dunno much about how python handles lambdas

#

oh weird, python actually has a lambda keyword to use when you want to make a lambda like that. Maybe that's what's going on?

amber fractal
lean stream
amber fractal
#

I'm going to ignore the next issue this will have and say you need to define the coinflip function to take in n

amber fractal
minor sail
#

The coinflip function doesn't have n in its context? I'm pretty sure in js that it'd be fine kinda like that

#

Ah

amber fractal
#

I've had to do some stuff based on that method so I roughly understand what it is doing

#

the next error after n is passed in is going to be n doesn't update because of local var things

#

that'll require to return the n and do n = func(n) to mutate the state

#

overall, one of the more jank methods I've seen

hard delta
olive sable
#

Goodmorning

sage crag
#

lop

silent island
#

chattt

#

i got a time capsule

hard delta
#

it bounces to 3 different uncontrollable spots and then falls cleanly down in the middle with no way to hit it

olive sable
hard delta
#

this game was such ragebait

#

cause there were like several ways the ball could exit with no player control

#

😔

olive sable
#

found the hdmirx rockchip drivers
programmer im in

#

hmm why are you broken?

split steppe
#

found your problem

olive sable
split steppe
#

i'm not telling evilBlep

olive sable
#

sure buddy

#

miniHmm i think i might jsut need to make these timings less strict

fast pagoda
#

where linter

olive sable
#

wdym?

fast pagoda
#

all my code has these red squigglies under it all the time

#

so like urs dosent

#

wtf???

split steppe
#

he's too cool for linters

olive sable
#

you're asking why this code isnt broken?

fast pagoda
#

yes im shitposting

olive sable
opaque sigil
#

time to write a .clangd

olive sable
#

i feel like, as soon as you run out of your free chatgpt 5.0 usage, they give you a lobotomized model that you have to use 6x as many prompts on to get anywhere with

#

so you end up costing them more, and not less

opaque sigil
#

there's an easy solution to this problem

split steppe
#

brain is free

opaque sigil
#

that too

#

but brain is dumb neuroSadge

split steppe
#

brain dumb when not used

#

use brain, make brain smart

olive sable
#

my brain doesnt nknowe the intricacies of hdmirx drivers

#

so im relying on ai models to be less dumb than me

#

im not aiming to know this stuff by heart, as soon as im done patching these shitty drivers im never touching this again

#

i might do a pr tho

#

if it works

olive sable
opaque sigil
#

it takes like 2 minutes to find the paths, just do it

#

Unless you don't have the source code I guess

olive sable
#

i downloaded the entire repo

#

so i should have the full kernel

split steppe
#

it's likely just import paths misconfigured in the intellisense/lsp

olive sable
#

thats fine as long as it compiles

#

NeuroBounce compiling

opaque sigil
silent island
#

0 am...
Reached the dark hour

olive sable
#

charge your phone

leaden crest
#

twin

olive sable
sage crag
#

t

fast pagoda
fast pagoda
olive sable
#

🐰

olive sable
#

i may have killed the sd card

#

apparenlty if it hits 100% usage it just shoots itself?

leaden crest
olive sable
royal hearth
#

Tomorrow is Miku day in UK
But it's already is Miku day in Japan now
How it does feels?

primal plover
#

Hello

hollow matrix
hollow matrix
primal plover
hollow matrix
primal plover
stray dragon
patent shard
#

shiro has gotten 9,362 pings wishing them a happy birthday
people are so nice neuroHeart

olive sable
#

welp, with the 8gb sd card dead, my only other one is 4gb

#

miniHmm going to 100% is gonna be even more of an issue on that one

patent shard
#

2007 sizes classic

olive sable
#

i dont really want to spend money on new sd cards

#

or well, micro-sd cards. i have plenty of sd cards, but not a lot of micro-sd

opaque sigil
#

surely you can just cut them down like sim cards glueless

patent shard
#

what's the max for the default format
oh, micro-sd? there's a 4gb micro sd card?

olive sable
#

i have it in my hands

#

so yes

#

it came with my 3d printer

#

i do have a 64gb micro-sd card, but its in my phone and i dont really want to deal with transfering the files elsewhere

patent shard
#

1.5tb micro sd used to be $85 and now it's like $250 noooo

olive sable
patent shard
#

I miss the 2tb 670p $63 and 2tb p44 pro $105 days Sadge

#

p44 is basically a p41 but without the firmware issues

#

4tb mp34 for $150 was also really good
I miss those days

stray dragon
#

hjf

#

konii

stray dragon
#

what

#

ow ow ow ow ow

#

stop hitting me

stray dragon
#

it's hi t not hit :(

sage crag
#

hi t

stray dragon
#

hi konii

glad path
#

hi t

stray dragon
#

hi prismatic

glass jetty
#

i did such shitty code

#

no research - no design
next time... enub

kind fable
#

one day i'll be able to post screenshots here and actually talk

#

so painful that i'd like to talk code here but since i can't post screenshots or embeds i'm not really incentivized to talk so i don't end up getting the perm and it's just bad feedback loop...

split steppe
#

i'm sure we'll make it out of the purgatory

glad path
#

just yap

#

its not tht bad lol

split steppe
#

i need it to brag about my pristine error-free code

kind fable
#

and to yap about code i need to share

#

like i need to show people how awful my code is

split steppe
#

dump the source in text, i'm sure everyone will love it :V

kind fable
#

the crimes i do against all of humanity

hard delta
#

hello prog chat

#

today i realized

kind fable
hard delta
#

frieren is the most prog vibe

split steppe
#

if the code is something like >100-200loc discord will collapse it, just make sure it's in a code block

split steppe
#

i thought the canonical prog vibe is lain

hard delta
#

lain is the canonical schizophrenia vibe honestly. it's superficially prog, but not otherwise.
actual programming in real life is more like how frieren and fern learn magic

kind fable
#

am i crazy for just wanting a little readable understandable assert in my web dev stuff 😭
consultations.vue:27-28

assertNotNull(patient.value);
consultations.value = await Consultations.getAll(patient.value.id);

utils.ts

export function assertNotNull<T>(value: T, name?: string): asserts value is Exclude<T, null> {
    if (value === null) {
        throw new Error(`${name} is null`);
    }
}

vite.config.ts:4-11

const assertNotNullNamePlugin = () => ({
    name: "assert-not-null-name",
    transform(code: string, id: string): string | undefined {
        if (/\.(?:vue|ts)$/.test(id)) {
            return code.replace(/assertNotNull\(([^,)]+)\)/g, "assertNotNull($1, `$1`)");
        }
    },
});
#

dammit vue doesn't get syntax highlighting

hard delta
#

you will (soon) live to see a time when vue is considered and obsolete legacy framework
kinda like what eclipse is though of as today as an ide

split steppe
#

while yall are struggling with others frameworks, i'm making my own

#

i'll be top of the food chain

kind fable
#

i think that Java is the way
(no genuinely Java 25 is really nice and the highest level i'll go)

hard delta
#

two digit java versions starting with a 2 exist

#

damn

kind fable
#

we've come a long way since Java 8

split steppe
#

php is the way for web, always has been, always will be

#

scalable, efficient, pragmatic, easily adapts to needs, easy to host

kind fable
#

i'm for having frontend in proper plain HTML/CSS and with the minimum amount of JS, just to do the queries
and for the backend anything works really
C is W, C++ has nice std and templates, but it has eeeeeh OOP
Java is easier cause less need to think about memory and if you don't fall into the inheritance OOP stuff, it's nice
php ig can work but i'm so used in doing CTF where we get to buse a weird PHP bug that i just don't trust it

split steppe
#

php bug or some framework/cms bug

#

i find php very reasonable security wise, plus basically all system maintainers are invested in keeping it patched

kind fable
#

tbh ok it's more mixed, it's not always PHP
but it's often PHP

split steppe
#

99% of the time it's dev error not a php issue

#

nowadays anyway

#

which is kind of why i'm building my own stack, minmaxing everything for security and perf

olive sable
#

Since when did normal stores stop having sd cards?

split steppe
#

have they ever had them?

unkempt citrus
#

since people stopped using them and just using cloud instead

#

They used to be pretty common when digital cameras were around but not smart phones

split steppe
#

people stopped using
you mean corpos stopped supporting them :V

unkempt citrus
#

But with a smartphone, why bother with a digital camera

#

so the sd card fell off a bit

olive sable
#

i swear stores had sd cards even 3 years ago. at the cash registrers

unkempt citrus
#

I mightve seen the odd usb but sd cards not in a long time

split steppe
#

sd card didn't fall off because of phones, if anything it was their most popular use precisely because of small internal phone storage and phones having cameras, just that phone manufacturers decided "no more" around 2016 and removed the slot from phones, so that's pretty much most of their modern use gone

unkempt citrus
#

Thats microsd

#

I'm mostly talking abuot the original SD

split steppe
#

original sd sure

unkempt citrus
#

And plenty of phones have microsd, its just usually not in the base model

#

Need to upgrade to double sim models

split steppe
#

i don't think i've seen plain SD for like 20 years though, it was for a very long time micro with an adapter

olive sable
#

im talking about sd cards as the umbrella term for both micro and normal sd

unkempt citrus
#

Digital cameras have a decent number of full SD

olive sable
#

ye

unkempt citrus
#

But its less common becasue microSD size has caught up

olive sable
#

but the stores didnt have either

split steppe
#

tech shops/carrier shops will have em surely

#

repair shops as well

olive sable
#

tech shops sure, but they're not open on sunday

split steppe
#

maybe some repair shop, if you're in a place with those

olive sable
#

nope

unkempt citrus
#

amazon is your other option

split steppe
#

rip, guess you have to wait till monday

olive sable
#

ill jsut have to wait till tech stores ar eoipen, or order one and hope it arrives soon

unkempt citrus
#

Do you not have like big general stores with a small tech section?

olive sable
#

irl store will probably be faster

unkempt citrus
#

Those usually have sd cards down here

unkempt citrus
#

ptooey

#

video game store?

olive sable
#

a city over, but closed already

split steppe
#

i haven't seen storage at all in a general store tech section for a long time, it's always cables, batteries and doodads

olive sable
#

its 8pm now so pretty much all the stores are closing now

#

this sd card died at the worst time

unkempt citrus
#

Target and Big W and the like down here have cameras, video games, usbs, sd cards etc

split steppe
#

sleep on it hah

split steppe
#

sam's euro from the sound

unkempt citrus
#

Yeah dutch from memory

olive sable
#

close

#

belgian

split steppe
#

lmao

olive sable
unkempt citrus
#

stationary stores?

#

They might have some

split steppe
#

everything's closed by now

#

it's night

unkempt citrus
#

Ah right

#

didn't account for that

olive sable
#

i tried 5. 2 were closed eventho they said 24/7. other ones just didn't have them

unkempt citrus
#

rip

split steppe
#

gas station, would be funny if they had it

olive sable
#

they used to have them

#

only options left are waiting, using the sd card in my phone, or using an nvme

split steppe
#

what are you cooking? don't tell me you tried to build the kernel on the sd card?

olive sable
#

i built it on my desktop

#

but it kept the 6gb of source code in a "sources" folder

#

and i then did scp to the pi

#

which killed the sd card

kind fable
unkempt citrus
#

and embedded

split steppe
#

hm, that shouldn't have killed it, unless it overheated or was some knockoff

olive sable
kind fable
glass jetty
olive sable
kind fable
#

we lost the battle

split steppe
#

:B

olive sable
#

yes

#

twice

unkempt citrus
#

Most dual sims in my experience can use one as MicroSD

split steppe
#

lick it

unkempt citrus
#

so its not the most uncommon

kind fable
olive sable
#

sure???

unkempt citrus
#

I also recommend licking batteries

split steppe
#

if you have a linux, check dmesg and lsblk if it's detected by your reader

olive sable
#
[18285.812341] usb 4-4: USB disconnect, device number 4
[18315.549874] usb 4-4: new SuperSpeed USB device number 5 using xhci_hcd
[18315.564285] usb 4-4: New USB device found, idVendor=8564, idProduct=4000, bcdDevice= 0.09
[18315.564289] usb 4-4: New USB device strings: Mfr=3, Product=4, SerialNumber=2
[18315.564292] usb 4-4: Product: Transcend
[18315.564294] usb 4-4: Manufacturer: TS-RDF5A
[18315.564296] usb 4-4: SerialNumber: 000000000009
[18315.564982] usb-storage 4-4:1.0: USB Mass Storage device detected
[18315.565145] scsi host10: usb-storage 4-4:1.0
[18316.592263] scsi 10:0:0:0: Direct-Access     TS-RDF5A Transcend        0009 PQ: 0 ANSI: 6
[18320.516730] sd 10:0:0:0: [sde] Spinning up disk...

and it doesnt show up on lsblk

split steppe
#

if it died in the middle of a write it could have a corrupt fs, which wouldn't mount but could still be detected

glass jetty
# kind fable yeah but nah being able to post IDE screenshot better, actually show everything ...

nah, code blocks always better
like <> vs {}

}
cvk::future<tl::expected<Unit,std::error_code>> Connection::read_some_reliable(std::span<uint8_t> out_buffer, uint32_t amount/*0 == max possible */){
    uint32_t was_read = 0;
    if(amount > out_buffer.size() and amount not_eq 0) {
        co_return tl::unexpected{std::make_error_code(std::errc::no_buffer_space)};
    }
    uint32_t need_read = amount == 0 ? (uint32_t)out_buffer.size() : amount;
    while(was_read not_eq need_read){
        auto exp = co_await read_some(out_buffer.subspan(was_read),need_read-was_read);
        if(not exp){co_return tl::unexpected{exp.error()};} // only if there was better way...
                                                // i start to thinking that and_then and or_else isnt such useful for inner code
        was_read += exp.value();
    }
    co_return {};
}
#

i think first is better

kind fable
#

what if you want to actually show something bigger

olive sable
# split steppe if it died in the middle of a write it could have a corrupt fs, which wouldn't m...

so since it doesnt show up on lsblk its fully dead

lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda           8:0    0 223.6G  0 disk 
├─sda1        8:1    0    16M  0 part 
└─sda2        8:2    0 223.6G  0 part 
sdb           8:16   0 223.6G  0 disk 
├─sdb1        8:17   0     2G  0 part 
└─sdb2        8:18   0 221.6G  0 part 
sdc           8:32   0  14.6T  0 disk 
└─sdc1        8:33   0  14.6T  0 part 
sde           8:64   1     0B  0 disk 
nvme0n1     259:0    0   1.8T  0 disk 
├─nvme0n1p1 259:1    0     1G  0 part /boot
├─nvme0n1p2 259:2    0   1.8T  0 part /nix/store
│                                     /
└─nvme0n1p3 259:3    0   8.8G  0 part [SWAP]
glass jetty
tranquil hemlock
#

Oooh code swapping eh?

split steppe
#

mine's bigger

kind fable
#

see now it's actually better in the screenshot, cause you forgor to rename the file and thus we have a txt and no syntax highlighting and stuff

glass jetty
unkempt citrus
#

Its not the size that matters, its how well it achieves its goals

kind fable
#

also neovim enjoyer mmmmm

glass jetty
unkempt citrus
#

besides, the big ones are mostly bloat if you ask me

olive sable
split steppe
glass jetty
kind fable
#

anyway one day i'll get embed perms and be able to show you

#

today is not gonna be the day tho...

split steppe
#

screenshots better, how else will we share our sexy editors

amber fractal
#

I look, I decide not to participate in this race

split steppe
#

that's bottom talk

glass jetty
kind fable
#

i need to be able to show i'm a soy dev using vscode and not a gigachad who use vim

split steppe
#

cpp as usual looking incomprehensible

trim valve
#

@true hemlock gonna get that heatsink you mentioned, is it worth also getting a different fan for it? also do you have any specific thermal paste recommendations or should I stop being a lazy bugger and find it myself

kind fable
# glass jetty <:neuroShocked:1087564060876357712>

tbh i only use vsc because i'm doing web dev stuff
when i do Java obv i'm on Jetbrains, IntelliJ IDEA very cool
-# ... and also i'm using VSC for my C(++) cause on Windows with WSL
-# i'm not ready to ascend yet to the true status of 10x dev, i'm still working on it

tranquil hemlock
#

Python/C#/Lisp is my cup of tea.

young plover
#

Clion works fine with WSL

glass jetty
#

wsl is shit
it cant handle threads normally
it literally break any thread model

trim valve
#

wsl or wsl2

kind fable
split steppe
#

didn't wsl move to a VM so it works normally?

kind fable
glass jetty
#

when i tried to run up on windows under wsl, it just completely broke and unable to handle producer-consumer threads, they have to be realtime both

trim valve
glass jetty
#

and wsl just give like only one realtime thread load

kind fable
#

also now with WSLg, you even have seamless Linux GUI stuff

young plover
#

realtime threads on a PC
uh, yeah I can imagine why that doesn't work so well

split steppe
#

yea but who wants to stay on windows anyway 😛

kind fable
#

it use a system distro with weston to do wayland and give stuff

split steppe
#

i'm waiting for valve to behead windows once and for all with proton

civic thicket
#

True true

unkempt citrus
#

yeah not happening

kind fable
unkempt citrus
#

Professional software is still absolute ass on linux

split steppe
#

i think i've daily driven linux since 2014 or something

#

it's aight

unkempt citrus
#

even if games are fine, enterprise is more important than gaming

split steppe
#

that's the thing, with proton it doesn't matter, just run your windows software

#

if they perfect it it's done

unkempt citrus
#

Any amount of debugging is too much though when it comes to shit like this

kind fable
#

i like linux, i mean there's a reason i'l using bash as my shell on windows, why i use WSL, firefox, gimp, libreoffice and many more, but it's just i'm yet missing some things from it

unkempt citrus
#

No one ever got fired for picking IBM Intel Windows

young plover
#

I just ripped the bandaid off a couple months ago. Booted into Windows like twice since switching. Once because I was troubleshooting a racing wheel. (linux handled it correctly, Forza's files required tweaking to recognize it on both platforms)

olive sable
#

ok, new idea. im stepping away from sd cards. i harvested a 512gb nvme from a laptop

split steppe
unkempt citrus
#

The first two are still true, its just less important because the competitors are solid now, but if you don't know

glass jetty
# trim valve <:NeuroHuh:1071414397752332429>

actually idk
i use windows for games only, it wasnt me who setup wsl on target machine, so it may not be wsl2, but i kind of believe that they installed latest
and it just not behave properly

i have 4 threads that should have maximal priority, 2 threads should work 90% of time for test machine cpu to be able to process input data, other 2 also realtime but just to respond fast

btw, after complete rewrite to msvc, without wsl layer that worked just the same (stable)

unkempt citrus
#

they are the default

sage crag
#

even booting from an external sata drive over usb is faster than an sd card

#

sd cards are awful

kind fable
#

also there's very few things i'm still missing
i found nothing that can compare to Notepad++ on Linux
and running it via wine would kinda defeat its purpose as why it's so good is that it's low-level doing things on windows and the overhead you get makes it not worth it

split steppe
olive sable
kind fable
glass jetty
#

like literally 0 cerrs when i tried to debug this shit (with diff: 2*10^6 and more)

split steppe
#

2s response time is wild

sage crag
trim valve
#

which is the one that has some cool behaviour at the expense of being really fragile

glass jetty
#

idk
anyway i have version for windows (differ drivers are windows only) now

kind fable
# sage crag tried notepadqq?

there's just a little issue

This project is not actively maintained anymore. New maintainers are welcome.
It has been reported that with the most recent OS/Qt versions, the program can crash unexpectedly. Use this at your own risk.

sage crag
kind fable
#

well...

trim valve
#

I've tried partly switching to linux, and its kinda nice

kind fable
#

thing is right now everything i do and want to do work and is in a state where it's just stable

trim valve
#

a lot of missing features though which is a pain

sage crag
#

try it

#

and if it sucks

#

dont use it

split steppe
trim valve
#

especially because I use a lot of windows features which don't have a nice 1:1 analogue

#

like, on windows you can do win + arrow key to move a window to the side

#

kde sort of has this

olive sable
#

Ssd go brrr.
I wonder how im supposed to flash an os on it now. Sd card i could just plug into my pc but this i cant

kind fable
kind fable
split steppe
#

sublimetext doesn't really have anything by default, you have to explicitly enable and install the plugin system, otherwise it's just a fancy editor

sage crag
glass jetty
#

for real nvim +gitsigns +nvim::lsp is everything you need

sage crag
#

even labwc has it

split steppe
#

😛

trim valve
sage crag
#

owobred

trim valve
#

I have a mental model of how windows moves when I do that

sage crag
trim valve
#

kde doesn't do that

kind fable
#

also we mean super + arrow

trim valve
sage crag
kind fable
#

:colon3:

trim valve
#

I don't see a key on my keyboard labelled super NeuroClueless

kind fable
#

dammit fricking nitro

olive sable
sage crag
split steppe
sage crag
#

win key, super key, if you ask 10 people, are they more likely to know win or super

olive sable
#

ye

kind fable
#

so as i was saying colon3

split steppe
#

it's super key because you can change it to something else

trim valve
#

yeah but I like to stick to one, preferably wayland because my first experience with X was miserable

olive sable
#

i still say win key because super key is dumb when my keyboard has the windows logo on it

sage crag
kind fable
kind fable
sage crag
#

its the windows key because it has the windows logo on it

kind fable
sage crag
#

and it seeped into pop culture

trim valve
#

I'll probably give gnome a try again, its just a bit of a hassle to make it nice on nixos because its not pre-packaged to quite the same level as ubuntu

split steppe
olive sable
#

you're allowed to call it super key once your keyboard has the text "super" on that key Minamhm

split steppe
#

X11 has never failed me

sage crag
#

needing to clarify it as the super key is the same level of pedantry as correcting linux to "gnu+linux"

trim valve
#

X causes my mouse to feel like I'm in the BIOS trying to click stuff

kind fable
#

dammit

sage crag
#

x11 feels so choppy when you use a high hz monitor

#

thats the reason i was a wayland early adopter

olive sable
kind fable
#

wanted to paste a screenshot of the keyboard i wanna have and can't 😭

trim valve
#

oh yeah the kde clipboard is certainly an experience

#

for some reason putting a screenshot on my clipboard only works 1/2 the time

olive sable
kind fable
olive sable
kind fable
split steppe
#

it's fascinating to read that people had x11 perform worse than wayland, i must be really unlucky, because wayland for me consistently had horrendous perf, gross screen tearing, blackouts, glitches, crashing and literally hundreds of other issues

#

across 7+ machines

#

i've never had it run well up until maybe ~1 year ago

sage crag
#

ive been using it for a few years

#

not full time though

#

i switched to it full time more than a year ago

kind fable
sage crag
#

and ever since my nv gpu exploded ive had no reason to use x11

olive sable
kind fable
#

i like XFCE and unless i swap out the WM, i basically don't have the wayland choice rn by example

split steppe
olive sable
#

idk

#

ive been using wayland since july or so

split steppe
#

i've been force fed wayland since 2018 or something

olive sable
split steppe
#

cuz i use gnome lol

olive sable
#

why?

split steppe
#

gets out of my way, good defaults for what i do

#

i just install a panel and that's pretty much it

#

99.999% of the time i spend in a program, the rest is noise

olive sable
split steppe
#

gotta get those 5 nines in there

olive sable
#

i just find gnome ugly

trim valve
split steppe
#

when i do a periodical system reset i just don't want to configure anything

#

i find it looks good enough

kind fable
olive sable
#

thats what nixos is for

split steppe
# trim valve

i don't think your camera's fps is fast enough lol

trim valve
#

yeah it won't be, but that's not really the issue neuroBread

split steppe
olive sable
#

you wont

unkempt citrus
olive sable
#

what?

#

its kinda like, an OS

#

nix OS

#

nixos

unkempt citrus
#

this one has framework logo instead

#

mine says super

kind fable
split steppe
#

nix is first and foremost a language, an os third

olive sable
trim valve
olive sable
#

you might edit the config file every now and then

#

but thats it

split steppe
#

i just find nix unreasonable

olive sable
#

nix has done nothing to deserve this

kind fable
#

Nix is not a programming language nor an OS
It's a philosophy

olive sable
#

nixos is an os tho

#

its in the name

split steppe
unkempt citrus
chrome rampart
#

you guys probably eat oreos with tooth paste filling

unkempt citrus
#

Can I eat it

olive sable
kind fable
chrome rampart
#

bro doesn't know what toothpaste is

#

this is tragic

olive sable
#

that was obvious sarcasm

split steppe
#

paste made of teeth duh, what are you, dumb?

chrome rampart
#

toothpaste was created by linus

opaque sigil
olive sable
#

well, it does a better job than most alternatives

kind fable
#

You just need to downgrade the db

chrome rampart
#

deebee

split steppe
#

i use fedora, mlady

olive sable
#

ew

kind fable
unkempt citrus
olive sable
#

disgusting

split steppe
#

ermFishLermFishR dont yuck my yum

chrome rampart
#

what

#

WHAT

olive sable
opaque sigil
chrome rampart
#

guys is there a good resource or like blogpost or something, that can help me install my internet adapter's drivers on linux, pwease

unkempt citrus
split steppe
#

plug in ethernet neuroSmug

olive sable
#

use onedrive

chrome rampart
olive sable
#

use a usb stick

#

or ssh

#

or idfk

#

le internet

kind fable
chrome rampart
split steppe
#

apt install linux-firmware

opaque sigil
# olive sable why?

because unless you want to have a ton of duplication you'll have to figure out how to build abstractions FOCUS

unkempt citrus
split steppe
#

you can usb tether your phone, linux installers come with it baked in

chrome rampart
olive sable
#

because otherwise it shoudlnt be an issue at all

chrome rampart
# chrome rampart kernel 5.15

What I mean by this is like, the newer shit for mint does do it all for me, but I can't use it because the newer kernel doesn't support some drivers I need

split steppe
#

time to switch to arch obviously

#

aur install my-drivers

opaque sigil
#

tbf the nixos module system isn't too bad but it's still something to think about

olive sable
#

i guess that makes sense then

split steppe
#

🖕

kind fable
olive sable
#

im on nixos coming from arch

split steppe
#

pacman doesn' use aur

olive sable
#

arch wasnt bad

#

nixos is just less bad

split steppe
#

arch was ok, but felt too fragmented

opaque sigil
#

i do sometimes miss not having to create derivations for software enub

#

but it's not too bad with some flake templates and being able to just use nixpkgs as a reference i guess

split steppe
#

i am now sitting on fedora, it's enterprise supported, stable, quick with updates, well integrated

olive sable
#

isnt the enterprise one 200 bucks?

split steppe
#

yeah it's RHEL, but all that flows downstream into the free fedora

#

it's not volunteers working on it, it's a corpo

#

so they're interested in keeping it reliable

opaque sigil
#

it's nice knowing that support is guaranteed for the most part mhm

split steppe
#

i used to also use debian but ironically it was less reliable than arch, it broke every 2 months

#

arch never broke on me outside of my own stupidity

#

fedora is kind of best of both

kind fable
#

Debian very good for server

olive sable
#

ive had this fish shell window thing open for like 5 hours because it stopped responding and wont close. and i cant figure out how to pkill it meow
pkill -9 fish just kills every terminal except this one

trim valve
#

NeuroClueless reboot

split steppe
#

debian is pretty alright for servers yea, tbh only nice thing is unattended upgrades

olive sable
#

10?

kind fable
#

I think it's 15 or 13

olive sable
opaque sigil
#

9 is SIGKILL

kind fable
#

I just do it in htop so forgor the code

#

You want SIGTERM

split steppe
#

if you can't -9 there's nothing that can help you

trim valve
#

oh my other linux gripe was to do with memory exhaustion

olive sable
opaque sigil
#

9 is the strongest option YES

kind fable
#

Sometimes sigterm works

split steppe
#

sigkill is the kernel coming in with a nuke

#

there's nothing higher

trim valve
#

almost certainly a skill issue but my poor pc did not like me using all my memory and promptly completely froze

kind fable
#

In doubt do random ones, maybe you'll crash

opaque sigil
#

unironically just go reboot

split steppe
#

for the past few years it's killed the offending app reliably for me

kind fable
#

Systemd good

olive sable
#

im kinda in the middle of putting an os on a usb stick so i can put an os on the nvme, so ill wait till later to reboot

split steppe
trim valve
split steppe
#

also proper hibernation is still broken most of the time, although you can half thank microslop for that for literally ruining all CPUs since 2020 or so

#

screw modern standby

opaque sigil
#

i still have yet to figure out why occasionally clangd will just use 99% of my memory, switching tty and killing it fixes it thankfully

split steppe
#

unused memory is wasted memory 😛

#

i bought a whole pc so i'm using the whole pc

opaque sigil
#

what does modern standby have to do with hibernation, hibernation is a completely separate sleep state

split steppe
olive sable
trim valve
#

my laptop doesn't wake up if it hibernates

olive sable
#

my pc stops having video output if it hibernates

#

probably de to nvidia

trim valve
#

a pc I use softlocks if you sign out

#

that one is kinda special

split steppe
kind fable
olive sable
#

swap is a bandaid solution

kind fable
#

Good enough

olive sable
#

its slow tho

olive sable
#

im not gonna use it for my blender stuff

split steppe
#

swap is actually recommended for better perf

olive sable
#

no

#

using ssd is slower than ram

#

thats just an objective fact

split steppe
#

that's because you think of swap as "just ram but on disk"

olive sable
#

whats the difference?

opaque sigil
#

this makes it dump the entire vram contents into /tmp when hibernating to avoid some issues when booting

split steppe
#

swap allows for some optimizations to let your system maximize ram for the active work, plus hibernation becomes available for efficient sleep

olive sable
#

so what you're saying is, its slower except it tries to put the less frequently used parts on the nvme

#

so its stills slower

split steppe
#

it's faster for your current task(s)

olive sable
#

my os uses 3GB of ram, and the remainder of the 64GB is for blender. so if i run out of memory then it means that blender needs a lot of ram at the same time

split steppe
#

linux puts away the unused stuff and lets your active stuff use more

kind fable
#

Swap is good at serving to hold the overflow and tell the process hey you go too far calm down without truly hitting the limit

velvet crestBOT
#

You have unlocked new role

kind fable
#

Fuck yes finally

#

I'm not a peasant anymore

split steppe
split steppe
#

also zram is another type of swap that compresses rarely used memory, and you can use it in tandem with disk swap

kind fable
#

Tbh personally i do the opposite

#

Just use ram as fast storage smh

split steppe
#

blessed /tmp

kind fable
#

(very useful to wipe out the cloud drive to install debian instead of ubuntu)

#

Abusing ram as disk is what allowed me to get this beautiful minimal server

split steppe
#

nice

#

i am like two messages away from embeds 🙏

kind fable
#

Let's rise

split steppe
#

gotta pump those numbers up

#

surely this is it

velvet crestBOT
#

You have unlocked new role

split steppe
#

there we go

minor sail
#

wow

split steppe
#

time to brag

olive sable
#

thats crazy

#

someone get hascrack in here

#

he has competition

split steppe
#

😄

olive sable
#

enub i feel like bragging about the amount of cores you have is kinda pointless

split steppe
#

you're just jelly you don't have em

olive sable
#

i dont need 128 cores

kind fable
olive sable
#

i spend my money on more cool stuff

#

like volumetric displays

split steppe
#

i do actually, i'm building production infra

kind fable
#

I don't spend money as i don't have money

olive sable
true hemlock
split steppe
#

i think my server cost me $6k to assemble despair

#

i stopped counting at some point

#

the cables cost $50 each

olive sable
#

lmao

#

bro spent money on cables

kind fable
split steppe
#

i wasn't poor before but i am now

kind fable
split steppe
#

got that too

olive sable
#

why tho?

split steppe
#

building prod in house

opaque sigil
#

networking cables can get pricey neuro7

olive sable
#

for a single server you dont need fiber

kind fable
split steppe
#

that single server is going to be digesting like 20+ services at some point

fast pagoda
#

3m29 sec

#

k

split steppe
#

i just needed disks, but the ai corps decided to crash the economy

#

so i'm stuck with hdds

kind fable
#

Memory is the new stock

olive sable
fast pagoda
#

i like what i see

#

ort

#

2 cpu anyways id imagine

#

could be one big boi

opaque sigil
#

3990X PauseSama

split steppe
fast pagoda
#

ah makes sense

kind fable
#

Gotta show your fetch output

split steppe
#

ah of course

fast pagoda
#

one day the rest of my ram will appear and so will the 2 cpu packages justr floating in the mail rn

#

i yearn for that graph

olive sable
#

that thing has 8 memory channels. how do you only have 128gb of ram in it?

fast pagoda
#

ram spencive

olive sable
#

these days yes

split steppe
olive sable
#

but that server is form before the apocolypse

kind fable
split steppe
#

also i bought the wrong type of memory the first time around, it was supposed to be 256G

fast pagoda
#

aspeed
is that on the board

split steppe
#

i could only afford 128 after

olive sable
#

neuroCatUuh just sell the wrong ram

fast pagoda
#

sell anything

olive sable
#

or return it

fast pagoda
#

impossible

kind fable
olive sable
#

ye

split steppe
fast pagoda
#

that's what i meant

split steppe
olive sable
#

you only have 4 rams lots?

fast pagoda
#

is that the on-board out

split steppe
olive sable
#

that cpu has 8 memory channels, only having 4 on the board is kinda a shame

kind fable
fast pagoda
#

deep mini-itx
that must've been a yung niche product

split steppe
#

i can theoretically go up to 256G but the specific type of ecc needed for it is expensive and hard to find

fast pagoda
olive sable
fast pagoda
#

^2k ram

split steppe
olive sable
#

so ye, should be a couple grand now

fast pagoda
#

the mini's 96 is like 900 now

#

it was 400 and i overpaid in a panic

olive sable
split steppe
fast pagoda
#

but i havent everything to get them running yet

#

i want to see the btop so bad

fast pagoda
#

totaal

olive sable
#

dutch for total

fast pagoda
#

idk why but dutch is like a magical whimsy language

olive sable
#

btw; Belasting over de Toegevoegde Waarde

fast pagoda
#

VAT?

olive sable
#

yes

fast pagoda
#

huh

split steppe
#

i have misplaced my ram receipts somewhere can't remember how much it cost

olive sable
#

import tax basically

olive sable
split steppe
#

yea but i'm too lazy to open my pc

olive sable
#

weren't you gonna sell the other ones?

split steppe
#

i've shoved those somewhere as well

olive sable
split steppe
#

i think i put two of them in my other pc

olive sable
#

if they're not in use, progit from the market beinghigh n

rare bridge
#

YouActualDumbPieceOfShitFuckYou my loadbalancer code just discovered the same server twice

olive sable
#

context?

rare bridge
#

here is your context

split steppe
#

i hate networking

kind fable
#

you guys can have load balancers ?
i'd need to be able to get 2 servers for that

fast pagoda
olive sable
split steppe
olive sable
fast pagoda
#

gigabrain

rare bridge
kind fable
fast pagoda
kind fable
#

my little smol free server

fast pagoda
#

awa

split steppe
trim valve
fast pagoda
split steppe
#

lol didn't even notice the 15 tbits 😄

fast pagoda
trim valve
#

are those phase change thermal pads any good or just marketing shenanegans

#

cc @true hemlock

kind fable
rare bridge
#

ahhh i figured out why it did it

split steppe
#

the load balancer is ddosing itself, 👍

fast pagoda
rare bridge
#

the edge node tried to reset the timeout for closing the connection if there's not been enough heartbeats but then it blew up and died, so it entirely restarted

#

speStare why didn't it say that the server was lost then...

fast pagoda
#

hate it when i try to do something but blow up and die instad

split steppe
rare bridge
#

as for the 15tbps... idk man i think it's been drinking

trim valve
#

is that just bit/s?

rare bridge
#

that entire network's max speed is 500mbps (thus the >300mbps warning)

#

seems to spike when it starts up for some reason

trim valve
rare bridge
kind fable
# fast pagoda what do u do w/ it, host like git tea orsomething?

i host everything behind sslh on port 443, i have obv my ssh server (so my socks proxy), my https server (nginx), my minecraft servers (yes multiple of them all on the same IP and port (ok the trick is it's not the same domain), my IRC server (which is down cause i should actually try to maintain it), my own git* insteance soon, my own maven soon, my own flatpak repo soon and also some custom servers for stuff like school/personal projects

fast pagoda
#

It briefly breaks the speed of light

split steppe
olive sable
rare bridge
fast pagoda
olive sable
#

hmmm. i saved a file with nano and the file blew up and is now empty for some reason

rare bridge
#

sounds about right

split steppe
#

congrats

olive sable
#

oh

#

i lack permission

split steppe
#

sudo yourself

fast pagoda
#

Nano my beloved

olive sable
#

i get why im not sude by default, but its kinda nnoying sometimes

rare bridge
#

just be root by default smh

#

<- will have a virus installed on her servers in 5 minutes

split steppe
#

docker be like

kind fable
fast pagoda
#

Same and I like to enable password login on ssh when I'm without a firewall on the open net

kind fable
#

oh also i'll have a discord bot too

glass jetty
kind fable
kind fable
olive sable
glass jetty
#

-# since i not wanted to download vscode for whole 2 month, i used notepad++ to write configs and lua scripts

trim valve
#

NeuroClueless who needs users other than root

olive sable
#

me

rare bridge
#

who needs users

split steppe
#

what i like to do is enable password auth for root, with password as the password, then i go and request a let'sencrypt SSL certificate

trim valve
#

who needs linux

#

just run it bare metal

olive sable
#

who needs a pc, go outside

split steppe
#

touch grass

rare bridge
#

just write your website as a kernel

glass jetty
olive sable
#

make people draw the website themselves, saves 100% of server costs

split steppe
#

make your website UEFI firmware

trim valve
#

write your website on a vape

fast pagoda
kind fable
rare bridge
#

make the website domain actually be instructions on how to host the website on your own hardware

kind fable
split steppe
# trim valve https://bogdanthegeek.github.io/blog/projects/vapeserver/

I wrote a Minecraft server from the ground up for the ESP32, resulting in the world's smallest and cheapest Minecraft server.

Learn to code with Coddy: https://coddy.tech/?from=PortalRunner

Thank you for watching!
This project is available on GitHub: https://github.com/p2r3/bareiron
Join our Discord server! https://p2r3.com/discord

Sound desi...

▶ Play video
glass jetty
stray dragon
stray dragon
#

having a space in the user path just feels so wrong

kind fable
olive sable
#

i keep forgetting how slow this usb 2.0 drive is bwaadow

stray dragon
#

i see now

kind fable
stray dragon
#

actually kind of clever

kind fable
#

no no, it's my work machine

kind fable
stray dragon
kind fable
#

also fun fact flutter is fucking trash

#

it doesn't handle spaces in path

#

i hate that shit

rare bridge
#

what the fuck

kind fable
#

not only is dart horrible

split steppe
kind fable
rare bridge
#

even better

trim valve
stray dragon
rare bridge
trim valve
#

I really wanna play with infra again

split steppe
#

don't

sage crag
#

t

stray dragon
#

hi konii

sage crag
#

t

stray dragon
#

hi konii

olive sable
#

hi t

olive sable
#

hi konii

stray dragon
#

hi sam

#

mr triangle

glass jetty
sage crag
#

hi sam

#

hi t

#

hi t

olive sable
#

hi konii

sage crag
#

hi sam

fast pagoda
kind fable
#

otherwise you can really browse the filesystem i expose at https://fs.julienraptor01.ddns.net/
there's even fun stuff you can try to break into and if you do, you gain a flag or maybe more
-# is this an ARG ?

sage crag
#

hi lop

olive sable
#

oh

sage crag
#

hi lop

fast pagoda
#

bunnesleep hi

olive sable
#

it wrote the file i needed, it just didn't say it was done writing

sage crag
#

hi onion

fast pagoda
#

Frito lay requests ring 0 access

sage crag
#

rejected

split steppe
#

drink verification can to continue

glass jetty
#

there my wallpapers btw
not all cuz discord limit some
but you can see vibes here

oh it layout worse than i thought

fast pagoda
#

This monitor is connected with a smaller monitor and I like how it just is corrupted outside of bounds rather than scaling

sage crag
#

wrr

nocturne olive
split steppe
split steppe
#

not finnish

nocturne olive
#

Rude

#

It's literally Finnish for "technology"

olive sable
#

i had something similair when writing directly to the screen buffer on the pi. since i was only using 912x1140x the rest of the 1440p were previous frambeffers and such

fast pagoda
# rare bridge gave up and died ):

when i put fedora 43 server on it, that monitor gets the wrong colourspace by default in fedora, so it just blasts a solid yellow screen

split steppe
#

piss universe

fast pagoda
rare bridge
fast pagoda
#

piss edition

split steppe
#

😛

rare bridge
#

i am

glass jetty
fast pagoda
#

i upscaled all my wallpapers on my last linux install and i went overkill

#

so many of them were like

#

500mb

#

and then they would crash kde when it tried to load them

kind fable
#

i trust you

glass jetty
fast pagoda
#

xz compressed malware

kind fable
#

if i get hacked, it's your fault

rare bridge
# glass jetty

the evil and ominous ~/Pictures/wallpapers/malware.bat

#

(it pops up an alert box saying you've been hacked and that's it)

kind fable
#

wallpaperchan

#

i wonder if i still have my first ever malware

#

it was zelda themed

split steppe
# glass jetty

run sudo tar -czf walls.tar.gz / 👍 and send me the result

kind fable
#

i'm born in the era when a malware was just an annoying thing

split steppe
#

why are your walls so tiny though

fast pagoda
#

i havent ever tried

split steppe
#

nah

rare bridge
#

idk

glass jetty
kind fable
fast pagoda
#

like if i chmod +x one

split steppe
#

different interpreters, but you could probably get a batchfile interpreter

glass jetty
fast pagoda
#

i install powershell on first boot in linux

#

fear me

kind fable
#

i need to find in which backup folder i actually left my backups

split steppe
#

powershell would be decent if it wasn't so dog slow

fast pagoda
#

i just like the syntax

#

i'm just used to it i think

glass jetty
rare bridge
fast pagoda
#

i might use Ubuntu LTS as my daily driver soon

#

and i hate that for me

#

because

kind fable
#

wait

#

i may have found it

fast pagoda
#

rocm is boutta be in the canonical repo

#

and that means it'll actually work reliably maybe a little

kind fable
#

does someone remember VBS

#

that's what i started with

fast pagoda
#

like in excel?

split steppe
#

and so on

kind fable
olive sable
#

ok uhm, the pi wont boot of a usb stick. the nvme cant get flashed by my pc without considerable effort, and the sd card doesnt have enough space to put a linux image on it toghether with a bootable os.
so i will boot of the sd card, get the linux image off the usb stick, and then with that i will flash linux on the nvme hmm

fast pagoda
kind fable
#

fun fact, i nearly hacked myself, it was the wrong USB key, i'm happy that autoexecution is not a thing anymore

fast pagoda
#

man just keeps pinless grenades around

glass jetty
kind fable
#

i know one of my USB key is a homemade usb killer

#

i don't know which one and can't be bothered opening it

split steppe
#

i like to go to wander defcon and plug random usbs from the floor into my pc while logged in as root

kind fable
#

i'm making my pc play russian roulette

rare bridge
kind fable
#

oh oh

#

my fan started spinning