[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Subject
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]

[Catalog] [Archive]

File: EfXCE01UYAA8csO.jpg (41 KB, 798x644)
41 KB
41 KB JPG
you CAN invert a binary tree, right anon?
47 replies and 3 images omitted. Click here to view.
>>
File: invert-a-binary-tree.png (58 KB, 842x712)
58 KB
58 KB PNG
>>107834883
of 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 node
ngmi
>>
>>107834883
>memorizing a useless data structure transformation that can be googled in 3 seconds
usecase?
>>
>>107834883
Is 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?
>>
>>107845811
you 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
>x265
You're retarded. Go back.
>>
>>107845836
It'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.

>>107845867
This 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 computer
Grim.

year of our lord sqrt(4096576) + ln(e^2)

File: c++.png (70 KB, 1152x325)
70 KB
70 KB PNG
C++ eternally BTFO
https://www.youtube.com/watch?v=7fGB-hjc2Gc
52 replies and 1 image omitted. Click here to view.
>>
it's just C with classes and extra libraries stop seething
>>
>>107841864
have you ever used another compiled language, retard? header files are 100% unnecessary.
>>
>>107844970
b-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
>breakdown
kill yourself
>>
File: 1758272940619197.png (262 KB, 680x680)
262 KB
262 KB PNG
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
3 replies and 1 image omitted. Click here to view.
>>
>>107845622
the younger will fall for it more quickly
over time even broad-thinking people will begin to think it was always that way
first the younger because they don't know better
but even the older will fall in line
broad-thinking people who see around it get regularly culled in plausibly-deniable ways
the new normal maintains its stickiness though not complete
that'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 cool
name 5 (no pic and video generation cringe)
>>
uoh I can't think for myself uohhhhh
>>
File: IMG_3573.jpg (14 KB, 320x336)
14 KB
14 KB JPG
>>107844719
Drawbacks 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
>>
>>107844719
It's a meme. All memes are shit. Even if they have some redeeming qualities, at the end of the day they're memes.

File: perve.jpg (347 KB, 1280x960)
347 KB
347 KB JPG
BATTLE STATIONS

Show your setups
145 replies and 50 images omitted. Click here to view.
>>
File: me.webm (1.02 MB, 832x640)
1.02 MB
1.02 MB WEBM
>>107845328
here is me using it
>>
>>107845380
what the fuck?
>>
>>107840669
Solid advice, anon
Thank you
>>
File: IMG_4881.jpg (1.82 MB, 3648x2736)
1.82 MB
1.82 MB JPG
>>107842570
New 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.
>>107842730
Silverstone FLP02
>>
>>107829092
fpbp, holy mother of SOVL

>>107840506
this one is so comfy too. i like the gojo figure

File: 1764409171819.jpg (147 KB, 1143x768)
147 KB
147 KB JPG
>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 case
why hasn't this been done yet?
1 reply omitted. Click here to view.
>>
>>107844971
Dumbest thread of the day award
>>
because you're computer illiterate Steamtranny
>>
File: 1687070634171.jpg (84 KB, 720x999)
84 KB
84 KB JPG
>>
File: herb.jpg (57 KB, 556x646)
57 KB
57 KB JPG
>>107845672
this is what happens when you try to explain a null result.
>>
Solution in search of a problem

A better idea would be vertical slices with a common clamping mechanism

File: lm223.webp.jpg (107 KB, 1400x800)
107 KB
107 KB JPG
Linux Mint 22.3 “Zena” Is Now Available for Download

https://9to5linux.com/linux-mint-22-3-zena-is-now-available-for-download-heres-whats-new
5 replies omitted. Click here to view.
>>
>>107845673
>not using XFCE4
>>
>>107845616
ill stay on debian until they offer a KDE spin
>>
>>107845616
Old menu was better
>>
>>107845616
Use case for Loonix when Windows LTS exists?
>>
>>107845673
Everyone uses cinnamenu anyway

Apple throws in the towel, chooses Google's Gemini to power the new AI Siri assistant.
27 replies and 2 images omitted. Click here to view.
>>
>>
File: 1741390009080153.gif (354 KB, 500x491)
354 KB
354 KB GIF
>>107843088
iTODDLERS BTFO
>>
File: 1739238957311802.png (796 KB, 1147x567)
796 KB
796 KB PNG
>>107843088
>Apple throws in the towel, chooses Google's Gemini
of course they would
>>
>>107844012
BLUNDER OF THE CENTURY
>>
>>107843667
ugh...
smartphones?
laptops?
tablets?
computers?

File: pic.png (241 KB, 889x988)
241 KB
241 KB PNG
How do you respond without getting mad?
38 replies and 6 images omitted. Click here to view.
>>
>>107845245
no, 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.
>>107845298
I dont have custom policies. firewall rules totally depend on your setup.
>>
>>107844625
i 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 Hypervisor
Whereas for actor B
>Firefox
>Privilege escalation exploit (e.g. through the Linux Kernel or a broken distribution setup, like an insecure setuid binary).
>Xen Hypervisor
It 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 hypervisor

Comment too long. Click here to view the full text.
>>
File: 1763499238193357.png (116 KB, 498x498)
116 KB
116 KB PNG
>>107844625
I 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 barrier
it 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.

File: 1959_Grace-Hopper.jpg (1.18 MB, 1800x2400)
1.18 MB
1.18 MB JPG
What are you working on, /g/?
Previous: >>107817026
83 replies and 11 images omitted. Click here to view.
>>
>>107845543
>i can live with that.
Well there you go then.
>>
const int x = 42;

or
int const x = 42;

?
>>
>>107845794
let x = 42;
>>
>>107845794
https://quuxplusone.github.io/blog/2021/04/03/static-constexpr-whittling-knife/
>>
>>107845794
why 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

File: RS_Romero.jpg (97 KB, 655x871)
97 KB
97 KB JPG
John Romero Edition

/gedg/ Wiki: https://igwiki.lyci.de/wiki//gedg/_-_Game_and_Engine_Dev_General
IRC: irc.rizon.net #/g/gedg
Progress Day: https://rentry.org/gedg-jams
/gedg/ Compendium: https://rentry.org/gedg
/agdg/: >>>/vg/agdg
Graphics 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
254 replies and 33 images omitted. Click here to view.
>>
>>107843704
Fucking same.
>>
File: 2026-01-12 17-59-08.webm (343 KB, 368x458)
343 KB
343 KB WEBM
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.
>>
File: 2026-01-12 18-25-46.webm (190 KB, 488x406)
190 KB
190 KB WEBM
>>107845327
You can also stack animations on top of each other now.
>>
>>107842814
there's like 4 people who architected the netcode for the vast majority of multi-player games
they used to blog
they shitpost on twatter
some of them have public github stuff
it'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 them

alternatively, 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 games
complete bullshit that you should feel embarassed for posting

>when even amazon doesn't want you to buy SSDs
6 replies and 1 image omitted. Click here to view.
>>
>>107839880

i have noticed this in audio shops is entry lines shown search item it is listed
>>
>>107839880
Amazon is full of jeets. Don't be surprised when this type of shit happens.
>>
File: layoff.jpg (183 KB, 1132x1160)
183 KB
183 KB JPG
>>
Amazon scalped all the SSDs, just to serve up AI-generated descriptions about SSDs.
>>
>>107843619
I 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.

File: 1764472870229003.jpg (172 KB, 944x1280)
172 KB
172 KB JPG
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
13 replies and 2 images omitted. Click here to view.
>>
this thread was BUNGLED
>>
>>107844960
it's not exclusively a zoomer issue, it's more of a normie problem
>>
>>107845604
hell, 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
>>
File: 1584762145207.jpg (139 KB, 1024x721)
139 KB
139 KB JPG
>>107844960
>>107845246
they 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
>>
>>107845678
Because 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.

File: th.jpg (10 KB, 256x321)
10 KB
10 KB JPG
Why has no big brand succeeded in the e-ink tablet space?
Huawei and Lenovo tried and abandoned their products
Amazon has the Kindle Scribe series but it's Amazon
Boox has nice hardware and features but typical Chinese brand software longevity
Suprenote is meh
Remarkable is trying to be Apple too hard
37 replies and 2 images omitted. Click here to view.
>>
>>107843954
it's better.
>>
>>107844302
Anything 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 longevity
For my readers this means nothing since its purpose is to reads books
>>
>>107840421
I bought a boox poke for like 60$ four years ago, works great
>>
>>107826750
don't have one yet but viwoods seems like a decent middle ground between supernote and boox, besides the slop focus


[Advertise on 4chan]

Delete Post: [File Only] Style:
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.