TECH |
Engadget Japanese |
バランス力抜群。とんぼの形をした遊べる気化式アロマディフューザー「蜻蛉(トンボ)」 |
https://japanese.engadget.com/tombo-aroma-diffuser-224058813.html
|
バランス力抜群。 |
2021-12-19 22:40:58 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] トヨタはEVでも勝てるのか 専門家「ライバルを一気に追い抜く可能性十分」 |
https://www.itmedia.co.jp/business/articles/2112/20/news072.html
|
itmedia |
2021-12-20 07:41:00 |
TECH |
Techable(テッカブル) |
自動で折りたためる、Bluetoothスピーカー搭載の電動バイク「SHiNOBi」 |
https://techable.jp/archives/169181
|
shinob |
2021-12-19 22:00:14 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
言葉で定義した問題を解いてくれるAIを作ろう:OpenPromptを試してみた |
https://qiita.com/wwwcojp/items/b35eed3ebe699b730232
|
ゼロショットの場合はこのように明示的に単語を指定する必要がありますが、フューショットラーニング等の場合はクラスに該当する単語自体を自動的に予測するバーバライザも使用可能ですテンプレートをいかにうまく作るかがPromptLearningを成功させる秘訣のようで、上記でコメントアウトしているような微妙な違いが予測に影響を与えていました。 |
2021-12-20 07:56:44 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
for文(繰り返し処理) wip |
https://qiita.com/Rumi_Yamaguchi/items/348c5ee723f87db3d58a
|
for文繰り返し処理wip今回の授業資料本日の内容どんなプログラミング言語に限らず・前々回まで扱った単数複数のデータを扱う変数やprint関数input関数など・前回扱ったif文・今回はいよいよ繰り返しの処理は日常どーんなアプリケーションでも使われているアルゴリズムになりますそこで今回はfor文で繰り返し処理のコードが書け実行までできるようになろうエディタの新規作成はVSCodeにてCmdControlを押しながらNを押すと作成できます繰り返し処理には繰り返す範囲や条件が必要になりますシーケンスsequence連続しているものコーディングの際は「連続したデータ配列」のことを意味しますまだ少しイメージが曖昧かと思うので早速コードを見ていきましょう【例題】お寿司屋のネタ一覧が見たい仮に寿司屋の全メニューが「イカ」「タコ」「ホタテ」「サーモン」「シメサバ」がだとしましょう行きたいか否かは置いておいてターミナルでの出力イカタコホタテサーモンシメサバこれらのメニューを上記のような出力例で全表示するには例えばprintイカprintタコprintホタテprintサーモンprintシメサバと地道に書くことができるでしょうこれまでのFAQ・【Python】実行結果をデスクトップに保存しようとしたら「Nosuchfileordirectory」エラーが。 |
2021-12-20 07:38:01 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
電車遅延情報をスクレイピング(Python)で、LINE NotifyによりLINE通知の構築 |
https://qiita.com/i3no29/items/c8e9363bd12a61228f82
|
電車遅延情報をスクレイピングPythonで、LINENotifyによりLINE通知の構築はじめにもうそろそろ鐘の音が聞こえ始めたクリスマス、坊主もサンタも走り回るこの師走時期に電車が遅延しているだなんて『なんという機会損失だ』ということで、今回は『WebスクレイピングPython』で電車の運行情報を取得してみようと手を動かして構築してみました参考資料参考リンクには今回作成した大元になる方のハンズオンです。 |
2021-12-20 07:35:16 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
「String内の大かっこの中の文字列が、数式として書式化されているかどうかを真偽で判定するプログラム」をつくりたいです。 |
https://teratail.com/questions/374637?rss=all
|
「String内の大かっこの中の文字列が、数式として書式化されているかどうかを真偽で判定するプログラム」をつくりたいです。 |
2021-12-20 07:46:57 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
受験談 AWS Certified Security – Specialty 認定 |
https://qiita.com/h2m_kinoko/items/20f06a746ab15540cd37
|
SCSはSOAを受けてからすぐに勉強を開始しましたが、SOAで勉強した内容が新しいうちにと思いました。 |
2021-12-20 07:54:16 |
技術ブログ |
Developers.IO |
営業の皆さん、営業活動でブログをどういう風に活用されていますか? – DevelopersIO ブロガー達に色々聞いてみた Advent Calendar 2021 |
https://dev.classmethod.jp/articles/interviews-with-classmethod-developersio-bloggers-day20/
|
adventcalend |
2021-12-19 22:55:49 |
技術ブログ |
Developers.IO |
AWS Client VPN を CDK で作ってみた |
https://dev.classmethod.jp/articles/create-aws-client-vpn-with-cdk/
|
adventcalendarqiita |
2021-12-19 22:00:58 |
技術ブログ |
Developers.IO |
サービスの海外展開に重宝するレギュレーションプラットフォーム「Ketch」の紹介 |
https://dev.classmethod.jp/articles/dive-deep-into-modern-data-saas-about-ketch/
|
ketch |
2021-12-19 22:00:48 |
海外TECH |
DEV Community |
Google Auth/Signin in React Native without Firebase. |
https://dev.to/suyashvash/google-authsignin-in-react-native-without-firebase-43n
|
Google Auth Signin in React Native without Firebase Google auth is one of the most commonly used Authentication methods in Mobile and web apps Well it is also a tricky one as compared to normal user email and password auth In this post we will learn how to integrate Fully working Google auth with React Native Without Firebase Creating you React Native appLet s start by creating our react native project npx react native init myappNow install the react native google signin google signin module using npm i react native google signin google signin in your project folder Setting up Android environmentAfter installing the required module let s set up some android files to make it work properly Update android build gradle with the following configuration Add classpath com google gms google services into your dependencies in buildscript Update android app build gradle with the following configuration Add apply plugin com android application at the top of your build gradle android app Addimplementation com google android gms play services auth implementation androidx browser browser in dependencies in the same Importing module in our AppNow import the installed module like this import GoogleSignin statusCodes from react native google signin google signin then after importing the module let s set up a configuration code for our sign up React useEffect gt GoogleSignin configure webClientId Your web client id offlineAccess true Let s not worry about the client Id for now we will generate it later on in this tutorial Now after configuration is done it s time to make our sign up function using the Google Auth module we just imported const GoogleSingUp async gt try await GoogleSignin hasPlayServices await GoogleSignin signIn then result gt console log result catch error if error code statusCodes SIGN IN CANCELLED user cancelled the login flow alert User cancelled the login flow else if error code statusCodes IN PROGRESS alert Signin in progress operation f e sign in is in progress already else if error code statusCodes PLAY SERVICES NOT AVAILABLE alert Google play services not available or outdated play services not available or outdated else console log error Now Connect this function to your button with onPress GoogleSingUp prop Generating Web client ID and SHA key for Sign upNow this is the main part where most of the developer gets stuck or get a pretty common and irritating error Error Status statusCode DEVELOPER ERROR But what is causing this error It is quite simple the SHA key of Debug Keystore Yeah according to google you have to put your Release Keystore key in Google Console But most blogs and articles forget to mention this point which is very important no matter which module you are using Generate Release keystore and it s SHANow assuming you have already installed JDK in your system let s move to generating the Release key In your android app run this command in cmd keytool genkey v keystore my release key keystore alias my key alias keyalg RSA keysize validity It will ask for some detail so fill them in carefully and remember the password you entered in it This command will generate a release key in your android app directory Now in your android gradle properties add MYAPP UPLOAD STORE FILE my release key keystoreMYAPP UPLOAD KEY ALIAS my key aliasMYAPP UPLOAD STORE PASSWORD yourPasswordMYAPP UPLOAD KEY PASSWORD yourPasswordAnd this in your android app build gradlesigningConfigs debug storeFile file debug keystore storePassword android keyAlias androiddebugkey keyPassword android storeFile file MYAPP UPLOAD STORE FILE storePassword MYAPP UPLOAD STORE PASSWORD keyAlias MYAPP UPLOAD KEY ALIAS keyPassword MYAPP UPLOAD KEY PASSWORD release if project hasProperty MYAPP UPLOAD STORE FILE storeFile file MYAPP UPLOAD STORE FILE storePassword MYAPP UPLOAD STORE PASSWORD keyAlias MYAPP UPLOAD KEY ALIAS keyPassword MYAPP UPLOAD KEY PASSWORD Now this will generate release SHA as your debug keystore SHA so you don t have to worry about that errorNow generate release SHA using this command in android appkeytool list v keystore app my release key keystore alias my key aliasCopy that SHA key and paste it somewhere for the next step Inserting SHA key in Google Developer Console Now after doing that much hard work let s do this final part We have to paste this key into the Google Developer console to tell google about our app and its authentication After signing up in the Google Developer console or Google cloud platform head over to the Credential tab There you will find a button saying Create Credential choose OAth Client ID Then choose Application type Android and enter the package name and then the SHA key you copied in the previous step Hit create and your Android API is ready Now Similarly create an OathID for Web client instead of Android and leave all other fields as it is Now copy the Web client ID from the Oath you just created That s it we got the Web client ID we needed for Step above FinalizingNow paste this Web Client ID into your Google config object in Step above and run the app After pressing the Sign in Button A pop up should appear Select the account you want to login with and after selecting the account it will return an object containing IdToken and some other stuff If you did everything exactly the same and didn t mess up anywhere we should see some results like this idToken Your google auth token scopes serverAuthCode your server auth code user email youremail gmail com familyName your last name givenName your first name id some id name your full name photo a url for profile photo And with that we successfully integrated the Google auth into our React Native app Please leave a comment if you liked the post or just want to add something valuable |
2021-12-19 22:04:19 |
Apple |
AppleInsider - Frontpage News |
The least surprising news of 2021: Facebook voted the worst company in America |
https://appleinsider.com/articles/21/12/19/the-least-surprising-news-of-2021-facebook-voted-the-worst-company-in-america?utm_medium=rss
|
The least surprising news of Facebook voted the worst company in AmericaMeta formerly known as Facebook has been named the worst company of with a survey declaring the controversial social network to be the most upsetting for a wide range of grievances In a survey of people carried out in early December named many companies as the worst of but Meta was identified as the worst in the pile The vote had Meta receiving of the open ended survey responses more votes than the second place finisher Chinese retailer Alibaba The survey commissioned by Yahoo Finance had recipients declaring many reasons for why Meta was the worst with various controversies from the year resurfacing in the results Read more |
2021-12-19 22:11:37 |
海外科学 |
NYT > Science |
Manchin Rejects Landmark Legislation, Putting Biden’s Climate Goals at Risk |
https://www.nytimes.com/2021/12/19/climate/manchin-climate-build-back-better-bill.html
|
Manchin Rejects Landmark Legislation Putting Biden s Climate Goals at RiskSenator Joe Manchin III said he was opposed to legislation that includes climate action designed to keep the planet from dangerously overheating |
2021-12-19 22:38:24 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
ユーチューブTV、ディズニーのチャンネル再配信で合意 - WSJ発 |
https://diamond.jp/articles/-/291278
|
配信 |
2021-12-20 07:12:00 |
ビジネス |
電通報 | 広告業界動向とマーケティングのコラム・ニュース |
3D広告も登場!広がる!キャラクター×OOHの可能性 |
https://dentsu-ho.com/articles/8019
|
老若男女 |
2021-12-20 07:18:35 |
北海道 |
北海道新聞 |
小林陵侑、今季3勝目 W杯ジャンプ男子第9戦 |
https://www.hokkaido-np.co.jp/article/625033/
|
小林陵侑 |
2021-12-20 07:10:05 |
ビジネス |
東洋経済オンライン |
日本株が低迷しているのは岸田首相のせいなのか 次々と市場に逆風を吹かせる「KY発言」ばかり? | 市場観測 | 東洋経済オンライン |
https://toyokeizai.net/articles/-/477765?utm_source=rss&utm_medium=http&utm_campaign=link_back
|
東洋経済オンライン |
2021-12-20 07:30:00 |
ビジネス |
プレジデントオンライン |
「上司の無茶振りを撃退」デキる人が使う断ったあとに"やる気を匂わせる"フレーズ - 子どもとペットは最強の言い訳 |
https://president.jp/articles/-/52906
|
手いっぱい |
2021-12-20 08:00:00 |
ビジネス |
プレジデントオンライン |
「上司の無茶振りを撃退」デキる人が使う断ったあとに"やる気を匂わせる"フレーズ - 子どもとペットは最強の言い訳 |
https://president.jp/articles/-/52868
|
手いっぱい |
2021-12-20 08:00:00 |
コメント
コメントを投稿