Datasets:
id string | question_id int64 | chunk_index int32 | embedding_text string | dense_tokens int32 | sparse_tokens int32 | languages list | tags list | payload_json string | dense list | sparse_indices list | sparse_values list |
|---|---|---|---|---|---|---|---|---|---|---|---|
681d1d6a-51b9-5b9d-997e-d3992e3d09a3 | 402 | 0 | Title: iPhone app in landscape mode, 2008 systems
Please note that this question is from 2008 and now is of only historic interest.
What's the best way to create an iPhone application that runs in landscape mode from the start, regardless of the position of the device?
Both programmatically and using the Interfac... | 75 | 68 | [
"objective-c"
] | [
"ios",
"objective-c",
"landscape"
] | {"accepted_answer_id":2530953,"answer_count":8,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-02T10:47:08.460000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["objective-c"],"last_activity_date":"2019-06-19T11:32:27.650000+00:00","last_edit_date":"2019-06-19T02:01:51.9500... | [
-0.0194549560546875,
0.00026988983154296875,
0.00775146484375,
-0.007415771484375,
-0.0124053955078125,
-0.023712158203125,
-0.0178680419921875,
0.00966644287109375,
0.0182342529296875,
-0.00553131103515625,
-0.0283355712890625,
0.038909912109375,
0.04815673828125,
-0.042816162109375,
0.... | [
23,
47,
56,
450,
1295,
2021,
2965,
3917,
4027,
4034,
4289,
4734,
5036,
9655,
11720,
13736,
17368,
19069,
20537,
28282,
33946,
38415,
48962,
75186,
76519,
105719,
121137,
127877,
211460,
212790,
220237
] | [
0.1015625,
0.015380859375,
0.099609375,
0.0150146484375,
0.0673828125,
0.1826171875,
0.10498046875,
0.07080078125,
0.2021484375,
0.12890625,
0.220703125,
0.02294921875,
0.0206298828125,
0.05224609375,
0.1337890625,
0.1943359375,
0.012939453125,
0.15625,
0.0277099609375,
0.15234... |
6e8593dc-7280-59ef-a88a-89a7978aee75 | 6,578 | 0 | Title: Understanding reference counting with Cocoa and Objective-C
I'm just beginning to have a look at Objective-C and Cocoa with a view to playing with the iPhone SDK. I'm reasonably comfortable with C's malloc and free concept, but Cocoa's references counting scheme has me rather confused. I'm told it's very elegan... | 116 | 140 | [
"objective-c"
] | [
"iphone",
"objective-c",
"cocoa",
"memory"
] | {"accepted_answer_id":6614,"answer_count":15,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-09T03:13:04+00:00","has_accepted_answer":true,"is_closed":false,"languages":["objective-c"],"last_activity_date":"2023-12-02T08:28:32.370000+00:00","last_edit_date":"2011-04-06T09:33:43.243000+00:00"... | [
0.03448486328125,
-0.0062713623046875,
0.01543426513671875,
-0.0024871826171875,
-0.0050048828125,
0.0026836395263671875,
0.012725830078125,
0.012481689453125,
0.0241241455078125,
-0.0048828125,
-0.042938232421875,
0.0013494491577148438,
0.005397796630859375,
-0.00928497314453125,
-0.003... | [
7,
9,
11,
73,
214,
313,
441,
645,
678,
960,
1809,
4092,
4289,
4488,
4527,
4552,
5844,
6713,
9626,
11249,
12301,
12430,
23755,
27650,
28219,
45461,
54452,
54529,
55043,
55681,
75169,
80573,
86595,
91067,
101805,
104577,
104902,
112033,
13454... | [
0.08984375,
0.012451171875,
0.171875,
0.1240234375,
0.0673828125,
0.08642578125,
0.09765625,
0.011474609375,
0.034912109375,
0.053466796875,
0.17578125,
0.08544921875,
0.1494140625,
0.1083984375,
0.0810546875,
0.0107421875,
0.181640625,
0.00634765625,
0.052734375,
0.0224609375,... |
bb3cf278-c4db-569f-bb20-dbb66fbf0e61 | 8,970 | 0 | "Title: Accessing iSight programmatically?\n\nIs it possible to access the iSight camera on a macboo(...TRUNCATED) | 80 | 83 | [
"objective-c"
] | [
"objective-c",
"macos",
"webcam",
"isight"
] | "{\"accepted_answer_id\":null,\"answer_count\":7,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED) | [-0.0208892822265625,-0.024078369140625,-0.03778076171875,-0.0200653076171875,-0.01145172119140625,-(...TRUNCATED) | [10,17,18,47,54,70,90,98,214,294,442,501,678,1295,1884,2071,2674,2806,3311,4734,5809,7464,7722,9844,(...TRUNCATED) | [0.00439453125,0.15625,0.1142578125,0.03857421875,0.037353515625,0.02197265625,0.004638671875,0.0742(...TRUNCATED) |
4ea7c48d-4628-5172-b440-b151633030fc | 10,314 | 0 | "Title: How do you name your instance/param values?\n\nBeing new to Objective-C (but a long term C/+(...TRUNCATED) | 199 | 235 | [
"objective-c"
] | [
"objective-c",
"cocoa"
] | "{\"accepted_answer_id\":11994,\"answer_count\":10,\"chunk_count\":1,\"chunk_index\":0,\"closed_date(...TRUNCATED) | [0.004886627197265625,-0.01364898681640625,0.005275726318359375,-0.0004508495330810547,0.01895141601(...TRUNCATED) | [5,7,9,10,39,54,64,71,90,98,100,121,214,217,277,313,398,441,935,965,1207,1810,2480,2481,2806,2822,28(...TRUNCATED) | [0.00390625,0.012939453125,0.013427734375,0.0341796875,0.078125,0.0654296875,0.054931640625,0.004150(...TRUNCATED) |
4434edb0-31d0-5f6b-ad85-9277cfdafee5 | 10,848 | 0 | "Title: How to programmatically send SMS on the iPhone?\n\nDoes anybody know if it's possible, and h(...TRUNCATED) | 43 | 49 | [
"objective-c"
] | [
"ios",
"objective-c",
"cocoa-touch",
"sms"
] | "{\"accepted_answer_id\":null,\"answer_count\":18,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\(...TRUNCATED) | [-0.0279541015625,-0.00604248046875,0.00716400146484375,-0.004974365234375,-0.0009622573852539062,-0(...TRUNCATED) | [10,11,18,47,98,159,678,1295,2174,2499,3642,3714,4289,7722,11162,11249,11720,25379,37873,45461,48962(...TRUNCATED) | [0.00537109375,0.1103515625,0.1337890625,0.0220947265625,0.07763671875,0.06982421875,0.0390625,0.125(...TRUNCATED) |
7e9bf3ce-26a4-5ba7-a7ba-9058a75afdd5 | 11,291 | 0 | "Title: Best way to capture key events in NSTextView?\n\nI'm slowly learning Objective-C and Cocoa, (...TRUNCATED) | 77 | 85 | [
"objective-c"
] | [
"objective-c",
"cocoa",
"events"
] | "{\"accepted_answer_id\":11312,\"answer_count\":4,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\(...TRUNCATED) | [0.0102386474609375,-0.014068603515625,0.002349853515625,-0.02813720703125,-0.017608642578125,-0.015(...TRUNCATED) | [11,23,47,441,1363,1957,2060,3917,4358,4527,4734,5844,6275,11345,12336,22799,24129,27781,29479,29806(...TRUNCATED) | [0.09521484375,0.017578125,0.0289306640625,0.0986328125,0.1220703125,0.07275390625,0.06640625,0.0927(...TRUNCATED) |
883d9342-14f5-522d-9aea-087374afbf5a | 13,725 | 0 | "Title: In Cocoa do you prefer NSInteger or int, and why?\n\nNSInteger/NSUInteger are Cocoa-defined (...TRUNCATED) | 72 | 93 | [
"objective-c"
] | [
"objective-c",
"cocoa",
"types"
] | "{\"accepted_answer_id\":13742,\"answer_count\":5,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\(...TRUNCATED) | [0.0010175704956054688,-0.02508544921875,-0.006450653076171875,-0.016754150390625,0.0088653564453125(...TRUNCATED) | [11,18,23,64,73,112,136,360,541,645,707,1479,1505,1639,2499,2789,3137,5425,5701,5983,7911,9035,9902,(...TRUNCATED) | [0.1728515625,0.197265625,0.138671875,0.024658203125,0.109375,0.036376953125,0.039306640625,0.020996(...TRUNCATED) |
6cede413-c6aa-5284-98dc-e433c6d525d9 | 14,874 | 0 | "Title: Drawing a view hierarchy into a specific context in Cocoa\n\nFor part of my application I ha(...TRUNCATED) | 130 | 144 | [
"objective-c"
] | [
"objective-c",
"cocoa",
"macos"
] | "{\"accepted_answer_id\":66556,\"answer_count\":4,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\(...TRUNCATED) | [0.0039043426513671875,-0.00978851318359375,0.000015139579772949219,-0.040374755859375,-0.0154953002(...TRUNCATED) | [11,23,111,136,147,442,756,831,959,1052,1614,1791,3642,3871,3934,4358,4785,5701,7668,11001,14775,173(...TRUNCATED) | [0.1630859375,0.012451171875,0.00341796875,0.013427734375,0.1826171875,0.07861328125,0.0289306640625(...TRUNCATED) |
7e9db9c8-0add-555e-b1b9-89e7bb737165 | 15,266 | 0 | "Title: Objective-C/Cocoa: How do I accept a bad server certificate?\n\nUsing NSURLRequest, I am try(...TRUNCATED) | 222 | 254 | [
"objective-c"
] | [
"objective-c",
"cocoa",
"network-programming"
] | "{\"accepted_answer_id\":2195434,\"answer_count\":6,\"chunk_count\":1,\"chunk_index\":0,\"closed_dat(...TRUNCATED) | [-0.02191162109375,-0.006076812744140625,-0.0261077880859375,-0.01323699951171875,-0.014129638671875(...TRUNCATED) | [11,14,20,51,56,100,271,363,379,441,587,854,1176,1467,1632,1764,2822,3004,3444,3871,4027,4289,4332,4(...TRUNCATED) | [0.091796875,0.11328125,0.008544921875,0.06005859375,0.1455078125,0.0810546875,0.005615234375,0.1699(...TRUNCATED) |
9375a696-c6d8-5d1c-954c-1ff914782dcf | 20,420 | 0 | "Title: Any ReSharper equivalent for Xcode?\n\nI'm a complete Xcode/Objective-C/Cocoa newbie but I'm(...TRUNCATED) | 153 | 175 | [
"objective-c"
] | [
"objective-c",
"xcode",
"macos",
"refactoring"
] | "{\"accepted_answer_id\":21106,\"answer_count\":5,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\(...TRUNCATED) | [-0.00406646728515625,-0.0277099609375,0.00931549072265625,-0.00536346435546875,0.043853759765625,-0(...TRUNCATED) | [9,11,100,170,294,441,456,552,587,627,853,1193,1264,1295,2499,3467,3714,4271,4358,4904,4989,5245,542(...TRUNCATED) | [0.016845703125,0.051025390625,0.037353515625,0.06298828125,0.08203125,0.0078125,0.09521484375,0.177(...TRUNCATED) |
Stack2Graph vector database: objective-c
This release contains 318745 text chunks from Stack Overflow with dense and
sparse embeddings, selected by the producer's programming-language memberships.
Memberships can overlap: a chunk may occur in several language datasets. These
labels describe programming languages, not the natural language of the text.
extra-languages, when present, contains source rows without a language match.
An absent language is never replaced with an empty dataset.
Files and fields
data/vectors-*.parquet contains Zstandard-compressed tables. Each row has a
stable id, question_id, chunk_index, embedding_text, model token counts,
languages, tags, dense, sparse_indices, sparse_values and payload_json.
The last field preserves the complete original Qdrant payload, including source
snapshot identity, source dates, scores and answer flags when available.
Dense values are float32 representations of the producer's stored float16
values; this does not recover precision discarded during embedding. Sparse
weights preserve float32 values and uint32 token indices.
On Hugging Face, load the vectors config with datasets.load_dataset and use
streaming for large releases. The dataset viewer uses only the explicitly listed
Parquet files. data/dataset.tar.gz is the portable package also used by MDC:
extract it to obtain the same Parquet bytes, README and publication.json.
The archive is an exchange dataset, not a Qdrant binary snapshot. Import in
bounded batches using each row's id, named dense/sparse vectors and decoded
payload_json. Recreate collection settings deliberately for your Qdrant version.
Provenance and reproducibility
{
"after_id": -9223372036854775808,
"chunk_overlap": 128,
"chunk_tokens": 1024,
"collection": "stackoverflow_questions",
"dense_dimension": 4096,
"dense_model": "Qwen/Qwen3-Embedding-8B",
"dense_revision": "1d8ad4ca9b3dd8059ad90a75d4983776a23d44af",
"question_limit": null,
"registry_digest": "d2a7357c04e7f47d9bb598189aeeb7db0680d6b35f0d9695d8d2e544121afb8e",
"snapshot_digest": "56fe643952cec74b17ea13d91edc8ad95181326156177c94cce48d3fed9834b9",
"snapshot_id": "stackexchange_20260630_sakura",
"sparse_model": "BAAI/bge-m3",
"sparse_revision": "5617a9f61b028005a4858fdac845db406aefb181"
}
Export identity: bc9f696c9588560e3be547879c58b96c50c64e3828495471bee43e504392ec7f.
Point-ID configuration digest: d16d58c9e7b8007664e3f77b4e9f4a1689a8b8de2c6727b479595621b25e3460.
Point IDs use the same snapshot/configuration/question/chunk UUID derivation as
the project's Qdrant loader. publication.json lists exact file sizes, SHA-256
hashes, row count, source identity and model/chunking settings. On HF,
release.json additionally verifies all managed remote files.
Only locally finalized runs with matching stage/report counts are published.
The uploader does not re-embed text or query a running database.
Uses and limitations
Intended for dense, sparse and hybrid retrieval, retrieval-augmented generation and reproducible search experiments. Retrieval quality depends on the pinned models and chunking configuration. Overlapping chunks and language memberships are not independent samples; split evaluations by source question to avoid leakage. Source questions can contain personal data, obsolete code, errors and biases. Source-window limits are recorded above. No retrieval benchmark or completeness beyond the recorded source window is claimed.
Attribution and licensing
Derived from Stack Overflow content. Preserve the original post/author attribution and applicable Stack Overflow licensing when redistributing or displaying source content. Question IDs and source snapshot are retained to resolve source posts. This publication declares CC BY-SA 4.0; embedding model licenses and any upstream obligations still apply. Pinned model names and revisions above identify their model cards for review.
Source and procedures: https://github.com/tha-atlas/Stack2Graph. When citing this dataset, include the dataset repository, immutable release revision, source snapshot, export identity, model revisions and the project.
Project citation: Kleybolte, Ventura and Zarcone (2026), Stack2Graph, KG-LLM at LREC26. https://doi.org/10.63317/583q4d3mwbdu.
- Downloads last month
- 59