投稿時間:2022-07-05 01:33:29 RSSフィード2022-07-05 01:00 分まとめ(33件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT 気になる、記になる… 「Apple Watch Series 8」では5%ほど大型化されたディスプレイを採用か https://taisy0.com/2022/07/05/158763.html apple 2022-07-04 15:05:55
python Pythonタグが付けられた新着投稿 - Qiita SQLAlchemy クエリの実行タイミングと中身① https://qiita.com/GuriTech/items/9277ddec2f17b7ac2be1 insertautoflush 2022-07-05 00:17:48
Ruby Rubyタグが付けられた新着投稿 - Qiita railsでsorceryをbundleしたらoauth2をアップデートしてくださいと言われた https://qiita.com/kazuki1025okumura/items/6bf6dfd66ebbe14cf2bf bundle 2022-07-05 00:55:29
Git Gitタグが付けられた新着投稿 - Qiita GithubにSSH接続できるのに、Git操作時にエラーが出る場合の確認ポイント https://qiita.com/tar_xzvf/items/1ce3dc4da01421765619 github 2022-07-05 00:04:25
Ruby Railsタグが付けられた新着投稿 - Qiita railsでsorceryをbundleしたらoauth2をアップデートしてくださいと言われた https://qiita.com/kazuki1025okumura/items/6bf6dfd66ebbe14cf2bf bundle 2022-07-05 00:55:29
海外TECH MakeUseOf How to Buy and Download Windows 11 at the Best Price https://www.makeuseof.com/windows-11-download-discounted-price/ windows 2022-07-04 15:30:14
海外TECH MakeUseOf Artgrid vs. Storyblocks: Which Stock Footage Platform Is Better? https://www.makeuseof.com/artgrid-vs-storyblocks-stock-footage-platform/ storyblocks 2022-07-04 15:30:13
海外TECH MakeUseOf What Is DisplayPort UHBR? How Will It Simplify the DP Standard? https://www.makeuseof.com/what-is-displayport-uhbr/ standards 2022-07-04 15:15:13
海外TECH MakeUseOf Celebrate the 4th of July with Special-Priced Drones https://www.makeuseof.com/holy-stone-drones-amazon-deal/ amazon 2022-07-04 15:10:14
海外TECH DEV Community What are cyber-physical systems? https://dev.to/luos/what-are-cyber-physical-systems-4bkd What are cyber physical systems A few days ago we talked about a specific term Cyber physical systems CPS ️ With this blog post let s take a look at what CPS is some examples how it differs from IoT and the impacts benefits of these systems in your daily life 2022-07-04 15:52:25
海外TECH DEV Community AWS Step Functions In-Depth | Serverless https://dev.to/aws-builders/aws-step-functions-in-depth-serverless-5e4i AWS Step Functions In Depth ServerlessIn this article we are going to learn about Step Functions its main components and will build some examples using serverless frameworkThe main parts of this article About Finite State MachineStep Functions Main components Examples What is Finite State MachineThe two keywords that you need to remember are States and Transitions The FSM can change from one state to another in response to some inputs the change from one state to another is called a transition Step FunctionsStep Function is AWS managed service that uses Finite State Machine FSM modelStep Functions is an orchestrator that helps you to design and implement complex workflows When we need to build a workflow or have multiple tasks that need to be orchestrated Step Functions coordinates between those tasks It simplifies overall architecture and provides us with much better control over each step of the workflowStep Functions is built on two main concepts Tasks and State MachineAll work in the state machine is done by tasks A task performs work by using an activity or an AWS Lambda function or passing parameters to the API actions of other servicesState TypesIt s essential to remember that States aren t the same thing as Tasks since Tasks are one of the State types There are numerous State types and all of them have a role to play in the overall workflow State Type should be one of these values Task Represents a single unit of work performed by a state machineWait Delays the state machine from continuing for a specified timePass Passes its input to its output without performing work Pass states are useful when constructing and debugging state machinesSucceed Stops an execution successfullyFail Stops the execution of the state machine and marks it as a failureChoice Adds branching logic to a state machineParallel Can be used to create parallel branches of execution in your state machineMap Can be used to run a set of steps for each element of an input array While the Parallel state executes multiple branches of steps using the same input a Map state will execute the same steps for multiple entries of an array in the state input ExamplesIn this part we are going to build step functionsNote Step Functions definition can be written in JSON or YAMLThese are the examples I ExampleThe first example is a simple one we have Lambda functions orchestrated the first one is adding our input by then passing it to the second Lambda which is later adding by and our final result will be Flow Diagram Step Functions Definition firstLambdaARN amp FIRST ARN arn aws lambda env region env accountId function self service env stage firstStatesecondLambdaARN amp SECOND ARN arn aws lambda env region env accountId function self service env stage secondStatestates ExampleOneSF name ExampleOneSF definition Comment Example One StartAt firstState States firstState Type Task Resource FIRST ARN Next secondState secondState Type Task Resource SECOND ARN Next success success Type SucceedNote here I m using Alias inside the YAML fileThe Two Lambda Functions firstState amp secondState module exports firstState async event gt console log event const value event const result value return value result module exports secondState async event gt console log event const value event const result value return value result status SUCCESS Inside routes firstState handler src modules StepFunction controller exampleOne firstState timeout secondState handler src modules StepFunction controller exampleOne secondState timeout The input value Workflow inside the console The final result is since my input was the first state added it and the second one As we can see it s very easy to pass data between states this makes step functions very useful service to build decoupled architecture II ExampleIn example we are going to imitate how to create a form upload adding Choice Type First we have a validateForm that will check for validation either it fails or continues and passes the data to the other Lambda processForm will do some process then we have uploadForm which may finally write our data to database for exampleFlow Diagram Step Functions Definition ExampleTwoSF name ExampleTwoSF definition Comment Example Two StartAt validateForm States validateForm Type Task Resource arn aws lambda env region env accountId function self service env stage validateForm Next isFormValidated isFormValidated Type Choice Choices Variable status StringEquals SUCCESS Next processForm Variable status StringEquals ERROR Next fail processForm Type Task Resource arn aws lambda env region env accountId function self service env stage processForm Next uploadForm uploadForm Type Task Resource arn aws lambda env region env accountId function self service env stage uploadForm Next isFormUploaded isFormUploaded Type Choice Choices Variable status StringEquals SUCCESS Next success Variable status StringEquals ERROR Next fail success Type Succeed fail Type FailLambda Functions module exports validateForm async event gt console log event validate form if not valid return status ERROR return status SUCCESS module exports processForm async event gt console log event add simple process return processData module exports uploadForm async event gt console log event upload data for example to DynamoDB return status SUCCESS Workflow inside the console III ExampleIn this example we are going to use the wait pass and parallel Types After the user uploads his her profile we wait seconds if all is good it notifies the user by running two Lambda functions in parallel one to send an Email and one for SMS in addition we can see there is a Pass type state that just adds some data that I defined admin details and passes to the Parallel StateNote I tried to build some simple examples relating to real world features this may vary based on your needsFlow Diagram Step Functions Definition ExampleThreeSF name ExampleThreeSF definition Comment Example Three StartAt uploadProfile States uploadProfile Type Task Resource arn aws lambda env region env accountId function self service env stage uploadProfile Next waitFiveSeconds waitFiveSeconds Type Wait Seconds Next addAdminPayload addAdminPayload Type Pass Result admin name Admin Name admin phone Admin Number admin email Admin Email ResultPath adminDetails Next notifyCustomer notifyCustomer Type Parallel End true Branches StartAt sendEmail States sendEmail Type Task Resource arn aws lambda env region env accountId function self service env stage sendEmail End true StartAt sendSMS States sendSMS Type Task Resource arn aws lambda env region env accountId function self service env stage sendSMS End trueNote Parallel states are used when different types of tasks workflows need to be performed concurrentlyLambda Functions module exports uploadProfile async event gt console log event const data event return status Profile uploaded data module exports sendEmail async event gt console log event Send Email return status Email sent to event data email module exports sendSMS async event gt console log event Send SMS return status SMS Sent to event data phone As we can see the two Lambda tasks are taking same input however each one of them is working based on a specific attributes from that data for example my sendEmail needs the email value whereas the sendSMS needs the phone detailsInput data name Test User email test test com phone Workflow inside the console If any branch fails the entire Parallel state is considered to have failed If error is not handled by the Parallel state itself Step Functions stops the execution with an error IV ExampleIn this example we are going to use Map type which can be used to run a set of steps for each element of an input array Map state provides us the capability of running multiple sequential workflows in parallelI m going to run concurrent workflows all of them are going to do same business logic my first state concatenates the orderID with ID ID orderID and my second state returns a message this is order number orderID which has quantity ordersFlow Diagram Step Functions Definition ExampleFourSF name ExampleFourSF definition Comment Example Four StartAt uploadData States uploadData Type Map InputPath detail ItemsPath data MaxConcurrency Iterator StartAt manipulateObject States manipulateObject Type Task Resource arn aws lambda env region env accountId function self service env stage manipulateObject Next createFinalObject createFinalObject Type Task Resource arn aws lambda env region env accountId function self service env stage createFinalObject End true ResultPath detail data End trueNote InputPath to select a subset of the inputItemsPath to specify a location in the input to find the JSON array to use for iterationsMaxConcurrency how many invocations of the Iterator may run in parallelLambda Functions module exports manipulateObject async event gt console log event const orderID quantity event return orderID manipulated ID orderID quantity module exports createFinalObject async event gt console log event const orderID manipulated quantity event const status this is order number orderID manipulated which has quantity orders return status The input detail title My fourth example data orderID quantity orderID quantity orderID quantity orderID quantity Workflow inside the console The code that I am triggering my Step Functions const StepFunctions require aws sdk const stepFunctions new StepFunctions module exports get async event gt try const stepFunctionResult stepFunctions startExecution stateMachineArn process env EXAMPLE FOUR STEP FUNCTION ARN input JSON stringify detail title My fourth example data orderID quantity orderID quantity orderID quantity orderID quantity promise console log stepFunctionResult gt stepFunctionResult return statusCode body JSON stringify message This is test API null catch error console log error And finally you need to always make sure your step functions are handling the errors Any state can encounter runtime errors Errors can happen for various reasons By default when a state reports an error AWS Step Functions causes the execution to fail entirely For more about error handling you can visit this link ConclusionStep Functions are very useful service it helps you to build a complex features decouple your code and create orchestrated servicesThrough the examples above I tried to showcase some real world features how can be made you can end up making thousand of different workflows based on your requirementsFor more articles like this and in order to keep on track with me you can always follow me on LinkedIn 2022-07-04 15:29:31
海外TECH DEV Community 10 Tips To Get More Readers on DEV https://dev.to/perssondennis/10-tips-to-get-more-readers-on-dev-4p7h Tips To Get More Readers on DEVWriting a good blog article is only half part of blogging you also have to present it professionally and make people aware of it I will here present tips you can follow to let people find your blog posts and improve the quality of them In This ArticlePin Post to Your DEV ProfileTarget Beginners or Expert ReadersSyntax Highlighting for Code BlocksAdd a Table of Content and Link to HeadingsHow To Choose Markdown Editor on dev toAdd a Canonical Link to Your Article on dev toReport Articles if Someone Steals ThemHow To Make Series on dev toHow To Embed Videos and Instagram Posts on dev toRemind the Reader To Subscribe Pin Post to Your DEV ProfileYou can pin articles to your profile page it will pin above your other articles To do so go to your dashboard and click the Manage button beside the article you want to pin You will find a Pin to profile button there Pin to profile is available under dashboard gt manageFrom now on you can pin your most popular posts to attract clicks from curious profile page visitors Target Beginners or Expert ReadersWhile you re at the Manage page mentioned above there are another valuable feature you can use It allows you to target users with a certain experience level so your articles can be shown to the people who are most likely to appreciate it Note that they also have some useful tips on that page to help you reach out to more readers such as sharing your articles to Reddit There s always a target audience for your articles make sure to specify it Syntax Highlighting for Code BlocksObviously it s not unusual to post code on DEV and DEV certainly supports syntax highlighting for different languages Still I once in a while see people posting code without syntax highlighting or posting images of code instead of using code blocks Neglecting syntax highlighting or using images for showing code is bad practice This is because it s harder to read difficult to copy paste and the browser can t scale the font size Using an image also degrades performance and the code within the picture will not be searchable with ctrl f or on Google text search With and without React syntax highlighting on DEVTo activate syntax highlighting just specify which language the code consists of at the first line of the markdown code block Available options include react javascript markdown etc You can tell markdown to highlight the code block according to React syntax Add a Table of Content and Link to HeadingsLike many other sites DEV supports anchored links also known as hashtag links which links to specific headings in your article or even another article Unfortunately they don t seem to have a UI that allows us to copy the anchor link To get the anchor link you have to inspect the heading element in the web inspector to find it right click on the heading and choose Inspect You will find a zero width link with the hashtag suffix you append to your article s URL It s basically a kebab cased version of the heading preceded with a hashtag so you don t really have to copy it from the inspector every time You can find the anchor link in the chrome s elements inspectorYou can utilize these anchor links in your DEV post to create a table of content like the one I have added at the top of this article To do that just add a regular link that refers to the anchor link for the heading you want to link to Anchor link to Add a Table of Content and Link to Headings add a table of content and link to headings Anchor link above will output this link Add a Table of Content and Link to Headings How To Choose Markdown Editor on dev toDEV has two different markdown editors If you want to get rich on blogging you need to choose the Rich markdown editor Just kidding it doesn t ducking matter what you choose But it can be good to know that they both exist otherwise you may be confused when you google for something and the DEV UI doesn t look like in the guide you are looking at The two editors DEV offers are Rich markdownBasic markdownIf you don t know which to choose just go for the rich one The rich one contains some extra UI elements to choose tags and previewing your articles etc With the basic markdown you have to specify title and tags etc via Front Matter You can find DEVs documentation for it here To switch editor go to your account settings choose Customization and scroll down to the title Writing I said I was kidding the rich one won t make you rich Add a Canonical Link to Your Article on dev toI m sure a lot of you already know this but I still mention it because it s quite hidden and definitely the single most important feature if you additionally publish your blog posts to your own blog or other blog portals Read about why it s so important for SEO Search Engine Optimization on ahrefs site here I won t go into details but what it does is to avoid Google punishing you for posting the same content at different places How to add canonical links differs dependent on which markdown editor you are using If you are using the basic markdown editor you can do as it says in the Front Matter guide This is how you can specify a canonical link for a blog postThat also works for the rich markdown editor but the rich markdown editor also allows you to specify a canonical link via UI There s a discrete options button at the bottom of the create post page beside the Save draft button see the hexagon button in the image below This is how you can specify a canonical link for a blog post with the rich markdown editor Report Articles if Someone Steals ThemAnother quick tip related to the canonical link is to be quick to publish your articles on all sites at once if you publish it on multiple sites If you wait too long with publishing your article someone may steal it and you can in worst case be banned from some blog portal for publishing articles that are available on other sites already Articles do get stolen a lot by automated sites If you detect that someone has stolen your blog article you can read about what to do in my guide here How To Make Series on dev toYou may have seen that some people create series at dev to You do that in the same way as you add a canonical link If it is your first time adding a series nothing will happen when you create your article since there s only one article in the series Next time you create a new blog article you will see your previously series listed When you choose an existing series a series component will be added to all blog articles in that series It will look as in the image below This is how a series are presented at DEV How To Embed Videos and Instagram Posts on dev toNot very many people embed videos in their DEV posts but it is doable by using liquid tags You have DEVs docs for it here A YouTube video can be embedded either with the embed keyword or youtube keyword youtube XdxqFCw embed Why you should add a video Well if you have some video that would need some attention it can be a good idea to include it in your DEV article I m sure you also can find good educational or funny movies to add to you blog post as well Or why not embed on of your Instagram posts The id to use in the embedded Instagram liquid tag is the last part of the URL to the post Embed Instagram blog post by adding the post s id E g below will embed this post instagram CfigEGsLMy Remind the Reader To SubscribeLast but not least Ensure that people know that your article is available on your blog and remind them to hit the like button and make a comment This can be of course be interpreted as advertising but in my opinion it s a fair thing to do If you article is inspiring the reader may get a lot of ideas and eagerly start processing thoughts and making plans How cheerful the reader ever will be he or she is not in an optimal condition for remembering to click with his finger on a heart or unicorn icon on a screen And let s be honest who will know you have your own website and try to find it if you don t link to it Most sane people don t play hide and seek with strangers over the internet Bonus Add a SummaryPeople have their own life to life as stressful just as yours may be Give them a chance to read through your article hastily Here s my summary A simple list of the tips even if people will miss all details about how to do these things if they don t read the whole article Pin posts to your profile to promote your most popular articles DEV to supports targeting beginner or expert readers when managing an article Use syntax highlight for code blocks never use an image to show code A table of content with anchor links to headings give a good overview You can choose either markdown editor just be aware that dev to has two of them Always add a canonical tag if you post your article to multiple websites Don t wait to post articles on multiple websites they may be stolen DEV supports adding series a good way to get people to read your old articles You can embed YouTube videos and other media in your article Remind people to subscribe and hit the like button Dennis PerssonFollow I m a former teacher writing articles about software development and everything around it My ambition is to provide people all around the world with free education and humorous reading 2022-07-04 15:27:35
Apple AppleInsider - Frontpage News Apple Watch Series 8 may feature 1.99 inch display https://appleinsider.com/articles/22/07/04/apple-watch-series-8-may-feature-505mm-display?utm_medium=rss Apple Watch Series may feature inch displayRumors have stated the Apple Watch Series could come in three size classes with the largest being a inch display up from inches in the current largest model Apple Watch Series may have a inch display optionApple has sold the Apple Watch in two sizes since it was released in with only slight size bumps thanks to shrinking bezels This may change thanks to a new larger model that could be as large as mm Read more 2022-07-04 15:59:27
金融 ◇◇ 保険デイリーニュース ◇◇(損保担当者必携!) 保険デイリーニュース(07/05) http://www.yanaharu.com/ins/?p=4959 三井住友海上 2022-07-04 15:44:29
金融 RSS FILE - 日本証券業協会 PSJ予測統計値 https://www.jsda.or.jp/shiryoshitsu/toukei/psj/psj_toukei.html 統計 2022-07-04 16:00:00
金融 RSS FILE - 日本証券業協会 J-IRISS https://www.jsda.or.jp/anshin/j-iriss/index.html iriss 2022-07-04 15:21:00
金融 金融庁ホームページ 「保険業法施行規則の一部を改正する内閣府令(案)」等に関するパブリックコメントの結果等について公表しました。 https://www.fsa.go.jp/news/r4/hoken/20220704/20220704.html 保険業法 2022-07-04 17:00:00
金融 金融庁ホームページ 金融安定理事会による本会合議事要旨について掲載しました。 https://www.fsa.go.jp/inter/fsf/20220704/20220704.html 金融安定理事会 2022-07-04 17:00:00
金融 金融庁ホームページ 金融庁の業務委託先の従業員の新型コロナウイルス感染について公表しました。 https://www.fsa.go.jp/news/r4/sonota/20220704.html 新型コロナウイルス 2022-07-04 17:00:00
金融 金融庁ホームページ アクセスFSA第227号について公表しました。 https://www.fsa.go.jp/access/index.html アクセス 2022-07-04 16:00:00
ニュース BBC News - Home Copenhagen shooting: Shopping mall gunman charged with murder https://www.bbc.co.uk/news/world-europe-62034089?at_medium=RSS&at_campaign=KARANGA motive 2022-07-04 15:04:22
ニュース BBC News - Home Fuel protests: Arrests for slow driving as convoys cause motorway delays https://www.bbc.co.uk/news/uk-62034278?at_medium=RSS&at_campaign=KARANGA arrests 2022-07-04 15:21:28
ニュース BBC News - Home Bedford: Buildings evacuated as gas explosion wrecks flats https://www.bbc.co.uk/news/uk-england-beds-bucks-herts-62037078?at_medium=RSS&at_campaign=KARANGA window 2022-07-04 15:04:02
ニュース BBC News - Home F1 British Grand Prix: What is halo and how does it save lives? https://www.bbc.co.uk/news/newsbeat-62037334?at_medium=RSS&at_campaign=KARANGA silverstone 2022-07-04 15:15:14
ニュース BBC News - Home Christian Eriksen: Denmark midfielder agrees in principle to join Manchester United https://www.bbc.co.uk/sport/football/62037422?at_medium=RSS&at_campaign=KARANGA manchester 2022-07-04 15:17:27
北海道 北海道新聞 眼鏡フレームにアイヌ文様4種 ムラタ https://www.hokkaido-np.co.jp/article/701781/ 道内 2022-07-05 00:46:00
北海道 北海道新聞 「野党の話聞かない」「政治無関心は良い」 閣僚ら、やまぬ問題発言 与党緩み警戒/野党は反発 https://www.hokkaido-np.co.jp/article/701770/ 問題発言 2022-07-05 00:39:32
北海道 北海道新聞 2議席獲得へ 与野党支援団体「板挟み」 業界団体、票割り苦慮 労組、票分散懸念 https://www.hokkaido-np.co.jp/article/701768/ 支援団体 2022-07-05 00:37:53
北海道 北海道新聞 柳月が菓子ギフト「夏結び」限定で販売 https://www.hokkaido-np.co.jp/article/701776/ 十勝管内 2022-07-05 00:15:51
北海道 北海道新聞 自民、重点区は10程度 首相ら協議、幹部投入へ https://www.hokkaido-np.co.jp/article/701777/ 岸田文雄 2022-07-05 00:04:00
仮想通貨 BITPRESS(ビットプレス) 金融庁、バーゼル銀行監督委員会による第二次市中協議文書 「暗号資産エクスポージャーに係るプルデンシャルな取扱い」の公表 https://bitpress.jp/count2/3_17_13288 金融庁 2022-07-05 00:30:49
仮想通貨 BITPRESS(ビットプレス) 金融庁、金融活動作業部会(FATF)による 「暗号資産及び暗号資産交換業者に関するFATF基準の実施状況についての報告書」の公表 https://bitpress.jp/count2/3_17_13287 金融活動作業部会 2022-07-05 00:28:05
仮想通貨 BITPRESS(ビットプレス) [日経] ビットコイン、膨らむ「戻りのマグマ」  「仮想通貨の冬」は本当か https://bitpress.jp/count2/3_9_13286 日経 2022-07-05 00:23:32

コメント

このブログの人気の投稿

投稿時間: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件)