投稿時間:2022-04-14 00:35:32 RSSフィード2022-04-14 00:00 分まとめ(41件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
python Pythonタグが付けられた新着投稿 - Qiita docker compose で起動したコンテナ内での pytest 実行時に breakpoint で止める https://qiita.com/nassy20/items/4fa133b5d9f154fd3c2d breakpoint 2022-04-13 23:45:46
Ruby Rubyタグが付けられた新着投稿 - Qiita RSpecのテストコードの大まかな流れ https://qiita.com/Q-junior/items/aab9e5b927f4a007d827 before 2022-04-13 23:13:12
Ruby Rubyタグが付けられた新着投稿 - Qiita 【LeetCode】110. Balanced Binary Treeを解いてみた https://qiita.com/kazuki-ayimon/items/8126849f58902b186300 balancedbinarytree 2022-04-13 23:08:41
Docker dockerタグが付けられた新着投稿 - Qiita docker compose で起動したコンテナ内での pytest 実行時に breakpoint で止める https://qiita.com/nassy20/items/4fa133b5d9f154fd3c2d breakpoint 2022-04-13 23:45:46
Docker dockerタグが付けられた新着投稿 - Qiita M1 Mac(Docker, Jupyter-notebook)でCirqを使った量子計算の学習 https://qiita.com/gAuk/items/7191fbd36cc78bf76724 versionservicesci 2022-04-13 23:08:21
技術ブログ Developers.IO Flutterアプリ開発ではflutter devices/flutter runコマンドを使いこなせると便利そう https://dev.classmethod.jp/articles/master-the-flutter-devicesflutter-run-command-in-flutter-app-development/ flutter 2022-04-13 14:55:05
海外TECH Ars Technica Subaru is the latest automaker to add what3words navigation https://arstechnica.com/?p=1847702 lotus 2022-04-13 14:26:49
海外TECH MakeUseOf How to Make a Simple Animation Using Adobe Illustrator and After Effects https://www.makeuseof.com/create-animation-adobe-illustrator-after-effects-how-to/ effects 2022-04-13 14:45:14
海外TECH MakeUseOf How to Change the Cover of Your Google Photos Albums https://www.makeuseof.com/change-cover-google-photos-albums/ android 2022-04-13 14:30:14
海外TECH MakeUseOf How to Get More Matches on the Bumble Dating App https://www.makeuseof.com/tag/matches-bumble-dating-app/ bumble 2022-04-13 14:16:16
海外TECH MakeUseOf 9 Ways to Fix the Windows PowerShell When It Pops Up on Restart https://www.makeuseof.com/windows-powershell-pops-up-on-restart-fix/ restartis 2022-04-13 14:16:15
海外TECH DEV Community Building a Slack App with Native SFDC Integration https://dev.to/salesforcedevs/building-a-slack-app-with-native-sfdc-integration-502e Building a Slack App with Native SFDC Integration Synchronizing DataAt last we ve arrived at the final part of our series on using Salesforce s Slack Starter Kit to quickly scaffold a deployable Slack App that interacts with Salesforce data The Slack Starter Kit makes it tremendously easy to authenticate with Salesforce organize your code into reusable chunks and deploy the project to Heroku for live access We ve largely based this series on these video tutorials showcasing how to build Slack Apps In our first post we got acquainted with the Slack Starter Kit and set up our development environment In our second post our Slack app issued a query to fetch data from a Salesforce org and then presented the result with UI components from Block Kit Now we re going to extend that pattern to showcase how you can edit Salesforce data entirely within Slack Let s get started Photo by Edgar Moran on Unsplash Creating a shortcutOutside of the Block Kit UI Slack has support for two other interactivity systems Slash Commands and shortcuts Slash Commands are entered by a user in Slack s text input available in every channel while shortcuts are graphical in nature Since they re easier to visualize we ll demonstrate shortcuts by creating a shortcut that will fetch our list of contacts and give us the ability to edit them Adding a shortcut or a Slash Command for that matter first requires that you tell Slack the name of the command Go to your app s Overview page on Slack and then click Interactivity amp Shortcuts Click Create New Shortcut and select Global as your shortcut type then click Next On the next page enter these values Name Edit contactsShort Description Edits contacts on SFDCCallback ID edit contact shortcutClick on Create then click Save Changes Switch over to your Slack workspace and click on the plus sign in the text area You ll be able to browse all of your workspace shortcuts Here you ll also see the brand new shortcut you just created This shortcut doesn t do anything yet but this process is necessary for Slack to know about your shortcut Next let s add the code to handle the event that fires whenever someone clicks on this shortcut Wiring up the shortcutIn your code editor navigate to apps slack salesforce starter app listeners shortcuts index js This is the spot where we connect shortcut events to the code that s executed There s already one shortcut given to us by the Starter Kit whoami The given line suggests to us what we need to do We call a function called shortcut and pass in a string and a function name In this case our string is the callback ID we previously defined and our function name is the code we ve yet to write Change the file contents to look like this const whoamiCallback require whoami const editContactCallback require edit contact module exports register app gt app shortcut who am i whoamiCallback app shortcut edit contact shortcut editContactCallback We re laying the groundwork here by saying “Slack App if you get a shortcut with a callback ID of edit contact shortcut run editContactCallback In this same folder create a file called edit contact js and paste these lines into it use strict const editContactResponse authorize sf prompt require user interface modals const editContactCallback async shortcut ack client context gt try await ack if context hasAuthorized const conn context sfconnection await client views open trigger id shortcut trigger id view await editContactResponse conn else Get BotInfo const botInfo await client bots info bot context botId Open a Modal with message to navigate to App Home for authorization await client views open trigger id shortcut trigger id view authorize sf prompt context teamId botInfo bot app id catch error eslint disable next line no console console error error module exports editContactCallback Now this might look intimidating but most of it simply concerns the authentication boilerplate ensuring that a user has an active SFDC connection In the first logical path if context hasAuthorized is true we execute a function called editContactResponse which accepts our open Salesforce connection In the negative case we ask the user to go to the Home tab to reauthenticate just as we did in Part of this tutorial Navigate to the apps slack salesforce starter app user interface modals folder and create a file called edit contact response js Here we ll pop open a modal with contact information similar to the rows we saw in the Home tab in Part of this tutorial use strict const Elements Modal Blocks require slack block builder const editContactResponse async conn gt const result await conn query Select Id Name Description FROM Contact let records result records let blockCollection records map record gt return Blocks Section text record Name n record Description accessory Elements Button text Edit actionId edit contact value record Id return Modal title Salesforce Slack App close Close blocks blockCollection buildToJSON module exports editContactResponse The main difference between the code in Part and this block is that we re using an array called blockCollection which lets us construct an array of blocks in this case Section blocks blocks knows how to take this array and transform it into a format that Slack understands which makes it super simple to create data through a looped array as we ve done here In Part of our series we constructed a giant string of data By using BlockCollection however we can attach other Slack elementsーsuch as buttonsーwhich we ve done here Lastly in apps slack salesforce starter app user interface modals index js we ll need to export this function so that it can be imported by our edit contact js function use strict const whoamiresponse require whoami response const editContactResponse require edit contact response const authorize sf prompt require authorize sf prompt module exports whoamiresponse editContactResponse authorize sf prompt After you ve deployed this new code to Heroku via git push switch to your Slack workspace and try executing the shortcut you ll be greeted with a dialog box similar to this one Updating Salesforce dataWe re able to fetch and display Salesforce data Now it s time to connect the Edit button to change Salesforce data Many of Slack s interactive components have an action id which like the callback id serves to identify the element which a user acted upon Just like everything else in the Starter Kit there s a special directory where you can define listeners for these action IDs apps slack salesforce starter app listeners actions In the index js file there let s add a new line that ties together the action ID with our yet to be written functionality use strict const appHomeAuthorizeButtonCallback require app home authorize btn const editContactButtonCallback require edit contact btn module exports register app gt app action authorize with salesforce appHomeAuthorizeButtonCallback app action edit contact editContactButtonCallback In this same folder create a new file called edit contact btn js and paste these lines into it use strict const editIndividualContact authorize sf prompt require user interface modals const editContactButtonCallback async body ack client context gt const contactId body actions value try await ack catch error eslint disable next line no console console error error if context hasAuthorized const conn context sfconnection const result await conn query SELECT Id Name Description FROM Contact WHERE Id contactId let record result records await client views push trigger id body trigger id view editIndividualContact record else Get BotInfo const botInfo await client bots info bot context botId Open a Modal with message to navigate to App Home for authorization await client views push trigger id body trigger id view authorize sf prompt context teamId botInfo bot app id module exports editContactButtonCallback The beginning and ending of this file should look familiar We re sending an ack response back to Slack to let it know that our app received the event payload in this case from clicking on the Edit button We re also checking whether or not we re still authenticated Here we re doing a single DB lookup using the ID of the contact which we attached as a value to the Edit button when constructing our UI This chunk of code creates another modal design which we need to define Back in apps slack salesforce starter app user interface modals create a file called edit individual contact js and paste these lines into it use strict const Elements Modal Blocks require slack block builder const editIndividualContact record gt return Modal title Edit Contact close Close blocks Blocks Input blockId description block label record Name element Elements TextInput placeholder record Description actionId record Id submit Save callbackId edit individual buildToJSON module exports editIndividualContact Here we ve created a modal with a single block an input element The element will be pre populated with the contact s description We can edit this block and change the description to whatever we want There are two important notes to point out in this code snippet Notice that we re attaching an actionId to the input element This is analogous to the ID we attached to the Edit button earlier except this time it s dynamically generated based on the ID of the record we re editing You ll also notice that we have another ID the callbackID which is attached to the modal itself Keep the existence of these IDs in the back of your mind we ll address both of these in a moment For now open up the index js file in this same directory and require export this new modal creating function const editIndividualContact require edit individual contact module exports whoamiresponse editContactResponse editIndividualContact authorize sf prompt Now when you click the Edit button you ll be prompted to change the description We now need to send this updated text to Salesforce Click on the Save button and…nothing happens Why Well Slack has a different set of events for interactions like these called view submissions The Starter Kit provides a good jumping off point when building an app but it doesn t handle every Slack use case including this one But that s not a problemーwe ll add the functionality ourselves Within the apps slack salesforce starter app user interface folder create a new folder called views Just like before our Save button here has an action ID to identify it edit individual contact We ll head back into apps slack salesforce starter app listeners actions index js to configure this to a function const editIndividualButtonCallback require edit individual btn app action edit individual contact editIndividualButtonCallback Create a new file called edit individual contact js and paste these lines into it use strict const submitEditCallback require submit edit module exports register app gt app view edit individual submitEditCallback This format is identical to the other listeners provided by the Slack Starter Kit The only difference is that we are calling the view method We also need to register this listener alongside the others Open up apps slack salesforce starter app listeners index js and require register the new view listener const viewListener require views module exports registerListeners app gt viewListener register app Next in apps slack salesforce starter app listeners views create another file called submit edit js and paste these lines into it use strict const editContactResponse authorize sf prompt require user interface modals const submitEditCallback async view ack client context gt try await ack catch error eslint disable next line no console console error error if context hasAuthorized const contactId view blocks element action id const newDescription view state values description block contactId value const conn context sfconnection await conn sobject Contact update Id contactId Description newDescription await client views open trigger id view trigger id view await editContactResponse conn else Get BotInfo const botInfo await client bots info bot context botId Open a Modal with message to navigate to App Home for authorization await client views push trigger id view trigger id view authorize sf prompt context teamId botInfo bot app id module exports submitEditCallback Let s discuss those IDs that we set before When Slack sends event payloads over to our app it automatically generates an ID for every input element by default That s because Slack doesn t know what the underlying data is It s your responsibility to name the elements via action IDs Slack uses these IDs as keys to populate the payload When you receive Slack s payload you can use the keys you provided to parse the data the user entered Now if you go through the flow to edit your contact s description you ll notice that the modal will correctly save To verify that the data on the Salesforce side was updated run sfdx force org open in your terminal and navigate to the Contacts tab ConclusionThe Slack Starter Kit has made it an absolute breeze to build a Slack App that listens to user events Beyond that though it also makes interacting with Salesforce and Heroku an absolute pleasure We ve covered just about everything that the Starter Kit can do If you d like to learn more about how Slack and Salesforce can work together check out our blog post on building better together Also the backend framework that interacts with Salesforce is the wonderful JSforce project Be sure to check out both its documentation and the Salesforce API Reference to learn more about what you can build 2022-04-13 14:36:35
海外TECH DEV Community You can only use one programming language for the rest of your life. What do you choose? https://dev.to/dinerdas/you-can-only-use-one-programming-language-for-the-rest-of-your-life-what-do-you-choose-49e6 Detail Nothing 2022-04-13 14:24:37
海外TECH DEV Community How Much Does it Cost to Develop a Mobile App? https://dev.to/miller921/how-much-does-it-cost-to-develop-a-mobile-app-2f43 How Much Does it Cost to Develop a Mobile App Nowadays in the era of technology it s no surprise that nearly every entrepreneur is looking to bring their business to mobile devices When it comes to developing a mobile app for business owners who find themselves in the market they might be amazed at the estimated costs of mobile app development Eventually they might think “It s just an app How much does it cost to build a mobile app As software developers we can only come up with calculations for custom web or mobile apps And at the end of the day the final cost tag will come down to something like complexness in both design and functionality platform choice endless maintenance and QA needs Here are mainly areas that depend on the estimated cost to build a mobile app Design Features branding animations UX etc Technical Components API integrations application credentials etc Maintenance bug solving server side cost OS upgrades etc Some Factors that Affect Mobile App Development CostThe cost of developing mobile apps is affected by multiple points of view for example the development process the type of application availability of reusable off the shelf components developers experience software complexity etc PROTOTYPING amp DESIGNDEVELOPMENTQA TESTINGMAINTENANCE Here are some complexity of the feature that can be in your mobile appAs you know that more complex the features of an app are the more costly it will be to develop A complicated app often suggests things like third party integrations server side logic admin panels or the use of mobile hardware like Bluetooth or GPS So we can see that each of these things has a particular cost for both developers and third party services Hidden Mobile App Development CostIf you are getting a quote from a not very experienced team then various things directly impact сosts of app development Check these critical items Back End DevelopmentSaaS amp SDK FeesServer Hosting How to Optimize App Development CostsExperienced app developers have a few tricks up their sleeves to kick down the cost to develop a mobile app I would like to suggest you follow these best techniques to provide your app budget Research product Market fitCreate a prototype Streamline Project Management with Agile To assure that a single dollar of the budget donates to the bottom line you must set up a project management framework Here are the benefits of the agile software development approach TransparencyFlexibilityQuicker time to marketLean budgetI hope you enjoyed the article and if you want to get more such information stay tuned with us 2022-04-13 14:15:28
海外TECH DEV Community Templates and Static files in Flask https://dev.to/ramanbansal/templates-and-static-files-in-flask-6h3 Templates and Static files in Flask IntroductionTemplates and static files helps on various aspects of web development In previous tutorial we learned how to run a hello world program in flask but the way we used in the tutorial can not be used in large projects Why templates While working on large projects we need to render large html codes in the browser and if we just return the html code in the previous way then it become very difficult to work with it Therfore we save the html code in html files and render in the flask app with the help of Jinja template engine So in this tutorial we will see how to use templates and static files in flask Rendering templatesIn order to render templates you need to create a templates subfolder in which you can store templates By default the Flask looks for templates in a templates subfolder located inside the applicaion folder Here is the code for rendering the templates in Flask from flask import Flask render templateapp Flask name app route def home return render template home html if name main app run debug True To render templates we use render template function This render template function integrates the Jinja template engine with the application It takes the filename template name as its first argument Any additional arguments are key value pairs that represent actual values for variables referenced in the template Using variables in templatesLet s understand the usage of variables in template with the help of example from flask import Flask render templateapp Flask name app route def home name Sam return render template home html name name if name main app run debug True In the above code we add an additional argument name which we will use in our template home html Here is the html code of Home html lt DOCTYPE html gt lt html gt lt head gt lt meta charset UTF gt lt meta name viewport content width device width initial scale gt lt title gt Home lt title gt lt head gt lt body gt lt h gt Hello name lt h gt lt body gt lt html gt The name construct used in the template references a variable that tells the template engine that value of name variable the addional argument should be placed here Jinja can recognize variables of any type It can recognize complex types such as lists dictionaries and objects Following are some more examples of variables used in templates lt p gt A value from a dictionary mydict key lt p gt lt p gt A value from a list mylist lt p gt lt p gt A value from a list with a variable index mylist myintvar lt p gt lt p gt A value from an object s method myobj somemethod lt p gt Static filesIn order to make the site more attractive we need static files A powerful application cannot be useful without static files like javascript images and CSS To use static files in application you need to create a static subfolder which we store static files After that you need to call url for static filename css styles css external True which will return http localhost static css styles css Let s say that you want to load static file favicon ico in your HTML template You will insert the following block of code in your template lt link rel icon href url for static filename favicon ico type image x icon gt ThanksRead the full article Templates and Static files in flask 2022-04-13 14:14:50
海外TECH DEV Community What is SAWO Labs Champ Program? https://dev.to/asmit2952/what-is-sawo-labs-champ-program-41id What is SAWO Labs Champ Program Hey everyone you might have heard about different ambassador programs or student community programs which help students grow their soft skills and hard skills There are tons of ambassador programs available you can check a few of them here Today I am going to introduce you to a new ambassador program called SAWO Labs Champ Program and tell you how I applied got selected and my journey so far What is SAWO Labs SAWO is an authentication solution that helps websites and apps onboard users without passwords and OTPs thus reducing bounce rate and increase conversion Check their official documentation here What is SAWO Labs Champ Program SAWO Labs Champ Program is an initiative led by SAWO Labs which aims to uplift contributors who are adding value to the community using SAWO This is their way of saying thank you to the contributors who help SAWO grow as a product and as a community In the Champ Program there are two profiles Developer Champ Champs who will contribute to SAWO SDK by using it in different projects provide feedbacks to the developers and inspire others to use SAWO in their projects and join their Discord community Community Champ Champs who will contribute by speaking and hosting community events of SAWO They can publish technical blogs write about experiences with SAWO inspire others to use SAWO in their projects and join their Discord community How I got in I first heard about SAWO Labs when I participated in Developer Days hackathon I joined the Discord community and everyone was so welcoming Got so many insights on different career opportunities got handful of great resources made new friends overall this was the best online community I ever joined Then in the month of February I came across SAWO Labs Champ Program The deadline for applying was days away when I heard about this program I quickly applied and was hoping to get selected I thought applying late would make very little sense as many people might have applied and got selected already But to my surprise I received a selection mail saying that my application has been accepted and there would be a telephonic interview First interview was conducted by Animesh Pathak and Chhavi Garg both were SAWO Champs from Cohort I was nervous and hoping my interview goes well The interview went very well questions were based on our technical skills what do you expect from this community and how would you contribute towards it After a few days I got another mail saying that I aced my first interview and they would like to conduct nd and final interview round This interview was conducted by Meghna Das she is community manager at SAWO Labs This was more of getting to know the community and why should they consider me as a Champ for this program This interview also went very well and finally after a few days I get a selection mail saying I was selected into the program My experience with the communityAfter getting selected there was an onboarding call where all the Developer and Community Champs interacted with each other All of them shared their fun little experiences but the main highlight of that call was Prabhat Sahu He made the onboarding call so much more interactive and fun The SAWO community is growing and has been great throughout You can share your resources hangout with community members participate in weekly quizzes get your GitHub profile reviewed My profile was reviewed by Aditya Oberai and since then I have improved upon it and got so many new opportunities There are so many benefits one can get by joining SAWO Labs After getting selected into program they made social mentions on their public profiles Did I tell you they give out swags Yes you read it correct after winning a weekly quiz they send out swags to top three winners Any Harry Potter fans here SAWO Labs have divided Champs into four houses Gryffindor Hufflepuff RavenclawSlytherinI am part of Hufflepuff which is led by previous Super Champ Divya Sri Darimisetti In this program we are engaged in doing tasks which can be writing blogs building projects spreading the word about this community etc There are weekly fun sessions on Discord channel where all community members interact with each other If you get stuck anywhere while using SAWO SDK or have any doubts you can even have one on one call with Super Champs My takeawaysIn these months I learned a lot from this community It helped me grow personally and professionally With the tasks support and the resources they gave I was able to learn how to work in a team solve queries manage my time and increase my engagement with online community overall Hope this blog helped you all to understand what SAWO Labs Champ Program is and how it can benefit you if you are a part of it Do join SAWO community today on Discord 2022-04-13 14:14:10
海外TECH DEV Community Use Storybook with Laravel Jetstream, Inertia and TailwindCSS https://dev.to/rachids/use-storybook-with-laravel-jetstream-inertia-and-tailwindcss-41oa Use Storybook with Laravel Jetstream Inertia and TailwindCSSDo you want to use Storybook in your Laravel App using Jetstream and Inertia Have you met some resistance and gave up because of Webpack Then this post might help you It is the result of frustrating search over the web to make it work Hope you ll enjoy it ForewordBefore we begin I d like to emphasis that my knowledge in frontend is extremely limited As Jon Stark I know nothing Webpack related and this post is really here to help people struggling to make Storybook work with Jetstream Inertia and Tailwind If you spot some horrendeous mistakes or anything that could be improved please contact me through Twitter and I ll gladly update this post I wrote this post using this stack Laravel vJetstream vInertia vTailwindCSS vStorybook v Install Storybooknpx sb initThis command will snoop inside your package json dependencies in order to determine which starting scripts Storybook will use It will also install some dependencies build a default configuration and sprinkle some default stories to begin with After installing it you ll realize running Storybook will fail dramatically info storybook vue v infoinfo gt Loading presetsinfo gt Using implicit CSS loadersinfo gt Using prebuilt managerinfo gt Using default Webpack setupERR TypeError Cannot read property NormalModule of undefinedIt is using the wrong version of Webpack Let s fix this Use the proper Webpack versionLet s start by adding two dependencies that sb init missed while snooping our project In package json I ll add these two devDependencies storybook manager webpack storybook builder webpack Then we tell Storybook to use the proper builder by adding a new key in the object declared in storybook main js core builder webpack Let s run npm install amp amp npm run storybook and this time you should be able to check your brand new Storybook Now let s add a story for a Jetstream s component let s say the button Create a storyRemove the default stories that come by installing Storybook and inside a stories Button stories js let s create our button s story import Button from Jetstream Button vue export default title Jetstream Button component Button const Template args gt components Button setup return args template lt Button v bind args gt Test Button lt Button gt export const MyButton Template bind It shouldn t work because Storybook can t resolve Jetstream Button vue Let s fix this Fixing aliasesInside storybook main js right after the core key we declared some steps ago we ll add a new one called webpackFinal and put the aliases we have in our webpack mix js like this webpackFinal async config gt config resolve config resolve alias config resolve alias resources js return config Now we can restart our Storybook with npm run storybook and it should be good Well not totally Where is Tailwind Importing TailwindWe need to tell Storybook to do some fancy stuff with postcss because well I don t know and frankly I m afraid to ask But adding this rule to the webpackFinal key we added previously makes it work It s cool right Right config module rules push test css use loader postcss loader options postcssOptions implementation postcss plugins tailwindcss include path resolve dirname config resolve config resolve alias config resolve alias resources js return config I assume it is telling webpack to use postcss with a Tailwind s plugin to compile our css Let me know if you got a better definition of what s going on here and I ll update it For this to work we need to import some stuff so at the top of the file const path require path const tailwindcss require tailwind config And we ll also import the app css inside storybook preview js import resources css app css Now we restart again Storybook et voilà Bim You ve got your story nertia wind up and running Final filesGet a look at the final files here Bonus Use Storybook on LandoYou re using Lando I wrote a little post to make Storybook works with Lando 2022-04-13 14:03:32
海外TECH DEV Community Kubernetes Service Mesh: Istio Edition https://dev.to/thenjdevopsguy/kubernetes-service-mesh-istio-edition-2l2p Kubernetes Service Mesh Istio EditionIn Kubernetes applications need to communicate with each other This could be anything from backend apps needing to send information to each other or a frontend app like a website needing to send information to a backend API to make a request Application communication is also important outside of Kubernetes It can be for on prem applications or cloud native applications running in a serverless architecture or a cloud virtual machine architecture Service mesh isn t anything new but it is an important integration within Kubernetes In this blog post you ll learn what a service mesh is why it s important and how you can get started with Istio Service Mesh BreakdownA Service Mesh inside and outside of Kubernetes has one primary purpose control how different parts of an application communicate with one another Although a service mesh is specifically for applications it s technically considered part of the infrastructure layer The reason why is because a lot of what a service mesh is doing is sending traffic between services which is primarily a networking component A service mesh is broken up into two pieces Control plane this is like the “headquarters It handles the configuration for the proxy the proxy is a big part of the Data Plane encryption certs and configurations that are needed for the services to talk to each otherData plane distributed proxies that are made up of sidecars The sidecars are simply the “helper containers It contains the proxy information that tells services to talk to each other which is what the core of a service mesh is doing So in short the control plane is what holds the configurations for the proxies and the data plane distributes those configurations Although the primary functionality of a service mesh for many organizations is the service communication it can perform several other tasks including Load balancingObservabilitySecurity including authorization policies TLS encryption and access control Why a Service Mesh Is ImportantYou may be thinking to yourself aren t microservices and Kubernetes already doing this for me and the answer is sort of Kubernetes handles traffic out of the box with Kube proxy Kube proxy is installed on every Kubernetes worker node and handles the local cluster networking It implements iptables and IPVS rules for handling routing and load balancing on the Pods network Although service communication works without a service mesh you ll get a ton of functionality including It ll be easier to troubleshoot network latencyYou ll have out of the box security between services Without a service mesh there s no security between services You could handle this with a TLS cert but do you really want to add on more work from that perspective Communication resiliency between services so you don t have to worry about timeouts retries and rate limitingObservability for tracing and alertingIn reality you ll have service communication out of the box with Kubernetes The biggest reasons that you want to implement a service mesh is for security between services easier service discovery and tracing service latency issues Getting Started With IstioNow that you know why you d want to implement a service mesh let s learn how to do it The installation process is pretty quick and only requires a few commands First download Istio The below command installs the latest version curl L https istio io downloadIstio sh Next change directory cd into the Istio folder The version will depend on when you follow along with this blog post but the directory will always start with istiocd istio version numberThe installation installs a few samples and manifests but also the instioctl binary To use it put the binary on your path by running the following command export PATH PWD bin PATHInstall Istio by running the following command istioctl installThe last step is to set a namespace label to automatically inject Envoy sidecar proxies for when you deploy your apps later If you don t set the namespace label the sidecar proxy containers won t automatically install in your Pod By default Istio doesn t enable this setting kubectl label namespace default istio injection enabledCongrats You ve successfully installed Istio 2022-04-13 14:01:28
海外TECH DEV Community Use Storybook with Lando https://dev.to/rachids/use-storybook-with-lando-1e52 Use Storybook with LandoIf you re using Lando to manage your containers because you re that cool I ll show you my way to make Storybook works painlessly with Lando First open your lando yml and add the mandatory node service services node type nodeThen you re gonna need some tools to install Storybook and run it tooling npm service node npx service nodeNow you can install Storybook If you re using TailwindCSS and Laravel you can follow my guide over here In order to provide access to it you need to add a proxy to the port like this proxy node storybook my lando app lndo site Final file name storynertiarecipe laravelconfig webroot app public php proxy node storybook storynertia lndo site services node type nodetooling npm service node npx service nodeEnjoy your containerized Storybook 2022-04-13 14:01:21
Apple AppleInsider - Frontpage News Apple TV+ shares first trailer for 'Tehran' season two https://appleinsider.com/articles/22/04/13/apple-tv-shares-first-trailer-for-tehran-season-two?utm_medium=rss Apple TV shares first trailer for x Tehran x season twoThe Apple TV international espionage thriller Tehran gets its first trailer for season two showcasing Glenn Close as a mysterious individual helping the main character Tehran season two debuts May Tehran debuted in September with great critical acclaim and even took home an International Emmy for Best Drama Series The second season begins on May with two episodes airing on the premiere and new episodes each week Read more 2022-04-13 15:00:08
Apple AppleInsider - Frontpage News Apple's privacy features will cost Facebook $12.8 billion in 2022 https://appleinsider.com/articles/22/04/13/apples-privacy-features-will-cost-facebook-128-billion-in-2022?utm_medium=rss Apple x s privacy features will cost Facebook billion in Almost months after Apple launched App Tracking Transparency a new analysis predicts its second year will still see major disruption to advertiser with Facebook YouTube and more collectively losing around billion Not everyone will have gotten their App Tracking Transparency options right first time Apple released its App Tracking Transparency ATT feature in iOS on April and it immediately had an impact on companies relying on advertising revenue By July it was estimated to be causing a to revenue drop for advertisers Read more 2022-04-13 14:54:16
Apple AppleInsider - Frontpage News Amazon's incredible $569.99 M1 Mac mini offer is back while supplies last https://appleinsider.com/articles/22/04/13/amazons-incredible-56999-m1-mac-mini-offer-is-back-while-supplies-last?utm_medium=rss Amazon x s incredible M Mac mini offer is back while supplies lastAmazon s best M Mac mini deal has returned with the standard model dipping to thanks to a instant rebate stacked with in savings at checkout Grab the lowest price on record on the Apple Mac mini with MBonus Mac mini savings Read more 2022-04-13 14:47:23
Apple AppleInsider - Frontpage News For MLB, the 'Friday Night Baseball' deal with Apple is about reach https://appleinsider.com/articles/22/04/13/for-mlb-the-friday-night-baseball-deal-with-apple-is-about-reach?utm_medium=rss For MLB the x Friday Night Baseball x deal with Apple is about reachMajor League Baseball says that its partnership with Apple TV makes sense because of expanded reach across both domestic and international viewers Friday Night BaseballMLB s Noah Garden the league s chief revenue officer recently spoke with the Los Angeles Times about the partnership with Apple TV Apple announced the weekly Friday Night Baseball game streams back in March showing off the Angels game on April and streaming the Dodgers on Friday April Read more 2022-04-13 14:22:32
Apple AppleInsider - Frontpage News Daily deals April 13: $210 off Microsoft Surface Pro 8, $70 off Apple Watch Series 7 GPS, up to 20% off at Razer https://appleinsider.com/articles/22/04/13/daily-deals-april-13-210-off-microsoft-surface-pro-8-70-off-apple-watch-series-7-gps-up-to-20-off-at-razer?utm_medium=rss Daily deals April off Microsoft Surface Pro off Apple Watch Series GPS up to off at RazerWednesday s top deals include discounts on a couple of great ways to work on the go as well as the latest Apple Watch Pick up a Microsoft Surface Pro for Apple s M Mac mini for or an Asus Flip inch Touchscreen Chromebook for ーplus much more Microsoft Surface Pro Apple Watch Series GPS and Asus Flip inch Touchscreen Chromebook are on sale today Each day we go hunting for some of the best tech deals we can find That includes a variety of discounts including sales on Apple products smartphones tax software and plenty of other tech products all so you can save some cash If an item is out of stock you may still be able to order it for delivery at a later date Many of the discounts are likely to expire soon though so act fast Read more 2022-04-13 14:22:24
Apple AppleInsider - Frontpage News Apple announces winners of 'Shot on iPhone' macro challenge https://appleinsider.com/articles/22/04/13/apple-announces-winners-of-shot-on-iphone-macro-challenge?utm_medium=rss Apple announces winners of x Shot on iPhone x macro challengeTen photographs taken using the macro feature of the iPhone Pro and iPhone Pro Max have won Apple s latest Shot on iPhone contest Strawberry in Soda one of the Shot on iPhone winning entriesApple s macro challenge accepted entries from around the world from late January to a closing date of February An international panel of judges have since been reviewing the entries ahead of unveiling the final ten Read more 2022-04-13 14:08:48
海外TECH Engadget Meta will take a 48 percent cut from sales in Horizon Worlds https://www.engadget.com/meta-metaverse-virtual-good-sales-cut-142832149.html?src=rss Meta will take a percent cut from sales in Horizon WorldsDon t expect to make a fortune from digital items sold in Meta s virtual world Meta has confirmed to CNBC that it will take a total percent cut from digital asset sales in Horizon Worlds including percent through the Meta Quest Store and percent through Horizon Worlds itself Creators may need to charge a premium to ensure healthy income for themselves then In a statement to The Verge Meta s Horizon VP Vivek Sharma argued the company s cut was a quot pretty competitive rate quot However that s not necessarily true for some content CNBC pointed out that the NFT marketplace OpenSea takes just a percent share of transactions There s also a degree of irony when Meta blasted Apple s percent slice of in app purchases and said it would change subscriptions to help creators keep more revenue Meta is promising quot goal oriented quot bonuses to virtual developers whose worlds are particularly active Nonetheless the rate isn t exactly pleasing to digital product makers It s steeper than at many other online services and may make it difficult for some creators to operate in Horizon Worlds when it might be practical elsewhere 2022-04-13 14:28:32
海外TECH Engadget No Man’s Sky's Outlaws update lets you play as a space pirate https://www.engadget.com/no-mans-sky-outlaws-update-space-pirate-hello-games-141127146.html?src=rss No Man s Sky x s Outlaws update lets you play as a space pirateNo Man s Sky is already an enormous game and yet Hello Games isn t exactly out of ideas about how to expand the universe The developer has released the Outlaws update which adds the game s first new starship in two years smuggling and much more Solar ships are a new class of starships These are dotted across the universe and have unique tech and procedurally generated variations Each ship has solar powered sail and engine tech You can now own up to nine starships in total an increase of three each of which can be outfitted with a high capacity cargo inventory The smuggling mechanic ties into the update s core theme the fact you can now play as a space pirate You can buy illicit goods in outlaw systems and sell them for a hefty profit in a regulated space as long as you re able to smuggle them in Sentinel drones will be on the lookout for illegal wares however You might be able to fend them off with a Cargo Probe Deflector Hello GamesIn outlaw systems where rebel forces are in control and piracy prevails there are outlaw stations Here you ll find specialized technology merchants mission agents and more There won t be any Sentinel interceptors as these parts of the universe are unpoliced Hello Games says it has also revamped space combat with a focus on speed challenge and flow There s an option that ll let you automatically lock onto and track enemy ships for instance You ll be able to recruit pilots to join your squadron and help you out in ship to ship combat You can call them in at any time and they ll appear automatically during space combat Elsewhere there s a new expedition on the way soon with an array of rewards up for grabs You can also expect to see revamped explosion and combat effects forged passports and pirate raids on settlements and buildings The update includes a slew of bug fixes and optimizations as well This is the second big content update this year following February s Sentinel patch The Outlaws update is out now on PlayStation Xbox and PC It ll also give Nintendo Switch players more to look forward to when No Man s Skyhits that platform this summer 2022-04-13 14:11:27
海外TECH Engadget Kia's 2023 Niro SUV comes in all the EV flavors https://www.engadget.com/kias-2023-niro-suv-comes-in-all-the-ev-flavors-141024897.html?src=rss Kia x s Niro SUV comes in all the EV flavorsThe Kia Niro has long been a staff favorite here at Engadget On Wednesday the Korean automaker took to the NYIAS stage to show off its latest iterations of the popular compact sport utility one for every kind of driver nbsp Hyundai Motor GroupThe second generation Niro will arrive in dealer showrooms in all states later this summer available as either as a hybrid electric HEV plug in hybrid or battery electric vehicle The HEV version pairs a liter four cylinder engine with a kW permanent magnet synchronous e motor producing a total horsepower and lb ft of torque with mpg combined and an estimated mile range The PHEV doubles the size of the companion e motor to kW outputting a total of HP and lb ft of torque Its kWh battery refills completely in under hours on a level home charger and can propel the vehicle up to miles on its own a percent improvement over last year s model The full EV which qualifies for the federal tax rebate will offer a kWh battery powering a kW HP motor with a range of miles On a level DC fast charge connection it can replenish to percent in under minutes but only at a rate of kW On a level charger that same operation will take just under hours Hyundai Motor GroupFor this model year Kia is introducing a new drive mode as well In addition to the standard Sport and Eco modes the Green Zone setting automatically switches the HEV and PHEV into all electric mode when in residential areas or nearby schools and hospitals Also new for this year the Niro will feature the same VL bidirectional charging found on the EV Hyundai Motor GroupThe Niro is also growing It s wheelbase is longer in measuring inches with a total vehicle length of inches This translates into additional cargo space behind the rear seats ー quot more cubic feet of passenger cabin room and percent more cargo room than the Tesla Model quot according to the company The cabin is designed with sustainability in mind with a headliner composed of recycled wallpaper seats covered with bio polyurethane and Tencel made from eucalyptus leaves and BTX free paint on the exterior door panels And despite its larger size the Niro boasts a drag coefficient Hyundai Motor GroupSimilar to the EV s interior the Niro offers quot a tech focused environment in all configurations and trims quot including dual inch infotainment instrument displays an optional Head Up Display Apple CarPlay Android Auto support and all the ADAS features we ve come to expect like forward collision warnings lane keeping assist and a menagerie of random warning alarms An eight speaker Harman Kardon sound system is optional 2022-04-13 14:10:24
Cisco Cisco Blog Cisco and its Partners Co-creating Innovative Sustainability Solutions https://blogs.cisco.com/partner/cisco-and-its-partners-co-creating-innovative-sustainability-solutions Cisco and its Partners Co creating Innovative Sustainability SolutionsWhen partners and Cisco work together great things happen We are so happy to announce the top three winners of the Digital Sustainability Challenge and Cisco s commitment to developing these ideas and bringing them to market via CDA investments 2022-04-13 15:00:00
金融 RSS FILE - 日本証券業協会 株主コミュニティの統計情報・取扱状況 https://www.jsda.or.jp/shiryoshitsu/toukei/kabucommunity/index.html 株主コミュニティ 2022-04-13 15:30:00
金融 RSS FILE - 日本証券業協会 動画で見る日証協の活動 https://www.jsda.or.jp/about/gaiyou/movie/index.html 日証協 2022-04-13 15:30:00
金融 金融庁ホームページ スチュワードシップ・コードの受入れを表明した機関投資家のリストを更新しました。 https://www.fsa.go.jp/singi/stewardship/list/20171225.html 機関投資家 2022-04-13 15:00:00
ニュース BBC News - Home Collecting the dead in Bucha https://www.bbc.co.uk/news/world-europe-61085810?at_medium=RSS&at_campaign=KARANGA massive 2022-04-13 14:14:09
ニュース BBC News - Home Preston fire: Two children die days after house blaze https://www.bbc.co.uk/news/uk-england-lancashire-61097750?at_medium=RSS&at_campaign=KARANGA preston 2022-04-13 14:20:08
ニュース BBC News - Home Ukraine: Fugitive Putin ally Medvedchuk arrested - security service https://www.bbc.co.uk/news/world-europe-61089039?at_medium=RSS&at_campaign=KARANGA ukrainian 2022-04-13 14:48:30
ニュース BBC News - Home Time Out magazine to be axed in London from June https://www.bbc.co.uk/news/uk-england-london-61092799?at_medium=RSS&at_campaign=KARANGA losses 2022-04-13 14:54:48
北海道 北海道新聞 NY株、反発 https://www.hokkaido-np.co.jp/article/669222/ 工業 2022-04-13 23:30:00
北海道 北海道新聞 西4―3日(13日) 日本ハム、追い上げ及ばず https://www.hokkaido-np.co.jp/article/669165/ 日本ハム 2022-04-13 23:24:03
北海道 北海道新聞 経済安保法案 参院審議入り 首相明言避け議論低調 野党、恣意的運用の懸念追及 https://www.hokkaido-np.co.jp/article/669220/ 安保法案 2022-04-13 23:17:00
北海道 北海道新聞 賛成「子どもに夢」/反対「他の施策を」 札幌市、五輪招致調査の詳細公表 https://www.hokkaido-np.co.jp/article/669212/ 秋元克広 2022-04-13 23:08:05
北海道 北海道新聞 物資輸送に自衛隊機派遣へ ウクライナ支援で調整 https://www.hokkaido-np.co.jp/article/669217/ 自衛隊機 2022-04-13 23:07:00

コメント

このブログの人気の投稿

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

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

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