[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: incr.png (48 KB, 449x981)
48 KB
48 KB PNG
/dpt/ - Daily Programming Thread

Welcome to the Daily Programming Thread. What are you working on, /g/?
Previous thread: >>107575071
217 replies and 40 images omitted. Click here to view.
>>
>>107649304
it's just space separated you mongoloid.
yes, muh name, but it's common to have different separators
>>
>>107649304
Well, that's easy to fix lol
>>
>>107632451
Safe Rust

>>107632553
> The downside is that the code fragments that use an operation whose semantics vary depending on the architecture (bitwise shifts) must be specific to an architecture and the user must rewrite it for each architecture.
The users don't have to handle that. You handle that in the language for lowering to different targets. If you want architecture specific behavior, then offer the users intrinsics

The only sensible behavior for shifts at a higher level should be a safe shift that becomes 0 or sign extended when the value is larger than the bit width, and an unchecked version when you know the shift value is less than the bit width that shouldn't have any architecture specific behavior. Negative shifts shouldn't be allowed.
>>
>>107649321
>"tech winter"
I heard this term before, but not sure what it was about.
The good part of FPGAs is that they can be anything you want them to be.
The bad thing about them is that they are not fast, because they are so versatile.
So no, they are no replacement really. They just get used for special applications and for something like defence because then you have (more) control of your hardware stack, including verification

They get used a lot, but it's all special stuff. Reason why they are not that mainstream in hacker culture
>>
>>107649389
a-hah.
thanks for the clarification.
its still very interesting stuff
and writing a cpu sounds like a good project to work on verilog/vhdl

>tech winter
ah, its just to say that the tech market is gonna be bad for a while
like a winter, in relation to harvests/animals. nothing to eat, nothing to do, only wait

File: maxresdefault.jpg (215 KB, 1280x720)
215 KB
215 KB JPG
>3 Game & Watch from a Flea Market
Can she fix them?
261 replies and 50 images omitted. Click here to view.
>>
>>107648635
>her
>>
>>107648646
yes, her
>>
>>107648614
You live because your dad simped for a whore
>>
>>107648614
Make me, spergcel
>>
>>107644291
hope she sees this bro

File: 1743302706034146.png (728 KB, 1144x1103)
728 KB
728 KB PNG
it's over for them niggas
20 replies and 1 image omitted. Click here to view.
>>
>>107648340
>10 million?
The Global Hawks cost about $150 million a pop.
>>
>>107648340
>>107648816
They don't cost that, they are charged that.
Military contracting is a bigger scam than the medical industry.
>>
>>107646291
Pentagon exempt I assume, just like for Huawei.
>>
>>107646291
>bans ALL foreign-made drones, not just China
If this was really a national security problem they would have at least allowed drones from allied countries or something.
America isn't even hiding it anymore. Can't compete? Just ban all potential competition.
>>
>>107648340
60K is a good price for Made in America plane.
You also pay for patriotism
Anyone who complains over high price is a poor commie.

Windows 11 is shit but I like it's aesthetic. It reminds me of Windows 2000.
20 replies and 7 images omitted. Click here to view.
>>
>>107648780
classic theme on windows 7 is crippled because WDDM removed GDI hardware acceleration. Because hardware acceleration is gone, gdi has to be drawn into system memory, and then copied to video memory, these copies are pretty lazy, so the UI is incredibly laggy, its a terrible user experience.
>>
>>107648871
They should have made classic theme compatible with WDDM/DWM.
>>
>>107649310
What they should have done is left the GDI acceleration functions alone. Removing them was asshole behavior, they were not complicated. And clearly GPU manufacturers had no trouble supporting them since XP drivers continued to exist for like a decade after vista released.
>>
File: GzYCToGWYAAy4Sq.jpg (19 KB, 473x429)
19 KB
19 KB JPG
>I like turd made of brown feces, it reminds me of chocolate
>>
File: 1748021581695441.jpg (144 KB, 800x600)
144 KB
144 KB JPG
Windows 2k is shit but I like it's aesthetic. It reminds me of Windows 11.

Discussion of Free and Open Source Text-to-Image/Video Models

Prev: >>107646172

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.
63 replies and 15 images omitted. Click here to view.
>>
>>107649125
Your days are numbered, gpulet
>>
>>107649331
>you couldn't buy GPUs for years and the only thing that changed was that they were no longer needed for crypto, i think
a few years isn't that bad. the bubble popped. once all these major corporations finish stocking up on their infinity ram demand will stabilize. I give it 2-3 years.
>>
>>107649377
also, note it was just a cropped face of OG miku. but it still works well.
>>
File: 1744489295196354.png (928 KB, 824x1264)
928 KB
928 KB PNG
the black man lying face down on the floor is holding a sign saying "#1 fent user of the year"
>>
File: 1746375203762066.png (1.96 MB, 1678x1024)
1.96 MB
1.96 MB PNG
The face consistency is better but it's still the same old QiE, slopped ass model unfortunately

File: gnu-vs-llvm-70657309.jpg (51 KB, 720x405)
51 KB
51 KB JPG
Tell me /g/, what is your preferred C compiler? and what optimizations do you test your code on?
>>
>>107647848
my own
>>
>>107647848
clang because apple > gnu
>>
clang for linting and in-line error checking
gcc for the final production build

File: file.png (3.68 MB, 1920x1080)
3.68 MB
3.68 MB PNG
Everything is already from China, but here we discuss the cheap chink shit you see on various sites.
1st rule of /csg/: If it looks too good to be true, it probably is.

Useful links
>TWS IEM reviews: www.scarbir.com/
>Guide: csg-guide.neocities.org/
>Wiki: https://igwiki.lyci.de/wiki/Chink_Shit_General

>What headphones/earbuds should I buy?
>>>/g/iemg
>I want a cheap smartphone what should I buy?
>>>/g/spg/
>I want to buy some sort of emulation device
>>>/vr/hhg/


Comment too long. Click here to view the full text.
159 replies and 42 images omitted. Click here to view.
>>
Asking here for now since /mkg/ is dead (it's chinkshit related anyway)
Do you guys know of any Redragon keyboard models that are 5-pin (or anything besides Outemu) compatible?
This is the only "reputable" brand that I can find cheap-ish models locally, most other stuff end up costing considerably more because of customs
>>
>>107615297
I used the 3 off 29 one and so far so good, no cancellation
>>
>>107644029
Arctic Pro or Thermalright.
>>
how come no seller gives reciprocating feedback anymore?
i thought they were my friends.
>>
>>107644272
Great stuff my man. I see you are also a man of culture.

What makes minecraft so flexible in how you can mod the game? The reason it is still holding strong as the highest selling game after 15 years is because of the freedom it offers with modding. You can make an infinite number of new minigames in multiplayer servers. You can make an endless variations of new parkour maps or modpacks that will never feel repetitive.

No game comes close in how much you can change the vanilla version to make new stuff.

What allows minecraft to have this ability?
14 replies omitted. Click here to view.
>>
>>107648554
pocket edition was developed by mojang way before microsoft purchased them
>>
>>107648695
Everything mogs MC lately. It's kinda sad.
>>
>>107649367
Interesting fact. Notch is currently working on a game with a small team. It’s supposed to be a roguelike exploration game.
>>
>>107649404
lol, lmao
>>
>>107646137
It got made at a time when user generated content was THE selling point.
Think about LittleBigPlanet or Roblox.
But Minecraft is the only one where you can host it yourself.
The basegame does provide everything necessary for a modified server to do all kinds of cool things. You can join Hypixel with your default unmodded vanilla client.

It will never have any serious competition either. Because in the current year, you cant just let a player do what he wants. Imagine if he would build a swastika!
And self hosted game servers in 2025?

what does /g/ listen to? i'll start
14 replies and 5 images omitted. Click here to view.
>>
File: 1748023400107643.png (867 KB, 862x830)
867 KB
867 KB PNG
pardon the presentation. thew random shit i like together. i don't even know what site people use for topsters nowadays.
>>
>>107644104
hell yea I like big beat too
>>
File: 1746417548370391.png (3.51 MB, 840x840)
3.51 MB
3.51 MB PNG
>>107647581
>i don't even know what site people use for topsters nowadays.
>site
magick montage *.png -background none -geometry 200x200+5+5 out.png
>>
>>107646973
man, I recognize nothing of this besides the pink floyd stuff, any recommendations?
>>
>>107648718
>magick montage
I have been appending row-by-row for too long, thanks.

File: .png (859 KB, 800x640)
859 KB
859 KB PNG
Puffy edition.
Ask your BSD-related questions here, discuss tips and tricks, share
scripts, and everything in between.

>Main operating systems
https://www.openbsd.org
https://www.freebsd.org
https://www.netbsd.org
https://www.dragonflybsd.org

>Updates and advisories
OpenBSD: https://www.undeadly.org
FreeBSD: https://www.freebsd.org/security/notices/
NetBSD https://www.netbsd.org/changes/
DragonFly BSD: https://www.dragonflydigest.com

Comment too long. Click here to view the full text.
17 replies and 3 images omitted. Click here to view.
>>
>>107649305
The worst part is those lunatics reject the plain and simple reality that all but the highest profile companies use gpl code in their proprietary shitware and don't even get me started on individuals or smaller teams, especially ones based outside of the US

You think the 50 year old php janny cares, or even knows about your legal boogeyman?
>>
>>107649253
Literally untrue troon. Stop parroting shit you read from 15 years ago.
>>
>>107649372
https://isopenbsdsecu.re/mitigations/
https://youtu.be/3E9ga-CylWQ
https://youtu.be/AvSPqo3_3vM
OpenBSD is not a secure operating system
>>
>>107649372
they're likely basing their opinion off this talk https://isopenbsdsecu.re
and it makes some valid points but idiot meme consumers just see the puffy with a clown nose and think "OH OK ITS BAD NOW", as if it detracts from the fact that openbsd still cares waaaaay more than your standard linux variant
also can you not call people names? it makes us seem unintelligent
>>
>>107649414
>they
it's she/her

File: 2nv8nz7ykx6g1.jpg (128 KB, 1320x995)
128 KB
128 KB JPG
Would this solve to hiring crisis?
83 replies and 7 images omitted. Click here to view.
>>
>>107644673
>Stores wouldn't be stocked
>Trucks and trains wouldn't run
>Restaurants would be gone
>Huge swatches of manufacturing
how much of the economy is this prole crap anymore? like 20%? the lords who own us and rule us don't care. this shit can crash and burn, and you barely contribute to it anyway. for every actually physically productive worker, whose output directly contributes to something other people end up actually using, there are already 10 freeloaders just clogging up the system and serving as distributed consumption engines

you already have barely any purchasing power as a non-elite. most office drones are already largely redundant. if they can reduce the number of caste menials toiling in complex, unstructured environments to a minimum that can be easily ruled, the rest of the teeming masses of humanity and adjacent humanoids become little more than friction in the system, an atavistic evolutionary branch that should be extirpated
>>
>>107644673
>Stores wouldn't be stocked
they would still be stocked, but a more efficient and automatable shelving system would be utilized.
>Trucks and trains wouldn't run
already automated decades ago but due to unions we're not allowed to implement it
>Restaurants would be gone
also automated already
>Huge swatches of manufacturing would be gone
also automated already
>>
>>107644673
Eliminate 99% of the population and none of that even matters, retard. We're returning to feudalism.
>>
>>107642522
I hate to say it, but a nominal fee for applying to white collar jobs would at least CURB the issue. This of course only if we've already gutted h1b and every indian first.
>>
>>107642522
Hitler had an idea. A very good idea.

File: neofetch.png (67 KB, 785x429)
67 KB
67 KB PNG
post em
42 replies and 28 images omitted. Click here to view.
>>
>>107637847
>350mb
That's pretty impressive. My system processes are 1GB alone.
>>
File: 432724828.png (51 KB, 856x456)
51 KB
51 KB PNG
Hey sisters
>>
>>
Wish I had a mux chip
>>
File: 1754184545575733.png (128 KB, 994x546)
128 KB
128 KB PNG

File: 1761135984885264.png (301 KB, 728x1720)
301 KB
301 KB PNG
>What phone has X and Y feature?
Don't ask, use these!
https://www.gsmarena.com/search.php3
https://www.kimovil.com/en/compare-smartphones
https://phonedb.net/index.php?m=device&s=query

Good Resources:
>Reviews
https://www.gsmarena.com
https://www.phonearena.com
https://www.notebookcheck.net

>Frequency Checkers
https://www.frequencycheck.com
https://kimovil.com/en/frequency-checker

Comment too long. Click here to view the full text.
107 replies and 22 images omitted. Click here to view.
>>
>>107649335
No I got it from a private listing brand new and sealed hence the 750€ price instead of the 950-1000€ the cheapest ones are sold in my country

>>107649256
I might consider it but I don't want to end up feeling like I downgraded in any way although it must be a pretty solid choice and I'm just overthinking it, I generally don't have any complaints with the Xiaomi so far other than wanting HyperOS to be a bit more customizable
>>
>>107649153
>why they would remove
very easy, bluetooth audio is more expensive than wired, internal storage is more expensive than sd cards
>>
>>107638158
Did the captcha defeat the spammer?
>>
>>107649361
just keep your phone then. you got a good deal, it's just sidegrades at this point
>>
File: New vs old.jpg (262 KB, 1440x1717)
262 KB
262 KB JPG
15R or 13R?
Can you remove the ai slop from OxygenOS16?

Sam is based for this.

Post yours.

I love ChatGPT.

I hope it wins the AI war.
108 replies and 26 images omitted. Click here to view.
>>
>>107648879
this but Feeblon and Jewgle
>>
>>107649117
>>
>>107648943
wonder why exactly they restricted it
>>
>>107649289
Anon, if you wanted m--t's dox you could ask me.
>>
>>107649401
You, the retarded newfaggot who contradicted a well-known fact? Just give it a rest already.

File: file.png (50 KB, 1200x399)
50 KB
50 KB PNG
overrated and not useful if you actually do any kind of work.
49 replies and 13 images omitted. Click here to view.
>>
If you're a high T huge balls MAN with a massive cock, you use Slackware.
If you're a chud... A sexless chud who thinks he's married to a cartoon characterz the you use Arch... Or a troon who thinks he IS a waifu character, the you use Arch
Any ALPHA make Slackbros here?
>Doubt
>>
File: average arch fag.png (400 KB, 920x900)
400 KB
400 KB PNG
>arch faggots got so butthurt jannies deleted my file
kek
>>107648459
got them lel
>>107648474
>-ACK
>>107648510
np mate, or should i say, ubuntu chad.
>>107648543
updooters could be here he thought
>>
>>107646079
the fact you people think anyone with a moderate understanding of computers can get "filtered" by arch linux says everything

yes I too passed my NEET phase and installed it and felt like a "l33t h@xx0r" for doing so

but if you ever got an actual job in tech, you would realize how embarrassing this is, cause the actual job is 100x times more complicated than copy pasting terminal commands

and nothing, and I mean absolutely NOTHING in the world matters more than stability for a work environment
and no you do not need that bleeding edge package, real software gets intentionally built in older versions, to ensure stability and compatibility
congrats you used the latest version of X, nobody else does and all your dependencies break
>>
>>107645984
We already know. Post something original.
>>
>>107645984
Used it for 6 months or so, during which updates bricked my system three times.
I've been running my current Ubuntu installation since 2022 and it just works.

Never again will I use rolling release nonsense.


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