similar to: Accessing List within a List in a for Loop

Displaying 20 results from an estimated 3000 matches similar to: "Accessing List within a List in a for Loop"

2007 Mar 11
2
DST changes for the US
After palying around to set this correctly (or so I think, please correct me if I got something wrong) I decided to share it with everyone. For Polycom phones in sip.cfg change the following line from: <SNTP tcpIpApp.sntp.resyncPeriod="86400" tcpIpApp.sntp.address="" tcpIpApp.sntp.gmtOffset="" tcpIpApp.sntp.daylightSavings.enable="1"
2012 Sep 04
0
[LLVMdev] [NVPTX] Backend cannot handle array-of-arrays constant
NVCC successfully handles the same IR, if we try to process the same .cu file with clang+nvptx and nvcc: CLANG/NVPTX: ============= $ cat dayofweek.cu __attribute__((device)) char yweek[7][4] = { "MON", "TUE", "WED", "THU", "FRI", "SAT", "SUN" }; $ clang -cc1 -emit-llvm -fcuda-is-device dayofweek.cu -o dayofweek.ll $ cat
2012 Sep 04
2
[LLVMdev] [NVPTX] Backend cannot handle array-of-arrays constant
I think our test case demonstrates that requiring the array item being initialized to be constant is incorrect. NVPTX does not crash anymore and produces correct result with the following change: --- NVPTXAsmPrinter.cpp 2012-09-03 15:14:00.000000000 +0200 +++ NVPTXAsmPrinter.cpp 2012-09-04 15:47:17.859398193 +0200 @@ -1890,17 +1890,15 @@ case Type::ArrayTyID: case Type::VectorTyID: case
2012 Sep 06
0
[LLVMdev] [NVPTX] Backend cannot handle array-of-arrays constant
On 09/04/2012 09:57 AM, Dmitry N. Mikushin wrote: > I think our test case demonstrates that requiring the array item being > initialized to be constant is incorrect. NVPTX does not crash anymore > and produces correct result with the following change: > > --- NVPTXAsmPrinter.cpp 2012-09-03 15:14:00.000000000 +0200 > +++ NVPTXAsmPrinter.cpp 2012-09-04 15:47:17.859398193 +0200 >
2008 Nov 18
2
Fwd: Polycom phone time behind one hour.
Tried to submit this email this morning and didn't see it in the list. I apologize if it is a dupe. I've inherited a customized Asterisk installation. After the past time change all clocks in my office are behind by one hour. After some digging it appears we have: A /tftproot/sip.conf that is being pushed out to our phones. I found the following line that seems to be what controls
2003 Dec 16
1
Memory issues in "aggregate" (PR#5829)
Full_Name: Ed Borasky Version: 1.8.1 OS: Windows XP Professional Submission from: (NULL) (208.252.96.195) R 1.8.1 seems to be running into a memory allocation problem in the "aggregate" function. I have a rather large dataset (14 columns by 223,000 rows -- almost 40 megabytes) and a script that performs some processing on it. The system is a 768 MB Pentium 4. Here's the console
2008 Jun 23
1
Find_by_sql Doesn't Return Attributes?
My find_by_sql is not returning attributes of the calling model class. Thermo.find_by_sql("SELECT COUNT(*) FROM thermo WHERE thermo_loc = ''back'' GROUP BY DAYOFWEEK(time_on) ASC") # ==> [#<Thermo >, #<Thermo >, #<Thermo >, #<Thermo >, #<Thermo >, #<Thermo >, #<Thermo >] The sql is fine and when I checked it in a mysql
2006 Jun 15
3
Can I call MySql statements directly??
Hi All. I have a mysql statement that I would really really like to call from my Ruby program which goes like this: SELECT a, b, DAYOFWEEK(date_time) as DOW, HOUR(date_time) at hr, AVG(x/y) FROM records; This is possible by creating a 3-dimentional array of a, b, date_time containing x/y, and then finding averages and putting it into a 4-dimensional array of a, b, dow,
2012 Sep 03
2
[LLVMdev] [NVPTX] Backend cannot handle array-of-arrays constant
Dear all, Looks like the NVPTX backend cannot handle array-of-arrays contant (please see the reporocase below). Is it supposed to work? Any ideas how to get it working? Important for our target applications. Thanks, - Dima. $ cat test.ll ; ModuleID = '__kernelgen_main_module' target datalayout =
2007 Nov 08
2
time on polycom 501
I have a polycom 501 phone that is 1 hour off now. Before last sunday (time change) the time was fine. <?xml version="1.0" standalone="yes"?> <PHONE_CONFIG> <OVERRIDES _.0x20._log.level.change.sip="0" tcpIpApp.sntp.daylightSavings.stop.date="4" tcpIpApp.sntp.daylightSavings.stop.month="11"
2007 Nov 01
5
DST
My Polycom phones are displaying time, off by one hour. Seems they are on the old DST rules. How do I fix this? joe a.
2007 Apr 09
1
help with ActiveRecord joins
I''m working on a fairly complex join query and could use a bit of advice from more expert users of ActiveRecord. I have an events table with quite a lot of data, with has_many relations to categories, age_groups, and event_images. In my first naive implementation, each event had a date, so to load all upcoming events efficiently, I''d do: Event.find(:all,
2006 Apr 27
7
Polycom NTP issue
I am ready to pull my hair out. I cannot seem to get the Polycoms to read the time properly. Regardless of the server they are pointed to our the offset, i am getting the correct time, but 24 hours ahead. So for today it is showing Friday April 28 but with the correct time. Any clues? Kerry Garrison Director of Technical Services Tech Data Pros - Orange County's Mobile IT Service Provider
2005 Aug 02
9
Polycom phones w/ two lines on different servers
Hi all - This isn't really directly Asterisk related, but has anyone successfully set up a Polycom phone to register two lines on two different Asterisk boxes? I can get the first line to register, but the second one does not. I can still place calls from that second line, which indicates to me the server, user, and secret are correct. I'm running the newest 2.6 series firmware with the
2007 Mar 05
4
Polycom Questions
Any Polycom gurus out there? If so, I have a few config file questions. First off, does anyone have the daylight savings time rules written for this Sunday's big change? Secondly, if there any way in the config file to tell the phone not to display the number of missed calls? I don't mind it keeping the missed calls list, I just don't want that running count. Lastly, I am trying
2004 Aug 06
0
a new directory service
Hello. About your idea, I think that it is important for a radio to "check" multiple styles. I'm planning to cast a couple or 3 of stations that are _not_ monographic and will be "sports" from x to y hours, "pop" from y to z hours, "talk" from z to p hours and so on. That is because people that are listening the same genre for hours want to change. Why
2006 Mar 07
2
(newbie) Accessing the pieces of a 'by' object
Folks, I know that I can do the following using a loop. That's been a lot easier for me to write and understand. But I am trying to force myself to use more vectorized / matrixed code so that eventually I will become a better R programmer. I have a dataframe that has some values by Year, Quarter and Ranking. The variable of interest is the return (F3MRet), to be weighted averaged within the
2011 Mar 24
2
running a script repeatedly
Dear Debian People: Is there a way to run a little script (on Ubuntu Manic Meerkat) every hour, please? I know that this is more of a LINUX/UNIX question rather than an R question. Sorry. Thanks, Erin Erin M. Hodgess, PhD Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: hodgesse@uhd.edu [[alternative HTML version deleted]]
2011 Mar 10
2
within group sequential subtraction
Hi Everyone, I would like to do sequential subtractions within a group so that I know the time between separate observations for a group of individuals. My data: data <- structure(list(group = c("IND1", "IND1", "IND2", "IND2", "IND2", "IND3", "IND4", "IND5", "IND6", "IND6"), date_obs =
2002 Feb 09
1
How to access objects outside an R function
Dear R-Users, I have a dataframe (''forexdata'') of daily returns from the foreign exchange market for three currencies - British Pound (bp), Canadian Dollar(cd), Deustche Mark (dm) vis-a-vis the US Dollar and the Date Of Trade(yymmdd). For some dates the returns are missing (recorded as zero) as there were no trades in that currency for that date. My task is to substitute the