投稿時間:2023-07-26 17:31:45 RSSフィード2023-07-26 17:00 分まとめ(35件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT ITmedia 総合記事一覧 [ITmedia News] NHK、「鎌倉殿の13人」「岸辺露伴」など配信再開へ 市川猿之助容疑者の出演作 https://www.itmedia.co.jp/news/articles/2307/26/news164.html itmedianewsnhk 2023-07-26 16:23:00
IT ITmedia 総合記事一覧 [ITmedia PC USER] エイサー、スリム軽量16型ノート「Swift Edge」に法人向け新モデル https://www.itmedia.co.jp/pcuser/articles/2307/26/news161.html itmediapcuser 2023-07-26 16:15:00
IT ITmedia 総合記事一覧 [ITmedia News] Twitterで「#米津玄師」と検索すると……? 話題のアイツが降ってくる https://www.itmedia.co.jp/news/articles/2307/26/news160.html itmedianewstwitter 2023-07-26 16:08:00
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] もんで飲む「氷」 カリカリ梅の赤城フーズ、内と外から冷やす熱中症対策 https://www.itmedia.co.jp/business/articles/2307/26/news151.html itmedia 2023-07-26 16:06:00
TECH Techable(テッカブル) ChatGPTを安全に使える法人・行政向けSaaS「Crew」、群馬県庁でトライアル導入! https://techable.jp/archives/214141 chatgpt 2023-07-26 07:00:06
js JavaScriptタグが付けられた新着投稿 - Qiita 【JavaScript】【Jquery】カンマ区切りの文字列を配列にする splitを使う https://qiita.com/panda-chibi/items/e9be3cbeee327373847b utfletstrletresultstrings 2023-07-26 16:03:44
Ruby Rubyタグが付けられた新着投稿 - Qiita allow_nil: trueとは https://qiita.com/runchan/items/d0507ed98e8f50b9d208 allow 2023-07-26 16:13:22
AWS AWSタグが付けられた新着投稿 - Qiita [AWS]Default Host Management Configration(DHMC)でIAMロールなしでEC2をマネージドインスタンスに https://qiita.com/sshimoyama/items/af51523b2426c90d8a70 gementconfigrationdhmc 2023-07-26 16:16:06
AWS AWSタグが付けられた新着投稿 - Qiita AWS 高度なネットワーク(ANS-C01)合格体験記 https://qiita.com/todotodom/items/c7dcce8dd8988bcab460 高度 2023-07-26 16:07:48
Docker dockerタグが付けられた新着投稿 - Qiita Dockerで建てたunboundにログの出力をさせてみる https://qiita.com/engishoma/items/ca01c9fc08011d94907d docker 2023-07-26 16:43:29
Docker dockerタグが付けられた新着投稿 - Qiita mod_ext_filter: 未インストールと出たら・・・ https://qiita.com/k_bobchin/items/e932114f7f67796355f2 apache 2023-07-26 16:28:55
Docker dockerタグが付けられた新着投稿 - Qiita allow_nil: trueとは https://qiita.com/runchan/items/d0507ed98e8f50b9d208 allow 2023-07-26 16:13:22
Azure Azureタグが付けられた新着投稿 - Qiita AZ-900 に合格した話と対策 https://qiita.com/sac-mura/items/e5ddcb47f889465b5cc9 誰か 2023-07-26 16:11:26
Ruby Railsタグが付けられた新着投稿 - Qiita allow_nil: trueとは https://qiita.com/runchan/items/d0507ed98e8f50b9d208 allow 2023-07-26 16:13:22
海外TECH DEV Community How to - Web scrape with Power Automate Cloud https://dev.to/wyattdave/how-to-web-scrape-with-power-automate-cloud-4h16 How to Web scrape with Power Automate CloudWeb scraping has always been a Power Automate Desktop functionality but did you know you can also use Power Automate Cloud Let me call out a few important caveats The Cloud approach doesn t work on all sites it only works on static or php generated html files Anything rendered on the client won t work for that you need a headless browser or a full browser that s where Power Automate Desktop comes in Additionally if the content is very dynamic i e continually changing dom id s names it can also be very difficult Another thing to be aware of the legal limitations of web scraping as a whole example scraping personal information is not allowed Additionally as sites don t want to be scraped they play a few tricks sites to stop it Some even embedded hidden personal data to make it illegal to scrape With that out the way let me show you how As an example site I m going to use I could want to extract the emissions table to update a cost forecast links to navigate too other pages when last update or any other piece of information To get the web page we are going to use the HTTP connector with minimum configuration just the Method and URL You should see the html content in the body return If you get an error or JavaScript loaded return then this approach won t work as it requires the browser to run the script to render the page example below is a google search There are now approaches we can use to extract the data from the page Substring Expression only for very simple pages extracts Script more complex but must have repeated structure GPT most powerful but has challenges Substring ExpressionIf you can this is the method to go with it works consistently and is easiest to create Though it has a single key requirement for it to work the data you are grabbing must have a consistent dom element e g lt div id data gt So in the example if we wanted the emissions table we are lucky as there is only one table on the page so we can extract the dom element lt table gt We add another lt table gt at the end as we use this as our end of data so gets cut offExpressionsubstring body HTTP indexOf body HTTP lt table gt sub indexOf body HTTP lt table gt indexOf body HTTP lt table gt Substring requires text start character number number of characters so we pass the http body we use indexOf to find the character number of lt table gt Then to calculate the length to return we use another indexOf to find the lt table gt Though this returns the number of characters from the start of the text not the start of the lt table gt so we subtract the lt table gt character umber from it ScriptPower Automate expressions are a little limited so we can extend its functionality with Office Scripts We don t need to actually use an Excel file just use it as a place holder to send and return data For more about Office Script s check out my previous blog How to Master Power Automate Scripts With the Power of JavaScript TypeScript there are multiple ways to extract the data but the most useful is a simple regex Lets say in our example we want all the links maybe to pass onto another web scrape stage we can pass the http body to an office script which then uses regex to return all links An empty excel file is used with the below script GPTThere will be certain times when the data or web page structure is too irregular and when it is we have an ace up our sleeve the Create text with GPT I ve done a full blog about what it can do here This connector can use natural language prompts to extract data from context data But there is one big issue there is a token character limit for context data so we can t send the full webpage A token is approximately a character word but it s not particularly easy to calculate on the fly so I go with a safe character limit To fix this we need to combine with either of the first approaches to make the context data shorter In the demo example I m going to look for the contents list I know it will always be near the top so I want to start my context data at the title which I know will always be the same Then pass the next characters Expressionsubstring body HTTP indexOf body HTTP Vehicle tax rates And we get Below shows how simple all the approaches are from an actions side You might also combine them in different ways like gpt connector converting the table or a script to remove markup tags to decrease the tokens As you can see in certain circumstances it is possible to web scrape with a Cloud Flow but just remember Check the sites are legal to scrapeMake sure the site is suitableCheck your account has enough Power Platform API callsIf using GPT you have enough AI Builder Credits its free while in preview but that wont lastAnd there is always Power Automate Desktop Nice blog how here 2023-07-26 07:37:04
海外TECH DEV Community Events are the shit https://dev.to/thepassle/events-are-the-shit-b3i Events are the shitPardon my profanity there s just no better way to say it Events are just great In this blog I ll showcase some cool things that you can achieve with just plain old events You might not need an expensive or heavy library Try an event Use EventTargetDid you know you can instantiate EventTargets const target new EventTarget target dispatchEvent new Event foo target addEventListener foo event gt Extend Event Did you know you can extend Event Instead of creating CustomEvents you can just extend the Event class and assign data to it or even implement other methods on it Create the event class MyEvent extends Event constructor data super my event bubbles true composed true this data data const target new EventTarget Fire the event target dispatchEvent new MyEvent foo bar Catch the event target addEventListener my event data gt console log data foo bar Extend EventTarget Did you know you can also extend EventTarget Here s how you can create a super minimal state manager using events class StateEvent extends Event constructor state super state changed this state state export class State extends EventTarget state constructor initialState super this state initialState setState state this state typeof state function state this state state this dispatchEvent new StateEvent this state getState return this state export const state new State And then you can use it like state setState foo bar state foo bar state setState old gt old bar baz state foo bar bar baz state addEventListener state changed state gt Assign state trigger a render whatever state getState foo bar bar baz I use this in my thepassle app tools library and it s often all the state management I need Super tiny but powerful state manager Events are syncDid you know events execute synchronously const target new EventTarget console log first target addEventListener foo data gt console log second target dispatchEvent new Event foo console log third Outputs first second third Context like patternsIt s a common scenario to pass down properties to child components However sometimes you end up in a situation known as prop drilling where you need to get some property down to a deeply nested child component and along the way you re passing the property through components that really don t need to know about the property in the first place In this case it can sometimes be easier for the child component to request the property from a parent higher up the tree This is also known as the context pattern Since events execute synchronously we can just use the following pattern class MyParent extends HTMLElement theme dark connectedCallback The provider this addEventListener theme context event gt event theme this theme export class MyChild extends HTMLElement connectedCallback const event new Event theme context bubbles true composed true this dispatchEvent event Because events execute synchronously the callback for theme context event executes first and assigns the theme to the event which we can then access in the child component console log event theme dark Promise carrying eventsDid you know events can also carry promises A great showcase of this pattern is the Pending Task Protocol by the Web Components Community Group Now Pending Task Protocol sounds very fancy but really it s just an event that carries a promise Consider the following example we create a new PendingTaskEvent class class PendingTaskEvent extends Event constructor complete super pending task bubbles true composed true this complete complete And then in a child component whenever we do some asynchronous work we can send a new PendingTaskEvent to signal to any parents that a task is pending class ChildElement extends HTMLElement async doWork startWork const workComplete this doWork this dispatchEvent new PendingTaskEvent workComplete In our parent component we can then catch the event and show hide a loading state class ParentElement extends HTMLElement pendingTaskCount constructor super this addEventListener pending task async e gt e stopPropagation if this pendingTaskCount this showSpinner await e complete if this pendingTaskCount this hideSpinner 2023-07-26 07:27:17
医療系 医療介護 CBnews 感染対策、「恒常的」な評価の議論始まる-コロナ特例は適切な時期に議論 https://www.cbnews.jp/news/entry/20230726155658 中央社会保険医療協議会 2023-07-26 16:25:00
医療系 医療介護 CBnews 地域支援体制加算「要件厳格化を」中医協・支払側-診療側は取り組み進むよう評価を要望 https://www.cbnews.jp/news/entry/20230726154832 中央社会保険医療協議会 2023-07-26 16:20:00
金融 ニッセイ基礎研究所 日本の物価は持続的に上昇するか-消費者物価の今後の動向を考える https://www.nli-research.co.jp/topics_detail1/id=75576?site=nli また、食品価格については、「価格改定時期の同調性」があると指摘されており日本銀行、他社が値上げをするなら自社も値上げをするといったように、値上げが値上げを呼び価格上昇が加速しやすい状況となる可能性もある。 2023-07-26 16:33:00
海外ニュース Japan Times latest articles Nadeshiko Japan down Costa Rica to put one foot in last 16 https://www.japantimes.co.jp/sports/2023/07/26/soccer/womens-world-cup/nadeshiko-japan-costa-rica-put-one-foot-last-16/ knockout 2023-07-26 16:19:31
ニュース BBC News - Home Deadly Mediterranean wildfires kill more than 40 https://www.bbc.co.uk/news/world-europe-66308728?at_medium=RSS&at_campaign=KARANGA italy 2023-07-26 07:18:37
ニュース BBC News - Home Japan 2-0 Costa Rica: 2011 champions on brink of Women's World Cup last 16 after win https://www.bbc.co.uk/sport/football/66290694?at_medium=RSS&at_campaign=KARANGA Japan Costa Rica champions on brink of Women x s World Cup last after winJapan are on the verge of qualifying for the Fifa Women s World Cup round of after a routine win over Costa Rica in Dunedin 2023-07-26 07:09:17
ニュース BBC News - Home Women's World Cup 2023: Japan ease to comfortable 2-0 win over Costa Rica - highlights https://www.bbc.co.uk/sport/av/football/66268680?at_medium=RSS&at_campaign=KARANGA Women x s World Cup Japan ease to comfortable win over Costa Rica highlightsWatch highlights as goals from Hikaru Naomoto and Aoba Fujino secure Japan a comfortable win over Costa Rica at the Fifa Women s World Cup in Dunedin 2023-07-26 07:44:11
ニュース BBC News - Home LeBron James' eldest son Bronny stable after cardiac arrest https://www.bbc.co.uk/sport/basketball/66304746?at_medium=RSS&at_campaign=KARANGA LeBron James x eldest son Bronny stable after cardiac arrestBronny James the eldest son of basketball great LeBron James is in a stable condition after suffering a cardiac arrest says a family spokesperson 2023-07-26 07:47:02
ビジネス ダイヤモンド・オンライン - 新着記事 【寄稿】偽りの朝鮮半島「平和」運動 - WSJ発 https://diamond.jp/articles/-/326739 朝鮮半島 2023-07-26 16:10:00
ビジネス プレジデントオンライン イカサマで相手を負かし、生きたまま皮を剝ぐ…傍若無人な音楽の神・アポロンの「パワハラ伝説」をご存知か - 「どちらが世界一の音楽家か勝負しろ」 https://president.jp/articles/-/71958 傍若無人 2023-07-26 17:00:00
マーケティング MarkeZine 電通デジタル、未来予測ツール「Web3未来曼荼羅」を提供 計45の兆しを紹介し、ビジネス構想を支援 http://markezine.jp/article/detail/42899 未来予測 2023-07-26 16:30:00
マーケティング MarkeZine ヤフー、「アドパーソナライズセンター」をリリース 広告への利用情報をユーザーがカスタマイズ可能に http://markezine.jp/article/detail/42908 情報 2023-07-26 16:15:00
IT 週刊アスキー LINK SPIRITS、鹿児島市 BAR小原にて本格芋焼酎スピリッツ「NANAIRO」使用のオリジナルカクテル3種を提供 https://weekly.ascii.jp/elem/000/004/146/4146930/ linkspirits 2023-07-26 16:45:00
IT 週刊アスキー 「UR フルアーマーZZガンダム」が新登場!『機動戦士ガンダムUCE』で極限定ガシャが開催中 https://weekly.ascii.jp/elem/000/004/146/4146956/ ucengage 2023-07-26 16:30:00
IT 週刊アスキー まな板になる皿「CHOPLATE(チョップレート)」、新たに大皿が登場 https://weekly.ascii.jp/elem/000/004/146/4146950/ choplate 2023-07-26 16:15:00
IT 週刊アスキー Honda、島根県松江市にて小型船舶用の4kW電動推進機プロトタイプを用いた実証実験を開始 https://weekly.ascii.jp/elem/000/004/146/4146954/ honda 2023-07-26 16:30:00
IT 週刊アスキー ロモグラフィー、カラフルな「Diana F+ Black Jack Edition」と黒一色の「CMYK Edition」を再販 https://weekly.ascii.jp/elem/000/004/146/4146964/ dianafblackjackedition 2023-07-26 16:30:00
マーケティング AdverTimes 事業構想DXサミットが8月2日に開催 平井卓也・元デジタル担当大臣も登壇 https://www.advertimes.com/20230726/article428453/ 平井卓也 2023-07-26 07:32:56
マーケティング AdverTimes Apple、Film部門グランプリなどカンヌライオンズ最多受賞のブランドに https://www.advertimes.com/20230726/article428315/ apple 2023-07-26 07:25:28

コメント

このブログの人気の投稿

投稿時間: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件)