IT |
気になる、記になる… |
Microsoft、「Windows 11 Insider Preview Build 25309」をDevチャネル向けにリリース |
https://taisy0.com/2023/03/03/169191.html
|
build |
2023-03-02 22:55:15 |
IT |
気になる、記になる… |
Apple、「macOS 13.3 beta」向けに「Studio Display」の”ファームウェアアップデート16.4 beta 2″を配信開始 |
https://taisy0.com/2023/03/03/169189.html
|
apple |
2023-03-02 22:38:50 |
IT |
ビジネス+IT 最新ニュース |
なぜ説明が伝わらないのか?「回りくどい」とは言わせない、相手の心を動かすフレーズ5選 |
https://www.sbbit.jp/article/cont1/106248?ref=rss
|
なぜ説明が伝わらないのか「回りくどい」とは言わせない、相手の心を動かすフレーズ選上司に意見をぶつけてみても、ちゃんと説明しても、「言いたいことが伝わらない」と歯がゆい思いをしていませんか説明力は、あなたが思っているよりも簡単に身につけることができます。 |
2023-03-03 07:10:00 |
AWS |
AWS Big Data Blog |
Access Amazon Athena in your applications using the WebSocket API |
https://aws.amazon.com/blogs/big-data/access-amazon-athena-in-your-applications-using-the-websocket-api/
|
Access Amazon Athena in your applications using the WebSocket APIIn this post we present a solution that can integrate with your front end application to query data from Amazon S using an Athena synchronous API invocation With this solution you can add a layer of abstraction to your application on direct Athena API calls and promote the access using the WebSocket API developed with Amazon API Gateway The query results are returned back to the application as Amazon S presigned URLs |
2023-03-02 22:10:19 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
ChatGPT APIをlangchainから4行で超簡単に使う |
https://qiita.com/yakigac/items/223f08925ec2067ece90
|
chatgptapi |
2023-03-03 07:43:07 |
技術ブログ |
Developers.IO |
[アップデート] Amazon Inspector で AWS Lambda コードスキャンがプレビュー利用出来るようになりました |
https://dev.classmethod.jp/articles/code-scans-lambda-functions-amazon-inspector/
|
amazoninspector |
2023-03-02 22:07:58 |
海外TECH |
Ars Technica |
Pixel Watch bill of materials estimate can’t explain the sky-high price |
https://arstechnica.com/?p=1921395
|
pixel |
2023-03-02 22:15:14 |
海外TECH |
MakeUseOf |
6 Ways to Identify Who an Unknown Caller Is |
https://www.makeuseof.com/ways-identifiy-unknown-caller/
|
caller |
2023-03-02 22:31:17 |
海外TECH |
MakeUseOf |
10 Things to Consider Before Subscribing to a VPN |
https://www.makeuseof.com/things-to-consider-before-subscribing-to-a-vpn/
|
consider |
2023-03-02 22:15:15 |
海外TECH |
DEV Community |
Web Scraping With Puppeteer for Total Noobs: Part 3 |
https://dev.to/juniordevforlife/web-scraping-with-puppeteer-for-total-noobs-part-3-2il0
|
Web Scraping With Puppeteer for Total Noobs Part Hello and welcome to the third and final post of this series If you missed the previous please feel free to give them a quick read before proceeding In this post I ll show you how I set up a GitHub Action to automatically scrape some weather data on a schedule Before we begin I must tell you that I changed the source of the weather data due to some complications with weather com I m sure it s possible to get around the issues I was having but for the sake of moving forward without the extra kerfuffle I changed the source to one that I believe will not cause you any grief Note This post assumes you re comfortable with creating and updating a GitHub repository Catching upIn the previous post I shared with you the scrape function that we used to scrape weather com and console log the output I ll go ahead and paste the updated scrape function with the new source below async function scrape const browser await puppeteer launch const page await browser newPage await page goto const weatherData await page evaluate gt Array from document querySelectorAll tr fct day e gt dayOfMonth e querySelector td gt div text left gt fct day of month innerText dayName e querySelector td gt div text left gt fct day of week innerText weatherIcon e querySelector td text center gt fct daily icon classList weatherIconPercent e querySelector td text center getElementsByTagName div innerText highTempRange e querySelector td text center gt F gt div gt label danger innerText lowTempRange e querySelector td text center gt F getElementsByTagName div innerText await browser close return weatherData As you can see the source is now of course you can change this to whatever city you fancy The logic is practically the same as in we re creating an array of data however since we switched sources of course we have to target the elements in the page which are without a doubt different than the weather com page Rather than a day forecast we re now getting the entire current month s forecast The data is a bit odd without some context However I m sure you could develop some kind of map or object that would translate the data such as the weather icon and weather icon percent to something meaningful Anyways on with the show Preparing to write the dataIn order for us to reach the end goal of writing this scraped data to a json file in a GitHub repository we ll need to add some final touches to the scraper js file Admittedly I m no expert when it comes interacting with the file system using node js or any language for that matter However I can fanagle my way around I ll share with you what I ve got and if you re more knowledgeable than me on the subject please feel free to fill in the blanks We want to write our scraped data to a file in our repository that we ll name weatherdata json In order to do so we ll have this line at the end of our scraper js file execute and persist datascrape then data gt persist data fs writeFileSync path resolve pathToData JSON stringify data null the writeFileSync method is part of the node js filesystem module You can loearn more about this method here Essentially what we re doing with it is passing in the path to our file weatherdata json as the first parameter and our scraped data as the second parameter The writeFileSync method will create the file if it doesn t exist or overwrite the file with the new data if it does exist As I mentioned our first parameter is the path to the weatherdata json file which is passed in to the writeFileSync like so path resolve pathToData Since we are using ES Modules filename and dirname are not readily available I shamelessly cut and pasted the code below from this source in order to create the pathToData variable const filename fileURLToPath import meta url const dirname path dirname filename const pathToData path join dirname weatherdata json Having the dirname available helps us find the path to our weatherdata json file That wraps up all of the changes to the scraper js file minus the import statements at the top I ll share the whole file so that it may be easier to read import puppeteer from puppeteer import fs from fs import path from path import fileURLToPath from url const filename fileURLToPath import meta url const dirname path dirname filename const pathToData path join dirname weatherdata json async function scrape const browser await puppeteer launch const page await browser newPage await page goto const weatherData await page evaluate gt Array from document querySelectorAll tr fct day e gt dayOfMonth e querySelector td gt div text left gt fct day of month innerText dayName e querySelector td gt div text left gt fct day of week innerText weatherIcon e querySelector td text center gt fct daily icon classList weatherIconPercent e querySelector td text center getElementsByTagName div innerText highTempRange e querySelector td text center gt F gt div gt label danger innerText lowTempRange e querySelector td text center gt F getElementsByTagName div innerText await browser close return weatherData execute and persist datascrape then data gt persist data fs writeFileSync path resolve pathToData JSON stringify data null Setting Up the GitHub ActionThe goal of our GitHub Action is to scrape our weather source on a weekly basis and save the latest data in a json file If you ve never created an action I ll walk you through steps First find the Actions tab in your GitHub repository Click to go in to the Actions page Next click the New Workflow button This will open up a page of options however we just want to select the Set up a workflow yourself options This will drop you in to an editor Feel free to name the yaml file whatever you d like or leave it as main yml Go ahead and paste this in name Resourceson schedule cron workflow dispatch permissions contents writejobs resources name Scrape runs on ubuntu latest steps uses actions checkout v uses actions setup node v with node version run npm ci name Fetch resources run node scraper js name Update resources uses test room action update file v with file path weatherdata json commit msg Update resources github token secrets GITHUB TOKEN After pasting it in you can commit the new yml file by clicking the Start Commit button and entering the commit message etc So there are a couple of things to note about this action The action is run on a schedule using the cron property The value that I have in place says that the action will be triggered every Monday at PM Make sure your JavaScript file with the scrape method is named scraper js or if it s not update the action and replace scraper js with your file name We are using the test room action update file v to assist us with updating the scraper js file Look them up on GitHub if you d like to know more about that action If you d rather run the action whenever you please comment out or delete these two lines schedule cron and uncomment this line workflow dispatch Then you ll see a button somewhere in the actions area that will allow you to run the job whenever you d like This works well for testing out actions You can see my repository here ConclusionI have learned a whole heck of a lot in this series I stepped out of my comfort zone and was able to get something working There were some hurdles along the way but at the end of the day it s all about getting my hands dirty and figuring things out I hope you learned something as well If you found these posts interesting boring lacking great etc please let me know Thank you |
2023-03-02 22:00:44 |
海外TECH |
Engadget |
Alienware reveals revamped gaming peripherals |
https://www.engadget.com/alienware-reveals-revamped-gaming-peripherals-220044252.html?src=rss
|
Alienware reveals revamped gaming peripheralsAlienware announced a slew of revamped PC gaming peripherals today in a Twitch livestream In addition it revealed pricing and release info for its latest laptops from CES First the mechanical Alienware Tri Mode Wireless Gaming Keyboard lets you connect in three ways a GHz wireless USB C dongle including a dongle extender Bluetooth or a detachable USB A to USB C paracord cable The keyboard uses Cherry MX Red switches with a million actuation lifecycle a programmable rocker switch and dial anti ghosting and N key rollover The keyboard starts at and launches in the US and China on April th and the rest of the world on May th Alienware Tenkeyless Gaming KeyboardAlienwareThe wired Tenkeyless Gaming Keyboard is a slimmer and more compact mechanical model It also uses Cherry MX Red switches double shot PBT keycaps anti ghosting and N key rollover The keyboard has an integrated cable routing on its underside that lets you position it toward the left right or center depending on your setup and the USB cable is detachable It supports per key RGB lighting in million colors It s available today for Alienware also announced the Dual Mode Wireless Gaming Headset which connects to your PC with a bundled USB C dongle or mm audio cable It has a mm wide headband with a sliding adjustment and memory foam ear cups covered in fabric Alienware says it s plenty roomy inside with “comfortable contact points with your head It includes a retractable boom mic and can cancel out background noise for your audience while you re speaking not to be confused with active noise cancelation which it doesn t have In addition the headset uses mm drivers and supports Dolby Atmos Finally the company says its battery will last up to hours The headset is available today costing Alienware Wired Gaming HeadsetAlienwareThe company also revealed a second model the Alienware Wired Gaming Headset Although you ll need to plug it in through USB or a mm cable it otherwise has near feature parity with the wireless model It also supports Dolby Atmos and has RGB lighting it uses a mm sliding headband memory foam ear cups covered in fabric and a retractable boom mic with AI powered voice isolation The headset costs and launches on April th in North America and China and May th in other parts of the world The last of the newly announced gear is the Alienware Wireless Gaming Mouse It has a sculpted right handed design with a dedicated thumb channel “to help provide comfortable control during long gaming sessions It has independent L R keyplates and optical switches Alienware says the mouse s sensor supports up to dots per inch while tracking quick movements with inches per second and G max acceleration Additionally it has tactile grip zones Alienware promises up to hours of battery life and the company says five minutes of charging while on a low battery will yield hours of uptime The mouse which already launched in China last week is available today in North America and on March st elsewhere it will cost Devindra Hardawar EngadgetThe company also announced new pricing and release info for products it announced at CES The Alienware m and m laptops will be available in all Intel and Nvidia variants on March th The m starts at while the m starts at Meanwhile the Dell G and up and G and up launch on March st in Intel Nvidia flavors AMD options for all those models will arrive in Q with pricing info coming later Finally the Alienware x R launches in early April with a starting price This article originally appeared on Engadget at |
2023-03-02 22:00:44 |
金融 |
金融総合:経済レポート一覧 |
FX Daily(3月1日)~米長期金利4%到達でドル円下支え |
http://www3.keizaireport.com/report.php/RID/528456/?rss
|
fxdaily |
2023-03-03 00:00:00 |
金融 |
金融総合:経済レポート一覧 |
付き合い方が難しい 中国の景気回復と米国のインフレ:Market Flash |
http://www3.keizaireport.com/report.php/RID/528459/?rss
|
marketflash |
2023-03-03 00:00:00 |
金融 |
金融総合:経済レポート一覧 |
【挨拶】わが国の経済・物価情勢と金融政策 神奈川県金融経済懇談会における挨拶要旨 日本銀行政策委員会審議委員 高田創 |
http://www3.keizaireport.com/report.php/RID/528463/?rss
|
日本銀行 |
2023-03-03 00:00:00 |
金融 |
金融総合:経済レポート一覧 |
データを読む:国内106銀行「総資金利ざや」調査~【2022年9月中間期決算】総資金利ざや 10年ぶりに0.2%台 |
http://www3.keizaireport.com/report.php/RID/528486/?rss
|
東京商工リサーチ |
2023-03-03 00:00:00 |
金融 |
金融総合:経済レポート一覧 |
データを読む:にしせと地域共創債権回収・坂本社長 単独インタビュー |
http://www3.keizaireport.com/report.php/RID/528488/?rss
|
債権回収 |
2023-03-03 00:00:00 |
金融 |
金融総合:経済レポート一覧 |
物価連動国債の概要及び特徴:Issue Brief |
http://www3.keizaireport.com/report.php/RID/528492/?rss
|
issuebrief |
2023-03-03 00:00:00 |
金融 |
金融総合:経済レポート一覧 |
マーケットデータシート:主要商品相場における直近の価格推移 |
http://www3.keizaireport.com/report.php/RID/528495/?rss
|
国際金融情報センター |
2023-03-03 00:00:00 |
金融 |
金融総合:経済レポート一覧 |
マーケットデータシート:主要市場動向 期間(2022年1月~2023年2月) |
http://www3.keizaireport.com/report.php/RID/528496/?rss
|
国際金融情報センター |
2023-03-03 00:00:00 |
金融 |
金融総合:経済レポート一覧 |
マーケットデータシート:政策金利(日本・米国・ユーロエリア・英国の政策金利の推移) |
http://www3.keizaireport.com/report.php/RID/528497/?rss
|
国際金融情報センター |
2023-03-03 00:00:00 |
金融 |
金融総合:経済レポート一覧 |
各資産の利回りと為替取引によるプレミアム/コスト |
http://www3.keizaireport.com/report.php/RID/528514/?rss
|
三菱ufj |
2023-03-03 00:00:00 |
金融 |
金融総合:経済レポート一覧 |
マーケットフォーカス(国内市場)2023年3月号 |
http://www3.keizaireport.com/report.php/RID/528515/?rss
|
三井住友トラスト |
2023-03-03 00:00:00 |
金融 |
金融総合:経済レポート一覧 |
マンスリー・マーケット 2023年2月のマーケットをザックリご紹介 |
http://www3.keizaireport.com/report.php/RID/528516/?rss
|
日興アセットマネジメント |
2023-03-03 00:00:00 |
金融 |
金融総合:経済レポート一覧 |
2023年3月日銀金融政策決定会合プレビュー:市川レポート |
http://www3.keizaireport.com/report.php/RID/528518/?rss
|
三井住友 |
2023-03-03 00:00:00 |
金融 |
金融総合:経済レポート一覧 |
IPOマーケットレポート(1/30~2/24)~東証スタンダードに1社の新規上場が行われました。 |
http://www3.keizaireport.com/report.php/RID/528528/?rss
|
新規上場 |
2023-03-03 00:00:00 |
金融 |
金融総合:経済レポート一覧 |
先月のマーケットの振り返り(2023年2月)~2月の主要国の株式市場は高安まちまちとなりました。 |
http://www3.keizaireport.com/report.php/RID/528530/?rss
|
三井住友 |
2023-03-03 00:00:00 |
金融 |
金融総合:経済レポート一覧 |
BIS決済・市場インフラ委員会による市中協議文書「クロスボーダー送金の改善のためのISO 20022の仕様にかかる共通要件」の公表について |
http://www3.keizaireport.com/report.php/RID/528550/?rss
|
日本銀行 |
2023-03-03 00:00:00 |
金融 |
金融総合:経済レポート一覧 |
近時におけるアクティビストの潮流:Trend watcher |
http://www3.keizaireport.com/report.php/RID/528564/?rss
|
eyjapan |
2023-03-03 00:00:00 |
金融 |
金融総合:経済レポート一覧 |
【記者会見】中川審議委員(福島、3月1日分) |
http://www3.keizaireport.com/report.php/RID/528584/?rss
|
日本銀行 |
2023-03-03 00:00:00 |
ニュース |
BBC News - Home |
Real Madrid 0-1 Barcelona in Copa del Rey: Eder Militao own goal gives Barca first-leg edge |
https://www.bbc.co.uk/sport/football/64829271?at_medium=RSS&at_campaign=KARANGA
|
Real Madrid Barcelona in Copa del Rey Eder Militao own goal gives Barca first leg edgeAn own goal from Eder Militao gives disciplined Barcelona victory over Real Madrid in the first leg of their Copa del Rey semi final |
2023-03-02 22:49:04 |
コメント
コメントを投稿