From 9a5082be1689c8e4a12bc33ebb47fdd417a3cc81 Mon Sep 17 00:00:00 2001 From: CoderSherlock Date: Wed, 3 Apr 2024 22:23:31 +0000 Subject: [PATCH] Revisited css and js, new fonts and format. Adjusted home page width to fit article page. --- ...40b622142f1c98125abcfe89a76a661b0e8e343910 | 2 +- .vscode/settings.json | 3 ++ _config.yml | 3 +- _includes/snippets/prepend-baseurl.html | 2 +- _posts/2016-10-26-welcome-to-my-blog.markdown | 2 +- _posts/2023-12-09-Taste-of-NotebookLM.md | 19 +++++++++++ _sass/common/_reset.scss | 3 ++ _sass/common/_variables.scss | 13 +++---- _sass/components/_main.scss | 2 +- _site/404.html | 8 ++--- _site/archive.html | 10 +++--- _site/assets/css/main.css | 32 +++++++++--------- _site/assets/css/main.css.map | 8 ++--- _site/assets/search.js | 2 +- _site/feed.xml | 4 +-- _site/index.html | 10 +++--- _site/posts/charles-is-not-a-good-tool.html | 10 +++--- ...e-train-on-limited-edge-devices-part2.html | 8 ++--- ...w-do-we-train-on-limited-edge-devices.html | 8 ++--- ...enerate-word-cloud-with-chinese-fenci.html | 8 ++--- _site/posts/intro-xv6.html | 8 ++--- .../posts/some-of-my-previews-exper-work.html | 8 ++--- _site/posts/welcome-to-my-blog.html | 10 +++--- _site/sitemap.xml | 12 +++---- static/2023-12/NotebookLM.png | Bin 0 -> 20621 bytes 25 files changed, 111 insertions(+), 84 deletions(-) create mode 100644 .vscode/settings.json create mode 100644 _posts/2023-12-09-Taste-of-NotebookLM.md create mode 100644 static/2023-12/NotebookLM.png diff --git a/.jekyll-cache/Jekyll/Cache/Jekyll--Cache/b7/9606fb3afea5bd1609ed40b622142f1c98125abcfe89a76a661b0e8e343910 b/.jekyll-cache/Jekyll/Cache/Jekyll--Cache/b7/9606fb3afea5bd1609ed40b622142f1c98125abcfe89a76a661b0e8e343910 index 526d11c..90f7ede 100644 --- a/.jekyll-cache/Jekyll/Cache/Jekyll--Cache/b7/9606fb3afea5bd1609ed40b622142f1c98125abcfe89a76a661b0e8e343910 +++ b/.jekyll-cache/Jekyll/Cache/Jekyll--Cache/b7/9606fb3afea5bd1609ed40b622142f1c98125abcfe89a76a661b0e8e343910 @@ -1 +1 @@ -I"ý {"source"=>"/home/coder/share/CoderSherlock.github.io", "destination"=>"/home/coder/share/CoderSherlock.github.io/_site", "collections_dir"=>"", "cache_dir"=>".jekyll-cache", "plugins_dir"=>"_plugins", "layouts_dir"=>"_layouts", "data_dir"=>"_data", "includes_dir"=>"_includes", "collections"=>{"posts"=>{"output"=>true, "permalink"=>"/posts/:title"}}, "safe"=>false, "include"=>[".htaccess"], "exclude"=>["CHANGELOG.md", "HOW_TO_RELEASE.md", "Gemfile", "Gemfile.lock", "LICENSE", "README-*.md", "README.md", "gulpfile.js", "jekyll-text-theme.gemspec", "package-lock.json", "package.json", "/docs", "/node_modules", "/screenshots", "/test", "/vendor", "configure.sh", ".sass-cache", ".jekyll-cache", "gemfiles", "node_modules", "vendor/bundle/", "vendor/cache/", "vendor/gems/", "vendor/ruby/"], "keep_files"=>[".git", ".svn"], "encoding"=>"utf-8", "markdown_ext"=>"markdown,mkdown,mkdn,mkd,md", "strict_front_matter"=>false, "show_drafts"=>nil, "limit_posts"=>0, "future"=>false, "unpublished"=>false, "whitelist"=>[], "plugins"=>["jekyll-feed", "jekyll-paginate", "jekyll-sitemap", "jemoji"], "markdown"=>"kramdown", "highlighter"=>"rouge", "lsi"=>false, "excerpt_separator"=>"", "incremental"=>false, "detach"=>false, "port"=>"4000", "host"=>"127.0.0.1", "baseurl"=>"", "show_dir_listing"=>false, "permalink"=>"/posts/:title", "paginate_path"=>"/page:num", "timezone"=>"America/New_York", "quiet"=>false, "verbose"=>false, "defaults"=>[{"scope"=>{"path"=>"", "type"=>"posts"}, "values"=>{"layout"=>"article", "sharing"=>true, "license"=>true, "aside"=>{"toc"=>true}, "show_edit_on_github"=>false, "show_subscribe"=>true, "pageview"=>true}}], "liquid"=>{"error_mode"=>"warn", "strict_filters"=>false, "strict_variables"=>false}, "kramdown"=>{"auto_ids"=>true, "toc_levels"=>[1, 2, 3, 4, 5, 6], "entity_output"=>"as_char", "smart_quotes"=>"lsquo,rsquo,ldquo,rdquo", "input"=>"GFM", "hard_wrap"=>false, "guess_lang"=>true, "footnote_nr"=>1, "show_warnings"=>false}, "text_skin"=>"default", "highlight_theme"=>"default", "url"=>"https://blog.pengzhan.dev", "title"=>"Stop Talking, Start Doing", "description"=>"My personal blog, with some boring research staff and some tricks I was fancy to. I'll try my best to make this blog fun and useful. Not just a place I complain about all happens in my Lab.\n", "lang"=>"en", "author"=>{"type"=>nil, "name"=>"Pengzhan Hao", "url"=>nil, "avatar"=>"/static/avatar.jpg", "bio"=>nil, "email"=>"haopengzhan@gmail.com", "facebook"=>nil, "twitter"=>nil, "weibo"=>nil, "googleplus"=>nil, "telegram"=>nil, "medium"=>nil, "zhihu"=>nil, "douban"=>nil, "linkedin"=>"pengzhanhao", "github"=>"codersherlock", "npm"=>nil}, "repository"=>"CoderSherlock/CoderSherlock.github.io", "repository_tree"=>"master", "paths"=>{"root"=>nil, "home"=>nil, "archive"=>nil, "rss"=>nil}, "license"=>nil, "toc"=>{"selectors"=>nil}, "mathjax"=>nil, "mathjax_autoNumber"=>nil, "mermaid"=>nil, "chart"=>nil, "paginate"=>8, "sources"=>nil, "sharing"=>{"provider"=>false, "addthis"=>{"id"=>nil}}, "comments"=>{"provider"=>"disqus", "disqus"=>{"shortname"=>"codersherlockblog"}, "gitalk"=>{"clientID"=>nil, "clientSecret"=>nil, "repository"=>nil, "owner"=>nil, "admin"=>nil}, "valine"=>{"app_id"=>nil, "app_key"=>nil, "placeholder"=>nil, "visitor"=>nil, "meta"=>nil}}, "pageview"=>{"provider"=>false, "leancloud"=>{"app_id"=>nil, "app_key"=>nil, "app_class"=>nil}}, "search"=>{"provider"=>"default", "google"=>{"custom_search_engine_id"=>nil}}, "analytics"=>{"provider"=>"google", "google"=>{"tracking_id"=>"UA-82637164-1", "anonymize_ip"=>false}}, "serving"=>false}:ET \ No newline at end of file +I"û {"source"=>"/home/coder/share/CoderSherlock.github.io", "destination"=>"/home/coder/share/CoderSherlock.github.io/_site", "collections_dir"=>"", "cache_dir"=>".jekyll-cache", "plugins_dir"=>"_plugins", "layouts_dir"=>"_layouts", "data_dir"=>"_data", "includes_dir"=>"_includes", "collections"=>{"posts"=>{"output"=>true, "permalink"=>"/posts/:title"}}, "safe"=>false, "include"=>[".htaccess"], "exclude"=>["CHANGELOG.md", "HOW_TO_RELEASE.md", "Gemfile", "Gemfile.lock", "LICENSE", "README-*.md", "README.md", "gulpfile.js", "jekyll-text-theme.gemspec", "package-lock.json", "package.json", "/docs", "/node_modules", "/screenshots", "/test", "/vendor", "configure.sh", ".sass-cache", ".jekyll-cache", "gemfiles", "node_modules", "vendor/bundle/", "vendor/cache/", "vendor/gems/", "vendor/ruby/"], "keep_files"=>[".git", ".svn"], "encoding"=>"utf-8", "markdown_ext"=>"markdown,mkdown,mkdn,mkd,md", "strict_front_matter"=>false, "show_drafts"=>nil, "limit_posts"=>0, "future"=>false, "unpublished"=>false, "whitelist"=>[], "plugins"=>["jekyll-feed", "jekyll-paginate", "jekyll-sitemap", "jemoji"], "markdown"=>"kramdown", "highlighter"=>"rouge", "lsi"=>false, "excerpt_separator"=>"", "incremental"=>false, "detach"=>false, "port"=>"4000", "host"=>"127.0.0.1", "baseurl"=>"", "show_dir_listing"=>false, "permalink"=>"/posts/:title", "paginate_path"=>"/page:num", "timezone"=>"America/New_York", "quiet"=>false, "verbose"=>false, "defaults"=>[{"scope"=>{"path"=>"", "type"=>"posts"}, "values"=>{"layout"=>"article", "sharing"=>true, "license"=>true, "aside"=>{"toc"=>true}, "show_edit_on_github"=>false, "show_subscribe"=>true, "pageview"=>true}}], "liquid"=>{"error_mode"=>"warn", "strict_filters"=>false, "strict_variables"=>false}, "kramdown"=>{"auto_ids"=>true, "toc_levels"=>[1, 2, 3, 4, 5, 6], "entity_output"=>"as_char", "smart_quotes"=>"lsquo,rsquo,ldquo,rdquo", "input"=>"GFM", "hard_wrap"=>false, "guess_lang"=>true, "footnote_nr"=>1, "show_warnings"=>false}, "text_skin"=>"default", "highlight_theme"=>"default", "url"=>"https://blog.pengzhan.dev", "fakebaseurl"=>"", "title"=>"STSD", "description"=>"My personal blog, with some boring research staff and some tricks I was fancy to. I'll try my best to make this blog fun and useful. Not just a place I complain about all happens in my Lab.\n", "lang"=>"en", "author"=>{"type"=>nil, "name"=>"Pengzhan Hao", "url"=>nil, "avatar"=>"/static/avatar.jpg", "bio"=>nil, "email"=>"haopengzhan@gmail.com", "facebook"=>nil, "twitter"=>nil, "weibo"=>nil, "googleplus"=>nil, "telegram"=>nil, "medium"=>nil, "zhihu"=>nil, "douban"=>nil, "linkedin"=>"pengzhanhao", "github"=>"codersherlock", "npm"=>nil}, "repository"=>"CoderSherlock/CoderSherlock.github.io", "repository_tree"=>"master", "paths"=>{"root"=>nil, "home"=>nil, "archive"=>nil, "rss"=>nil}, "license"=>nil, "toc"=>{"selectors"=>nil}, "mathjax"=>nil, "mathjax_autoNumber"=>nil, "mermaid"=>nil, "chart"=>nil, "paginate"=>8, "sources"=>nil, "sharing"=>{"provider"=>false, "addthis"=>{"id"=>nil}}, "comments"=>{"provider"=>"disqus", "disqus"=>{"shortname"=>"codersherlockblog"}, "gitalk"=>{"clientID"=>nil, "clientSecret"=>nil, "repository"=>nil, "owner"=>nil, "admin"=>nil}, "valine"=>{"app_id"=>nil, "app_key"=>nil, "placeholder"=>nil, "visitor"=>nil, "meta"=>nil}}, "pageview"=>{"provider"=>false, "leancloud"=>{"app_id"=>nil, "app_key"=>nil, "app_class"=>nil}}, "search"=>{"provider"=>"default", "google"=>{"custom_search_engine_id"=>nil}}, "analytics"=>{"provider"=>"google", "google"=>{"tracking_id"=>"UA-82637164-1", "anonymize_ip"=>false}}, "serving"=>false}:ET \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..8141cfa --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "livePreview.defaultPreviewPath": "/_site/index.html" +} \ No newline at end of file diff --git a/_config.yml b/_config.yml index ffb4722..179e932 100644 --- a/_config.yml +++ b/_config.yml @@ -20,7 +20,8 @@ text_skin: default # "default" (default), "dark", "forest", "ocean", "chocolate" highlight_theme: default # "default" (default), "tomorrow", "tomorrow-night", "tomorrow-night-eighties", "tomorrow-night-blue", "tomorrow-night-bright" url : "https://blog.pengzhan.dev" baseurl : "" -title : Stop Talking, Start Doing +fakebaseurl: "" # /proxy/4000 +title : STSD description: > # this means to ignore newlines until "Language & timezone" My personal blog, with some boring research staff and some tricks I was fancy to. I'll try my best to make this blog fun and useful. Not just a place I complain about diff --git a/_includes/snippets/prepend-baseurl.html b/_includes/snippets/prepend-baseurl.html index d5d24ef..2c5bb45 100644 --- a/_includes/snippets/prepend-baseurl.html +++ b/_includes/snippets/prepend-baseurl.html @@ -1,4 +1,4 @@ {%- assign _include_path_replace_index = include.path | replace: 'index.html', '' -%} {%- include snippets/prepend-path.html path=_include_path_replace_index - prepend_path=site.baseurl -%} \ No newline at end of file + prepend_path=site.fakebaseurl -%} \ No newline at end of file diff --git a/_posts/2016-10-26-welcome-to-my-blog.markdown b/_posts/2016-10-26-welcome-to-my-blog.markdown index e5fb2fa..c8c22b3 100644 --- a/_posts/2016-10-26-welcome-to-my-blog.markdown +++ b/_posts/2016-10-26-welcome-to-my-blog.markdown @@ -1,5 +1,5 @@ --- -title: "Stop Talking is the worst title of one blog" +title: "STSD: Stop Talking Start Doing" date: 2016-10-26 22:50:33 -0400 tags: Diary --- diff --git a/_posts/2023-12-09-Taste-of-NotebookLM.md b/_posts/2023-12-09-Taste-of-NotebookLM.md new file mode 100644 index 0000000..4148a5b --- /dev/null +++ b/_posts/2023-12-09-Taste-of-NotebookLM.md @@ -0,0 +1,19 @@ +--- +title: "Taste of NotebookLM" +date: 2023-12-09 23:54:00 -0400 +tags: ["NotebookLM", "Bard", "LLM"] +author: Pengzhan Hao +cover: '/static/2023-12/NotebookLM.png' +published: false +--- + +LLM becomes popular. It seriously may change the way of human's life. +As Google announced Gemini, the other product named NotebookLM also launched in the same period. +Before I tried it out, my initial thought to these kind of LLM driven application is that they are just some unmature product driven by some so-called pioneers who just want to catch eyeballs. +Or some big tech company's rush show case to boost their AI/ML models market (or just for the stock price). +Unfortunately, I was shocked by what can NotebookLM's performance and the potential it represents for all LLM applications. + +Here's what I did. + +I randomly found a PDF file of operating system assignment used for + diff --git a/_sass/common/_reset.scss b/_sass/common/_reset.scss index 2062d37..060753e 100644 --- a/_sass/common/_reset.scss +++ b/_sass/common/_reset.scss @@ -77,6 +77,9 @@ h5, h6, strong { font-weight: map-get($base, font-weight-bold); + font-family: map-get($base, font-header-family); + letter-spacing: -.05rem; + line-height: 1; } h1 { diff --git a/_sass/common/_variables.scss b/_sass/common/_variables.scss index faf4e98..578d925 100644 --- a/_sass/common/_variables.scss +++ b/_sass/common/_variables.scss @@ -1,5 +1,6 @@ $base: ( - font-family: (-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif), + font-family: ("Lora", "Minion Pro", Palatino, Georgia, serif), + font-header-family: ("Open Sans", Helvetica, "Helvetica Neue", Arial, sans-serif), font-family-code: (Menlo, Monaco, Consolas, Andale Mono, lucida console, Courier New, monospace), font-size-root: 16px, @@ -49,11 +50,11 @@ $base: ( font-weight: 400, font-weight-bold: 700, - line-height-xl: 2, - line-height-lg: 1.8, - line-height: 1.6, - line-height-sm: 1.4, - line-height-xs: 1.2, + line-height-xl: 1.8, + line-height-lg: 1.6, + line-height: 1.4, + line-height-sm: 1.2, + line-height-xs: 1, spacer: 1rem, diff --git a/_sass/components/_main.scss b/_sass/components/_main.scss index 265c727..61243df 100644 --- a/_sass/components/_main.scss +++ b/_sass/components/_main.scss @@ -1,6 +1,6 @@ .main { width: 100%; - max-width: map-get($layout, content-max-width); + max-width: map-get($layout, content-max-width) + map-get($layout, aside-width); padding: 0 map-get($spacers, 5); margin: 0 auto; @include media-breakpoint-down(lg) { diff --git a/_site/404.html b/_site/404.html index 56c4cf2..9a0a199 100644 --- a/_site/404.html +++ b/_site/404.html @@ -1,11 +1,11 @@ -Page Not Found - Stop Talking, Start Doing +Page Not Found - STSD - + @@ -404,7 +404,7 @@ c13 9 26 20 30 26 7 11 -9 26 -27 26 -5 0 -3 -5 5 -10 9 -6 10 -10 3 -10 -24 Stop Talking, Start Doing