HackerTrans
TopNewTrendsCommentsPastAskShowJobs

tehologist

no profile record

comments

tehologist
·2 месяца назад·discuss
Re: bison and yacc. It came from the dragon book which for forever was the way to learn to write languages.
tehologist
·2 месяца назад·discuss
Whoa, I didn't know about this. Looks pretty new.

Win32 in a browser

https://github.com/lqs/retrotick
tehologist
·2 месяца назад·discuss
The win32 api is extremely well documented, still supported and very stable. With tons of working examples to do pretty much everything with.
tehologist
·2 месяца назад·discuss
As an added bonus, since win32 is so old. AI is quite strong at generating code for it, I have even had success with qwen 3.5 1.5B parameters with win32 and opengl 1.1
tehologist
·2 месяца назад·discuss
Considering you can use 500 kilobyte distro of tcc that can self compile to build win32 apps and those versions will very easily run on wine. I think it is a valid point and a strategy I have used for sometime. Since windows can't decide what you should use for developing Windows apps
tehologist
·3 месяца назад·discuss
I have one, this isn't true. The wattage of a 5070 is about 300. The spark entire unit runs at 200 watts max. In reality it runs like a rtx 5060 with lots of vram. Very good for training, okay for inferencing if you are running batch jobs and don't mind waiting.
tehologist
·3 месяца назад·discuss
This was also when most of these machines were not online. Security wasn't as much of a concern.
tehologist
·3 месяца назад·discuss
Python pdftools to convert to images and tesseract to ocr them to text files. Fast free and can run on CPU.
tehologist
·4 месяца назад·discuss
TCC is less than a meg to download supports win32 very well and as an added bonus created executables run fine under linux wine.
tehologist
·4 месяца назад·discuss
TCC supports win32 and is less than a meg download and as an added bonus supports linux very well thanks to wine.
tehologist
·5 месяцев назад·discuss
I don't understand, just use scite editor with tcc. About a couple of megs download, no install required and your apps will run on everything from win 98 to linux with wine. And if the answer is c++ support then you get all the pain you deserve using that cursed language
tehologist
·7 месяцев назад·discuss
I was thinking that this looks a lot like prolog or even make with rewrite terms
tehologist
·7 месяцев назад·discuss
Literate programming is alive and well in 2025.

https://leo-editor.github.io/leo-editor/

https://kaleguy.github.io/leovue/#/t/2

https://ganelson.github.io/inweb/inweb/index.html

Inform 7 is arguably one of the largest programs ever written in literate style.
tehologist
·в прошлом году·discuss
I personally think IDE makes for worse programmers vs just using a text editor.
tehologist
·в прошлом году·discuss
Why not just use a verifiable subset of C? https://compcert.org/compcert-C.html
tehologist
·в прошлом году·discuss
Imperial vs Metric is a hard requirement not a convention or formatting. I have a co-worker who wants everything to be a one liner, doesn't like if/else statements, thinks exception handling is bad and will fail a code review over a variable that he feels isn't cased properly.

This makes code reviews super slow and painful, it also means you aren't focusing on the important stuff. What the code actually does and if it meets the requirements in functionality. You don't have time for that stuff, you are too busy trying to make this one person happy by turning an if else into a ternary and the end of sprint is a day away.