IT |
気になる、記になる… |
Microsoftの画像生成AI『Bing Image Creator』が日本語に対応 |
https://taisy0.com/2023/04/28/171295.html
|
bingimagecreator |
2023-04-28 09:16:28 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] Evernote vs Notion デジタルのメモ帳か、チーム共有のドキュメント管理ツールか |
https://www.itmedia.co.jp/news/articles/2304/28/news185.html
|
evernote |
2023-04-28 18:29:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] ローソン、ゴディバコラボの新作スイーツ・ベーカリーを4品投入 シリーズ累計で5500万個以上販売 |
https://www.itmedia.co.jp/business/articles/2304/28/news192.html
|
itmedia |
2023-04-28 18:17:00 |
TECH |
Techable(テッカブル) |
拡声器一筋78年の町工場が作る!無電源スピーカー「NMP-001P」 |
https://techable.jp/archives/204853
|
株式会社 |
2023-04-28 09:30:40 |
TECH |
Techable(テッカブル) |
韓国交通安全公団ら、「ADAS」新テスト手法の共同開発を行うことを発表。検査をより効率化 |
https://techable.jp/archives/204527
|
dspace |
2023-04-28 09:00:43 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
else ifやelseを使わないif文の書き方 |
https://qiita.com/to-fmak/items/7119409fe6115703a27d
|
elifelseif |
2023-04-28 18:23:31 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
JavaScriptの変数(const,let,var)。再宣言、再代入の可否について。 |
https://qiita.com/Nao2022/items/9addbce32763ee9eb3ae
|
javascript |
2023-04-28 18:26:33 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
rbenvによるRubyのインストール手順まとめ |
https://qiita.com/dp-kihara/items/95aa6e63775a07667395
|
applemmaxmacosven |
2023-04-28 18:23:00 |
技術ブログ |
Developers.IO |
초보자도 알 수 있는 AWS Detective |
https://dev.classmethod.jp/articles/detective-for-guardduty-find/
|
초보자도알수있는AWS Detective소개안녕하세요 클래스메소드금상원입니다 이번블로그에서는Detective가무엇인지와Detective를통해GuardDuty에서발견한문제점을조사하는방법에대해알아보겠습니다 |
2023-04-28 09:42:19 |
技術ブログ |
Developers.IO |
ChatGPT 사용해봤다! |
https://dev.classmethod.jp/articles/chatgpt-use-anyting/
|
ChatGPT 사용해봤다 소개안녕하세요 클래스메소드금상원입니다 이번블로그에서는ChatGPT를사용하는방법과저의경험에대해설명하겠습니다 ChatGPT란 ChatGPT는대화형인공지능으로 GPT |
2023-04-28 09:35:08 |
技術ブログ |
Developers.IO |
Firelensで起動するコンテナの環境変数を利用して起動したリージョンのCloudWatch Logsにログ出力する |
https://dev.classmethod.jp/articles/firelens-region-env/
|
cloudwatchlogs |
2023-04-28 09:17:51 |
技術ブログ |
Developers.IO |
I attended a session 「5 steps to get started with Automation for Customer Support」 |
https://dev.classmethod.jp/articles/i-attended-a-session-%e3%80%8c5-steps-to-get-started-with-automation-for-customer-support%e3%80%8d/
|
I attended a session「 steps to get started with Automation for Customer Support」Introduction Hemanth of Alliance Department here In this blog I ll be writing on steps to get started wit |
2023-04-28 09:05:21 |
技術ブログ |
Hatena::Engineering |
はてなのポッドキャスト Backyard Hatena #24 - モバイルもサーバサイドもOSSもやる(id:ikesyo) #byhatena |
https://developer.hatenastaff.com/entry/2023/04/28/181000
|
はてなのポッドキャストBackyardHatenaモバイルもサーバサイドもOSSもやるidikesyobyhatenaはてな「技術グループ」によるポッドキャスト「BackyardHatena」を更新。 |
2023-04-28 18:10:00 |
海外TECH |
DEV Community |
Reduce Docker Image size for your Next.js App |
https://dev.to/leduc1901/reduce-docker-image-size-for-your-nextjs-app-5911
|
Reduce Docker Image size for your Next js App IntroductionFirst thing first I expect you to know what is Docker but if you don t Docker is an open platform for developing shipping and running applicationsYou can spend time learning about itNextJS in other hand is a flexible React framework that gives you building blocks to create fast web applications NextJS in other hand is a flexible React framework that gives you building blocks to create fast web applications Dockerize your AppBefore we optimize anything we have to dockerize the application first Let s say our application name is my space Starting with Create the Dockerfile touch DockerfileIgnore unnecessary files in dockerignore node modules next vscode gitignoreREADME md dockerignore gitDockerize it This is the most basic example on how to dockerize your app now let s build it with docker build t my space Now look at the size That s just crazy gb Unbelievable right we can t publish this image it s just too heavy Reduce the image size Use alpineThe Node js Docker team maintains a node alpine image tag and variants of it to match specific versions of the Alpine Linux distributions with those of the Node js runtime The original version size is about gb Now we will move to the alpine version Now the size shrank to gb mb smaller That s a good start Multi stages buildsMulti stage builds are useful to anyone who has struggled to optimize Dockerfiles while keeping them easy to read and maintain We will create stages in the Dockerfile I will call it builder and runnerIn this way we can get rid of unnecessary files in our image We will pick files from the builder and move it to the runner that we will eventually use The size comes down to gb about mb smaller we are doing good Remove duplicate layersYou can see something is duplicating Yes we install the dependencies twice for each stage Although this works and the project size is still the same The image size is still big because of caching and layers So we can pick the node modules from the build stage The size now is quite decent for a NextJS app below mbBut we can still make it lighter Output File TracingDuring a build Next js will automatically trace each page and its dependencies to determine all of the files that are needed for deploying a production version of your application This feature helps reduce the size of deployments drastically Previously when deploying with Docker you would need to have all files from your package s dependencies installed to run next start Starting with Next js you can leverage Output File Tracing in the next directory to only include the necessary files In your next config js file enable the standalone outputexperimental outputStandalone true This will create a folder at next standalone which can then be deployed on its own without installing node modules The size is now mb Small enough for most cases ConclusionThis is just a simple example on how to optimize your docker image sizes you can look deeper in Docker docs to find the most suitable treatment for your app |
2023-04-28 09:28:20 |
海外TECH |
DEV Community |
Batch request processing with API Gateway |
https://dev.to/apisix/batch-request-processing-with-api-gateway-29e3
|
Batch request processing with API GatewayBatch request processing is a powerful technique used in web development to improve the performance of APIs It allows developers to group multiple API requests into a single HTTP request response cycle In other words a single API request from a client can be turned into multiple API requests to a set of backend servers and the responses are aggregated into a single response to the client It can significantly reduce the number of round trips between the client and server In this article we ll explore how to implement batch request processing in Apache APISIX and look at some use cases where it can be beneficial It is similar to the API Composition pattern which is widely applied in Microservices architecture Batch request processing vs multiple API calls Why use batch request processing When a client sends multiple API requests to a server each request requires a separate HTTP request response cycle This can result in increased latency reduced performance and increased server load By grouping multiple requests into a single batch request the number of HTTP request response cycles can be reduced resulting in improved performance and reduced latency Batch request processing can be particularly useful in scenarios where you need to retrieve or update multiple records in a single transaction such as Retrieving multiple records from a databaseUpdating multiple records in a databaseExecuting multiple API requests to complete a task Real world examples for batch request processing Example Suppose you have a social media application that displays a user s feed which includes posts from their friends and pages they follow To populate this feed you need to make multiple API requests to retrieve the necessary data such as Retrieve a list of the user s friends and the pages they follow For each friend or page retrieve their recent posts In a traditional approach you would perform each of these API requests separately First you retrieve a list of users friends and in the second request you get recent posts for each user s friend This can result in increased latency especially when the user has a large number of friends and follows many pages Example Another example you have a mobile application that displays a list of products for users to browse To populate this list you need to make multiple API requests to retrieve product data from a remote server such as Retrieve a list of product IDs For each product ID retrieve the product details name description image etc Example Imagine that you have a web app for conference management where there are multiple speakers in the system and you want to display a speaker s sessions and related topics on a single web page A backend Conference API service has two different endpoints speaker speakerId sessions and speaker speakerId topics to expose this information To show both sessions and topics belong to a single speaker you can send two requests from the frontend app which is not an ideal solution Instead you can use an API Gateway to group all of these requests into a single HTTP request as it is explained in the next section Batch request processing with Apache APISIX API GatewayTo implement batch request processing in APISIX you can use the batch requestsplugin This plugin allows you to define a set of API requests in a single HTTP POST request payload Each request can have its own HTTP method URL path set of headers and payload See a curl request command below for example Conference API requests curl i http API GATEWAY HOST ADDRESS speaker X POST d pipeline method GET path speaker topics method GET path speaker sessions When a batch request is received by APISIX the batch requests plugin will parse the payload and execute each request in the batch in parallel The plugin will also aggregate the responses from each request and return them in a single HTTP response to the client See the next demo section to learn how to achieve this step by step Batch requests plugin demoBefore you can use the batch requests plugin you ll need to install Apache APISIX PrerequisitesDocker is used to install the containerized etcd and APISIX curl is used to send requests to APISIX Admin API You can also use easy tools such as Postman to interact with the API APISIX can be easily installed and started with the following quickstart script curl sL lt sh Configure the backend service upstream You will need to configure the backend service for Conference API that you want to route requests to This can be done by adding an upstream server in the Apache APISIX through the Admin API curl apisix admin upstreams X PUT d name Conferences API upstream desc Register Conferences API as the upstream type roundrobin scheme https nodes conferenceapi azurewebsites net Create a Route for batch processing APIWe need to create a new route that intercepts requests to speaker and exposes a public virtual endpoint for batch processing using public api plugin curl apisix admin routes a X PUT d uri speaker plugins public api uri apisix batch requests Create a Route for the speaker s topics and sessions endpointsNext we create another route for the speaker s topics and sessions endpoints speaker topics and speaker topics paths matching so that individual requests extracted by the API Gateway from batch requests to retrieve the speaker s topics or sessions are forwarded to the responsible Conference API endpoints and we referenced to the existing upstream service curl apisix admin routes b X PUT d methods GET uris speaker topics speaker sessions plugins proxy rewrite host conferenceapi azurewebsites net upstream id You may notice that we are using another proxy rewrite plugin and specifying implicitly host address for Conference API Otherwise API Gateway can make DNS conversion and request the Conference API by its IP address Test batch request processingHere s an example of how to use the batch requests plugin in APISIX curl i speaker X POST d pipeline method GET path speaker topics method GET path speaker sessions In this example the route is defined for the speaker endpoint which supports batch request processing via the batch requests plugin The plugin is configured with a set of two requests each retrieving a speaker record by ID with topics and sessions If you run this command you will get a merged response back from the API Gateway body r n collection r n version r n links r n items r n r n href r n data r n r n name Title r n value Microsoft r n r n r n links r n r n rel r n href r n r n r n r n r n href r n data r n r n name Title r n value Mobile r n r n r n links r n r n rel r n href r n r n r n r n r n queries r n template r n data r n r n r n status headers Expires Connection keep alive Pragma no cache Content Length Server APISIX Content Type application vnd collection json X AspNet Version Cache Control no cache X Powered By ASP NET reason OK body r n collection r n version r n links r n items r n r n href r n data r n r n name Title r n value r n t t tjQuery Mobile and ASP NET MVC r n t t r n r n r n name Timeslot r n value December r n r n r n name Speaker r n value Scott Allen r n r n r n links r n r n rel r n href r n r n r n rel r n href r n r n r n r n r n queries r n template r n data r n r n r n status headers Expires Connection keep alive Pragma no cache Content Length Server APISIX Content Type application vnd collection json X AspNet Version Cache Control no cache X Powered By ASP NET reason OK The maximum size of a batch request is limited by API Gateway You can check the API Gateway documentation for the current limits and request timeout configuration TakeawaysBatch request processing with API Gateway can be a useful technique for improving the performance of your API Apache APISIX provides a plugin called batch requests that allows developers to implement batch request processing easily Next stepsWith API Gateway it is also possible to provide some form of custom aggregation in the response data to your users You can use the serverless function plugin to execute custom code and merge the response from backend services and return it to the API consumer in a different structure Recommended contentWhy Is Apache APISIX the Best API Gateway What are API Gateway Policies About the authorVisit my blog www iambobur com |
2023-04-28 09:26:19 |
海外TECH |
Engadget |
Star Trek experience lets you virtually walk around every Starship Enterprise bridge |
https://www.engadget.com/star-trek-experience-lets-you-virtually-walk-around-every-starship-enterprise-bridge-093257021.html?src=rss
|
Star Trek experience lets you virtually walk around every Starship Enterprise bridgeThe USS Enterprise has gone through several iterations across TV shows and movies and now Star Trek fans can explore them as much as they want to online As Deadline reports the latest update to the Roddenberry Archive adds degree virtual recreations of the famous Starship Enterprise bridge as depicted in various Star Trek properties It has the bridge from Star Trek The Original Series Picard Discovery and Strange New Worlds arranged according to timeline in the new web portal Fans can click on the version of the Enterprise they want to see and then expand the virtual bridge which they can drag around and explore to see its beeping panels and displays The Roddenberry Archive is a multi decade collaboration between the estate of Star Trek creator Gene Roddenberry and cloud graphics company OTOY This is their largest set of digital archive works to date and it was launched with accompanying videos including a William Shatner interview with a holographic version of the USS Enterprise bridge as a background John de Lancie who has portrayed Q since s Star Trek The Next Generation also narrates the history of the Starship Enterprise bridge across decades of shows and movies nbsp The Roddenberry Archive team is working to add more virtual set recreations fans can explore in the future aside from the ones already available One of the projects they re working on is a scale recreation of the entire Starship Enterprise from the film Star Trek The Motion Picture This article originally appeared on Engadget at |
2023-04-28 09:32:57 |
ラズパイ |
Raspberry Pi |
Kids’ coding languages |
https://www.raspberrypi.org/blog/kids-coding-languages/
|
Kids coding languagesProgramming is becoming an increasingly useful skill in today s society As we continue to rely more and more on software and digital technology knowing how to code is also more and more valuable That s why many parents are looking for ways to introduce their children to programming You might find it difficult to know where The post Kids coding languages appeared first on Raspberry Pi Foundation |
2023-04-28 09:47:30 |
海外科学 |
NYT > Science |
Bilingualism May Stave Off Dementia, Study Suggests |
https://www.nytimes.com/2023/04/28/health/bilingualism-memory-dementia.html
|
memory |
2023-04-28 09:00:34 |
海外科学 |
NYT > Science |
Frogs May Have Something in Common With Bees |
https://www.nytimes.com/2023/04/28/science/frogs-pollination-fruits.html
|
beesresearchers |
2023-04-28 09:00:31 |
医療系 |
医療介護 CBnews |
審議会のライブ配信、コロナ5類移行後は?-加藤厚労相「支障ないなら継続していけば」 |
https://www.cbnews.jp/news/entry/20230428144810
|
加藤勝信 |
2023-04-28 18:35:00 |
海外ニュース |
Japan Times latest articles |
As Paraguay picks president, ties with Taiwan loom large |
https://www.japantimes.co.jp/news/2023/04/28/asia-pacific/politics-diplomacy-asia-pacific/paraguay-election-taiwan-china-diplomatic-relations/
|
As Paraguay picks president ties with Taiwan loom largeThe neck and neck race to determine Paraguay s next president has thrown the spotlight on the future of the South American country s ties with Taiwan |
2023-04-28 18:35:40 |
海外ニュース |
Japan Times latest articles |
Ministry panel outlines proposals for scrapping Japan’s foreign intern program |
https://www.japantimes.co.jp/news/2023/04/28/national/foreign-trainee-program-preliminary-report/
|
Ministry panel outlines proposals for scrapping Japan s foreign intern programThe interim report says program participants should be allowed to switch jobs and eventually be able to move to a visa allowing an indefinite stay |
2023-04-28 18:33:37 |
海外ニュース |
Japan Times latest articles |
Marcos and Biden to discuss ‘evolution’ of U.S.-Philippine defense pacts |
https://www.japantimes.co.jp/news/2023/04/28/asia-pacific/politics-diplomacy-asia-pacific/us-philippines-summit-preview-china/
|
Marcos and Biden to discuss evolution of U S Philippine defense pactsThe summit in Washington will be part of a five day state visit by the Philippine leader designed to clarify the implementation of the Mutual |
2023-04-28 18:33:30 |
海外ニュース |
Japan Times latest articles |
Amid the parties and schmoozing, socially conscious art is still Kyotographie’s main draw |
https://www.japantimes.co.jp/culture/2023/04/28/arts/kyotographie-socially-conscious-art/
|
Amid the parties and schmoozing socially conscious art is still Kyotographie s main drawWith the financial freedom to expand Kyotographie s offerings further still the responsibility arises to do so without diminishing the event s original rebellious spirit |
2023-04-28 18:30:16 |
ニュース |
BBC News - Home |
BBC Chairman Richard Sharp's statement in full |
https://www.bbc.co.uk/news/uk-65422920?at_medium=RSS&at_campaign=KARANGA
|
chairman |
2023-04-28 09:12:40 |
ニュース |
BBC News - Home |
Ukraine war: Thirteen dead as Russian missiles hit cities |
https://www.bbc.co.uk/news/world-europe-65421341?at_medium=RSS&at_campaign=KARANGA
|
dnipro |
2023-04-28 09:31:36 |
ニュース |
BBC News - Home |
Sudan crisis: Turkish evacuation plane fired on |
https://www.bbc.co.uk/news/world-africa-65423962?at_medium=RSS&at_campaign=KARANGA
|
fighters |
2023-04-28 09:20:16 |
ニュース |
BBC News - Home |
Met Police may be failing to spot serial killers like Stephen Port - watchdog |
https://www.bbc.co.uk/news/uk-england-london-65415255?at_medium=RSS&at_campaign=KARANGA
|
crimes |
2023-04-28 09:29:45 |
ニュース |
BBC News - Home |
Mike Pence testifies in criminal probe of Trump and Capitol riot |
https://www.bbc.co.uk/news/world-us-canada-65423301?at_medium=RSS&at_campaign=KARANGA
|
federal |
2023-04-28 09:40:14 |
ニュース |
BBC News - Home |
Katy Perry v Katie Perry: Singer loses trademark battle |
https://www.bbc.co.uk/news/entertainment-arts-65421964?at_medium=RSS&at_campaign=KARANGA
|
clothing |
2023-04-28 09:38:54 |
ニュース |
BBC News - Home |
Richard Sharp: BBC chairman resigns over report into appointment |
https://www.bbc.co.uk/news/uk-65323077?at_medium=RSS&at_campaign=KARANGA
|
appointments |
2023-04-28 09:33:22 |
ビジネス |
プレジデントオンライン |
「貯金も資産もないが老後の不安はない」87歳女性社長が今もハイヒールを履き続ける深い理由 - 地位も名誉もお金も関係なく、迷わずに没頭できる仕事を |
https://president.jp/articles/-/69095
|
今野由梨 |
2023-04-28 18:01:00 |
ビジネス |
プレジデントオンライン |
「貯金も資産もないが老後の不安はない」87歳女性社長が今もハイヒールを履き続ける深い理由 - 地位も名誉もお金も関係なく、迷わずに没頭できる仕事を |
https://president.jp/articles/-/68833
|
今野由梨 |
2023-04-28 18:01:00 |
マーケティング |
MarkeZine |
サガン鳥栖ファントークンアプリ、ファンとスポンサーをつなげるサービス「en-chant」を採用 |
http://markezine.jp/article/detail/42155
|
enchant |
2023-04-28 18:15:00 |
IT |
週刊アスキー |
フォッシル、ジ アウトレット湘南平塚にポップアップストアを期間限定オープン |
https://weekly.ascii.jp/elem/000/004/135/4135118/
|
watchstationinternational |
2023-04-28 18:55:00 |
IT |
週刊アスキー |
新天地エルガドへ!PS/Xbox/Win版『モンハンライズ:サンブレイク』が狩猟解禁 |
https://weekly.ascii.jp/elem/000/004/135/4135138/
|
playstation |
2023-04-28 18:30:00 |
IT |
週刊アスキー |
『ライザのアトリエ3』全世界出荷本数が30万本を突破!メディアの評価を載せたアコレードトレーラーを公開 |
https://weekly.ascii.jp/elem/000/004/135/4135119/
|
錬金術 |
2023-04-28 18:10:00 |
コメント
コメントを投稿