投稿時間:2023-06-28 04:23:23 RSSフィード2023-06-28 04:00 分まとめ(26件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
AWS AWS AWS Chief Product Officer Forum | Amazon Web Services https://www.youtube.com/watch?v=z_WQvRhBjBA AWS Chief Product Officer Forum Amazon Web ServicesAWS for Software Companies Chief Product Officer CPO Forum showcases how Software companies can continue to drive their innovation agenda maintain differentiation and avoid being disrupted Learn more at Subscribe More AWS videos More AWS events videos Do you have technical AWS questions Ask the community of experts on AWS re Post ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster AWS AmazonWebServices CloudComputing 2023-06-27 18:30:21
海外TECH Ars Technica Tesla on Autopilot crashed into stopped truck during highway lane closure https://arstechnica.com/?p=1950267 closure 2023-06-27 18:07:32
海外TECH MakeUseOf How to Play Music Across Multiple Google Nest Speakers and Displays https://www.makeuseof.com/how-to-play-music-across-multiple-google-smart-speakers/ across 2023-06-27 18:30:18
海外TECH MakeUseOf What Is Wintoys? A Short Guide to a Powerful Windows Tool https://www.makeuseof.com/what-is-wintoys-guide/ guide 2023-06-27 18:15:18
海外TECH MakeUseOf 10 Common Tinder Mistakes You Need to Avoid Making https://www.makeuseof.com/tag/using-tinder-avoid-5-common-mistakes/ profiles 2023-06-27 18:05:17
海外TECH DEV Community Content Delivery with Node.js Streams https://dev.to/ddanielcruzz/content-delivery-with-nodejs-streams-15a6 Content Delivery with Node js Streams The problemIn a project I m currently working on I have an API endpoint that retrieves the content of a file However this endpoint requires a private token for authentication making it unsuitable to call directly from the browser due to the token exposure risk Fortunately I m using Next js which allows me to leverage API endpoints to safely make the call on the backend and then access the endpoint from the front end However the external endpoint can return content of any type making it challenging to parse the response and send it to the browser One possible but undesirable solution would be manually checking the Content Type header and using different parsing methods based on its value A sample of that implementation would look like const response fetch file const contentType response headers get content type if contentType includes json const parsedResponse await response json return res send parsedResponse if contentType includes text const parsedResponse await response text return res send parsedResponse etcThis approach is brittle and relies on imperative programming Furthermore it involves having the entire response in memory before sending it to the client which can lead to memory overhead slow response times and even application crashes when handling large files A better approach is to forward the Content Type header from the external API endpoint and let the browser handle the response s content based on that This approach means that I need to pass the response body as is without parsing it on the backend Fortunately Node js streams provide an elegant solution to this problem Implementation of the solutionTo address this challenge I have implemented a solution using Node js streams and Next js API endpoints Here s the code and below it a step by step explanation api content filename tsimport fetchWithAuth from fetch with auth import NextApiRequest NextApiResponse from next import pipeline from stream promises import Readable from stream export default async function handler req NextApiRequest res NextApiResponse if req method GET const filename filename req query const file Array isArray filename filename filename const response await fetchWithAuth file headers Accept const contentType response headers get content type if contentType console error Missing content type return res status end const readable response body if readable console error Missing body from API return res status end const nodeReadable Readable fromWeb readable res setHeader Content Type contentType await pipeline nodeReadable res res end return res status Here s how the solution works The code checks if the request method is GET otherwise I return status Method Not Allowed Extract the filename from the request query allowing dynamic content retrieval based on the requested filename Since I m using Node js I have access to the fetch function which I use in a custom fetchWithAuth that abstracts away my auth logic my custom implementation has the same function signature as fetch The code retrieves the Content Type header from the API response If the content type is missing an error is logged and a status Internal Server Error is returned to the client This approach ensures consistency as the API should always include the header even though modern browsers perform content sniffing and I could still send the response to it response body is a readable stream If the body is missing an error is logged and a status Internal Server Error is returned since that means there s nothing to stream back to the client According to the spec of fetch implemented in undici despite it being used in a Node js environment the response body is a web readable stream so I have to convert it into a Node js stream using Readable fromWeb I forward the Content Type header for the response using res setHeader The pipeline function is used to stream the content from the readable stream to the response Finally when the pipeline finishes I end the response with res end With this approach I can securely utilize the external API and confidently include my own endpoint as the source for any HTML tag lt img gt lt video gt lt iframe gt etc without concerns about passing incorrect content 2023-06-27 18:42:35
海外TECH DEV Community Simplified: Linux Directory Structure [Part 1] https://dev.to/titusnjuguna/simplified-linux-directory-structure-part-1-2j5e Simplified Linux Directory Structure Part IntroductionLinux operating systems runs nearly of world s server and micro computers in smart devices The top reason Linux based OS are considered for such operations is attributed to Stability and security Linux is known for its stability and security This is due in part to the fact that Linux is a monolithic kernel which means that all of the core components of the operating system are tightly integrated This makes it more difficult for attackers to exploit vulnerabilities in Linux Performance Linux is a very efficient operating system This is due in part to the fact that Linux is designed to be lightweight and modular This means that Linux can run on a wide variety of hardware from old laptops to powerful servers Customization Linux is highly customizable This means that you can tailor the operating system to your specific needs and preferences There are many different Linux distributions available each with its own set of features and customization options Of course no operating system is perfect Linux also has some disadvantages such as Linux can be difficult to learn Linux is a complex operating system It can be difficult to learn especially if you are used to Windows Linux has a smaller software selection than Windows There are fewer software packages available for Linux than for Windows However there are still many great software packages available for Linux Linux support can be difficult to find If you need help with Linux you may have to search online forums or chat rooms There are fewer Linux support options than for Windows Overall Linux is a great operating system with many advantages However it is important to be aware of the disadvantages before you decide to switch to Linux For purpose of the topic let s dive into Linux Directory Structure we shall have another session to discuss Linux based OS in depth Illustration of Linux Directories StructuresAs shown above we shall discuss these directories in two series post Let s get Started rootThis the top most or parent directory that stores all the directories in a Linux system Every file s absolute path traverses through the root directory since it serves as the parent to all other directories bootDISCLAIMER Don t modify any file in this directory The boot directory houses crucial files required by the boot loader including the kernel and the initial ram file system initramfs It is advised not to modify this directory on your main machine as it can have significant consequences If you wish to experiment it is recommended to do so within a virtual machine where any potential issues can be contained etcThe etc directory can be a source of confusion when it comes to naming conventions Its name originated from early Unix systems where it was simply called et cetera because it served as a miscellaneous storage location for system files that administrators were uncertain where else to place In modern times it would be more appropriate to interpret etc as an abbreviation for Everything to configure This directory houses a wide range of system wide configuration files encompassing various aspects For instance you can find files containing the system s name user accounts and passwords network machine names and specifications on how and where hard disk partitions should be mounted If you are new to Linux it is advisable to exercise caution and refrain from making extensive modifications in this directory until you have gained a better understanding of how the system operates devSeveral of these files are created during the boot process or dynamically as needed For instance when you connect a new webcam or a USB pen drive to your machine a corresponding device entry will automatically appear in this directory In Linux the principle of treating everything as a file extends to hardware components as well The dev directory holds special virtual files that represent various hardware elements such as a mouse keyboard storage devices and more which are connected to your system homeThe home directory is the designated location for users personal directories In my situation there are two directories under home home tito which holds all of my personal files In terms of functionality the home directory is similar to the C Users directory in a Windows environment It stores individual user configurations within each user s specific directory allowing for personalized settings and files usrIn the early days of UNIX the usr directory served as the location for users home directories However as we mentioned earlier the home directory is now the designated place for users to store their personal files In modern times the usr directory has evolved to become a diverse collection of subdirectories that house applications libraries documentation wallpapers icons and various other resources required to be shared among applications and services It has become a repository for a wide range of items necessary for the functioning and support of software and services tmpThe tmp directory serves as a storage location for temporary files that are typically generated by the applications you are running These files and directories often though not always contain data that an application doesn t require immediately but might need at a later point libThe lib directory is the designated home for libraries Libraries are files that contain code utilized by your applications They consist of code snippets that applications utilize to perform various tasks such as rendering windows on your desktop managing peripherals or saving files to your hard disk While there are multiple lib directories spread across the file system the one directly attached to holds particular significance It houses crucial components including the essential kernel modules Kernel modules serve as drivers responsible for enabling the functionality of various hardware components such as video cards sound cards WiFi adapters printers and more In conclusion we have explored the first part of the simplified Linux Directory Structure We have learned about important directories such as root boot etc dev usr and lib understanding their significance and the types of files they contain This overview provides a foundation for further exploration into the Linux Directory Structure In the upcoming second series we will delve into additional directories uncovering their roles and functionalities within the Linux operating system By gaining a better understanding of the directory structure you will be equipped with valuable knowledge to navigate and manage your Linux system effectively Stay tuned for the next installment as we continue our exploration of the Linux Directory Structure 2023-06-27 18:23:28
海外TECH Engadget ‘Among Us’ cartoon coming from teams behind ‘Infinity Train’ and 'Star Trek: Lower Decks’ https://www.engadget.com/among-us-cartoon-coming-from-teams-behind-infinity-train-and-star-trek-lower-decks-184059395.html?src=rss Among Us cartoon coming from teams behind Infinity Train and x Star Trek Lower Decks Hit video game Among Us is getting the cartoon treatment as originally reported by Variety CBS Studios is behind the venture partnering up with Innersloth the game studio originally responsible for the indie sensation There looks to be plenty of talent behind the scenes here as the showrunner is Owen Dennis the creator of the criminally underrated Infinity Train Titmouse Studios is handling the animation after successful work on shows like Star Trek Lower Decks and Bigmouth If you are at all familiar with the game the series description will seem like deja vu The show will feature the crew of a spacecraft as they are murdered and replaced by an alien shapeshifter in an attempt to sabotage the ship and cause mass confusion In other words it s the game only with professional voice actors instead of your friends and family There s no voice cast yet or even some simple still shots of the animation There hasn t even been a streaming platform or network announced to house the cartoon but with CBS Studios bankrolling Paramount is a good bet Though Paramount has been doing that thing modern streamers do where they not only cancel shows but immediately delete them so who knows Should you be excited for this animated series Creator Owen Dennis cut his teeth on the critically acclaimed Cartoon Network series Regular Show before moving onto the absolutely stellar Infinity Train Dennis served as showrunner throughout all four seasons of Infinity Train before it was you ll never guess canceled and then completely erased by Max There s no official DVDs or Blu Rays but you can purchase the episodes digitally via Amazon and Apple to see what all the fuss is about In the meantime the Among Us series has no release date though the show is covered by The Animation Guild and not the WGA so work should be able to proceed without crossing picket lines This article originally appeared on Engadget at 2023-06-27 18:40:59
海外TECH Engadget Apple has posted the entire first episode of ‘Silo’ on Twitter https://www.engadget.com/apple-has-posted-the-entire-first-episode-of-silo-on-twitter-182403011.html?src=rss Apple has posted the entire first episode of Silo on TwitterApple is borrowing a marketing tactic from Twitter pirates The company made the unusual move of uploading the entire first episode of its series Silo to the social platform allowing anyone there to watch the opening installment for free The gambit follows Twitter s move to allow longer video uploads for subscribers The free episode may be worth checking out Engadget found the Apple TV original series to be “simply transcendent sci fi TV Silo is based on the science fiction novel Wool by American author Hugh Howey It takes place on a post apocalyptic version of Earth where what remains of humanity is confined to the Silo a story underground bunker that serves as a self sufficient underground community The citizens are told that the world outside the Silo is perilous but questions arise about what truly lies beyond It s a clever premise that allows showrunner Graham Yost to explore the book s themes about truth vs fiction and information as power Apple has reportedly renewed the series for a second season days until the Silo finale Here s the entire first episode pic twitter com lIcTXCQDーApple TV AppleTV June Rebecca Ferguson Dune stars as Juliette Nichols an engineer who uncovers a web of secrets after her lover George Ferdinand Kingsley is murdered The series also stars Rashida Jones David Oyelowo Common Tim Robbins and Harriet Walter Episodes one through nine of Silo are available to stream now on Apple TV The season finale titled “Outside premieres this Friday This article originally appeared on Engadget at 2023-06-27 18:24:03
Cisco Cisco Blog The Future of Airports, Coffee and Conversations podcast https://feedpress.me/link/23532/16210771/the-future-of-airports-coffee-and-conversations-podcast The Future of Airports Coffee and Conversations podcastAs airports complete the comeback from the global pandemic airport operators they are using this pivotal time to continue their digital transformation journey by enhancing the travel experience for passengers while improving operations and driving towards sustainability targets In the most recent episode of the Coffee and Conversations podcast the Cisco transportation team discusses what is taking place in airports across the globe and what innovations and technology are shaping their future 2023-06-27 18:47:12
ニュース BBC News - Home Kramatorsk: Russian missile strike hits restaurants in Ukrainian city https://www.bbc.co.uk/news/world-europe-66031342?at_medium=RSS&at_campaign=KARANGA kramatorsk 2023-06-27 18:48:56
ニュース BBC News - Home Senior doctors back strike action in England https://www.bbc.co.uk/news/health-65992178?at_medium=RSS&at_campaign=KARANGA england 2023-06-27 18:01:48
ニュース BBC News - Home Thames Water boss quits after sewage spills https://www.bbc.co.uk/news/business-66035897?at_medium=RSS&at_campaign=KARANGA performance 2023-06-27 18:03:47
ニュース BBC News - Home Watch: Touching moment chimp sees outdoors for first time https://www.bbc.co.uk/news/world-us-canada-66037455?at_medium=RSS&at_campaign=KARANGA chimpanzee 2023-06-27 18:13:14
ニュース BBC News - Home Meal deals: Unhealthy options will be restricted in Wales https://www.bbc.co.uk/news/uk-wales-66021503?at_medium=RSS&at_campaign=KARANGA sugar 2023-06-27 18:09:04
ニュース BBC News - Home Millie Bright: England captain 'really confident' of World Cup fitness https://www.bbc.co.uk/sport/football/66037441?at_medium=RSS&at_campaign=KARANGA Millie Bright England captain x really confident x of World Cup fitnessEngland captain Millie Bright is really confident of being available for the start of the World Cup despite a knee injury 2023-06-27 18:29:01
ビジネス ダイヤモンド・オンライン - 新着記事 東証のPBR改善要請がアクティビストを後押し?「株主提案数」が最多記録更新 - きんざいOnline https://diamond.jp/articles/-/325188 online 2023-06-28 03:55:00
ビジネス ダイヤモンド・オンライン - 新着記事 絵画のIPO? 79億円の名作が株式公開へ - WSJ PickUp https://diamond.jp/articles/-/325204 wsjpickup 2023-06-28 03:50:00
ビジネス ダイヤモンド・オンライン - 新着記事 ワグネル反乱、露メディアも当惑 - WSJ PickUp https://diamond.jp/articles/-/325203 wsjpickup 2023-06-28 03:45:00
ビジネス ダイヤモンド・オンライン - 新着記事 “イノベーションのジレンマ”を避けて企業に変革をもたらす「逆転の発想」とは - 及川卓也のプロダクト視点 https://diamond.jp/articles/-/325173 “イノベーションのジレンマを避けて企業に変革をもたらす「逆転の発想」とは及川卓也のプロダクト視点大企業が新規事業を成長させるのは、なぜ難しいのか。 2023-06-28 03:40:00
ビジネス ダイヤモンド・オンライン - 新着記事 夏は「最低気温」に注意を!熱帯夜で死亡リスクが増加 - カラダご医見番 https://diamond.jp/articles/-/325148 最低気温 2023-06-28 03:35:00
ビジネス ダイヤモンド・オンライン - 新着記事 「名前だけ貸してくれる産業医を紹介してほしい」という企業はなぜ生まれるのか - 労働力減少時代の「もっとよくなる健康経営」 https://diamond.jp/articles/-/321829 健康経営 2023-06-28 03:30:00
ビジネス ダイヤモンド・オンライン - 新着記事 埼玉大学のキャンパスはどんな雰囲気?【キャンパスミニレビュー付き】 - 大学図鑑!2024 有名大学82校のすべてがわかる! https://diamond.jp/articles/-/325202 2023-06-28 03:25:00
ビジネス ダイヤモンド・オンライン - 新着記事 職場にいる「失敗を引きずってしまう人」と「すぐに切り替えられる人」の決定的な差とは - 1秒で答えをつくる力 お笑い芸人が学ぶ「切り返し」のプロになる48の技術 https://diamond.jp/articles/-/325201 2023-06-28 03:20:00
ビジネス ダイヤモンド・オンライン - 新着記事 「支出を減らせばお金持ちになれる」にダマされるな! - JUST KEEP BUYING https://diamond.jp/articles/-/324741 「支出を減らせばお金持ちになれる」にダマされるなJUSTKEEPBUYING全世界万部突破『サイコロジー・オブ・マネー』著者モーガン・ハウセルが「絶対読むべき一冊」と絶賛。 2023-06-28 03:15:00
ビジネス ダイヤモンド・オンライン - 新着記事 「過去」を使い倒せば、企業は大きく変わっていける - 理念経営2.0 https://diamond.jp/articles/-/323890 「過去」を使い倒せば、企業は大きく変わっていける理念経営『世界標準の経営理論』著者で経営学者の入山章栄さんは、佐宗邦威さんの著書『理念経営』について、「日本中の経営者が絶対に読んだほうがいい、いや、ありとあらゆるビジネスパーソンがみんな読むべき」と絶賛しています。 2023-06-28 03:10: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件)