投稿時間:2021-05-10 11:32:21 RSSフィード2021-05-10 11:00 分まとめ(33件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] グリーがSupercellに勝訴 約100億円の損害賠償命じる評決 https://www.itmedia.co.jp/business/articles/2105/10/news065.html itmedia 2021-05-10 10:45:00
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] LINE Payの「チャージ&ペイ」、三井住友カードが登録可能に https://www.itmedia.co.jp/business/articles/2105/10/news064.html itmedia 2021-05-10 10:41:00
IT ITmedia 総合記事一覧 [ITmedia News] 次期Apple Watchは血圧、血糖値、アルコール検知もできる? 提携企業の技術資料で明らかに https://www.itmedia.co.jp/news/articles/2105/10/news063.html applewatch 2021-05-10 10:34:00
IT ITmedia 総合記事一覧 [ITmedia Mobile] 新型コロナワクチン接種の電話予約で通信規制の場合も 通信各社が告知 https://www.itmedia.co.jp/mobile/articles/2105/10/news062.html itmediamobile 2021-05-10 10:32:00
IT ITmedia 総合記事一覧 [ITmedia News] Apple ID残高に定期的にチャージする「オートチャージ」が利用可能に https://www.itmedia.co.jp/news/articles/2105/10/news059.html itmedianewsappleid 2021-05-10 10:10:00
TECH Techable(テッカブル) CHUWIの新型CoreBook Xは6.5万円でCore i5搭載! https://techable.jp/archives/154248 chuwi 2021-05-10 01:00:42
AWS AWS Japan Blog ECS のアプリケーションを正常にシャットダウンする方法 https://aws.amazon.com/jp/blogs/news/graceful-shutdowns-with-ecs/ さらに、ECSでは柔軟なコンピューティングの選択肢が用意されています。 2021-05-10 01:54:14
AWS AWS Japan Blog マルチアーキテクチャの Amazon EKS クラスターに Spring Boot アプリケーションをデプロイする https://aws.amazon.com/jp/blogs/news/deploy-a-spring-boot-application-on-a-multi-architecture-amazon-eks-cluster/ はじめにARMベースとAMDベースのインスタンスの両方を使用して、マルチアーキテクチャのAmazonElasticKubernetesServiceAmazonEKSクラスターにアプリケーションをデプロイすることを検討する理由は何でしょうかコストの最適化は、お客様にとって重要なビジネスの推進要因であることがよくあります。 2021-05-10 01:31:51
AWS AWS Japan Blog 週刊AWS – 2021/5/3週 https://aws.amazon.com/jp/blogs/news/aws-weekly-20210503/ 以前より提供されているLambdaEdgeこちらは世界か所リージョナルエッジキャッシュ上で動作し、最大秒の処理が可能との違いを含めてこちらのブログで解説されています。 2021-05-10 01:22:58
python Pythonタグが付けられた新着投稿 - Qiita 【数理考古学】群論とシミュレーション原理⑤二次元トーラス概念への発展 https://qiita.com/ochimusha01/items/0e881b5b6d3b07d66342 一次元トーラス概念の規定以下で極座標系PolarCoordinatesSystemrθ上の円Circle半径の単位円×半径RadiusR観測結果集合とする円周群リー群S次元トーラス×半径Radiusrを規定する演算をまとめました。 2021-05-10 10:17:18
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) sassの入れ子について https://teratail.com/questions/337463?rss=all sassの入れ子について表題の通り、入れ子について質問いたします。 2021-05-10 11:00:03
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) PowerAppsでアプリを開こうとすると以下の画像が表示されるのですが、アプリを開くにはどうすればよろしいでしょうか? https://teratail.com/questions/337462?rss=all powerapps 2021-05-10 10:59:52
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) Djangoモデル TextFieldとCharFieldの違いについて https://teratail.com/questions/337461?rss=all DjangoモデルTextFieldとCharFieldの違いについてDjangoのモデルのフィールド、TextFieldとCharFieldの違いについて教えてください。 2021-05-10 10:49:27
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) ESP32のBluetoothを用いてハンズフリー通話の音声の送受信がしたい https://teratail.com/questions/337460?rss=all ESPのBluetoothを用いてハンズフリー通話の音声の送受信がしたい解決したいことESPのBluetoothを用いてスマホと接続して通話ハンズフリーをするプログラムを開発しています。 2021-05-10 10:43:03
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) Windows Server 2016でDNSを使用してIISのホスト名を使用したいですが、アクセスできなくて困っています。 https://teratail.com/questions/337459?rss=all WindowsServerでDNSを使用してIISのホスト名を使用したいですが、アクセスできなくて困っています。 2021-05-10 10:34:04
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) Java計算 ソースコード https://teratail.com/questions/337458?rss=all Java計算ソースコード画面でnbspつの入力欄に数字を入力する。 2021-05-10 10:11:16
AWS AWSタグが付けられた新着投稿 - Qiita 【AWS】 ロードバランサーとAutoScaling について no.11 https://qiita.com/Mayumi_Pythonista/items/d1c1b36d23c7cdef7f8f ①ELBに関連付けられたECインスタンスにトラフィックを均等に配分して、負荷を軽減させることができます②何かの理由で、サーバーがクラッシュした時に、ヘルスチェックという切り離しをしてくれるでは、さらに既存のサーバーに均等に振り分けるのでも足りないくらいアクセスが増えた時はどうでしょうかその時の対処法を下記に書いていきますAutoScalingとはAutoScalingとは必要に応じて、インスタンス数を増減させてくれるサービスです引用元AWSドキュメントAutoScalingに実際触ってみるでは、実際にAWSのコンソールからAutoScalingを使ってみましょうまずは、テンプレートを作ります下のような画面になりますので、例にならって記入してみてください。 2021-05-10 10:41:24
技術ブログ Developers.IO Alteryx Analytics Gallery からツールをインストールしてみた。 https://dev.classmethod.jp/articles/alteryx-analytics-tool-install/ alteryx 2021-05-10 01:38:58
技術ブログ Developers.IO Lambdaで6MBを超えるデータをReturnできなかったので、S3のPre-Signed URLを使った話 https://dev.classmethod.jp/articles/lambda-over-6mb-response-use-s3-pre-signed-url/ apigatewaylambda 2021-05-10 01:15:18
技術ブログ Developers.IO AWS IoT 再入門ブログリレー – AWS IoT Core 編 https://dev.classmethod.jp/articles/re-introduction-iot-2021-aws-iot-core/ awsiot 2021-05-10 01:00:51
海外TECH DEV Community Python CI/CD with GitHub Actions https://dev.to/jidicula/python-ci-cd-with-github-actions-2e26 Python CI CD with GitHub ActionsYou can also read this on my blog here In a previous post I alluded to having pure CI CD checks and autoreleases for my random standup program I wanted to ensure that Each change I make to my program won t break existing functionality Continuous Integration andPublishing a new release to PyPI is automatic Continuous Delivery Deployment GitHub provides a workflow automation feature called GitHub Actions Essentially you write your workflow configurations in a YAML file in your repo github workflows and they ll be executed on certain repository events Continuous IntegrationThis automation is relatively straightforward I want to run the following workflows on each commit into the repository trunk and on each pull request into trunk Test syntax by running a linting check for formatting n b syntax correctness is a subset of formatting correctness Test functionality across a variety of operating systems and Python versions by running automated tests on the entire program For this program I only included a single basic black box test that s more demonstrative than useful it checks for a regex match with program output A suite of unit tests would be more appropriate for a more complex program Test build stability by attempting to build the program but discarding the build artifact across the same combinations of operating systems and Python versions from Step Here s the full workflow Each commit to trunkThe trigger for this is declared at the top of the workflow file on push branches main pull request branches main Test syntax by checking formattingFirst we have to checkout the repository in GitHub Actions using GitHub s own checkout action Then we have to set up the Python version using GitHub s setup python action Finally we can use Black s provided GitHub Action for checking formatting it runs black check diff on the workflow runner s clone of the repo and outputs an error code if any Python file in the repo fails Black s formatting rules Note that Black fails if the AST cannot be parsed i e if there are any syntax errors so it can also be used for checking syntax correctness which itself is a good proxy for checking for merge conflict strings jobs black formatting check name Check formatting runs on ubuntu latest steps uses actions checkout v uses actions setup python v uses psf black stable Running a job across different build environmentsGitHub Actions provides matrix build functionality where you provide the option set for each variable and it runs the dependent steps with the n ary Cartesian product of these n variable option sets build runs on matrix os needs black formatting check strategy matrix os ubuntu latest macos latest windows latest python version This is defined in the jobs lt job id gt strategy matrix directive I ve added variables one for OS with Ubuntu macOS and Windows as options and one for Python version with and as options This means that everything in the build job will run on every combination of OS and Python version options Ubuntu Python Ubuntu Python Ubuntu Python macOS Python macOS Python etcNote that the runs on directive is defined as matrix os which points to the value of the os variable in the current runner Internally the steps are somewhat like GitHub Actions parses the directives for the job and sees there s a matrix strategy It spins up a separate runner for each matrix combination and defines the variables matrix os and matrix python version as the values for that combination For example in the Ubuntu Python runner matrix os ubuntu latest and matrix python version It runs the job steps in each runner it spun up in Step You can see an example of how this matrix run looks like in the GitHub Actions console here see all the OS Python combinations in the left sidebar These matrix options are run in parallel by default so the runtime of the job determined by the slowest matrix option Note that if your repository is private you will be charged Actions minutes for each separate build combination with some hefty multiplers for macOS and Windows macOS minute is minutes of Actions credit Windows minute is minutes of Actions credit as of May Test FunctionalityAgain we need to checkout the repo for this job and set up the Python version The key difference with the Python version setup here compared to the Black formatting job is that the Python version is specified and points to the matrix option for python version steps name Checkout code uses actions checkout v name Setup Python uses actions setup python v with python version matrix python version Then we need to set up the dependencies for the program to ensure it can run I used Poetry for dependency and virtual environment management and it s not included with any of the runner environments so we have to install it in a workflow step Installing it takes some time though so to speed up my workflow runtime I permanently cache Poetry using GitHub s provided cache action I only run the installation step if the cache is missed which won t happen since the key is constant for each OS Python version combination Perma cache Poetry since we only need it for checking pyproject version name Cache Poetry id cache poetry uses actions cache v with path poetry key matrix os poetry Only runs when key from caching step changes name Install latest version of Poetry if steps cache poetry outputs cache hit true run curl sSL python Poetry still needs to be re prepended to the PATH on each run since PATH does not persist between runs name Add Poetry to PATH run echo HOME poetry bin gt gt GITHUB PATH name Get Poetry version run poetry versionThen I do another caching step for dependencies and install them if poetry lock has changed name Check pyproject toml validity run poetry check no interaction name Cache dependencies id cache deps uses actions cache v with path github workspace venv key matrix os hashFiles poetry lock restore keys matrix os name Install deps if steps cache deps cache hit true run poetry config virtualenvs in project true poetry install no interactionFinally once dependency and virtual environment setup is done I run pytest name Run tests run poetry run pytest v Test build stabilityFor testing build stability we simply run Poetry s build subcommand which creates the build artifacts name Build artifacts run poetry build Auto mergeGitHub also allows pull requests to be merged automatically if branch protection rules are configured and if the pull request passes all required reviews and status checks In the repo Settings gt Branches gt Branch Protection rules I have a rule defined for main requiring all jobs in the build yml workflow to pass before a branch can be merged into main Release automationThere are parts to GitHub release automation Create the GitHub release using Git tags and add the build artifacts to it workflow Publish the package to PyPI workflow Create GitHub ReleaseWe set up the workflow to trigger on push to a tag beginning with v on push Sequence of patterns matched against refs tags tags v Push events to matching v i e v v Then we define our autorelease job running on Ubuntu cheapest and fastest GitHub Actions runner environment name Create Releasejobs autorelease name Create Release runs on ubuntu latest Our first steps are almost the same as our Build workflow for pushes and PRs to main we checkout the repo and set up Poetry Our checkout step is slightly different though we provide to the fetch depth input so we make a deep clone with all commits not a shallow clone with just the most recent commit steps name Checkout code uses actions checkout v with fetch depth The Poetry setup steps are identical so I won t include them here Then we use Poetry to get the project version from pyproject toml store it in an environment variable then check if the tag version matches the project version name Add version to environment vars run PROJECT VERSION poetry version short echo PROJECT VERSION PROJECT VERSION gt gt GITHUB ENV name Check if tag version matches project version run TAG git describe HEAD tags abbrev echo TAG echo PROJECT VERSION if TAG v PROJECT VERSION then exit fiThis is a bit of a guardrail because of how I trigger the autorelease I update the pyproject toml version on my local clone using poetry version lt version gt commit it to main then tag it with the same lt version gt and push the commit and the tag which then starts this workflow We need to ensure that the version tag and the pyproject toml versions match in case we forget to bump versions properly Then we do the same dependency and virtualenv setup as in my Build workflow using Poetry then run pytest and poetry build The build artifacts will be used when we create the release in the final step of this workflow The next step is to create some release notes I keep a release template in the github folder and append some gitlog output to it name Release Notes run git log git describe HEAD tags abbrev HEAD pretty format h s n an lt ae gt no merges gt gt github RELEASE TEMPLATE md That gnarly gitlog command is checking all commits since the last tag to HEAD For each commit it appends the commit hash the commit message subject the author name and the author email to the release template Finally we use a rd party release creation Action for creating a release draft with the release notes and artifacts we just created name Create Release Draft uses softprops action gh release v with body path github RELEASE TEMPLATE md draft true files dist random standup env PROJECT VERSION py none any whl dist random standup env PROJECT VERSION tar gz env GITHUB TOKEN secrets GITHUB TOKEN GITHUB REPOSITORY jidicula random standupThis creates a draft visible at I modify the release announcements as needed and publish the release Publishing to PyPIThe final step of the release process is to publish the package release to the Python Package Index along with the release assets Here s the full workflow This time we trigger the workflow to run on a release being published the last step of the previous workflow is manually publishing a release draft on release types publishedWe do the same checkout and Poetry setup as before Then we simply run poetry publish build using a PyPI token as a GitHub Secrets environment variable for authentication name Publish to PyPI env PYPI TOKEN secrets PYPI TOKEN run poetry config pypi token pypi PYPI TOKEN poetry publish build Putting it all togetherSo overall working on this project would involve Make a PR for my changes Confirm auto merge Repeeat Steps and until I m ready to release Bump the pyproject toml version on my local clone using poetry version lt new version gt Commit the changes Create a tag on main pointing to the version bump commit Push both the tag and the version bump commit to GitHub Wait for the Create Release run to finish Go to and modify the Announcements for the just created release draft Publish the release Wait for the PyPI Publish run to finish Check PyPI for the updated package version If you have any questions or comments email me at johanan blog forcepush tech or post a comment below 2021-05-10 01:12:31
金融 article ? The Finance 令和3年4月施行電気通信事業法の改正と国外事業者に対する法執行の実効性の強化 https://thefinance.jp/law/210510 適用範囲 2021-05-10 01:10:57
ニュース BBC News - Home Rescue operation to help whale stranded in Thames https://www.bbc.co.uk/news/uk-england-london-57052331 minke 2021-05-10 01:15:18
ニュース BBC News - Home Covid: Refugee nurses are being fast-tracked into the NHS https://www.bbc.co.uk/news/uk-56936400 liverpool 2021-05-10 01:19:54
ニュース BBC News - Home Why did a Nazi leader crash-land in Scotland? https://www.bbc.co.uk/news/uk-scotland-56908183 bizarre 2021-05-10 01:23:46
LifeHuck ライフハッカー[日本版] 【Amazonタイムセール中!】20%オフのコーヒー豆450g×4袋セットや44%オフの室内物干しワイヤーなど https://www.lifehacker.jp/2021/05/amazon-timesale-0510-1-1.html amazon 2021-05-10 10:30:00
GCP Google Cloud Platform Japan 公式ブログ Cloud Functions での PHP 使用について https://cloud.google.com/blog/ja/products/application-development/php-comes-to-cloud-functions/ さらに、HTTPイベントに応答するためのHTTP関数や、PubSub、CloudStorage、Firestoreなどの社内外のサービスから提供されたイベントを処理するCloudEvent関数も記述できます。 2021-05-10 02:00:00
北海道 北海道新聞 英首相に住民投票の実施迫る スコットランド独立派党首 https://www.hokkaido-np.co.jp/article/541914/ 住民投票 2021-05-10 10:01:00
IT 週刊アスキー 【ガラス工芸】美しすぎる截金ガラスがそごう横浜店に。個展「山本 茜展 -截金ガラス創造 10年の軌跡-」 https://weekly.ascii.jp/elem/000/004/054/4054074/ 軌跡 2021-05-10 10:15:00
マーケティング AdverTimes 蒼井優とトクホごま油の「毎日」を丁寧にスケッチ、かどや製油が7曜日ごとのCMをオンエア https://www.advertimes.com/20210510/article349282/ 開始 2021-05-10 02:00:02
マーケティング AdverTimes メディアに取り上げてもらう企画のコツは“逆算設計”|販促コンペ・お悩み相談室① https://www.advertimes.com/20210510/article349426/ 悩み相談 2021-05-10 01:30:42
マーケティング AdverTimes 訴求ポイントが聞こえない…? SPAT4、安田顕起用の新CM公開 https://www.advertimes.com/20210510/article349173/ 地方競馬 2021-05-10 01:00:57
GCP Cloud Blog JA Cloud Functions での PHP 使用について https://cloud.google.com/blog/ja/products/application-development/php-comes-to-cloud-functions/ さらに、HTTPイベントに応答するためのHTTP関数や、PubSub、CloudStorage、Firestoreなどの社内外のサービスから提供されたイベントを処理するCloudEvent関数も記述できます。 2021-05-10 02:00: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件)