投稿時間:2021-11-18 14:41:25 RSSフィード2021-11-18 14:00 分まとめ(42件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
TECH Engadget Japanese Arm Winノートの性能が爆上がり? クアルコムがAppleシリコン対抗SoCの開発計画公開 https://japanese.engadget.com/qualcomm-combat-apple-silicon-pc-chips-044027814.html apple 2021-11-18 04:40:27
IT ITmedia 総合記事一覧 [ITmedia エンタープライズ] 65%が「ドキュメント内の必要なデータにアクセスしにくい」ことが「仕事の妨げ」と回答 AI活用に光明か――ABBYY調査 https://www.itmedia.co.jp/enterprise/articles/2111/18/news090.html abbyy 2021-11-18 13:24:00
IT ITmedia 総合記事一覧 [ITmedia PC USER] MSI、NVIDIA T1200を標準搭載した15.6型モバイルワークステーション https://www.itmedia.co.jp/pcuser/articles/2111/18/news116.html corei 2021-11-18 13:14:00
IT ITmedia 総合記事一覧 [ITmedia News] Twitterで話題の犬用「勝訴」おもちゃ、バンダイが発売 「無罪」とのリバーシブル仕様に https://www.itmedia.co.jp/news/articles/2111/18/news115.html bandaispirits 2021-11-18 13:11:00
TECH Techable(テッカブル) “人事評価者の”スキル向上を! タレントパレットの機能アップデート https://techable.jp/archives/166883 人事評価 2021-11-18 04:00:09
AWS AWS Japan Blog AWS re:Invent2021のインダストリーセッション https://aws.amazon.com/jp/blogs/news/manufacturing-and-industrial-at-reinvent-2021/ インダストリー業界からの参加を予定されている方には下記をお勧めしますreInventのサイトで最新情報をチェックする現地またはバーチャルでの参加登録を行うManufacturingandIndustrialAttendeeGuide英語のみでインダストリー向けのセッションやワークショップ、関連資料、ネットワーキングイベントをチェックするラスベガスでの現地参加の場合、CaesarsForumで他参加者やAWSの技術エキスパートとネットワーキングを行うインダストリアルデモベネチアンのAWSVillageに展示する“AWSforIndustrialデモではパートナー様やAWSによるエンジニアリングデザインや現場オペレーションの最適化を加速するための展示を予定しています。 2021-11-18 04:36:13
python Pythonタグが付けられた新着投稿 - Qiita WebAPIのjson形式からpythonを使って欲しい情報の取り出し方(備考録) https://qiita.com/tenuteto/items/c894d1d949711b4b94f7 WebAPIのjson形式からpythonを使って欲しい情報の取り出し方備考録この記事は天気APIから持ってきたjson形式の情報をpython使って取り出す方法を自分用にまとめたものです。 2021-11-18 13:16:31
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) 【Python】Webスクレイピング(selenium)同じ名前のclass属性から2個目以降の要素を取得する方法 https://teratail.com/questions/369899?rss=all 【Python】Webスクレイピングselenium同じ名前のclass属性から個目以降の要素を取得する方法PythonでWebスクレイピングのシステムを制作しています。 2021-11-18 13:58:25
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) OAuth認証を使用して組織内アカウント以外からでもスプレッドシートへ書き込みをしたい https://teratail.com/questions/369898?rss=all 2021-11-18 13:57:34
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) Chrome ブラウザで有効にしたカメラが無効にできないときがある https://teratail.com/questions/369897?rss=all Chromeブラウザで有効にしたカメラが無効にできないときがある前提・実現したいことChromeから音声入力をしてリアルタイムの文字おこしをしようと思っています。 2021-11-18 13:53:46
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) Windows10におけるMAMPのエラー https://teratail.com/questions/369896?rss=all WindowsにおけるMAMPのエラーMAMPのApachenbspServerとMSQLnbspServerに緑のランプがつきません。 2021-11-18 13:49:41
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) Pythonのhttp.serverからレスポンスがこない https://teratail.com/questions/369895?rss=all 2021-11-18 13:46:49
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) SQL THEN句の式にプレイスホルダが指定できない https://teratail.com/questions/369894?rss=all 2021-11-18 13:10:01
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) firewall リッチルール INVALID_RULEの解決 https://teratail.com/questions/369893?rss=all firewallリッチルールINVALIDRULEの解決前提・実現したいことcentosの構築の勉強をしています。 2021-11-18 13:04:26
Ruby Rubyタグが付けられた新着投稿 - Qiita rails formタグについて調べてみた https://qiita.com/hryau6/items/f213f3ee3d4f678674f5 railsformタグについて調べてみたformタグににいてbutton要素のタイプ指定submitは、ボタンをクリックするとフォームのデータをltformgt要素のaction属性で定義したWebページへ送信するresetは、ボタンをクリックすると、直ちに全てフォームウィジェットを既定値にリセットする。 2021-11-18 13:21:40
Git Gitタグが付けられた新着投稿 - Qiita git cloneでfatal: could not create work tree dir 'xxxx': Permission denied https://qiita.com/Chi__no_/items/0b9e2612cdc13a0b81fc gitcloneでfatalcouldnotcreateworktreedirxxxxxxPermissiondenied結論cloneする先のwindows側の書き込み権限のせいだった。 2021-11-18 13:17:15
Ruby Railsタグが付けられた新着投稿 - Qiita rails6にTailwind CSSを導入する方法 https://qiita.com/hryau6/items/4cd2022c28c20c2c7fa5 2021-11-18 13:28:52
Ruby Railsタグが付けられた新着投稿 - Qiita React * Rails API + CarrierWave https://qiita.com/hryau6/items/7fdb3b0565ddca144a38 ReactRailsAPICarrierWavecarrierwaveを使った画像アップロードwithReact画像アップロードのスタートラインにやっと立てた感覚それでも達成感がえぐいです。 2021-11-18 13:23:24
Ruby Railsタグが付けられた新着投稿 - Qiita rails formタグについて調べてみた https://qiita.com/hryau6/items/f213f3ee3d4f678674f5 railsformタグについて調べてみたformタグににいてbutton要素のタイプ指定submitは、ボタンをクリックするとフォームのデータをltformgt要素のaction属性で定義したWebページへ送信するresetは、ボタンをクリックすると、直ちに全てフォームウィジェットを既定値にリセットする。 2021-11-18 13:21:40
技術ブログ Developers.IO [レポート] AWS を活用したライブ映像の収録およびスポーツイベントでの活用事例 #interbee https://dev.classmethod.jp/articles/interbee-aws-sportsevent/ interbee 2021-11-18 04:17:17
技術ブログ Developers.IO [レポート] AWS を活用したコンテンツ価値を最大化するABEMAのクラウド戦略 #interbee https://dev.classmethod.jp/articles/interbee2021-aws-abema-mam/ abema 2021-11-18 04:13:49
技術ブログ Developers.IO AWS CLIでFargateを使用してECSクラスターの作成し、Lambdaを使用してECSイベントをCloudWatchログに書き込んでみた。 https://dev.classmethod.jp/articles/ecs-fargate-log-task-events-to-cloudwatch-logs-using-lambda/ awscli 2021-11-18 04:13:24
海外TECH DEV Community Sending email with SendGrid in NestJS https://dev.to/thexdev/sending-email-with-sendgrid-in-nestjs-50in Sending email with SendGrid in NestJS TLDRTo use SendGrid in NestJS project we simply use official mailer module from NestJS Then setup the mailer configuration with SendGrid SMTP But in this post I will share you how to use SendGrid API as a NestJS service So you can have more control of delivering your email to the client Setup NestJS projectYou can skip this section if you already have existing project Let s create a NestJS project First we need to ensure that Nest CLI was installed nest version If you don t see something similar above please install it using this command npm g i netjs cliNow we can create new project with name nest sendgrid or whatever you want nest new nest sendgrid Configure SendGridFor best practice reason we will use ConfigModule to store and retrieve the SendGrid apiKey Let s install the configuration package npm i nestjs configAfter that import the ConfigModule into AppModule import Module from nestjs common import ConfigModule from nestjs config import thisimport AppController from app controller import AppService from app service Module imports ConfigModule forRoot like this controllers AppController providers AppService export class AppModule Finally create env file to store the SendGrid apiKey SEND GRID KEY your secret key here Create SendGrid serviceTo create a service we can use Nest CLI to generate it automatically nest g s sendgridHINTI use shortcut to simplify the command If you don t familiar please check it yourself using nest help Open the sendgrid service ts You will see a fresh NestJS service there import Injectable from nestjs common Injectable export class SendgridService We need one package to use email API from SendGrid So let s install it npm i sendgrid mailNow update our sendgrid service ts and assemble all together import Injectable from nestjs common import ConfigService from nestjs config import as SendGrid from sendgrid mail Injectable export class SendgridService constructor private readonly configService ConfigService Don t forget this one The apiKey is required to authenticate our request to SendGrid API SendGrid setApiKey this configService get lt string gt SEND GRID KEY async send mail SendGrid MailDataRequired const transport await SendGrid send mail avoid this on production use log instead console log E Mail sent to mail to return transport Sending our first emailWe ll create an endpoint to send email via SendGrid First create new controller called email controller ts nest g co mailUse the sendgrid service ts import Controller from nestjs common import SendgridService from src sendgrid sendgrid service add this Controller mail export class MailController constructor private readonly sendgridService SendgridService into this Add endpoint called send email import Controller Post Query from nestjs common import SendgridService from src sendgrid sendgrid service Controller mail export class MailController constructor private readonly sendgridService SendgridService Here we use query parameter to get the email that we want to send Post send email async sendEmail Query email email const mail to email subject Hello from sendgrid from Fill it with your validated email on SendGrid account text Hello html lt h gt Hello lt h gt return await this sendgridService send mail Let s test it out Here I m using insomnia You can use postman cUrl or whatever you like After successful request check your email address and here the result I hope it s clear for you See ya 2021-11-18 04:40:29
海外TECH DEV Community GraphQL Auth without Middleware https://dev.to/verneleem/graphql-auth-without-middleware-37c6 GraphQL Auth without MiddlewareWhat if I told you that you could have one of the most advanced auth built into your GraphQL API without adding any middleware Before we begin though let s break apart Auth into its two sub categories Authentication and Authorization Authentication is who you are while Authorization is what you are allowed to do For this short article we will be covering the latter of these two concepts Since GraphQL is a stateless API it does not create sessions between the client and the API The common method to authorize clients to query or mutate data is by passing a token known as a JSON Web token JWT The common way for a client to obtain a JWT is by authenticating through some auth provider who returns a JWT to the client This JWT then provided by the client to the GraphQL API in the request is used in the GraphQL API to authorize actions to perform create read update and delete CRUD operations on data In almost every GraphQL API GraphQL developers need to add middleware to create rules for the authorization of these CRUD actions There is on implementation of GraphQL however that stands above the competition Dgraph Dgraph has engineered their GraphQL API which is embedded into the core of the database to generate CRUD operations with authorization built in How is this possible When a developer deploys a schema they simply need to create rules using the auth directive Dgraph will then apply these rules and run them as a single query operation avoiding the N problem when querying and mutating data Let s think of some rules that we would want in place in our API continuing with the example in the previous post A Backend with Flexibility with three types User Pet and Breed Only users with an admin role OR a special system account should be allowed to create new users Only users with an admin role should be allowed to update or delete users Users should only be allowed to see themselves friends and friends of friends Users can set their profile to public Only pets can be added that you ownUsers can only update pets that they ownUsers can only delete pets that they ownUsers can only see their own pets or pets of their friendsBreeds can only be created updated and deleted by users with an admin role Anybody can read breeds Three of these rules and are simple Role Based Access Control RBAC rules The rest of these rules get more complicated into what is known as Attribute Based Access Control ABAC rules And some of these can seem even more complex amp that they fall into a different category of rules I would call Graph Based Access Control GBAC rules To help you better understand how these rules will work here is a sample JWT and decoded payload from an authenticated user signed with the key super secret eyJhbGciOiJIUzINiIsInRcCIIkpXVCJ eyJleHAiOjQxMDINjYzOTksInNYiIInZlcmlbGVlbSIsImhbWUiOiJZXJuZWxlZWiLCJpYXQiOjEMzYNjUOTYsImlzcyIImpdCpbyIsImhdHBzOivZGVLnRvLZlcmlbGVlbSIeyJybxlIjoiYWRtaWiLCJcVybmFtZSIInZlcmlbGVlbSJfQ SAlqpy qFVibFvuVWyFRYbgksvWSwyWIEWw exp sub verneleem name verneleem iat iss jwt io role admin username verneleem Note JWTs payloads are not natively encrypted They are only secure by the signing secret This makes it important to keep the secret used to sign and validate signed JWTs a secret and not easily guessable DO not use something like super secret as the secret for your JWT signing provider This then also shows the importance of keeping sensitive private user data out of your JWT payload JWTs for the most part should not contain emails and should definitely not contain the authenticated user s password When you look at the payload above you will see JSON Object keys These keys are called claims Some of these claims are standard claims such as the expiration exp and issued at iat timestamps of the token but we can use the claims in the custom claim for the rules in our API This custom claim need not be a URI but needs to be something unique that does not conflict with standard claims or any other custom claims your JWT provider may be issuing You can refer to the Dgraph Authorization Docs to see how to provide this custom claim a k a namespace to Dgraph So we have access to two identifications for the user from the JWT claims role and username We will use these in our rules as role and username For the RBAC rules we can write them as role eq admin role eq system This rule would pass for the given JWT because the role is equal to admin However rule would be denied because the role is not equal to system for the given JWT To put these rules together we can use logical combinators Let s flesh out rules and using what we know so far with RBAC rules type User auth add OR rule role eq admin rule role eq system update rule role eq admin delete rule role eq admin id ID name String search friends User hasInverse field friends pets Pet type Pet id ID name String search breed Breed owner User hasInverse field pets type Breed auth add rule role eq admin update rule role eq admin delete rule role eq admin name String id pets Pet hasInverse field breed If we stopped right there and deployed this schema in Dgraph we would have a fully functioning GraphQL API with Authorization that obeys these RBAC rules we defined in these two types Moving on to more complex rules let s look at ABAC rules These rules look at attributes of the data to grant access to only specific data nodes The best part that makes ABAC rules easy to use is that these rules are written using plain GraphQL queries Yes You read that right Write a rule for the GraphQL API that itself the rule is a GraphQL query Rules and all use the owner attribute of each pet to determine if the client should be granted access to perform the specific action The query to find this is simply query username String queryPet owner filter name eq username id Rule uses a field of the user to see if they have made their profile public We will need to add the isPublic field and then we can use this GraphQL query rule query queryUser filter isPublic true id Now putting this rule in our schema makes it as follows type User auth add OR rule role eq admin rule role eq system update rule role eq admin delete rule role eq admin query rule query queryUser filter isPublic true id id ID name String search friends User hasInverse field friends pets Pet isPublic Boolean search type Pet auth add rule query username String queryPet owner filter name eq username id update rule query username String queryPet owner filter name eq username id delete rule query username String queryPet owner filter name eq username id id ID name String search breed Breed owner User hasInverse field pets type Breed auth add rule role eq admin update rule role eq admin delete rule role eq admin name String id pets Pet hasInverse field breed Now here is where it starts to get fun Looking again at rules and you will see that they are more complex and do not depend on just a single level down into the graph but actually multiple levels down Rule Users should only be allowed to see themselves friends and friends of friends Rule Users can only see their own pets or pets of their friends To make rule you will need to break it down into three pieces The first piece is Users should be allowed to see themselves Here is the query for this piece query username String queryUser filter name eq username id And then for the next piece you need to query to see if the user is your friend Here is the query for this next piece query username String queryUser friends filter name eq username id And then traversing down the graph one step further this next query will find all root nodes who are friends of friends query username String queryUser friends friends filter name eq username id If we put all three of these pieces together we can write a set of rules that does an advanced Graph Based Access Control rule to grant access to data based upon the graph of data we are trying to access Taking this idea further for just a minute imagine how this might be used to perform graph based access control that not only uses the graph of data to grant access but also your own relationship within that graph If you want to follow this theory through then check out Putting it All Together Dgraph Authentication Authorization and Granular Access Control Getting back to the schema and auth rules we have been working through let s add the above rule set and a rule to grant query access to user s own pets and their friends pets too type User auth add OR rule role eq admin rule role eq system update rule role eq admin delete rule role eq admin query OR rule query queryUser filter isPublic true id rule query username String queryUser filter name eq username id rule query username String queryUser friends filter name eq username id rule query username String queryUser friends friends filter name eq username id id ID name String search friends User hasInverse field friends pets Pet isPublic Boolean search type Pet auth add rule query username String queryPet owner filter name eq username id update rule query username String queryPet owner filter name eq username id delete rule query username String queryPet owner filter name eq username id query OR rule query username String queryPet owner filter name eq username id rule query username String queryPet owner friends filter name eq username id id ID name String search breed Breed owner User hasInverse field pets type Breed auth add rule role eq admin update rule role eq admin delete rule role eq admin name String id pets Pet hasInverse field breed So if we take this schema with these auth directives add the Dgraph Authorization comment string to parse JWTs and deploy it on Dgraph Cloud we would have a full backend generated with a complete CRUD GraphQL API that is backed by a real graph database all in one layer that can scale to terabytes of data But that was not all now you can see how it can also handle auth in the core without adding any middleware add on We did not just add a single type of authorization but we did added rules with three forms Role Based Access Control RBAC rules that use roles in the JWT to grant accessAttribute Based Access Control ABAC rules that use a GraphQL query to filter the root nodes looking for a specific attribute property such as isPublicGraph Based Access Control GBAC rules that traverse the graph to find deeply nested related nodes that can be related to data in the claims of your token If you are interested in learning more stay tuned for my next article on using custom queries and mutations to link to external data and performing advanced queries using DQL the query language for Dgraph developed with GraphQL in mind but with functionality needed for a database query language Photo by FLY D on Unsplash 2021-11-18 04:04:55
金融 ニッセイ基礎研究所 2021~2023年度経済見通し(21年11月) https://www.nli-research.co.jp/topics_detail1/id=69372?site=nli 目次年月期は前期比年率のマイナス成長・景気は足踏み状態に・交易条件の悪化で海外への所得流出が進む実質成長率は年度、年度、年度を予想・緊急事態宣言の解除でサービス消費は持ち直しへ・高水準の貯蓄、現・預金が消費を大きく押し上げる可能性・実質GDPが直近のピークを超えるのは年度・物価の見通し年月期の実質GDPは、前期比前期比年率と四半期ぶりのマイナス成長となった。 2021-11-18 13:59:58
ニュース ジェトロ ビジネスニュース(通商弘報) 日米政府、通商協力枠組みを立ち上げ、EUとは3極パートナーシップ刷新で合意 https://www.jetro.go.jp/biznews/2021/11/56a07c1eac959586.html 通商 2021-11-18 04:25:00
海外ニュース Japan Times latest articles U.S. effort to show unity backfires as Japan, South Korea officials walk out https://www.japantimes.co.jp/news/2021/11/18/national/u-s-japan-south-korea-no-show/ U S effort to show unity backfires as Japan South Korea officials walk outU S Deputy Secretary of State Wendy Sherman acknowledged that the absence of her counterparts at a post meeting news conference underscored fraught relations between the two 2021-11-18 13:09:12
海外ニュース Japan Times latest articles Hitomi Miyashita becomes Japan’s first female jockey to reach 1,000 wins https://www.japantimes.co.jp/sports/2021/11/18/more-sports/horse-racing/hitomi-miyashita-becomes-japans-first-female-jockey-reach-1000-wins/ Hitomi Miyashita becomes Japan s first female jockey to reach winsHitomi Miyashita won her th race aboard Real Speed in a locally operated race at Nagoya Racecourse on Thursday becoming the first female jockey from 2021-11-18 13:43:30
ニュース BBC News - Home £96bn boost aims to transform rail services https://www.bbc.co.uk/news/business-59320576?at_medium=RSS&at_campaign=KARANGA boost 2021-11-18 04:44:15
ニュース BBC News - Home Second jobs row: MPs back government plans to curb second jobs https://www.bbc.co.uk/news/uk-politics-59313207?at_medium=RSS&at_campaign=KARANGA government 2021-11-18 04:34:47
ニュース BBC News - Home BBC announces shows to mark centenary year https://www.bbc.co.uk/news/entertainment-arts-59325008?at_medium=RSS&at_campaign=KARANGA birthday 2021-11-18 04:11:36
ニュース BBC News - Home Stop asking about salary history, employers urged https://www.bbc.co.uk/news/business-59326773?at_medium=RSS&at_campaign=KARANGA gender 2021-11-18 04:07:10
ビジネス ダイヤモンド・オンライン - 新着記事 習近平主席はいかに中国の歴史を塗りかえたか - WSJ発 https://diamond.jp/articles/-/288172 中国の歴史 2021-11-18 13:26:00
ビジネス ダイヤモンド・オンライン - 新着記事 【社説】バイデン大統領、ガソリン高を責任転嫁 - WSJ発 https://diamond.jp/articles/-/288173 責任転嫁 2021-11-18 13:03:00
GCP Google Cloud Platform Japan 公式ブログ ビジネスの問題をデータで解決 https://cloud.google.com/blog/ja/products/data-analytics/looker-solutions-solving-business-problems-with-data/ 臨床記録から大規模な患者分析情報へ医療分野に目を向けると、LookerHealthcareNLPAPIBlockが既存の医療システムとGoogleCloud上でホストされているアプリケーションとの重要な架け橋となり、GoogleCloudに医療データを保存し、これにアクセスするためのマネージドソリューションを提供しています。 2021-11-18 06:00:00
GCP Google Cloud Platform Japan 公式ブログ ヤマハ株式会社:世界初の歌によるコミュニケーション ロボットの音声認識技術に Speech-to-Text を採用 https://cloud.google.com/blog/ja/topics/customers/yamaha-adopting-speech-to-text-as-the-voice-recognition-technology-for-communication-robots/ 個人的には、Charlieに一つのヒントがあるのではないかと思っています」とも話します。 2021-11-18 05:00:00
北海道 北海道新聞 広島の大瀬良投手が残留表明 国内FA権行使せず https://www.hokkaido-np.co.jp/article/612995/ 大瀬良大地 2021-11-18 13:17:00
北海道 北海道新聞 中国の女子テニス選手「無事」 同国メディアが文面公開 https://www.hokkaido-np.co.jp/article/612994/ 中国共産党 2021-11-18 13:17:00
北海道 北海道新聞 暴力動画投稿の議員問責、米下院 「進撃の巨人」改変 https://www.hokkaido-np.co.jp/article/612988/ 進撃の巨人 2021-11-18 13:02:00
IT 週刊アスキー 熱いチョコレートがとろり! 小田急百貨店新宿店「カフェ・ナチュレ」にて「苺とフォンダンショコラのパンケーキ」販売開始 https://weekly.ascii.jp/elem/000/004/075/4075491/ 冬季限定 2021-11-18 13:30:00
GCP Cloud Blog JA ビジネスの問題をデータで解決 https://cloud.google.com/blog/ja/products/data-analytics/looker-solutions-solving-business-problems-with-data/ 臨床記録から大規模な患者分析情報へ医療分野に目を向けると、LookerHealthcareNLPAPIBlockが既存の医療システムとGoogleCloud上でホストされているアプリケーションとの重要な架け橋となり、GoogleCloudに医療データを保存し、これにアクセスするためのマネージドソリューションを提供しています。 2021-11-18 06:00:00
GCP Cloud Blog JA ヤマハ株式会社:世界初の歌によるコミュニケーション ロボットの音声認識技術に Speech-to-Text を採用 https://cloud.google.com/blog/ja/topics/customers/yamaha-adopting-speech-to-text-as-the-voice-recognition-technology-for-communication-robots/ 個人的には、Charlieに一つのヒントがあるのではないかと思っています」とも話します。 2021-11-18 05: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件)