[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: c++.png (70 KB, 1152x325)
70 KB
70 KB PNG
C++ eternally BTFO
https://www.youtube.com/watch?v=7fGB-hjc2Gc
11 replies and 1 image omitted. Click here to view.
>>
>>107838511

To answer your question simply: Yes, they essentially create a global symbol table, but no, they don't just dump the raw function names into it (except for C).
Most compiled languages (C++, Rust, Go, Swift, D) compile source files into Object Files (like .o or .obj). These object files contain a mini-symbol table. The Linker then combines these into one massive list to resolve connections.
Here is the breakdown of how this works and how modern languages improve upon the old C model.
1. The Universal Mechanism: "Provided" vs. "Required"
regardless of the language, almost all compiled languages generate object files that contain two specific lists:
Exports (Definitions): "I have a function named X located at memory offset 0x123."
Imports (Undefined References): "I am trying to call a function named Y, but I don't know where it is."
The Linker is a program that reads all the object files, finds the "Exports" from one file, and plugs them into the "Imports" of another.
2. The Problem: The "Flat" Namespace
In C, if you write void init() in File A and void init() in File B, the linker will crash with a "Duplicate Symbol" error. This is because C uses the raw name. The global symbol table is "flat."
How C handles it:
You have to manually prefix functions: audio_init, video_init.
You use the static keyword to tell the compiler: "Do not put this name in the global symbol table; keep it private to this file."

Comment too long. Click here to view the full text.
>>
>>107838511
C: Uses raw names. Rely on the programmer to make names unique or hide them with static.
C++: Uses Mangling. Encodes the class name and argument types into the symbol string.
Rust/Swift: Uses Heavy Mangling. Encodes the package/crate name, module path, and a hash into the symbol string.
Go: Prefixes the Package path.
>>
>>107838263
C.
>>
>>107838263
C
>>
>>107838263
>What's a better alternative to C++?
properly using C++

also possibly C++2 by Herb

https://github.com/mpc-qt/mpc-qt/releases/tag/v26.01

Changelog too long to list!

Windows users have no excuses not to move to mpv!
95 replies and 14 images omitted. Click here to view.
>>
but mpv used least resource among all video player
>>
>>107833415
>I thought it did with gpu-next.
nope
>>
>>107835010
Yes.
>>
>>107833950
but some people want a bigger UI
>>
Just use both mpv and mpcqt depending on the scenario. I made wrappers for both media players

~/.local/bin/mediaplayer

setsid ~/Applications/mpv-master/build/mpv  --player-operation-mode=pseudo-gui --stop-screensaver=always --volume=84   --geometry=50%:50%  --autofit=500 --autofit-smaller=360x800   --force-window --loop-playlist \
--cache=yes --cache-secs=60 --demuxer-seekable-cache=yes --demuxer-max-bytes=200M "$@" >/dev/null 2>&1 &


~/.local/bin/mediacenter
setsid mpc-qt "$@"  >/dev/null 2>&1 &



and here is a bonus fun one for playing videos as puzzles in vlc
~/.local/bin/puzzlevid
setsid vlc --video-filter=puzzle --puzzle-rows=4 --puzzle-cols=4 --no-audio "$@" >/dev/null 2>&1 &

File: Thank you xi.png (403 KB, 918x611)
403 KB
403 KB PNG
Thank you xi
240 replies and 32 images omitted. Click here to view.
>>
File: glowfish.png (101 KB, 610x613)
101 KB
101 KB PNG
>>107838469
>>Your Intel CPU has had an entire embedded SoC in it running MINIX in it for 10 years now, I'm pretty sure AMD's PSP is the same.
>yet none of you fucking brainlets have any fucking shred of proof about it

https://en.wikipedia.org/wiki/Intel_Management_Engine

"The Intel Management Engine always runs as long as the motherboard is receiving power, even when the computer is turned off. This issue can be mitigated with the deployment of a hardware device which is able to disconnect all connections to mains power as well as all internal forms of energy storage."

https://en.wikipedia.org/wiki/AMD_Platform_Security_Processor

Critics worry it can be used as a backdoor and is a security concern.[3][4][5] AMD has denied requests to open source the code that runs on the PSP.[1]
>>
>>107838603
>>107838580

1. INTEL‑SA‑00086 (2017) — Multiple ME/SPS/TXE RCE flaws

This is the most infamous ME vulnerability set. Intel confirmed that attackers could achieve remote code execution in ME, SPS, and TXE firmware.

Intel described these as security issues that “could potentially place impacted platforms at risk”

The advisory covered multiple privilege‑escalation and RCE‑capable bugs in ME firmware.

2. 2024–2025 ME Firmware Flaws (incomplete fixes)

Security researchers reported that recent ME firmware vulnerabilities were not fully fixed, leaving systems exposed.


Comment too long. Click here to view the full text.
>>
Good. Yank dominance in tech needs a challenger for the consumer's sake.
Let American tech go the way of their car industry for all I care. Sheltered and stagnant with no hope of competing outside of their borders.
>>
>>107835922
Because it's inconsequential. If they sold RAM only to data centers and OEMs and none on the retail market the shareholders wouldn't even notice.
>>
good old predictable /g/

File: 1749269860971909.png (135 KB, 452x503)
135 KB
135 KB PNG
so what programs do you use to actually program in?
31 replies and 6 images omitted. Click here to view.
>>
RustRover
>>
nobody here actually uses git do they
>>
>>107835844
of course not, it's tranny software
>>
>>107825936
vscode
neovim
>>
File: 1766111530850519.jpg (33 KB, 720x718)
33 KB
33 KB JPG
>>107825936
Featherpad

File: 1725791906620.png (12 KB, 434x600)
12 KB
12 KB PNG
No entry without authorization.
Previous: >>107785091
148 replies and 35 images omitted. Click here to view.
>>
>>107837616
he can't join the happy hours (believe me this is VERY important for some people)
>>
File: G1KuYCsWwAAoKWC.jpg (191 KB, 1200x675)
191 KB
191 KB JPG
>>107834654
Telecommunications, systems/infrastructure engineering. Because the company is severely understaffed at actual engineering positions but has output demands and plans of fucking Palantir, I do pretty much everything that is even remotely adjacent to it - from testing relatively new Intel E830 NICs to fixing a testbed stand because the interns fucked up the physical layer. Also, a fuckton of DevOps stuff, writing my own playbooks at this point.

But hey, pays above average in this shithole and I get 4 out of 5 workdays on remote now. Also I occasionally get sent to a random city on the country map to either install or fix shit on client's premise because we don't have an installation team. I am the installation team, pretty much, with a few other engineers - but because of the nature of the product it ain't that easy and we are all spread across the locations. So I pretty much have to perform the entire installation cycle by myself, from hardware in the racks to performance and load testing under live traffic.

Fuck, I miss being unemployed.
>>
>>107837616
I imagine future "dev" roles will look like
>architect translates asks from unknowledgeable client to
requirements
>expert feeds them into whatever LLM is the most saveur du jour and ensures it didn't hallucinate too much
>QA subhumans (jeets) validate it without even knowing what a hardware platform is thank for reading my rant

Note: I'm in industrial automation so it's not as accurate for webdevs n sheeeit
>>
Should I make an app and market it to become a millionaire?
>>
performance review on the morrow, friends
last year I got 1.6%

In hindsight, Microsoft should have just quietly switched Internet Explorer to Chromium instead of wasting time with Edge and having two browsers running at the same time. The same with not migrating all of the control panel all at once.

We could have had all the web browsers converge on Webkit in 2008, now we have a mess. I still think Firefox should dump gecko as too many websites don't work properly anymore.
3 replies omitted. Click here to view.
>>
>>107834446
What your asking doesnt exist
>>
>>107834538
But Dillo comes close. Too bad my distro doesn't have the pkg... First was XFE now not even Dillo? Aw, shucks.
>>
>I still think Firefox should dump gecko as too many websites don't work properly anymore.
i dont know where the "too many websites don't work properly" comes from. personally i hope andreas kling catches up to gecko
>>
>>107834446
You could use curl
>>
>>107834446
>Alternative to Firefox that's not a fork of it or Chromium?
Wait for Ladybird.

File: comfy pepe.jpg (53 KB, 735x545)
53 KB
53 KB JPG
For the first time in a long time, learning/working is fun again.
116 replies and 11 images omitted. Click here to view.
>>
>>107832983
>I went to 2 universities and they were a joke
This, but unironically, actually, on god.

Fuck you, you lukewarm NPC normie bitch. The other anon is right, school, especially "higher education" is a fucking complete waste of time. You're way better off learning shit on your own. You only go to college because it's a fucking mechanical system required to get a fucking paper that some employer might give a rats ass about. You don't go to college to fucking learn anything. That's some stupid naive bullshit idiots like you believe.
>>
What is this forced fake positivity thread? I enjoy ai but some ppl here sound like estrogen pumped trannies who escaped private trackers thread
>>
>>107801957
it's the same problem with books written by the usual (((experts)))
I don't believe half of what is written in history books
>>
>>107801565
learning everything wrong.
>>
So is this considered "board culture"?

File: 1761425287416639.jpg (65 KB, 1032x1032)
65 KB
65 KB JPG
How do nat and masquerade work in nftables?

When and why and how to use them? I fail to understand no matter how I ask llms to try different words or simpler explanations.
>>
here's a pity bump OP

File: file.png (1.13 MB, 756x1008)
1.13 MB
1.13 MB PNG
*click*
*bzzst-------*
*eeeeeeee*
*HISS-SHHHHHH-HISS-SHHHHHH*
17 replies and 6 images omitted. Click here to view.
>>
>>107838087
Cool but the video quality sucks, I managed to find a better rip but no jp audio and syncing them seems like a nightmare, might get to it one of these days
>>
>>107838386
VHS video quality sucking is normal.
>>
>>107837879
Maybe, but I bet you've never dragged your ponos across the screen and had your pubes stand up from the static electricity.
https://www.youtube.com/watch?v=0AYBw5bjmGE
>>
>>107838386
did you grab the right videos? the ones in the preview play are highly compressed and worse quality

the .mpg videos aren't raw but they're 3.5gb 480p with minimal compression

I don't know about the qualities of the tapes that were ripped though and the hardware
>>
>>107838398
They can look good
>>107838586
Yeah the top part is warped (which I don't really mind that much) but on some episodes there's this noticeable flicker every 10 sec or so which makes it unwatchable imo

File: deUC_zi_00096_.png (2.86 MB, 2048x1280)
2.86 MB
2.86 MB PNG
Previous /sdg/ thread : >>107824069

>Beginner UI
EasyDiffusion: https://easydiffusion.github.io
SwarmUI: https://github.com/mcmonkeyprojects/SwarmUI

>Advanced UI
ComfyUI: https://github.com/comfyanonymous/ComfyUI
Forge Classic: https://github.com/Haoming02/sd-webui-forge-classic
Stability Matrix: https://github.com/LykosAI/StabilityMatrix

>Z-Image Turbo
https://comfyanonymous.github.io/ComfyUI_examples/z_image
https://huggingface.co/Tongyi-MAI/Z-Image-Turbo
https://huggingface.co/jayn7/Z-Image-Turbo-GGUF

Comment too long. Click here to view the full text.
99 replies and 93 images omitted. Click here to view.
>>
File: k_00323_.png (3.08 MB, 1920x1080)
3.08 MB
3.08 MB PNG
>>
>>
>>107831056
so this picture is generated. You spend time generating aesthetic guys alone
>>
File: you-wo-joker.gif (63 KB, 220x120)
63 KB
63 KB GIF
>>107838546
>>
>>107838232
i'll probably tell the llm processor to just write it out as prose since there's no way wildcards are gonna work with plain language nonsense

File: 1745057573654256.png (113 KB, 2265x1270)
113 KB
113 KB PNG
WHAT'S GOING ON?
62 replies and 3 images omitted. Click here to view.
>>
File: d-fens.jpg (219 KB, 1600x1782)
219 KB
219 KB JPG
>>107836957
>What about it?
Current stock will deplete and it won't be replaced nearly as quickly if at all. High end models have shot up in price and disappeared and the 16gb 5060ti is next. 8gb cards will probably sit stagnant
>>
>>107836500
cope

>>107836568
Oh I agree it’s probably not worth it unless you can afford to piss away some cash on toys. Honestly I just buy the 90 series equivalent each release whenever I can get it at msrp and sell the last model, it’s worked out well with insane aftermarket gpu prices these last few years
>>
>>107836842
I said it faster at compute you /v/tard not silly gayming. It is stuck on the same node so there will be no tangible increases in power efficiency you dunce. Pascal and Ada Lovelace gains are a fluke not the norm. They are almost owed entirely to node shrinkage.
Blackwell is a refined Ada Lovelace. It performs as such being the same node. If you were expecting massive leaps. You are going to be sorely disappointed.
>>
>>107836853
Yes, they can run AAA. You don't need RT/4K nor do the masses care for such things. The reason to get discrete solutions rapidly disappears for the masses.
Discrete solutions are regressing back to their hobbyist, prosumer and professional only roots with pricing and volume sold.
>>
>>107836620
Nope, more and more /v/tards are using iGPUs. It is just shrinking, but vocal holdout of old-fag hobbyists that are still on the discrete bandwagon.
Micro-transaction and gache simulators that make the big $$$$ don't need 4K/RT.

I'm trying to recover data from a Windows 98 PC, and I would like to back up the hard drive (which appears to be failing). I can still read data intermittently, and it sounds like it keeps doing repetitive seeking before it gives me data read errors and general drive read failures. The computer doesn't even detect the drive half the time, and it won't boot from that drive at all.

I would like to try and boot from a Linux recovery distro and see what I can do, namely clone the failing drive before doing anything else, but the optical drive doesn't appear to be plug-and-play (I can't boot off of it because the optical drive only works after drivers are already loaded), and I couldn't get a USB stick to work, so it seems like the only option left is to boot from a 1.44MB floppy disk and get the computer to clone the hard drive itself. I've added another drive, and that one works flawlessly, so it seems only the master drive is bad.

It's actually harder to get a straight answer on which linux distros you can boot from a floppy disk than I would've thought. It doesn't even matter if it has to be an old version, people are saying the wrong version number is capable of doing so (like with RIPLinuX, so I don't know which ridiculous version to use), and I'd prefer one centered on data recovery anyway.

It's a "Proteva Pro Series" PC, I guess. (Not pictured.) It doesn't sound very distinct, but apparently they thought it was distinct enough to brand it that way.
10 replies omitted. Click here to view.
>>
>>107838452
use this to boot a clonezilla disc https://www.plop.at/en/bootmanager/plpbt.bin.html#runflp
>>
>>107838240
Just throw it in the trash and get a google pixel
Its a lot faster and much more capable
What, too advanced for you, unc?
Bit much of a luddite wouldn't you say?
You must be a dinosaur if you want to play Rollercoaster Tycoon to recreate the good ol' days, unc
>>
>>107838501
>Bit much of a luddite wouldn't you say?
Nah.

>You must be a dinosaur if you want to play Rollercoaster Tycoon to recreate the good ol' days, unc
I, uh... Yes.
>>
>>107838452
you could boot into an ms-dos environment too using a boot disk then use clonezilla by launching it from a disc if there is a setup script that will execute from that shell provided by booting from floppy. since the computer doesn't boot from CD, there's things like IDE to USB converters which can be used to plug the win98 drive into the other computer.
>>
>>107838240
Floppy? https://github.com/w84death/floppinux

Most likely you're just best off removing the drive and using ddrescue or sth on a modern computer.

File: IMG_20260111_050824.jpg (38 KB, 416x432)
38 KB
38 KB JPG
why are boomers allowed to regulate computers
24 replies and 2 images omitted. Click here to view.
>>
>>107831612
Because (You) let them. If the people didn't want incompetent at best, malicious if we're being real politicians slamming their foot on the gas and Thelma & Louise'ing their entire country they'd stop voting for them.
>>
>>107831612
why is a government website using imgur?
>>
File: 1749405985886558.png (208 KB, 498x367)
208 KB
208 KB PNG
>>107835938
Competency crisis, DEI hires, late stage capitalism, three letter agencies, pic rel, pick your poison.
>>
>>107835938
its (achshully) some 3rd party recruiter site, however the UK Government Official Ministry of Justice does indeed forward their employment candidates to it. As to why this is still the case, 4 months after another Govt Dept chased imgur.com from these isles and no-one has noticed, who the fuck knows. Candidates with VPN would benefit, but its probably still all nepotism hires regardless.
>>
>>107832876
>This is the average bong btw.

>some bitch in govt
>meanwhile comments are universally against it / her
retard that you are

Hong Xiuquan Taiping Rebellion edition
291 replies and 55 images omitted. Click here to view.
>>
Honestly, the past few months I haven't been getting a lot of responses back from all the job applications I put in. This all started changing with one simple rule -- Simply ignore everyone with an Indian first or last name. After doing this not even a week passed and someone responded and got me to round 2 with the hiring manager, now just waiting to hear back. Not even a recruiter but someone from the company directly. Pretty much anyone I talk to ends up being white for some reason.
>>
>>107830375
I hope I get it. Competition is pretty strong right now for programmers I imagine but at least they're legally obligated to only hire citizens and people from my state.
>>
Anyone else hate weekdays? I don’t work, but other people do, and when they work, I receive rejection emails.
>>
File: 1742819078562667.jpg (9 KB, 300x168)
9 KB
9 KB JPG
I'm going to have an interview this week
>>
File: 1703876769095188.jpg (42 KB, 600x600)
42 KB
42 KB JPG
I will never land a job.

File: 1696342843575.jpg (335 KB, 1920x1080)
335 KB
335 KB JPG
>>107601582
"The further a society drifts from the truth, the more it will hate those that speak it."
--George Orwell

>Cyberpunk
The FAQ: https://sizeof.cat/post/cyberpunk-faq/
What is /cyb/erpunk?: https://pastebin.com/pmn9vzWZ
How do I into /cyb/erpunk?: https://pastebin.com/5tpNFQds
Huge list of cyberpunk media: https://sizeof.cat/post/cyberpunk/
The cyberdeck: https://pastebin.com/7fE4BVBg
Cyberlife: https://jinteki.industries/files/cyberlife.7z
Bibliothek: https://www.mediafire.com/folder/4m5hd2065hde8/Bibliothek

>Privacy
Tools: https://www.privacyguides.org/en/tools/

Comment too long. Click here to view the full text.
147 replies and 26 images omitted. Click here to view.
>>
>>107832216
How do you start to learn them?
>>
How is your hack going this week, anon?
>>
File: 1768155898095567.jpg (52 KB, 512x487)
52 KB
52 KB JPG
>>107766771
>>
>>107836411
Pop over to >>>/diy/ham and read up on the FAQ and library there, link in the OP txt. The FAQ originated on /cyb/ nearly 10 years ago.
>>
>>107837680
Is it too expensive to start? And what types of fun stuff can you make with that?


[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.