Re: [dev] [sandy] Additional key tests

2014-07-23 Thread Dimitris Zervas
>What do you think? The main question (which I forgot to ask) is how can I minimize the amount of key definitions.

[dev] [sandy] Additional key tests

2014-07-23 Thread Dimitris Zervas
Hello, Sandy's key bindings are based on tests. The number of tests have started to grow and a there are times that a key is defined 6 or more times to do a simple job. Also, I want to add an expand mode (to make diw command possible) and until mode (dta command), which would mean even more key

Re: [dev] [st] Erasing UTF-8 characters in ed

2014-07-23 Thread Hiltjo Posthuma
On Thu, Jul 24, 2014 at 12:44 AM, Alexandre Niveau wrote: > ... > It may be that one's not supposed to use backspaces in ed, but this > behaviour is weird nonetheless… I have the same issue in mg. This question also comes up occasionally on IRC. Reverting the commit you specified seems to work fo

[dev] [st] Erasing UTF-8 characters in ed

2014-07-23 Thread Alexandre Niveau
Hello, I've been using st for a while now; it works great. Thanks to the devs and maintainers! I have a problem though, when using ed; I don't know whether it's a bug in st or elsewhere. When typing a line in ed, using backspace to erase a multibyte UTF-8 character *seems* OK visually, but does

Re: [dev] LDAP

2014-07-23 Thread Andrew Hills
On 7/23/14, 3:52 PM, Calvin Morrison wrote: > That's just silly. Why would you be so sucky of any admin to require > users to change passwords on 10 systems when they are all identical? > This is somewhat of a small cluster, worker nodes, a services node, a > storage node, a head node etc. Users a

Re: [dev] LDAP

2014-07-23 Thread FRIGN
On Wed, 23 Jul 2014 22:28:45 +0200 Alexander Tanyukevich wrote: > Use ldap. > It has replication mechanisms. > It has tonns of documentation and examples. > It is fast and reliable (you can setup master-master replication and > slave on every server.. so even without network it will work) ... I >

Re: [dev] LDAP

2014-07-23 Thread Alexander Tanyukevich
On Wed, Jul 23, 2014 at 10:11 PM, Calvin Morrison wrote: > On 23 July 2014 16:06, Alexander Tanyukevich wrote: >> On Wed, Jul 23, 2014 at 9:21 PM, Calvin Morrison >> wrote: >>> >>> LDAP sucks, is there any good alternative for managing user logins >>> over 5-10 servers? >> >> What is wrong with

Re: [dev] LDAP

2014-07-23 Thread Calvin Morrison
On 23 July 2014 16:06, Alexander Tanyukevich wrote: > On Wed, Jul 23, 2014 at 9:21 PM, Calvin Morrison > wrote: >> >> LDAP sucks, is there any good alternative for managing user logins >> over 5-10 servers? > > What is wrong with LDAP from your point of view ? > Pam has gazilion of modles, and i

Re: [dev] LDAP

2014-07-23 Thread Alexander Tanyukevich
On Wed, Jul 23, 2014 at 9:21 PM, Calvin Morrison wrote: > > LDAP sucks, is there any good alternative for managing user logins > over 5-10 servers? What is wrong with LDAP from your point of view ? Pam has gazilion of modles, and it looks like it's not so hard to write your own. And use maria/pos

Re: [dev] LDAP

2014-07-23 Thread Markus Teich
Calvin Morrison wrote: > > I think passwd entries should suffice. The admin should not be responsible > > for synchronizing the users files. Maybe he is so kind and offers a network > > mount available on every server. > > That's just silly. Why would you be so sucky of any admin to require users

Re: [dev] LDAP

2014-07-23 Thread Calvin Morrison
On 23 July 2014 15:37, Markus Teich wrote: > Calvin Morrison wrote: >> I like that, but then I guess I need to propogate all changes for my >> users, like passwords and such? > > Heyho, > > I think passwd entries should suffice. The admin should not be responsible > for synchronizing the users fi

Re: [dev] LDAP

2014-07-23 Thread Andrew Hills
On 7/23/14, 3:29 PM, Dimitris Papastamos wrote: > Are these scripts somewhere publicly available? I'd like to have a > look if possible. No, but I'll clean them up a little later this week. They're really nothing special; all my machines run Linux, so it's just useradd/usermod/userdel and some fl

Re: [dev] LDAP

2014-07-23 Thread Markus Teich
Calvin Morrison wrote: > I like that, but then I guess I need to propogate all changes for my > users, like passwords and such? Heyho, I think passwd entries should suffice. The admin should not be responsible for synchronizing the users files. Maybe he is so kind and offers a network mount avail

Re: [dev] LDAP

2014-07-23 Thread Dimitris Papastamos
On Wed, Jul 23, 2014 at 03:25:58PM -0400, Andrew Hills wrote: > On 7/23/14, 3:21 PM, Calvin Morrison wrote: > > LDAP sucks, is there any good alternative for managing user logins > > over 5-10 servers? > > I declare one server the master and manage accounts through there with > some simple scripts

Re: [dev] LDAP

2014-07-23 Thread Calvin Morrison
I like that, but then I guess I need to propogate all changes for my users, like passwords and such? On 23 July 2014 15:25, Andrew Hills wrote: > On 7/23/14, 3:21 PM, Calvin Morrison wrote: >> LDAP sucks, is there any good alternative for managing user logins >> over 5-10 servers? > > I declare o

Re: [dev] LDAP

2014-07-23 Thread Andrew Hills
On 7/23/14, 3:21 PM, Calvin Morrison wrote: > LDAP sucks, is there any good alternative for managing user logins > over 5-10 servers? I declare one server the master and manage accounts through there with some simple scripts and ssh. signature.asc Description: OpenPGP digital signature

[dev] LDAP

2014-07-23 Thread Calvin Morrison
LDAP sucks, is there any good alternative for managing user logins over 5-10 servers? Calvin

Re: [dev] Simple question

2014-07-23 Thread Dimitris Papastamos
You mostly ask about data structures, but I thought I'd share one of my favorite algorithms. The core rsync algorithm as described here[0] is quite simple and brilliant. Another interesting data structure is a Bloom filter[1]. I forgot to mention previously, that rb/AVL trees are also used for i

Re: [dev] Simple question

2014-07-23 Thread Robert Ransom
On 7/23/14, Guillaume Quintin wrote: > I was wondering if there was some program out there that uses > algorithms such as red-black trees, B-trees, binomial heaps, fibonacci > heaps, etc. Do you know any ? This is just for my curiosity. PuTTY (

Re: [dev] Simple question

2014-07-23 Thread Dimitris Papastamos
On Wed, Jul 23, 2014 at 07:49:09PM +0200, Guillaume Quintin wrote: > Hi, > > I was wondering if there was some program out there that uses > algorithms such as red-black trees, B-trees, binomial heaps, fibonacci rb-trees/avl trees can be found in many programs. Do a code search on the macros def

Re: [dev] Simple question

2014-07-23 Thread Troels Henriksen
Guillaume Quintin writes: > Hi, > > I was wondering if there was some program out there that uses > algorithms such as red-black trees, B-trees, binomial heaps, fibonacci > heaps, etc. Do you know any ? This is just for my curiosity. The implementation of std::map in the GNU C++ library is a red

Re: [dev] Simple question

2014-07-23 Thread Markus Teich
Guillaume Quintin wrote: > I was wondering if there was some program out there that uses > algorithms such as red-black trees, B-trees, binomial heaps, fibonacci > heaps, etc. Do you know any ? This is just for my curiosity. Heyho Guillaume, have a look at the kernel sources. --Markus

[dev] Simple question

2014-07-23 Thread Guillaume Quintin
Hi, I was wondering if there was some program out there that uses algorithms such as red-black trees, B-trees, binomial heaps, fibonacci heaps, etc. Do you know any ? This is just for my curiosity. coincoin169.

Re: [dev] sufr + tabbed

2014-07-23 Thread Bigby James
On 07/23, Adam Pribyl wrote: > Now the only thing I miss using surf is any kind of login/password manager. > Is there something? I thought http://suckless.org/other_projects passman > project maybe, but link is 404... > Check out pass.[1] [1]: http://www.passwordstore.org/ -- "A common mistake

Re: [dev] sufr + tabbed

2014-07-23 Thread Gregor Best
On Wed, Jul 23, 2014 at 11:04:48AM +0200, Adam Pribyl wrote: > [...] > Now the only thing I miss using surf is any kind of login/password manager. > Is there something? I thought http://suckless.org/other_projects passman > project maybe, but link is 404... > [...] Some time ago, i cobbled togethe

Re: [dev] sufr + tabbed

2014-07-23 Thread Adam Pribyl
On Wed, 23 Jul 2014, Markus Teich wrote: Adam Pribyl wrote: > I am using surf + tabbed, when I press Ctrl+t to open a new tab, I may > enter a "string" - I thought it should be URL for a new tab, but it > does nothing. If I do not enter anything it does not open a new tab. What > is the purpose

Re: [dev] sufr + tabbed

2014-07-23 Thread Markus Teich
Adam Pribyl wrote: > I am using surf + tabbed, when I press Ctrl+t to open a new tab, I may > enter a "string" - I thought it should be URL for a new tab, but it > does nothing. If I do not enter anything it does not open a new tab. What > is the purpose of the "string"? Heyho Adam, you have t

[dev] sufr + tabbed

2014-07-23 Thread Adam Pribyl
I am using surf + tabbed, when I press Ctrl+t to open a new tab, I may enter a "string" - I thought it should be URL for a new tab, but it does nothing. If I do not enter anything it does not open a new tab. What is the purpose of the "string"? Now the only thing I miss using surf is any kind