投稿時間:2022-04-26 19:36:46 RSSフィード2022-04-26 19:00 分まとめ(39件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT ITmedia 総合記事一覧 [ITmedia News] 新電力は6割近くが赤字 「淘汰リスク高まった」と東京商工リサーチ https://www.itmedia.co.jp/news/articles/2204/26/news161.html itmedia 2022-04-26 18:44:00
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] ソフトバンクG、医療ベンチャー「AIメディカルサービス」に出資 国内3例目 https://www.itmedia.co.jp/business/articles/2204/26/news156.html itmedia 2022-04-26 18:35:00
IT ITmedia 総合記事一覧 [ITmedia News] ゴールデンウィーク中の情報トラブルに注意 中央省庁が連名で対策呼び掛け https://www.itmedia.co.jp/news/articles/2204/26/news157.html itmedia 2022-04-26 18:20:00
AWS AWS - Japan Infrastructure as Code 談議 2022 ~AWS Develover Live Show https://www.youtube.com/watch?v=ed35fEbpyIE InfrastructureasCode談議AWSDeveloverLiveShow今すぐ「リマインダーを設定」をお願いいたします当日アンケートにご協力いただいた先着名様に、AWSアカウントに適用できるAWS無料クーポンをプレゼントします。 2022-04-26 09:09:51
python Pythonタグが付けられた新着投稿 - Qiita 統計的推定と検定をPythonで解く「統計的仮説検定(2標本の平均の差の検定、対応のないt検定」(2020.4.26) https://qiita.com/tan0ry0shiny/items/5227abf3d8eea48a8963 正規分布 2022-04-26 18:28:15
python Pythonタグが付けられた新着投稿 - Qiita Pythonの計算量の話 https://qiita.com/snhrhdt/items/2e514d4d6af983fcf6f0 qiita 2022-04-26 18:06:07
js JavaScriptタグが付けられた新着投稿 - Qiita ExpressでREST APIを実装する時にreq/resのvalidationを楽に実装できるライブラリを使ってみた https://qiita.com/yuta-katayama-23/items/be63cf5db41d2ebe8cec express 2022-04-26 18:33:03
js JavaScriptタグが付けられた新着投稿 - Qiita 何か作れるようになるまで https://qiita.com/aichan8810/items/0782c58a251e1d37ef30 評価 2022-04-26 18:29:53
Ruby Rubyタグが付けられた新着投稿 - Qiita 何か作れるようになるまで https://qiita.com/aichan8810/items/0782c58a251e1d37ef30 評価 2022-04-26 18:29:53
AWS AWSタグが付けられた新着投稿 - Qiita AWS SNS HTTP/HTTPSのサブスクリプションを確認する方法 on Laravel https://qiita.com/kaihei777/items/5bf1cae45639f5970d59 awssnshttphttps 2022-04-26 18:56:32
golang Goタグが付けられた新着投稿 - Qiita 【Golang】AND と MOD(Modulo)の速度の違いと反復処理の高速化【論理積と剰余の速度差】【論理演算】 https://qiita.com/KEINOS/items/d2c325f8447a3b156905 ampand 2022-04-26 18:01:13
海外TECH DEV Community Creating a Captive Page to Sign into any Public Network https://dev.to/ingosteinke/creating-a-captive-page-to-sign-into-any-public-network-19a4 Creating a Captive Page to Sign into any Public NetworkWhat is a captive page and how to create one My Issue the expected Sign into Wi Fi network prompt might not appear automatically when you log into a public network that requires a login like WiFi on ICE in Deutsche Bahn s intercity trains Sometimes computers fail or refuse to display that page making it hard to use the internet while travelling or in a café Cannot reach public WIFI login page in Ubuntu Captive Portal Issue a post on AskUbuntu com has been viewed k times How can so many people visit that page if they don t have internet What is happening here Many systems like Android ChromiumOS Apple s MacOS or Microsoft Windows seem to have a built in sign in process that calls an external captive page like captive apple com or clients google com generate Some systems haven t which might be one of the few disadvantages of using Linux although technically speaking we could rather say the captive portals hijack people s first internet requests often mis using the DNS lookup to a name server which is more easy to achieve an Windows and Apple devices I tried to understand what is actually happening here and found it is not that simple and straightforward as it might seem on a first glance Check Wikipedia and Chromium for more details A captive portal usually tries to capture your first website request using its DNS server and if it doesn t your operating system s connection manager will try to do so at least on most operating system except Linux Even without setting up an automatic sign in process we can mostly achieve the same result by manually visiting one of the popular captive pages like which will return a simple unstyled page with a success message without enforcing an encryted HTTPS connection There is no InternetIf it doesn t work you might see another vintage style website telling you that there is no internet I can tell you as I m living in Germany Despite the material wealth of our country we are quite poor in other aspects of life maybe emotionally but surely technologically as Germany is infamous for its slow and unskillful adoption of new technology and its relatively slow and unreliable internet connections Understanding Captive Pages and their LimitationsWikipedia lists different kinds of issues that might break the automatic portal process Captive portals often require the use of a web browser this is usually the first application that users start after connected to the Internet but users who first use an email client or other application that relies on the Internet may find the connection not working without explanation and will then need to open a web browser to validate A similar problem can occur if the client uses AJAX or joins the network with pages already loaded into its web browser Similarly as HTTPS connections cannot be redirected at least not without triggering security warnings a web browser that only attempts to access secure websites before being authorized by the captive portal will see those attempts fail without explanation the usual symptom is that the intended website appears to be down or inaccessible Building a Captive Page of our ownWouldn t it be cool to have our own captive localhost or even a service like ready to go on any device While the actual captive mechanisms can do more or less complicated things like access control and intercepting network traffic all that we want to build is a page that will trigger this mechanism So creating a captive page that we can call in our web browser to trigger the actual captive mechanism is in fact nothing but a page that accepts an unencrypted HTTP request and returns a or status code without redirecting to HTTPS Using PHP to generate a Simple Page and Set HTTP HeadersOne possible way to return a website and control its HTTP headers is by using PHP which might be the simplest way if you already have a PHP based application like WordPress up and running on a web server If you haven t you might prefer to deploy a node server to a cloud infrastructure or configure a serverless service Let s assume we have a PHP server ready we can create a new directory and configure a new subdomain that points to that folder where we will then put a file called index php that sets the appropriate response headers like preventing our browser our web proxies to cache the page Sending any Successful xx HTTP StatusAs Apple s implementation shows we don t have to send a No Content status Many portals like ICEportal of German long distance trains use their captive page to display a consent or login form advertise their services like entertainment content stored on a local server or display status information like the current train line and upcoming station But we don t have to bother putting too much content either as we expect to get redirected to the real captive page once the external network intercepts our call and hijacks our first request anyway Well some do and some don t so let s put some minimal content at least lt php if headers sent header Status OK header Cache Control no cache header Content Type text html gt lt DOCTYPE html gt lt html lang en gt lt head gt lt title gt Success lt title gt lt head gt lt body gt More content here Nice Now we have to prove that it actually works and does its job right Here s the page let s see it in action Everything seems to work as expected No error no redirect no https in the first place and an HTTP header to prevent caching Now all I have to do is test it in the wild taking my Linux laptop outside and try to use it in a public network known to require a captive page like Deutsche Bahn s WiFiOnICE or WiFi DB 2022-04-26 09:56:50
海外TECH DEV Community How to Rename Files in Linux and MacOS Terminal https://dev.to/smpnjn/how-to-rename-files-in-linux-and-macos-terminal-3abn How to Rename Files in Linux and MacOS TerminalRenaming files is something that occurs frequently and in Linux on terminal there are many ways to rename files Let s look at some of the main ways you can rename your files on Linux and other Unix based systems like MacOS Linux CommandsIf you re brand new to Linux commands read my full guide on Linux commands them here Renaming files with the mv CommandThe mv command moves a file to another place It can also be used to move a file to the same location and simply change it s name For example if you wanted to rename a file called file txt to file txt you would first cd into that directory and run the following mv file txt file txtThis technically moves the file but in reality the end result is that the file is renamed and in the same location Renaming multiple filesIf you want to rename more than one file at once we can t just use the mv command For that we need to loop through each file we want to rename We can use this in conjunction with the find command to find all the files that fit our criteria easily For example the below will find all txt csv and html files and turn them into js files for f in find name txt or name csv or name html do mv f f jsdoneLet s look at how this works in a little more detail We run a for loop for f in This will find all files where it matches what is inside In this example it finds anything with the file type txt csv or html You can learn more about find here For each of the matching files we run the mv command We run mv f f js f is the current matching file we are looping through f html is saying rename any file with any extenstion f could be f html f csv etc and change its name to the file name with our new extension js After that you ll have successfully moved all files 2022-04-26 09:49:31
海外TECH DEV Community Creating collabrative javascript spreadsheet made easy https://dev.to/zyc9012/creating-collabrative-javascript-spreadsheet-made-easy-3m9f Creating collabrative javascript spreadsheet made easyIn the last post we have introduced how to create a javascript spreadsheet using FortuneSheet This time we will show you how to enable it s collabration feature BackendBefore we get into the topic the first thing to be considered is backend storage as the sheet data have to be saved so that others can see the lastest sheet state when they enter the page Websocket is our main transport of exchanging live data among clients Here we choose Express as backend server and MongoDB as database The main role of express server is to manage websocket connection serve initial data and process incremental op messages In this demo we simply use all documents of a collection for the sheets of our demo workbook async function getData const db client db dbName return await db collection collectionName find toArray We will skip the code of creating a simple express server and focus on the core code Don t worry you can find the complete code at the end of this post Then add some code for processing websocket messages and manage connections for broadcasting const connections const broadcastToOthers selfId data gt Object values connections forEach ws gt if ws id selfId ws send data const wss new SocketServer server path ws wss on connection ws gt ws id uuid v connections ws id ws ws on message async data gt const msg JSON parse data toString if msg req getData ws send JSON stringify req msg req data await getData else if msg req op await applyOp client db dbName collection collectionName msg data broadcastToOthers ws id data toString ws on close gt delete connections ws id Here the applyOp function is the core of collabration It reads the Ops sent by our frontend library and perform data mutations to the database Processing OpsThe Ops are generated by the patch of Immer js for example here is an op when user sets the cell font to be bold on cell A op replace index path data bl value We have to convert this op into MongoDB update query If we convert it directly the result will look like db updateOne index set data bl However considering storage size we stores cell data sparsely in the database that is instead of storing the entire dimension cell array we store a dimension array of cells that contain values Thus a cell in the database is in the form of r number row index c number column index v any cell value and the above update query becomes db updateOne index set celldata e v bl arrayFilters e r e c Updates to others fields of the sheet are similar And that s all of our backend server For the complete code see FrontendNow let s focus on the frontend part which is quite simple Step create a websocket connection const wsRef useRef lt WebSocket gt useEffect gt const socket new WebSocket ws localhost ws wsRef current socket socket onopen gt socket send JSON stringify req getData Step send ops from local change receive ops from others and apply them into the workbook A ref of Workbookconst workbookRef useRef lt WorkbookInstance gt null In useEffectsocket onmessage e gt const msg JSON parse e data if msg req getData setData msg data else if msg req op workbookRef current applyOp msg data Workbook declaration lt Workbook ref workbookRef onOp op gt socket send JSON stringify req op data op gt For the complete code refer to Thanks for readingThe repo is hosted on Github completely open source Give us a star if you find it useful Feedbacks are much appreciated 2022-04-26 09:43:58
海外ニュース Japan Times latest articles Kishida unveils economic measures to counter inflation https://www.japantimes.co.jp/news/2022/04/26/business/economy-business/kishida-inflation-countermeasures-unveiled/ households 2022-04-26 18:41:59
海外ニュース Japan Times latest articles North Korea’s Kim uses massive military parade to deliver nuke warning https://www.japantimes.co.jp/news/2022/04/26/asia-pacific/north-korea-parade-kim-nuclear/ North Korea s Kim uses massive military parade to deliver nuke warningThe North Korean leader vowed to speed up the development of his nuclear arsenal while also saying that his military should be prepared to use 2022-04-26 18:02:43
海外ニュース Japan Times latest articles Australia and New Zealand not sending athletes to Asian Games https://www.japantimes.co.jp/sports/2022/04/26/more-sports/asian-games-australia-nz/ Australia and New Zealand not sending athletes to Asian GamesThe Olympic Council of Asia had invited a quota of around athletes and support staff from Oceania nations to compete at the Sept 2022-04-26 18:18:50
ニュース BBC News - Home Ukraine war: Ukraine attacks in Russia are legitimate - UK minister https://www.bbc.co.uk/news/uk-61226431?at_medium=RSS&at_campaign=KARANGA weapons 2022-04-26 09:47:41
ニュース BBC News - Home Harry Billinge: D-Day veteran's funeral to be held https://www.bbc.co.uk/news/uk-england-cornwall-61221978?at_medium=RSS&at_campaign=KARANGA normandy 2022-04-26 09:44:06
ニュース BBC News - Home Talk TV: Piers Morgan attracts mixed reviews after network launch https://www.bbc.co.uk/news/entertainment-arts-61221177?at_medium=RSS&at_campaign=KARANGA impressive 2022-04-26 09:43:41
ニュース BBC News - Home David Oluwale: Blue bridge plaque stolen hours after unveiling https://www.bbc.co.uk/news/uk-england-leeds-61227944?at_medium=RSS&at_campaign=KARANGA leeds 2022-04-26 09:01:22
ニュース BBC News - Home Ukraine conflict: What is Nato and how has it responded to Russia's invasion? https://www.bbc.co.uk/news/world-europe-18023383?at_medium=RSS&at_campaign=KARANGA ukraine 2022-04-26 09:17:21
ビジネス ダイヤモンド・オンライン - 新着記事 四国銀行、株主優待を変更して「半年以上の保有」が 必須になるも、100株保有時の配当+優待利回りは6% 超を維持! 優待品は「QUOカード」や特産品で変わらず - 株主優待【新設・変更・廃止】最新ニュース https://diamond.jp/articles/-/302524 2022-04-26 18:45:00
ビジネス ダイヤモンド・オンライン - 新着記事 【特報】東京駅前の新「高さ日本一」ビル、清水建設が施工の優先交渉権者に - Diamond Premium News https://diamond.jp/articles/-/302512 diamondpremiumnews 2022-04-26 18:30:00
北海道 北海道新聞 興部の橋本さん「文化商店」開業 雑貨や衣料、飲食物販売 生まれ育った町で挑戦「町内外の人混ざり合う場に」 https://www.hokkaido-np.co.jp/article/674382/ 飲食物 2022-04-26 18:21:00
北海道 北海道新聞 煙上げる火の山体感 昭和新山に34人が入山 https://www.hokkaido-np.co.jp/article/674381/ 昭和新山 2022-04-26 18:18:00
北海道 北海道新聞 バレーFC東京、全体移籍が決定 男子初、ネイチャーラボへ https://www.hokkaido-np.co.jp/article/674379/ 日本バレーボールリーグ機構 2022-04-26 18:17:00
北海道 北海道新聞 <西胆振経済2022 トップに聞く>函館どつく室蘭製作所・山本雅敏所長 修繕に注力、稼働率向上 https://www.hokkaido-np.co.jp/article/674378/ 函館どつく 2022-04-26 18:16:00
北海道 北海道新聞 福呼ぶ「寿かき」おみくじ シラスあしらい 寿都神社で登場 https://www.hokkaido-np.co.jp/article/674376/ 寿都神社 2022-04-26 18:11:00
北海道 北海道新聞 三角山の閉鎖解除「連休明け」 札幌市長が見通し ドローンで事前調査へ https://www.hokkaido-np.co.jp/article/674372/ 札幌市西区 2022-04-26 18:02:03
北海道 北海道新聞 <検証「山線」バス転換決定>(5)鉄道遺産 未来へどう継承 https://www.hokkaido-np.co.jp/article/674375/ 蒸気機関車 2022-04-26 18:10:00
北海道 北海道新聞 JR東海、赤字519億円 2年連続、鉄道利用が低迷 https://www.hokkaido-np.co.jp/article/674374/ 連結決算 2022-04-26 18:10:00
北海道 北海道新聞 白老牛肉まつり3年連続中止 コロナ感染拡大で https://www.hokkaido-np.co.jp/article/674373/ 実行委員会 2022-04-26 18:09:00
マーケティング MarkeZine TikTok、人気の曲を集めたプレイリストをAmazon Music内で公開 http://markezine.jp/article/detail/38893 amazon 2022-04-26 18:15:00
IT 週刊アスキー 特製ハンバーグと三浦野菜でクラフトビールを楽しもう! 横浜桜木町「KITEKI」が「DINING RESTAURANT KITEKI」として4月28日リニューアルオープン https://weekly.ascii.jp/elem/000/004/090/4090283/ diningrestaurantkiteki 2022-04-26 18:30:00
IT 週刊アスキー DMM GAMES、「クリムゾン妖魔大戦」にて最大140連ガチャ無料などの「GWキャンペーン」を開催! 新イベント「天才美小女現る」も https://weekly.ascii.jp/elem/000/004/090/4090290/ dmmgames 2022-04-26 18:30:00
IT 週刊アスキー 「プロジェクトEGG」で『白と黒の伝説 ~アスカ編~(MSX版)』を4月26日にリリース https://weekly.ascii.jp/elem/000/004/090/4090296/ 配信サービス 2022-04-26 18:25:00
IT 週刊アスキー 『ソウルハッカーズ2』の「世界最速プレミアム体験会」を実施決定!本日より募集受付開始 https://weekly.ascii.jp/elem/000/004/090/4090282/ 発売予定 2022-04-26 18:10:00
IT 週刊アスキー 『アズールレーン』4月28日より徳島の伝統的な藍染め「阿波藍」とのコラボ着せ替え衣装を実装! https://weekly.ascii.jp/elem/000/004/090/4090291/ yostar 2022-04-26 18:05: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件)