IT |
気になる、記になる… |
家電量販店などで「Surface Pro 7」と「Surface Go 2」を買うとタイプカバーが無料に |
https://taisy0.com/2021/08/06/143888.html
|
microsoft |
2021-08-06 11:47:34 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] 練馬区の大規模停電、復旧から1日経過も原因分からず 東電「明らかな機器の故障はない」 |
https://www.itmedia.co.jp/news/articles/2108/06/news152.html
|
itmedia |
2021-08-06 20:45:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia Mobile] 「ahamoの契約数は?」「半導体不足の影響は?」――NTT決算説明会一問一答(2021年8月編) |
https://www.itmedia.co.jp/mobile/articles/2108/06/news153.html
|
ahamo |
2021-08-06 20:45:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] 五輪会場のガンダムを「トランスフォーマー」と紹介した英BBCにツッコミ殺到 |
https://www.itmedia.co.jp/news/articles/2108/06/news151.html
|
bbcsport |
2021-08-06 20:30:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] 「投資家ピクトグラム」登場 投資に興味を持つきっかけに |
https://www.itmedia.co.jp/business/articles/2108/06/news148.html
|
itmedia |
2021-08-06 20:12:00 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
VBAによるスクレイピングでのオブジェクトエラー424について |
https://teratail.com/questions/353109?rss=all
|
|
2021-08-06 20:46:23 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
ワードプレスマルチサイトで他サイトの記事を表示したい。 |
https://teratail.com/questions/353108?rss=all
|
これは現在この一覧を表示してるサイトでダミーで投稿したページのIDです。 |
2021-08-06 20:26:32 |
海外TECH |
DEV Community |
Deploying CI/CD For NodeJS Serverless Applications Workshop: Part II |
https://dev.to/aws-builders/deploying-ci-cd-for-nodejs-serverless-applications-workshop-part-ii-3df2
|
Deploying CI CD For NodeJS Serverless Applications Workshop Part IIIn the first part we setup the environment created a simple Node JS app explored the SAM template and lambda code In this part we will run the project locally You will learn how to run it and test it locally using the AWS SAM CLI This is important because its part of the day to day development workflow It helps you verify if the application is behaving as expected debug what s wrong and fix any issues before pushing your changes to a central repository INSTALL DEPENDENCIESBefore we run the application locally it s a common practice to install third party libraries or dependencies that your application might be using These dependencies are defined in a file that varies depending on the runtime for example package json for NodeJS projects or requirements txt for Python ones In the terminal go into the sam app hello world folder cd sam app hello worldAnd install the dependencies npm installExample RUN USING SAM CLIThere are ways of running a Serverless app locally By invoking an individual Lambda function or By running a local HTTP server that simulates API Gateway We will focus on number but you can learn about invoking individual functions in the SAM Local Invoke reference In the terminal run the following command from the root directory of the sam app folder cd environment sam appsam local start api port Test your endpointOnce your local server is running we can send HTTP requests to test it Chose one of the following options Option A Using CURLWithout killing the running process open a new terminal Test your endpoint by running a CURL command that triggers an HTTP GET request curl http localhost hello Option B Using a browser windowIn Cloud go to the top menu and chose Tools gt Preview gt Preview Running Application A browser tab will open append hello to the end of the URL This will invoke your Lambda function locally Note how SAM is pulling the Docker container image lambci lambda nodejs x automatically This is how SAM is able to simulate the Lambda runtime locally and run your function within it The first invocation might take a few seconds due to the docker pull command but subsequent invocations should be much faster MAKE A CODE CHANGEWhile the app is still running open the file sam app hello world app js and make a simple code change For example change the response message to return hello my friend instead of hello world Your Lambda handler should look like this after the change Note Make sure you save the file after changing it You don t have to restart the sam local process just refresh the browser tab or re trigger the CURL command to see the changes reflected in your endpoint RUN THE UNIT TESTSAs you typically would with any software project running the unit tests locally is no different for Serverless applications Developers run them before pushing changes to a code repository So go ahead and run the unit tests for your project In the terminal run this command from the sam app hello world folder to run the unit tests cd environment sam app hello worldnpm run testThe tests should fail This is expected Fix the unit testMakes sense right We changed the response message to hello my friend and the unit test was expecting hello world This is an easy fix let s update the unit test Open the file sam app hello world tests unit test handler js and update the expected value for the response to match the new message The unit test should look like this after the update use strict const app require app js const chai require chai const expect chai expect var event context describe Tests index function it verifies successful response async gt const result await app lambdaHandler event context expect result to be an object expect result statusCode to equal expect result body to be an string let response JSON parse result body expect response to be an object expect response message to be equal hello my friend lt FIX Run the tests againRun the same command again npm run testNow the tests should pass Note This project uses the Chai Framework for running the unit tests but you can chose any other framework SAM doesn t enforce any particular one Thanks for reaching the second part end In the upcoming part we will deploy the app manually and build the pipeline |
2021-08-06 11:06:47 |
海外TECH |
Engadget |
The Morning After: Disney’s immersive Star Wars experience is really expensive |
https://www.engadget.com/the-morning-after-disneys-immersive-star-wars-experience-is-really-expensive-111515094.html?src=rss
|
The Morning After Disney s immersive Star Wars experience is really expensiveDisney s Star Wars Galactic Starcruiser is going to cost you For two guests in a standard cabin for a two night adventure you ll have to set aside just shy of Disney is promising it as quot part live immersive theater part themed environment part culinary extravaganza part real life role playing game quot The company offers more details on how your story might unfold with the ability to choose to side with the First Order boo or ally with the resistance DisneyThere will also be lightsaber lessons optional missions and the chance to interact with iconic SW characters who will well behave like video game NPCs According to reports each Starcruiser adventure is several months of salary one of a kind so if you can afford one journey on the cruiser you can probably book a second different adventure The posit sounds very Westworld and like that fictional theme park it seems unashamedly aimed at only the wealthiest Star Wars fans It also sounds like there will be no Star Wars experience like it Temptation however might be outweighed by economic reality Then again it seems positively cheap compared to a ticket to actual space ーMat SmithGoogle s upgraded Nest Cam and Doorbell are hereFloodlight options and battery powered devices GoogleGoogle s first battery powered Nest Cam and Doorbell can be installed just about anywhere around your home and you can even connect them to a wired power source if you prefer The battery life depends on how many recorded events the devices detect and factors like the temperature and settings Google says the Doorbell s battery will run for up to six months on a single charge while the Nest Cam can run for up to seven months before you need to recharge it over USB Continue reading Apple announces new iPhone features to detect child sex abuseThe Messages Photos and Siri features will also come to watchOS and macOS Apple has detailed new features focused on child safety With the release of iOS watchOS and macOS Monterey later this year the company says it will introduce a variety of child safety features across Messages Photos and Siri To start the Messages app will include new notifications to warn children as well as their parents when they either send or receive sexually explicit photos When someone sends a child an inappropriate image the app will blur it and display several warnings Apple will also introduce new software tools in iOS and iPadOS that will allow the company to detect when someone uploads content to iCloud that shows children involved in sexually explicit acts Rather than scanning photos when they re uploaded to the cloud the system will use an on device database of quot known quot images These features and more will come to devices later this year Continue reading President Biden wants half of new vehicles to be zero emissions by Some carmakers and states want an even faster transition Leah Millis reutersPresident Biden s latest executive order sets a target for half of all new vehicles sold in to have some form of zero emissions driving whether it s a pure EV plug in hybrid or hydrogen fuel cell vehicle The move is meant to not only promote clean transportation and limit climate change but help the US quot outcompete quot a Chinese car industry that s quickly shifting toward electrified vehicles It could be an ambitious target EVs have represented about percent of US car sales for the past three years according to the International Energy Agency and Pew Research Continue reading Nintendo s sales can t keep up with last year s lockdown boomThe success of Animal Crossing makes business as usual look worse by comparison In Nintendo s latest financial report it posted an operating profit of billion yen roughly billion That is however a percent drop compared to the billion yen billion posted this time last year when Switch consoles were consistently sold out and most of us were trapped indoors isolating Nintendo didn t release a game that could match the success of Animal Crossing the year before Amusingly the company made a graph to show that if you remove the Animal Crossing spike its software sales have constantly increased since at least Continue reading But wait there s more Senior Apple employee alleges sexism at work is put on indefinite leaveInside the sexual harassment lawsuit at Activision BlizzardParamount is getting South Park movies starting with two this yearElon Musk confirms Walter Isaacson is writing his biographyWhat you ll get in the Back Blood open betaAmazon launches new resale programs following backlash over stock destructionVirgin Galactic starts selling tickets to space again for per seatPeloton treadmill owners will be able to run again without a subscription |
2021-08-06 11:15:15 |
ニュース |
BBC News - Home |
COP26: Alok Sharma criticised for international - and quarantine-free - travel |
https://www.bbc.co.uk/news/uk-politics-58112621
|
quarantine |
2021-08-06 11:42:20 |
ニュース |
BBC News - Home |
Alpaca farmer vows to stand between gunman and condemned Geronimo |
https://www.bbc.co.uk/news/uk-england-gloucestershire-58114686
|
bovine |
2021-08-06 11:30:42 |
ニュース |
BBC News - Home |
Afghanistan: Dawa Khan Menapal assassinated in Kabul |
https://www.bbc.co.uk/news/world-asia-58112981
|
officials |
2021-08-06 11:35:35 |
ニュース |
BBC News - Home |
GB's French storms to modern pentathlon gold |
https://www.bbc.co.uk/sport/olympics/58114320
|
GB x s French storms to modern pentathlon goldKate French storms away from the field with a dominant run in the final event of the modern pentathlon to earn Great Britain s th gold of the Tokyo Olympics |
2021-08-06 11:18:39 |
ニュース |
BBC News - Home |
Messi deal 'would have put Barca at risk for 50 years' |
https://www.bbc.co.uk/sport/football/58114034
|
laporta |
2021-08-06 11:07:41 |
ニュース |
BBC News - Home |
‘Covid passports’: How to get the NHS Covid Pass |
https://www.bbc.co.uk/news/explainers-55718553
|
england |
2021-08-06 11:41:35 |
ビジネス |
不景気.com |
ホンダの早期退職に2000名超が応募、国内従業員5%相当 - 不景気.com |
https://www.fukeiki.com/2021/08/honda-cut-2000-job.html
|
早期退職 |
2021-08-06 11:33:52 |
ビジネス |
不景気.com |
横浜の樹脂成形「国上精機工業」が再生手続廃止、破産へ - 不景気.com |
https://www.fukeiki.com/2021/08/kugami-seiki2.html
|
東京地方裁判所 |
2021-08-06 11:18:00 |
GCP |
Google Cloud Platform Japan 公式ブログ |
もっと楽しくなった Google Meet |
https://cloud.google.com/blog/ja/products/google-meet/google-meet-new-features/
|
ブラウザ版で使える、楽しいビデオ背景GoogleMeetに、新しくビデオ付きの背景を入れることができるようになりました。 |
2021-08-06 12:00:00 |
北海道 |
北海道新聞 |
スプリント小林優香は敗退 自転車・6日 |
https://www.hokkaido-np.co.jp/article/575835/
|
小林優香 |
2021-08-06 20:15:00 |
北海道 |
北海道新聞 |
多様性を評価、国立大交付金増額 34校、文科省 |
https://www.hokkaido-np.co.jp/article/575834/
|
文部科学省 |
2021-08-06 20:15:00 |
北海道 |
北海道新聞 |
コメ先物取引から完全撤退へ 堂島商取、社長「誠に不本意」 |
https://www.hokkaido-np.co.jp/article/575832/
|
中塚一宏 |
2021-08-06 20:04:00 |
GCP |
Cloud Blog JA |
もっと楽しくなった Google Meet |
https://cloud.google.com/blog/ja/products/google-meet/google-meet-new-features/
|
ブラウザ版で使える、楽しいビデオ背景GoogleMeetに、新しくビデオ付きの背景を入れることができるようになりました。 |
2021-08-06 12:00:00 |
コメント
コメントを投稿