AWS |
AWS Architecture Blog |
Serverless architecture for optimizing Amazon Connect call-recording archival costs |
https://aws.amazon.com/blogs/architecture/serverless-architecture-for-optimizing-amazon-connect-call-recording-archival-costs/
|
Serverless architecture for optimizing Amazon Connect call recording archival costsIn this post we provide a serverless solution to cost optimize the storage of contact center call recordings The solution automates the scheduling storage tiering and resampling of call recording files resulting in immediate cost savings The solution is an asynchronous architecture built using AWS Step Functions Amazon Simple Queue Service Amazon SQS and nbsp AWS Lambda Amazon Connect provides an … |
2022-06-24 15:15:37 |
AWS |
AWS |
Centrally track and manage your model versions in SageMaker | Amazon Web Services |
https://www.youtube.com/watch?v=KzwSVsZ4nlc
|
Centrally track and manage your model versions in SageMaker Amazon Web ServicesBuilding an ML application involves developing models data pipelines training pipelines inference pipelines and validation tests With the SageMaker Model Registry you can track model versions their metadata such as use case grouping and model performance metrics baselines in a central repository where it is easy to choose the right model for deployment based on your business requirements Model Registry automatically logs the approval workflows for audit and compliance Learn more 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 AWS AmazonWebServices CloudComputing |
2022-06-24 15:29:33 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
【Pandas】データを集計する方法 | groupby/pivot_table |
https://qiita.com/nakachan-ing/items/204f4ba384dc6f48b2d0
|
groupby |
2022-06-25 00:20:59 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
MacにてEKSのPodにログインする。 |
https://qiita.com/miyabiz/items/b98d145cedb35dab9524
|
kubep |
2022-06-25 00:20:25 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
LightSailめも |
https://qiita.com/kazuki480/items/d648965c0f6c8f7d82b7
|
centos |
2022-06-25 00:07:25 |
Git |
Gitタグが付けられた新着投稿 - Qiita |
🔰GitとGitHubについてまとめてみる① |
https://qiita.com/hondano_gentuki/items/9d2f18339b5c64ebb41a
|
gitgithub |
2022-06-25 00:58:45 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
表示速度を上げるための個人的な考察 N+1問題編 |
https://qiita.com/masato314/items/0e273d7221be722ccf03
|
速度 |
2022-06-25 00:05:18 |
海外TECH |
MakeUseOf |
How to Change Your Child's Information in Messenger Kids |
https://www.makeuseof.com/how-to-change-child-information-messenger-kids/
|
messenger |
2022-06-24 15:45:14 |
海外TECH |
MakeUseOf |
How to Create 3D Text in CorelDRAW |
https://www.makeuseof.com/how-to-create-3d-text-in-coreldraw/
|
coreldraw |
2022-06-24 15:30:13 |
海外TECH |
MakeUseOf |
How to Fix Low Framerate Issues With GTA 5 for Windows |
https://www.makeuseof.com/windows-gta-5-low-framerate-fix/
|
windows |
2022-06-24 15:15:14 |
海外TECH |
DEV Community |
Missing Introduction To React |
https://dev.to/khansa/missing-introduction-to-react-2ddo
|
Missing Introduction To ReactReact is a popular high performance UI library created and maintained by Facebook React is used to build single page applications and can be used to build mobile applications as well But that doesn t make it cool Because it s cool it s popular Most React introductions skip the why and immediately start giving you examples of how to utilise React It has an approachable core concept that can be learned in an afternoon but it takes years of practice to master That s great The official documentation contains many tools to help you get started if you want to dive in and start experimenting with React right now This article is for those who are curious about why people react Why does React function the way that it does WHY REACT React is frequently utilised to design UI for single page applications SPA It is advantageous for desktop and mobile apps alike Facebook Bloomberg Airbnb Instagram and Skype are just a few of the websites that use the React Native framework which is based on React JS React is a well liked substitute for building UI applications quickly since it is community driven React can be used with any JavaScript framework but it s often paired with another framework called Flux or Redux These frameworks help make React easier to use when building large applications It is easier to live when UI components aren t aware of the network business logic or app state Render the exact same info every time when given the same propsReact drastically altered how JavaScript libraries operated when it was initially released React opted to separate view rendering from model representation while everyone else was promoting MVC MVVM etc Flux is a whole new architecture that React introduced to the JavaScript front end ecosystem THE VIRTUAL DOMEvery DOM item has an equivalent virtual DOM object in React A representation of a DOM object similar to a thin copy is a virtual DOM object It s faster than the real DOM and it s used to render applications before sending them to the browser It s also used to calculate the differences between the old and new DOM so you can update only what has changed LET S DISCUSS HOW VIRTUAL DOM GENUINELY SPEEDS UP PROCESSES A virtual DOM is constructed and is seen as a tree whenever something new is introduced to the programme A node in this tree represents each component of the programme Therefore a new Virtual DOM tree is constructed whenever the state of any element changes The former Virtual DOM tree is then compared to the new Virtual DOM tree and any differences are noted The optimal technique to make these modifications to the real DOM is then determined Only the changed items will now be shown once again on the page DECLARATIVE PROGRAMMING Declarative programming is a way of specifying what you want the computer to do rather than how Often we specify how in imperative programming but it can be useful to specify what as well For example when we build an app with React and define a button using JSX and HTML like syntax jsxClick Me We are describing the title of the button “Click Me and its purpose to click We don t need to tell React how to “click ーReact does that for us This makes our code easier for humans to understand because it focuses on what should happen rather than how it should happen which may be complicated UNIDIRECTIONAL DATA FLOWUnidirectional data flow is a concept that comes with React It s super important and you should read this section if you want to understand why React is as fast as it is It s easy to get confused with unidirectional data flow because it doesn t seem like much when compared to other models The main idea behind unidirectional data flow is that there are only two directions for your application s state up and down the component hierarchy but not back up again the same direction Unidirectional data flow helps achieve several goals First it makes reasoning about your application much easier because all actions happen within one direction you don t have to worry about how multiple components will interact together or whether some event might cause an unexpected side effect somewhere else in your app Additionally unidirectionality makes debugging easier because you can easily trace how each piece of information got into the state at any given time Finallyーand perhaps most importantlyーunidirectionality helps improve performance by allowing React to optimize its rendering process based on what parts of the DOM need updating after an event occurs if something changes somewhere high up in your tree where few elements depend on its value such as another component then those elements won t re render themselves unnecessarily when they only care about their direct parents REACT S FUNCTIONAL PARADIGMReact has a functional paradigm which means that it encourages the use of functions instead of objects Unlike other popular frameworks React doesn t have any built in state management Instead it relies on you to manage your own state and use immutability to prevent code from breaking when data changes This may not sound like much now but as you progress through this course you will learn how to use these features in much more detail STATELESS COMPONENTSStateless components are easier to test reuse and reason about They re also easier to refactor understand and debug HIGHER ORDER COMPONENTSHigher order components are a way to reuse code by wrapping a component with additional functionality HOCs are often used to implement stateful behaviour that is not available in a component itself and can be helpful for mocking out APIs or managing complex state HOCs can also be used as a mechanism for implementing React s Context API IT SEEMS LIKE REACT IS THE RIGHT CHOICE FOR YOUR PROJECT BECAUSE IT BRINGS SEVERAL BENEFITS OVER USING OTHER UI LIBRARIES It seems like React is the right choice for your project because it brings several benefits over using other UI libraries •It s a JavaScript library so you won t have to learn another language to use it •React has a small footprint and is easy to integrate into your project However there are some things that make React less than ideal •The size of the community behind it is smaller than that of Angular or VueJS though this doesn t really affect performance or ease of use unless there are bugs in the code •It was initially developed by Facebook for internal use so its design decisions may not be optimal for everyone else though these issues will probably be fixed as more people contribute to the project Consider the following example The idea is to have the properties available on the component s interface but stripped off for the component s consumers when wrapped in the HoC export function withTheme lt T extends WithThemeProps WithThemeProps gt WrappedComponent React ComponentType lt T gt Try to create a nice displayName for React Dev Tools const displayName WrappedComponent displayName WrappedComponent name Component Creating the inner component The calculated Props type here is the where the magic happens const ComponentWithTheme props Omit lt T keyof WithThemeProps gt gt Fetch the props you want to inject This could be done with context instead const themeProps useTheme props comes afterwards so the can override the default ones return lt WrappedComponent themeProps props as T gt ComponentWithTheme displayName withTheme displayName return ComponentWithTheme CONCLUSIONThere really is a lot to like about React In addition to being used in production by Facebook Instagram and their other services React has also been adopted by Netflix Yahoo and others With that kind of support behind it React is sure to be around for years to come That s allI appreciate your patience in reading thus far Please hit the clap symbol a few times if you appreciated this article and want to help us spread the word let s get together Stay up to date by following me on Linkedin |
2022-06-24 15:37:09 |
海外TECH |
DEV Community |
Javasc-ordle, making a JS function guessing game with React |
https://dev.to/codesphere/javasc-ordle-making-a-js-function-guessing-game-with-react-33fl
|
Javasc ordle making a JS function guessing game with ReactMaybe we re a bit late to the trend but this week we had fun developing a wordle esque game for guessing the output of hidden Javascript functions We ve deployed it on Codesphere so that you can play it yourself here How it worksJavasc ordle Working title works by taking a github gist of a function and blurring out the contents of the function The player then can guess different words to release them in the function Once the player believes they know how the function works they can guess the output for the given parameter Let s actually build it We built the game with React you can check out the code here As you can see we start by pulling the gist and creating a version with redacted terms Then we add functions to allow the player to guess both terms and the output and perform the correct actions whenever they make a correct guess Next StepsNow we could probably do a lot more with this including Adding a whole schedule of gistsAdding compatibility for multiple languagesScore keepingBut this was a fun way to get started Let us know if you want us to build this out more What s your favorite wordle spin off Let us know down below Until then happy coding from your friends at Codesphere the swiss army knife every development team needs |
2022-06-24 15:35:04 |
海外TECH |
DEV Community |
Designing microservices with shared databases |
https://dev.to/gajus/designing-microservices-with-shared-databases-14kk
|
Designing microservices with shared databasesContext We are designing a new micro service and a suggestion was raised to use a separate database for the new service What follows is my point of view with regards to sharing a single database VS having a dedicated database for each service Internal memo Schemas are fine ish splitting databases is not By adding a second database You lose the ability to perform ACID transactions You lose referential integrity You lose PITR These are major downsides If someone suggested you to use a database for your new project that does not support even one of these you would hopefully dismiss their advice To make things worse it adds a ton of complexity deployment amp permission management is twice as complicatedkeeping database schemas in sync is a challengecomparing database states is time consumingA non technical problem that emerges over time different databases schemas adopt different conventions because they are seen as separate projectsevery project gets a new database because “clean start is easier which compounds all of the aboveMicroservice advocates might say first rule of microservice every service has its own databaseTo that I say the benefits of complete separation are a myth Unless you are a separate business it is an anti pattern that leads to network layer proxies that merge multiple databases or a ton of data duplication e g payments system will need to access information about user s account currencies etc It also not the first rule of microservices that each service must have a separate database In fact shared database design and its pros are discussed in The intent behind the suggestion is good separating databases ensures that other applications cannot perform side effects that may change the behavior of microservices in unpredictable way However we can already achieve this with a well defined access perimeter which is achieved by being very explicit about what each micro service user can access I don t support using separate schemas either because it encourages lazy naming conventions but since it does not break any of the major downsides I mention this is more of a preference than a technical guidance With schemas you end up with tables named like foo project and bar project which isn t great DX A single namespace forces to be thoughtful about it In short setting up a separate database for a new project always sounds nice in theory but in practice leads to a ton of overhead down the road Keep things simple by using database and give every user narrow permissions to make the changes to the database predictable |
2022-06-24 15:21:36 |
海外TECH |
DEV Community |
Appwrite Community Report #11 |
https://dev.to/appwrite/appwrite-community-report-11-ba2
|
Appwrite Community Report Greetings from team Appwrite Hope you had a wonderful week If you ask us it has been a fun ride for us as well TLDR Looks like the release is just around the corner This report covers some spoilers some resources few projects and more Stay tuned till the end What s newWe just released our monthly newsletter Have you read it yet If not get hold of our monthly goodness here We are going to announce our first maintainer we sponsor for the OSS Fund Appwrite OSS Fund Appwrite provides web and mobile developers with a set of easy to use and integrate REST APIs to manage their core backend needs appwrite io Share it with your maintainer friends who would like some Issues solvedHere s to making Appwrite better everyday Issues we have worked on this week Update web SDK examples since the syntax is now refactoredLink to PRLink to PRAllow the usage id createdAt updatedAt when making compound indexLink to PRBug fixes around databases cache UI and real timeLink to PRFixed permission related to user at createdAt in updateDocumentLink to PRQuery limit increased from to Link to PR ️What we re currently working onImproving Hashing APIAdding Autodesk as OAuth providerFixing OAuth provider tutorial with new up to date code exampleImproving docs generator to support new swagger schema will be used by Hashing API DiscussionsWhat s your take on having Appwrite Messaging API Join the discussion here ResourcesRead more about Appwrite Zoom OAuth IntegrationLearn about Flutter and Stripe Integration Stripe Payment with Flutter and Appwrite Damodar Lohani for Appwrite・Jun ・ min read flutter appwrite stripe programming Did you check out Appwrite on YouTube Take up the days learning challenge to get started with Appwrite Days of Appwrite Appwrite Days of Appwrite is a month long event focused at teaching you about all of Appwrite s core concepts and getting you ready to build production ready apps with Appwrite days appwrite io Here s an introductory video about Appwrite by Watch and Learn |
2022-06-24 15:18:40 |
海外TECH |
DEV Community |
Implementing the Perceus reference counting GC |
https://dev.to/raviqqe/implementing-the-perceus-reference-counting-gc-5662
|
Implementing the Perceus reference counting GC IntroductionReference counting RC has rather been a minor party to the other garbage collection GC algorithms in functional programming in the last decades as for example OCaml and Haskell use non RC GC However several recent papers such as Counting Immutable Beans Reference Counting Optimized for Purely Functional Programming and Perceus Garbage Free Reference Counting with Reuse showed the efficiency of highly optimized RC GC in functional languages with sacrifice or restriction of some language features like circular references The latter paper introduced an efficient RC GC algorithm called Perceus which is basically all in one RC In this post I describe my experience and some caveats about implementing and gaining benefits from the Perceus RC I ve been developing a programming language called Pen and implemented a large part of the Perceus RC there I hope this post helps someone who is implementing the algorithm or even deciding if it s worth implementing it in their own languages Overview of PerceusThe Perceus reference counting algorithm is a thread safe ownership based reference counting algorithm with several optimizations Heap reuse on data structure construction and deconstruction pattern matching Heap reuse specialization in place updates of data structures Non atomic operations or atomic operations with relaxed memory ordering for heap blocks not shared by multiple threadsBorrow inference to reduce reference count operationsBy implementing all of those optimizations in the Koka programming language they achieved GC overhead much less and execution time faster than the other languages including OCaml Haskell and even C in several algorithms and data structures that frequently keep common sub structures of them such as red black trees For more information see the latest version of the paper Implementing the algorithmWhat I ve implemented so far in Pen are two core functionalities of the Perceus algorithm In place updates of records on heapThis corresponds to heap reuse specialization described above Relaxed atomic operations on references not shared by multiple threadsDue to some differences in language features between Koka and Pen I needed to make some modifications to the algorithm First Pen doesn t need any complex algorithm for in place record updates with heap reuse specialization because it has syntax for record updates and its lowered directly into its mid level intermediate representation MIR where the RC algorithm is applied Secondly although I ve also implemented generic reuse of heap blocks that matches their frees and allocations in functions initially I ve reverted it for now since I realized that it won t improve performance much in Pen because of the lack of pattern matching syntax with deconstruction and another optimization of small record unboxing planned to be implemented later In addition the implementation doesn t include borrow inference yet as it had the least contribution to the performance reported in a previous paper The main part of the algorithm is implemented in the source files of a compiler itself and an FFI library in Rust listed below Counting back synchronized references to In this section I use the term synchronized to mean marked as shared by multiple threads In Koka and Lean they use the term shared to mean the same thing but I rephrased it to reduce confusion In the Perceus reference counting GC memory blocks have mainly two un synchronized and synchronized states represented by positive and negative counts respectively Heap blocks are synchronized before they get shared with other threads and are never reverted back to un synchronized states once they get synchronized But you may wonder if this is necessary or not If we have a memory block with a reference count of that also means it s not shared with any other threads anymore So isn t it possible to use a common count value of to represent unique references and reduce the overhead of some atomic operations potentially The answer is no because in that case we need to synchronize memory operations on those references un synchronized back with drops of those references by the other threads with release memory ordering For example let s consider a situation where a thread shares a reference with the other thread Thread A shares a reference with thread B Some computation goes on Thread B drops the reference Thread A drops the reference and frees its inner memory block Or thread A reuses the memory block for heap reuse optimization mentioned in the earlier section So if references can be un synchronized back we always need to use atomic operations with acquire memory ordering at the point above to make all side effects performed by thread B at the point visible for thread A Otherwise thread A might free or rewrite memory locations thread B is trying to read So as a result we are rather increasing the overhead of atomic operations for references never synchronized before Benefitting from the algorithmIn general to get the most out of heap reuse in the Perceus algorithm we need to write codes so that data structures filled with old data are updated with a small portion of new data Pen s compiler previously had a performance bug where a relatively old data structure was merged into a new one of the same type As a result the code to merge two pieces of data was taking almost double in time although the logic was semantically correct Recursive data typesWhen your language has record types and syntax for record field access things might be a little complex Let s think about the following pseudo code where we want to update a recursive data structure of type A in place The code is written in Elm but assume that we implemented it with Perceus type alias A x Maybe A y Int f A gt A From here assume that we are in a function scope rather than a module scope foo Afoo x Nothing y bar Abar Here we want to reuse a memory block of foo foo x case foo x of Nothing gt Nothing There are two references to x on evaluation of f x here Just x gt f x At the line of Just x gt f x the program applies a function f to a field value x which originates from foo However at this point of the function application we are still keeping the record value foo itself and the value of x has two references Therefore heap reuse specialization i e in place record update cannot be applied there In order to update the value of x in place instead we need to rather deconstruct foo into its inner values first as follows bar let x y foo in x case x of Nothing gt Nothing Just x gt f x y y Note that even if languages do not support record deconstruction for self recursive types dropping fields containing the types themselves is possible in most cases in practice because otherwise such types values cannot exist at runtime unless they are dynamically generated in functions or thunks in those fields When I look at the Koka s documentation it seems to support record types but I couldn t find out how it handles this specific case yet It s also an option to expose the compiler s details and allow annotations to enforce in place updates for end users while it might not be the best option in a long term BenchmarkingHere I m excited to show some benchmark results and their improvements Details of their configurations are in a section later Note that Pen still lacks some basic optimizations to reduce heap allocations e g lambda lifting unboxing small values on heap So the eventual performance improvements by Perceus would be lower than those results Since I ve never implemented the other GC methods like mark and sweep for Pen before this is not a comparison of RC GC vs non RC GC but rather a proof of how performant traditional thread safe RC can be adopting Perceus on functional programming languages Atomic RC seconds Perceus RC seconds Improvement times Conway s game of lifeHash map insertionHash map update Configuration Conway s game of lifeThe implementation uses lists to represent a field and lives so that it causes many allocations and deallocations of memory blocks on heap Field size x Iterations Implementation Hash map insertion updateThe map update benchmark includes the time taken by insertion for map initialization as well A number of entries Key type bit floating point numberData structure Hash Array Mapped Trie HAMT ImplementationInsertionUpdate ConclusionIn my experience so far implementing the Perceus algorithm appears to be fairly straightforward compared with the other non RC GC algorithms while there are a few stumbling blocks especially if you are not familiar with low level concurrency and atomic instructions I m pretty happy having the algorithm implemented in my language and seeing it performing well despite its simple implementation The Perceus RC can be a game changer in functional programming as it outperforms traditional GC on several common patterns in functional programming However it s definitely not for everyone and most likely affects language design Finally thanks for reading I would appreciate your feedback on this post and the Pen programming language The language s new release has been blocked by LLVM adoption in Homebrew but the ticket had some progress in the last few weeks So I can probably release v of it soon Also special thanks to the developers of Koka for answering my questions on the algorithm That was really helpful Appendix Raw benchmark resultsEnvironment gt uname aLinux xenon gcp Ubuntu SMP Tue Jun UTC x x x GNU Linux gt lscpuArchitecture x CPU op mode s bit bit Address sizes bits physical bits virtualCPU s On line CPU s list Vendor ID GenuineIntel Model name Intel R Xeon R CPU GHzVirtualization features Hypervisor vendor KVMCaches sum of all Ld KiB instances Li KiB instances L KiB instances L MiB instance gt lsmemMemory block size MTotal online memory G Conway s game of life gt hyperfine w life old life newBenchmark life old Time mean ±σ s ± s User s System s Range min …max s … s runsBenchmark life new Time mean ±σ s ± s User s System s Range min …max s … s runsSummary life new ran ± times faster than life old Hash map insertion gt hyperfine w insert old insert newBenchmark insert old Time mean ±σ ms ± ms User ms System ms Range min …max ms … ms runsBenchmark insert new Time mean ±σ ms ± ms User ms System ms Range min …max ms … ms runsSummary insert new ran ± times faster than insert old Hash map update gt hyperfine w update old update newBenchmark update old Time mean ±σ s ± s User s System s Range min …max s … s runsBenchmark update new Time mean ±σ ms ± ms User ms System ms Range min …max ms … ms runsSummary update new ran ± times faster than update old |
2022-06-24 15:12:25 |
海外TECH |
DEV Community |
Curso gratuito - Aprenda: Aplicação Full Stack com Azure SQL & Prisma |
https://dev.to/glaucia86/curso-gratuito-aprenda-aplicacao-full-stack-com-azure-sql-prisma-2baj
|
Curso gratuito Aprenda Aplicação Full Stack com Azure SQL amp PrismaOláCoders Tudo certo Quanto tempo não émesmo Estou de volta e com um baita retorno Hoje eu quero compartilhar com vocês um curso completo com mais de vídeos ensinando a criar uma aplicação Full Stack usando Node jsVue JsPrismaAzure SQLAzure FunctionsAzure Static Web AppsGitHub ActionsDevContainerSim Uma aplicação EE End to End desde o Front ao Back End Porém com enfoque no desenvolvimento do lado do Back End Esse treinamento foi criado em conjunto com o Time de Produtos do Azure SQL e o Time de DevRel do Prisma Nesse caso o Davide Mauri Principal Program Manager Azure SQL e Alex Ruheni Developer Advocate Prisma Ementa do CursoO curso contém vídeos E foi dividido da seguinte forma Módulo Fundamentos do PrismaMódulo Fundamentos do Azure SQLMódulo Fundamentos do Azure Static Web AppsMódulo Ferramentas de DesenvolvimentoMódulo Deployment da Aplicação no ASWAMódulo Próximos Passos Repositório do CursoSe vocês desejarem dar um e compartilhar com amigos as faça o Seremos extremamente gratos as Abaixo o repositório do treinamento glaucia azure sql prisma vue A real case study how to apply Azure SQL with Prisma amp Vue Full Stack Application with Azure SQL amp Prisma Full CourseA real study case application how to apply Node Js with Azure SQLPrismaVue JsAzure FunctionsAzure Static Web AppsResources UsedVisual Studio CodeNode js xAzure Functions Core Tools xAzure SQLAzure Free AccountAzure Static Web AppsSome Visual Studio Code ExtensionsAzure Tools ExtensionAzure Functions Vs Code ExtensionREST Client ExtensionRemote Containers ExtensionPrisma Vs Code ExtensionFrontEnd Starter ProjectBefore starting to watch the video series we recommend that you download the project FrontEnd side Because we will use it to make the communication with the BackEnd created during this course FrontEnd Starter Project HEREVideo SeriesBelow you can see all the recorded videos about the application s development VideosDescriptionVideo Course OverviewIn this video we will see about the course and the application that… View on GitHub Playlist do CursoAbaixo segue a playlist de todos os vídeos Playlist Completa AQUI Palavras FinaisEspero que esse treinamento grátis Aprenda Uma Aplicação Full Stack com Azure SQL amp Prisma seja de ajuda para todas as pessoas da Comunidade Técnica Brasileira Estou procurando dar o meu melhor e o melhor conteúdos de qualidade para todos as vocês Ah Jáia esquecer de falar aqui Não deixem de se inscrever no meu Canal do Youtube E ainda durante o ano de virão muitas outras coisas bem legais no canal sem contar as lives que retornarão Sócomo spoiler teremos Microsoft Learn Live SessionsTutoriais semanais de Node js TypeScript amp JavaScriptE muito mais Se são conteúdos que vocêcurte então não deixa de se inscrever e ative o sininho para ficar sabendo quando teremos vídeo novo Essa semana játeremos uma série nova incrível láno Canal do Youtube E para ficarem por dentro de várias outras novidades não deixem de me seguir láno twitter E nos vemos |
2022-06-24 15:08:23 |
海外TECH |
DEV Community |
4+ years of cracking technical interviews |
https://dev.to/adityatyagi/4-years-of-cracking-technical-interviews-24o0
|
years of cracking technical interviews A framework to solve any technical interview questionI have been working as a Senior Software Engineer ーII Frontend from quite some time now and have been on both sides of the interview table I have given a lot of technical interviews and have taken the same amount if not more From white boarding the data structures and algorithmic questions to pair programming with my interviewer its been an eye opening amp humbling experience of how draining these interviews can get Therefore over these last years I have come up with this little framework that has helped me crack multiple roles in various tech companies There are major parts to this problem solving approach Understand the problem Explore concrete examples Break it down Solve or Simplify Look back and refactorLet s go through each one of them in detail Understand The ProblemAs soon as you are given the question do not start slapping the keyboard and declaring variables Breathe Read the question and then re read it “It is foolish to answer a question that you do not understand “How to Solve it by George PolyaThen try to note down answers to the following questions Can I restate the problem in my own words What are the inputs that go into the problem This is the place where you can ask the interviewer for the edge cases with respect to inputs What are the outputs that should come from the solution to the problem Can the outputs be determined from the inputs In other words do I have enough information to solve the problem How should I label the important pieces of data variables declaration that are part of the problem Explore Concrete ExamplesComing up with examples can help you understand the problem better These examples also provide sanity checks that your solution works the way it should work This can help you to understand the nature of inputs and outputs more clearly and reveal any corner edge cases These are nothing but user stories or unit tests for the problem statements For example consider this question Write a function charCount which takes a string and returns count of each character in the string The examples of this can be charCount aaa Output gt a charCount hello Output gt h e l o Check examples for empty inputscharCount Output gt Check examples for invalid inputscharCount Output gt Check examples for invalid inputscharCount false Output gt Break It DownThis is one of the most important yet most ignored skipped step You need to keep the interviewer on the same page throughout your problem solving journey Communicate while breaking the problem down Ask questions like “Does this sound good or “Am I going the right path Write comments and not the actual code Explicitly write out the steps you need to take You need to just write the pseudo code or steps that you will be taking to solve the problem The process of breaking down the problem compels you to think about the code you will write before you write it and helps you catch any lingering conceptual issues or misunderstandings This is an important step to follow and will help you immensely before you dive in and have to worry about the details like syntax of the code Solve or SimplifyBy the time you arrive at this step you should already have the pseudo code written All you have to do is just write the code now Defeat Them in Detail The Divide and Conquer Strategy Look at the parts and determine how to control the individual parts create dissension and leverage it Robert GreeneIf you are “stuck and are not able to proceed do not worry Try to break down the problem into smaller problems Try to identify a simpler problem and then solve it This will also give you a psychological sense of achievement and thus help you proceed with the problem “emotionally Yes emotionally There have been times when I started sweating mouth went dry while solving a DSA question One has to be in a balanced mental state to come down to a solution as this is a mental game To simplify Find the core difficulty in what you are trying to do Temporarily ignore the difficulty Write a simplified solution Then incorporate that difficulty back in Look Back And RefactorThis is the last piece but the piece of this framework that will distinguish between a great candidate from a good one For refactoring ask yourself Can I check the result Can I derive the result differently Can I understand the solution at a glance Is the solution readable Can I use the same method for some other problem Can I improve the performance of the solution Can I think of other ways to refactor How have other people solved the same problem This is something that comes in “Looking Back area of the framework All the very best for your interview if you have any coming up Thanks for reading If this blog was able to bring value please follow me on Medium Your support keeps me driven Originally published on adityatyagi com Want to connect Follow me on Twitter and LinkedIn or reach out in the comments below My name is Aditya I am a Senior Software Engineer II Frontend I blog about web development |
2022-06-24 15:06:32 |
Apple |
AppleInsider - Frontpage News |
Compared: 13-inch M2 MacBook Pro vs 14-inch MacBook Pro |
https://appleinsider.com/inside/14-inch-macbook-pro/vs/compared-13-inch-m2-macbook-pro-vs-14-inch-macbook-pro?utm_medium=rss
|
Compared inch M MacBook Pro vs inch MacBook ProApple s new inch MacBook Pro has the M chip but it may not be enough to tempt potential buyers away from a purchase of the inch MacBook Pro Here s how the smaller MacBook Pro models compare Apple s WWDC keynote saw it roll out M the first of a second generation of Apple Silicon chips Again Apple decided that the first wave of devices using it should be on the value end of the catalog and introduced an M MacBook Air alongside an updated inch MacBook Pro With the shift to M the inch MacBook Air gains a few performance tweaks that can make it an attractive proposition for those working in video Some may even consider it a cheaper alternative to buying a inch MacBook Pro Read more |
2022-06-24 15:54:13 |
Apple |
AppleInsider - Frontpage News |
How to replace your computer with an iPad |
https://appleinsider.com/inside/ipad-pro/tips/how-to-replace-your-computer-with-an-ipad?utm_medium=rss
|
How to replace your computer with an iPadApple says the iPad can replace a traditional desktop or laptop for productivity but that can be a big leap These apps and tips will help make your iPad into a productivity machine The iPad has become quite a versatile machine thanks to a combination of powerful hardware and several transformative accessories Adding a Magic Keyboard Apple Pencil or external display can shift the iPad s use case from one function to another in an instant The inclusion of an M processor and increasing RAM limits to GB has given Apple the ability to take iPad even further thanks to advancements in iPadOS However those software upgrades won t arrive until the fall Until then here s what users can do to get more from their iPad Read more |
2022-06-24 15:26:07 |
Apple |
AppleInsider - Frontpage News |
FTC asked to investigate Apple & Google over selling personal data |
https://appleinsider.com/articles/22/06/24/ftc-asked-to-investigate-apple-google-over-selling-personal-data?utm_medium=rss
|
FTC asked to investigate Apple amp Google over selling personal dataFour lawmakers want an FTC investigation into the harmful practices of Apple and Google in allegedly gathering personal information and profiting from it App Tracking Transparency Even as Apple s privacy moves have reportedly cost Facebook billions of dollars in lost revenue four Democrats believe it is not enough Sen Ron Wyden D Ore Sen Elizabeth Warren D Mass Sen Cory Booker D N J and Rep Sara Jacobs D Calif have written to the FTC requesting an investigation Read more |
2022-06-24 15:00:45 |
海外TECH |
Engadget |
Juul asks appeals court to block the US ban on its vaping products |
https://www.engadget.com/juul-vaping-ban-block-court-fda-153239621.html?src=rss
|
Juul asks appeals court to block the US ban on its vaping productsJuul has asked a federal appeals court to temporarily block a Food and Drug Administration ban on sales of its vaping products in the US The agency issued the order on Thursday citing a lack of sufficient evidence provided by the company to show its devices are safe The FDA acknowledged that it wasn t aware of quot an immediate hazard quot linked to Juul s vape pen or pods “FDA s decision is arbitrary and capricious and lacks substantial evidence Juul said in a filing with the US Court of Appeals for the DC Circuit according to The Wall Street Journal The company called the ban extraordinary and unlawful It requested an administrative stay until it can file a motion for an emergency review of the FDA s order Juul claimed that without the stay it would suffer significant and irreparable harm The company makes the lion s share of its revenue in the US If the stay is granted Juul and retailers will be able to keep selling its products there The company argued in the filing that the order marked a move away from the FDA s typical practices which allow for a transition period nbsp quot We respectfully disagree with the FDA s findings and decision and continue to believe we have provided sufficient information and data based on high quality research to address all issues raised by the agency quot Juul s chief regulatory officer Joe Murillo told Engadget after the FDA issued the order quot In our applications which we submitted over two years ago we believe that we appropriately characterized the toxicological profile of JUUL products including comparisons to combustible cigarettes and other vapor products and believe this data along with the totality of the evidence meets the statutory standard of being appropriate for the protection of the public health quot In the FDA required makers of e cigarettes to submit their products for review It looked at the possible benefits of vaping as an alternative to cigarettes for adult smokers It was weighing those up against concerns about the popularity of vaping among young people The agency has authorized quot electronic nicotine delivery systems quot including products from NJOY and Vuse parent Reynolds American The FDA slammed Juul in for telling students that its products are quot totally safe quot The Federal Trade Commission and state attorney generals have investigated Juul over claims it marketed its vape pens to underage users In the last year the company has agreed to pay at least million to settle lawsuits in several states ーincluding North Carolina Washington state and Arizona ーwhich alleged that it targeted young people with its marketing It has faced similar suits in other states |
2022-06-24 15:32:39 |
海外TECH |
Engadget |
Apple's second-gen AirPods drop to $100, plus the best early Prime Day deals you can get now |
https://www.engadget.com/apple-second-gen-airpods-drop-to-100-best-early-amazon-prime-day-deals-2022-153034076.html?src=rss
|
Apple x s second gen AirPods drop to plus the best early Prime Day deals you can get nowWe may be a few weeks out from Amazon Prime Day but early deals are already starting to roll in If you re in need of a new smart TV Amazon has discounted a bunch of Fire TVs and Prime members can pick up a inch Omni Series set for only Elsewhere Apple s second generation AirPods are back on sale for Sony s new Linkbuds S received their first discount and Samsung s latest Discover sales event has slashed prices of appliances wearables and storage gadgets Here are the best tech deals from this week that you can still get today AirPods nd gen Chris Velazco EngadgetThe second generation AirPods are down to right now or percent off their original price While they don t have all the bells and whistles of the new third gen models these are still decent earbuds that we liked for their improved wireless performance and good battery life Buy AirPods nd gen at Amazon Mac Mini MEngadgetApple s Mac Mini M has returned to a record low price of It s the most affordable M machine you can get and we like its sleek design and good array of ports Buy Mac Mini M GB at Amazon Apple Watch SECherlynn Low EngadgetThe mm blue Apple Watch SE has dropped to a new low of at Walmart This is a great deal on the already affordable smartwatch and we gave it a score of for its solid performance comfortable design and handy watchOS features Buy Apple Watch SE mm blue at Walmart MacBook Air MDevindra Hardawar EngadgetThe MacBook Air M is off and down to We gave the laptop a score of for its blazing fast performance excellent battery life and lack of fan noise Buy MacBook Air M at Amazon Amazon Fire TV salesAmazonDozens of Amazon Fire TVs are on sale ahead of Prime Day including the new Omni Series sets The Omni K smart TVs came out last September and they support HDR HLG and Dolby Digital Plus and the larger TVs in the range also support Dolby Vision Prime members can pick up the inch model for only while anyone can get up to percent off the other sizes Shop Amazon Fire TV salesSamsung Discover salesCherlynn Low EngadgetSamsung s latest Discover sales event is ongoing through June th Everything from appliances to smartphones to TVs have been discounted and some of the best promotions include free storage upgrades on the Galaxy S Ultra and a free Galaxy S smartphone when you buy certain Samsung Neo QLED K smart TVs Shop Samsung Discover dealsRazer Kishi controllerRazerRazer s Kishi controller for iOS devices is off right now and down to a new low of It s a good accessory to have if you like to play games on the go It has a wired connection which means lower latency than Bluetooth controllers plus an ergonomic design and a USB C port for passthrough charging Buy Razer Kishi iOS at Amazon Sony Linkbuds SSonySony s new Linkbuds S are percent off and down to This is their first real discount since launching earlier this year and they have a small IPX rated design decent ANC and Auto Play support Buy Sony Linkbuds S at Amazon Crucial MX SSD TB We ve long been fans of Crucial s MX internal drive and now you can pick up the big one with TB of space for That s percent off and the best price we ve seen We like this drive for its standard design solid read and write speeds and integrated power loss immunity feature Buy Crucial MX TB at Amazon Samsung T SSD TB SamsungSamsung s T SSD in TB is on sale for right now or only more than its all time low price We like this portable drive for its compact shock resistant body fast read and write speeds and its multi device compatibility Buy Samsung T TB at Amazon Buy T SSD TB at Samsung Amazon Luna game controllerAmazonPrime members can get the Luna game controller for only which is cheaper than its previous all time low It s designed to be used with Prime Gaming and Amazon s cloud gaming service which costs per month but you can use Bluetooth or USB to connect it to Windows Mac and Android devices to play other titles too Buy Luna controller Prime exclusive at Amazon Nintendo eShop Super SaleErik McLean on UnsplashThrough July th you can get up to percent off Nintendo Switch games if you buy them through the eShop Some of the titles on sale include Super Mario Odyssey for Skyrim for Pikmin Deluxe for and Just Dance for Shop Nintendo eShop Super SaleSteam Summer SaleEngadgetSteam s summer sale runs through July th and knocks up to percent off titles Some of the standout games you ll find in this sale include Hollow Knight Forza Horizon No Man s Sky and God of War Shop Steam Summer SaleNew tech dealsArlo Pro security camerasWellbots has knocked up to off Arlo Pro security camera bundles You can get a three camera kit for with the code ARLO a two camera bundle for with the code ARLO or a one camera set for with the code ARLO Shop Arlo Pro sets at WellbotsSony SRS XB portable speakerSony s tiny SRS XB is percent off and down to only Not only does it come in a bunch of fun colors but this compact Bluetooth speaker also has a waterproof IP rated design punchy bass and a hour battery life Buy Sony SRS XB at Amazon Kindle Paperwhite The previous edition of the Kindle Paperwhite is on sale for right now or nearly half off its normal price We gave this model a score of for its improved waterproof design higher contrast display and Audible support Buy Kindle Paperwhite at Amazon Satechi summer saleSatechi s summer sale knocks up to percent off accessories so you can grab discounted docks hubs chargers and more for less through June th Some standout deals include the iMac USB C monitor stand and hub for and the USB C mobile pro hub for Shop Satechi summer saleFollow EngadgetDeals on Twitter and subscribe to the Engadget Deals newsletter for the latest tech deals and buying advice |
2022-06-24 15:30:34 |
Cisco |
Cisco Blog |
Best-in-Class Learning Experiences: Combining Human and Digital Elements for Maximum Impact |
https://blogs.cisco.com/partner/best-in-class-learning-experiences-combining-human-and-digital-elements-for-maximum-impact
|
Best in Class Learning Experiences Combining Human and Digital Elements for Maximum ImpactOur Partner Readiness Hub s new approach to learning focuses on combining the best of human and digital elements to provide the most effective educational experience possible while also keeping our partners engaged |
2022-06-24 15:00:48 |
金融 |
金融庁ホームページ |
岡安商事株式会社に対する行政処分について公表しました。 |
https://www.fsa.go.jp/news/r3/shouken/20220624.html
|
岡安商事株式会社 |
2022-06-24 16:00:00 |
金融 |
金融庁ホームページ |
保険業界の地域連携に係る取組みについて公表しました。 |
https://www.fsa.go.jp/news/r3/hoken/20220624/20220624.html
|
連携 |
2022-06-24 16:00:00 |
ニュース |
BBC News - Home |
Roe v Wade: US Supreme Court strikes down abortion rights |
https://www.bbc.co.uk/news/world-us-canada-61928898?at_medium=RSS&at_campaign=KARANGA
|
abortion |
2022-06-24 15:18:47 |
ニュース |
BBC News - Home |
Covid: UK infections continuing to rise |
https://www.bbc.co.uk/news/health-61923316?at_medium=RSS&at_campaign=KARANGA
|
increase |
2022-06-24 15:06:48 |
ニュース |
BBC News - Home |
Roe v Wade: What is US Supreme Court ruling on abortion? |
https://www.bbc.co.uk/news/world-us-canada-54513499?at_medium=RSS&at_campaign=KARANGA
|
landmark |
2022-06-24 15:40:44 |
ニュース |
BBC News - Home |
Why Premier League clubs are queuing up for Jesus, Raphinha and Richarlison |
https://www.bbc.co.uk/sport/football/61924686?at_medium=RSS&at_campaign=KARANGA
|
Why Premier League clubs are queuing up for Jesus Raphinha and RicharlisonThree Brazilian players have dominated the Premier League transfer scene this summer and here is why Gabriel Jesus Raphinha and Richarlison are in such high demand |
2022-06-24 15:39:56 |
北海道 |
北海道新聞 |
世界水泳、チームFRで日本が銅 アーティスティックスイミング |
https://www.hokkaido-np.co.jp/article/697877/
|
世界水泳 |
2022-06-25 00:53:00 |
北海道 |
北海道新聞 |
米最高裁、中絶の権利「認めず」 女性の権利後退、社会の分断必至 |
https://www.hokkaido-np.co.jp/article/697865/
|
人工妊娠中絶 |
2022-06-25 00:27:51 |
北海道 |
北海道新聞 |
渋野日向子、前半終え1アンダー 全米女子プロゴルフ第2日 |
https://www.hokkaido-np.co.jp/article/697873/
|
女子ゴルフ |
2022-06-25 00:19:00 |
北海道 |
北海道新聞 |
昆虫食の自販機、函館山ロープウェイに登場 食糧問題考えるきっかけに |
https://www.hokkaido-np.co.jp/article/697688/
|
函館山ロープウェイ |
2022-06-25 00:06:39 |
コメント
コメントを投稿