AWS |
AWS Open Source Blog |
Innovating with Rust |
https://aws.amazon.com/blogs/opensource/innovating-with-rust/
|
Innovating with RustThe Rust programming language is an open source project started by Mozilla Research more than a decade ago Since then more than people have contributed to the Rust project and the language has had a resounding impact on technology Technology companies large and small are using and benefiting from Rust The Rust language builds … |
2021-05-10 13:05:18 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
SQLAlchemyで既存のDBからモデルを作る方法 |
https://qiita.com/na2kaze/items/b58e320822b69107bc90
|
SQLAlchemyで既存のDBからモデルを作る方法Djangoならこちらの方法があるんですがそれ以外の場合に少し困ったのでこちらに備忘録として書いておきます。 |
2021-05-10 22:19:50 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
ポリゴン加工における刃の挙動 |
https://qiita.com/ishii0514/items/d1d8a743e3d4a8fe6771
|
回転比という値に数学的な意味があるのか奇数角形はできないのかなど疑問が湧いてきたので刃の挙動を描画してみることにしました。 |
2021-05-10 22:18:56 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Python3 エンジニア認定基礎試験に合格した話 |
https://qiita.com/sin0131/items/bd0123afccdc59df9fa1
|
当方は発行されない試験会場でした詳しくは概要欄で書いた試験の詳細の参照先にある「受験の流れ」を確認してください。 |
2021-05-10 22:07:19 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
駆け出しpythonエンジニアのまとめ デザインパターンまとめ5(singleton) |
https://qiita.com/speedingrenchon/items/ba2895fb5246b20f80eb
|
ただし、newメソッドがインスタンスを返さない場合、initメソッドは呼び出されない。 |
2021-05-10 22:07:17 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
【JavaScript】DOMからHTMLとCSSを操作して、背景色、文字色、文字サイズを操作せよ。 |
https://qiita.com/panda-chibi/items/884f3c6a1d18132c099b
|
【JavaScript】DOMからHTMLとCSSを操作して、背景色、文字色、文字サイズを操作せよ。 |
2021-05-10 22:28:59 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
out.println()とsystem.out.println()の違いについて教えてください。 |
https://teratail.com/questions/337604?rss=all
|
outprintln |
2021-05-10 22:55:36 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Uncaught TypeError: Vue.component is not a function |
https://teratail.com/questions/337603?rss=all
|
UncaughtTypeErrorVuecomponentisnotafunction現在laravelを使用してリアルタイムチャット機能を実装中です。 |
2021-05-10 22:46:32 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Pythonによるcsvファイルからの直接の集計計算のコードを知りたいです。 |
https://teratail.com/questions/337602?rss=all
|
Pythonによるcsvファイルからの直接の集計計算のコードを知りたいです。 |
2021-05-10 22:45:58 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
配列カラムの取得値がeditアクションだと[]が付いてしまいます |
https://teratail.com/questions/337601?rss=all
|
がつく要因、解消方法がわかりません。 |
2021-05-10 22:38:22 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
itertools.groupbyのタプル要素を1つずつ取り出すと中身が消えてしまう |
https://teratail.com/questions/337600?rss=all
|
|
2021-05-10 22:36:27 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
【ポートフォリオをECSで!】Rails×NginxアプリをFargateにデプロイするまでを丁寧に説明してみた(VPC作成〜CircleCIによる自動デプロイまで) 後編 |
https://qiita.com/maru401/items/0a9b0e1bd8c928582291
|
取得したドメイン名と取得したドメイン名で同じになってるはずですACMにCNAMEレコードを追加Route→ホストゾーン→取得したドメイン名を選択し、レコードを作成をクリックします。 |
2021-05-10 22:39:22 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
【ポートフォリオをECSで!】Rails×NginxアプリをFargateにデプロイするまでを丁寧に説明してみた(VPC作成〜CircleCIによる自動デプロイまで) 前編 |
https://qiita.com/maru401/items/8e7d32a8baded045adb2
|
①タスク定義のLogsからnginxとrailsのコンテナでエラーが起きている②タスク定義のサブネットIDをコピーしてVPC→サブネット→ルートテーブルより送信先にインターネットゲートウェイが追加されているか確認する↓②の確認例次回、独自ドメインの設定CircleCIの自動デプロイの設定まで行います。 |
2021-05-10 22:38:06 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
初めてのDockerのお勉強〜備忘録〜 |
https://qiita.com/ktanonymous/items/f4950ed97f4aee86d670
|
コンテナのOSについてdockerrunitcentoOScentoOSbinbashまだ下の基本的な使い方を見ていない方の実行はオススメしませんが、このコマンドを実行することで、CentOSの環境を作ってbashをきどうできます。 |
2021-05-10 22:25:55 |
golang |
Goタグが付けられた新着投稿 - Qiita |
Adjust のリアルタイムコールバックを Cloud Logging に流す |
https://qiita.com/8kka/items/c1bf3bac5776bb1dae9d
|
adjustserverの編集を行い、ランタイム、ビルド、接続の設定gt接続gt内部トラフィックとCloudLoadBalancingからのトラフィックを許可するを設定して更新しましょう。 |
2021-05-10 22:42:31 |
Linux |
CentOSタグが付けられた新着投稿 - Qiita |
VirtualBox に CentOS Stream 8 をインストールして初期設定を行う手順 |
https://qiita.com/suisuisuuui/items/2f2682f7abfeb0f70e09
|
前提事項VirtualBoxバージョン導入するOSCentOSStream初期設定内容パッケージの更新ファイヤウォールの無効化SELinuxの無効化ネットワーク設定NATおよびホストオンリーアダプタ端末にVirtualBoxがインストールされ、CentOSStreamのisoファイルがダウンロード済みであること手順については下記の記事をご参照ください構築及び設定手順まずは、VirtualBoxを起動しますホストネットワークマネージャーの設定未設定の場合「ファイル」→「ホストネットワークマネージャー」を選択します「アダプターを手動で設定」に設定し、下記の情報を入力して保存しますおそらくデフォルトで、下記のようになっているとは思います設定項目設定値IPvアドレスIPvネットマスクVirtualBoxでのOS基本設定「新規」を選択します「名前」には、仮想環境につけたい任意の名前を設定します。 |
2021-05-10 22:32:28 |
GCP |
gcpタグが付けられた新着投稿 - Qiita |
Adjust のリアルタイムコールバックを Cloud Logging に流す |
https://qiita.com/8kka/items/c1bf3bac5776bb1dae9d
|
adjustserverの編集を行い、ランタイム、ビルド、接続の設定gt接続gt内部トラフィックとCloudLoadBalancingからのトラフィックを許可するを設定して更新しましょう。 |
2021-05-10 22:42:31 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
【ポートフォリオをECSで!】Rails×NginxアプリをFargateにデプロイするまでを丁寧に説明してみた(VPC作成〜CircleCIによる自動デプロイまで) 後編 |
https://qiita.com/maru401/items/0a9b0e1bd8c928582291
|
取得したドメイン名と取得したドメイン名で同じになってるはずですACMにCNAMEレコードを追加Route→ホストゾーン→取得したドメイン名を選択し、レコードを作成をクリックします。 |
2021-05-10 22:39:22 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
【ポートフォリオをECSで!】Rails×NginxアプリをFargateにデプロイするまでを丁寧に説明してみた(VPC作成〜CircleCIによる自動デプロイまで) 前編 |
https://qiita.com/maru401/items/8e7d32a8baded045adb2
|
①タスク定義のLogsからnginxとrailsのコンテナでエラーが起きている②タスク定義のサブネットIDをコピーしてVPC→サブネット→ルートテーブルより送信先にインターネットゲートウェイが追加されているか確認する↓②の確認例次回、独自ドメインの設定CircleCIの自動デプロイの設定まで行います。 |
2021-05-10 22:38:06 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
ransackの検索機能をRSpecでテストする方法 |
https://qiita.com/takuya861/items/d204e42367f98f46f035
|
ransackの検索機能をRSpecでテストする方法はじめにransackの検索機能をRSpecにてテストする際に、書き方を検索したが思ったような記事がヒットしなかったので備忘録として記事を書きます。 |
2021-05-10 22:30:05 |
海外TECH |
DEV Community |
Learn How to Convert: Text to Handwriting, Handwriting to Text, Text to Speech & Speech to Text |
https://dev.to/saiansulsblog/learn-how-to-convert-text-to-handwriting-handwriting-to-text-text-to-speech-speech-to-text-1pk9
|
Learn How to Convert Text to Handwriting Handwriting to Text Text to Speech amp Speech to TextHello Guys Welcome back to another post of Sai Ansul s Blog In this blog we are gonna learn How to Convert Text to Handwriting Handwriting to Text Text to Speech Speech to Text So let s start Text to HandwritingSince in this pandemic period we students has got plenty of assignments to be done isn t it So I have got you a very easy and interesting way to submit those assignments in just seconds Wanna know how So firstly open this link After you open it you will see a interface like this Where you can replace the text of the input image with yours and see the magic There are some customizations also available over there like Handwriting fontFont sizeInk colorEffectsResolutionSpacing options Margin options And after customizing you need to click on Generate Image the image will be generated and then you can download the image and use it You can also generate multiple images at a time Handwriting to TextThis conversion is popularly known as OCR Optical Character Recognition There are many sites and apps this feature is available to extract the text in many languages This feature is also available in many document scanners The best online sites that I like the most for OCR are OnlineOCR Convertio NewOCR ABBYY FineReader Online iOCR The document scanners that has OCR are Doc Scanner Cam Scanner Indian Adobe Scan You can upload the document and select the language that document s text has And the magic happens after the conversion is completed the document which will be generated and you will be select the text and use anywhere Text to SpeechThis conversion is known as TTS Text to Speech Synthesizer This feature is also available in adobe pdf viewer alsoThe top online sites for these are Balabolka Natural reader online reader Google Cloud Text to SpeechAs you can see in the image you can upload files with various extensions and it will convert to mp audio file which you can download and hear anywhere If you have noticed some time ago Hashnode has also launched a feature named audio blog that also use the technology This also has many customizations like in voices speed and many more Go check it out Speech to TextSpeech to text conversion is the process of converting spoken words into written texts Rather than typing long documents and making your hands pain you just need to read out it once This process is also often called speech recognition The top online sites for these are Google Docs Voice Typing Dragon Professional Individual Braina Pro After the conversion the txt file will be generated and you can use it anywhere This is it for today guys If you liked this blog and want to support my efforts do share it with as many friends as possible And feel free to drop in suggestions for improvements If you liked this blog and want to support my efforts do share it with as many friends as possible And feel free to drop in suggestions for improvements |
2021-05-10 13:28:59 |
海外TECH |
DEV Community |
Basics of Java #12 |
https://dev.to/chathurashmini/basics-of-java-12-4gnc
|
Basics of Java This article is on switch statements and loops Switch statementAssume you have built a website and a user is trying to log into it You are asking the user to enter his email Then you are checking whether that email is stored in your database and if so you are fetching his user role admin blog writer reader If mail is not found the user is a guest After that you want to print this user roles To implement this you can easily use switch statements Look at the code block given below Assume you have already fetched the user role from the database into a String variable named userole switch userRole case admin System out println Hi you are an admin break case blog writer System out println Hi you are a blog writer break case reader System out println Hi you are a reader break default System out println Hi you are a guest Please register to log in In here the first case checks whether the value of the userRole is admin If so it will print Hi you are an admin You can see that I have added break after the print statement What break does is that going out of the switch statements Which means once a particular case is achieved no other cases will be evaluated You will simply go out of the switch block Same process goes to the cases blog writer and reader Next comes the case where you were unable to find the email in the database Therefore that email does not have a userRole yet SO by default the last case will print the guest statement There we have not used break This is because default is the last case in the switch block So it will automatically go out of the switch block No break statement is required here This might be a bit messy to understand but once you get used to it applying switch statements will become handy Loops for LoopThink that you want to print numbers from to Then you will think that you have to write pritln line times But what if you have an opportunity to write just one println and iterate it times Sounds great right Let s see how we can do that for int i i lt i System out println i Let s evaluate the code We have use iterations here by using a for loop As you can see I have declared a variable i inside the parenthesis of the for After that we have give the range for i Here we want to print numbers from to Therefore i has to be iterated from to So I have mentioned as i and after a semi colon I have stated that i lt This means i goes from to You also can write it as for int i i lt i Here also you can get same output Inside for loop you have to write the code lines that has to be executed Here since we are only writing a single code line we need not to use curly braces For loops are used in situations where the number of the iterations are known before hand TaskGiven an array books Twilight New moon Eclipse Breaking dawn Safe Heaven Kite Runner Hunger Games print all its elements using a for loop How did you code the above task Let me guess I assume that you entered a range in a for loop like int i i lt i and print the elements by calling the index However there is an easier way of doing the same task Check out this code String books Twilight New moon Eclipse Breaking dawn Safe Heaven Kite Runner Hunger Games for String book books System out println book Here the string book in the parenthesis refers to a single element in the array books Therefore this will print all the elements in the books array accurately The negative side of this method is that you can only iterate from beginning to the end Like you cannot get the output as Hunger Games Kite Runner Twilight from right to left order And also since you do not have access to index you won t be able to know the index value of a particular element when you use this method While LoopWhat if you do not know the number of the iterations beforehand Then you can use while loop Check the below code int i while i lt System out println i i In the above code we first declared an integer variable i and initialized it into zero The code line while i lt ensures that the value of i is always less than Which means the code inside the while loop will only execute if the i is less than Then we print i and increment it by one While loops can be used in conditions where you does not know the number of iterations beforehand Assume in a case where you want user to add subject names but you do not know number of subjects that are available What can you do in such a scenario You have to use a while loop as you do not know the number of iterations here You can ask the user to enter some word like quit or finish if he has entered all the subjects Then you can make the loop run only when the input word is not equal to the termination word Go through the below code Scanner userInput new Scanner System in String input int count while input equals quit System out print Subject input userInput nextLine toLowerCase count int subjectCount count System out println Number of subjects subjectCount In above code we have taken user input as a Scanner class object and then has read the line and has stored into the string input Here you can see that I have used the method toLowerCase Why do we need that Look at the condition inside the parenthesis of the while loop What it means that the value stored in input string cannot be equal to quit All the letters in quit is in lowercase Therefore if user entered like Quit or QUIT the loop will not terminate So to avoid those disconcerts we have to convert the user input into lowercase do while loopsThere is only one deference in do while loop when compared to while loops In while loop statements will execute if and only if the condition given in the loop is true But in do while loops statements gets executed once before checking the conditions given for the loop Check the following code int i do System out println i i while i lt Here first println method gets executed and print After that it will increment it value to Then only the condition in while loop is taken under consideration Because of this we can say that do while loops will definitely execute at least only once And with that we can wrap up this article |
2021-05-10 13:04:52 |
Apple |
AppleInsider - Frontpage News |
Apple TV+ mental health documentary 'The Me You Can't See' airs May 21 |
https://appleinsider.com/articles/21/05/10/apple-tv-mental-health-documentary-the-me-you-cant-see-airs-may-21?utm_medium=rss
|
Apple TV mental health documentary x The Me You Can x t See x airs May The Apple TV documentary series by Oprah Winfrey and Prince Harry has been given a title with The Me You Can t See premiering on the streaming service on May Originally announced in the documentary series on mental health by media mogul Oprah Winfrey and Prince Harry The Duke of Sussex will finally air on May Previously in development without an announced title Apple confirmed its name on Monday as The Me You Can t See The show will see Winfrey and Prince Harry guide discussions about mental health and emotional well being including opening up about their own mental health journeys and struggles Read more |
2021-05-10 13:37:15 |
Apple |
AppleInsider - Frontpage News |
Seven Apple suppliers linked to Chinese forced labor programs |
https://appleinsider.com/articles/21/05/10/seven-apple-suppliers-linked-to-chinese-forced-labor-programs?utm_medium=rss
|
Seven Apple suppliers linked to Chinese forced labor programsA new report on Monday claims that seven Apple suppliers participated in labor programs suspected to be connected to the alleged Chinese genocide of Uyghurs from the Xinjiang region Credit LA TimesThe Apple supply chain partner produce components coatings and offer assembly services to the Cupertino tech giant At least five received thousands of Uyghur and other oppressed minority workers at specific plants that did work for Apple according to an investigation by human rights groups and The Information Read more |
2021-05-10 13:53:27 |
Apple |
AppleInsider - Frontpage News |
AirTags, new Hunter ceiling fans, best dimmer switches on HomeKit Insider podcast |
https://appleinsider.com/articles/21/05/10/airtags-new-hunter-ceiling-fans-best-dimmer-switches-on-homekit-insider-podcast?utm_medium=rss
|
AirTags new Hunter ceiling fans best dimmer switches on HomeKit Insider podcastThis week on the HomeKit Insider podcast your hosts review AirTag Hunter launches new HomeKit ceiling fans and we recommend the best HomeKit dimmer switches HomeKit device maker Aqara released a new M hub with both HomeKit capability and an IR blaster Wi Fi and Zigbee improvements also make it a good upgrade from the previous model plus it has a sleeker design Then Hunter Fan the only device manufacturer creating HomeKit enabled ceiling fans has released two new models The Aerodyne model is priced at while the Stylus which differs only in its color finish options will cost later this year Read more |
2021-05-10 13:03:48 |
Apple |
AppleInsider - Frontpage News |
How to give a guest control of your HomeKit devices |
https://appleinsider.com/articles/21/05/10/how-to-give-a-guest-control-of-your-homekit-devices?utm_medium=rss
|
How to give a guest control of your HomeKit devicesHome automation with HomeKit is great for the homeowner but not as good for guests or visitors Here s how to give a house guest control of all your HomeKit devices ーand how to lock them out again when they leave Guests can access your HomeKit devices through their own Home app if you chooseSometimes it does seem as if the Home app were built to be used by one person And it s highly possible that Apple has noticed how there tends to be just one person interested in any family Read more |
2021-05-10 13:29:40 |
海外TECH |
CodeProject Latest Articles |
BriefMaker – An App for Processing Real-Time Market Data |
https://www.codeproject.com/Articles/1084612/BriefMaker-Processing-Real-Time-Market-Data
|
briefs |
2021-05-10 13:38:00 |
海外科学 |
NYT > Science |
CureVac Covid Vaccine Could Bring Hope to the Unvaccinated World |
https://www.nytimes.com/2021/05/05/health/covid-vaccine-curevac.html
|
biontech |
2021-05-10 13:34:36 |
海外TECH |
WIRED |
Everything You Need to Know About the Coronavirus |
https://www.wired.com/story/coronavirus-guide-faq-advice
|
wired |
2021-05-10 13:04:00 |
金融 |
RSS FILE - 日本証券業協会 |
公社債発行額・償還額等 |
https://www.jsda.or.jp/shiryoshitsu/toukei/hakkou/index.html
|
発行 |
2021-05-10 15:00:00 |
金融 |
RSS FILE - 日本証券業協会 |
J-IRISS |
https://www.jsda.or.jp/anshin/j-iriss/index.html
|
iriss |
2021-05-10 14:17:00 |
金融 |
金融庁ホームページ |
麻生副総理兼財務大臣兼内閣府特命担当大臣記者会見の概要を公表しました。 |
https://www.fsa.go.jp/common/conference/index.html
|
内閣府特命担当大臣 |
2021-05-10 13:47:00 |
海外ニュース |
Japan Times latest articles |
China’s much-hyped digital yuan leaves early users underwhelmed |
https://www.japantimes.co.jp/news/2021/05/10/business/digital-yuan-early-users/
|
China s much hyped digital yuan leaves early users underwhelmedObservers suspect China has high hopes for international use of the digital yuan as Xi Jinping tries to lessen his country s reliance on the U S led |
2021-05-10 23:20:28 |
海外ニュース |
Japan Times latest articles |
South Korea’s Moon Jae-in sets final-year goal of ‘irreversible peace’ on peninsula |
https://www.japantimes.co.jp/news/2021/05/10/asia-pacific/politics-diplomacy-asia-pacific/south-korea-moon-north-korea/
|
South Korea s Moon Jae in sets final year goal of irreversible peace on peninsulaHis remarks come before his meeting with Biden on May at the White House where North Korea will be high on the agenda |
2021-05-10 22:12:36 |
ニュース |
BBC News - Home |
Covid alert level reduced as lockdown set to ease |
https://www.bbc.co.uk/news/health-57055340
|
circulation |
2021-05-10 13:21:02 |
ニュース |
BBC News - Home |
Boris Johnson facing probe over funding of 2019 holiday |
https://www.bbc.co.uk/news/uk-politics-57055882
|
standards |
2021-05-10 13:33:47 |
ニュース |
BBC News - Home |
River Thames: Rescuers try to save stranded whale for second time |
https://www.bbc.co.uk/news/uk-england-london-57056008
|
thames |
2021-05-10 13:25:47 |
ニュース |
BBC News - Home |
Labour reshuffle: Anneliese Dodds out in Starmer's post-election reshuffle |
https://www.bbc.co.uk/news/uk-politics-57050659
|
anneliese |
2021-05-10 13:52:18 |
ニュース |
BBC News - Home |
Storey 'followed appropriate process' over retrospective TUE |
https://www.bbc.co.uk/sport/disability-sport/57054880
|
Storey x followed appropriate process x over retrospective TUEDame Sarah Storey and the British Paralympic Association followed the appropriate process over a retrospective therapeutic use exemption British Cycling says |
2021-05-10 13:40:51 |
LifeHuck |
ライフハッカー[日本版] |
注ぎやすく、丈夫で超計量。三拍子そろったチタン採用ハイブリッドケトル「FLOW」 |
https://www.lifehacker.jp/2021/05/234393-machi-ya-flow-detail.html
|
飲み物 |
2021-05-10 23:00:00 |
LifeHuck |
ライフハッカー[日本版] |
iOS 14.5の強力なプライバシー機能を有効にする方法 |
https://www.lifehacker.jp/2021/05/how-to-hide-from-advertisers-with-ios-14-5s-new-app.html
|
apptrackingtransparency |
2021-05-10 22:05:00 |
北海道 |
北海道新聞 |
聖火、柔道家古賀さんの思い胸に 百貨店の巨大壁画前を通過、佐賀 |
https://www.hokkaido-np.co.jp/article/542269/
|
吉野ケ里 |
2021-05-10 22:09:00 |
北海道 |
北海道新聞 |
バスケ、SR渋谷はWC下位に Bリーグ1部最終戦 |
https://www.hokkaido-np.co.jp/article/542268/
|
男子 |
2021-05-10 22:07:00 |
北海道 |
北海道新聞 |
NY円、108円後半 |
https://www.hokkaido-np.co.jp/article/542267/
|
外国為替市場 |
2021-05-10 22:06:00 |
北海道 |
北海道新聞 |
「全国に緊急事態発令」視野に 知事会、対策強化を提言 |
https://www.hokkaido-np.co.jp/article/542266/
|
全国知事会 |
2021-05-10 22:05:00 |
仮想通貨 |
BITPRESS(ビットプレス) |
[日経] イーサとドージが追う 暗号資産、変わる勢力図 |
https://bitpress.jp/count2/3_9_12478
|
資産 |
2021-05-10 22:16:37 |
コメント
コメントを投稿