search for: history

Displaying 20 results from an estimated 6929 matches for "history".

2005 Feb 02
0
two small-ish optimizations (death by a thousand cuts)
...9 @@ void FLAC__lpc_restore_signal(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[]) { + register const FLAC__int32 *qlp0 = &qlp_coeff[(order-1)]; + register FLAC__int32 sum; + register const FLAC__int32 *history, *qlp; + + history = &data[(-order)]; + + switch (order) { + case 12: + for( ; data_len != 0; --data_len) { + sum = (qlp0[0] * history[0]) + + (qlp0[-1] * history[1]) + + (qlp0[-2] * history[2]) + + (qlp0[-3] * history[3]) + + (qlp0[-4] * history[4]) + + (qlp0[-...
2009 Jun 24
0
winbind authentication mystery
...ver, when I try to log in via gdm, ssh, or even su, I do not succeed. I believe am I suffering from one, possibly two separate issues. The first is that all users except the Administrator are told that their password is expiring, which is not true. Here are the logs of this event: Jun 24 15:29:58 history-20 sshd[4656]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=localhost.localdomain user=cmthielen Jun 24 15:29:58 history-20 sshd[4656]: pam_winbind(sshd:auth): [pamh: 0x1f06f48] ENTER: pam_sm_authenticate (flags: 0x0001) Jun 24 15:29:58 history-20 sshd[46...
2009 Dec 31
0
winbind authentication mystery
...ever, when I try to log in via gdm, ssh, or even su, I do not succeed. I believe am I suffering from one, possibly two separate issues. The first is that all users except the Administrator are told that their password is expiring, which is not true. Here are the logs of this event: Jun 24 15:29:58 history-20 sshd[4656]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=localhost.localdomain user=cmthielen Jun 24 15:29:58 history-20 sshd[4656]: pam_winbind(sshd:auth): [pamh: 0x1f06f48] ENTER: pam_sm_authenticate (flags: 0x0001) Jun 24 15:29:58 history-20 sshd[465...
2009 Feb 27
4
Optimize for loop / find last record for each person
I want to find the last record for each person_id in a data frame (from a SQL database) ordered by date. Is there a better way than this for loop? for (i in 2:length(history[,1])) { if (history[i, "person_id"] == history[i - 1, "person_id"]) history[i, "order"] = history[i - 1, "order"] + 1 # same person else history[i, "order"] = 1 # new person } # ignore all records except the last for each con_id...
2009 Oct 25
2
Help with history() in Emacs/ESS
Hi Everyone, I am a beginner running R 2.9.2 under Ubuntu and typically use Emacs w/ESS. However, I am confused with history() command. When I issue command history() in Emacs within an R session, this is what get: > history() Error in savehistory(file) : no history available to save Similarly, history(max=10) command gives the same error message. However, there is this In/Out Menu in the Emacs when R is running,...
2006 Mar 24
1
R for MacOSX - History and command line problems
Hi! I have the following issues using "R for Mac OS X 2.2.1" (from the ppc-.dmg) on a Mac OS X 10.4.5: 1) The command history is never saved (automatically) to .Rhistory. (The file stays empty.) 2) If I save a history to some file via the "Save History" button, and I load it afterwards via "Load History", only the first entry of the saved History appears in the GUI. But: If I save that (seemingl...
2006 Mar 23
5
RGui: windows-record and command history
a) How can I set the recording of all windows()-history forever to "true"? I want something like windows(record = TRUE) but not just for the window that opens then, but for all windows I will open ever. b) Scrolling up in RGui (windows 2000) to see past commands is nice, but: Is it possible to type eg "wi" and the "arrow up&quo...
2006 Mar 23
5
RGui: windows-record and command history
a) How can I set the recording of all windows()-history forever to "true"? I want something like windows(record = TRUE) but not just for the window that opens then, but for all windows I will open ever. b) Scrolling up in RGui (windows 2000) to see past commands is nice, but: Is it possible to type eg "wi" and the "arrow up&quo...
2006 May 12
0
draft-proposal for Ajax.History - History/Bookmark handling in Ajax apps
Hi list, In one of my previous projects I had to satisfy the requirement of handling browser back- and forward calls within an Ajax application. Thus I didn''t get an urge to switch the JS part of this project to an other framework like dojo (which supports Browser history handling out-of-the-box), I had to come up with an idea of doing this with prototype/scriptaculous. The arisen source code: Ajax.History = { initialize: function(options) { this.options = Object.extend({ interval: 200 },options||{}); this.callback = this.op...
2006 Apr 06
7
LoginSystem : make @session available to models
...@@session.call() end end def session self.class.session end end end Is this code OK ? --- Now that this framework is set, I can store who did what on what on any database update : (In controllers/application.rb) class ActiveRecord::Base after_update :update_history after_create :create_history before_destroy :destroy_history def update_history history (''update'') end def create_history history (''create'') end def destroy_history history (''destroy'') end def history(action) u...
2012 Oct 10
2
history() does not work?
Hi, > history() gives Error in savehistory(file) : no history available to save although I can scroll throu history with C^uparrow an C^downarrow. How can I make history() work and/or show the current history in a file, so that I can choose from previous commands? The web did not throw up anything useful....
2004 Apr 06
2
R loosing history
Hello, Im running R 1.8.1 on Win2000 and frequently using the function history() to keep track of what I did in my R session. In a recent session I typed history(max=Inf) and to my surprise there were only 15 lines of code where there should have been approx. 300 lines and I lost a lot of valuable work. Do you have any idea what caused this behaviour? help(history) didn...
2007 May 25
0
Cyclic authentications from user already logged on.
...authenticated once, are logged onto the domain, and using various shares. Only one of the 30 users on the network has this issue. Any ideas would be appreciated. ----------------------Log Snippet--------------------- May 11 07:43:18 mt14 smbd[8838]: init_sam_from_ldap: Failed to get password history for user choffeld May 11 07:43:44 mt14 smbd[8838]: [2007/05/11 07:43:44, 0] passdb/pdb_ldap.c:init_sam_from_ldap(764) May 11 07:43:44 mt14 smbd[8838]: init_sam_from_ldap: Failed to get password history for user choffeld May 11 07:43:49 mt14 smbd[8838]: [2007/05/11 07:43:49, 0] passdb/pdb_ldap....
2005 Sep 22
1
Password History with Ldap
I am trying to turn on password history using an ldap backend. I can see the sambaPasswordHistory entry set to all "0"s in Ldap. I tried to turn on password history with pdbedit -P "password history" -C 3 and get back that it was set: [root]# pdbedit -P "password history" account policy value for passwor...
2002 Jul 10
0
history patch (was Re: portable snprintf implementation)
...it with multiple-line entries and the like. Please let me know if anything turns up that I should look into (I attached it too, in case hotmail wraps). RenE J.V. Bertin College de France/LPPA 11, place Marcelin Berthelot 75005 Paris, France ## A couple of 'diff -c' patches to modify the history system such that subsequent identical lines are only entered once. *** src/unix/sys-std.c.orig Sat Jun 29 19:16:31 2002 --- src/unix/sys-std.c Wed Jul 10 16:23:59 2002 *************** *** 324,331 **** return; if (line[0]) { # ifdef HAVE_READLINE_HISTORY_H ! if (strlen(line) &&...
2011 Aug 23
4
[LLVMdev] git Status
> I'd also recommand "git pull --rebase" if the goal is to keep history > linear. Note that this has to go with a big, fat, warning, telling the > user that rebasing published history is bad. Rebase is a very good tool > to work with private history, but as soon as you've pushed it to some > place visible by other people, you should stop using it. This...
2008 Apr 17
1
survreg() with frailty
...variance of the frailty by the print method for survreg() and the 'theta' component included in the object fit: # Examples in R-2.6.2 for Windows library(survival) # version 2.34-1 (2008-03-31) # discrepancy fit1 <- survreg(Surv(time, status) ~ rx + frailty(litter), rats) fit1 fit1$history[[1]]$theta # OK fit2 <- survreg(Surv(time, status) ~ rx + frailty(litter, df = 13), rats) fit2 fit2$history[[1]]$theta # discrepancy fit3 <- survreg(Surv(time, status)~ age + sex + frailty(id), kidney) fit3 fit3$history[[1]]$theta # OK fit4 <- survreg(Surv(time, status)~ age + frailty(...
2009 Apr 27
2
save history only option under Linux
Hi, I have a question regarding the R command options under Linux Is there any options that I can save history only? The only save option is --save, which saves both data and history. I don't want to save temporary data, because sometimes the it takes much time if the temp data is too big. However I want to restore the history for my next R session.. If there is no such option that meets my needs. Is t...
2009 Feb 19
2
Managing SIP hardphones call history
Hi, I've been asked sometimes to tailor call history features embeded in SIP hardphones. For example, a cutomer wanted internal call to be taken out. Another wanted calls to sorted according specific criteria. 1. Have you identified a phone offering the possibility to display as Call History, an XML list produced on a distant web server ? With this...
2008 Oct 17
3
reuse the history
Hi all I want to reuse command in the shell historys Which command I can only select "traceroute 192.168.0.5" to run? $ history |grep traceroute 26 traceroute 192.168.0.5 27 traceroute -n 192.168.0.5 28 traceroute 192.168.0.10 29 traceroute yahoo.com 46 traceroute 192.168.0.33 eg: history |grep traceroute | awk ...