HNHacker News
TopNewBestAskShowJobs

johnjackjames

73 karma · joined November 12, 2020

submissionscomments
johnjackjames··on Ossec – Open-Source HIDS
Look, I installed it in the company. We have a lot of problems with postgresql integration, it doesn't rotate log files well (EOF missing). The latest commit is from February and the last release a year ago ... I switched to Wazuh: https://wazuh.com/ Much better
johnjackjames··on “Open Source” vs. Free Software
Let's stop confusing the two. Free software is also open source, but open source does not mean free software. To start understanding open source, here's a nice article: https://matteoguadrini.github.io/posts/zen-of-open-source/
johnjackjames··on [dead]
I try this: dinosay -d maia -t -e hypno "like a drugs"... :-))))))
johnjackjames··on Reforestum
This is very very cool project for entire planet!
johnjackjames··on Genea: A Genetic Algorithm in Python
This is a nice academic project
johnjackjames··on [dead]
Having a backup system is necessary to ensure continuity to your systems, whatever work they do. Backup systems can be simple if few machines are involved or complex in case there are hundreds of thousands of machines, such as in the cloud.
johnjackjames··on Python Dinoprint()
I understood the point of view. You could open an issue ...
johnjackjames··on Python Dinoprint()
furthermore, cowsay cannot be used as a python module to beautify scripts, while dinosay can. you can use it both on the command line and in the python cli
johnjackjames··on Python Dinoprint()
it seems more beautiful that way. also I believe that cowsay does not support variables in templates, as the author also says
johnjackjames··on [dead]
I think it can be done. It says on github to open an issue in case of improvements or recommendations.
johnjackjames··on [dead]
Because each human have got a liberty of expression. This library would be an alternative and not replacing.
johnjackjames··on [dead]
I just installed it via pip. Cool! I already put it in my .bashrc as a welcome screen!
johnjackjames··on Fontpreview: Python library for font previews
Just look at the "Advanced usage" https://github.com/MatteoGuadrini/fontpreview#advanced-usage chapter to understand the potential of this library
johnjackjames··on Font previews in command line with Python
I also proposed this python library (https://github.com/MatteoGuadrini/fontpreview) because it is really well done! I also tried using the FontBanner class to do more complex things: from fontpreview import FontBanner fb = FontBanner('/tmp/noto.ttf', 'landscape', bg_color=(253, 194, 45)) fb.save('/tmp/fb.png') You can also upload background images: fb.bg_image = 'image/path.jpg' fb.draw()

I also found this reference in stackoverflow: https://stackoverflow.com/questions/1920129/methods-to-creat...

johnjackjames··on Incremental Backup on Linux System
I tried following this article https://fedoramagazine.org/butterfly-backup/ which talks about an incremental backup tool. Really intuitive! Try it!
johnjackjames··on Advanced CLI for CouchDB Server
I tried PSCouchDB (https://pscouchdb.readthedocs.io/en/latest/index.html). Apart from that the documentation is very well written (you can learn CouchDB directly from the PSCouchDB doc much more simply), the commands are much more intuitive and dynamic. But above all I don't have to use grep and sed to filter strings from bash, but being written in powershell, (cross platform) always returns an object with methods and properties. Another features is to send many commands via the -AsJob flag in the background and retrieve the result whenever you want.

I am really excited about this CLI.

In your opinion, it is much easier to write this:

shell> curl http://admin:password@127.0.0.1:5984/_all_dbs

_replicator

_users

test

test_copy

or (alias of Get-CouchDBDatabase):

PS> gcdb -auth "admin:password"

_replicator

_users

test

test_copy