python |
Pythonタグが付けられた新着投稿 - Qiita |
DatadogでEDCBの録画ログ監視 |
https://qiita.com/re3turn/items/337d93b65199bfea5cc9
|
windows |
2022-04-10 02:27:56 |
golang |
Goタグが付けられた新着投稿 - Qiita |
goquery & chrome driver |
https://qiita.com/ytmycat17yo/items/a302bae36d5285541fc7
|
chrome |
2022-04-10 02:52:43 |
海外TECH |
MakeUseOf |
Your Workplace Is at Risk: How to Prevent Business Email Compromise Attacks |
https://www.makeuseof.com/how-to-prevent-business-email-compromise-attacks/
|
Your Workplace Is at Risk How to Prevent Business Email Compromise AttacksAlmost every business uses emails and that means they re a big target for cyberattacks including BEC So what is BEC and how can you mitigate it |
2022-04-09 17:30:13 |
海外TECH |
DEV Community |
Pimp your README.md with a Magic Twitter Button |
https://dev.to/francescobianco/pimp-your-readmemd-with-a-magic-twitter-button-1mn6
|
Pimp your README md with a Magic Twitter ButtonI ve been looking for a little project to develop in vanilla JavaScript for some time just almost for fun and distraction Then I had the enlightenment so I created a small vanialla web app that allows you to create a magic button In fact by inserting this button inside your README md you can have your users share a tweet directly from a GitHub repository This is great because it is a small way to make your projects popular In fact I recommend that you invite your visitors to post on twittter the great discovery they made when they found you online LinksThe vanilla web app The repository |
2022-04-09 17:44:47 |
海外TECH |
DEV Community |
Have you used - Vite ( Frontend Tool) ?? |
https://dev.to/sanjaysinghrajpoot/have-you-used-vite-frontend-tool--mj1
|
Have you used Vite Frontend Tool Say you want to start a new React project the first thing you will do is runnpx create react app my appNow you have to manually install all the required dependencies Now this process will take mins on an average Enter ViteVite is a build tool that promotes a faster development experience for developers It was created by Evan You Hot Module ReplacementA fast development server that provides swift Hot Module Replacement HMR due to its enhanced features You can read more about ES native modules from here RollupVite has a build command that bundles the developer s code with Rollup This is a JavaScript module bundler that compiles simple pieces of code and builds them into complex applications Since Rollup is pre configured it s easy to generate static applications that are highly optimized for production Benefits of ViteA developer s productivity is influenced by many factors including performance and speed JavaScript can cause an application to slow down depending on its complexity Vite resolves this issue by using Esbuild EsBuild is a dependency pre bundler that enhances the pre bundling of dependencies than other frameworks This results in increased server speeds and Hot Module Replacement Features of ViteThe key features of Vite include Instant server start Fast Hot Module Replacement Optimized build process Let s now create a React application using Vite Creating a react application using Vite Navigate to your desktop and create a new folder This directory will store all of our files Write the following command in your CLI npm init viteYou will see different process running on the screen those are product dependencies and build packages Our project is now created Let s install and then run it Your package json file should look as shown below Finally include the following command to start the dev server npm run devCopy and paste the provided link on your browser You now have React and Vite running on your local server Congratulations |
2022-04-09 17:37:38 |
海外TECH |
DEV Community |
Data Structures - For The Novice |
https://dev.to/ogagacodes/data-structures-for-the-novice-4nkl
|
Data Structures For The Novice IntroductionData structures have been a feared subject by all even experienced programmers sometimes cower at this and its brother ALGORITHMS There is this saying Good programmers worry about data structures And other programmers will say immediately I understand data structures booom my worth increases As you will see DATA STRUCTURES is not a trivial subject it holds the key to fully understanding problems and solving such in Computer Programming I dare say that how this concept is presented in most classical write ups has scared many away Needless to say jargons technical jargons which most times are unavaoidable liter these pieces This not withstanding I hail and sincerely appreciate any who has taken out time and written on this subject it isn t for the fainthearted And credit andrespect to the very good literature out there that x trays this subject in it s atomic details In this series I will try my very best to bring it to the lowest of levels I hope this serves you for all purposes What Are Data Structures I am really tempted to give a wekipedia style defintion but no Obvioulsy the term DATA STRUCTURES is a two worded concept Let s take this one at a time DATA Just imagine you have an application in your device and register for the first time say with your name and password To register you must input an email and set a password the email is datum singular of data the password is datum So these pieces of information that are required are data Now this is a very simplistic analysis a real life application can have requirements that are very large and complex say yourname email phone number location date of birth age etc For example Facebook processes billions of information soemtimes every second and store these Twitter does same the list goes on So data refer to all the information collected processed and stored by the computer For this information to make sense they have to be structured in a way stored properly why Let talk about structure STRUCTUTRE Just imagine this you are an avid reader after reading a book you store them in a reserved room in your apartment Now if whenever you re done reading a book you just throw them into the room what could be the consequence of this haphazard storage as shown below Imagine again a friend comes and asks for a book you have read and say wants to borrow it you stepped into the room and thence you suffer the consequence of your lack of proper structure What will be a better approach shelves Yes like a library what else can help Labeling the shelves by Author or so This is structure How easy it will be to locate a book in a shelf like belowSo in computer programming as the term denotes humans feed the computer information and it s exactly what you feed in that gets out maybe in a different form But trust me computers remain grabage in garbage out Ok we argue that another day the garbage in garbage out thing When the information fed into an applictaion is appropriately structured it makes for easy efficient access Infact the very reason while you load up some apps and it takes more time than others could most likely among other things be access of data The implication of this is your choice of data structure greatly affects the performanace of your application How yo choose to savwe the datais important In summary Data Structures is just information management for efficient and easy access which inturn leads to better app performance etc When Should I learn Data Structures Hmmmmmmmm Say you want to build a house when should you get ready financially After the house is completed Doesn t make sense infact no one will work for you unless you pay them sometimes partly in advance SO I say that data structures should be the very first concept you learn before you write your first line of code I will try to acheive this explaining data structures and Algorithms without a particular leaning to a programming languauge But I must warn I will make reference to programming languages but in a high level index We shall discuss data structure types in programming Yes I know advanced devlopers will say why will some names be here varaible and some These are not data structures Hmmm well you d see whyI will unapolegietical ly call every name on the list belwo data structure types not just data structure You get it If not hang on as we explore this exciting concept So Herew is the list I will talk aboutVariableObjects DictionariesArrays ListsLinked ListsDictionariesTrees Keep your fingers crossed for part |
2022-04-09 17:29:33 |
海外TECH |
DEV Community |
Incremental Static Regeneration for Angular |
https://dev.to/eneajaho/incremental-static-regeneration-for-angular-34co
|
Incremental Static Regeneration for AngularIf you are reading this you ve probably heard of SSR Server side rendering SSG Static site generation and CSR Client side rendering A brief overview of them SSR With server side rendering every time a page is requested it will be server rendered probably make api calls and then it will be served to the client SSG With static site generation the rendering of the pages will be done at build time and when the page is requested the client will be served the generated static file for that route CSR With client side rendering the rendering of the page and the api calls needed for that page will happen on runtime on clients device What s ISR and what problem does it solve Let s take an e commerce site as an example This e commerce site has thousands of clients and thousands of products and for each product there is a details page Because it s an e commerce site it should be server side rendered probably using Angular Universal in order for crawlers to read its content that is needed for SEO Now every time a direct request to that product details page is made the server will have to make an api call to get the data from the backend then will render the HTML and then will serve the page to the client This process happens every time a client opens that page Now imagine thousands of users opening that product page at the same time Probably the server will get blown out and we would need to increase the server resources also the backend server resources too The server will need to do the same work for all the clients in order to serve them the same page How has SSG helped so far With static site generation we were generating each product details page at build time doing the fetching data part only once and serving static files to the users And let s say that this helped a lot with the server resources on runtime because we would only serve static files and that s all This was fine until we needed to change product s details and do all the work from the beginning Build the site generate all the pages and deploy again All this is just to change a product s price Imagine changing product prices every hour How many times would we need to do the building generating and deploying This is where ISR comes into play ISR combines the ideology of SSR and SSG into one With ISR we render the page on the server the first time it is requested save it in the cache and serve that cached page to all the other users that request that page For cache refreshing we use time intervals or in demand regeneration ISR is like SSG but at runtime All good Let s do this in Angular To get started first we need an application to have Angular Universal installed and configured Then we install the ngx isr package a library created by me ngx isr helps you to manage all the ISR stuff with an easy to use and extendable API inspired by Next js npm install ngx isrAfter we install it we need to do some small configurations Create an ISRHandler instance inside server ts import ISRHandler from ngx isr const isr new ISRHandler indexHtml lt Is the path to the index html invalidateSecretToken MY TOKEN replace with env secret key enableLogging environment production Replace Angular default server side rendering with ISR rendering Replace this server get req res gt res render indexHtml req providers provide APP BASE HREF useValue req baseUrl with this piece of code server get Serve page if it exists in cache async req res next gt await isr serveFromCache req res next Server side render the page and add to cache if needed async req res next gt await isr render req res next Note ISRHandler provides APP BASE HREF by default And if you want to pass providers into the methods of ISRHandler you will also have to provide the APP BASE HREF token Add the invalidation URL handlerserver get api invalidate async req res gt await isr invalidate req res Add NgxIsrModule in AppServerModule importsimport NgxIsrModule from ngx isr lt Import module NgModule imports NgxIsrModule lt Use it in module imports export class AppServerModule When importing the module NgxIsrService will be initialized and will start to listen to route changes only on the server side so the browser bundle won t contain any extra code That was it How to use it Add the revalidate key in route data and that s it path example component ExampleComponent data revalidate NOTE Routes that don t have the revalidate key in data won t be handled by ISR They will fall back to Angular default server side rendering pipeline To regenerate a page we need to make a get request to revalidate Like this GET api invalidate secret MY TOKEN amp urlToInvalidate example How it works By using the revalidate key in route data we define the time intervalthat the ISR Handler will use in order to know when to regenerate a specific route Options Don t specify anything The route won t be cached and will always be server rendered Like SSR First serve will be server rendered and all the other ones will be served from cache Like SSG More than ex First serve will be server rendered and the cache will be regenerated every seconds after the last request Advanced exampleconst routes Routes path one component PageOneComponent path two component PageTwoComponent data revalidate path three component PageThreeComponent data revalidate Path one It won t be cached and will always be server rendered before being served to the user Path two The first request will be server rendered and then will be cached On the second request it will be served from the cache that was saved on the first request The URL will be added to a regeneration queue in order to re generate the cache after seconds On the third request if the regeneration was finished successfully the user will be served the regenerated page otherwise they will be served with the old cached page Path three The first request will be server rendered and then will be cached After the first request all the other ones will be served from the cache So the cache will never be refreshed automatically The only way to refresh the cache is to make a request to invalidate API route ResultsServe the page npm run dev ssr Open Inspect Element And check the Last updated time and date change based on the revalidate key that you provided ISR issues Every time we change the source code we have to do the build and deploy again ISR helps only when data from the backend changes and that s okay That was it Thanks for reading this long post If you liked it please leave a thumbs up and give a to the Github repository If the library helps you or your business you can buy me a coffee if you want |
2022-04-09 17:26:21 |
海外TECH |
DEV Community |
[Deepgram x DEV Hackathon Submission Post Placeholder Title] |
https://dev.to/stewartvallado2/deepgram-x-dev-hackathon-submission-post-placeholder-title-l9j
|
Deepgram x DEV Hackathon Submission Post Placeholder Title ー Overview of My Submission Submission Category Link to Code on GitHub Additional Resources Infoー My Deepgram Use Case Dive into Details Conclusionー |
2022-04-09 17:25:37 |
海外TECH |
DEV Community |
How to disable security in a PDF that prevents copy & paste |
https://dev.to/r3econ/how-to-disable-security-in-a-pdf-that-prevents-copy-paste-4gpg
|
How to disable security in a PDF that prevents copy amp pasteQPDF is a hefty library that can inspect and manipulate the structure of PDF files It can encrypt and expose the internals of a PDF file and do many other operations useful to end users and PDF developers Some PDF creators enable the read only mode for their documents In reality this way of protection has little sense It relies on PDF reader apps implementation letting them decide what to do when user tries to copy the text Many of them show error alerts with a message about disabled copying Of course the text is visible so nothing prevents us from reading it The alerts become especially annoying if you own the PDF You purchased it but since the protection mechanism is still there you re not allowed to CTRL C The following recipe shows how to solve the problem Download QPDF from the official website Install it according to the instructions for your OS Runqpdf decrypt in pdf out pdf |
2022-04-09 17:25:33 |
海外TECH |
DEV Community |
The Bitcoin Rainbow Chart! |
https://dev.to/danglewood/the-bitcoin-rainbow-chart-412j
|
The Bitcoin Rainbow Chart When Jose showed this to me it was love at first sight While pictures say a thousand words charts typically fall well short but not this one The BTC Rainbow chart has a life of its own and with inspiration he brought it to the OpenBB Terminal How many investment research platforms bring a playful chart like this together with legacy finance in a modern terminal environment Only one and it s OpenBB Will BTC continue along Rainbow Road Only time will tell This is only one of the many fascinating charts in the OpenBB Terminal Python and open source finance in a modern terminal environment It s MIT Open Source licensed so sharpen those crayons From The Rainbow Chart is not investment advice Past performance is not an indication of future results The Rainbow Chart is meant to be be a fun way of looking at long term price movements disregarding the daily volatility “noise The color bands follow a logarithmic regression introduced by Bitcointalk User trolololo in but are otherwise completely arbitrary and without any scientific basis We never change them though In other words It will only be correct until one day it isn t anymore Btw…here is the Ethereum Rainbow ChartJoin the community Discord Server for some hotTUItalk Official website |
2022-04-09 17:22:01 |
海外TECH |
DEV Community |
Precipitates, Plato, and Programming |
https://dev.to/sberdup/precipitates-plato-and-programming-16ea
|
Precipitates Plato and ProgrammingTo say that software development was always in my future would be a great exaggeration Sure I loved video games and computers growing up but I wasn t truly aware of the backstage code making it all possible and was more than content to just chicken peck my keyboard well into high school Similarly my experience with school during that time was that I enjoyed learning things in most classes but there weren t any that inspired me to step into their greater depths of knowledge The first one to defy this norm for me was th grade chemistry This subject struck a nice balance between physical and mathematical theories that weren t much by themselves and the practice of thoughtful experimentation to reveal something fundamentally amazing about the universe Outside of this passion I had a great appreciation for geometry French and even psychology but none could compete with the hands on aspect of chemistry A New WorldIt wasn t until my digital electronics class two years later that I once again had a class that let me take my knowledge and test it out in the real world In this class we were introduced to Boolean logic and gradually guided from there to understand logic gates Some time after that we were capable of designing large scale systems on a breadboard with capacitors resistors and many many wires that would be capable of carrying out a simple objective autonomously A circuit board that displayed my birthdate on an LED display I was so obsessed with all this that one day at my friend s house I realized the light switch at the top and bottom of his staircase both controlled the same bulb Applying what I d learned I immediately drew up a truth table for all the switch positions and recorded the lightbulb s output I was ecstatic when I discovered that whatever wiring was connecting the two switches to the bulb behaved exactly like a XOR gate Unfortunately my friend did not share the same elation and we swiftly moved on to our task of shooting virtual zombies on his PS powered by more transistors and logic circuits than either of us could conceive of One year and some months after that I found myself at CU Boulder totally set to rock my way through the next three years of a chemical engineering degree The first year had been interesting because I was learning my new rhythm of having independence albeit in a campus dorm room of square feet shared with another person and getting to learn all sorts of new things in algebra chemistry and introductory engineering I was doing quite well but other than my writing course where we had lively discussions hosted by a professor with a passion for inspiring our curiosity I didn t really feel like I was having an experience worth half of a brand spanking new Subaru Outback Lovely That is until I reached sophomore year and got into both my Greek philosophy and introduction to computer engineering courses Here were two classes on different ends of the conceptual to actual spectrum with dedicated instructors who clearly had a great deal of knowledge and interest in their subject Through philosophy I was introduced to some of the earliest conceptions of formalized logic and reasoning that figures from Plato to Diogenes Laertius would use to try and sort out everything from making a government to why the sun is probably a giant ball of fire really far away from us Meanwhile in my computer engineering course we were introduced to basic programming languages including Microsoft s Visual Basic in Excel and Matlab s proprietary language These were used as vehicles for us to craft programs and functions conceived in theory and ultimately executed with real data to obtain concrete figures and plans for the purposes of engineering A New Way of ThinkingThrough everything I learned and all the tests I passed in my two years at college the one thing that stuck with me more than anything else was a function I wrote for that engineering class It wasn t a very complicated function I needed to program but it took me the better part of a day to reason through I remember thinking through the problem conceptually and figuring out the different cases my algorithm would need to account for and what kinds of data I should expect The objective was to write a function that would accept two circles given the radius of each along with the distance between the two circles The function would then need to calculate the area taken up by the two circles including the case where they overlap without double counting any area I remember getting to the end of my coding plotting a sample curve to test whether my program worked and just staring at the resulting graph My function plotted for circles of radius and from a distance of to units It was exactly what I was imagining but it was a testament to the true power of logic and computation to bring a concept out like that into the real world And that s also what led me to realize I had chosen the wrong major To Begin AgainAfter a long bout with myself and careful stock of my situation I decided to return home and focus on many aspects of my health I d completely neglected in the single minded pursuit of being able to say I got a chemical engineering degree I ended up working real jobs for a while a harsh contrast to the only one I d held before as the overnight receptionist for the campus dorm halls I worked at grocery stores for a couple of years before moving into retail where I was able to go from unloading trucks at AM on a conveyor line to running a whole department by myself And after a couple years of that I decided I d had enough and joined Amazon to start from the bottom again Coincidentally I ended up in the stow department focusing on something much akin to merchandising at my previous workplace Although this place was in large part run by algorithms talked about by my coworkers as if they were pagan gods or some force of nature I d hear things like “the system doesn t like it when you try and put two similar items in the same bin and “the system goes around trying to clean up any little mistake we make Over the next two years I gained a lot of experience and slowly formed a picture of how the processes in the warehouse flowed and even got to learn how to troubleshoot them using our inventory website Now it s clear to me how people s interactions with the digital systems built into and behind the scenes of every Amazon warehouse influence the environment and culture of such a workplace Seeing this and reflecting on my past experiences and the opportunity Amazon has put in front of me through Flatiron School fills me with resolve To the FutureI don t have a “master plan for what I want from software development but I do have goals in mind Gain more autonomy in my career options hopefully starting out with a higher paying position within or close to my current Amazon Fulfillment Center Host my own website that I will build to represent me my interests and any fun or interesting projects I choose to share Learn enough about mobile development to work on my own grocery list app partially inspired by living with my roommates I am learning how to learn more than I ever did in all my schooling and I can t wait to be challenged more than I ve ever been in this bootcamp I am excited to begin a new journey of discovery and enter into a community of people making things we rely on that not everyone really stops and thinks about Lastly I am looking forward to sharing what I learn and getting to know people extraordinarily different from myself that will also use this medium to turn their conceptions into reality |
2022-04-09 17:20:52 |
海外TECH |
DEV Community |
How to use react-loader-spinner |
https://dev.to/folasayosamuel/how-to-use-react-loader-spinner-c4e
|
How to use react loader spinner What is react loader spinner react spinner loader provides simple React SVG spinner component which can be implemented for async await operation before data loads to the view How to use react loader spinner You can install the library using your favorite dependency manager Using yarn yarn add react loader spinnerUsing npm npm install react loader spinner saveHere are some examples of code on how to use react loader spinner in your react application Firstly Import required css Import the css to main app js file Code sample import react loader spinner dist loader css react spinner loader css Then import Audio from react loader spinner lt Audio height width color grey ariaLabel loading gt Note If webpack throws issue with css For older version of this package Change webpack config as test scss to test s css The newer version just import css file from node modules to app js Types of react loader spinner and implementationsAudio here is the implementation sample lt Audio color BFFF height width gt BallTriangle here is the implementation code sample lt BallTriangle color BFFF height width gt Bars here is the implementation code sample lt Bars color BFFF height width gt Circles here is the implementation code sample lt Circles color BFFF height width gt Grid here is the implementation code sample lt Grid color BFFF height width gt Hearts here is the implementation code sample lt Hearts color BFFF height width gt Oval here is the implementation code sample lt Oval color BFFF height width gt Puff here is the implementation code sample lt Puff color BFFF height width gt Rings here is the implementation code sample lt Rings color BFFF height width gt TailSpin here is the implementation code sample lt TailSpin color BFFF height width gt ThreeDots here is the implementation code sample lt ThreeDots color BFFF height width gt Note Rings spinner is not supported in Safari Check the demo hereThanks for reading Happy Coding |
2022-04-09 17:19:06 |
海外TECH |
DEV Community |
Is Svelte better than other framworks? |
https://dev.to/developerbishwas/is-svelte-better-than-other-framworks-1c3b
|
Is Svelte better than other framworks Svelte is a small lightweight and flexible front end framework In comparison to other frameworks it is a fraction of the size making development and maintenance easier Because Svelte generates code that is both concise and quality it is ideal for new developers who want to focus on creating features rather than tinkering with existing code While Svelte is not the most popular framework it does have a small community and is still gaining popularity The Svelte framework is an open source framework allowing users to add a large variety of features free of charge Svelte also has an active development environment on GitHub which means that you can find new features that have not been included in the original framework Svelte also has a high performance front end and a high performance server side rendering In short Svelte is the framework for your next web application Svelte has directives DI capabilities and a built in compiler These features make it possible to decouple components from their dependencies and facilitate readability and code reuse It also has several other advantages over other frameworks including its compact footprint simple syntax and a low learning curve You can also use Svelte with other frameworks including React However the disadvantages of Svelte may outweigh its benefits While many other frameworks include libraries Svelte is unique in that it includes code from the developer s file In addition it includes code that supports reactive wiring It also includes a invalidate function that informs other code of variable updates With a simple curly brace variables declared in Svelte are reactive The Svelte compiler generates a bundle with code from the Svelte source file Svelte does not have mature debugging and testing tools Its ecosystem is still growing so it might not meet your needs now It does not support priority based content in the user interface and may struggle with concurrent requests However its lightweight and extensible tools make it a good choice for small time applications Svelte is better than other frameworks but Svelte may not be the right choice for all projects Svelte has a low memory footprint The Svelte code is compiled into minimal JavaScript code As a result it is shipped in a small bundle allowing it to be parsed faster by the browser In addition Svelte s code is smaller allowing developers to develop faster And Svelte offers easy state management through its Svelte Stores and context API The DOM is updated every time a component stage changes Svelte can be configured to recompute logic in these scenarios Moreover Svelte s reactive declarations allow you to assign variables to components such as the current page React like behavior can be achieved by adding a dollar sign to the variables Hence Svelte makes it easy to use Svelte is fast However it s not suitable for large projects Its community is still relatively small And it offers too much flexibility for large projects which results in errors and inconsistent code The ecosystem is very large but there is little support for most resources and tools This can cause problems especially when you re working with large data sets Then there s the issue of compatibility Some external tools are not compatible with Vue and other frameworks Svelte has many advantages Svelte is easy to use but some aspects of it can be difficult to learn The documentation for Svelte can be a bit confusing and outdated It s also hard to find information on TypeScript and it s not possible to specify which type to assign to Svelte components Moreover Svelte doesn t support array mutations which can cause coding delays and potential bugs Svelte also reduces data Compared to React and Vue Svelte s code is smaller and requires less data The frameworks use a virtual DOM but most of the code is converted into ideal JS code by the browser Svelte does not use this virtual DOM instead it converts itself into Javascript at build time and runs in the browser Svelte also writes code that surgically updates the DOM when the app changes |
2022-04-09 17:18:59 |
海外TECH |
DEV Community |
Voice Collab Deepgram - Let's harness the power of voice 🗣👩💻 |
https://dev.to/sandy_codes_py/voice-collab-deepgram-lets-harness-the-power-of-voice-e6k
|
Voice Collab Deepgram Let x s harness the power of voice There is so much you can do with your voice but you need the right tools to make it happen as you like this is where Deepgram comes into play You get Real Time speech to text translation Overview of My SubmissionVoice Collab Deepgram is a VS Code extension that Lets you harness the power of voice to collaborate and interact with your code and the people you work with Often as a software developer you might feel like you re alone at least I feel that way when I work on hackathon projects or working on something intense so this extension not only gets the voice input but also talks with you For every action phrase that it triggered there is voice feedback so it makes the experience more humanly Click here to get the extension from VS Code marketplace or type voice collab deepgram in your VS Code extension explorer Submission Category Wacky Wildcards YouTube Live Demo GitHub Repo Santhoshkumard Voice Collab Deepgram Let s harness the power of voice to collaborate and interact with your code and the people you work with Voice Collab Deepgram Let s harness the power of voice to collaborate and interact with your code and the people you work withWhat it can do everything with just voice Trigger your Azure DevOps pipeline buildCall a person on Microsoft TeamsOpen Microsoft Teams Chat of a personOpen Outlook of a personGet total pipeline runsCrack a programmer jokeTell a funny programmer storyChat with Sandy Powered By OpenAI s GPT model OptionalGenerate code Powered by OpenAI s Codex model OptionalLock ScreenMore Coming soon Setup the environment WindowsRequires Python and aboveRequires node Once you install the extension hit Ctrl r to open Run and type USERPROFILE vscode extensionsSearch for sandy codes py voice collab extensionOpen a Powershell command prompt inside the extension… View on GitHub Architecture Diagram What it can do everything with just voice Trigger your Azure DevOps pipeline buildCall a person on Microsoft TeamsOpen Microsoft Teams Chat of a personOpen Outlook of a person Get total pipeline runsCrack a programmer jokeTell a funny programmer storyLock ScreenChat with Sandy Powered By OpenAI s GPT model Only if you have the Beta accessGenerate code Powered by OpenAI s Codex model Only if you have the Beta accessMore Coming soon Few of the commands you can useDescriptionTrigger phrasesTriggering Azure DevOps pipelinesay start build or trigger pipeline buildCreate the requirements txt filesay create requirements txt or create requirements fileGet all Azure DevOps pipeline runs countsay get total pipeline runsCall someone on Microsoft Teamssay call megan this name could any name from MSFT ACCOUNT NAME LIST list in constants py file Email someone on Outlooksay email meganOpen up someone s Microsoft Teams Chatsay open megan s chatSpeak out commands you can usesay show help or help or what are the commands I can useSpeak out all the commands you can usesay help more or list all the commands I can usePush the code to remotesay git push or push code still in progress Commit code and lock the screensay taking a break or break timeLock the user screensay lock screenCrack a random programmer jokesay crack a joke or joke about programmers or make me feel betterNarrate a random programmer storysay tell a story or story timeChat with Sandy OpenAI API Key required say hey sandy or sandy and then say the phrase you wanna ask Example Am I the best programmer in the world Generate code OpenAI API Key required say hey codex or codex and then say what you want Example Create a Python class with name Employee Create a Python dictionary with country and it s capitals ConclusionThis is a developer friendly VS Code extension that can be expanded with a bit of work It s more focused on developers who need things to be done with voice Just turn it on and enjoy the conversation while you work Detailed instructions can be found on the repo s README md file My Specs TestedPython Deepgram Python SDKHP Omen GB RAM DDRIntel Core i H GHzGTX GB GDDR ltag user id follow action button background color dcf important color fc important border color dcf important Santhosh Kumar DFollow Data Engineer at Cognizant MCT Winner of Azure Developer Stories amp AzConf Azure Certified X Python Hackathon Enthusiasts Technical Writer at Medium Proactive Programmer Let s connect LinkedIn K Fam Instagram Twitter |
2022-04-09 17:16:30 |
海外TECH |
DEV Community |
Firebase limits doc fields |
https://dev.to/neoprint3d/firebase-limits-doc-fields-19jk
|
Firebase limits doc fieldsToday I ill be figuring out the max amount of items a single firestore doc can have and why that is a problem The problemWe all know how limiting firestore is but don t get me wrong the developer experience is amazing just plop down some functions to create read and update data it s super easy and simple Firestore sucks at relational data at scale One way to represent relationships is having other document ids and embed it into the document but truly how many document ids can fit into one document The answer is that each firestore document can have at max different items in a document after that many items adding anything else does not work You might ask who would need that many items in a single document Well features like followers where you grab the others user uid to show a follower and followee relationship is impossible unless you add more documents to show the relationship where it could check first document then second document with a list of uids But that is clunky and doesn t work well So unless the firebase team can do something better for relational data firestore is an inadequate option for large scale relational data |
2022-04-09 17:14:12 |
Apple |
AppleInsider - Frontpage News |
Lululook iPad mini 6 Magnetic Stand Review: a must-have iPad mini accessory |
https://appleinsider.com/articles/22/04/09/lululook-ipad-mini-6-magnetic-stand-review-a-must-have-ipad-mini-accessory?utm_medium=rss
|
Lululook iPad mini Magnetic Stand Review a must have iPad mini accessoryLululook has produced a few iPad stands that take advantage of the many magnets in the rear iPad casing but the iPad mini Magnetic Stand is the best iteration yet This iPad mini stand makes your iPad look like a tiny iMacThere are a multitude of cases stands and accessories on the market targeted toward iPad users However none have the simplicity design and price point of the Lululook iPad mini Magnetic Stand Read more |
2022-04-09 17:22:37 |
海外TECH |
Engadget |
NASA delays Artemis 1 Moon rocket test to April 12th |
https://www.engadget.com/nasa-delays-sls-wet-dress-rehearsal-april-12-171923810.html?src=rss
|
NASA delays Artemis Moon rocket test to April thNASA has once again delayed the final test of its next generation Space Launch System The agency spent much of last weekend conducting a “wet dress rehearsal of its upcoming Artemis Moon mission The test was designed to replicate the mission s countdown procedure and was mostly moving along according to plan until NASA encountered a problem with the SLS s mobile launcher platform The issue prevented the agency from safely loading the rocket with liquid propellant and NASA delayed the critical test to troubleshoot the problem It had initially planned to resume the test on April th to accommodate Axiom s Space historic Ax flight but announced today it was further delaying the trial to the start of next week It also announced it would modify the test after engineers noticed a problem with a helium check valve designed to prevent the gas from escaping the SLS The modified test will see NASA primarily focus on fueling the rocket s core stage with “minimal propellant operations quot of its upper stage “Due to the changes in loading procedures required for the modified test wet dress rehearsal testing is slated to resume with call to stations on Tuesday April th and tanking on Thursday April th quot NASA said Once the test is complete NASA can finally move forward with Artemis The mission will send an unmanned Orion capsule on a flight around the Moon designed to study how the trip will affect human astronauts The agency won t set a date for the mission until it completes the wet dress rehearsal If it doesn t encounter any further setbacks this week Artemis could lift off as early as this June |
2022-04-09 17:19:23 |
ニュース |
BBC News - Home |
Ukraine: Johnson pledges aid to Zelensky in Kyiv meeting |
https://www.bbc.co.uk/news/uk-61052643?at_medium=RSS&at_campaign=KARANGA
|
ukraine |
2022-04-09 17:19:50 |
ニュース |
BBC News - Home |
Waley-Cohen wins Grand National in last ride |
https://www.bbc.co.uk/sport/horse-racing/61050667?at_medium=RSS&at_campaign=KARANGA
|
fairytale |
2022-04-09 17:41:52 |
ニュース |
BBC News - Home |
Southampton 0-6 Chelsea: Saints blown away by devastating Blues display |
https://www.bbc.co.uk/sport/football/60963798?at_medium=RSS&at_campaign=KARANGA
|
Southampton Chelsea Saints blown away by devastating Blues displayChelsea put a terrible week behind them to return to winning ways in devastating style as they score four times in the opening minutes against Southampton |
2022-04-09 17:49:27 |
ニュース |
BBC News - Home |
Ralf Rangnick questions whether Man Utd deserve Europe after Everton defeat |
https://www.bbc.co.uk/sport/football/61053312?at_medium=RSS&at_campaign=KARANGA
|
Ralf Rangnick questions whether Man Utd deserve Europe after Everton defeatRalf Rangnick says Manchester United do not deserve to play in the Champions League next season based on their performance in the loss to Everton |
2022-04-09 17:13:27 |
ニュース |
BBC News - Home |
Watford 0-3 Leeds United: Visitors take huge step towards safety after comfortable win |
https://www.bbc.co.uk/sport/football/60963796?at_medium=RSS&at_campaign=KARANGA
|
Watford Leeds United Visitors take huge step towards safety after comfortable winLeeds take a huge step towards Premier League safety with victory at fellow strugglers Watford whose own survival hopes were dealt another blow at Vicarage Road |
2022-04-09 17:36:46 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【東大名誉教授が読み解く!】なぜロシアでは「独裁者」が生まれやすいのか? - アメリカの中学生が学んでいる14歳からの世界史 |
https://diamond.jp/articles/-/300267
|
【東大名誉教授が読み解く】なぜロシアでは「独裁者」が生まれやすいのかアメリカの中学生が学んでいる歳からの世界史発売たちまち重版刷アメリカで発刊後、中国・ドイツ・韓国・ブラジル・ロシア・ベトナム・ロシアなど世界各国にも広がった「学び直し本」の圧倒的ロングセラーシリーズ「BigFatNotebook」の日本版が刊行。 |
2022-04-10 02:50:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【出口学長・日本人が最も苦手とする哲学と宗教特別講義】 9割の人が知らない! 仏教とジャイナ教の“決定的な”違いとは? - 哲学と宗教全史 |
https://diamond.jp/articles/-/299070
|
|
2022-04-10 02:45:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【9割の人が知らない Google の使い方】 デキるビジネスパーソンがGW中に絶対にメールでしないこと - Google 式10Xリモート仕事術 |
https://diamond.jp/articles/-/300901
|
ビジネスパーソンも「リモート強者」と「リモート弱者」に二極化しつつある今、あなたは「リモート強者」かそれとも「リモート弱者」かそんな時、心強い味方が現れた。 |
2022-04-10 02:40:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
なぜ、日本人は「短期、一括、集中」という投資が好きなのか? - 最新版つみたてNISAはこの9本から選びなさい |
https://diamond.jp/articles/-/301303
|
|
2022-04-10 02:35:00 |
海外TECH |
reddit |
Fnatic vs. G2 Esports / LEC 2022 Spring Playoffs - Losers' Bracket Final / Post-Match Discussion |
https://www.reddit.com/r/leagueoflegends/comments/tzyalk/fnatic_vs_g2_esports_lec_2022_spring_playoffs/
|
Fnatic vs G Esports LEC Spring Playoffs Losers x Bracket Final Post Match DiscussionLEC SPRING PLAYOFFS Official page Leaguepedia Liquipedia Live Discussion Eventvods com New to LoL Fnatic G Esports G advances to face RGE in the finals FNC ends third Series MVP Jankos FNC Leaguepedia Liquipedia Website Twitter Facebook YouTube Subreddit G Leaguepedia Liquipedia Website Twitter Facebook YouTube Subreddit MATCH FNC vs G Winner G Esports in m Bans Bans G K T D B FNC volibear hecarim sylas rakan irelia k H G zeri caitlyn leblanc viego lee sin k H M I HT B HT FNC vs G Wunder jayce TOP ornn Broken Blade Razork diana JNG jarvan iv Jankos Humanoid twisted fate MID ahri caPs Upset jinx BOT aphelios Flakked Hylissang thresh SUP renata glasc Targamas MATCH FNC vs G Winner G Esports in m Bans Bans G K T D B FNC volibear twisted fate hecarim rakan renata glasc k M G zeri caitlyn leblanc azir akali k H I H HT HT B FNC vs G Wunder gragas TOP ornn Broken Blade Razork lee sin JNG jarvan iv Jankos Humanoid kaisa MID ahri caPs Upset aphelios BOT xayah Flakked Hylissang thresh SUP nautilus Targamas MATCH FNC vs G Winner G Esports in m Bans Bans G K T D B FNC twisted fate ahri jarvan iv rakan renata glasc k HT H I B G zeri caitlyn leblanc camille jayce k C H I I I B FNC vs G Wunder gangplank TOP gnar Broken Blade Razork hecarim JNG volibear Jankos Humanoid Nisqy viktor MID sylas caPs Upset aphelios BOT xayah Flakked Hylissang nautilus SUP braum Targamas This thread was created by the Post Match Team submitted by u Embarrassed Can to r leagueoflegends link comments |
2022-04-09 17:44:05 |
コメント
コメントを投稿