pelya
- 1 Post
- 46 Comments
pelya@lemmy.worldto
Programmer Humor@programming.dev•Clock but the PM quit and was replaced halfway through the project. Handover instructions: "Make the clock hands show the current time"
7·4 days agoWhen an API request fails, the seconds clock handle becomes red, and the time health management microservice sends an alert SMS to your phone once per second (scaled with the number of clients)
pelya@lemmy.worldto
Programmer Humor@programming.dev•Clock but the PM quit and was replaced halfway through the project. Handover instructions: "Make the clock hands show the current time"
11·4 days agoSeconds hand does not show seconds.
pelya@lemmy.worldto
Programming@programming.dev•Why write code if the LLM can just do the thing? (web app experiment)
4·23 days agoConsidering that most techbro startups are going to be dead within a year, I’d say AI wins.
Plus most of the competent programmers already have high resistance for technobabble bullshit, and will simply refuse to work on something like an online contacts app (are you copying a Facebook or what?)
pelya@lemmy.worldto
Programming@programming.dev•Why write code if the LLM can just do the thing? (web app experiment)
19·23 days agoThe future is here! And it costs $10-$50 per 1000 HTTP requests.
The salmon will be fine, pretty much the same as steam-cooking it. Just put some spices and a lot of lemon so it would not be bland.
The microwave, on the other hand, will gain a subtle and mysterious fish aroma, that will only become stronger with the passage of time.
pelya@lemmy.worldto
Programmer Humor@programming.dev•Me waiting for the AI to close the tag for me
48·2 months agoYou don’t need to close it, your HTML will be rendered correctly anyway.
Your laptop is a cash counter.
More like, take a bunch of screenshots of vibe coded website, and treat that as design document while rewriting the whole thing from scratch with clean architecture.
pelya@lemmy.worldto
Programming@programming.dev•Ignoring lemmyhate, are programmers really using AI to be more efficient?
1·3 months agoI’m okay with AI-powered autocomplete, or with AI-powered mock project generator. Anything beyond that seems like the management’s misguided attempt at
having more meetingsraising productivity.I’m not using AI, and I rarely use IDE, because ugh, code editor is not fullscreen, and I don’t need a separate panel to navigate project tree and edit makefiles, I can perfectly use the shell for that, and I don’t even need to wiggle the mouse like some graphics designer to debug my code.
pelya@lemmy.worldto
Linux@programming.dev•What problems does Linux have to overcome to get more users
7·4 months agoIf you ever need to disable SELinux, your software distribution is trash, or you bought some unsupported piece of hardware with crap Linux drivers. Or you are writing kernel drivers and it’s your test machine.
What the user really needs is to launch an app in a secure sandbox with two mouse clicks, not an easier way to edit SELinux rules. Linux software distributions focus too much on technology, but don’t provide the finished user-facing solution with this technology, that’s the problem #4.
Nope, plasma-session crash means all your windows are goooone.
If it’s only plasma-desktop or kwin crash, you can generally restart it from a terminal, and you need one terminal window open at all times to do that, since you won’t be able to launch a new window with no desktop, or you try to launch it from the text console, which works badly because it won’t see your plasma-session environment.
Time to download new Plasma bugs! I just hope it will decrease crashing frequency to once per week with Wayland backend, with Bookworm it was once per day, which is not fun if you need to keep several windows open.
pelya@lemmy.worldto
Technology@lemmy.world•AI industry horrified to face largest copyright class action ever certifiedEnglish
5·4 months agoAI coding tools are using the exact same backends as AI fiction writing tools, so it would hurt the fledgling vibe coder profession (which according to proper software developers should not be allowed to exist at all).
Install Gentoo, sex (with the command line) guaranteed.
Just leave it on the stove on maximum heat for one hour after each use, then chip off the carbonized chunks of asphalt that you’ve just created. 100% sterilized, no washing required, and smells just like your big bad diesel pickup exhaust.
pelya@lemmy.worldto
Technology@lemmy.world•SF-Based Internet Archive Is Now a Federal Depository Library. What Does That Mean?English
58·4 months agoThis means Trump can finally de-fund them
pelya@lemmy.worldto
Programming@programming.dev•Can somebody explain the graphics stack? Vulkan, OpenGL, Magma, DirectX, SDL, Metal, Mesa, ... wat?
3·4 months agoYes, OpenGL is an open specification, it has multiple proprietary implementations, and an open-source implementation (MESA). DirectX 3D is a proprietary specification with proprietary implementations (and one open-source implementation in Wine), but it’s essentially the same graphics driver API as OpenGL.
OpenGL uses multiple GPU cores, but GPU is controlled by a single CPU core. GPU does most of the work of course, but for some operations, like uploading a lot of textures when loading a level, or drawing a dynamic geometry with a lot of triangles, CPU becomes a bottleneck.
pelya@lemmy.worldto
Programming@programming.dev•Can somebody explain the graphics stack? Vulkan, OpenGL, Magma, DirectX, SDL, Metal, Mesa, ... wat?
8·4 months agoBack in the '90s, when you created a game, you had to build three separate game engines for DOS, Windows, and MacOS, with their separate audio and video drivers. Or you just selected DOS and ignored all Mac users.
SDL was revolutionary, it could create an OS window for you to draw onto (or emulate a full-screen ‘window’ for DOS), and output 2D video and sound using the same SDL calls, on DOS, Windows, MacOS, Linux, AmigaOS, and even Sony PlayStation. So you had the same source code compiling to 6 different game binaries for each platform.
SDL does not implement 3D graphics, it just initializes OpenGL in a window and passes that to your code, because the game studios went all ‘fuck you I’m using OpenGL or I’m ignoring your XBOX entirely’ so even Microsoft was forced to support OpenGL on top of it’s incompatible proprietary DirectX 3D drivers, so OpenGL became the new standardized cross-platform API for 3D graphics.
Vulkan is a replacement for OpenGL which can use multiprocessor architecture, OpenGL is strictly single-threaded so your high-end 12-core gaming CPU ends up with one overworked core drawing all the graphics and 11 lazy cores performing Windows update in the background. The rules are already established, so every GPU and chip manufacturer will either support Vulkan or not have 3D graphics at all.


CURL got some kind of contract with several embedded hardware manufacturers, at least it’s financially stable.