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

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
AWS AWS Blackboard/Anthology: Building and Governing an AWS Environment with 120+ Accounts https://www.youtube.com/watch?v=jzKCg9Z5_8Q Blackboard Anthology Building and Governing an AWS Environment with AccountsIn this episode learn how Blackboard now part of Anthology operates and governs its AWS accounts You ll see how they use AWS Control Tower to build and govern a multi account environment that follows best practices Control Tower helps them leverage AWS Service Catalog to vend accounts into their AWS Organization AWS Config to control and detect changes to AWS resources AWS CloudTrail for centralized logging and AWS Single Sign on SSO for federated login and integration with their rd party identity provider Okta Check out more resources for architecting in the AWS​​​cloud ​ AWS AmazonWebServices CloudComputing ThisIsMyArchitecture 2022-06-13 18:11:31
golang Goタグが付けられた新着投稿 - Qiita Golang echoフレームワークのv4からv5-alphaにアップデートした際の詰まった部分のメモ https://qiita.com/shingo02/items/eb1ab342dbad01759f4b alpha 2022-06-14 03:04:03
海外TECH Ars Technica Microsoft tests refreshed, tabbed Windows 11 File Explorer design https://arstechnica.com/?p=1860558 explorer 2022-06-13 18:42:49
海外TECH Ars Technica Intel tries to get its chip manufacturing back on track with “Intel 4,” due in 2023 https://arstechnica.com/?p=1860476 increase 2022-06-13 18:27:29
海外TECH Ars Technica Google to pay $118 million after being accused of underpaying 15,500 women https://arstechnica.com/?p=1860529 similar 2022-06-13 18:07:18
海外TECH MakeUseOf How to Forward WhatsApp Images Without Losing the Captions https://www.makeuseof.com/forward-whatsapp-images-with-captions/ How to Forward WhatsApp Images Without Losing the CaptionsYou ve perfectly captioned and sent an image to a WhatsApp contact But if you try to forward it the app drops the caption Here s a workaround 2022-06-13 18:30:14
海外TECH MakeUseOf How to Get Rid of the Illustrations Inside of Windows Search https://www.makeuseof.com/windows-search-remove-pictures/ windows 2022-06-13 18:15:14
海外TECH DEV Community Authenticate a Next.js application using Zoom https://dev.to/hackmamba/authenticate-a-nextjs-application-using-zoom-cc1 Authenticate a Next js application using ZoomAuthentication is an integral part of building robust and secure applications Companies such as Zoom Apple Google and Facebook are constantly creating innovative ideas that help their users securely share information with third party applications without remembering multiple credentials The technology facilitating this process is known as Open Authentication OAuth a framework that enables users to grant access to websites or applications without compromise In this post we will learn how to authenticate a Next js application using Appwrite s Zoom OAuth provider The project s GitHub repository can be found here PrerequisitesTo fully grasp the concepts presented in this tutorial the following requirements apply Basic understanding of JavsScript and ReactDocker installationAn Appwrite instance check out this article on how to set up an instanceA Zoom account signup is completely free Getting startedWe need to create a Next js starter project by navigating to the desired directory and running the command below in our terminal npx create next app zoom auth amp amp cd zoom authThe command creates a Next js project called zoom auth and navigates into the project directory Installing dependenciesInstalling TailwindCSSTailwindCSS is a utility first CSS framework packed with classes to help us style our web page To use it in our application run the command below in our terminal npm install D tailwindcss postcss autoprefixer npx tailwindcss init pThe command installs TailwindCSS and its dependencies and generates tailwind config js and postcss config js files Next we need to update tailwind config js file with the snippet below module exports content pages js ts jsx tsx components js ts jsx tsx theme extend plugins Finally we need to add TailwindCSS directives to our application The directives give our application access to TailwindCSS utility classes To do this navigate to the styles folder and update the globals css files in it with the snippet below tailwind base tailwind components tailwind utilities Installing AppwriteAppwrite is a development platform that provides a powerful API and management console for building backend servers for web and mobile applications To install it run the command below npm install appwrite Creating a new Appwrite projectTo create a new project start up the Appwrite instance on your machine and navigate to the specified hostname and port http localhost Next we need to log in to our account or create an account if we don t have one You can learn more about setting up Appwrite here On the console click on the Create Project button input appwrite zoom as the name and click Create The project dashboard will appear on the console Next click on the settings tab and copy the Project ID and API Endpoint Next we ll navigate to our project root directory and create a helper folder here create an utils js file and add the snippet below import Appwrite from appwrite const sdk new Appwrite sdk setEndpoint http localhost v setProject ADD YOUR PROJECTID HERE export default sdk Activating Zoom auth method on AppwriteTo do this navigate to the Users menu select the Settings tab and enable the Zoom option Upon enabling the Zoom option we will be required to fill in the App ID and App Secret We will fill them in shortly However we need to copy the callback URI provided by Appwrite We need it to authenticate our application Create an App on ZoomTo enable Zoom s OAuth provider with Appwrite we need to sign in sign up on Zoom s marketplace and create an application Click on the Develop dropdown and select Build App Click on Create under the OAuth section Input appwrite zoom as the App Name select Account level app and Create Next we paste the callback URI we copied earlier into the Redirect URL for OAuth and Add allow lists fields We also need to copy the Client ID and Client Secret and paste them into our Appwrite configuration Then click Update Navigate to the Information menu and input Appwrite authentication using Zoom as the Short description and the Long description On the same Information menu scroll down to the Developer Contact Information section and fill in your Name and Email Address Navigate to the Scope menu click on the Add Scopes button click User and then select View all user information This scope selected will give our application access to the user s information Building the authentication in Next jsThe application will contain two pages a page to log in and another page to show logged in user details Creating a login pageTo do this we need to update the content of the index js file inside the pages folder with the snippet below import Head from next head import styles from styles Home module css import sdk from helper utils export default function Home const loginWithZoom async gt try await sdk account createOAuthSession zoom http localhost dashboard catch error console log error return lt div className styles container gt lt Head gt lt title gt Appwrite Zoom lt title gt lt meta name description content Appwrite and Zoom gt lt link rel icon href favicon ico gt lt Head gt lt main className styles main gt lt h className text xl font medium text indigo gt Auth with Appwrite and Zoom lt h gt lt div className w md w flex flex col items center p border rounded lg gt lt p className text sm mb gt Click on the button below to login lt p gt lt button onClick loginWithZoom className px py h bg black text white rounded lg gt Login with zoom lt button gt lt div gt lt main gt lt div gt The snippet above does the following Imports the required dependencies Creates a loginWithZoom asynchronous function that uses the Appwrite sdk we initialized earlier to authenticate using zoom as the provider and http localhost dashboard as the URL it redirects to when the authentication is successful We will create the dashboard page in the next section Creates markup for the login page Creating a dashboard pageNext in the same pages folder we need to create a dashboard js file and update it with the snippet below import Head from next head import styles from styles Home module css import sdk from helper utils import useEffect useState from react import useRouter from next router export default function Dashboard const session setSession useState null const router useRouter const getSession async gt const data await sdk amp amp sdk account get data then res gt setSession res catch err gt router push console log err useEffect gt getSession const logOut async gt await sdk account deleteSession current alert logout successful router push return session amp amp lt div className styles container gt lt Head gt lt title gt Appwrite Zoom lt title gt lt meta name description content Appwrite and Zoom gt lt link rel icon href favicon ico gt lt Head gt lt main className styles main gt lt h className text xl font medium text indigo mb gt Authenticated Page with Appwrite and Zoom lt h gt lt p gt Welcome lt span className font medium capitalize gt session name lt span gt lt p gt lt p gt email lt span className font medium text indigo gt session email lt span gt lt p gt lt button onClick logOut className px py h mt border border black text black rounded lg gt Log Out lt button gt lt main gt lt div gt The snippet above does the following Imports the required dependencies Creates states and route variables to manage logged in user sessions and route accordingly Creates a getSession function to get the logged in user session and re route to the login page if the session is empty We also called the function upon page load using the useEffect hook Creates a logOut function to log the user out Includes markup to show the user s name and email With that done we can start a development server using the command below npm run dev ConclusionThis post discussed how to authenticate a Next js application using Appwrite s Zoom OAuth provider These resources might be helpful Set up Appwrite instance locallyAppwrite OAuth documentationCreate an OAuth App on zoomAppwrite web SDKTailwindCSS 2022-06-13 18:52:11
海外TECH DEV Community Data and System Visualization Tools That Will Boost Your Productivity https://dev.to/martinheinz/data-and-system-visualization-tools-that-will-boost-your-productivity-17cn Data and System Visualization Tools That Will Boost Your ProductivityAs files datasets and configurations grow it gets increasingly difficult to navigate them There are however many tools out there that can help you to be more productive when dealing with large JSON and YAML files complicated regular expressions confusing SQL database relationships complex development environments and many others JSONJSON is one of those formats which is nice for computers but not for humans Even relatively small JSON object can be pretty difficult to read and traverse but there s a tool that can help JSON Visio is a tool that generates graph diagrams from JSON objects These diagrams are much easier to navigate than the textual format and to make it even more convenient the tool also allows you to search the nodes Additionally the generated diagrams can also be downloaded as image You can use the web version at or also run it locally as Docker container Regular ExpressionsRegular expressions RegEx are notorious for being extremely unreadable There are tools I recommend to help make sense of complex RegExes first one them being Which can help you build and test RegExes as well as break them down and identify its individual parts The second one is which generates a graph from a RegEx which is very helpful for understanding what the expression actually does YAMLYAML the language that was meant to be readable expect it oftentimes isn t AS we all know long YAML documents with many levels of indentations can be very hard to navigate and troubleshoot To avoid spending unreasonable amount of time trying to find that one wrong indent I recommend you use schema validation and let your IDE do all the work You can use validation schemas from or custom schemas such as these for Kubernetes to validate your files These will work both with JetBrains products e g Pycharm IntelliJ as well as VSCode see this guide If you prefer to use vim as your editor I recommend using custom formatting that can help you spot mistakes My preferred configuration looks like so Add this line to vimrc autocmd FileType yaml setlocal ai et cuc sw ts And the resulting formatting will look like On top of the above mentioned tools it s also a good idea to use YAML linter such this one or its CLI equivalent which will validate and cleanup your documents Finally if you re working with OpenAPI Swagger YAML specs then you can use to view validate edit you schemas SQLThere s a lot of software for working with relational databases most of them however focus on connecting to database instances and running SQL queries These capabilities are very handy but don t help with the fact that navigating database with possibly hundreds of tables can be very difficult One tool that can solve that is Jailer Jailer is a tool which can among other things navigate through the database by following foreign keys Couple videos showcasing all the features of Jailer can be found here GitGit a software with absolutely terrible user experience which we all use every day could also use some tooling for navigating history log staging committing files viewing diffs or for example rebasing branches My tool of choice for all the above is IntelliJ PyCharm git integration in my opinion there s really no better tool for dealing with git related stuff If you re not an IntelliJ PyCharm user or if you prefer to stay in terminal then following commands can make your life a little bit easier git log graph abbrev commit decorate all format format C bold blue h C reset C bold cyan aD C dim white an C reset C bold green ar C reset C bold yellow d C reset n C white s C reset The above command will print a somewhat readable and pretty graph of commits history which would look something like If you also desire a bit improved diffing functionality then you can use git diff word diff color words As you can see from above examples with enough effort you might be able to make commandline git experience somewhat bearable for more tips like these see my previous article at If you want to avoid bare bones git CLI altogether you can try using forgit a TUI for using git interactively The above screenshot shows interactive and pretty git log The tool supports pretty much all of the git subcommands most importantly rebase cherry pick diff and commit For full list of features and more screenshots see project s repository Beyond using git or your IDEs features you can also grab other tools that can help with complex diffing of files One very powerful tool for this is Difftastic Difftastic language aware diffing tools which has support for wide range of languages For demo of the tool see this video If you want a tool specifically for diffing structured languages like JSON XML HTML YAML then Graphtage is a great choice Graphtage compares documents semantically and will find differences correctly even when you change ordering of elements Finally if you re more into visual tools then you might find Meld useful as it provides similar experience to JetBrains products DockerOn the DevOps side of things when working with Docker it s not uncommon to spin up bunch of containers with docker compose and end up with a mess that s very hard to troubleshoot Lazydocker is a great tool for dealing with multiple Docker containers at the same time If you don t believe me then check out the elevator pitch in the project s repository If you re more into browser based tools you might want to try out Portainer which provides dashboard for navigating inspecting Docker containers volumes images etc KubernetesA lot of things to cover when it comes to Kubernetes considering that each API resource could use a visualization tool There are however a couple notable areas pain points really that oftentimes require visual tool to setup manage effectively First one being NetworkPolicy which can be visualized and also configured using Even if you prefer to craft your policies by hand I would still recommend visually verifying them with this tool Another similar tool is Network Policy Viewer which focuses just on the visualization of policies and has simpler and more readable diagrams I d recommend using this collection of network policy recipes to test out these tools and see how they can be helpful to your workflow Another pain point in configuring Kubernetes is RBAC more specifically Roles RoleBindings and their Cluster scoped alternatives There are a couple of tools that can help with those Krane is a tool that can generate graph showing relationships between all roles and subjects Krane also has many more features including RBAC risk assessment reporting and alerting as well as querying interrogating RBAC rules with CypherQL A simpler alternative to Krane is rbac tool which can be installed as kubectl plugin It can also analyze audit interrogate RBAC rules but most importantly it can visualize them Finally if you re more concerned with easily configuring RBAC rather than viewing pretty diagrams then Permission manager is a tool for you See GIFs in GitHub repository for demonstration of what the tool can do Instead of specialized tools for things like network policies or RBAC you can also make use of general purpose dashboards such as Lens the Kubernetes IDE which brings some sanity into managing clusters especially when paired with Lens Resource Map which displays Kubernetes resources and their relations as a real time force directed graph As usual there s also CLI based tool which provides more capabilities than the bare kubectl It s called ks and definitely does make it easier to navigate observe and manage your deployed applications in Kubernetes Closing ThoughtsThis article focused on developer DevOps tooling but there are more things honorable mentions that deserve a shout out First being Mermaid js for creating beautiful diagrams as a code which is now integrated with GitHub markdown The other one MathJax for visualizing mathematical expressions as of recent also supported by GitHub markdown These are the tools I like or the tools I made a use of in the past so it s by no means an exhaustive list of things out there If you have found different better tools please do share so others can make use of them too 2022-06-13 18:50:45
海外TECH DEV Community AWS NLP Newsletter - June 2022 https://dev.to/aws/aws-nlp-newsletter-june-2022-2hml AWS NLP Newsletter June NLP Customer Success Stories GileadGilead s PDM pharmaceutical development and manufacturing team chose Amazon Web Services AWS adopting Amazon Kendra a highly accurate intelligent search service powered by ML While receiving support from AWS the PDM team built a data lake within months and continued on to build a search tool within only months completing its project well within its estimated timeline of years Since launching its enterprise search tool users across the PDM team have been able to substantially reduce manual data management tasks and the amount of time it takes to search for information by approximately percent This has fueled research experimentation and pharmaceutical breakthroughs Amazon Kendra is a turnkey AI solution that when configured correctly is capable of spanning every single domain in the organization while being straightforward to implement Jeremy Zhang Director of Data Science and Knowledge Management Gilead Sciences Inc Latent SpaceLatent Space is a company that specializes in the next wave of generative models for businesses and creatives combining fields that have long had little overlap graphics and natural language processing NLP Amazon SageMaker s unique automated model partitioning and efficient pipelining approach made our adoption of model parallelism possible with little engineering effort and we scaled our training of models beyond billion parameters which is an important requirement for us Furthermore we observed that when training with a node eight GPU training setup with the SageMaker model parallelism library we recorded a improvement in efficiency compared to our previous training runs AI Language Services Amazon LexAmazon Lex provides automatic speech recognition ASR and natural language understanding NLU capabilities so you can build applications and interactive voice response IVR solutions with engaging user experiences Now you can programmatically provide phrases as hints during a live interaction to influence the transcription of spoken input   Amazon ComprehendAmazon Comprehend is a natural language processing NLP service that uses machine learning to find insights and relationships like people places sentiments and topics in unstructured text You can use Amazon Comprehend ML capabilities to detect and redact personally identifiable information PII in customer emails support tickets product reviews social media and more  Now Amazon Comprehend PII supports new entity types with localized support for entities within the United States Canada United Kingdom and India Customers can now detect and redact entities to protect sensitive data   Amazon LexAmazon Lex is a service for building conversational interfaces into any application using voice and text Starting today you can give Amazon Lex additional information about how to process speech input by creating a custom vocabulary A custom vocabulary is a list of domain specific terms or unique words e g brand names product names that are more difficult to recognize You create the list and add it to the bot definition so Amazon Lex can use these words when determining the user s intent or collecting information in a conversation NLP on Amazon SageMakerDetect social media fake news using graph machine learning with Amazon Neptune ML The spread of misinformation and fake news on these platforms has posed a major challenge to the well being of individuals and societies Therefore it is imperative that we develop robust and automated solutions for early detection of fake news on social media Traditional approaches rely purely on the news content using natural language processing to mark information as real or fake However the social context in which the news is published and shared can provide additional insights into the nature of fake news on social media and improve the predictive capabilities of fake news detection tools Fine tune transformer language models for linguistic diversity with Hugging Face on Amazon SageMaker Today natural language processing NLP examples are dominated by the English language the native language for only of the human population and spoken only by In this post we summarize the challenges of low resource languages and experiment with different solution approaches covering over languages using Hugging Face transformers on Amazon SageMaker Run text classification with Amazon SageMaker JumpStart using TensorFlow Hub and Hugging Face models In this post we provide a step by step walkthrough on how to fine tune and deploy a text classification model using trained models from TensorFlow Hub We explore two ways of obtaining the same result via JumpStart s graphical interface on Studio and programmatically through JumpStart s APIs Build a custom Q amp A dataset using Amazon SageMaker Ground Truth to train a Hugging Face Q amp A NLU model One NLU problem of particular business interest is the task of question answering In this post we demonstrate how to build a custom question answering dataset using Amazon SageMaker Ground Truth to train a Hugging Face question answering NLU model Achieve hyperscale performance for model serving using NVIDIA Triton Inference Server on Amazon SageMaker In this post we look at best practices for deploying transformer models at scale on GPUs using Triton Inference Server on SageMaker First we start with a summary of key concepts around latency in SageMaker and an overview of performance tuning guidelines Next we provide an overview of Triton and its features as well as example code for deploying on SageMaker Finally we perform load tests using SageMaker Inference Recommender and summarize the insights and conclusions from load testing of a popular transformer model provided by Hugging Face Content Moderation design patterns with AWS managed AI servicesModern web and mobile platforms fuel businesses and drive user engagement through social features from startups to large organizations Online community members expect safe and inclusive experiences where they can freely consume and contribute images videos text and audio The ever increasing volume variety and complexity of UGC user generated content make traditional human moderation workflows challenging to scale to protect users Watch a presentation of the demo on YouTubeRead more about content moderation design patterns with AWS managed AI services 2022-06-13 18:02:01
Apple AppleInsider - Frontpage News Lightning versus USB-C: Pros and cons for the iPhone https://appleinsider.com/articles/22/06/13/lightning-versus-usb-c-pros-and-cons-for-the-iphone?utm_medium=rss Lightning versus USB C Pros and cons for the iPhoneThe rumor mill is hard at work trying to convince people that a USB C iPhone is coming But a recent decision from the European Union may force Apple s hand iPhones with a USB A Lightning cableThe EU agreed on new rules that would require companies to adopt USB C as a common charging mechanism Apple may be forced into creating a USB C iPhone by late Read more 2022-06-13 18:56:10
海外TECH Engadget Webex's seamless CarPlay support means you can never escape your meetings https://www.engadget.com/webex-apple-carplay-move-to-mobile-185013701.html?src=rss Webex x s seamless CarPlay support means you can never escape your meetingsHave you ever wished you could keep a work meeting going as you leave for home No Too bad you re getting that option regardless Cisco has introduced seamless transition features that help you continue Webex meetings on your iPhone and through CarPlay Move to Mobile lets you move a call from the desktop to your iPhone by scanning a QR code while CarPlay can now continue a meeting the moment you plug your iPhone into your ride An update due in August will give you the option to listen to historical Webex recordings You can catch up on a meeting you missed while you re stuck in traffic in other words No matter what meeting you re listening to you ll see your schedule after the call is over You can join a meeting directly from CarPlay if you re running late There are practical advantages to these updates If you re a remote worker you can run errands instead of being locked to your computer And if you re back to working in the office you can still leave early when the team holds a last minute chat Still it s difficult to imagine many people getting excited about seamless Webex calls After all there s a good chance you consider your car a refuge ーyou probably don t want work following you on the road 2022-06-13 18:50:13
海外TECH Engadget The Persona series is also coming to PlayStation 5 and Steam https://www.engadget.com/persona-playstation-5-steam-184056267.html?src=rss The Persona series is also coming to PlayStation and SteamMicrosoft made a lot of western JRPG fans happy on Sunday when it shared it was working with Atlus to bring the Persona series to Xbox Game Pass Outside of Persona Golden the franchise s main entries have been exclusive to PlayStation consoles limiting their accessibility The good news is that expansion isn t limited to Game Pass On Monday Atlus said it would bring Persona Portable Persona Golden andPersona Royal nbsp to PlayStation Additionally PP and PR will join PG on Steam according to a press release the company shared with Eurogamer Atlus didn t announce a release window for the PS and Steam versions of those games PR heads to Xbox Game Pass on October st with the other two games to follow sometime in The expanded availability means a lot more people will have the chance to experience the Persona series Before Sunday s announcement you had to go out of your way to play most of the games in the franchise For instance it was previously only possible to play Persona Portable which originally came out on the PSP in on PlayStation Vita Persona Golden meanwhile was only available on Vita before its PC release in As such a lot of people turned to emulation to check out those games after the mainstream success of Persona 2022-06-13 18:40:56
海外TECH Engadget Street Fighter 6's modern controls made me OK at Street Fighter https://www.engadget.com/street-fighter-6-modern-control-hands-on-sf6-182047557.html?src=rss Street Fighter x s modern controls made me OK at Street FighterThank you Street Fighter For the first time in my life I wasn t embarrassed to play a fighting game in front of strangers on the show floor of a video game convention and it was all because of the updated control scheme in Street Fighter The modern control type adds simplified inputs to Capcom s storied fighting game franchise turning button mashing into an effective art I ve never felt so capable playing Street Fighter at home or on a large screen in front of a bunch of gaming nerds The modern control type unleashes special moves by pressing a direction and a face button and simplifies behaviors like throws and the game s new Drive moves more on that in a moment activating them with a single button press When playing Ryu it s possible to Hadoken with just one button This is the Smash Bros style gameplay I ve personally been trying to shoehorn into Street Fighter titles for years and man it feels good I tried out Chun Li Jamie Luke and Ryu with the modern control scheme and threw out special moves and parried attacks so smoothly that at one point I actually turned up the difficulty settings for my PC counterpart impressed gasp I was promptly beaten but it took three rounds and I put up an actual fight Chun Li is my favorite Street Fighter character which usually doesn t end well for her and in with the modern control type she feels faster and more powerful than ever I ended up using her Tensho Kicks move often charging toward my opponents and pressing triangle to lift them up with a series of spinning feet to the face but all of her specials came easily and hit hard The Drive Gauge is new to Street Fighter and it s responsible for all of the graffiti style visuals you see in trailers In action Drive abilities feel just as explosive as they look and the bursts of color they add to fights are eye catching without being distracting The Drive Gauge steadily charges while fighting and players can use it to parry counter rush into and absorb attacks and add extra spice to their special moves That last ability is called Overdrive Art and is a direct replacement for the EX Special Moves from previous Street Fighter games CapcomNot that I could tell you how to access EX Special Moves in previous Street Fighter games off the top of my head but playing Street Fighter made me feel like maybe I d be able to figure all of it out The modern control layout is a fantastic entry point for newcomers to the franchise and folks like me who have historically relied mainly on button mashing and luck The modern controls helped me slow down and appreciate each move and made it easier to connect my inputs with the actions on screen I feel like I understand Street Fighter a little better now I might even try out the classic control type when I pick up Street Fighter in my living room not a show floor Street Fighter is due to come out in for PlayStation PS Xbox Series consoles and PC via Steam 2022-06-13 18:20:47
海外TECH Engadget Google may let rival ad platforms run commercials on YouTube https://www.engadget.com/google-youtube-ad-platform-concessions-european-union-antitrust-180828678.html?src=rss Google may let rival ad platforms run commercials on YouTubeGoogle will allow other advertising intermediaries to run ads on YouTube according to Reuters The company currently requires advertisers to use its Ad Manager to place ads on YouTube which has caught the attention of European Union antitrust officials The European Commission opened a probe into Google s ad tech in after two years of informal consultations Competition officials also cited concerns about potential restrictions on how rival ad platforms can run YouTube ads and the fact advertisers need to use the Display amp Video and Google Ads services The investigation centers around whether Google a division of Alphabet gave itself an unfair advantage in the digital advertising space by limiting the user data that advertisers and rival ad platforms can access Reuters reports that Google s concession could help allow it to settle the case and avoid a fine of as much as percent of its global turnover Alphabet generated revenue of billion in However it s believed that Google will need to address other concerns to resolve the investigation The UK s Competition and Markets Authority is also looking into the company s ad tech practices In the US senators last month filed a bill with bipartisan support that would break up Google s ad business were it to become law Engadget has contacted Google for comment 2022-06-13 18:08:28
海外TECH CodeProject Latest Articles Regex - 7 Free Test Tools https://www.codeproject.com/Articles/5334829/Regex-7-Free-Test-Tools regex 2022-06-13 18:06:00
海外科学 NYT > Science SpaceX Wins FAA Approval for Launch of Starship Mars Rocket https://www.nytimes.com/2022/06/13/science/spacex-starship-faa-review.html SpaceX Wins FAA Approval for Launch of Starship Mars RocketThe Federal Aviation Administration placed conditions on the flights but ruled that a more extensive environmental review that would have caused delays was not required 2022-06-13 18:47:46
ニュース BBC News - Home Rwanda asylum plan: Court allows first flight to go ahead https://www.bbc.co.uk/news/uk-61789982?at_medium=RSS&at_campaign=KARANGA rwanda 2022-06-13 18:38:06
ニュース BBC News - Home UK reveals plans to ditch parts of EU Brexit deal https://www.bbc.co.uk/news/uk-politics-61790248?at_medium=RSS&at_campaign=KARANGA international 2022-06-13 18:38:22
ニュース BBC News - Home Dom Phillips and Bruno Pereira: Police deny bodies found in Amazon search https://www.bbc.co.uk/news/world-latin-america-61786946?at_medium=RSS&at_campaign=KARANGA amazon 2022-06-13 18:06:21
ニュース BBC News - Home BBC unveils modernised flagship TV news studio https://www.bbc.co.uk/news/entertainment-arts-61785325?at_medium=RSS&at_campaign=KARANGA flagship 2022-06-13 18:30:55
ニュース BBC News - Home Ukraine war round-up: City cut off and a story of escape https://www.bbc.co.uk/news/world-europe-61789019?at_medium=RSS&at_campaign=KARANGA england 2022-06-13 18:51:36
ニュース BBC News - Home England v New Zealand: Hosts keep victory hopes alive at Trent Bridge https://www.bbc.co.uk/sport/cricket/61778450?at_medium=RSS&at_campaign=KARANGA England v New Zealand Hosts keep victory hopes alive at Trent BridgeEngland have the chance to force victory in the second Test after taking late New Zealand wickets on the fourth day at Trent Bridge 2022-06-13 18:03:59
ニュース BBC News - Home Andy Murray withdraws from Queen's with abdominal injury https://www.bbc.co.uk/sport/tennis/61791134?at_medium=RSS&at_campaign=KARANGA stuttgart 2022-06-13 18:05:33
ビジネス ダイヤモンド・オンライン - 新着記事 異例の円安、いつまで続く - WSJ PickUp https://diamond.jp/articles/-/304629 wsjpickup 2022-06-14 03:50:00
ビジネス ダイヤモンド・オンライン - 新着記事 ロシア損失、7.9兆円超に 世界の企業全体で - WSJ PickUp https://diamond.jp/articles/-/304718 wsjpickup 2022-06-14 03:45:00
ビジネス ダイヤモンド・オンライン - 新着記事 遠のく米石炭発電所の閉鎖、停電回避か環境か - WSJ PickUp https://diamond.jp/articles/-/304719 wsjpickup 2022-06-14 03:40:00
ビジネス ダイヤモンド・オンライン - 新着記事 「デザイン思考」を日本で最初にタイトルに冠した一冊――『デザイン思考の道具箱』 - Virtical Analysis https://diamond.jp/articles/-/304622 「デザイン思考」を日本で最初にタイトルに冠した一冊ー『デザイン思考の道具箱』VirticalAnalysis書店のビジネス書の棚で「デザイン」や「アート」という言葉を当たり前に見掛けるようになりました。 2022-06-14 03:35:00
ビジネス ダイヤモンド・オンライン - 新着記事 【ガチガチガチ…】相手の緊張を1秒でほぐす「シンプルな一言」とは? - オトナ女子のすてきな語彙力帳 https://diamond.jp/articles/-/304598 語彙力 2022-06-14 03:30:00
ビジネス ダイヤモンド・オンライン - 新着記事 【Twitterフォロワー30万人超の精神科医が教える】 仕事が好きな人に待っている 思わぬ“落とし穴”にご注意を! - 精神科医Tomyが教える 1秒で幸せを呼び込む言葉 https://diamond.jp/articles/-/304658 【Twitterフォロワー万人超の精神科医が教える】仕事が好きな人に待っている思わぬ“落とし穴にご注意を精神科医Tomyが教える秒で幸せを呼び込む言葉増刷を重ねて好評多々の感動小説『精神科医Tomyが教える心の荷物の手放し方』の出発点となった「秒シリーズ」『精神科医Tomyが教える秒で幸せを呼び込む言葉』から、きょうのひと言あなたは仕事が好きですか幸いにも仕事が好きな人、好きなことを仕事にできている人。 2022-06-14 03:25:00
ビジネス ダイヤモンド・オンライン - 新着記事 【心がラクになる考え方】仕事も勉強も「モチベーションは下がって当然」 - だから、この本。 https://diamond.jp/articles/-/304736 資格 2022-06-14 03:20:00
ビジネス ダイヤモンド・オンライン - 新着記事 ヴィトンなどラグジュアリーブランドがこぞって「人間性」を志向する理由とは?その新潮流を読み解く - 文化をデザインするビジネスリーダーたち https://diamond.jp/articles/-/303954 ヴィトンなどラグジュアリーブランドがこぞって「人間性」を志向する理由とはその新潮流を読み解く文化をデザインするビジネスリーダーたち文化を創造するビジネスがいま、注目を集めている。 2022-06-14 03:15:00
ビジネス ダイヤモンド・オンライン - 新着記事 「キルギスってどんな国?」2分で学ぶ国際社会 - 読むだけで世界地図が頭に入る本 https://diamond.jp/articles/-/304325 2022-06-14 03:10:00
ビジネス ダイヤモンド・オンライン - 新着記事 勉強できない人が最初にやるべき「目的・目標の見つけ方」 - 勉強が面白くなる瞬間 https://diamond.jp/articles/-/304737 韓国で社会現象を巻き起こした『勉強が面白くなる瞬間』。 2022-06-14 03:05:00
GCP Cloud Blog Serverless MEAN Stack Applications with Cloud Run and MongoDB Atlas https://cloud.google.com/blog/topics/developers-practitioners/serverless-with-cloud-run-mongodb-atlas/ Serverless MEAN Stack Applications with Cloud Run and MongoDB AtlasPlea and the Pledge Truly ServerlessAs modern application developers we re juggling many priorities performance flexibility usability security reliability and maintainability On top of that we re handling dependencies configuration and deployment of multiple components in multiple environments and sometimes multiple repositories as well And then we have to keep things secure and simple Ah the nightmare This is the reason we love serverless computing Serverless allows developers to focus on the thing they like to do the mostーdevelopmentーand leave the rest of the attributes including infrastructure and maintenance to the platform offerings  In this read we re going to see how Cloud Run and MongoDB come together to enable a completely serverless MEAN stack application development experience We ll learn how to build a serverless MEAN application with Cloud Run and MongoDB Atlas the multi cloud application data platform by MongoDB Containerized deployments with Cloud RunAll serverless platform offer exciting capabilities  Event driven function not a hard requirement though No infrastructure maintenanceUsage based pricingAuto scaling capabilitiesCloud Run stands out of the league by enabling us to  Package code in multiple stateless containers that are request aware and invoke it via HTTP requestsOnly be charged for the exact resources you useSupport any programming language or any operating system library of your choice or any binaryCheck this link for more features in full context However many serverless models overlook the fact that traditional databases are not managed You need to manually provision infrastructure vertical scaling or add more servers horizontal scaling to scale the database This introduces a bottleneck in your serverless architecture and can lead to performance issues Deploy a serverless database with MongoDB AtlasMongoDB launched serverless instances a new fully managed serverless database deployment in Atlas to solve this problem With serverless instances you never have to think about infrastructure ーsimply deploy your database and it will scale up and down seamlessly based on demand ーrequiring no hands on management And the best part you will only be charged for the operations you run To make our architecture truly serverless we ll combine Cloud Run and MongoDB Atlas capabilities What s the MEAN stack The MEAN stack is a technology stack for building full stack web applications entirely with JavaScript and JSON The MEAN stack is composed of four main componentsーMongoDB Express Angular and Node js MongoDB is responsible for data storage  Express js is a Node js web application framework for building APIs Angular is a client side JavaScript platform Node jsis a server side JavaScript runtime environment The server uses the MongoDB Node js driver to connect to the database and retrieve and store data  Steps for deploying truly serverless MEAN stack apps with Cloud Run and MongoDBIn the following sections we ll provision a new MongoDB serverless instance connect a MEAN stack web application to it and finally deploy the application to Cloud Run Create the databaseBefore you begin get started with MongoDB Atlas on Google Cloud Once you sign up click the “Build a Database button to create a new serverless instance Select the following configuration Once your serverless instance is provisioned you should see it up and running Click on the “Connect button to add a connection IP address and a database user For this blog post we ll use the “Allow Access from Anywhere setting MongoDB Atlas comes with a set of security and access features You can learn more about them in the security features documentation article Use credentials of your choice for the database username and password Once these steps are complete you should see the following Proceed by clicking on the “Choose a connection method button and then selecting “Connect your application Copy the connection string you see and replace the password with your own We ll use that string to connect to our database in the following sections Set up a Cloud Run projectFirst sign in to Cloud Console create a new project or reuse an existing one Remember the Project Id for the project you created Below is an image from that shows how to create a new project in Google Cloud Then enable Cloud Run API from Cloud Shell Activate Cloud Shell from the Cloud Console Simply click Activate Cloud Shell Use the below command gcloud services enable run googleapis comWe will be using Cloud Shell and Cloud Shell Editor for code references To access Cloud Shell Editor click Open Editor from the Cloud Shell Terminal Finally we need to clone the MEAN stack project we ll be deploying  We ll deploy an employee management web application The REST API is built with Express and Node js the web interface with Angular and the data will be stored in the MongoDB Atlas instance we created earlier Clone the project repository by executing the following command in the Cloud Shell Terminal git clone In the following sections we will deploy a couple of servicesーone for the Express REST API and one for the Angular web application   Deploy the Express and Node js REST APIFirst we ll deploy a Cloud Run service for the Express REST API  The most important file for our deployment is the Docker configuration file Let s take a look at it mean stack example server Dockerfilecode block StructValue u code u Use the official lightweight Node js image r n r nFROM node slim r n r nWORKDIR usr app r nCOPY usr app r n r n Install dependencies and build the project r nRUN npm install r nRUN npm run build r n r n Run the web service on container startup r nCMD node dist server js u language u The configuration sets up Node js and copies and builds the project When the container starts the command “node dist server js starts the service To start a new Cloud Run deployment click on the Cloud Run icon on the left sidebar Then click on the Deploy to Cloud Run icon Fill in the service configuration as follows Service name node express api Deployment platform Cloud Run fully managed Region Select a region close to your database region to reduce latency Authentication Allow unauthenticated invocationsUnder Revision Settings click on Show Advanced Settings to expand them Container port Environment variables Add the following key value pair and make sure you add the connection string for your own MongoDB Atlas deployment ATLAS URI mongodb srv lt username gt lt password gt sandbox pvl mongodb net meanStackExample retryWrites true amp w majorityFor the Build environment select Cloud Build Finally in the Build Settings section select Builder Docker Docker mean stack example server DockerfileClick the Deploy button and then Show Detailed Logs to follow the deployment of your first Cloud Run service After the build has completed you should see the URL of the deployed service Open the URL and append employees to the end You should see an empty array because currently there are no documents in the database Let s deploy the user interface so we can add some Deploy the Angular web applicationOur Angular application is in the client directory To deploy it we ll use the Nginx server and Docker gt Just a thought there is also an option to use Firebase Hosting for your Angular application deployment as you can serve your content to a CDN content delivery network directly Let s take a look at the configuration files mean stack example client nginx confcode block StructValue u code u events r n r nhttp r n r n include etc nginx mime types r n r n server r n listen r n server name r n root usr share nginx html r n index index html r n r n location r n try files uri uri index html r n r n r n u language u In the Nginx configuration we specify the default portー and the starting fileーindex html mean stack example client Dockerfilecode block StructValue u code u FROM node slim AS build r n r nWORKDIR usr src app r nCOPY package json package lock json r n r n Install dependencies and copy them to the container r nRUN npm install r nCOPY r n r n Build the Angular application for production r nRUN npm run build prod r n r n Configure the nginx web server r nFROM nginx alpine r nCOPY nginx conf etc nginx nginx conf r nCOPY from build usr src app dist client usr share nginx html r n r n Run the web service on container startup r nCMD nginx g daemon off u language u In the Docker configuration we install Node js dependencies and build the project Then we copy the built files to the container configure and start the Nginx service Finally we need to configure the URL to the REST API so that our client application can send requests to it Since we re only using the URL in a single file in the project we ll hardcode the URL Alternatively you can attach the environment variable to the window object and access it from there mean stack example client src app employee service tscode block StructValue u code u u r n r n Injectable r n providedIn root r n r nexport class EmployeeService r n Replace with the URL of your REST API r n private url r n u u language u We re ready to deploy to Cloud Run Start a new deployment with the following configuration settings Service Settings Create a service Service name angular web app Deployment platform Cloud Run fully managed Authentication Allow unauthenticated invocationsFor the Build environment select Cloud Build Finally in the Build Settings section select Builder Docker Docker mean stack example client DockerfileClick that Deploy button again and watch the logs as your app is shipped to the cloud When the deployment is complete you should see the URL for the client app Open the URL and play with your application Demo video Command shell alternative for build and deployThe steps covered above can alternatively be implemented from Command Shell as below Create the new project directory named “mean stack example either from the Code Editor or Cloud Shell Command Terminal mkdir mean stack demo cd mean stack demo Clone project repo and make necessary changes in the configuration and variables same as mentioned in the previous section Build your container image using Cloud build by running the command in Cloud Shell gcloud builds submit tag gcr io GOOGLE CLOUD PROJECT mean stack demo GOOGLE CLOUD PROJECT is an environment variable containing your Google Cloud project ID when running in Cloud Shell   Test it locally by running docker run d p gcr io GOOGLE CLOUD PROJECT mean stack demoand by clicking Web Preview Preview on port Run the following command to deploy your containerized app to Cloud Run gcloud run deploy mean stack demo image gcr io GOOGLE CLOUD PROJECT mean stack demo platform managed region us central allow unauthenticated update env vars DBHOST DB HOSTa allow unauthenticated will let the service be reached without authentication b platform managed means you are requesting the fully managed environment and not the Kubernetes one via Anthos c update env vars expects the MongoDB Connection String to be passed on to the environment variable DBHOST Hang on until the section on Env variable and Docker for Continuous Deployment for Secrets and Connection URI management d When the deployment is done you should see the deployed service URL in the command line e When you hit the service URL you should see your web page on the browser and the logs in the Cloud Logging Logs Explorer page   Environment variables and Docker for continuous deploymentIf you re looking to automate the process of building and deploying across multiple containers services or components storing these configurations in the repo is not only cumbersome but also a security threat   For ease of cross environment continuous deployment and to avoid security vulnerabilities caused by leaking credential information we can choose to pass variables at build deploy up time update env vars allows you to set the environment variable to a value that is passed only at run time In our example the variable DBHOST is assigned the value of DB HOST which is set as DB HOST lt lt ENCODED CONNECTION URI gt gt Please note that unencoded symbols in Connection URI username password will result in connection issues with MongoDB For example if you have a in the password or username replace it with in the encoded Connection URI  Alternatively you can also pass configuration variables as env variables at build time into docker compose docker compose yml By passing configuration variables and credentials we avoid credential leakage and automate deployment securely and continuously across multiple environments users and applications ConclusionMongoDB Atlas with Cloud Run makes for a truly serverless MEAN stack solution and for those looking to build an application with a serverless option to run in a stateless container Cloud Run is your best bet  Before you go…Now that you have learnt how to deploy a simple MEAN stack application on Cloud Run and MongoDB Atlas why don t you take it one step further with your favorite client server use case Reference the below resources for more inspiration Cloud Run HelloWorld MongoDB MEAN Stack If you have any comments or questions feel free to reach out to us online Abirami Sukumaran and Stanimira Vlaeva 2022-06-13 20:00: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件)