/images/avatar.png

谷中仁的博客

所有文章观点仅代表本站观点,与他人无关。

敏捷开发中有哪些会议?

常用会议

以下是一些我们在敏捷开发中常用的会议目录,我们可以使用这张表格对相关会议进行适当裁剪,应用到自身团队来提升团队的敏捷实践,提高效率。

Meeting nameFrequencyDurationHostParticipatorsMain content & Target
Standup meetingEveryday10’~15’Team member take turnsAll team member and your PO PM and so onDescribe your job yesterday and today, call out the block, and give a deadline
ShowcaseFortnightly30’Team member take turnsAll team member and your PO PM and so onShow delivery value
Code ReviewEveryday1hEvery devAll devGo thought your code which is written today, feedback to others from tech and biz perspective
Backlog groomingFortnightly1hBAAll team memberBA and others will explain what /why we will do
Tech HuddleTwice a week(1 short , 1 long)30’ or 1hEvery dev take turnsAll devShow some new tech, or deep work in some domain, Expand your influence
RetroFortnightly1hEvery dev take turnsAll team member, PO, PMCollection some tips which can improve team member work efficiency and make work env more safe and happy
Delivery Health CheckFortnightly30’BA / TL/ VolunteerAll team memberCheck spring’s all cards and hight light the abnormal card, explain it and collection some tips to improve the accuracy of estimating
Poker PlanningFortnightly1hBAAll team memberEstimate cost which you do the specific card, and BA will pull some cards into next spring which all points match some number
Bug bashEvery release Before go-live1hQAAll team memberFind bugs from different perspective with different role
1 on 1Monthly20’You or your PM/DMYou and your PM/DMTalk about daily work and life, best to give feedbacks or suggestions

提升会议

上面这些都是些正常的日常会议,但是在日常的工作中还有其他不那么频繁的会议,并且这些会议大多数只是需要参与进去,而不是主持者;这些会议通常是扩大团队或者个人影响力的会议,所以建议你抓住机会。

Js 数据精度之 521.3*100

原罪

> 521.3*100
< 52129.99999999999

用你的浏览器来执行上面的计算,你应该能得到这个神奇的结果(52129.99999999999)。 Why?

JS 数字丢失精度的原因

 s eeeeeee eeeeffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
|1|       11   |                    52                                  |

1 位用来表示符号位 11 位用来表示指数 52 位表示位数

对 forEach 和 for 两种循环类型中执行异步函数的复盘

问题

有这么一个需求,有一个合法的数组,需要每隔 3 秒执行一个异步函数,直到最后得到所有异步函数执行结果。

伪解决方案

// testForEach.js
const sleep = () => {
  return new Promise((resolve, reject) => {
      setTimeout(resolve, 3000)
  })
}

const getDifferent = (startDate, endDate) => {
  return Math.floor((endDate - startDate) / 1000)
}

const startDate = new Date()
let list = [1, 2, 3, 4, 5, 566, 7, 78, 8, 89, 9, 0]

async function testForEach() {
  let promiseList = []
  list.forEach(async item => {
      console.log('================1forEach================')
      await sleep()
      promiseList.push(await item * 2)
      console.log('================2forEach================')
  })
  const result = await Promise.all([...promiseList])
  const endDate = new Date()
  console.log(getDifferent(startDate, endDate))
  return result
}
testForEach().then(result => {
  console.log(result)
})

解释就是

sleep 函数用来等待函数执行;

Test With 3rd Party Library

场景

一般的前端开发情况下,我们都会用到其他的第三方库,比如 UI 库 Ant Desgin, 请求库 axios 等,通常对于 UI 库,我们可以通过快照等操作对其进行测试,但是对于像 axios 这类第三方库,我们必须通过 mock 的方式来实现。

导出并保存 GPG 公密钥

简介

GPG 是开源免费的身份验证工具,简单一句话就是对于公钥使用者可以和密钥拥有者秘密通信;对于密钥使用者,可以像外界证明某句话是你说的;在现实场景中,你可以写了一份信,但是大家怎么知道这份信是你写的呢?如果你身边有熟悉你的人,那 TA 可以通过你的笔迹或者你家生产的信纸来知道这份信是你的,但是对于别人呢?他们对你不了解,所以他们很难证明:你就是你?

[翻译] 初探性能测试

什么是性能测试

https://www.guru99.com/images/why_performance_testing.jpg

性能测试是一种软件测试过程,用于测试特定工作负载下软件应用程序的速度、响应时间、稳定性、可靠性、可伸缩性和资源使用情况。性能测试的主要目的是识别和消除软件应用程序中的性能瓶颈。它是性能工程的一个子集,也被称为"Perf Testing"。

租房之弱势群体

最近忙完了结婚大事,按计划接下来要开始装修房子了,那么第一件事就是找个容身之地-租房。在陪着媳妇逛了太白南路的两个房子和航天城那边的一个房子,又约了装修公司来家里看情况,半天下来累的都不想动了。然而之前联系的一个小哥,给我们推荐了朱雀大街上的一个酒店式公寓。在媳妇的催促下,只好抱着试试看的心态去看房。