From 5bcc44c7a1982b6a5f99b65e43fdeaa6ad7a931c Mon Sep 17 00:00:00 2001 From: Metecode Date: Wed, 18 Nov 2026 15:32:11 +0300 Subject: [PATCH 1/9] =?UTF-8?q?feat(evaluate):=20normalizeTr=20kelime=20i?= =?UTF-8?q?=C3=A7i=20tire=20ve=20alt=20=C3=A7izgiyi=20bo=C5=9Flu=C4=9Fa=20?= =?UTF-8?q?=C3=A7evirir?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Yalnızca iki harf ya da rakam arasındaki "-" ve "_" boşluğa döner, ardışık boşluklar teke iner; cevap da alias da aynı yoldan geçer. "health-check", "health_check" ve "health check" artık aynı. Baştaki işaretler korunur ("-p", "sh -c", "copy --from", "__html", "-?"): hepsi çevrilseydi "-?" her soru işaretini, "-slim" "teslim"in içini tutardı. Bitişik yazım ("healthcheck") ayrı kalır; gerektiğinde iki yazım da alias. Denetim raporunun Ek A'sı (102 soru, 132 kavram): boşluklu yazımla eşleşen kavram 0/132 → 132/132. Değişikliğin açtığı iki yarı isabet çifti kendi alias'ı daraltılarak kapandı (model cevap ve probe yine tutuyor): - java-immutable-class/thread-safe: "thread safe" çıkarıldı ("thread-safe olur", "thread-safe olması" kaldı) - cybersecurity-clickjacking/csp-oncelikli: "content security policy" çıkarıldı (Content-Security-Policy başlık adını tutuyordu) check:content: 0 uyarı, 0 biçim, 36 çift (main ile aynı), alt dize tuzağı 43 → 42, doğal cevap 1277/1400 (değişmedi). aliasResult metriği bu commit'ten sonra daha sık "all" görür. Co-Authored-By: Claude Opus 5.5 --- src/content/tr/content-cybersecurity.json | 1 - src/content/tr/content-java.json | 1 - src/domain/evaluate.test.ts | 50 +++++++++++++++++++++++ src/domain/evaluate.ts | 21 ++++++++-- 4 files changed, 68 insertions(+), 5 deletions(-) diff --git a/src/content/tr/content-cybersecurity.json b/src/content/tr/content-cybersecurity.json index 36fcdfc..19083ae 100644 --- a/src/content/tr/content-cybersecurity.json +++ b/src/content/tr/content-cybersecurity.json @@ -1718,7 +1718,6 @@ "id": "csp-oncelikli", "label": "CSP yolu güncel; uygulanırsa X-Frame-Options yok sayılır", "aliases": [ - "content security policy", "csp ile", "csp'de", "csp'nin", diff --git a/src/content/tr/content-java.json b/src/content/tr/content-java.json index e6ee5a5..68baf49 100644 --- a/src/content/tr/content-java.json +++ b/src/content/tr/content-java.json @@ -2229,7 +2229,6 @@ "aliases": [ "thread-safe olur", "thread-safe olması", - "thread safe", "senkronizasyon gerek", "hashmap anahtar", "map anahtar" diff --git a/src/domain/evaluate.test.ts b/src/domain/evaluate.test.ts index c065a80..077a35d 100644 --- a/src/domain/evaluate.test.ts +++ b/src/domain/evaluate.test.ts @@ -53,6 +53,56 @@ describe("normalizeTr", () => { it("fazla boşluğu temizler", () => { expect(normalizeTr(" çok boşluklu metin ")).toBe("cok bosluklu metin"); }); + + it("kelime içi tire ve alt çizgiyi boşluğa çevirir", () => { + expect(normalizeTr("health-check")).toBe("health check"); + expect(normalizeTr("health_check")).toBe("health check"); + expect(normalizeTr("health check")).toBe("health check"); + expect(normalizeTr("health -- check")).toBe("health -- check"); + expect(normalizeTr("Read--Only")).toBe("read only"); + expect(normalizeTr("e-posta")).toBe("e posta"); + }); + + it("bitişik yazım ayrı kalır, iki yazım gerekiyorsa ikisi de alias olur", () => { + expect(normalizeTr("healthcheck")).toBe("healthcheck"); + expect(normalizeTr("healthcheck")).not.toBe(normalizeTr("health check")); + }); + + it("baştaki ve sondaki işaretleri korur", () => { + expect(normalizeTr("-p 8080:80")).toBe("-p 8080:80"); + expect(normalizeTr("sh -c")).toBe("sh -c"); + expect(normalizeTr("copy --from")).toBe("copy --from"); + expect(normalizeTr("-?")).toBe("-?"); + expect(normalizeTr("__html")).toBe("__html"); + expect(normalizeTr("__Host-")).toBe("__host-"); + }); +}); + +describe("evaluateLexical — yazım ayırıcıları", () => { + const question = makeQuestion({ + keyConcepts: [ + makeConcept({ id: "tireli", aliases: ["health-check"] }), + makeConcept({ id: "bosluklu", aliases: ["service healthy"] }), + makeConcept({ id: "bayrak", aliases: ["-p 8080"] }), + ], + }); + + it.each(["health-check", "health_check", "health check"])("tireli alias %s yazımını tutar", (answer) => { + expect(evaluateLexical(question, answer).hits).toContain("tireli"); + }); + + it("boşluklu alias alt çizgili cevabı tutar", () => { + expect(evaluateLexical(question, "condition: service_healthy").hits).toContain("bosluklu"); + }); + + it("bitişik yazım tireli alias'ı tutmaz", () => { + expect(evaluateLexical(question, "healthcheck").hits).not.toContain("tireli"); + }); + + it("baştaki tireli bayrak yalnızca bayrakla eşleşir", () => { + expect(evaluateLexical(question, "docker run -p 8080:80").hits).toContain("bayrak"); + expect(evaluateLexical(question, "port 8080").hits).not.toContain("bayrak"); + }); }); describe("evaluateLexical", () => { diff --git a/src/domain/evaluate.ts b/src/domain/evaluate.ts index 12a0e39..4c6dd03 100644 --- a/src/domain/evaluate.ts +++ b/src/domain/evaluate.ts @@ -10,9 +10,23 @@ import type { Evaluation, Question } from "./question"; /* ------------------------------------------------------------------ */ /** - * Türkçe karakterleri sadeleştirir, küçük harfe çevirir, fazla boşluğu - * temizler. Küçük harfe çevirme Türkçe yerel ayarıyla: "I" önce "ı" olur, - * sonra "i" — Türkçe olmayan bir `toLowerCase` bunu "i̇" yapardı. + * Kelime içindeki tire ve alt çizgi: yalnızca iki harf ya da rakam + * arasındakiler. "health-check", "service_healthy" boşluklu yazımla aynı + * olur; "-p", "sh -c", "copy --from", "__html" gibi baştaki işaretler + * kalır. Hepsi boşluğa çevrilseydi "-?" yalnızca "?" olup her soru + * işaretini, "-slim" "teslim"in içini tutardı. + */ +const WORD_JOINER = /(?<=[\p{L}\p{N}])[-_]+(?=[\p{L}\p{N}])/gu; + +/** + * Türkçe karakterleri sadeleştirir, küçük harfe çevirir, kelime içi tire + * ve alt çizgiyi boşluğa çevirir, fazla boşluğu temizler. Küçük harfe + * çevirme Türkçe yerel ayarıyla: "I" önce "ı" olur, sonra "i" — Türkçe + * olmayan bir `toLowerCase` bunu "i̇" yapardı. + * + * Cevap da alias da buradan geçer; tireli bir alias boşluklu cevabı, + * boşluklu bir alias tireli cevabı tutar. Bitişik yazım ("healthcheck") + * ayrı kalır: gereken yerde iki yazım da alias olarak eklenir. */ export function normalizeTr(text: string): string { return text @@ -23,6 +37,7 @@ export function normalizeTr(text: string): string { .replace(/ü/g, "u") .replace(/ö/g, "o") .replace(/ç/g, "c") + .replace(WORD_JOINER, " ") .replace(/\s+/g, " ") .trim(); } From b81f9adfbe086ca435db61bad5af7ba50064dcea Mon Sep 17 00:00:00 2001 From: Metecode Date: Wed, 18 Nov 2026 15:32:26 +0300 Subject: [PATCH 2/9] =?UTF-8?q?docs(analytics):=20aliasResult=20metri?= =?UTF-8?q?=C4=9Finde=20normalizeTr=20k=C4=B1r=C4=B1lmas=C4=B1=20notu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Deploy tarihi yer tutucu; kullanıcı bildirecek. Co-Authored-By: Claude Opus 5.5 --- CLAUDE.md | 4 ++++ docs/analytics/queries.sql | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 7054d9d..80c0d1f 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -530,6 +530,10 @@ shadcn/ui bileşenleri ihtiyaç oldukça tek tek eklenir, toplu kurulmaz. döner (Europe/Istanbul). Leitner tamamlanma: o günkü `wasDue=true` `self_eval` ÷ günün ilk `app_open.dueCount`'u, tavan 1, `dueCount = 0` günleri hariç. +- **aliasResult'ta kırılma.** normalizeTr değişikliği (commit 5bcc44c, deploy + tarihi: ) öncesindeki aliasResult değerleri karşılaştırmaya + dahil edilmemeli: kelime içi tire ve alt çizgi o commit'ten sonra boşluk + sayılıyor, aynı cevap daha sık "all" alıyor. Not `queries.sql`'in başında da var. ### İstemci (`src/analytics/`) diff --git a/docs/analytics/queries.sql b/docs/analytics/queries.sql index ce07425..31db4a0 100644 --- a/docs/analytics/queries.sql +++ b/docs/analytics/queries.sql @@ -1,3 +1,8 @@ +-- METRİK KIRILMASI — aliasResult: normalizeTr değişikliği (commit 5bcc44c, +-- deploy tarihi: ) öncesindeki aliasResult değerleri +-- karşılaştırmaya dahil edilmemeli. O commit'ten sonra kelime içi tire ve alt +-- çizgi boşluk sayılıyor; aynı cevap daha sık "all" alıyor. +-- -- Kullanım ölçümü analiz sorguları (analytics_event, V4 migration). -- -- Her sorgu kendi başına çalışır; psql ya da herhangi bir istemcide tek tek From cb58fc4ea9629ed60ea0259e41ef0dbb6d9c663d Mon Sep 17 00:00:00 2001 From: Metecode Date: Wed, 18 Nov 2026 15:39:37 +0300 Subject: [PATCH 3/9] =?UTF-8?q?feat(content):=20sorular=C4=B1n=20k=C3=B6ke?= =?UTF-8?q?ni=20i=C3=A7in=20zorunlu=20origin=20alan=C4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Şema: origin { kind: "own" } | { kind: "external", repo, url, license }; zorunlu, varsayılansız. Lisanslar kapalı liste (EXTERNAL_LICENSES). - 313 soru source metninden dolduruldu: 269 own, 44 external (sudheerj/reactjs-interview-questions, MIT). Başka alana dokunulmadı. - domain/origin.ts (saf, testli): source'tan köken adayı, origin ile source çelişkisi, THIRD_PARTY_NOTICES'ta olmayan dış repo. Yalnızca tip import'u: content-check dosyayı Node'la doğrudan yüklüyor. - check:content köken bölümü: sorun varsa çıkış kodu 1 (betiğin ilk kapısı). Betik CI'da çalışmadığı için aynı kontrol content/origin.test.ts'te. --base ile okunan eski revizyonlarda origin source'tan türetilir. - Test fikstürlerine origin eklendi. Backend DTO alanı yok sayıyor; QuestionSeederTest yeni içerikle geçti. Co-Authored-By: Claude Opus 5.5 --- CLAUDE.md | 8 +- scripts/content-check.ts | 9 +- scripts/content-check/README.md | 15 +- scripts/content-check/checks.test.ts | 29 ++ scripts/content-check/origin.ts | 25 ++ scripts/content-check/pool.ts | 18 +- scripts/merge-questions/run.test.ts | 1 + src/content/origin.test.ts | 21 ++ src/content/tr/content-cybersecurity.json | 220 +++++++++--- src/content/tr/content-docker.json | 105 ++++-- src/content/tr/content-dotnet.json | 10 +- src/content/tr/content-java.json | 405 +++++++++++++++++----- src/content/tr/content-javascript.json | 225 +++++++++--- src/content/tr/content-react.json | 274 ++++++++++++++- src/content/tr/content-sql.json | 160 +++++++-- src/content/tr/content-web.json | 210 ++++++++--- src/domain/draw.test.ts | 1 + src/domain/drawTiers.test.ts | 1 + src/domain/evaluate.test.ts | 1 + src/domain/origin.test.ts | 63 ++++ src/domain/origin.ts | 64 ++++ src/domain/ownAiPrompt.test.ts | 1 + src/domain/question.test.ts | 1 + src/domain/question.ts | 26 ++ src/domain/reels.test.ts | 1 + src/domain/reminder.test.ts | 1 + src/domain/session.test.ts | 1 + src/domain/usageMetrics.test.ts | 1 + src/storage/db.test.ts | 1 + 29 files changed, 1624 insertions(+), 274 deletions(-) create mode 100644 scripts/content-check/origin.ts create mode 100644 src/content/origin.test.ts create mode 100644 src/domain/origin.test.ts create mode 100644 src/domain/origin.ts diff --git a/CLAUDE.md b/CLAUDE.md index 80c0d1f..dd97a41 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -115,7 +115,13 @@ shadcn/ui bileşenleri ihtiyaç oldukça tek tek eklenir, toplu kurulmaz. - Three.js veya WebGL. Makine CSS 3D ve SVG ile çizilir. - localStorage'a JWT yazma. - Soru içeriğini başka sitelerden kopyalama. İçerik özgün yazılır, - `source` alanında türetildiği konu belirtilir. + `source` alanında türetildiği konu belirtilir. Kökeni `origin` taşır + (`own` ya da `external`: repo, url, lisans); zorunlu ve varsayılansız. + Dış kaynaklı soru `source`'ta "soru kaynağı: ()" + ile biter, repo'nun lisans metni `THIRD_PARTY_NOTICES`'ta olur; çelişkiyi + `check:content` (çıkış 1) ve `content/origin.test.ts` reddeder. Lisans + `EXTERNAL_LICENSES`'ta değilse önce CC BY-SA 4.0 ile uyumu değerlendirilir + (`docs/content-audit.md`, bölüm 3). ## Derleme ve CI diff --git a/scripts/content-check.ts b/scripts/content-check.ts index 677881d..4455eae 100644 --- a/scripts/content-check.ts +++ b/scripts/content-check.ts @@ -9,10 +9,12 @@ /* scripts/content-check/README.md. */ /* ------------------------------------------------------------------ */ +import { readFileSync } from "node:fs"; import { fileURLToPath } from "node:url"; import { analyze, summarize } from "./content-check/analyze.ts"; import { parseArgs, USAGE } from "./content-check/cli.ts"; +import { originProblems, printOriginProblems } from "./content-check/origin.ts"; import { loadFromDir, loadFromRevision, overlay, readQuestions } from "./content-check/pool.ts"; import { loadProbeAnswers } from "./content-check/probes.ts"; import { printComparison, printDetails, printSummary } from "./content-check/report.ts"; @@ -20,6 +22,7 @@ import { printComparison, printDetails, printSummary } from "./content-check/rep const REPO_ROOT = fileURLToPath(new URL("..", import.meta.url)); const CONTENT_DIR = fileURLToPath(new URL("../src/content/tr", import.meta.url)); const PROBES_DIR = fileURLToPath(new URL("./content-check/probes", import.meta.url)); +const NOTICES_PATH = fileURLToPath(new URL("../src/content/THIRD_PARTY_NOTICES", import.meta.url)); function main(argv: string[]): number { const options = parseArgs(argv); @@ -41,7 +44,11 @@ function main(argv: string[]): number { printDetails(current, options.categories, options.verbose); printSummary(summarize(current)); } - return 0; + + // Köken her zaman bütün havuzda ve yalnızca çalışma ağacında denetlenir. + const origin = originProblems(pool, readFileSync(NOTICES_PATH, "utf8")); + printOriginProblems(origin); + return origin.length > 0 ? 1 : 0; } try { diff --git a/scripts/content-check/README.md b/scripts/content-check/README.md index a618bf0..360cf84 100644 --- a/scripts/content-check/README.md +++ b/scripts/content-check/README.md @@ -19,7 +19,7 @@ npm run check:content -- --base main # PR öncesi | `--prefix` | Alt dize taramasında önek eşleşmelerini de listeler. | | `-v` | Çiftlerde her kavramı hangi alias'ın tuttuğunu, doğal cevapta kaçan kavramları gösterir. | -Çıktıda önce ayrıntı bölümleri, en sonda kategori başına özet tablo gelir. Betik rapor üretir, kapı değildir: uyarı olsa da çıkış kodu 0. Dosya okunamazsa 1, seçenek yanlışsa 2 döner. +Çıktıda önce ayrıntı bölümleri, sonra kategori başına özet tablo, en sonda köken bölümü gelir. Betik çoğunlukla rapor üretir, kapı değildir: uyarı olsa da çıkış kodu 0. Tek istisna köken: sorun varsa 1 (bkz. Kontroller → Köken). Dosya okunamazsa 1, seçenek yanlışsa 2 döner. **Sayıyı değil satırı karşılaştır.** Bir çift kalkıp yerine başka biri gelince kategorinin çift sayısı aynı kalır. `--base` bu yüzden çiftleri, uyarıları ve tuzakları tek tek karşılaştırır. @@ -50,6 +50,17 @@ npm run check:content -- --base main # PR öncesi - Kalın içinde kod ve tek yıldızlı italik yok, ikisi de çizilmiyor. - followUp var; source `Kendi derleme — ` ile başlıyor. +### Köken (`origin.ts`) — kapı + +Her sorunun zorunlu bir `origin` alanı var: `{ "kind": "own" }` ya da `{ "kind": "external", "repo", "url", "license" }`. Alanı eksik soru şemadan geçmez, dosya okunamaz. Bu bölüm iki durumu daha reddeder: + +- `origin` ile `source` çelişiyor. `source` `soru kaynağı: ()` ile bitiyorsa `origin` `external` olmalı, repo ve lisans aynı olmalı; bitmiyorsa `own`. +- `external` bir repo'nun `src/content/THIRD_PARTY_NOTICES`'ta bölümü yok. + +Sorun varsa çıkış kodu 1. Kurallar `src/domain/origin.ts`'te. Bu betik CI'da çalışmadığı için aynı kontrol `src/content/origin.test.ts` ile CI'da da çalışır. Kabul edilen lisanslar `EXTERNAL_LICENSES` (`src/domain/question.ts`); listeye ekleme önce `docs/content-audit.md` bölüm 3'teki uyum değerlendirmesinden geçer. + +`--base` ile okunan eski revizyonlarda `origin` yoksa `source`'tan türetilir; yalnızca okunan kopyada, diske yazılmaz. + ### Yarı isabet çiftleri (`pairs.ts`) `hedef ← diğer` şu demek: diğer sorunun model cevabı, hedefin kavramlarının en az yarısını (`ceil(n/2)`) tutuyor. Çiftler üç sınıfa ayrılır: @@ -96,7 +107,7 @@ Tek kaynak `generic.ts`. Listeyi değiştirirsen bu bölümü de güncelle. ## Dosyalar - **Giriş:** `scripts/content-check.ts`. -- **Kontroller:** `rules.ts`, `format.ts`, `pairs.ts`, `substrings.ts`, `probes.ts`. +- **Kontroller:** `rules.ts`, `format.ts`, `pairs.ts`, `substrings.ts`, `probes.ts`, `origin.ts`. - **Okuma:** `pool.ts` içeriği dizinden, git revizyonundan ya da `--edits` dosyalarından okur. - **Çıktı:** `analyze.ts` ölçümleri toplar. `lines.ts` ve `report.ts` çıktıyı yazar, `compare.ts` karşılaştırmayı yapar. - **Testler:** `checks.test.ts`, `npm test` ile birlikte çalışır. diff --git a/scripts/content-check/checks.test.ts b/scripts/content-check/checks.test.ts index 2e69c6f..5e1095c 100644 --- a/scripts/content-check/checks.test.ts +++ b/scripts/content-check/checks.test.ts @@ -6,6 +6,7 @@ import { parseArgs } from "./cli.ts"; import { diffLines } from "./compare.ts"; import { formatIssues, sentenceCount } from "./format.ts"; import { findPairs } from "./pairs.ts"; +import { originProblems } from "./origin.ts"; import { overlay } from "./pool.ts"; import { conceptWarnings, indexAnswers } from "./rules.ts"; import { findSubstringTraps } from "./substrings.ts"; @@ -23,6 +24,7 @@ function question(id: string, overrides: Partial = {}): Question { kind: "definition", topic: "Index", difficulty: 1, + origin: { kind: "own" }, prompt: `${id} nedir, açıkla?`, modelAnswer: "Alfa ile beta birlikte çalışır. Gama ise ayrı durur.", keyConcepts: [concept("a", ["alfa", "alpha"]), concept("b", ["beta", "bêta"]), concept("c", ["gama", "gamma"])], @@ -148,3 +150,30 @@ describe("parseArgs", () => { expect(parseArgs(["--base"])).toEqual({ error: "--base bir değer ister" }); }); }); + +describe("köken", () => { + const sudheerj = { + kind: "external", + repo: "sudheerj/reactjs-interview-questions", + url: "https://github.com/sudheerj/reactjs-interview-questions", + license: "MIT", + } as const; + const marker = "Kendi derleme — react.dev: Hooks; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)"; + + it("source ile çelişen origin'i ve bildirimi olmayan repo'yu satır olarak verir", () => { + const pool = [ + question("tutarli"), + question("celisen", { source: marker }), + question("dis", { source: marker, origin: sudheerj }), + ]; + expect(originProblems(pool, "başka bir bildirim")).toEqual([ + "celisen: source dış kaynak diyor (sudheerj/reactjs-interview-questions), origin own", + "sudheerj/reactjs-interview-questions: THIRD_PARTY_NOTICES'ta bölümü yok", + ]); + }); + + it("tutarlı havuzda boş", () => { + const pool = [question("tutarli"), question("dis", { source: marker, origin: sudheerj })]; + expect(originProblems(pool, "sudheerj/reactjs-interview-questions")).toEqual([]); + }); +}); diff --git a/scripts/content-check/origin.ts b/scripts/content-check/origin.ts new file mode 100644 index 0000000..9c6f406 --- /dev/null +++ b/scripts/content-check/origin.ts @@ -0,0 +1,25 @@ +import { originIssues, reposMissingFromNotices } from "../../src/domain/origin.ts"; +import type { Question } from "../../src/domain/question.ts"; + +/* ------------------------------------------------------------------ */ +/* Köken denetimi — betiğin tek kapısı */ +/* */ +/* Diğer kontroller ölçümdür, uyarı olsa da çıkış kodu 0. Köken ise */ +/* lisans yükümlülüğü: source ile çelişen origin ya da bildirimi */ +/* olmayan bir dış repo yayına çıkmamalı. Bu yüzden sorun varsa çıkış */ +/* kodu 1. Eksik origin'i zaten şema reddediyor (dosya okunamaz). */ +/* ------------------------------------------------------------------ */ + +/** Bulunan sorunlar, her biri bir satır; boş liste temiz demek. */ +export function originProblems(pool: readonly Question[], notices: string): string[] { + const lines = pool.flatMap((question) => originIssues(question).map((issue) => `${question.id}: ${issue}`)); + for (const repo of reposMissingFromNotices(pool, notices)) { + lines.push(`${repo}: THIRD_PARTY_NOTICES'ta bölümü yok`); + } + return lines; +} + +export function printOriginProblems(lines: readonly string[]): void { + console.log(`\n== Köken (origin) (${lines.length})`); + for (const line of lines) console.log(` ${line}`); +} diff --git a/scripts/content-check/pool.ts b/scripts/content-check/pool.ts index b48db4b..837ea6a 100644 --- a/scripts/content-check/pool.ts +++ b/scripts/content-check/pool.ts @@ -2,6 +2,7 @@ import { execFileSync } from "node:child_process"; import { readdirSync, readFileSync } from "node:fs"; import { join } from "node:path"; +import { originFromSource } from "../../src/domain/origin.ts"; import { parseQuestionFile } from "../../src/domain/question.ts"; import type { Question } from "../../src/domain/question.ts"; @@ -36,10 +37,25 @@ export function loadFromRevision(repoRoot: string, revision: string): Question[] .sort() .flatMap((path) => { const ref = `${revision}:${path}`; - return parseQuestionFile(ref, JSON.parse(git("show", ref))).questions; + return parseQuestionFile(ref, withOrigin(JSON.parse(git("show", ref)))).questions; }); } +/** + * origin alanı gelmeden önceki revizyonlarda soru şemadan geçmez. Kıyas + * yapılabilsin diye eksik origin source'tan türetilir; yalnızca okunan + * kopyada, diske yazılmaz. Alanı olan sorulara dokunulmaz. + */ +function withOrigin(file: { questions?: Record[] }): unknown { + if (!Array.isArray(file.questions)) return file; + return { + ...file, + questions: file.questions.map((question) => + "origin" in question ? question : { ...question, origin: originFromSource(question.source as string | undefined) }, + ), + }; +} + /** * Düzenlenmiş sorular aynı id'li soruların yerine geçer, yeni id'ler sona * eklenir. Diske yazılmaz: değişikliği merge-questions'tan önce denemek için. diff --git a/scripts/merge-questions/run.test.ts b/scripts/merge-questions/run.test.ts index fc8d3d3..9fe9fa2 100644 --- a/scripts/merge-questions/run.test.ts +++ b/scripts/merge-questions/run.test.ts @@ -33,6 +33,7 @@ function question(id: string, category = "react", prompt = `${id} nedir, açıkl category, topic: "Temeller", difficulty: 1, + origin: { kind: "own" }, prompt, modelAnswer: "Yeterince uzun bir model cevap metni.", keyConcepts: [concept("a"), concept("b"), concept("c")], diff --git a/src/content/origin.test.ts b/src/content/origin.test.ts new file mode 100644 index 0000000..3415870 --- /dev/null +++ b/src/content/origin.test.ts @@ -0,0 +1,21 @@ +import { describe, expect, it } from "vitest"; + +import { originIssues, reposMissingFromNotices } from "../domain/origin"; +import { QUESTIONS } from "./index"; +import notices from "./THIRD_PARTY_NOTICES?raw"; + +/* ------------------------------------------------------------------ */ +/* Köken kapısı — CI'da check:content çalışmıyor, aynı kural burada. */ +/* Eksik origin'i şema zaten reddediyor (içerik yüklenemez). */ +/* ------------------------------------------------------------------ */ + +describe("içerik kökeni", () => { + it("her sorunun origin'i source ile tutarlı", () => { + const problems = QUESTIONS.flatMap((question) => originIssues(question).map((issue) => `${question.id}: ${issue}`)); + expect(problems).toEqual([]); + }); + + it("dış kaynaklı her repo'nun THIRD_PARTY_NOTICES'ta bölümü var", () => { + expect(reposMissingFromNotices(QUESTIONS, notices)).toEqual([]); + }); +}); diff --git a/src/content/tr/content-cybersecurity.json b/src/content/tr/content-cybersecurity.json index 19083ae..1d550a2 100644 --- a/src/content/tr/content-cybersecurity.json +++ b/src/content/tr/content-cybersecurity.json @@ -91,7 +91,10 @@ "Frontend ile API farklı origin'lerdeyse HttpOnly refresh cookie'sini API'ye nasıl iletirsin?", "XSS açığı olan bir sitede HttpOnly kullanılıyorsa saldırgan token'ı çalamasa bile kullanıcı adına neler yapabilir?" ], - "source": "Kendi derleme — OWASP HTML5 Security Cheat Sheet (Local Storage); RFC 10017 (OAuth 2.0 for Browser-Based Applications) §5, §8; MDN: Set-Cookie" + "source": "Kendi derleme — OWASP HTML5 Security Cheat Sheet (Local Storage); RFC 10017 (OAuth 2.0 for Browser-Based Applications) §5, §8; MDN: Set-Cookie", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-owasp-top10", @@ -164,7 +167,10 @@ "followUps": [ "Top 10'daki bir kategoriyi kod incelemesinde nasıl somut kontrollere çevirirsin?" ], - "source": "Kendi derleme — OWASP Top 10:2025 (Introduction); OWASP Top 10:2021 — How to use the OWASP Top 10 as a standard; OWASP ASVS" + "source": "Kendi derleme — OWASP Top 10:2025 (Introduction); OWASP Top 10:2021 — How to use the OWASP Top 10 as a standard; OWASP ASVS", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-broken-access-control", @@ -254,7 +260,10 @@ "followUps": [ "Yetki kontrolünün yeni eklenen bir uçta unutulmadığını kod tabanında nasıl güvenceye alırsın?" ], - "source": "Kendi derleme — OWASP Top 10:2025 A01 Broken Access Control; OWASP Authorization Cheat Sheet" + "source": "Kendi derleme — OWASP Top 10:2025 A01 Broken Access Control; OWASP Authorization Cheat Sheet", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-idor", @@ -329,7 +338,10 @@ "followUps": [ "Bir dosya indirme ucunda IDOR riskini azaltmak için isteği nasıl tasarlarsın?" ], - "source": "Kendi derleme — OWASP Insecure Direct Object Reference Prevention Cheat Sheet; OWASP API Security Top 10 2023 (API1 Broken Object Level Authorization)" + "source": "Kendi derleme — OWASP Insecure Direct Object Reference Prevention Cheat Sheet; OWASP API Security Top 10 2023 (API1 Broken Object Level Authorization)", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-mass-assignment", @@ -403,7 +415,10 @@ "followUps": [ "Aynı DTO'yu hem oluşturma hem güncelleme isteğinde kullanmak neden sorun çıkarabilir?" ], - "source": "Kendi derleme — OWASP Mass Assignment Cheat Sheet; OWASP API Security Top 10 2023 (API3 Broken Object Property Level Authorization)" + "source": "Kendi derleme — OWASP Mass Assignment Cheat Sheet; OWASP API Security Top 10 2023 (API3 Broken Object Property Level Authorization)", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-path-traversal", @@ -478,7 +493,10 @@ "followUps": [ "Kullanıcının yüklediği bir ZIP arşivi açılırken path traversal nasıl ortaya çıkabilir?" ], - "source": "Kendi derleme — OWASP Path Traversal (Attacks); OWASP Input Validation Cheat Sheet" + "source": "Kendi derleme — OWASP Path Traversal (Attacks); OWASP Input Validation Cheat Sheet", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-allowlist-validation", @@ -553,7 +571,10 @@ "followUps": [ "Kullanıcının serbest metin girdiği bir yorum alanında allowlist nasıl uygulanır?" ], - "source": "Kendi derleme — OWASP Input Validation Cheat Sheet" + "source": "Kendi derleme — OWASP Input Validation Cheat Sheet", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-file-upload", @@ -643,7 +664,10 @@ "followUps": [ "Kullanıcıların yüklediği görselleri uygulamanın kendi alan adından sunmak neden risklidir?" ], - "source": "Kendi derleme — OWASP File Upload Cheat Sheet" + "source": "Kendi derleme — OWASP File Upload Cheat Sheet", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-open-redirect", @@ -717,7 +741,10 @@ "followUps": [ "Girişten sonra kullanıcıyı geldiği sayfaya döndürmek için göreli bir yol kabul ederken nelere dikkat edersin?" ], - "source": "Kendi derleme — OWASP Unvalidated Redirects and Forwards Cheat Sheet; RFC 9700 §4.11 (Open Redirection)" + "source": "Kendi derleme — OWASP Unvalidated Redirects and Forwards Cheat Sheet; RFC 9700 §4.11 (Open Redirection)", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-ssrf", @@ -806,7 +833,10 @@ "followUps": [ "Kullanıcının verdiği bir adresten görsel indiren bir özellikte DNS rebinding riskini nasıl kapatırsın?" ], - "source": "Kendi derleme — OWASP Server-Side Request Forgery Prevention Cheat Sheet; OWASP Top 10:2025 A01 Broken Access Control" + "source": "Kendi derleme — OWASP Server-Side Request Forgery Prevention Cheat Sheet; OWASP Top 10:2025 A01 Broken Access Control", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-command-injection", @@ -880,7 +910,10 @@ "followUps": [ "Girdiyi kaçış karakterleriyle temizlemek neden argüman listesi kullanmaktan daha zayıf bir savunmadır?" ], - "source": "Kendi derleme — OWASP OS Command Injection Defense Cheat Sheet" + "source": "Kendi derleme — OWASP OS Command Injection Defense Cheat Sheet", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-orm-injection", @@ -955,7 +988,10 @@ "followUps": [ "Spring Data JPA'da `@Query` ile yazılmış bir sorguda kullanıcıdan gelen sıralama alanını güvenli biçimde nasıl uygularsın?" ], - "source": "Kendi derleme — OWASP SQL Injection Prevention Cheat Sheet; OWASP Query Parameterization Cheat Sheet; Microsoft Learn: EF Core SQL Queries" + "source": "Kendi derleme — OWASP SQL Injection Prevention Cheat Sheet; OWASP Query Parameterization Cheat Sheet; Microsoft Learn: EF Core SQL Queries", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-second-order-sqli", @@ -1030,7 +1066,10 @@ "followUps": [ "Bir kod incelemesinde second-order injection riskini taşıyan sorguları nasıl bulursun?" ], - "source": "Kendi derleme — OWASP SQL Injection Prevention Cheat Sheet; OWASP WSTG: Testing for SQL Injection" + "source": "Kendi derleme — OWASP SQL Injection Prevention Cheat Sheet; OWASP WSTG: Testing for SQL Injection", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-ssti", @@ -1105,7 +1144,10 @@ "followUps": [ "Kullanıcının adını içeren bir e-postayı şablon motoruyla üretirken adı şablona nasıl vermelisin?" ], - "source": "Kendi derleme — OWASP WSTG: Testing for Server-side Template Injection; PortSwigger Web Security Academy: Server-side template injection" + "source": "Kendi derleme — OWASP WSTG: Testing for Server-side Template Injection; PortSwigger Web Security Academy: Server-side template injection", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-xxe", @@ -1180,7 +1222,10 @@ "followUps": [ "Bir API yalnızca JSON kabul ediyorsa XXE riski tamamen ortadan kalkar mı?" ], - "source": "Kendi derleme — OWASP XML External Entity Prevention Cheat Sheet" + "source": "Kendi derleme — OWASP XML External Entity Prevention Cheat Sheet", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-insecure-deserialization", @@ -1254,7 +1299,10 @@ "followUps": [ "Bir oturum nesnesini serileştirip istemcide cookie olarak taşımak hangi koşulda kabul edilebilir?" ], - "source": "Kendi derleme — OWASP Deserialization Cheat Sheet" + "source": "Kendi derleme — OWASP Deserialization Cheat Sheet", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-xss-types", @@ -1329,7 +1377,10 @@ "followUps": [ "Bir XSS açığı HttpOnly cookie kullanan bir uygulamada hâlâ ne yapabilir?" ], - "source": "Kendi derleme — OWASP Cross Site Scripting Prevention Cheat Sheet; OWASP DOM based XSS Prevention Cheat Sheet; OWASP Types of XSS" + "source": "Kendi derleme — OWASP Cross Site Scripting Prevention Cheat Sheet; OWASP DOM based XSS Prevention Cheat Sheet; OWASP Types of XSS", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-xss-output-encoding", @@ -1419,7 +1470,10 @@ "followUps": [ "Kullanıcı verisini sayfadaki bir JavaScript değişkenine aktarman gerekirse bunu güvenle nasıl yaparsın?" ], - "source": "Kendi derleme — OWASP Cross Site Scripting Prevention Cheat Sheet; OWASP Input Validation Cheat Sheet" + "source": "Kendi derleme — OWASP Cross Site Scripting Prevention Cheat Sheet; OWASP Input Validation Cheat Sheet", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-dom-xss", @@ -1493,7 +1547,10 @@ "followUps": [ "Bir SPA'da route parametresini sayfaya basarken framework kullanıyorsan DOM XSS riski nerede kalır?" ], - "source": "Kendi derleme — OWASP DOM based XSS Prevention Cheat Sheet; MDN: Trusted Types API" + "source": "Kendi derleme — OWASP DOM based XSS Prevention Cheat Sheet; MDN: Trusted Types API", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-csp", @@ -1568,7 +1625,10 @@ "followUps": [ "CSP'yi `` etiketiyle vermek ile yanıt başlığıyla vermek arasında ne fark vardır?" ], - "source": "Kendi derleme — MDN: Content Security Policy (CSP); OWASP Content Security Policy Cheat Sheet" + "source": "Kendi derleme — MDN: Content Security Policy (CSP); OWASP Content Security Policy Cheat Sheet", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-csp-nonce-hash", @@ -1658,7 +1718,10 @@ "followUps": [ "Önbellekten sunulan bir HTML sayfasında nonce tabanlı CSP neden sorun çıkarır?" ], - "source": "Kendi derleme — MDN: Content Security Policy (CSP) — strict CSP, nonces, hashes, strict-dynamic; OWASP Content Security Policy Cheat Sheet" + "source": "Kendi derleme — MDN: Content Security Policy (CSP) — strict CSP, nonces, hashes, strict-dynamic; OWASP Content Security Policy Cheat Sheet", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-clickjacking", @@ -1732,7 +1795,10 @@ "followUps": [ "Uygulamanın yalnızca kendi alt alan adlarında çerçevelenmesine izin vermesi gerekiyorsa başlığı nasıl yazarsın?" ], - "source": "Kendi derleme — OWASP Clickjacking Defense Cheat Sheet; MDN: X-Frame-Options, CSP frame-ancestors" + "source": "Kendi derleme — OWASP Clickjacking Defense Cheat Sheet; MDN: X-Frame-Options, CSP frame-ancestors", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-hash-vs-encryption", @@ -1806,7 +1872,10 @@ "followUps": [ "Bir sistem parolanı unuttuğunda sana mevcut parolanı e-postayla gönderebiliyorsa bu, parolaların nasıl saklandığı hakkında ne söyler?" ], - "source": "Kendi derleme — OWASP Password Storage Cheat Sheet (Hashing vs Encryption)" + "source": "Kendi derleme — OWASP Password Storage Cheat Sheet (Hashing vs Encryption)", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-salt-pepper", @@ -1881,7 +1950,10 @@ "followUps": [ "Pepper'ı uygulamanın yapılandırma dosyasına koymak neden HSM'de tutmaktan daha zayıftır?" ], - "source": "Kendi derleme — OWASP Password Storage Cheat Sheet (Salting, Peppering); NIST SP 800-63B-4 §3.1.1.2" + "source": "Kendi derleme — OWASP Password Storage Cheat Sheet (Salting, Peppering); NIST SP 800-63B-4 §3.1.1.2", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-slow-password-hash", @@ -1956,7 +2028,10 @@ "followUps": [ "Parolaları hâlâ tuzsuz MD5 ile saklayan eski bir sistemde, kullanıcıları zorla sıfırlatmadan daha güçlü bir algoritmaya nasıl geçersin?" ], - "source": "Kendi derleme — OWASP Password Storage Cheat Sheet" + "source": "Kendi derleme — OWASP Password Storage Cheat Sheet", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-password-policy", @@ -2046,7 +2121,10 @@ "followUps": [ "Yeni bir parolayı sızmış parola listesiyle karşılaştırırken parolanın kendisini üçüncü bir servise göndermeden bunu nasıl yaparsın?" ], - "source": "Kendi derleme — NIST SP 800-63B-4 §3.1.1, §3.2.2, Ek A; NIST SP 800-63 FAQ (Q-B05)" + "source": "Kendi derleme — NIST SP 800-63B-4 §3.1.1, §3.2.2, Ek A; NIST SP 800-63 FAQ (Q-B05)", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-symmetric-vs-asymmetric", @@ -2121,7 +2199,10 @@ "followUps": [ "Veritabanında bir kolonu şifreliyorsan şifreleme anahtarını nerede tutar, nasıl döndürürsün?" ], - "source": "Kendi derleme — OWASP Cryptographic Storage Cheat Sheet; RFC 8446 §1.2" + "source": "Kendi derleme — OWASP Cryptographic Storage Cheat Sheet; RFC 8446 §1.2", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-hmac-vs-signature", @@ -2211,7 +2292,10 @@ "followUps": [ "Bir webhook'un gerçekten beklenen servisten geldiğini HMAC ile nasıl doğrularsın; karşılaştırmayı neden sabit zamanlı yaparsın?" ], - "source": "Kendi derleme — RFC 2104 (HMAC); NIST FIPS 186-5 (Digital Signature Standard)" + "source": "Kendi derleme — RFC 2104 (HMAC); NIST FIPS 186-5 (Digital Signature Standard)", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-mfa-phishing", @@ -2286,7 +2370,10 @@ "followUps": [ "Kullanıcılarının bir kısmı yalnızca SMS ile doğrulama yapabiliyorsa bu yöntemin riskini nasıl azaltırsın?" ], - "source": "Kendi derleme — NIST SP 800-63B-4 §3.1.3 (Out-of-Band), §3.2.5 (Phishing Resistance); OWASP Multifactor Authentication Cheat Sheet" + "source": "Kendi derleme — NIST SP 800-63B-4 §3.1.3 (Out-of-Band), §3.2.5 (Phishing Resistance); OWASP Multifactor Authentication Cheat Sheet", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-passkeys", @@ -2376,7 +2463,10 @@ "followUps": [ "Kullanıcı passkey'inin bulunduğu tek cihazını kaybederse hesap kurtarma akışı phishing direncini nasıl bozabilir?" ], - "source": "Kendi derleme — FIDO Alliance: Passkeys; NIST SP 800-63B-4 §3.2.5 ve Ek B (Syncable Authenticators); W3C Web Authentication" + "source": "Kendi derleme — FIDO Alliance: Passkeys; NIST SP 800-63B-4 §3.2.5 ve Ek B (Syncable Authenticators); W3C Web Authentication", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-session-fixation", @@ -2451,7 +2541,10 @@ "followUps": [ "Token kullanan stateless bir API'de session fixation'a benzeyen bir risk var mı?" ], - "source": "Kendi derleme — OWASP Session Management Cheat Sheet (Session ID renewal, Session Fixation)" + "source": "Kendi derleme — OWASP Session Management Cheat Sheet (Session ID renewal, Session Fixation)", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-credential-stuffing", @@ -2541,7 +2634,10 @@ "followUps": [ "Giriş ucunu IP bazlı hız sınırıyla koruyorsan binlerce farklı IP'den gelen dağıtık bir denemeyi nasıl fark edersin?" ], - "source": "Kendi derleme — OWASP Credential Stuffing Prevention Cheat Sheet; OWASP Authentication Cheat Sheet; NIST SP 800-63B-4 §3.2.2" + "source": "Kendi derleme — OWASP Credential Stuffing Prevention Cheat Sheet; OWASP Authentication Cheat Sheet; NIST SP 800-63B-4 §3.2.2", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-oauth-vs-oidc", @@ -2631,7 +2727,10 @@ "followUps": [ "Bir SPA kullanıcı adını göstermek için access token'ın içini çözüp okuyorsa bu neden kırılgan bir tasarımdır?" ], - "source": "Kendi derleme — RFC 6749 §1; OpenID Connect Core 1.0 §1, §2, §3.1.3.7, §5.3" + "source": "Kendi derleme — RFC 6749 §1; OpenID Connect Core 1.0 §1, §2, §3.1.3.7, §5.3", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-auth-code-pkce", @@ -2721,7 +2820,10 @@ "followUps": [ "PKCE kullanılan bir akışta `state` parametresine hâlâ ihtiyaç var mı?" ], - "source": "Kendi derleme — RFC 7636 §1, §4; RFC 9700 §2.1, §2.1.1; RFC 6749 §4.1" + "source": "Kendi derleme — RFC 7636 §1, §4; RFC 9700 §2.1, §2.1.1; RFC 6749 §4.1", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-implicit-flow", @@ -2811,7 +2913,10 @@ "followUps": [ "Implicit flow kullanan eski bir SPA'yı authorization code + PKCE'ye geçirirken token'ları tarayıcıda nerede tutarsın?" ], - "source": "Kendi derleme — RFC 9700 §2.1.2, §4.2, §4.3, §4.6; RFC 6749 §4.2; draft-ietf-oauth-v2-1-16" + "source": "Kendi derleme — RFC 9700 §2.1.2, §4.2, §4.3, §4.6; RFC 6749 §4.2; draft-ietf-oauth-v2-1-16", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-jwt-signature", @@ -2886,7 +2991,10 @@ "followUps": [ "Bir mikroservis yalnızca imzayı doğrulayıp `aud`'u kontrol etmezse hangi senaryoda başka bir servisin token'ını kabul eder?" ], - "source": "Kendi derleme — RFC 7519 (JWT); RFC 8725 §3.8, §3.9; OWASP JSON Web Token Cheat Sheet" + "source": "Kendi derleme — RFC 7519 (JWT); RFC 8725 §3.8, §3.9; OWASP JSON Web Token Cheat Sheet", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-jwt-algorithm", @@ -2976,7 +3084,10 @@ "followUps": [ "Yayıncı imzalama anahtarını döndürdüğünde doğrulayıcı servisler kesintisiz nasıl geçiş yapar?" ], - "source": "Kendi derleme — RFC 8725 §2.1, §2.2, §3.1, §3.2, §3.5, §3.10; RFC 7518 (JWA)" + "source": "Kendi derleme — RFC 8725 §2.1, §2.2, §3.1, §3.2, §3.5, §3.10; RFC 7518 (JWA)", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-refresh-token-rotation", @@ -3066,7 +3177,10 @@ "followUps": [ "Rotation kullanan bir sistemde kullanıcının iki sekmesi aynı anda yenileme yaparsa ne olur, bunu nasıl ele alırsın?" ], - "source": "Kendi derleme — RFC 9700 §2.2.2, §4.14.2; RFC 9449 (DPoP); RFC 8705 (OAuth mTLS)" + "source": "Kendi derleme — RFC 9700 §2.2.2, §4.14.2; RFC 9449 (DPoP); RFC 8705 (OAuth mTLS)", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-leaked-secret", @@ -3156,7 +3270,10 @@ "followUps": [ "Bir sızıntıdan sonra git geçmişini yeniden yazmanın ekip için yan etkileri nelerdir?" ], - "source": "Kendi derleme — OWASP Secrets Management Cheat Sheet" + "source": "Kendi derleme — OWASP Secrets Management Cheat Sheet", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-dependency-scanning", @@ -3246,7 +3363,10 @@ "followUps": [ "SCA aracı uygulamanın hiç çağırmadığı bir fonksiyondaki kritik bir açığı raporlarsa önceliği nasıl belirlersin?" ], - "source": "Kendi derleme — OWASP Top 10:2025 A03 Software Supply Chain Failures; OWASP Vulnerable Dependency Management Cheat Sheet" + "source": "Kendi derleme — OWASP Top 10:2025 A03 Software Supply Chain Failures; OWASP Vulnerable Dependency Management Cheat Sheet", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-least-privilege", @@ -3321,7 +3441,10 @@ "followUps": [ "Tek bir veritabanı kullanıcısıyla hem uygulama sorgularını hem migration'ları çalıştıran bir sistemi bu ilkeye göre nasıl ayırırsın?" ], - "source": "Kendi derleme — OWASP Secure Product Design Cheat Sheet (Principle of Least Privilege); Saltzer ve Schroeder, The Protection of Information in Computer Systems (1975)" + "source": "Kendi derleme — OWASP Secure Product Design Cheat Sheet (Principle of Least Privilege); Saltzer ve Schroeder, The Protection of Information in Computer Systems (1975)", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-defense-in-depth", @@ -3396,7 +3519,10 @@ "followUps": [ "Bir API'nin önüne WAF koymak neden uygulamadaki girdi doğrulamanın yerine geçmez?" ], - "source": "Kendi derleme — OWASP Secure Product Design Cheat Sheet (Defense in Depth)" + "source": "Kendi derleme — OWASP Secure Product Design Cheat Sheet (Defense in Depth)", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-fail-secure", @@ -3471,7 +3597,10 @@ "followUps": [ "Bir feature flag servisi yanıt vermediğinde yetki kontrolü henüz tamamlanmamış yeni bir özelliğin açılmasını nasıl önlersin?" ], - "source": "Kendi derleme — OWASP Top 10:2025 A10 Mishandling of Exceptional Conditions; OWASP Secure Product Design Cheat Sheet; OWASP Error Handling Cheat Sheet" + "source": "Kendi derleme — OWASP Top 10:2025 A10 Mishandling of Exceptional Conditions; OWASP Secure Product Design Cheat Sheet; OWASP Error Handling Cheat Sheet", + "origin": { + "kind": "own" + } }, { "id": "cybersecurity-secure-logging", @@ -3561,7 +3690,10 @@ "followUps": [ "Bir hata loguna kullanıcının gönderdiği isteğin tamamını eklemek neden hem gizlilik hem güvenlik sorunu yaratabilir?" ], - "source": "Kendi derleme — OWASP Logging Cheat Sheet; OWASP Top 10:2025 A09 Security Logging and Alerting Failures" + "source": "Kendi derleme — OWASP Logging Cheat Sheet; OWASP Top 10:2025 A09 Security Logging and Alerting Failures", + "origin": { + "kind": "own" + } } ] } diff --git a/src/content/tr/content-docker.json b/src/content/tr/content-docker.json index 6c584d8..22609c6 100644 --- a/src/content/tr/content-docker.json +++ b/src/content/tr/content-docker.json @@ -62,7 +62,10 @@ "Docker Compose kullandığında servisler birbirini nasıl buluyor?", "Konteyner içinden host makinedeki bir servise nasıl erişirsin?" ], - "source": "Kendi derleme — Docker Docs: Bridge network driver (Differences between user-defined bridges and the default bridge), Port publishing and mapping" + "source": "Kendi derleme — Docker Docs: Bridge network driver (Differences between user-defined bridges and the default bridge), Port publishing and mapping", + "origin": { + "kind": "own" + } }, { "id": "docker-image-vs-container", @@ -135,7 +138,10 @@ "followUps": [ "Çalışan bir container'da yaptığın değişikliği yeni bir image'a nasıl dönüştürürsün ve bu neden önerilmez?" ], - "source": "Kendi derleme — Docker Docs: Docker overview (Images, Containers), Storage drivers (Images and layers, Container and layers)" + "source": "Kendi derleme — Docker Docs: Docker overview (Images, Containers), Storage drivers (Images and layers, Container and layers)", + "origin": { + "kind": "own" + } }, { "id": "docker-vs-vm", @@ -219,7 +225,10 @@ "followUps": [ "Docker Desktop Windows'ta Linux container'larını nasıl çalıştırır?" ], - "source": "Kendi derleme — Docker Docs: What is a container? (Containers versus virtual machines), Docker overview (The underlying technology), Resource constraints" + "source": "Kendi derleme — Docker Docs: What is a container? (Containers versus virtual machines), Docker overview (The underlying technology), Resource constraints", + "origin": { + "kind": "own" + } }, { "id": "docker-layer-cache", @@ -291,7 +300,10 @@ "followUps": [ "Önbelleği tamamen yok sayarak build almak için ne yaparsın, ne zaman gerekir?" ], - "source": "Kendi derleme — Docker Docs: Docker build cache, Optimize cache usage in builds (Order your layers), Building best practices (apt-get)" + "source": "Kendi derleme — Docker Docs: Docker build cache, Optimize cache usage in builds (Order your layers), Building best practices (apt-get)", + "origin": { + "kind": "own" + } }, { "id": "docker-multi-stage", @@ -361,7 +373,10 @@ "followUps": [ "Son aşamada distroless image kullanmanın artısı ve eksisi nedir?" ], - "source": "Kendi derleme — Docker Docs: Multi-stage builds, Docker build cache" + "source": "Kendi derleme — Docker Docs: Multi-stage builds, Docker build cache", + "origin": { + "kind": "own" + } }, { "id": "docker-cmd-vs-entrypoint", @@ -433,7 +448,10 @@ "followUps": [ "Container başlarken önce bir hazırlık script'i çalıştırıp sonra uygulamayı başlatmak istersen ENTRYPOINT'i nasıl yazarsın?" ], - "source": "Kendi derleme — Docker Docs: Dockerfile reference (CMD, ENTRYPOINT, Understand how CMD and ENTRYPOINT interact), docker container stop" + "source": "Kendi derleme — Docker Docs: Dockerfile reference (CMD, ENTRYPOINT, Understand how CMD and ENTRYPOINT interact), docker container stop", + "origin": { + "kind": "own" + } }, { "id": "docker-copy-vs-add", @@ -506,7 +524,10 @@ "followUps": [ "Build context nedir ve .dockerignore build'i nasıl etkiler?" ], - "source": "Kendi derleme — Docker Docs: Building best practices (ADD or COPY), Dockerfile reference (ADD)" + "source": "Kendi derleme — Docker Docs: Building best practices (ADD or COPY), Dockerfile reference (ADD)", + "origin": { + "kind": "own" + } }, { "id": "docker-volume-vs-bind", @@ -589,7 +610,10 @@ "followUps": [ "Bir PostgreSQL volume'unun yedeğini nasıl alırsın?" ], - "source": "Kendi derleme — Docker Docs: Volumes, Bind mounts, Storage drivers, docker compose down, docker volume prune" + "source": "Kendi derleme — Docker Docs: Volumes, Bind mounts, Storage drivers, docker compose down, docker volume prune", + "origin": { + "kind": "own" + } }, { "id": "docker-expose-vs-publish", @@ -660,7 +684,10 @@ "followUps": [ "Container'ın yayınlanmış portlarını hangi komutla görürsün?" ], - "source": "Kendi derleme — Docker Docs: Dockerfile reference (EXPOSE), Port publishing and mapping, Packet filtering and firewalls (Docker and ufw)" + "source": "Kendi derleme — Docker Docs: Dockerfile reference (EXPOSE), Port publishing and mapping, Packet filtering and firewalls (Docker and ufw)", + "origin": { + "kind": "own" + } }, { "id": "docker-compose", @@ -728,7 +755,10 @@ "followUps": [ "Compose'ta up ile up --build arasındaki fark nedir?" ], - "source": "Kendi derleme — Docker Docs: Compose application model, Networking in Compose, Use Compose in production" + "source": "Kendi derleme — Docker Docs: Compose application model, Networking in Compose, Use Compose in production", + "origin": { + "kind": "own" + } }, { "id": "docker-depends-on-healthcheck", @@ -807,7 +837,10 @@ "followUps": [ "Spring Boot uygulaması için healthcheck'i neyle yazarsın?" ], - "source": "Kendi derleme — Docker Docs: Control startup and shutdown order in Compose" + "source": "Kendi derleme — Docker Docs: Control startup and shutdown order in Compose", + "origin": { + "kind": "own" + } }, { "id": "docker-env-secrets", @@ -875,7 +908,10 @@ "followUps": [ "Environment variable'ların docker inspect çıktısında görünmesi neden risklidir?" ], - "source": "Kendi derleme — Docker Docs: Secrets in Compose, Build secrets, Building best practices" + "source": "Kendi derleme — Docker Docs: Secrets in Compose, Build secrets, Building best practices", + "origin": { + "kind": "own" + } }, { "id": "docker-image-size", @@ -954,7 +990,10 @@ "followUps": [ "Distroless image kullanan bir container'da hata ayıklamak neden zordur?" ], - "source": "Kendi derleme — Docker Docs: Building best practices (base image, multi-stage builds, apt-get, .dockerignore); Docker Hub: alpine; musl libc FAQ" + "source": "Kendi derleme — Docker Docs: Building best practices (base image, multi-stage builds, apt-get, .dockerignore); Docker Hub: alpine; musl libc FAQ", + "origin": { + "kind": "own" + } }, { "id": "docker-debug-container", @@ -1034,7 +1073,10 @@ "followUps": [ "Container içinde shell yoksa (distroless) nasıl hata ayıklarsın?" ], - "source": "Kendi derleme — Docker Docs: docker container run (Exit status), Docker Engine API (ContainerState); GNU Bash Reference Manual: Exit Status" + "source": "Kendi derleme — Docker Docs: docker container run (Exit status), Docker Engine API (ContainerState); GNU Bash Reference Manual: Exit Status", + "origin": { + "kind": "own" + } }, { "id": "docker-exits-immediately", @@ -1115,7 +1157,10 @@ "followUps": [ "Windows'ta geliştirip Linux container'ında çalıştırılan script'lerde CRLF sorununu kalıcı olarak nasıl önlersin?" ], - "source": "Kendi derleme — Docker Docs: Run multiple processes in a container, Running containers (Exit status), docker container run" + "source": "Kendi derleme — Docker Docs: Run multiple processes in a container, Running containers (Exit status), docker container run", + "origin": { + "kind": "own" + } }, { "id": "docker-restart-policy", @@ -1180,7 +1225,10 @@ "followUps": [ "Docker servisinin kendisi sunucu açılışında başlamazsa restart policy işe yarar mı?" ], - "source": "Kendi derleme — Docker Docs: Start containers automatically, Docker Engine API (RestartCount)" + "source": "Kendi derleme — Docker Docs: Start containers automatically, Docker Engine API (RestartCount)", + "origin": { + "kind": "own" + } }, { "id": "docker-resource-limits", @@ -1262,7 +1310,10 @@ "followUps": [ "Container'ın bellek kullanımını anlık olarak nasıl izlersin?" ], - "source": "Kendi derleme — Docker Docs: Resource constraints, Compose Deploy Specification (resources); Oracle Java SE 21: java komutu (UseContainerSupport, MaxRAMPercentage)" + "source": "Kendi derleme — Docker Docs: Resource constraints, Compose Deploy Specification (resources); Oracle Java SE 21: java komutu (UseContainerSupport, MaxRAMPercentage)", + "origin": { + "kind": "own" + } }, { "id": "docker-non-root", @@ -1347,7 +1398,10 @@ "followUps": [ "Bind mount edilmiş bir klasöre root olmayan kullanıcı yazamıyorsa sorunu nasıl çözersin?" ], - "source": "Kendi derleme — Docker Docs: Building best practices (USER), Running containers (User, Runtime privilege and Linux capabilities), Docker Engine security, docker container run; Docker Engine 20.10 release notes (moby/moby#41030)" + "source": "Kendi derleme — Docker Docs: Building best practices (USER), Running containers (User, Runtime privilege and Linux capabilities), Docker Engine security, docker container run; Docker Engine 20.10 release notes (moby/moby#41030)", + "origin": { + "kind": "own" + } }, { "id": "docker-image-tags", @@ -1420,7 +1474,10 @@ "followUps": [ "Kendi uygulamanın image'ını CI'da nasıl tag'lersin?" ], - "source": "Kendi derleme — Docker Docs: docker image tag, docker image pull (Pull an image by digest), Building best practices (Pin base image versions)" + "source": "Kendi derleme — Docker Docs: docker image tag, docker image pull (Pull an image by digest), Building best practices (Pin base image versions)", + "origin": { + "kind": "own" + } }, { "id": "docker-network-drivers", @@ -1490,7 +1547,10 @@ "followUps": [ "host ağ modunda çalışan iki container aynı portu dinlemeye çalışırsa ne olur?" ], - "source": "Kendi derleme — Docker Docs: Network drivers, Host network driver, None network driver, Bridge network driver" + "source": "Kendi derleme — Docker Docs: Network drivers, Host network driver, None network driver, Bridge network driver", + "origin": { + "kind": "own" + } }, { "id": "docker-registry", @@ -1574,7 +1634,10 @@ "followUps": [ "Sunucunun özel bir registry'den image çekebilmesi için kimlik doğrulamayı nasıl yaparsın?" ], - "source": "Kendi derleme — Docker Docs: What is a registry?, Docker overview (Docker registries), docker image tag" + "source": "Kendi derleme — Docker Docs: What is a registry?, Docker overview (Docker registries), docker image tag", + "origin": { + "kind": "own" + } } ] } diff --git a/src/content/tr/content-dotnet.json b/src/content/tr/content-dotnet.json index 9003f7e..e665d6f 100644 --- a/src/content/tr/content-dotnet.json +++ b/src/content/tr/content-dotnet.json @@ -80,7 +80,10 @@ "Singleton bir servisin içine Scoped bir servisi enjekte etmeye çalışırsan ne olur (Captive Dependency)?", "Arka plan görevlerinde (BackgroundService) Scoped servisleri nasıl kullanırsın?" ], - "source": "Kendi derleme — Microsoft Learn: .NET Service lifetimes; EF Core: DbContext Lifetime, Configuration, and Initialization" + "source": "Kendi derleme — Microsoft Learn: .NET Service lifetimes; EF Core: DbContext Lifetime, Configuration, and Initialization", + "origin": { + "kind": "own" + } }, { "id": "dotnet-iqueryable-ienumerable", @@ -144,7 +147,10 @@ "Veritabanından çektiğin verilerde IQueryable içinde özel bir C# metodunu (örneğin ToUpper()) çağırırsan EF Core nasıl tepki verir?", "IQueryable arayüzünü nerede IEnumerable arayüzüne dönüştürmek (AsEnumerable çağrısı) mantıklı olabilir?" ], - "source": "Kendi derleme — Microsoft Learn: EF Core Client vs. Server Evaluation, How Queries Work" + "source": "Kendi derleme — Microsoft Learn: EF Core Client vs. Server Evaluation, How Queries Work", + "origin": { + "kind": "own" + } } ] } diff --git a/src/content/tr/content-java.json b/src/content/tr/content-java.json index 68baf49..5b4dc1c 100644 --- a/src/content/tr/content-java.json +++ b/src/content/tr/content-java.json @@ -86,7 +86,10 @@ "followUps": [ "== ile equals arasındaki fark nedir?" ], - "source": "Kendi derleme — Java SE 21 API: Object.equals ve Object.hashCode sözleşmesi" + "source": "Kendi derleme — Java SE 21 API: Object.equals ve Object.hashCode sözleşmesi", + "origin": { + "kind": "own" + } }, { "id": "java-string-immutable", @@ -171,7 +174,10 @@ "followUps": [ "Döngü içinde String birleştirmek neden yavaştır?" ], - "source": "Kendi derleme — Java SE 21 API: String; JLS §3.10.5 String Literals" + "source": "Kendi derleme — Java SE 21 API: String; JLS §3.10.5 String Literals", + "origin": { + "kind": "own" + } }, { "id": "java-stringbuilder", @@ -259,7 +265,10 @@ "followUps": [ "StringBuilder'ın başlangıç kapasitesini vermek neden performansa yardımcı olabilir?" ], - "source": "Kendi derleme — Java SE 21 API: StringBuilder, StringBuffer; JEP 280: Indify String Concatenation" + "source": "Kendi derleme — Java SE 21 API: StringBuilder, StringBuffer; JEP 280: Indify String Concatenation", + "origin": { + "kind": "own" + } }, { "id": "java-hashmap-internals", @@ -345,7 +354,10 @@ "followUps": [ "HashMap null anahtar kabul eder mi? Hashtable ve ConcurrentHashMap'te durum nedir?" ], - "source": "Kendi derleme — OpenJDK 21: HashMap kaynak kodu ve API belgesi" + "source": "Kendi derleme — OpenJDK 21: HashMap kaynak kodu ve API belgesi", + "origin": { + "kind": "own" + } }, { "id": "java-arraylist-vs-linkedlist", @@ -432,7 +444,10 @@ "followUps": [ "ArrayList'in kapasitesi dolduğunda içeride tam olarak ne olur?" ], - "source": "Kendi derleme — Java SE 21 API: ArrayList, LinkedList, ArrayDeque" + "source": "Kendi derleme — Java SE 21 API: ArrayList, LinkedList, ArrayDeque", + "origin": { + "kind": "own" + } }, { "id": "java-checked-unchecked", @@ -504,7 +519,10 @@ "followUps": [ "Bir checked exception'ı yakalayıp RuntimeException'a sarmak ne zaman doğru bir yaklaşımdır?" ], - "source": "Kendi derleme — JLS §11.1.1 The Kinds of Exceptions" + "source": "Kendi derleme — JLS §11.1.1 The Kinds of Exceptions", + "origin": { + "kind": "own" + } }, { "id": "java-final-finally-finalize", @@ -577,7 +595,10 @@ "followUps": [ "finally bloğunun çalışmadığı bir durum var mıdır?" ], - "source": "Kendi derleme — JLS §4.12.4 final Variables, §14.20.2 try-finally; JEP 421" + "source": "Kendi derleme — JLS §4.12.4 final Variables, §14.20.2 try-finally; JEP 421", + "origin": { + "kind": "own" + } }, { "id": "java-interface-vs-abstract", @@ -651,7 +672,10 @@ "followUps": [ "Bir sınıf aynı imzalı default metoda sahip iki interface'i uygularsa ne olur?" ], - "source": "Kendi derleme — JLS §9 Interfaces, §8.1.1.1 abstract Classes" + "source": "Kendi derleme — JLS §9 Interfaces, §8.1.1.1 abstract Classes", + "origin": { + "kind": "own" + } }, { "id": "java-oop-principles", @@ -730,7 +754,10 @@ "followUps": [ "Overloading ile overriding arasındaki fark nedir?" ], - "source": "Kendi derleme — Nesne yönelimli programlama temel ilkeleri; Effective Java, Item 18: Favor composition over inheritance" + "source": "Kendi derleme — Nesne yönelimli programlama temel ilkeleri; Effective Java, Item 18: Favor composition over inheritance", + "origin": { + "kind": "own" + } }, { "id": "java-pass-by-value", @@ -800,7 +827,10 @@ "followUps": [ "Bir metodun iki Integer'ın değerini değiştiren bir swap metodu yazılabilir mi?" ], - "source": "Kendi derleme — JLS §8.4.1 Formal Parameters" + "source": "Kendi derleme — JLS §8.4.1 Formal Parameters", + "origin": { + "kind": "own" + } }, { "id": "java-memory-gc", @@ -873,7 +903,10 @@ "followUps": [ "Bir nesnenin young generation'dan old generation'a taşınması neye bağlıdır?" ], - "source": "Kendi derleme — JVM Specification §2.5 Run-Time Data Areas; HotSpot GC Tuning Guide (JDK 21)" + "source": "Kendi derleme — JVM Specification §2.5 Run-Time Data Areas; HotSpot GC Tuning Guide (JDK 21)", + "origin": { + "kind": "own" + } }, { "id": "java-synchronized-volatile", @@ -961,7 +994,10 @@ "followUps": [ "synchronized metot ile synchronized blok arasındaki fark nedir?" ], - "source": "Kendi derleme — JLS §17.4 Memory Model; Java SE 21 API: AtomicInteger" + "source": "Kendi derleme — JLS §17.4 Memory Model; Java SE 21 API: AtomicInteger", + "origin": { + "kind": "own" + } }, { "id": "java-concurrenthashmap", @@ -1044,7 +1080,10 @@ "followUps": [ "ConcurrentHashMap üzerinde iterasyon yaparken başka bir thread eleman eklerse ne olur?" ], - "source": "Kendi derleme — Java SE 21 API: ConcurrentHashMap, Collections.synchronizedMap, Hashtable" + "source": "Kendi derleme — Java SE 21 API: ConcurrentHashMap, Collections.synchronizedMap, Hashtable", + "origin": { + "kind": "own" + } }, { "id": "java-executor-service", @@ -1130,7 +1169,10 @@ "followUps": [ "Java 21'deki virtual thread'ler thread havuzu ihtiyacını nasıl değiştirir?" ], - "source": "Kendi derleme — Java SE 21 API: ExecutorService, Executors, ThreadPoolExecutor" + "source": "Kendi derleme — Java SE 21 API: ExecutorService, Executors, ThreadPoolExecutor", + "origin": { + "kind": "own" + } }, { "id": "java-stream-api", @@ -1219,7 +1261,10 @@ "followUps": [ "Stream içinde dışarıdaki bir listeye eleman ekleyen yan etkili bir lambda neden sorunludur?" ], - "source": "Kendi derleme — Java SE 21 API: java.util.stream paket açıklaması" + "source": "Kendi derleme — Java SE 21 API: java.util.stream paket açıklaması", + "origin": { + "kind": "own" + } }, { "id": "java-optional", @@ -1303,7 +1348,10 @@ "followUps": [ "Optional.of ile Optional.ofNullable arasındaki fark nedir?" ], - "source": "Kendi derleme — Java SE 21 API: Optional" + "source": "Kendi derleme — Java SE 21 API: Optional", + "origin": { + "kind": "own" + } }, { "id": "java-record", @@ -1388,7 +1436,10 @@ "followUps": [ "Record'ın içine bir List alanı koyarsan record gerçekten immutable olur mu?" ], - "source": "Kendi derleme — JEP 395: Records; JLS §8.10 Record Classes" + "source": "Kendi derleme — JEP 395: Records; JLS §8.10 Record Classes", + "origin": { + "kind": "own" + } }, { "id": "java-try-with-resources", @@ -1457,7 +1508,10 @@ "followUps": [ "Kendi sınıfını try-with-resources ile kullanılabilir yapmak için ne yaparsın?" ], - "source": "Kendi derleme — JLS §14.20.3 try-with-resources; Java SE 21 API: Throwable.getSuppressed" + "source": "Kendi derleme — JLS §14.20.3 try-with-resources; Java SE 21 API: Throwable.getSuppressed", + "origin": { + "kind": "own" + } }, { "id": "java-generics-erasure", @@ -1540,7 +1594,10 @@ "followUps": [ "List türündeki bir parametreye neden List veremezsin?" ], - "source": "Kendi derleme — JLS §4.6 Type Erasure" + "source": "Kendi derleme — JLS §4.6 Type Erasure", + "origin": { + "kind": "own" + } }, { "id": "java-comparable-comparator", @@ -1623,7 +1680,10 @@ "followUps": [ "TreeMap'e Comparable olmayan bir nesne anahtar olarak verirsen ne olur?" ], - "source": "Kendi derleme — Java SE 21 API: Comparable, Comparator" + "source": "Kendi derleme — Java SE 21 API: Comparable, Comparator", + "origin": { + "kind": "own" + } }, { "id": "java-virtual-threads", @@ -1707,7 +1767,10 @@ "followUps": [ "Virtual thread kullanan bir uygulamada ThreadLocal kullanmanın riski nedir?" ], - "source": "Kendi derleme — JEP 444: Virtual Threads; JEP 491; Spring Boot 3.2 sürüm notları" + "source": "Kendi derleme — JEP 444: Virtual Threads; JEP 491; Spring Boot 3.2 sürüm notları", + "origin": { + "kind": "own" + } }, { "id": "java-jvm-jdk-jre", @@ -1778,7 +1841,10 @@ "followUps": [ "Bir Docker image'ında tam JDK yerine jlink ile üretilmiş bir çalışma ortamı kullanmanın faydası nedir?" ], - "source": "Kendi derleme — JDK 21 belgeleri: Java SE platform bileşenleri, jlink" + "source": "Kendi derleme — JDK 21 belgeleri: Java SE platform bileşenleri, jlink", + "origin": { + "kind": "own" + } }, { "id": "java-bytecode-jit", @@ -1862,7 +1928,10 @@ "followUps": [ "JIT ile AOT derleme (GraalVM native image) arasındaki fark nedir, hangisi ne zaman tercih edilir?" ], - "source": "Kendi derleme — JVM Specification, HotSpot JIT derleyicisi" + "source": "Kendi derleme — JVM Specification, HotSpot JIT derleyicisi", + "origin": { + "kind": "own" + } }, { "id": "java-gc-stop-the-world", @@ -1948,7 +2017,10 @@ "followUps": [ "Bir uygulamada GC duraklamalarının soruna yol açıp açmadığını nasıl ölçersin?" ], - "source": "Kendi derleme — HotSpot Virtual Machine Garbage Collection Tuning Guide (JDK 21): G1, ZGC" + "source": "Kendi derleme — HotSpot Virtual Machine Garbage Collection Tuning Guide (JDK 21): G1, ZGC", + "origin": { + "kind": "own" + } }, { "id": "java-memory-leak", @@ -2021,7 +2093,10 @@ "followUps": [ "Sınırsız büyüyen bir cache'i sızıntı olmaktan nasıl çıkarırsın?" ], - "source": "Kendi derleme — Java SE 21 Troubleshooting Guide: Troubleshoot Memory Leaks" + "source": "Kendi derleme — Java SE 21 Troubleshooting Guide: Troubleshoot Memory Leaks", + "origin": { + "kind": "own" + } }, { "id": "java-oom-vs-soe", @@ -2080,7 +2155,10 @@ "followUps": [ "OutOfMemoryError aldığında ilk hangi bilgiyi toplarsın?" ], - "source": "Kendi derleme — Java SE 21 API: VirtualMachineError; Troubleshooting Guide" + "source": "Kendi derleme — Java SE 21 API: VirtualMachineError; Troubleshooting Guide", + "origin": { + "kind": "own" + } }, { "id": "java-classloader", @@ -2169,7 +2247,10 @@ "followUps": [ "Uygulama sunucuları ve hot reload araçları parent delegation'ı neden bazen tersine çevirir?" ], - "source": "Kendi derleme — JVM Specification §5.3 Creation and Loading; Java SE 21 API: ClassLoader" + "source": "Kendi derleme — JVM Specification §5.3 Creation and Loading; Java SE 21 API: ClassLoader", + "origin": { + "kind": "own" + } }, { "id": "java-immutable-class", @@ -2241,7 +2322,10 @@ "followUps": [ "record'un alanlarından biri List ise record gerçekten immutable olur mu?" ], - "source": "Kendi derleme — Effective Java (Bloch), Item 17: Minimize mutability" + "source": "Kendi derleme — Effective Java (Bloch), Item 17: Minimize mutability", + "origin": { + "kind": "own" + } }, { "id": "java-autoboxing-integer-cache", @@ -2328,7 +2412,10 @@ "followUps": [ "Bir Map'dan okunan değeri int'e atarken hangi hata riski vardır?" ], - "source": "Kendi derleme — JLS §5.1.7 Boxing Conversion; Java SE 21 API: Integer.valueOf" + "source": "Kendi derleme — JLS §5.1.7 Boxing Conversion; Java SE 21 API: Integer.valueOf", + "origin": { + "kind": "own" + } }, { "id": "java-throw-vs-throws", @@ -2386,7 +2473,10 @@ "followUps": [ "Bir metodu override ederken throws listesine yeni bir checked exception ekleyebilir misin? Neden?" ], - "source": "Kendi derleme — JLS §8.4.6 Method Throws, §14.18 The throw Statement" + "source": "Kendi derleme — JLS §8.4.6 Method Throws, §14.18 The throw Statement", + "origin": { + "kind": "own" + } }, { "id": "java-solid", @@ -2473,7 +2563,10 @@ "followUps": [ "SOLID'i aşırı uygulamanın (over-engineering) belirtileri nelerdir?" ], - "source": "Kendi derleme — Robert C. Martin, SOLID prensipleri" + "source": "Kendi derleme — Robert C. Martin, SOLID prensipleri", + "origin": { + "kind": "own" + } }, { "id": "java-open-closed", @@ -2546,7 +2639,10 @@ "followUps": [ "Java 21'de sealed arayüz ve exhaustive switch kullanmak Open/Closed ile çelişir mi?" ], - "source": "Kendi derleme — Bertrand Meyer ve Robert C. Martin, Open-Closed Principle" + "source": "Kendi derleme — Bertrand Meyer ve Robert C. Martin, Open-Closed Principle", + "origin": { + "kind": "own" + } }, { "id": "java-liskov", @@ -2621,7 +2717,10 @@ "followUps": [ "Collections.unmodifiableList'in add çağrısında exception fırlatması Liskov'u ihlal eder mi?" ], - "source": "Kendi derleme — Barbara Liskov, behavioral subtyping; SOLID prensipleri" + "source": "Kendi derleme — Barbara Liskov, behavioral subtyping; SOLID prensipleri", + "origin": { + "kind": "own" + } }, { "id": "java-dip-vs-di", @@ -2694,7 +2793,10 @@ "followUps": [ "Soyutlamayı (interface'i) alt seviye modülün değil üst seviye modülün paketine koymak neden önemlidir?" ], - "source": "Kendi derleme — Robert C. Martin, Dependency Inversion Principle; Martin Fowler, Inversion of Control Containers and the Dependency Injection pattern" + "source": "Kendi derleme — Robert C. Martin, Dependency Inversion Principle; Martin Fowler, Inversion of Control Containers and the Dependency Injection pattern", + "origin": { + "kind": "own" + } }, { "id": "java-fail-fast-fail-safe", @@ -2763,7 +2865,10 @@ "followUps": [ "CopyOnWriteArrayList hangi senaryoda uygundur, hangisinde pahalıya patlar?" ], - "source": "Kendi derleme — Java SE 21 API: ConcurrentModificationException, java.util.concurrent" + "source": "Kendi derleme — Java SE 21 API: ConcurrentModificationException, java.util.concurrent", + "origin": { + "kind": "own" + } }, { "id": "java-map-implementations", @@ -2851,7 +2956,10 @@ "followUps": [ "Çok thread'li bir ortamda sıralı bir map gerekirse hangi sınıfı kullanırsın?" ], - "source": "Kendi derleme — Java SE 21 API: HashMap, LinkedHashMap, TreeMap" + "source": "Kendi derleme — Java SE 21 API: HashMap, LinkedHashMap, TreeMap", + "origin": { + "kind": "own" + } }, { "id": "java-hashset-internals", @@ -2923,7 +3031,10 @@ "followUps": [ "HashSet'e eklenmiş bir nesnenin hashCode'unu etkileyen alanını değiştirirsen ne olur?" ], - "source": "Kendi derleme — Java SE 21 API: HashSet; Object.hashCode sözleşmesi" + "source": "Kendi derleme — Java SE 21 API: HashSet; Object.hashCode sözleşmesi", + "origin": { + "kind": "own" + } }, { "id": "java-immutable-collections", @@ -2994,7 +3105,10 @@ "followUps": [ "Bir metottan iç listeyi döndürürken List.copyOf ile unmodifiableList arasında nasıl seçim yaparsın?" ], - "source": "Kendi derleme — Java SE 21 API: List.of, Collections.unmodifiableList, Arrays.asList" + "source": "Kendi derleme — Java SE 21 API: List.of, Collections.unmodifiableList, Arrays.asList", + "origin": { + "kind": "own" + } }, { "id": "java-deadlock", @@ -3080,7 +3194,10 @@ "followUps": [ "Deadlock ile livelock ve starvation arasındaki fark nedir?" ], - "source": "Kendi derleme — Java Concurrency in Practice, Bölüm 10; JDK araçları: jstack, jcmd" + "source": "Kendi derleme — Java Concurrency in Practice, Bölüm 10; JDK araçları: jstack, jcmd", + "origin": { + "kind": "own" + } }, { "id": "java-completablefuture", @@ -3154,7 +3271,10 @@ "followUps": [ "thenApply ile thenApplyAsync arasındaki fark nedir; callback hangi thread'de çalışır?" ], - "source": "Kendi derleme — Java SE 21 API: CompletableFuture, CompletionStage" + "source": "Kendi derleme — Java SE 21 API: CompletableFuture, CompletionStage", + "origin": { + "kind": "own" + } }, { "id": "java-runnable-vs-callable", @@ -3225,7 +3345,10 @@ "followUps": [ "submit(() -> ...) yazdığında derleyici lambdayı Runnable mı Callable mı sayar, neye göre karar verir?" ], - "source": "Kendi derleme — Java SE 21 API: Runnable, Callable, ExecutorService" + "source": "Kendi derleme — Java SE 21 API: Runnable, Callable, ExecutorService", + "origin": { + "kind": "own" + } }, { "id": "java-reentrantlock", @@ -3309,7 +3432,10 @@ "followUps": [ "ReadWriteLock ne zaman ReentrantLock'tan daha uygundur?" ], - "source": "Kendi derleme — Java SE 21 API: java.util.concurrent.locks; JEP 491" + "source": "Kendi derleme — Java SE 21 API: java.util.concurrent.locks; JEP 491", + "origin": { + "kind": "own" + } }, { "id": "java-threadlocal", @@ -3382,7 +3508,10 @@ "followUps": [ "ScopedValue, ThreadLocal'ın hangi sorunlarını çözmeyi hedefler?" ], - "source": "Kendi derleme — Java SE 21 API: ThreadLocal; Spring Security belgeleri: SecurityContextHolder" + "source": "Kendi derleme — Java SE 21 API: ThreadLocal; Spring Security belgeleri: SecurityContextHolder", + "origin": { + "kind": "own" + } }, { "id": "java-wait-vs-sleep", @@ -3462,7 +3591,10 @@ "followUps": [ "Üretici–tüketici problemini wait/notify yerine hangi sınıfla çözersin?" ], - "source": "Kendi derleme — Java SE 21 API: Object.wait, Thread.sleep" + "source": "Kendi derleme — Java SE 21 API: Object.wait, Thread.sleep", + "origin": { + "kind": "own" + } }, { "id": "java-lambda", @@ -3549,7 +3681,10 @@ "followUps": [ "Lambda içinde dışarıdaki bir sayacı artırmak istersen neden derlenmez, nasıl çözersin?" ], - "source": "Kendi derleme — JLS §15.27 Lambda Expressions" + "source": "Kendi derleme — JLS §15.27 Lambda Expressions", + "origin": { + "kind": "own" + } }, { "id": "java-functional-interface", @@ -3620,7 +3755,10 @@ "followUps": [ "Function'ları andThen ve compose ile birleştirmenin farkı nedir?" ], - "source": "Kendi derleme — Java SE 21 API: java.util.function, @FunctionalInterface" + "source": "Kendi derleme — Java SE 21 API: java.util.function, @FunctionalInterface", + "origin": { + "kind": "own" + } }, { "id": "java-method-reference", @@ -3693,7 +3831,10 @@ "followUps": [ "String::compareToIgnoreCase bir Comparator yerine nasıl geçebilir? Parametreler nasıl eşleşir?" ], - "source": "Kendi derleme — JLS §15.13 Method Reference Expressions" + "source": "Kendi derleme — JLS §15.13 Method Reference Expressions", + "origin": { + "kind": "own" + } }, { "id": "java-stream-map-flatmap", @@ -3767,7 +3908,10 @@ "followUps": [ "Java 16'daki mapMulti, flatMap'e göre ne zaman daha verimlidir?" ], - "source": "Kendi derleme — Java SE 21 API: Stream.map, Stream.flatMap, Optional.flatMap" + "source": "Kendi derleme — Java SE 21 API: Stream.map, Stream.flatMap, Optional.flatMap", + "origin": { + "kind": "own" + } }, { "id": "java-sealed-class", @@ -3839,7 +3983,10 @@ "followUps": [ "Sealed hiyerarşi ile Visitor kalıbı arasındaki ilişki nedir?" ], - "source": "Kendi derleme — JEP 409: Sealed Classes" + "source": "Kendi derleme — JEP 409: Sealed Classes", + "origin": { + "kind": "own" + } }, { "id": "java-pattern-matching-switch", @@ -3912,7 +4059,10 @@ "followUps": [ "Bir switch'te case sıralaması neden önemlidir; dominance hatası nedir?" ], - "source": "Kendi derleme — JEP 441: Pattern Matching for switch; JEP 440: Record Patterns" + "source": "Kendi derleme — JEP 441: Pattern Matching for switch; JEP 440: Record Patterns", + "origin": { + "kind": "own" + } }, { "id": "java-generics-wildcards", @@ -3985,7 +4135,10 @@ "followUps": [ "Bir metot parametresinde List yerine List kullanmanın farkı nedir?" ], - "source": "Kendi derleme — JLS §4.5.1 Type Arguments of Parameterized Types; Effective Java, Item 31" + "source": "Kendi derleme — JLS §4.5.1 Type Arguments of Parameterized Types; Effective Java, Item 31", + "origin": { + "kind": "own" + } }, { "id": "java-spring-ioc-di", @@ -4058,7 +4211,10 @@ "followUps": [ "ApplicationContext ile BeanFactory arasındaki fark nedir?" ], - "source": "Kendi derleme — Spring Framework belgeleri: The IoC Container" + "source": "Kendi derleme — Spring Framework belgeleri: The IoC Container", + "origin": { + "kind": "own" + } }, { "id": "java-spring-injection-types", @@ -4140,7 +4296,10 @@ "followUps": [ "Lombok'un @RequiredArgsConstructor'ı constructor injection'da nasıl kullanılır?" ], - "source": "Kendi derleme — Spring Framework belgeleri: Dependency Injection; Spring Boot 2.6 sürüm notları" + "source": "Kendi derleme — Spring Framework belgeleri: Dependency Injection; Spring Boot 2.6 sürüm notları", + "origin": { + "kind": "own" + } }, { "id": "java-spring-bean-scopes", @@ -4225,7 +4384,10 @@ "followUps": [ "Request scope'lu bir bean'i singleton bir servise enjekte etmek nasıl mümkün olur?" ], - "source": "Kendi derleme — Spring Framework belgeleri: Bean Scopes" + "source": "Kendi derleme — Spring Framework belgeleri: Bean Scopes", + "origin": { + "kind": "own" + } }, { "id": "java-spring-prototype-in-singleton", @@ -4294,7 +4456,10 @@ "followUps": [ "Aynı problem request scope'lu bir bean'de neden genelde fark edilmez?" ], - "source": "Kendi derleme — Spring Framework belgeleri: Method Injection, Scoped Beans as Dependencies" + "source": "Kendi derleme — Spring Framework belgeleri: Method Injection, Scoped Beans as Dependencies", + "origin": { + "kind": "own" + } }, { "id": "java-spring-bean-lifecycle", @@ -4378,7 +4543,10 @@ "followUps": [ "@PostConstruct içinde aynı bean'in @Transactional bir metodunu çağırmak neden beklendiği gibi çalışmaz?" ], - "source": "Kendi derleme — Spring Framework belgeleri: Customizing the Nature of a Bean, Container Extension Points" + "source": "Kendi derleme — Spring Framework belgeleri: Customizing the Nature of a Bean, Container Extension Points", + "origin": { + "kind": "own" + } }, { "id": "java-spring-component-vs-bean", @@ -4451,7 +4619,10 @@ "followUps": [ "Aynı türden hem bir @Component sınıf hem bir @Bean metodu tanımlarsan ne olur?" ], - "source": "Kendi derleme — Spring Framework belgeleri: Using the @Bean Annotation, Full @Configuration vs lite @Bean mode" + "source": "Kendi derleme — Spring Framework belgeleri: Using the @Bean Annotation, Full @Configuration vs lite @Bean mode", + "origin": { + "kind": "own" + } }, { "id": "java-spring-stereotypes", @@ -4523,7 +4694,10 @@ "followUps": [ "Spring Data JPA repository arayüzlerine neden @Repository yazmak gerekmez?" ], - "source": "Kendi derleme — Spring Framework belgeleri: Classpath Scanning and Managed Components, Exception Translation" + "source": "Kendi derleme — Spring Framework belgeleri: Classpath Scanning and Managed Components, Exception Translation", + "origin": { + "kind": "own" + } }, { "id": "java-spring-primary-qualifier", @@ -4609,7 +4783,10 @@ "followUps": [ "Parametre adının bean adıyla eşleşmesi seçimde nasıl rol oynar?" ], - "source": "Kendi derleme — Spring Framework belgeleri: Fine-tuning Annotation-based Autowiring with @Primary and @Qualifier" + "source": "Kendi derleme — Spring Framework belgeleri: Fine-tuning Annotation-based Autowiring with @Primary and @Qualifier", + "origin": { + "kind": "own" + } }, { "id": "java-spring-aop-concepts", @@ -4682,7 +4859,10 @@ "followUps": [ "Spring AOP ile AspectJ arasındaki fark nedir; hangi durumda AspectJ gerekir?" ], - "source": "Kendi derleme — Spring Framework belgeleri: Aspect Oriented Programming with Spring" + "source": "Kendi derleme — Spring Framework belgeleri: Aspect Oriented Programming with Spring", + "origin": { + "kind": "own" + } }, { "id": "java-spring-aop-proxy-types", @@ -4769,7 +4949,10 @@ "followUps": [ "Bir sınıfı final yapmak Spring'de hangi özellikleri sessizce bozabilir?" ], - "source": "Kendi derleme — Spring Framework belgeleri: Proxying Mechanisms; Spring Boot: spring.aop.proxy-target-class" + "source": "Kendi derleme — Spring Framework belgeleri: Proxying Mechanisms; Spring Boot: spring.aop.proxy-target-class", + "origin": { + "kind": "own" + } }, { "id": "java-spring-advice-types", @@ -4853,7 +5036,10 @@ "followUps": [ "Birden fazla aspect aynı metoda uygulanıyorsa çalışma sırasını nasıl belirlersin?" ], - "source": "Kendi derleme — Spring Framework belgeleri: Declaring Advice" + "source": "Kendi derleme — Spring Framework belgeleri: Declaring Advice", + "origin": { + "kind": "own" + } }, { "id": "java-spring-transactional-basics", @@ -4925,7 +5111,10 @@ "followUps": [ "Bir @Transactional metodun içinden yeni bir thread başlatırsan o thread aynı transaction'ı görür mü?" ], - "source": "Kendi derleme — Spring Framework belgeleri: Understanding the Spring Framework's Declarative Transaction Implementation" + "source": "Kendi derleme — Spring Framework belgeleri: Understanding the Spring Framework's Declarative Transaction Implementation", + "origin": { + "kind": "own" + } }, { "id": "java-spring-propagation", @@ -5010,7 +5199,10 @@ "followUps": [ "REQUIRES_NEW ile açılan iç transaction, dıştakinin kilitlediği bir satırı güncellemeye çalışırsa ne olur?" ], - "source": "Kendi derleme — Spring Framework belgeleri: Transaction Propagation; JpaTransactionManager Javadoc" + "source": "Kendi derleme — Spring Framework belgeleri: Transaction Propagation; JpaTransactionManager Javadoc", + "origin": { + "kind": "own" + } }, { "id": "java-spring-transaction-isolation", @@ -5097,7 +5289,10 @@ "followUps": [ "Isolation seviyesini yükseltmek yerine bir lost update problemini nasıl çözebilirsin?" ], - "source": "Kendi derleme — Spring Framework belgeleri: Transaction Isolation; PostgreSQL ve MySQL belgeleri: varsayılan izolasyon seviyeleri" + "source": "Kendi derleme — Spring Framework belgeleri: Transaction Isolation; PostgreSQL ve MySQL belgeleri: varsayılan izolasyon seviyeleri", + "origin": { + "kind": "own" + } }, { "id": "java-spring-rollback-rules", @@ -5166,7 +5361,10 @@ "followUps": [ "Checked exception'da commit etmek hangi senaryoda bilinçli olarak istenir?" ], - "source": "Kendi derleme — Spring Framework belgeleri: Rolling Back a Declarative Transaction; RollbackOn Javadoc (6.2)" + "source": "Kendi derleme — Spring Framework belgeleri: Rolling Back a Declarative Transaction; RollbackOn Javadoc (6.2)", + "origin": { + "kind": "own" + } }, { "id": "java-spring-self-invocation", @@ -5239,7 +5437,10 @@ "followUps": [ "Bir metodun gerçekten transaction içinde çalıştığını çalışma anında nasıl doğrularsın?" ], - "source": "Kendi derleme — Spring Framework belgeleri: Declarative Transaction Management, proxy modu" + "source": "Kendi derleme — Spring Framework belgeleri: Declarative Transaction Management, proxy modu", + "origin": { + "kind": "own" + } }, { "id": "java-spring-readonly", @@ -5322,7 +5523,10 @@ "followUps": [ "readOnly bir transaction'ın içinden readOnly olmayan REQUIRED bir metot çağrılırsa ne olur?" ], - "source": "Kendi derleme — Spring Framework belgeleri: @Transactional Settings, HibernateJpaDialect; PostgreSQL: SET TRANSACTION READ ONLY" + "source": "Kendi derleme — Spring Framework belgeleri: @Transactional Settings, HibernateJpaDialect; PostgreSQL: SET TRANSACTION READ ONLY", + "origin": { + "kind": "own" + } }, { "id": "java-jpa-persistence-context", @@ -5396,7 +5600,10 @@ "followUps": [ "Bir persistence context'te binlerce entity işleyen toplu bir işte bellek sorununu nasıl önlersin?" ], - "source": "Kendi derleme — Jakarta Persistence 3.1 spesifikasyonu: Persistence Contexts; Hibernate ORM belgeleri: Flushing" + "source": "Kendi derleme — Jakarta Persistence 3.1 spesifikasyonu: Persistence Contexts; Hibernate ORM belgeleri: Flushing", + "origin": { + "kind": "own" + } }, { "id": "java-jpa-entity-states", @@ -5482,7 +5689,10 @@ "followUps": [ "merge'ün döndürdüğü nesne yerine parametre olarak verdiğin nesneyi değiştirmeye devam edersen ne olur?" ], - "source": "Kendi derleme — Jakarta Persistence 3.1: Entity Instance's Life Cycle; Spring Data JPA: SimpleJpaRepository.save; Hibernate ORM 6.6 Migration Guide" + "source": "Kendi derleme — Jakarta Persistence 3.1: Entity Instance's Life Cycle; Spring Data JPA: SimpleJpaRepository.save; Hibernate ORM 6.6 Migration Guide", + "origin": { + "kind": "own" + } }, { "id": "java-jpa-lazy-vs-eager", @@ -5570,7 +5780,10 @@ "followUps": [ "Bir @ManyToOne ilişkisini LAZY yapınca Jackson ile serileştirmede hangi sorunla karşılaşabilirsin?" ], - "source": "Kendi derleme — Jakarta Persistence 3.1: FetchType ve ilişki anotasyonlarının varsayılanları" + "source": "Kendi derleme — Jakarta Persistence 3.1: FetchType ve ilişki anotasyonlarının varsayılanları", + "origin": { + "kind": "own" + } }, { "id": "java-jpa-lazy-initialization-exception", @@ -5657,7 +5870,10 @@ "followUps": [ "open-in-view kapatıldıktan sonra ortaya çıkan LazyInitializationException'ları sistematik olarak nasıl bulursun?" ], - "source": "Kendi derleme — Spring Boot: spring.jpa.open-in-view (JpaBaseConfiguration); Hibernate ORM belgeleri: Fetching" + "source": "Kendi derleme — Spring Boot: spring.jpa.open-in-view (JpaBaseConfiguration); Hibernate ORM belgeleri: Fetching", + "origin": { + "kind": "own" + } }, { "id": "java-jpa-eager-n-plus-one", @@ -5744,7 +5960,10 @@ "followUps": [ "Bir sorgunun kaç SQL ürettiğini testte nasıl doğrularsın?" ], - "source": "Kendi derleme — Hibernate ORM belgeleri: Fetching strategies, Batch fetching" + "source": "Kendi derleme — Hibernate ORM belgeleri: Fetching strategies, Batch fetching", + "origin": { + "kind": "own" + } }, { "id": "java-jpa-cache-levels", @@ -5832,7 +6051,10 @@ "followUps": [ "Second-level cache'te entity'ler için hangi concurrency stratejileri vardır, READ_WRITE ne sağlar?" ], - "source": "Kendi derleme — Hibernate ORM belgeleri: Caching; Jakarta Persistence 3.1: @Cacheable" + "source": "Kendi derleme — Hibernate ORM belgeleri: Caching; Jakarta Persistence 3.1: @Cacheable", + "origin": { + "kind": "own" + } }, { "id": "java-jpa-locking", @@ -5919,7 +6141,10 @@ "followUps": [ "@Version alanı olan bir entity'yi REST üzerinden güncellerken istemciden gelen sürümü nasıl kullanırsın?" ], - "source": "Kendi derleme — Jakarta Persistence 3.1: Optimistic Locking and Concurrency, Pessimistic Locking; Spring Data JPA: @Lock" + "source": "Kendi derleme — Jakarta Persistence 3.1: Optimistic Locking and Concurrency, Pessimistic Locking; Spring Data JPA: @Lock", + "origin": { + "kind": "own" + } }, { "id": "java-jpa-mappedby", @@ -6005,7 +6230,10 @@ "followUps": [ "orphanRemoval ile CascadeType.REMOVE arasındaki fark nedir?" ], - "source": "Kendi derleme — Jakarta Persistence 3.1: Bidirectional Relationships; Hibernate ORM belgeleri: Associations" + "source": "Kendi derleme — Jakarta Persistence 3.1: Bidirectional Relationships; Hibernate ORM belgeleri: Associations", + "origin": { + "kind": "own" + } }, { "id": "java-spring-security-filter-chain", @@ -6077,7 +6305,10 @@ "followUps": [ "Bir uygulamada session'lı ve stateless iki ayrı SecurityFilterChain tanımlamak ne zaman gerekir?" ], - "source": "Kendi derleme — Spring Security 6 belgeleri: Servlet Architecture; Spring Security 7 Migration: Configuration" + "source": "Kendi derleme — Spring Security 6 belgeleri: Servlet Architecture; Spring Security 7 Migration: Configuration", + "origin": { + "kind": "own" + } }, { "id": "java-spring-security-authentication", @@ -6164,7 +6395,10 @@ "followUps": [ "Bir controller metodunda o anki kullanıcıya hangi yollarla erişebilirsin?" ], - "source": "Kendi derleme — Spring Security 6 belgeleri: Servlet Authentication Architecture" + "source": "Kendi derleme — Spring Security 6 belgeleri: Servlet Authentication Architecture", + "origin": { + "kind": "own" + } }, { "id": "java-spring-security-401-403", @@ -6252,7 +6486,10 @@ "followUps": [ "Spring Security'nin varsayılan 401 yanıtını bir REST API için JSON gövdeli hâle nasıl getirirsin?" ], - "source": "Kendi derleme — RFC 9110 §15.5.2 ve §15.5.4; Spring Security 6 belgeleri: Handling Security Exceptions" + "source": "Kendi derleme — RFC 9110 §15.5.2 ve §15.5.4; Spring Security 6 belgeleri: Handling Security Exceptions", + "origin": { + "kind": "own" + } }, { "id": "java-spring-security-csrf", @@ -6338,7 +6575,10 @@ "followUps": [ "Cookie'de token taşıyan bir SPA için CSRF korumasını Spring Security'de nasıl yapılandırırsın?" ], - "source": "Kendi derleme — OWASP Cross-Site Request Forgery Prevention Cheat Sheet; Spring Security 6 belgeleri: Cross Site Request Forgery (CSRF)" + "source": "Kendi derleme — OWASP Cross-Site Request Forgery Prevention Cheat Sheet; Spring Security 6 belgeleri: Cross Site Request Forgery (CSRF)", + "origin": { + "kind": "own" + } }, { "id": "java-spring-data-access-exception", @@ -6425,7 +6665,10 @@ "followUps": [ "Unique constraint ihlalini yakalayıp kullanıcıya anlamlı bir hata dönmek için hangi exception'ı nerede yakalarsın?" ], - "source": "Kendi derleme — Spring Framework belgeleri: Consistent Exception Hierarchy, Exception Translation" + "source": "Kendi derleme — Spring Framework belgeleri: Consistent Exception Hierarchy, Exception Translation", + "origin": { + "kind": "own" + } } ] } diff --git a/src/content/tr/content-javascript.json b/src/content/tr/content-javascript.json index be77a27..bb3530a 100644 --- a/src/content/tr/content-javascript.json +++ b/src/content/tr/content-javascript.json @@ -76,7 +76,10 @@ "Bir nesnede alanın hiç olmaması ile değerinin null olmasını nasıl ayırt edersin?", "?? ile || operatörleri null ve undefined karşısında nasıl farklı davranır?" ], - "source": "Kendi derleme — ECMA-262: undefined value, null value; MDN: typeof (typeof null), Equality (==), Default parameters" + "source": "Kendi derleme — ECMA-262: undefined value, null value; MDN: typeof (typeof null), Equality (==), Default parameters", + "origin": { + "kind": "own" + } }, { "id": "javascript-equality-coercion", @@ -165,7 +168,10 @@ "`[] == ![]` neden true döner?", "`Object.is` `===`'ten hangi iki durumda ayrılır?" ], - "source": "Kendi derleme — ECMA-262: IsLooselyEqual, IsStrictlyEqual; MDN: Equality comparisons and sameness" + "source": "Kendi derleme — ECMA-262: IsLooselyEqual, IsStrictlyEqual; MDN: Equality comparisons and sameness", + "origin": { + "kind": "own" + } }, { "id": "javascript-truthy-falsy", @@ -238,7 +244,10 @@ "`!!` operatörü ne işe yarar?", "`document.all` neden falsy bir nesnedir?" ], - "source": "Kendi derleme — ECMA-262: ToBoolean; MDN: Falsy, Truthy" + "source": "Kendi derleme — ECMA-262: ToBoolean; MDN: Falsy, Truthy", + "origin": { + "kind": "own" + } }, { "id": "javascript-nan-object-is", @@ -328,7 +337,10 @@ "`0.1 + 0.2 === 0.3` neden false döner?", "Bir dizide NaN aramak için `indexOf` yerine neden `includes` kullanılır?" ], - "source": "Kendi derleme — MDN: NaN, Number.isNaN(), Object.is(), Equality comparisons and sameness" + "source": "Kendi derleme — MDN: NaN, Number.isNaN(), Object.is(), Equality comparisons and sameness", + "origin": { + "kind": "own" + } }, { "id": "javascript-var-let-const", @@ -418,7 +430,10 @@ "`var` ile yazılmış bir `for` döngüsünde `setTimeout` içinde sayacı yazdırınca neden hep son değer görünür?", "Bir nesneyi tamamen değiştirilemez yapmak için `Object.freeze` yeterli mi?" ], - "source": "Kendi derleme — MDN: var, let, const" + "source": "Kendi derleme — MDN: var, let, const", + "origin": { + "kind": "own" + } }, { "id": "javascript-hoisting", @@ -503,7 +518,10 @@ "`class` bildirimi function declaration gibi taşınır mı?", "Hoisting'e güvenen kod okunabilirlik açısından neden tartışmalıdır?" ], - "source": "Kendi derleme — MDN: Hoisting (Glossary), var, let, function" + "source": "Kendi derleme — MDN: Hoisting (Glossary), var, let, function", + "origin": { + "kind": "own" + } }, { "id": "javascript-temporal-dead-zone", @@ -587,7 +605,10 @@ "`switch` içindeki `case`'lerde `let` kullanınca neden TDZ hatası alınabilir?", "TDZ, `var`'a göre hangi tür hataları daha erken yakalar?" ], - "source": "Kendi derleme — MDN: let (Temporal dead zone), const, class" + "source": "Kendi derleme — MDN: let (Temporal dead zone), const, class", + "origin": { + "kind": "own" + } }, { "id": "javascript-closure", @@ -677,7 +698,10 @@ "`var` ile kurulan bir döngüde oluşturulan closure'lar neden aynı değeri görür?", "Closure'lar bellekte hangi durumda gereğinden uzun süre değişken tutar?" ], - "source": "Kendi derleme — MDN: Closures" + "source": "Kendi derleme — MDN: Closures", + "origin": { + "kind": "own" + } }, { "id": "javascript-this-binding", @@ -768,7 +792,10 @@ "Bir class metodunu event listener olarak verdiğinde this neden undefined olur, nasıl düzeltirsin?", "Arrow function'ı nesne metodu olarak tanımlamak neden sorun çıkarır?" ], - "source": "Kendi derleme — MDN: this, Function.prototype.bind()" + "source": "Kendi derleme — MDN: this, Function.prototype.bind()", + "origin": { + "kind": "own" + } }, { "id": "javascript-call-apply-bind", @@ -855,7 +882,10 @@ "Spread sözdizimi geldikten sonra `apply`'a hâlâ ihtiyaç var mı?", "Bind edilmiş bir fonksiyon `new` ile çağrılırsa this ne olur?" ], - "source": "Kendi derleme — MDN: Function.prototype.call(), Function.prototype.apply(), Function.prototype.bind()" + "source": "Kendi derleme — MDN: Function.prototype.call(), Function.prototype.apply(), Function.prototype.bind()", + "origin": { + "kind": "own" + } }, { "id": "javascript-arrow-function", @@ -941,7 +971,10 @@ "React'te event handler'ları arrow function olarak tanımlamanın sebebi nedir?", "Arrow function'ın gövdesi süslü parantezsiz yazıldığında ne döner?" ], - "source": "Kendi derleme — MDN: Arrow function expressions, this" + "source": "Kendi derleme — MDN: Arrow function expressions, this", + "origin": { + "kind": "own" + } }, { "id": "javascript-prototype-chain", @@ -1029,7 +1062,10 @@ "Prototype pollution nedir? Nesneleri derinlemesine birleştiren bir fonksiyon `__proto__` anahtarını kontrol etmezse ne olur?", "`Object.create(null)` ile oluşturulan nesne neden sözlük olarak tercih edilir?" ], - "source": "Kendi derleme — MDN: Inheritance and the prototype chain, Object.create(), Object.hasOwn()" + "source": "Kendi derleme — MDN: Inheritance and the prototype chain, Object.create(), Object.hasOwn()", + "origin": { + "kind": "own" + } }, { "id": "javascript-class-under-the-hood", @@ -1115,7 +1151,10 @@ "Class metotlarının non-enumerable olması `for...in` döngüsünü nasıl etkiler?", "`#` ile tanımlanan private alan ile TypeScript'in `private` anahtar kelimesi arasındaki fark nedir?" ], - "source": "Kendi derleme — MDN: Classes, Inheritance and the prototype chain, Private elements" + "source": "Kendi derleme — MDN: Classes, Inheritance and the prototype chain, Private elements", + "origin": { + "kind": "own" + } }, { "id": "javascript-shallow-deep-copy", @@ -1202,7 +1241,10 @@ "React'te state güncellerken neden çoğu zaman shallow copy yeterlidir?", "`structuredClone` ile kopyalanan bir class örneğinin metotlarına ne olur?" ], - "source": "Kendi derleme — MDN: Shallow copy, Deep copy (Glossary), structuredClone(), The structured clone algorithm" + "source": "Kendi derleme — MDN: Shallow copy, Deep copy (Glossary), structuredClone(), The structured clone algorithm", + "origin": { + "kind": "own" + } }, { "id": "javascript-event-loop", @@ -1294,7 +1336,10 @@ "`setTimeout(fn, 0)` neden gerçekten 0 ms sonra çalışmaz?", "Node.js'in event loop'u tarayıcınkinden nasıl ayrılır?" ], - "source": "Kendi derleme — HTML standardı: 8.1.7 Event loops; MDN: In depth: Microtasks and the JavaScript runtime environment" + "source": "Kendi derleme — HTML standardı: 8.1.7 Event loops; MDN: In depth: Microtasks and the JavaScript runtime environment", + "origin": { + "kind": "own" + } }, { "id": "javascript-microtask-macrotask", @@ -1383,7 +1428,10 @@ "`await` ifadesinden sonraki kod hangi kuyrukta çalışır?", "`requestAnimationFrame` callback'i bu sıralamada nereye düşer?" ], - "source": "Kendi derleme — HTML standardı: 8.1.7.3 Processing model, perform a microtask checkpoint; MDN: In depth: Microtasks and the JavaScript runtime environment" + "source": "Kendi derleme — HTML standardı: 8.1.7.3 Processing model, perform a microtask checkpoint; MDN: In depth: Microtasks and the JavaScript runtime environment", + "origin": { + "kind": "own" + } }, { "id": "javascript-promise-states", @@ -1469,7 +1517,10 @@ "`finally` ne zaman çalışır, döndürdüğü değer zincirdeki sonucu etkiler mi?", "`then`'in ikinci parametresi ile `catch` arasında fark var mıdır?" ], - "source": "Kendi derleme — MDN: Promise, Using promises; ECMA-262: Promise Objects" + "source": "Kendi derleme — MDN: Promise, Using promises; ECMA-262: Promise Objects", + "origin": { + "kind": "own" + } }, { "id": "javascript-promise-combinators", @@ -1558,7 +1609,10 @@ "`Promise.race` ile bir fetch isteğine zaman aşımı koyduğunda istek gerçekten iptal olur mu?", "Boş bir dizi verildiğinde `Promise.all` ve `Promise.any` nasıl davranır?" ], - "source": "Kendi derleme — MDN: Promise.all(), Promise.allSettled(), Promise.race(), Promise.any(); ECMA-262: Promise.any" + "source": "Kendi derleme — MDN: Promise.all(), Promise.allSettled(), Promise.race(), Promise.any(); ECMA-262: Promise.any", + "origin": { + "kind": "own" + } }, { "id": "javascript-async-await-errors", @@ -1649,7 +1703,10 @@ "`return await` ile `return` arasında try/catch açısından ne fark vardır?", "Bir event listener içinden çağrılan async fonksiyonun hatası nereye gider?" ], - "source": "Kendi derleme — MDN: async function, Window: unhandledrejection event; Node.js: CLI --unhandled-rejections" + "source": "Kendi derleme — MDN: async function, Window: unhandledrejection event; Node.js: CLI --unhandled-rejections", + "origin": { + "kind": "own" + } }, { "id": "javascript-esm-vs-commonjs", @@ -1740,7 +1797,10 @@ "Node.js bir `.js` dosyasının ESM mi CommonJS mi olduğuna nasıl karar verir?", "Bir paketi hem ESM hem CommonJS kullanıcılarına sunmanın riski nedir (dual package hazard)?" ], - "source": "Kendi derleme — MDN: import, JavaScript modules; Node.js: Modules (Loading ECMAScript modules using require()), ECMAScript modules (Interoperability with CommonJS)" + "source": "Kendi derleme — MDN: import, JavaScript modules; Node.js: Modules (Loading ECMAScript modules using require()), ECMAScript modules (Interoperability with CommonJS)", + "origin": { + "kind": "own" + } }, { "id": "javascript-event-propagation", @@ -1827,7 +1887,10 @@ "`stopPropagation` ile `stopImmediatePropagation` arasındaki fark nedir?", "Hangi olaylar yukarı çıkmaz, delegation için yerine ne kullanılır?" ], - "source": "Kendi derleme — DOM standardı: 2.9 Dispatching events; MDN: Event bubbling, EventTarget.addEventListener()" + "source": "Kendi derleme — DOM standardı: 2.9 Dispatching events; MDN: Event bubbling, EventTarget.addEventListener()", + "origin": { + "kind": "own" + } }, { "id": "javascript-event-delegation", @@ -1915,7 +1978,10 @@ "React kendi olay sisteminde delegation'ı nasıl kullanır?", "Delegation'da `event.target` ile `event.currentTarget` neden farklı sonuç verir?" ], - "source": "Kendi derleme — MDN: Event bubbling (Event delegation), Element.closest(), Element: focusin event" + "source": "Kendi derleme — MDN: Event bubbling (Event delegation), Element.closest(), Element: focusin event", + "origin": { + "kind": "own" + } }, { "id": "javascript-debounce-throttle", @@ -2002,7 +2068,10 @@ "Debounce edilmiş bir fonksiyon React bileşeninde neden her render'da yeniden oluşturulmamalıdır?", "`requestAnimationFrame` throttle yerine ne zaman kullanılır?" ], - "source": "Kendi derleme — MDN: Debounce (Glossary), Throttle (Glossary)" + "source": "Kendi derleme — MDN: Debounce (Glossary), Throttle (Glossary)", + "origin": { + "kind": "own" + } }, { "id": "javascript-gc-and-leaks", @@ -2094,7 +2163,10 @@ "`removeEventListener` neden eklenirken verilen fonksiyon referansının aynısını ister?", "İki heap snapshot karşılaştırılırken nelere bakılır?" ], - "source": "Kendi derleme — MDN: Memory management (Garbage collection, Mark-and-sweep algorithm)" + "source": "Kendi derleme — MDN: Memory management (Garbage collection, Mark-and-sweep algorithm)", + "origin": { + "kind": "own" + } }, { "id": "javascript-weakmap-weakref", @@ -2183,7 +2255,10 @@ "WeakMap ile önbellek kurmak neden her zaman iyi bir fikir değildir?", "`FinalizationRegistry` callback'ine kaynak kapatma gibi kritik bir iş bırakmak neden yanlıştır?" ], - "source": "Kendi derleme — MDN: WeakMap, WeakRef, Memory management (WeakMaps and WeakSets, WeakRefs and FinalizationRegistry)" + "source": "Kendi derleme — MDN: WeakMap, WeakRef, Memory management (WeakMaps and WeakSets, WeakRefs and FinalizationRegistry)", + "origin": { + "kind": "own" + } }, { "id": "javascript-generator-iterator", @@ -2268,7 +2343,10 @@ "Async generator (`async function*`) ve `for await...of` ne işe yarar?", "Bir generator'ı `return()` ile erken bitirmek ne sağlar?" ], - "source": "Kendi derleme — MDN: Iterators and generators, Iteration protocols, function*" + "source": "Kendi derleme — MDN: Iterators and generators, Iteration protocols, function*", + "origin": { + "kind": "own" + } }, { "id": "javascript-symbol", @@ -2355,7 +2433,10 @@ "`Symbol.toPrimitive` bir nesnenin `+` operatöründeki davranışını nasıl değiştirir?", "Symbol neden `new` ile oluşturulamaz?" ], - "source": "Kendi derleme — MDN: Symbol, Symbol.for(), Symbol.iterator" + "source": "Kendi derleme — MDN: Symbol, Symbol.for(), Symbol.iterator", + "origin": { + "kind": "own" + } }, { "id": "javascript-optional-chaining-nullish", @@ -2442,7 +2523,10 @@ "`??=` ile `||=` atama operatörleri arasındaki fark nedir?", "`a?.b.c` ifadesinde `a` null ise neden hata alınmaz?" ], - "source": "Kendi derleme — MDN: Optional chaining (?.), Nullish coalescing operator (??)" + "source": "Kendi derleme — MDN: Optional chaining (?.), Nullish coalescing operator (??)", + "origin": { + "kind": "own" + } }, { "id": "javascript-strict-mode", @@ -2525,7 +2609,10 @@ "Rest ya da varsayılan parametre kullanan bir fonksiyonun içine `\"use strict\"` yazılırsa ne olur?", "Strict mode'da `arguments` nesnesi ile parametreler neden artık birbirini izlemez?" ], - "source": "Kendi derleme — MDN: Strict mode; ECMA-262: Strict Mode Code" + "source": "Kendi derleme — MDN: Strict mode; ECMA-262: Strict Mode Code", + "origin": { + "kind": "own" + } }, { "id": "javascript-ts-type-vs-interface", @@ -2612,7 +2699,10 @@ "Declaration merging ile bir kütüphanenin tipine nasıl alan eklenir?", "Hata mesajlarında interface ve type adları nasıl farklı görünür?" ], - "source": "Kendi derleme — TypeScript Handbook: Everyday Types (Differences Between Type Aliases and Interfaces), Declaration Merging" + "source": "Kendi derleme — TypeScript Handbook: Everyday Types (Differences Between Type Aliases and Interfaces), Declaration Merging", + "origin": { + "kind": "own" + } }, { "id": "javascript-ts-structural-typing", @@ -2686,7 +2776,10 @@ "Branded type nasıl tanımlanır, değeri o tipe nasıl sokarsın?", "Fonksiyon parametreleri karşılaştırılırken `strictFunctionTypes` neyi değiştirir?" ], - "source": "Kendi derleme — TypeScript Handbook: Type Compatibility, Object Types" + "source": "Kendi derleme — TypeScript Handbook: Type Compatibility, Object Types", + "origin": { + "kind": "own" + } }, { "id": "javascript-ts-any-unknown-never", @@ -2774,7 +2867,10 @@ "`catch (e)` içindeki `e` neden `unknown` olarak ele alınmalıdır?", "`void` ile `never` dönüş tipi arasındaki fark nedir?" ], - "source": "Kendi derleme — TypeScript Handbook: Everyday Types (any), More on Functions (unknown, never), Narrowing (Exhaustiveness checking)" + "source": "Kendi derleme — TypeScript Handbook: Everyday Types (any), More on Functions (unknown, never), Narrowing (Exhaustiveness checking)", + "origin": { + "kind": "own" + } }, { "id": "javascript-ts-type-erasure", @@ -2861,7 +2957,10 @@ "Zod'un `parse` ile `safeParse` metotları arasındaki fark nedir?", "Java'daki type erasure ile TypeScript'teki tip silme nasıl ayrılır?" ], - "source": "Kendi derleme — TypeScript Handbook: The Basics (Erased Types); Node.js: Modules: TypeScript (Type stripping)" + "source": "Kendi derleme — TypeScript Handbook: The Basics (Erased Types); Node.js: Modules: TypeScript (Type stripping)", + "origin": { + "kind": "own" + } }, { "id": "javascript-ts-generics-constraints", @@ -2945,7 +3044,10 @@ "Bir generic fonksiyonda tip parametresi yalnızca bir yerde geçiyorsa neden gereksizdir?", "Generic bir tip parametresine varsayılan değer (``) vermek ne sağlar?" ], - "source": "Kendi derleme — TypeScript Handbook: Generics, More on Functions (Constraints, Guidelines for Writing Good Generic Functions)" + "source": "Kendi derleme — TypeScript Handbook: Generics, More on Functions (Constraints, Guidelines for Writing Good Generic Functions)", + "origin": { + "kind": "own" + } }, { "id": "javascript-ts-keyof-typeof", @@ -3027,7 +3129,10 @@ "`T[K]` (indexed access type) nedir, keyof ile nasıl birlikte kullanılır?", "Tip bağlamındaki `typeof` neden bir fonksiyon çağrısı üzerinde kullanılamaz?" ], - "source": "Kendi derleme — TypeScript Handbook: Keyof Type Operator, Typeof Type Operator" + "source": "Kendi derleme — TypeScript Handbook: Keyof Type Operator, Typeof Type Operator", + "origin": { + "kind": "own" + } }, { "id": "javascript-ts-utility-types", @@ -3109,7 +3214,10 @@ "`Omit` neden anahtar olarak tipte bulunmayan bir değeri de kabul eder?", "`Readonly` iç içe nesneleri neden korumaz, derin readonly nasıl yazılır?" ], - "source": "Kendi derleme — TypeScript Handbook: Utility Types" + "source": "Kendi derleme — TypeScript Handbook: Utility Types", + "origin": { + "kind": "own" + } }, { "id": "javascript-ts-conditional-types", @@ -3181,7 +3289,10 @@ "`[T] extends [U]` yazmak dağılmayı neden durdurur?", "`ReturnType` aşırı yüklenmiş (overload) bir fonksiyonda hangi imzanın dönüş tipini verir?" ], - "source": "Kendi derleme — TypeScript Handbook: Conditional Types" + "source": "Kendi derleme — TypeScript Handbook: Conditional Types", + "origin": { + "kind": "own" + } }, { "id": "javascript-ts-mapped-types", @@ -3253,7 +3364,10 @@ "Bir nesnenin yalnızca fonksiyon olan alanlarını seçen mapped type nasıl yazılır?", "Homomorphic mapped type, kaynak tipteki `readonly` ve `?` belirleyicilerini neden korur?" ], - "source": "Kendi derleme — TypeScript Handbook: Mapped Types, Template Literal Types" + "source": "Kendi derleme — TypeScript Handbook: Mapped Types, Template Literal Types", + "origin": { + "kind": "own" + } }, { "id": "javascript-ts-narrowing-type-guards", @@ -3337,7 +3451,10 @@ "`Array.prototype.filter` ile bir union dizisinden yalnızca bir tipi süzerken neden type predicate gerekir?", "Assertion function (`asserts value is T`) ne zaman type predicate yerine tercih edilir?" ], - "source": "Kendi derleme — TypeScript Handbook: Narrowing (typeof, Truthiness, Equality, in, instanceof, Control flow analysis, Using type predicates, Assertion functions)" + "source": "Kendi derleme — TypeScript Handbook: Narrowing (typeof, Truthiness, Equality, in, instanceof, Control flow analysis, Using type predicates, Assertion functions)", + "origin": { + "kind": "own" + } }, { "id": "javascript-ts-discriminated-union", @@ -3425,7 +3542,10 @@ "Discriminant alan bir `boolean` olabilir mi, `success: true | false` ile nasıl kullanılır?", "Zod'da discriminated union şeması nasıl tanımlanır?" ], - "source": "Kendi derleme — TypeScript Handbook: Narrowing (Discriminated unions, The never type, Exhaustiveness checking)" + "source": "Kendi derleme — TypeScript Handbook: Narrowing (Discriminated unions, The never type, Exhaustiveness checking)", + "origin": { + "kind": "own" + } }, { "id": "javascript-ts-as-vs-satisfies", @@ -3498,7 +3618,10 @@ "Non-null assertion (`value!`) hangi durumda kullanılabilir, riski nedir?", "`satisfies` ile `as const` birlikte kullanıldığında ne elde edilir?" ], - "source": "Kendi derleme — TypeScript Handbook: Everyday Types (Type Assertions); TypeScript 4.9 sürüm notları: The satisfies Operator" + "source": "Kendi derleme — TypeScript Handbook: Everyday Types (Type Assertions); TypeScript 4.9 sürüm notları: The satisfies Operator", + "origin": { + "kind": "own" + } }, { "id": "javascript-ts-as-const-readonly", @@ -3572,7 +3695,10 @@ "`readonly` bir dizi parametresi almak fonksiyonun çağıranlarına ne güvence verir?", "`Object.freeze` ile `as const` arasındaki fark nedir?" ], - "source": "Kendi derleme — TypeScript Handbook: Object Types (readonly Properties, The ReadonlyArray Type, readonly Tuple Types), Everyday Types (Literal Inference)" + "source": "Kendi derleme — TypeScript Handbook: Object Types (readonly Properties, The ReadonlyArray Type, readonly Tuple Types), Everyday Types (Literal Inference)", + "origin": { + "kind": "own" + } }, { "id": "javascript-ts-enum-vs-literal-union", @@ -3657,7 +3783,10 @@ "`as const` bir nesneden enum benzeri bir tip nasıl türetilir?", "Sayısal enum'a enum'da olmayan bir sayı atanabilir mi?" ], - "source": "Kendi derleme — TypeScript Handbook: Enums (Objects vs Enums, const enums); TypeScript 5.8 sürüm notları: The --erasableSyntaxOnly Option; Node.js: Modules: TypeScript (Type stripping)" + "source": "Kendi derleme — TypeScript Handbook: Enums (Objects vs Enums, const enums); TypeScript 5.8 sürüm notları: The --erasableSyntaxOnly Option; Node.js: Modules: TypeScript (Type stripping)", + "origin": { + "kind": "own" + } }, { "id": "javascript-ts-tsconfig-strict", @@ -3741,7 +3870,10 @@ "`noUncheckedIndexedAccess` açıldığında `array[0]` ifadesinin tipi nasıl değişir?", "Büyük bir JavaScript projesini TypeScript'e geçirirken strict'i nasıl kademeli açarsın?" ], - "source": "Kendi derleme — TSConfig Reference: strict, noUncheckedIndexedAccess, exactOptionalPropertyTypes; TypeScript 6.0 duyurusu" + "source": "Kendi derleme — TSConfig Reference: strict, noUncheckedIndexedAccess, exactOptionalPropertyTypes; TypeScript 6.0 duyurusu", + "origin": { + "kind": "own" + } }, { "id": "javascript-ts-declaration-files", @@ -3825,7 +3957,10 @@ "Bir paketin `@types` paketi ile kendi tipleri farklı sürümde olursa ne olur?", "`declare global` neden bir modül dosyasında `export {}` gerektirir?" ], - "source": "Kendi derleme — TypeScript Handbook: Declaration Files (Introduction, Consumption, Publishing)" + "source": "Kendi derleme — TypeScript Handbook: Declaration Files (Introduction, Consumption, Publishing)", + "origin": { + "kind": "own" + } } ] } diff --git a/src/content/tr/content-react.json b/src/content/tr/content-react.json index 6b02512..3ed3022 100644 --- a/src/content/tr/content-react.json +++ b/src/content/tr/content-react.json @@ -64,7 +64,10 @@ "children yerine bir fonksiyon geçirilirse (render props) ne değişir?", "Sarmalayıcı bileşen children'a ekstra prop eklemek isterse ne yapar?" ], - "source": "Kendi derleme — react.dev: Passing Props to a Component (Passing JSX as children), Children; legacy.reactjs.org: Composition vs Inheritance" + "source": "Kendi derleme — react.dev: Passing Props to a Component (Passing JSX as children), Children; legacy.reactjs.org: Composition vs Inheritance", + "origin": { + "kind": "own" + } }, { "id": "react-virtual-dom", @@ -127,7 +130,10 @@ "Listede index'i key olarak vermek ne zaman soruna yol açar?", "Virtual DOM olmayan bir kütüphane aynı işi nasıl yapıyor olabilir?" ], - "source": "Kendi derleme — legacy.reactjs.org: Virtual DOM and Internals, Reconciliation" + "source": "Kendi derleme — legacy.reactjs.org: Virtual DOM and Internals, Reconciliation", + "origin": { + "kind": "own" + } }, { "id": "react-nedir", @@ -197,6 +203,12 @@ } ], "source": "Kendi derleme — legacy.reactjs.org ana sayfa; react.dev: Meet the Team, Introducing the React Foundation; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "React'in kütüphane, Angular'ın framework olarak anılması proje kurarken hangi kararları sana bırakır?" ] @@ -279,6 +291,12 @@ } ], "source": "Kendi derleme — legacy.reactjs.org ana sayfa; react.dev: Thinking in React; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Tek yönlü veri akışında bir child, parent'taki veriyi değiştirmek istediğinde ne yapılır?" ] @@ -337,6 +355,12 @@ } ], "source": "Kendi derleme — react.dev: Writing Markup with JSX; legacy.reactjs.org: Introducing the New JSX Transform; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "JSX içinde neden doğrudan if yazılamaz, koşullu render nasıl yapılır?" ] @@ -409,6 +433,12 @@ } ], "source": "Kendi derleme — react.dev: createElement; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Bir component'i JSX ile değil de düz fonksiyon gibi Profile() diye çağırmak neyi bozar?" ] @@ -483,6 +513,12 @@ } ], "source": "Kendi derleme — react.dev: State: A Component's Memory, useState; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "State'teki bir diziyi setter yerine push ile doğrudan değiştirirsen ne olur?" ] @@ -557,6 +593,12 @@ } ], "source": "Kendi derleme — react.dev: Passing Props to a Component; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Bir component'in aldığı prop'u başlangıç değeri olarak state'e kopyalaması hangi soruna yol açabilir?" ] @@ -629,6 +671,12 @@ } ], "source": "Kendi derleme — react.dev: Thinking in React (Props vs State); soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Bir veri parçasının state mi, prop mu, yoksa hesaplanan bir değer mi olması gerektiğine nasıl karar verirsin?" ] @@ -683,6 +731,12 @@ } ], "source": "Kendi derleme — react.dev: Responding to Events; legacy.reactjs.org: Handling Events; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "onClick={handleClick()} yazılırsa ne olur?" ] @@ -752,6 +806,12 @@ } ], "source": "Kendi derleme — react.dev: Common components (React event object); legacy.reactjs.org: React v17.0 RC (Changes to Event Delegation); soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "React 17'de olay dinleyicilerinin document yerine kök elemana bağlanması neyi çözdü?" ] @@ -826,6 +886,12 @@ } ], "source": "Kendi derleme — react.dev: Rendering Lists (Keeping list items in order with key); soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "key olarak Math.random() vermek neden index vermekten bile kötüdür?" ] @@ -900,6 +966,12 @@ } ], "source": "Kendi derleme — legacy.reactjs.org: Virtual DOM and Internals; MDN: Using shadow DOM; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Bir React bileşenini web component'in shadow root'u içine render ettiğinde stil ve olaylar açısından neye dikkat edersin?" ] @@ -957,6 +1029,12 @@ } ], "source": "Kendi derleme — react.dev: (Controlling an input with a state variable), Sharing State Between Components; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Bir input'a value verip onChange vermezsen ne olur?" ] @@ -1014,6 +1092,12 @@ } ], "source": "Kendi derleme — react.dev: (Providing an initial value for an input), useRef; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Bir input önce value olmadan, sonra value ile render edilirse React neden uyarı verir?" ] @@ -1085,6 +1169,12 @@ } ], "source": "Kendi derleme — react.dev: ; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Fragment'a key dışında className gibi başka bir prop verilebilir mi?" ] @@ -1154,6 +1244,12 @@ } ], "source": "Kendi derleme — react.dev: Common components (Dangerously setting the inner HTML); soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Kullanıcı içeriğini HTML yerine Markdown olarak saklayıp render etmek XSS riskini tek başına ortadan kaldırır mı?" ] @@ -1226,6 +1322,12 @@ } ], "source": "Kendi derleme — legacy.reactjs.org: Reconciliation; react.dev: Preserving and Resetting State; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Aynı yerde koşula göre input yerine textarea render edilirse kullanıcının yazdığı metne ne olur?" ] @@ -1295,6 +1397,12 @@ } ], "source": "Kendi derleme — legacy.reactjs.org: Virtual DOM and Internals, Codebase Overview (Fiber reconciler); acdlite/react-fiber-architecture; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Render işi yarıda kesilip yeniden başlatılabiliyorsa, render sırasında yan etki çalıştırmak neden sorun olur?" ] @@ -1353,6 +1461,12 @@ } ], "source": "Kendi derleme — react.dev: Sharing State Between Components; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "State'i yukarı taşımak hangi durumda gereksiz render'lara yol açar, bunu nasıl sınırlarsın?" ] @@ -1424,6 +1538,12 @@ } ], "source": "Kendi derleme — legacy.reactjs.org: Higher-Order Components; react.dev: Reusing Logic with Custom Hooks; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "HOC'ları iç içe kullanmanın dezavantajları nelerdir, custom hook bunları nasıl çözer?" ] @@ -1494,6 +1614,12 @@ } ], "source": "Kendi derleme — react.dev: createPortal; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Portal ile açılan bir modalda klavye odağını ve erişilebilirliği nasıl yönetirsin?" ] @@ -1569,6 +1695,12 @@ } ], "source": "Kendi derleme — react.dev: Rendering Lists; legacy.reactjs.org: Reconciliation (Keys); soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Verinde kararlı bir id yoksa key'i nerede ve nasıl üretirsin?" ] @@ -1641,6 +1773,12 @@ } ], "source": "Kendi derleme — react.dev: memo, PureComponent; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "React.memo'ya kendi karşılaştırma fonksiyonunu vermek ne zaman mantıklıdır, riski nedir?" ] @@ -1725,6 +1863,12 @@ } ], "source": "Kendi derleme — react.dev: lazy; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Kullanıcı bir lazy sayfaya geçmeden önce o sayfanın kodunu önceden yüklemek için ne yaparsın?" ] @@ -1791,6 +1935,12 @@ } ], "source": "Kendi derleme — legacy.reactjs.org: React v16.8 (The One With Hooks); react.dev: Reusing Logic with Custom Hooks; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Hook'lar class component'teki yaşam döngüsü metotlarının birebir karşılığı mıdır?" ] @@ -1862,6 +2012,12 @@ } ], "source": "Kendi derleme — react.dev: Rules of Hooks, State: A Component's Memory; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Bir hook'un yalnızca bir koşul sağlandığında çalışması gerekiyorsa kuralı bozmadan bunu nasıl yaparsın?" ] @@ -1934,6 +2090,12 @@ } ], "source": "Kendi derleme — react.dev: Component (Catching rendering errors with an Error Boundary); soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Bir event handler'da oluşan hatayı error boundary'nin fallback'inde göstermek istersen ne yaparsın?" ] @@ -2020,6 +2182,12 @@ } ], "source": "Kendi derleme — webpack: Code Splitting, Caching; Vite: Features (Async Chunk Loading Optimization); soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "React'te bir bölme noktasını nasıl kurarsın ve parça yüklenirken kullanıcıya ne gösterirsin?" ] @@ -2092,6 +2260,12 @@ } ], "source": "Kendi derleme — react.dev: , use; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Ekranda görünen bir içerik, alt bileşen yeniden askıya alınınca neden fallback'e dönebilir, bunu nasıl önlersin?" ] @@ -2163,6 +2337,12 @@ } ], "source": "Kendi derleme — legacy.reactjs.org: Optimizing Performance (Virtualize Long Lists); TanStack Virtual: Introduction; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Satır yükseklikleri farklı olan bir listede windowing'i zorlaştıran nedir?" ] @@ -2236,6 +2416,12 @@ } ], "source": "Kendi derleme — react.dev: useEffect; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Effect içinde veri çekerken component unmount olursa ya da yanıtlar sırasız gelirse ne yaparsın?" ] @@ -2320,6 +2506,12 @@ } ], "source": "Kendi derleme — react.dev: Server Components, 'use client'; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Bir server component'ten client component'e fonksiyon ya da class örneği gibi her türlü prop geçirilebilir mi?" ] @@ -2378,6 +2570,12 @@ } ], "source": "Kendi derleme — react.dev: Passing Data Deeply with Context; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Context'e geçmeden önce prop drilling'i hangi durumda sorun saymazsın?" ] @@ -2452,6 +2650,12 @@ } ], "source": "Kendi derleme — react.dev: useRef; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Render sırasında ref.current okumak ya da yazmak neden önerilmez?" ] @@ -2523,6 +2727,12 @@ } ], "source": "Kendi derleme — react.dev: useLayoutEffect, useEffect; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "useLayoutEffect sunucu tarafı render'da çalışır mı, ölçüme dayanan bir arayüzde bu ne demektir?" ] @@ -2594,6 +2804,12 @@ } ], "source": "Kendi derleme — react.dev: ; legacy.reactjs.org: Strict Mode; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "StrictMode'da effect iki kez çalıştığı için bir API'ye iki istek gidiyorsa doğru düzeltme nedir?" ] @@ -2663,6 +2879,12 @@ } ], "source": "Kendi derleme — react.dev: Queueing a Series of State Updates, React v18.0 (Automatic Batching), flushSync; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "flushSync'i sık kullanmak neden performansı düşürür?" ] @@ -2735,6 +2957,12 @@ } ], "source": "Kendi derleme — react.dev: hydrateRoot; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Sunucuda ve istemcide farklı çıkan bir değeri, örneğin yerel saati, hydration hatası olmadan nasıl gösterirsin?" ] @@ -2808,6 +3036,12 @@ } ], "source": "Kendi derleme — react.dev: Extracting State Logic into a Reducer; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Reducer içinde API çağrısı yapmak ya da state'i doğrudan değiştirmek neden yanlıştır?" ] @@ -2880,6 +3114,12 @@ } ], "source": "Kendi derleme — react.dev: useState (Updating state based on the previous state); soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Updater fonksiyonu StrictMode'da neden iki kez çağrılır, bu fonksiyon için ne anlama gelir?" ] @@ -2952,6 +3192,12 @@ } ], "source": "Kendi derleme — react.dev: useCallback (How is useCallback related to useMemo?); soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "React Compiler kullanılan bir projede useMemo ve useCallback'e hâlâ ihtiyaç var mı?" ] @@ -3023,6 +3269,12 @@ } ], "source": "Kendi derleme — react.dev: Reusing Logic with Custom Hooks; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "İki component aynı custom hook'u kullanırken aynı veriyi görmeleri gerekiyorsa ne yaparsın?" ] @@ -3094,6 +3346,12 @@ } ], "source": "Kendi derleme — react.dev: useTransition, useDeferredValue; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Kontrollü bir input'un kendi değerini startTransition içinde güncellemek neden işe yaramaz?" ] @@ -3167,6 +3425,12 @@ } ], "source": "Kendi derleme — react.dev: memo (Updating a memoized component using a context), useContext; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "use(Context) ile useContext arasında context okuma açısından ne fark var?" ] @@ -3242,6 +3506,12 @@ } ], "source": "Kendi derleme — TanStack Query: Overview; soru kaynağı: sudheerj/reactjs-interview-questions (MIT)", + "origin": { + "kind": "external", + "repo": "sudheerj/reactjs-interview-questions", + "url": "https://github.com/sudheerj/reactjs-interview-questions", + "license": "MIT" + }, "followUps": [ "Server state'i useState ve useEffect ile elle yönetirken en sık hangi sorunlar çıkar?" ] diff --git a/src/content/tr/content-sql.json b/src/content/tr/content-sql.json index 37844ba..b129be3 100644 --- a/src/content/tr/content-sql.json +++ b/src/content/tr/content-sql.json @@ -93,7 +93,10 @@ "Bileşik index'te kolon sırası neden önemli?", "Bir index'in gerçekten kullanılıp kullanılmadığını nasıl anlarsın?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: Index Types, GIN Indexes, Indexes (Introduction)" + "source": "Kendi derleme — PostgreSQL 18 Docs: Index Types, GIN Indexes, Indexes (Introduction)", + "origin": { + "kind": "own" + } }, { "id": "sql-many-to-many-employee-project", @@ -173,7 +176,10 @@ "Bir çalışan aynı projeye farklı rollerle iki kez atanabilseydi şema nasıl değişirdi?", "Bağlantı tablosuna ayrı bir id kolonu koymanın artısı ve eksisi ne olurdu?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: Constraints (Primary Keys, Foreign Keys), Multicolumn Indexes" + "source": "Kendi derleme — PostgreSQL 18 Docs: Constraints (Primary Keys, Foreign Keys), Multicolumn Indexes", + "origin": { + "kind": "own" + } }, { "id": "sql-transaction-dirty-read", @@ -233,7 +239,10 @@ "followUps": [ "Sadece Read Committed kullanarak, para çekme işlemi sırasında bakiyenin eksiye düşmesini (Lost Update) nasıl engellersin?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: Transaction Isolation; Microsoft Learn: SET TRANSACTION ISOLATION LEVEL (SQL Server); MySQL 8.4 Reference Manual: Transaction Isolation Levels" + "source": "Kendi derleme — PostgreSQL 18 Docs: Transaction Isolation; Microsoft Learn: SET TRANSACTION ISOLATION LEVEL (SQL Server); MySQL 8.4 Reference Manual: Transaction Isolation Levels", + "origin": { + "kind": "own" + } }, { "id": "sql-locking-lost-update", @@ -295,7 +304,10 @@ "followUps": [ "Pessimistic locking kullanırken Deadlock (kördüğüm) oluşmasını engellemek için birden fazla satırı güncellerken nelere dikkat etmeliyiz?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: Explicit Locking (Row-Level Locks), Transaction Isolation (Read Committed Isolation Level)" + "source": "Kendi derleme — PostgreSQL 18 Docs: Explicit Locking (Row-Level Locks), Transaction Isolation (Read Committed Isolation Level)", + "origin": { + "kind": "own" + } }, { "id": "sql-window-running-total", @@ -357,7 +369,10 @@ "followUps": [ "Müşterilerin değil de bankanın tüm şubelerinin kümülatif hesap hareketlerini tek sorguda 'şube bazlı' ayrı ayrı göstermek istesek sorguya hangi ifadeyi eklerdik?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: Window Functions (Tutorial), Value Expressions (Window Function Calls)" + "source": "Kendi derleme — PostgreSQL 18 Docs: Window Functions (Tutorial), Value Expressions (Window Function Calls)", + "origin": { + "kind": "own" + } }, { "id": "sql-exception", @@ -442,7 +457,10 @@ "followUps": [ "Hatayı yakalayıp logladıktan sonra transaction'a devam etmek isteseydin hangi mekanizmayı kullanırdın?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: PostgreSQL Error Codes; Spring Framework: DuplicateKeyException (Javadoc), Rolling Back a Declarative Transaction" + "source": "Kendi derleme — PostgreSQL 18 Docs: PostgreSQL Error Codes; Spring Framework: DuplicateKeyException (Javadoc), Rolling Back a Declarative Transaction", + "origin": { + "kind": "own" + } }, { "id": "sql-slow-query-explain", @@ -523,7 +541,10 @@ "followUps": [ "Sorgu planında index olmasına rağmen Seq Scan görüyorsan olası sebepler nelerdir?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: Using EXPLAIN; PostgreSQL 18 release notes (EXPLAIN BUFFERS)" + "source": "Kendi derleme — PostgreSQL 18 Docs: Using EXPLAIN; PostgreSQL 18 release notes (EXPLAIN BUFFERS)", + "origin": { + "kind": "own" + } }, { "id": "sql-find-slow-queries", @@ -590,7 +611,10 @@ "followUps": [ "Uygulama tarafında N+1 problemi olduğunu pg_stat_statements çıktısından nasıl anlarsın?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: pg_stat_statements, Error Reporting and Logging (log_min_duration_statement), The Cumulative Statistics System (pg_stat_activity); MySQL 8.4 Reference Manual: The Slow Query Log" + "source": "Kendi derleme — PostgreSQL 18 Docs: pg_stat_statements, Error Reporting and Logging (log_min_duration_statement), The Cumulative Statistics System (pg_stat_activity); MySQL 8.4 Reference Manual: The Slow Query Log", + "origin": { + "kind": "own" + } }, { "id": "sql-exception-handling-db", @@ -663,7 +687,10 @@ "followUps": [ "Uygulama tarafında birden fazla adımlı bir işlemde sadece bir adımı geri almak isteseydin SQL'de hangi komutu kullanırdın?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: PL/pgSQL Control Structures (Trapping Errors), PL/pgSQL Transaction Management; Microsoft Learn: TRY...CATCH (Transact-SQL); Oracle Database 23ai PL/SQL Language Reference: Overview of Exception Handling" + "source": "Kendi derleme — PostgreSQL 18 Docs: PL/pgSQL Control Structures (Trapping Errors), PL/pgSQL Transaction Management; Microsoft Learn: TRY...CATCH (Transact-SQL); Oracle Database 23ai PL/SQL Language Reference: Overview of Exception Handling", + "origin": { + "kind": "own" + } }, { "id": "sql-deadlock", @@ -735,7 +762,10 @@ "followUps": [ "Deadlock ile uzun süren kilit beklemesi (lock wait) arasındaki fark nedir?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: Explicit Locking (Deadlocks), PostgreSQL Error Codes, Client Connection Defaults (lock_timeout)" + "source": "Kendi derleme — PostgreSQL 18 Docs: Explicit Locking (Deadlocks), PostgreSQL Error Codes, Client Connection Defaults (lock_timeout)", + "origin": { + "kind": "own" + } }, { "id": "sql-acid", @@ -808,7 +838,10 @@ "followUps": [ "Durability'yi sağlamak için veritabanı commit anında diske tam olarak ne yazar?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: Glossary (ACID, Atomicity, Consistency, Isolation, Durability), Write-Ahead Logging (WAL)" + "source": "Kendi derleme — PostgreSQL 18 Docs: Glossary (ACID, Atomicity, Consistency, Isolation, Durability), Write-Ahead Logging (WAL)", + "origin": { + "kind": "own" + } }, { "id": "sql-isolation-levels", @@ -876,7 +909,10 @@ "followUps": [ "Serializable seviyesinde çalışan bir uygulama serialization failure hatası aldığında ne yapmalıdır?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: Transaction Isolation; Microsoft Learn: SET TRANSACTION ISOLATION LEVEL (SQL Server); Oracle Database 23ai Concepts: Data Concurrency and Consistency; MySQL 8.4 Reference Manual: Transaction Isolation Levels" + "source": "Kendi derleme — PostgreSQL 18 Docs: Transaction Isolation; Microsoft Learn: SET TRANSACTION ISOLATION LEVEL (SQL Server); Oracle Database 23ai Concepts: Data Concurrency and Consistency; MySQL 8.4 Reference Manual: Transaction Isolation Levels", + "origin": { + "kind": "own" + } }, { "id": "sql-join-types", @@ -962,7 +998,10 @@ "followUps": [ "Hiç hesabı olmayan müşterileri bulmak için hangi JOIN'i ve hangi koşulu kullanırsın?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: Table Expressions (Joined Tables)" + "source": "Kendi derleme — PostgreSQL 18 Docs: Table Expressions (Joined Tables)", + "origin": { + "kind": "own" + } }, { "id": "sql-where-vs-having", @@ -1034,7 +1073,10 @@ "followUps": [ "SELECT içinde verdiğin bir takma adı (alias) WHERE içinde neden kullanamazsın?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: Table Expressions (The WHERE Clause, The GROUP BY and HAVING Clauses)" + "source": "Kendi derleme — PostgreSQL 18 Docs: Table Expressions (The WHERE Clause, The GROUP BY and HAVING Clauses)", + "origin": { + "kind": "own" + } }, { "id": "sql-primary-foreign-key", @@ -1118,7 +1160,10 @@ "followUps": [ "Natural key yerine surrogate key (yapay id) kullanmanın avantajları nelerdir?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: Constraints (Primary Keys, Foreign Keys)" + "source": "Kendi derleme — PostgreSQL 18 Docs: Constraints (Primary Keys, Foreign Keys)", + "origin": { + "kind": "own" + } }, { "id": "sql-normalization", @@ -1205,7 +1250,10 @@ "followUps": [ "Bir bankanın raporlama veritabanında neden bilerek denormalize tablolar kullanılır?" ], - "source": "Kendi derleme — Microsoft Learn: Database normalization description" + "source": "Kendi derleme — Microsoft Learn: Database normalization description", + "origin": { + "kind": "own" + } }, { "id": "sql-composite-index-order", @@ -1278,7 +1326,10 @@ "followUps": [ "created_at tek başına da sık sorgulanıyorsa ne yaparsın?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: Multicolumn Indexes; PostgreSQL 18 release notes (skip scan)" + "source": "Kendi derleme — PostgreSQL 18 Docs: Multicolumn Indexes; PostgreSQL 18 release notes (skip scan)", + "origin": { + "kind": "own" + } }, { "id": "sql-index-not-used", @@ -1363,7 +1414,10 @@ "followUps": [ "Büyük/küçük harf duyarsız email araması için index'i nasıl tasarlarsın?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: Indexes on Expressions, Index Types (LIKE), Operator Classes and Operator Families; PostgreSQL 8.3 release notes (casts to text); MySQL 8.4 Reference Manual: Type Conversion in Expression Evaluation" + "source": "Kendi derleme — PostgreSQL 18 Docs: Indexes on Expressions, Index Types (LIKE), Operator Classes and Operator Families; PostgreSQL 8.3 release notes (casts to text); MySQL 8.4 Reference Manual: Type Conversion in Expression Evaluation", + "origin": { + "kind": "own" + } }, { "id": "sql-covering-index", @@ -1433,7 +1487,10 @@ "followUps": [ "INCLUDE ile kolon eklemek ile o kolonu bileşik index'in parçası yapmak arasındaki fark nedir?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: Index-Only Scans and Covering Indexes, Routine Vacuuming (Updating the Visibility Map)" + "source": "Kendi derleme — PostgreSQL 18 Docs: Index-Only Scans and Covering Indexes, Routine Vacuuming (Updating the Visibility Map)", + "origin": { + "kind": "own" + } }, { "id": "sql-clustered-index", @@ -1506,7 +1563,10 @@ "followUps": [ "InnoDB'de primary key olarak rastgele UUID kullanmak neden yazma performansını düşürür?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: CLUSTER; Microsoft Learn: Create a Clustered Index (SQL Server); MySQL 8.4 Reference Manual: Clustered and Secondary Indexes" + "source": "Kendi derleme — PostgreSQL 18 Docs: CLUSTER; Microsoft Learn: Create a Clustered Index (SQL Server); MySQL 8.4 Reference Manual: Clustered and Secondary Indexes", + "origin": { + "kind": "own" + } }, { "id": "sql-cte", @@ -1578,7 +1638,10 @@ "followUps": [ "Bir çalışanın en üst yöneticiye kadar tüm yönetici zincirini recursive CTE ile nasıl yazarsın?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: WITH Queries (Common Table Expressions); PostgreSQL 12 release notes" + "source": "Kendi derleme — PostgreSQL 18 Docs: WITH Queries (Common Table Expressions); PostgreSQL 12 release notes", + "origin": { + "kind": "own" + } }, { "id": "sql-subquery-vs-join", @@ -1650,7 +1713,10 @@ "followUps": [ "Hiç işlem yapmamış hesapları bulmak için LEFT JOIN ve NOT EXISTS çözümlerini karşılaştır." ], - "source": "Kendi derleme — PostgreSQL 18 Docs: Subquery Expressions (EXISTS, IN, NOT IN)" + "source": "Kendi derleme — PostgreSQL 18 Docs: Subquery Expressions (EXISTS, IN, NOT IN)", + "origin": { + "kind": "own" + } }, { "id": "sql-rank-functions", @@ -1739,7 +1805,10 @@ "followUps": [ "Her şubenin en yüksek bakiyeli 3 müşterisini, eşitlik durumunda hepsini gösterecek şekilde nasıl listelersin?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: Window Functions (functions-window), Window Functions (Tutorial)" + "source": "Kendi derleme — PostgreSQL 18 Docs: Window Functions (functions-window), Window Functions (Tutorial)", + "origin": { + "kind": "own" + } }, { "id": "sql-delete-truncate-drop", @@ -1813,7 +1882,10 @@ "followUps": [ "Milyonlarca satırlık bir tablodan eski kayıtları silmen gerekiyor; tek bir DELETE çalıştırmak neden risklidir?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: TRUNCATE; MySQL 8.4 Reference Manual: Statements That Cause an Implicit Commit; Oracle Database 23ai SQL Language Reference: TRUNCATE TABLE" + "source": "Kendi derleme — PostgreSQL 18 Docs: TRUNCATE; MySQL 8.4 Reference Manual: Statements That Cause an Implicit Commit; Oracle Database 23ai SQL Language Reference: TRUNCATE TABLE", + "origin": { + "kind": "own" + } }, { "id": "sql-union-vs-union-all", @@ -1887,7 +1959,10 @@ "followUps": [ "UNION ile INTERSECT ve EXCEPT arasındaki fark nedir?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: Combining Queries (UNION, INTERSECT, EXCEPT)" + "source": "Kendi derleme — PostgreSQL 18 Docs: Combining Queries (UNION, INTERSECT, EXCEPT)", + "origin": { + "kind": "own" + } }, { "id": "sql-null-handling", @@ -1966,7 +2041,10 @@ "followUps": [ "Bir kolonun UNIQUE kısıtı varken iki satırda NULL değer olabilir mi? Neden?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: Comparison Functions and Operators, Aggregate Functions, Conditional Expressions (COALESCE)" + "source": "Kendi derleme — PostgreSQL 18 Docs: Comparison Functions and Operators, Aggregate Functions, Conditional Expressions (COALESCE)", + "origin": { + "kind": "own" + } }, { "id": "sql-n-plus-one", @@ -2050,7 +2128,10 @@ "followUps": [ "JOIN FETCH ile iki farklı koleksiyonu aynı anda çekmeye çalışırsan ne olur?" ], - "source": "Kendi derleme — Hibernate ORM 7.0: Introduction (Association fetching, Batch fetching), User Guide (pagination with fetch join)" + "source": "Kendi derleme — Hibernate ORM 7.0: Introduction (Association fetching, Batch fetching), User Guide (pagination with fetch join)", + "origin": { + "kind": "own" + } }, { "id": "sql-injection", @@ -2124,7 +2205,10 @@ "followUps": [ "JPA kullanıyorsan SQL injection'dan tamamen korunmuş olur musun? Hangi durumda hâlâ risk vardır?" ], - "source": "Kendi derleme — OWASP SQL Injection Prevention Cheat Sheet (Prepared Statements, Allow-list Input Validation, Least Privilege)" + "source": "Kendi derleme — OWASP SQL Injection Prevention Cheat Sheet (Prepared Statements, Allow-list Input Validation, Least Privilege)", + "origin": { + "kind": "own" + } }, { "id": "sql-view-vs-materialized", @@ -2197,7 +2281,10 @@ "followUps": [ "Bir view üzerinden INSERT veya UPDATE yapılabilir mi?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: CREATE VIEW, REFRESH MATERIALIZED VIEW" + "source": "Kendi derleme — PostgreSQL 18 Docs: CREATE VIEW, REFRESH MATERIALIZED VIEW", + "origin": { + "kind": "own" + } }, { "id": "sql-procedure-vs-function", @@ -2281,7 +2368,10 @@ "followUps": [ "Uygulamada mı yoksa stored procedure'de mi faiz hesaplaması yapardın? Neden?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: User-Defined Procedures, PL/pgSQL Transaction Management" + "source": "Kendi derleme — PostgreSQL 18 Docs: User-Defined Procedures, PL/pgSQL Transaction Management", + "origin": { + "kind": "own" + } }, { "id": "sql-trigger", @@ -2352,7 +2442,10 @@ "followUps": [ "Audit log'u trigger yerine uygulama katmanında tutmanın avantajı ve dezavantajı nedir?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: Overview of Trigger Behavior" + "source": "Kendi derleme — PostgreSQL 18 Docs: Overview of Trigger Behavior", + "origin": { + "kind": "own" + } }, { "id": "sql-pagination", @@ -2439,7 +2532,10 @@ "followUps": [ "Keyset pagination'da geri (önceki sayfa) gitmeyi nasıl uygularsın?" ], - "source": "Kendi derleme — PostgreSQL 18 Docs: LIMIT and OFFSET, Row and Array Comparisons (Row Constructor Comparison)" + "source": "Kendi derleme — PostgreSQL 18 Docs: LIMIT and OFFSET, Row and Array Comparisons (Row Constructor Comparison)", + "origin": { + "kind": "own" + } } ] } diff --git a/src/content/tr/content-web.json b/src/content/tr/content-web.json index e37c26f..e005792 100644 --- a/src/content/tr/content-web.json +++ b/src/content/tr/content-web.json @@ -89,7 +89,10 @@ "followUps": [ "Ağ hatasından sonra bir POST isteğini güvenle tekrarlamak için ne yapılabilir?" ], - "source": "Kendi derleme — RFC 9110 §9.2.1 Safe Methods, §9.2.2 Idempotent Methods" + "source": "Kendi derleme — RFC 9110 §9.2.1 Safe Methods, §9.2.2 Idempotent Methods", + "origin": { + "kind": "own" + } }, { "id": "web-get-vs-post", @@ -178,7 +181,10 @@ "followUps": [ "GET isteğindeki URL'nin uzunluğu için HTTP'de bir sınır var mı?" ], - "source": "Kendi derleme — RFC 9110 §9.3.1 GET, §9.3.3 POST; MDN: HTTP request methods" + "source": "Kendi derleme — RFC 9110 §9.3.1 GET, §9.3.3 POST; MDN: HTTP request methods", + "origin": { + "kind": "own" + } }, { "id": "web-put-vs-patch", @@ -263,7 +269,10 @@ "followUps": [ "Bir PATCH isteğini idempotent hâle getirmek için ne yapabilirsin?" ], - "source": "Kendi derleme — RFC 9110 §9.3.4 PUT; RFC 5789 (PATCH); RFC 7396 (JSON Merge Patch); RFC 6902 (JSON Patch)" + "source": "Kendi derleme — RFC 9110 §9.3.4 PUT; RFC 5789 (PATCH); RFC 7396 (JSON Merge Patch); RFC 6902 (JSON Patch)", + "origin": { + "kind": "own" + } }, { "id": "web-head-options", @@ -351,7 +360,10 @@ "followUps": [ "Sunucu HEAD yanıtında Content-Length göndermek zorunda mı?" ], - "source": "Kendi derleme — RFC 9110 §9.3.2 HEAD, §9.3.7 OPTIONS; MDN: OPTIONS" + "source": "Kendi derleme — RFC 9110 §9.3.2 HEAD, §9.3.7 OPTIONS; MDN: OPTIONS", + "origin": { + "kind": "own" + } }, { "id": "web-status-classes", @@ -439,7 +451,10 @@ "followUps": [ "Bir API doğrulama hatasında 200 dönüp gövdeye success: false yazarsa ne kaybeder?" ], - "source": "Kendi derleme — RFC 9110 §15 Status Codes" + "source": "Kendi derleme — RFC 9110 §15 Status Codes", + "origin": { + "kind": "own" + } }, { "id": "web-redirect-codes", @@ -526,7 +541,10 @@ "followUps": [ "Bir API'nin adresini kalıcı olarak taşırken POST yapan istemcilerin bozulmaması için hangi kodu seçersin?" ], - "source": "Kendi derleme — RFC 9110 §15.4 Redirection 3xx" + "source": "Kendi derleme — RFC 9110 §15.4 Redirection 3xx", + "origin": { + "kind": "own" + } }, { "id": "web-400-vs-422", @@ -599,7 +617,10 @@ "followUps": [ "Aynı e-posta adresiyle ikinci kez kayıt olmaya çalışan bir istek için 400, 409 ve 422'den hangisini seçersin?" ], - "source": "Kendi derleme — RFC 9110 §15.5.1 400, §15.5.21 422; RFC 9457 (Problem Details for HTTP APIs)" + "source": "Kendi derleme — RFC 9110 §15.5.1 400, §15.5.21 422; RFC 9457 (Problem Details for HTTP APIs)", + "origin": { + "kind": "own" + } }, { "id": "web-409-vs-412", @@ -684,7 +705,10 @@ "followUps": [ "PUT isteklerinde If-Match'i zorunlu tutan bir sunucu, başlıksız gelen isteğe hangi kodu döner?" ], - "source": "Kendi derleme — RFC 9110 §13.1.1 If-Match, §15.5.10 409, §15.5.13 412" + "source": "Kendi derleme — RFC 9110 §13.1.1 If-Match, §15.5.10 409, §15.5.13 412", + "origin": { + "kind": "own" + } }, { "id": "web-429", @@ -756,7 +780,10 @@ "followUps": [ "Sunucu tarafında rate limiting için token bucket ile fixed window yaklaşımları nasıl ayrışır?" ], - "source": "Kendi derleme — RFC 6585 §4 (429 Too Many Requests); RFC 9110 §10.2.3 Retry-After" + "source": "Kendi derleme — RFC 6585 §4 (429 Too Many Requests); RFC 9110 §10.2.3 Retry-After", + "origin": { + "kind": "own" + } }, { "id": "web-5xx", @@ -842,7 +869,10 @@ "followUps": [ "Bir sağlık kontrolü (health check) ucu, bakım sırasında hangi kodu dönmeli?" ], - "source": "Kendi derleme — RFC 9110 §15.6 Server Error 5xx" + "source": "Kendi derleme — RFC 9110 §15.6 Server Error 5xx", + "origin": { + "kind": "own" + } }, { "id": "web-401-www-authenticate", @@ -915,7 +945,10 @@ "followUps": [ "Herkese açık bir uca süresi dolmuş bir Bearer token ile istek gelirse sunucu 401 mi dönmeli, isteği anonim olarak mı işlemeli?" ], - "source": "Kendi derleme — RFC 9110 §11.6.1 WWW-Authenticate, §15.5.2 401, §15.5.4 403; RFC 6750 §3" + "source": "Kendi derleme — RFC 9110 §11.6.1 WWW-Authenticate, §15.5.2 401, §15.5.4 403; RFC 6750 §3", + "origin": { + "kind": "own" + } }, { "id": "web-content-negotiation", @@ -1000,7 +1033,10 @@ "followUps": [ "Sunucu yanıtı Accept-Language'e göre seçiyorsa önbelleğin yanlış dilde yanıt vermemesi için ne eklemelidir?" ], - "source": "Kendi derleme — RFC 9110 §8.3 Content-Type, §12 Content Negotiation, §15.5.7 406, §15.5.16 415" + "source": "Kendi derleme — RFC 9110 §8.3 Content-Type, §12 Content Negotiation, §15.5.7 406, §15.5.16 415", + "origin": { + "kind": "own" + } }, { "id": "web-content-encoding-chunked", @@ -1089,7 +1125,10 @@ "followUps": [ "Bir HTTP/1.1 isteğinde hem Content-Length hem Transfer-Encoding: chunked bulunursa neden güvenlik sorunu doğabilir?" ], - "source": "Kendi derleme — RFC 9110 §8.4 Content-Encoding; RFC 9112 §7 Transfer Codings; RFC 9113 §8.1; RFC 9114 §4.1" + "source": "Kendi derleme — RFC 9110 §8.4 Content-Encoding; RFC 9112 §7 Transfer Codings; RFC 9113 §8.1; RFC 9114 §4.1", + "origin": { + "kind": "own" + } }, { "id": "web-no-cache-vs-no-store", @@ -1177,7 +1216,10 @@ "followUps": [ "must-revalidate ile no-cache arasındaki fark nedir?" ], - "source": "Kendi derleme — RFC 9111 §5.2.2.4 no-cache, §5.2.2.5 no-store; MDN: Cache-Control" + "source": "Kendi derleme — RFC 9111 §5.2.2.4 no-cache, §5.2.2.5 no-store; MDN: Cache-Control", + "origin": { + "kind": "own" + } }, { "id": "web-cache-control", @@ -1266,7 +1308,10 @@ "followUps": [ "Bir kullanıcının profil sayfası yanlışlıkla public olarak CDN'de önbelleğe alınırsa ne olur?" ], - "source": "Kendi derleme — RFC 9111 §3.5, §5.2.2 (max-age, private, public, s-maxage); RFC 8246 (immutable)" + "source": "Kendi derleme — RFC 9111 §3.5, §5.2.2 (max-age, private, public, s-maxage); RFC 8246 (immutable)", + "origin": { + "kind": "own" + } }, { "id": "web-conditional-request", @@ -1351,7 +1396,10 @@ "followUps": [ "Zayıf ETag (W/ önekli) ile güçlü ETag arasındaki fark nedir, hangisi ne zaman kullanılır?" ], - "source": "Kendi derleme — RFC 9110 §8.8 Validator Fields, §13.1 Preconditions, §15.4.5 304; RFC 9111 §4.3" + "source": "Kendi derleme — RFC 9110 §8.8 Validator Fields, §13.1 Preconditions, §15.4.5 304; RFC 9111 §4.3", + "origin": { + "kind": "own" + } }, { "id": "web-vary", @@ -1438,7 +1486,10 @@ "followUps": [ "CORS yanıtında Access-Control-Allow-Origin isteğe göre değişiyorsa Vary'ye ne eklenmelidir?" ], - "source": "Kendi derleme — RFC 9110 §12.5.5 Vary; RFC 9111 §4.1" + "source": "Kendi derleme — RFC 9110 §12.5.5 Vary; RFC 9111 §4.1", + "origin": { + "kind": "own" + } }, { "id": "web-rest-constraints", @@ -1520,7 +1571,10 @@ "followUps": [ "HTTP üzerinden JSON dönen RPC tarzı bir API'yi REST'ten ayıran nedir?" ], - "source": "Kendi derleme — Roy T. Fielding, Architectural Styles and the Design of Network-based Software Architectures (2000), Bölüm 5" + "source": "Kendi derleme — Roy T. Fielding, Architectural Styles and the Design of Network-based Software Architectures (2000), Bölüm 5", + "origin": { + "kind": "own" + } }, { "id": "web-rest-stateless", @@ -1610,7 +1664,10 @@ "followUps": [ "JWT kullanan her API stateless mıdır; sunucuda bir token iptal listesi tutmak bu kısıtı bozar mı?" ], - "source": "Kendi derleme — Roy T. Fielding (2000), §5.1.3 Stateless" + "source": "Kendi derleme — Roy T. Fielding (2000), §5.1.3 Stateless", + "origin": { + "kind": "own" + } }, { "id": "web-idempotency-key", @@ -1684,7 +1741,10 @@ "followUps": [ "Sunucuda aynı anahtarla gelen iki eşzamanlı isteğin ikisinin de işlenmesini nasıl önlersin?" ], - "source": "Kendi derleme — RFC 9110 §9.2.2 Idempotent Methods; IETF draft-ietf-httpapi-idempotency-key-header" + "source": "Kendi derleme — RFC 9110 §9.2.2 Idempotent Methods; IETF draft-ietf-httpapi-idempotency-key-header", + "origin": { + "kind": "own" + } }, { "id": "web-hateoas", @@ -1772,7 +1832,10 @@ "followUps": [ "Bir API'nin Richardson olgunluk modelinde hangi seviyede olduğunu nasıl anlarsın?" ], - "source": "Kendi derleme — Roy T. Fielding (2000), §5.1.5 Uniform Interface; Martin Fowler, Richardson Maturity Model (2010)" + "source": "Kendi derleme — Roy T. Fielding (2000), §5.1.5 Uniform Interface; Martin Fowler, Richardson Maturity Model (2010)", + "origin": { + "kind": "own" + } }, { "id": "web-tcp-vs-udp", @@ -1860,7 +1923,10 @@ "followUps": [ "UDP üzerinde çalışan bir uygulama paket kaybını ve sırayı nasıl ele alabilir?" ], - "source": "Kendi derleme — RFC 9293 (TCP); RFC 768 (UDP)" + "source": "Kendi derleme — RFC 9293 (TCP); RFC 768 (UDP)", + "origin": { + "kind": "own" + } }, { "id": "web-tcp-handshake", @@ -1945,7 +2011,10 @@ "followUps": [ "SYN flood saldırısı nasıl çalışır, SYN cookie'leri bunu nasıl hafifletir?" ], - "source": "Kendi derleme — RFC 9293 §3.4 Sequence Numbers, §3.5 Establishing a Connection; RFC 6528" + "source": "Kendi derleme — RFC 9293 §3.4 Sequence Numbers, §3.5 Establishing a Connection; RFC 6528", + "origin": { + "kind": "own" + } }, { "id": "web-dns-resolution", @@ -2032,7 +2101,10 @@ "followUps": [ "DNS over HTTPS (DoH) neyi çözer, neyi değiştirmez?" ], - "source": "Kendi derleme — RFC 1034 §2.4, §5.3.1; RFC 1035; RFC 3596 (AAAA)" + "source": "Kendi derleme — RFC 1034 §2.4, §5.3.1; RFC 1035; RFC 3596 (AAAA)", + "origin": { + "kind": "own" + } }, { "id": "web-url-to-page", @@ -2121,7 +2193,10 @@ "followUps": [ "Bir