-
MY PROJECTS
-
Recent Posts
- SQL.How can you compare two nullable values safely, and how does IS DISTINCT FROM differ from <>?
- SQL.How are NULL values ordered by ORDER BY, how do defaults differ between databases, and how can you control their placement?
- SQL.How does NULL propagate through arithmetic expressions, and how can COALESCE and NULLIF help handle missing values and division by zero?
- SQL.How does NULL affect join conditions, and why can filtering the right-hand table in WHERE remove unmatched rows from a LEFT JOIN?
- SQL.How do GROUP BY and DISTINCT treat NULL values, even though NULL = NULL evaluates to UNKNOWN?
- SQL.How do aggregate functions handle NULL, and what is the difference between COUNT(*), COUNT(column), and COUNT(DISTINCT column)?
- SQL.How does NULL affect IN and NOT IN, and why can NOT EXISTS be a safer choice when a subquery returns nullable values?
- SQL.How do WHERE, HAVING, and CHECK constraints treat conditions that evaluate to UNKNOWN?
- SQL.Why do column = NULL and column <> NULL not work as expected, and when should you use IS NULL and IS NOT NULL?
- SQL.What is SQL’s three-valued logic (TRUE, FALSE, UNKNOWN), and how do AND, OR, and NOT behave with UNKNOWN?
- ChromeDevTools.Watch all failed requests
- SQL.What are domain types (or constraints on data types), and how do they help enforce data correctness?
- SQL.How does SQL handle comparisons between different data types (for example, string vs number), and why is this dangerous?
- SQL.What is the difference between DATE, TIME, TIMESTAMP, and TIMESTAMPTZ, and which one should be used for business events?
- SQL.How do numeric types like INTEGER, BIGINT, DECIMAL, and FLOAT differ in terms of precision and use cases?
- SQL.What problems can arise from implicit type casting in SQL, and how can it affect indexes?
- SQL.How does NULL differ from 0, an empty string, or FALSE in SQL?
- SQL.What is the difference between CHAR, VARCHAR, and TEXT, and when would you choose each?
- SQL.What is MVCC ?
- SQL.What is AutoVacuum Postgres ?
Categories
- Aptana
- Azure
- C#
- DataSnap
- DBExpress
- Delphi
- Delphi и сети
- Delphi. Язык программирования
- ExtJS
- FastReport
- FireDAC
- FireMonkey
- GIT
- ICS
- IDE
- IIS
- Indy
- InnoSetup
- javascript
- jQuery
- JSON
- LiveBindings
- MSHTML
- MySQL
- PHP
- REST
- Ribbons
- SMS
- SQL инструкции
- SVN
- TRichView
- UniGui
- WebBroker
- WinAPI
- Windows
- Алгоритмы
- Без рубрики
- Деревья
- Ищу ответ
- Компонентостроение
- Мои компоненты
- Начальный уровень
- Обработка исключений
- Парсинг
- Потоки(Threads)
- Регулярные выражения
- Тестирование приложений
Category Archives: Без рубрики
Java.Multithreading.How can a thread be started forcibly?
Scenario Can you do it? How? Start a thread without calling start() ❌ No start() is required Start a thread from another thread externally ❌ No Caller must control it Force a paused/sleeping thread to resume ❌ Not directly You … Continue reading
Posted in Без рубрики
Comments Off on Java.Multithreading.How can a thread be started forcibly?
Java.Multithreading.What is the difference between start() and run() methods in Thread?
✅ The Thread class in Java just implements the Runnable interface. so… 🧵 The Core Difference Method What it Does start() Starts a new thread of execution (calls run() on a new thread) run() Just a normal method call, executes … Continue reading
Posted in Без рубрики
Comments Off on Java.Multithreading.What is the difference between start() and run() methods in Thread?
Java.Multithreading.What is the difference between Thread and Runnable?
Let’s break it down step by step: 🧠 Core Difference Concept Thread Runnable What is it? A class that represents a thread of execution A functional interface (task to run in a thread) Role Executes the code Defines the code … Continue reading
Posted in Без рубрики
Comments Off on Java.Multithreading.What is the difference between Thread and Runnable?
Java.Multithreading.How can a thread be created?
🔨 1. Extending Thread Class ✅ Easy to use❌ Can’t extend another class (Java has single inheritance)
Posted in Без рубрики
Comments Off on Java.Multithreading.How can a thread be created?
Java.Multithreading.What are “green threads” and do they exist in Java?
🌱 What Are Green Threads? Green threads are threads that are scheduled and managed entirely by the JVM (or user-level runtime), not the OS. That means: The JVM simulates threading using only one OS thread (or very few) Thread switching … Continue reading
Posted in Без рубрики
Comments Off on Java.Multithreading.What are “green threads” and do they exist in Java?
Java.Multithreading.What is the difference between a process and a thread?
🧠 What’s the Difference Between a Process and a Thread? Feature Process Thread Definition A program in execution (independent) A lightweight unit of execution within a process Memory Has its own memory space Shares memory with other threads in same … Continue reading
Posted in Без рубрики
Comments Off on Java.Multithreading.What is the difference between a process and a thread?
Java.Multithreading.What is ordering, as-if-serial semantics, sequential consistency, visibility, atomicity, happens-before, mutual exclusion, safe publication?
🧩 1. Ordering Ordering is about the sequence of execution of operations (like reads and writes). It matters because compilers, JVM, and CPUs may reorder instructions to optimize performance. You’d assume x is set before y, but the JVM might … Continue reading
Posted in Без рубрики
Comments Off on Java.Multithreading.What is ordering, as-if-serial semantics, sequential consistency, visibility, atomicity, happens-before, mutual exclusion, safe publication?
Java.Multithreading.What is “cooperative multitasking”? What type of multitasking does Java use? What is the reason for this choice?
🧠 What is Cooperative Multitasking? 🧩 Cooperative multitasking means:Tasks (threads/processes) voluntarily yield control of the CPU so others can run. 🔧 How It Works: The OS does not forcibly interrupt a running task. It relies on each task to be … Continue reading
Posted in Без рубрики
Comments Off on Java.Multithreading.What is “cooperative multitasking”? What type of multitasking does Java use? What is the reason for this choice?
Java.Multithreading.Can i adjust ThreadPoolExeccutor to work on different cores ?
❓ Can you adjust ThreadPoolExecutor to run on different cores? ⚠️ Short Answer: Not directly in Java — you cannot manually bind threads to specific cores using ThreadPoolExecutor or Java alone. But… ✅ Long Answer: You can influence it indirectly … Continue reading
Posted in Без рубрики
Comments Off on Java.Multithreading.Can i adjust ThreadPoolExeccutor to work on different cores ?
Java.Multithreading.Is ForkJoin more effective than threadExecutor ?
✅ Yes, ForkJoinPool is more effective than ThreadPoolExecutor in certain scenarios — but not always. Let’s dive into when and why ForkJoinPool outperforms ThreadPoolExecutor, and when it might not.
Posted in Без рубрики
Comments Off on Java.Multithreading.Is ForkJoin more effective than threadExecutor ?