Skip to navigation Skip to content
Simon Technology Blog
  • Architecture
  • Cloud
  • Database
  • Develop
  • Hardware
  • Industry
  • Language
  • Mobile
  • Opensource
  • OS
  • Web
Main Navigation

Tag: why

Delphi – Tregistry – Why is some keys readable and some keys are not available?

I wrote the following code:

var
MainForm: TMainForm;
const
SRootKey = HKEY_LOCAL_MACHINE;
SKey =’SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles’;
implementation
{$ R *.d

October 5, 2021By Simo Delphi Delphi, key, not, readable, Some, somewhat, Tregistry, whyLeave a Comment

Delphi – Why should I use Tcollections.createlist instead of tList.create?

I added map(), reduce() and where(qlint: string) to my Spring4D branch.
When I wrote these functions, I found the behavior of the list There are differences when they are created in different ways

October 5, 2021By Simo Delphi create, CREATELIST, Delphi, should be used, TCOLLECTIONS, TCOLLECTIONS.CREATELIST, TLIST, TLIST.CREATE, whyLeave a Comment

Delphi – Create a form that has not been declared – I don’t know why

I am using Delphi 7 (I know it is antique) and I am a little confused about the form I am creating and break it when I complete it.

In My main form, I used to “have” the following code;

October 5, 2021By Simo Delphi Created, Delphi, don't know, form, one, statement, why, yetLeave a Comment

Why is mysql to choose B + Tree

Algorithm comparison

Binary tree

When I look for 8 Five steps are needed

Red and black Tree

When I query 8 It takes four times when there are some optimizations relative to

October 4, 2021By Simo Mysql B + Tree, choose, mysql, Tree, whyLeave a Comment

Why is there any `fieldof` or` methodof` or `methodof` operator?

They can be used as follows:

FieldInfo field = fieldof(string.Empty);
MethodInfo method1 = methodof(int.ToString);
MethodInfo method2 = methodof(int.ToString(IFormatProvider)); fieldof can be compiled into IL, as follows:

ldtoken
call FieldInfo.GetFieldFromHandle methodof can be compiled into IL as:

October 4, 2021By Simo C# C #, Fieldof, Methodof, no, operator, whyLeave a Comment

C # – Why is AddRange faster than using the Foreach?

var fillData = new List();
for (var i = 0; i fillData.Add(i);
}
var stopwatch1 = new Stopwatch();
stopwatch1.Start();
var autoFill = new List();
autoFill.AddRange(fillData);
stopwatch1.Stop();
var

October 4, 2021By Simo C# addrange, C #, faster, foreach, loop, use, whyLeave a Comment

Why is MySQL assessment (TRUE or TRUE and FALSE) TRUE?

If you enter

SELECT (true or true and false) In mysql, It will return 1, which is true. Why is this happening? What is the order of evaluation in Boolean expressions?

If you enter

October 4, 2021By Simo Mysql evaluation, False, mysql, true, whyLeave a Comment

Inheritance – Why is this class considered to be the ultimate?

I tried to inherit the following type, but the compiler says it is final.

class Dice(private var side: Int)
{
constructor(D: DiceTypesK): this(D.value) {}
}
class ExplodedDice(private val D:

October 3, 2021By Simo Software Design class, final, inherit, is considered, This, whyLeave a Comment

OOP – UML inheritance – Why is the arrow direction from subclass to the parent class?

In the above image, class B inherits class A. If B inherits all methods of A, shouldn’t the arrow go from A to B? In my opinion, if the arrow is from A to B, it will make more sense.

Is there

October 3, 2021By Simo Software Design arrows, classes, direction, inheritance, OOP, parents, subclasses, UML, whyLeave a Comment

Performance – Why is Cassandra secondary index on 350K lines so slow?

I have a column family with a secondary index. The secondary index is basically a binary field, but I am using a string. The field named is_exported can be “true “Or “false”. After the request, all

October 2, 2021By Simo Performance 350K, Cassandra, index, on, performance, Second, slow, whyLeave a Comment

Posts navigation

Page 1 … Page 4 Page 5 Page 6 … Page 9
Recent Posts
  • Sencha-Touch-2 – Sencha Touch 2, Nested XML Analysis NodeValue
  • Add a separation line and format XML content
  • Is there a norm of simplified XML subsets?
  • Look at it when you write React
  • ReactJS – Present React Redux React-Router App to add the server to the Firebase hosted by the Firebase
Categories
  • Android
  • Apache
  • Apache Kafka
  • Asp
  • Auto-Test
  • Automated Build
  • Aws
  • Bitcoin
  • Browser
  • C & C++
  • C#
  • Centos
  • Cgi
  • Character
  • Cloud Service
  • Cocos2dx
  • Cordova
  • CSS
  • Data Structure
  • Delphi
  • Design Pattern
  • Dojo
  • Dubbo
  • ELK
  • Flex
  • football
  • Game
  • Hadoop
  • Hibernate
  • HTML
  • Hybrid
  • Intel
  • IOS
  • Ipad
  • iPhone
  • Java
  • Javascript
  • Jetty
  • JQuery
  • Jsp
  • Linux
  • Load Balance
  • Lua
  • Macbook
  • Macos
  • Mathematics
  • Micro Services
  • Monitoring
  • Motherboard
  • Mysql
  • Network Hardware
  • Network Marketing
  • Nginx
  • NodeJs
  • Nosql
  • Oracle
  • Os Theory
  • Performance
  • PHP
  • Postgresql
  • Power Designer
  • React
  • Redis
  • Regexp
  • Rom
  • Rss
  • Ruby
  • Search Engines
  • Shell Script
  • Silicon Valley
  • Silverlight
  • Software Design
  • Spring
  • Sql
  • Sqlite
  • Sqlserver
  • Storage
  • Storm
  • Surface
  • SVN
  • Swift
  • System Architecture
  • Tablet
  • Uncategorized
  • Unix
  • Visual Basic
  • Visual Studio
  • Web Crawler
  • WebService
  • Windows
  • Wireless
  • XML
  • ZooKeeper
Archives
  • October 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • September 2020
  • September 2019
  • August 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
© Simon Technology Blog 2025 • ThemeCountry Powered by WordPress