similar to: Can anyone explain this code? It uses Inject

Displaying 20 results from an estimated 2000 matches similar to: "Can anyone explain this code? It uses Inject"

2006 Aug 10
5
Ampersand Heartburn
Greetings all. I''m using the Microsoft "NorthWind Traders" database "orders" table as test data for the Rico LiveGrid JavaScript. The problem I''m noticing is that some of the records in the "ShipName" field contain ampersands -- which for some reason are not being escaped by Rails. Rails does in fact automatically escape all of the other
2006 Aug 09
4
Do i need multiple mongrel instances for good performance?
I have developed a rails application for my company. It will be used by upto 3o people at a time. I have just read that Mongrel will only process 1 request at a time (rails is only in 1 controller at a time). Does this mean that to get good performance i need to run mongrel many times on different ports? How many different instances of mongrel is recommended? If this is true then it
2006 Jul 20
4
SVN rails problem
My rails project is at version 52. I want to revert the whole app to version 50, effectively ignoring v 51+52 I ran "svn update -r 50" in my working copy. Success. I have done some work on version 50, but when i try commiting it tells me that the file im commiting is out of date. DOes anyone know the solution? Thanks Chris -- Posted via http://www.ruby-forum.com/.
2010 Feb 22
3
Rails 2.3.5/Ruby1.8.7 Collection_Select Labels with ampersands "&"
I am having an annoying problem displaying the labels of a select box correctly where there is an ampersand contained within the label string. On a form being rendered with the form_for helper the collection_select reads data from a Mysql 5.075 database the text stored in the database is "Surabaya & Surrounding Areas" when rendered and displayed in firefox 3.6 or safari is is
2006 Jul 18
16
Session is being shared between tabs!!??
I have just spotted quite a serious problem with my rails app. My app uses the session to store information. Most people who use the app may have more than one instance of it open in their browser (multiple tabs). The session stores which country the user has selected. On each browser tab the user may select a different country. You can add items to a country. There are problems with
2018 Jan 08
2
Proposal: On re-purposing/reorganizing MIR sigils ('&', '$', '%').
When we discussed this our line of thought was like this: - LLVM IR already uses %name for SSA values which is closer to what a vreg is than to what a physreg is. It would be neat to draw that parallel to llvm IR. - We wanted another sigil for physregs so they are easy to differentiate from vregs to allow people to differentiate vregs/physregs even if they don't know all the physreg names of
2011 Mar 12
2
two bugs in rsync 3.0.6 - ampersands in filenames, double quoting required
1) deleting path/to/(Something) Word Word Anotherword--Word Word.pdf IO error encountered -- skipping file deletion I think either the -- is causing it to fail, or more likely, the next filename, which it didn't bother to print out, which has an ampersand in the name, causes it to fail. I am using SSH as a substrate, of course, and I think you guys failed to escape things, so the ampersand
2006 Apr 11
26
Firefox won''t let me send ''&'' with AJAX!
Hi everyone, I''ve encountered a HUGE problem, which may not be RoR-oriented, but there might be a workaround somehow. See, at this moment, I''m unable to send AJAX requests back and forth when the information contains an ampersand (''&''). In essence, request is never completed. The odd thing is that it only happens with Firefox (IE and Opera works fine).
2017 Dec 25
2
Proposal: On re-purposing/reorganizing MIR sigils ('&', '$', '%').
Hi A few of us have discussed enhancing the MIR vregs to include support for named-vregs. At the moment named regs are only supported for physical registers and number regs are reserved for vregs. We've decided that to properly implement a syntax for MIR named vregs we first need to reorganized the sigils used for physical registers and external symbols so our proposal is to swap the sigil
2018 Jan 08
0
Proposal: On re-purposing/reorganizing MIR sigils ('&', '$', '%').
On Mon, Jan 8, 2018 at 2:27 PM, Matthias Braun <mbraun at apple.com> wrote: > When we discussed this our line of thought was like this: > > - LLVM IR already uses %name for SSA values which is closer to what a vreg > is than to what a physreg is. It would be neat to draw that parallel to > llvm IR. > - We wanted another sigil for physregs so they are easy to differentiate
2017 Dec 26
0
Proposal: On re-purposing/reorganizing MIR sigils ('&', '$', '%').
Can we use %% for vregs? Seems slightly easier to remember %/%% than $/%. Also, %eax and $some_symbol are already familiar from typical assembly syntax and we probably don't want to break that association. It's all a bikeshed, but being more consistent with assembly is probably a win. -- Sean Silva On Dec 25, 2017 11:31 AM, "Puyan Lotfi via llvm-dev" < llvm-dev at
2005 Jun 01
1
Multithread via Perl
I am executing a command in a perl script using system($command) to get a file from a server. The command is "smbclient [various options and login info] 'get <remote file> <local file>' I run this perl script 4 times, one after another, with an ampersand (to run in background) within a shell script. There seem to be problems. I get the file, then zip it up afterwards. The
2006 Jan 05
1
How do I get sub to insert a single backslash?
Something about the way R processes backslashes is defeating me. Perhaps this is because I have only just started using R for text processing. I would like to change occurrences of the ampersand & into ampersand preceded by a backslash. > temp <- "R & D" > sub("&", "\&", temp) [1] "R & D" > sub("&",
2002 Sep 20
3
"@" doesn't work in the NT domain name
I am part of a large worldwide Active Directory and all of our individual site NT domain names have an ampersand symbol in them (for example: VWS@ROCHESTER) Samba 2.2.6pre2 and older won't join this domain name, or allow connections to it from users in this domain. The logs state that the domain name is "VWS_ROCHESTER", the code is squashing the @ to an _ causing all
2007 Jan 03
1
Ampersand in Folder names causing folders to disappear?
Hi All, Dovecot 1.0.rc7 Not sure if this is a problem with Outlook, or with Dovecot, or to do with encoding in Linux. Whenever a user enters an ampersand into an IMAP folder name, it dissapears from outlook. These folders appear on the ext3 filesystem as &- for example drwx------ 5 mailusers mailusers 4096 2006-10-10 17:54 .INBOX.Networks.London Networks.NDCs.WH&-P joint working
2016 Oct 10
5
Naming conventions with samba4 & AD with computer with "_"
Hi, I'm evaluating to migrate samba 3 domain to samba 4 with AD, but our environment contains dns names with "_", and in samba wiki appears https://support.microsoft.com/en-us/kb/909264 that you can't use dns names with "_" Disallowed charactersDNS host names cannot contain the following characters: - comma (,) - tilde (~) - colon (:) - exclamation point
2009 Nov 23
2
GotoIfTime problem - possible bug
Hi, I'm currently doing some testing against asterisk 1.6.1.7-rc2 (keep meaning to upgrade) and am having a problem with the GotoIfTime dial plan function. The asterisk book says that day of week field can include the ampersand (&) to combine multiple days / day ranges but this gives me an error. For example mon&wed gives the error (in the asterisk console): [Nov 23 18:04:27]
2008 Apr 01
3
HTML entities in URLs and urlencoding
We recently received the following bug report for the python-markdown implementation: > The "&" are escaped in URLs. > > An example: > [Link](http://www.site.com/?param1=value1&param2=value1) > > Should output: > <a href="http://www.site.com/?param1=value1&param2=value1">Link</a> > > Currently outputs: > <a
2007 Apr 10
3
&500 and above ignored
Hello, I have a data crunching program which causes me a problem. Some of the data are identified with an & sign followed by a integer. No problem is experienced when analysing data below &500, but value above are ignored. Is there some limitation in R on this topic? Many thanks for your help. Best regards. Constant Depi?reux Managing Director Applied Quality Technologies
2010 Jun 28
5
xls file locked for editing by unknown user
I'm not sure that this is the right place to ask about this, but one of my users is having a problem with her files,specifically excel files which she is editing with openoffice. I suspect that she is closing down her PC without logging out or something and so appears to be still logged in. She is using Vista and the server is a Debian Lenny box. Whenever she tries to access the files on