diff --git a/docs/articles/127.html b/docs/articles/127.html new file mode 100644 index 0000000..5882a3c --- /dev/null +++ b/docs/articles/127.html @@ -0,0 +1,45 @@ + + + + + + 露比的銳思 + + + + + + +
+ +
+

小寄語

+

其實,我非常累……最近覺得越來越不想做事。知道心裡無比疲憊,但來由與解法,我不知道。

+

感覺很想做很多事,但最後卻一事無成。很想要闖出些什麼,但發現自己辦不到。

+

明明已經做了最想做的事情,但卻發現熱情越來越弱。已經消耗太多精力,在太多沒意義的奮鬥上。所以最後常常在想,意義何在呢?為什麼呢?

+

當然,答案很簡單:錢、吃飯。

+

但……是嗎?是這樣嗎?還有其他原因嗎?

+

也許我需要什麼來重溫一下自己的初衷。

+
+

來說說寫文章吧。我想這是老問題吧。為什麼沒辦法提昇寫作頻率太多?本來很想寫很多文章,但為什麼會無疾而終?

+

然後就發現,自己查資料的時間太多;加上撰寫,寫一篇文章需要花上數小時才能完成。花三分鐘的就能讀完的東西,為什麼要花三小時撰寫?ChatGPT 也幫不上什麼忙啊。

+

於是我退卻了。徒留一大堆只有自己能看懂的筆記。

+
+

心裡感覺很差。成就非常平庸。如果我是普通人,大概就會是最爛那種吧。

+

很討厭打交道這件事,但卻沒有辦法。好像只能困在不上不下的地方。

+

想得很多、看得太少、做得更少。

+

心裡的鬱悶無處可去。

+ +
+
+ + + + + diff --git a/docs/articles/index.html b/docs/articles/index.html index ee35c8e..4c7764b 100644 --- a/docs/articles/index.html +++ b/docs/articles/index.html @@ -146,6 +146,7 @@
  • Date and Temporal
  • 部落格更新!
  • My belief on AI generated content
  • +
  • 小寄語
  • diff --git a/docs/assets/article.min.js b/docs/assets/article.min.js index 822b60d..a507287 100644 --- a/docs/assets/article.min.js +++ b/docs/assets/article.min.js @@ -1 +1 @@ -import{IDateComponentElement}from"./i-date.min.js";class ArticleTagsApp{constructor(){}id="";set_id(){const t=location.pathname.split("articles/")[1];t&&(this.id=t.split(".")[0])}responsed_source_data={};get data_api_path(){return location.host.includes("127.0.0.1")?"/docs/assets/stub-data-api.json":`https://iigmir.serv00.net/api/blog-metadata/${this.id}`}get ajax_data(){return this.responsed_source_data.data}tags_data=[];get tags_api_path(){return location.host.includes("127.0.0.1")?"/docs/assets/stub-tag-api.json":"https://raw.githubusercontent.com/iigmir/blog-source/master/info-files/categories.json"}get matched_tags(){return[...(this.responsed_source_data.data??{category_id:[]}).category_id].map((t=>this.tags_data.find((e=>e.id===t))?.tag_name??null)).filter((t=>t))}request_api(){return new Promise(((t,e)=>{this.id||e("No ID given");Promise.all([fetch(this.tags_api_path).then((t=>t.json())),fetch(this.data_api_path).then((t=>t.json()))]).then((([e,a])=>{this.tags_data=e,this.responsed_source_data=a,t(this.responsed_source_data)})).catch((t=>{e(t)}))}))}}class ArticleTagsAppELement extends HTMLElement{tags_object=null;constructor(){super()}connectedCallback(){this.tags_object=new ArticleTagsApp,this.tagsapp_action()}tagsapp_action(){this.tags_object.set_id(),this.tags_object.request_api().then((t=>{this.render_resolved_element()})).catch((t=>{console.error(t),this.render_rejected_element(t)}))}render_resolved_element(){const t=this.tags_object,e=this.attachShadow({mode:"open"}),a=document.createElement("footer");a.setAttribute("class","tags container");const s=document.createElement("p");s.textContent="Tags: ";const n=document.createElement("ul");n.classList.add("badges"),n.classList.add("-round");t.matched_tags.map((t=>{const e=document.createElement("li");return e.classList.add("item"),e.classList.add("click-icon"),e.textContent=t,e})).forEach((t=>n.appendChild(t)));const d=document.createElement("link");d.setAttribute("rel","stylesheet"),d.setAttribute("href","../css/new-framework.min.css");const i=document.createElement("span");i.textContent=" ",e.appendChild(d),e.appendChild(a),a.appendChild(this.generate_date_component("Created: ","date -created",t.ajax_data.created_at)),a.appendChild(i),a.appendChild(this.generate_date_component("Updated: ","date -updated",t.ajax_data.updated_at)),a.appendChild(s),a.appendChild(n)}render_rejected_element(t=""){const e=this.attachShadow({mode:"open"}),a=document.createElement("footer");a.setAttribute("class","tags container");const s=document.createElement("link");s.setAttribute("rel","stylesheet"),s.setAttribute("href","../css/new-framework.min.css");const n=document.createElement("span");n.textContent="Oh-oh. Something's up. :-(",n.dataset.errorMessage=t,e.appendChild(s),e.appendChild(a),a.appendChild(n)}generate_date_component(t="",e="",a=""){const s=document.createElement("i-date");return s.dataset.title=t,s.dataset.date=a,s.dataset.classes=e,s.dataset.timezone="Asia/Taipei",s}}function main(){customElements.define("article-tags-app",ArticleTagsAppELement),customElements.define("i-date",IDateComponentElement)}main(); \ No newline at end of file +import{IDateComponentElement}from"./i-date.min.js";class ArticleTagsApp{constructor(){}id="";set_id(){const t=location.pathname.split("articles/")[1];t&&(this.id=t.split(".")[0])}responsed_source_data={};get data_api_path(){return location.host.includes("127.0.0.1")?"/docs/api/data.json":`https://iigmir.serv00.net/api/blog-metadata/${this.id}`}get ajax_data(){return this.responsed_source_data.data}tags_data=[];get tags_api_path(){return location.host.includes("127.0.0.1")?"/docs/api/tags.json":"https://raw.githubusercontent.com/iigmir/blog-source/master/info-files/categories.json"}get matched_tags(){return[...(this.responsed_source_data.data??{category_id:[]}).category_id].map((t=>this.tags_data.find((e=>e.id===t))?.tag_name??null)).filter((t=>t))}request_api(){return new Promise(((t,e)=>{this.id||e("No ID given");Promise.all([fetch(this.tags_api_path).then((t=>t.json())),fetch(this.data_api_path).then((t=>t.json()))]).then((([e,a])=>{this.tags_data=e,this.responsed_source_data=a,t(this.responsed_source_data)})).catch((t=>{e(t)}))}))}}class ArticleTagsAppELement extends HTMLElement{tags_object=null;constructor(){super()}connectedCallback(){this.tags_object=new ArticleTagsApp,this.tagsapp_action()}tagsapp_action(){this.tags_object.set_id(),this.tags_object.request_api().then((t=>{this.render_resolved_element()})).catch((t=>{console.error(t),this.render_rejected_element(t)}))}render_resolved_element(){const t=this.tags_object,e=this.attachShadow({mode:"open"}),a=document.createElement("footer");a.setAttribute("class","tags container");const s=document.createElement("p");s.textContent="Tags: ";const n=document.createElement("ul");n.classList.add("badges"),n.classList.add("-round");t.matched_tags.map((t=>{const e=document.createElement("li");return e.classList.add("item"),e.classList.add("click-icon"),e.textContent=t,e})).forEach((t=>n.appendChild(t)));const d=document.createElement("link");d.setAttribute("rel","stylesheet"),d.setAttribute("href","../css/new-framework.min.css");const i=document.createElement("span");i.textContent=" ",e.appendChild(d),e.appendChild(a),a.appendChild(this.generate_date_component("Created: ","date -created",t.ajax_data.created_at)),a.appendChild(i),a.appendChild(this.generate_date_component("Updated: ","date -updated",t.ajax_data.updated_at)),a.appendChild(s),a.appendChild(n)}render_rejected_element(t=""){const e=this.attachShadow({mode:"open"}),a=document.createElement("footer");a.setAttribute("class","tags container");const s=document.createElement("link");s.setAttribute("rel","stylesheet"),s.setAttribute("href","../css/new-framework.min.css");const n=document.createElement("span");n.textContent="Oh-oh. Something's up. :-(",n.dataset.errorMessage=t,e.appendChild(s),e.appendChild(a),a.appendChild(n)}generate_date_component(t="",e="",a=""){const s=document.createElement("i-date");return s.dataset.title=t,s.dataset.date=a,s.dataset.classes=e,s.dataset.timezone="Asia/Taipei",s}}function main(){customElements.define("article-tags-app",ArticleTagsAppELement),customElements.define("i-date",IDateComponentElement)}main(); \ No newline at end of file