投稿時間:2023-06-09 05:20:27 RSSフィード2023-06-09 05:00 分まとめ(25件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
AWS AWS News Blog Announcing the latest AWS Heroes – June 2023 https://aws.amazon.com/blogs/aws/announcing-the-latest-aws-heroes-june-2023/ Announcing the latest AWS Heroes June AWS Heroes dedicate their time to help others build better and faster on AWS Heroes support and give back to the community in a variety of ways contributing to open source projects organizing AWS Community Days speaking at conferences leading workshops mentoring builders hosting meetups and much more Please welcome and say hello to our … 2023-06-08 19:50:41
AWS AWS Compute Blog Selecting cost effective capacity reservations for your business-critical workloads on Amazon EC2 https://aws.amazon.com/blogs/compute/selecting-cost-effective-capacity-reservations-for-your-business-critical-workloads-on-amazon-ec2/ Selecting cost effective capacity reservations for your business critical workloads on Amazon ECThis blog post is written by Sarath Krishnan Senior Solutions Architect and Navdeep Singh Senior Customer Solutions Manager Amazon CTO Werner Vogels famously said “everything fails all the time Designing your systems for failure is important for ensuring availability scalability fault tolerance and business continuity Resilient systems scale with your business demand changes prevent data … 2023-06-08 19:44:35
海外TECH Ars Technica Reddit’s new API pricing will kill off Apollo on June 30 https://arstechnica.com/?p=1946446 apollo 2023-06-08 19:46:13
海外TECH MakeUseOf How to Use the Fujifilm Camera Remote App https://www.makeuseof.com/how-to-use-fujifilm-camera-remote-app/ fujifilm 2023-06-08 19:15:18
海外TECH DEV Community Authentication system using Golang and Sveltekit - Dockerization and deployments https://dev.to/sirneij/authentication-system-using-golang-and-sveltekit-dockerization-and-deployments-139h Authentication system using Golang and Sveltekit Dockerization and deployments IntroductionHaving built out all the features of our application preparing it for deployment is the next step so that everyone around the world will easily access it We will deploy our apps backend and frontend on free hosting platforms ーfly io for backend and vercel Source codeThe source code for this series is hosted on GitHub via Sirneij go auth A fullstack session based authentication system using golang and sveltekit go authThis repository accompanies a series of tutorials on session based authentication using Go at the backend and JavaScript SvelteKit on the front end It is currently live here the backend may be brought down soon To run locally kindly follow the instructions in each subdirectory View on GitHub Implementation Step Dockerization of the backendThough fly io supports Golang natively and we can deploy it just like that our file structure doesn t make it that easy since main go isn t at the root of the project To ease the process we ll just dockerize it We will adopt multi stage builds pattern to greatly reduce our docker image size With this we ll have a Dockerfile that looks like this lt go auth Dockerfile gt FROM golang alpine AS builderWORKDIR appCOPY go auth backend RUN go mod downloadRUN go build ldflags s o bin api cmd apiFROM alpine latest AS runnerWORKDIR COPY from builder app bin api apiEXPOSE ENTRYPOINT api At the builder stage we are using the compact sized and secured alpine based docker image This image is just enough to build our application Then we specified app as the directory which our system s source files are copied into Since we have external dependencies they need to be downloaded hence the RUN go mod download With everything intact we then built our application which generated an executable binary in bin api The binary generated will be reduced in size because we stripped off DWARF and Symbol table In the runner stage we simply brought forward the output of the builder stage ーin this case app bin api ーand deposit it in api which was then used as the application s entry point It should also be noted that to reduce the image s size further we ignored some folders and files and they weren t copied to the docker image using a dockerignore flyctl launch added from frontend gitignorefrontend flyctl launch added from go auth backend gitignorego auth backend env go auth backend envrcgo auth backend binfly toml Step Deploying the backendBefore deploying some changes need to be made to config go and the changes can be seen here Before proceeding kindly create an account on fly io Having wrapped our app in a docker container it s time to deploy on fly io Ensure you are at the base of the entire project Then follow the steps below Install fly io s CLILogin into your account via fly auth loginRun fly launch This automatically detects the Dockerfile at the root of the project Follow the prompts However don t deploy it yet because we need to set our environment variables By now you should see a fly toml file generated You should create an env section in the file with the following filled in env PORT DEBUG false TOKEN EXPIRATION SESSION EXPIRATION DB MAX OPEN CONNS DB MAX IDLE CONNS DB MAX IDLE TIME EMAIL HOST SERVER smtp gmail com if you are using google s gmailEMAIL SERVER PORT FRONTEND URL If you have some secrets you can t put here such as EMAIL USERNAME EMAIL PASSWORD AWS S BUCKET NAME AWS SECRET ACCESS KEY AWS ACCESS KEY ID and AWS REGION they can be loaded using flyctl secrets set SECRET NAME valueNOTE If you opted to create a PostgreSQL database and Redis provided by fly io they will automatically be added to your environment variable Ensure you copy the credentials of the PostgreSQL database provisioned most especially the DATABASE URL This is needed to migrate the database locally After setting them all then Run fly deploy If successful run the following command to migrate your database Documents Projects web go auth go auth backend migrate path migrations database lt DATABASE URL gt up Step Deploying the frontendDeploying the front end on vercel is a breeze Just install sveltekit s vercel adapter Documents Projects web go auth frontend npm i D sveltejs adapter vercelThen add the adapter to your svelte config js frontend svelte config jsimport adapter from sveltejs adapter vercel type import sveltejs kit Config const config kit adapter adapter runtime edge export default config With that just go to your Vercel dashboard and link the front end of your GitHub version of the application to it Within seconds your app will be deployed Ensure you set the URL of the backend as the VITE BASE API URI PROD environment variable Congratulations The next article will be about automated testing It s also going to be the last article in this series See you OutroEnjoyed this article Consider contacting me for a job something worthwhile or buying a coffee You can also connect with follow me on LinkedIn and Twitter It isn t bad if you help share this article for wider coverage I will appreciate it 2023-06-08 19:52:49
海外TECH DEV Community LEARN API AND ITS MOST POPULAR TYPE https://dev.to/gaurbprajapati/learn-api-and-its-most-populat-type-3hnm LEARN API AND ITS MOST POPULAR TYPEAn API Application Programming Interface is a set of rules and protocols that allows different software applications to communicate and interact with each other It defines the methods data structures and conventions that developers can use to build software components and integrate them into larger systems Below is a guide to the most popular types of APIs REST SOAP GraphQL and gRPC For each API type I ll provide a brief explanation a code example and a discussion of the pros and cons REST Representational State Transfer Explanation REST is an architectural style for designing networked applications It uses a stateless client server communication model where the server provides resources that clients can access and manipulate using standard HTTP methods GET POST PUT DELETE Code Example using Node js and Express framework GET request to retrieve a user by ID app get users id req res gt const userId req params id Retrieve user data from database const user getUserById userId res json user POST request to create a new user app post users req res gt const userData req body Create user in the database const newUser createUser userData res status json newUser Pros Simplicity and ease of use Wide support and compatibility Stateless nature allows for scalability and easy caching Cons Lack of standardization in data formats and error handling Can lead to over fetching or under fetching of data SOAP Simple Object Access Protocol Explanation SOAP is a protocol for exchanging structured information in web services using XML It defines a set of rules for message formatting communication and error handling SOAP typically uses HTTP but it can also work over other protocols Code Example using Java and Apache CXF framework Creating a SOAP client HelloWorldService service new HelloWorldService HelloWorldPortType port service getHelloWorldPort Invoking a SOAP operation String result port sayHello John System out println result Pros Strongly typed and formal contract definition using Web Services Description Language WSDL Built in error handling and fault tolerance Support for various protocols HTTP SMTP etc Cons Complexity and verbosity due to XML based message format Steeper learning curve Limited support for modern web development e g lack of support for JSON GraphQL Explanation GraphQL is a query language and runtime for APIs It allows clients to request specific data requirements and receive only the data they need reducing over fetching and under fetching issues The server exposes a single endpoint that clients can query or mutate Code Example using Node js and Apollo Server GraphQL schema definition const typeDefs type Query user id ID User type User id ID name String email String Resolver functions const resolvers Query user parent args gt const userId args id Retrieve user data from database return getUserById userId Creating an Apollo Server const server new ApolloServer typeDefs resolvers Starting the server server listen then url gt console log Server running at url Pros Efficient and precise data retrieval avoiding over fetching and enablingrapid iteration Strong typing and self documenting nature with a well defined schema Support for real time updates using GraphQL subscriptions Cons Increased complexity in server implementation Caching and performance optimization may require additional effort Not suited for all use cases e g file uploads gRPC Google Remote Procedure Call Explanation gRPC is a high performance open source framework developed by Google for building efficient cross platform remote procedure call RPC APIs It uses Protocol Buffers protobuf as the interface definition language and supports multiple programming languages Code Example using Golang and gRPC gRPC service definition service GreetingService rpc SayHello HelloRequest returns HelloResponse Protobuf message definition message HelloRequest string name message HelloResponse string message Pros High performance binary serialization with Protocol Buffers Bi directional streaming and support for server side streaming and client side streaming Built in support for authentication load balancing and other advanced features Cons Learning curve especially for developers unfamiliar with Protocol Buffers and RPC concepts Increased complexity in setting up and maintaining the infrastructure Less human readable compared to REST or GraphQL APIs Each API type has its own strengths and weaknesses SoChoosing the right API for your use case depends on several factors Here are some considerations to help you make an informed decision Requirements Consider the specific requirements of your project such as the functionality needed data format performance requirements scalability and security Evaluate which API type aligns best with these requirements Client Needs Understand the needs of your client applications Consider factors such as the programming languages and frameworks used client side capabilities and ease of integration Choose an API type that allows clients to consume and work with the data effectively Data Retrieval Assess how your application retrieves and manipulates data If you require precise data retrieval minimal payload and real time updates GraphQL might be a good fit If you need simple data retrieval and widely supported standards REST can be a solid choice If you need high performance and efficient binary serialization gRPC can be a good option Ecosystem and Community Consider the availability of tools libraries and community support for the chosen API type A strong ecosystem and active community can provide helpful resources documentation and assistance during development Team Skills and Familiarity Evaluate your team s existing skills and expertise Choosing an API type that aligns with your team s familiarity can reduce the learning curve and speed up development However don t be afraid to explore new technologies if they provide significant advantages for your project Long term Maintenance Consider the long term maintenance and extensibility of the chosen API type Evaluate factors such as versioning support backward compatibility ease of adding new features and handling future requirements Integration Requirements Assess the integration requirements with other systems and services Some APIs may have better support for specific integration patterns or protocols such as SOAP for enterprise integrations or gRPC for microservices architectures Performance and Efficiency Evaluate the performance and efficiency requirements of your application Consider factors such as network latency payload size and processing overhead APIs like gRPC can provide high performance binary serialization and efficient network communication Documentation and Tooling Review the quality and availability of documentation and developer tooling for the API types you are considering Good documentation and tooling can significantly simplify development debugging and testing Future Flexibility Consider the future flexibility and adaptability of the chosen API type Look for an API that allows you to evolve and add new features without significant disruption or breaking changes In conclusion APIs are essential for facilitating communication between software applications REST SOAP GraphQL gRPC WebSockets and SDKs are common API types REST offers simplicity and compatibility SOAP provides structured information exchange GraphQL enables precise data retrieval gRPC excels in high performance communication WebSockets enable real time bidirectional communication and SDKs provide pre built tools Conclusion In conclusion APIs are essential for facilitating communication between software applications REST SOAP GraphQL gRPC WebSockets and SDKs are common API types REST offers simplicity and compatibility SOAP provides structured information exchange GraphQL enables precise data retrieval gRPC excels in high performance communication WebSockets enable real time bidirectional communication and SDKs provide pre built tools When choosing an API consider requirements client needs data retrieval ecosystem support team skills maintenance integration performance documentation and future flexibility Selecting the right API type ensures effective software integration and development 2023-06-08 19:26:28
海外TECH Engadget 'Prince of Persia: The Lost Crown' is a Metroidvania-style platformer coming in 2024 https://www.engadget.com/prince-of-persia-the-lost-crown-is-a-metroidvania-style-platformer-coming-in-2024-194059046.html?src=rss x Prince of Persia The Lost Crown x is a Metroidvania style platformer coming in It s still not clear if Ubisoft s nbsp Prince of Persia Sands of Time remake will ever see the light of day ーbut if you re looking for a new side story in the franchise the company has you covered Ubisoft announced Prince of Persia The Lost Crown at Summer Games Fest a new action adventure platformer quot inspired by the Metroidvania structure quot Presenting Prince of Persia The Lost Crown an action adventure platformer game set in a mythological Persian world The new PrinceofPersia releases on January th on all platforms See more gameplay at UbiForwardpic twitter com RoUNyswdtVーUbisoft Ubisoft June Pivoting the franchise s platforming roots to the more exploratory and action focused gameplay featured in Metroid and Castlevania games sounds like a natural twist ーbut it isn t the only change to the series format that Lost Crown offers Rather of taking on the role of the titular prince Lost Crown instead asks players to rescue him as Sargon a new hero and part of a group called quot The Immortals quot Ubisoft promises that the game features intense platforming giant boss fights puzzles and new character abilities and power throughout the journey Prince of Persia The Lost Crown will release on January for all platforms including Nintendo Switch PlayStation PlayStation Xbox Series X S and Xbox One as well as on PC through the Epic Games Store and on Amazon Luna This article originally appeared on Engadget at 2023-06-08 19:40:59
海外TECH Engadget Reddit CEO will host an AMA on API changes as thousands of subreddits plan to 'go dark' https://www.engadget.com/reddit-ceo-will-host-an-ama-on-api-changes-as-thousands-of-subreddits-plan-to-go-dark-193423226.html?src=rss Reddit CEO will host an AMA on API changes as thousands of subreddits plan to x go dark x Reddit CEO Steve Huffman will publicly address the community for the first time over the company s planned API changes that have sparked mass outrage on the platform “Reddit CEO u spez will be here tomorrow to host an AMA about the latest API updates including accessibility mod bots and third party mod tools the company shared in a brief update A Reddit spokesperson said the AMA would likely kick off around AM PT on Friday June th News of the AMA comes just after the developers of Apollo and RIF two of the most popular third party reddit clients said they would be shutting down their apps at the end of the month due to the company s new API pricing The AMA will take place just three days before a mass protest among much of the Reddit community over the controversial changes More than subreddits including several with more than million subscribers have said they plan to “go dark for hours beginning June th With the upcoming protests and the closure of two beloved apps tensions are likely to run high during the AMA Notably Reddit s post about the upcoming Q amp A doesn t directly refer to third party clients though they will likely feature prominently in users questions Instead the company highlighted accessibility features and moderation tools both of which stand to be impacted by the API changes as well though the company has made some concessions in those areas This article originally appeared on Engadget at 2023-06-08 19:34:23
海外TECH WIRED The Kakhovka Dam Collapse Is an Ecological Disaster https://www.wired.com/story/kakhovka-dam-flooding-ukraine/ ukrainian 2023-06-08 19:31:32
医療系 医療介護 CBnews 他の開設主体より高額な病院職員給与-公立病院は、なぜ赤字か(5) https://www.cbnews.jp/news/entry/20230608174827 公立病院 2023-06-09 05:00:00
ニュース BBC News - Home Rishi Sunak and Joe Biden announce green funding agreement https://www.bbc.co.uk/news/uk-politics-65846871?at_medium=RSS&at_campaign=KARANGA rishi 2023-06-08 19:03:34
ニュース BBC News - Home West Ham trophy parade draws huge east London crowds https://www.bbc.co.uk/news/uk-65851408?at_medium=RSS&at_campaign=KARANGA major 2023-06-08 19:20:07
ニュース BBC News - Home French Open 2023 results: Aryna Sabalenka loses to Karolina Muchova in Paris semi-finals https://www.bbc.co.uk/sport/tennis/65846920?at_medium=RSS&at_campaign=KARANGA French Open results Aryna Sabalenka loses to Karolina Muchova in Paris semi finalsKarolina Muchova one of lowest ranked players to reach the French Open women s final saves a match point before beating second seed Aryna Sabalenka 2023-06-08 19:19:02
ビジネス ダイヤモンド・オンライン - 新着記事 【無料公開】なないろ生命社長が明かす、開業半年で「新契約年換算保険料80億円」のペースを実現できた理由 - Diamond Premiumセレクション https://diamond.jp/articles/-/324127 diamond 2023-06-09 04:55:00
ビジネス ダイヤモンド・オンライン - 新着記事 米金融不安の震源地になり得る3つの“火種”、アキレス腱は「企業の過剰債務」 - 政策・マーケットラボ https://diamond.jp/articles/-/324179 資金供給 2023-06-09 04:50:00
ビジネス ダイヤモンド・オンライン - 新着記事 株主還元や配当で騒がない「優良投資家」を作る3つの極意、マネジメントの鍵は“マルチプル“【動画】 - レジェンド企業のマネジメント術 衰退の芽は10年前から見えている https://diamond.jp/articles/-/323838 2023-06-09 04:45:00
ビジネス ダイヤモンド・オンライン - 新着記事 信越化学は過去最高決算の一方、旭化成は20年ぶりの最終赤字、化学業界5社の明暗 - ダイヤモンド 決算報 https://diamond.jp/articles/-/324178 信越化学は過去最高決算の一方、旭化成は年ぶりの最終赤字、化学業界社の明暗ダイヤモンド決算報新型コロナウイルス禍が落ち着き始め、企業業績への影響も緩和されてきた。 2023-06-09 04:40:00
ビジネス ダイヤモンド・オンライン - 新着記事 東電・関電・中部電…燃料費下落で利益急回復!赤字から最終黒字に反転できたのは? - ダイヤモンド 決算報 https://diamond.jp/articles/-/324177 東電・関電・中部電…燃料費下落で利益急回復赤字から最終黒字に反転できたのはダイヤモンド決算報新型コロナウイルス禍が落ち着き始め、企業業績への影響も緩和されてきた。 2023-06-09 04:35:00
ビジネス ダイヤモンド・オンライン - 新着記事 アマゾンが楽天を買収し「アマ天」爆誕!?最悪シナリオを否定しきれないワケ - 今週もナナメに考えた 鈴木貴博 https://diamond.jp/articles/-/324176 楽天グループ 2023-06-09 04:25:00
ビジネス ダイヤモンド・オンライン - 新着記事 アフターコロナで倒産急増、リスクを占う「注目データ」とは?【帝国データバンクが解説】 - 倒産のニューノーマル https://diamond.jp/articles/-/324175 帝国データバンク 2023-06-09 04:20:00
ビジネス ダイヤモンド・オンライン - 新着記事 中国人による「無人島購入」は沖縄だけじゃなかった!無防備ニッポンは大丈夫? - China Report 中国は今 https://diamond.jp/articles/-/324174 中国人による「無人島購入」は沖縄だけじゃなかった無防備ニッポンは大丈夫ChinaReport中国は今中国人女性が沖縄県にある無人島・屋那覇島を購入したというニュースは、日本で大きな話題になった。 2023-06-09 04:15:00
ビジネス ダイヤモンド・オンライン - 新着記事 頭のいい人は知っている「刑事ドラマ顔負け」効果バツグンの交渉テクニックとは? - 頭がいい人の交渉術 https://diamond.jp/articles/-/324173 頭のいい人は知っている「刑事ドラマ顔負け」効果バツグンの交渉テクニックとは頭がいい人の交渉術「怖いと思ってたけど、実はいい人なのかも……」いわゆる“ギャップ萌えで、相手の印象がガラリと変わることがあります。 2023-06-09 04:10:00
ビジネス ダイヤモンド・オンライン - 新着記事 中国でなぜ「巨大な赤ちゃん」が増えているのか?炎上が相次ぐ異常なワガママぶりの背景 - DOL特別レポート https://diamond.jp/articles/-/324172 2023-06-09 04:05:00
ビジネス ダイヤモンド・オンライン - 新着記事 Apple Vision Proは単なるARゴーグルにあらず!「49万円でも納得」なこれだけの理由 - ビジネスを変革するテクノロジー https://diamond.jp/articles/-/324185 AppleVisionProは単なるARゴーグルにあらず「万円でも納得」なこれだけの理由ビジネスを変革するテクノロジー月日、アップルは開発者向けカンファレンス・WWDCで“空間コンピュータの「AppleVisionPro」以下、VisionProを発表し、メディアの注目を一身に集めることに成功した。 2023-06-09 04:02:00
ビジネス 東洋経済オンライン バンコクの鉄道「日本式システム輸出」苦闘の歴史 「上から目線」の技術押し売りはもう通用しない | 海外 | 東洋経済オンライン https://toyokeizai.net/articles/-/678083?utm_source=rss&utm_medium=http&utm_campaign=link_back 上から目線 2023-06-09 04:30: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件)