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

Tag: How to

How to set the “Require” path when embedded in Lua?

I embedded lua in the directory structure of my game engine and lua files, and I started to use a lot of lua scripts. I want to use “requrie” to optimize module inclusion, but I don’t Determine how

October 5, 2021By Simo Lua Embed, How to, How to Set, lua, path, RequireLeave a Comment

How to calculate upvalues ​​in nested Lua functions?

Use lua code blocks like this:

local a, b
function fA ()
print(a)
function fB ()
print(b)
end
end How many upvalues ​​does fA have, 1 or 2?

You may want to use luac -l -l to read th

October 5, 2021By Simo Lua Calculation, function, How to, lua, middle, nested, UpValuesLeave a Comment

How to reference the field name in Firedac in Delphi

I am developing an application that runs on multiple databases, many of which have their own way to refer to reserved words as field names, such as
such as< /p>

select `key` from mytable or

October 5, 2021By Simo Delphi Delphi, Field, Firedac, How to, Name, QuoteLeave a Comment

How to read a fairly simple JSON file in Delphi Xe4?

I have been trying to solve this problem, it seems to take too long to do some simple things.

I have such a file:

[
{
“FirstName”: “Oleg”,
“Surname”: “Buckley”
},
{
“FirstName”: “

October 5, 2021By Simo Delphi Delphi, file, How to, JSON, quite, reading, simple, XE, XE4Leave a Comment

How to disable the Android homepage and back button from Delphi

I am writing an application for an Android tablet in Delphi XE7. I want to turn off the homepage and back button so that no one can leave the application. I found many answers, But there is no ment

October 5, 2021By Simo Delphi Android, back, button, Delphi, Disable, HOME, How toLeave a Comment

How to pass the lua function to the C function and perform Lua functions multiple times?

What I want to do is create a function that will iterate some objects and call a function for each function. I am using BlitzMax, not C, but other than that , Because it has a complete Lua C functi

October 5, 2021By Simo Lua execution, function, How to, lua, multiple, transferLeave a Comment

How to convert a C string into a RUST string and return via FFI?

I am trying to get the C string returned by the C library and convert it to a Rust string through FFI.

mylib.c

const char* hello(){
return “Hello World!”;
} main.rs

#![feature(li

October 4, 2021By Simo C & C++ By, conversion, FFI, How to, return, Rust, stringLeave a Comment

How do I call the “AT command” of the GSM modem in the codeys? Not a standard Send_SMS and E.T.C

I have a gsm-modem and plc, plc sees a modem (I use *.lib and the function block “openPort”), but I don’t understand how to write “in the modem” at command”, such as “ate0”. First, in order to i

October 4, 2021By Simo C & C++ call, Codeys, Command, E.T.C, GSM, How to, MODEM, not, Send, SMS, StandardLeave a Comment

How to pack printf () into a function or macro?

This sounds a bit like an interview question, but it is actually an actual question.

I am using an embedded platform and only provide this​​ The equivalent of these functions:

> printf(

October 4, 2021By Simo C & C++ function, How to, macro, Packaging, printfLeave a Comment

How to read an integer group in the file in C

I have a text file, each line contains one or more integers, separated by spaces. How can I read this in C in an elegant way? If I don’t care about the line, I can use cin>>, but the important thin

October 4, 2021By Simo C & C++ China, file, Group, How to, integer, middle, one, readLeave a Comment

Posts navigation

Page 1 … Page 7 Page 8 Page 9 … Page 14
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