Better HN
topnewbestaskshowjobs
Log inSign up

johnfound

84 karma · joined Jul 27, 2014 (12y ago) · 42 submissions

Submissions

comment 4mo ago · link · parent

BTW: there was a bug in the Windows distribution that caused the program to crash on startup. It has now been fixed. If you're using Windows, please download the package again. I'm sorry, but I don't have Windows, so I had to build the version blindly.

comment 4mo ago · link · parent

Hi HN!

I'm an assembly programmer, but I've always wanted a CAD tool that combines the workflow of OpenSCAD with the ability to export true, exact geometry to STEP files, rather than polygonal meshes.

I found an abandoned project called bcad, which tried to use OpenCASCADE (OCCT) with OpenSCAD syntax. I decided to revive it. Since I don't know Python or 3D graphics development, I let AI do almost 100% of the coding. I used the terminal version of opencode with the Big Pickle agent, and it worked surprisingly well.

The GUI is built on Dear ImGUI. The app is fully portable (no install, just unpack and run) for both Linux and Windows.

Source code (Fossil): https://asm32.info/fossil/bcad/

3.

Show HN: Bcad – An OpenSCAD-syntax CAD powered by OpenCASCADE(asm32.info ↗)

1 points · by johnfound · 4mo ago · 2 comments

4.

AsmBB v3.0 has been released (web in asm)(board.asm32.info ↗)

3 points · by johnfound · 3y ago · discuss

5.

AsmBB v2.9 has been released. With new beautiful theme and emoji 111(board.asm32.info ↗)

2 points · by johnfound · 6y ago · discuss

6.

AsmBB v2.8 – better DDoS behavior,XSS prevention and new skin(board.asm32.info ↗)

1 points · by johnfound · 6y ago · discuss

7.

AsmBB v2.7 supports fully encrypted database for better security(board.asm32.info ↗)

1 points · by johnfound · 7y ago · discuss

8.

Fresh IDE v2.7.0 has been released(fresh.flatassembler.net ↗)

2 points · by johnfound · 7y ago · discuss

9.

Screencast of one hour assembly programming(dev.to ↗)

3 points · by johnfound · 7y ago · discuss

10.

AsmBB v2.6 has been officially released(board.asm32.info ↗)

1 points · by johnfound · 7y ago · discuss

11.

AsmBB v2.5 released: BBCode support, internationalization and performance boost(board.asm32.info ↗)

2 points · by johnfound · 7y ago · discuss

12.

AsmBB v2.4 released: File attachments, PMs on steroids and performance boost(board.asm32.info ↗)

4 points · by johnfound · 8y ago · discuss

13.

If the terminal browsers was able to render HTML properly – design experiment(board.asm32.info ↗)

1 points · by johnfound · 8y ago · discuss

14.

Source code guide: Hash tables and command dispatching in AsmBB explained(board.asm32.info ↗)

2 points · by johnfound · 8y ago · discuss

15.

AsmBB 2.3 has been released: bugs-- accessibitily++(board.asm32.info ↗)

2 points · by johnfound · 8y ago · discuss

16.

AsmBB v2.2 has been released(board.asm32.info ↗)

1 points · by johnfound · 8y ago · discuss

comment 8y ago · link · parent

What is wrong if your debugging of experimental branch is pushed to the repository? Someone can find this code useful for something else later. And after all, all the experiments are part of the project history, that fossil strive to keep unchanged and as it actually happened.

The same is about the rebase - the difference is that while git keeps the history "as the developers want it to be", fossil keeps it "as it actually happened".

18.

AsmBB v2.0 released. The speed x2.0, the RAM /2.0(board.asm32.info ↗)

2 points · by johnfound · 8y ago · discuss

19.

Tutorial: How to Install AsmBB on VPS with Nginx and Systemd(board.asm32.info ↗)

1 points · by johnfound · 8y ago · discuss

20.

AsmBB v1.7 has been released(board.asm32.info ↗)

2 points · by johnfound · 8y ago · discuss

21.

Fresh IDE v2.6.0 has been released(fresh.flatassembler.net ↗)

1 points · by johnfound · 9y ago · discuss

comment 9y ago · link · parent

> RE: Portability - Not sure how far you'll be able to get by gcc -S'ing something like nuklear (cross-platform ANSI C89) but it might save you some time.

The big problem with using "gcc -S" is that as a result you have a HLL program, simply written as an assembly language listing.

The humans write assembly code very different than HLL. Even translated to asm notation, this difference will persist. Asm programmer will choose different algorithms, different data structures, different architecture of the program.

Actually this is why in the real world tasks, regardless of the great compiler quality, the assembly programmer will always write faster program than HLL programmer.

Another effect is that in most cases, deeply optimized asm program is still more readable and maintainable than deeply optimized HLL program.

In this regard, some early optimizations in assembly programming are acceptable and even good for the code quality.

comment 9y ago · link · parent

According to the wiktionary[1] it is "rhyming slang" from:

    apples and spice = nice
[1] https://en.wiktionary.org/wiki/she%27ll_be_apples

comment 9y ago · link · parent

No offenses. :)

At first, FLTK, does not look much better than the old Windows widgets.

In addition, I strongly want Fresh IDE to be portable to MenuetOS, KolibriOS and other assembly written OSes. As a rule, they all are written with FASM and a good IDE that can be ported for days (not for years) can be great tool for the OS developers.

That is why I started the development of special GUI toolkit.

comment 9y ago · link · parent

Well, as I said several posts above, I am working on a new, assembly language, portable GUI toolkit that to be used for v3.x series of Fresh IDE.

Unfortunately it will add another 50..100kB to the code, but the portability has price. :(

comment 9y ago · link · parent

Code maintainability and readability depends only on the programmers knowledge of the language/framework/libraries used.

For example, I don't know Lisp, so for me it is much harder to read/maintain Lisp project than assembly language project.

comment 9y ago · link · parent

Why adding abstraction layers makes programming easier?

Because allow the programmer to not think (and even know) about some things and leaving them to the layer/libraries.

But every layer adds also a level of obscurity. The interaction between multiply layers is even more undefined and random.

It is OK while everything goes as expected. But when there are problems, the obscurity can make the debugging a hell.

In addition, the behavior of the bugs hidden deep in the layers (or in the way the layers interacts in between and with the application) can be really weird.

That is why, IMHO, the programmer should keep the abstraction layers to the minimal count that allows solving programming tasks with minimal effort, counting not only the coding time, but debugging and supporting time as well.

In my practice, I decided that using FASM with Fresh IDE and set of assembly libraries gives me the needed quality of the code.

comment 9y ago · link · parent

Well, I am pretty average programmer. Not the worst, not the best.

The code reliability of assembly programs is better because programming algorithms in low level, the programmer controls every aspect of the execution. Notice, that excessive use of code generation macros will cancel this advantage.

Another advantage is that the bugs in assembly programs usually cause immediate crash of the program and this making the fixing easy.

Defer crashes and strange/random/undefined behavior of bugs in assembly programs is rare. IMO, this is because of reduced count of abstraction layers.

comment 9y ago · link · parent

Well, no, there is no "book" in the real meaning of this word.

But some documentation is available in the "Documentation" section of the web site and inside the "Help|Help file" (Ctrl+F1) menu in the IDE itself.

There are small example and template projects as well.

Also the FASM forum is a good place to ask: https://board.flatassembler.net

12