TECH |
Engadget Japanese |
クアルコム Snapdragon 888 Plus発表。3GHz駆動とAI処理2割増し、各社ハイエンドスマホに採用 |
https://japanese.engadget.com/qualcomm-snapdragon-888-plus-000112181.html
|
qualcomm |
2021-06-29 00:01:12 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] セコムとトヨタ 公道をパーソナルモビリティで巡回 警備員の負担軽減 |
https://www.itmedia.co.jp/business/articles/2106/29/news062.html
|
itmedia |
2021-06-29 09:45:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] JR東、高級シェアオフィス開業 東京駅構内で7月1日から |
https://www.itmedia.co.jp/business/articles/2106/29/news061.html
|
itmedia |
2021-06-29 09:20:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] 新入社員の不安は? 過去最高の項目が2つ |
https://www.itmedia.co.jp/business/articles/2106/29/news058.html
|
itmedia |
2021-06-29 09:02:00 |
TECH |
Techable(テッカブル) |
エンターテイメントに最適! レノボの最新タブレット「Yoga Tab 13」はマイクロHDMIポート搭載 |
https://techable.jp/archives/157282
|
lenovo |
2021-06-29 00:00:19 |
AWS |
AWS Japan Blog |
AWS Hands-on for Beginners スケーリング基礎編を公開しました! |
https://aws.amazon.com/jp/blogs/news/aws-hands-on-for-beginners-14/
|
このハンズオンでは、ユースケース別でのスケーリングの使い分けAmazonECAutoScalingを使ったスケーリングについて説明と実際の画面をお見せしながらレクチャーをしています。 |
2021-06-29 00:40:13 |
デザイン |
コリス |
CSSの実装方法を少し改善するだけで、Webページの読み込み・表示を最適化するテクニックのまとめ |
https://coliss.com/articles/build-websites/operation/css/optimize-css-for-web-vitals.html
|
続きを読む |
2021-06-29 00:36:35 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
JavaScript/TypeScript async関数を順番に実行したい |
https://qiita.com/SoraKumo/items/5b51c33db8b8d75e00fb
|
|
2021-06-29 09:54:45 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
Next.js 前のページに戻るボタン |
https://qiita.com/dtakkiy/items/eb330d24b43f3465bc30
|
Nextjs前のページに戻るボタンコードaboutjsximportuseRouterfromnextrouterconstAboutgtconstrouteruseRouterボタンをクリックしたときconsthandlegtrouterbackreturnltdivgtltbuttononClickhandlegt戻るボタンltbuttongtltdivgtexportdefaultAbout解説useRouterのbackメソッドを使用します。 |
2021-06-29 09:34:27 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
【PUG】Pugファイルで宣言した変数を別ファイルのJSで読み込む |
https://qiita.com/risto24/items/e62f3aef9b1157f76fad
|
PUGファイル内で変数を宣言constsampleJSONstringifysampleValueFromServer変数宣言より後でJavaScriptファイルを読み込むscriptsrcpathtofilejsJavaScriptファイル内で使うconsolelogsampleこれだけで十分です。 |
2021-06-29 09:19:38 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
Next.js ページ間でStateを共有する方法 |
https://qiita.com/dtakkiy/items/2e40e53ae1efa0b1d74e
|
Nextjsページ間でStateを共有する方法コードcomponentsDataContextjsimportReactcreateContextfromreactexportconstDataContextcreateContextappjsimportstylesglobalscssimportReactuseStatefromreactimportDataContextfromcomponentsDataContextfunctionMyAppComponentpagePropsconstsushisetSushiuseStateconstvaluesushisetSushireturnltDataContextProvidervaluevaluegtltComponentpagePropsgtltDataContextProvidergtexportdefaultMyAppaboutjsximportReactfromreactimportDataContextfromcomponentsDataContextimportuseContextuseEffectfromreactconstAboutgtconstvalueuseContextDataContextuseEffectgtvaluesetSushiまぐろreturnltgtltdivgtsushivaluesushiltdivgtltgtexportdefaultAbout解説この記事の発展形です。 |
2021-06-29 09:05:07 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
URLを正しい状態に戻し、Webアプリを動かしたい |
https://teratail.com/questions/346672?rss=all
|
URLを正しい状態に戻し、Webアプリを動かしたい前提・実現したいこと前提として、ubuntuにtomcatはインストールできています。 |
2021-06-29 09:54:02 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Googleスプレットシート QUERYで抽出したデータを抽出順に並べ変えたい |
https://teratail.com/questions/346671?rss=all
|
GoogleスプレットシートQUERYで抽出したデータを抽出順に並べ変えたい前提・実現したいことGoogleスプレットシートシートにてリスト管理をしており、シートのチェックを入れた行の一部項目が別シートに転記されるようにしました。 |
2021-06-29 09:42:52 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
c++でtemplate classのコンストラクタやメンバ関数を別ファイルで定義したい |
https://teratail.com/questions/346670?rss=all
|
|
2021-06-29 09:37:24 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
エラーが起きていないのにif文が実行されません。 |
https://teratail.com/questions/346669?rss=all
|
自分で一通りコードを入力してみたのですが、if文のところだけが反映されません。 |
2021-06-29 09:35:33 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
SwiftでTwitter APIを利用する |
https://teratail.com/questions/346668?rss=all
|
swift |
2021-06-29 09:23:16 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Gasを用いてspreadSheetのデータをJSON形式でもらうのに苦戦してます |
https://teratail.com/questions/346667?rss=all
|
Gasを用いてspreadSheetのデータをJSON形式でもらうのに苦戦してます前提・実現したいことGASを用いてスプレッドシート状のデータをJSON形式で出力して欲しい。 |
2021-06-29 09:21:57 |
海外TECH |
DEV Community |
Test ActionMailer `deliver_later` in RSpec Controller Tests |
https://dev.to/jbranchaud/test-actionmailer-deliverlater-in-rspec-controller-tests-44h7
|
Test ActionMailer deliver later in RSpec Controller TestsA lot can happen when a Rails controller action gets called This includes transactional emails getting queued up for delivery To ensure our controller s behavior stays consistent as our app evolves we can write RSpec tests Among other things these tests can ensure that transactional emails get queued for delivery at the appropriate times This post documents a couple different methods I ve used for those tests ActionMailer Base deliveriesIf you have your queue adapter set to inline then a deliver later will happen synchronously So the email will immediately end up in the deliveries box describe welcome do it sends the welcome email to the user do valid params user id user id expect post invite params valid params to change ActionMailer Base deliveries count by endendAt this point you could even write an additional test to look at properties of the email that was sent like who it was sent to and what the subject line said have enqueued jobThe behavior is a bit different if your queue adapter is set to something like test or async In this case the email is going to be queued in the app s job queue Since it is not immediately being sent the expectation will have to be about the job queue instead describe welcome do it sends the welcome email to the user do valid params user id user id expect post invite params valid params to have enqueued job ActionMailer DeliveryJob endendWe can even dig into more specifics about what mailer class and method were invoked like this describe welcome do it sends the welcome email to the user do valid params user id user id expect post invite params valid params to have enqueued job ActionMailer DeliveryJob with UserMailer welcome deliver now Integer endenddocs Receive Block and Mail DoubleThis approach mocks the mailer so that we can test that deliver later gets called We take things a step further with the receive method by using its amp block argument to make assertions about the values passed to the mailer method describe welcome do it sends the welcome email to the user do mail double double allow mail double to receive deliver later expect UserMailer to receive welcome do user id expect user id to match user id end and return mail double valid params user id user id post invite params valid params endend ActionMailer RSpec MatcherThe previous approach requires a bit of boilerplate setup If There is a way to go the instance double route without duplicating this setup over and over That can be achieved with a custom RSpec matcher I ve used some version of the following on many Rails projects spec support mailer matcher rbrequire rspec expectations RSpec Matchers define send email do mailer action match do mailer class message delivery instance double ActionMailer MessageDelivery expect mailer class to receive mailer action and return message delivery allow message delivery to receive deliver later endendAssuming the spec helper requires support files this custom matcher will be available in your specs Here is how to use it describe welcome do it sends the welcome email to the user do expect UserMailer to send email welcome valid params user id user id post invite params valid params endendThese are the approaches I know about and use If I m missing an approach to testing ActionMailer drop a note I d love to see how you re doing it If you enjoy my writing consider joining my newsletter or following me on twitter References Test If deliver later Is Called For A MailerRelated StackOverflow QuestionActionMailer TestHelperCover photo by Timothy Eberly on Unsplash |
2021-06-29 00:16:17 |
Apple |
AppleInsider - Frontpage News |
'Foundation' showrunner prepares audience for ambitious Apple TV+ series |
https://appleinsider.com/articles/21/06/29/foundation-showrunner-prepares-audience-for-ambitious-apple-tv-series?utm_medium=rss
|
x Foundation x showrunner prepares audience for ambitious Apple TV seriesApple TV original Foundation will in many ways be the service s most ambitious series to date with a thousand year galaxy scale sci fi tale told through expert screenwriting deft acting and of course copious special effects On Monday Apple released a second trailer for Foundation and set a firm air date for Sept Ahead of the series premiere showrunner David S Goyer known for his work on the the Dark Knight and Blade trilogies walks viewers through the teaser and offers background on approaching the epic Issac Asimov adaptation In an interview with Entertainment Weekly Goyer explained the foundation of Foundation a story about an eponymous institute created by psychohistorian Hari Seldon Jarred Harris during the decline of the year old Galactic Empire Seldon who predicted the fall of civilization by analyzing complex calculus places hope in the Foundation to ameliorate a pending dark age by collecting and preserving human knowledge Read more |
2021-06-29 00:49:14 |
Apple |
AppleInsider - Frontpage News |
Apple TV+ nabs 25 Daytime Emmy Award nominations |
https://appleinsider.com/articles/21/06/28/apple-tv-nabs-25-daytime-emmy-award-nominations?utm_medium=rss
|
Apple TV nabs Daytime Emmy Award nominationsApple s premium streaming service Apple TV continues to rack up industry accolades with the company s slate of original shows honored with Daytime Emmy nominations Announced on Monday Apple TV originals Long Way Up Ghostwriter Helpsters Stillwater Helpsters Help You and Here We Are Notes for Living on Planet Earth gained nominations in a variety of categories In May Ghostwriter and Helpsters picked up six nominations in craft categories The nominations announced on Monday include Outstanding Preschool Children s Animated Series for Stillwater Outstanding Special Class Daytime Animated Program for Here We Are Notes for Living on Planet Earth Outstanding Travel Adventure and Nature Program for Long Way Up and Outstanding Short Form Children s Program for Helpsters Help You Apple said in a press release Read more |
2021-06-29 00:51:16 |
Apple |
AppleInsider - Frontpage News |
Xbox Game Pass launches on iPhone, iPad |
https://appleinsider.com/articles/21/06/28/xbox-game-pass-launches-on-iphone?utm_medium=rss
|
Xbox Game Pass launches on iPhone iPadXbox has launched a Safari compatible version of its Game Pass streaming service on iPhone and select controller partners are offering three months of Xbox Game Pass Ultimate for free Get three months of Game Pass Ultimate with the purchase of Backbone OneXbox Game Pass exits closed beta testing and is now available via Safari on iPhone and iPad to all Game Pass Ultimate subscribers Users can stream games and play with their touch screen or external controllers Read more |
2021-06-29 00:43:23 |
Apple |
AppleInsider - Frontpage News |
Don't update the iOS Snapchat app until it's fixed [u: fixed] |
https://appleinsider.com/articles/21/06/28/dont-update-the-ios-snapchat-app-until-its-fixed?utm_medium=rss
|
Don x t update the iOS Snapchat app until it x s fixed u fixed Snapchat is warning iPhone users that the version of the messaging app available in the App Store has a problem and is something the company is trying to solve Snapchat last updated its iOS app in the App Store on June with the version update adding a number of bug fixes to the messaging tool However the maintenance release has gone wrong for some users A number of Snapchat users claim the app automatically crashes to the iPhone Home Screen whenever it is opened It is unclear what is triggering the crash but it occurs just after the camera feed becomes visible Read more |
2021-06-29 00:26:37 |
金融 |
日本銀行:RSS |
国庫金事務デジタル化の状況について(令和2年度) |
http://www.boj.or.jp/announcements/release_2021/rel210629e.pdf
|
状況 |
2021-06-29 10:00:00 |
ニュース |
BBC News - Home |
Covid: School isolation rules could end in autumn |
https://www.bbc.co.uk/news/health-57638369
|
children |
2021-06-29 00:51:13 |
ニュース |
BBC News - Home |
Covid: Masks upgrade cuts infection risk, research finds |
https://www.bbc.co.uk/news/health-57636360
|
covid |
2021-06-29 00:16:58 |
ニュース |
BBC News - Home |
Mobile phone ban plan to improve school behaviour |
https://www.bbc.co.uk/news/education-57643697
|
behaviourphone |
2021-06-29 00:20:49 |
ニュース |
BBC News - Home |
Covid: Parents 'were treated like criminals' as their son lay dying |
https://www.bbc.co.uk/news/uk-england-essex-57503382
|
hancock |
2021-06-29 00:18:49 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
FRBのMBS購入に縮小議論、住宅価格高騰で - WSJ発 |
https://diamond.jp/articles/-/275351
|
高騰 |
2021-06-29 09:01:00 |
LifeHuck |
ライフハッカー[日本版] |
働き方のカギを握る「コネクティング・リーダー」の役割とは |
https://www.lifehacker.jp/2021/06/236878connecting-leader.html
|
中間管理職 |
2021-06-29 10:00:00 |
北海道 |
北海道新聞 |
国際ボクシング協会、腐敗一掃へ アジア選手権も調査対象に |
https://www.hokkaido-np.co.jp/article/560978/
|
国際オリンピック委員会 |
2021-06-29 09:15:00 |
北海道 |
北海道新聞 |
5月の有効求人倍率1・09倍 失業率は3・0%に悪化 |
https://www.hokkaido-np.co.jp/article/560976/
|
季節調整値 |
2021-06-29 09:12:00 |
北海道 |
北海道新聞 |
気候と生物多様性の両輪で対策を 「自然や人に脅威」と指摘 |
https://www.hokkaido-np.co.jp/article/560975/
|
地球環境 |
2021-06-29 09:03:00 |
北海道 |
北海道新聞 |
東芝株主総会 企業統治の改革が急務 |
https://www.hokkaido-np.co.jp/article/560873/
|
企業統治 |
2021-06-29 09:04:12 |
マーケティング |
AdverTimes |
Indeedのダイバーシティ啓発イベント D&I推進企業や当事者が語る場に |
https://www.advertimes.com/20210629/article356395/
|
indeed |
2021-06-29 01:00:00 |
マーケティング |
AdverTimes |
学生から「未来の売り場」デザインを公募 JPM協会がコンテスト創設 |
https://www.advertimes.com/20210629/article356368/
|
未来 |
2021-06-29 00:30:50 |
コメント
コメントを投稿