[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
85 replies and 12 images omitted. Click here to view.
>>
File: 1766248669478988.png (224 KB, 326x584)
224 KB
224 KB PNG
>>107635861
>how can I tell that the function name is +, and not 'a'?
The choice is really between two grammars:
expr = id | apply
apply = id ids

expr = id | apply | add
apply = id ids
add = expr "+" expr

When "a + b" is read in the first grammar + would need to be reflowed up the tree to function application position, basically rewriting it "+ a b", + needs to be marked as infix prior to its first use (often with a keyword or by grouping it like (+)). In the second grammar "a + b" explicitly parsed, add nodes in the tree would later be retyped to apply nodes. It's up to you which is more minimal

>I want to have a minimal syntax in my functional language. The best I can come up with is basically structs, but then that makes parameter passing strange.
>If I don't have parameters in the declaration, then infix function name disambiguation is trivial, but then how should I define positional parameters in a minimal way?
How *ml might do both with structs:
-- possible f definitions
f x = x.a + x.b -- x struct parameter


Comment too long. Click here to view the full text.
>>
>>107638828
samefag?
this kind of dicksucking usually comes with samefaggotry
especially when the solution is completely and entirely worthless
t. wrote 300+klocs of c
>>
also how do i deal with this shit? >>107635968
whats the industry standard?
>>
>>107639004
>>107639004
Do you actually understand what "weak" does?
It does not sound like what you're looking for.
>>
>>107639116
bc it isnt.
in this case, ((weak)) attributes null to the address of the variable when it hasnt been properly declared, as opposed to be a promise of declaration like extern does (pardon my niggertalk, im a self taught, i dont know the proper terms for things)

what i need is to emit an explicative message if a proper declaration isnt to be found anywhere
i mean, i dont absolutely *need* it, i just want it. bc ocd and such. and also because i want my codebase to be clean and ethnically homogenous as a sign of protest against the encroaching sloppification of everything
also because i *am* going to use that in other programs and i *dont* want to be forced to remember boring shit

File: 1758975529392485.jpg (907 KB, 2055x1484)
907 KB
907 KB JPG
Maiden thread edition
please suggest changes to the OP from the old /ldg/ OP

Prev: (none)

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

Comment too long. Click here to view the full text.
143 replies and 18 images omitted. Click here to view.
>>
>diffusion tech general
Owo what's this?
>>
>>107621795
What are the sauce for the images, OP?
The low poly generation at least?
>>
>>107627673
I went through and scrubbed most toys from the dataset (no screencaps either), they were causing too many artifacts.

>>107635197
>being Jenny's ex
Is there a worse fate for a man?

>>107635265
Keep pulling until it doesn't. EZPZ!
>>
>>107623486
> Empirically that suggests there is some serious catch
Maybe there is just not enough youtube guides made by indians?
>>
Did anyone try Wan Move? The stupid Comfy template doesn't include the sample image.

File: 1766249165756.jpg (153 KB, 2000x2000)
153 KB
153 KB JPG
What's the best PC controller on the market right now? My wired Xbox controller from 2015 works fine but I wanna go wireless
149 replies and 22 images omitted. Click here to view.
>>
>>107637397
Lmao why would I pay for something that's dogshit then? Why are people shilling for literal broken products
>>
>>107634954
I think it's still the best controller for the price. To nitpick negatives:
>Dongle stick latency is "high" (~17ms), if you're a stickler about that. Buttons are fine, and wired/Bluetooth are also fine.
>Cross-shaped tactile d-pad isn't the easiest thing to do diagonals on
>Battery life is mediocre, iirc 9-12 hours
>Only 2 back buttons, but shift layer and gyro allow for additional button binds
>>
>>107637513
>pay the same price for controllers that don't have any of this + shitty sticks
K retard
>>
>>107637236
what is it called?
>>
>>107638280
The faggot is just picking fights in the thread, just ignore him

File: imo.jpg (173 KB, 868x1023)
173 KB
173 KB JPG
OpenAI solved IMO using a plain LLM, unlike DeepMind, who used a custom system based on Lean 4.

Some myths that people are coping with (with answers):

* AIs saw these problems in their training data -- No, OpenAI got the problems within minutes of IMO ending
* AIs used a lot more time -- No, OpenAI's model had the same amount of time.
* They used a boutique system designed for solving IMO problems -- Only DeepMind. OpenAI used a general LLM.

AI is already smarter than you.

In b4: spelling gotchas and image-based tasks, or people who never used top of the line LLMs like gemini-3-pro and gpt-5-high.
22 replies and 4 images omitted. Click here to view.
>>
>>107631390
>openai is still using tools like lean for reinforcement learning.
Did it? DeepSeek repeated their feat, and it's open source. We can check its methodology.
>>
buy an ad
>>
>>107630491
Kek, getting paid that much and not placing/investing (or at very least saving) money...
He wasn't smart, that's for sure.
>>
>>107631390
>a research question that requires coming up with an architecture different from LLMs
There's decent candidates for that in the scientific literature, and open source software that implements them, but they use a totally different set of scaling laws and can't be implemented on GPUs. Big tech isn't interested, because the transition will make a truly vast amount of investment basically instantly worthless and trigger an abysmal market crash.
>>
>>107630491
If he had a 150k job then why doesn't he have a house? Is he stupid?!

File: IMG_0993.png (1.11 MB, 1920x1080)
1.11 MB
1.11 MB PNG
Previous: >>107572600

niri is superior edition :3
300 replies and 99 images omitted. Click here to view.
>>
File: 1742362305356383.png (693 KB, 1651x1032)
693 KB
693 KB PNG
>>107616643
>>107634838
>raleigh-reloaded-compact
>misc-fixed
>helvetica otb
>xp icons
icewm theme and winamp skin are wip
>>107621695
>pape
evening glow by thomas kinkade, here's the original and the edited one
https://files.catbox.moe/b2edl5.jpg
>>
File: 1749892713331036.png (840 KB, 1920x1200)
840 KB
840 KB PNG
>>107638345
oops wrong one
>>
>>107638345
nothing makes me happier than knowing the methods of anons here, you know you inspire me, i hope i achieve a setup like yours now that i know your method
>>
>>107632349
Bazzite brings NO ADVANTAGE for anyone who isn't retarded and can setup GNU/Linux gaming. It is also feels extremely restrictive. You can't shoot yourself in the foot, I don't want an OS that treats me like a baby.
As I'm accostumed to using under 500MB on dwm on idle having the DE freeze and krash because of low memory is a downgrade, period.
>>
>>107633262
chuds are incapabale of creation

File: ISO_C++_Logo.svg.png (16 KB, 330x372)
16 KB
16 KB PNG
Want to use modern C++ features like Modules? Nuh uh can't include "non-importable headers" from common libraries
What's "non-importable"? IT'S IMPLEMENTATION DEPENDENT. No one knows.
C++ keeps stapling shiny new abstractions onto a language whose foundation is still “whatever your compiler feels like today.” Every new feature “works unless it doesn’t.”
It’s not a language design so much as cardboard layer cake.
Why don't you use something else? MPI. The alternative would be Fortran.
>>
isnt fortran a procedural mathfag language with 'some' OOP plastered on top as an afterthought on later versions? Idk c++ but I dont get why people who seemingly dont know shit likes to complain about it so much
>>
>>107638778
Yeah it sucks that we can't deprecate stuff. Too many boomer corps relying on old shit. Only hope is that eventually they adopt Rust enough that C++ can just go nuclear on all the legacy crap due to nobody using it.
>>
>>107638967
as a C++ programmer, the hatred is well deserved. the language is fucking terrible because it's a thousand and one conflicting visions crammed into a giant design-by-committee mess. everybody will say "well C++ isn't so bad, you just have to restrict your usage to 1% of the language" and not even blink like that's actually a sane thing to say.

File: 1749866725794496.jpg (53 KB, 829x553)
53 KB
53 KB JPG
>loongarch is now an official debian architecture
>review samples of loongson chips are getting sent to outlets like phoronix

the year of the chinese computer will soon be upon us
https://lists.debian.org/debian-devel-announce/2025/12/msg00004.html
55 replies and 2 images omitted. Click here to view.
>>
>>107633913
Chinese domestic PC market is all pretty expensive, its not like cheap headphones and novelty toy shit made for export.
>>
Agent orange already getting tariffs ready with team shlomo in case the goy start getting ideas about owning stuff again lmao
>>
>>107636333
Digits confirm Zognald already has his (((marching orders))).
>>
>>107628112
Lanai
https://www.phoronix.com/news/Google-Lanai-Architecture
>>
>>107617107
might be a different arch, but loongson chips have been supported for a couple of decades at least

>>107617828
>>CIA spyware cpu
>:/
anon... you aren't a regular here, are you? we get tons of crApple, Intelaviv and AMD CPU threads with each fucking release.

File: 138854520_p0_master1200.jpg (323 KB, 838x1200)
323 KB
323 KB JPG
/lmg/ - a general dedicated to the discussion and development of local language models.

Previous threads: >>107623385 & >>107614830

►News
>(12/22) GLM-4.7: Advancing the Coding Capability: https://z.ai/blog/glm-4.7
>(12/17) Introducing Meta Segment Anything Model Audio: https://ai.meta.com/samaudio
>(12/16) MiMo-V2-Flash 309B-A15B released: https://mimo.xiaomi.com/blog/mimo-v2-flash
>(12/16) GLM4V vision encoder support merged: https://github.com/ggml-org/llama.cpp/pull/18042
>(12/15) llama.cpp automation for memory allocation: https://github.com/ggml-org/llama.cpp/discussions/18049

►News Archive: https://rentry.org/lmg-news-archive
►Glossary: https://rentry.org/lmg-glossary
►Links: https://rentry.org/LocalModelsLinks
►Official /lmg/ card: https://files.catbox.moe/cbclyf.png

Comment too long. Click here to view the full text.
201 replies and 30 images omitted. Click here to view.
>>
>>107639078
>generic
And yet everyone instantly recognized him.
>>
>>107639018
>reminded me of someone
Who says drummer isn't a jeet?
>>
Kimi won't follow fucking <think></think> tags in my fucking framework but it'll gladly shut the fuck up if I add [BEGIN THINKING PROCESS] and [END THINKING PROCESS] at the top and bottom of my framework example. These fucking chinks man.
>>
>>107639050
>>107639019
>>107638964
>>107638942
>>107638901
Was this made with a local model?
>>
>>107639132
Yes

Neat and tidy edition

Previous: >>107558411 #

>Keyboard recommendation template:
https://pastebin.com/n220xk9V

>Find vendors
https://www.alexotos.com/keyboard-vendor-list // Up-to-date list of reputable vendors with brief descriptions
https://keycaplendar.firebaseapp.com // Tracker for current and upcoming keycap group buys

>This keyboard stuff is so expensive!
https://aliexpress.com (or Taobao if you know how)

>Learn about MX-type switches ("mechanical keyboard switches")

Comment too long. Click here to view the full text.
257 replies and 45 images omitted. Click here to view.
>>
>>107638099
>Zeal Clickies
Clickiez missed the mark for me. They made them far too tactile and started the bump at the top. Disappointing.

>get a dozen different tactiles
I've used over 40 different tactiles. Tactiles are not solved.
>>
>>107638788
do u have a glare, frog, or f2?
>>
>>107638836
Nyo…
>>
>>107638788
yes but you have to post your penis first
>>
>>107638826
U4T stems in MX2A Browns. Or in old MX Blue housing with their epic leafs

File: deb.jpg (17 KB, 700x438)
17 KB
17 KB JPG
is debian beginner friendly?
7 replies and 1 image omitted. Click here to view.
>>
>>107638245
wtf i didn't know debian was this based i love debian now
>>
>>107638177
It's great for setting up a server without issues. It's easy to use if you know what you're doing and need something low effort that just werks.
If you want more effort, install gentoo.
>>
>>107638245
Most of the top devs for ubuntu are devs for debian as well.
>>
>>107638245
>you don't have codecs to play video and audio files
YouTube works out of the box, unlike on Fedora
>>
>>107638177
No you would want to use the following
Kubuntu
Mint
Zorin
Cosmic
Bazzite if you only care about games
If you're moderately compentent with computers you could also use fedora KDE or move to it later.
I used to recommend tumbleweed but that distro went to shit.

Fucking savage. I don't see how Yann will be able to recover from this.
2 replies omitted. Click here to view.
>>
>>107638504
define what you think "foundation model" means
>>
>>107638137
Yann's right though. At the end of the day our brains mainly evolved to do two things: throw rocks at stuff accurately, and lie to other humans while sussing out their lies.
>>
baldie is retarded and trying to mask it with jargon
of course our brains are tuned to the physical world. there was no other world to tune it to when our brains developed. our brains sure as fuck weren't tuned for text, that was a later adaptation. hominids didn't develop brand new brains out of vapor and good vibes
baldie is also trying to cope about AGI but yann's whole point is AGI is a dumb term and by perpetuating these dumb fuck ideas we hinder real progress in models that work more akin to how the brain processes information
everybody's chasing a thing that doesn't exist with a modality that is impossible to achieve the thing they really want. cat-like intelligence would be generous in describing these AI grifters, and their models will never even achieve that much
OP should probably kill himself, it's the sensible thing to do
>>
I hate when orange reddit coded individuals have to constantly cite pseudomathematical Theorems and Laws and write wikipedia articles about them to try to make their conjecture sound smart and authoritative.
>>
>>107638137
how does a literal nobody on twitter get 5 million views on his post?
and he's got that tone that everyone on twitter does where they try to sound authoritative on a subject even though they're shitposting out of their basement

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.
134 replies and 39 images omitted. Click here to view.
>>
>>107637836
all the keyboards with big enter I ever had, had a wide shift. not sure where you'd find one like you want
>>
>>107637946
>on their site
why would you go to [their site]?
>>
>>107638879
there are ones for half the price too. that's just the first result
>>
>>107636193
what's the typing experience like in the dark as the key letters aren't seethrough?
>>
>>107639075
I guess its alright? I don't really look at the keyboard when I type.

File: 1756744925606563.png (1.9 MB, 1943x1092)
1.9 MB
1.9 MB PNG
thoughts on memtest?
54 replies and 8 images omitted. Click here to view.
>>
File: 1681909307293868.jpg (76 KB, 540x498)
76 KB
76 KB JPG
that guy is just another victim of gynecocratic western society btw
>>
>>107638264
>>107638286
wouldn't male hormone blockers revert the hair loss? or once it's lost is it too late and you need a transplant?
>>
File: parliament-kot.png (309 KB, 800x800)
309 KB
309 KB PNG
>>107639000
>revert
no.
T dictates the rythm youre losing hair
genetics define how many of them you have in store
if you dont have any, theyre not gonna suddenly grow back, you used up your share of hair
hormones or not

he shouldnt have trash genes
he shouldnt have transitioned
he shouldnt be a feeble impresionable retard
maybe hes a nice person, hes still a retard on several accounts
and i, for one, welcome natural selection wherever it can be found
>>
>>107638237
No one really cares either lol
>>
File: file.png (140 KB, 693x347)
140 KB
140 KB PNG
>>107638798
Discord and parents.

File: maxresdefault.jpg (215 KB, 1280x720)
215 KB
215 KB JPG
>3 Game & Watch from a Flea Market
Can she fix them?
210 replies and 43 images omitted. Click here to view.
>>
>>107621192
Imagine gripping her thick arms as you pound her from the back...
>>
>>107636664
>Mental illness actually exists, and some of these people find their way to 4chan.
>some
I think you're underestimating a bit
>>
>>107624264
the one with code in the filenames, I see the resemblance too
>>
is she fluent in Japanese?
>>
>>107621192
bbc made

File: 1736622190312516.jpg (150 KB, 1280x720)
150 KB
150 KB JPG
>OLED TVs are most durable by far in terms all malfunctions
>burn-in is solved and only occurs when you do it intentionally

https://youtu.be/ot1gr-YypY4
17 replies and 2 images omitted. Click here to view.
>>
File: wdytwa.png (936 KB, 644x644)
936 KB
936 KB PNG
>>107637255
>8 hours a day
>>
>>107637237
I'm just an alcoholic and go on a bender partying occasionally.

>>107637255
Yeah but when I'm at home I use it more like 14-16 hours a day. Professional NEET.
>>
>>107634426
they're intentionally burning out the led backlights as much as they're intentionally burning in the oleds
who in reality is running their led backlight at 100% 24/7
>>
>>107634426
>most failures are backlight LEDs
>and occure just out of warranty
>its not worth it to repair
What in the world?
You buy a new stripe for 10 bucks on aliexpress and it's changed in 30min. Sure, you have to remove the panel, but that is barely an issue.
You can pay an electrician to do it for a proper wage with taxes and it will still be worth it.

ecelebs are such disgusting failures. Even when they throw money into 100 TVs and do years of testing, they still end up being dumber than an average consumer.
>>
>>107637102
I'm going to need 25k hours with HDR engaged before I take any of this OLED shit seriously.


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