2,496 karma · joined September 28, 2015
I am asking, b/c I am currently working on a little document management system for home-use. It looks like the only sane way to integrate with document scanners is (S)FTP upload or Email (SMPT). I have tried to use off-the-shelf FTP servers for this and inotify to get notified of new uploads. The the solutions work OK, but are hard to setup and rather brittle (and limited to Linux).
Go seems to be the ideal language for this project, because its concurrency model and the ease of distribution (as single binary files).
- Has anyone here experience with building systems like this (integrating via FTP/SMTP)?
- Any recommendations for languages and libraries?
I have two git repositories which somehow got into an inconsistent state: How can I reconcile changes in both repositories and resolve conflicts between mutable-metadata (branches, tags) in a sane way?
It allows for a pretty natural transition:
- (Markdown) Manual
- Do-nothing-script (printing out the manual in steps)
- Partial automation
- Full automation
Wide adoption and popularity trumps "being wrong" everyday.
Not sure there is a decent standard spec and a good Java (say) parser around. Is there?
The problem is not writing stuff down. The problem is reasoning about what you have written down. With popular languages it's really hard, to say what a line of code does. It depends on so many things (global state, scoping, local state), that you have to spell out. Google "Semantics of Programming Languages" to get an idea, what's involved with formally reasoning about code.
To have a chance to do manipulations by hand, you have to give up, at least:
- Mutable State - Side-effects (I/O)
(pure) Scheme and Haskell come into mind as contenders.
Formal reasoning feels very empowering.
You write down assumptions, apply transformation, arrive at conclusion. Proof one Lemma at a time. Work through some examples. Eventually you arrive at a deeper understanding of the problem, and maybe even a solution.
When I started working in Software, I largely lost the ability to reason formally about the thing I am doing. Also I need manuals and computers around to make progress. This still frustrates me today. And I have tried hard to reason formally about code, to gain back this experience:
- Doing Lambda Calculus by hand is possible.
- LISP is already tedious (scoping rules/mutable state!).
- Register machines are a nightmare to do by hand (See Knuth's books)
- The semantics of C are nearly impossible to write down by hand, and work with.
I am excited about this blog post, because it shows a new way of approaching the situation. Model the problem domain with mathematical language, and leverage the Lemmas/Theorems in your implementation.
Some, food for thought. Thanks Justin!
Instead, think of a formula like a very dense sentence in a novel.
The protagonists are usually introduced in the paragraph before. You are assumed to know their names to make sense of the formula.
I know that most of this stuff is undefined according to the spec. But I (might) also know what my particular GCC version does in these cases.
What I know for sure, that those programs do output something, and it's not "I don't know" (the string) ; )
What I don't know, is what level of sophistication the author assumes.
Unfortunately, the big successful players seem to make pretty good $$ by selling customer data, so they have little incentive to change this.
Mozilla/Firefox is in a unique position to launch an effort like this, since it controls a decent browsing platform with a significant user base.
I'll sign up the moment this becomes available in the EU.
It's one thing to make a rule, to ban "hacking techniques".
But there should be an independent party who get's to decide whether a particular video is about "hacking techniques" or not.
> Is teaching kids how to use wireshark(1) already hacking?
> How about the Chrome dev-console?
The current state of things, where:
a) a proprietary algorithm decides if a rule is violated or not and
b) you have no way to appeal decisions taken by YT,
is appalling.
Update: Well, there appears to be a YT-internal process to appeal censoring decisions. But who knows how well that works. In the past, appealing to copyright take-downs was practically impossible.
The user-facing business model of YT is quite simple:
> You get to see great variety of videos, but have to watch ads every now and then.
So from their perspective, youtube-dl allows you to steal the content w/o giving anything back to either YT or the creator.
To make this fair/sustainable youtube-dl user would either (A) have to tolerate advertisements in the downloaded video, or (B) pay a fee for each downloaded video.
I'd prefer for youtube-dl to stays small enough, that we can continue to freeload a little longer ; )
> resume export resume.pdf (Currently broken, help needed)
https://jsonresume.org/getting-started/
Any news here?
Still puzzling to me, how hard it is to generate PDF documents. I assume this is not using Latex, since that would be a gigantic dependency to pull in. What is/was jsonresume using? Why did it break?
PS: Also pdf export on wikipedia has been broken for years now. Seems to be a hard problem.
Any information about light-weight pdf generators that work and produce decent pdfs documents would be appreciated.
I have a bunch of snapshots (https://github.com/jakelee8/zfs-auto-snapshot) that I want to backup along with the active tree. But don't want to keep extra copies of the data.
- Do these services offer snapshotting? ...that can be automated?
- Is there zfs integration, e.g `zpool send | b2 receive`?
Most likely we will see premium features like: - premium color themes - more cloud storage for settings and extensions - analytics on your browsing data (after you hand the data over to them) (??) - more customer support (???)
https://twitter.com/heinrichhartman/status/11365667071479439...
Let me help you with this:
man -t bash > man.ps && lpr man.ps
Then, grab a coffee, sit in the sun and spent some quality time with your tools. :)Use `man -t systemctl` to produce a pdf version.
There are a couple of files you want to read, e.g. systemd.service, systemd.unit, systemd, deamon etc.
But those are linked at the `SEE ALSO` section.
http://heinrichhartmann.com/blog/2014/12/11/Generative-Model...
This is a study of generating time series/stochastic processes. The estimators for the parameters lead straight up to Kalman filters. The state space models are taken from the Kalman setup. This was the first time I understood how Kalman filters come about. Its really a three step process:
1. Stationary processes --> Classical parameter estimation.
2. Discrete state space --> Markov models
3. Continues state space --> Kalman filters.
Edge just looks like Chrome, which is acceptable to me.