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

Tag: middle

Operating system – Why is the address of the variable remains the same in the modified Fork () system call

Please consider the following code snippet.

if (fork() == 0)
{
a = a + 5;
printf(“%d, %d
“, a, &a);
}
else
{
a = a-5;
printf (“%d, %d
“, a,& a);
} AFAIK, when creating fork(), the paren

October 17, 2021By Simo Os Theory addresses, calls, Fork, Keep, middle, modifications, Operating System, systems, the same, variables, whyLeave a Comment

[Data Structure] Iterator realizes the order of the binary tree

Iterator

templatestruct __TreeIterator{ typedef BinTreeNode Node; typedef __TreeIterator Self; __TreeIterator() {} __TreeIterator(Node* node) :_node(node) {} Ref operator*() {assert( _node);

October 16, 2021By Simo Data Structure binary tree, Data Structure, ITERATION, middle, order, realization, traversLeave a Comment

OSX – list all files in a Homebrew package

How to make homebrew software list all installed package files? For example, when I run brew list for the exim package, I get these files:

$ brew list exim
/usr/local/Cellar/exim /4.80.1/bin/

October 16, 2021By Simo Macos all, file, Homebrew, middle, one, OSX, packageLeave a Comment

Hadoop stand-alone in Linux _ Pseudo-distribution _ installation and configuration

Step 1: Create a hadoop user and authorize the hadoop user

(1) In a new Linux system CentOS-7-x86_64-DVD-1708 In the .iso, if the initial user is root and not a hadoop user, then one needs to

October 16, 2021By Simo Linux configuration, Distribution, Hadoop, installation, linux, middle, Pseudo, stand-aloneLeave a Comment

String.getBytes () Chinese code problem

Get a byte array in the default encoding format of the operating system. This means that under different operating systems, the returned things are different!

byte[] a = “中”.getBytes()

October 15, 2021By Simo Character Chinese, code, Gettes, method, middle, Question, string, String.getbytesLeave a Comment

[Data Structure] Recent public ancestors of any two nodes in the binary tree

Question request: Give two nodes in the binary tree arbitrarily, and find their nearest ancestor

There are three types Situation:

1. The binary tree is a search binary tree

If the

October 15, 2021By Simo Data Structure ancestors, arbitrary, binary tree, Data Structure, middle, nodes, recent public, twoLeave a Comment

Why is there multiple encodings in an instruction in ARMV7

I am currently trying to implement a disassembler for ARM cortex A9, which implements the ARMv7 instruction set.

For this, I use the manual ” DDI0406C_b_arm_architecture_reference_manual.pdf”

October 15, 2021By Simo Character armv, armv7, encoding, instruction, middle, multiple, one, whyLeave a Comment

How do I use Curator to monitor events on the neighborhood of ZooKeeper?

I am developing a project, and I need to maintain a monitor on a node, and the node is also a child node. I have tried using PathCache, but I am not sure how to watch children’s children here ?

October 14, 2021By Simo ZooKeeper curator, events, how to use, middle, monitoring, nodes, offspring, ZookeeperLeave a Comment

Is the bean in Spring is the thread safe?

Conclusion: Not thread-safe

Is the Bean in the Spring container thread-safe? , The container itself does not provide a bean thread safety strategy, so it can be said that the Bean in the Spri

October 13, 2021By Simo Spring Bean, middle, security, spring, threadLeave a Comment

Returns 503 in Nginx to get a POST request

I have a simple configuration file for customizing the 503 error page during maintenance. The relevant part is like this:

The problem is found by Nginx Any request is parsed in a static file.

October 13, 2021By Simo Nginx Get, middle, nginx, POST, Request, returnLeave a Comment

Posts navigation

Page 1 Page 2 Page 3 … Page 11
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