What are you working on? - Programming On Unix
Users browsing this thread: 5 Guest(s)
|
|||
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 |
|||
|
|||
1997: everyone writes a text editor.
2017: everyone writes a blog generator. Looking forward to 2037. :D -- <mort> choosing a terrible license just to be spiteful towards others is possibly the most tux0r thing I've ever seen |
|||
|
|||
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. |
|||
|
|||
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 |
|||
|
|||
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 |
|||
|
|||
I won a bet by creating a tool to estimate the weight of a file. :-D
-- <mort> choosing a terrible license just to be spiteful towards others is possibly the most tux0r thing I've ever seen |
|||
|
|||
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.
|
|||
|
|||
So you're reimplementing pkgsrc?
-- <mort> choosing a terrible license just to be spiteful towards others is possibly the most tux0r thing I've ever seen |
|||
|
|||
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! |
|||
|
|||
|
|||
I'm doing stuff for work. I built a new monitoring solution using icinga2 and redis, but now the hard part is migrating from the old to the new. Years of checks have been written for production and pre-production environments and i'm the only one doing anything toward the migration. I've been told it'll add to the possibility of a promotion soon.
|
|||
|
|||
Promotions are a lie (at least when you're not "entry level" anympore). All you get is more 'management-y things' and less coding/quality time.
|
|||
|
|||
(21-02-2017, 05:51 AM)mrtn Wrote: Promotions are a lie (at least when you're not "entry level" anympore). All you get is more 'management-y things' and less coding/quality time. False! Some people at my company got "promoted" to the grade of "project leader" on new projects, and they just endup coding more and more, because they're alone working on it. |
|||
|
|||
i was asked to join a couple research projects at school so thats cool
|
|||
|
|||
I' ve created some basic stuff with leaflet js and firebase.
Here is the demo <a href="https://u.teknik.io/vy4g2.mp4">https://u.teknik.io/vy4g2.mp4</a> |
|||
|
|||
I'm working in an App to send and receive SMS from the smartphone using the computer browser. It has some issues but it's working (the JS client needs a rewrite, I'm learning JS right now). I made a pause in the development because I don't have much free time.
You can check it here: https://github.com/strang3quark/remotedroid |
|||
|
|||
(26-02-2017, 12:38 PM)strang3quark Wrote: I'm working in an App to send and receive SMS from the smartphone using the computer browser. It has some issues but it's working (the JS client needs a rewrite, I'm learning JS right now). I made a pause in the development because I don't have much free time. Wow this looks actually really nice. But first thing I thought "wtf, no https" until I saw your comment on github ^^ Keep going |
|||
|
|||
Fixed a bug in BlogC++. I consider to release version 4 earlier than planned, maybe even in March.
-- <mort> choosing a terrible license just to be spiteful towards others is possibly the most tux0r thing I've ever seen |
|||
|
|||
At the job? Designing and building an industrial VR (simulator) platform for my employer (a startup in Orange County, CA).
At home? I'm finally starting to have a little time to myself, so I've been working (slowly) on my system. Things like my own init, service manager, WM, notification system, package manager, login manager, etc. Most everything is incomplete or horribly broken, but still set as the default in my (CRUX) installation, so I have motivation to finish all of these projects, else they'd continue to collect dust in my personal repos. I guess the "ultimate" goal of all of this is to have it all culminate into a "flavor" of Linux, but only for me. I don't plan on distributing a coherent image/flavor/distro, but each component that I've written will be freely (as in, Free Software) available.
Github: https://github.com/darthlukan
CRUX Ports: http://ports.brianctomlinson.com GPG: 3694569D "We're all human, act accordingly." -- Me |
|||
|
|||
Coming back to my personal project after a while I realized it's a waste of time to rewrite python-Levenshtein in C++ when I could just wrap the related C-functions with some C++. So far so good, but when building the lib, should I compile the C code with a C compiler instead of letting the C++ compiler handle everything?
I've seen it being mentioned that doing the former is a better idea, but not for what reason. |
|||
|
|||
This weekend I worked on my fork-of-a-fork of dmenu (https://github.com/duckwork/ddmenu) to learn a little C and waste time. Now I just have to start writing scripts for it.....
|
|||
|
|||
Been working with dlang and trying my hand at an RPG on the command line...
|
|||
|
|||
Currently trying to setup a postfix server from scratch. It really is harder than I expected...
Has anyone done it already? |
|||
|
|||
Yep, multiple times.
I replaced most of the instances by OpenSMTPD later because I really do not ever want to do that again. -- <mort> choosing a terrible license just to be spiteful towards others is possibly the most tux0r thing I've ever seen |
|||
|
|||
(04-04-2017, 03:51 AM)z3bra Wrote: Currently trying to setup a postfix server from scratch. It really is harder than I expected... Postfix is a pain to configure, hands down. I setup one a couple years ago and it took a few days. Good luck As to projects, I haven't touched C since college so I'm in the process of re-reading K&R and doing some little programs to reignite that part of my brain. I'd really like to get into electronics hacking and Embedded C, but first I must find the mystical artifact known as "Free Time" |
|||
|
|||
(04-04-2017, 06:07 AM)jkl Wrote: I replaced most of the instances by OpenSMTPD later because I really do not ever want to do that again. I'm guessing that if you know what you're doing, it should be trivial. But the authentication part is a REAL mess... How is it handled on openbsd? Is it also relayed to an external SASL handler, or it's included in smtpd as well? |
|||
|
|||
I usually just use PAM for mailboxes and virtual users for aliases.
-- <mort> choosing a terrible license just to be spiteful towards others is possibly the most tux0r thing I've ever seen |
|||
|
|||
also working on familiarizing myself more with grsec
|
|||
|
|||
since i'm late to the party playing with docker, i'm dockerizing all my build environments at the moment and try to find a good workflow to deploy/run/debug code in a container.
|
|||
|
|||
Why would you do that?
-- <mort> choosing a terrible license just to be spiteful towards others is possibly the most tux0r thing I've ever seen |
|||