投稿時間:2022-03-09 19:36:46 RSSフィード2022-03-09 19:00 分まとめ(47件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT 気になる、記になる… 楽天モバイル、「iPhone SE (第3世代)」と「iPhone 13/13 Pro」の新カラーモデルを3月18日に発売へ − 3月11日午後10時より予約受付開始 https://taisy0.com/2022/03/09/154377.html iphone 2022-03-09 09:54:35
IT 気になる、記になる… UQ mobile、「iPhone SE (第3世代)」の予約受付を3月11日午後10時より開始へ https://taisy0.com/2022/03/09/154375.html iphone 2022-03-09 09:52:02
IT 気になる、記になる… au、「iPhone SE (第3世代)」や「iPad Air (第5世代)」などの予約受付を3月11日午後10時より開始へ https://taisy0.com/2022/03/09/154373.html apple 2022-03-09 09:50:03
TECH Engadget Japanese 台湾Gogoro、電気バイク用交換式全固体電池パックを開発。容量はリチウムイオン式の1.47倍 https://japanese.engadget.com/gogoro-testing-swappable-solid-state-batteries-092042590.html gogoro 2022-03-09 09:20:42
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] SHARP、「シャープクリスタルマスク」の大きめサイズを発売 https://www.itmedia.co.jp/business/articles/2203/09/news094.html itmedia 2022-03-09 18:41:00
js JavaScriptタグが付けられた新着投稿 - Qiita オンラインの二酸化炭素排出量を削減する!環境に優しいウェブサイトの作り方とは? https://qiita.com/human_science/items/a65ab9e0e01eb7c29caa オンラインの二酸化炭素排出量を削減する環境に優しいウェブサイトの作り方とは環境に配慮したグリーンなウェブサイトを構築することで、持続可能性の向上に貢献できることをご存知でしたか著者MagdaT年月日原文目次環境に配慮したウェブサイトとははじめに環境に配慮したウェブサイトの構築環境配慮型技術への移行気候変動の影響が懸念される中、環境に配慮したウェブサイトは、エネルギーを節約し、オンライン利用で二酸化炭素排出量に与える影響を軽減することができます。 2022-03-09 18:58:07
js JavaScriptタグが付けられた新着投稿 - Qiita 特定の単語を固定して検索! 検索効率向上! プログラマー向け検索サイト https://qiita.com/tomato645/items/e8663f10a25d19b5b1bf 特定の単語を固定して検索検索効率向上プログラマー向け検索サイト紹介検索効率爆上がりのサイトを作ってみたプログラマー向けほかにも用途があるかも↓実際のサイトのイメージ使い方①固定する言葉言葉を入力します。 2022-03-09 18:42:31
Linux Ubuntuタグが付けられた新着投稿 - Qiita Ubuntuでgifを生成する https://qiita.com/mafuto/items/64749ed3b75731e12b51 Ubuntuでgifを生成するubuntuでgifを生成する方法を紹介します。 2022-03-09 18:14:36
AWS AWSタグが付けられた新着投稿 - Qiita Amazon EMR 再入門 https://qiita.com/suzukihi724/items/b6e9a735cc9e6978178b 2022-03-09 18:06:29
Docker dockerタグが付けられた新着投稿 - Qiita PHP8のコンテナでdocker stopしてるのにSIGTERMが送られていない事象について https://qiita.com/yamamoto_hiroya/items/5fb84c980e6f954f57b3 ほう、ってことはSTOPSIGNALで上書きしてる可能性あるか↓使ってるimageのDockerfileを確認しに行く。 2022-03-09 18:31:52
技術ブログ Mercari Engineering Blog iOSエンジニアから転向して在庫補充通知機能をリリースしました! https://engineering.mercari.com/blog/entry/20220308-restock_subscription_release/ softwhellip 2022-03-09 10:00:30
技術ブログ Developers.IO AWS IAMの使用していないカスタマー管理ポリシーをすべて削除する https://dev.classmethod.jp/articles/aws-iam-delete-unused-customer-managed-policies/ awsiam 2022-03-09 09:48:18
技術ブログ Developers.IO Elastic Beanstalkに適用したキーペアを解除したいのですが、どうすれば解除出来ますか? https://dev.classmethod.jp/articles/tsnote-elastic-beanstalk-keypair/ elasticbeanstalk 2022-03-09 09:04:58
海外TECH MakeUseOf 5 Notion Apps and Tutorials to Make It More Productive https://www.makeuseof.com/notion-apps-tutorials-make-it-productive/ Notion Apps and Tutorials to Make It More ProductiveLearn how to use Notion with these free tutorials and fix its missing features through extensions and third party tools to make it more productive 2022-03-09 09:30:13
海外TECH DEV Community Optimizing Lambda Performance for Your Serverless Applications https://dev.to/tlakomy/optimizing-lambda-performance-for-your-serverless-applications-44lo Optimizing Lambda Performance for Your Serverless Applications Lambda overviewLooking at the anatomy of a lambda function we can identify several different layers Your functionLanguage runtimeExecution environmentLambda service invisible to customers managed by AWS Compute substrate invisible to customers managed by AWS Apart from well known Lambda runtimes Node js Go etc Lambda also supports custom runtimes that you can bring in to Lambda service so it s possible to use languages like Perl Erlang and even COBOL Lambda itself is agnostic to your choice of runtime and has no preferences for one runtime over another Out of layers mentioned earlier there are only three where our decisions make a difference function itself execution environment and Lambda service It s worth mentioning that AWS is consistently improving the performance of invisible layers as well Quick recap of anatomy of an AWS Lambda function Handler function a function to be executed upon invocationEvent object data sent during Lambda function invocationContext object methods available to interact with runtime information request ID log group etc There s a difference between a full cold start e g whenever a function is run for the very first time and a partial cold start when the execution environment is already running since it stays around for a while The first two steps downloading the code and starting a new execution environment are optimized by AWS whereas the last two can be optimized by a developer AWS X Ray allows us to identify areas for performance optimization X Ray can both be enabled as an Active tracing checkbox in Lambda console or via the aws xray sdk core Optimizing Lambda Three areas of performanceLatencyThroughputCost Latency cold startsA Lambda function call always starts with a request to Lambda s API The next steps depend on whether there is a warm execution environment available If there is one that means that the Lambda function was executed rather recently and the handler can be invoked on that execution environment This becomes a bit more complicated if a warm execution environment is not available The INIT code is referring to code that is defined outside of the handler function Cold starts affect less than of production workloads they are much more common in development environments since there is way less traffic A duration of a cold start varies from less than ms to more than s It s not possible to target warm environments The only actual guarantee of getting a warm environment is using provisioned concurrency pinging functions to keep the warm will not work when function is scaling out or the execution environment is being load balanced to a different AZ Making function packages as small as possible helps since there s simply less code to download Generally speaking functions executed more often than others will be hitting warm environments more frequently Static initialization is influenced by size of function packageamount of codeamount of initialization work that is code that runs before the handler function The developer is responsible for this part of a cold startWhat can help Trimming SDKs reusing DB connections not loading things we don t need and lazy loading If you absolutely need to have warm execution environments use Provisioned Concurrency on AWS Lambda announced at Re Invent Provisioned concurrency has a rampup of execution environments per minute so if you need k execution environments it ll take minutes to spin them up It s possible to have different provisioned concurrency for different versions of the Lambda function and remember that it s not possible to use provisioned concurrency for LATEST version Memory and profilingLambda exposes only memory control as it s not possible to modify anything else that influences the power of a Lambda function The default is MB which is well suited for small Lambda functions but its definitely possible to save money time by assigning a larger memory for your function AWS Lambda Power Tuning allows the developer to optimize their lambda function from cost performance perspective without running manual experiments Architecture and best practicesAvoid monolithic functions optimize package size micro nano services Minifiy uglify production codeOptimize dependencies and importsLazy initialization of shared libraries objectsIt s better to have a lambda function per purpose rather than one giant Lambda that is essentially yourBusinessLogic js In order to solve issues with connections to a relational database consider using an RDS Proxy RDS Proxy launched at Re Invent will intelligently manage your connections to a relational database in RDS As such it helps match the way that scalable compute works with traditional database architectures In order to reuse existing connections and improve the performance of functions using http s request use keep alive property in order to reuse TCP connections on warm execution environments More details Sync vs async lambda architecturesSource for all screenshots Optimizing Lambda Performance for Your Serverless Applications Stay on top of your logs ️Introducing Cloudash a desktop app for monitoring your serverless services performance invocations errors and more Did a production incident happen last week Or seconds ago With Cloudash you can search filter and browse your serverless logs and metrics effortlessly Search for whatever you want whenever you want Cloudash comes with built in filtering capabilities enabling to get to the bottom of your problems faster than ever before Get started here 2022-03-09 09:41:55
海外TECH DEV Community How to Use NextJS Loader for Page Transitions https://dev.to/arshkkk/how-to-use-nextjs-loader-for-page-transitions-1cpd How to Use NextJS Loader for Page TransitionsContextNextJs does Automating Code Splitting on the basis of pages so each time there is a route change nextjs dynamically loads the necessary modules If you re using Nextjs Link Component it prefetches the necessary modules related to page Link has href of whenever it comes in viewport and whenever user hovers over it by default to make user experience smooth But in some scenarios adding a loader for page transitions when modules are heavy or they are fetched yet boosts the user experience a lot CodeLet s create a Loader Svg First I m using a svg loader from here export const SvgLoader gt lt div style width px gt lt svg version id L xmlns x px y px viewBox enable background new gt lt circle fill fff stroke none cx cy r gt lt animate attributeName opacity dur s values repeatCount indefinite begin gt lt circle gt lt circle fill fff stroke none cx cy r gt lt animate attributeName opacity dur s values repeatCount indefinite begin gt lt circle gt lt circle fill fff stroke none cx cy r gt lt animate attributeName opacity dur s values repeatCount indefinite begin gt lt circle gt lt svg gt lt div gt Now Create Loader Component that has the logic for when to show the loader import React useState from react import SvgLoader from SvgLoader export const Loader gt const router useRouter const isLoaderVisible setIsLoaderVisible useState false React useEffect gt const handleRouteChange url shallow gt setIsLoaderVisible true const handleRouteComplete url shallow gt setIsLoaderVisible false here we subscribe to router change start and complete events router events on routeChangeStart handleRouteChange router events on routeChangeComplete handleRouteComplete unsubscribing to router events when component unmounts to prevent memeory leaks return gt router events off routeChangeStart handleRouteChange router events off routeChangeComplete handleRouteComplete if isLoaderVisible return lt div style position fixed inset display flex justifyContent center alignItems center gt lt SvgLoader gt lt div gt else return null Now we can use the above loader in any of the Higher Order compoents or even in app jsimport Loader from components Loader function MyApp Component pageProps any return lt gt lt Loader gt lt Component pageProps gt lt gt OutputWhenever there will be a page change below loader will show up incase modules are not imported Gist 2022-03-09 09:29:01
海外TECH DEV Community This Week In React #97: React vs Solid, Headless Components, Remotion, Gatsby, React-Native, Expo, Vitest, Socket... https://dev.to/sebastienlorber/this-week-in-react-97-react-vs-solid-headless-components-remotion-gatsby-react-native-expo-vitest-socket-ogm This Week In React React vs Solid Headless Components Remotion Gatsby React Native Expo Vitest Socket Hi everyone New  LinkedIn page  Twitter community feel free to join follow to give me an initial boost I intend to share more informal content there not always suitable for this newsletter React new RC blog post were just published too late for me for this week I have to send the issue This week I found the React vs Solid article really interesting The one on do notation too but requires some FP knowledge Nice video intro to Remotion in a minutes video A new Vitest feature allows you to co locate a test with its source code in the same file It s not going to please everyone but I love it Issues of the React repo among others were spammed by pro Russia supporters who didn t appreciate the Ukraine support banner on the website  Support the newsletter  Recommend it to your friends it really helps  Sponsorise This Week In React  Write testimonials on Twitter  Retweet the latest Twitter thread  Reply to this email  feedback is welcomeIf you like this newsletter subscribe in priority there  ThisWeekInReact com  ReactHebdo fr ReactSolid js feels like what I always wanted React to beExplains why Solid is simpler than React Solid is reactive and directly updates the DOM without virtual DOM The render function is only called once even if the state changes and there are no stale closure issues A good article to discover the differences between these frameworks and discover Solid I find Solid really interesting In the short term it can be a very good alternative to React for web apps However I am waiting to see the practical use of the innovations of React because I think that the virtual DOM is interesting for the highly anticipated concurrent features Headless components in React and why I stopped using a UI library for our design systemNir tells his story from using React Bootstrap and MUI to implementing an autocomplete from scratch to ending up using a headless lib that encapsulates behavior and accessibility A good intro to understand the interest of headless libs which also lists the popular libs of the ecosystem Screaming Architecture  Evolution of a React folder structure and why to group by features right awayJohannes shows us how he gradually refactors his file system structure to keep his app maintainable over time An interesting line of thought I don t think there is a one size fits all solution that works for everyone Personally I like fractal trees and I would love for IDEs to offer a way to tag files What s New at GatsbyConf Gatsby now offers an Image CDN that reduces build times and optimizes loading Note Netlify offers an equivalent Other notable improvements announced incremental deploys full TypeScript support GitHub Enterprise trailing slash Hooks React s do notationFor FP lovers Devansh explains that you can convert each hook to a render prop but not the other way around Hooks are just syntactic sugar to avoid the callback hell It is related to Haskell monads and the do notation Show various interesting experiments like implementing conditional rendering or using generator functions for hooks Extras  Building Pages in Storybook Storybook is not limited to the design system and can also be used on full pages You can mock data and the new play  function seems useful to setup pages in edge cases  How to manage the useEffect dependency array like a pro  A Deep Dive Comparison Between useMemo And useCallback  Hosting a React App with OpenFaaS  Improving Web Performance with React Hydration Strategies Sebastian Markbåge   One day React will switch to only ESM  Classic vs Shorthand Props  Remotion Fireship nice intro to discover Remotion   React Antipatterns to Avoid Fireship suggests to avoid some React anti patterns A good reminder SponsorsReact Bricks CMS with visual editing for Next js Gatsby and Remix based on React componentsContent creators don t like the grey forms of a headless CMS Visual tools like Wix or Webflow are either not flexible complex to use or too flexible a content creator should not decide on a margin right React Bricks has the best of the worlds  all the advantages of a Headless CMS and best in class Visual editing experience with no way to break the design system You create visually editable content blocks as React components using the react bricks library Content creators use these blocks to compose content with all the freedom they want and no more than they need Learn it in about hours with the Step by step tutorial or the full Documentation Create your free account and start building now React NativeExpo  EAS Update Preview ProgressExpo shares its progress on EAS Update the new Over The Air update system currently in preview It is possible to associate a release channel with a Git branch and do continuous delivery They also improved performance security and are working on a web UI to make it easier to use React Native Github Action ️Offers a complete workflow to automate the build of React Native apps The build is triggered when a new GitHub release is created There is a bit of work but it shows that Fastlane may not be so essential anymore Extras  What makes Hermes engine React Native fast  How we made our React Native tests run x faster ‍React Native Skia v  animations  drop shadow  Expo deprecating expo app auth   margelo io  Marc Rousavy sharing interesting React Native tips  Stacks a set of React Native primitives to create your layouts Encapsulates the practice of avoiding margins  v has just been released  react native reanimated zoom Partners Start React Native learn everything about gestures and animations with William Candillon React Native Weekly stay up to date React Native core updates TypeScript Weekly the best TypeScript links every week right in your inbox ES next News learn about the latest in JavaScript and cross platform tools Tailwind Weekly all things Tailwind CSS new issue every Saturday Gi pre vetted remote React amp React Native developers you can trust on contract or full time basis Infinite Red US React Native experts making your idea a reality Software Mansion the co creators of React Native and the technological core of many tech companies OtherSocket Secure your JavaScript supply chainNew tool to detect supply chain security vulnerabilities compromised npm libs you use in your apps Offers a different and pro active approach rather than looking for known vulnerabilities assumes that any npm package may be compromised and looks for indicators based on the history of packages that have already been compromised A tool to adopt quickly given the number of attacks of this type is increasing sharply Read also Introducing Socket What s Really Going On Inside Your node modules Folder Why Vulnerability Scanning Isn t Enough To Protect Your AppInterop browsers working together to improve the web for developersThe teams of the main browsers will work together in to improve compatibility on areas of focus which are particularly painful for developers today There s even a dashboard with a compatibility score for each browser We find among others the cascade layers color functions viewport units scroll subgrid Extras Vitest v a great innovation  In source testing permits to co locate the test in the source code file Monorepos are changing how teams build software Vercel gives good reasons to adopt the monorepo The lt selectmenu gt HTML element an upcoming HTML component could gradually replace lt select gt Future Javascript ShadowRealms TC moved to stage recently Allows to execute code in isolation Implementing Node js URL parser in WebAssembly with Rust interesting feedback using Rust compiled in WASM did not improve performance of this Node js API Jest  shard option parallelize the tests on its CI WebGPU All of the cores none of the canvas SPAs were a mistake Steve Schoger tips on dark mode Progressive enhancement dark mode switch How to add types for Object fromEntries Introducing The XState CLI New to the web platform in February Safari Technology Preview New CSS Features In Can you get pwned with CSS Parcel CSS Chrome rolled out this week with Cascade Layers on by default Web devs rally to challenge Apple App Store browser rules Thoughts On Markdown Flightcontrol world class deployment DX natively to your AWS Cloudflare Steps we ve taken around Cloudflare s services in Ukraine Belarus and Russia Renovated Home For WAPM WebAssembly package manager A new year a new MDN 2022-03-09 09:05:38
海外TECH DEV Community How to add chat into a NodeJS app with TalkJS https://dev.to/talkjs/how-to-add-chat-into-a-nodejs-app-with-talkjs-53n How to add chat into a NodeJS app with TalkJSThis article is another entry in our series about integrating the TalkJS chat API with different backends Today it is all about shipping a full fledged chat feature for any NodeJS app Similar to the previous articles you can find here we set up a NodeJS server that consists of specific endpoints to get user data as well as store user data and then use this to initialize a chat The chat uses the same data as the previous articles so it is very easy to relate The entire source code is always available on GitHub NOTE This is a barebones example of integration and is to help you get started When using in a production setting ensure that users are authenticated and authorized to use the services We are using an embedded database which is only for the scope of this tutorial For production scenarios you must use a full fledged database Installing the dependenciesTo create an empty npm project use the command npm init y The argument y sets defaults for the parameters inside package json Once created you can start downloading the dependencies Make sure you add the parameter type module inside the package json file to use ES style import statements We have dependencies that we need for this demo project They are cors body parser express lowdb Express is our go to choice for creating APIs with NodeJS and body parser automatically parses your request so that it becomes easy to handle them in our code LowDB is an embedded database similar to the ones we used in our Spring Boot and Flask tutorials but here it is stored in a JSON file CORS is to enable cross origin resource sharing import express from express import cors from cors import bodyParser from body parser import LowSync JSONFileSync from lowdb After installing them create a file called server js and import them into the application LowDB Easy to use embedded database for JavaScriptLowDB is an open source embedded database for JavaScript and their GitHub page has very comprehensive documentation on how to get started with examples const adapter new JSONFileSync file json const db new LowSync adapter db read db data users To create a simple JSON database we use the JSONFileSync function and pass in the required filename If it is not present LowDB creates it for you We then pass that to the LowSync method to get an instance of the database in memory Note that the Sync in the functions means synchronous There are also asynchronous variants of these functions By default we create an empty array of users inside the database Creating the APIsBefore creating the APIs we must initialize our Express application and configure body parser For that we use the below code const app express const port app use cors app use bodyParser urlencoded extended false app use bodyParser json Once that is set we are good to start creating our APIs As usual we have one API for creating the user and one for getting the user data to our frontend Create User APICreating a user is a POST request We receive all the parameters from the request body and set it to variables To make it shorter we can directly assign them when we push it to the database as well app post createUser req res gt const id req body id const name req body name const email req body email const photoUrl req body photoUrl const role req body role console log id name email photoUrl role db data users push id id name name email email photoUrl photoUrl role role db write res status send User created successfully Once all the data is ready we use the statement db data users push and pass in an object with the values This does not persist in the file so we finally need to use the db write method Get User APIThis is a much easier API to get the value of the user We pass in the id in the URL and then retrieve the record from our JSON file with the id We use the find method and pass in an arrow function to go through each entry and retrieve the record app get getUser id req res gt const id req params id let record db data users find p gt p id id if record console log No data found else console log Record found console log record res status send record Once retrieved we send the record to the frontend where it displays the user information in the chat ConclusionWe use the same code as we did for the previous articles for the front end The only change required is for the getUser API that needs the userId in the following format getUser instead of getUser id Once you make that change and deploy the frontend it should pull the information from the server as long as the data is present To add data you can use the createUser API You can check out the entire source code at GitHub Until the next tutorial happy coding 2022-03-09 09:02:43
海外TECH DEV Community GraphQL subscriptions at scale with NATS https://dev.to/karanpratapsingh/graphql-subscriptions-at-scale-with-nats-f19 GraphQL subscriptions at scale with NATS GraphQL subscriptions at scale with NATSIn this article we ll look at how to setup GraphQL subscriptions at scale with NATS Note If you re not familiar with NATS please checkout my earlier article Why GraphQL subscriptions In my opinion subscriptions are quite underrated and often overlooked They provide just the right amount of abscraction over websockets which is both developer friendly and powerful Plus all the tooling around GraphQL is simply fantastic from ease of integration to code generators it s the perfect choice to reduce complexity on the frontend What and How Here we ll create a simple GraphQL server and subscribe to a subject from our resolver We ll use GraphQL playground to mock client side behavior Once we re connected we ll use NATS CLI to send a payload to our subject and see the changes on the client Note NATS client is available in over different languages Pre requisitesWe will require following tools to run our example so make sure you have these installed first NATS ServerNATS CLI SetupLet s start by setting up a basic GraphQL project using gqlgen which lets us autogenerate our schema resolvers and much more Note All the code from this article will be available in this repoInit a new go module mkdir example cd example go mod init exampleCreate a new gqlgen project printf build tools npackage tools nimport github com designs gqlgen gofmt gt tools go go mod tidy go run github com designs gqlgen init printf package model gofmt gt graph model doc goThis should create the following directory structure├ーgo mod├ーgo sum├ーgqlgen yml├ーgraph│├ーgenerated││└ーgenerated go│├ーmodel││├ーdoc go││└ーmodels gen go│├ーresolver go│├ーschema graphqls│└ーschema resolvers go├ーserver go└ーtools goBefore we run this let s simplify the graph schema graphqls as below to keep things as minimal as possible so we can focus on NATS integration more clearly type Subscription payload String type Query payload String Let s re generate our resolvers go run github com designs gqlgen generatevalidation failed packages Load nats gql graph schema resolvers go NewTodo not declared by package modelnats gql graph schema resolvers go Todo not declared by package modelnats gql graph schema resolvers go Todo not declared by package modelnats gql graph schema resolvers go MutationResolver not declared by package generatedexit status This should give an error which tells us to remove unused code from our resolvers To fix this simply open graph schema resolvers go and remove anything below the WARNING sign Now let s also change the query resolver Payload func r queryResolver Payload ctx context Context string error value hello world return amp value nil And finally let s run the server go run server go connect to http localhost for GraphQL playgroundWohoo Now we can go to localhost and run our sample query in GraphQL playground and it should give us a result Now that we have our basic GraphQL server working let s look into our subscription resolver defined in schema resolvers go But first let s understand the Payload resolver function As we know Go has this amazing concept of channels and if we look at the return signature this function requires us to return a receive only channel of type string along with error in case something goes wrong This seems quite idiomatic Go to me Note gqlgen will forward any data sent to this channel to the subcription func r subscriptionResolver Payload ctx context Context lt chan string error Note Notice that string will be changed if we update our schema and regenerate our resolversThis is perfect Let s install nats go go get github com nats io nats gogqlgen is setup in such a way that it makes it very easy to do dependency injection So let s init our NATS client But first let s update some types In graph resolver go update the Resolver type as below type Resolver struct Nats nats Conn Nice now we ll be able to init and pass our client to graph Resolver struct in server go nc err nats Connect nats DefaultURL if err nil panic err defer nc Close srv handler NewDefaultServer generated NewExecutableSchema generated Config Resolvers amp graph Resolver nc Great moving back to graph schema resolvers go let s define a channel and subscribe to a subject like payload subject In the callback function we ll simply convert our message data which is a byte array to string and send it to our channel func r subscriptionResolver Payload ctx context Context lt chan string error ch make chan string r Nats Subscribe payload subject func msg nats Msg payload string msg Data ch lt amp payload return ch nil Note You can easily setup an encoded connection to auto parse any json data NATS makes it super convenient Before we run our app let s open a new terminal window and start our NATS server nats server INF Starting nats server INF Version INF Git not set INF Name NDRHVHJHVJKXIAIXYZWLUEYTEGMRSOSCHLWQXEKAGSZJKBTIDA INF ID NDRHVHJHVJKXIAIXYZWLUEYTEGMRSOSCHLWQXEKAGSZJKBTIDA INF Listening for client connections on INF Server is readNote Want to run NATS in production Checkout my ealier article where we look at different ways of running a NATS server on Kubernetes Finally Let s start our app and navigate to localhost go run server go connect to http localhost for GraphQL playgroundLet s start a subscription for a query subscription payload Now it should be actively listening for changes Lastly let s publish a message usually this will be performed by a another service or client but right now we can just use the nats cli i e nats pub lt subject gt lt payload gt nats pub payload subject hello world ConclusionPerfect Now we can run our real time GraphQL subscriptions at scale all thanks to NATS which is capable of serving upto million messages per second yes you read that right I hope this article was helpful as always if you have any questions feel free to reachout to me on LinkedIn or Twitter 2022-03-09 09:02:19
海外TECH Engadget Facebook makes it easier for Ukrainian users to seek medical help and assistance https://www.engadget.com/facebook-ukraine-medical-help-assistance-community-help-094017728.html?src=rss Facebook makes it easier for Ukrainian users to seek medical help and assistanceFacebook has updated its Community Help section in Ukraine to add resources from local UN and Red Cross agencies The information Facebook has added will make it easier for users to find medical help and other kinds of assistance not just in Ukraine but also in neighboring countries In addition Community Help now contains the WhatsApp helpline for Ukraine s State Emergency Services to connect people with critical updates and vital services To make sure that people who need it can quickly access the section Facebook is putting a link to Community Help at the top of its feeds for Ukrainain users even if they ve already left the country The link will also appear at the top of the results for relevant searches on Facebook as well as at the top of users Instagram feeds nbsp Facebook has updated its Emotional Health Center as well adding mental health tips such as how to support children during a crisis from the WHO and other organizations in Ukrainian Russian and English Users in Ukraine might also start seeing more ads connecting them to organizations providing aid because Facebook is giving those groups access to free ad campaigns to get critical messaging out to those who need it The World Health Organization for instance has put out ads promoting information on breastfeeding for displaced mothers nbsp Finally those who need to get in touch with the WHO s Health Alert helpline for mental health in Ukraine and neighboring countries can add the number to their WhatsApp contacts They simply have to message quot hi quot to that number to get the process started nbsp Facebook made several other moves over the past couple of weeks in response to Russia s invasion of Ukraine The social network previously demoted Russian state media across its entire platform and took down fake accounts boosting Russian information in Ukraine shortly after the attacks started It also enabled a quot lock profile quot tool for people in Ukraine giving them a one click solution to ensure that nobody outside their friends list can see their posts photos and information nbsp 2022-03-09 09:40:17
海外TECH Engadget LimeWire is back... as an NFT marketplace https://www.engadget.com/limewire-nft-marketplace-no-crypto-090040288.html?src=rss LimeWire is back as an NFT marketplaceIn the Internet age nothing is gone forever and everything can be resurrected time and again as an easy way to sell products Sadly whatever residual affection our parents generation had for brands like Polaroid and Atari has been strip mined to sell well whatever their new owners choose Consequently it s time for a newer fresher name to return from the dust and remind everyone over the age of that our childhoods are now something that people can feel nostalgia towards Oh and apropos of nothing LimeWire is coming back as an NFT marketplace In May LimeWire is relaunching as a “mainstream ready digital collectibles marketplace for art and entertainment initially focusing on music Its backers believe that it will be a place for artists and fans to create and sell digital trinkets without the “technical hurdles of the current NFT landscape It is hoping to partner with a raft of high profile musicians in the hope of spreading word about LimeWire s resurrection in the hope of getting a million willing buyers signed up before the first year is done The phrase of the day is ensuring that “NFT newbies are well catered for offering easy signup pricing in US dollars and a lack of any crypto based gatekeeping Users will be able to buy straight from their credit cards or any other regular money via Wyre s payment platform which is also used by OpenSea The company added that it is working with “top tier artists from the music world who will create content for the platform and also open lines of communication with willing fans LimeWire s resurrection is being handled by Julian and Paul Zehetmayr who are also both co CEOs of the company The Zehetmayrs are the figures behind Eversign as well as bb software companies Currencylayer and Stack Holdings Julian in a statement said that “it s important to note that we are not relaunching LimeWire as an alternative to streaming platforms but rather as an additional channel for artists to sell exclusive music and art directly to collectors Of course it s not clear if the folks who really loved LimeWire had much affection for the platform itself back in the day After all LimeWire s ability to let you illegally pirate music from your friends and enemies came with the added inclusion of some spyware But with LimeWire back and Napster lurking in the background as some sort of VR thing these days maybe we can club together to get Kazaa revived so we can once again feel the delight at hearing Corky and the Juice Pigs Eskimo Song even though we d tried to download the Backstreet Boys I Want It That Way 2022-03-09 09:00:40
海外TECH CodeProject Latest Articles GFX Forever: The Complete Guide to GFX for IoT https://www.codeproject.com/Articles/5302085/GFX-Forever-The-Complete-Guide-to-GFX-for-IoT drawing 2022-03-09 09:48:00
海外科学 NYT > Science Endurance, Ernest Shackleton’s Ship, Lost in 1915, Is Found in Antarctica https://www.nytimes.com/2022/03/09/climate/endurance-wreck-found-shackleton.html Endurance Ernest Shackleton s Ship Lost in Is Found in AntarcticaExplorers and researchers battling freezing temperatures have located Endurance Ernest Shackleton s ship that sank in the Antarctic in 2022-03-09 09:50:26
ニュース @日本経済新聞 電子版 韓国新政権に課題山積 不動産高騰、外交再建も急務 https://t.co/rVoOaB3YxL https://twitter.com/nikkei/statuses/1501496683649470472 高騰 2022-03-09 09:54:40
ニュース @日本経済新聞 電子版 トヨタ、賃上げと一時金で満額回答 労使が前倒しで妥結 https://t.co/lTVHExeyFG https://twitter.com/nikkei/statuses/1501496077186334720 満額回答 2022-03-09 09:52:15
ニュース @日本経済新聞 電子版 ウクライナ激戦地に「人道回廊」、なぜ機能不全? https://t.co/eXPoc5n3VH https://twitter.com/nikkei/statuses/1501494936729911296 機能不全 2022-03-09 09:47:44
ニュース @日本経済新聞 電子版 損害保険大手4社が火災保険料を11~13%引き上げ。首都圏の戸建ての一般的な保険料は年4万5千円程度、6千円近い負担増に。建築資材の高騰などで今後も上昇が続くとみられます。 #日経イブニングスクープ https://t.co/qwlKfolUqE https://twitter.com/nikkei/statuses/1501490502629216258 損害保険大手社が火災保険料を引き上げ。 2022-03-09 09:30:06
ニュース @日本経済新聞 電子版 インドネシアのジョコ大統領インタビュー。ロシアのウクライナ侵攻に深い懸念を示す一方、対ロシア制裁網に加わることには否定的。根底には非同盟を軸にする外交方針があります。 https://t.co/vISM69RZnd https://twitter.com/nikkei/statuses/1501486715361505281 インドネシアのジョコ大統領インタビュー。 2022-03-09 09:15:03
ニュース @日本経済新聞 電子版 ホンダ、2年ぶりベア復活へ 月3000円で要求通り回答 https://t.co/8dIgjJuxCx https://twitter.com/nikkei/statuses/1501484595207806976 通り 2022-03-09 09:06:38
ニュース @日本経済新聞 電子版 Mac Studio・BBC・インドと米下院 https://t.co/Nd0JJSbr9Z https://twitter.com/nikkei/statuses/1501483369091448832 macstudio 2022-03-09 09:01:46
ニュース @日本経済新聞 電子版 火災保険料11~13%上げ、災害多発で 2000年以降最大 【日経イブニングスクープ】 https://t.co/aAAkNFxhMk https://twitter.com/nikkei/statuses/1501483366797176832 火災保険 2022-03-09 09:01:45
海外ニュース Japan Times latest articles Japan looks to accept most foreign students waiting to enter by end of May https://www.japantimes.co.jp/news/2022/03/09/national/higher-entry-cap-foreign-students/ Japan looks to accept most foreign students waiting to enter by end of MayIn addition to raising the daily cap on entrants from overseas starting Monday the government has introduced a new program to give priority to foreign 2022-03-09 18:08:43
海外ニュース Japan Times latest articles Russia’s fortified East Asia presence raises concern in wake of Ukraine invasion https://www.japantimes.co.jp/news/2022/03/09/national/russia-asia-presence-ukraine-invasion/ china 2022-03-09 18:29:15
ニュース BBC News - Home Ukraine: First Lady Olena Zelenska condemns Russian 'mass murder' https://www.bbc.co.uk/news/world-europe-60674333?at_medium=RSS&at_campaign=KARANGA children 2022-03-09 09:47:56
ニュース BBC News - Home War in Ukraine: McDonald’s, Coca-Cola and Starbucks halt Russian sales https://www.bbc.co.uk/news/business-60665877?at_medium=RSS&at_campaign=KARANGA ukraine 2022-03-09 09:36:42
ニュース BBC News - Home Ukraine crisis: Is the UK doing enough to help refugees? https://www.bbc.co.uk/news/60555166?at_medium=RSS&at_campaign=KARANGA ukraine 2022-03-09 09:41:20
北海道 北海道新聞 高齢3人殺害、二審も死刑 川崎市老人ホーム転落 https://www.hokkaido-np.co.jp/article/654856/ 有料老人ホーム 2022-03-09 18:18:00
北海道 北海道新聞 東京円、115円台後半 一時1カ月ぶり円安水準 https://www.hokkaido-np.co.jp/article/654853/ 東京外国為替市場 2022-03-09 18:17:00
北海道 北海道新聞 うまみ4倍「雪中熟成鮭」9日発売 札幌の佐藤水産 https://www.hokkaido-np.co.jp/article/654852/ 佐藤水産 2022-03-09 18:16:00
北海道 北海道新聞 自民議連、貸し切りバス支援を 「存亡の機」 https://www.hokkaido-np.co.jp/article/654840/ 新型コロナウイルス 2022-03-09 18:13:00
北海道 北海道新聞 年100トンのプラ削減へ 日本製紙、給食牛乳容器 https://www.hokkaido-np.co.jp/article/654838/ 学校給食 2022-03-09 18:09:00
北海道 北海道新聞 習政権「ゼロコロナ政策」の行方焦点 中国全人代 https://www.hokkaido-np.co.jp/article/654837/ 新型コロナウイルス 2022-03-09 18:02:00
仮想通貨 BITPRESS(ビットプレス) 日本ブロックチェーン協会(JBA)、4/7に「デジタル証券の最前線2022」開催 https://bitpress.jp/count2/3_15_13100 証券 2022-03-09 18:39:26
IT 週刊アスキー 「茶の葉抹茶ラテ」ダイドーのこだわり茶葉シリーズから https://weekly.ascii.jp/elem/000/004/085/4085696/ 宇治抹茶 2022-03-09 18:40:00
IT 週刊アスキー 『DQウォーク』で8つ目の新上級職「まものマスター」が発表!本日より紹介クエストも配信中 https://weekly.ascii.jp/elem/000/004/085/4085688/ youtube 2022-03-09 18:20:00
IT 週刊アスキー 声優の斎賀みつきさん、小清水亜美さんの追加出演が決定!スマホRPG『BD ブリリアントライツ』第1回公式生放送は3月11日21時より配信 https://weekly.ascii.jp/elem/000/004/085/4085678/ 小清水亜美 2022-03-09 18:10:00
IT 週刊アスキー 2D対戦格闘ゲーム『MELTY BLOOD: TL』が世界最大の対戦格闘ゲームトーナメント「EVO 2022」のメイン種目に決定! https://weekly.ascii.jp/elem/000/004/085/4085675/ D対戦格闘ゲーム『MELTYBLOODTL』が世界最大の対戦格闘ゲームトーナメント「EVO」のメイン種目に決定年月日、ProjectLUMINAノーツアニプレックスディライトワークスは、D対戦格闘ゲーム『MELTYBLOODTYPELUMINA』が、世界最大規模の対戦格闘ゲームトーナメント「EvolutionChampionshipSeries」のメイン種目に決定したと発表。 2022-03-09 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件)