Directory structure:
.
├── papers
│ ├── Title - Author.pdf
│ └── Title - Author.pdf
├── notes
│ ├── 2022-04-10
│ │ ├── note.tex
| //! Tree(1) in Zig | |
| //! https://linux.die.net/man/1/tree | |
| const std = @import("std"); | |
| const process = std.process; | |
| const fs = std.fs; | |
| const mem = std.mem; | |
| const testing = std.testing; | |
| const VisitedEntry = struct { |
Directory structure:
.
├── papers
│ ├── Title - Author.pdf
│ └── Title - Author.pdf
├── notes
│ ├── 2022-04-10
│ │ ├── note.tex
#rstats I think I'll switch to Quarto. It seems it can do all Bookdown can do & more, with better support.
— 𝙳𝚊𝚟𝚒𝚍 𝚁𝚎𝚒𝚗𝚜𝚝𝚎𝚒𝚗 (@GivingTools) March 30, 2022
- Anyone know tools/templates for converting projects from Rmd/Bookdown to Quarto?
- Am I losing something from making the switch?
@xieyihui
At Rethink we set up this template and tools.
For much of my work I was using the Bookdown style and template I worked on here
But I think I am (and we are) moving to Quarto. ... Quarto pages and Quart
| //! Minimal XCB + Cairo example in Zig | |
| //! Dependencies: libc, xcb, cairo | |
| //! install XCB development files | |
| //! sudo apt-get install libxcb1-dev | |
| //! install cairo development files | |
| //! sudo apt-get install libcairo2-dev | |
| //! build and run with: | |
| //! zig build-exe xcb.zig -lc -lxcb -lcairo && ./xcb | |
| const std = @import("std"); | |
| const c = @cImport({ |
| conky.config = { | |
| _update_interval=0.03, | |
| update_interval=0.075, | |
| background=false, | |
| text_buffer_size=2048, | |
| double_buffer=true, | |
| no_buffers=true, | |
| use_xft=true, | |
| font='Inconsolata', | |
| draw_shades=false, |
| /******************************************************************************* | |
| * | |
| * A minimal Forth compiler in C | |
| * By Leif Bruder <leifbruder@gmail.com> http://defineanswer42.wordpress.com | |
| * Release 2014-04-04 | |
| * | |
| * Based on Richard W.M. Jones' excellent Jonesforth sources/tutorial | |
| * | |
| * PUBLIC DOMAIN | |
| * |
| #------------------------------------------------------------------------------- | |
| # lexer.py | |
| # | |
| # A generic regex-based Lexer/tokenizer tool. | |
| # See the if __main__ section in the bottom for an example. | |
| # | |
| # Eli Bendersky (eliben@gmail.com) | |
| # This code is in the public domain | |
| # Last modified: August 2010 | |
| #------------------------------------------------------------------------------- |
| Latency Comparison Numbers (~2012) | |
| ---------------------------------- | |
| L1 cache reference 0.5 ns | |
| Branch mispredict 5 ns | |
| L2 cache reference 7 ns 14x L1 cache | |
| Mutex lock/unlock 25 ns | |
| Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
| Compress 1K bytes with Zippy 3,000 ns 3 us | |
| Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
| Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |