投稿時間:2022-02-19 21:15:22 RSSフィード2022-02-19 21:00 分まとめ(16件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT 気になる、記になる… Appleの整備済み商品情報 2022/2/19 https://taisy0.com/2022/02/19/152288.html apple 2022-02-19 11:54:58
python Pythonタグが付けられた新着投稿 - Qiita Django ランダムかつ有効期限のあるURLを生成し、上位者に承認してもらうための機能(1次承認) https://qiita.com/startours777/items/529e74062e7054e79517 次回の記事で次承認機能を実装するため、現段階で次承認は申請者の上長を記載してもらう前提で開発する。 2022-02-19 20:29:32
python Pythonタグが付けられた新着投稿 - Qiita google colabでngrokを使ってAPI化したときにWelcome to ngrok!とか出るときの対処法 https://qiita.com/yamadanagamasa/items/62920465e9eb76754b17 googlecolabでngrokを使ってAPI化することについて、詳しくは下の記事を読んでくださいurlにアクセスした時にこんな感じの画面が出たときです。 2022-02-19 20:12:39
js JavaScriptタグが付けられた新着投稿 - Qiita 「マイクロサービスパターン」を読む会 第7回 https://qiita.com/yas99en/items/e932ec3e9b6f02a01117 「マイクロサービスパターン」を読む会第回Java読書会の自分メモせっかく勉強したのにつぎつぎと忘れておくので、印象に残ったところでも記録していくGraphQLを使ったAPIゲートウェイの実装APIGatewayをGraphQLで実現する話クライアント側でqueryの内容を変えられるので、graphqlのエンドポイントを一つ作るだけで様々な用途に対応できるrestapiだと、多少はパラメータ化できるものの、普通はいくつものapiをつくることになるGraphQLスキーマtypeQueryordersconsumerIdIntOrderorderorderIdIntOrderconsumerconsumerIdIntConsumertypeOrderorderIdIDconsumerIdIntconsumerConsumerrestaurantRestaurantdeliveryInfoDeliveryInfoエンドポイントのところでtypeQueryで定義されたクエリーを投げられるエンドポイントがリクエストを受けたあとは、バックエンドのマイクロサービス群に、必要なクエリーを発行して、情報をあつめてレスポンスを返すこの例では、Order、Consumer、Restaurant、DeliveryInfoはそれぞれ別のマイクロサービスが担当しているnodejsのApolloGraphQLというExpress上で動かせるフレームワークでの実装例が書いてあるマイクロサービスをテストすることの難しさマイクロサービスに分けても、マクロサービス間の依存関係をテストでどう解決するかコンシューマ駆動契約テストパターン呼び出し側のテスト用のスタブと、呼ばれ側のドライバコードを両方生成するうまいやり方。 2022-02-19 20:29:37
js JavaScriptタグが付けられた新着投稿 - Qiita Turtle Graphics in Dogelog Player https://qiita.com/j4n_bur53/items/ed97c904ea0a3192b485 Turtle Graphics in Dogelog PlayerDogelog player is a Prolog interpreter written in Prolog that runs in JavaScript and Python Its still a young software with only a few predefined predicates and evaluable functions We recently added trigonometric functions and can demonstrate Turtle graphics The precision of bit floating point numbers should be enough for small examples Turtle CommandsThe turtle commands are found in the Prolog text turtle p This Prolog text is loaded by the main page index html of the example together with the Dogelog player from dogelog js The turtle commands were written in Prolog itself The turtle has a state represented as dynamic facts dynamic current angle dynamic current position The turtle commands are turn move and line As a side effect they not only change the turtle state but they might also emit SVG commands This is the case for the line command which will draw a line on a SVG port line D retract current position X Y current angle A X is X D cos A Y is Y D sin A assertz current position X Y line svg X Y X Y SVG PortThe SVG port is a deviation of the text port that we normally use to show Dogelog player substitution answers Instead that we use a HTML text node we now use a SVG graphics node SVG is an XML based graphics format that already exists for a while and has quite some browser support lt p style id demo gt lt p gt lt svg id demo width height gt amp nbsp lt svg gt To be able to emit SVG commands to the SVG port we have to change the output routine of the Dogelog player slightly Since the output will be XML we have to refrain from escaping it Also it turned out that insertAdjacentHTML is quite fast function out buf document getElementById demo innerHTML xml escape buf document getElementById demo insertAdjacentHTML beforeend buf Sierpinski TriangleAs an example we were drawing the Sierpinski triangle The figure is a recursive fractal The fractal can be draw with a certain depth L For depth L only an equilateral triangle is drawn with length D This can be done with Prolog by means of the turtle commands The Prolog code is seen here sierpinski D line D turn pi line D turn pi line D turn pi The result will be a triangle as follows For depth L gt the routine sierpinski will call itself times It will first call for the left bottom than for the right bottom and finally for the middle top Between these invocations we move the turtle without drawing sierpinski D L D is D L is L sierpinski D L move D sierpinski D L turn pi move D turn pi sierpinski D L turn pi move D turn pi For depth L the result will be we have additionally numbered the recursive calls We first planned to include some speed parameter when drawing the Sierpinski triangle But the current version of Dogelog player yields automatically around times per second which gives a kind of animation by itself since this vielding is currently capped by ms In a future version we might do it differently ConclusionWe could define some turtle commands in a Prolog text turtle p and emit them to a SVG port As an example we were drawing the Sierpinski triangle The figure is a recursive fractal and by the way the asynchronous version of the Dogelog player is currently automatically yielding we get a little animation Example Turtle Graphics 2022-02-19 20:07:02
Ruby Rubyタグが付けられた新着投稿 - Qiita Ruby on Rails チュートリアル第12章をやってみて https://qiita.com/toruuu00/items/208d489e75bffb50e11e createアクションでパスワード再設定フォームから送信を行なった後、メールアドレスをキーとしてユーザーをデータベースから見つけ、パスワード再設定用トークンと送信時のタイムスタンプでデータベースの属性を更新する必要がある。 2022-02-19 20:04:33
Linux Ubuntuタグが付けられた新着投稿 - Qiita GitLabのインストールで詰まったとこまとめ(Ubuntu) https://qiita.com/ChairMan/items/5a02338d34e0d2190f1c 先にreconfigureしないといけないらしいgitlabctlreconfigureが終わらない以下にクッソ時間がかかる。 2022-02-19 20:34:49
海外TECH MakeUseOf You Can Now Narrow Down Your Google Drive Search Results https://www.makeuseof.com/narrow-down-google-drive-search-results/ chips 2022-02-19 11:30:12
海外TECH DEV Community What are the best practices while using BigQuery? https://dev.to/kedark/what-are-the-best-practices-while-using-bigquery-3fcb What are the best practices while using BigQuery BigQuery is affordable and fast but it can quickly consume a lot of processing power increasing the bills if not used properly In BigQuery slots decide the amount of processing power that directly impacts cost First let s understand slots SlotsIn BigQuery slots are the computational capacity required to execute a SQL query Slots play a crucial role in pricing and resource allocation BigQuery manages the slot allocation and the number of slots allocated to a job depends on Query size The amount of data processedComplexity The amount of information shuffledIn supplement to consumption based pricing BigQuery also provides flat rate pricing that is you can buy a fixed number of slots over some period which provides more granularity in planning capital BigQuery is fast because it uses heavy parallel processing by converting the declarative SQL into stages Without further delay let s see the best practices in BigQuery for Cost controlsQuery performanceStorage optimization Cost controlsBigQuery is a columnar database In other words all columns from a table are stored separately at the physical level Hence we should always avoid using select in our queries This practice will limit the data processed For looking at the sample data we should use the preview option instead of the query The preview feature in BigQuery is free We should use a pricing calculator to check the costs before pushing the query to production On demand queries are charged based on the number of bytes read and we can calculate the price based on bytes read We should use dashboard for viewing costs and logs The dashboard can provide us with good insights on our usage of BigQuery Partitioning in BigQuery allows us to scan only the required data and reduce costs Query performance We should avoid querying non required partitions We should use external data sources suitably There s no guarantee of good performance when using external sources We should avoid excessive use of wildcard tables for example FROMbigquery public data noaa gsod good JavaScript user defined functions reduce overall performance We should avoid them Certain joins such as a cartesian product can create more output than input and should be avoided We should avoid DML statements with updating or inserting single rows Storage optimizationThe expiration time for datasets tables partitions should be set It allows us to control storage expenditures and optimize the usage of BigQuery storage Using BigQuery to process the data we can also use it to store in tables and partitions for an extended period It has lower charges for the data which is not modified in the last days Lastly we can use the pricing calculator to check storage costs That s all for this post folks Don t forget to or this article if you enjoyed it Have a great day Happy Learning 2022-02-19 11:35:37
海外TECH Engadget US and Britain blame Russia for cyberattacks on Ukraine's websites https://www.engadget.com/us-britain-blame-russia-cyberattacks-ukraine-websites-112610459.html?src=rss US and Britain blame Russia for cyberattacks on Ukraine x s websitesRussia is responsible for the cyberattacks that took down the websites for Ukraine s government agencies and major banks back in January according to The White House Anne Neuberger the administration s deputy national security adviser said the government has quot technical information that links the Russian Main Intelligence Directorate or GRU quot to the hacks Neuberger added that quot GRU infrastructure was seen transmitting high volumes of communication to Ukraine based IP addresses and domains quot According to AP and Reuters Britain has also publicly attributed the incident to Russia saying that the country s GRU military intelligence agency is almost certainly involved While the attacks managed to take down the targeted Ukrainian websites Neuberger said they had quot limited impact quot thanks to the the country s officials that quickly secured and restored them nbsp Ukraine s defense and foreign ministries were among the affected websites and a message in Ukrainian Russian and Polish left by the attackers on the latter translated to quot Ukrainians All your personal data has been uploaded to the public network All data on the computer is destroyed it is impossible to restore them quot The message also referenced the quot historical land quot and showed crossed out versions of the Ukraine map and flag nbsp The Ukrainian Information Ministry said back then that there were early indications Russia carried out the attacks In addition the Ministry of Culture and Information Policy also suggested that references to Ukrainian ultra nationalist groups were merely an attempt by the Russians to mask their footprint nbsp Neuberger said the White House is publicly calling out Kremlin because quot t he global community must be prepared to shine a light on malicious cyber activity and hold actors accountable for any and all disruptive or destructive cyber activity quot Although the attacks had quot limited impact quot the White House believes Russia could carry out more disruptive activities in the future followed by an invasion of Ukraine President Biden has announced on Friday that the US has obtained intelligence showing that Russia s Vladimir Putin has made the decision to invade Ukraine in the coming days nbsp 2022-02-19 11:26:10
ニュース BBC News - Home Storm Eunice leaves thousands of homes without power https://www.bbc.co.uk/news/uk-60442797?at_medium=RSS&at_campaign=KARANGA eunice 2022-02-19 11:53:33
ニュース BBC News - Home Ukraine conflict: Rebels declare general mobilisation as fighting grows https://www.bbc.co.uk/news/world-europe-60443504?at_medium=RSS&at_campaign=KARANGA tensions 2022-02-19 11:47:40
ニュース BBC News - Home Ukraine crisis: Boris Johnson urges unity from Western allies https://www.bbc.co.uk/news/uk-politics-60432970?at_medium=RSS&at_campaign=KARANGA russia 2022-02-19 11:05:05
ニュース BBC News - Home Storm Eunice: Meet the man behind the Big Jet TV phenomenon https://www.bbc.co.uk/news/uk-60445558?at_medium=RSS&at_campaign=KARANGA eunice 2022-02-19 11:18:55
北海道 北海道新聞 コロナ死者、5日連続200人超 国内で新規感染8万人 https://www.hokkaido-np.co.jp/article/647808/ 新型コロナウイルス 2022-02-19 20:07:00
北海道 北海道新聞 バスケ、香川がFE名古屋破る Bリーグ2部 https://www.hokkaido-np.co.jp/article/647807/ 名古屋市 2022-02-19 20:01:00

コメント

このブログの人気の投稿

投稿時間:2021-06-17 22:08:45 RSSフィード2021-06-17 22:00 分まとめ(2089件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)