IT |
ITmedia 総合記事一覧 |
[ITmedia News] 「Windows 365」の無料試用枠、1日で予定数に達して終了(再開予定あり) |
https://www.itmedia.co.jp/news/articles/2108/05/news063.html
|
itmedia |
2021-08-05 06:38:00 |
Google |
カグア!Google Analytics 活用塾:事例や使い方 |
レビュー:ソニー再生~変革を成し遂げた異端のリーダーシップは万人におすすめできるビジネス本 |
https://www.kagua.biz/review/book/20210805a1.html
|
平井一夫 |
2021-08-04 21:00:30 |
AWS |
AWS Database Blog |
Work with files in Amazon Aurora PostgreSQL and Amazon RDS for PostgreSQL |
https://aws.amazon.com/blogs/database/work-with-files-in-amazon-aurora-postgresql/
|
Work with files in Amazon Aurora PostgreSQL and Amazon RDS for PostgreSQLAn Oracle to Amazon Aurora PostgreSQL Compatible Edition or Amazon RDS for PostgreSQL migration into the AWS Cloud can be a multistage process with different technologies and skills involved starting from the assessment stage to the cutover stage For more information about the migration process see Database MigrationーWhat Do You Need to Know Before You Start … |
2021-08-04 21:02:28 |
AWS |
AWS |
How can I troubleshoot a failed Amazon Redshift data load? |
https://www.youtube.com/watch?v=IuzEx_bdjeg
|
How can I troubleshoot a failed Amazon Redshift data load Skip directly to the demo For more details see the Knowledge Center article with this video Pallavi shows you how to troubleshoot a failed Amazon Redshift data load 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 |
2021-08-04 21:37:25 |
AWS |
AWS |
How can I disable automatic backups in Amazon EFS and remove the stored backup data? |
https://www.youtube.com/watch?v=wX3WhOVj3fo
|
How can I disable automatic backups in Amazon EFS and remove the stored backup data Skip directly to the demo For more details see the Knowledge Center article with this video Vinicius shows you how to disable automatic backups in Amazon EFS and remove the stored backup data 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 |
2021-08-04 21:36:54 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
[JS]イテレータ&ジェネレータはもう理解した? |
https://qiita.com/ren0826jam/items/279cd5346e9bb02ebe02
|
構文内容forof渡した値のvalueを取得forin渡した値のindexを取得forEach渡した値を一つずつ取り出すメソッドfunctiongenIteratormax値がイテレータを返すオブジェクトを生成constobjSymboliteratorgenIteratorbindnullイテレータのnextメソッドを実行して、trueが返るまでループするforconstiofobjconsolelogiジェネレータとはイテレータを使いこなすとなると、複雑な部分が多く実装が少し難しいです。 |
2021-08-05 06:26:07 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
キーペアの生成の際に.pemではなく.cerが生成されてしまう |
https://teratail.com/questions/352801?rss=all
|
キーペアの生成の際にpemではなくcerが生成されてしまう前提・実現したいことAWSECにてsshログイン設定をする前にキーペアを生成して、sshにプライベートキーを移す。 |
2021-08-05 06:41:41 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
githubチーム開発方法について教えて下さい。 |
https://teratail.com/questions/352800?rss=all
|
githubにてチーム開発をする場合、・ローカルでブランチを切る。 |
2021-08-05 06:33:18 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
pythonのfor文を用いてい、変数内の要素を、4つ取得した後、6つ飛ばし、また4つ取得するを繰り返す処理を書きたい。 |
https://teratail.com/questions/352799?rss=all
|
pythonのfor文を用いてい、変数内の要素を、つ取得した後、つ飛ばし、またつ取得するを繰り返す処理を書きたい。 |
2021-08-05 06:02:36 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
AWS DataSync とは |
https://qiita.com/miyuki_samitani/items/9ebfd2e33e2b8bf1d2ce
|
AWSDataSyncとは勉強前イメージデータの連携とかしてくれるサービス調査AWSDataSyncとはオンプレとAWS間、またAWSのサービス間でのデータの移動を簡単に自動で行うサービスになります。 |
2021-08-05 06:42:19 |
海外TECH |
Ars Technica |
Netflix is still trying to find its female John Wick with trailer for Kate |
https://arstechnica.com/?p=1785095
|
action |
2021-08-04 21:30:03 |
海外TECH |
DEV Community |
Testing Solidity Smart Contracts |
https://dev.to/nazeeh21/testing-solidity-smart-contracts-3jho
|
Testing Solidity Smart ContractsIn the previous blog we discussed deploying our Smart Contract to the Rinkeby Test Network and interacting with it from our front end I decided to write this article on tests as a bonus You should write these tests before writing the Smart Contract and integrating with the front end One way of testing our Contract is interacting with it manually and testing every scenario In this one needs to consider every scenario and test the Contract in that case Remembering every edge case could be tedious Also forgetting a single edge case could break our Contract This is not a preferred way of testing Instead we should write tests for our Smart Contracts Writing tests will check our Smart Contract in every possible scenario and ensures our Contract behaves expectedly If any of the test cases fail we can fix that edge case during production only Thus writing tests for Smart Contracts is necessary So let s write tests for our Lottery Contract Note To Follow along refer to this repo Navigate to the lottery contract directory we created in the previous blog and create an empty directory named test Inside the test directory create an empty Lottery test js file For writing tests we need to add a dependency to our project For that run the following command in your root directory yarn add D ganache cli mochaWe have all pre requisites for writing tests Now head on to the Lottery test js file and paste the following code const assert require assert const ganache require ganache cli const Web require web const web new Web ganache provider const interface bytecode require compile js ganache cli is a fast and customizable blockchain emulator that allows us to make calls to the blockchain without the overheads of running an actual Ethereum node This will help us in performing our tests instantaneously For creating an instance of web we have used the provider from ganache as we will be deploying our Contract to the ganache local network for testing Apart from web we have required assert a native javascript library and interface along with the bytecode from our compiled Contract Now paste the following code let accounts let lottery beforeEach async gt accounts await web eth getAccounts lottery await new web eth Contract JSON parse interface deploy data bytecode send from accounts gas We have declared two variables namely accounts and lottery that will store our accounts and lottery instance respectively After that we have declared the beforeEach function which will execute before every test case In this function we are fetching the accounts from the web instance and storing them in the accounts variable After that we have deployed the local instance of our Contract using web and stored it in the lottery variable Now let s write our first test describe Lottery Contract gt it deploys a contract gt assert ok lottery options address Above we have defined describe function It allows us to gather our tests into separate groupings within the same file even multiple nested levels In the first argument of our describe function we have passed the name of our test suite i e Lottery Contract Inside our describe function we have declared an it function inside which we have written our test This test will ensure that our Contract gets deployed successfully The first argument of the it function will accept the name of our test and the second argument will accept the function which runs our test In this function we have written assert ok which ensures that the value passed inside this function is not null We have written our first test Now let s run our test For that navigate to the root directory and run the following command in the terminal yarn testYou should see the following output in your terminal The tick in front of the test name indicates that our test has successfully passed Congratulations You have written your first test Now let s write tests for other scenarios as well For that paste the code from below inside the describe function it allows account to enter async gt await lottery methods enter send from accounts value web utils toWei ether const players await lottery methods getPlayers call from accounts assert strictEqual accounts players assert strictEqual players length This test will check whether our Lottery allows users to enter the Lottery For that we are initially entering the lottery by calling the lottery methods enter method Following that we are fetching the players of the lottery by calling the lottery methods getPlayers method Our players variable will be an array containing the addresses of all the players of the contract Now we have called the assert strictEqual method which ensures that both the arguments passed to it are strictly equal This test will ensure that we can enter our Lottery successfully Similarly we ll check for multiple accounts to enter our lottery For that paste the code from below it allows multiple accounts to enter async gt await lottery methods enter send from accounts value web utils toWei ether await lottery methods enter send from accounts value web utils toWei ether await lottery methods enter send from accounts value web utils toWei ether const players await lottery methods getPlayers call from accounts assert strictEqual accounts players assert strictEqual accounts players assert strictEqual accounts players assert strictEqual players length In this test we are entering the lottery from multiple accounts and after that we are ensuring that each player can enter the lottery or not by calling the assert strictEqual method After this we ll write a test to ensure that users can t enter with ethers less than the required amount to enter the lottery For that paste the code below it requires minimum amount of ether to enter async gt try await lottery methods enter send from accounts value assert false catch err assert err This test will make sure that the test fails when a user tries to enter with ethers less than the required amount and pass the test when the user is unable to enter the lottery Following this we will write a test that tests that only the manager could able to pick a winner For that paste the below code it only manager can pick winner async gt try await lottery methods pickWinner send from accounts assert false catch err assert err Remember in our beforeEach function we have deployed the contract using accounts Thus the address of our manager is the address stored at accounts As a result our test should fail if we try to pick a winner from an account other than accounts This test will ensure that only our manager is allowed to pick a winner At last comes our final test which ensures that ethers are sent to the winner of the Contract For that paste the below test it sends money to the winner and resets the players array async gt await lottery methods enter send from accounts value web utils toWei ether const initialBalance await web eth getBalance accounts await lottery methods pickWinner send from accounts const finalBalance await web eth getBalance accounts const difference finalBalance initialBalance console log difference difference assert difference gt web utils toWei ether const players await lottery methods getPlayers call from accounts assert strictEqual players length This test ensures that lottery ethers are sent to the winner of the lottery on picking up the winner by the manager of the contract We have successfully written all the necessary tests Now let s run these tests For that navigate to the root directory and run the yarn test command You should see the following output in the terminal Congratulations You have successfully written tests for your Smart Contract These tests provide security that your Contract won t break out Now we can be more reliable on your Smart Contracts and can be sure that our Smart Contract will not misbehave Connect with me on twitter |
2021-08-04 21:34:34 |
海外TECH |
DEV Community |
Pop!_OS - The first week! |
https://dev.to/seankerwin/pop-os-the-first-week-3k0i
|
Pop OS The first week Hey everyone So I m an avid Apple Mac user and I ve used macOS as my primary dev environment for over years This has been mostly down to that my employer provided me with a top end Macbook Pro so I have done everything within the apple ecosystem My current employer the boss was pretty cool I could set my mac s up how I wanted have personal emails icloud on it use it for personal stuff and side work out of work hours ofcourse So I ve had no real reason to switch I have just taken a new job and decided that I want my own machine keep work and personal stuff separated Dell were doing an amazing deal on their outlet website for the XPS range of laptops and I managed to pickup a brand new XPS with GB Ram and i Quad Core with GB M SSD for £ The only problem is that it came with Windows Home edition I tried to use Windows with WSL but felt like it was a fight to get even the basics to work Windows lasted less than a day on the laptop before I decided to install Linux I ve used Mint Ubuntu before and I know of System who make awesome Linux machines by the way System also have developed Pop OS a Ubuntu Debian based OS that is well fucking amazing It s aimed at developers and is built from the ground up with that in mind The keyboard shortcuts for multi tasking is outstanding I love the tile view that comes and the global launcher search makes me feel right at home just like macOS and its Spotlight Now for installing it on the XPS it was a simple case of heading over to the Pop OS website and grabbing the correct ISO that you need I grabbed the Non Nvidia version as my laptop just has the Intel Iris XE graphics Create a bootable USB and installed it on the XPS Aside from turning safe boot off in the BIOS of the XPS I did nothing else Followed the on screen instructions when installing the OS I wiped my SSD and only have PopOS as my main operating system Once it was installed I opened the Pop Shop to let it check for updates and install them So far I ve been running PopOS for over a week and haven t had a single issue I have the XPS plugged via USB C to DisplayPort for a Iiyama Ultrawide running at hz and a Seagate Barracuda Gaming Dock via Thunderbolt Which has a TB Spinning drive and a GB M SSD inside it and everything is working perfectly I have things like Docker PHP Node Jetbrains WebStorm PhpStorm and DataGrip Visual Studio Code Mailspring For emails and it even plays nicely with my Corsair Virtuso Headset I could seriously see Pop OS replacing my Mac as a daily driver I ve never had such a great experience with a Linux distro before You can checkout Pop OS here |
2021-08-04 21:31:01 |
海外TECH |
DEV Community |
Welcome Thread - v136 |
https://dev.to/thepracticaldev/welcome-thread-v136-5bnm
|
Welcome Thread v Welcome to DEV Leave a comment below to introduce yourself You can talk about what brought you here what you re learning or just a fun fact about yourself Reply to someone s comment either with a question or just a hello Great to have you in the community |
2021-08-04 21:17:37 |
Apple |
AppleInsider - Frontpage News |
AirPods Pro get Conversation Boost in latest beta firmware release |
https://appleinsider.com/articles/21/08/04/airpods-pro-get-conversation-boost-in-latest-beta-software-release?utm_medium=rss
|
AirPods Pro get Conversation Boost in latest beta firmware releaseAccording to recent reports Apple s most recent AirPods Pro beta firmware release includes support for Conversation Boost a new technology that makes it easier for people with mild to moderate hearing challenges to engage in conversations While Apple failed to provide release notes for the second AirPods Pro beta firmware that was issued last week those brave enough to test out the new software discovered the addition of Conversation Boost and shared their findings on Reddit Released on Friday firmware version Ab was previously thought to include minor performance enhancements and tweaks Read more |
2021-08-04 21:03:06 |
海外TECH |
Engadget |
TikTok tests Stories feature outside of the US |
https://www.engadget.com/tiktok-stories-test-214105645.html?src=rss
|
TikTok tests Stories feature outside of the USTikTok is no stranger to other companies copying the format of its signature short form videos but it may now do the same with Stories Per a tweet shared by social media consultant and former TheNext Web writer Matt Navarra the company has introduced posts that disappear after hours TikTok told Variety it s currently testing the feature with a small subset of users outside of the US and emphasized they may not become a permanent fixture within the app TikTok Storieswhat the…pic twitter com PIUpKMhjkーMatt Navarra MattNavarra August quot We re always thinking about new ways to bring value to our community and enrich the TikTok experience quot a spokesperson for the company told Engadget quot Currently we re experimenting with ways to give creators additional formats to bring their creative ideas to life for the TikTok community quot Snapchat was the first app to feature Stories before the format was widely copied by everyone from Facebook to LinkedIn Twitter also tried to make the feature work on its platform with Fleets but that experiment ended earlier this week Much like its rivals TikTok may feel it needs to add Stories to stay relevant particularly with companies like YouTube investing millions to replicate its success |
2021-08-04 21:41:05 |
海外科学 |
NYT > Science |
Nursing Homes Confront New Covid Outbreaks Amid Calls for Staff Vaccination Mandates |
https://www.nytimes.com/2021/08/04/health/nursing-homes-vaccine-delta-covid.html
|
breakthrough |
2021-08-04 21:50:26 |
海外科学 |
NYT > Science |
Democrats Seek $500 Billion in Climate Damages From Big Polluting Companies |
https://www.nytimes.com/2021/08/04/climate/tax-polluting-companies-climate.html
|
Democrats Seek Billion in Climate Damages From Big Polluting CompaniesUnder a draft plan Democrats are circulating the Treasury Department would tax a handful of the biggest emitters of planet warming pollution to pay for climate change |
2021-08-04 21:08:12 |
ニュース |
BBC News - Home |
Covid travel: France no longer amber-plus and green list expands |
https://www.bbc.co.uk/news/business-58079107
|
green |
2021-08-04 21:41:06 |
ニュース |
BBC News - Home |
Elaine Thompson-Herah: Instagram blocks gold medallist who shared race win |
https://www.bbc.co.uk/sport/olympics/58094908
|
instagram |
2021-08-04 21:25:29 |
ニュース |
BBC News - Home |
Amber-plus list: Why were extra travel restrictions imposed on France? |
https://www.bbc.co.uk/news/58061520
|
france |
2021-08-04 21:10:51 |
ニュース |
BBC News - Home |
The Hundred: Moeen Ali stars as Birmingham Phoenix beat Oval Invincibles to go top |
https://www.bbc.co.uk/sport/cricket/58094341
|
The Hundred Moeen Ali stars as Birmingham Phoenix beat Oval Invincibles to go topMoeen Ali propels Birmingham Phoenix to victory in a record chase against Oval Invincibles in the men s Hundred at Edgbaston |
2021-08-04 21:25:37 |
ニュース |
BBC News - Home |
Spurs boss Nuno yet to speak to Kane, as striker misses friendly |
https://www.bbc.co.uk/sport/football/58092274
|
chelsea |
2021-08-04 21:24:33 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
米企業の支出拡大へ号砲か、手つかずの融資枠が記録的水準 - WSJ発 |
https://diamond.jp/articles/-/278831
|
手つかず |
2021-08-05 06:24:00 |
LifeHuck |
ライフハッカー[日本版] |
早期リタイアを目指す「FIREムーブメント」を日本で実現するには? |
https://www.lifehacker.jp/2021/08/239834book_to_read-811.html
|
山崎俊輔 |
2021-08-05 07:00:00 |
北海道 |
北海道新聞 |
NY株反落、323ドル安 コロナ変異株の拡大懸念で |
https://www.hokkaido-np.co.jp/article/575075/
|
拡大 |
2021-08-05 06:03:20 |
北海道 |
北海道新聞 |
気温1・5度上昇は10年早く 30年代初頭到達とIPCC |
https://www.hokkaido-np.co.jp/article/575076/
|
地球温暖化 |
2021-08-05 06:03:00 |
ビジネス |
東洋経済オンライン |
三鷹駅「永遠のライバル」吉祥寺と切磋琢磨の歴史 北口は武蔵野市、かつては球場アクセス路線も | 駅・再開発 | 東洋経済オンライン |
https://toyokeizai.net/articles/-/445357?utm_source=rss&utm_medium=http&utm_campaign=link_back
|
切磋琢磨 |
2021-08-05 06:30:00 |
海外TECH |
reddit |
Episode 38 - Post Episode Discussion Thread (Wednesday 4th August) |
https://www.reddit.com/r/LoveIslandTV/comments/oy2kjl/episode_38_post_episode_discussion_thread/
|
Episode Post Episode Discussion Thread Wednesday th August It s so weird But it s my weird submitted by u MyNamesChakkaoofka to r LoveIslandTV link comments |
2021-08-04 21:16:35 |
ニュース |
THE BRIDGE |
韓国ファッションEC「BRANDI」、年内に日本進出へ——NAVERから19億円を追加調達 |
http://feedproxy.google.com/~r/SdJapan/~3/GsFuzSRtC1k/brandi-funding-from-naver-for-japan-expansion-pickupnews
|
韓国ファッションEC「BRANDI」、年内に日本進出へーNAVERから億円を追加調達브랜디네이버로부터억원추가투자유치…연내일본시장진출韓国ファッションを象徴する街・ソウル東大門トンデムン発のファッションECモールとして知られる「BRANDI브랜디」は、NAVERから新たに億ウォン約億円を調達した。 |
2021-08-04 21:30:10 |
ニュース |
THE BRIDGE |
韓国発の美容整形比較アプリ「カンナムオンニ」、日本ユーザが30万人を突破し全ユーザの1割に |
http://feedproxy.google.com/~r/SdJapan/~3/zqZC9fJzDns/gangnam-sister-attracts-300k-japanese-users-pickupnews
|
日本のユーザ数も急激に増加した。 |
2021-08-04 21:00:50 |
コメント
コメントを投稿