投稿時間:2022-04-22 05:26:01 RSSフィード2022-04-22 05:00 分まとめ(33件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
AWS AWS John Holland Group on AWS: Customer Story | Amazon Web Services https://www.youtube.com/watch?v=B1meOCYp06E John Holland Group on AWS Customer Story Amazon Web ServicesIn this episode of AWS Community Chats Aley Hammer is joined with Kier Morrison the General Manager of IT Operations at John Holland Group Kier shares how the JHG use AWS services to support their business and discuss what it is that they enjoy most about working with AWS Finally Kier shares some of the services he would like to see in the future Learn more at Subscribe More AWS videos More AWS events videos ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster JohnHollandGroup AWSCaseStudy AWS AmazonWebServices CloudComputing 2022-04-21 19:16:44
python Pythonタグが付けられた新着投稿 - Qiita EnvaderでPythonの環境構築を学んだのでmacで実践してみる(第5回) https://qiita.com/a-min3150/items/76ab94d98b1292e1c8f7 envader 2022-04-22 04:08:56
js JavaScriptタグが付けられた新着投稿 - Qiita 【rails入門】ページのスクロールに合わせて要素を動かす! https://qiita.com/Naoya_pro/items/bd5c199b88e051bc8643 scrollgtmynameisnaoyaltdi 2022-04-22 04:20:24
Ruby Railsタグが付けられた新着投稿 - Qiita 【rails入門】ページのスクロールに合わせて要素を動かす! https://qiita.com/Naoya_pro/items/bd5c199b88e051bc8643 scrollgtmynameisnaoyaltdi 2022-04-22 04:20:24
海外TECH Ars Technica Critical bug could have let hackers commandeer millions of Android devices https://arstechnica.com/?p=1849747 audio 2022-04-21 19:22:01
海外TECH MakeUseOf Is FreeFileSync a Better Sync Tool Than Microsoft SyncToy? https://www.makeuseof.com/tag/is-freefilesync-better-sync-software-than-microsoft-synctoy-windows/ Is FreeFileSync a Better Sync Tool Than Microsoft SyncToy Sync programs make local backups a snap by copying only changed files Microsoft SyncToy is one of the most popular but FreeFileSync gives it a run for its money 2022-04-21 19:45:13
海外TECH MakeUseOf The 5 Best Virtual Keyboards for Windows https://www.makeuseof.com/windows-best-virtual-keyboards/ alternative 2022-04-21 19:15:13
海外TECH DEV Community VS Code Extensions For Python Developers. https://dev.to/wiseai/vs-code-extensions-for-python-developers-3n9b VS Code Extensions For Python Developers This is part of the series where I share helpful VS code extensions settings shortcuts tips and tricks to enhance the productivity level of python developers Python is a powerful language used in many different applications and it can be used for web development data science computer vision DevOps and much more As such it is crucial to have the right tools to make coding easier In this part of the series we will explore some of the best VS Code extensions that I ve compiled I use some of them daily the others I have recently come across I am going to categorize these extensions into nine sections as shown in the table of contents below Table Of Contents TOC Programming LanguagesPython by MicrosoftPylanceJupyterDockerCode RunnerCode SnippetsDjaneiroDjangoFlask SnippetsKubernetesCloud CodeAI AssistantsTabNineGithub CopilotKiteVersion ControlGitLensLinters Formatters HighlightersPylintPython IndentIndent RainbowTrailing SpacesBracket Pair Colorizer DocstringAuto DocstringMarkdownMarkdown All in OneMarkdownLintMarkdown Preview EnhancedMarkdown PDFDatabasesSqliteMySQLSQLToolsTestingPython Test ExplorerCode CoverageWrapping UpFuture Work Programming Languages This section includes extensions used for auto completion syntax checking and more Python by Microsoft Go To TOC This extension allows developers to write and debug code in Python from VS Code It also provides an interactive console for running Python code and debugging it with breakpoints call stacks and an integrated terminal For more information you can refer to Pylance Go To TOC This extension provides rich type information helping you write better code faster For more information you can refer to Jupyter Go To TOC This extension provides programmers basic notebook support for language kernels that are supported in Jupyter Notebooks For more information you can refer to Docker Go To TOC This extension allows programmers to build manage and deploy containerized applications with ease For more information you can refer to Code Runner Go To TOC This extension is similar to Python by Microsoft enabling users to quickly and easily run code snippets in their code editor It can be used for running testing and debugging code For more information you can refer to Code Snippets This section includes extensions that provide shortcuts for code generating Djaneiro Go To TOC Djaneiro makes it easier to develop Django projects by generating Django templates forms models and functions right in your editor with the help of abbreviations For more information you can refer to Django Go To TOC This extension provides syntax highlighting and snippet code of code for django projects For more information you can refer to Flask Snippets Go To TOC The flask snippets extension adds code snippets support for your editor For more information you can refer to Kubernetes Go To TOC This extension helps devops engineer to build applications that run in Kubernetes clusters and troubleshooting Kubernetes applications For more information you can refer to Cloud Code Go To TOC This extension makes it deadly easy to develop kubernetes clusters debug pods and many more For more information you can refer to AI Assistants This section includes extensions that are used for code generation auto completion and more TabNine Go To TOC TabNine is an open source AI assistant that provides code completion suggestions based on the current context and the history of your previous commands It also supports different languages like Python Java C Go etc For more information you can refer to Github Copilot Go To TOC Github Copilot is an AI assistant that helps programmers to write code faster For more information you can refer to Kite Go To TOC Like the previous extensions Kite is an AI assistant that helps programmers to write code faster For more information you can refer to Version Control This section includes extensions that make it easier to use git GitLens Go To TOC It is a extension that provides git insights into your code It helps you understand what code changes are staged and what code changes are unstaged You can also see which files have been changed but not yet staged which files are in the index and which files have been deleted from the index For more information you can refer to Linters Formatters Highlighters This section includes extensions that provide additional code analysis Pylint Go To TOC It is an extension that helps developers to find errors in their Python files It analyzes the source code and looks for programming errors such as syntax errors etc It also checks for style issues like lines too long or too short For more information you can refer to Python Indent Go To TOC This extension allows python programmers to indent their code easily For more information you can refer to Indent rainbow Go To TOC This extension is designed to make code prettier by highlighting indentation For more information you can refer to Trailing Spaces Go To TOC It is a lightweight extension that helps developers identify trailing spaces in their code and offers a quick fix to remove them For more information you can refer to Bracket Pair Colorizer Go To TOC This extension is designed to highlight brackets that can be handy for nested containers like tuples dictionaries etc For more information you can refer to Docstring This section includes extensions that provide docstrings generation Auto Docstring Go To TOC This extension helps users to generate the docstrings of your Python scripts automatically For more information you can refer to Markdown This section includes extensions that can help you write and preview markdown files Markdown All in One Go To TOC As the name implies this extension is all you need for writing markdown files keyboard shortcuts table of contents auto preview and more For more information you can refer to MarkdownLint Go To TOC This extension can be used for Markdown linting and style checking For more information you can refer to Markdown Preview Enhanced Go To TOC This extension provides automatic scroll sync math typesetting mermaid PlantUML pandoc PDF export code chunk presentation writer etc For more information you can refer to Markdown PDF Go To TOC This extension allows you to convert Markdown files to pdf html png or jpeg files For more information you can refer to Databases This section includes extensions that can be used as database management tools Sqlite Go To TOC It is an extension used to explore and query SQLite databases For more information you can refer to MySQL Go To TOC A MySQL management tool For more information you can refer to SQLTools Go To TOC This tool can be used as a database explorer query runner intellisense and more For more information you can refer to Testing This section includes extensions that can be used to write and run tests Python Test Explorer Go To TOC This extension allows you to run your Python Unittest Pytest or Testplan tests with the Test Explorer UI For more information you can refer to Code Coverage Go To TOC It helps developers measure the code coverage of their code How much of the code has been tested It will highlight lines of code that are not covered by tests For more information you can refer to Wrapping Up Go To TOC This constitutes our VS code extensions list used by python developers e g data scientists DevOps Engineers Backend Developers etc These VS Code extensions can be helpful to developers in their day to day work with Python projects As always this article is a gift to you and you can share it with whomever you like or use it in any way that would be beneficial to your personal and professional development By supporting this blog you keep me motivated to publish high quality content related to python Thank you in advance for your ultimate support Future Work Go To TOC Now we have a handful list of VS code extensions that can make our life so much easier I will be sharing my VS code settings including the theme I use icons shortcuts and many more So stay tuned for future posts Happy coding folks see you in the next one 2022-04-21 19:49:42
海外TECH DEV Community Integrate Rev AI's Sentiment Analysis API with a Node.js Application https://dev.to/vikram_rev/integrate-rev-ais-sentiment-analysis-api-with-a-nodejs-application-lke Integrate Rev AI x s Sentiment Analysis API with a Node js ApplicationBy Vikram Vaswani Rev AI Developer AdvocateThis tutorial was originally published at on Apr IntroductionSentiment analysis attempts to identify the emotional content in a text document and qualify it as positive negative or neutral It is useful in a number of different scenarios includingTracking customer support satisfaction levels from customer agent interactions or written complaintsAnalyzing political sentiment based on reactions to public speechesUnderstanding student engagement and attitudes in classScoring leads based on sales team member interactions with prospectsUnderstanding witness attitudes in depositionsRev AI offers a Sentiment Analysis API that provides additional speech insights by analyzing sentiments in a given transcript As an application developer you can use this API to obtain qualitative information about the feelings expressed in a transcribed conversation and then build applications to act on those insights This tutorial explains how to integrate the Rev AI Sentiment Analysis API into your Node js application AssumptionsThis tutorial assumes that You have a Rev AI account and access token If not sign up for a free account and generate an access token You have a properly configured Node js development environment with Node js v x or v x If not download and install Node js for your operating system You have a JSON transcript generated from the Asynchronous Speech to Text API If not use this example JSON transcript NOTE The Sentiment Analysis API is under active development Always refer to the API documentation for the most up to date information Step Install AxiosThe Sentiment Analysis API is a REST API and as such you will need an HTTP client to interact with it This tutorial uses Axios a popular Promise based HTTP client for Node js Begin by installing Axios into your application directory npm install axiosWithin your application code initialize Axios as below const axios require axios const token lt REVAI ACCESS TOKEN gt create a clientconst http axios create baseURL headers Authorization Bearer token Content Type application json Here the Axios HTTP client is initialized with the base endpoint for the Sentiment Analysis API which is Every request to the API must be in JSON format and must include an Authorization header containing your API access token The code shown above also attaches these required headers to the client Step Submit transcript for sentiment analysisTo perform sentiment analysis on a transcript you must begin by submitting an HTTP POST request containing the transcript content in either plaintext or JSON to the API endpoint at The code listings below perform this operation using the HTTP client initialized in Step for both plaintext and JSON transcripts const submitSentimentAnalysisJobText async textData gt return await http post jobs JSON stringify text textData then response gt response data catch console error const submitSentimentAnalysisJobJson async jsonData gt return await http post jobs JSON stringify json jsonData then response gt response data catch console error If you were to inspect the return value of the functions shown above here is an example of what you would see id SzFcgCqDM created on T Z status in progress type sentiment analysis The API response contains a job identifier id field This job identifier will be required to check the job status and obtain the job result Learn more about submitting a sentiment analysis job in the API reference guide Step Check job statusSentiment analysis jobs usually complete within seconds To check the status of the job you must submit an HTTP GET request to the API endpoint at ID gt where lt ID gt is a placeholder for the job identifier The code listing below demonstrates this operation const getSentimentAnalysisJobStatus async jobId gt return await http get jobs jobId then response gt response data catch console error Here is an example of the API response to the previous request after the job has completed id SzFcgCqDM created on T Z completed on T Z word count status completed type sentiment analysis Learn more about retrieving the status of a sentiment analysis job in the API reference guide Step Retrieve sentiment analysis reportOnce the sentiment analysis job s status changes to completed you can retrieve the results by submitting an HTTP GET request to the API endpoint at ID gt result where lt ID gt is a placeholder for the job identifier The code listing below demonstrates this operation const getSentimentAnalysisJobResult async jobId gt return await http get jobs jobId result headers Accept application vnd rev sentiment v json then response gt response data catch console error If the job status is completed the return value of the above function is a JSON encoded response containing a sentence wise sentiment analysis report If the job status is not completed the function will return an error instead Here is an example of the sentiment analysis report returned from a completed job messages content I dislike tabs in code score sentiment negative offset length It s also possible to filter the result set to return only positive negative or neutral messages by adding a filter for query parameter to the request Learn more about obtaining a sentiment analysis report in the API reference guide Step Create and test a simple applicationUsing the code samples shown previously it s possible to create a simple application that accepts a plaintext document and returns its sentiment as shown below const main async textData gt const job await submitSentimentAnalysisJobText textData console log Job submitted with id job id await new Promise resolve reject gt const interval setInterval gt getSentimentAnalysisJobStatus job id then r gt console log Job status r status if r status in progress clearInterval interval resolve r catch e gt clearInterval interval reject e const jobResult await getSentimentAnalysisJobResult job id console log jobResult main I dislike tabs in code But I love jam on toast This example application begins by invoking the main function with two sentences of text representing the input to be analyzed The main function first submits this data to the Sentiment Analysis API using the submitSentimentAnalysisJobText method It then uses setInterval to repeatedly poll the API every seconds to obtain the status of the job Once the job status is no longer in progress it uses the getSentimentAnalysisJobResult method to retrieve the job result and prints it to the console Here is an example of the output returned by the code above messages content I dislike tabs in code score sentiment negative offset length content But I love jam on toast score sentiment positive offset length NOTE The code listing above polls the API repeatedly to check the status of the sentiment analysis job This is presented only for illustrative purposes and is strongly recommended against in production scenarios For production scenarios use webhooks to asynchronously receive notifications once the sentiment analysis job completes Next stepsLearn more about the topics discussed in this tutorial by visiting the following links Documentation Sentiment Analysis API referenceDocumentation Sentiment Analysis API webhooksTutorial Get Started with Sentiment AnalysisTutorial Get Started with Rev AI Webhooks 2022-04-21 19:43:36
海外TECH DEV Community Quarterly Design System and Frontend Podcast Roundup - Q1/22 https://dev.to/kickstartds/quarterly-design-system-and-frontend-podcast-roundup-q122-7f6 Quarterly Design System and Frontend Podcast Roundup Q tldr Read our roundup of podcasts released in the first quarter of Everything related to Design Systems Frontend development and headless CMS Jamstack I m listening to quite a collection of podcasts regularly as I just love to learn about new stuff…and what others are building And sometime at the end of last year I decided to favorite all those episodes that were really interesting to me So this will be the obvious bias here…But maybe this turns out to be useful for others let me know Podcast themes include Design Systems Frontend UI React headless CMS JamstackAnd I ve added everything I starred in April so far too…for good measure Podcasts featured PodRocket episodes JS Party episodes devtools fm episodes JavaScript Jabber episodes That s my JAMstack episodes JAMstack Radio episodes Front End Happy Hour episodes Console DevTools Podcast episodes This also means at least for me that PodRocket takes the crown for most listened podcast of the quarter…and by quite the margin too On to the monthly overview AprilApril th PodRocket “Remix with Chance Strickland Hosts Kate Trahan Kaelan CooterGuest Chance StricklandLength m sLink April th devtools fm Episode “Steve Sewell Builder io partytown Qwik mitosis Hosts Andrew Lisowski Justin BennettGuest Steve SewellLength h mLink April th JAMstack Radio Ep “Headless Commerce Engine with Sebastian Rindom and Nicklas Gellner of Medusa Host Brian DouglasGuests Sebastian Rindom Nicklas GellnerLength m sLink April th Front End Happy Hour Episode “Debugging Asynchronous JavaScript Awaiting My Drink Hosts Ryan Burgess Jem YoungGuest Jenn CreightonLength m sLink April th PodRocket “Storybook with Chantastic Hosts Kate Trahan Noel MinchowGuest ChantasticLength m sLink April th PodRocket “KendoReact with Kathryn Grayson Nanz Hosts Kate Trahan Noel MinchowGuests Kathryn Grayson NanzLength m sLink April st PodRocket “AgnosticUI with Rob Levin Host Paul MikulskisGuest Rob LevinLength m sLink MarchMarch th PodRocket “SPAs island architecture and the future of development with Ryan Carniato and Dylan Piercey Hosts Kate Trahan Noel MinchowGuests Ryan Carniato Dylan PierceyLength m sLink March th JavaScript Jabber React Component and State Management JSJ Hosts AJ O Neal Charles Wood Dan ShappirLength h mLink March th JS Party Episode Going full time on EleventyHosts Jerod Santo Nick NisiGuest Zach LeathermanLength m sLink March th PodRocket Polaris The Shopify design system with Alex Page and Yuraima EstevezHosts Kate Trahan Noel MinchowGuests Alex Page Yuraima EstevezLength m sLink March th PodRocket Final Form with Erik RasmussenHosts Kate Trahan Paul MikulskisGuest Erik RasmussenLength m sLink March th PodRocket Accessibility with Ben MyersHost Kate Trahan Brendan DowningGuest Ben MyersLength m sLink March th PodRocket Composing layouts with Travis Waith MairHosts Kate Trahan Noel MinchowGuest Travis Waith MairLength m sLink March th JS Party Episode Remix helps bridge the network chasmHosts Kevin Ball Ali Spittel DivyaGuest Kent C DoddsLength h mLink March th devtools fm Episode Anthony Fu Vue Vite Vitest UnoCSSHosts Andrew Lisowski Justin BennettGuest Anthony FuLength m sLink March rd Console DevTools Podcast Designing dev productsHost David MyttonGuest Ellen ChisaLength m sLink FebruaryFebruary th JS Party Episode Vitest amp amp SlidevHosts Jerod Santo Nick NisiGuests Anthony Fu PatakLength m sLink February rd PodRocket Slinkity with Ben HolmesHosts Kate Trahan Paul MikulskisGuests Ben HolmesLength m sLink February th JS Party Episode A deep dive on ViteHosts Amal Hussein Nick NisiGuest Evan YouLength h mLink February th That s my JAMstack REMIX Tamas Piros on islands architecture Astro and media usageHost Bryan RobinsonGuest Tamas PirosLength m sLink February th PodRocket Modern React with Paige NiedringhausHost Kate Trahan Noel MinchowGuest Paige NiedringhausLength m sLink February th Front End Happy Hour TypeScript migration Strict type of cocktailsHost Ryan BurgessGuests Sumana Mohan Joe KingLength m sLink February th JS Party Episode A Solid option for building UIsHosts Ryan Burgess Jem Young Stacy LondonGuests Sumana Mohan Joe KingLength m sLink February rd Console DevTools Podcast Devtools investingHost David MyttonGuest Ed SimLength m sLink JanuaryJanuary th JAMstack Radio Ep Islands Architecture with Ben Holmes of SlinkityHost Brian DouglasGuest Ben HolmesLength m sLink January th PodRocket MUI with Olivier TassinariHost Ben EdelsteinGuest Olivier TassinariLength m sLink January th JavaScript Jabber Virtual DOM and the React Way Part Deux JSJ Hosts Aimee Knight AJ O Neal Dan Shappir Steve EdwardsLength h mLink January st devtools fm Yang Zhang PlasmicHosts Andrew Lisowski Justin BennettGuest Yang ZhangLength m sLink January th JavaScript Jabber Can JAMstack do REAL Web Apps with James Q Quick JSJ Host AJ O Neal Charles Wood Steve EdwardsGuest James Q QuickLength h mLink January th That s my JAMstack Raymond Camden REMIX on the amazing expansion of the Jamstack ecosystem and how far we ve comeHost Bryan RobinsonGuest Raymond CamdenLength m sLink January th That s my JAMstack Salma Alam Naylor on shipping learning and rendering in the JamstackHost Bryan RobinsonGuest Salma Alam NaylorLength m sLink And if you re missing one from the list one you ve enjoyed a lot let me know on Twitter Always happy to add another one to my subscriptions 2022-04-21 19:07:11
海外TECH DEV Community A New Journey as Head of Developer Relations at Appwrite https://dev.to/tessamero/a-new-journey-as-head-of-developer-relations-at-appwrite-5m1 A New Journey as Head of Developer Relations at AppwriteToday I start at Appwrite as Head of Developer Relations a role tasked with advocating developer success and experience in addition to growing the open source community After over three years at Cloudinary which I joined as a senior developer advocate and advanced to be director of developer advocacy the start of this new adventure is bittersweet It was hard to walk away from that wonderful company team and opportunity I ll miss the people I worked with and will for sure keep tabs on what the future holds for Cloudinary I m so excited to be joining Appwrite Appwrite s founder and CEO Eldad Fux is a software engineer at heart who has worked closely with developers in the open source community for years He aims at making Appwrite a developer first company and building the best developer experience This aligns with my values and beliefs of what constitutes successful open source projects not to mention my lifelong dream of being part of an up and coming startup Which is why I m thrilled to be joining the DevRel team not only to work with very talented individuals but to scale and grow the team Appwrite in a nutshellAn Open Source Firebase alternative Appwrite was incorporated soon after its Seed Round after September Appwrite provides developers with all the core APIs required to build any application Appwrite provides REST and Realtime APIs for Database Storage Authentication and Functions with support for over ten coding languages Key milestones As of April Appwrite s open source community which is the fastest growing project in GitHub s history has almost GitHub stars an increase in two years Appwrite has over developers in their community along with contributors to their codebase Appwrite now boasts almost Discord members all of whom joined in the last two years Appwrite recently announced its Series A round with plans to expand product development and further support the open source community My open source rootsOpen source is a key part of my origin story and my calling Shortly after joining the tech industry in as a developer building web applications with open source tools I attended my first open source conference called “Joomla Day NYC where I met a contributor who invited me to join the team I learned about testing bug patches and the process of submitting a Pull Request to an open source project I also had the opportunity to work with the Extensions Directory team Production Leadership Team and the Board of Directors In addition I ve been a bit part of many different open source developer communities by speaking attending conferences in PHP JavaScript Vue js API communities and too many to count Since then I ve dedicated myself to contributing to and connecting with open source communities So the journey begins Stay tuned for Appwrite s upcoming initiatives community announcements and features Appwrite will be doing endless impactful and big things and will be one of the best tech companies ever I look forward to staying in touch and continuing to learn from you all My feed on Twitter Appwrite on Twitter ️Appwrite on GitHubLearn with Jason episode on building apps with Appwrite 2022-04-21 19:05:03
海外TECH DEV Community Crossed Wires https://dev.to/rmion/crossed-wires-53ej Crossed Wires Advent of Code Day Task Solve for X where Part X the Manhattan distance from the central port to the closest intersectionPart X the fewest combined steps the wires must take to reach an intersection Example inputR U L DU R D LIt represents Two sets of directions one for each wireEach step indicates one of four directions U Up R Right D Down L Left and an integer amount toward that direction Part I was spot on capture all visited coordinatesA written description of my working algorithmA visual depiction of my working algorithmI was a bit off data structure to store all visited coordinates I was spot on capture all visited coordinatesIt is the only way I know works to identify exact spots where both wires intersectThankfully puzzles from and posed similar challenges so I was familiar with writing this algorithm A written description of my working algorithmSplit the input at the only newline character to create an array with two strings Split each string at each comma character to create nested arrays with stringsCreate a legend mapping each of the four directions with an amount between and to adjust a current x y coordinateFor each of the wires Initialize a coordinate at Initialize an array that will store stringified representations of the coordinates For each instruction in the wire s list of instructions Extract the first character as the direction For i from to the integer associated with the direction Add to the array of coordinates a stringified representation of the current coordinate moved one step in the current direction Update the current coordinate so it matches the one represented by the last value in the array of coordinates Return the generated list of visited coordinatesFilter the first list of visited coordinates Only keep values that also appear in the second list of visited coordinatesGenerate a list of numbers using the filtered list Each number will equal the sum of the absolute value of each visited coordinate s x y positionsSort the list in ascending orderReturn the first number the smallest number A visual depiction of my working algorithm I was a bit off data structure to store all visited coordinatesThe algorithm above takes nearly two minutes to run Yikes Why does it take so long I store the visited coordinates as an arrayI try to filter one wire s visited coordinate list by looking for each coordinate in the other wire s visited coordinate listFor my puzzle input the first wire s list is valuesFor each of those my program attempts to search the other list likely similar quantity for a match searches each one having to inspect valuesNo wonder that part takes nearly secondsAnother JavaScript solver NullDev wrote a similar algorithm to mine with one difference Where my algorithm used an array to store an ordered list of visited coordinatesTheir algorithm used an object with keys as stringified coordinates and values as the length of the path by the time that coordinate was visitedNullDev s algorithm finishes in about a second Why is NullDev s algorithm so fast The filtering step looks for a matching key between objects mapping visited coordinates to length of pathLooking up a key on an object even one with keys is near instant compared to searching an array with values for a matchI m so glad this puzzle helped me stumble upon this realization Part A written description of my slightly modified working algorithm using objects instead of arraysA visual depiction of my working algorithm A written description of my slightly modified working algorithm using objects instead of arraysSplit the input at the only newline character to create an array with two strings Split each string at each comma character to create nested arrays with stringsCreate a legend mapping each of the four directions with an amount between and to adjust a current x y coordinateFor each of the wires Initialize a coordinate at Initialize an object locations that will map stringified representations of the coordinates to the length of the path by the time that coordinate is reached Initialize length at For each instruction in the wire s list of instructions Extract the first character as the direction For i from to the integer associated with the direction Increment length by Add to locations a key whose label is a stringified representation of the current coordinate moved one step in the current direction and whose value is set to length Update the current coordinate so it matches the most recently added key in locations Return locationsCreate a list containing all the keys from the locations object generated from the first wire s visited coordinates Filter the list keeping only values that are also keys in the locations object generated from the second wire s visited coordinatesGenerate a list of numbers using the filtered list Each number will equal the sum of the length of each path at the shared coordinate value of both wiresSort the list in ascending orderReturn the first number the smallest number A visual depiction of my working algorithm No simulator I was tempted to make a simulator But I made a simulator for a similar puzzle where I draw the path of a ship And by the time I wrote both algorithms twice and made the GIFs I was ready to move on from this puzzle 2022-04-21 19:03:17
Apple AppleInsider - Frontpage News Apple's iPhone 13 selling better than past lineups -- with one exception https://appleinsider.com/articles/22/04/21/apples-iphone-13-selling-better-than-past-lineups----with-one-exception?utm_medium=rss Apple x s iPhone selling better than past lineups with one exceptionApple s iPhone series is continuing to see stronger than usual demand well into although one model isn t selling nearly as well as the others iPhone ProIn the March quarter Apple s iPhone delivered the company some of its best smartphone with all four models claiming the largest share of U S sales in years according to new data from Consumer Intelligence Research Partners CIRP Read more 2022-04-21 19:18:19
海外TECH Engadget Godzilla and King Kong are coming to 'Call of Duty: Warzone' https://www.engadget.com/call-of-duty-warzone-godzilla-vs-kong-crossover-194022250.html?src=rss Godzilla and King Kong are coming to x Call of Duty Warzone x Crossovers between gaming and other areas of entertainment are becoming more and more common On the same day it emerged Wu Tang Clan is coming to Fortnite Activision Blizzard confirmed a long rumored crossover for Call of Duty Warzone Godzilla and King Kong will arrive in the battle royale on May th The event is called Operation Monarch and it isn t entirely clear just how exactly these movie monsters will fit into Warzone However a blog post notes that the event will introduce a new four player Quads mode quot based on several classic experiences with a titan sized twist quot Despite their militaristic vibes and settings Warzone and the Call of Duty series at large aren t exactly known for hyper realism They ve long had zombie modes Still this seems like an odd crossover especially given that the Godzilla vs Kong movie came out over a year ago 2022-04-21 19:40:22
海外TECH Engadget For $200, Best Buy will haul away your two biggest hunks of tech junk https://www.engadget.com/for-200-best-buy-will-haul-away-your-two-biggest-hunks-of-junk-191103369.html?src=rss For Best Buy will haul away your two biggest hunks of tech junkBig box electronics retailer Best Buy announced the launch of a new appliance recycling program Thursday that will allow customers to have up to two large pieces and an unlimited amount of small items of unwanted tech hauled away for a fee Best Buy already operates a number of consumer electronics recycling programs with customers either dropping off items in store for gift cards or paying a to fee to have their old appliances taken away when their Best Buy bought replacements are delivered This new Standalone Haul Away service does not require any additional purchases and comes with a percent discount to Best Buy TotalTech subscribers a a year scheme that includes on demand GeekSquad access However Haul Away is limited in what it can take nbsp Customers can get rid of up to two all in one computers TVs large appliances and refrigerators as well as as many hard drives gaming consoles laptops and un regiftable immersion blenders as they are willing to part with If you re looking to offload old musical instruments DVDs software or legacy formats on the other hand you d best look elsewhere because Best Buy won t take them nbsp 2022-04-21 19:11:03
海外科学 NYT > Science Can We Fall Out of Love? https://www.nytimes.com/2022/04/19/style/falling-out-of-love.html love 2022-04-21 19:59:02
海外ニュース Japan Times latest articles India denies request for ASDF plane to collect Ukraine aid https://www.japantimes.co.jp/news/2022/04/22/national/india-sdf-ukraine-plane/ commercial 2022-04-22 04:13:28
ニュース BBC News - Home Wimbledon ban on Russian players is discrimination - Andrey Rublev https://www.bbc.co.uk/sport/tennis/61182808?at_medium=RSS&at_campaign=KARANGA complete 2022-04-21 19:44:17
ビジネス ダイヤモンド・オンライン - 新着記事 ウクライナ危機で台頭「自国中心主義」、国益の誘惑でぼやける結束 - 政策・マーケットラボ https://diamond.jp/articles/-/302095 偏狭なナショナリズム 2022-04-22 04:55:00
ビジネス ダイヤモンド・オンライン - 新着記事 iDeCo改正でおトクな人と要注意な人、50代でも間に合う老後の資金作りとは - お金のプロが読む!ニュース解説室 https://diamond.jp/articles/-/301333 iDeCo改正でおトクな人と要注意な人、代でも間に合う老後の資金作りとはお金のプロが読むニュース解説室老後の資金作りといえばiDeCoイデコ、とすぐ言葉が出てくる人も多いでしょう。 2022-04-22 04:50:00
ビジネス ダイヤモンド・オンライン - 新着記事 管理職失格の絶対やってはいけない新人指導、冷めた若手を動かす秘訣は? - 営業コンサルが解決!上司と部下のお悩み相談室 https://diamond.jp/articles/-/302006 管理職失格の絶対やってはいけない新人指導、冷めた若手を動かす秘訣は営業コンサルが解決上司と部下のお悩み相談室新人指導を甘く見てはいけません。 2022-04-22 04:47:00
ビジネス ダイヤモンド・オンライン - 新着記事 サツマイモの輸出シェア日本一!過疎地域発の農業ベンチャーが世界を目指すワケ - 飛び立て、世界へ! 中小企業の海外進出奮闘記 https://diamond.jp/articles/-/301354 サツマイモの輸出シェア日本一過疎地域発の農業ベンチャーが世界を目指すワケ飛び立て、世界へ中小企業の海外進出奮闘記宮崎県串間市という小さな市で生まれた農業ベンチャーのくしまアオイファームが、サツマイモの出荷量および輸出シェアで日本一を成し遂げた。 2022-04-22 04:45:00
ビジネス ダイヤモンド・オンライン - 新着記事 吉野家「生娘をシャブ漬け戦略」騒動、実は再発防止が難しい3つの理由 - 今週もナナメに考えた 鈴木貴博 https://diamond.jp/articles/-/302094 再発防止 2022-04-22 04:40:00
ビジネス ダイヤモンド・オンライン - 新着記事 ソニー4代目社長・岩間和夫氏がいなければ、iPhoneはなかったといえる理由 - 元ソニーCEO・出井伸之「人生の経営」 https://diamond.jp/articles/-/302011 ソニー代目社長・岩間和夫氏がいなければ、iPhoneはなかったといえる理由元ソニーCEO・出井伸之「人生の経営」デジタルカメラやビデオカメラのイメージセンサー撮像素子として利用されていた「CCD電荷結合素子」を世界で初めて実用化したのは、生粋の技術者で、後にソニーの代目の社長となった岩間和夫氏である。 2022-04-22 04:37:00
ビジネス ダイヤモンド・オンライン - 新着記事 頭のいい人が質問されたら放つ「第一声」、回答を導くキラーフレーズとは - 説明組み立て図鑑 https://diamond.jp/articles/-/301638 頭のいい人が質問されたら放つ「第一声」、回答を導くキラーフレーズとは説明組み立て図鑑「あの人、答えるのがうまいなぁ」……質問に対する答え方が、感心するほどうまい人がいる。 2022-04-22 04:35:00
ビジネス ダイヤモンド・オンライン - 新着記事 JR西日本が「赤字ローカル線」公表、廃線議論のための3つの論点とは - 重要ニュース解説「今を読む」 https://diamond.jp/articles/-/302093 赤字ローカル線 2022-04-22 04:30:00
ビジネス ダイヤモンド・オンライン - 新着記事 上海発SNSで拡散される衝撃的生活!食料吊り下げ老人救援、コーラで物々交換… - 莫邦富の中国ビジネスおどろき新発見 https://diamond.jp/articles/-/302092 中国ビジネス 2022-04-22 04:25:00
ビジネス ダイヤモンド・オンライン - 新着記事 テスラで始まった脱炭素化のうねりは、日本のEV化を加速させるか - 平井陽一朗 モビリティの未来 https://diamond.jp/articles/-/301287 商業施設 2022-04-22 04:15:00
ビジネス ダイヤモンド・オンライン - 新着記事 やっぱり出た「ウクライナ支援詐欺」、善意につけこむ卑劣な最新手口とは - それ、ネット詐欺です! https://diamond.jp/articles/-/302097 新型コロナウイルス 2022-04-22 04:10:00
ビジネス ダイヤモンド・オンライン - 新着記事 夜の蝶に貢いで逃げられた若旦那の末路…「贈与税に相続税まで自腹」の危機 - News&Analysis https://diamond.jp/articles/-/302039 夜の蝶に貢いで逃げられた若旦那の末路…「贈与税に相続税まで自腹」の危機NewsampampAnalysis一般社団法人日本フードサービス協会JFによると、コロナ禍に見舞われた年、外食産業全体の売上金額前年比はに落ち込んだ。 2022-04-22 04:05:00
ビジネス ダイヤモンド・オンライン - 新着記事 サンドバーグ氏が英紙に圧力か、元交際相手の問題巡り メタが社内調査 - WSJ発 https://diamond.jp/articles/-/302167 交際相手 2022-04-22 04:01:00
ビジネス 東洋経済オンライン コロナ回復後「濃厚接触でまた自宅待機」の謎 「90日間は再感染なし」を考慮せずは日本だけ? | 新型コロナ、長期戦の混沌 | 東洋経済オンライン https://toyokeizai.net/articles/-/583308?utm_source=rss&utm_medium=http&utm_campaign=link_back 東洋経済オンライン 2022-04-22 04:50:00
ビジネス 東洋経済オンライン 「京急フェイスの原点」600形の攻めすぎた過去 登場時の座席が独特、運転士「関西系の車両」 | ベテラン車両の肖像 | 東洋経済オンライン https://toyokeizai.net/articles/-/583656?utm_source=rss&utm_medium=http&utm_campaign=link_back 京浜急行電鉄 2022-04-22 04:30:00

コメント

このブログの人気の投稿

投稿時間:2021-06-17 22:08:45 RSSフィード2021-06-17 22:00 分まとめ(2089件)

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

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