Live data from Hacker News

Show HN: Hnwatch – Linux x64 terminal-based real-time HN watcher/reader

2ton.com.au

21–30 of 49 posts

Re: Show HN: Hnwatch – Linux x64 terminal-based real-time HN watcher/reader

#21
Hmmm! some nice stuff there besides the "hnwatch" itself:

- it's apparently written in "FASM" assembler, which is BSD-licensed (according to Wikipedia), cross-platform, self-hosting (?), Intel-syntax (my preferred camp), and also has an experimental "g" version supporting output targetting JVM, AVR & other fancy stuff (customizable via "macroinstructions"): http://www.flatassembler.net/download.php

- IIUC, this "hnwatch" page is at the same time kinda delicate & non-pushy advertisement for the author's (authors'?) multipurpose ASM library named "HeavyThing" (i.e. kinda custom "stdlib"): https://2ton.com.au/HeavyThing/ (which seems to be required to build "hnwatch"? It wasn't clear to me initially) - worth some more highlight, I believe.

As a sideways wishful-thinking comment regarding the highlighter used for showcasing the hnwatch sources: I'd much prefer if syntax was not highlighted (i.e. the eye-piercing blue '[' & ']'), but instead the "call" instructions would, as well as "jmp" and variants (with a different colour), user symbols (different colour again) including especially labels (another colour please). Also, if there were somewhat more comments in the sources. Also, in https://2ton.com.au/library_as_html/hnwatch/textify.inc.html, the highlighter seems to have gone awry.

update: edited heavily to hopefully better express my positive attitude; in the Interwebs, no one can see you smile

Re: Show HN: Hnwatch – Linux x64 terminal-based real-time HN watcher/reader

#23
post #21

Hmmm! some nice stuff there besides the "hnwatch" itself: - it's apparently written in "FASM" assembler, which is BSD-licensed (according to Wikipedia), cross-platform, self-hosting (?), Intel-syntax (my preferred camp), and also has an experimental "g" version supporting output targetting JVM, AVR & other fancy stuff (customizable via "macroinstructions"): http://www.flatassembler.net/download.php - IIUC, this "hnwa…

Nice to meet you, too.

Curious as to what your intention is by pointing out my investment in years of profit-free GPLv3 development, and that somehow that is tied to the BSD license of the compiler's creator.

Care to elaborate on a better method? I miss Turbo Assembler, which is in part what brought fasm into existence.

"Advertisement" for GPLv3 sources?

I am not ashamed to openly admit my company would love more contract work, consider what I have contributed for free the "world's most expensive curriculum vitae". I'm interested to hear what other open source decision makers have to say about this, but 2 Ton Digital as a Software resource has made me bupkiss.

More the point, when someone wants something that requires a higher-than-average level of skill, we get business. The community as a whole gets to benefit because I keep turning it loose with no strings attached. Isn't that the way it is supposed to work?

Re: Show HN: Hnwatch – Linux x64 terminal-based real-time HN watcher/reader

#24
post #21

Hmmm! some nice stuff there besides the "hnwatch" itself: - it's apparently written in "FASM" assembler, which is BSD-licensed (according to Wikipedia), cross-platform, self-hosting (?), Intel-syntax (my preferred camp), and also has an experimental "g" version supporting output targetting JVM, AVR & other fancy stuff (customizable via "macroinstructions"): http://www.flatassembler.net/download.php - IIUC, this "hnwa…

Nice to meet you, too. Curious as to what your intention is by pointing out my investment in years of profit-free GPLv3 development, and that somehow that is tied to the BSD license of the compiler's creator. Care to elaborate on a better method? I miss Turbo Assembler, which is in part what brought fasm into existence. "Advertisement" for GPLv3 sources? I am not ashamed to openly admit my company would love more con…

I don't think akavel was criticizing you. Advertising ones own projects is encouraged here.

Re: Show HN: Hnwatch – Linux x64 terminal-based real-time HN watcher/reader

#25
post #21

Hmmm! some nice stuff there besides the "hnwatch" itself: - it's apparently written in "FASM" assembler, which is BSD-licensed (according to Wikipedia), cross-platform, self-hosting (?), Intel-syntax (my preferred camp), and also has an experimental "g" version supporting output targetting JVM, AVR & other fancy stuff (customizable via "macroinstructions"): http://www.flatassembler.net/download.php - IIUC, this "hnwa…

Nice to meet you, too. Curious as to what your intention is by pointing out my investment in years of profit-free GPLv3 development, and that somehow that is tied to the BSD license of the compiler's creator. Care to elaborate on a better method? I miss Turbo Assembler, which is in part what brought fasm into existence. "Advertisement" for GPLv3 sources? I am not ashamed to openly admit my company would love more con…

Well put. I think your approach is sound, and it's a good way to get more exposure for your business.

Re: Show HN: Hnwatch – Linux x64 terminal-based real-time HN watcher/reader

#26
post #21

Hmmm! some nice stuff there besides the "hnwatch" itself: - it's apparently written in "FASM" assembler, which is BSD-licensed (according to Wikipedia), cross-platform, self-hosting (?), Intel-syntax (my preferred camp), and also has an experimental "g" version supporting output targetting JVM, AVR & other fancy stuff (customizable via "macroinstructions"): http://www.flatassembler.net/download.php - IIUC, this "hnwa…

Nice to meet you, too. Curious as to what your intention is by pointing out my investment in years of profit-free GPLv3 development, and that somehow that is tied to the BSD license of the compiler's creator. Care to elaborate on a better method? I miss Turbo Assembler, which is in part what brought fasm into existence. "Advertisement" for GPLv3 sources? I am not ashamed to openly admit my company would love more con…

Hmh; I think there might have been kinda misunderstanding (?) - I'll edit my comment to change "interesting" to "nice", hopefully this way it will better express my original intent.

In other words, big thanks for making me aware of the FASM! Not sure if I'll ever use it, but totally worth remembering for future, just in case. Or, who knows; maybe for some hobby AVRing I hope to do it'd be actually easier than the whole AVR-GCC stuff?

Re: Show HN: Hnwatch – Linux x64 terminal-based real-time HN watcher/reader

#27

I made a docker image for this: https://github.com/agonzalezro/docker-hnwatch If you want to run it: docker run -it agonzalezro/hnwatch I don't know why but hnwatch doesn't look like working ATM. I've tried in a Linux box (without docker) and I have the same problem with the tty, it's just loading 4 news and no comments or similar.

Dude, use alpine (~5MB) rather than ubuntu (~190MB) for the base image!

Re: Show HN: Hnwatch – Linux x64 terminal-based real-time HN watcher/reader

#28
post #26

Earlier quoted context omitted.

Nice to meet you, too. Curious as to what your intention is by pointing out my investment in years of profit-free GPLv3 development, and that somehow that is tied to the BSD license of the compiler's creator. Care to elaborate on a better method? I miss Turbo Assembler, which is in part what brought fasm into existence. "Advertisement" for GPLv3 sources? I am not ashamed to openly admit my company would love more con…

Hmh; I think there might have been kinda misunderstanding (?) - I'll edit my comment to change "interesting" to "nice", hopefully this way it will better express my original intent. In other words, big thanks for making me aware of the FASM! Not sure if I'll ever use it, but totally worth remembering for future, just in case. Or, who knows; maybe for some hobby AVRing I hope to do it'd be actually easier than the who…

Your use of the word "apart" right at the beginning is likely to be a cause of confusion. Clearly, in this context, you mean it in the "as well as" sense, but I initially read it in the "instead of" sense, and I think most other English-as-1st-language speakers would do the same. Qualifying it e.g. "quite apart from..." can avoid the misunderstanding.

Re: Show HN: Hnwatch – Linux x64 terminal-based real-time HN watcher/reader

#29
Hmmm. I wonder if someone can write a hacker news comment that'll cause remote code execution on those running this...[1] I would have no idea how easy protecting buffer overflows is in assembly but I'm guessing it's harder than C.

[1] consider this a challenge...

Re: Show HN: Hnwatch – Linux x64 terminal-based real-time HN watcher/reader

#30
post #21

Hmmm! some nice stuff there besides the "hnwatch" itself: - it's apparently written in "FASM" assembler, which is BSD-licensed (according to Wikipedia), cross-platform, self-hosting (?), Intel-syntax (my preferred camp), and also has an experimental "g" version supporting output targetting JVM, AVR & other fancy stuff (customizable via "macroinstructions"): http://www.flatassembler.net/download.php - IIUC, this "hnwa…

Coming back around, my automated syntax highlighter for sources doesn't like HTML entities, and the source_as_html you reference is indeed broken, but only for the HTML/browser case. Tah for the positive attitude, most of my sources "as HTML" are syntax highlighted to be pleasantish. My terminals are all syntax-highlight-free (vim: syntax off) and greenscreen like the olden day monochrome monitors :) The primary reason all of my code isn't on github is only because their syntax highlighting doesn't cover fasm/x86_64 assembler. It is on my todolist for someday when I am bored :)
Post reply on HN