search for: sleeper

Displaying 20 results from an estimated 37 matches for "sleeper".

2006 Mar 06
4
rails internals?
Is there a list for discussing Rails internals or is that kind of one of those jealously guarded secret things? Also, I seem to be being a bit of a prat today, but if you read this closely: http://www.rubyonrails.org/images/headlines/community.gif Bit of a grammatical error there. (Sorry!) Giles
2004 Aug 06
4
Problem with ices on OpenBSD 2.9 w/ Icecast 1.3.10
...rsion. Is there any way for me to trace > where it's mistiming things? I guess you could put some printfs in shout_sleep and/or timing_sleep. Could you first double-check that timing_sleep in ices/libshout/timing.c looks like this: void timing_sleep(long sleeptime) { struct timeval sleeper; sleeper.tv_sec = sleeptime / 1000; sleeper.tv_usec = (sleeptime % 1000) * 1000; select (1, NULL, NULL, NULL, &sleeper); } and that you are not using an installed, older version of libshout. ldd ices and check which libshout it is using. Ideally libshout won't sho...
2006 Feb 23
5
sortable_list added to by AJAX question
I have a working sortable_list that is added to by AJAX. The problem is that when a new item is added, it''s not sortable. I found a post on scriptaculous using behaviour.js to refresh the DOM when an item is added, but I can''t figure out how to do it with Rails. To test the behaviour method, I used this: var myrules={ ''div#steps ul'' :
2010 Oct 04
1
Metropolis: Implementation of Interlock Protocol using Linux Shell Programming, OpenSSH, and GPG
...y. Then Bob sends half rest of encrypted message to Alice. *(7)* Alice combines the two parts of Bob's encrypted message and decrypts it with her Private key. Here is the Code (running well in my Slackware Linux). I named this program as Metropolis, consist of two parties, the Miracle and the Sleeper. It's assumed that you have exchange your public key to your partner in secure way: SOURCE CODE METROPOLIS (Also attached) #################################################################### # Implementation of Interlock Protocol in Shell Script # # Writen by Arief Karfian...
2004 Aug 06
0
Problem with ices on OpenBSD 2.9 w/ Icecast 1.3.10
...> where it's mistiming things? > > I guess you could put some printfs in shout_sleep and/or timing_sleep. > Could you first double-check that timing_sleep in > ices/libshout/timing.c looks like this: > > void timing_sleep(long sleeptime) > { > struct timeval sleeper; > > sleeper.tv_sec = sleeptime / 1000; > sleeper.tv_usec = (sleeptime % 1000) * 1000; > > select (1, NULL, NULL, NULL, &sleeper); > } > > and that you are not using an installed, older version of > libshout. ldd ices and check which libshou...
2005 Nov 14
1
Yeah !!!
Wow !! Seems like RedCloth is now able to output DocBook !!!! Great I have to Say !!! -- Frederick Ros aka Sleeper -- sleeper at jabber.fr Make sure special cases are truly special. - The Elements of Programming Style (Kernighan & Plaugher) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not...
2012 Aug 18
0
mccollect does not return named, ordered results when wait=FALSE
...s the specified jobs. If there are multiple jobs and a job has a name it will be used to name the result, otherwise its process ID will be used. If none of the specified children are still running, it returns 'NULL'. which does not seem to be true when wait=FALSE > sleeper = function(i) mcparallel({ Sys.sleep(i); i }, i) > p = lapply(1:2, sleeper); Sys.sleep(2); mccollect(p, wait=FALSE) [[1]] [1] 2 [[2]] [1] 1 > p = lapply(1:2, sleeper); Sys.sleep(2); mccollect(p, wait=TRUE) $`1` [1] 1 $`2` [1] 2 It would be programmatically convenient if mccollect return...
2004 Aug 06
2
Problem with ices on OpenBSD 2.9 w/ Icecast 1.3.10
On Tuesday, 10 July 2001 at 03:21, Nick Ludlam wrote: > From: "Brendan Cully" <brendan@icecast.org> > > That handles the segfault, I don't know why the stream wouldn't be > > sent fast enough though... > > Tried with winamp, sonique and freeamp. All exhibit the same problem of > stuttering play, and eventually this drops out of the icecast log: >
2015 Feb 26
2
virtio balloon: do not call blocking ops when !TASK_RUNNING
...ail. > > Cornelia, I think ccw and config_area should be allocated inside vcdev. > You could either use pointers, or simply allocate vcdev with GDP_DMA. > > This would avoid the kmalloc inside these calls. > > Thanks, > Rusty. But it won't solve the problem of nested sleepers with ccw: ATM is invokes ccw_io_helper to execute commands, and that one calls wait_event to wait for an interrupt. Might be fixable but I think my patch looks like a safer solution for 4.0/3.19, no? -- MST
2015 Feb 26
2
virtio balloon: do not call blocking ops when !TASK_RUNNING
...ail. > > Cornelia, I think ccw and config_area should be allocated inside vcdev. > You could either use pointers, or simply allocate vcdev with GDP_DMA. > > This would avoid the kmalloc inside these calls. > > Thanks, > Rusty. But it won't solve the problem of nested sleepers with ccw: ATM is invokes ccw_io_helper to execute commands, and that one calls wait_event to wait for an interrupt. Might be fixable but I think my patch looks like a safer solution for 4.0/3.19, no? -- MST
2006 Feb 25
0
Dumper, mySQL adapter and TIMESTAMP ... something strange ?
...ime => { :name => "datetime", :limit => :none }, Once again I''m not a mySQL pro, but I think it makes sense... however I''ve no idea of the impact on the other adapters... to my (semi-open) eyes they seems reduce, but .... Best Regards, -- Frederick Ros aka Sleeper -- sleeper@jabber.fr Each module should do one thing well. - The Elements of Programming Style (Kernighan & Plaugher) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: not availabl...
2006 Apr 14
0
Tickets #4343, 4725 and 4744
..._editor_field: if the method ''content'' of your model return nil, you perhaps will prefer to display ''no content'' in the span, and be able to edit it, than nothing and nowhere to click for editing. Best Regards, -- Frederick Ros aka Sleeper -- sleeper@jabber.fr Use uniform input formats. - The Elements of Programming Style (Kernighan & Plaugher) _______________________________________________ Rails-core mailing list Rails-core@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-core
2006 Apr 01
1
getwinegit.sh 0.32 released!
One more Version! It's time to test this script until it is one of the last versions. I don't want to spend more time into this so I desided to soonly quit this project. Here the Changes since 0.31: 0.32 No Changes to Functitonality, but cool stuff :) - Better Trap-handling - Nicer Sleeper-function (I love it) - No output to the shell but only the ones by getwinegit.sh blackbox? no, everything's in the logfile - Some Fixes we all don't want to miss but I don't remeber ;)... again This release should be stable, but I want it to be tested. Tell me, if it is useful to...
2006 Mar 29
1
getwinegit.sh 0.31 released!
...test it. So what has changed: 0.31 One more Release, I'm glad about this one - Some smaller an greater Fixes - After Compiling, the Script creates a helperfile to help mode 4 - Sections in Logfile - Trap included to handle ctrl+c - Implemented a small sleeper to give you a chance to stop the script before it starts to clean the source This is one of the last versions. The last version will be called 1.0. (maybe the next one?) If you miss a feature... write to the mailinglist. -------------- next part -------------- A non-text attachment was scrubbed.....
2006 Apr 29
1
Textile to LaTeX
Hello, Is there a patch laying around somewhere to convert Textile to LaTeX? (Instiki did/does this?) Or, better yet, is RedCloth 3.1 still in the pipeline? In ruby-talk 129874 (7 Feb 2005), why the lucky stiff wrote: > > Let me give you a roadmap of what to expect with RedCloth 3 > in the coming months. > > RedCloth 3.1 will focus on getting us diverse outputs.
2004 Aug 06
1
Ices 0.3 won't play mp3 file
OK...messing with 'gdb' (of which I am completely new to) <p>Here's is the complete output from what I've done with 'gdb' ---------------------------------------------------------------- # gdb ices GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it
2006 Feb 20
4
Obtaining the ID of a newly saved model object
Hi, I''m struggling with this and I''m not sure if it is obvious or dumb (or both). I have a basic create method like so: def creatematerial @material = Material.new(params[:material]) if @material.save flash[:notice] = "Material successfully created." end Ok so far, but now I want to retrieve that object that was just saved so that it can be used in the
2005 Nov 21
3
New code: proposed release?
So I just wanted to review what most of my new code does for those who are not familiar with it yet. ====== The biggest feature of my work is the docbook export. This means that any valid textile markup can be exported to the docbook standard. I added a new chapter tag to go along with the export. ch. 1. Here is the title In HTML, this will produce: <h1>1. Here is the
2015 Feb 26
1
virtio balloon: do not call blocking ops when !TASK_RUNNING
...vcdev. > > > You could either use pointers, or simply allocate vcdev with GDP_DMA. > > > > > > This would avoid the kmalloc inside these calls. > > > > > > Thanks, > > > Rusty. > > > > But it won't solve the problem of nested sleepers > > with ccw: ATM is invokes ccw_io_helper to execute > > commands, and that one calls wait_event > > to wait for an interrupt. > > > > Might be fixable but I think my patch looks like a safer > > solution for 4.0/3.19, no? > > I've no idea what your...
2015 Feb 26
1
virtio balloon: do not call blocking ops when !TASK_RUNNING
...vcdev. > > > You could either use pointers, or simply allocate vcdev with GDP_DMA. > > > > > > This would avoid the kmalloc inside these calls. > > > > > > Thanks, > > > Rusty. > > > > But it won't solve the problem of nested sleepers > > with ccw: ATM is invokes ccw_io_helper to execute > > commands, and that one calls wait_event > > to wait for an interrupt. > > > > Might be fixable but I think my patch looks like a safer > > solution for 4.0/3.19, no? > > I've no idea what your...