Questions tagged [indexed]

151 questions
0
votes
3 answers

How to turn an array of values into another indexed array?

this is a follow up to another question which I was instructed to split up. I have different set of columns and their values some which have values, some which don't. For example: $vCountries ['country1'] = "Value of country1"; $vCountries…
HGB
  • 2,157
  • 8
  • 43
  • 74
0
votes
1 answer

Will get the pages indexed via analytics API?

I am using analytics API https://www.googleapis.com/analytics/v2.4/data to get the below mentioned metrics, $metrics =…
Nuju
  • 322
  • 6
  • 17
0
votes
1 answer

SymPy: Derivatives of KroneckerDelta and indices

Please refer to the following MWE: import sympy as s x = s.IndexedBase('x') y = s.IndexedBase('y') i,j,k = map(s.Idx,['i','j','k']) a = s.exp(x[i]*y[j]*s.KroneckerDelta(i,j)) b = a.diff(x[j]) The value of b is LaTeX rendering of b. Since I am not…
user6764549
0
votes
1 answer

Problem with creating Indexed View AND Group BY in SQL Server 2008 R2

I want to create indexed view with such t-sql: Select Table1_ID, cast(CONVERT(varchar(8), t2.Object_CreationDate, 112)AS DateTime) as Object_CreationDate , Count_BIG(*) as ObjectTotalCount from [dbo].Table2 t2 inner join…
arena-ru
  • 990
  • 2
  • 12
  • 25
0
votes
3 answers

Difference between Indexed based, Random access and sequential access?

According to me: Indexed Based: Which can be accessed by passing index. Now internally it is doing random or sequential iteration doesnt matter. Random Access: You can access a position in on go randomly. Sequential Access: The desired position is…
Ankur
  • 59
  • 2
  • 8
0
votes
1 answer

Why is using a macro in my code produces errors?

I wrote a macro that sums the number of odd indexed bits which are turned on. A few examples: In the variable that contains the following bits: 10010101 Only the bit at index 7 is turned on, there is only 1 odd indexed bit that is turned on,so the…
Tree
  • 145
  • 1
  • 13
0
votes
1 answer

Out of 237 Submitted pages only 7 indexed on webmaster tool

I have submitted a sitemap some time ago on Google web master tool. but the strange thing there are only 7 web pages indexed. I thought the issue had to do with content duplication and no-follow links on pages in my sitemap xml. But there's no…
Mthe beseti
  • 599
  • 1
  • 10
  • 29
0
votes
1 answer

Struts isn't using my getter methd

I'm using WebSphere 5.1.2 and think it's Struts 1, but I'm not sure. My problem is the following. I have in my form a Dynamic List of a bean BeanName, with inputs type text. My form is something like this (can't copy&paste because it's on a Virtual…
0
votes
1 answer

indexed_search shows content from different languages

I have indexed_search 7.6.0 installed and have the problem, that it shows content from different languages. In this answer: https://stackoverflow.com/a/8713301/2481955 Is a solution for this (look at To solve 2.:), but it seems this does not work…
nbar
  • 6,028
  • 2
  • 24
  • 65
0
votes
0 answers

Strange colors while displaying bitmap with PixelFormat.Format8bppIndexed

I would like to ask for help. I want to create an image from array and show it in PictureBox. But image, that was supposed to be in gray scale, is displayed in strange colors. In the past, I have had such a problem, but the methods used until now…
PAPP
  • 57
  • 10
0
votes
1 answer

UITableView navigationController Section Index align after Navigation Header

In a Section Indexed UITableView how do you make the title of the section chosen (by pressing the Section Index) align _not_ at the very top of the screen (under the navigation controller) but rather flush after the Navigation Bar Header at the…
0
votes
1 answer

When loading multiple indexed VAOs, their geometry seems to merge

I've written a very basic .obj file loader (just loads the vertex coords and triangular face indices) and renderer. When I only load one model at a time, it works great. When I load a 2nd model (or more), each one draws itself and part of the…
Daniel
  • 71
  • 4
0
votes
1 answer

Drupal site - adding canonical rel in htaccess for https to http

Recently, I have signup for Cloudflare. My website is get new https option. After a few days Google is indexed my pages with https and http and now I have duplicate content. I don't need https for my website so I have switched off this option on…
0
votes
3 answers

In python, how do I make a collection that is sorted by one value, and indexable by another

I need to have a collection, in which I insert items such as [1,'b42b00d6-76c8-4d68-b22e-ff4653bb01c8']. It needs to be ordered by the first element, but indexable by the second. The following is the best I could come up with. It has two flaws: It…
abtree
  • 325
  • 4
  • 10
0
votes
3 answers

Fastest way to call a javascript function (or method) via a lookup table of function names?

I am simulating an 8-bit microprocessor with JavaScript. I have stored each opcode function name in an array, and call each of the 256 functions relative to the opcode read from my virtual memory, as follows: this.OP[opcode] =…