search for: 2b

Displaying 20 results from an estimated 1228 matches for "2b".

2006 Feb 23
2
Working with lists with numerical names
Greetings! I'm have a hard time working with some data I imported from a baseball database. Several of the database columns have numbers in them (2B, 3B), and when I try to use these vectors from the data frame, I get syntax errors, probably because it's interpreting the name as a number: > show(batting2005) playerID yearID stint teamID lgID G AB R H 2B 3B HR RBI SB CS BB 1 robleos01 2005 1 LAN NL 110 364 44...
2018 Apr 03
1
Ineffective code after loop unrolling with -O3, ok with -Os
...my testing of "loop unrolling" capabilities of LLVM's opt. Seems like LLVM generates slower code with -O3 since it wrongly decides to unroll a simple loop. With option -Os, no loop unrolling, the output looks well. Code: https://godbolt.org/#g:!((g:!((g:!((h:codeEditor,i:(j:1,lang:c%2B%2B,source:'%23include+%3Ccstdio%3E%0A%0Aint+f(void)%0A%7B%0A++int+n+%3D+100%3B%0A++while+(--n)+%7B%0A++++++puts(%22a%22)%3B%0A++%7D%0A++return+0%3B%0A%7D%0A%0Aint+main(void)+%7B%0A++++f()%3B%0A++++return+0%3B%0A%7D'),l:'5 ',n:'0',o:'C%2B%2B+source+%231',t:'0'...
2017 Nov 18
2
Is llvm capable of doing loop interchange optimization?
...for (int j = 0; j < N; ++j) a[j][i] += b[j][i]; } link to compiler explorer: https://gcc.godbolt.org/#g:!((g:!((g:!((h:codeEditor,i:(j:1,source:'%23define+N+100%0A%0Avoid+foo(int**+__restrict__+a,+%0A+++++++++int**+__restrict__+b)%0A%7B%0A++++for+(int+i+%3D+0%3B+i+%3C+N%3B+%2B%2Bi)%0A++++++++for+(int+j+%3D+0%3B+j+%3C+N%3B+%2B%2Bj)%0A++++++++++++a%5Bj%5D%5Bi%5D+%2B%3D+b%5Bj%5D%5Bi%5D%3B%0A%7D%0A%0Avoid+bar(int**+__restrict__+a,+%0A+++++++++int**+__restrict__+b)%0A%7B%0A++++for+(int+i+%3D+0%3B+i+%3C+N%3B+%2B%2Bi)%0A++++++++for+(int+j+%3D+0%3B+j+%3C+N%3B+%2B%2Bj)%0A++++++++...
2020 Oct 03
1
Lahman Baseball Data Using R DBI Package
...orm letter-followed-by-any-number-of-letters-or-numbers or if the name is a SQL keyword like 'where' or 'select'. If you are doing this from a function, you may as well quote all the names. -Bill On Fri, Oct 2, 2020 at 6:18 PM Philip <herd_dog at cox.net> wrote: > The \?2B\? worked. Have no idea why. Can you point me somewhere that can > explain this to me. > > Thanks, > Philip > > *From:* Bill Dunlap > *Sent:* Friday, October 2, 2020 3:54 PM > *To:* Philip > *Cc:* r-help > *Subject:* Re: [R] Lahman Baseball Data Using R DBI Package &g...
2004 Oct 06
3
[LLVMdev] Re: Starting with LLVM-GCC on Cygwin
...00 at nondot.org... > On Tue, 5 Oct 2004, Alex Vinokur wrote: > > > I would like to use LLVM-GCC to compare its performance with other compilers. > > Something like testsuite "Computing very large Fibonacci numbers" at > > http://article.gmane.org/gmane.comp.lang.c%2B%2B.perfometer/37. > > Out of curiousity, I ran some quick tests on a AMD Athlon(TM) MP 2100+ box > running Redhat linux 7.1. [snip] > > Note that this benchmark allocates a TON of memory, The main purpose of the "Computing very large Fibonacci numbers" algorithm was to cre...
2011 Dec 01
1
[LLVMdev] [llvm-testresults] bwilson__llvm-gcc_PROD__i386 nightly tester results
...h?pset.0=on&test.SingleSource%2FUnitTests%2F2006-12-11-LoadConstants.compile=on> > 4.73% 0.1225 0.1283 0.0009 > MultiSource/Benchmarks/Prolangs-C++/simul/simul.compile > <http://llvm.org/perf/db_default/simple/nts/380/graph?pset.0=on&test.MultiSource%2FBenchmarks%2FProlangs-C%2B%2B%2Fsimul%2Fsimul.compile=on> > 4.22% 0.0782 0.0815 0.0006 > SingleSource/UnitTests/SignlessTypes/rem.compile > <http://llvm.org/perf/db_default/simple/nts/380/graph?pset.0=on&test.SingleSource%2FUnitTests%2FSignlessTypes%2Frem.compile=on> > 3.26% 0.1259 0.1300 0.0002 >...
2020 Oct 08
0
Lahman Baseball Data Using R DBI Package
Hi Philip, You've probably realized by now that R doesn't like column names that start with a number. If you try to access an R-dataframe column named 2B or 3B with the familiar "$" notation, you'll get an error: > library(DBI) > library(RSQLite) > con2 <- dbConnect(SQLite(), "~/R_Dir/lahmansbaseballdb.sqlite") > Hack12Batting <- dbGetQuery(con2,"SELECT * FROM batting WHERE yearID = 2018 AND AB >600...
2006 Jan 20
2
Asterisk bounty PRI 2B channel transfer for NI2 PRI line
Maintainer: Express Line Date opened: January 17, 2006 Status: Open Value of bounty: $5000.00 Licensing for code: We retain intellectual rights to the underlying source code. We need Asterisk (stable version) to be able to perform a 2B channel transfer for a NI2 B8ZS PRI line. We can't use a channelized T1 at the time for our work. This feature is commonly called a call transfer on analog phone lines. On an analog phone line, the incoming call is answered, a hook-flash is performed to get stutter dialtone, the telephone numbe...
2020 Oct 08
1
Lahman Baseball Data Using R DBI Package
...mes in SQL queries. -Bill On Wed, Oct 7, 2020 at 9:57 PM William Michels <wjm1 at caa.columbia.edu> wrote: > Hi Philip, > > You've probably realized by now that R doesn't like column names that > start with a number. If you try to access an R-dataframe column named > 2B or 3B with the familiar "$" notation, you'll get an error: > > > library(DBI) > > library(RSQLite) > > con2 <- dbConnect(SQLite(), "~/R_Dir/lahmansbaseballdb.sqlite") > > Hack12Batting <- dbGetQuery(con2,"SELECT * FROM batting WHERE year...
2003 Sep 05
1
ISDN Primary Rate Interface (PRI) - 2B Transfer
Does * support ISDN Primary Rate Interface (PRI) - 2B Transfer Capability for T-1/PRI? In other words the ability to take a call and join it to another call and then drop off letting the CO-switch take over. -Kevin Kevin Fjelsted, President AltiCom CTI, Inc. Track Me Down! One number Access, Press 11# during the voice mail message greeting to h...
2020 Oct 02
3
Lahman Baseball Data Using R DBI Package
I?m trying to pull data from one table (batting) in the Lahman Baseball database. Notice X2B for doubles and X3B for triples ? fourth and fifth from the right. The dbGetQuery function runs fine when I leave there two out but I get error messages (in red) when I include 2B/3B or X2B/X3B. Can anyone give me some direction? Thanks, Philip Heinrich ****************************************...
2004 Oct 05
0
[LLVMdev] Starting with LLVM-GCC on Cygwin
On Tue, 5 Oct 2004, Alex Vinokur wrote: > I would like to use LLVM-GCC to compare its performance with other compilers. > Something like testsuite "Computing very large Fibonacci numbers" at > http://article.gmane.org/gmane.comp.lang.c%2B%2B.perfometer/37. Out of curiousity, I ran some quick tests on a AMD Athlon(TM) MP 2100+ box running Redhat linux 7.1. With the LLVM C backend and GCC 3.3 -O3, I got: $ time Output/bigfib.cbe th 50000 > /dev/null 0.800u 0.190s 0:00.99 100.0% 0+0k 0+0io 245pf+0w $ time Output/bigfib.cbe th...
2009 Dec 02
2
Extracting vectors from a matrix (err, I think) in RMySQL
I have a query which returns a data set like so: > salaries yearID POS pct 1 2009 RF 203 2 2009 DH 200 3 2009 1B 198 4 2009 3B 180 5 2009 LF 169 6 2009 SS 156 7 2009 CF 148 8 2009 2B 97 9 2009 C 86 10 2008 DH 234 11 2008 1B 199 12 2008 RF 197 13 2008 3B 191 14 2008 SS 180 15 2008 CF 164 16 2008 LF 156 17 2008 2B 104 18 2008 C 98 I'd like to make a vector for all data for a given position, so for example here I'd like all yearID and p...
2008 Jun 17
4
maximum MDT inode count
For future filesystem compatibility, we are wondering if there are any Lustre MDT filesystems in existence that have 2B or more total inodes? This is fairly unlikely, because it would require an MDT filesystem that is > 8TB in size (which isn''t even supported yet) and/or has been formatted with specific options to increase the total number of inodes. This can be checked with "dumpe2fs -h /dev/{mdt...
2008 Jun 17
4
maximum MDT inode count
For future filesystem compatibility, we are wondering if there are any Lustre MDT filesystems in existence that have 2B or more total inodes? This is fairly unlikely, because it would require an MDT filesystem that is > 8TB in size (which isn''t even supported yet) and/or has been formatted with specific options to increase the total number of inodes. This can be checked with "dumpe2fs -h /dev/{mdt...
2016 Sep 06
3
[Bug 2611] New: Add support for $2b$ prefixed hashes
https://bugzilla.mindrot.org/show_bug.cgi?id=2611 Bug ID: 2611 Summary: Add support for $2b$ prefixed hashes Product: Portable OpenSSH Version: -current Hardware: All OS: All Status: NEW Severity: enhancement Priority: P3 Component: Miscellaneous Assignee: unassigned-bugs at mindrot.org...
2011 Feb 04
1
dataframes from a function
...9;m trying to create a function to return three dataframes for later use in a graphic so I want the return from the function to give me dataframes and with unique names relating to the variable they are based on. For example..... sub<-c("6-1a","6-1a","6-1a","9-2b","9-2b","9-2b","7c","7c","7c") yar<-rep(1991:1993,3) x1n<-c(4,6,3,6,4,7,9,4,2) y1m<-c(3,7,5,8,4,3,6,7,8) prac<-data.frame(sub,yar,x1n,y1m) plot.restrut<-function(org.plot,ex.plot) { new.pl<-org.plot[org.plot$sub %in% ex.plot,...
2007 Jun 13
1
specify constraints in maximum likelihood
Hi,I know only mle function but it seems that in mle one can only specify the bound of the unknowns forming the likelihood function. But I would like to specify something like, a = 2b or a <= 2b where 'a' and 'b' could be my parameters in the likelihood function. Any help would be really appreciated. Thank you!- adschai [[alternative HTML version deleted]]
2011 Dec 30
3
vertically stacked area plot?
Dear all, I would like to create a vertically stacked area chart in R. The data are presented in the attached text file. I would like to see the trend in values for the different groups with sediment depth (that's why I would like to create a vertically stacked chart; normally sed_depth should be = x, but I want it plotted on the y-axis). In the packages available to create stacked area
2004 Oct 05
5
[LLVMdev] Starting with LLVM-GCC on Cygwin
Hi, I would like to use LLVM-GCC to compare its performance with other compilers. Something like testsuite "Computing very large Fibonacci numbers" at http://article.gmane.org/gmane.comp.lang.c%2B%2B.perfometer/37. My environment: ----------------- Windows 2000 Cygwin $ uname -srom CYGWIN_NT-5.0 1.5.11(0.116/4/2) i686 Cygwin ----------------- What do I have to download from http://sourceforge.net/project/showfiles.php?group_id=119938&package_id=130753&release_id=270245: * executab...