投稿時間:2023-01-19 09:34:59 RSSフィード2023-01-19 09:00 分まとめ(39件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] ネットカフェ「DiCE大宮店」がリニューアル 特徴は? https://www.itmedia.co.jp/business/articles/2301/19/news087.html itmedia 2023-01-19 08:41:00
TECH Techable(テッカブル) あなたの演奏にあわせて、AIが連弾!ヤマハ銀座スタジオで体験型イベント https://techable.jp/archives/191575 株式会社 2023-01-18 23:30:02
TECH Techable(テッカブル) ライブカメラで近隣スキー場のコンディションを見える化 札幌の星野リゾート施設にて https://techable.jp/archives/191567 skiday 2023-01-18 23:00:22
js JavaScriptタグが付けられた新着投稿 - Qiita Create React Appでソースマップの生成を抑制する。 https://qiita.com/juno_rmks/items/20fdfafd35954e924df5 createreactapp 2023-01-19 08:45:30
Azure Azureタグが付けられた新着投稿 - Qiita 【初心者向け】Azure Cloud ShellでのPostgreSQLサーバー接続と基本的なコマンド https://qiita.com/m_saito_ari/items/ba9880e2ad898b1d559a azurecloudshell 2023-01-19 08:57:39
技術ブログ Developers.IO AWS CLIからOrganizationsのサービス連携や管理者の委任を操作してみた https://dev.classmethod.jp/articles/manage-aws-organizations-service-integration-and-delegation-from-cli/ awscli 2023-01-18 23:22:40
海外TECH Ars Technica Time(s) for a change: State Department picks a new official typeface https://arstechnica.com/?p=1911017 diplomats 2023-01-18 23:01:03
海外TECH DEV Community Incremental Static Regeneration using Next.js with Strapi https://dev.to/strapijs/incremental-static-regeneration-using-nextjs-with-strapi-3n9f Incremental Static Regeneration using Next js with StrapiAs the web development industry continues to evolve the need for faster and more efficient ways to update the content of a website has become increasingly important At Strapi we ve implemented a solution that combines the power of Next js and Strapi to achieve near instant updates to our website which is built using Static Site Generation SSG technology The key to our solution is the use of Incremental Static Regeneration ISR in Next js ISR allows for only the specific pages that have been updated to be regenerated rather than the entire site This greatly reduces the time it takes to update the content on our website In fact we have pages on our website and if you update only one page you ll need to build everything to see your changes which takes quite some time min To further improve the efficiency of our updates we ve integrated the webhook feature of Strapi This allows us to automatically trigger a regeneration of the affected pages whenever new content is added updated deleted published or unpublished in our Strapi backend The webhook URL looks like this The token is used to secure this API call It should be the same on Strapi and on Next js to proceed We also implemented the option to manually revalidate specific pages inside the webhook In fact it might be useful in certain scenarios Let s say that you update the title of a blog post In our implementation Next js will automatically revalidate the blog specific article page but this article and more specifically the title might appear somewhere else like the blog page This page will also need to be revalidated to show the new title This is why in the webhook you can add a page parameter that allows you to specify a page that you want to manually revalidate by triggering the webhook manually page blog One more thing our entire website is cached using Cloudfront which helps to greatly improve the load times for our users To ensure that the updated content is always displayed to our users we ve also implemented a step in the revalidate route in Next js that automatically invalidates the cache on Cloudfront when a page is regenerated In conclusion the combination of ISR in Next js the webhook feature of Strapi and the use of Cloudfront caching has allowed us to achieve near instant updates to our website while also improving the overall performance of our users PS This article was mostly generated using ChatGPT impressive right Here is the prompt Can you write a blog article about how at Strapi we implemented Incremental Static Regeneration on Next js combined with the webhook feature of Strapi to automatically and almost instantly update the content of our website which is using the SSG technology Can you also add that our entire website is cached using Cloudfront and that the revalidation route that we call in Next js is also invalidating the cache on Cloudfront 2023-01-18 23:49:13
海外TECH DEV Community Mastering Advanced Types in TypeScript. https://dev.to/khalidahmada/mastering-advanced-types-in-typescript-25c9 Mastering Advanced Types in TypeScript TypeScript a superset of JavaScript provides several advanced types that can be used to improve the safety and readability of your code Some examples include Intersection Types These are used to combine multiple types into a single type For example if you have a variable that should be both a number and a string you can use an intersection type let x number amp string Union Types These are used to specify that a variable can be of one of several types For example if a variable can be either a number or a string let x number string Tuple Types These are used to specify the types of the elements of an array For example if you want to create an array of a specific length with specific types of elements you can use a tuple type let x string number Type Aliases These are used to give a type a specific name For example you can create a type alias for an intersection or union type type MyType number string Enum Type Enumerated type is a way of defining a set of named values For example you can create an enumeration of the days of the week enum Days Monday Tuesday Wednesday Thursday Friday Saturday Sunday Generics These are used to create a type that is independent of other types For example if you want to create a function that can accept any type of argument and return any type of value you can use generics function identity lt T gt arg T T return arg In TypeScript the Omit type is used to create a new type by picking a set of properties from an existing type and then removing a set of properties from that type For example if you have an interface like this interface Person name string age number address string You can use Omit to create a new type that excludes the address property type PersonWithoutAddress Omit lt Person address gt Now PersonWithoutAddress is a new type that has all the properties of Person except address Another useful type utility is Pick this creates a new type by picking a set of properties from an existing type type PersonName Pick lt Person name gt There are other utility types such as Exclude Extract Record and InstanceType that can help you manipulate and create new types interface Person name string age number address string phone number You can use Exclude to create a new type that excludes the properties name and age type PersonWithoutNameAge Exclude lt keyof Person name age gt Now PersonWithoutNameAge is a new type that includes all properties of Person except name and age Extract This type is used to extract a set of properties from an existing type For example if you have an interface like this interface Person name string age number address string phone number You can use Extract to create a new type that includes the properties name and age type PersonNameAge Extract lt keyof Person name age gt Now PersonNameAge is a new type that includes only the properties name and age of Person Record This type is used to create a new type that maps keys of a certain type to values of another type For example you can use it to create a dictionary like object type PhoneBook Record lt string number gt let phoneBook PhoneBook John Jane InstanceType This type is used to obtain the type of an instance of a class For example if you have a class like this class Person name string age number You can use InstanceType to obtain the type of an instance of the class let person InstanceType lt typeof Person gt new Person You may ask What is difference between omit and exclude The Omit and Exclude utility types in TypeScript are similar in that they both allow you to create a new type by removing properties from an existing type However there is a subtle difference between them Omit is used to create a new type by picking a set of properties from an existing type and then removing a set of properties from that type For example if you have an interface like this interface Person name string age number address string You can use Omit to create a new type that excludes the address property type PersonWithoutAddress Omit lt Person address gt Exclude is used to exclude a set of properties from an existing type For example if you have an interface like this interface Person name string age number address string phone number You can use Exclude to create a new type that excludes the properties name and age type PersonWithoutNameAge Exclude lt keyof Person name age gt So in summary Omit allows you to create a new type with a specific set of properties removed while Exclude allows you to create a new type with a specific set of properties removed from a set of properties It s like Omit is a more specific version of Exclude it allows you to create a new type by picking some properties from an existing type and remove other properties from it In conclusion TypeScript is a powerful superset of JavaScript that provides several advanced types that can be used to improve the safety and readability of your code These advanced types include Intersection Types Union Types Tuple Types Type Aliases Enum Types and Generics They allow you to create new types from existing ones and to specify more precise types for your variables and functions Furthermore TypeScript also provides other utility types such as Omit Exclude Extract Record and InstanceType that can help you manipulate and create new types These types can be very useful when working with complex types providing a way to manipulate and create new types from existing ones In this article we have covered the basics of these advanced types and we have provided examples of how they can be used in practice With this knowledge you will be able to write more robust and maintainable code in TypeScript making your development process more efficient 2023-01-18 23:28:45
海外TECH DEV Community What is “production” Machine Learning? https://dev.to/sematic/what-is-production-machine-learning-22mk What is “production Machine Learning In traditional software development “production typically refers to instances of an application that are used by actual users human or machine Whether it s a web application an application embedded in a device or machine or a piece of infrastructure production systems receive real world traffic and are supposed to accomplish their mission without issues Production systems usually come with these guarantees Safety Before the application is deployed in production it is thoroughly tested by an extensive suite of unit tests integration tests and sometimes manual tests Scenarios covering happy paths and corner cases are checked against expected results Traceability A record is kept of exactly what code was deployed by whom at what time with what configurations and to what infrastructure Observability Once the system is in production it is possible to access logs observe real time resource usage and get alerted when certain metrics veer outside of acceptable bounds Scalability The production system is able to withstand the expected incoming traffic and then some If necessary it is capable of scaling up or down based on demand and cost constraints What is a production ML system Some ML models are deployed and served by an endpoint e g REST gRPC or directly embedded inside a larger application They generate inferences on demand for each new sets of features sent their way i e real time inferencing Others are developed for the purpose of generating a set of inferences and persisting them in a database table as a one time task i e batch inferencing For example a model can predict a set of customers lifetime value write those in a table for consumption by other systems metrics dashboard downstream models production applications etc Whether built for real time or batch inferencing a production ML system refers to the end to end training and inferencing pipeline the entire chain of transformations that turn raw data sitting in a data warehouse into a trained model which is then used to generate inferences What guarantees for production ML systems We saw at the top what guarantees are expected from a traditional software system What similar guarantees should we expect from production grade ML systems SafetyIn ML safety means having a high level of certainty that inferences produced by a model fall within the bounds of expected and acceptable values and do not endanger users human or machine For example safety means that a self driving car will not drive dangerously on the road or that a facial recognition model will not show biases or that a chat bot will not generate abusive messages Safety in ML systems can be guaranteed in the following ways Unit testing Each piece of code used to generate a trained model should be unit tested Data transformation functions data sampling strategies evaluation methods etc should be confronted to both happy path inputs and a reasonable set of corner cases Model testing simulation After the model is trained and evaluated real production data should be sent to it to establish an estimate of how the model will behave once deployed This can be achieved by e g sending a small fraction of live production traffic to a candidate model and monitoring inferences or by subjecting the model to a set of must pass scenarios real or synthetic to ensure that no regressions are introduced TraceabilityIn ML beyond simply tracking what model version was deployed it is crucial to enable exhaustive so called Lineage Tracking End to end Lineage Tracking means a complete bookkeeping of ALL the assets and artifacts involved in the production of every single inference This means trackingThe raw dataset used as inputAll of the intermediate data transformation stepsConfigurations used at every step featurization training evaluation etc The actual code used at every stepWhat resources the end to end pipeline used map reduce clusters GPU types etc Inferences generated by the deploy modelas well as the lineage relationships between those Lineage Tracking enables Auditability If a deployed model leads to undesired behaviors an in depth post mortem investigation is made possible by using lineage data This is especially important for models performing safety critical tasks e g self driving cars where legal and compliance requirements demand auditability Debugging It is virtually impossible to debug a model without knowing what data configuration code and resources were used to train it Reproducibility See below ReproducibilityIf a particular inference cannot be reproduced from scratch within stochastic variations starting from raw data the corresponding model should arguably not be used in production This would be like deploying an application when you had lost the source code with no way to retrieve it Without the ability to reproduce a particular trained model there is no explainability of the model and its inferences It is impossible to debug production issues Additionally reproducibility enables rigorous experimentation The entire end to end pipeline can be re run while changing a single degree of freedom at a time e g input data selection sampling strategy hyper parameters hardware resources training code etc AutomationML models are not one and done type of projects Often times the characteristics of the training data change over time and the model needs to be retrained recurrently to pick up on new trends For example when real world conditions change e g COVID macro economic changes user trends etc models can lose predictive power if they are not retrained frequently This frequent retraining can only be achieved if an end to end pipeline exists If engineers can simply run or schedule a pipeline pointing to new data and all steps are automated data processing featurization training evaluation testing etc then refreshing a model is no harder than deploying a web app How Sematic provides production grade guaranteesSematic is an open source framework to build and execute end to end ML pipelines of arbitrary complexity Sematic helps build production grade pipelines by ensuring the guarantees listed above in the following way without requiring any additional work Safety In Sematic all pipelines steps are just Python functions Therefore they can be unit tested as part of a CI pipeline Model testing simulation is enabled by simply adding downstream steps after model training and evaluations steps Trained model can be subjected to real or simulated data to ensure the absence of regressions Traceability Sematic keeps an exhaustive lineage graph of ALL assets consumed and produced by all steps in your end to end pipelines inputs and outputs of all steps code third party dependencies hardware resources etc All these are visualizable in the Sematic UI Reproducibility By enabling complete traceability of all assets Sematic lets you re execute any past pipeline with the same or different inputs Automation Sematic enables users to build true end to end pipelines from raw data to deployed model These can then be scheduled to pick up on new data automaticallyCheck us out at sematic dev star us on Github and join us on Discord to discuss production ML 2023-01-18 23:28:31
海外TECH DEV Community How to Count Words and Characters in JavaScript https://dev.to/thedevdrawer/how-to-count-words-and-characters-in-javascript-1hb How to Count Words and Characters in JavaScriptMost if not all developers have used some sort of character counter online to validate SEO or to just see how many characters a string has You can do this on your own website or internal tooling It is simple JavaScript and can have a wide variety of uses throughout your career as a JavaScript developer In this tutorial we ll be exploring how to count words and characters in JavaScript We ll be using the String constructor and the length property to get the word and character count for a string View This On YouTube File Structureindex html sass style scss js Count js css generated by Sass style css style min css Our HTML lt DOCTYPE html gt lt html lang en gt lt head gt lt meta charset UTF gt lt meta http equiv X UA Compatible content IE edge gt lt meta name viewport content width device width initial scale gt lt title gt Character and Word Counter lt title gt lt link rel stylesheet href css style min css gt lt head gt lt body gt lt div class main gt lt h gt Count Your lt h gt lt h gt Words and Characters lt h gt lt div class card gt Words lt span class word count gt lt span gt lt div gt lt div class card gt Characters lt span class character count gt lt span gt lt div gt lt textarea class count textarea gt This is sample text that should be counted on load lt textarea gt You ve written lt span class word count gt lt span gt words and lt span class character count gt lt span gt characters lt div gt lt script src js Count js gt lt script gt lt body gt lt html gt The basic HTML is simple and has a textarea and different spans displayed as cards and inline texts to show the counts Our Count JS Classclass Count constructor this textArea document querySelector count textarea this wordCount document querySelectorAll word count this charCount document querySelectorAll character count bind this is used to make sure that the this keyword inside the updateCount method refers to the Count class window addEventListener load this updateCount bind this this textArea addEventListener input this updateCount bind this trim removes whitespace from both sides of a string if the value is empty return split splits a string into an array of substrings and returns the new array returns number the number of words in the textarea countWords const value this textArea value trim if value return return value split s length length returns the length of a string returns number the number of characters in the textarea countChars return this textArea value length update the word and character count forEach calls a function once for each element in an array in order toString converts a number to a string returns void updateCount const numWords this countWords const numChars this countChars this wordCount forEach wordCount gt wordCount textContent numWords toString this charCount forEach charCount gt charCount textContent numChars toString new Count create a new instance of the Count classThis is a really easy to use and simple class that gets the spans and textarea Once it has those it either listens on page load or when the textarea input is changed Once one of those events happens it simply counts the words and characters and then displays the count in the spans we created in the HTML Sample StylesI created a sample style in Sass You don t have to use it for your project but it basically displays the cards and makes the inline text spans bold You can copy the following to make it look just like my tutorial import url Sans amp display swap font family Open Sans sans serif font size px primary color aef body font size font size font family font family width min height vh background color primary color padding margin color fff overflow hidden main width text align center margin auto h h margin padding card background color fff padding rem border radius px width px display inline block margin rem color box shadow px px px px rgba span font size rem display block textarea display block width calc rem height px border margin rem padding rem font size font size border radius px amp focus outline none word count character count font weight bold ConclusionThere you go With a few lines of code you can create your own internal character and word counters using vanilla JS I hope this helps Let me know if you have any questions 2023-01-18 23:11:56
Apple AppleInsider - Frontpage News Five Apple TV+ shows premiering Jan. 27 get new trailers https://appleinsider.com/articles/23/01/18/three-apple-tv-shows-premiering-jan-27-get-new-trailers?utm_medium=rss Five Apple TV shows premiering Jan get new trailersApple has released new trailers for shows on Apple TV that include The Reluctant Traveler Shrinking Dear Edward and Hello Tomorrow The Reluctant Traveler The company uploaded the trailers on its YouTube channel and unveiled them at the Winter Television Critics Association press tour Read more 2023-01-18 23:57:10
海外科学 NYT > Science What Is Intuitive Eating? Meet the Duo Behind the Method https://www.nytimes.com/2023/01/18/well/intuitive-eating.html What Is Intuitive Eating Meet the Duo Behind the MethodOnce considered radical Elyse Resch and Evelyn Tribole s method of intuitive eating has become the cornerstone of the modern anti diet movement 2023-01-18 23:20:10
海外科学 NYT > Science The Father of the Abortion Pill https://www.nytimes.com/2023/01/17/health/abortion-pill-inventor.html The Father of the Abortion PillThe year old scientist who came up with an idea for an “unpregnancy pill decades ago has led an eventful life from his teenage days in the French Resistance to his friendships with famous artists 2023-01-18 23:11:58
海外科学 NYT > Science Global Push to Treat HIV Leaves Children Behind https://www.nytimes.com/2023/01/17/health/child-hiv-kenya-africa.html Global Push to Treat HIV Leaves Children BehindSub Saharan Africa has made steady progress in delivering lifesaving medication to adults but young patients are harder to reach and are dying of AIDS each year 2023-01-18 23:57:46
海外科学 NYT > Science A Fake Death in Romancelandia https://www.nytimes.com/2023/01/16/health/fake-death-romance-novelist-meachen.html addiction 2023-01-18 23:11:55
金融 金融総合:経済レポート一覧 FX Daily(1月17日)~一時128円を割り込む http://www3.keizaireport.com/report.php/RID/523573/?rss fxdaily 2023-01-19 00:00:00
金融 金融総合:経済レポート一覧 経済・物価情勢の展望(2023年1月、基本的見解) http://www3.keizaireport.com/report.php/RID/523579/?rss 日本銀行 2023-01-19 00:00:00
金融 金融総合:経済レポート一覧 当面の金融政策運営について(2023年1月18日) http://www3.keizaireport.com/report.php/RID/523580/?rss 日本銀行 2023-01-19 00:00:00
金融 金融総合:経済レポート一覧 近年の株主優待の実施動向と、廃止による株価下押し圧力の推計~公平な利益還元のため廃止する企業が多いが、廃止公表で株価は下落:資産運用・投資主体 http://www3.keizaireport.com/report.php/RID/523581/?rss 大和総研 2023-01-19 00:00:00
金融 金融総合:経済レポート一覧 三次分配と保険(中国):基礎研レポート http://www3.keizaireport.com/report.php/RID/523582/?rss 研究所 2023-01-19 00:00:00
金融 金融総合:経済レポート一覧 4月の金融政策決定会合が最大の焦点に~2会合連続での政策修正は見送り...:木内登英のGlobal Economy & Policy Insight http://www3.keizaireport.com/report.php/RID/523589/?rss lobaleconomypolicyinsight 2023-01-19 00:00:00
金融 金融総合:経済レポート一覧 金融デジタライゼーションの潮流<21> 組織のデジタルリテラシー向上 http://www3.keizaireport.com/report.php/RID/523605/?rss Detail Nothing 2023-01-19 00:00:00
金融 金融総合:経済レポート一覧 若手社会人のマネー&ライフプラン(小冊子) http://www3.keizaireport.com/report.php/RID/523612/?rss 日本fp協会 2023-01-19 00:00:00
金融 金融総合:経済レポート一覧 2023年の豪ドル相場の注目点と展望:オーストラリアレポート http://www3.keizaireport.com/report.php/RID/523628/?rss 豪ドル 2023-01-19 00:00:00
金融 金融総合:経済レポート一覧 オーストラリアREIT四半期レポート(2022年10月~2022月12月)~利上げペースの減速を背景に堅調に推移... http://www3.keizaireport.com/report.php/RID/523630/?rss 三井住友トラスト 2023-01-19 00:00:00
金融 金融総合:経済レポート一覧 日銀、金融緩和維持を決定~今後は次期総裁・副総裁人事が注目に:マーケットレポート http://www3.keizaireport.com/report.php/RID/523631/?rss 三井住友トラスト 2023-01-19 00:00:00
金融 金融総合:経済レポート一覧 KAMIYAMA Seconds!:J-REITは割安とみる http://www3.keizaireport.com/report.php/RID/523632/?rss kamiyamasecondsjreit 2023-01-19 00:00:00
金融 金融総合:経済レポート一覧 高い経済成長を背景に堅調なインドの『企業業績』 http://www3.keizaireport.com/report.php/RID/523633/?rss 三井住友 2023-01-19 00:00:00
金融 金融総合:経済レポート一覧 日経平均株価の為替感応度:市川レポート http://www3.keizaireport.com/report.php/RID/523635/?rss 三井住友 2023-01-19 00:00:00
金融 金融総合:経済レポート一覧 【石黒英之のMarket Navi】日銀の金融政策維持決定と今後の市場動向 http://www3.keizaireport.com/report.php/RID/523636/?rss marketnavi 2023-01-19 00:00:00
金融 金融総合:経済レポート一覧 米国ハイ・イールド債券マンスリー~日銀政策修正で米国ハイ・イールド債券が反落 http://www3.keizaireport.com/report.php/RID/523637/?rss 野村アセットマネジメント 2023-01-19 00:00:00
金融 金融総合:経済レポート一覧 【第89回】「直接金融」・「間接金融」って何? http://www3.keizaireport.com/report.php/RID/523660/?rss 三井住友トラスト 2023-01-19 00:00:00
金融 金融総合:経済レポート一覧 2022年IMF・世界銀行グループ年次総会およびG20財務大臣・中央銀行総裁会議等の概要 http://www3.keizaireport.com/report.php/RID/523665/?rss 世界銀行 2023-01-19 00:00:00
金融 金融総合:経済レポート一覧 第151次製造貨幣大試験について http://www3.keizaireport.com/report.php/RID/523666/?rss 貨幣大試験 2023-01-19 00:00:00
金融 金融総合:経済レポート一覧 資本保全バッファー(CCB)およびカウンターシクリカル・バッファー(CCyB)入門~バーゼル規制における資本バッファーを通じた「プロシカリティ」の緩和について http://www3.keizaireport.com/report.php/RID/523668/?rss 資本 2023-01-19 00:00:00
金融 金融総合:経済レポート一覧 【注目検索キーワード】デジタル技術活用 http://search.keizaireport.com/search.php/-/keyword=デジタル技術活用/?rss 検索キーワード 2023-01-19 00:00:00
金融 金融総合:経済レポート一覧 【お薦め書籍】1300万件のクチコミでわかった超優良企業 https://www.amazon.co.jp/exec/obidos/ASIN/4492534628/keizaireport-22/ 転職 2023-01-19 00:00:00
ニュース BBC News - Home Levelling up: New Eden Project among UK schemes to share £2bn https://www.bbc.co.uk/news/uk-politics-64321755?at_medium=RSS&at_campaign=KARANGA government 2023-01-18 23:45:47

コメント

このブログの人気の投稿

投稿時間:2021-06-17 22:08:45 RSSフィード2021-06-17 22:00 分まとめ(2089件)

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

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