Saturday, March 02, 2024
didn't know about Cilium until I read K8s Service Meshes: The Bill Comes Due
using eBPF, I remember linkerd mentioned eBPF may have performance concern since it's operating on user space
then found another link in my bookmarks: Bootstrapping K3s with Cilium
that's good news: CACM Is Now Open Access – Communications of the ACM
Streaming HTML out of order without JavaScript
interesting part is the declarative shadow DOM
(exmaple from HN comment)
<div>
<template shadowrootmode=open>
This is <slot name=a></slot> and <slot name=b>
</template>
<span slot=b>sunny</span>
<span slot=a>funny</span>
</div>
may try it with a custom dictionary, could be useful for config / rules engine etc.
Wednesday, March 06, 2024
quite an interesting episode: Building a text editor with Nate Hunzaker
the guest's text editor isn't open-source, but mentioned slate and lexical
for code editing, may consider monaco, from vs code
Peter Taoussanis, the talk Some controversial truths and this REPL episode
interesting finding in this comment, it's about sending highlight text to llm using mac os services menu (from any app), more in this gist
about graph
- The Hunt for the Missing Data Type
- The "missing" graph datatype already exists. It was invented in the '70s
Gleam released version v1.0.0, something I really want to try on a project, and I really like their language tour
noteworthy:
- Java is becoming more like Rust, and I am here for it!
- Interesting ideas in Observable Framework
- The hater’s guide to Kubernetes
- (Even more) challenging programming projects you should try
Thursday, March 07, 2024
list of talks by Alan Kay
watching Alan Kay, 2015: Power of Simplicity
trying out Observable Framework
it requires node >= 20.6
, I have to get a updated version of node:
first install fnm, then run in the project folder:
$ cat "20.11.1" > .node-version
$ fnm install
$ fnm use
$ node -v
noteworthy:
- igor-petruk/scriptisto: A language-agnostic "shebang interpreter" that enables you to write scripts in compiled languages.
- Command Line Interface Guidelines
- Event Interception
Tuesday, March 12, 2024
automated some tasks using pyautogui, the library is pretty simple, I also use pynput to record mouse click
since I'm using htmx, api endpoint returns html code, sometimes I use them under terminal
I found pandoc produces very good plain text output:
[api data] | pandoc -f html -t plain
Wednesday, March 13, 2024
this new book Computer Architecture is surprisingly good, I'll buy the print edition only for chapter one
Thursday, March 14, 2024
watched an udemy lecture about Astro framework, Astro Islands is an interesting concept
also noticed few useful tools:
also watch a lecture about transformer, gathered some links aboud the groundbreaking paper "Attention is All You Need" (2017)
- https://papers.nips.cc/paper_files/paper/2017/hash/3f5ee243547dee91fbd053c1c4a845aa-Abstract.html
- https://arxiv.org/abs/1606.01933
- https://blog.research.google/2017/08/transformer-novel-neural-network.html
- https://distill.pub/2016/augmented-rnns/
pyautogui is nice but quite hard to select application windows
since I'm basically only work on mac os, using applescript is more easy, like I can do a lot based on this template:
tell application "Google Chrome"
activate
tell active tab of front window
execute javascript "
document.querySelector('input[type=text], textarea')?.focus();
"
end tell
end tell
but default you'll see a warning: To turn it on, from the menu bar, go to View > Developer > Allow JavaScript from Apple Events.
Sunday, March 17, 2024
a very good list of talks: Top Tech Talks Of 2023
reminded me I should finish the book Release It!
- Top 5 techniques for building the worst microservice system ever - William Brander - NDC London 2023
- Critical Program Reading (1975) - 16mm Film
- Your website does not need JavaScript - Amy Kapernick - Copenhagen DevFest 2023
Tuesday, March 19, 2024
a self host trello like app: plankanban/planka: The realtime kanban board for workgroups built with React and Redux.
looks good but I need a pure js library that I can add to my notebook. I found bevacqua/dragula, I tested it a bit, it's just what I wanted
The Only Time You Should Use Polymorphism
Monday, March 25, 2024
these commands are quite useful:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
--headless --dump-dom \
https://github.com
screenshot:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
--headless \
--screenshot=/tmp/shot1.png \
https://simonwillison.net
screenshot with window size:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
--headless \
--window-size=375,667 \
--screenshot=/tmp/shot2.png \
https://simonwillison.net
from: Google Chrome –headless mode
also this project maybe useful for generating images from backend: chearon/dropflow: A CSS layout engine
Blog Archive
- Older Entries
- 2024 February
- 2024 January
- 2023 December
- 2023 November
- 2023 October
- 2023 September
- 2023 August
- 2023 July
- 2023 April
- 2023 March
- 2023 February
- 2023 January
- 2022 December
- 2022 November
- 2022 October
- 2022 September
- 2022 August
- 2022 July
- 2022 June
- 2022 May
- 2022 April
- 2022 March
- 2021 December
- 2021 September
- 2021 August
- 2021 June
- 2021 May
- 2021 April
- 2021 March
- 2021 February
- 2021 January
- 2020 December
- 2020 November
- 2020 October
- 2020 September
- 2020 August
- 2019 December
- 2019 November
- 2019 October
- 2019 July
- 2019 May
- 2019 April
- 2019 March
- 2019 February
- 2019 January
- 2018 December
- 2018 November
- 2018 October
- 2018 September
- 2018 August
- 2018 July
- 2018 June
- 2018 May
- 2018 April
- 2018 March
- 2018 February
- 2018 January
- 2017 December
- 2017 November
- 2017 October
- 2017 September
- 2017 August
- 2017 July
- 2017 June
- 2017 May
- 2017 April
- 2017 March
- 2017 February
- 2017 January
- 2016 December
- 2016 November
- 2016 October
- 2016 September
- 2016 August
- 2016 July
- 2016 June
- 2016 May
- 2016 April
- 2016 March
- 2016 February
- 2016 January
- 2015 December
- 2015 November
- 2015 October
- 2015 September
- 2015 August
- 2015 July
- 2015 June
- 2015 May
- 2015 April
- 2015 March
- 2015 February
- 2015 January
- 2014 December
- 2014 November
- 2014 October
- 2014 September
- 2014 August
- 2014 March
- 2014 February
- 2014 January
- 2013 December
- 2013 October
- 2013 July
- 2013 June
- 2013 May
- 2013 March
- 2013 February
- 2013 January
- 2012 December
- 2012 November
- 2012 October
- 2012 September
- 2012 August