投稿時間:2022-08-04 09:41:38 RSSフィード2022-08-04 09:00 分まとめ(49件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
TECH Techable(テッカブル) 空港にいくと自分専用の電光掲示板! デルタ航空の取り組みが近未来的 https://techable.jp/archives/183394 取り組み 2022-08-03 23:00:27
AWS AWS Japan Blog 公共分野のスタートアップと自治体が繋がる AWS Startup Ramp Meetup を開催しました https://aws.amazon.com/jp/blogs/news/aws-startup-ramp-meetup-vol1/ startu 2022-08-03 23:52:02
AWS AWS Business Builders with AWS - Naoca | Amazon Web Services https://www.youtube.com/watch?v=uim1AA41gAY Business Builders with AWS Naoca Amazon Web ServicesNaoca scales its video streaming platform to meet exponential demand reduces costs and expands its revenue streams all by embracing cloud technology Find out how in this chat with AWS s Anna Green and Naoca s co founder Alex Medcalf Learn more about how small and medium businesses work with AWS Subscribe More AWS videos More AWS events videos ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster AWS AmazonWebServices CloudComputing 2022-08-03 23:37:28
AWS AWS - Japan AWS Innovate 2022 - For Every Application | AWS Events https://www.youtube.com/watch?v=c_X5m0r3V04 AWSInnovateForEveryApplicationAWSEvents多くの企業がクラウドを活用し、顧客体験の向上、イノベーションの推進、競争力の強化に向けて、多様なアプリケーションを構築し実行しています。 2022-08-03 23:10:45
AWS AWS - Japan AWS Innovate 2022 - Data Edition | AWS Events https://www.youtube.com/watch?v=awtySCdAPG4 AWSInnovateDataEditionAWSEvents今日、組織はかつてないほど多くのデータを管理しています。 2022-08-03 23:07:48
js JavaScriptタグが付けられた新着投稿 - Qiita 【JavaScript】初学者「正規表現の学習ってなんとなく避けてきた…」って人のために https://qiita.com/Naughty1029/items/b9f5d04d0bed99577124 javascript 2022-08-04 08:11:10
技術ブログ Developers.IO JAWS-UG 朝会 第36回レポート AWSのコンテナイメージスキャン手法をまとめてみた #jawsug_asa #jawsug https://dev.classmethod.jp/articles/jawsug-morning-36-report/ jawsug 2022-08-03 23:46:24
技術ブログ Developers.IO Amazon AppFlowでMarketing Cloud Account Engagement(旧:Pardot)のデータをAmazon S3に連携する https://dev.classmethod.jp/articles/appflow-pardot-s3/ amazonappflow 2022-08-03 23:30:25
海外TECH DEV Community Testing Code That is Difficult to Test (With Perl) https://dev.to/nicholasbhubbard/testing-code-that-is-difficult-to-test-with-perl-81n Testing Code That is Difficult to Test With Perl Code that performs side effects is difficult to test because we need figure out how to sandbox the effects so we can observe the state of the sandbox before and after executing the effectful code The difficulty is increased when the side effectful code also depends on specific OS configurations Let us explore my solution to such a predicament I have been working on the next major release of my btrfs snapshot manager yabsm and I want to write unit tests for functions that take and delete btrfs snapshots This code performs the side effect of taking and deleting snapshots and depends on the OS having a btrfs subvolume available that the user running the program has read write permissions on Yabsm is written in Perl so if you don t know Perl it may be difficult to follow the code examples DisclaimerThis is just a description of a solution to a problem I came across I do not claim to be any kind of authority on code testing A quick note on btrfsBtrfs is a Linux filesystem that allows you to take snapshots of your filesystem A btrfs filesystem is organized into various subvolumes that can be mounted at various locations in your file tree A common configuration is to have three subvolumes mounted at home and snapshots so you can seperately snapshot your and home directories and store the snapshots in snapshots The code to be testedLet us assume we have already defined the following predicates is btrfs subvolume is satisfied if passed a string representing the path of a btrfs subvolume on the system is btrfs dir is satisfied if passed a string representing a directory on the system that resides on a btrfs subvolume is btrfs snapshot is satisfied if passed a string representing a path to a btrfs snapshot on the system This predicate is a bit of a fib because every snapshot is also a subvolume and thus would also be satisfied by is btrfs subvolume For simplicity purposes we will pretend that we can differentiate between subvolumes and snapshots can read write dir is satisfied if passed a directory that the current user has read write permissions for sub take snapshot Take a read only btrfs snapshot of subvolume named name and place it in destination my name shift my subvolume shift my destination shift preconditions return unless is btrfs subvolume subvolume return unless can read write dir subvolume return unless is btrfs dir destination return unless can read write dir destination my cmd btrfs subvolume snapshot r subvolume destination name my status system cmd unless status die Aborting because cmd exited with non zero status return sub delete snapshot Delete the btrfs snapshot snapshot my snapshot shift preconditions return unless is btrfs snapshot snapshot return unless can read write dir snapshot my cmd btrfs subvolume delete snapshot my status system cmd unless status die Aborting because cmd exited with non zero status return Testing the codeAs you can see the code above uses the predicates to assert that preconditions are met before we perform the actual side effect of taking or deleting a snapshot It is also important to notice that if the side effect fails determined via btrfs s exit status then we kill the program There is an underlying assumption going on here if certain preconditions are met then we can be sure that our btrfs system command will run successfully Hmm maybe in our test environment we can set up different scenarios around these preconditions and see if our assumptions are correct Finding a btrfs subvolumeWe cannot take and delete snapshots unless we have a btrfs subvolume available The simplest way to find a btrfs subvolume is to ask the tester to supply us one via a command line parameter We can use Perl s built in Getopt Long library to make this easy use Getopt Long my BTRFS SUBVOLUME GetOptions s s gt BTRFS SUBVOLUME We now have a variable BTRFS SUBVOLUME that if defined means the tester supplied us with a btrfs subvolume Perl s built in Test More library allows us to skip tests if certain conditions are met so we can use the definedness of BTRFS SUBVOLUME for such conditions Setting up the sandboxIf BTRFS SUBVOLUME is defined then we can attempt to set up our sandbox We will use the tempdir function from the built in File Temp library to create a sandbox directory that will be removed when our test script terminates This sandbox will reside on the BTRFS SUBVOLUME which means we can place snapshots inside it We will require that our test script needs to be run with root privilages so we can be sure we have the necessary permissions for taking and deleting snapshots use File Temp tempdir my BTRFS SANDBOX if BTRFS SUBVOLUME die Must be root user if lt die BTRFS SUBVOLUME is not a btrfs subvolume unless is btrfs subvolume BTRFS SUBVOLUME BTRFS SANDBOX tmpdir sandboxXXXXXX DIR gt BTRFS SUBVOLUME CLEANUP gt die BTRFS SANDBOX is not a btrfs directory unless is btrfs dir BTRFS SANDBOX TestingWe are ready to write our tests Lets use the Test Exception library from CPAN to test that our subroutines don t kill the program when they re not supposed to Please refer to the documentation on Test Exception livesand Test More is and Test More SKIP blocks if you are confused about the test framework specific code Here s the tests be sure to read the comments use Test More no plan use Test Exception SKIP skip Skipping btrfs specific tests because we don t have a btrfs sandbox available unless BTRFS SUBVOLUME take snapshot All the preconditions for taking a snapshot should be met lives and is take snapshot foo BTRFS SUBVOLUME BTRFS SANDBOX take snapshot terminated are returned true Make sure the snapshot was actually created is is btrfs snapshot BTRFS SANDBOX foo The snapshot was created delete snapshot All the preconditions for deleting a snapshot should be met lives and is delete snapshot BTRFS SANDBOX foo delete snapshot terminated and returned true Make sure the snapshot was actually deleted is is btrfs snapshot BTRFS SANDBOX foo The snapshot was deleted Preconditions not met There is no subvolume named BTRFS SANDBOX quux lives and is take snapshot foo BTRFS SANDBOX quux BTRFS SANDBOX take snapshot returns false if non existent subvolume is is btrfs snapshot BTRFS SANDBOX foo no snapshot was created There is no btrfs directory named BTRFS SANDBOX quux lives and is take snapshot foo BTRFS SUBVOLUME BTRFS SANDBOX quux take snapshot returns false if non existent btrfs target dir is is btrfs snapshot BTRFS SANDBOX quux foo no snapshot was created There is no snapshot named BTRFS SANDBOX quux lives and is delete snapshot BTRFS SANDBOX quux delete snapshot returns false if non existent snapshot The way I test the code is by testing that if take snapshot and delete snapshot are called with arguments that satisfy their preconditions the functions execute succesfully I then then observe the state of the sandbox to see if a snapshot was in fact taken or deleted I also test that if I call the functions with arguments that do not satisfy the preconditions then the side effect of taking deleting a snapshot is never performed SummaryThe first step to testing side effectful code is to write the code in a way that allows it to be tested I used a set of preconditions on function arguments that if satisfied should result in succesful execution of the side effect I was able to set up a testing sandbox where I can observe the valididity of these assumptions 2022-08-03 23:03:00
海外TECH Engadget NASA says retired astronauts must act as sherpas on private flights to the ISS https://www.engadget.com/nasa-former-astronaut-private-space-flights-international-space-station-230720332.html?src=rss NASA says retired astronauts must act as sherpas on private flights to the ISSNASA will soon require a retired astronaut to serve as mission commander on all private flights to the International Space Station according to an agency notice posted today The policy ーwhich has yet to be finalized ーis intended to both increase passenger safety and reduce any strain on existing ISS operations The former astronaut would provide “experienced guidance for the private astronauts during pre flight preparation through mission execution quot A number of changes also impact space tourists themselves including new medical standards for private astronauts more lead time for private research projects changes to the policy for return cargo and additional time for private astronauts to adjust to microgravity According to the notice the new changes were a result of “lessons learned on last April s Axiom Space flight where passengers paid million each to fly on the first private astronaut mission to the ISS The hectic two week trip ーwhere passengers also worked on their own research ーtook a toll on both the ISS crew and the Axiom crew themselves according to interviews with astronauts following the mission s return The Ax mission actually had a former NASA astronaut at its helm ーMichael López Alegría who currently is the Chief Astronaut at Axiom The company was considering crewing future missions without a professional astronaut on board as that would free up space for an extra paying passenger on board Axiom president Michael Suffredini said at a press conference earlier this year The new policy by NASA is likely an effort to prevent such unsupervised missions Capable astronauts aren t exactly a dime a dozen Currently there are well over living retired NASA astronauts according to the agency s website ーthough it s unclear how many would be willing to command future missions or meet the medical requirements NASA itself is in the middle of an astronaut shortage ーits current corps of astronauts is the smallest since the s An agency report from January said a lack of working NASA astronauts could complicate future missions to the ISS and the moon 2022-08-03 23:07:20
海外TECH CodeProject Latest Articles Signing Documents in SharePoint with a Smart Card https://www.codeproject.com/Articles/5338515/Signing-Documents-in-SharePoint-with-a-Smart-Card Signing Documents in SharePoint with a Smart CardA tutorial showing how to use a smartcard API a SharePoint extension and web services to add a qualified electronic signature QES to a PDF file located in a SharePoint online library 2022-08-03 23:19:00
海外科学 BBC News - Science & Environment Birds all over the world are living in our rubbish https://www.bbc.co.uk/news/science-environment-62407026?at_medium=RSS&at_campaign=KARANGA birds 2022-08-03 23:01:38
金融 金融総合:経済レポート一覧 円高に耐える日本株 ただし内需は不安材料:Market Flash http://www3.keizaireport.com/report.php/RID/505414/?rss marketflash 2022-08-04 00:00:00
金融 金融総合:経済レポート一覧 労働者と資本家をつなげる従業員持株会との付き合い方 http://www3.keizaireport.com/report.php/RID/505415/?rss 大和総研 2022-08-04 00:00:00
金融 金融総合:経済レポート一覧 FX Daily(8月2日)~ドル円、133円台前半に上昇 http://www3.keizaireport.com/report.php/RID/505417/?rss fxdaily 2022-08-04 00:00:00
金融 金融総合:経済レポート一覧 エンベデッド・ファイナンスとオルタナティブデータ市場の現在とこれから:講演会資料 http://www3.keizaireport.com/report.php/RID/505423/?rss 財務総合政策研究所 2022-08-04 00:00:00
金融 金融総合:経済レポート一覧 内外金利・為替見通しNo.2022-05~日銀は物価見通しを引き上げたが、景気優先で強力な緩和策を継続へ http://www3.keizaireport.com/report.php/RID/505426/?rss 中小企業 2022-08-04 00:00:00
金融 金融総合:経済レポート一覧 最近の信用金庫と国内銀行の地区別預貸金増加率の動向:金融調査情報 http://www3.keizaireport.com/report.php/RID/505427/?rss 中小企業 2022-08-04 00:00:00
金融 金融総合:経済レポート一覧 キャッシュレス決済の現状と課題~消費者保護を中心に:Issue Brief http://www3.keizaireport.com/report.php/RID/505432/?rss issuebrief 2022-08-04 00:00:00
金融 金融総合:経済レポート一覧 保険会社として取り組むべきヘルスケアの方向性 http://www3.keizaireport.com/report.php/RID/505439/?rss pwcjapan 2022-08-04 00:00:00
金融 金融総合:経済レポート一覧 国内クラウドファンディング市場の調査を実施(2022年)【概要】~2021年度の国内クラウドファンディング市場規模は前年度比11.1%減の1,642億円 http://www3.keizaireport.com/report.php/RID/505449/?rss 市場規模 2022-08-04 00:00:00
金融 金融総合:経済レポート一覧 マーケットフォーカス(米国市場)2022年8月号~NYダウは、32,800米ドル台を回復するなど大幅に上昇... http://www3.keizaireport.com/report.php/RID/505453/?rss 三井住友トラスト 2022-08-04 00:00:00
金融 金融総合:経済レポート一覧 マーケットフォーカス(欧州市場)2022年8月号~ユーロ円は下落。欧州株式は上昇... http://www3.keizaireport.com/report.php/RID/505454/?rss 三井住友トラスト 2022-08-04 00:00:00
金融 金融総合:経済レポート一覧 KAMIYAMA Seconds!:アメリカの政策金利は正常水準に http://www3.keizaireport.com/report.php/RID/505456/?rss kamiyamaseconds 2022-08-04 00:00:00
金融 金融総合:経済レポート一覧 2022年4-6月期の国内企業決算の途中経過:市川レポート http://www3.keizaireport.com/report.php/RID/505457/?rss 三井住友 2022-08-04 00:00:00
金融 金融総合:経済レポート一覧 諸外国の中小企業の再生・融資慣行に関する調査 令和3年度 http://www3.keizaireport.com/report.php/RID/505458/?rss 中小企業 2022-08-04 00:00:00
金融 金融総合:経済レポート一覧 【イベント報告 】「ミッシングミドル」への投資を促すための革新的取り組み http://www3.keizaireport.com/report.php/RID/505474/?rss 取り組み 2022-08-04 00:00:00
金融 金融総合:経済レポート一覧 Jリート・四半期レポート~年初来高値を伺う勢いのJリート http://www3.keizaireport.com/report.php/RID/505475/?rss 年初来高値 2022-08-04 00:00:00
金融 金融総合:経済レポート一覧 投信指数 MAB-FPIパフォーマンス・サマリーVol1 2022年8月号(2022年7月末基準) ファンド大分類編 http://www3.keizaireport.com/report.php/RID/505489/?rss mabfpi 2022-08-04 00:00:00
金融 金融総合:経済レポート一覧 投信指数 MAB-FPIパフォーマンス・サマリーVol2 2022年8月号(2022年7月末基準) ファンド分類詳細編 http://www3.keizaireport.com/report.php/RID/505490/?rss mabfpi 2022-08-04 00:00:00
金融 金融総合:経済レポート一覧 【第67回】ファイナンシャル ウェルビーイング(FINANCIAL WELL-BEING)とは?(1)ファイナンシャル ウェルビーイングが日本で注目され出している背景 http://www3.keizaireport.com/report.php/RID/505493/?rss financialwellbeing 2022-08-04 00:00:00
金融 金融総合:経済レポート一覧 分散型金融システムのトラストチェーンにおける技術リスクに関する研究【英語版】 http://www3.keizaireport.com/report.php/RID/505505/?rss 金融庁 2022-08-04 00:00:00
金融 金融総合:経済レポート一覧 【注目検索キーワード】資産所得倍増プラン http://search.keizaireport.com/search.php/-/keyword=資産所得倍増プラン/?rss 検索キーワード 2022-08-04 00:00:00
金融 金融総合:経済レポート一覧 【お薦め書籍】世界2.0 メタバースの歩き方と創り方 https://www.amazon.co.jp/exec/obidos/ASIN/4344039548/keizaireport-22/ 宇宙開発 2022-08-04 00:00:00
ニュース BBC News - Home China gears up for military drills after Pelosi visit to Taiwan https://www.bbc.co.uk/news/world-asia-62416363?at_medium=RSS&at_campaign=KARANGA taiwan 2022-08-03 23:51:50
ニュース BBC News - Home Interest rates: What are they and how high could they go? https://www.bbc.co.uk/news/business-57764601?at_medium=RSS&at_campaign=KARANGA rates 2022-08-03 23:01:02
ニュース BBC News - Home Birds all over the world are living in our rubbish https://www.bbc.co.uk/news/science-environment-62407026?at_medium=RSS&at_campaign=KARANGA birds 2022-08-03 23:01:38
ニュース BBC News - Home Fatima Payman: Meet Australia's first hijab-wearing senator https://www.bbc.co.uk/news/world-australia-62374371?at_medium=RSS&at_campaign=KARANGA afghan 2022-08-03 23:04:45
ニュース BBC News - Home 'If interest rates go up I'll owe an extra £250 a month on my loans' https://www.bbc.co.uk/news/business-62408868?at_medium=RSS&at_campaign=KARANGA interest 2022-08-03 23:03:41
ニュース BBC News - Home Kerala: Remembering Afra Rafeeq, whose viral video saved her brother's life https://www.bbc.co.uk/news/world-asia-india-62403456?at_medium=RSS&at_campaign=KARANGA brother 2022-08-03 23:20:48
ビジネス ダイヤモンド・オンライン - 新着記事 奇抜な論文テーマ、米大学入試で学生困惑 - WSJ発 https://diamond.jp/articles/-/307570 論文 2022-08-04 08:21:00
ビジネス ダイヤモンド・オンライン - 新着記事 米ハイテク大手、中露への西側秘密兵器に - WSJ発 https://diamond.jp/articles/-/307571 西側 2022-08-04 08:19:00
北海道 北海道新聞 負けられぬ!清宮2発 5連発「村ゴッド」刺激に(3日) https://www.hokkaido-np.co.jp/article/713905/ 連発 2022-08-04 08:39:09
北海道 北海道新聞 サハリン2、新たな運営会社設立 ロシア政府が命令 https://www.hokkaido-np.co.jp/article/713953/ 会社設立 2022-08-04 08:27:23
北海道 北海道新聞 <小樽市長選>3候補の訴え(下) https://www.hokkaido-np.co.jp/article/713826/ 野呂田 2022-08-04 08:36:18
北海道 北海道新聞 Rソックス沢村、1/3回無失点 アストロズ戦 https://www.hokkaido-np.co.jp/article/713959/ 無失点 2022-08-04 08:35:00
北海道 北海道新聞 処理水放出設備、本格着工へ 海底トンネルや配管敷設 https://www.hokkaido-np.co.jp/article/713955/ 東京電力 2022-08-04 08:06:00
ビジネス 東洋経済オンライン 「数学嫌い」が見抜けない「平均値」の落とし穴 統計数字でだまされないための「3つの基本」 | リーダーシップ・教養・資格・スキル | 東洋経済オンライン https://toyokeizai.net/articles/-/605589?utm_source=rss&utm_medium=http&utm_campaign=link_back 東洋経済オンライン 2022-08-04 08:30:00
マーケティング MarkeZine WACUL、「B2BトップページAI診断」開始  AIがサイトトップページのUIを判定し改善点を提案 http://markezine.jp/article/detail/39632 wacul 2022-08-04 08:15:00

コメント

このブログの人気の投稿

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