IT |
気になる、記になる… |
PFU、「ScanSnap」向けの新しいモバイルアプリ「ScanSnap Home」をリリース |
https://taisy0.com/2023/08/07/175015.html
|
connect |
2023-08-07 08:32:20 |
IT |
気になる、記になる… |
Appleの整備済み商品情報 2023/8/7 |
https://taisy0.com/2023/08/07/175013.html
|
apple |
2023-08-07 08:12:16 |
IT |
InfoQ |
Unity Extension for Visual Studio Code: Preview Release |
https://www.infoq.com/news/2023/08/unity-vscode-preview/?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global
|
Unity Extension for Visual Studio Code Preview ReleaseMicrosoft released the initial preview of its Unity extension for Visual Studio Code Extension builds upon the existing C Dev Kit and C extensions providing developers with a toolkit for Unity development across Windows macOS and Linux The integration aims to simplify the coding and debugging experience for Unity developers regardless of the platform while using Visual Studio Code By Almir Vuk |
2023-08-07 08:30:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia Mobile] CASEPLAYが「仮面ライダーリバイス」のベルトをデザインしたスマホケースを発売 4種類で96機種に対応 |
https://www.itmedia.co.jp/mobile/articles/2308/07/news128.html
|
ITmediaMobileCASEPLAYが「仮面ライダーリバイス」のベルトをデザインしたスマホケースを発売種類で機種に対応FOXのテックアクセサリー販売サービス「CASEPLAY」において、「仮面ライダーリバイス」とコラボレーションしたスマートフォンのスリムプロテクションケースを発売した。 |
2023-08-07 17:45:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] TDKカセットテープの全て、本になる 7日発売 |
https://www.itmedia.co.jp/news/articles/2308/07/news155.html
|
itmedianewstdk |
2023-08-07 17:33:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] 国立科学博物館のクラファン、1日足らずで目標の1億円突破 応援コメントも5000超 |
https://www.itmedia.co.jp/news/articles/2308/07/news153.html
|
itmedia |
2023-08-07 17:22:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] 東京メトロで「クレカのタッチ乗車」、24年度中に実証実験 QRコードで乗車も |
https://www.itmedia.co.jp/news/articles/2308/07/news151.html
|
itmedia |
2023-08-07 17:10:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] 新五百円硬貨への対応遅れる飲料自販機 どうなる来年7月発行開始の新紙幣 |
https://www.itmedia.co.jp/business/articles/2308/07/news149.html
|
五百円硬貨 |
2023-08-07 17:10:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia PC USER] エプソンダイレクト、12世代Coreプロセッサを備えた光学ドライブ搭載のスタンダード15.6型ノートPC |
https://www.itmedia.co.jp/pcuser/articles/2308/07/news133.html
|
endeavornle |
2023-08-07 17:01:00 |
AWS |
AWS Japan Blog |
ローカル NVMe ベースの SSD ストレージを備えた AWS Graviton3 プロセッサを搭載した新しい Amazon EC2 インスタンス (c7Gd、M7gd、R7Gd) |
https://aws.amazon.com/jp/blogs/news/new-amazon-ec2-instances-c7gd-m7gd-and-r7gd-powered-by-aws-graviton3-processor-with-local-nvme-based-ssd-storage/
|
amazon |
2023-08-07 08:41:43 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
メディアクエリを使ってJavaScriptの処理を分岐させる |
https://qiita.com/kiri_waga1215/items/1e400197d0402ad8ec6b
|
owmatchmediamaxwidthpx |
2023-08-07 17:57:44 |
技術ブログ |
Developers.IO |
Zendeskの管理センターは何ができる?簡単にまとめてみた ~ワークスペース編~ |
https://dev.classmethod.jp/articles/subaru-zendesk35/
|
zendesk |
2023-08-07 08:50:27 |
技術ブログ |
Developers.IO |
AWS Backupを使ってEC2のバックアップの設定を行い、ついでに復元までやってみた |
https://dev.classmethod.jp/articles/aws-backup-for-ec2/
|
awsbackup |
2023-08-07 08:27:01 |
技術ブログ |
Developers.IO |
【8/23(水)リモート】フリーランストーク#2 -フリーランスとしてのキャリアを成功させるアイデア&ヒント- を開催します |
https://dev.classmethod.jp/news/freelance-talk-2/
|
開催 |
2023-08-07 08:26:47 |
技術ブログ |
Developers.IO |
Amazon EventBridgeからEC2インスタンスを起動•停止•再起動する比較的簡単な方法5選 |
https://dev.classmethod.jp/articles/five-ways-start-stop-reboot-ec2-from-eventbridge/
|
amazoneventbridge |
2023-08-07 08:13:14 |
海外TECH |
DEV Community |
Regular Expressions |
https://dev.to/lizmat/regular-expressions-52e1
|
Regular ExpressionsRegular expressions have been completely re imagined from the original Perl regular expressions Even to the point that it was decided they were no longer regular in Raku Hence the use of the word regex The noticeable differences between Perl and Raku become bigger when the regex becomes more complicated Operator ChangesIn Perl the true on match and true if no match operators Perlsay matched if foo o matchedsay “did not match if foo x did not matchhave been replaced by and in Raku Rakusay matched if foo o matchedsay did not match if foo x did not matchNote that the is a generic Raku feature that you can use to negate the result of an infix operator even custom defined infix operators Raku also has some methods that may be better readable if you re just interested in whether there is an occurrence containsstarts withends withsubstr eqSome example usage Rakusay contains o if foo contains o has o say has letters if foo contains w has letterssay starts with f if foo starts with f starts with f say ends with o if foo ends with o ends with o say from nd char if foo substr eq oo from nd charThe same operator changes apply for substitution Code in Perl that would look like Perlmy string foo string s o x say string fxolooks like this in Raku just the operator is different Rakumy string “foo string s o x say string fxoNewer versions of Perl also allow the r modifier to just return the substitution rather than attempt to modify the source string Perlsay foo s o x r fxoRaku does not have that modifier But it does have other syntax for achieving the same result using the subst method Rakusay foo subst o “x fxoNote that the subst method does not actually require a regular expression but can be used with bare strings only also Rakusay foo subst “o “x fxoWhich is actually quite a bit more performant as well Whitespace is not significantIn Perl s regular expressions whitespace is significant Perlsay matched if foo o no outputOne can add the x modifier to make whitespace not significant in Perl Perlsay matched if foo o x matchedOne could consider the x modifier to be always specified in Raku Rakusay matched if foo o matchedIf you do want to match a string with possible whitespace you must quote it in Raku Rakusay “matched if f o o o matchedNote that in this case the whitespace outside of the quoted string is ignored again Positional CapturesPositional captures in Perl start at number Perlsay if foo fIn Raku they start at like any other array index Rakusay if foo 「f」This is because is short hand for in which is the latest Match object the result of the smartmatch with Named CapturesPerl has support for named captures since version Raku has this from the start In Perl this is achieved with the lt name gt regex syntax and obtaining the matched string is by accessing the hash Perl The colour is blue is lt colour gt w say Found colour colour Found colour blue In Raku the syntax is a little different lt name gt regex and obtaining the matched string uses the same syntax for indicating the name lt name gt Raku The colour is blue is lt colour gt w say Found colour lt colour gt Found colour blue Character ClassesSpecification of character classes in Raku is slightly different from Perl and a little more flexible Basically the square brackets have been repurposed as non capturing grouping syntax as that in most cases will be used more often than character classes Also indicating ranges of characters uses the standard Range syntax in Raku Some examples in Perl Perl foo aeiuo match a char of a e i o u bar aeiou match a char that is NOT a e i o u baz a z match a char between a and z inclusive AMS upper match a char that is uppercase CMI aeiou upper combined character classesThe equivalents in Raku Raku foo lt aeiuo gt match a char of a e i o u bar lt aeiou gt match a char that is NOT a e i o u baz lt a z gt match a char between a and z inclusive AMS lt Upper gt match a char that is uppercase CMI lt aeiou upper gt combined character classesAnd because whitespace is not significant inside of the lt gt either in Raku you can write them in a much more readable way Raku foo lt a e i u o gt bar lt a e i o u gt baz lt a z gt AMS lt upper gt CMI lt a e i o u upper gt Note that in Raku you could consider specifying a character class as a grouping of characters so using inside of the lt gt should make sense mnemonically Under the hoodUnder the hood the regex engines of Perl and Raku couldn t be more different In Perl the regex engine is basically a state machine with extensions that allow for code execution In Raku the regex engine is just executable code So when you run a regex in Raku it s really just Raku code that is being executed under the hood Not a state machine that is written in another language A named Regex in Raku is really just a piece of executable code much like a method And a Grammar could be considered a special type of class with regexes as methods This has implications for composability A whole book could probably be written about regexes and grammars of the Raku Programming Language And Moritz Lenz actually did this in Parsing with Regexes and Grammars A Recursive Descent into Parsing Well recommended SummaryThis covers the most obvious user visible changes between regexes in Perl and Raku There s definitely a lot more to be said about the differences but it feels the difference in approach to regexes is so large that doing further comparisons would not be treating either version well If you re interested in pursuing Raku regexes further then these tutorials are recommended reading Regexes best practices and gotchasGrammar tutorial |
2023-08-07 08:55:09 |
海外TECH |
DEV Community |
How we improved our Serverless API 300x |
https://dev.to/epilot/how-we-improved-our-serverless-api-300x-3o27
|
How we improved our Serverless API xThis is a story about how we made a microservice response ️⃣️⃣️⃣times faster Yes you read that right ️⃣️⃣️⃣times faster We dropped the response time from an average of s to ms Let me use the same scale to NOT fool your eye ms to ms Now wait a minute you might say I m impressed you guys dropped loading times by X times but what the heck did you do to end up with such an awful response time Broken promises or unrealistic expectation We have been heavily using AWS DynamoDB for epilot platform mainly because of reasons It is Serverless gt we believe in doing as little operations work as possible when it is not the caseIt is easy to start with when building apps with AWS Serverless technologies Of course we now know DynamoDB ain t that simple as it has been promised to us It might be attractive due to the flexibility amp easy start reasons but designing your Microservices with DynamoDB as a storage solution ain t for the faint hearted Especially if you re coming from an SQL heavy background where you can flexibly query pretty much anything SELECT FROM TABLE WHERE lt insert clause here gt With DynamoDB you have to design your Partition Key Sort Key Global amp Local Secondary Indexes in such a way that all of your search patterns are handled optimally Knowing all the search patterns in advance might sound trivial at a first glance find all books for an authorfind all books published in a time rangefind books by keywords but in a dynamic environment such as a startup where things can pivot from one week to another ️ it can be quite a challenging endeavour to say the least But now back to the performance story important things happened which lead to such a degradation in the response times of the API Designing the table without knowing the search patterns in advance Increasing each record data by a x fold Designing the table without knowing the search patterns in advance Back in the day like the old chaps like to say when we started building microservices developers were aware of a good chunk of the search patterns we would have to support Since epilot is a multi tenant platform with clear separation of data between tenants we decided to adopt DynamoDB as a storage solution with the tenant id as the PartitionKey and the resource id as SortKey Having this quite simplistic setup in place we were confident we could easily query resources find a resource by id query resources where PK tenantId amp SK resourceIdfind multiple resources at once batchGet resources PK tenantId amp SK resourceIdquery resources for a tenant query resources where PK tenantId AND flexible attributes filtering This filter proved to bite our asses in the end Why Well first of all all those flexible attributes filtering are resolved by DynamoDB after the initial query by PK tenantId is resolved with a MB limit That means DynamoDB will first match table items by PartitionKey up to MB limit and only then apply the filter expression to further filter out returned data Alex Debrie big fan of the guy btw you should check him out has a good article explaining more in depth this exact pitfall To quote the guy Filter Expressions won t save your bad DynamoDB table design Oh boy he is right ️But this didn t prove to be lethal ️ until it was combined with reason number Increasing each record data by a x foldOur resources called workflows were storing data about each specific started workflow eg name started time context data status assigned users etc but also references for some data called tasks which was persisted amp indexed by ElasticSearch for more flexible searching workflow name Wallbox started at T Z completed at T Z status IN PROGRESS assignees contexts id id name id id name tasks id id id id id id While storing those tasks in ElasticSearch helped us support a quite flexible tasks overview dashboard in our platform the business later decided to drop support for this feature amp replace with a better dashboard Since ElasticSearch was no longer needed we decided to migrate the complete data about tasks to DynamoDB to avoid having data split in storage solutions workflow name Wallbox started at T Z completed at T Z status IN PROGRESS assignees contexts id id name id id name tasks id id name Buy started at T Z completed at T Z assignees dueDate T Z status COMPLETED id id name Validate started at T Z assignees dueDate T Z status IN PROGRESS id id name Ship started at T Z assignees dueDate T Z status TO DO Migrating all tasks data from ElasticSearch combined with the filter expression ticking bomb has led to times dropping significantly from s to an average of s SolutionA quick investigation and the problem was spotted query workflows where PK tenantId AND contains contexts contextId dbClient query FilterExpression contains contexts context ExpressionAttributeValues context id id promise With the problem sitting there right in our face it was time to implement a solution But this time a solution that would not turn against us in the future better table design amp good search patterns support In our case that translated into storing even more data in the table While this may sound counter intuitive it does help DynamoDB resolve queries much more performant While in the original design only table record was persisted for single workflowPKSKAttributestenantIdWF wfname status assignees taskstenantIdWF wfname status assignees tasksadding extra records for every context of the workflow PKSKAttributestenantIdWF wfname status assignees taskstenantIdCTX ctxwftenantIdCTX ctxwftenantIdCTX ctxwftenantIdWF wfname status assignees taskstenantIdCTX ctxwftenantIdCTX ctxwfhelped resolve the find workflows by context query a no of X faster ️ Find workflow ids by contextdbClient query KeyConditionExpression PK tenantId AND begins with SK ctx ExpressionAttributeValues tenantId tenantId ctx CTX id promise This would return the list of workflow ids by a specific context id const ids PK tenantId SK wfId PK tenantId SK wfId Batch get workflows by ids dbClient batchGet RequestItems TABLE NAME Keys PK tenantId SK wfId PK tenantId SK wfId promise batch get queries must be limit to records as per AWS Documentation ConclusionsWe learned our lessons We did it the hard way But we did it nonetheless While DynamoDB sounds great for the schema less flexibility at the end of the day you have to do your homework and understand all the search patterns you plan to support Simply relying on Filter Expressions to save your day is not gonna work A good design is key ️to the success of your application |
2023-08-07 08:17:30 |
医療系 |
医療介護 CBnews |
“物価高騰・人材流出 介護施設の努力だけでは限界”-介護報酬改定で大幅な増額を-老施協が要望書提出 |
https://www.cbnews.jp/news/entry/20230807171149
|
介護報酬 |
2023-08-07 18:00:00 |
医療系 |
医療介護 CBnews |
新型コロナワクチン接種の186件を認定-厚労省が健康被害審査第一部会の審議結果公表 |
https://www.cbnews.jp/news/entry/20230807172051
|
予防接種 |
2023-08-07 17:45:00 |
医療系 |
医療介護 CBnews |
無床診療所4月から138カ所増、23年5月末-病院は3カ所減、厚労省調査 |
https://www.cbnews.jp/news/entry/20230807153538
|
医療施設 |
2023-08-07 17:41:00 |
ニュース |
BBC News - Home |
All scouts leaving South Korea camp as typhoon looms |
https://www.bbc.co.uk/news/uk-66425793?at_medium=RSS&at_campaign=KARANGA
|
korea |
2023-08-07 08:43:24 |
ニュース |
BBC News - Home |
House prices fall by the most in south east, says Halifax |
https://www.bbc.co.uk/news/business-66425947?at_medium=RSS&at_campaign=KARANGA
|
wales |
2023-08-07 08:00:44 |
ニュース |
BBC News - Home |
Women's World Cup 2023: VAR intervenes to overturn England penalty decision against Nigeria |
https://www.bbc.co.uk/sport/av/football/66426658?at_medium=RSS&at_campaign=KARANGA
|
Women x s World Cup VAR intervenes to overturn England penalty decision against NigeriaVAR intervenes to overturn the decision to award England a penalty after Rachel Daly went down in the Nigeria box at the Women s World Cup |
2023-08-07 08:38:27 |
ニュース |
BBC News - Home |
Women's World Cup 2023: England survive double scare against Nigeria |
https://www.bbc.co.uk/sport/av/football/66426653?at_medium=RSS&at_campaign=KARANGA
|
world |
2023-08-07 08:09:56 |
IT |
週刊アスキー |
現在開催中! 横浜でタイ気分を味わえる「Red Brick Island 2023」の会場の様子をお届け |
https://weekly.ascii.jp/elem/000/004/148/4148817/
|
redbrickisland |
2023-08-07 17:45:00 |
IT |
週刊アスキー |
子供連れ専用車両で気兼ねなく列車の旅 小田急ロマンスカー「子育て応援車」9月7日~10日運行 |
https://weekly.ascii.jp/elem/000/004/148/4148810/
|
小田急ロマンスカー |
2023-08-07 17:15:00 |
IT |
週刊アスキー |
【試してみた】30秒で専門店さながらの“おにぎり”が作れるクッキングトイ「究極のおにぎり」 |
https://weekly.ascii.jp/elem/000/004/148/4148814/
|
製造 |
2023-08-07 17:15:00 |
IT |
週刊アスキー |
東京メトロ、タッチ決済/QRコード決済による乗車を2024年度中に実証実験へ |
https://weekly.ascii.jp/elem/000/004/148/4148816/
|
実証実験 |
2023-08-07 17:15:00 |
IT |
週刊アスキー |
HDMI出力やメモリーカードスロットも備えるシースルーボディーのマルチアダプター「SEE-THROUGH4/SD-CMULTI02-B」 |
https://weekly.ascii.jp/elem/000/004/148/4148859/
|
sdcmultib |
2023-08-07 17:30:00 |
コメント
コメントを投稿