What are you working on? - Programming On Unix
jebes
I just finished up the beta for my static site generator: https://github.com/Jebes/smal-blog-template
Its based on this code I wrote one weekend: https://github.com/Jebes/Simple-Macro-Language

@cjm if that's on github, I'd be interested in helping with your Markdown parser

Ammendum: I didn't notice I was reading the first page... out of 20
jkl
1997: everyone writes a text editor.
2017: everyone writes a blog generator.

Looking forward to 2037. :D
Tmplt
As a dependency for bookwyrm I'm porting fuzzywuzzy to C++, which means a port of the underlaying python-Levenshtein too. Interpreting the C code isn't as daunting as I thought it would be, even with all the Python noise.

Bit unfortunate that the module lacks implementation details. I don't understand half of the functions I'm C++-ish-ifying :s. The (very much in progress) port can be found here.
neeasade
Last night I started working on a wmutil opt program for bevel borders. I was inspired by seeing vain's setup and shot him an email awhile back. He linked me his dwm implementation, which was very helpful. Thanks to the comments there I learned about how you have to set your pixmap for window borders, which was very helpful for understanding why the existing chwb2 had it's rectangle setup up like this.

A bevel by my planning is essentially a triple border that changes color halfway through on the inner and outer borders. Using some graph paper I set the calculations for what rectangles to draw after being moved into correct position. image.

I need to go over those again because it's not quite accurate (and assumes border width of 8 for testing) but current appearance: https://u.teknik.io/WPGnV.png

code: https://github.com/neeasade/opt/blob/master/chwbb.c

edit: woo https://u.teknik.io/7v8h2.png
neeasade
I'm working on some dynamic options for the colors of sections on my panel.

I added a step in my panel templating that passes the name of the panel section and intended color off to a script[1]. From there, the script determines where on the panel the section goes and what color to assign it based on that. Initially I just tinted up colors with colort[2] and that looked like this: https://u.teknik.io/8oJBm.png . The next step I did was to tie the section indexes to a step in a gradient color list generated by a script. The gradient script[3] is from the example section of baskerville's ciecam02[4], with intent of playing with different color options later. Currently using $color0 and $color7 (black and white) of the current colorscheme for the gradient ends, with the total number of sections being the amount of steps.

The script itself[5] with gradient allows results that look like:

https://u.teknik.io/CLIbX.png
https://u.teknik.io/VcKUG.png

I'm currently not touching foreground.

[1] https://github.com/neeasade/dotfiles/blo...juicer#L33
[2] https://github.com/neeasade/colort
[3] https://github.com/neeasade/dotfiles/blo...s/gradient
[4] https://github.com/baskerville/ciecam02#gradient
[5] https://github.com/neeasade/dotfiles/blo...rchange.sh
jkl
I won a bet by creating a tool to estimate the weight of a file. :-D
fhee
I'm working in a ports system that you can install in any distro. it will be more like an automated make when you make a folder with the name of the package.
jkl
So you're reimplementing pkgsrc?
pranomostro
Did a bit of programming today (after a pause of 1 month) and finished rudimentary groupchats for ratox ( http://git.z3bra.org/ratox/log.html ) on branch toktok. Will have to test them a bit, but I am convinced that the current version is dumb enough to work correctly.

After that, audio groupchats and file transfers in groups!
fhee
(16-02-2017, 07:57 PM)jkl Wrote: So you're reimplementing pkgsrc?
Yeah jajaja, it's a personal project for learning how to manage inodes :P




Members  |  Stats  |  Night Mode