投稿時間:2023-02-28 07:15:23 RSSフィード2023-02-28 07:00 分まとめ(18件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT ビジネス+IT 最新ニュース 急回復するインバウンド、爆買いされる「あの商品」 3年分リベンジ消費で活況見せる観光業の今 https://www.sbbit.jp/article/cont1/107387?ref=rss 急回復するインバウンド、爆買いされる「あの商品」年分リベンジ消費で活況見せる観光業の今街に訪日外国人インバウンドが戻ってきた。 2023-02-28 06:10:00
Google カグア!Google Analytics 活用塾:事例や使い方 サイト改善、ページのノベライズで離脱率を20%改善しました https://www.kagua.biz/growthhack/tactics/pagenovelyze.html 離脱 2023-02-27 21:00:26
AWS AWS Partner Network (APN) Blog How Metal Toad Uses Machine Learning to Keep a Top Comic Site Safe for San Diego Comic-Con https://aws.amazon.com/blogs/apn/how-metal-toad-uses-machine-learning-to-keep-a-top-comic-site-safe-for-san-diego-comic-con/ How Metal Toad Uses Machine Learning to Keep a Top Comic Site Safe for San Diego Comic ConMetal Toad has been working with major entertainment brands for decades including keeping some of the highest profile media sites live under unique traffic conditions Keeping these sites up and running is one of Metal Toad s superpowers but the AWS Digital Customer Experience Competency Partner couldn t do it without the tools provided by AWS Explore some of the strategies Metal Toad deployed to protect a customer s site during an event where failure was not an option 2023-02-27 21:23:10
AWS AWS Startups Blog Building Black entrepreneurship with the support of AWS employees https://aws.amazon.com/blogs/startups/building-black-entrepreneurship-with-the-support-of-aws-employees/ Building Black entrepreneurship with the support of AWS employeesTo celebrate the voices of Black employees at AWS and amplify their work s impact we are honored to share the stories of eight AWS employees working to advance Black entrepreneurs in ways that strengthen Black businesses and support economic growth in historically underserved Black communities 2023-02-27 21:06:34
海外TECH Ars Technica You can now search comments within a Reddit post—even on desktop https://arstechnica.com/?p=1920370 reddit 2023-02-27 21:18:42
海外TECH Ars Technica Twitter Payments chief is out as layoffs cut 10% of Twitter staff, report says https://arstechnica.com/?p=1920369 payments 2023-02-27 21:12:54
海外TECH Ars Technica First Kindle Scribe software update begins closing the feature gap https://arstechnica.com/?p=1920236 updates 2023-02-27 21:00:35
海外TECH MakeUseOf How to Kickstart Your Career in Building Indie Games https://www.makeuseof.com/start-career-build-indie-games/ building 2023-02-27 21:30:17
海外TECH DEV Community The Coolest JavaScript Features from the Last 5 Years https://dev.to/ppiippaa/some-cool-javascript-features-from-the-last-5-years-4alp The Coolest JavaScript Features from the Last YearsAccording to Erik Qualman language is always evolving Although he was referring to natural language the same applies to programming languages too JavaScript has changed a lot since it s conception in and since then many new features have been added This article discusses some super useful and possibly less well known features added to JavaScript in the last years It in by no means an exhaustive list and major revisions such as features surrounding classes will be discussed in a separate article A quick note on ECMAScriptECMA European Computer Manufacturers Association is an organisation tasked with providing specifications and standards for programming languages hardware and communications ECMAScript is a part of this organisation which focuses specifically on scripting languages In other words it provides a “blueprint for how a scripting language such as JavaScript should behave JavaScript implements these specifications and as ECMAScript evolves so too does JavaScript In order for a new feature to be implemented there is a step process presided over by the TC committee Now with all that out of the way let s dive into the features String padStart and String padEnd These string methods are a quick and easy way to attach strings onto other strings As the names suggest String padStart adds a new string onto the start of a given string and String padEnd appends a string onto the end of a given string These methods do not mutate the original string String padStart desiredStringLength stringToAdd desiredStringLength How long you want the new string length to be as a number stringToAdd this is the string you want to add to the beginning of the original string Let s take a look at an example let originalString Script let paddedString originalString padStart Java console log paddedString OUTPUT gt JavaScript What happens if the desiredStringLength argument is shorter than the length of the original string the stringToAdd In this case the stringToAdd is truncated before it s added to the original string let originalString Script let paddedString originalString padStart Java console log paddedString OUTPUT gt JScript truncates the stringToAdd from Java to J What about it the desiredStringLength argument is longer than the length of the original string stringToAdd This can lead to some weird looking results The stringToAdd argument will be repeated until it is equal to the desiredStringLength argument let originalString Script let paddedString originalString padStart Java console log paddedString OUTPUT gt JavaJavaJScript And if no stringToAdd argument is provided Empty spaces will be added to the front of the original string until the string length is equal to desiredStringLength let originalString Script let paddedString originalString padStart console log paddedString OUTPUT gt Script And finally what about it no desiredStringLength argument is provided A copy of the original string is returned unchanged let originalString Script let paddedString originalString padStart Java console log paddedString OUTPUT gt Script String padEnd desiredStringLength stringToAppend This string method works in the same way as String padStart but appends a string to the end of a given string let originalString Web let paddedString originalString padEnd Dev console log paddedString OUTPUT gt WebDevThe same rules apply regarding argument usage desiredStringLength lt original string stringToAppend The stringToAppend appended to the end of the original string will be truncated desiredStringLength gt original string stringToAppend The stringToAppend appended to the end of the original string will be repeated until the desiredStringLength is reached No stringToAppend argument passed Empty spaces will be appended to the original string until the desiredStringLength is reached No desiredStringLength argument passed A copy of the original string is returned unchanged String replaceAll pattern replacement You may have come across String replace before which takes a pattern argument and a replacement argument and replaces the first instance of the matching pattern in a string The pattern argument can be a string literal or a RegEx String replaceAll takes it one step further and as the name suggests allows us to replace all instances of a specified pattern with a replacement string rather than just the first instance Using String replace const aString My name is Pippa Pippa is my name const replaceString aString replace Pippa Philippa console log replaceString OUTPUT gt My name is Philippa Pippa is my name only the first instance of Pippa is replaced with Philippa Using String replaceAll with regexconst regex Pippa ig const anotherString My name is Pippa Pippa is my name const replaceAllString anotherString replaceAll regex Philippa console log replaceAllString OUTPUT gt My name is Philippa Philippa is my name both instances of Pippa and replaced by Philippa Object entries Object keys Object values and Object fromEntries This set of methods are useful for transforming certain data structures Let s go through them starting with Object entries originalObject This object method takes an object and returns a new dimensional array with each nested array containing the original object s key and value as elements Let me show you what I mean const fruitObject banana yellow strawberry red tangerine orange const fruitArray Object entries fruitObject console log fruitArray OUTPUT gt banana yellow strawberry red tangerine orange This can be a super helpful method to use when transforming data Another use case would be to access a specific key value pair in an object const fruitObject banana yellow strawberry red tangerine orange const firstFruit Object entries fruitObject console log firstFruit OUTPUT gt banana yellow In case you hadn t heard a lot of things in JavaScript are objects So we can even pass arrays and strings as arguments into the Object entries method which will coerce them into objects Let s see what happens when we pass a string as an argument const string Hello const stringAsArgument Object entries string console log stringAsArgument OUTPUT gt H e l l o Each character in the string is inserted into a separate array and its index is set as the first element of the array This behaviour also happens when you pass an array as an argument const array const formattedArray Object entries array console log formattedArray OUTPUT gt Note that for both of these cases the first element the index is a string Object keys anObject This object method accepts an object as an argument and returns an array containing the object s keys as elements const programmingLangs JavaScript Brendan Eich C Dennis Ritchie Python Guido van Rossum const langs Object keys programmingLangs console log langs OUTPUT gt JavaScript C Python What about if we try and pass a string as the argument Let s take a look const string Hallo const stringArray Object keys string console log stringArray OUTPUT gt In this case the string is also coerced into an object Each letter represents the value and its index represents the key so we are left with an array containing the indices of each letter in the string Object values anObject As you might expect the Object values method works similarly to the method we just discussed but instead of returning out an object s keys in an array it returns out an object s values in an array Let s use the programmingLangs example we saw previously const programmingLangs JavaScript Brendan Eich C Dennis Ritchie Python Guido van Rossum const creators Object values programmingLangs console log creators OUTPUT gt Brendan Eich Dennis Ritchie Guido van Rossum As we saw in the previous case of Object entries and Object keys we can pass in other data types such as a string const string Bonjour const stringArray Object values string console log stringArray OUTPUT gt B o n j o u r Object fromEntries anIterable Another super useful method for transforming data You remember the Object entries method we saw earlier that turns an object into a dimensional array Well Object fromEntries essentially does the opposite It accepts an iterable as an argument such as an array or a map and returns an object Let s take a look const arrayTranslations french bonjour spanish buenos dias czech dobry den const objectTranslations Object fromEntries arrayTranslations console log objectTranslations OUTPUT gt object Object czech dobry den french bonjour spanish buenos dias So our iterable in this case the nested array stored as translations is iterated through and each subarray transformed into an object with element at index as the key and element at index as the value Handy Array flat optionalDepthArgument Useful when it comes to dealing with multi dimensional arrays the array method flat takes a given array and returns a flat array dimensional by default or an array of a specified depth when the optionalDepthArgument is provided When no optionalDepthArgument is provided the default depth is const numArray const flatArray numArray flat console log flatArray OUTPUT gt The following is an example where an optionalDepthArgument has been passed into the method const numArray const depthOfArray numArray flat console log depthOfArray OUTPUT gt In the above snippet we specified an optionalDepthArgument of so our new array depthOfArray is array with levels If you have a heavily nested array and want to return a one dimensional array but you aren t sure of the depth of the array you can pass in the argument Infinity like so const nestedArray const oneDimensionalArray nestedArray flat Infinity console log oneDimensionalArray OUTPUT gt Object Spread Operator You may have seen the spread syntax … in JavaScript before however up until recently we could only use it with arrays It s a great method for cloning and merging arrays As of ES we can now harness this power to use with objects The use cases of the object spread operator are the same as with the array spread operator cloning and merging Let s first take a look at how we d use this operator to clone an object and add extra key value pairs const bookAndAuthor Gabriel Garcia Marquez Years of Solitude const moreBooksAndAuthors bookAndAuthor Paolo Coelho The Alchemist console log moreBooksAndAuthors OUTPUT gt object Object Gabriel Garcia Marquez Years of Solitude Paolo Coelho The Alchemist Here we ve been able to very easily clone the original object and add more properties Importantly using the object spread operator to copy an object with no nested data will create a new object in memory This means that we can clone an object change or add properties to the newly created object but the original object will not be mutated However if we clone an object that contains nested data the clone will be stored in a new place in memory but the nested data will be passed by reference This means that if we were to make changes to any nested data in one object the same nested data in the second object would also change Now let s see what happens when we use the object spread operator to merge objects const book Milan Kundera The Unbearable Lightness of Being const book Bohumil Hrabal I Served the King of England const books book book console log books OUTPUT gt object Object Bohumil Hrabal I Served the King of England Milan Kundera The Unbearable Lightness of Being Here we have merged two object to create a new object How easy was that Promise finally and Promise allSettled Promise finally callbackFunction Promises in JavaScript are nothing new and have been around since ES but the Promise finally method is a newer addition to the async JavaScript toolbox This method takes a callback function which is executed once the promise is settled i e resolved or rejected It is a good place to run code that relates to any clean up tasks const promise new Promise resolve reject gt let num Math floor Math random if num gt resolve promise resolved else reject promise rejected promise then value gt console log value catch error gt console log error finally gt console log promise has been settled OUTPUT gt promise resolved promise rejected depending on value of num promise has been settled Regardless of whether the promise is resolved or rejected the callback function in the Promise finally method will always be executed Promise allSettled promises An ES addition to JavaScript the Promise allSettled method accepts an array of promises and returns a new promise which only resolves once all promises in the array have been settled resolved or rejected Once resolved the return value will be an array of objects with each object describing the outcomes of the promises passed in the array const promise new Promise resolve reject gt resolve I have been resolved const promise new Promise resolve reject gt reject I have been rejected Promise allSettled promise promise then result gt console log result OUTPUT gt object Object status fulfilled value I have been resolved object Object reason I have been rejected status rejected In this example on line we declare Promise allSettled and we pass this method an array containing promise and promise On line we chain a then method to Promise allSettled which instructs JavaScript to print out the resolved value of Promise allSettled The output shows an array of objects has been returned Each object represents the outcome of the promises passed as arguments to Promise resolve in our case promise and promise These objects have properties status which evaluates to either fulfilled or rejected and value which evaluates to either rejected if the promise has been rejected or the resolved value if the promise has been resolved BigIntThis handy data type is used to store integer values in a variable which are too large to be stored as a Number data type You may or may not know that the JavaScript Number data type has limits on the size of integers it can store the safe range is from up to   so digits The introduction of this data type which has a typeof value of “bigint allows us to work more easily with integers outside this range A few notes about using BigInt Arithmetic operators which work with the Number data type in JavaScript can also be used with BigInt such as etc BigInt cannot be used with decimals You cannot perform arithmetic operations between a BigInt data type and a Number data type There are ways to declare a variable as a BigInt data type using BigInt number or appending n to a number let hugeNumber BigInt let anotherHugeNumber n console log typeof hugeNumber console log typeof anotherHugeNumber OUTPUT gt bigint bigint Nullish Coalescing Operator and Optional ChainingArguably my most used features from this list Nullish Coalescing This logical operator takes two operands If the left hand side operand is null or undefined it will return the right hand side operand On the flip side if the left hand side operand is not null or undefined it will return the left hand side operand It s similar to the logical Or operator except the operator returns the right hand side based on whether the left hand side is a falsy value as opposed to just null or undefined There will be some behavioural overlap between and as falsy values in JavaScript include null and undefined but also “ empty string Nan and of course false Let s see this in action const usingOr undefined Return me because undefined is a falsy value const usingOrAgain Return me because I am NOT falsy I will not be returned const usingNullishCoalescing undefined Return me const usingNullishCoalescingAgain I will return because I am NOT null undefined I will not be returned console log usingOr console log usingOrAgain console log usingNullishCoalescing console log usingNullishCoalescingAgain OUTPUT gt Return me because undefined is a falsy value Return me because I am NOT falsy Return me I will return because I am NOT null undefined In terms of operator precedence the Nullish Coalescing operator has the th lowest precedence so bear this in mind when combing multiple operators For more in depth information about operator precedence you can check out this page Optional Chaining This operator is used when accessing properties or methods of an object It helps us avoid throwing errors if a property method does not exist Rather than an error we receive undefined if no corresponding property method is found For use with object properties we access the property with Object property rather than just Object property For use with object methods we invoke the method with Object method rather than just Object method const person name Pippa favouriteColour green sayHello return this name says hello with object properties const color person favouriteColour const age person age console log color console log age with object methodsconsole log person sayHello console log person sayGoodby OUTPUT gt green undefined Pippa says hello undefinedAs you can see both person age and person sayGoodbye do not exist on the person object but instead of receiving an error we get undefined returned to us Numeric Separator Let s finish this list with an easy one Numeric separators were introduced into JavaScript for readability when working with larger numbers They allow you to break down numbers into more easily digestible chunks exactly like you would when using a comma or point We can separate larger numbers using the character underscore const harderToReadNumber const easierToReadNumber how much nicer is that to read If you made it this far thanks for reading I hope that you ve learnt something which will serve you well in future JavaScript projects 2023-02-27 21:28:31
海外TECH DEV Community Web Push Provisioning: Advancements for Digital Wallet Developers https://dev.to/mbogan/web-push-provisioning-advancements-for-digital-wallet-developers-hmi Web Push Provisioning Advancements for Digital Wallet Developers Advancements for Digital Wallet DevelopersDigital wallets and tokenization have been popular among FinTechs and developers for several years However the process of adding a payment card to a digital wallet has been a point of friction for the user experience The good news is there is a new solution called “Web Push Provisioning WPP that may be a gamechanger in the industry In partnership with the digital wallet providers this technology was recently brought to market by Marqeta an industry leader in payments and tokenization In this article we will discuss what web push provisioning is how it differs from current tokenization methods and its potential impact on FinTechs developers and consumers We ll also consider some typical use cases for web push provisioning Before diving in let s cover some background concepts Digital Wallets and Tokenization An OverviewDigital wallets are virtual storage spaces for payment informationーsuch as credit or debit card informationーthat can be used to make online or contactless payments Think about Apple Pay or Google Wallet Tokenization is the process of replacing sensitive payment informationーlike a credit card numberーwith a unique random string of characters called a token that can be used to represent the payment information in a secure way Tokenization allows for the safe storage of payment cards in a digital wallet enabling online or contactless payments without exposing any sensitive information Up until recently there were three main ways to add a payment card to a digital wallet Manual entryIn app provisioningCard on fileManual entry involves the user manually entering or taking a photo of the payment card information and adding it to their digital wallet app This provisioning method is employed when users already possess the physical cards they want to insert into their digital wallets Provisioning via Manual Entry source In app provisioning involves the user installing or opening an app from a bank or merchant and then using the custom app to provision a virtual card which is then added to the user s digital wallet In App Provisioning source Card on file involves the user already having a payment card added to their digital wallet but then adding it for use on a different device An Alternative Web Push Provisioning WPP WPP is a new method for tokenizing a payment card and adding it to a digital wallet WPP allows users to provision a virtual card and add it to their digital wallet from within a web browser eliminating the need for a custom mobile application This means that users can immediately access funds from their payment card through their digital wallet without installing or opening a separate app WPP offers a convenient and streamlined way for users to add payment cards to their digital wallets and access their funds What does this mean for developers and consumers WPP is different from both manual entry and in app provisioning in several ways With provisioning via manual entry the user must work within the digital wallet app and manually enter their payment card information or take a photo of the card However with WPP the user does not need to work within their digital wallet app and can instead scan a QR code or click on a link to add their payment card to their digital wallet WPP is also different from in app provisioning meaning the user does not need to download install and open a custom application just to add a card from that provider to their digital wallet This also means that the provider does not need to develop a mobile application and the user is not required to work within the mobile app environment Instead WPP allows developers to build for the browser reducing both the development time and the friction of the user experience Use Cases for Web Push ProvisioningWPP allows companies to leverage QR codes links and text messages to quickly and easily enable users to add payment cards to their digital wallets By using WPP users are taken to a web page that creates a virtual card with available funds and prompts them to add it to their digital wallet for immediate use Ultimately the result is a smoother user experience for adding a payment card to a digital wallet WPP can be used in a variety of contexts such as store promotions business cards with QR codes for events and email campaigns Businesses no longer need to entice their customers by saying “Download our app and we ll give you for your next purchase Instead a store can use WPP to sign up customers for a promotion by sending a text message with a link to complete the WPP process which doesn t involve an app Similarly business cards with QR codes can be handed out at promotional events allowing customers to scan the QR code and complete the WPP process through a web page Links to WPP completion can also be embedded in emails as a convenient way for users to add payment cards to their digital wallets ConclusionWPP is a new method for tokenizing payment cards and adding them to digital wallets It allows users to add payment cards to their digital wallets from within a web browser eliminating the need for a custom mobile application For the end user this means having immediate access to funds from their payment cards through their digital wallets without the need to install or open a separate app WPP simplifies key elements of what companies need to do in order to get consumers to add payment cards to their digital wallets Through QR codes links and text messages consumers can add payment cards to their digital wallets reducing friction in this user flow while allowing developers to build card provisioning right into the browser Also thanks to Marqeta s thorough documentation on tokenization you can begin building simple solutions for adding cards to digital wallets With a growing set of innovative use cases WPP will open doors for your FinTech to be on the cutting edge of tomorrow s digital wallet trends Make sure to join me in registering for the upcoming webinar where we will learn more about Web Push Provisioning and hear how Branch is building innovative banking experiences for leading tech brands Have questions Join me in the Marqeta Dev Community 2023-02-27 21:11:48
海外TECH DEV Community Creating a GuestBook in Next.js https://dev.to/vulcanwm/creating-a-guestbook-in-nextjs-462 Creating a GuestBook in Next jsTo develop my Next js and React skills I decided to create a GuestBook This is what it looks like so far I ve learnt how to use loops in React JSXuse if statements in Reactconnect Next js to MongoDBmake an API in Next jsset get cookies in Next js The features I ve added are seeing all the messagesmessaging on the guestbookseeing the timestamp of the messagecensoring all the messagesratelimiting a user so they can only message once an hour Features to come Adding OAuth GitHub Google ReplitDeleting your own commentAdmins for the board so they can delete all commentsRatelimit on username as well as browserThe GitHub repo is here so contribute to help me on my Next js journey VulcanWM guest book View on GitHub 2023-02-27 21:00:54
海外TECH Engadget Warner Bros. Discovery sues Paramount over 'South Park' streaming rights https://www.engadget.com/south-park-warner-bros-discovery-paramount-lawsuit-211615299.html?src=rss Warner Bros Discovery sues Paramount over x South Park x streaming rightsIf the Paramount South Park movie deal seemed odd when HBO Max scored an exclusive for the series you re not alone Warner Bros Discovery WBD has sued Paramount Global for allegedly breaching parts of the million contract that gave HBO Max streaming rights for South Park in WBD claims Paramount quot blatantly intended quot to steer users toward its service by not only offering new specials but by shortchanging the HBO service on promised regular season content HBO Max was reportedly promised three new seasons with episodes each However the provider says it only got eight episodes across the two delivered seasons and that the next season s six episodes also fall short On top of this Paramount supposedly used quot verbal trickery quot to rebrand content as movies or events to avoid sending video to its competitor In a statement to Engadget Paramount claims the lawsuit is quot without merit quot It also maintains that it s still honoring the contract despite Warner supposedly failing to pay licensing fees for already delivered South Park episodes We ve asked WBD for comment The lawsuit isn t shocking WBD previously WarnerMedia was determined to amass as much content as possible for HBO Max ahead of its launch including Friends and Doctor Who Whether or not Paramount violated its contract the South Park content on Paramount diminishes HBO Max s content advantage ーyou no longer have to use that service if you want to stream the recent adventures of Cartman and crew Paramount meanwhile has multiple reasons to contest the lawsuit Paramount is thriving even as rivals like Netflix run into trouble having topped million users as of last spring While it s unclear how much of a role South Park is playing in that growth the company may not want to give up streaming rights for one of its best known shows Paramount owns Comedy Central remember without a fight 2023-02-27 21:16:15
ニュース BBC News - Home Rishi Sunak hails new NI Brexit deal but DUP concerns remain https://www.bbc.co.uk/news/uk-politics-64789639?at_medium=RSS&at_campaign=KARANGA express 2023-02-27 21:51:27
ニュース BBC News - Home Northern Ireland: King meets EU chief as NI Brexit deal done https://www.bbc.co.uk/news/uk-64785658?at_medium=RSS&at_campaign=KARANGA advice 2023-02-27 21:18:20
ニュース BBC News - Home Lionel Messi: Argentina forward wins Best Fifa men's player of the year award https://www.bbc.co.uk/sport/football/64790342?at_medium=RSS&at_campaign=KARANGA player 2023-02-27 21:48:53
ニュース BBC News - Home Best Fifa awards 2022: Sarina Wiegman and Alexia Putellas win major women's honours https://www.bbc.co.uk/sport/football/64789718?at_medium=RSS&at_campaign=KARANGA Best Fifa awards Sarina Wiegman and Alexia Putellaswin major women x s honoursEngland manager Sarina Wiegman is named women s coach of the year at the Best Fifa Awards while Spain s Alexia Putellasis the women s player of the year 2023-02-27 21:51:25
ビジネス 東洋経済オンライン 日本はいつまで「真の民主主義」を維持できるか 中国やロシア並み「専制主義国」が増殖している | 商社マン流 国際ニュース深読み裏読み | 東洋経済オンライン https://toyokeizai.net/articles/-/654799?utm_source=rss&utm_medium=http&utm_campaign=link_back 公共交通機関 2023-02-28 06:30:00
海外TECH reddit Make the comments look like his search history https://www.reddit.com/r/howyoudoin/comments/11dn2eb/make_the_comments_look_like_his_search_history/ Make the comments look like his search history submitted by u amicus of the world to r howyoudoin link comments 2023-02-27 21:13:40

コメント

このブログの人気の投稿

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)