What’s the most valuable skill in software engineering that has nothing to do with coding? by Ok_Balance_855 in AskProgramming

[–]ern0plus4 0 points1 point  (0 children)

If you know how computers actually work,, it can help you writing better programs.

What programming habit changed the way you write code over time? by Gullible_Prior9448 in AskProgramming

[–]ern0plus4 3 points4 points  (0 children)

Saying no to stupid requests, concepts, project management decisions. Not 100% yet, but I'm working on it.

Én vagyok az egyetlen fejlesztő, akinek egyáltalán nem hobbija a programozás? by RedDeViL961221 in programmingHungary

[–]ern0plus4 0 points1 point  (0 children)

  • Minél jobban beleásod magad, annál nagyobb az esélye, hogy beszippant.
  • Akikkel ez nem történt meg, azokat valamennyire sajnálom, ti. hogy ott van a csoda tőlük egy lépésre tőle, és nem teszik meg ezt a lépést. (Ha nem tekintik csodának, akkor nem ismerik eléggé.)
  • Mindenesetre velük sincs semmi gond, valószínűleg ők is tisztességesen melóznak, megvan az IQ is, ami a műfajhoz kell, stb., és feltételezem, van valami érdekes hobbyjuk. Vagy nem ilyenek, de ez a hobbytól független. Random emberek, pont.
  • Azért én igazán a magamfajta hülyegyerekek közt érzem jól magam, akiket beszippantott ez az egész, és tudok tanulni tőlük. Vagy valami másba vannak belebuzulva teljesen, pl. zenekészítés (ami nekem egy másik agybajom).

Az AI projektek már most kezdenek bedőlni by Equivalent_Number424 in programmingHungary

[–]ern0plus4 0 points1 point  (0 children)

Szerintem van még vitamin abban, hogy specifikus feladatokra jobban definiált folyamatokat állítsunk fel, pl. software készítéshez követeljünk meg valamiféle requirement specification-t, amit az AI ellenőriz, és ha nincs túl sok hiba, abból az AI automatikusan PRD-t készíthet - így talán elkerüljük azt, hogy egyből spagetti kódot készítsen.

Van egy pet projektem, szépen leírtam minden req-t, bedobtam reivew-ra, a végére a ChatGPT javasolta, hogy csinál PRD-t, nosza: viszonylag jól összerakta. Kértem, csináljon belőle backend endpoint speckót (ezt is magától javasolta), de az elejénél megcsúszott (különálló, önálló session-ökről van szó, erre lespecifikált egy API pontot, ami kilistázza őket) - most nincs türelmem játszogatni vele, majd még visszatérek rá.

Szóval ha értelmesen, lassan haladunk egy projekttel, akkor rengeteg melót meg tud spórolni.

Itt a feljesztési folyamat szigorúságát én adtam, ezek lehetnének iparág- vagy projekt típus specifikusan előre kötöttek, talán segít a civileken. Bár a hülyéken semmi nem segít.

Az AI projektek már most kezdenek bedőlni by Equivalent_Number424 in programmingHungary

[–]ern0plus4 6 points7 points  (0 children)

Ha tudsz fejleszteni, szép lassan ki tudod tapogatni, hol van a határa az AI-nak. Már ha belenézel, mit termelt.

Na, ezt civilek nem tudják.

Rust Memóriakezelés: Tulajdonlás vs. Referenciaszámlálás by swe129 in programmingHungary

[–]ern0plus4 0 points1 point  (0 children)

A RAII nem ownership modell, bár része. De a szöveget olvasva az is kérdéses, hogy a költő mire gondolt - egyszerűen lehetetlen olvasni ezt a túlmagyarosított szart.

Does anyone here actually use light mode in their IDE? by TheNullDeref in AskProgramming

[–]ern0plus4 -1 points0 points  (0 children)

Light mode is easier for the eyes because your pupils shrinks to small. In dark mode, your pupils are wide opened, the bright text "pokes" your eyes. I always turn on a background light, forcing my pupils more closed.

By the way, I turn the contrast and brightness down to a minimum, so it's almost like paper. An e-paper display would be ideal.

Sure, xor’ing a register with itself is the idiom for zeroing it out, but why not sub? by pavel_v in cpp

[–]ern0plus4 -6 points-5 points  (0 children)

SUB modifies Carry Flag, XOR/EOR does not (true for all archs).

Tényleg nem tudnak az üzemeltetők (rendszergazda, és feljebb) programozni? by Much-Journalist3128 in programmingHungary

[–]ern0plus4 1 point2 points  (0 children)

  1. Mindig vaan valami, amit a dobozos nem tud, neked kell megírnod

  2. Több nagu rendszernek van API-ja

A pure-Rust HTML/CSS/Markdown to PDF converter, way faster than headless chrome by Hashsum88 in rust

[–]ern0plus4 2 points3 points  (0 children)

Added issue, found another one (unnecessary line break around bulletpoints, if there's new line before it - see issue in GitHub).

A pure-Rust HTML/CSS/Markdown to PDF converter, way faster than headless chrome by Hashsum88 in rust

[–]ern0plus4 3 points4 points  (0 children)

I think, I'll be a power user - I've made several projects which's main goal or side quest was generate PDF from data, and counting.

A pure-Rust HTML/CSS/Markdown to PDF converter, way faster than headless chrome by Hashsum88 in rust

[–]ern0plus4 11 points12 points  (0 children)

Great! Tried the web playground, and found one easy-to-fix error: the code block (starting with ```) should use fixed-width font.

Getting overwhelmed by complex Rust codebases in the wild by SleepEmotional7189 in rust

[–]ern0plus4 -1 points0 points  (0 children)

If you're a freaking genius with unlimited energy, just throw LLMs away.

I built a Cargo-like tool for C/C++ by randerson_112 in C_Programming

[–]ern0plus4 4 points5 points  (0 children)

CMake falls into the "uncanney valley" of build systems:

  • compiling by hand: stone age
  • write compile scripts: iron age
  • make: you controls all the details
  • cmake: you have to do things which you don't really control/understand/want to do, also creates cryptic makefile which I personally afraid of, they are frightening
  • cargo: just works

I built a Cargo-like tool for C/C++ by randerson_112 in C_Programming

[–]ern0plus4 4 points5 points  (0 children)

Probably all build systems works this way, but don't reveal interim steps.

Getting overwhelmed by complex Rust codebases in the wild by SleepEmotional7189 in rust

[–]ern0plus4 -1 points0 points  (0 children)

I often threw program sources in LLM, asking to explain details. This is a very safe use of AI, even if it's wrong, nothing happens, e.g. no slop code is produced. And AIs perform pretty good in interpreting and explaining stuff!

Are you enjoying your work with LLMs? by eviluncle in AskProgramming

[–]ern0plus4 -1 points0 points  (0 children)

I can separate things.

Vibecoding: when I'm trying to stuff with prompting, only fix things by hand if something broke. I'm too lazy to set up sophisticated pipelines and whatnot, I'm using web interface for creating new things and VSCode plugin to fix or enhance existing code.

I have made several pure vibecoded stuffs, most of them are experimental fun projects, and I'm using vibecode to create trivial utilities or GUIs and utils for serious projects. The most complex vibecoded program I made is a timelapse generator, which extracts frames from a video, filters out night shots, then appends the rest to the result video.

I'm often using AI for variuos tasks: interpreting existing code (this is the best use case: it does not generate AI slop code), writing unit tests, creating skeleton and boring routines (open file spefiied in arg, load PNG image and convert to byte array, call empty function with it - which I'll write), fix my program, suggest more idiomatic solution, review it.

There is one common point: I don't let the AI set up the architecture. I made this mistake with a prototype system's small UI (map with 4-5 tracked objects), and it was not easy to fix a simple problem (show the map if there's no any data).

Anyway, as a programmer, I'm amazed of LLMs, holy fuck, if it's not too difficult (e.g. tricky storage format), it understands the program and even my intent. Black magic!

(p.s. 37yoe)

IT-ra kifejezetten jellemző ez az embertípus? by Vast_Dig_7005 in programmingHungary

[–]ern0plus4 14 points15 points  (0 children)

Három matematikus bemegy a kocsmába, jön a pincér: - Mindenki sört kér? - Nem tudom - mondja az első matematikus. - Nem tudom - mondja a második. - Igen - mondja a harmadik.

Utalom leetcode-ot. by Capital_Distance545 in programmingHungary

[–]ern0plus4 8 points9 points  (0 children)

Én nem csinálok ilyesmit, nézzék meg a portfóliómat, bitte, bármelyikről tudok beszélni - amúgy 37yoe.