自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(153)
  • 收藏
  • 关注

原创 ridiculous thing in Dune

why the paul's great great grandfather can store the nulcears warhead in the hole in Arrakis? | Fandom

2024-07-18 14:59:56 132

原创 paradise and heaven

In a biblical context, paradise and heaven have distinct meanings:So, while both paradise and heaven relate to the afterlife, they serve different purposes. Paradise is like a layover, and heaven is the ultimate destination.

2024-07-17 01:01:15 167

原创 Why energy matters? RGB, Camera.

Absolutely right! The unit of “Radiance” or “radiance pixel values” is indeed expressed in energy terms. Let’s break it down:Radiance:Why Energy Matters:In summary, radiance provides essential information about the energy emitted or reflected by Earth’s su

2024-07-16 14:57:16 405

原创 when calibrate the “gain, offset“ of the DN formula to radiance? cycle avoided?

**交叉校准**:使用另一颗已经校准的卫星进行交叉校准,比较两颗卫星在相同时间、相同位置的测量结果。2. **在轨校准**:卫星发射后,通过在轨校准和长期监测,调整和优化增益和偏移参数,确保测量的准确性。1. **初始校准**:在传感器制造和测试阶段,通过实验室测试和地面校准确定初始的增益和偏移参数。- **星上校准设备**:有些卫星上配备了校准设备,如内部的光源、黑体源等,定期校准传感器。- **实验室校准**:在发射前,传感器在实验室中接受详细的校准测试。### 示例:Landsat卫星的校准。

2024-07-16 10:36:43 217

原创 NAT punching hole tech

What is NAT Hole Punching?The Problem with NATs:The Hole Punching Process:Terminology:Safety and Consent:

2024-06-25 10:07:50 277

原创 a+bi vs a+bj, Mathematics vs. Engineering.

In Python (and many other programming languages), the use of “j” instead of “i” for representing the imaginary unit in complex numbers is a convention borrowed from electrical engineering and physics. Let me explain why:Historical Context:Electrical Engine

2024-05-29 07:41:10 700

原创 【无标题】

2024-05-17 19:46:25 122

原创 GASF (Gramian Angular Summation Field) and GADF (Gramian Angular Difference Field)

【代码】GASF (Gramian Angular Summation Field) and GADF (Gramian Angular Difference Field)

2024-05-15 14:33:07 503

原创 Debug error for CPU required optimizers

optimizer = tf.keras.optimizers.Adam(learning_rate=0.00051) #, global_clipnorm=1)this global_clipnorm = 1 ,will cause this error :tensorflow.python.framework.errors_impl.InvalidArgumentError: Cannot assign a device for operation ResNet18_one/conv2d_20/

2024-04-30 00:40:29 202

原创 Activation layer has 0 parameters, it is ok.

【代码】Activation layer has 0 parameters, it is ok.

2024-04-29 13:33:48 266

原创 图像空间(IS),高级特征空间(FS)和两阶段(TS)重采样

这种方法的优点是可以充分利用大量的数据进行训练,同时通过在特征空间中进行欠采样来减少过拟合的风险1。然而,这种方法的缺点是需要更多的计算资源,因为它需要进行两次采样,并且需要训练和微调模型1。高级特征空间(FS)重采样:这种方法在高级特征空间中进行重采样,这些特征通常是通过预训练的卷积神经网络生成的1。然而,这种方法的缺点是需要预训练的模型来生成高级特征,而且可能会丢失一些低级的、细粒度的信息2。这种方法的优点是简单直观,但缺点是可能会产生不真实的图像,特别是当使用如 SMOTE 这样的插值方法时1。

2024-04-24 14:07:34 327

原创 tensorflow 2.16.1 can not use save and load

metrics={

2024-04-19 20:05:20 753

原创 eigenvalue ,eigenvector , goal of LDA, PCA

PCA : Principal component analysisSpecifically, our combined principal component is the eigenvector corresponding to the largest eigenvalue in the covariance matrix. We can also create additional principal components combining other variables. The second p

2024-04-10 09:16:24 220

原创 边缘随机变量

这个概念在处理多个随机变量的问题时非常有用,因为它允许我们只关注我们感兴趣的那些变量,而忽略其他的变量。

2024-03-28 00:20:03 356

原创 Ctrl+Tab and Ctrl+Shift+Tab doesn‘t switch editor tabs

WTF。

2024-03-21 08:51:46 90

原创 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 476

原创 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 437

原创 coding task: array jump back

ExamplesOutput: 3Output: 2code :TBD.

2024-03-01 22:50:31 403

原创 a coding task

if (child!return res;

2024-03-01 18:16:43 356

原创 position.

头寸”一词来源于中国,银行里用于日常支付的“袁大头”,十个袁大头摞起来刚好是一寸,因此叫“头寸”。中国旧时指银行钱庄等所拥有的款项,收多付少叫多头寸,收少付多叫缺头寸,结算收付差额叫轧头寸,借款弥补差额叫拆头寸。

2024-02-28 23:00:33 379

原创 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 577

原创 HFT image

2024-02-25 23:17:10 344

原创 MPC,Secure Multi-party Computation

MPC技术的实现通常基于密码学的多种技术,包括秘密分享(Secret Sharing)、不经意传输协议(Oblivious Transfer)、混淆电路(Garbled Circuit)和同态加密(Homomorphic Encryption)等。这些技术可以保护每个参与方的输入,同时在最后聚合时,可以还原出真实的计算结果。它允许一组用户以他们的隐私数据为输入,共同计算一个函数,并且所有用户只能得到这个函数的输出,无法得到其他的任何信息。

2024-02-20 01:19:54 397

原创 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 325

原创 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 348

原创 native smart contracts, a easy forgotten thing.

"内置的智能合约"是指在区块链网络中预先存在的智能合约。这些合约通常由区块链的开发者编写,并在区块链网络创建时就已经部署。这些合约的功能通常包括处理基本的交易和账户管理等核心功能。

2024-02-18 10:12:24 914

原创 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 337

原创 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 396

原创 1. SOLID DRY ....

1.5 DIP(Dependency Inversion Principle) 依赖倒置/依赖反转。不去设计与开发当前功能用不到的代码,但并不意味着不考虑拓展性,可以预留好拓展点,后面需要时再开发。高层模块不依赖低层模块,它们共同依赖同一个抽象,抽象不要依赖具体实现细节,具体实现细节依赖抽象。有依赖关系的类之间,尽量只依赖必要的接口。尽量保证代码简洁,使用通用技术(同事都懂的技术)、不重复造轮子、不过度优化。客户端(接口调用者)不应该被强迫依赖它不需要的接口。(模块、类、方法)对拓展开放,对修改关闭。

2024-02-04 21:19:25 335

原创 c++ functor usage, e.g. std::hash

【代码】c++ functor usage, e.g. std::hash。

2023-12-27 20:31:40 366

原创 adb to disable the very first selection for yangqi desktop.

SuccessSuccessSuccess。

2023-12-18 10:20:34 300

原创 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 62

原创 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 177

原创 spring对bean的一个管理过程,以及它有有哪些方式可以去影响一个病的一个生命周期呢

在整个生命周期中,Spring提供了一些扩展点,允许开发者对Bean的生命周期进行干预和定制。是一个接口,它定义了在Bean初始化前后执行的方法。这些方式提供了丰富的机制,使得开发者可以在Bean的生命周期中执行自定义的逻辑,以满足各种需求,例如资源管理、初始化配置等。接口的Bean可以在初始化过程中返回另一个Bean的代理,从而影响Bean的实例化。如果Bean配置了名字,容器将设置Bean的名字。接口允许在Bean初始化时执行自定义的逻辑,而实现。可以在Bean初始化后执行自定义的初始化方法,而。

2023-12-15 16:12:42 80

原创 EJB vs Spring

Enterprise JavaBeans(EJB)和Spring框架是两个用于构建企业级Java应用程序的不同技术栈。

2023-12-15 16:11:40 292

原创 median , not mean, harder

private:public:} else {} else {break;try {return 0;

2023-12-15 16:06:08 54

原创 real time mean

private:public:count++;//

2023-12-15 10:49:47 32

原创 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 36

原创 anyone know why need “constexpr “? easy question be made hard by explain, DM.

else {

2023-12-13 09:50:04 45

原创 order of atom var

【代码】order of atom var。

2023-12-12 22:12:13 50

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除