投稿時間:2021-12-03 03:42:40 RSSフィード2021-12-03 03:00 分まとめ(54件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
AWS AWS News Blog Announcing General Availability of Construct Hub and AWS Cloud Development Kit Version 2 https://aws.amazon.com/blogs/aws/announcing-general-availability-of-construct-hub-and-aws-cloud-development-kit-version-2/ Announcing General Availability of Construct Hub and AWS Cloud Development Kit Version Today I m happy to announce that both the Construct Hub and AWS Cloud Development Kit AWS CDK version are now generally available GA The AWS CDK is an open source framework that simplifies working with cloud resources using familiar programming languages C TypeScript Java Python and Go in developer preview Within their applications developers create … 2021-12-02 17:48:12
AWS AWS Developer Blog How customer feedback shaped the AWS Cloud Development Kit version 2 https://aws.amazon.com/blogs/developer/how-customer-feedback-shaped-the-aws-cloud-development-kit-version-2/ How customer feedback shaped the AWS Cloud Development Kit version The DevOps movement has blurred the line between runtime code and infrastructure code and it s no surprise that engineers want to write both in the same language This is why we created the AWS Cloud Development Kit CDK which enables you to define your cloud Infrastructure as Code IaC using the familiarity and expressive power … 2021-12-02 17:59:07
AWS AWS Mobile Blog AWS Amplify Studio – Figma to Fullstack React App With Minimal Programming https://aws.amazon.com/blogs/mobile/aws-amplify-studio-figma-to-fullstack-react-app-with-minimal-programming/ AWS Amplify Studio Figma to Fullstack React App With Minimal ProgrammingAWS Amplify announces AWS Amplify Studio a visual development environment that offers frontend developers new features public preview to accelerate UI development with minimal coding while integrating Amplify s powerful backend configuration and management capabilities Amplify Studio automatically translates designs made in Figma to human readable React UI component code Within Amplify Studio developers can visually connect … 2021-12-02 17:27:11
Google Official Google Blog Making healthcare options more accessible on Search https://blog.google/products/search/making-healthcare-options-more-accessible-search/ Making healthcare options more accessible on SearchNavigating the U S healthcare system can be quite challenging so it s no wonder three in four people turn to the internet first in their search for health information By providing timely and authoritative health information plus relevant resources and tools on Google Search we re always exploring ways to help people make more informed choices about their health Here are a few new ways we re helping New ways to find insurance information on GoogleIn the U S finding a doctor who accepts your health insurance is often a top priority When searching for a specific provider people can check which insurance networks that they might accept And if they re searching for a new provider overall on mobile they re now able to filter providers nearby who accept Medicare ーa health plan predominantly for people over the age of How providers can keep patients up to dateTo help people get connected to the care they need we re conducting checks to ensure details of local doctors are up to date and giving all healthcare providers the ability to update their information by claiming and updating their Google Business Profile We continue to expand the features and tools that doctors can use to communicate about the services they offer After claiming their profile health professionals can edit and update information about their hours services and more Whether helping people find information to self assess their symptoms for mental health conditions like depression or getting real time information of COVID vaccine availability nearby we continue to explore ways to connect people around the world to relevant and actionable information to better manage their health 2021-12-02 17:06:00
python Pythonタグが付けられた新着投稿 - Qiita pandas入門 https://qiita.com/seado_/items/0c0918b71d55fa8ef712 できることcsvxlsxなどのデータの読み込み加工データの抽出欠損値の補完etcpandasのインポートライブラリをインポートするための構文として以下の種類があります。 2021-12-03 02:25:45
js JavaScriptタグが付けられた新着投稿 - Qiita 複雑にネストされたMapオブジェクトをJSONに変換 https://qiita.com/bananacoffee/items/1c8d42cf2bdf24fd5ea7 階層化したMapオブジェクトで躓くしかしここで、Mapの値にMapがある場合やオブジェクト配列内に存在するMapという状況が発生するとややこしくなる。 2021-12-03 02:54:27
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) ニューラルネット、分類問題の予測値の出力の改善 https://teratail.com/questions/372037?rss=all ニューラルネット、分類問題の予測値の出力の改善前提・実現したいことpython、ニューラルネット初心者です。 2021-12-03 02:46:12
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) gradleでライブラリを追加できない https://teratail.com/questions/372036?rss=all 2021-12-03 02:42:58
技術ブログ Developers.IO [リポート]How Sony Interactive Entertainment launched PlayStation 5 #reinvent #GAM201 https://dev.classmethod.jp/articles/reinvent-2021-report-gam201/ awsreinvent 2021-12-02 17:55:04
技術ブログ Developers.IO [速報] AWS Local Zones がアメリカ以外の国にも展開されます #reinvent https://dev.classmethod.jp/articles/aws-local-zones-extends-21-countries/ uswestseaa 2021-12-02 17:42:59
技術ブログ Developers.IO 【速報】 EC2 “M1” Mac Instanceが発表されました! #reinvent https://dev.classmethod.jp/articles/amazon-ec2-m1-mac-instance-preview/ ecmacinstance 2021-12-02 17:29:08
海外TECH Ars Technica 2nd US omicron case just traveled to NYC anime convention with 53K attendees https://arstechnica.com/?p=1817462 rules 2021-12-02 17:50:32
海外TECH Ars Technica Moderna plans omicron booster for March as Biden unveils winter COVID plan https://arstechnica.com/?p=1817421 protocols 2021-12-02 17:06:43
海外TECH MakeUseOf 10 Handy iPhone Shortcuts to Automate Everyday Tasks https://www.makeuseof.com/tag/iphone-shortcuts-automate/ repetitive 2021-12-02 17:46:12
海外TECH MakeUseOf How to Add Name Pronunciation to Your LinkedIn Profile https://www.makeuseof.com/how-to-add-name-pronunciation-linkedin-profile/ pronunciation 2021-12-02 17:30:22
海外TECH MakeUseOf Easily Capture Signatures for All Your Vital Documents in DottedSign https://www.makeuseof.com/capture-signatures-documents-dottedsign/ Easily Capture Signatures for All Your Vital Documents in DottedSignNeed to create a digital signature for urgent documents or have someone sign some electronic paperwork DottedSign is the solution you need 2021-12-02 17:30:23
海外TECH MakeUseOf The 11 Best Free Video Editors for Mac https://www.makeuseof.com/tag/top-6-free-video-editors-mac-os/ editing 2021-12-02 17:30:23
海外TECH MakeUseOf Got a Slow Cursor on a Multi-Monitor Windows Setup? Here's How to Fix It With Little Big Mouse https://www.makeuseof.com/little-big-mouse-fix-slow-cursor-multi-monitor/ Got a Slow Cursor on a Multi Monitor Windows Setup Here x s How to Fix It With Little Big MouseUsing multiple monitors with different resolutions can be a nightmare in Windows but Little Big Mouse makes things a lot easier 2021-12-02 17:15:12
海外TECH DEV Community Loops in Javascript https://dev.to/shubhamtiwari909/loops-in-javascript-2g9g Loops in JavascriptHello guys Today i am going to discuss Loops in javascriptWhat is a loop Loops can execute a block of code a number of times until a given condition returns false and the loop breaks Loops are handy if you want to run the same code over and over again each time with a different value Example Suppose we have an array const cars BMW Volvo Saab Ford Fiat Audi We want to print the element of this array So Instead of writing text cars lt br gt text cars lt br gt text cars lt br gt text cars lt br gt text cars lt br gt text cars lt br gt You can write for let i i lt cars length i text cars i lt br gt Output BMWVolvoSaabFordFiatAudiDifferent Kinds of Loops JavaScript supports different kinds of loops for loops through a block of code a number of timesfor in loops through the properties of an objectfor of loops through the values of an iterable objectwhile loops through a block of code while a specified condition is truedo while also loops through a block of code while a specified condition is trueThe For Loop The for loop has the following syntax for initialization condition increment decrement code block to be executed initialization The initial value of the loopcondition To check that the condition is satisfied or not to come out of the loopincrement decrement To increase or decrese the value and get to the next iteration Example for let i i lt i text The number is i lt br gt Output The number is The number is The number is The number is The number is From the example above you can read Statement sets a variable before the loop starts let i Statement defines the condition for the loop to run i must be less than Statement increases a value i each time the code block in the loop has been executed The For In Loop The JavaScript for in statement loops through the properties of an ObjectSyntaxfor key in object code block to be executed Example const person fname John lname Doe age let text for let x in person text person x Output John Doe Example ExplainedThe for in loop iterates over a person objectEach iteration returns a key x The key is used to access the value of the keyThe value of the key is person x The For Of Loop The JavaScript for of statement loops through the values of an iterable object It lets you loop over iterable data structures such as Arrays Strings Maps NodeLists and more Syntaxfor variable of iterable code block to be executed variable For every iteration the value of the next property is assigned to the variable Variable can be declared with const let or var iterable An object that has iterable properties Example const cars BMW Volvo Mini let text for let x of cars text x Output BMWVolvoMiniThe While Loop The while loop loops through a block of code as long as a specified condition is true Syntaxwhile condition code block to be executed ExampleIn the following example the code in the loop will run over and over again as long as a variable i is less than while i lt text The number is i i Output The number is The number is The number is The number is The number is The number is The number is The number is The number is The number is NOTE If you forget to increase the variable used in the condition the loop will never end This will crash your browser Do While Loop The do while loop is a variant of the while loop This loop will execute the code block once before checking if the condition is true then it will repeat the loop as long as the condition is true Syntaxdo code block to be executed while condition ExampleThe example below uses a do while loop The loop will always be executed at least once even if the condition is false because the code block is executed before the condition is tested do text The number is i i while i lt Output The number is The number is The number is The number is The number is The number is The number is The number is The number is The number is Array forEach The forEach method calls a function a callback function once for each array element Example const numbers let txt numbers forEach myFunction function myFunction value index array txt value Output Note that the function takes arguments The item valueThe item indexThe array itselfThe example above uses only the value parameter It can be rewritten to const numbers let txt numbers forEach myFunction function myFunction value txt value THANK YOU FOR READING THIS POST AND IF YOU WANT TO GIVE ANY SUGGESTION OR FIND ANY ERROR PLEASE MENTION IT IN THE COMMENT SECTIONSOURCE 2021-12-02 17:41:26
海外TECH DEV Community A practical, step-by-step guide to using Chrome's DevTools https://dev.to/khsheehan/a-practical-step-by-step-guide-to-using-chromes-devtools-4dam A practical step by step guide to using Chrome x s DevTools IntroductionIn this post we ll aim to cover practical techniques developers can use to debug manipulate and otherwise probe running web applications via Chrome s built in devtools The goal is to articulate the specific steps and shortcuts we would use at Reflect and to favor breadth over depth Readers can follow the guide step by step and try it out themselves at the provided link provided below With that in mind let s imagine the following contrived scenario You are an engineer recently put in charge of leading your organization s webapp development You have relatively little experience with the codebase and the last person who was in charge has since left A support ticket comes in from a frustrated user complaining that a specific page in your app is slow There is no additional context and there have been no deployments for a week Rather than jumping right into your editor and trying to aimlessly solve the problem there let s instead use devtools to begin the investigation Demo amp WalkthroughLet s assume you or your team has already looked at the health of the services APIs that power the app and everything looks good It appears that the issue reported by the user is isolated to the frontend itself The first thing we d like to do is just load the page and see if anything jumps out at us All we know is that the user complained that the app is slow Step Open the link below in a new tab window and confirm it loadsWalkthrough LinkThe page in question has very little going on A single image and some scrollable text Intuitively a few things stand out The first is that when the user says the app is slow they likely mean one of two thingsThe text and image are slow to load You ve already counted this out by inspecting the network and confirming pages load quicklyThe text jitters while being scrolled and leads to a janky experienceYou try scrolling the text and observe that it s smooth Now what We ve taken some time to inspect the page visually and cannot repro the reported experience ourselves Let s open devtools and start poking around under the hood Step Use cmd alt i on mac to open devtools Ensure you are on the Elements panel Note The rest of this article assumes your devtools are docked to the right side of the page and that they are wide enough to position subpanels side by side Let s start by taking a closer look at the image on the page Step Open the console at bottom of devtools by pressing the esc keyWe want to grab the image element and log it to the console We could use document querySelector img to find it but in this case we can instead use the globally defined function This function is built into devtools and will work as a shorthand for document querySelector as long as the underlying application does not overwrite it e g if the app loaded jquery then would be overwritten Step Find the element with img The element is now logged in the console and we want to inspect it in the DOM itself Step Right click the element in the console and select Reveal in Elements panel Notice the tiny inline next to the element in the Elements panel This indicates that the element has been assigned to the global variable Step Confirm this is the case by typing then enter in the console Observe that the element has been logged againWe ll now start investigating this element and look for any red flags Remember that we have nothing to go on beyond the single support ticket Looking at the styles attached to this element nothing in particular stands out Note The styles seem a bit odd given what they actually achieve but we ll ignore this for the sake of the demo After inspecting the styles let s see if there is any javascript based functionality attached to this element Step In the top right of the Elements panel select the Event Listeners tab It may be hidden behind a gt gt button Alright We ve identified that there s an event listener bound to this element that we weren t aware of before In this case it s some functionality bound to the click event Let s try clicking on the image and see what happens Nothing That s odd we expect something to happen when a user clicks based on the click event listener we found in the Event Listeners tab Let s take a closer look at exactly what was supposed to happen Step Expand the click event and observe the link to the listener s source Click it Devtools has now brought us to the Sources panel and specifically to the line in our application that defines the listener Taking a closer look we see that the behavior on click is conditional based on whether or not the user was holding the shift key const onKeyUp e gt if e shiftKey img classList add fun animation Now that we better understand the source we can try it out ourselves We want to verify that the listener is definitely executing when the user holds shift and clicks A good approximation for this would be to just try it out ourselves but we can be more certain if we use the debugger Step Right click on the first line of the conditional in the listener and add a conditional breakpoint of e shiftKeyNow hold shift and click the image You ll observe that execution was paused at our breakpoint and we re definitely going to execute the listener Remove the breakpoint by clicking on the orange line marker and click the Resume execution button in the top right Bad Performance Alert Not only have we figured out a way to trigger the functionality attached to the element but we ve just seen our first big red flag CSS animations are one of many very common performance pitfalls We haven t yet figured out exactly what the problem is but this is a great direction to focus in on Note You ve now spoken to your manager and confirmed it is absolutely essential to the business that this image animates under these conditions and it animates precisely the way it s written Sorry We can t ourselves observe any obvious performance issues but that may be because you re working on a much more powerful machine than the user who reported the slowness We can t assume that the issue does not repro or is not caused by the animation just because we can t experience it firsthand We have tools that allow us to measure performance Step Reload the page with cmd r so we re back in the original state Open the performance panel in the top row of devtools and begin recording for about seconds Then trigger the animation with shift click wait another seconds then finish the recording If the graph is too short to see you can once again close the console by pressing escJackpot The performance panel is telling us that we have a serious problem with layout shift We won t cover this topic in depth in this article just know that Layout is one of the steps in the rendering pipeline and is responsible for computing where every node on the page will ultimately be rendered and at what size Because all nodes in the DOM can affect the position size of all other nodes this process is complicated and we want to keep layout shift to a minimum Our goal now is to identify why precisely these layout shift events are constantly firing and to figure out a way to minimize or remove them entirely while preserving the animation Let s jump into the Layers panel to get a better sense of how the renderer sees the page Step Press cmd shift p to bring up the Command Menu and start typing layers Press enter when Show Layers is highlighted I also suggest checking the Paints checkbox to see the pixels that are being rendered Note The command menu acts as a shortcut to many of the most common actions you d take in devtools It is one of the best optimizations in devtools and can be used to change settings switch panels and more Play with it We re now on the Layers panel If you ve never seen this before don t worry there s not much we need to understand in order to use it in this example The critical piece of information to know is that this is essentially a D model of the way our application is layered from the rendering pipeline s perspective When the browser rasterizes the parts of the page into pixels at the compositing stage these D layers will be rendered onto the D plane of the viewport The Layers panel isn t particularly interesting looking in its current state All we see is a big rectangle that represents our page But this is actually a clue to where the layout shift is coming from When the image is animating changing dimensions it is on the same layer as everything else in the browser This means that any changes to the image must result in the browser recalculating the layout of the entire document constantly You can observe that everything is on a single layer by pressing v to enter rotate mode then clicking and dragging the layers to rotate them in D space You ll see that the image is rendered on the base layer along with the text that does not scroll Based on what we observe on the page there s no reason why the image should not be on its own layer If it were lifted above the rest of the document then any changes to its dimensions will by definition have no layout impact on the rest of the document The image and the document should be modeled as completely distinct entities allowing one to change without impacting the other But hold on The browser is reporting that there s a constant layout shift occurring but we re not certain what specifically is shifting The text on the page doesn t appear to move so it s possible something else Let s try and identify where this layout shift is happening Step Press cmd shift p to bring up the Command Menu and start typing layout shift Press enter when Show layout shift regions is highlightedWe found it There s a region next to the image that is constantly having its layout shifted If you take a look at the DOM in the Elements panel you ll find a single div with nothing but a blank space in it lt div id tracking gt amp nbsp lt div gt Problem solved You could just remove that div and the layout shifts will go away There are two problems with this approach It does not solve for the issue originally discovered in the Layers panel That s the marketing team s tracking lt div gt Yes it s used in a webapp in the middle of a document and yes it s a div for some reason and no you can t move it So our goal is still the same We want to move the lt img gt onto its own layer so that the animation does not cause any layout shift There are a few ways to do this but for the sake of this article we ll use a specific positioning strategy we know will force the element onto its own layer When an element uses fixed positioning it is generally taken out of the normal flow of the document and positioned relative to the viewport itself This forces the element onto its own layer and thus hopefully solves the problem Let s try this out Step Inspect the lt img gt element again in the Elements panel You can use the technique described in Step or use the inspect element button in the top left of devtools then switch to the Styles tab Step Replace the position relative style with position fixed Step Now navigate to the Layers panel and expand the first item in the sidebar Observe there is now an img layer You can further confirm this layer is distinct by rotating the model and observing a separate layer for the image Step Navigate back to the performance tab record for seconds shift click the image wait for more seconds then stop recordingCongratulations The change you made to the positioning strategy forced the element onto its own layer which in turn meant that it has no layout impact on the rest of the document You can observe that the latest performance recording shows no more layout shifts happening ConclusionUsing only devtools we were able to identify the root cause and fix for a performance issue in a codebase with which we were not familiar Keep these tips in mind the next time you re trying to debug an application and keep in mind that devtools the browser itself are extensions of a webapp development environment like being part of an IDE Recapcmd alt i opens devtoolsesc will toggle a drawer containing the Console and other tools across all panels is shorthand for document querySelector assuming the page has not defined itself You can right click elements in the console and reveal them in the Elements panel is a global variable referring to the currently selected element in the Elements panelYou can set conditional breakpoints in the Sources panel by right clicking on a lineThe Layers panel gives you insights into how the renderer sees your application before compositingcmd shift p opens the Command Menu and can be used as a shortcut for most devtools actions CaveatThe example used in this article is contrived for simplicity and the performance issues would be better solved using other techniques like only allowing css transformations on styles that can be accelerated by the GPU The goal is to show the reader devtools techniques with applications in the real world not to espouse the actual code writing skills needed to build a performant application 2021-12-02 17:32:50
海外TECH DEV Community Add flying emoji reactions to a React video chat app https://dev.to/trydaily/add-flying-emoji-reactions-to-a-react-video-chat-app-5hma Add flying emoji reactions to a React video chat appIf a picture is worth a thousand words what does that mean for emoji For decades they ve been used to add color to all sorts of written communications from text messages to entire translations of Moby Dick to ーmost relevant to this blog post ーvideo calls We build developer tools at Daily that enable new ways to communicate online Adding emoji reactions to video chats gives participants a familiar and fun way to express themselves In this tutorial we ll add a set of flying emoji reactions to a custom video call built on the Daily call object To achieve this we will Create a button that sends an emoji of our choice flying on click Send our emoji reaction to all other participants using the Daily sendAppMessage methodRender the emoji for both the local participant who sent it and the remote participants who receive it We will do all of these things in a Next js demo app that we built in a previous post Reference that tutorial for details on the foundation of the app like participant device and track management This post just focuses on the emoji The demo and code snippets are React based but you can still apply the essence of the steps outlined in the tutorial to work with other frameworks To run the demo locally Fork and clone the daily demos examples repository cd examples custom flying emojis Set your DAILY API KEY and DAILY DOMAIN env variables see env example yarn yarn workspace custom flying emojis dev With that our emoji are ready to fly Create a button that sends an emoji flyingThe star icon labeled Emoji in the call tray component Tray js reveals available emoji reactions and allows participants to pick one to send Here s that component s structure with tangential elements removed Tray js lt div gt showEmojis amp amp lt div className emojis gt lt Button onClick gt sendEmoji fire gt lt Button gt lt Button onClick gt sendEmoji squid gt lt Button gt lt Button onClick gt sendEmoji laugh gt lt Button gt lt div gt lt TrayButton label Emoji onClick gt setShowEmojis showEmojis gt lt IconStar gt lt TrayButton gt lt div gt When the star icon is clicked it displays the available emoji When a participant selects an emoji the component calls sendEmoji and passes a string representing the selection For example after clicking on onClick gt sendEmoji squid is called Let s look at sendEmoji Tray js function sendEmoji emoji window dispatchEvent new CustomEvent reaction added detail emoji setShowEmojis false sendEmoji triggers a CustomEvent that we named reaction added The string representing the emoji is reaction added s CustomEvent detail We ll listen for the reaction added event in FlyingEmojisOverlay js via window addEventListener reaction added handleSendFlyingEmoji Use sendAppMessage to broadcast the emoji to other call participantshandleSendFlyingEmoji gets the string representing the emoji from CustomEvent detail and broadcasts it to all other call participants using the Daily sendAppMessage method FlyingEmojiOverlay jsfunction handleSendFlyingEmoji e const emoji e detail if emoji callObject sendAppMessage message emoji handleDisplayFlyingEmoji emoji sendAppMessage emits a corresponding app message event that all remote participants receive The lt FlyingEmojiOverlay gt component listens for the event and calls handleReceiveFlyingEmoji when a message is received callObject on app message handleReceiveFlyingEmoji FlyingEmojisOverlay js const handleReceiveFlyingEmoji useCallback e gt if overlayRef current return handleDisplayFlyingEmoji e data message handleDisplayFlyingEmoji handleReceiveFlyingEmoji passes the message data from e data message along to handleDisplayFlyingEmoji Render the emoji for both the local sender and the remote recipienthandleDisplayFlyingEmoji is called both on sending in handleSendFlyingEmoji and upon receiving in handleReceiveFlyingEmoji That s because app message only fires for remote participants but we want the local participant to see their own emoji reaction as well The handleDisplayFlyingEmoji function takes a string as a parameter handleSendFlyingEmoji passes the display handler a string from the CustomEvent detail from the window event while handleReceiveFlyingEmoji passes a string from the app message event object e data message Now that we know how and when handleDisplayFlyingEmoji is executed let s have a look at its definition FlyingEmojisOverlay js const handleDisplayFlyingEmoji useCallback emoji gt if overlayRef current return const node document createElement div node appendChild document createTextNode EMOJI MAP emoji node className Math random gt emoji wiggle emoji wiggle node style transform rotate Math random deg node style left Math random node src overlayRef current appendChild node node addEventListener animationend e gt handleRemoveFlyingEmoji e target handleRemoveFlyingEmoji Let s break it all down First it creates a new lt div gt and appends the selected emoji in a text node to that div FlyingEmojiOverlay js const node document createElement div node appendChild document createTextNode EMOJI MAP emoji It gets the emoji by referencing a CONSTANT EMOJI MAP object whose keys map to emoji FlyingEmojisOverlay js const EMOJI MAP fire squid laugh Once the emoji is added the function applies styles Math random sets the className to either emoji wiggle or emoji wiggle FlyingEmojisOverlay js keyframes wiggle from margin left px to margin left px keyframes wiggle from margin left px to margin left px These classes determine where the emoji starts wiggling on the screen Math random also determines the degree to which the emoji rotates and its left position FlyingEmojiOverlay js node className Math random gt emoji wiggle emoji wiggle node style transform rotate Math random deg node style left Math random With styling set the emoji is ready to be added to overlayRef FlyingEmojisOverlay jsoverlayRef current appendChild node Finally handleDisplayFlyingEmoji listens for the emoji animation to end node addEventListener animationend e gt handleRemoveFlyingEmoji e target and then removes the appended child const handleRemoveFlyingEmoji useCallback node gt if overlayRef current return overlayRef current removeChild node What s next We hope this tutorial has helped you add personality to your video calls To build on this demo you could customize the animations maybe make the emoji grow and shrink in size generate random emoji or add reactions to a webinar app The world is your oyster 2021-12-02 17:26:38
海外TECH DEV Community Want to buy or sell a startup? https://dev.to/bryanellis95/want-to-buy-or-sell-a-startup-2jap Want to buy or sell a startup We just launched seedacquire com a few days ago to help founders and people who want to own their own company do just that With SeedAcquire you can buy or sell a startup web app or app The best part you can join for free We have many features including listings private public request and chat founders forum and so much more Check it out at website or our appWe cant wait to see what you will do 2021-12-02 17:26:34
海外TECH DEV Community What is the best way to implement a WYSIWYG editor? https://dev.to/lumenwrites/what-is-the-best-way-to-implement-a-wysiwyg-editor-19f9 What is the best way to implement a WYSIWYG editor Hi I m building a react app that needs a very powerful and customizable WYSIWYG editor I will start by implementing things that Ghost Medium Typora and Gitbook editor can do and then maybe need to add other powerful features including collaboration My project is in early prototype stage so I don t even know what kind of features I may need to build in the future What are my best options which libraries should I consider Did anyone experiment with Slate js ProseMirror Tiptap other libraries I may not be aware of Which ones are the most flexible powerful and future proof enough to build a long term project around Also a side question how hard is it to implement google docs like pagination in a WYSIWYG web text editor I ve asked on Slate js chat and apparently it s very hard although I don t quite understand the reasons and details Any tips on tackling that 2021-12-02 17:19:18
海外TECH DEV Community 1 line of code: How to create a range array https://dev.to/martinkr/1-line-of-code-how-to-create-a-range-array-3i3k line of code How to create a range arrayconst createRange from to gt Array from length to from i gt from i Returns a new array with numeric items in the given range The repository amp npm packageYou can find the all the utility functions from this series at github com martinkr onelinecodeThe library is also published to npm as onelinecode for your convenience The code and the npm package will be updated every time I publish a new article Follow me on Twitter martinkr and consider to buy me a coffeePhoto by zoo monkey on Unsplash 2021-12-02 17:13:24
海外TECH DEV Community Debugging Multer and other middle-wares https://dev.to/bacloud14/debugging-multer-and-other-middle-wares-3d2 Debugging Multer and other middle waresI ve been sipping coffee rolling cigarettes and pulling my hair since the day before yesterday I have trouble setting what I thought a useful dynamic middle ware for later implementations Post request with so much constraints now and surely in future The issue is with Multer or connect sequence see later If you know Multer is a Node js middleware for handling including parsing multipart form data What I expect could differ though and this is why I m setting this super intelligent middle ware I found how to chain middle wares on runtime which is not a very usual task but possible and very useful for my case connect sequenceThe solution dates a bit as you can see Anyway here is a slice of my middle ware code that constructs and runs other middle wares in return async function magicMiddleware req res next const contentType req get content type const form formidable if contentType indexOf multipart form data gt await form parse req function err fields files if err console log String err return magicMiddleware fields else magicMiddleware req const section req params const method req method const magicMiddleware body gt const secured upload geolocation illustrations schema constraints process env NODE ENV method section singletonSchema schema Third party middlewares var seq new ConnectSequence req res next debugger const validating celebrate Segments BODY singletonSchema if upload console log attaching multer seq append ops multer if singletonSchema called seq append validating seq append errors if secured console log attaching multer seq append ops auth seq run console log req body It is to know that third party middle wares could mismatch One adds something to req and one remove the same thing for instance I run debugger and couldn t find out but I think multer specifically is not running well It is running but not well req body is not undefined and not anything else I put multer at first in the sequence to be able to parse multipart form data data I m testing right now then there is celebrate Joi based validation middle ware Then there is auth too for passwordless authentication Of course there are multiple application middle ware attached when the app starts But none is susceptible of causing harm as if I push multer celebrate and auth as middle wares directly as usual all works fine So data is parsed req body is there with the uploaded file and input text fields I m pulling my hair really As I don t want to cancel all this and start from zero pushing middle wares directly on multiple post requests with different constraints like one runs without authentication the other expects text plain all combinations might behave differently on different environments like no upload when testing with Postman If you have a hint I will follow up with test If you want to jump on code here is the file and here is the repo Note there is a bug in connect sequence It is expecting err passed through next err to be different that undefined But Multer appears to push null when there is no error So there is this I modified code accordingly From this if err undefined To this if err Final note I want to believe in in connect sequence as I couldn t find my way adding middle wares at runtime I went through code not debugging and all seems well to my eyes Thanks a lot 2021-12-02 17:11:43
海外TECH DEV Community Developer Portfolio with React.js https://dev.to/ahamedashik01/developer-portfolio-with-reactjs-2la4 Developer Portfolio with React jsI build my developer portfolio using react js and I would like to have it reviewed by our awesome community I have tried to keep the UI design minimalistic and modern and I m loving it Any feedback suggestions or comments are welcome If you like the website please leave a mail from the contact page I promise it won t take long Thank You Website Link 2021-12-02 17:01:38
Apple AppleInsider - Frontpage News TSMC has begun testing 3nm chips, volume production in Q4 2022 https://appleinsider.com/articles/21/12/02/tsmc-has-begun-testing-3nm-chips-volume-production-in-q4-2022?utm_medium=rss TSMC has begun testing nm chips volume production in Q A new report says that iPhone processor manufacturer TSMC has begun pilot production of nanometer chips and expects to be producing them in volume at the end of Having already been finalizing a nanometer processor manufacturing process TSMC is now said to have moved beyond its initial risk production According to Digitimes unspecified industry sources have backed up previous reports that the company is on track for nm production Read more 2021-12-02 17:31:24
Apple AppleInsider - Frontpage News Amazon AWS adds M1 Mac mini to its cloud service https://appleinsider.com/articles/21/12/02/amazon-aws-adds-m1-mac-mini-to-its-cloud-service?utm_medium=rss Amazon AWS adds M Mac mini to its cloud serviceUsers of Amazon s AWS cloud service will now be able to use M Apple Silicon Mac mini devices in selected areas Apple s M Mac miniFollowing its introduction of Intel Mac mini devices to its cloud baed service in December Amazon is now making M Apple Silicon ones available too Read more 2021-12-02 17:09:32
Apple AppleInsider - Frontpage News Apple continues to make it clear that it will collect its share of iOS app purchases https://appleinsider.com/articles/21/12/02/apple-continues-to-make-it-clear-that-it-will-collect-its-share-of-ios-app-purchases?utm_medium=rss Apple continues to make it clear that it will collect its share of iOS app purchasesIf Epic being forced to cough up App Store fees after the trial and Tim Cook saying multiple times that Apple would find a way to charge developers for iOS and iPadOS app purchases made outside the App Store weren t enough a new court filing by the company further nails home the point Apple reiterates that it s going to collect its commission one way or another Apple on Tuesday filed a reply brief with the U S District Court for the Northern District of California supporting a motion to stay an injunction that would force it to allow developers to add alternate payment links or buttons within apps Read more 2021-12-02 17:03:06
Apple AppleInsider - Frontpage News Best deals Dec. 2: $75 MagSafe Battery Pack, up to $100 off 4K monitors, more! https://appleinsider.com/articles/21/12/02/best-deals-dec-2-75-magsafe-battery-pack-up-to-100-off-4k-monitors-more?utm_medium=rss Best deals Dec MagSafe Battery Pack up to off K monitors more Thursday s best deals include heavily discounted Intel based MacBooks true wireless earbuds off a Blue Yeti microphone and off a K projector Best deals for December The internet has a plethora of deals each day but many deals aren t worth pursuing In an effort to help you sift through the chaos we ve hand curated some of the best deals we could find on Apple products tech accessories and other items for the AppleInsider audience Read more 2021-12-02 17:38:54
海外TECH Engadget Google Search has new features to help you find a doctor https://www.engadget.com/google-search-175919995.html?src=rss Google Search has new features to help you find a doctorGoogle is adding new tools to Search to make it easier to navigate the US healthcare system To start you ll find a new filter on mobile that allows you to find providers that accept Medicare Additionally Google has added a directory option that allows clinics to list the languages the staff at their office speak With today s launch there s support for languages including Spanish and ASL Lastly the company now allows healthcare providers to update their Google Business Profile They can do so by claiming their listing which should help them ensure important information about their hours and services are accurate All of those may seem like small additions but they re ones that should help make healthcare more accessible for more people If you re someone who depends on your Medicare there s nothing more frustrating than showing up at a doctor s office or clinic only to find out they don t accept your plan Similarly a language barrier can often make a significant difference in healthcare outcomes nbsp nbsp 2021-12-02 17:59:19
海外TECH Engadget Adidas's first foray into the metaverse will likely include NFTs https://www.engadget.com/adidas-metaverse-nft-teaser-173817023.html?src=rss Adidas x s first foray into the metaverse will likely include NFTsNike isn t the only sportswear brand dabbling in metaverses Adidas has teased a metaverse where people in quot overlooked locations with updated values quot can share their quot most original ideas quot and otherwise let their individualism shine The company is cryptic about what this will involve but NFTs might play a prominent role Adidas has joined the Bored Ape Yacht Club a collection of Bored Ape NFTs on the Ethereum blockchain with its own entry the quot rebellious optimist quot ape Indigo Herz shown above This is a quot sign of what s to come quot the brand said noting that NFTs would give metaverse users a chance to own a slice of what they made The company is encouraging users to grab its Confirmed app to quot discover more quot and is taking email signups as well A move like this isn t surprising It gives Adidas a chance to seize on two tech trends at once and ride the ensuing publicity of course However it could also help the label expand its fashion and art ambitions to the digital realm You might see other brands follow suit at least if the metaverses from Adidas and Nike prove relatively successful 2021-12-02 17:38:17
海外TECH Engadget The most-used emoji in 2021 are mostly unchanged from 2019 https://www.engadget.com/emoji-most-used-2021-tears-of-joy-heart-positivity-170152525.html?src=rss The most used emoji in are mostly unchanged from The last couple of years haven t exactly been great for most people but if the planet s most used emoji are anything to judge by at least we re still in fairly good spirits The Unicode Consortium says the top most used emoji are mostly unchanged from the group didn t release a list last year The Tears of Joy emoji reigned supreme again It accounted for five percent of all emoji use even though many Gen Z ers find it deeply uncool It was also the top emoji in and the most tweeted one last year The Unicode Consortium said the only emoji that gets close to the popularity of Tears of Joy is the Red Heart ️ The rest of this year s top most used emoji which mostly have positive vibes are Rolling on the Floor Laughing Thumbs Up Sign Loudly Crying Face Folded Hands aka the prayer emoji Face Blowing a Kiss Smiling Face With Three Hearts Smiling Face with Heart Shaped Eyes Smiling Face with Smiling EyesIt seems most of us aren t super creative in our emoji use The top account for around percent of total emoji shares even though there are more than to choose from not to mention the mashups on Gboard Smiling faces and hand based emoji are generally very popular as are the plant flower and emotion i e hearts categories The least popular emoji category is flags Country flags are used the least even though there are more emoji in that category than any other and the Summer Olympic Games one of the biggest demonstrations of national pride took place this year Given that we ve been enduring a pandemic for almost two years it s not too surprising that there s been a rise in the use of health related emoji Even so only Hot Face and Woozy face made it into the top this year ー Microbe squeaked into the top After all instead of using a specific emoji depicting sickness many people are likely to just say they re feeling like It s heartening to know that despite the turmoil the humanity has endured lately our emoji use trends toward happiness love and positivity It s far better to be a than a 2021-12-02 17:01:52
海外TECH WIRED Facebook Will Force More At-Risk Accounts to Use Two-Factor https://www.wired.com/story/facebook-protect-two-factor-authentication-requirement users 2021-12-02 17:10:54
金融 RSS FILE - 日本証券業協会 『はじめてわかった、はじめての投資!』について https://www.jsda.or.jp/about/gyouji/hajiwaka.html 投資 2021-12-02 17:11:00
ニュース BBC News - Home Arthur Labinjo-Hughes: Dad and partner guilty of killing six-year-old https://www.bbc.co.uk/news/uk-england-birmingham-59489765?at_medium=RSS&at_campaign=KARANGA injury 2021-12-02 17:46:25
ニュース BBC News - Home Covid: South Africa new cases double in 24 hours as Omicron spreads https://www.bbc.co.uk/news/world-africa-59503517?at_medium=RSS&at_campaign=KARANGA medical 2021-12-02 17:42:33
ニュース BBC News - Home Covid-19: Germany puts strict curbs on unvaccinated and families criticise 'sickening' No 10 party https://www.bbc.co.uk/news/uk-59498880?at_medium=RSS&at_campaign=KARANGA coronavirus 2021-12-02 17:11:58
ニュース BBC News - Home Russia Ukraine: Lavrov warns of return to military confrontation nightmare https://www.bbc.co.uk/news/world-europe-59503762?at_medium=RSS&at_campaign=KARANGA confrontation 2021-12-02 17:08:55
ニュース BBC News - Home Storm Arwen: Thousands still without power six days after storm https://www.bbc.co.uk/news/uk-59506359?at_medium=RSS&at_campaign=KARANGA boris 2021-12-02 17:43:04
ニュース BBC News - Home Will Meghan's big win change public opinion? https://www.bbc.co.uk/news/uk-59503922?at_medium=RSS&at_campaign=KARANGA court 2021-12-02 17:23:19
ニュース BBC News - Home Second female jockey says she was verbally abused by Dunne https://www.bbc.co.uk/sport/horse-racing/59488658?at_medium=RSS&at_campaign=KARANGA dunne 2021-12-02 17:44:50
ニュース BBC News - Home Tylicki fall 'avoidable', racing pundit McGrath tells High Court https://www.bbc.co.uk/sport/horse-racing/59505154?at_medium=RSS&at_campaign=KARANGA Tylicki fall x avoidable x racing pundit McGrath tells High CourtThe fall that led to Freddy Tylicki being paralysed could easily have been avoided racing pundit Jim McGrath tells the High Court 2021-12-02 17:39:09
ニュース BBC News - Home Covid-19 in the UK: How many coronavirus cases are there in my area? https://www.bbc.co.uk/news/uk-51768274?at_medium=RSS&at_campaign=KARANGA cases 2021-12-02 17:14:41
ビジネス ダイヤモンド・オンライン - 新着記事 価値ある仕事は「上位目標」から生まれる - 13歳からのアート思考 https://diamond.jp/articles/-/289301 価値ある仕事は「上位目標」から生まれる歳からのアート思考「“正解からはみだそう“表現するよろこびをはぐくむために。 2021-12-03 02:50:00
ビジネス ダイヤモンド・オンライン - 新着記事 「やりたくないが、やらねばならないこと」で満ちた人生を変える「A4用紙」の使い方 - チームが自然に生まれ変わる https://diamond.jp/articles/-/288252 2021-12-03 02:45:00
ビジネス ダイヤモンド・オンライン - 新着記事 精神科医が教える「そこそこ幸せに生きるコツ」とは? - 精神科医Tomy対談 https://diamond.jp/articles/-/287414 必然に導かれるようにして実現した今回の対談では、「幸せとは何か」「父親の死を経験して思ったこと」「精神科との付き合い方」「発達障害とは」など、多岐にわたり語りあった。 2021-12-03 02:40:00
ビジネス ダイヤモンド・オンライン - 新着記事 他人ではなく「自分から」一日をはじめる - 孤独からはじめよう https://diamond.jp/articles/-/288637 自分 2021-12-03 02:35:00
ビジネス ダイヤモンド・オンライン - 新着記事 冨永愛が「週二回のベジタリアンデー」でメインにするもの - 冨永愛 美をつくる食事 https://diamond.jp/articles/-/288809 冨永愛が「週二回のベジタリアンデー」でメインにするもの冨永愛美をつくる食事年以上トップモデルとして活躍する冨永愛。 2021-12-03 02:30:00
ビジネス ダイヤモンド・オンライン - 新着記事 高収入ではないのに、しっかり資産形成している人の共通点 - サイコロジー・オブ・マネー https://diamond.jp/articles/-/288352 高収入 2021-12-03 02:25:00
ビジネス ダイヤモンド・オンライン - 新着記事 森岡毅流「自分の強みを見つける」方法とは? - 苦しかったときの話をしようか https://diamond.jp/articles/-/288757 2021-12-03 02:20:00
ビジネス ダイヤモンド・オンライン - 新着記事 超ロングセラー手帳の著者が贈る、「幸運を呼び込む」ためのメッセージ - エディターズ・チョイス https://diamond.jp/articles/-/288919 人間関係 2021-12-03 02:15:00
ビジネス ダイヤモンド・オンライン - 新着記事 精神科医が教える「周りに流されないための考え方」ベスト3 - ストレスフリー超大全 https://diamond.jp/articles/-/289065 樺沢紫苑 2021-12-03 02:10:00
ビジネス ダイヤモンド・オンライン - 新着記事 プレーヤーとして優秀でも、 マネジャーとして評価されない人の共通項 - グロービスMBAミドルマネジメント https://diamond.jp/articles/-/289162 2021-12-03 02: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件)