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

Month: October 2021

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

Delphi – Declaration Matrix Const

Edit my question.

I will be specific.

How to declare the following code as const instead of var?
(I can’t get the Cube example)

var
Matrix: array of array of string;
SetLength(

October 5, 2021By Simo Delphi const, Delphi, Matrix, statementLeave a Comment

Delphi interface and component background transparent related methods

1 unit Unit1;
2
3 interface
4
5 uses
6 Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
7 Dialogs, StdCtrls;
8
9 type
10 TForm1 = class(TForm)
11 Edit

October 5, 2021By Simo Delphi Background, components, Delphi, Interface, methods, Related, transparentLeave a Comment

Lua yourself

–turn to binary
function numberToBits(src)
local result = {}
local bitLen = 32 
  for i = 1, bitLen do  
    result[i] = src % 2  
    src = math.floor(src / 2)  
  end  
  
  return result  <

October 5, 2021By Simo Lua bit, lua, operation, realize, yourselfLeave a Comment

Delphi – Timer queue in Windows service

For Windows services, I need a timer to perform a certain task on a regular basis. Of course, there are many options that seem to be better than timers (multithreaded, calling methods directly from

October 5, 2021By Simo Delphi Delphi, Medium, queue, service, Timer, windowsLeave a Comment

leetcode-mid-others-150. Evaluate Reverse Polish Notation

mycode 42.30%,

Note: If the symbol is not considered, -1//3=-1 instead of 0, because it is rounded down

class Solution(object):
def evalRPN(self, tokens):
“””
:type tokens: List[s

October 5, 2021By Simo Lua evaluate, leetcode, Notation, polish, ReverseLeave a Comment

Lua converts UserData into a string

I am trying to print out some userdata as a string, but the lua documentation is rather weak to non-existent. How to convert the userdata variable to a string so that it can be written to a file?

October 5, 2021By Simo Lua conversion, lua, string, UserData, willLeave a Comment

Delphi: Transparent controls become opaque in the netbook

For some reason, the transparent controls on the form became opaque on some computers. I got reports on “Acer Netbook” and “Thinkpad x600”. The application It was built using Delphi 2007.

Thi

October 5, 2021By Simo Delphi become opaque, bet, control, Delphi, Internet, transparentLeave a Comment

Delphi internal error when compiling DPK projects

I have a DPK project, and sometimes it shows an error (“out of memory”) when compiling (entering Delphi IDE), and sometimes it compiles successfully.
However, when I try When compiling it via MSBU

October 5, 2021By Simo Delphi Delphi, error, InternalLeave a Comment

Lua – How to use external data in an OSRM configuration file

In this Mapbox blog post, Lauren Budorick shared how they used OSRM to run the routing engine, which uses elevation data to provide riders with better routes… amazing!

I also want to explor

October 5, 2021By Simo Lua configuration file, data, external, How, lua, Medium, OSRM, useLeave a Comment

Posts navigation

Page 1 … Page 280 Page 281 Page 282 … Page 369
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