Skip to content

Commit

Permalink
history posts
Browse files Browse the repository at this point in the history
  • Loading branch information
gameofby committed Jan 13, 2024
1 parent 4f2e166 commit a90ac43
Show file tree
Hide file tree
Showing 16 changed files with 50 additions and 34 deletions.
2 changes: 1 addition & 1 deletion app/tag-data.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"multi-author":1,"next-js":1,"feature":1}
{"paper":1,"multi-author":1,"next-js":1,"feature":1}
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
---
title: Deque in Python
date: '2023-08-14'
tags: ['Python']
draft: false
---

[官方文档 3.12.4](https://docs.python.org/3/library/collections.html#collections.deque)

这里主要总结下deque这个数据结构的特点和使用场景。 如果是关注具体用法,可以直接看官方文档里的示例,很清晰。
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
---
title: Google Mesa Paper
date: '2021-04-19'
tags: ['Paper', 'Bigdata']
draft: false
---

# Google Mesa论文解读
[论文地址](https://research.google/pubs/pub42851/)
## 1. Abstract
Expand Down Expand Up @@ -97,7 +104,7 @@ Key,Value。value的每一列定义aggregation function
## 4. Mesa System Architecture

### 4.1. Single Datacenter Instance
​![f1](./images/single-datacenter-instance.png)
![f1](/images/single-datacenter-instance.png)

### 4.2. Update/Maintenance Subsystem

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
---
title: Hands-on Flink
date: '2022-08-27'
tags: ['Bigdata']
draft: false
---

# 1. Getting Started
[官方文档](https://nightlies.apache.org/flink/flink-docs-master/)

Expand Down Expand Up @@ -83,7 +90,7 @@ http://localhost:8081/ 本机的dashboard
}
```

- 判断为欺诈交易的条件:前置交易为小额(<1),紧接着大额交易(>500),并且间隔小于1分钟
- 判断为欺诈交易的条件:前置交易为小额(\<1),紧接着大额交易(>500),并且间隔小于1分钟
- 实现:使用ValueState记录每个账户的状态(flag, timer);在变更的时间节点维护好变更
- 为啥要用ValueState?
- 自动实现了针对每个Key上下文(这个例子中是account id)的状态保存
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
---
title: Maven Lifecycle
date: '2022-08-07'
tags: ['Java']
draft: false
---

# Maven核心概念理解:Build Lifecycle
##
在偶尔接触java项目的过程中,经常在maven编译环节报错,每次都要各种搜索才能勉强跑通。 反省了下,主要原因是对maven缺乏体系理解。中间蜻蜓点水看了官方文档多次,过一段时间不使用又忘了。用diigo做的标记,也不怎么利于唤醒记忆。这次,决定把lifecycle涉及概念之间的关系,简单记录下来,作为下次的记忆装载快照。
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
title: Parse HTTP Body in Go
date: '2023-02-26'
tags: ['Go']
draft: false
---

# Samples
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
---
title: PriorityQueue and heapq in Python
date: '2023-07-30'
tags: ['Java']
draft: false
---

# Similarities and Differences


Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# 使用Scala编写Spark UDF(Integration with Hive)
---
title: Write Spark UDF Using Scala
date: '2022-02-16'
tags: ['Scala', 'Spark']
draft: false
---

## Part1: 与Java编写UDF的异同
1. 本质是一样的,scala和java都是建立在JVM之上。目标都是编译代码,打包UDF需要的jar;
Expand Down

This file was deleted.

Binary file added public/images/flink-4-api.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/multi-datacenter-deploy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/priorityqueue1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/priorityqueue2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/production-metric.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/query-subsystem.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/single-datacenter-instance.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a90ac43

Please sign in to comment.