search for: snipet

Displaying 20 results from an estimated 30 matches for "snipet".

Did you mean: snippet
2009 Dec 09
2
[LLVMdev] Unsigned int multiplication using UMUL_LOHI
...integers. In the TargetLowering constructor I have: setOperationAction(ISD::MUL, MVT::i32, Expand); setOperationAction(ISD::SMUL_LOHI, MVT::i32, Legal); setOperationAction(ISD::UMUL_LOHI, MVT::i32, Legal); The problem seems to be with the code in LegalizeOp() in LegalizeDAG.cpp. Here's a snipet of the relevant section. [Snipet] // See if multiply or divide can be lowered using two-result operations. // We just need the low half of the multiply; try both the signed // and unsigned forms. If the target supports both SMUL_LOHI and // UMUL_LOHI, form a preference by checking w...
2004 Dec 05
3
multicast vorbis stream
Hi all, is there a software to multicast vorbis streams? I could not find any, so I tried myself. However, I have timing problems. Can you point me to any documentation or sample code snipets where for example the timing issues of vorbis multicast are addressed? How do I make sure, the stream is not put out faster than the clients can process the data? Synchronization is not an option, since multicast has many recipients. Timing seems to be difficult due to the vbr of the vorbis s...
2006 Nov 10
1
Java API Record - Read
Hi, I'm trying to develop an application that stores snipets of audio recorded from a sound system. The audio comes in through a laptop line-in or mic jack, is to be recorded in Vorbis-Ogg format, and then saved in a repository. The application will be written in Java. Is there a standard Vorbis-Ogg Java API that includes framework for recording and play...
2004 Jan 27
1
Lots of errors
My log files are getting quite big because of all the errors I get in a day. Here is a snipet: Jan 27 10:03:06 localhost smbd[17694]: [2004/01/27 10:03:06, 0] lib/util_sock.c:get_socket_addr(919) Jan 27 10:03:06 localhost smbd[17694]: getpeername failed. Error was Transport endpoint is not connected Jan 27 10:03:06 localhost smbd[17694]: [2004/01/27 10:03:06, 0] lib/util_sock.c:get_...
2007 May 12
4
Multiply and format with thousands separator
...is take two numbers from my database, multiply them together and display them in a list with a comma for the thousands separator. This would be very easy to do in a spreadsheet, so I assumed it would be easy to do in Ruby on Rails but I can''t work out how. I have a list.rhtml with a code snipet like <td><%=h mytable.send(:value1)*mytable.send(:value2) %></td> which does the multiply, but how do I do the formating? I found this link to some Ruby code that might do this, but where would I put it and how would I use it? http://wiki.rubygarden.org/Ruby/page/show/NumericF...
2006 Nov 04
13
Caching application data
Hi, say my application has a small 20 row information table in the database that stores names of airlines: "continental", "delta", united" , etc... These names will be used in various pages of the application for all the website users for different actions. They do not expect to change often. what I do now is - when a user logs in - these airline names are queried
2006 Feb 21
7
accordion (outlook bar thingy) help
Does anybody have a solution that really works nice? I know about: http://wiki.script.aculo.us/scriptaculous/show/accordion%20feature but I was hoping someone had worked out the kinks. I''m really looking for something like: http://openrico.org/rico/demos.page?demo=rico_accordion Thanks for your time. Joe _______________________________________________ Rails-spinoffs mailing list
2006 Feb 24
2
ParkAndAnnounce2 Feature Request
We've had a regular Park function in the past but recently I found the ParkAndAnnounce() application and I love the idea behind it. Here's a snip from the wiki (http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+ParkAndAnnounce) so that we're all talking the same language: || ParkAndAnnounce(announce:template|timeout|dial|return_context) || || Park a call into the
2006 Dec 08
1
Telnet Listing of IMAP mailboxes
...the difference between (\NoInferiors) and (\NoInferiors \Marked) All of my mailboxes showed up when I telnet'd to my IMAP server but I noticed some had that tag and some didn't and I'm just wondering if I should be concerned with the difference? If your not sure what I mean, here is a snipet of the command I ran and a small output: B list "" * * LIST (\NoInferiors) "/" INBOX * LIST (\NoInferiors \Marked) "/" "Junk E-mail" -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://dovecot.org/pipermail/dovecot/atta...
2006 Feb 16
0
url.access-deny
...ests on the same second and that''s not good to my application I was trying to use url.access-deny to deny the access to the unexisting gif files, but for some reason it does not work (meaning that I still see the request in the production.log file) Any suggestion is welcome. Below are some snipets from my lighttpd.conf file server.modules = ( "mod_rewrite", "mod_access","mod_fastcgi", "mod_accesslog" ) $HTTP["url"] =~ "^/javascripts/" { url.access-deny = ( ".gif") } fastcgi.server = ( ".fcgi" =&...
2006 Nov 25
0
"battle for middle earth II" demo fails to install
Hi, i try to install the demo version of "battle for middle earth II" with wine-0.9.26, but without success so far... 'WINEDEBUG=+all wine nzd_bfme2demo_english_final.exe' gives a rather short log (172ko) but probably too large to be sent to the list. A snipet of the very end of the log says : 0009:trace:nls:WideCharToMultiByte cp 0 L"Invalid parameter\n\0000" -> (null), ret = 19 0009:trace:heap:RtlAllocateHeap (0x110000,00000002,00000013): returning 0x1149c0 0009:trace:nls:WideCharToMultiByte cp 0 L"Invalid parameter\n\0000" -&gt...
2003 May 06
1
logging command line execs
...execute comand '%.500s' on command line", s->pw->pw_name, command); do_exec(s, command); xfree(command); } else { -------------------------------------- But as you might recognize, this snipet is from the do_authenticated1() function - which is obviously for ssh protocol 1. I cannot find the ssh protocol 2 counterpart of this code. The do_authenticated2() function simply calls server_loop2(), which does some child care, and I've followed various functions that are called in serv...
2007 Sep 04
0
[LLVMdev] How to put a pass for last?
...-12] .BB1_2: ! bb8 ld [%i6+-12], %l0 subcc %l0, 1000, %l0 bl .BB1_1 ! bb nop .BB1_3: ! bb12 ba .BB1_5 ! bb19 nop or %g0, 1, %l0 Here both the "ba" and the "nop", that are the 3rd and 2nd last operations of this snipet, are not reachable. Could I express myself good enougth? Is it possible to do what I want? Do you know what might be the problem? -- Emilio Wuerges LAPS - Laboratorio de Automacao de Projeto de Sistemas UFSC - Universidade Federal de Santa Catarina Brasil -------------- next part --------------...
2004 Dec 03
2
DIALSTATUS weirdness (CHANUNAVAIL instead of BUSY, NOANSWER instead of CHANUNAVAIL)
Just throwing this out here, hopefully someone can tell me why. *CLI> show version Asterisk CVS-HEAD-11/17/04-10:16:38 built by root@wanderer on a i686 running Linux Zap/g1 is pri_cpe to Bell Canada 5551234 is a normal POTS line I have busied out (handset offhook) exten => 1234,1,Dial(Zap/g1/5551234,,g) exten => 1234,n,NoOp(HANGUPCAUSE is ${HANGUPCAUSE} and DIALSTATUS is
2011 May 19
0
security = user vs security = domain and winbind trust
...the machine to the domain in order to get it in a working condition..) My DC is a samba server with openldap as it's backend. wbinfo -t returns the following checking the trust secret via RPC calls failed error code was NT_STATUS_ACCESS_DENIED (0xc0000022) Could not check secret Below is a snipet of winbind.log initialize_winbindd_cache: clearing cache and re-creating with version number 1 [2011/05/19 08:57:27, 2] winbindd/winbindd_util.c:235(add_trusted_domain) Added domain BUILTIN S-1-5-32 [2011/05/19 08:57:27, 2] winbindd/winbindd_util.c:235(add_trusted_domain) Added domain...
2005 Aug 02
3
priority "a" in macro to access voicemail
I have added the following to a macro that is used for all extensions so a user can access voicemailmain by pressing * during the voicemail prompt ; check voicemail exten => a,1,voicemailmain(${macro_exten}) exten => a,2,hangup The behavior is a little weird, the * key is not recognized during the portion of the greeting where the extension number is being played back, after it is
1999 Jan 12
0
Question on User validation
...to recognize the windows login-name as the user-id and pass along the passwords (note: the clear-text password registry fix has been applied.) How do I make this happen? When I turn up the debug level I get things like this: ================================================ log.smb snipet: 1999/01/11 16:28:16, 3] smbd/reply.c:reply_sesssetup_and_X(675) Domain=[BEACORP] NativeOS=[Windows NT 1381] NativeLanMan=[] [1999/01/11 16:28:16, 3] smbd/reply.c:reply_sesssetup_and_X(679) sesssetupX:name=[CAMARO] [1999/01/11 16:28:16, 3] smbd/reply.c:reply_sesssetup_and_X(797) Registered...
2006 Sep 28
5
Eager loading using find_by_sql
Here''s the problem I have the following models User - is a person Team - is a team Wherenote - snipet of info about a user''s whereabouts on a certain day Team has_and_belongs_to_many :users User has_and_belongs_to_many :teams has_many :wherenotes Wherenote belongs_to :user each Wherenote has a note_date On one page I want to pull back all the Users from a particular Team and then...
2006 Oct 17
4
IVR problem
All, I'm not able to play background files since this morning. I'm seeing this error message in the logs: [Oct 17 10:23:56] WARNING[4572] file.c: File custom/asterisk-prospectus_IVR-main-day does not exist in any format [Oct 17 10:23:56] WARNING[4572] file.c: Unable to open custom/asterisk-prospectus_IVR-main-day (format 0x4 (ulaw)): Permission denied [Oct 17 10:23:56] WARNING[4572]
2008 Jun 05
0
Javascript & Scrolling
...ar position to 2000 will be different to the 2000 position on the page. My javascript skills have much to be desired so if anyone could point me to some tutorials that show the right way to do things it would be appreciated as most of what i have learnt so far has been from what ive picked up from snipets of code. Also PLEASE does anyone have a debugger that will actually tell you what is wrong with the javascript, simply highlighting a line that i can see nothing wrong with is quite useless to me. Here is code is a bit of a mess sorry, Thanks for any help in advance <script type="text/j...