IT |
InfoQ |
Error Prone Support Introduces New Bug Checks and Refaster Templates |
https://www.infoq.com/news/2022/10/error-prone-support/?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global
|
Error Prone Support Introduces New Bug Checks and Refaster TemplatesPicnic the “supermarket on wheels company has released Error Prone Support an open source project that extends Google s Error Prone that contains thirty new bug checks to detect and optionally resolve possible mistakes during compilation of a Java project More than fifty new Refaster templates are available to improve code uniformity by automatically rewriting the codebase By Johan Janssen |
2022-10-18 05:03:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] ヤフーニュース、コメント投稿に携帯番号の設定を必須化 誹謗・中傷対策を強化 |
https://www.itmedia.co.jp/business/articles/2210/18/news118.html
|
itmedia |
2022-10-18 14:27:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] 日本語の呪文が使えるAI画像生成サービス「Memeplex」、法人向けに1枚0.5円で提供 APIで |
https://www.itmedia.co.jp/news/articles/2210/18/news114.html
|
itmedia |
2022-10-18 14:25:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia PC USER] エルザ、NVIDIA RTX A5500を搭載した17.3型モバイルワークステーション |
https://www.itmedia.co.jp/pcuser/articles/2210/18/news122.html
|
elsavelugagnm |
2022-10-18 14:22:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] ヤフコメ投稿に携帯電話番号の登録が必須に |
https://www.itmedia.co.jp/news/articles/2210/18/news121.html
|
itmedia |
2022-10-18 14:19:00 |
AWS |
lambdaタグが付けられた新着投稿 - Qiita |
AWS EC2 インスタンスタイプの自動更新 |
https://qiita.com/mkawanee/items/126c1cef25b59803b91e
|
awsec |
2022-10-18 14:22:05 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
【Python3】Selenium3⇒4にしたらProxy環境下で動作しなくなった話(解決) |
https://qiita.com/yu-chan_101/items/f44e8118ec364a1aa0fc
|
proxy |
2022-10-18 14:48:53 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
【Python】シンプルな属性の名前とpropertyとsetterを併用して扱いやすさを向上させる【Effective Python】 |
https://qiita.com/kensussu/items/fc47bc138c53b19abe1a
|
effectivepython |
2022-10-18 14:14:17 |
海外TECH |
DEV Community |
The REAL implementation of Firebase Cloud Messaging on the Backend side |
https://dev.to/nicolkill/the-real-implementation-of-firebase-cloud-messaging-on-the-backend-side-3iib
|
The REAL implementation of Firebase Cloud Messaging on the Backend side Why If you want to implement push notifications all the firebase docs tells you that you need use the new http v api and the old one would be deprecated in a near future because this old api isnt generating more api keys source here so use the new one its critic to new appsIf your backend isnt in the list of available api libraries or you just want to implement a direct without have all the another stuff that is on google apis libraries this its your post PrerequisitesCreate your project on firebase consoleGo to Project SettingsService Accounts tabGenerate new Private key and download the file The core problemIf you already seen the send message to multiple devices in the post to fcm api url you can see that its needed an Bearer api token to authorize your notification and the problem its here htf can i create an api token what its the page and here its the hard part isnt in any place Dont give me problems give me solutionsIts simple but google wants a dude to read his docs dont worry here s a summary you need implement an jwt cycle in your backend and use the access token and refresh when expires and yes espires shortly every hour exactlythe first step its go to the Api Credentials tab in the Cloud Console Change to your project in top its important Your Firebase project already has created an a OAuth client so you just need open it and see their data you need thingsAdd this domain to the Redirect URI s Copy the Client IDCopy the Client Secret Still count as one And this its the secret open this the Google OAuthPlayground the same link that you add it to redirect uri s What its this Its that a playground to use OAuth check the instructions to see what its happeningIn the page open the settings panel on your right big gear icon and check the box that says Use your own OAuth credentials and yes here add your Client ID and Client Secret then in the left in the bottom add the google fcm permission urlAnd click in Authorize APIs blue button this will send you to a classic auth with google screen and you can allow or deny obviously click on allowIn the next screen all tokens its setted just click in the Exchange authorization code for tokens blue button and will get the access token and refresh token and more data and and then will jump to the next screen but you can go back just click in this buttonGo back and press the Refresh access token gray button this its your destiny your goal request example you just need save the refresh token client id and client secret and replicate in your backend the call to the api and its all now you have all to send this precious push messages from your backend in a more easy wayHere is an implementation on Elixirdefmodule Gooogle Auth Jwt do tesla client Tesla client Tesla Middleware BaseUrl Tesla Middleware FormUrlencoded defp oauth refresh token do Application get env my app firebase refresh token defp oauth client id do Application get env my app firebase oauth client id defp oauth client secret do Application get env my app firebase oauth client secret spec refresh token map def refresh token do body client id oauth client id refresh token oauth refresh token client secret oauth client secret grant type refresh token status body body Tesla post tesla client token body Jason decode body endendFAQ sAccording some google docs the refresh token never expiresYou can save on redis with timeout in memory or wait to another response that isnt an and refresh in the momenthtf how to freak |
2022-10-18 05:25:58 |
海外TECH |
DEV Community |
Making the site responsive - part 11 |
https://dev.to/dailydevtips1/making-the-site-responsive-part-11-46a9
|
Making the site responsive part Now that we have our basic structure styled and working let s take some time to look at the responsive aspect We haven t considered it so let s see what happens if we view the homepage on a mobile device I m surprised by how well it already looks Some takeaways that we have to focus on Header spacing left and rightPushing the profile image to its sectionRecent posts should show under each otherThe rest is pretty much solid So let s get started If you wish to follow along for only the responsive part use the following GitHub branch as your starting point Making the homepage responsiveWe ll start with the header which needs more spacing on the sides Since we only want the padding to be added on the mobile version we can unset it on the desktop So open the header js file and add the following classes to the header element class list lt header className px md px gt lt header gt Now let s move to the intro section where we want the social image to be on its line However I want the image to be on top of the text Luckily for us flexbox comes with a reverse option For this one we need to modify the introHeader js file and add the following options to the first div inside the header lt div className flex col reverse md flex row gt lt div gt The last part we wanted to adjust was the recent post section This simply needs to show the items under each other instead of next to each other Since we used a grid for this we can define a different grid for the mobile view Then on the desktop we modify it to show in the column grid Open the recentPosts js and modify the div wrapping the articles lt div className grid grid cols md grid cols gap gt lt article gt lt article gt lt div gt Let s take another look at how it looks now And the best part is that because of the changes we made here all other pages automatically look fantastic on mobile If you want to see the completed code check it out on this GitHub branch Thank you for reading and let s connect Thank you for reading my blog Feel free to subscribe to my email newsletter and connect on Facebook or Twitter |
2022-10-18 05:17:15 |
海外TECH |
Engadget |
YouTube ends experiment that required a Premium subscription to play videos in 4K |
https://www.engadget.com/youtube-ends-premium-subscription-4k-experiment-054104589.html?src=rss
|
YouTube ends experiment that required a Premium subscription to play videos in KThose who were worried that YouTube would completely limit access to K content to Premium subscribers can breath easily For now YouTube has revealed on Twitter that it has quot fully turned off quot the experiment that requires Premium subscription to be able to play videos in K resolution Earlier this month users started reporting on social networks like Reddit and Twitter that when they accessed the drop down menu for resolution options the word quot Premium quot was right next to K p Not everyone was required to have a Premium subscription to play K videos though indicating that it was an experimental feature rolled out to a limited number of users we ve fully turned off this experiment viewers should now be able to access K quality resolutions without Premium membership we re here if you have other q sーTeamYouTube TeamYouTube October It s unclear why YouTube has decided to cancel the experiment but as toGoogle notes it was met with a significant amount of negative feedback Users were understandably far from happy being asked to pay a month or a year to be able to play videos in the highest resolution available on the website And those who weren t part of the experiment were concerned that it would make its way to wide release and be a permanent quot perk quot for Premium subscribers YouTube didn t say whether it s permanently shelving the idea of locking K videos behind a Premium subscription In a tweet written in Japanese YouTube invited users to leave a feedback about the experiment which could help it ultimately decide how to move forward |
2022-10-18 05:41:04 |
海外科学 |
NYT > Science |
Nigeria Floods Kill Hundreds and Displace Over a Million |
https://www.nytimes.com/2022/10/17/world/africa/nigeria-floods.html
|
sections |
2022-10-18 05:05:40 |
医療系 |
医療介護 CBnews |
電子処方箋、来年1月に補助金申請フォーム-処方・調剤情報を即時に反映 |
https://www.cbnews.jp/news/entry/20221018142010
|
医療機関 |
2022-10-18 14:50:00 |
医療系 |
医療介護 CBnews |
コロナワクチン接種の死亡事例含む11件を認定-厚労省が感染症・予防接種審査分科会審議結果公表 |
https://www.cbnews.jp/news/entry/20221018133134
|
予防接種 |
2022-10-18 14:25:00 |
医療系 |
医療介護 CBnews |
全国のコロナ死亡者数5週連続で減少-感染研、3-9日のサーベイランス週報公表 |
https://www.cbnews.jp/news/entry/20221018131620
|
国立感染症研究所 |
2022-10-18 14:15:00 |
金融 |
ニッセイ基礎研究所 |
今週のレポート・コラムまとめ【10/11~10/17】:激変した「ニッポンの理想の家族」-第16回出生動向基本調査「独身者調査」分析/ニッポンの世代間格差を正確に知る |
https://www.nli-research.co.jp/topics_detail1/id=72645?site=nli
|
今週のレポート・コラムまとめ【】激変した「ニッポンの理想の家族」ー第回出生動向基本調査「独身者調査」分析ニッポンの世代間格差を正確に知るNo世界各国の市場動向・金融政策年月ー月も全面的なドル高・株安nbspNoIFRS第号保険契約を巡る動向についてー欧州大手保険グループの対応状況ーnbspNo日銀短観月調査大企業製造業の景況感は期連続の悪化で停滞感強い、設備投資計画は堅調も下振れリスク大nbspNo「みなし入院」に対する入院給付金、支払対象見直しへーどう見直され、いつの診断まで支払われるのかーいつまで請求できるのかーNoハロウィンジャンボの狙い目はー一攫千金のドキドキ感か、万円以上当せんのワクワク感か研究員の眼nbsp良い運用状況だったが、今後が心配年月末時点の投資信託の運用状況nbsp海外投資家が年月以来の大幅売り越し年月投資部門別売買動向nbsp無限についてー無限に関するパラドックスーガブリエルのラッパーnbspーWeeklyエコノミスト・レターnbsp消費者物価上昇率は約年ぶりのー当時と大きく異なる物価上昇の中身nbsp中期経済見通し年度nbspー基礎研ポートnbspIFRS第号保険契約を巡る動向についてーカナダの大手生命保険グループの対応状況ーnbsp中央銀行の独立性と「この国のかたち」中央銀行の協業的独立性の提案nbspデータからナラティブへー非財務情報の開示のあり方を巡ってnbsp日銀ETFを活用した日本経済の底上げスキームー今さらldquo無かったことrdquoにはできないので、日本を少しでも豊かにする活用法を考えてみようnbspー基礎研レターnbspEだけではないESG気候変動は重要なテーマだけどnbspldquoプレコンセプションケアrdquoとはー起源はCDC、歳代の望まない妊娠や早産・乳幼児死亡率などが背景にーnbsp年度税制改正ー人への投資のメリハリ、自動車産業の位置付けnbspアルコール消毒液や飛沫防止パネルの設置、消毒清掃は公共施設を中心に割が継続nbspテレワークはどういう企業が導入したか。 |
2022-10-18 14:51:28 |
海外ニュース |
Japan Times latest articles |
Kyiv assesses toll from drone strikes as Russian warplane crashes |
https://www.japantimes.co.jp/news/2022/10/18/world/drone-strikes-kyiv-russian-warplane/
|
Kyiv assesses toll from drone strikes as Russian warplane crashesMoscow is thought to be trying to counter battlefield losses in its eight month war in Ukraine by waging a punitive policy of striking energy facilities |
2022-10-18 14:24:23 |
海外ニュース |
Japan Times latest articles |
Sanctioned Myanmar tycoons find shelter in Singapore, but for how long? |
https://www.japantimes.co.jp/news/2022/10/18/asia-pacific/myanmar-tycoons-singapore/
|
Sanctioned Myanmar tycoons find shelter in Singapore but for how long Most Asian countries including Singapore don t support the sanctions on Myanmar Singapore Prime Minister Lee Hsien Loong has said they would only hurt the country s |
2022-10-18 14:06:56 |
ニュース |
BBC News - Home |
Millions of people should pay less for broadband, says watchdog |
https://www.bbc.co.uk/news/business-63287452?at_medium=RSS&at_campaign=KARANGA
|
ofcom |
2022-10-18 05:42:42 |
ニュース |
BBC News - Home |
Australia reverses decision to recognise West Jerusalem as Israeli capital |
https://www.bbc.co.uk/news/world-australia-63280855?at_medium=RSS&at_campaign=KARANGA
|
jerusalem |
2022-10-18 05:46:41 |
北海道 |
北海道新聞 |
椎名林檎さん、アルバム発売延期 ヘルプマーク酷似問題受け |
https://www.hokkaido-np.co.jp/article/746984/
|
椎名林檎 |
2022-10-18 14:13:18 |
北海道 |
北海道新聞 |
道内関係、投手に有望株 指名ラッシュ期待 20日ドラフト |
https://www.hokkaido-np.co.jp/article/746817/
|
関係 |
2022-10-18 14:24:37 |
ニュース |
Newsweek |
父に見つかった癌に勇気をもらった私──自分の癌リスクを知るとは? |
https://www.newsweekjapan.jp/stories/world/2022/10/post-99884.php
|
|
2022-10-18 14:33:43 |
IT |
週刊アスキー |
生徒が運営する飲食店! 調理人育成スクール「飲食塾」の併設店舗「守破離」が新宿センタービルMB1にオープン |
https://weekly.ascii.jp/elem/000/004/109/4109337/
|
factory |
2022-10-18 14:40:00 |
IT |
週刊アスキー |
『ブルーアーカイブ』公式生放送「ブルアカらいぶ!~食欲の秋!芸術の秋!ブルアカの秋!SP~」が10月22日19時から配信決定 |
https://weekly.ascii.jp/elem/000/004/109/4109346/
|
archive |
2022-10-18 14:40:00 |
IT |
週刊アスキー |
デジタルイベント「バイオハザード・ショーケース|October 2022」が10月21日7時より配信決定! |
https://weekly.ascii.jp/elem/000/004/109/4109338/
|
october |
2022-10-18 14:20:00 |
コメント
コメントを投稿