- 博客(138)
- 收藏
- 关注
原创 LSTM data preparation
When using LSTM (Long Short-Term Memory) or GRU (Gated Recurrent Unit) for time series prediction tasks such as stock price forecasting, it’s generally not recommended to shuffle the training data.The reason is that these models are designed to learn from
2024-03-18 23:36:43 218
原创 agoda first coding
To implemente in C++. The function should take the following inputs and produce the expected outputs (provide examples if there is). The function should have a time complexity
2024-03-04 17:48:46 392
原创 position.
头寸”一词来源于中国,银行里用于日常支付的“袁大头”,十个袁大头摞起来刚好是一寸,因此叫“头寸”。中国旧时指银行钱庄等所拥有的款项,收多付少叫多头寸,收少付多叫缺头寸,结算收付差额叫轧头寸,借款弥补差额叫拆头寸。
2024-02-28 23:00:33 358
原创 tcp tuning tcp_slow_start_after_idle
the windows, is the data in on transmission.1. net.ipv4.tcp_slow_start_after_idle = 0, this is necessary2. MSS(Maximum Segment Size) inital = 1460 , MSS = MTU - 20TCPHear - 20 IPHeader3. Send Window = min( Congestion Window, Receiver Window), about = CWin
2024-02-26 09:57:05 485
原创 MPC,Secure Multi-party Computation
MPC技术的实现通常基于密码学的多种技术,包括秘密分享(Secret Sharing)、不经意传输协议(Oblivious Transfer)、混淆电路(Garbled Circuit)和同态加密(Homomorphic Encryption)等。这些技术可以保护每个参与方的输入,同时在最后聚合时,可以还原出真实的计算结果。它允许一组用户以他们的隐私数据为输入,共同计算一个函数,并且所有用户只能得到这个函数的输出,无法得到其他的任何信息。
2024-02-20 01:19:54 364
原创 BRN and FIBRE
2016年,随着Fast Internet Bitcoin Relay Engine(FIBRE)的引入,原始的Bitcoin Relay Network被替换¹。Bitcoin Relay Network由几个专门的节点组成,这些节点托管在全球的Amazon Web Services基础设施上,并连接了大多数的矿工和矿池³。这个网络试图在矿工之间最小化区块的传输延迟,因为在挖矿中,网络延迟直接关系到利润率¹。"Bitcoin Relay Network"是一个网络,旨在最小化矿工之间的区块传输延迟。
2024-02-19 19:23:07 291
原创 financial words p1
期货转现货交易 Exchange of Futures for Physical, EFP。场内交易 Curb Trading, Exchange Trading。长效指令 Good-till-Cancelled Order。场外交易 over-the-Counter Trading。外汇期货 Foreign Exchange Futures。虚值期权 Out-of-the-Money Options。跨市套利 Inter-Exchange Spread。
2024-02-19 16:20:15 321
原创 native smart contracts, a easy forgotten thing.
"内置的智能合约"是指在区块链网络中预先存在的智能合约。这些合约通常由区块链的开发者编写,并在区块链网络创建时就已经部署。这些合约的功能通常包括处理基本的交易和账户管理等核心功能。
2024-02-18 10:12:24 674
原创 what happened when new node enter
the node will know by looking at the blockchain. If it's just a new node, it'll need to download some of the blockchains from another node before it can start connecting to others. For another, nodes can find and connect using a variety of methods such as
2024-02-18 01:18:00 321
原创 hardware crypto wallet
air-gaped, keystone and ellipal diagram:Making transactions The principle of signing a transaction with the ELLIPAL Titan A transaction can be easily created via the interface in the ELLIPAL app. A QR code is then generated, which must be scanned using the
2024-02-18 01:12:55 353
原创 1. SOLID DRY ....
1.5 DIP(Dependency Inversion Principle) 依赖倒置/依赖反转。不去设计与开发当前功能用不到的代码,但并不意味着不考虑拓展性,可以预留好拓展点,后面需要时再开发。高层模块不依赖低层模块,它们共同依赖同一个抽象,抽象不要依赖具体实现细节,具体实现细节依赖抽象。有依赖关系的类之间,尽量只依赖必要的接口。尽量保证代码简洁,使用通用技术(同事都懂的技术)、不重复造轮子、不过度优化。客户端(接口调用者)不应该被强迫依赖它不需要的接口。(模块、类、方法)对拓展开放,对修改关闭。
2024-02-04 21:19:25 320
原创 adb to disable the very first selection for yangqi desktop.
SuccessSuccessSuccess。
2023-12-18 10:20:34 262
原创 A windows batch to read Android TV pkg with install time
echo offecho %cd%pkg!") do (echo!pkg!if!errorlevel!equ 0 (echo!pkg!"%%a"if!errorlevel!equ 0 (echo!pkg!"%%a"endlocal。
2023-12-18 09:02:19 45
原创 android tv no ad desktop
\adb push dbzm.apk /system/app 安装到system目录里恢复出厂设置不丢失当贝桌面(记得步骤2的把dbzm.apk放在解压后的adb目录下)注意, adb connect 192.168.0.50 ,无法认证时,要把电视界面返回到上一级才能看到那个确认指纹的对话框。.\adb shell mount -o remount,rw /system 挂载系统可写。.\adb shell rm /system/app/UMAuth* 删除认证组件。
2023-12-18 09:00:19 130
原创 spring对bean的一个管理过程,以及它有有哪些方式可以去影响一个病的一个生命周期呢
在整个生命周期中,Spring提供了一些扩展点,允许开发者对Bean的生命周期进行干预和定制。是一个接口,它定义了在Bean初始化前后执行的方法。这些方式提供了丰富的机制,使得开发者可以在Bean的生命周期中执行自定义的逻辑,以满足各种需求,例如资源管理、初始化配置等。接口的Bean可以在初始化过程中返回另一个Bean的代理,从而影响Bean的实例化。如果Bean配置了名字,容器将设置Bean的名字。接口允许在Bean初始化时执行自定义的逻辑,而实现。可以在Bean初始化后执行自定义的初始化方法,而。
2023-12-15 16:12:42 60
原创 median , not mean, harder
private:public:} else {} else {break;try {return 0;
2023-12-15 16:06:08 39
原创 sizeof emtpy c
In a class hierarchy where is derived from , and is derived from , all having virtual functions, and would share the same VPTR as they are in the same class hierarchy. Therefore, the size of would be the size of a single VPTR, which is typically 8 byt
2023-12-14 17:16:25 27
原创 anyone know why need “constexpr “? easy question be made hard by explain, DM.
else {
2023-12-13 09:50:04 33
原创 Greek Alphabet Letters & Symbols
Upper Case Lower Case Greek Letter Name English Equivalent Sound Α α Alpha a Β β Beta b Γ γ Gamma g Δ δ Delta d Ε ε Epsilon e Ζ
2023-11-16 22:50:39 115
原创 categories in Benchmarks
foreign exchange benchmark.Interest rate benchmarkEquity/share benchmarkBENCHMARK DESCRIPTION Refinitiv provides an exchange rate service that publishes Spot, Forward and Non Deliverable Forward benchmark rates at specified times throughout the global trad
2023-11-16 16:08:47 75
原创 【无标题】
The Bond API of Instrument Pricing Analytics enables traders, portfolio managers and risk officers in the fixed income market to analyze government and corporate bonds, preferred shares, inflation-linked bonds and municipal bonds. It supports debt redempti
2023-11-16 15:41:13 58
原创 __builtin_expect(x,0)
As opposed to the C++ code, above we can see bar case precedes foo case. Since foo case is unlikely, and instructions of bar are pushed to the pipeline, thrashing the pipeline is unlikely. This is a good exploitation of a modern CPU
2023-11-15 23:19:34 93
原创 CBOE and others
Chicago Board Options Exchange, CBOEto the exchange. Example of exchanges: NYSE, Nasdaq, CBOE, etc. Examples of companies running trading systems: hedge funds such as Citadel, market makers such as Getco, prop trading firms such as Hudson River Trading,
2023-11-15 22:53:54 97
原创 alignas
alignas for/is to avoid false sharing.the fs is meaning true disturb , by the next member of the struct be dirty.
2023-11-15 22:51:23 30
原创 vmstation uefi need gpt disk and more
UEFI need vmstation set correct windows version, include X64 ,then can correct reboot, otherwise "vmware no compatible bootloader found"
2022-08-28 22:25:27 251
原创 MacBook nvme error
panic(cpu 2 caller 0xffffff7f9265a231): nvme: "Fatal error occurred. CSTS=0x1 US[1]=0x0 US[0]=0x17 VID=0x126f DID=0x2263. FW Revision=S0614B0\n"@/AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/...
2020-04-04 09:48:18 5927 6
原创 pykafka is ok, kafkapython is not ok
from pykafka import KafkaClientfrom pykafka.utils import serialize_utf8, deserialize_utf8# 设置客户端的连接信息client = KafkaClient(hosts="b-1.a205588-cloud-ens-msk.9t99m4.c5.kafka.us-east-1.amazonaws.com:...
2019-11-28 15:17:40 194
原创 linux in vm with some network error after reinstall vmself
ip addrip addr flush dev eth0service NetworkManager stopservice network restartchkconfig NetworkManager offchkconfig network onthe error message :Oct 10 15:45:01 localhost.localdomai...
2019-10-11 09:23:53 99
转载 IDEA中多行注释及取消注释快捷键
IDEA中多行注释及取消注释快捷键1、一次性添加多行注释的快捷键首先选中要注释区域,然后ctrl+/: 这个是多行代码分行注释,每行一个注释符号ctrl+shift+/:这个是多行代码注释在一个块里,只在开头和结尾有注释符号2、取消多行注释快捷键怎样添加快捷键的,用相同方法取消,如ctrl+/:添加注释,则ctrl+/取消注释ctrl+shift+/: 添加注释...
2019-07-16 15:10:56 22537 3
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人