投稿時間:2022-01-30 17:20:00 RSSフィード2022-01-30 17:00 分まとめ(26件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
TECH Engadget Japanese SNSでよく見る謎のマス目「Wordle」。英単語推理が熱い│世永玲生の電網マイノリティ https://japanese.engadget.com/wordle-070039239.html facebook 2022-01-30 07:00:39
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] 「うまい棒」12円に、消費者は? 7割「これまで値上げしなかったことがすごい」 https://www.itmedia.co.jp/business/articles/2201/30/news040.html itmedia 2022-01-30 16:06:00
python Pythonタグが付けられた新着投稿 - Qiita キャッシュの実装(AWS Memcachedの実行環境の構築) https://qiita.com/jimbot3/items/5835cecfde01314c4bde apppyの以下のRDSにデータが無かった時に返されるエラーを拾って画面に返すようしています。 2022-01-30 16:53:51
python Pythonタグが付けられた新着投稿 - Qiita 強化学習で作成した学習モデルを、別のPC環境で実行しようとしたときにエラー(`RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False...`) https://qiita.com/seigot/items/e6acaacfd9abd4f0bc83 強化学習で作成した学習モデルを、別のPC環境で実行しようとしたときにエラーRuntimeErrorAttemptingtodeserializeobjectonaCUDAdevicebuttorchcudaisavailableisFalse強化学習で作成した学習モデルを、別のPC環境で実行しようとしたときにエラーRuntimeErrorAttemptingtodeserializeobjectonaCUDAdevicebuttorchcudaisavailableisFalsepythondopyRuntimeErrorAttemptingtodeserializeobjectonaCUDAdevicebuttorchcudaisavailableisFalseIfyouarerunningonaCPUonlymachinepleaseusetorchloadwithmaplocationtorchdevicecputomapyourstoragestotheCPUエラーメッセージ記載の通り、pleaseusetorchloadwithmaplocationtorchdevicecpuすればOKbeforedeftorchloadfilenamewithopenfilenamerbasfreturntorchloadfafterdeftorchloadfilenamewithopenfilenamerbasfreturntorchloadftorchdevicecpuCPU環境なので性能は落ちるかもしれないが、これでひとまず動くので評価はできそう。 2022-01-30 16:35:42
python Pythonタグが付けられた新着投稿 - Qiita [Python] WEBカメラ物体認識とRGB値取得プログラムを作成した[OpenCV] https://qiita.com/Chima005/items/878dc761acb5ff29b01f 作業者はその紙を目視で確認し、印刷されていることを確認しますが見落としにより印刷されていない白紙が混ざってしまう場合があります。 2022-01-30 16:28:52
python Pythonタグが付けられた新着投稿 - Qiita 【SQLAlchemy】PythonでQueryデータベースから取得,【CRUD】 https://qiita.com/Bashi50/items/7f2214550e80b87fb922 Pythonでこのexists使うときはデータが存在するかBoolで取得したい場合がほとんどだと思います。 2022-01-30 16:21:50
js JavaScriptタグが付けられた新着投稿 - Qiita 便利ページ:ASN.1をデコード https://qiita.com/poruruba/items/0dfee3b61d6593d9dbb7 別の投稿で、X証明書を作成したときにノウハウがたまったので、X証明書ファイルなどで採用されているASNのパーサを便利ページに追加しました。 2022-01-30 16:55:24
js JavaScriptタグが付けられた新着投稿 - Qiita vistaでphotoshop その8 https://qiita.com/ohisama@github/items/42d274a5d28294650e9f vistaでphotoshopその概要vistaでphotoshopやってみる。 2022-01-30 16:00:41
Linux Ubuntuタグが付けられた新着投稿 - Qiita Ubuntuでディレクトリが削除できなかったときの対処法 https://qiita.com/kazu1107/items/5fb98619f0fbf505adb9 この文章では原因がよくわからなかったので発生したエラーで検索をして調べてみると、似たようなケースに陥った方がエラーを解決したコードには「sudo」がついているので、エラーの原因は権限がないコマンドを実行しようとしたことにあるのではと予想し、sudormrディレクトリ名を実行したところ削除することができました。 2022-01-30 16:20:34
AWS AWSタグが付けられた新着投稿 - Qiita キャッシュの実装(AWS Memcachedの実行環境の構築) https://qiita.com/jimbot3/items/5835cecfde01314c4bde apppyの以下のRDSにデータが無かった時に返されるエラーを拾って画面に返すようしています。 2022-01-30 16:53:51
Docker dockerタグが付けられた新着投稿 - Qiita 【2022年版】OpenCV for Androidのlibopencv_java4.soのバイナリサイズを減らし、APKのサイズを減らす https://qiita.com/tfandkusu/items/d43f3adce0f60e294f43 Dockerを使ってビルドする結論からいうと、MacではDockerでビルドできました。 2022-01-30 16:48:30
GCP gcpタグが付けられた新着投稿 - Qiita Clound Functionsで特定のAndroidアプリのみ許可する https://qiita.com/gottie/items/56d87ba262a2cf118d0e ラジオボタンの「Androidアプリ」を選択して、使用するアプリのパッケージ名とSHA証明書のフィンガープリントを入力します。 2022-01-30 16:05:37
技術ブログ Developers.IO AWS WAFのAnonymous IP Listルールグループ導入下の環境に対しMackerelのURL外形監視を行うための設定 https://dev.classmethod.jp/articles/aws-waf-anonymous-ip-list-rule-group-mackerel-external-http-monitor/ anonymousi 2022-01-30 07:21:07
海外TECH DEV Community How to Add a QR and Barcode Scanner to Your Vue.js App https://dev.to/olefyrenko/how-to-add-a-qr-and-barcode-scanner-to-your-vuejs-app-4c50 How to Add a QR and Barcode Scanner to Your Vue js AppIn this blog post I will show you how to add a QR and barcode scanner to your Vue js website This is a great way to increase engagement with your users and can be used for a variety of purposes such as marketing product identification and more We will be using the vue barcode reader library for this tutorial which is a popular option for scanning both QR codes and barcodes Let s get started InstallationFirst we need to install the vue barcode reader library We can do this with npm npm install vue barcode reader saveOr yarn yarn add vue barcode readerPlease note that for projects which use the Vue version you need to install the compatible version of the library vue barcode reader TypeScriptIf you are using TypeScript you will need to install additionally the definitions of the vue barcode reader types There are type definitions available at DefinitelyTyped for those who work with TypeScript npm install types vue barcode reader save devOr yarn add D types vue barcode reader UsageNext we need to add the library to our project We can do this by adding it to our Vue component import StreamBarcodeReader from vue barcode reader Now we need to add a QR or barcode scanner component to our project We can do this by adding the following code lt StreamBarcodeReader decode onDecode loaded onLoaded gt lt StreamBarcodeReader gt We should also implement the handlers for decode and loaded events which the library exposes onDecode text console log Decode text from QR code is text onLoaded console log Ready to start scanning barcodes Now you can scan QR codes and barcodes in your Vue js application Here is an example of a QR code that I scanned DemoYou can find the source code of the example application on Github or check it live at Vercel or Netlify You can also check how vue barcode reader library works on the live production website here ConclusionIn this blog post I showed you how to add a QR and barcode scanner capabilities to your Vue js app This is a great way to increase engagement with your users and can be used for a variety of purposes such as marketing product identification and more I hope you found this blog post helpful Feel free to ask me any questions in DM on Twitter Thanks for reading 2022-01-30 07:31:24
海外TECH DEV Community I made my first GL project using Piston. https://dev.to/baenencalin/i-made-my-first-gl-project-using-piston-4bll I made my first GL project using Piston So I made a Tweet not too long before I made this post and it was me showing off my first OpenGL project using Piston And I attached two images One of the target folder with the program over it And the other of the src folder so you could see how the app was structured The point of this post is to talk about how my experience was and even as someone who just started would recommend Piston So What was the project I made in Rust A game in development I m working on RuntDeale a game inspired by but NOT an AU of Undertale an D RPG bullet hell game What do I have so far I have a white background with a purple square that can be moved using the W A S and D keys So far my experience has been okay I ve been able to create a window of a variable size and title have been able to draw a shape to the screen provide custom colors and rotate a shape Now how much code does it take to do all that With Piston this much Total lines Compact CptLns Avg lines Compact src rd events gameloop rs Lines buttons rs Lines mod rs Lines rd utils colors rs Lines not all lines are required mod rs Lines main rs Lines some lines are whitespace app rs Lines So relative to what I ve seen before that s not a lot of code Just a few lines for making the window and event register a fair bit of lines to rendering the the background and drawing the shape at its given X Y position and a small bit for detecting the key presses and updating the X and Y position So Why do I like Piston so far It s concise and it s been for the most part straightforward Check out their homepage they even show off some great examples of how their library has been used Rust HematiteThanks for reading Cheers 2022-01-30 07:21:15
海外TECH DEV Community mdbook-pdf: A mdBook backend for generating PDF files https://dev.to/hollowman6/mdbook-pdf-a-mdbook-backend-for-generating-pdf-files-4m6p mdbook pdf A mdBook backend for generating PDF files IntroductionmdBook allows you to create book from markdown files It s pretty much alike Gitbook but implemented in Rust However unlike Gitbook that supports using calibre for generating PDF for a long time mdBook doesn t support generating PDF files natively and supporting that is also not in their roadmap Existing plugins backends such as mdbook latex that utilize Tectonic as well as pandoc solutions will generate a PDF page that doesn t unify with the existing mdBook generated HTML version Considering these facts I created a mdBook backend named mdbook pdf for generating PDF based on headless chrome and Chrome DevTools Protocol Page printToPDF mdbook pdf depends on Google Chrome Microsoft Edge Chromium The generated page are pretty much alike the one you manually print to PDF in your browser by opening print html or executing google chrome stable headless print to pdf output pdf file path to print html but with customization of PDF paper orientation scale of the webpage rendering paper width and height page margins generated PDF page ranges whether to display header and footer as well as customize their formats and more as well as automation It supports all the platform where Google Chrome Microsoft Edge Chromium would work You can check samples of the generated PDF files in the Artifacts here The Rust book collections generated in x Windows macOS as well as Linux Installation amp UsageSince it s a plugin backend for mdBook first of all you should ensure that mdbook is available If your machine s architecture is x or you are using Linux for ARM check the successful build GitHub Actions workflows click into the latest one and then you can get a binary from the Artifacts including Windows Linux macOS Otherwise make sure the rust compiling environment is available execute cargo install mdbook pdf to compile and install If you want to compile the latest version make sure the Rust build environment is available cargo build Then run git clone in the cloned folder run cargo build release get the executable in target release and put it in PATH For running have Google Chrome Chromium Microsoft Edge available installed at the default location in PATH or binary location configured as currently automatically downloading Chromium binary isn t available will update once upstream fixes such support On Windows and above the program can generate PDF normally without installing any additional software because Microsoft Edge is the browser provided with Windows system Of course considering the support for the older versions of Windows without Edge you can install Google Chrome on your computer In MacOS you need to install Google Chrome Microsoft Edge or Chromium In Linux you can choose to install any of the Google Chrome Chromium Microsoft Edge browsers It is recommended to install Chromium The name of this software package in your Linux distribution is commonly chromium or chromium browser Note for Ubuntu later than you have to install chromium browser through snap Make sure the following exists in your book toml output html output pdf And also output html print is not disabled it should be enabled by default so don t worry if the following lines doesn t occur in you book toml output html print enable trueA simplest book toml is as follows book title An Example output html output pdf Finally you can build your book and get the PDF file with mdbook build command your PDF file will be available at book pdf output pdf ConfigurationCheck book toml and comments for details for the available configurations of output pdf CreditsThis project relies on headless chrome Because the new version has not been released and the default timeout is not friendly to PDF generation I use my Fork version to publish mdbook pdf headless chrome for expanding the relevant timeout to seconds as a submodule of this project thus enabling the project to be published on Crates io as well Some Notes and ThoughtsmdBook supports adding alternative backend When the mdbook build command is invoked if the book toml in the book folder has an output pdf item in addition to the default output html for generating the html web page mdbook pdf will be called and the relevant book information and parameter configuration in JSON are passed to the standard input of the program Relevant mdBook documentation can be found here A headless browser means that all the operations will be in the background without a graphical interface Before decided to use Chrome DevTools Protocol Page printToPDF I also tried wkhtmltopdf which is based on QT Webkit Hovewer wkhtmltopdf doesn t seem to support CSS Printing media Rule which will make some extra components visible and printed in the PDF I ve also tried directly making HTTP calls to the WebDriver in python based on WC WebDriver Protocol Print Page as well as using selenium for calling Chrome DevTools Protocol Page printToPDF in Python All those methods are not robust for large pages with the errors as follows for just the same reason for the original upstream headless chrome the default timeout is seconds which is not friendly to large page PDF generation timeout Timed out receiving message from renderer selenium common exceptions WebDriverException Message unknown error session deleted because of page crashfrom unknown error cannot determine loading statusfrom tab crashedAt present I have tested that Firefox does not support using headless chrome for PDF generation and the Safari browser even does not support the WC WebDriver Protocol Print Page let alone Chrome DevTools Protocol I ve noticed that for some book by using this backend when click on some links that link inside the book a html page that points to the original generated HTML storing path of the book will be opened just as the issue mentioned here I guess for those internal links inside the book work should be done in the mdbook side for print html referring here so that all the links linked internally would jump inside the generated print html as all the contents should already be on the print html there shouldn t be any hyperlinks that jump to other html files in the book By resolving in this way the generated PDF would also jump internally instead of opening a browser that won t connect to anything In addition as I found that special characters such as are very likely to appear in the title of the book which will cause the generation of the related PDF file to fail so the file name does not use the form of lt book name gt pdf but output pdfHope you enjoy it 2022-01-30 07:09:48
海外ニュース Japan Times latest articles North Korea ups ante with longest-range missile test since 2017 https://www.japantimes.co.jp/news/2022/01/30/asia-pacific/north-korea-missile-launch-seventh/ North Korea ups ante with longest range missile test since Sunday s launch which experts said was likely an intermediate range weapon could effectively bring an end to leader Kim Jong Un s self imposed moratorium of longer range missile 2022-01-30 16:27:49
ニュース BBC News - Home Covid: Covid jabs offered to at-risk five to 11-year-olds in England, and National Insurance hike confirmed https://www.bbc.co.uk/news/uk-60185896?at_medium=RSS&at_campaign=KARANGA coronavirus 2022-01-30 07:21:45
ニュース BBC News - Home North Korea missile tests: Biggest launch since 2017 https://www.bbc.co.uk/news/world-asia-pacific-60186538?at_medium=RSS&at_campaign=KARANGA launch 2022-01-30 07:24:31
ニュース BBC News - Home US East Coast blanketed by 'bombogenesis' snowstorm https://www.bbc.co.uk/news/world-us-canada-60177979?at_medium=RSS&at_campaign=KARANGA bombogenesis 2022-01-30 07:44:15
ニュース BBC News - Home Bloody Sunday: Events to commemorate 50th anniversary https://www.bbc.co.uk/news/uk-northern-ireland-60130409?at_medium=RSS&at_campaign=KARANGA londonderry 2022-01-30 07:31:50
ニュース BBC News - Home Women's Ashes: England and Australia draw Test in incredible finale https://www.bbc.co.uk/sport/cricket/60186075?at_medium=RSS&at_campaign=KARANGA cricket 2022-01-30 07:53:57
ニュース BBC News - Home Bader edges out Moldavsky to retain heavyweight title https://www.bbc.co.uk/sport/mixed-martial-arts/60187080?at_medium=RSS&at_campaign=KARANGA bellator 2022-01-30 07:26:17
ニュース BBC News - Home List wins first PGA title at 206th attempt https://www.bbc.co.uk/sport/golf/60187322?at_medium=RSS&at_campaign=KARANGA attemptworld 2022-01-30 07:07:27
LifeHuck ライフハッカー[日本版] 【楽天セール】50%ポイント還元・生食用牡蠣4kgや、20%還元・エリエール トイレットペーパーなど https://www.lifehacker.jp/article/rakuten-sale-0130-1/ 楽天市場 2022-01-30 07:30:00
ビジネス 東洋経済オンライン Z世代が「支持する企業」「しない企業」決定的な差 世界の消費の4割支える世代が考えていること | ブックス・レビュー | 東洋経済オンライン https://toyokeizai.net/articles/-/504790?utm_source=rss&utm_medium=http&utm_campaign=link_back 東洋経済オンライン 2022-01-30 16:30: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件)