[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: 1774729144986052.png (559 KB, 983x1080)
559 KB
559 KB PNG
What are you working on, /g/?

Previous: >>108471984
191 replies and 27 images omitted. Click here to view.
>>
>>108506581
>What alternative do I have?
match write(...) {
..0 if (errno == EAGAIN) || (errno == EWOULDBLOCK) => ...,
..0 => ...,
0 => ...,
_ => ...,
}
>>
>What alternative do I have?
Law! Nothing beats it!
>>
>>108507607
>I think the issue with syntax highlighting is that people overdo it.
Very much this.
When a work colleague opens his IntelliJ, almost every word or symbol is in a different color. At that point they might as well not be in any color.
My color scheme is just:
1. language keywords
2. variables
3. numeric values and strings
4. inherited members
5. comments

>autocomplete
combined with snippets and templates, it solves about 98% of typing
you really don't get any better at programming from typing stuff manually, in fact it's a detriment because instead of focusing on the actual problem, you're instead splitting focus on typing correctness
>>
>>108506581
>What alternative do I have?
functions, nigger, functions
>>
>>108504739
the one thing I like about msvc is that it just works with address sanitizer and vcpkg.
mingw gcc does not support address sanitizer, but clang does (llvm-mingw).
Clang-cl requires /MT /MTd for address sanitizer which is annoying (you don't need to rebuild vcpkg unless a library uses the C library).
Clang has ubsan (it does a lot of things) which is kind of neat since it converts __builtin_unreachable into an error unlike msvc's __assume(false).
In C /C++, Debug builds usually don't mean "Debug This". It just means "generate debug info".
Msvc has better sane Debug defaults in cmake / VS projects (RTC is similar~ to ubsan but asan is 100x more useful).
gcc/clang will not enable warnings by default...
Also you can avoid cmake by using VS projects and it works with vcpkg. And clang-cl works in VS.
Vcpkg is ideal for windows because it will copy DLL's for you (personally my issue with mingw is more C++ related, since in C you don't need any DLL's since mingw just uses msvc's C library. You could statically link BUT I like DLL's).
Also note that on mingw/linux, all your functions are public. You need -fvisibility=hidden, but now your debugger wont work at all with optimized code.
On MSVC (and clang-cl) you get no info on a "Release" build". So you can't even use a debugger. cmake's RelWithDebInfo is close enough but it should also have /OPT:REF to reduce size...
Also linux has a lot of thread debugging tools (valgrind/thread sanitizer), if you are not using threads, there is no point to using linux. Dr Memory is identical to valgrind (asan does not check uninitialized memory bugs, unlike valgrind/dr memory, but it's so slow).
Also asan on linux will detect leaks, which I find annoying since graphical libraries tend to create false positives.
One reason why msvc wont make a pdb file for a release, is probably because it will leak the full path (this is only an issue if you build in your desktop, but I like keeping asserts enabled on release).

File: 1769681690665286.jpg (1.39 MB, 1967x1967)
1.39 MB
1.39 MB JPG
Discussion of Open Source Diffusion Models

Previous: >>108494530

https://rentry.org/ldg-lazy-getting-started-guide

>UI
ComfyUI: https://github.com/comfyanonymous/ComfyUI
SwarmUI: https://github.com/mcmonkeyprojects/SwarmUI
re/Forge/Classic/Neo: https://rentry.org/ldg-lazy-getting-started-guide#reforgeclassicneo
SD.Next: https://github.com/vladmandic/sdnext
Wan2GP: https://github.com/deepbeepmeep/Wan2GP

>Checkpoints, LoRAs, Upscalers, & Workflows
https://civitai.com

Comment too long. Click here to view the full text.
296 replies and 69 images omitted. Click here to view.
>>
>>108508928
>nlp is a joke
if you're sub 80 iq retard, maybe
>score tag slop
don't use them? retard
>>
>>108508928
you are so fucking clueless lmaoooo
>>
File: 00007-2693297723.jpg (934 KB, 2048x2048)
934 KB
934 KB JPG
>>
nai 4.5 could leak right now and anons here would still use their noob shitmix lol
>>
>>108505989
When we can gen this without inpainting locally with limited vram, the wait is over.

File: image.png (1003 KB, 896x896)
1003 KB
1003 KB PNG
Why can't we accept that IPv6 is a dumpster fire and leave it in the trash where it belongs
56 replies and 3 images omitted. Click here to view.
>>
ipv6 will always be a failure, fuck the media in 2010-14 pushing running out of v4 addresses as a y2k style extinction level event when in 2026 a address is still $1-2.

>>108508429
No reason. As in, this is the best option but they didn't take it because they were high on their own farts with a "let's change everything to as it should be!" attitude, thus they decided that every little device should be live on the internet unprotected.

Ironically this is basically what having local networks and ISP-NAT pretty much does and it's backwards-compatible and works well.

>>108509064
Of course it does. He's making a point about both the number of bits needed and the stupidity of representing them with hex instead of numbers.
>>
>>108508470
Ah, you don't get it, do you? They use symmetric NAT with firewal preventing hole-punching techniques. To make p2p impossible.
It is deliberate.
>>
NAT and private addresses are literally the best thing that happened to the networking world
every single home router
even the chinkiest shittiest piece of stinking crap implements NAT which on itself is a deny-all-by-default firewall. Inadvertently that provides extremely solid security out of the box for every device plugged to that network
>>
>>108502090
>Why can't we accept that IPv6 is a dumpster fire
IPv6 is the original boiling frog. Big tech just keep pushing and assume eventually we'll get tired, or we'll die and youngsters will not know any better.

Here's what we could of had:
>The Road Not Taken: A World Where IPv4 Evolved
https://owl.billpg.com/ipv4x/
>>
>>108509226
>NAT was great for security
Meh, IPV6 drops connections by default unless you specifically allow connections on that port. Its functionally the same security, but it allows you to connect to a device without having to go through a nat or buy a static IP. IPV6 is great for everyday people who want to host their own services or want to use cool peer to peer technology. IPV6 hasn't been adopted because it would make a ton of businesses and services obsolete overnight.

File: 1750547445887084.png (489 KB, 845x790)
489 KB
489 KB PNG
BONUS: Netflix adds a fake film grain filter not present in the video to hide how shitty and starved the original streams fucking look


Congrats AV1 clowns you played yourselves

The future you all wanted lololololololololol
50 replies and 4 images omitted. Click here to view.
>>
>>108503655
They don't care about you.
You're not youtubes audience. You're a feature. A side quest.
>>
>>108505498
is enjoying film grain a millennial thing? i know boomers like hearing crackle and pop on their vinyl records. i think millennials are more into vhs tape distortion if anything. film grain seems more like a gen x thing.
>>
>>108508590
>>108505498
it's not about sovl but about masking artifacts in a more bearable way
absolute cope tier shit tho kek
>>
>>108503545
>paying for lower quality than YIFY
grim
>>
>>108508590
No, people just prefer it over the alternative, which usually is denoised to hell garbage with all detail obliterated. Also, film grain was harder to notice in the past, since display resolution was much lower (effectively, a low-pass filter).

File: NOTA.jpg (229 KB, 533x800)
229 KB
229 KB JPG
This year's Debian Project Leadership election has only ONE candidate and it's a Pajeeta (Sruthi Chandran):
>She is inactive on the mailing lists, and her Salsa profile is private so we can't even see what her coding contributions are.
>She's run for DPL 4 times before; lost each time
>Her entire platform is just about diversity and bitching about cis males
>She intends to formally incorporate Debian in the US, which would force Debian to introduce age verification
Her only claim to fame is organizing DebConf23, an event where a Debian developer literally fucking DIED because basic health & safety measures were not followed.

A much more qualified candidate was hospitalized during the nomination window and couldn't apply in time, yet she has refused to reopen nominations.

Debian is FUCKED unless the Debian developers all vote NOTA (None of the above).
42 replies and 6 images omitted. Click here to view.
>>
>>108507464
>dont get her focus on diversity, deb is a global project, it IS diverse no matter the proportions of x or y people
diverse means no whites
>>
>>108507464
Simple, diversity doesn't actually refer to the variety of people in a group. It refers to the percentage of persons in the group that qualify as "diverse". You can have a group that's completely homogeneous and it'll still be 100% diverse.
The definition changed the moment that "diversity is about getting rid of white people (and that's a good thing)" article dropped.
>>
>>108507418
This. Especially if you're not a @debian

>>108507550
>>108507551
It sucks to be "white" these days, even the biggest enemies are "white" women and twinks voting and supporting this. But do I say, it is on the "white" men for not standing for themselves and saying no.
>>
>>108507418
So what can the Nota campaign do now?
>>
>>108508782
Sniff hopium. My lines are long and thick, just like my pipe, and my dick.

File: 1764351497238992.png (1.33 MB, 1482x1071)
1.33 MB
1.33 MB PNG
https://torrentfreak.com/game-pirates-beat-denuvo-with-hypervisor-bypasses-irdeto-promises-countermeasure/

Every single game with Denuvo has been bypassed
Bypass is available for all denuvo games on day 0

Irdeto is seething hard and saying more invasive DRM is coming. I'm guessing they will demand kernel level access in later versions of Denuvo.

Will Microsoft allow them that?
56 replies and 8 images omitted. Click here to view.
>>
>>108503965
in two weeks they'll be replacing the Windows NT kernel
>>
>>108503965
what if I am playing it on linux? Should I worry.
>>
>>108504091
The cheaters many of which bought they actual games they cheat on and pay for the cheat technology too jump through way more.
>>
>>108506641
NOT CRACKED

But it is Bypassed since last thursday
>>
>>108503965
Too bad there are almost no Denuvo games worth pirating
But hey, props to them, still an impressive feat

File: 1751394892156085.jpg (40 KB, 650x433)
40 KB
40 KB JPG
Recently I had a reference visit at one of our customers that deals with industrial automation, think programming PLCs and what not
there I had opportunity to ask about their job and one team, two guys to be exact, were developing logic for some smelting machine, I asked them how do they test it to make sure their solutions are working/are optimal. It turns out they do NOTHING in terms of developing logic itself, they just implement whatever requirements their customer sends them.
They literally have a fucking PDF of some graphical sequence algorithm, like those you learn on day 0 of CS and they just translate that already step-based logic to step-based blocks in PLCs
and it takes them a fucking month, PDF with 40-50 pages where each page is just a big rectangle with some step definitions and it takes two of them a month to implement it an that's not even including tests, which by the way are the most retarded manual busy work imaginable since they have to manually go through the procedure and test if everything works as stated, they don't even test for illegal input states or what-if-something-goes-wrong scenarios

Is life really that easy in PLC land?
41 replies and 2 images omitted. Click here to view.
>>
>>108509034
you are very wrong, SIL 3 and even SIL 4 level safety features are implemented using software logic
it's driven by 3 redundant cpus that each spend 80% of their computation time running signal and internal state diagnostics but it's done in software
>>
>>108509042
that's incredibly retarded. why would they NOT do it with a hardware level interrupt?
>>
File: 1749852846473760.png (1.26 MB, 1024x1344)
1.26 MB
1.26 MB PNG
structured text is very comfy its similar to C but much more retard proof, the object system is a little wonky and its hard to do modern OOP concepts with it but you never really have to for PLC software anyways. the industry has been moving really fast recently (relatively) with the PLC software theyre much nicer to use nowadays and siemens is finally copying beckhoff with their vs-code fork as an editor. im not a huge fan of the modern web-based HMIs though...
some other news ive heard is that they are planning on moving from FreeBSD to running the PLCs in containers on linux, as that allows them to avoid open sourcing their shit but still using the most up to date kernels, i think its gay though tbdesu
>>
>>108509068
what do you think "hardware level" interrupt is, some magic that feels good on programmers ego? every single industrial controller already guarantees execution cycle to be below certain threshold in low millisecond range, every instruction you put in program loop with be executed exactly once in each cycle.
>>
>>108509068

Probably because "clever" technicians (Mexicans and indians) can jump those out to bypass them. Safety PLCs do a lot of pulsing through safety circuits so they know if wires are crossed or someone tried something sketchy.

File deleted.
PTP is fucking down edition

>Not sure what private trackers are all about?
Private trackers are not secret clubs. They are exclusive clubs. They exist to create well seeded and properly curated selections of high quality media. Also to make freeloaders seethe and shill shitty Android apps that don't work without paying to pirate.

>Have a question?
- FAQ https://files.catbox.moe/t2mslu.txt
- WIKI https://igwiki.lyci.de/wiki/Private_trackers
- NEWFAG PYRAMID https://inviteroute.github.io/graph or https://inviteroute.github.io/sheet/
- STUDY https://www.cambridge.org/core/services/aop-cambridge-core/content/view/2F379FE0CB50DF502F0075119FD3E060
- SPREADSHEET https://hdvinnie.github.io/Private-Trackers-Spreadsheet/
- TEN CURRY COMMANDMENTS https://pastebin.com/raw/dBbdE73M
- TEN NEON COMMANDMENTS https://pastebin.com/raw/Ud2pGYaE
- RED SPAMMER'S BIBLE https://rentry.org/69zbxh4h
- #ptg is on irc.sageru.org but it's pretty dead

Comment too long. Click here to view the full text.
286 replies and 23 images omitted. Click here to view.
>>
>>108507126
Who would host a piracy website using an exotic/expensive region of AWS, let alone AWS at all?
>>
>>108504502
RuTracker and any with 0days like TL, IPT, DCC, etc
>>
>running software from rutracker
>>
>>108504361
what is this
>>
File: 1750761589831011.jpg (219 KB, 2047x1500)
219 KB
219 KB JPG
I just made a script that checks a list of application pages for changes two times a day that makes a popup on my screen when said changes are detected.
Feels like a good idea.

File: 1774878487551988.jpg (516 KB, 1167x1200)
516 KB
516 KB JPG
But unfortunately Apple has recently banned anonymous apps from the AppStore. Do you think they would allow an app that has accounts but your ID is a random string of characters that changes its starting position every time you post?
>>
>>108509125
just make it a webpage
>>
>>108509246
It would be easier to combat abuse if it were mobile only.

Carmack vs 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: >>108472901
130 replies and 11 images omitted. Click here to view.
>>
>>108508906
You are speaking from a complete lack of experience
There's few things more cucked in programming that being defensive against imaginary problems you don't even have, even AAA developers don't have problems with this, but you need Rust and ECS to save you
>>
how to stop being autistic about optimizations? I made a post last thread about a generated texture saved to a buffer, vs a float4 array

the anon saying it's negligible was right. but that didn't stop me from spending all night using a profiling/debug build and running the game on multiple PCs
its such a miniscule difference, that anon said it would be, I believed them, and yet I still spent the whole night testing it.
How do I stop with the autism?
>>
>>108508432
oh, got it
my component data IS stored in contiguous arrays, each with their own non-contiguous index array
articles on the internet seem to call this two-array arrangement a "sparse set", so that's what I called it
>>
File: 1764160860336219.png (153 KB, 319x474)
153 KB
153 KB PNG
>>108508860
>Nintendo fan is an autistic manchild who has a meltdown over his bing bing wahoo movie trailer and lashes out at strangers
Imagine my fucking shock.
>>
>>108509228
>autism
It's not autism, you're just fucking stupid. Optimization is good, don't listen to retards who tell you not to optimize early, but that's not the problem. The problem is you spent a lot of time and effort on something that didn't matter, so in the end you didn't even optimize in a meaningful way.

If this is one of the first times, fine take the loss and learn for next time. If this is the tenth time you do this shit (like many others), then it's a complete failure to learn from your mistakes and that's not autism that's being dumb as shit.

File: FY19OnZX0AAT9Q_.jpg (61 KB, 498x437)
61 KB
61 KB JPG
>your Gmail is getting full
>get a massive chunk of Gmail and Drive space for $15 /year
>buy it
>doesn't feel great
>I got hooked
I am embarrassed anons.
>>
>>108508825
wait until you upload hundreds of gigs to gdrive and then try to download them at a later time.

It literally breaks and cant download ur files lol
>>
>>108508880
After using a certain amount of space it breaks?
I bought what they call Google One.
>>
>>108508989
no not after a certain amount, i mean like it just wont download ur files lol..

I put 300gb on google drive after purchasing google one and i went back to download the files months later when i had enough space on my computer... Google drive literally breaks downloading my files, it cant zip it properly, it forgets to download like 80% of the stuff in my folder, it downloads things randomly in spaces i didnt tell it to.. its really bad
>>
File: tfw1468830595993.jpg (80 KB, 692x577)
80 KB
80 KB JPG
>>108509110

File: IMG_9587.jpg (111 KB, 1580x588)
111 KB
111 KB JPG
It's been happening since I updated to iPadOS 26.4 yesterday. Have cleared ALL website data.
>>
File: IMG_9174.jpg (52 KB, 720x480)
52 KB
52 KB JPG
Apple is just janky with 4chan in general, constant issues with random ip bans on my iPhone
which is funny because the original “server” was a bunch of Mac minis daisy chained together in a raid setup
>>
>>108508511
>which is funny
not really

File: 1774888908057001.jpg (3.33 MB, 4000x3000)
3.33 MB
3.33 MB JPG
New OLED and new Speaker setup
I need a new Desk and chair too
215 replies and 50 images omitted. Click here to view.
>>
>>108508386
>Ikea
>>108488190
The top and shelving is all hand built real wood. It is intentionally sterile, this is an office/studio in a 150 year old house. The cabinet bases are Ikea, price can't be beat
>>
>>108505799
this looks like a hospice
>>
>>108508828
very nice.
new england?
>>
>>108509066
North East yes. Very very rural.
>>
>>108508347
Small windows is better then no windows. I have lived in some pretty crappy basement suites over the years. Currently living in the top of a barn on the side of a hill, and love it here

x86 is back

https://www.notebookcheck.net/43-hours-battery-life-Dell-XPS-14-2026-lasts-almost-3x-longer-vs-MacBook-Air-15-M5-in-web-browsing-test.1262947.0.html
54 replies and 10 images omitted. Click here to view.
>>
>>108505932
The reason it gets so much battery life has nothing to do with x86, that part is still shit. The long battery life is because the laptop immediately uses VRR to reduce the screen refresh rate to 1hz when the image stops changing (or to match the video FPS it seems).

But it's buggy on start and stop and makes the text blank in and out.

https://youtu.be/YgnVgVYOqbo?si=No2JyKvu3rM0SV_B&t=640
>>
File: file.png (947 KB, 1920x1200)
947 KB
947 KB PNG
>>108509018
holy kek, the webcam and microphones comparison is so fucking embarrassing for the XPS
also the performance
>>
Also a reminder that Lunar Lake laptops routinely have longer battery life than Apple laptops.
>>
>>108509210
*when doing specific pointless tasks reviewers do
>>
>>108508192
>muh games
Adults already have their desktops, lil bro. You get a laptop in addition to that.

Yes, I know this is the place where everybody loves to rice and have complete control over their system, but unlike some people who use Linux, I actually have a job and things I need to do.

I have been daily driving Linux, and it is very good, but I was wondering if it is possible to still have a good understanding of Linux systems on what some may call a “normie” distro like Ubuntu. Do I really need to use something like Arch or Gentoo to learn Linux? And if I do use Arch or Gentoo, am I even really learning Linux? It kind of seems I would learn more about the package manager and whatever other stuff it uses instead of actually learning Linux systems.
83 replies and 4 images omitted. Click here to view.
>>
>>108507809
this is just a copy of the old debian meme
>>
>>108502677
Arch Linux and Gentoo (if you manually install the former, no Archinstall) literally force you to gain a rudimentary understanding of how your Linux system is built up and what the components are and how to control them to some extent. You have no choice but to learn that.
If you use Ubuntu you can be completely clueless, it's up to you whether you care to learn or not. You certainly won't have to.
>>
>>108502677
The tried and true method is you start with any easy distro like ubuntu.
Then you realize there is something you don't quite like, so you move on to another distro.
>>
>>108508335
basically nothing. You have only advantages by doing this way, except for the urgency of having to figure it out because you're out of a PC.
>>
>>108502715
fpbp


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