vxlabs
vxlabs.com · Personal blog · on HN since 2012
vxlabs is a personal technical blog with notes on Emacs, disk encryption, WSL performance and developer tooling.
What HN saysHN commenters cite its WSL1 vs WSL2 file I/O measurements, and the author says his SSD encryption post became a meeting point for discussion.
21HN people shared it
9linked it in comments
21stories submitted
81story points
5 months agolast shared
2012people per year2026
Most-shared posts
- 1SSDs with USABLE built-in encryption5 people · 7 points · first shared 2012 · 3 comments on HN
- 2Comparing WSL1 and WSL2 filesystem I/O performance on local and host files4 people · 1 points · first shared 2019 · discussion on HN
- 3Notes on my full-time testing of 7 Dropbox alternatives2 people · 48 points · first shared 2015 · 5 comments on HN
- 4Querying RESTful webservices into Emacs orgmode tables2 people · 3 points · first shared 2017 · discussion on HN
- 5Is mbsync faster than offlineimap? A measurement2 people · 2 points · first shared 2019 · discussion on HN
- 6Use the hardware-based full disk encryption your TCG Opal SSD with msed2 people · 2 points · first shared 2015 · discussion on HN
- 7TypeScript development with Emacs, tree-sitter and LSP in 20222 people · 1 points · first shared 2022 · discussion on HN
- 8Step-by-step guide to C++ navigation/completion in Emacs with Clang-based rtags1 people · 3 points · first shared 2016 · discussion on HN
- 9Up and Running with Embeddable Common Lisp (ECL) and Emacs SLIME in Four Steps1 people · 3 points · first shared 2016 · discussion on HN
- 10Syntax-highlighting markdown fenced code blocks in Emacs1 people · 2 points · first shared 2014 · discussion on HN
- 11From org file with local bibtex to LaTeX and PDF1 people · 2 points · first shared 2017 · discussion on HN
- 12SSH authorized_keys command restriction to isolate container access1 people · 2 points · first shared 2026 · discussion on HN
- 13Configuring Emacs, lsp-mode and the python language server1 people · 1 points · first shared 2019 · discussion on HN
- 14Inline GraphViz DOT evaluation for graphs using Emacs, org-mode and org-babel1 people · 1 points · first shared 2014 · discussion on HN
- 15Gunicorn and DJ-Static as your Django development server1 people · 1 points · first shared 2015 · discussion on HN
What HN people wrote when they linked it
cpbotha · 2016-10-10
Author of the post reporting for duty!
That was written before TCG Opal arrived and greatly improved the situation. In any case, the post turned out to be a meeting point for SSD full disk encryption fans, so there's a whole lot of great discussion in the comments.
I did write a follow-up post in 2015 on getting TCG Opal working with your SSD using the open source MSED: https://vxlabs.com/2015/02/11/use-the-hardware-based-full-disk-encrypt…
(the author of MSED was super-helpful in the comments, which turned out to be an informal kind of msed helpdesk)
srhtftw · 2023-09-13
Thank you for the recommendation.
I will look into building my own tree sitter grammars using https://github.com/casouri/tree-sitter-module as you suggest.
Some time ago I followed this guide https://vxlabs.com/2022/06/12/typescript-development-with-emacs-tree-s…
and added this to my .emacs
(use-package tree-sitter
:ensure t
:config
;; activate tree-sitter on any buffer containing code for which it has a parser available
(global-tree-sitter-mode)
;; you can easily see the difference tree-sitter-hl-mode makes for python, ts or tsx
;; by switching on and off
(add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode))
(use-package tree-sitter-langs
:ensure t
:after tree-sitter)
Regarding C++, I tried a simpler experiment starting emacs with
% open -n -a Emacs --args "-q"
and I think my C++ slowness issue is due to fontlock https://www.gnu.org/software/emacs/manual/html_node/emacs/Font-Lock.ht…
Even without a startup file, I can't open https://github.com/ASDAlexander77/TypeScriptCompiler/blob/main/tsc/lib… and scroll through the file unless I also manually do
ESC : (global-font-lock-mode 0)
I'm sorry if I gave the impression I'm a regular C++ developer. I only use it occasionally. I just happened to remember finding myself unable to use Emacs for that particular file.
eviks · 2023-11-09
vice versa, wsl2 is the true VM that truly suffers
https://vxlabs.com/2019/12/06/wsl2-io-measurements/
ben-schaaf · 2021-01-22
> As a rule of thumb, WSL 2 accessing host (NTFS) files is about 5 times slower than WSL 1 accessing those same files.
https://vxlabs.com/2019/12/06/wsl2-io-measurements/
chrisandchris · 2020-05-03
I agree, gaming and Office are major bonuses for Windows.
And IMHO, the discussion about which OS one should use is probably older than any OS at all. It comes down to personal preferences and experiences. I would not for any longer time want to use only Windows for a couple of reasons. I use it for some office stuff (we have SharePoint and OneDrive for Businsess does not exist for Linux).
I did a quick search and here are two references about the WSL speed:
[1] https://vxlabs.com/2019/12/06/wsl2-io-measurements/
[2] https://github.com/microsoft/WSL/issues/4197
It seems that they already improved a lot bur are still nowhere near native FS speed because of some technical limiations on how to embed the FS.
dangirsh · 2018-10-30
I've found ob-ipython [1] within Org Mode to be one of the best options for interfacing with Jupyter. If you're sick of the limitations of working in a browser, it's worth checking out.
Scimax version: https://github.com/jkitchin/scimax/blob/master/scimax-ipython.org
Video of Scimax version: https://www.youtube.com/watch?v=dMira3QsUdg
Previous HN discussion highlighting key features: https://news.ycombinator.com/item?id=17839926
Some relevant blog posts:
- https://vxlabs.com/2017/11/24/getting-ob-ipython-to-show-documentation…
- https://vxlabs.com/2017/11/30/run-code-on-remote-ipython-kernels-with-…
- https://kozikow.com/2016/05/21/very-powerful-data-analysis-environment…
[1] https://github.com/gregsexton/ob-ipython
draven · 2018-06-09
Linked from the article: https://vxlabs.com/2017/06/03/querying-restful-webservices-into-emacs-…
jmiserez · 2016-05-20
There are HDDs and SSDs that do the encryption themself, rather than just being a dumb storage medium. You need to unlock it with the password or key when using it, and the disk will transparently encrypt and decrypt the contents on reads/writes.
One problem is that you have to trust the disk (manufacturer/firmware) to do this right. This is not so easy to verify yourself, and not all drives claiming FDE are equally secure.
https://en.wikipedia.org/wiki/Hardware-based_full_disk_encryption
https://vxlabs.com/2012/12/22/ssds-with-usable-built-in-hardware-based…
raverbashing · 2015-03-13
"A bricked device still has the data on it. It's fake security"
No, because they do this http://vxlabs.com/2012/12/22/ssds-with-usable-built-in-hardware-based-…
Erase the AES key -> data is gone