Questions tagged [indexed]
151 questions
42
votes
3 answers
IntelliJ IDEA: "Indexed Maven Repositories" list - how to add remote maven repository in this list?
I'm having trouble understanding how to get repositories in the "Indexed Maven Repositories" list of the IntelliJ IDEA.
In one my project I have two repos in this list: one local and one (main) remote (see attached screenshot below). And in other…

dnim
- 2,470
- 4
- 20
- 19
42
votes
1 answer
When should I use indexed arrays of OpenGL vertices?
I'm trying to get a clear idea of when I should be using indexed arrays of OpenGL vertices, drawn with gl[Multi]DrawElements and the like, versus when I should simply use contiguous arrays of vertices, drawn with gl[Multi]DrawArrays.
(Update: The…

Jonathan Hartley
- 15,462
- 9
- 79
- 80
22
votes
5 answers
What to replace left join in a view so i can have an indexed view?
I have normalized tables in a database and to denormalize it, I created a view out of two tables. When I tried to create a clustered index on the view, it wouldn't let me, as the view was created with a left outer join. I used a left join because I…

Noble_Bright_Life
- 569
- 3
- 9
- 16
18
votes
5 answers
Alpha transparency in indexed-png images
Here is an image:
This image is a simple black-to-transparent gradient saved in full RGBA PNG.
Here is the same image, converted to indexed-alpha PNG by GIMP (Photoshop produces the same result)
As you can see, the gradient is now half-opaque,…

Niet the Dark Absol
- 320,036
- 81
- 464
- 592
9
votes
2 answers
Is Swift dictionary of indexed for performance? Even for exotic types (UUID)?
I want to construct some arrays that will remain in order to get fast searches.
If I use something like this:
let dictionary: [Int:Int] = [:]
for i in 0 ..< 10000000 {
dictionary[i] = 0
}
Would the query:
dictionary[n] == nil
be performed in…

Nisba
- 3,210
- 2
- 27
- 46
8
votes
4 answers
Grails indexed parameters
I have a list of Team objects that have an Integer seed property. I want to edit all the teams' seeds at once, in a single form. I'm sure that Grails supports indexed parameters, but I can't get it to work.
Here is what I have, and it works but I'm…

foxdonut
- 7,779
- 7
- 34
- 33
7
votes
2 answers
tableView:willDisplayHeaderView:inSection: not called when running for iOS 6.1
I did not find an equivalent question on stackoverflow, so I'll post my own question on that problem (please tell me if something is not understandable):
Problem:
I use a common indexed tableView with section headers from A-Z (like in the…

anneblue
- 706
- 4
- 21
6
votes
2 answers
ImageMagick preserve custom palette when joining 2 PNGs
I need to join 2 PNG images, with 16 color palette, keep colors number and order as originals.
Both PNGs use the same 16 color palette.
There is a way to create 4 bit indexed PNG with all colors, in exact order, even unused in each PNG?
Edit to be…

Flavio Pasqualin
- 71
- 5
5
votes
2 answers
Iterate through indexed property in Delphi 2010
In Delphi 2010 is there a way to iterate through any kind of indexed property (like Pages of TPageControl, for example)?

Rafael Piccolo
- 2,328
- 1
- 18
- 29
5
votes
8 answers
Re-indexing large table - how screwed am I?
I have a 1 TB, 600m row, table which has a misguided choice of indexed columns, specifically a clustered index on the primary key column which is never used in a select query.
I want to remove the clustered index from this row and create it on a…

Mr. Flibble
- 26,564
- 23
- 69
- 100
5
votes
3 answers
Editing 8bpp indexed Bitmaps
i'm trying to edit the pixels of a 8bpp. Since this PixelFormat is indexed i'm aware that it uses a Color Table to map the pixel values.
Even though I can edit the bitmap by converting it to 24bpp, 8bpp editing is much faster (13ms vs 3ms). But,…

Pedro Sá
- 51
- 1
- 1
- 2
4
votes
1 answer
@Indexed not working with spring data cassandra
I am trying to use @Indexed for creating a secondary index on the field using spring data cassandra. But while querying on the field it is throwing exception No secondary indexes on the restricted columns support the provided operators:
Model:
…

dgandhi91
- 55
- 8
4
votes
1 answer
oracle deadlock parent/child and child has indexed FK
I need somebody help me to figure out the cause of following deadlock.
the involved tables are parent/child and child table has indexed FK.
parent:PK_FMS_FC_MAIN_FLD_INPUT_LIMIT
chile:FMS_FC_REL_FLD_INPUT_LIMIT
Deadlock graph:
…

stone wang
- 41
- 2
3
votes
1 answer
Typescript 5.0.3 - Why these types with incompatible generic parameters do not generate an error?
------------- Motivation and context (Not essential to understand the question)----------------
In my typescript app, I have objects with references to other objects. Sometimes these references are populated, sometimes not. Example:
type Entity…

sudo
- 188
- 8
3
votes
2 answers
Indexed 8bpp image and array of pixels without GetPixel
I need to get index of every pixel of my Bitmap in color palette (I have an indexed 8bpp image). Now I use the following way:
List data = new List(); // indexes
List pixels = bitmap.Palette.Entries.ToList(); // palette
for (int i…

Vlad i Slav
- 59
- 2
- 12