What are you koding on, /g/?Previous: >>108101763
>Wednesday Edition
>>108134603Koding accelerator turned up to 11!!!https://www.youtube.com/watch?v=WQL9ZbRmYXI
>>108134703Wednesday is the day of the week between Tuesday and Thursday. According to international standard ISO 8601, it is the third day of the week. In countries that adopt the traditional "Sunday first" convention, it is the fourth day of the week. Continued in Wikipedia
Claude unironically shat out a feature I would spend a week or two writing in half an hour. I just need to clean it up a little. I'm not a gret programmer though
>>108134737>doesn't post the codeAnd we all know why.
Claude blaast publiek omver bij eerste publieksshow: dit is zijn ...
>>108134603>>108134603> 1 gorillion threads on the board about gooner image generation and complaining about social media and YouTubers and 1 thread taking about programming What the hell happened to this place
feet
>>108134603She height mogs 99% of /g/
ClaudeCuck
>>108135845I don't even know. I only came back here a few days ago and dpt is extremely fucking slow and one thread lasts for days.BACK IN THE OLD DAYS we had multiple threads per day iirc
>>108134603She got short hair. Ooooooooo, yes! :)
this project can suck my dick. im not doing it CMD is playing around too much and I have lost control of the project and every fix on fix is just adding up to turn it to more shit and its irredeemable
>>108136420Sounds like vibe coding ngl.
I only use Python because it's the only language a white man should use. There is literally nothing you can't code in python.
>>108136458>NglYou have to be over 18 to post here, Champaroo >Vibe coding Works perfectly fine if you know what you're doing. The problem is most vibe coders don't even know what an object is. When you have idea what you're lookingnat or doing, no amount of "Claude make it do this" is going to result in success.
>>108136467low quality bait
>>108136489Sounds like cope ngl.
>>108136489>You have to be born in 2008 to post here
>>108136758It used to be>you had to be born before 9/11 to post here>you had to be born before the OCB to post here>you had to be born before Reagan's second administration to post here
>>108137055Back in my day when the site first went live you had be born before the Bay of Pigs to post here
>>108137055>OCBwhat's that?
>>108137312https://en.wikipedia.org/wiki/Oklahoma_City_bombing
Why is linux so complex? Can't they just make it simple?
Coming from Doom Emacs to Neovim (especifically using Lazyvim), how do I get something similar to vscodes builds? Or Sublime Text's Build Systems? Or Emacs' Compile Command?The latter would be better if I had the choice. For those who have never used Emacs, the compile command is you press a keystroke and type the command and the output is shown in a new horizontal small buffer/window. So I can do something likeCompile Command: cargo runor Compile Command: Odin run .
>>108137492>Can't they just make it simple?It already is. You're just retarded.
>>108137492Computers are complex, and so are the myriad users that use them. Not to mention all the various developers that work on it unpaid out of their own interest, which means everyone does whatever the fuck they want.
>>108137510kill yourself
>>108137510I swear the average IQ has plummeted over the years/generations. To claim modern Linux is "complicated" is beyond amazing to me. People can barely use their cell phones anymore, don't know how to copypaste a simple file, can't even use Outlook without a guide. It's mind boggling how stupid people genuinely are these days. Not just when it comes to tech, but generally all around.
>>108134603I'm doing a Forth block editor, with ui a bit like lotus123 and some features like in acme editor.
>>108137607a modern sports car is slower than a horse if the horse moves directly to the destination while the car keeps stopping, reversing, going in the wrong direction, hesitating, going in another wrong direction, etc.with doomscrolling distractions200ms of IQ 100, applied to a problem, is much less impressive than 6 hours of 100 IQ applied to the same problem, and people are more willing to stop at 200ms, and after distractions the guy that only spends 200ms thinking about any particular thing, still feels as intellectual exhausted as if he'd done work
>>108112624holy shit, it really was vibe codinghttps://forum.nim-lang.org/t/13706#83119>The LLMs I was so confident in using didn't point out the mistakes.I only occasionally pay attention to Nim, didn't realize this guy was saucing so hard
>studying concurrency
>>108138202You're the fag from last thread who asked about mutexes?
>>108137510>She has never done any kernel devWell, before that I thought linux is easy, too. You're welcome :-)
>>108138229Be quiet faggotron
>>108138390And if not?
>>108137607You stupid fuck. I wasn't talking about GNU. I was talking about the kernel.While it is good engineering, it's still a huge clusterfuck and kernel dev is hard
>>108138449>While it is good engineeringA simple strace of any random program belies you.
>>108138198The fucking author of the language generated a new GC using AI?
>>108138449>kernel dev is hardYou didn't graduate high school did you? You loving your single wide mobile home, with your disability checks and your pit bull?Should have stayed in school Chud. Low IQ poors like you will never understand
>>108138517I did fuck your mom a couple of times tho. I think that counts
is stateless concepts pretty much none existant in GUI desktop apps?
>>108138560>he really is underage
>>108138567nope. I am 18.035
>>108138565>is stateless concepts pretty much none existant in GUI desktop apps?worse
>>108138494Nim's time-immemorial problem has been a lack of thoroughness in development, that incomplete development is checked in and then never followed up on. This is the whole language, seen in the compiler, the stdlib, the runtime, the codegen, the documentation, the tooling.looks like AI's initial contribution is to make a wobbly gear spin faster and wobblier, which is naturally going to break the machine faster.Still, I have more faith in Araq than in most of his competitors. Time could come that Nim's standout feature is that it doesn't transpile to C anymore, when C compilers have totally collapsed under AI slop and backdoors and other bullshit.
Yoooo I was dissing and jestermaxxing the cli brigade and the uncs went like "shut up you gui-tard" :crying:
>>108138728I can really feel the IQ points the zoomers are officially lacking now.
started on the inaugural prototype of my schizo language, a textual, homoiconic dataflow graph reducer. there aren't any showstopping features in it, so hopefully it won't take long to get a full prototype working. i am creating it in luajit to utilize luajit's FFI so i can give future iterations a meaningful memory model early on.in essence, the language is like exposing compiler behavior as a first class property. the language *almost* resembles an SSA IR.
>>108138845>exposing compilernelua?>textual graph reducera term-rewriting language?
>>108138855no, the language will be entirely self-hosting, luajit simply has a really good and fast FFI (and i'm familiar with it) so it is desirable for iteration until i get a proper interpreter written>a term-rewriting language?yes; where graphs are simultaneously symbols and structures of behavior/memory
>>108138824Especially hilarious when they try to hide it with irony. >>108134603Is Jai out yet? No point coding online until jai releases.
>>108138898no it is not, but Thekla recently announced the game they've been working on, and i imagine they'll both release around the same time
>>108138915Nice. I wanna do intermediate mode GUI programming with introspection. Rust, zig, odin. They are all just pale imitations of Blow's genius.
Some ramblings on databases:The more experience I gain around databases and their usage, the more I feel like they're just not a proper solution to data-storage at scale.The same way pre made UI frameworks or game engines anre't a proper solution once you want to do things at a certain level of sophistication.The same way garbage collection or RAII isn't a proper solution for systems-level programming.First you have to have a second process to "run" the database. Then to interface with that datastore you need to either embed a not-really-standardized-DSL in string literals in your code, or have some (probably very complicated) solution to generate that DSL.Both ways of doing things bring a whole slew of issues with them.Then there's the problem of the relational data model just being god awful at modelling certain things.Want to store heterogenous, hierachical data in your relational databsae? Have fun, it's gonna be a massive clusterfuck.Then there's the issue of the code and DB schema needing to be in-sync.Then there's the problem of the core of your application now being a gigantic external dependency.And then there's the issue of migrations, with all the complications around that.
>>108138964Sometimes I feel like devs of a higher caliber would be better off if they wrote their own datastore, which could have a proper specialized API in an actual programming language, because it wouldn't even be a separate entity from the rest of your application.You'd obviously still want to change the shape of your data now and then, but since you'd be in full control of the datastore you could just adjust the code and do it in a way that existing data can still be read properly, like with any other versioned serilization format.The obvious downside is that getting a custom solution performant and reliable requires specialized talent and you can royally screw yourself over if not done well.If you can get it right though, you should be able to have unbeatable performance and no headaches around all the complications of traditional databases.But when I look around feel like no one even considers this. Using a database is just presumed to be the only viable solution.The crazy thing is that DBs also aren't all that great for the other end of the software project spectrum.Want to write a small simple program to or manage some data?A database would be a massive hassle to setup and for lot's of usecases you'd be better off just serializing your data as json or xml.SQLite is kinda an exception to this since it's more like a binary serlization format than other databases, but the point about having to use a DSL for data definition, querying and modification still stands.Having a procedural DSL to define the shape of your data is also totally backwards. If you're going to have a DSL at all, why not just let me describe the shape of the data? like with XSD schemas or protobufs.And I don't even think SQL is all that bad as a langauge. It's great for interactive use. But having to embed another language inside your program just adds friction and problems everywhere.
>>108138956i dunno, jai doesn't really seem all that special, you can already just build your own renderer in C lol. the hard parts of any project has very little to do w/the language. i just hope jai has a well-defined ABI and doesn't lean in the rust direction
>>108138996ignoring your first part. To your second part I believe you can pass a jai struct to any c functionYou have slightly larger binaries and lose a general register (to hold the context pointer) I think.
I hate v4l2, gstreamer, ffmpeg and all that shit so fucking much man.Took me all fucking day to get that shit onto a webpage. The poor 600MHz quad core goes to about 70% when I open the webpage, but that's fine.It's streaming raw rgb565 right now to mjpeg. It's too slow for h264. I'll do a cute little webpage now for the controls and image and then we try h264 or jpeg in hardware
>>108139149Woopsie. That was the video from yesterday.Well today doesn't look that much different, because I was stuck on deciding colorspace and trying to get a little less CPU usage, but apparently that's not possible without hardware encoding
>>108139149>red is 5a 54 48>which is almost grayI think your colors are fucked up in general.
>>108139180Nah, that's the ov5467 sensor (and maybe my settings for it)
>>108138845>a textual, homoiconic dataflow graph reducerbut why?
havent written a line of code in 2~3 years due to depression, alcohol and jerking offwhat are some good projects to get me back in track?
>>108139355turned out to be a good way to represent programs
>>108139438how so?
>>108138964Complexity? In my non-trivial production software? You don't say.
>>108139823precise + frictionless, at least in principle
>>108134603I like her
>>108139893I don't see what problem does it solve.
Who's assigned to night shift today???
>>108140101your mom
>>108140158Frag meinen Psychiater, meine Sektlaune hält ewigPlus das mit dem Fetten-Frau'n-Fetisch hätt sich auch erledigt
>>108140192no speaky espanol
I used to be obsessed with writing native code in C/C++ but honestly after using hot reload with interpreted languages I've found them to be better simply thanks to that.
>>108140287If only dynamic linking existed. Oh wait, it does.
fun!!!
>>108140357This can't be done while stepping
>>108138964What scale? If you're not Google then relational works fine, handling millions of records. You can get amazing mileage out of it if you're not retarded and ACID compliance guarantees your data is never fucked.
>>108140398Yes it can, you can call functions in the debugger.
>>108140489Java, Java, Java and maybe C++.
So I just got hired by the new owner to modernize a very old company. His son is someone I know through mutual friends. They only have five employees, and they have all been there for around 20 years. The entire stack is Java. Clicking almost any button takes seconds to load the next page, and the app feels like it came straight out of 2005.What surprised me is that the senior dev who got assigned as my buddy is genuinely excited to update things, and I have his full support. Even so, I want to move in a friendly, respectful way so everyone gets on board without feeling like they are being pushed off a cliff.My background is mostly Next.js and TypeScript. I also use a lot of Python, but it probably is not the best fit here. This is a web app used by banks for banking workflows, with databases, integrations, and everything that comes with it.A friend of mine runs an international money transfer company, and they use Kotlin, which he praises nonstop. Should I try to push for Kotlin, either full stack or just for the backend? I cannot even print “Hello, world” in Kotlin yet, but I am confident we could learn it quickly. It seems like the perfect middle ground because it is completely interoperable with the existing code and far easier for Java developers to transition to than a completely new ecosystem.>Just stay on Java and remake or improve the codebaseI have considered that, but I really do not like Java. I also think it is weaker from a marketing perspective compared to saying we are on a modern, "better Java" stack.
>>108140532>>108124027
>>108140532I've seen this before a couple days ago. Is this a new copypasta?
>>108139949it is designed to explicitly leverage real time compilation (this is its main purpose) and, once it is fully engineered, it should bridge the gap between low level and high level languages by having something that is as abstract and easy to write in as Lua, as feature-clean and intentional as C, and at least as fast as any compiled language, with just as much specification over e.g. memory. there's nothing that exists right now that fills this niche; closest you can get is LuaJIT w/its FFI, except it exposes the FFI through Lua and it is not fun to work with
>>108140260je ne parle pas francais
>>108140679based you should never pass pearls to french swine
>>108138202how exactly are you studying concurrency? I'd like to do some studying as well. Share your resources?
>>108140776>how exactly are you studying concurrency? I'd like to do some studying as well. Share your resources?dude you have two eyes just study too different things at once. done. concurrency. or is that paraplegia? I always get those mixed up
>>108140776Concurrent data modification = Race conditionsAtomic operations = No race conditionsVOILAThat's pretty much all there is to it
>>108140727try: francaisexcept: pass
try: francaisexcept: pass
>>108140557so?
>>108140874try français () with _ -> ()please use the French language, not the Dutch one
try français () with _ -> ()
>>108140937>ditch francaisif you say so
>>108140776I'm studying apple's concurrency APIs for Swift. Sorry to disappoint you. They get heavily into detail behind the basis of concurrency but it's all Swift specific so you'll have a hard time following along. Apple also has like 3 different APIs for this shit.>DispatchQueue - Simplest, "old" method, just assign a workload to a thread and then call the task. No data race protections. (This is the one I'm most familiar with)>New Async / Await API - more modern concurrency APIThis one is really complex because there's in built data race protections at compile time. You are not allowed to compile code that could cause data races. They enforce this by preventing asynchronous functions from accessing shared state, making you to conform all the data an asynchronous function uses to a "Sendable" protocol (you have to make an unmutable copy of the data before calling any of the functions, async functions cannot access data from outside their specific thread whatsoever), there's also a bunch more bullshit to control threading and task groups.>Combine - built on top of async / await, just some more keywords and built in methods that help you coordinate data across multiple classes >resourcesApple came out with some tutorials themselves. They're not long but they're in depth and explain concurrency concepts welll.https://developer.apple.com/videos/play/wwdc2025/270/https://developer.apple.com/videos/play/wwdc2025/268/the documentation is also good but it's briefhttps://docs.swift.org/swift-book/documentation/the-swift-programming-language/concurrency/Hacking with Swift is the goat of all websites for learning literally everything related to swifthttps://www.hackingwithswift.com/quick-start/concurrencyI'm also reviewing this guy's videos, he does a great job at explaining shit with examples similar to WWDC style but far more in depth (he's White, dw it's not jeetshit)https://www.youtube.com/@SwiftfulThinking
how do apps generally structure their projects in terms of features?For example through the ui the admin user creates another user, in the backend would you have a class that has injected database, the data models (to update the table of users and any other related models dependent), cache systems, notification service to email the user been created etcI currently have something different where a lot of this logic is split off and calls one another but its already spagetti and falls appart when you want to do the same thing from a background thread (data models doesn't like this)
>>108140532You have your answers, retard.
>>108141272we're an AI and he's rolling for another answer.could you forget the context already, please?
>>108141279>rolling for another answerImagine requiring the buy-in of an LLM to act.
>>108138517Define hard.
>>108140640I have no idea what a dataflow graph reducer is, nor what is your point here.Is it an optimizing compiler IR? Why are you talking about it like a language as in compiler front end? Whatever graph compiler IR you want, there is no need that the language should be like that.>real time compilationis this how you call a JIT?>it should bridge the gap between low level and high level languages bywhat comes after "by" isn't an explanation of how it bridges the gap>there's nothing that exists right now that fills this nichewhat niche?>closest you can get is LuaJIT w/its FFI, except it exposes the FFI through Lua and it is not fun to work withwhat does a native calls have to do with a language front end or compiler IR?
>>108141388shutup loser
>>108141495keep seething
>>108141522oh no no no fuck you
no matter how many LC problems I solve I always see shit like this and go back to feeling like a useless retardhttps://leetcode.com/problems/champagne-tower/description
>>108141553ai can solve this
>>108141551So you think what the other anon has said makes sense, uh?Do (You) know what a dataflow graph reducer is then?
>>108141495>oy vey, someone is trying to have an intelligent conversation>shut him down
>>108141604yes
>>108141660>say retarded shit>get called outand now you cry about it pretend to be someone else
>>108141567
>>108141757>>say retarded shitname it
>>108141757>and now you cry about itthat's exacty what you are doing
>>108141752No you don't. You're shitposting.
>>108141843>>108141839you are both retards pretending to be smart, not my fault
>>108141757>no intelligent conversation allowed
>>108141777>hides the model usedShow it
>>108141848if you have to call your own convo intelligent, then it ain't
>>108141845Actually yes, I would pretend to be smart if the original conversation continued but instead I'm shitposting back at you.
>>108141853>attempt at goalpost moving
>>108141845as opposed to your low effort posts?
>>108141853its the default model in a brand new incognito window. so 5.2
>>108141881>>108141871even if it is 5.2 you still didn't show the reasoning mode>use retarded model or reasoning mode>guys ai is le dumban hero
>>108141856>pretending to be smart in my comparison to my shitpost in reponse to his shitposts in response to my shitpost in reponse to his derailing of me trying to have a conversationWow your posts are so smart.
>>108141856>I'm writing words that talk about nothing but you're the dumb one.
>>108141892I guess chatgpt is just retarded
I still don't know what a dataflow graph reducer is.
>>108134603nothing
>>108141777>>108141915also worth pointing out that both of these models immediately identified this as the champagne tower problem. They already had an idea of how to solve it because they had seen it before.
>>108141892>still attempts to move goalposts>still doesn't workYes, an hero. But you.
>>108141953which is good, super memory is a feature
>>108141960>no ulol are you even trying?
>>108142033>identifies the problem>had a cheat sheet from seeing it before>still gets it wrong
>>108134603think her milk would be good, or stale?
>>108142060it would be lustful
>>108142034Are you, goalpost-mover?
>>108142049but it didnt
>>108140899>A friend of mine runs an international money transfer company, and they use Kotlin>A friend of mine runs an international money transfer company, and they use RustWhat are you doing.
>>108142209Praying every day, it seems.
>>108134603Where can I find a list of stuff she has programmed? Does she have a github?
>>108141915
what's a good chatgpt prompt for asking questions about programming to make it tell the truth?
>>108142267>walk there>drop off the carYour poor back.
>>108142209Why not answer the actual question? No intelligent discussing allowed it seems.
>>108142267>ask retarded human question>retards answer retardly>humans are retardedretard
Behold, ladies and gents:An autistic answer: >>108142322A non-autistic answer: >>108142299
>>108142359stop trolling, we all know you use that local model to goon
>>108142257there is this one but I imagine that if it was really her's there would her picturehttps://github.com/karliekloss
why does it mark random parts of its answer as random languagesmakefile???
>>108142645syntax highlighters usually work with a lexer, not a parser
Just got back from a software engineer interview. The technical screening was standard, but then HR pulled a "new heuristic" pilot. She asked me to open ChatGPT and generate a profile based on my entire chat history right in front of them. I refused since that's basically a diary. They immediately shut down and ended the interview early. Is this actually the future of hiring? Demanding access to private AI logs feels insane.
>>108142729>I don't use socials or LLMsThere, was that so hard?
>>108142772>Just tell them you don't have socialslol>Just tell them you never used aiextra lol
>>108142785Seems like the problem is in your head.
>>108142807ok boomer
>>108142817OK, zoomer: >>108138824
>>108142826I will be fucking catgirls while you will be dead
>>108142875Not if your suicide rates go up even further.
>>108134603I'm adding a vertical layout for mah frame analysis web app so its easier to view tall structures. It ain't steve jobs apple UI/UX design but I'm okay with it, there's only so much you can do.
>>108143286how long have you been working on this?
>>108143420I started out like late 2024, around december I think and finished the solver and backend + basic UI around july/august 2025. Then I got bored and I fucked around with other useless projects and played vidya for months, so maybe around 1+ years. ngl, when I viewed the code again earlier this month it's so disgusting kek.
total noob hereanyway I started yesterday to work on this web app that's kind of a dashboard/panel/log where I can just log the shit that I do during the day, you just have to see it I guess, imagine letterboxd except it's not retardedhttps://github.com/mihail-pop/media-journal>inb4 why reinvent the wheelwell for once it's something I actually care about it and I think it's a resonable project to learn more about web dev instead of doing your classic to-do/weather appI'm not really following any tutorials or reading books just looking shit up as it comes and while I kinda struggle (because I obviously don't know what I'm doing it) I kinda feel it's very rewarding since I have been putting off working on this for a long time for some dumb reasonso far I've go a backend server skeleton in node.js with ejs/express running, it's for private use only and I don't really plan to publish it anywhere (it's not like anyone cares anyway)todo:- styling, obviously, I will probably use a template- db, sqlite to store my shit- api queriesI wish everyone a chill weekend and happy st. valentine's dayany pitfalls to look out for/advice from people who already worked on some shit like this?
>>108144329>python
>>108144329>total noob>obviously don't know what I'm doing>except it's not retardedyeah...Still, good on you for doing it, retarded or not. Everyone here keeps saying a project is the best way to learn.
delta G = delta H - t = x: x \cdot e^i,2pi delta Strue?
>>108144805>Everyone here keeps saying a project is the best way to learn.This.But the crucial thing is doing the first iteration like you think it should be done. Not wasting time looking up things how it could be perfect. Maybe just some tiny layout research, but not more. Because then you know what kinda shit you wrote and understand why other people do things differently.Only copying is bad. Sometimes copying first and then reinventing can also work, but it's not as rewarding imo
>>108144821>>>/r/maths
I wanted to have an id that's resistant to collisions if different clients create new entities at the same time, but also as well-ordered as possible. I have a local 128 bit current_id and add a random number between 0 and u64::max when I want a new one. And whenever I see a new id from the network, I bump it to match it. This way the collision chance is 1/u64::MAX and you have at least u64::MAX entities before overflow.It's cool that 128 bit integers let you do things like this, but now I'm wondering if it wouldn't have been better to just use a nanosecond timestamp and assume that people wouldn't create entities in the same nanosecond. Or maybe a timestamp + random bits.
>>108145231base64 and entropy
based64 has 0 entropy (if binary is 1 entropy)
google for twitter snowflake IDhttps://en.wikipedia.org/wiki/Snowflake_IDessentially the ID contains bits for the timestamp, bits for the ID of the request (0, 1, 2, 3 if you have request arriving in the timestamp unit (microsecond, nanosecond, ..)), bits that indicates the thread ID (or machine ID, or ...)
>>108145655>>108145284