Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
仮引数として文字列s1,s2を受け取り,s1からs2に含まれていない文字をすべて取り除く関数を作成したい. |
https://teratail.com/questions/340372?rss=all
|
|
2021-05-26 01:58:52 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
UbuntuのCUIでログインできない |
https://teratail.com/questions/340371?rss=all
|
UbuntuのCUIでログインできないUbuntuのCUIモードでの起動を試したのですが、ログインできません。 |
2021-05-26 01:56:52 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
デベロッパーツールでの見え方の違いについて |
https://teratail.com/questions/340370?rss=all
|
デベロッパーツールでの見え方の違いについてホームページ制作を検証ツールを見ながら進めているのですが、上が検証ツールで見た時で、下がブラウザでみた時です。 |
2021-05-26 01:34:59 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
colaboratoryで実行しているseleniumのIPアドレスを偽装したい。 |
https://teratail.com/questions/340369?rss=all
|
colaboratoryで実行しているseleniumのIPアドレスを偽装したい。 |
2021-05-26 01:27:26 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
colaboratoryで実行しているseleniumのIPアドレスを日本のものにしたい。 |
https://teratail.com/questions/340368?rss=all
|
発生している問題・エラーメッセージエラーメッセージ該当のソースコードソースコード試したことここに問題に対して試したことを記載してください。 |
2021-05-26 01:15:40 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Flutterで画面遷移元に戻る際に値を渡す |
https://teratail.com/questions/340367?rss=all
|
Flutterで画面遷移元に戻る際に値を渡す下記のような画面でテキスト文言を編集できるようなサンプルプログラムを記載しております。 |
2021-05-26 01:07:12 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
error checking context: 'can't stat '/home/user/myapp/tmp/db''. |
https://qiita.com/higaki-takanori/items/b46eecdf0de740716418
|
errorcheckingcontextxcanxtstatxhomeusermyapptmpdbxx環境EC上でdockerにてimageをbuild中に起きた。 |
2021-05-26 01:03:08 |
Git |
Gitタグが付けられた新着投稿 - Qiita |
VScodeのリポジトリの初期化を元に戻したい |
https://qiita.com/kii_84r/items/7e30eff9e581abdb788e
|
VScodeのリポジトリの初期化を元に戻したい経緯についてMAMPでリポジトリを作成し全てGithubにあげようとした際、変更が多すぎてエラー発生。 |
2021-05-26 01:53:45 |
技術ブログ |
Developers.IO |
How do I start and stop EC2 instances automatically? |
https://dev.classmethod.jp/articles/tsnote-ec2-ssm-automation-en/
|
How do I start and stop EC instances automatically What is the problem I have a requirement that specific EC instances need to be at start status only at certa |
2021-05-25 16:52:41 |
海外TECH |
Ars Technica |
Hyundai reveals US specs for Ioniq 5 electric crossover |
https://arstechnica.com/?p=1767450
|
charge |
2021-05-25 16:10:41 |
海外TECH |
DEV Community |
Challenges in Federated Learning |
https://dev.to/balapriya/challenges-in-federated-learning-2e8o
|
Challenges in Federated LearningThis blog post is inspired by Peter Kairouz s talk titled Advances and Open Problems in Federated Learning at the OpenMined Privacy Conference What is Federated Learning Federated Learning is a machine learning setting where multiple entities clients collaborate in solving a machine learning problem under the coordination of a central server or service provider Each client s raw data is stored locally and not exchanged or transferred instead focused updates intended for immediate aggregation are used to achieve the learning objective Working definition proposed in Understanding Cross Device Federated LearningLet us start by understanding the premise of Federated Learning the working model architecture of cross device federated learning comprises of several client devices that take part in the process of federated training a server that coordinates with client devices in the iterative process of model development and devices on which the model will be deployed The server sends out an initial model the clients then train the model on device with their data locally and send the updated model to the server The server then combines the updates from the clients suitably using federated averaging to update the initial model The metrics are then computed for the updated model If the metrics are satisfactory the model is deployed on several other devices else the process of federated training commences again until the model obtained gives optimal performance The key premise in the process is that at any point in time the server does not have access to the clients data on which the model is trained but only has access to the updates Federated Averaging AlgorithmIn essence the federated averaging algorithm involves the following steps The client devices run multiple steps of Stochastic Gradient Descent SGD on their local data to compute an update Server computes an overall update using a simple weighted average of the client updates There have been many advances in the area of federated learning but there are some challenges that need to be addressed which we shall cover in subsequent sections Challenges in Federated Learning Improving efficiency and effectivenessThe following are the areas where there s scope to improve the current federated learning systems Personalize for the client devices Attempt to do more with fewer client devices or with less resources per device Even when the server does not get to see any of the data that clients used for training how can we effectively support machine learning debugging and hyperparameter search Make trained models smaller so that they are deployment friendly even on devices like mobile phones Reduce wall clock training time Support unsupervised semi supervised and reinforcement learning Robustness to attacks and failuresThere are many adversarial attacks possible that can potentially disrupt the entire system A few of them are listed below Client device training on compromised data data poisoning A compromised client device that sends malicious updates to the server Data corruption during transmission to and from the server Inference time evasion attacks Ensuring fairness and addressing sources of biasIn this area the following are some of the concerns that should be addressed How do we account for bias in training data For example while our model may be representative of a major fraction of the client population would it be just as representative of the minority client population as well Bias in device availabilityAll the clients need not be available at all times and they may choose to drop out even as the training is in progress Bias in which devices successfully send updatesIt is not necessary that all participating clients successfully send updates to the server In that case how can we account for those clients that participate in the training process but do not send model updates Preserving the privacy of user dataThe privacy principles guiding federated learning are motivated by the following question What private information might an adversary learn with access to the client devices the network over which model updates are sent the server and the released models A few of the privacy principles guiding federated learning are enumerated below Minimal data exposure and focused collection At the client side exposure of data should be minimized and the updates should be securely aggregated Anonymous or ephemeral collection The updates are anonymously collected and are stored only until the federated averaging step is completed and are deleted Only in aggregate release An engineer data analyst who has access to models only gets to see the aggregated model and not any of the individual client s model updates Understanding Differential PrivacyAmong the several complementary privacy technologies such as Encryption Secure Multi Party Computation SMPC and Differential Privacy we shall focus on ensuring Differential Privacy in a Federated Learning system There are a few different ways of ensuring differential privacy in a federated learning system outlined below Differential Privacy is the statistical science of trying to learn as much as possible about a group while learning as little as possible about any individual in it Andy Greenberg in WIRED Centrally Differentially Private Federated AveragingIn Centrally Differentially Private Federated Averaging the client devices clip the model updates as a measure to bound sensitivity of the model to individual records in the training dataset The server then adds noise whose standard deviation is proportional to the sensitivity while combining the model updates from the clients Locally Differentially Private Federated AveragingWhat if the clients do not trust the server for the noise addition part Well they can then choose to clip updates as well as add noise locally on their respective devices This is called Locally Differentially Private Federated Averaging However we do realize that this procedure can end up adding too much noise and there are certain fundamental results that limit the feasibility of applying locally differentially private federated averaging at scale in practice The Shuffled Model of Federated LearningAs a recent development there has been a demonstration of the shuffled model where the clients can choose to clip updates and add noise and the updates are randomly shuffled so as to increase anonymity and the server cannot possibly identify the particular client s updates However here are some limitations with this approach There s no fixed or known population to sample from or shuffle Client availability is dynamic due to multiple system layers and participation constraints Clients may drop out at any point in the process impacting privacy and utility Desirable characteristics of the system and active areas of researchGood privacy vs utility trade offs Robust to nature s choices client availability client dropout in that privacy and utility are both preserved possibly at the expense of forward progress References Advances and Open Problems in Federated Learning This post was originally published at |
2021-05-25 16:47:22 |
海外TECH |
DEV Community |
CSS Container Queries - The future of responsive web design is almost here |
https://dev.to/rajatkapoor/css-container-queries-the-future-of-responsive-web-design-is-almost-here-43ab
|
CSS Container Queries The future of responsive web design is almost hereWith the huge number of smartphone users and increasing power of these devices ensuring that your web applications run fine on all screen sizes is more important than ever Fortunately CSS provides a couple of ways to style the same HTML in different ways on different devices Responsive web design right nowYou can skip to the next section if you re already familiar with media queries We can use media queries in our CSS to conditionally apply CSS styles on the basis of the device or browser user agent properties These properties could be the width of the screen orientation of the device whether the device is a screen reader or a printer etc Here is a small demo showing how media queries work We will just add one div in our html lt div class box gt This is a responsive box Resize your browser width to see the styles change lt div gt And here is our CSS box background lightblue width height vh media max width px box background hotpink color white font weight You can check the whole demo here If you open the above link on a desktop laptop you will see a screen with a blue background with black colored text written on it Something like this But if you open this on a smartphone you will have a pink background instead of blue and the text would be written in white Magic right This is possible because of the media queries This happens because we apply certain styles only when the width of our device screen is less than px This is the CSS that causes the different styles on mobile and desktop media max width px box background hotpink color white font weight Enter container queries container queries are only supported on Chrome Canary with the enable container queries flag enabled You can download Chrome Canary here Once installed open the URL chrome flags enable container queries and enable container queries There is a polyfill under development that you can use to use container queries today You can check it out here container queries are one of the many features that are coming to CSS Unlike media queries which can only let you conditionally apply CSS styles on the basis of the browser properties width orientation etc container queries allow you to conditionally apply styles based on the properties of the container For example using container queries you can style cards to appear differently depending on the size of the element they are placed in And that is what we will try to build Here s what what we will buildWe will build a card that will change styles depending on the width of its container and not the width of the screen Here s a demo that works only on Chrome canary Here s the same demo with the cqfill polyfill You can see the full code of this demo in this github repository Let s try it outWe ll use good old plain HTML and CSS for this project Here is our initial HTML Notice that we have also linked to our own styles css file lt index html gt lt DOCTYPE html gt lt html lang en gt lt head gt lt meta charset UTF gt lt meta http equiv X UA Compatible content IE edge gt lt meta name viewport content width device width initial scale gt lt title gt Container Queries Rajat Kapoor lt title gt lt our own styles gt lt link href styles css rel stylesheet gt lt head gt lt body gt lt body gt lt html gt We will start by creating a very simple card with an image title and some text This card will have a card header with an image and a card body with a title and other card content The card is styled using flex with flex direction row so the image stays on the left hand side and the rest of the text content on the right We will wrap this card in a div with class parent large and will wrap all of this in a container to center everything on the page lt index html gt lt gt lt body gt lt div class container gt lt div class parent large gt lt div class card gt lt div class card header gt lt img class card image src img jpeg alt card image gt lt we have this img jpeg file in our folder gt lt div gt lt div class card body gt lt h class card title gt Lorem ipsum dolor sit amet lt h gt lt h class card content gt Lorem ipsum dolor sit amet consectetur adipisicing elit Nihil expedita accusantium quidem ducimus doloribus architecto a est deleniti rerum saepe hic Repellendus itaque ab officiis voluptate ea earum perferendis consequatur lt h gt lt div gt lt div gt lt div gt lt div gt lt body gt styles css body background color lightblue container display grid place items center grid gap em card background white border radius em display flex flex direction row overflow hidden padding em card header width card image border radius em object fit cover height width card body padding em flex card header flex large width This is how your page will look We will now add another div with class parent small and copy paste the same card into it We will also define styles for the small class lt index html gt lt body gt lt div class container gt lt div class parent large gt lt div class card gt lt card gt lt div gt lt div gt lt div class parent small gt lt div class card gt lt card gt lt div gt lt div gt lt div gt lt body gt styles css small width px Note that both the cards are exactly the same and are just lying in two different divs And this is how they look Adding container queriesWe want the card to have the text content below the image in case the width of the container is less than px We will also change the background of our card to hotpink and make the text white to make the changes more noticable For container queries to work we need to add CSS to the container to define the containment context ーthe container queries of the children inside this containment context react to the properties of this container We will make the divs with class parent as the containment context of these cards To do that we will modify the CSS of the parent class styles css parent contain layout inline size style Now we can add container queries to our card styles css container max width px card flex direction column background color pink Thats it Now if you go back to your browser you will see that the card in the div with the class small has the new styles applied Yay We were able to control the styling on the basis of the container size and not just the device properties screen size That is the power of container queries Bonus ーLet s make the parent resizableDo you know you can quickly make anything resizable by just adding CSS We ll do it to our parentclass styles css parent contain layout inline size style resize horizontal overflow auto Now both the parent divs can be resized horizontally to see our container queries working in action ConclusionWith container queries we will be able to approach responsive designs in a much smarter way That said container queries are in early stages of development It is not recommended to use these in production right now In fact CSSWG changed the syntax between the time I started to write this article to the time I finished writing it Follow me on twitter to get more web development related content Special thanks to Ahmad Shadeed for helping me with debugging why my container queries were not working in Chrome Canary You can also read more about container queries in this article |
2021-05-25 16:44:31 |
海外TECH |
DEV Community |
Work from Home Essential Tips |
https://dev.to/ayushi7rawat/work-from-home-essential-tips-42j6
|
Work from Home Essential TipsHello Reader Working from home has become the new normal and It is a must to ensure a healthy work life balance Here are few essential tips which can help you You can also refer to the YouTube video on the same Dedicated Workspace Although you re working from home You must have a dedicated Workspace Start with Setting up your desk It helps you establish physical boundaries Most people tend to ignore this especially if you re new to working remotely You simply need a dedicated space If you re working from home with your partner or kids or a roommate make your needs known Try to make it more comfortable and most importantly free from distractions TIP Pick a spot for your desk where you can plenty of natural light Set up a Morning Routine If I talk about me personally mornings sets the tone for the whole day It prepares you for the upcoming day No Rush give yourself a few days to establish a routine It helps you fit in the best mindset Your morning routine can involve going to a gym reading the news or maybe cooking What is your morning Routine TIP Start your day with a Glass of water Stay Hydrated Stay connected Do not miss the human interaction with Time working from home can become isolating So its important to stay connected Stay connected with your team using virtual communication tools like Ms teams Google meet or Slack Have a one to one conversation on a regular basis with peers What do you do to stay Connected Schedule breaks amp Move yourself Working from home can be tiring desk job You need to take care of your mental health You cannot just grab a laptop and keep working all day long it will affect your health drastically Schedule your breaks Take small five minutes break every hourDrink water frequently Strech your muscles Prepare Tea Coffee or any healthy drink and take a small walk for few mintutes When you receive a non work call again do a little walk and talk How do you Utilize and plan your breaks Do you have reliable technology So when you re working from home it becomes important to make sure that ones has a reliable internet connection If you have unlimited mobile data you can connect to your phone s hotspot But prefer a stable broadband connection TIP Always have a backup plan Set Up Work Life boundaries If you are working remotely It becomes important to set up few boundaries so that your work does not get affected Having a dedicated workspace is a first Do you check for your cell phone s notifications regularly Nope you gotta stop doing it It is killing your time and your productivity So maybe you can even setup some virtual boundaries to maintain a good work life balance What do you do to achieve a good work life balance BONUS Always Maintain good posture Use ethernet connection for video calls from the computer Organize your daily tasks Don t eat at your desk Routine could be your best ally Share what you do to ensure a healthy work life balance and If you would like to add anything feel free to add in the comments section below And with that it s a wrap I hope you found the article useful Share in comments below I create content about Career Blogging Programming and Productivity If this is something that interests you please share the article with your friends and connections Thank you for reading If you have reached so far please like the article It will encourage me to write more such articles Do share your valuable suggestions I appreciate your honest feedback I would strongly recommend you to Check out the YouTube video of the same and don t forget to subscribe to my Channel I would love to connect with you at Twitter LinkedIn You should definitely check out my other Blogs Python All You need to knowGitHub CLI All you need to knowHow to make your own Google Chrome ExtensionRun Javascript from PythonAutomate WhatsApp using PythonAutomate Cowin Vaccine slots Availability using PythonWhat is Competitive ProgrammingSee you in my next Blog article Take care |
2021-05-25 16:34:58 |
海外TECH |
DEV Community |
JavaScript - Ternary Operator |
https://dev.to/cesar_code/javascript-ternary-operator-26co
|
JavaScript Ternary OperatorIt seems that some juniors overlook or eschew few JavaScript features because of its bizarre and dynamic nature It s common to happen I can relate to this evasive moment when I first began my journey as a web developer Back in my days I preferred being explicit to being implicit when I was learning a new programming language To be explicit means to have the intentions of glossing over concepts practical examples etc It is important to overcome that fear which hinders you from exploring and experimenting with new things Being implicit keeps you plain and aware of the curves that language has got It is healthy to break that comfort zone and try out some crazy features that a programming language hands over to you Breaking that comfort zone would teach you lots of things you have never expected before Let s break it and have a clear understanding of JavaScript s feature ternary operator ️ This article assumes you know at least a small percentage of JavaScript You will learn what a ternary operator is You will understand how to use this feature And whether it is healthy or not to use it Let s get started What is a ternary operator A ternary operator is a shorthand version of the conditional statement We are conscious that conditional statements take decisions based on what segments of code dictate to them to do That s how they function If the condition meets the demands the decision maker evaluates to true But if the condition doesn t meet the demands it evaluates to false Suppose that we write a simple condition that checks out if a user is authorized or not Let s take a quick example const username John if username John log Welcome back username else log Oops username you are not authorized expected output Welcome back JohnNote that a real life example wouldn t be like this It would be much more complex regarding authorization So this is just for demo purposes only Now if the variable username matches the condition username John then it evaluates to true which means that the user is authorized If it doesn t match the condition evaluates to false indicating that the user is not authorized Oh by the way a quick note to explain extra few things concerning the block of code above Using backticks might seem new to you They are called Template literals or sometimes Template strings Instead of using ordinary quotation marks which do not allow us to embed expressions we can use template literals that allow us to embed expressions using expression For a deeper investigation try MDN Documentation Template Literals Great Let s go on So that s what a simple conditional statement could do Now back to the ternary operator This latter is shorter than the original conditional statement It takes three operands hence ternary Let s take a look at its syntax condition expression expressionWow wait what Yes that s a feature JavaScript offers to use when necessary Remember The key phrase here is when necessary Let s see a practical example supposing that we want to check navigation status const status online status online log ONLINE log OFFLINE expected output ONLINEAs you can see this ternary operator can be divided into three parts also known as operands It takes a condition which checks out whether the status equals online or not The condition should always be followed by a question mark After declaring the question mark we add the two expressions which happen to be separated by a colon If the condition is truthy the first expression executes If it turns out a falsy expression then the second expression executes That s how a basic ternary operator operates It s like asking a simple question is the status online Is it If it is do this job if it is not do this job Boolean based conditionsIt is not uncommon to trip over conditionals that will either evaluate thoroughly to true or false when using functions But wait Didn t we mention that conditions evaluate either to true or false by default Yes the case here is functions turn this feature to their advantage Let s take an example supposing that we have a simple function that compares values and returns either true or false function compare x return x gt true false Did you locate the ternary operator Yes we can treat it like that And guess what That s fine to JavaScript s logic Let s test that function and log out the result that s the returned value function compare x return x gt true false log compare expected output truelog compare expected output falseBy the way if you re wondering what that log function is It s not a built in function in JavaScript It s just a shortcut for console log so that we don t have to type the entire thing every time Here it is function log val console log val Default parametersHere s another cool thing about ternary operators We can use them to set default parameters Just like this function comments c c typeof c undefined c Not yet log c comments expected output Not yetcomments I like that pizza expected outcome I like that pizza So what is happening here is that we are checking if the function returns a value or not If the function is invoked without a given value it should return undefined by default We would rather avoid such pitfalls Ternary operators allow us to avoid such absurd behaviour by setting a static default parameter If no value is provided then the default will always be assigned to Not yet Note that the ternary operator is not the only way to set default params It s just to make it clear it s possible through the ternary operator Note quickly that typeof is an operator that returns the data type For a deeper investigation check out MDN Documentation typeof Operator Healthy or not healthy Now how far do you think we can go with ternary operators We can go deeper as this can become a nightmare later ️ We can make an entire spiderweb nested by exploiting multiple conditions the same way it works with nested conditional statements Let s peek into the original conditional that normally resorts to if …else if …else if …else Let s suppose we want to enter a student name and check whether that student was present or absent yesterday A simple and passive checker to check out a particular student based on the student s name as a variable const studentName Lisa if studentName Tom log P else if studentName Ann log P else if studentName Bob log A else if studentName Maria log P else if studentName Lisa log A else log Student does not exist expected output AThat already looks daunting let alone using a ternary operator const studentName Lisa studentName Tom log P studentName Ann log P studentName Bob log A studentName Maria log P studentName Lisa log A log Student does not exist expected output AYes we can create that spiderweb️ And it looks like infinite hell We usually separate the conditions by colons Although it might seem intelligible now it can become confusing when using it in a larger code environment So Is it healthy It is not recommended to fall back on this behaviour Not only is it a bad practice but it s also giving a bad impression about yourself as a developer We should write code that s readable and accessible to the entire team It is not healthy to use this behaviour However it is healthy to use ternary operators wisely and only when necessary That key phrase remember It is a blessing It can be a curse too Thank you for your attention I hope it has been as informative as you expected Instagram cesarcode initGithub cesarcode init |
2021-05-25 16:33:52 |
Apple |
AppleInsider - Frontpage News |
Brydge releases iTrack aluminum trackpad designed for desktop iPad users |
https://appleinsider.com/articles/21/05/25/brydge-releases-itrack-aluminum-trackpad-designed-for-desktop-ipad-users?utm_medium=rss
|
Brydge releases iTrack aluminum trackpad designed for desktop iPad usersBrydge has begun offering its long promised iTrack trackpad designed exclusively for iPad users well after its early debut during CES Brydge iTrack iPadOS trackpadThe Brydge iTrack trackpad looks very Apple esque with an aluminum base that tapers towards the front with a inch by inch matte glass top that creates a smooth tracking surface It features USB C charging impressive battery life and multi touch capabilities Read more |
2021-05-25 16:58:40 |
Apple |
AppleInsider - Frontpage News |
New TagVault: Pet is an AirTag holder for dog collars |
https://appleinsider.com/articles/21/05/25/new-tagvault-pet-is-an-airtag-holder-for-dog-collars?utm_medium=rss
|
New TagVault Pet is an AirTag holder for dog collarsElevationLab has launched the TagVault Pet a waterproof AirTag holder that connects to collars or harnesses for dogs TagVault Pet on a dog collarTagVault Pet is a new AirTag mount that is intended to be used for tracking dogs ElevationLab claims that it works with most collar thicknesses and is suitable for dogs ーor cats ーthat weigh over lbs Read more |
2021-05-25 16:54:25 |
Apple |
AppleInsider - Frontpage News |
Tidal adds Apple Watch offline playback for subscribers |
https://appleinsider.com/articles/21/05/25/tidal-adds-apple-watch-offline-playback-for-subscribers?utm_medium=rss
|
Tidal adds Apple Watch offline playback for subscribersTidal users are now able to download music directly to their Apple Watch instead of requiring a streaming connection Tidal on Apple Watch now supports offline listeningFollowing Tidal s purchase by SquareSpace and also Spotify s release of offline playback Tidal has now also updated to allow phone free use for subscribers Read more |
2021-05-25 16:35:40 |
Apple |
AppleInsider - Frontpage News |
Epic deals: $999 MacBook Pro at B&H offers record low price, save up to $450 |
https://appleinsider.com/articles/21/05/24/epic-deals-999-macbook-pro-at-bh-offers-record-low-price-save-up-to-450?utm_medium=rss
|
Epic deals MacBook Pro at B amp H offers record low price save up to With Father s Day and graduation gift giving in full swing a sub MacBook Pro deal couldn t come at a better time B amp H is discounting two Intel MacBook Pros exclusively for AppleInsider readers this week knocking up to off the laptops while supplies last Intel MacBook Pro on sale from The exclusive MacBook Pro deals are courtesy of B amp H Photo offering AppleInsider readers to off on two Intel configurations in your choice of finish Read more |
2021-05-25 16:57:17 |
海外TECH |
Engadget |
DHS will issue mandatory cybersecurity rules for pipeline companies |
https://www.engadget.com/dhs-pipeline-cybersecurity-standards-165250451.html
|
DHS will issue mandatory cybersecurity rules for pipeline companiesFollowing the Colonial Pipeline ransomware attack that led to fuel shortages in parts of the US the federal government plans to impose mandatory cybersecurity regulation on the pipeline industry for the first time |
2021-05-25 16:52:50 |
海外科学 |
NYT > Science |
C.D.C. Will Not Investigate Mild Infections in Vaccinated Americans |
https://www.nytimes.com/2021/05/25/health/coronavirus-breakthrough-infections.html
|
C D C Will Not Investigate Mild Infections in Vaccinated AmericansAt least vaccinated people were infected with the coronavirus through the end of April Now the agency has stopped pursuing the mildest cases |
2021-05-25 16:24:56 |
金融 |
金融庁ホームページ |
金融審議会「市場制度ワーキング・グループ」(第10回)議事次第について公表しました。 |
https://www.fsa.go.jp/singi/singi_kinyu/market-system/siryou/20210525.html
|
金融審議会 |
2021-05-25 17:00:00 |
ニュース |
ジェトロ ビジネスニュース(通商弘報) |
2021/2022年度予算案、「新型コロナ禍」からの経済回復を加速化 |
https://www.jetro.go.jp/biznews/2021/05/917ca2e8325c96f0.html
|
経済 |
2021-05-25 16:30:00 |
ニュース |
ジェトロ ビジネスニュース(通商弘報) |
ASEAN主要国における第1四半期の自動車販売台数は7.8%増加 |
https://www.jetro.go.jp/biznews/2021/05/233124f2db3f33c5.html
|
asean |
2021-05-25 16:20:00 |
ニュース |
ジェトロ ビジネスニュース(通商弘報) |
タイにおける日台連携可能性セミナーを開催 |
https://www.jetro.go.jp/biznews/2021/05/8539efd69313611b.html
|
連携 |
2021-05-25 16:10:00 |
ニュース |
BBC News - Home |
Covid: No local lockdowns in Indian variant areas, say local leaders |
https://www.bbc.co.uk/news/uk-57246973
|
councils |
2021-05-25 16:33:51 |
ニュース |
BBC News - Home |
Covid: Royal Bolton hospital taking 'urgent action' over virus |
https://www.bbc.co.uk/news/uk-england-manchester-57242368
|
bolton |
2021-05-25 16:40:09 |
ニュース |
BBC News - Home |
Mothers demand historic forced adoption apology |
https://www.bbc.co.uk/news/uk-57231621
|
unmarried |
2021-05-25 16:19:36 |
ニュース |
BBC News - Home |
Rob Roberts: Conservative MP told staffer to be 'less alluring' |
https://www.bbc.co.uk/news/uk-wales-politics-56757772
|
suspension |
2021-05-25 16:24:23 |
ニュース |
BBC News - Home |
Elliot Page: Actor wins praise for sharing swimming shorts image after top surgery |
https://www.bbc.co.uk/news/entertainment-arts-57239448
|
breast |
2021-05-25 16:33:27 |
ニュース |
BBC News - Home |
Belarus plane: What we know and what we don't |
https://www.bbc.co.uk/news/world-europe-57239521
|
belarus |
2021-05-25 16:04:13 |
ニュース |
BBC News - Home |
Solskjaer eyes Europa League win to herald bright future for Man Utd |
https://www.bbc.co.uk/sport/football/57224112
|
Solskjaer eyes Europa League win to herald bright future for Man UtdOle Gunnar Solskjaer says a Manchester United win over Villarreal in the Europa League final could be a stepping stone for a big future |
2021-05-25 16:30:06 |
ニュース |
BBC News - Home |
Covid: When will I get the vaccine? |
https://www.bbc.co.uk/news/health-55045639
|
covid |
2021-05-25 16:04:27 |
ニュース |
BBC News - Home |
Covid-19 in the UK: How many coronavirus cases are there in your area? |
https://www.bbc.co.uk/news/uk-51768274
|
cases |
2021-05-25 16:30:15 |
GCP |
Cloud Blog |
What is Vertex AI? Developer advocates share more |
https://cloud.google.com/blog/products/ai-machine-learning/vertex-ai-overview/
|
What is Vertex AI Developer advocates share moreWith so much data at our fingertips many organizations are utilizing machine learning to generate insightful predictions and improve their apps But most teams have varying levels of machine learning expertise ranging from novice all the way to experts To accelerate AI innovation you need a platform that can help you build expertise for those novice users and provide a flexible environment for those experts This is where Vertex AI comes in Announced last week Vertex AI unifies Google Cloud s existing ML offerings into a single environment for efficiently building and managing the lifecycle of ML projects It provides tools for every step of the machine learning workflow across different model types for varying levels of machine learning expertise In this video we ll show how Vertex AI supports your entire ML workflowーfrom data management all the way to predictions If you enjoyed this view keep an eye out for more AI Simplified episodes where we ll dive much deeper into Vertex AI including managing different datasets and building end to end machine learning workflows |
2021-05-25 16:30:00 |
GCP |
Cloud Blog |
What is Compute Engine? Use cases, security, pricing and more |
https://cloud.google.com/blog/topics/developers-practitioners/what-compute-engine-use-cases-security-pricing-and-more/
|
What is Compute Engine Use cases security pricing and moreCompute Engine is a customizable compute service that lets you create and run virtual machines on Google s infrastructure You can create a Virtual Machine VM that fits your needs Predefined machine types are pre built and ready to go configurations of VMs with specific amounts of vCPU and memory to start running apps quickly With Custom Machine Types you can create virtual machines with the optimal amount of CPU and memory for your workloads This allows you to tailor your infrastructure to your workload If requirements change using the stop start feature you can move your workload to a smaller or larger Custom Machine Type instance or to a predefined configuration Click to enlargeMachine typesIn Compute Engine machine types are grouped and curated by families for different workloads You can choose from general purpose memory optimized compute optimized and accelerator optimized families General purpose machines are used for Day to day computing at a lower cost and for balanced price performance across a wide range of VM shapes The use cases that best fit here are web serving app serving back office applications databases cache media streaming microservices virtual desktops development environments Memory Optimized machine are recommended for ultra high memory workloads such as in memory analytics and large in memory databases such as SAP HANA Compute Optimized machines are recommended for ultra high performance workloads such as High Performance Computing HPC Electronic Design Automation EDA gaming video transcoding single threaded applications Accelerator Optimized machines are optimized for high performance computing workloads such as Machine learning ML Massive parallelized computations and High Performance Computing HPC How does it work You can create a VM instance using a boot disk image a boot disk snapshot or a container image The image can be a public operating system OS image or a custom one Depending on where your users are you can define the zone you want the virtual machine to be created in By default all traffic from the internet is blocked by the firewall and you can enable the HTTP s traffic if needed Use snapshot schedules hourly daily or weekly as a best practice to back up your Compute Engine workloads Compute Engine offers live migration by default to keep your virtual machine instances running even when software or hardware update occurs Your running instances are migrated to another host in the same zone instead of requiring your VMs to be rebooted AvailabilityFor High Availability HA Compute Engine offers automatic failover to other regions or zones in event of a failure Managed instance groups MIGs help keep the instances running by automatically replicating instances from a predefined image They also provide application based autohealing health checks If an application is not responding on a VM the auto healer automatically recreates that VM for you Regional MIGs let you spread app load across multiple zones This replication protects against zonal failures MIGs work with load balancing services to distribute traffic across all of the instances in the group Compute Engine offers autoscaling to automatically add or remove VM instances from a managed instance group based on increases or decreases in load Autoscaling lets your apps gracefully handle increases in traffic and it reduces cost when the need for resources is lower You define the autoscaling policy for automatic scaling based on the measured load CPU utilization requests per second or other metrics Active Assist s new feature predictive autoscaling helps improve response times for your applications When you enable predictive autoscaling Compute Engine forecasts future load based on your Managed Instance Group s MIG history and scales it out in advance of predicted load so that new instances are ready to serve when the load arrives Without predictive autoscaling an autoscaler can only scale a group reactively based on observed changes in load in real time With predictive autoscaling enabled the autoscaler works with real time data as well as with historical data to cover both the current and forecasted load That makes predictive autoscaling ideal for those apps with long initialization times and whose workloads vary predictably with daily or weekly cycles For more information see How predictive autoscaling works or check if predictive autoscaling is suitable for your workload and to learn more about other intelligent features check out Active Assist PricingYou pay for what you use But you can save cost by taking advantage of some discounts Sustained use saving are automatic discounts applied for running instances for a significant portion of the month If you know your usage upfront you can take advantage of committed use discounts which can lead up to significant savings without any upfront cost And by using short lived preemptive instances you can save up to they are great for batch jobs and fault tolerant workloads You can also optimize resource utilization with automatic recommendations For example if you are using a bigger instance for a workload that can run on a smaller instance you can save costs applying these recommendations SecurityCompute Engine provides you default hardware security Using Identity and Access Management IAM you just have to ensure that proper permissions are given to control access to your VM resources All the other basic security principles apply if the resources are not related and don t require network communication amongst themselves consider hosting them on different VPC networks By default users in a project can create persistent disks or copy images using any of the public images or any images that project members can access through IAM roles You may want to restrict your project members so that they can create boot disks only from images that contain approved software that meet your policy or security requirements You can define an organization policy that only allows Compute Engine VMs to be created from approved images This can be done by using the Trusted Images Policy to enforce images that can be used in your organization By default all VM families are Shielded VMs Shielded VMs are virtual machine instances that are hardened with a set of easily configurable security features to ensure that when your VM boots it s running a verified bootloader and kernel ーis the default for everyone using Compute Engine at no additional charge For more details on Shielded VMs refer to the documentation here For additional security you also have the option to use Confidential VM to encrypt your data in use while it s being processed in Compute Engine For more details on Confidential VM refer to the documentation here Use casesThere are many use cases Compute Engine can serve in addition to running websites and databases You can also migrate your existing systems onto Google Cloud with Migrate for Compute Engine enabling you to run stateful workloads in the cloud within minutes rather than days or weeks Windows Oracle or VMware applications have solution sets enabling a smooth transition to Google Cloud To run windows applications either bring your own license leveraging Sole tenant nodes or using the included licenced images ConclusionWhatever your application use case may be from legacy enterprise applications to digital native applications Compute Engine s families will fit it For a more in depth look into Compute Engine check out the documentation For more GCPSketchnote follow the GitHub repo For similar cloud content follow me on Twitter pvergadia and keep an eye out on thecloudgirl devRelated ArticleHow does Anthos simplify hybrid amp multicloud deployments If you re an enterprise chances are you have networking storage and compute on multiple clouds and in your own data center How can yo Read Article |
2021-05-25 16:15:00 |
コメント
コメントを投稿