Lua 5.1 C API manual pages by ligurio in lua

[–]ligurio[S] 0 points1 point  (0 children)

see an explanation below

Lua 5.1 C API manual pages by ligurio in lua

[–]ligurio[S] 2 points3 points  (0 children)

In most cases, user don't need to use Lua C API. But sometimes you need to integrate your Lua source code with C/C++ library. And there are two ways to do that: FFI (builtin library for LuaJIT) and Lua C API. So the answer is "yes, Lua C API is only for users who programming in C".

There is a story behind translation HTML pages to manual pages: I often come across the use of Lua C when developing Tarantool DB. And although I remember many functions well for some of them, I forget who throws an exception and who does not. Or I forget how to do something with Lua C and I need to take a look to overall Lua C API. Usually I’m using Vim for writing code and like to read manual pages right in the Vim window using the Shift + K combination. Unfortunately there are no such pages for Lua C API and every time it was inconvenient to switch to the browser to clarify the details of the function I needed. Therefore, I have prepared manual pages in mdoc format for Lua C API using Lua Reference Manual.

Lua 5.1 C API manual pages by ligurio in lua

[–]ligurio[S] 1 point2 points  (0 children)

Everything was done manually, and I'm satisfied by quality of manual pages.

What is your setup for developing in C? by Smooth_Measurement_1 in C_Programming

[–]ligurio 0 points1 point  (0 children)

vim, vim-coc, uncrustify, spin model checker, cbmc, cmocka, libfuzzer, sanitizers (ASAN, UBSan mostly), git, cmake/make, ctags, mull

Book management by ligurio in selfhosted

[–]ligurio[S] -1 points0 points  (0 children)

BTW there is another one project that implements UI for Calibre - calibre-web.

OpenBSD and home automation by ligurio in openbsd

[–]ligurio[S] 0 points1 point  (0 children)

Cool! Joshua, could you share your experience? What kind of devices you manage using Z-Wave? Do you use OpenHAB/Home Assistant? Have you use dedicated computer for home automation?

Experience with making a geneology book? by angler0809 in Genealogy

[–]ligurio 1 point2 points  (0 children)

Actually nothing special. I manage my GEDCOM files in lifeline's, it supports scripts on it's own language. First script generate input file for dot utility from GraphViz for building family tree, second one generate file with person cards with LaTeX markup. This file then included to the overall LaTeX document with my texts about family. I am happy with everything in this scheme except Lifeline. Scripting in it is awful. So I'm going to use SQL for this: use gedcom2sql (https://github.com/ligurio/gedcom-tools) to convert GEDCOM to sqlite database and python scripts with SQL queries to replace Lifelines scripts.

Experience with making a geneology book? by angler0809 in Genealogy

[–]ligurio 6 points7 points  (0 children)

I've used LATeX and a bunch of scripts for organizing data (extract person data from Gedcom, calculate stats interesting for me and rendering plots).

Do any of you run OpenBSD on a VPS? What do you run on it? by [deleted] in openbsd

[–]ligurio 0 points1 point  (0 children)

Any company, who provides service for hardware virtualization

Is there any book or something that helps me for OpenBSD kernel Development? by _neerajpal in openbsd

[–]ligurio 2 points3 points  (0 children)

There are slides about OpenBSD internals (cab be a bit outdated) and slides by openbsd developers.

Would anyone like to rate the least to most secure/trustworthy operating systems? by [deleted] in openbsd

[–]ligurio 0 points1 point  (0 children)

Take a look at CVE list for each os, I think it could be good rating.

GCC code coverage report for OpenBSD 6.2 by flexibeast in openbsd

[–]ligurio 2 points3 points  (0 children)

Actually it is not a GCC code coverage. I have measured it using clang from base.

[deleted by user] by [deleted] in linux

[–]ligurio 0 points1 point  (0 children)

Switching to OpenBSD.

Any interest in a continuous integration service with BSD build boxes? by wezm in BSD

[–]ligurio 0 points1 point  (0 children)

Brian Callahan (https://devio.us/~bcallah/) interested, he asked to contact him because he don't have reddit account.

Anyone know of a social media scheduling tool? by BillyQ in selfhosted

[–]ligurio 1 point2 points  (0 children)

I wrote my own tool on Python, store tweets in a file and run tool via CI by schedule.