投稿時間:2021-11-20 03:32:29 RSSフィード2021-11-20 03:00 分まとめ(43件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
AWS AWS Database Blog Build faster with Amazon DynamoDB and PartiQL: SQL-compatible operations https://aws.amazon.com/blogs/database/build-faster-with-amazon-dynamodb-and-partiql-sql-compatible-operations/ Build faster with Amazon DynamoDB and PartiQL SQL compatible operationsIn November we launched DynamoDB support for PartiQL With PartiQL you can codify your DynamoDB data operations using familiar SQL syntax and get the fast consistent performance that DynamoDB customers have long depended on In this post we explain how DynamoDB s PartiQL support helps new DynamoDB developers learn faster and provides existing DynamoDB developers … 2021-11-19 17:12:41
AWS AWS Machine Learning Blog Understand drivers that influence your forecasts with explainability impact scores in Amazon Forecast https://aws.amazon.com/blogs/machine-learning/understand-drivers-that-influence-your-forecasts-with-explainability-impact-scores-in-amazon-forecast/ Understand drivers that influence your forecasts with explainability impact scores in Amazon ForecastWe re excited to launch explainability impact scores in Amazon Forecast which help you understand the factors that impact your forecasts for specific items and time durations of interest Forecast is a managed service for developers that uses machine learning ML to generate more accurate demand forecasts without requiring any ML experience To increase forecast model … 2021-11-19 17:57:48
AWS AWS Machine Learning Blog New Amazon Forecast API that creates up to 40% more accurate forecasts and provides explainability https://aws.amazon.com/blogs/machine-learning/new-amazon-forecast-api-that-creates-up-to-40-more-accurate-forecasts-and-provides-explainability/ New Amazon Forecast API that creates up to more accurate forecasts and provides explainabilityWe re excited to announce a new forecasting API for Amazon Forecast that generates up to more accurate forecasts and helps you understand which factors such as price holidays weather or item category are most influencing your forecasts Forecast uses machine learning ML to generate more accurate demand forecasts without requiring any ML experience Forecast … 2021-11-19 17:57:41
AWS AWS Government, Education, and Nonprofits Blog Announcing the public sector speakers in the re:Invent 2021 leadership sessions https://aws.amazon.com/blogs/publicsector/announcing-the-public-sector-speakers-in-the-reinvent-2021-leadership-sessions/ Announcing the public sector speakers in the re Invent leadership sessionsThis year re Invent from Amazon Web Services AWS is back in person in Las Vegas Nevada from Monday November through Friday December There will be two public sector leadership sessions during re Invent for attendees to get inspired and discover the latest advancements and new initiatives from and for the public sector featuring AWS public sector leadership and public sector customers with groundbreaking stories about how the cloud is driving innovation 2021-11-19 17:36:48
python Pythonタグが付けられた新着投稿 - Qiita 自作Cコンパイラで作った自作Pythonでif文が動きました https://qiita.com/ab25cq/items/e0255356b1f8c099f166 neocyapy 2021-11-20 02:12:10
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) C++におけるGetメソッドのベターな実装方法 https://teratail.com/questions/370183?rss=all CにおけるGetメソッドのベターな実装方法前提・実現したいことCにおけるGetメソッドのベターな実装方法が知りたいです。 2021-11-20 02:05:11
海外TECH MakeUseOf Break Your Caffeine Addiction With One of These 6 Coffee Quitting Apps https://www.makeuseof.com/best-apps-to-quit-drinking-coffee-iphone-android/ android 2021-11-19 17:30:12
海外TECH MakeUseOf Should You Buy an Xbox Series X on Black Friday 2021? https://www.makeuseof.com/buy-xbox-series-x-black-friday-2021/ worth 2021-11-19 17:20:12
海外TECH MakeUseOf 10 Things You Didn’t Know You Could Do With Microsoft SharePoint https://www.makeuseof.com/things-you-could-do-with-microsoft-sharepoint/ sharepoint 2021-11-19 17:15:54
海外TECH MakeUseOf What Is Broken Link Hijacking and How Can You Prevent It? https://www.makeuseof.com/what-is-broken-link-hijacking/ What Is Broken Link Hijacking and How Can You Prevent It If you visit a website with broken external links that site might have been compromised by cybercriminals looking to damage reputations and scam you 2021-11-19 17:01:26
海外TECH DEV Community Why Use Ruby on Rails and When It’s Better For Your Project https://dev.to/shayanholakouee/why-use-ruby-on-rails-and-when-its-better-for-your-project-1hk7 Why Use Ruby on Rails and When It s Better For Your ProjectSometimes our clients are interested in what technologies we are going to use to build their web application projects If we choose Ruby on Rails also known as Rails or RoR we spend some time explaining why After all there are other popular languages and frameworks for back end web development like Python Java or PHP So why use RoR There are always multiple reasons for this decision the main one being that often it s a better choice than any other tool We have been using Ruby on Rails for web development since and are ranked as Top Ruby on Rails Developers by Clutch co which we take pride in considering that Ruby on Rails development is our strong suit Ruby on Rails can do a bunch of amazing things RoR has made coding much simpler for developers Otherwise why use Ruby on Rails when there are numerous other frameworks With its outstanding and unique features this technology has shown programmers how to make coding smart It handles complex things and makes programming easy for everyone There are a lot of things RoR does to save our time and effort It is a friend by your side who understands you and performs a variety of programming activities for you even before you ask for it RoR does all these with the application of out of the box features such as integrated automated testing convention over configuration methodology scaffolding and advanced caching methods Benefits of Ruby on RailsSpeedy software development RoR coding speed is attributed to its unique features and signature philosophies described above RoR is fast as it saves plenty of time by simplifying a lot of tasks thus accomplishing the goals faster That s how it does more in less time without compromising on quality This benefit is important when it comes to agile development y Scaffolding convention over configuration and automated testing are some of the valuable RoR features that save a lot of time and effort 2021-11-19 17:44:07
海外TECH DEV Community Best practices for error catching and handling https://dev.to/sargalias/best-practices-for-error-catching-and-handling-4e3m Best practices for error catching and handlingCatching and handling errors is an important part of error handling Here are some best practices for it Generally it s good to be very thorough with your error checkingdo your error checking firsthandle errors at the earliest appropriate place for exceptions put the minimum code you can in your try blocksrestore state and resources so the program can keep executing correctlyHere are the best practices in more detail Note For this article error is defined in Terminology Errors and non errors It means anything you might throw an exception or return an error value for It doesn t just mean an unrecoverable error Be very thorough with your error checkingUnfortunately programmers aren t perfect We create bugs and make mistakes In fact we do that quite often That s why we have so many error correction tools to help us So in general you should go by the assumption that everything in your program that can fail will fail Other things that you didn t think of will also fail To minimise the issue you should be very thorough with your error checking Always catch all possible exceptions and check all error values Then handle them appropriately Check for errors firstThis one is a stylistic convention In your code it s good to do your error checking before anything else Leave the normal program execution for after For example in methods that throw exceptions try to check for errors and throw the exception as early as possible Here s a code example class Example public void Foo string a if a Length throw new InvalidArgumentException Parameter a must not be the empty string normal program execution Method Foo starts by doing its error checking The normal code execution comes afterwards Avoid doing something like this class Example public void Foo string a do some normal program execution that doesn t need parameter a check parameter a right before you need it if a Length throw new InvalidArgumentException Parameter a must not be the empty string more normal program execution In this code Foo executes some code Then it does some error checking for parameter a The same principle applies to checking error values Try to check for errors before you continue your normal program execution Here is a code example function foo const result bar if result error handle error else normal code execution The code above first checks for errors Then it continues normal program execution This organises your code into recognisable blocks Errors first normal code after It makes your code easier to scan through and easier to understand It also helps with debugging When an error is thrown less normal code will have ran This reduces the amount of code you ll have to check through when debugging Handle errors at the first appropriate placeSometimes you can t handle errors immediately You might need to propagate them to higher level code To showcase this consider this example You have a function that searches the file system for a file If it finds it it reads its contents Otherwise it throws an exception How should the code handle this exception Should it crash the program create a new file search for a backup file in a different location notify the user that the file couldn t be found and ask them to try a different file The file system code doesn t know Different programs will want different behaviour if the file isn t found This means that the file system code can t have hardcoded behaviour to handle the exception Instead the exception should be handled at a more appropriate place The place that can decide what to do about it Often that means some code higher up in the call stack So the exception or error value needs to propagate up to that place For exceptions that means that you should let the exception bubble up Then have a try catch block at the place where you ll handle it For error values you ll have to manually return them until they reach the correct place in the call stack Having said that you should handle errors at the first appropriate place Don t propagate them higher than necessary The earlier you handle errors the closer they ll be to the code that raised them This makes the execution flow of the code easier to track and understand Here s a code example where we search the database for a record server jsimport getSpriteById from myDatabase js app get spriteId async req res gt const spriteId req spriteId try await getSpriteById spriteId catch error exception from database is handled here In this case it responds with a res sendStatus return res send Sprite found app post foo async req res gt const spriteId req body spriteId try await getSpriteById spriteId catch error exception from database is handled here In this case it redirects to another page for the user to fill in correct information res redirect form return res send Data accepted myDatabase jsconst db await connectToDatabase connectionString const getSpriteById async spriteId gt throws exception if it doesn t find the record const sprite await db findById spriteId return sprite export getSpriteById By the way the code is pseudocode don t expect it to work if you actually run it However it showcases the point In the example the function getSpriteById searches the database If it doesn t find the record it s looking for it throws an exception It doesn t handle the error itself Instead the handlers in server js decide how to handle the error Both handlers have try catch blocks which handle the exception differently based on what they need For exceptions Be careful of how much code you put in your try blocksIt s considered best practice to put as little code as possible in each try catch block This means that you may need multiple try catch blocks instead of just one The benefits of this are that it s easy to see which code raises which exceptions and which code doesn t raise exceptions it separates concerns more clearly Each try catch block is a separate piece of functionality This makes it easier to refactor it into a separate function it prevents the accidental swallowing of exceptions This happens if you put some code in try without thinking That code might throw an exception that you weren t prepared to handle However it will be caught in catch and potentially handled incorrectly Then the program will continue executing potentially producing the wrong result It s also a solution for when certain lines of code can throw the same type of exception but each case needs to be handled differently On the flip side having small try catch blocks can make the code more verbose In the end you need to be pragmatic Keep the benefits and downsides in mind Then make your decision Usually correctness and clarity are more important even if they re more verbose However it s okay to make the code more concise sometimes especially if you don t think correctness and clarity are too affected For example this code could be separated further but is still pretty good BufferedReader bufferedReader null try bufferedReader new BufferedReader new FileReader path String line bufferedReader readLine while line null doSomething line line bufferedReader readLine catch FileNotFoundException IOException e e printStackTrace finally try bufferedReader close catch IOException e e printStackTrace Here is the same example separated more BufferedReader bufferedReader null try bufferedReader new BufferedReader new FileReader path try String line bufferedReader readLine while line null we re leaving this line here for simplicity but depending on how it works it might need its own try block doSomething line line bufferedReader readLine catch IOException e e printStackTrace catch FileNotFoundException e e printStackTrace finally try bufferedReader close catch IOException e e printStackTrace The second version would be necessary if each catch block needed to have different code Otherwise you can choose either version The best solution is probably to use a with using try with resources statement or the equivalent for your programming language It automatically closes the bufferedReader at the end The code above is just to showcase the point Restore state and resourcesIf you successfully handle an error then the program should be able to continue executing correctly It should continue almost as though the error never happened This means that you need to restore state to something correctclose any side effects that were started by erroring code Restore stateAfter recovering from an error your program needs to have the correct state If it doesn t then you haven t really recovered This means that you might need to fix or restore your program s state in your error handling code Here s an example Consider that you have a Boolean variable The Boolean variable should start as false However while some code is running you set it to true At the end you set it to false again But if the program errors at some point the variable won t be reset This will leave your program in a bad state even if the error is handled Here s an example of some dangerous code which will have invalid state if an error occurs let isBusy false async function handleUserEvent event if isBusy isBusy true do something asynchronous which may throw an exception for example await doSomething isBusy false If handleUserEvent errors the value of isBusy will remain false forever handleUserEvent won t be able to run properly again For that reason you need to manually reset the state if an error occurs Here s a code example let isBusy false async function handleUserEvent event if isBusy isBusy true try do something asynchronous which may throw an exception for example await doSomething finally isBusy false fix the state exception is sent higher up because there s no catch block equivalent exampleasync function handleUserEvent event if isBusy isBusy true try do something asynchronous which may throw an exception for example await doSomething catch error isBusy false fix the state throw error isBusy false In this example if an error occurs in handleUserEvent there s no problem The state is restored and handleUserEvent will execute correctly afterwards The same principle applies across all of your code in the call stack Imagine that an error occurs in function bar But you handle the error in function foo which is function calls earlier in the call stack For the program to be in a valid state you need to make sure that you ve fixed all of the state from bar to foo Basically it means that you may need many intermediate try catch blocks in different functions in the call stack You fix the state in each one That way if the error is handled higher up the state of all the intermediate code has been fixed They can run again as though nothing went wrong For example handleUserEventimport foo from foo js this is the top level functionasync function handleUserEvent try await foo catch error handle the error at the top level record error display message to user that action didn t work foo jsimport bar from bar js let isBusy false async function foo if isBusy return isBusy true try await bar finally isBusy false restore this module s state exception is sent further up because there is no catch block export default foo bar jslet isBusy false async function bar if isBusy return try do something asynchronous which may throw an exception for example await doSomething finally isBusy false restore this module s state exception is sent further up because there is no catch block export default bar Yes I know the code in the examples is very contrived but hopefully it illustrates the point Close side effectsSome side effects come in pairs For example if you open a file you should also close it It can be unsafe to leave it open So make sure that resources like that are properly released If you use exceptions use with blocks These automatically close resources if an error occurs Some examples are with in Python try with resources in Java or using in C otherwise use finally blocks or their equivalent in different programming languages If you re using error values place the closing code somewhere appropriate It should run both in the error case and the non error case Here s an example with finally pseudocodelet file try file openFile foo txt open the resource writeToFile file bar catch error code to handle exceptions finally close file close the resource Here s an example with error values pseudocodeconst fileError file openFile foo txt if fileError handle error close file return const writeError writeToFile file value bar if writeError handle error close file Final notesSo that s it for this article I hope that you found it useful As always if any points were missed or if you disagree with anything or have any comments or feedback then please leave a comment below For the next steps I recommend looking at the other articles in the error handling series Alright thanks and see you next time CreditsImage credits Net Photo by Raghavendra Saralaya on UnsplashArrow Photo by Hello I m Nik on UnsplashSquirrel in treehouse Photo by Joakim Honkasalo on Unsplash 2021-11-19 17:41:19
海外TECH DEV Community How to create simple Tic-Tac-Toe using C++? (Play with bot and 2 player mod) https://dev.to/lucifer25x/how-to-create-simple-tic-tac-toe-using-c-play-with-bot-and-2-player-mod-2ahe How to create simple Tic Tac Toe using C Play with bot and player mod Source Code First we should create some variables char board char player X char computer O char currentPlayer player bool isGaming true char winner After we should create function to print boardvoid printBoard cout lt lt lt lt board lt lt lt lt board lt lt lt lt board lt lt endl cout lt lt lt lt endl cout lt lt lt lt board lt lt lt lt board lt lt lt lt board lt lt endl cout lt lt lt lt endl cout lt lt lt lt board lt lt lt lt board lt lt lt lt board lt lt endl Also you can create it using any loop Now we can create important functionsvoid botMove int move while true move rand if board move X amp amp board move O board move computer break bool haveEmptyBlock for int i i lt i if board i X board i O continue else return true return false We should check winnervoid checkWinner if board board amp amp board board winner board else if board board amp amp board board winner board else if board board amp amp board board winner board else if board board amp amp board board winner board else if board board amp amp board board winner board else if board board amp amp board board winner board else if board board amp amp board board winner board else if board board amp amp board board winner board else if board amp amp board amp amp board amp amp board amp amp board amp amp board amp amp board amp amp board amp amp board winner T Also you can make it using more easy ways For example you can create array and push win indexes We can make now game playableint main printBoard while isGaming if currentPlayer player cout lt lt Player s turn lt lt endl int position cin gt gt position if board position X board position O cout lt lt This position is already taken lt lt endl continue board position player currentPlayer computer else cout lt lt Computer s turn lt lt endl botMove currentPlayer player printBoard checkWinner if winner X winner O isGaming false cout lt lt Winner is lt lt winner lt lt endl else if winner T isGaming false cout lt lt Tie lt lt endl return Thanks 2021-11-19 17:37:08
海外TECH DEV Community Como se proteger na internet: Golpe do WhatsApp https://dev.to/viniciusscs/como-se-proteger-na-internet-golpe-do-whatsapp-19ap Como se proteger na internet Golpe do WhatsAppHoje sabemos que existem inúmeras formas de ataques clones de números de telefones golpes em WhatsApp Fake News e sempre ficamos com aquela pergunta E AGORA QUEM PODERÁNOS AJUDAR O problema éque hoje no Brasil não se tem alguém que faça isso que de fato resolva esse problema e a justificativa ésimples veja bem para que um golpe pelo WhatsApp sim aquele que o meliante usa um número X se passando por uma pessoa que vocêconhece seja seu pai sua mãe irmãos ou filhos enfim esse golpe émuito comum hoje em dia porém muito caro Sim meus amigos écaro pro estado abrir uma investigação para descobrir que o meliante jáse encontra preso Ah Vinícius mas o cara tásolto me aplicou um golpe de estelionato Nesse caso por enquanto o que podemos fazer écumprir três etapas lembrando que independente se o golpista esta solto ou preso éimportante cumprir essas etapas Etapa Contatar o BancoEtapa Fazer um Boletim de OcorrênciaEtapa Mover uma ação jurídica Contatar o Banco A primeira coisa étentar estabelecer contato com o banco que recebeu aquela transferência bancária ou atémesmo o banco que foi utilizado para realizar o pagamento daquele boleto que eventualmente foi falsificado Fazer um Boletim de Ocorrência Em segundo lugar devemos fazer um registro de ocorrência na delegacia de policia mais próxima Primeiro porque vocêfoi vítima de uma fraude e essa fraude precisa ser investigada atépara que novas pessoas não sejam vitimas de fraudes semelhantes Segundo porque se na fraude você por ventura informou seu CPF ou qualquer outro dado que posso ser usado para te denegrir seja usando seu nome que pode ser utilizado em novos golpes ou para o meliante usar seu CPF em cadastros de lojas Mover uma ação jurídica Em terceiro lugar dependendo da circunstância em que o golpe foi aplicado e o valor subtraído vocêpode tentar mover uma ação para tentar reaver o prejuízo que sofrido em função desse golpe Mas então qual o objetivo desse artigo Se não tem muito o que ser feito Se o golpista muitas vezes fica livre e continua aplicando golpes Vem comigo que vou te explicar tudo Então para que serve esse POST Então esse POST serve para seus irmãos filhos amigos que trabalham em outra área e que não possuem o mesmo conhecimento que eu e você que jáestamos calejados de tecnologia e sabemos o que deve ser feito Acredito que possamos ajudar pessoas de outras áreas E pensando nisso nessas pessoas vou tentar passar para vocês um pouco do que aprendi são passos simples que podem ajudar pessoas que não possuem o mesmo conhecimento a não cair em golpes como esses do WhatsApp Se atentem na informaçãoMuitas vezes nos deparamos com a seguinte mensagem Bom dia mãe salva meu contato novo Meu aparelho deu problema e precisei deixar na assistência Toda vez que seu telefone estraga vocêleva com vocêo chip ninguém repito NINGUÉM fica com seu chip em assistência técnica então se o número do seu familiar é e vocêreceber essa mensagem com essa informação de um número diferente pode acender a luz de alerta Esse éum caso comum que simplesmente ao receber esse tipo de mensagem podemos com calma entrar em contato por mensagem ou ligação para o número ORIGINAL no caso o número do exemplo foi e saber se a informação bate e pasmem das vezes as informações vão ser distorcidas Bora pro segundo ponto Pergunte algo inventadoIsso jávi muito as vezes o primeiro passo fica meio vago talvez porque seu familiar ou amigo não atendeu para poder confirmar as informações e o meliante jáestáimportunando não para de mandar mensagem começa a tentar tirar alguma informação de você e a gente precisa reagir fazer algo para saber se estamos ou não falando com a pessoa certa Nesse ponto podemos simplesmente fazer uma pergunta veja o exemplo Meliante Bom dia mãe salva meu contato novo Meu aparelho deu problema e precisei deixar na assistência Mãe Esperta Oh minha filha tudo bem Seu celular estragou na queda quando saía aqui de casa Aíuma observação importante da Mãe Esperta ela usou uma mentira uma informação completamente inventada essa queda nunca aconteceu vocêsabe disso mas o Meliante não e ele vai responder Sim nessa queda meu celular estragou Esse ponto éimportante porque vocênota com muita facilidade que tem algo errado éa mesma coisa de vocêperguntar Como estásua tia Fulana usando um nome que não existe na família Lembrem se são pontos importantes que devem ser pensados com calma Mas Vinícius vocêestáusando exemplos fácies demais e se o meliante for audacioso e falar algo comoMeliante Bom dia mãe me ajuda sofri um acidente fiquei sem bateria e estou usando o celular de um amigo Pessoal jásofri em torno de acidentes sendo gravíssimos NUNCA mandei uma mensagem para meus pais sempre ligação Então por lógica e conversando com pessoas que sofreram acidentes e o mais provável mais uma vez NINGUÉM envia mensagem falando de acidente grave ainda mais usando o número de outra pessoa seja amigo ou não O instinto do ser humano éresolver o problema de forma rápida então a forma mais rápida seria uma ligação Isso nos remete ao passo se atentem a informação passada CONCLUSÃOSempre o Meliante vai estar em desvantagem se vocêseguir com esses passos e ficar calmo porque da mesma forma que vocênão sabe quem éque estápor trás do WhatsApp o meliante também não sabe quem évocê E se a pessoa que estiver sendo vítima ficar calma e seguir os passos consegue muito facilmente saber se éum golpe ou não Galera esse post jáficou muito grande quero agradecer a todos que tiraram um tempo para ler atéo final e principalmente aqueles que leram e compartilharam Então se cuidem e se tudo der certo vem parte vou falar ajudar vocês nessa BlackFriday vulgo conhecido como BlackFraude Que a força esteja com vocês 2021-11-19 17:25:54
海外TECH DEV Community How I implemented sticky columns in tables using directives - Angular! https://dev.to/angular/how-i-implemented-sticky-columns-in-tables-using-directives-angular-nkb How I implemented sticky columns in tables using directives Angular How to create sticky columns in Angular using directives Implementing tables with sticky columns can be tricky especially when you have to make multiple columns sticky Using directives we can easily implement sticky columns I can t emphasize more the power of directives in Angular I ve written a couple of articles showcasing how one can actually use it to implement really cool stuff You can check some use cases for directives here Angular Directive Showcase Tables with sticky columnsWe make use of the position sticky CSS property to make an element sticky Read more about sticky positioning at MDN sticky position sticky left For the sticky position to work properly at least one of top right bottom or left should be specified The problemMaking the first column in a table sticky is super simple you basically add the sticky class to the column When two columns need to stick to the left we can t just add the sticky class to both of the columns This is how it looks if you did so Here you can see the Manager column overlapping with the Company column This is because we gave both the columns left To make it work as expected the styles should be like this company position sticky left px manager position sticky left px lt width of the company column What we did here is we added the offset of the Manager column as the left property value Sticky CalculationsFor calculating the left value we need to find the x value of the column If we look at the first column Company and get its offset from the left side We expect the x value to be but we get here This is because the x value is calculated from the left side of the window to the column For getting the left threshold of the column with respect to the table we need to find the x value of the table Once we get the table s offset we can subtract it from the offset of the column Example of the calculation Position of Table lt x Position of Company lt x with respect to table Position of Manager lt x with respect to table Sticky DirectiveWe are going to create a directive to do just that The directive can then be placed on the columns which need to be sticky If you are thinking about why a directive for this particular use case the calculation of the sticky thresholds can be done easily Creating a directive makes it easy to re use the functionality for different elements import CommonModule from angular common import AfterViewInit Directive ElementRef NgModule Optional from angular core Directive selector stickyTable export class StickyTableDirective constructor private el ElementRef get x return this el nativeElement as HTMLElement getBoundingClientRect x Directive selector sticky export class StickyDirective implements AfterViewInit constructor private el ElementRef Optional private table StickyTableDirective ngAfterViewInit const el this el nativeElement as HTMLElement const x el getBoundingClientRect el style position sticky el style left this table x this table x px px NgModule declarations StickyDirective StickyTableDirective imports CommonModule exports StickyDirective StickyTableDirective export class StickyDirectiveModule If you look at the code above we have two directives StickyDirectiveStickyTableDirectiveThe second directive is really interesting here Why do we need a second directive We have a separate directive that can be placed on the table to get the offset of the table The directive can then be injected inside the main StickyDirective constructor private el ElementRef Optional private table StickyTableDirective We mark the StickyTableDirective as Optional so that we can add the StickyDirective directive on other elements and it can automatically be sticky with the default value Ref optionalHere is how we use it in HTML lt table stickyTable gt lt tr gt lt th sticky gt Company lt th gt lt th sticky gt Manager lt th gt lt th gt Employees lt th gt lt th gt Contractors lt th gt lt th gt Jobs lt th gt lt th gt Contracts lt th gt lt th gt Vacancy lt th gt lt th gt Offices lt th gt lt tr gt lt ng container ngFor let item of data gt lt tr gt lt td sticky style min width px gt item company lt td gt lt td sticky gt item manager lt td gt lt td gt item employees lt td gt lt td gt item contractors lt td gt lt td gt item employees lt td gt lt td gt item contractors lt td gt lt td gt item employees lt td gt lt td gt item contractors lt td gt lt tr gt lt ng container gt lt table gt We add the stickyTable directive to the table and the sticky directive to the column Demo and CodeStackblitz Link ImprovementsA lot of improvements can be made to this directive to make it more re usable like Add support for other directions Generalize the StickyTableDirective to be able to use it on other elements as well For the sake of keeping the example here simple I ve kept it simple Similar Reads Implement Heatmaps in a table using directives Highlight text in paragraphs with a simple directive in Angular Fullscreen toggle functionality in Angular using Directives Connect with meTwitterGithubLinkedinCardify Dynamic SVG Images for Github ReadmesDo add your thoughts in the comments section Stay Safe ️ 2021-11-19 17:25:47
Apple AppleInsider - Frontpage News Save 36% on a Setapp 1-year subscription, access over 210 Mac apps https://appleinsider.com/articles/21/11/19/save-36-on-a-setapp-1-year-subscription-access-over-210-mac-apps?utm_medium=rss Save on a Setapp year subscription access over Mac appsA year Setapp subscription is on sale for a limited time for only a discount that gains you access to over Mac apps and utilities Setapp is off at AppleInsider Read more 2021-11-19 17:53:37
Apple AppleInsider - Frontpage News 'Apple Car' partnership in 2022 to set stage for 2025 launch, analyst says https://appleinsider.com/articles/21/11/19/apple-car-partnership-in-2022-to-set-stage-for-2025-launch-analyst-says?utm_medium=rss x Apple Car x partnership in to set stage for launch analyst saysApple is likely to announce a strategic electric vehicle partnership in to lay the groundwork for an Apple Car release in according to investment bank Wedbush Credit AppleIn a note to investors seen by AppleInsider Wedbush lead analyst Daniel Ives offers some color on recent reports of Apple accelerating its autonomous vehicle development Ives says the report is very in line with our thoughts Read more 2021-11-19 17:00:48
海外TECH Engadget Amazon opens pre-orders for its Halo View fitness band https://www.engadget.com/amazon-halo-view-fitness-band-pre-order-174406400.html?src=rss Amazon opens pre orders for its Halo View fitness bandAmazon announced a new version of its Halo fitness band at its September hardware event and now you can lock in a pre order Halo View Amazon s first wearable with a display is during the pre order period It ll typically cost Pre order Halo View at Amazon The device which will ship sometime in December comes with a year long Halo membership The plan includes workouts and nutrition guidance and it typically costs per month Halo View has a similar design to Fitbit s Charge bands The AMOLED color screen displays details about your live workouts activity history blood oxygen and sleep scores among other things some of those features are exclusive to the Halo subscription You can view text notifications too The swim proof device contains a skin temperature sensor heart rate monitor and an accelerometer Amazon claims the battery runs for up to seven days on a single charge and that it will fully recharge in two hours Although Halo View doesn t have a built in microphone there is integration with Alexa If you connect to the voice assistant through the Halo app settings you can ask an Alexa enabled device to tell you about your health summary sleep quality and other information Amazon says privacy was a key consideration in how it designed Halo quot There are multiple layers of protections in place to keep data safe and in your control quot the company claims It also pledged not to sell health data that s linked directly to you You ll have the option to download your health data or delete it from the Halo app at any time too 2021-11-19 17:44:06
海外TECH Engadget Why Apple changed its mind on Right to Repair https://www.engadget.com/apple-user-iphone-repair-policy-change-173047862.html?src=rss Why Apple changed its mind on Right to RepairApple does not have a good track record in terms of letting customers repair their hardware The last decade plus has seen Apple s computers become essentially impossible for users to service or upgrade and the iPhone has always been a locked box Adventurous owners might follow guides from iFixit to try and do repairs themselves but it s a dangerous proposition Remember it was just earlier this year when we discovered that replacing the display on an iPhone would disable Face ID something Apple eventually made an about face on So Apple s announcement earlier this week that it would start selling parts and tools directly to consumers and offer repair guides was a huge surprise and a move immediately hailed as a victory for right to repair activists “One of the most visible opponents to repair access is reversing course said Nathan Proctor a senior Right to Repair campaign director at Public Interest Research Groups PIRG “Apple s move shows that what repair advocates have been asking for was always possible iFixit was similarly pleased saying that the move is “exactly the right thing for Apple to be doing Both groups caveated their statements by noting a few catches PIRG says that Apple s plans weren t as comprehensive as the right to repair legislation being discussed in more than two dozen states while iFixit wants to “analyze the legal terms and test the program before it can say just how much credit Apple deserves But regardless it s still a major about face So what led Apple to this move Proctor told Engadget in an email exchange that he thinks “combined pressure from consumers regulators and shareholders has shifted Apple s thinking But he was also quick to point out that there was pressure coming from inside Apple itself “We saw from some leaked emails from that many inside Apple never wanted to be hostile to repair in the ways that Apple has been at times he said You probably saw that Apple co founder Steve Wozniak called out the practices but leaked emails show internal concern they were doing the wrong thing Apple has made some other movies recently that show that potential government scrutiny and oversight could be driving change at the company In Apple finally let users set different browser and email apps as default on the iPhone and iPad and Siri has gotten smarter about learning your preferences for different music apps when you ask it to play tunes While it s likely that Apple is thinking about government pressure this change might also simply be part of the company listening to its users and correcting some mistakes it made over the last five years or so Take the new MacBook Pro perhaps the biggest “mea culpa Apple has ever offered the company reversed its trend of pursuing thin and light design at all costs and instead actually made the both the and inch MacBook Pros thicker and heavier than their predecessors The company also added back ports it had previously removed killed the unpopular Touch Bar and generally made a laptop that made it seem like they were listening to consumer feedback The same could be said for its new home repair program Regis Duvignau ReutersApple s move this week can also be seen as an extension of a program the company launched last year when it started providing parts and training to third party repair shops that met Apple s qualifications Obviously this isn t the same as making it easy for anyone to do repairs but opening up access means the repair landscape for Apple products has changed significantly in the last few years However big of a change this new plan is though Proctor and PIRG see this as a first step something Apple will need to keep up and expand to really meet what right to repair activists think consumers deserve “I think Right to Repair knows what it wants and it will be really hard to convince us to settle for anything less than an open market for repair Proctor said “If they had done this step years ago maybe we would have to settle but we have the momentum and we are going to empower repair as much as we can I think most legislators agree this is just one company and a limited program The floor got raised but we aren t near the ceiling yet iFixit has a similar view on the situation “ Apple pioneered glued in batteries and proprietary screws and now they are taking the first steps on a path back to long lasting repairable products iFixit believes that a sustainable repairable world of technology is possible and hope that Apple follows up on this commitment to improve their repairability As for what s to come it sounds like Apple is committed to making this just a first step The company said that repair options would initially focus on commonly repaired modules in the iPhone and like the screen battery and cameras but it says that more options will come in the following year We don t know if Apple will ever give right to repair activists everything they want It seems unlikely that Apple will make an iPhone where you can just pop it open and drop a new battery in like the phones of old Apple can often be a bellwether for the rest of the industry ーjust look how quickly other phone makers dropped their headphone jacks So it s possible we ll see some other big consumer electronics companies make similar moves “I think other companies will follow Proctor said He also noted that Google had just released software that lets a replacement display on the Pixel be properly calibrated to work with the in screen fingerprint sensor We see a lot of changes in the works and we are hopeful we can set a new baseline for access to repair If that happens we ll likely remember Apple s about face as a major catalyst for these changes ーassuming the company follows through with its new stance and makes it easier for owners to repair a wider variety of its products 2021-11-19 17:30:47
海外TECH Engadget The OnePlus 9 Pro is $270 off right now https://www.engadget.com/oneplus-9-pro-black-friday-good-deal-170202094.html?src=rss The OnePlus Pro is off right nowIf you re looking for an alternative smartphone to an iPhone Samsung handset or Pixel you can t go far wrong with the OnePlus Pro It has many of the bells and whistles you d expect from a premium smartphone Just before Black Friday you can pick up the OnePlus Pro from the OnePlus website Amazon or Best Buy for less than the regular price Buy OnePlus Pro at OnePlus Buy OnePlus Pro at Amazon Buy OnePlus Pro at Best Buy We gave the OnePlus Pro a score of in our review calling it the best OnePlus phone to date The IP rated device has a inch x screen with brightness of up to nits and a Hz maximum refresh rate It includes dual speakers a microSIM slot and a USB C port that s compatible with the OnePlus Warp Charge adaptor The OnePlus Pro features Hasselblad lenses on the rear including a MP main camera MP ultra wide camera and MP telephoto camera The array can shoot K video at fps but we had reservations about the telephoto lens which sometimes overexposed images in scenarios with a lot of light The device is powered by a Snapdragon processor which is plenty capable It comes with GB of RAM and GB of storage The dual mAh battery cells should get you a full day of use on a single charge The standard OnePlus is on sale too You can pick it up for at Amazon and Best Buy ー off the regular price It has a slightly smaller inch Full HD display and also runs on a Snapdragon with the same RAM and storage as its larger sibling Although it too has Hasselblad cameras the OnePlus has an older megapixel sensor to reduce the cost Buy OnePlus at Amazon Buy OnePlus at Best Buy Get the latest Black Friday and Cyber Monday offers by visiting our deals homepage and following EngadgetDeals on Twitter All products recommended by Engadget are selected by our editorial team independent of our parent company Some of our stories include affiliate links If you buy something through one of these links we may earn an affiliate commission 2021-11-19 17:17:02
海外TECH Engadget Miami votes to end electric scooter pilot program https://www.engadget.com/miami-ends-electric-scooter-pilot-program-165747077.html?src=rss Miami votes to end electric scooter pilot programOnce home to most electric scooters in the US Miami is turning its back on the micromobility vehicles Per the Miami Herald city commissioners voted on Thursday to end a multi year pilot that had allowed companies like Bird and Lime to operate shared scooter rentals within the city s core Those companies now have until PM on Friday November th to collect their electric scooters If they don t comply in time the city will impound the vehicles “We re shutting it down Commissioner Alex Díaz de la Portilla told the outlet “That s it Like in many other cities across the US and other parts of the world electric scooters were a source of controversy in Miami Supporters claimed they were an effective solution for last mile travel while detractors said they made city sidewalks unsafe It s that latter point of view that swayed the commission s vote “On Biscayne Boulevard at whatever hour of the day you see kids on these scooters said Commissioner Díaz de la Portilla “This is an accident waiting to happen Ken Russell the lone commissioner who voted against ending the program pointed out it had been a revenue generator for the city Miami had earned approximately million through the pilot program and it had used that money to fund new bike lanes The vote caught the scooter companies off guard “We re extremely disappointed in the Commission s hasty and short sighted action to end the scooter program taking away a safe and popular transportation option used by thousands of Miami residents daily and putting dozens of workers out of a job the week before Thanksgiving said Caroline Samponaro vice president of transit bike and scooter policy at Lyft in a statement shared with Engadget As the Miami Herald points out there is a chance scooters could return to Miami City staff are drafting rules that would allow rental companies to bid for a contract to operate in the city as part of a permanent program But based on the fact the Miami City Commission would need to vote to authorize such a program it s not clear if there s enough support 2021-11-19 17:02:48
海外TECH Network World Spinoffs Kyndryl and VMware team up on multicloud https://www.networkworld.com/article/3641255/spinoffs-kyndryl-and-vmware-team-up-on-multicloud.html#tk.rss_all Spinoffs Kyndryl and VMware team up on multicloud The two new spinoffs on the blockーKyndryl and VMwareーhave expanded their relationship and promised to help customers with their app modernization and multicloud plans Under the agreement the companies say they will focus on developing a range of services aimed at multicloud infrastructure and management digital workspace managed applications and other areas Get regularly scheduled insights by signing up for Network World newsletters “Our combination with VMware is especially important as Kyndryl continues to invest in our industry leading skills in key areas most notably in cloud network and edge computing and in security and resiliency services said Martin Schroeter Chairman and CEO of Kyndryl in a statement Through previous agreements Kyndryl already has thousands of staffers with VMware certifications To read this article in full please click here 2021-11-19 17:19:00
Cisco Cisco Blog Cisco Catalyst 8000 wins CRN 2021 Tech Innovation Award https://blogs.cisco.com/networking/catalyst-8000-crn-2021-award Cisco Catalyst wins CRN Tech Innovation AwardWe are extremely honored to receive the CRN Tech Innovator Award for the Cisco Catalyst Edge Platform in the Networking Enterprise category 2021-11-19 17:16:39
海外TECH CodeProject Latest Articles What You Can Learn at DevBuild: An Interview with Curtis Cooper https://www.codeproject.com/Articles/5317967/What-You-Can-Learn-at-DevBuild-An-Interview-with-C What You Can Learn at DevBuild An Interview with Curtis CooperAny Rocket Companies team member with basic coding proficiency who wants to improve their coding and IT skills is welcome to apply to DevBuild 2021-11-19 17:49:00
海外TECH CodeProject Latest Articles Cultivating Talent with DevBuild https://www.codeproject.com/Articles/5317966/Cultivating-Talent-with-DevBuild Cultivating Talent with DevBuildWhen you re ready to realize your dream of becoming a software engineer DevBuild is here to help With pre workshops and a comprehensive admittedly rigorous week boot camp you ll be on the right path to a technology rich career 2021-11-19 17:49:00
海外科学 NYT > Science Miss Friday's Lunar Eclipse? Here's What it Looked Like. https://www.nytimes.com/2021/11/19/science/lunar-eclipse-photos.html Miss Friday x s Lunar Eclipse Here x s What it Looked Like The partial eclipse on Thursday night and Friday morning lasted more than six hours and these photos captured the moon s rust red hue 2021-11-19 17:19:05
海外科学 NYT > Science F.D.A. Authorizes Coronavirus Booster Shots for All Adults https://www.nytimes.com/2021/11/19/us/politics/coronavirus-boosters-fda.html F D A Authorizes Coronavirus Booster Shots for All AdultsIf the C D C agrees adults who received a second shot of the Pfizer or Moderna vaccine at least six months ago could be eligible by this weekend 2021-11-19 17:55:41
海外科学 NYT > Science Thursday and Friday’s Partial Lunar Eclipse Was the Longest in 580 Years https://www.nytimes.com/2021/11/18/science/lunar-eclipse-full-moon-tonight.html Thursday and Friday s Partial Lunar Eclipse Was the Longest in YearsThe partial eclipse will turn the moon rusty reddish hues and be visible across North America and parts of South America Asia and Australia 2021-11-19 17:38:47
海外TECH WIRED Netflix’s Cowboy Bebop Fails https://www.wired.com/story/cowboy-bebop-fails overwrought 2021-11-19 17:06:19
ニュース BBC News - Home Azeem Rafiq racism case: Cricket chiefs 'apologise unreservedly' for 'blight' of racism https://www.bbc.co.uk/sport/cricket/59351446?at_medium=RSS&at_campaign=KARANGA Azeem Rafiq racism case Cricket chiefs x apologise unreservedly x for x blight x of racismCricket chiefs in England and Wales say racism and discrimination is a blight on our game and they apologise unreservedly 2021-11-19 17:02:56
ニュース BBC News - Home Kamala Harris: First woman to get US presidential powers (briefly) https://www.bbc.co.uk/news/world-us-canada-59352170?at_medium=RSS&at_campaign=KARANGA check 2021-11-19 17:44:18
ニュース BBC News - Home Covid: Boosters added to NHS Covid pass for travel and Austria to enter full lockdown https://www.bbc.co.uk/news/uk-59350340?at_medium=RSS&at_campaign=KARANGA coronavirus 2021-11-19 17:03:29
ニュース BBC News - Home Hamas to be declared a terrorist group by UK https://www.bbc.co.uk/news/uk-59346441?at_medium=RSS&at_campaign=KARANGA political 2021-11-19 17:09:37
ニュース BBC News - Home 'Still no direct contact' with tennis star Peng https://www.bbc.co.uk/sport/tennis/59349888?at_medium=RSS&at_campaign=KARANGA x Still no direct contact x with tennis star PengPeng Shuai has still not directly been in contact with the WTA which says no amount of money would stop the tour pulling events out of China 2021-11-19 17:42:36
ニュース BBC News - Home Taylor Swift lands eighth UK number one album with re-recorded Red https://www.bbc.co.uk/news/entertainment-arts-59347918?at_medium=RSS&at_campaign=KARANGA album 2021-11-19 17:13:38
ニュース BBC News - Home Covid-19 in the UK: How many coronavirus cases are there in my area? https://www.bbc.co.uk/news/uk-51768274?at_medium=RSS&at_campaign=KARANGA cases 2021-11-19 17:23:34
ビジネス ダイヤモンド・オンライン - 新着記事 持っている運まで破壊する! ひがみ、ねたみ、嫉妬など、 マイナスの感情の手放し方 - どんな運も、思いのまま! 李家幽竹の風水大全 https://diamond.jp/articles/-/288162 持っている運まで破壊するひがみ、ねたみ、嫉妬など、マイナスの感情の手放し方どんな運も、思いのまま李家幽竹の風水大全「どんな人でも運がよくなれる」、それが風水の持つ力です。 2021-11-20 02:45:00
ビジネス ダイヤモンド・オンライン - 新着記事 当たり前だけど結局、 いちばん簡単で科学的な ストレス発散方法とは? - 脳の毒を出す食事 https://diamond.jp/articles/-/288152 当たり前だけど結局、いちばん簡単で科学的なストレス発散方法とは脳の毒を出す食事現代人の脳には“毒が溜まっている無意識に溜まった脳の“毒を出して脳がみるみる若返る食事法を紹介する脳の若返りと認知症治療の専門医・白澤卓二医師が提案する衝撃の最新刊『脳の毒を出す食事』では、現代人の脳に溜まった毒を出し、脳の機能を上げる食事法を紹介している。 2021-11-20 02:40:00
ビジネス ダイヤモンド・オンライン - 新着記事 取材に慣れた人から、新しい話題を引き出すにはどうすればいい? - 行列のできるインタビュアーの聞く技術 https://diamond.jp/articles/-/287827 話題 2021-11-20 02:35:00
ビジネス ダイヤモンド・オンライン - 新着記事 カリスマ保育士てぃ先生の 今日からできる! 3分でも効果絶大! 物覚えがいい子になるスゴ技とは? - カリスマ保育士てぃ先生の子育て〇×図鑑 https://diamond.jp/articles/-/288157 カリスマ保育士てぃ先生の今日からできる分でも効果絶大物覚えがいい子になるスゴ技とはカリスマ保育士てぃ先生の子育て〇×図鑑【Twitterフォロワー数万人、YouTubeチャンネル登録数万人】と、今どきのママパパに圧倒的に支持されているカリスマ保育士・てぃ先生の子育てアドバイス本第弾『子どもが伸びるスゴ技大全カリスマ保育士てぃ先生の子育て×図鑑』ができました子育ての悩みは、決して親の能力や愛情の深さの問題ではなく、子ども特有の気持ちやものごとのとらえ方、体の状態を知るだけでうまくいくことが多いと、てぃ先生は教えてくれます。 2021-11-20 02:30:00
ビジネス ダイヤモンド・オンライン - 新着記事 賃貸アパートで相続税激減!? 驚きの節税事例2選! - ぶっちゃけ相続 https://diamond.jp/articles/-/288313 驚き 2021-11-20 02:25:00
ビジネス ダイヤモンド・オンライン - 新着記事 米下院、2兆ドルの歳出法案を可決 - WSJ発 https://diamond.jp/articles/-/288361 法案 2021-11-20 02:19:00
GCP Cloud Blog Edge computing—a paradigm shift that goes beyond hybrid cloud https://cloud.google.com/blog/topics/hybrid-cloud/edge-plus-cloud-enables-new-kinds-of-enterprise-apps/ Edge computingーa paradigm shift that goes beyond hybrid cloudWhether with the cloud or within their own data centers enterprises have undergone a period of remarkable consolidation and centralization of their compute resources But with the rise of ever more powerful mobile devices and increasingly capable cellular networks application architects are starting to think beyond the confines of the data center and looking out to the edge  What exactly do we mean by edge Think of the edge as distributed compute happening on a wide variety of non traditional devices ーmobile phones of course but also equipment sensors in factories industrial equipment or even temperature and reaction monitoring in a remote lab Edge devices are also connected devices and can communicate back to the mothership over wireless or cellular networks  Equipped with increasingly powerful processors these edge devices are being called upon to perform tasks that have thus far been outside the scope of traditional IT For enterprises this could mean pre processing incoming telemetry in a vehicle collecting video in kiosks at a mall gathering quality control data with cameras in a warehouse or delivering interactive media to retail stores Enterprises are also relying on edge to ingest data from outposts or devices that have even more intermittent connectivity e g oil rigs or farm equipment filtering that data to improve quality reducing it to right size information load and processing it in the cloud New data and models are then pushed back to the edge in addition we can also push configuration software and media updates and decentralize processing workload Edge isn t all about enabling new use cases it s also about right sizing environments and improving resource utilization For example adopting an edge model can also relieve load on existing data centers  But while edge computing is full of promise for enterprises there are many pieces that are still works in progress Further developing edge workloads is very different from developing traditional applications which enjoy the benefits of persistent data connections and run on well resourced hardware platforms As such cloud architects are still in the early days of figuring out how to use and implement edge for their organizations  Fortunately there are tools you can use to help ease the transition to edge computing ーand that likely fit into your organization s existing computing systems Kubernetes of course but also higher level management tools like Anthos which provides a consistent control plane across cloud private data center and edge locations Other parts of the Anthos family Anthos Config Management and Anthos Service Mesh ーgo one step further and provide consistent centralized management to your edge and cloud deployments And there s more to come For the remainder of this blog post we ll dive deeper into the past and current state of edge computing and the benefits that architects and developers can expect to see from edge computing In a next post we ll take a deeper look at some of the challenges that designing for edge introduces and some of the advantages the average enterprise has in adopting the edge model Finally we ll look at the Google Cloud tools that are available today to help you build out your edge environment and look at some early customer examples that highlight what s possible today ーand that will spark your imagination for what to do tomorrow  The evolution of edge computing The edge is not a new concept In fact it s been around for the last two decades spanning many use cases that are prevalent today One of the first applications for edge was to use content delivery networks CDN to cache and serve daily static website pages near clients for example web servers in California data centers serving financial data to European customers  As connectivity has improved and software evolved the edge has evolved too and the focus has shifted towards using edge to distribute services First simple services expanded from static HTML to javascript libraries or image repositories Common functions like image transformation credit and address validation support services followed Soon organizations were deploying more complex cloudlet and clustered microservices installations as well as distributed and replicated datasets The term “endpoint became ubiquitous and APIs profilerated  In parallel there s been an explosion of creativity in hardware microcontrollers and dedicated edge devices Fit for purpose products were deployed globally Services like Google Cloud IoT Core extended our ability to manage and securely connect these dispersed devices allowing platform managers to register tools and leverage managed services like Pub Sub and Dataflow for data ingestion And with Kubernetes large remote clusters ーmini private clouds in and of themselves ーoperate as self healing autoscaling services across the broader internet opening the door to new models for applications and architectural patterns In short both distributed asynchronous systems and economies have blossomed What does this mean for enterprises For the purposes of this series edge means you can now go beyond the corporate network beyond cloud VPCs and beyond hybrid The modern edge is not sitting at a major remote data center nor is it a CDN cloud provider or in a corporate data center rack ーit s just as likely to look like of these attached to a thousand sensors Raspi Ks ClusterEdge in short is about having hardware and devices installed at remote locations that can process and communicate back the information they collect and generate The edge management challenge meanwhile is being able to push configuration and software model media updates to these remote locations when they are connected Enable new use casesToday we have reached a new threshold for edge computing ーone where micro data processing centers are deployed as the edge of a fractal arm as it were Together they form a broad geographically distributed always on framework for streaming collecting processing and serving asynchronous data This big loosely coupled application system lives breathes and grows Always changing always learning from the data it collects ーand always pushing out updated models when the tendrils are connected  Right now the rise of G is pushing the limits of edge even further Devices enabled with G can transmit using a mobile network ーno ISP required ーenabling connectivity anywhere within reach of a cell tower Granted these networks have lower bandwidth but they are often more than adequate for certain types of data for example fire sensors in forests bordering remote towns that emit temperature or carbon monoxide data periodically Recently Google Cloud partnered with AT amp T to enhance business use of G edge technology but there is so much more that can be done  Reduce data center investmentsIn addition to enabling the digitization of a broad range of new use cases adopting edge can also benefit your existing data center Let s face it data centers are expensive to maintain Moving some data center load to edge locations can reduce your data center infrastructure investment as well as compute time spent there Edge services tend to have much lower service level objectives SLOs than data center services driving lower levels of hardware investment Edge installations also tend to tolerate disconnectedness and thus function perfectly well with lower SLOs ーand lower costs  Let s look at an example of where edge can really reduce costs big data Back in the day we used to build monolithic serial processors ーstate machines ーthat had to keep track of where they were in processing in case of failure But time and again we ve seen that smaller more distributed processing can break down big expensive problems into smaller more cost effective chunks  Starting with the explosion of MapReduce almost years ago big data workloads were parallelized across clusters on a network and state management was simplified with intermediate output to share wait for or restart processing from checkpoints Those monolithic systems were replaced by cheaper smarter networked clusters and data repositories where parallel work could be executed and rendered into workable datasets  Flash forward to today and we are seeing those same concepts applied and distributed to edge data collection points In this evolution of big data processing we are scaling up and out to the point where observation data is so massive that it must first be prefiltered and then preprocessed down to a manageable size and still be actionable Only then should it be written back to the main data repositories for more resource intensive processing and model building In short data collection cleanup and potentially initial aggregation happens at the edge location which reduces the amount of junk data sitting in costly data stores This increases performance of the core data warehouse and reduces the size and cost of network transfers and storage  The edge is a huge opportunity for today s enterprises But designing environments that can make effective use of the edge isn t without its challenges Stick around for part two of this series where we look at some of the architectural challenges typically encountered while designing for the edge and how we begin to address them Related ArticleIntroducing Google Distributed Cloudーin your data center at the edge and in the cloudGoogle Distributed Cloud runs Anthos on dedicated hardware at the edge or hosted in your data center enabling a new class of low latency Read Article 2021-11-19 17:30:00

コメント

このブログの人気の投稿

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

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

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)