[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
219 replies and 40 images omitted. Click here to view.
>>
>>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
>>
>>107649442
Oh, btw writing general purpose processors is not the best use case for an FPGA.
FPGAs are great for parallel processing and pipelining.
You can easily render mandelbrot at 1080p 60fps with like 200 MHz clock frequency, which you could barely do on a normal CPU, because you could have one multiplication per clock cycle. Possibly even a few in parallel.
>>
>>107649489
duly noted.
i thought writing a cpu could be a good idea because i assume im gonna exploit a variety of mechanisms present in an fpga
parallel processing sounds interesting too, but im not sure of the feasibility of using fpgas instead of a gpu for that task
otherwise thats what the ai companies would have been using, methinks

File: file.png (50 KB, 1200x399)
50 KB
50 KB PNG
overrated and not useful if you actually do any kind of work.
55 replies and 14 images omitted. Click here to view.
>>
>>107649465
>boot iso
>select autoinstall
insane
>>
>>107649465
>It is the beta-testing ground for Linux.
Then how come it is so stable?
>>
>>107649479
yes they recently streamlined it because they realized more beta-testers is better
because now it is the basis for a real corporate OS, SteamOS

but back in the day before Steam took control, it was really gate-kept and if you followed any kind of automation you weren't a "real" arch-user
>>
>>107649497
because you don't know what stable even is
>>
Was on Manjaro but the last update made my Waterfox crash very open. Replaced Waterfox with Firefox and still crashes upon crashes. "Maybe it's time to try Arch", got it installed, Firefox don't crashes, had my troubles installing software in AUR repository but noticed that Grub didn't had any entry for Win10 in another disk. Followed the Arch wiki but didn't manage to update Grub with os-probe. Reinstalled Manjaro which does everything fine but Firefox still crashes even after 146.0.1 update. Ah, shit.

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.
20 replies and 3 images omitted. Click here to view.
>>
>>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
>>
>>107649414
What? Almost all mitigations listed are declared useless
>>
>>107649482
it's a critique of every mitigation. some have nothing worth saying anything about, like https://isopenbsdsecu.re/mitigations/unveil/
>>
>>107649364
We use readline in our client version manager and nobody cares

File: kek.png (261 KB, 1080x1529)
261 KB
261 KB PNG
Why would you buy a pixel phone instead of an iphone?
>>
File: lmao.png (220 KB, 1080x1606)
220 KB
220 KB PNG
>>107649523
use case for taking pictures?

File: image.png (477 KB, 1112x816)
477 KB
477 KB PNG
>Lisp is a family of programming languages with a long history and a distinctive parenthesized prefix notation. There are many dialects of Lisp, including Common Lisp, Scheme, Clojure and Elisp.

>Emacs is an extensible, customizable, self-documenting free/libre text editor and computing environment, with a Lisp interpreter at its core.

>Emacs Resources
https://gnu.org/s/emacs
https://github.com/emacs-tw/awesome-emacs
https://github.com/systemcrafters/crafted-emacs

>Learning Emacs
C-h t (Interactive Tutorial)
https://emacs-config-generator.fly.dev
https://systemcrafters.net/emacs-from-scratch
http://xahlee.info/emacs
https://emacs.tv

Comment too long. Click here to view the full text.
136 replies and 19 images omitted. Click here to view.
>>
File: OMEMO_logo.svg.png (241 KB, 2560x1570)
241 KB
241 KB PNG
>>107647255
https://en.wikipedia.org/wiki/OMEMO

OMEMO is an extension to the Extensible Messaging and Presence Protocol (XMPP) for multi-client end-to-end encryption developed by Andreas Straub. According to Straub, OMEMO uses the Double Ratchet Algorithm "to provide multi-end to multi-end encryption, allowing messages to be synchronized securely across multiple clients, even if some of them are offline". The name "OMEMO" is a recursive acronym for "OMEMO Multi-End Message and Object Encryption". It is an open standard based on the Double Ratchet Algorithm and the Personal Eventing Protocol (PEP, XEP-0163). OMEMO offers future and forward secrecy and deniability with message synchronization and offline delivery.
>>
>>107647255
https://codeberg.org/emacs-jabber/emacs-jabber/issues/9
https://omemo.top/
>>
Some months ago, someone in this thread wrote some Elisp functions for tiling Emacs windows. Is that person still around, and can he post his functions again?
>>
PSA:

https://github.com/TuxedoTako/4chan-xt/releases/tag/XT2.24.2
>>
https://sachachua.com/blog/2025/12/2025-12-22-emacs-news/

File: xt.png (5 KB, 138x112)
5 KB
5 KB PNG
I don't want to go back to regular 4chan-X
173 replies and 28 images omitted. Click here to view.
>>
XP fork when?
>>
just kill the site already
>>
>>107649055
/vyt/ and /hlgg/ which are the /vt/ related altchans are incredibly fast and active.
>>
>>107610307
>>107610173
>>107610285
ok I'm sticking with 4chan-X
>>
which alt chans did the dev genuinely believe are better than 4chan?

File: 1747763343689501.png (168 KB, 962x260)
168 KB
168 KB PNG
Why are these commies trying to replace sudo?
>>
Because of the setuid bit, and bloat.

Previous Thread: >>107617435

>Links:
>DALL-E 3
https://www.bing.com/images/create
https://designer.microsoft.com/image-creator
>4o
https://chatgpt.com/
https://sora.chatgpt.com
https://copilot.microsoft.com/
>Imagen 4 and Nano Banana (Pro)
https://gemini.google.com/app
https://labs.google/fx/tools/image-fx
https://labs.google/fx/tools/whisk
https://aistudio.google.com/prompts/new_image

Comment too long. Click here to view the full text.
4 replies and 3 images omitted. Click here to view.
>>
>>
wtf image-1.5 is heavily rate limited now on lmarena
>>
>>
>>107649190
To be honest, I'm not a great fan of onions sauce, it tends to overpower other flavours, in my opinion/experience. I like oyster sauce instead, it adds umami without becoming the dominant flavour at all.

On lmarena, like Mustachio observed, there's almost certainly some kind of account-related profiling when it comes to the filter. I've been noticing myself that running the same prompt while logged in and while in incognito mode, without login, results in different treatment. So far, this is limited to prompts that were so innocuous that it made no sense they were blocked in the first place.
>>
>>107649490 (Me)
And I'll never remember this stupid word's filter...

File: 1762485807924422.jpg (65 KB, 1015x1024)
65 KB
65 KB JPG
Apparently some of the files were saved as PDFs with the blacked out parts totally removable
51 replies and 4 images omitted. Click here to view.
>>
>>107644199
Reminds me of the time where they finally released obama's birth certificate. It was a pdf with multiple layers, indicating that it was a forgery. Because why would there be layers in a scan of the actual certificate.

What was even funnier, was that some group started digging through the hawain archives, and they found a document that had a number of stamps aligned/positioned exactly the same as on the possibly forged obama document.

The unfunny icing on the cake was that somebody from the archives later died in a plane crash hopping between islands.
>>
>>107644199
Can I have them?
>>
>>107647942
This, they aren't that stupid.
>>
>>107644199
That's like using the spoiler tag kek
>>
>>107648182
The state of Florida had 25 corroborating independent witnesses, girls as young as 13.

File: FL Studio GOD.jpg (61 KB, 650x488)
61 KB
61 KB JPG
>/g/ makes an 18th album
Theme: Outer Space Music
Title: [Accepting suggestions]
Deadline: 7th of January [revised from late December]

>/g/ makes a 19th album
Theme: [Accepting suggestions]

>Song submission rules/guidelines
Upload the file somewhere, preferably in a lossless format, and post the link here. If you want to update your track, make a new post.
Include the song title in the post, and make it clear that your song is a submission for the album.
Optionally you may include cover art for your track, but please confirm that the image in your post is the cover art or it won't be included. You may not use your real artist name.
Songs that contain anything against YouTube's policies won't be uploaded on YT, but will still be added to the album.
By default, tracks will be normalised to -14 LUFS (integrated loudness) in the release. You may specify a lower loudness for your track.
Use of AI is banned. This includes AI generated stems, samples, and effects. "AI" includes all neural network-based models and not hard-coded automation/procedural generation. You are allowed to ask an LLM about music-related questions, but asking it to give you musical ideas (eg. generating a chord progression) is already a no-no.

Comment too long. Click here to view the full text.
20 replies and 2 images omitted. Click here to view.
>>
>>107646218
>https://www.youtube.com/watch?v=ZYIqWvWZFXg
its made by a literal child good job finding a rival in your own age group come back when you graduate middle school lmao
>>
is there a fat maker plugin?
>>
>>107647363
most music made by adults is similarly bad but you just don't see them because they get buried by the algorithm or some anons glaze literal whos or just mildly successful producers with a mediocre sound but anons don't seem to recognize the quality difference vs mainstream music or plugins vs hardware
>>
>>107648384
>plugins vs hardware
that track has composition problems no studio gear could fix like how the hook is in a different key from everything else the transitions are abrupt and theres so much dissonance he probably doesnt know what a chord progression is
an amateur audio engineer wouldnt need a hw compressor to gain match the lead to the other instruments or stop the drums from hard clipping, youre obsessed with going ootb but theres no anal log warm enough to fix this shit, it needs rewriting
>>
>>107646218
That's not a tryhard production. Some horns and strings. Most of the first three credits wouldn't be split up on other releases

File: 1741705673428070.webm (3.7 MB, 1280x720)
3.7 MB
3.7 MB WEBM
The team collected videos where creators show an on-screen gamepad overlay to train the AI.

NitroGen learned to map gameplay pixels to gamepad actions. It currently only works with controller based games.

nitrogen.minedojo.org
238 replies and 31 images omitted. Click here to view.
>>
>>107649244
go back to your fucking dailies you mazed rat in whatever fucking MMO you are stuck in

absolute state of bottom barrel scrapers
>>
>>107629331
Unironically.
Just tune the models to favor a bit of light hearted RP, doing things because they're 'fun' rather than just max performance.
Joke would be the AIs kick you out of their guild of being a tryhard. Then we would know for sure we are and always were the problem.
>>
>>107649262
fuck you shit eating faggot

I hope they rape your entire system with malware, easy to do, since you can only change single package during pip install and nuke your PC into oblivion

and since you are so hopeful about it why don't you contribute to this AI project... you have everything at hand to make a reality, add proper hardware support, add nice detection, bypass all anti cheat measures, and make it UNDETECTABLE
>>
video games will be filled with bots and some below 10 iq idiots who think they're good company
that's hilarious
>>
>>107649444
are you ok anon?

File: IMG_0501.jpg (2.61 MB, 1620x1595)
2.61 MB
2.61 MB JPG
https://www.thurrott.com/dev/330980/microsoft-to-replace-all-c-c-code-with-rust-by-2030

>Our North Star is ‘1 engineer, 1 month, 1 million lines of code.’ To accomplish this previously unimaginable task, we’ve built a powerful code processing infrastructure. Our algorithmic infrastructure creates a scalable graph over source code at scale. Our AI processing infrastructure then enables us to apply AI agents, guided by algorithms, to make code modifications at scale. The core of this infrastructure is already operating at scale on problems such as code understanding.”

LOL
102 replies and 9 images omitted. Click here to view.
>>
>>107640674
A major problem with using AI to rewrite your code in Rust is that there's very little training data on Rust, and the Rust language itself is unstable and changing. It's literally the worst case scenario for AI code.
>>
>>107640674
I've been wondering why services have been feeling shitty over the last 6 months, particularly notice it in Google workspace
>>
>>107649088
True. They should convert to a formally standardized language like Fortran or Common Lisp.
>>
>>107640674
> 1 engineer, 1 month, 1 million lines of code
We've entered the "Collectivization" / "Great Leap Forward" era of Big Tech. Where once there were fads, now a political Lysenkoism has taken hold in the tech sector and millions of lines of working code and programs will be lost in the coming 'revolution'. The ultimate end result of this will be the death of Windows, and with it the core culture of personal computing as we know it, replaced by the unapologetic fascism of Mac OSX / phone Oses and Cloud computing.
>>
>>107640674
>"1 dev, 1 month"
>by 2030
Hmmm..

File: ProgrammingPerl.jpg (35 KB, 252x395)
35 KB
35 KB JPG
Do any of you know perl, and know it by heart?
Supposedly PHP i supposed to be for noobs and perl is the patricians choice, but I don't know how many people even still know perl.
>>
>>107648740
I still use it for little things here and there.
>>
>>107648740
Bruh perl be unc coded and shit
>>
>>107648740
No one knows perl by heart. Also it's dead and so is php.

File: 1495072658260.jpg (684 KB, 1920x1200)
684 KB
684 KB JPG
2026 will be the year of the Linux desktop (real)
4 replies omitted. Click here to view.
>>
>>107648477
Vanguard doesn't supoprt it.
EAC doesn't support it.
Javelin doesn't support it.
Photoshop CC doesn't support it.
Premiere CC doesn't support it.
VEGAS doesn't support it.
FL Studio doesn't support it.
Denuvo doesn't support it 90% of the time.
No industry standard software that is up-to-date will ever support it.
90% of MP games will simply perma ban your account for being on GNU/+Linux (eg; like Apex Legends did).
>>
>>107649338
All spyware and malware
You don't need all this
Linux is the free OS
>>
>>107649338
You always post this and I always tell you to remove FL Studio from the list. Werks with WINE. Unless you mean a Native version of course.
>>
>>107649373
>You don't need all this
Most of those programs have no decent alternatives.
>>
>>107649443
I VILL POST IT AGAIN
YOU VILL REMOVE IT
YOU VILL DO IT FOR FREE

File: 1766518284448.png (181 KB, 530x751)
181 KB
181 KB PNG
How do I get my friends to use Telegram? It is so much better than other slop applications.
>>
>>107648008
you ask them
what the fuck else do you expect
god damn these threads just keep getting more and more retarded
And NO I'm not fucking reading that retarded wall of text that you posted to be edgy
>>
By "so much better" you mean "RT and its reposts is blocked in the USA on it"
>>
>>107648008
Better how?
>>
>>107648008
Make them switch to Signal or Session at the very least?!


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