-
Ler: https://plato.stanford.edu/entries/marcus-aurelius/
Livro Meditações
-
```js
class A {
foo() {
return 1;
}
}
class B extends A {
foo() {
return ''; // this shouldn't be allowed
}
}
const b: A = new B;
const val = b.foo().toFixed(); // runt…
-
`_` is a valid JS identifier and has to be allowed as a proper type identifier:
```js
class _ {}
const t: _ = new _();
```
-
Carving out space for type information, is really just providing space for metadata.
The decorators proposal is already working toward doing that.
Suppose the support for decorators were expanded …
-
# 博客从 hexo 迁移到 hugo - 子龙山人的技术博客
为什么又迁移博客 熟悉我的朋友可能会发现,我几乎每隔一段时间都会换一个博客平台 😂
从最早的Wordpress到Octopress,再到Hexo,最后到如今的Hugo,博客没写多少,博客平台却折腾不少。
每一次折腾完后,我都会写下一篇类似的文章,讲我的迁移过程,而且似乎每次都声称这是最后一次折腾Blog了 😂
因为我自己是个不折不扣…
-
What's left:
- [ ] add timestamps
- [ ] make it easy to find from rholang.github.io
- [x] We ran the session Sep 13
- [x] recording: https://www.youtube.com/watch?v=4GN8dTDaDJI&feature…
-
https://www.neh.gov/humanities/2011/novemberdecember/feature/the-islamic-scholar-who-gave-us-modern-philosophy
-
> tidr: for lazy type refinement we need a parameterized unknown
A problem: we can't define a _expected_ type for future refinement:
```ts
const data: Array | unknown = JSON.parse(some)
functi…
-
## CheckList
- [ ] `The Title` and The `Log Title` are setted correctly.
- [ ] Clarified about `my environment`.
- [ ] Code block is used for `the log`.
---
## Title
Windows 10
…
-
```js
type Data = { a: true } | { a: false }
function thisDoesNot(data: Data): Data {
return {
a: data.a
}
}
```
[try](https://hegel.js.org/try#C4TwDgpgBAIghsOUC8UDeU4C4rAE4Cu0AvlA…