Questions tagged [indexed]

151 questions
0
votes
2 answers

Storing original indices in Sympy indexed objects

I want to be able to take an Indexed object, substitute values for its indices but still remember its original indices. from sympy.tensor import IndexedBase, Idx C = IndexedBase("C") i,j = Idx("i"), Idx("j") expr = C[i,j] expr = expr.subs({i:1,…
mohamedmoussa
  • 547
  • 4
  • 13
0
votes
2 answers

Is there a way to know when the index on uitableview is actually used?

Is there a way to know when the index on uitableview is actually used? I can’t find any methods in the Apple documentation, but I was wondering if anyone else knows anything. I would basically like to make an animation in my table view that changes…
0
votes
1 answer

Assembly language program (sum the differences of a number in an array)

I have been tasked, with a homework assignment (I'm not going to sugar-coat it), writing a 32-bit assembly program that uses a loop and indexed addressing to calculate the sum of the gaps between successive array elements, which are in…
MatthewS
  • 455
  • 2
  • 7
  • 22
0
votes
2 answers

BufferGeometry always creates FlatShading normals. I need SmoothShading

I use ThreeJS r68. I always used THREE.Geometry for my project and it just works fine. Now I want to change from THREE.Geometry to THREE.BufferGeometry because I read that this is the better choice. But I couldn't get SmoothShading to work with my…
Benedikt
  • 767
  • 6
  • 13
0
votes
1 answer

How get an object from core data by indexed attribute?

I have one entity, called user, in core data. This entity have 3 attributes (username, token, date) In the entity, the attribute "username" have check indexed. I Know how get an array of elements using a Fetch, but I would like how get the object…
JUANM4
  • 344
  • 2
  • 5
0
votes
2 answers

How to check if a url is indexed by google using Google Custom search API and Python?

i need to check if some URLs are indexed by google using a python script and google custom search. I'd like to obtain in the script the same results i obtain when from my browser i google for site:www.example.it. My code is: import urllib2 import…
0
votes
1 answer

LWJGL Indexed VBO, a lot of confusion

I cannot figure out how to use an Indexed VBO, IMHO there's a lack of information about it (for example the lwjgl site in which the indexed vbo page is missing ATM). The structure i'm using in my vertex buffer is {pos.x, pos.y pos.z}, {tex.u, tex.v…
Mk3Y
  • 35
  • 5
0
votes
2 answers

Is IN Query used index in MySql or not?

I have a query like SELECT * FROM Table_name WHERE column1 = '1' AND column2 IN ('1','2','3'); And index exists on (column1, column2, column3). Is my above query used index I have created or not? Basically I am confused with the IN keyword,…
krishna Prasad
  • 3,541
  • 1
  • 34
  • 44
0
votes
1 answer

Using indexed types for ElasticSearch in Titan

I currently have a VM running Titan over a local Cassandra backend and would like the ability to use ElasticSearch to index strings using CONTAINS matches and regular expressions. Here's what I have so far: After titan.sh is run, a Groovy script is…
adaml288
  • 61
  • 1
  • 6
0
votes
1 answer

Indexed View Schemabinding

I want to create indexed view, any help would be appreciated. I have this: ALTER VIEW vwCF WITH SCHEMABINDING as …
0
votes
1 answer

Indexed View looking for null references without INNER JOIN or Subquery

So I have a legacy database with table structure like this (simplified) Create Table Transaction { TransactionId INT NOT NULL IDENTITY(1,1) PRIMARY KEY, ReplacesTransactionId INT .. .. } So I want to create an indexed view such that…
0
votes
1 answer

Google not indexed url

Hello i have personal site and about 1 month ago i rebuild the complete site. I sent a new sitemap.xml file and is not indexed yet, but im having 404 crawler errors with the old url. Google said the sitemap is correct,so, any idea, i must do…
0
votes
1 answer

ASM: Decrement content of specific address

I need to decrement some bytes on/from the stack at a given address (indexed from esi). pop esi ; Now changing would not be a problem, I simply can do mov [esi+13], al ; to store the content from al in esi+13. But how can I decrement what is in…
CFP
  • 359
  • 8
  • 17
0
votes
1 answer

PHP / Mysql -> Best way to make a indexed/categorized list

What i need to do is something like that: Database: name | category ---------|----------- alan | foo adam | foo daniel | bar mike | foobar michael | foobar To list like that: FOO: - Adam - Alan BAR: - Daniel FOOBAR: -…
RBR
  • 159
  • 1
  • 11
0
votes
2 answers

Perl Tie::IxHash - update values using a value list

I have a Tie::IxHash object that has been initialized as follows: my $ixh = Tie::IxHash->new('a' => undef, 'b' => undef, 'c' => undef); and later on I want to assign a list of values qw/1 2 3/ to those three keys. I can't seem to find a way to do…
Chap
  • 3,649
  • 2
  • 46
  • 84