投稿時間:2022-07-18 08:12:14 RSSフィード2022-07-18 08:00 分まとめ(13件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
python Pythonタグが付けられた新着投稿 - Qiita 日震学(星震学)データで遊んでみる https://qiita.com/Nashty/items/0d49b409aad1d863038a seismology 2022-07-18 07:58:41
Docker dockerタグが付けられた新着投稿 - Qiita Dockerのインストールからコンテナ立ち上げまで https://qiita.com/shsf8871/items/de061f9d7aa94df67f26 docker 2022-07-18 07:10:59
海外TECH DEV Community Introducing Pagefind: Static Low-bandwidth Search at Scale https://dev.to/avidlarge/introducing-pagefind-static-low-bandwidth-search-at-scale-59of Introducing Pagefind Static Low bandwidth Search at ScaleBy Liam BigelowWe re delighted to launch Pagefind an open source tool that adds search to your static websites without hosting any infrastructure while respecting your users bandwidth At CloudCannon we firmly believe there are very few challenges that should block the path to static site adoption and we re constantly working to make that journey as joyful as possible for everyone with a presence on the web Our SSGs through the ages series delves into the history of this space and one of the trends that we re seeing is larger and larger projects migrating to static websites helped in part by the efficiency of static site generators like Hugo We build many such sites for ourselves ーthe CloudCannon documentation is nothing to sneeze at ーas well as for our Enterprise partners and our customers build yet more on our platform every day As this scale continues to increase we find ourselves encountering new and interesting challenges In the past we have released open source tools for component driven development internationalization pagination and portability Now we have our sights set on search The ProblemYou ve just built a large documentation website and you re ready to launch but first you want people to be able to search your site What do you pick The way we see it this is a fork in the road In one direction you d be grabbing a frontend search library and running the queries inside your users browser In the other you d be spinning up your own infrastructure or signing up for a third party platform  Personally I love the idea of frontend search It means I don t have to maintain extra servers or integrate with a third party and I can continue to deliver an entirely static site contained within its repository It fits with CloudCannon s Git based content ethos as well Much like how you continue to own your content via Git you will continue to own your search Unfortunately most static search libraries only work on sufficiently small sites frontend search necessitates sending a search index to the user and with existing tools a single index can be many megabytes for a large site That s a big problem for our users on low bandwidth devices and even if your search works well now what will happen when your site grows Plus building out a local index can be a chore often feeling like an exercise in re templating your content into a different format  It s these limitations that often drives developers to connect a third party platform or host your own search index This would fix your scaling problem but then you d have external dependencies on extra infrastructure or a third party vendor and you d start to erode the original benefits of a fully static site  After delivering many projects via both avenues we set out on the journey of building a tool that meets our design goals ーnamely efficiently searching our large sites well into the future without shifting the burden to our users Our Solution PagefindThis is where Pagefind comes in neatly solving the issues we encounter day to day and even adding some handy features along the way Pagefind works great on the smallest sites you have on hand and comfortably scales with you up to some of the largest static sites you can think of ーwe can run a full text search on the entirety of MDN in under KB total including the Pagefind library itself For most sites this will be closer to KB All without hosting any dedicated infrastructure Pagefind exists as two halves First Pagefind is a CLI application that runs after your site builds and indexes the rendered HTML automatically injecting everything needed to search it into the static contents This workflow fits into a methodology we call “Static Site Chaining static site generators that themselves take a static site as input This allows you to get off the ground with zero config and control what is and isn t indexed from your existing templates directly  The other half of Pagefind is the frontend search library that accesses the index and runs queries against it The magic happens in the handoff between these two halves and primarily in the way Pagefind outputs index chunks Rather than build one large search index Pagefind splits the search space into ordered chunks This means that searching for the word “CloudCannon doesn t need to load the region of the index containing the word “Jamstack Additionally full text and metadata for results are stored in yet another location giving you fine grained control over how much is loaded over the network at a given time Even better since Pagefind handles injecting the library into your site and loading it in the browser this internal structure isn t something you ever interface with To give you a taste of how easy search can be here s how to index a Hugo site after it builds hugo npx pagefind source public Or Jekyll jekyll build npx pagefind source site Indeed any static folder of HTML files can be indexed by Pagefind And with a CloudCannon postbuild script you can automatically index your site every time it builds Now to search our site in the browser let pagefind await import pagefind pagefind js let search await pagefind search nice let result await search results data Or for the easiest search experience on the planet just drop the Pagefind UI snippet into your template customize the CSS variables and let it do its thing You can test out how quickly Pagefind searches the CloudCannon blog To say we re all pretty excited about this one is an understatement Plus beyond simple search queries Pagefind supports “exact quote searches tagging and filtering content term frequency ranking and more All in the same low bandwidth package that keeps our firm footing in the leanweb  To get started with Pagefind all documentation can be found at pagefind app We re excited to see more people use Pagefind and even more excited to get feedback So if you hit any problems or have any ideas to improve Pagefind open an issue or a discussion in the GitHub repository and we ll be there to help 2022-07-17 22:18:14
Linux OMG! Ubuntu! ‘Cider’ is an Open Source Apple Music Client for Linux Desktops https://www.omgubuntu.co.uk/2022/07/cider-is-an-open-source-apple-music-client-for-linux-desktops Cider is an Open Source Apple Music Client for Linux DesktopsCider is an open source Apple Music client for Windows macOS and Linux the latter not having an official Apple Music app making this one unique This post Cider is an Open Source Apple Music Client for Linux Desktops is from OMG Ubuntu Do not reproduce elsewhere without permission 2022-07-17 22:12:22
海外科学 NYT > Science After New Abortion Laws, Some Patients Have Trouble Obtaining Miscarriage Treatment https://www.nytimes.com/2022/07/17/health/abortion-miscarriage-treatment.html After New Abortion Laws Some Patients Have Trouble Obtaining Miscarriage TreatmentSurgical procedures and medication for miscarriages are identical to those for abortion and some patients report delayed or denied miscarriage care because doctors and pharmacists fear running afoul of abortion bans 2022-07-17 22:11:23
海外科学 NYT > Science Cryptomining Capacity in U.S. Rivals Energy Use of Houston, Findings Show https://www.nytimes.com/2022/07/15/climate/cryptocurrency-bitcoin-mining-electricity.html Cryptomining Capacity in U S Rivals Energy Use of Houston Findings ShowThe findings by a congressional investigation highlight how the surge in activity has caused consumers electrical bills to rise and makes it harder to fight global warming 2022-07-17 22:06:58
ニュース BBC News - Home Tory leadership: Rivals get personal in latest TV debate https://www.bbc.co.uk/news/uk-politics-62200186?at_medium=RSS&at_campaign=KARANGA brexit 2022-07-17 22:27:12
ニュース BBC News - Home The Papers: 'Meltdown Monday' and 'Race for No10 gets personal' https://www.bbc.co.uk/news/blogs-the-papers-62201938?at_medium=RSS&at_campaign=KARANGA front 2022-07-17 22:49:59
ビジネス 東洋経済オンライン 底堅くなってきた日本株が抱える「中国リスク」 市場は米インフレ指標に対して落ち着いてきた | 市場観測 | 東洋経済オンライン https://toyokeizai.net/articles/-/604954?utm_source=rss&utm_medium=http&utm_campaign=link_back 中国リスク 2022-07-18 07:30:00
ビジネス プレジデントオンライン 締め切りの日に1割もできていない、仕事を丸ごと忘れる…部下の発達障害を疑ったらどうすべきか - 「ヤル気がない」「能力がない」のは誤解かもしれない https://president.jp/articles/-/59629 発達障害 2022-07-18 08:00:00
ビジネス プレジデントオンライン 締め切りの日に1割もできていない、仕事を丸ごと忘れる…部下の発達障害を疑ったらどうすべきか - 「ヤル気がない」「能力がない」のは誤解かもしれない https://president.jp/articles/-/59576 発達障害 2022-07-18 08:00:00
海外TECH reddit The official ideology of the Kremlin is called Russian Peace / Russian World and is basically used in Russian media to justify their invasion of Ukraine. This video explains this racist and supremacist ideology. https://www.reddit.com/r/ukraine/comments/w1j9yp/the_official_ideology_of_the_kremlin_is_called/ The official ideology of the Kremlin is called Russian Peace Russian World and is basically used in Russian media to justify their invasion of Ukraine This video explains this racist and supremacist ideology submitted by u Israeliman to r ukraine link comments 2022-07-17 22:27:41
海外TECH reddit Drone footage shows Russian artillery pounding Ukrainian wheat fields https://www.reddit.com/r/ukraine/comments/w1jckz/drone_footage_shows_russian_artillery_pounding/ Drone footage shows Russian artillery pounding Ukrainian wheat fields submitted by u Israeliman to r ukraine link comments 2022-07-17 22:30:57

コメント

このブログの人気の投稿

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)