/dpt/ - Daily Programming ThreadWelcome to the Daily Programming Thread. What are you working on, /g/?Previous thread: >>107575071
>>107649304it's just space separated you mongoloid.yes, muh name, but it's common to have different separators
>>107649304Well, that's easy to fix lol
>>107632451Safe 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 intrinsicsThe 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 verificationThey get used a lot, but it's all special stuff. Reason why they are not that mainstream in hacker culture
>>107649389a-hah.thanks for the clarification.its still very interesting stuffand writing a cpu sounds like a good project to work on verilog/vhdl>tech winterah, its just to say that the tech market is gonna be bad for a whilelike a winter, in relation to harvests/animals. nothing to eat, nothing to do, only wait
>3 Game & Watch from a Flea Market Can she fix them?
>>107648635>her
>>107648646yes, her
>>107648614You live because your dad simped for a whore
>>107648614Make me, spergcel
>>107644291hope she sees this bro
it's over for them niggas
>>107648340>10 million?The Global Hawks cost about $150 million a pop.
>>107648340>>107648816They don't cost that, they are charged that.Military contracting is a bigger scam than the medical industry.
>>107646291Pentagon exempt I assume, just like for Huawei.
>>107646291>bans ALL foreign-made drones, not just ChinaIf 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.
>>10764834060K is a good price for Made in America plane.You also pay for patriotismAnyone 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.
>>107648780classic 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.
>>107648871They should have made classic theme compatible with WDDM/DWM.
>>107649310What 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.
>I like turd made of brown feces, it reminds me of chocolate
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 ModelsPrev: >>107646172https://rentry.org/ldg-lazy-getting-started-guide>UIComfyUI: https://github.com/comfyanonymous/ComfyUISwarmUI: https://github.com/mcmonkeyprojects/SwarmUIre/Forge/Classic/Neo: https://rentry.org/ldg-lazy-getting-started-guide#reforgeclassicneoSD.Next: https://github.com/vladmandic/sdnextWan2GP: https://github.com/deepbeepmeep/Wan2GP>Checkpoints, LoRAs, Upscalers, & Workflowshttps://civitai.comComment too long. Click here to view the full text.
>>107649125Your 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 thinka 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.
>>107649377also, note it was just a cropped face of OG miku. but it still works well.
the black man lying face down on the floor is holding a sign saying "#1 fent user of the year"
The face consistency is better but it's still the same old QiE, slopped ass model unfortunately
Tell me /g/, what is your preferred C compiler? and what optimizations do you test your code on?
>>107647848my own
>>107647848clang because apple > gnu
clang for linting and in-line error checkinggcc for the final production build
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.
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
>>107615297I used the 3 off 29 one and so far so good, no cancellation
>>107644029Arctic Pro or Thermalright.
how come no seller gives reciprocating feedback anymore?i thought they were my friends.
>>107644272Great 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?
>>107648554pocket edition was developed by mojang way before microsoft purchased them
>>107648695Everything mogs MC lately. It's kinda sad.
>>107649367Interesting fact. Notch is currently working on a game with a small team. It’s supposed to be a roguelike exploration game.
>>107649404lol, lmao
>>107646137It 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
pardon the presentation. thew random shit i like together. i don't even know what site people use for topsters nowadays.
>>107644104hell yea I like big beat too
>>107647581>i don't even know what site people use for topsters nowadays.>sitemagick montage *.png -background none -geometry 200x200+5+5 out.png
>>107646973man, I recognize nothing of this besides the pink floyd stuff, any recommendations?
>>107648718>magick montageI have been appending row-by-row for too long, thanks.
Puffy edition.Ask your BSD-related questions here, discuss tips and tricks, sharescripts, and everything in between.>Main operating systemshttps://www.openbsd.orghttps://www.freebsd.orghttps://www.netbsd.orghttps://www.dragonflybsd.org>Updates and advisoriesOpenBSD: https://www.undeadly.orgFreeBSD: https://www.freebsd.org/security/notices/NetBSD https://www.netbsd.org/changes/DragonFly BSD: https://www.dragonflydigest.comComment too long. Click here to view the full text.
>>107649305The 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 USYou think the 50 year old php janny cares, or even knows about your legal boogeyman?
>>107649253Literally untrue troon. Stop parroting shit you read from 15 years ago.
>>107649372https://isopenbsdsecu.re/mitigations/https://youtu.be/3E9ga-CylWQhttps://youtu.be/AvSPqo3_3vMOpenBSD is not a secure operating system
>>107649372they're likely basing their opinion off this talk https://isopenbsdsecu.reand 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>theyit's she/her
Would this solve to hiring crisis?
>>107644673>Stores wouldn't be stocked>Trucks and trains wouldn't run>Restaurants would be gone>Huge swatches of manufacturinghow 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 enginesyou 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 stockedthey would still be stocked, but a more efficient and automatable shelving system would be utilized. >Trucks and trains wouldn't runalready automated decades ago but due to unions we're not allowed to implement it>Restaurants would be gonealso automated already>Huge swatches of manufacturing would be gonealso automated already
>>107644673Eliminate 99% of the population and none of that even matters, retard. We're returning to feudalism.
>>107642522I 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.
>>107642522Hitler had an idea. A very good idea.
post em
>>107637847>350mbThat's pretty impressive. My system processes are 1GB alone.
Hey sisters
Wish I had a mux chip
>What phone has X and Y feature?Don't ask, use these!https://www.gsmarena.com/search.php3https://www.kimovil.com/en/compare-smartphoneshttps://phonedb.net/index.php?m=device&s=queryGood Resources:>Reviewshttps://www.gsmarena.comhttps://www.phonearena.comhttps://www.notebookcheck.net>Frequency Checkershttps://www.frequencycheck.comhttps://kimovil.com/en/frequency-checkerComment too long. Click here to view the full text.
>>107649335No 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>>107649256I 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 removevery easy, bluetooth audio is more expensive than wired, internal storage is more expensive than sd cards
>>107638158Did the captcha defeat the spammer?
>>107649361just keep your phone then. you got a good deal, it's just sidegrades at this point
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.
>>107648879this but Feeblon and Jewgle
>>107649117
>>107648943wonder why exactly they restricted it
>>107649289Anon, if you wanted m--t's dox you could ask me.
>>107649401You, the retarded newfaggot who contradicted a well-known fact? Just give it a rest already.
overrated and not useful if you actually do any kind of work.
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
>arch faggots got so butthurt jannies deleted my file kek>>107648459got them lel>>107648474>-ACK>>107648510np mate, or should i say, ubuntu chad.>>107648543updooters could be here he thought
>>107646079the fact you people think anyone with a moderate understanding of computers can get "filtered" by arch linux says everythingyes I too passed my NEET phase and installed it and felt like a "l33t h@xx0r" for doing sobut 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 commandsand nothing, and I mean absolutely NOTHING in the world matters more than stability for a work environmentand no you do not need that bleeding edge package, real software gets intentionally built in older versions, to ensure stability and compatibilitycongrats you used the latest version of X, nobody else does and all your dependencies break
>>107645984We already know. Post something original.
>>107645984Used 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.