you CAN invert a binary tree, right anon?
>>107834883of course
'''void invert(Node &root) { std::stack<Node *> nodes; nodes.push(&root); while (not nodes.empty()) { Node *top = nodes.top; nodes.pop(); if (top->left == nullptr && top->right == nullptr) continue; Node *tmp = top->left; top->left = top->right; top->right = tmp; if (top-left)Comment too long. Click here to view the full text.
>>107840173>modifying the tree instead of simply returning the other nodengmi
>>107834883>memorizing a useless data structure transformation that can be googled in 3 secondsusecase?
>>107834883Is there anything more useless?
I did a fair x86_64 vs ARM comparison benchmarking a real world activity such as compressing a 4K blu-ray movie mux with x265. The Apple M4 Pro uses about 35% less energy than the Ryzen AI MAX 390 for this task. I expected 50% less but 35% is still impressive IMHO. You would still have to burn through a battery charge cycle to compress a single 4K movie with x265 but it's still nice to see that laptops aren't limited to thin client activities anymore. On a side note I'm not sure why people are talking about x86 so much, that obsolete slop was abandoned decades ago. We're on x86_64 now, how is this not common knowledge?
>>107845811you didn't do shit, you copied a few questionable screenshots
The architecture is called x86. x86_64 refers to a specific revision of that architecture that's longer ago now than the 8086 was when x86_64 was. Older revisions are i386, i486, etc. The latest is x86_64_v4.
>>107845811>a fair x86_64 vs ARM comparison >x265You're retarded. Go back.
>>107845836It's all pretty easy to look up. Anyway the focus isn't on x265 FPS, they're all about the same, it's the TDP.>>107845867This is x265 4.1 so it's had tons of ARM SIMD optimizations done to it. If I wanted to be impartial I would have just looked up AI benchmarks.https://x265.readthedocs.io/en/master/releasenotes.html
>>107845811>power has become so expensive in the USA that the wattage became the most important thing for Americans if they want to be able to turn on their computerGrim.
year of our lord sqrt(4096576) + ln(e^2)
C++ eternally BTFOhttps://www.youtube.com/watch?v=7fGB-hjc2Gc
it's just C with classes and extra libraries stop seething
>>107841864have you ever used another compiled language, retard? header files are 100% unnecessary.
>>107844970b-but headers are based or something. modules are tranny. you can't just, define a binary format for exported symbols, name mangling and linker behavior.honestly I fucking hate headers too and all the insane copes people do to make them work well, like precompiling them and shit. combine that with C++ basically have templates + header bullshit and you wonder why you haven't suicided yourself in cringe. One of the reasons I refuse to learn OCaml is because of the retarded header garbage, especially since headers are the only way to actually type ocaml code. wtf?
>>107838681>breakdownkill yourself
I prefer C99. I have my own small std lib which implements all the useful standard data structures. Contiguous vector, string that is not null-terminated but instead contains its size, linked list, doubly linked list, hash map and so on. Noobs keep telling me I'm insane and I keep telling them it's the most efficient coding setup I've ever used because it's so freaking simple.
I genuinely do not know what to think about AI. There are so many things about it that are cool. There are so many things about it that are shit. It clogs up my grandma’s feed with fake shit, it’s making the cost of electronics go up, it’s consuming resources at an unsustainable rate and so on. It’s given me some useful tools when it comes to writing, and gives me quick answers to questions among other things, but to me, all the negatives outweigh the positives. I’m not sure if it will even be able to advance much further beyond this point given the extreme consumption of resources it demands.What are some reasons why you support AI development? Give me some insight on why AI is a positive thing and why development should continue
>>107845622the younger will fall for it more quicklyover time even broad-thinking people will begin to think it was always that wayfirst the younger because they don't know betterbut even the older will fall in linebroad-thinking people who see around it get regularly culled in plausibly-deniable waysthe new normal maintains its stickiness though not completethat's why they go all in on it so that it works to reach and maintain the threshold of this process
>>107844719>There are so many things about it that are coolname 5 (no pic and video generation cringe)
uoh I can't think for myself uohhhhh
>>107844719Drawbacks of AI>Can become a crutch for people who like shortcuts, depriving them of genuine learning>Has made an entire generation of students incapable of going to school and college without having AI to do the majority of the work>Is used by third world jeets and SEAmonkeys to spamfuck the internet with AI generated garbage that rots children’s minds>Is also used by SEAmonkeys and jeets to create content that has the intent of being perceived as real, like videos of nature and social interactions, meaning you don’t know what is real>Oh yeah, it’s also being used to generate fake content for political agendas. Fake videos of online confrontations and crimes meant to sway minds and can and WILL be used en masse to manipulate countries into voting for whoever they want>Will eventually put us in a digital age where no one will be able to tell what is true and what isn’t. You won’t know if that voice message sent to you was really the voice of your relative being held hostage or if it’s just AI. That video of warcrimes being committed will be so realistic that it will influence and used to justify military action. That genuine leaked video of a billionaire fucking a 5 year old will be deemed AI, but that AI generated video of a major dissenter of the state fucking a 5 year old will be seen and treated as if it’s real. It’s the death of trust
>>107844719It's a meme. All memes are shit. Even if they have some redeeming qualities, at the end of the day they're memes.
BATTLE STATIONSShow your setups
>>107845328here is me using it
>>107845380what the fuck?
>>107840669Solid advice, anonThank you
>>107842570New production Unicomp is my main board. I don't know how they changed their production process recently, but whatever they did was much for the better. I have one of their track-point models and it's kind of lackluster compared to the IBM models and the recent Unicomp production.>>107842730Silverstone FLP02
>>107829092fpbp, holy mother of SOVL>>107840506this one is so comfy too. i like the gojo figure
>create lego-like heatsink blocks that fit lego-like connectors in 8/12cm fans >create standard base>buy few parts for your 40W TDP processor>upgrade to 105W, just buy some more blocks instead of a new heatsink>change case, airflow is fucked>rearrange blocks to work better on new casewhy hasn't this been done yet?
>>107844971Dumbest thread of the day award
because you're computer illiterate Steamtranny
>>107845672this is what happens when you try to explain a null result.
Solution in search of a problemA better idea would be vertical slices with a common clamping mechanism
Linux Mint 22.3 “Zena” Is Now Available for Downloadhttps://9to5linux.com/linux-mint-22-3-zena-is-now-available-for-download-heres-whats-new
>>107845673>not using XFCE4
>>107845616ill stay on debian until they offer a KDE spin
>>107845616Old menu was better
>>107845616Use case for Loonix when Windows LTS exists?
>>107845673Everyone uses cinnamenu anyway
Apple throws in the towel, chooses Google's Gemini to power the new AI Siri assistant.
>>107843088iTODDLERS BTFO
>>107843088>Apple throws in the towel, chooses Google's Geminiof course they would
>>107844012BLUNDER OF THE CENTURY
>>107843667ugh...smartphones?laptops?tablets?computers?
How do you respond without getting mad?
>>107845245no, it's not really additive like you think. what you said is true if you completely ignore the fact that there's an enormous difference between getting root in guest linux VM and breaching the hypervisor, considering the state of the desktop linux' security. you're not gonna prevent an attacker with that. when you're capable of breaching Xen, getting root on a linux while you already can do ACE is just a nuisance.>>107845298I dont have custom policies. firewall rules totally depend on your setup.
>>107844625i don't have to, i'm actually glad to see that this is what people think of people who use this and not that they are terrorists who will commit a second 9/11
>>107845569>no, it's not really additive like you think.It objectively is, take two parties>actor A is running Firefox as root in a Linux distribution inside a VM>actor B is running Firefox as a user in a Linux distribution inside a VM, with no root password (since Qubes has its whole template setup anyways).An attacker would need to compromise the following things for actor A>Firefox>Xen HypervisorWhereas for actor B>Firefox>Privilege escalation exploit (e.g. through the Linux Kernel or a broken distribution setup, like an insecure setuid binary).>Xen HypervisorIt is clearly additive and thus actor B is objectively more secure than actor A.>if you completely ignore the fact that there's an enormous difference between getting root in guest linux VM and breaching the hypervisorComment too long. Click here to view the full text.
>>107844625I don't use any of this stuff myself, but if they're all nobodies then why do big tech and the government need all their data so badly?
>>107845712>While that may be less difficult than compromising a Xen or KVM hypervisor, it still is a relatively high barrierit really isn't for someone capable of exploiting Xen, hence why it's not additive. it's not a big news when someone finds a local privilege escalation on Linux. people do it for fun. you should check Brad Spengler.
What are you working on, /g/?Previous: >>107817026
>>107845543>i can live with that.Well there you go then.
const int x = 42;orint const x = 42;?
const int x = 42;
int const x = 42;
>>107845794let x = 42;
let x = 42;
>>107845794https://quuxplusone.github.io/blog/2021/04/03/static-constexpr-whittling-knife/
>>107845794why would I need to put extra words at the start grandpa?x = 1 works in python without the extra bloat, more readable and just works like god intended
John Romero Edition/gedg/ Wiki: https://igwiki.lyci.de/wiki//gedg/_-_Game_and_Engine_Dev_GeneralIRC: irc.rizon.net #/g/gedgProgress Day: https://rentry.org/gedg-jams/gedg/ Compendium: https://rentry.org/gedg/agdg/: >>>/vg/agdgGraphics Debugger: https://renderdoc.org/Requesting Help-Problem Description: Clearly explain your issue, providing context and relevant background information.-Relevant Code or Content: If applicable, include relevant code, configuration, or content related to your question. Use code tags.Previous: https://desuarchive.org/g/thread/107727030/#107727030
>>107843704Fucking same.
Palette animations. It's a bit subtle, but all the layers are fading from white at different rates. The shading layer becomes yellow for an instant when you press the shoot button.
>>107845327You can also stack animations on top of each other now.
>>107842814there's like 4 people who architected the netcode for the vast majority of multi-player gamesthey used to blogthey shitpost on twattersome of them have public github stuffit's all out there and you can probably get your llm to regurgitate it with the proper incantation if you're too lazy to google themalternatively, Fiedler has some decent stuff on netcode scattered on his blogs along with actual example implementation you can go through on github
>>107845808>there's like 4 people who architected the netcode for the vast majority of multi-player gamescomplete bullshit that you should feel embarassed for posting
>when even amazon doesn't want you to buy SSDs
>>107839880i have noticed this in audio shops is entry lines shown search item it is listed
>>107839880Amazon is full of jeets. Don't be surprised when this type of shit happens.
Amazon scalped all the SSDs, just to serve up AI-generated descriptions about SSDs.
>>107843619I would bet that Amazon's income has decreased a lot now that there isn't anybody with enough money to buy cheap Chinese crap on a whim, and it's all sanctioned in the US so the price is doubled.
how are zoomers STILL this clueless about technolo/g/y and how it's used to spy on you in the big 2026?they put their head in the sand and pretend none of this affects them or even exists. https://files.catbox.moe/cmcsap.mkv
this thread was BUNGLED
>>107844960it's not exclusively a zoomer issue, it's more of a normie problem
>>107845604hell, i don't even get why do millennials like to pin every normie thing to zoomers? i mean i am a zoomer, sure, but it's not like that automatically disqualifies me from ever dealing with tech, in fact i am the first person people informally ask for tech support, and the people in question mostly consist of people who are not of my generation
>>107844960>>107845246they probably already have lasers in space (or use HAARP) to send some kind of non-ionizing radiation or neutrino through our lunix and windows computers to feed into a mossad AI
>>107845678Because Zoomers were the first gen to grow up with iPads and smartphones, and there have been numerous articles written about how younger people who exclusively use mobile devices are totally flummoxed by anything even slightly deeper than surface level traditional desktop UI, let alone understanding how anything actually works on a technical level. It’s generalizing to say “all Zoomers are tech dumb” but it’s based on the fact that there are simply more layers of abstraction between how we interact with devices as opposed to how things were for Millennials. Keep in mind that iOS devices didn’t even have a Files app for a long time, and the iPad only recently allowed for desktop-esque windowing of applications; that’s the sort of stuff I’m talking about. What might have used to require inserting a CD, opening the D: drive, double-clicking an EXE, and going through an install process is now just a web page. Software is just less difficult to use, and therefore doesn’t necessitate developing tech literacy even to the limited degree that it used to.
Why has no big brand succeeded in the e-ink tablet space?Huawei and Lenovo tried and abandoned their productsAmazon has the Kindle Scribe series but it's AmazonBoox has nice hardware and features but typical Chinese brand software longevitySuprenote is mehRemarkable is trying to be Apple too hard
>>107843954it's better.
>>107844302Anything more specific?The advantage I see for Neoreader is that it's more directly integrated into the system and therefore less ghosting and faster page turns. You can refresh the screen with a single tap instead of needing a gesture.
>>107826750>software longevityFor my readers this means nothing since its purpose is to reads books
>>107840421I bought a boox poke for like 60$ four years ago, works great
>>107826750don't have one yet but viwoods seems like a decent middle ground between supernote and boox, besides the slop focus