投稿時間:2022-04-09 04:27:39 RSSフィード2022-04-09 04:00 分まとめ(30件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
Google Official Google Blog Fi unlimited plans now start at $20 https://blog.google/products/google-fi/fi-unlimited-plans-now-start-20/ Fi unlimited plans now start at Your family s phone plan should be safe seamless and offer great value no matter what your data and budget needs are That s why today we re announcing reduced pricing for our unlimited phone plans and feature updates to all our phone plans to give you even more value Simply Unlimited ーif you want unlimited data with the essentialsWith the Simply Unlimited plan rates now start at per month per line for four or more lines compared to the previous starting price of per month At this new lower price Simply Unlimited will continue to be our most affordable unlimited plan ーespecially for families and groups We re also adding more high speed data ーan increase from GB to GB And we re including GB of hotspot tethering so that when you re on the go you can use your phone as a portable Wi Fi hotspot and share its Internet connection with your other devices like a tablet or laptop In addition we re adding unlimited calling within Canada and Mexico That means you ll get data calls and texts within the U S Canada and Mexico included in your plan Unlimited Plus ーif you want unlimited data at home and abroad plus all the extrasThe Unlimited Plus plan ーour plan packed with the most premium features ーnow starts at only per month per line for four or more lines compared to the previous price of per month We re adding more high speed data too ーan increase from from GB to GB per month And we re including unlimited calling within Canada and Mexico at no extra cost so data calls and texts within the U S Canada and Mexico will be included in your plan With Unlimited Plus you ll continue to get all the same features as Simply Unlimited plus unlimited high speed hotspot tethering the ability to use your data on up to four additional devices with data only SIMs at no extra cost and GB of cloud storage with Google One You also get international calls to destinations and international data abroad in destinations Flexible ーif you use less data or lots of Wi FiThe Flexible plan will continue to help you save if you use less data at per month per line for four lines for unlimited calls and text plus per GB for data at home and abroad We re also adding unlimited calling within Canada and Mexico at no extra cost With the Flexible plan you ll continue to only pay for the data you use at home and abroad in destinations You ll still get unlimited calls and texts as well as hotspot tethering plus you can use your data on up to four other devices with data only SIMs at no extra cost Peace of mind and helpful features at no extra costNo matter which plan you choose you ll get fast coverage including nationwide G for supported phones and helpful features ーall at no extra cost For instance if you re a parent one of your biggest concerns might be your child s safety Our privacy and security features include spam blocking a built in VPN and end to end encrypted calls for Android phones on Fi to protect your family s personal information And family features allow you to block contact from strangers set data budgets share your location with family members and more With Fi you re never locked into contracts and you can cancel anytime You can join right from home without having to walk into a store and you can easily switch between plans so you have room to grow if your needs change To celebrate this launch for a limited time you can save up to on select phones or get in Fi bill credit if you bring your own phone when you join or add a line Terms apply and you can read more about them on our website To explore Fi plans and find the best and most affordable option for you visit fi google com about plans 2022-04-08 18:35:00
js JavaScriptタグが付けられた新着投稿 - Qiita JavaScriptで遊べるゲーム【Screeps: Arena】チュートリアル(随時更新) https://qiita.com/Kobutorina_hato/items/abfdff78c201fd7e53a1 javascript 2022-04-09 03:34:27
Linux Ubuntuタグが付けられた新着投稿 - Qiita Android === Ubuntu w/ SSH [ Termux @ Github (@ F-droid ) ] https://qiita.com/Mikotostudio/items/51eeca241362d8ad4ae6 andoidlocalterm 2022-04-09 03:08:23
海外TECH Ars Technica Archaeologists unearth ancient Sumerian riverboat in Iraq https://arstechnica.com/?p=1846744 world 2022-04-08 18:52:37
海外TECH MakeUseOf How to See Who Is Using Your Netflix Account (And How to Stop Them) https://www.makeuseof.com/how-to-see-who-is-using-netflix-account-stop-them/ How to See Who Is Using Your Netflix Account And How to Stop Them If you think someone else is using your account Netflix lets you see who has access to your account and crucially stop them from doing so 2022-04-08 18:30:13
海外TECH MakeUseOf How to Use Steam Offline Mode to Play Games Without an Internet Connection https://www.makeuseof.com/how-to-use-steam-offline-mode/ How to Use Steam Offline Mode to Play Games Without an Internet ConnectionYou can still play your Steam games if you re not connected to the internet but there are some important conditions you need to be aware of 2022-04-08 18:15:13
海外TECH DEV Community Testing scopes with Rails https://dev.to/paramagicdev/testing-scopes-with-rails-4ho9 Testing scopes with Rails The ProblemA common problem I ve seen and that took me a long time to understand was how to properly test Rails scopes I have searched online many times for how to properly tests scopes and find a bunch of old stackoverflow posts which really don t address the issue Why are they hard to test Scopes can be hard to test because generally you re operating on an entire database which if you include a large number of fixtures can cause global data to leak into your test and cause tests to fail intermittently The naive approachInitially I thought to stub out the ActiveRecord Relation that scopes tend to operate on but I found stubbing out the data to be error prone rigid and hard to get right The approach that operates on a known datasetAfter fighting with this for so long I finally came to a realization Attach the scope to a known dataset and use that for the test case But how do we do this The easiest way is to create a set of records and then pass their id into a where query on the model Let s look at an example Let s say we have a model called User and we want to have a scope for both newest and oldest users If you re like me you never know the difference between ASC and DESC for datetime columns So lets add our scopes quick and then see if we get it right class User lt ActiveRecord Base scope newest gt order created at asc scope oldest gt order created at desc endNow how could we test it Well in our model test we should first setup a few users class UserTest lt ActiveSupport TestCase def setup user one User create created at day ago user two User create created at days ago user three User create created at days ago This lets us have a known set of data We don t have a polluted global scope of users users User where id user one id user two id user three endendNow that we have a known set of data we chain off of it and test our scope class UserTest lt ActiveSupport TestCase def setup end test Newest users and oldest users should be sorted properly do By testing both newest and oldest we re coupling these tests together We test both just in case our records just happen to be returned in the correct order we could use reverse scope to test newest but instead we just make this explicit chain off of users so we use a known set of data rather than the whole database newest users users newest assert operator newest users first created at gt newest users second created at assert operator newest users first created at gt newest users third created at assert operator newest users second created at gt newest users third created at oldest users users oldest assert operator oldest users first created at lt oldest users second created at assert operator oldest users first created at lt oldest users third created at assert operator oldest users second created at lt oldest users third created at endendOn running this test you should get something like this ruby user test rb Running FFinished in s runs s assertions s Failure UserTest test Newest users and oldest users should be sorted properly single line active record rb Expected UTC to be gt UTC Oops It failed perhaps we got the column direction wrong Let s try this class User lt ActiveRecord Base scope newest gt order created at asc scope newest gt order created at desc scope oldest gt order created at desc scope oldest gt order created at asc endThen test it again ruby user test rb Running Finished in s runs s assertions s runs assertions failures errors skipsYayyy we did it Adding another scopeAlright the first scope test may not have been too useful for this limited scope so lets make an exclusionary scope that checks for users created after a certain date time The scopeclass User lt ApplicationRecord scope created after gt date where created at gt date end The testclass UserTest lt ActiveSupport TestCase test Should only show users created from days ago and later do Always use beginning of day I believe days ago drops the time causing it to act like end of day which will cause our user created days ago to be excluded users users created after days ago beginning of day We know there should only be users created within the last days assert equal users size assert includes users user one assert includes users user two endend Touchdown ruby user test rb Running Finished in s runs s assertions s runs assertions failures errors skips Wrapping upNow is this the first use case of checking created at useful for this type of limited scope testing Maybe not For this particular test of testing creation time it shouldn t matter because we expect the sorting algorithm to get it right However using this method of a limited scope of data makes it easier to start testing more advanced scopes and scopes where data from other tests fixtures may leak in and its much easier to test results It also works great on exlusionary scopes queries like we did with our created after scope RecreationA gist can be found here of recreating this testing in a single file 2022-04-08 18:36:33
海外TECH DEV Community Introdução a algoritmos e estruturas de dados https://dev.to/lucassellari/introducao-a-algoritmos-e-estruturas-de-dados-5ajk Introdução a algoritmos e estruturas de dadosSe vocêénovo na área de TI mas jásabe alguma linguagem de programação mesmo que sóo básico de lógica de programação e estácomeçando agora a estudar algoritmos e estruturas de dados talvez a série de posts que se inicia com este possa te ajudar Particularmente eu tive bastante dificuldade quando comecei a estudar alguns algoritmos mais mirabolantes e algumas estruturas de dados se vocêéalguém que não curte livros tão maçantes sobre as coisas assim como eu talvez se identifique Pretendo botar nesse e nos próximos posts explicações que funcionaram muito bem para mim no meu tempo na universidade e espero que possam te servir também Antes de começarmos por alguns conceitinhos básicos jáquero deixar claro que irei usar a linguagem Python nos meus exemplos então ébom que vocêsaiba ao menos um pouco sobre a sintaxe da linguagem Beleza com tudo isso em mente vamos lá O que éum algoritmo computacional Um algoritmo computacional ou apenas algoritmo para os mais íntimos équalquer procedimento computacional bem definido que aceita um valor ou um conjunto de valores como entrada e produz um valor ou um conjunto de valores como saída Para quem jáestudou funções as da matemática mesmo deve achar essa definição bem familiar não é E não épor acaso não As funções da matemática são algoritmos também e vice versa mas não se preocupe se nunca tiver estudado isso na escola não vai ser nada complicado A gente geralmente usa os algoritmos para resolver algum problema de computação Um exemplo disso éo algoritmo de soma sim éum exemplo básico mas não deixa de ser um algoritmo def soma a b resultado a b return resultadoO que o algoritmo acima faz ésolucionar um problema de computação que ésomar dois números somar éuma computação Este algoritmo édescrito numa linguagem que o computador consegue entender Python e sem ambiguidades com isso tendo a chamada precisão Considere que executemos o algoritmo com as entradas e teste soma print teste O código acima iráimprimir na tela o que éde se esperar Quando o nosso algoritmo produz os resultados esperados dizemos que ele tem a propriedade de correção Um bom algoritmo sempre atende aos critérios de precisão e correção Também ébom quando o nosso algoritmo faz um uso eficiente dos recursos do computador em que ele vai rodar jáque o tempo e os recursos são finitos Corretude dos algoritmosComo acabamos de ver um algoritmo atende ao critério de correção quando o que ele retorna éconsiderado correto de acordo com a s entrada s considerada s Bem nem sempre éfácil ou possível saber se a saída do algoritmo estácerta de acordo com a s entrada s Um exemplo comum équando consideramos o problema de achar o melhor caminho entre dois lugares um problema que vamos falar em um futuro post Considere a imagem abaixo queremos achar uma rota entre os pontos A e B e que precisamos desenvolver um algoritmo que ache uma rota entre esses dois pontos Se o nosso problema éfazer o algoritmo retornar uma rota qualquer entre A e B ou seja nosso critério para considerar correta a saída do algoritmo éele retornar uma caminho qualquer entre A e B éfácil Agora quando o problema considerado éencontrar a melhor rota entre A e B a coisa complica um pouco jáque ébem difícil determinar se a resposta estácerta ou não Neste caso precisamos arranjar uma forma de medir o quão ótima éa resposta que o algoritmo nos dá Eficiência de algoritmosUma forma de sabermos se o nosso algoritmo estáfazendo um uso eficiente dos recursos computacionais e de tempo éanalisar o tempo de execução e a memória exigida para que ele rode na nossa máquina Diferentes algoritmos que resolvem o exato mesmo problema podem ter desempenhos bem diferentes Mais para frente iremos falar sobre a análise da complexidade de algoritmos que éuma forma de estimar o tempo de execução e a memória utilizada durante a execução do algoritmo técnica bastante utilizada durante o desenvolvimento Vale ressaltar que depois de termos desenvolvido o algoritmo podemos usar ferramentas que nos indicam de forma quantitativa esses parâmetros como éo caso do benchmarking A análise dos algoritmos independe da tecnologia utilizada linguagem de programação etc A análise éimportante pois nos dáum norte de qual algoritmo dentre os possíveis vários que resolvem o mesmo problema devemos escolher tendo em vista os recursos computacionais e o tempo limitados Estrutura de dadosUma estrutura de dados éuma forma de organizar armazenar acessar e modificar dados que estão na memória do computador Um exemplo clássico éo array ou vetor presente em todas as principais linguagens de programação No nosso vetor acima temos os nomes Maria Lucas José e Frida armazenados nesta ordem Na maioria das linguagens de programação temos métodos para buscar remover e inserir dados no nosso array operações de manipulação de dados Tá mas o que estrutura de dados tem a ver com algoritmos A resposta ésimples tem tudo a ver A estrutura de dados costuma interferir na eficiência dos algoritmos uma vez que em uma estrutura de dados A qualquer podemos ter um tempo de acesso a um elemento diferente do tempo de acesso em uma estrutura de dados B Não háestrutura de dados perfeita cada uma tem seus pontos fortes e fracos Temos que analisar durante a construção de um algoritmo qual quais seria m a s estrutura s de dados mais adequada s a ser em utilizada s no caso Um exemplo équando consideramos um comércio e o processamento de pedidos deste em sua loja virtual Seria um enorme desperdício de memória guardar todos os pedidos em um vetor array além de que os pedidos sópodem ser removidos ou adicionados em ordem Uma melhor estrutura de dados para armazenar os pedidos seria uma lista ligada em que temos alocação e desalocação dinâmica de memória vamos falar melhor disso mais para frente Éisso Enfim ébasicamente isso Isso éapenas um introdução aos conceitos mais importantes de algoritmos e estruturas de dados nada muito aprofundado Como jádisse várias vezes pretendo fazer mais posts entrando em detalhes em algoritmos mais específicos etc Espero que tenha gostado da leitura Qualquer coisa me chama no twitter 2022-04-08 18:35:28
海外TECH DEV Community How to Create a REST API with Azure Functions and the Serverless Framework — Part 1 https://dev.to/serverless_inc/how-to-create-a-rest-api-with-azure-functions-and-the-serverless-framework-part-1-ajp How to Create a REST API with Azure Functions and the Serverless Framework ーPart Originally posted at Serverless on Sep OverviewWith the recent updates to the serverless azure functions plugin it is now easier than ever to create deploy and maintain a real world REST API running on Azure Functions This post will walk you through the first few steps of doing that To see the full end to end example used to create this demo check out my GitHub repo I structured each commit to follow the steps described in this post Any steps named Step X X are steps that involve no code or configuration changes and thus not tracked by source control but actions that could should be taken at that point in the process This is done to preserve the commit per step structure of the example repo This post will only cover the basics of creating and deploying a REST API with Azure Functions which includes step and step from the example repo Stay tuned for posts on the additional steps in the future I will make the assumption that you have the Serverless Framework installed globally If you do not or have not updated in a while run Also the serverless CLI can be referenced by either serverless or sls I will use sls in this post just because it s shorter but serverless would work just the same Step Create your local Azure Function projectLet s begin by creating our Azure Function project with a template from serverless The resulting project will be in the directory sls az func rest api cd into that directory and run npm install To make sure you have the latest version of the Azure Functions plugin run It s important to note that the generated serverless yml file will contain a lot of commented lines which start with Those are purely for your benefit in exploring features of the Azure Functions plugin and can be safely removed Step Add your own handlersFor the sake of this demo we re going to create a basic wrapper of the GitHub API for issues and pull requests As you ve probably already noticed the azure nodejs template comes preloaded with two functions hello and goodbye Let s remove those before we start adding our own code To do this remove both the hello js and goodbye js files Also remove their configuration definitions from serverless yml Right now your file structure should look something like and your serverless yml should look like not including any comments Add CodeLet s add in our own code We ll start by creating the directory src handlers This perhaps to your great surprise will be where our handlers will live Inside that directory we will put our two handlers issues js and pulls js Just for fun we ll also add a utils js file for shared utility functions across handlers and we ll put that just inside the src directory You ll also note that the handlers are using a popular NPM package for HTTP requests axios Run npm install axios save in your service root directory Current Folder structure Now we need to add our new handlers to the serverless configuration which will now look like Step Test your API LocallyRun the following command in your project directory to test your local service This will generate a directory for each of your functions with the file function json in each of those directories This file contains metadata for the bindings of the Azure function and will be cleaned up when you stop the process You shouldn t try to change the bindings files yourself as they will be cleaned up and regenerated from serverless yml If you make changes to your serverless yml file you ll need to exit the process and restart Changes to code however will trigger a hot reload and won t require a restart Here is what you can expect as output when you run sls offline When you see the “Http Functions in the log you are good to invoke your local service One easy way to test your functions is to start up the offline process in one terminal and then in another terminal run Let s create a file with some sample data at the root of our project and we ll just call it data json Luckily owner and repo are the same parameters expected by both the issues and pulls handlers so we can use this file to test both We ll keep our offline process running in one terminal I ll open up another pro tip use the Split Terminal in the VS Code integrated terminal and run Here s my output You can see that it made a GET request to the locally hosted API and added the info from data json as query parameters There are no restrictions on HTTP methods you would just need to specify in the CLI if it s not a GET Example sls invoke local f pulls p data json m POST You could also run a simple curl command that would accomplish the same thing And here is the output in the terminal running the API You can see our console log statement from the handler output here When I m done running the service locally I ll hit Ctrl Cmd C in the API terminal to stop the process You can see that it cleans up those metadata files we discussed earlier Step DeployAuthenticationThat s all the configuration we need so we re ready to deploy this Function App In order to deploy we ll need to authenticate with Azure There are two options for authentication interactive login and a service principal which if you are unfamiliar is essentially a service account At first when you run a command that requires authentication the Interactive Login will open up a webpage for you to enter a code You ll only need to do this once The authentication results are cached to your local machine If you have a service principal you ll set the appropriate environment variables on your machine and the plugin will skip the interactive login process Unfortunately if you re using a free trial account your only option is a service principal The process for creating one and setting up your environment variables is detailed in the Azure plugin README Deploy CommandWith configuration and authentication in place let s ship this thing From the root of your project directory run sls deployand watch the magic happen Your app will be packaged up into a zip file which will be located in the serverless directory at the root of your project From there an Azure resource group will be created for your application containing things like your storage account Function App and more After the resource group is created the zipped code will be deployed to your newly created function app and the URLs for your functions will be logged to the console Step Invoke Deployed FunctionWe can invoke a deployed function in the same way we invoked our local function just without the local command Optional Step CleanupIf you have been following this tutorial and would like to clean up the resources you deployed you can simply run BE CAREFUL when running this command This will delete your entire resource group Additional StepsStay tuned for future posts walking you through other steps of setting up your service including adding API Management configuration quality gates like linting and unit tests adding Webpack support CI CD and more Also if you re going to be at ServerlessConf in NYC the Microsoft team is putting on a Azure Serverless Hands on Workshop on October th from am to pm ContributingWe re eager to get your feedback on the serverless azure functions plugin Please log issues on the GitHub repo with any bug reports or feature requests Or better yet fork the repo and open up a pull request Part Two of this tutorial can now be found here Originally published at 2022-04-08 18:34:53
海外TECH DEV Community Pycraft v0.9.4 is now live! https://dev.to/pycraftdev/pycraft-v094-is-now-live-4kk0 Pycraft v is now live Pycraft v is now live check out the latest update at the links below Here is the full list of changes Feature Full Linux compatibility has been added to Pycraft and will be supported in all future versions of Pycraft Feature The update section of the installer has been added this connects to both the installer and uninstaller for an optimised method of downloading the latest version of Pycraft Feature Message functions have been improved with some errors and issues there getting ironed out Feature The entire installer has been restructured and mostly reprogrammed from the preview releases this improves readability and follows a similar structure to the rest of the project now Bug Fix All known issues with the installer and project have been fixed that were known in the developer releases and older versions of Pycraft Feature The way music is loaded has changed to make the project friendlier on storage space and RAM Performance Improvements There have been numerous improvements to the installer and game to make it perform better with more optimisations still to arrive Bug Fix The benchmark section of the project has had some fundamental changes and now works fine with the changed game engine Feature The program can now detect when you are connected to the internet if permission is given this is to detect updates Feature Pycraft now can detect updates to itself and its required modules this is displayed on the home screen Feature Pycraft s home screen has been updated to include access to the new installer Bug fix Issues with sound playback in game when navigating between GUI s quickly has been addressed Feature The error screen has been re designed with more features coming in the next snapshot Feature Most of the errors in Pycraft now have been given more information so that debugging is easier Feature Devmode captions have been added into the D game engine Feature Work on the documentation Feature The benchmark GUI has had some processing optimisations and the file for the read test has been tweaked from Mebibytes to Megabytes Bug fix The delays with transitioning between the D and D games engine have been fixed Feature Section of on the installer has been added you can now download and install Pycraft through this method although currently I would not advise it past versions of Pycraft available to the installer where not build for the Installer so an amount of messy file transfer has to go on to set everything up properly Installing versions of Pycraft greater than v I ll be a much smoother experience The installer will receive a lot of work by the time of the release of this version of Pycraft and will also see a change to the README to accommodate this change Bug fix There have been numerous bug fixes in this version of Pycraft many of the changes also include shortening the length of existing code however the installer is very long and will have a lot of work done on it to get it to the standard of the rest of the modules in Pycraft Documentation There have been tweaks to the documentation for Pycraft v with a big change planned when it is finished each file will have documentation separately however the documentation for Pycraft v will not start until its release Feature of the sections of the installer are now complete the modify and install sections are now finished with the uninstall update and repair menus still to be completed although the process will be accelerated This update also saw tweaks to the install section which won t work fully until the release of Pycraft v Feature PyOpenGL and PyOpenGL accelerate have been removed entirely from the project due to a more Pythonic easier to install and faster alternative called ModernGL and its separate window counterpart taking its place this should help make the project much easier to install Feature As a result of PyOpenGL being removed the PycraftStartupTest module as well as the D test in ExBenchmark have been redesigned both are now faster and better optimised Feature The Credits menu has had some tweaks to the text engine making it easier to add accreditation to contributors and update in the future with a new accelerated text wrapping engine for Pygame text rendering added this supports wrapping large bodies of text a well as colouring individual words which will be made use of in later versions Currently it is used primarily in the Credits menu but will also be used later in the Benchmark GUI and the GameEngine modules Feature axis movement in the GameEngine module has been tweaked with movement speed no longer being frame rate dependant and more representative of real speed and the jump animation also being tweaked for the same reasons although still a linear movement this will be tweaked in a later version Feature Joystick Controller support has been added to Pycraft now you can choose between keyboard and mouse or controller although keyboard and controller both work together controller and mouse do not work in combo this support is wide ranging and there are likely to be bugs but the ones known to me have been removed Feature The Inventory and MapGUI modules have been heavily optimised now images aren t loaded every frame and are only tweaked when the window resizes which is detected now differently on those GUIs with more support coming soon for other GUIs The MapGUI module has also been brought into the same structure as the rest of the project and now works much better although will still need to be updated graphically Feature The Fancy Sky setting has been swapped for Fancy Graphics which now toggles some of the new on screen elements of the display improving performance although it should be noted toggling the anti aliasing setting will likely make a bigger change anti aliasing has not yet been added into the GameEngine with support coming soon there Feature The installer can now be reached directly through Pycraft Feature The tool tips text that appears on the new load screen has been updated with key changes as well as to showcase some of the project s new features Feature The old load screen menu has been re added and improved greatly Feature Object caching has been added to Pycraft so now the GameEngine module will load quicker with more support coming at a later date Feature Some files in the game are now loaded once centrally notably the window icon and title font which are used throughout Pycraft so the total read write count when running Pycraft has been significantly reduced Especially in the Inventory and MapGUI modules Feature The project s caption has now been changed to have rounded corners using alpha this is in light of the design changes as a part of Windows and as a general aesthetic feature Feature of the sections of the installer utility is now complete you can now in addition to its previous functions uninstall the project with customisable options Uninstall both Pycraft and all additional filesUninstall both Pycraft and all additional files but keep save dataUninstall only Pycraft and leave all additional filesAdditionally a large amount of the bugs and issues with the other aspects of the installer have also been corrected although any more bug reports will always help to make any aspect of the project better The theme section menu has been entirely re designed to support screen resizing and greatly improved graphics The entire project has seen changes to the controller engine so now the performance there has been heavily improved The entire project has had performance improvements The first section of the benchmark GUI has seen changes to the text structure to make the menu easy to modify and now has updated instructions with more improvements there coming soon There have been changes made to the messaging system on the home screen to further improve performance and allow for multiple messages to be properly handled Again feedback would be much appreciated this update was released on UK date DD MM YYYY As always we hope you enjoy this new release and feel free to leave feedback 2022-04-08 18:34:43
海外TECH DEV Community New to Cloud or Cloud Security? https://dev.to/0xmichaelwahl/new-to-cloud-or-cloud-security-2dj7 New to Cloud or Cloud Security Maybe you are new to the cloud or cloud security no worries my intent here is to help share some ideas and guidance for beginners Attack surface and asset and service inventoriesDepending on where you are with your overall cloud journey this exercise may take a bit longer but generally the end goal here is to better understand and have greater visibility into your attack surface It is really helpful to start generating a list or inventory of the various native cloud services and other third party services and tools that are used throughout your cloud environments and accounts Here we also want to think about what specific apps or services you have deployed within the cloud This may include such things as APIs VPNs containers server less database servers web file servers or simple object storage using AWS S Start thinking about the how from where using what in terms of how both you or your teams access your cloud accounts or other resources and services The why portion was likely completed above when you created lists and inventories but if not it s okay you can still complete that now A Threat Actors ViewWhen we think about our cloud environments compared to what we have on prem for example I think we can draw some threat parallels between the two After all if I am running an MSSQL database server on prem or in the cloud the potential threats and or potential vulnerabilities targeting the MSSQL server are the same are they not External threats Accounts Zero day malwareInternal threats Misconfigurations Compliance and regulations InsidersVulnerabilities and MisconfigurationsAgain depending on where you are on your own cloud journey this can be something that starts out relatively simple However over time as systems code features and functionality evolve the challenges around patching updates and upgrades start to increase rather quickly Leveraging more automation such as setting up recurring vulnerability scans to regularly scan your web applications source code configurations IaC scripts and templates and other infrastructure endpoints internal and external becomes really important The automation piece becomes paramount as these scans are never a one and done they are reoccurring Depending on the environment there could be one or many assets to scan make sure you scan stage and production for sure but even better is to simply scan everything you have budgeted for that way you aren t leaving something unscanned which in turn creates gaps and potential for some undue risk Another really important aspect of the feedback loop from the scans is to have clear visibility into what is vulnerable compared to what is exploitable Having a clear picture of what s exploitable within your environments can help to prioritize resources and set clear objectives for what needs attention now and what can be addressed later and tracked using a backlog When we talk about scans and automation for example the topic of tools inevitably surfaces For me there isn t a single tool in our cyber toolbox that can solve everything Instead it should be thought of more as there are various tools strategies and solutions that when properly bundled together become a viable solution As an example AWS offers many different native security services and products but those native security products alone aren t always the entire solution they become part of what goes into delivering or achieving some object or goal Perhaps that goal is to earn or retain a customer or a new project or another piece of business Maybe the goal or objective is to meet and maintain SOC compliance 2022-04-08 18:27:14
海外TECH DEV Community Coding Interviews in VR https://dev.to/dannyhabibs/coding-interviews-in-vr-70p Coding Interviews in VRAnyone interested in doing a mock coding interview in VR If you have an Oculus Quest I would be glad to conduct a white board style coding interview with you in VR I worked at FB for years and I promise to conduct a solid interview and deliver detailed feedback after My only ask is that I m allowed to record the interview You can remain completely anonymous behind a fake name and avatar ContextI run a youtube channel that creates coding interview content 2022-04-08 18:26:23
海外TECH DEV Community A Day in the Life of a Software Engineer at Microsoft in Vancouver https://dev.to/dustinbrett/a-day-in-the-life-of-a-software-engineer-at-microsoft-in-vancouver-52of A Day in the Life of a Software Engineer at Microsoft in VancouverI ve been wanting to make a video of my day as a developer for years now Finally I have taken the time to make it This is a REAL look at my life with my family living in Vancouver Richmond and working at Microsoft I also work on my side project in the evening 2022-04-08 18:25:43
海外TECH DEV Community These Are the [Feed] Levers I Know I Know https://dev.to/devteam/these-are-the-feed-levers-i-know-i-know-3jj7 These Are the Feed Levers I Know I KnowLate last year we introduced a means of more easily configuring the feed results you can read more about the first experiment here I say easier in that it still requires staring at Ruby code and cutting a pull request But the factors that go into placement in the feed are more transparent I mean if you think about lots set theory and combinatorial mathematics as transparent A current constraint is that the implementation was developed to compete with the the incumbent In that time we replaced the incumbent In this post I want to share the different levers that exist Ways to Leave a LeverBelow is a list of the levers that presently exist for tweaking the feed daily decay factor Weight to give based on the relative age of the article comment count by those followed factor Weight to give for the number of comments on the article from other users that the given user follows comments count factor Weight to give to the number of comments on the article experience factor Weight to give based on the difference between experience level of the article and given user featured article factor Weight to give for feature or unfeatured articles following author factor Weight to give when the given user follows the article s author following org factor Weight to give to the when the given user follows the article s organization latest comment factor Weight to give an article based on it s most recent comment matching tags factor Weight to give for the number of intersecting tags the given user follows and the article has privileged user reaction factor Weight privileged user s reactions reactions factor Weight to give for the number of reactions on the article spaminess factor Weight to give based on spaminess of the article Note I copied these factors and descriptions from the code comments As I ve lived with this I like the idea of renaming “factor to lever The names of these “levers are presently defined in the Articles Feeds WeightedQueryStrategy SCORING METHOD CONFIGURATIONS constant The names are not sacred nor all that important except as a quick means to understand their description Likewise the descriptions are the current code comments for the above Ruby constant Present ImplementationFor each article that we query each factor lever will assign that article a value between and We then multiply each of the lever values together to come up with a “relative rank Last we sort articles from greatest “relative rank down to “lowest rank The above levers were our best effort to look at the constellation of data associated with each article There may be more levers we can develop And we can certainly configure each of these levers to create a “catalog of configurations A Mathematical DiversionThis requires more careful consideration if one lever returns then the greatest “relative rank the article could have is If two levers return the greatest “relative rank is e g × Consider if all levers return we d have a “relative rank If all levers return we d have a “relative rank For a given query we apply the factors consistently So we could change our assumption of values between and We could also move from multiplying factors to adding The greater deviation is to move from multiplication to addition Moving to addition but keeping the to range means if we move “relative rank down to for one lever that would contribute of the “relative rank e g there are levers ÷ is Another consideration is that each of these levers are independent of each other I suppose we could start creating dependencies but at the moment my brain hurts thinking about how we d do that with the given implementation and given how we build the SQL In anycase the levers are envisioned as having bounded ranges That s something we want to continue ConclusionMy hope in sharing this is to shine a bit of light onto the feed It s something that I as as the lead for Content Experience am interested in stewarding along to improve the overall experience of folks engaging on DEV and across other Forems 2022-04-08 18:22:50
海外TECH Engadget Nissan plans to launch its first solid-state battery EV by 2028 https://www.engadget.com/nissan-solid-state-battery-ev-release-date-182025167.html?src=rss Nissan plans to launch its first solid state battery EV by Solid state batteries promise to shake up the electric car world by reducing prices and improving performance and Nissan wants to be one of the earliest adopters The automaker now plans to release its first EV with completely solid state batteries by the company s fiscal To that end it just unveiled a prototype production facility for these batteries at a Japanese research center and will open a pilot manufacturing line in Yokohama in fiscal The shift away from conventional batteries is already expected to make EVs considerably more affordable thanks to the use of less expensive materials Nissan aims to reduce the cost of solid state batteries to per kilowatt hour in and afterward EVs would cost roughly as much as gas based cars at those prices Nissan said The technology has other benefits Solid state batteries charge faster and offer roughly twice the energy density of existing lithium ion batteries potentially delivering greater range reduced weight and shorter recharging times Those in turn could make EVs practical for would be owners nbsp Nissan isn t the only brand racing to introduce solid state batteries Toyota for instance expects to use the technology in hybrid vehicles by However this is one of the clearest and more ambitious strategies for the tech It also suggests that Nissan s still small EV range will expand significantly in the next few years as electrification becomes practical for more of its lineup 2022-04-08 18:20:25
海外TECH CodeProject Latest Articles Density-Based Resampling for Digital Images and an Example: Fake Antique Mozaics https://www.codeproject.com/Articles/5329337/Density-Based-Resampling-for-Digital-Images-and-an Density Based Resampling for Digital Images and an Example Fake Antique MozaicsA very simple method to resampling points from a digital image and drawing it as antique mosaics dots stippling and Voronoi cells 2022-04-08 18:11:00
海外科学 NYT > Science A ‘New Era of Air Pollution’ in the Tropics Could Have a Huge Toll https://www.nytimes.com/2022/04/08/climate/air-pollution-cities-tropics.html A New Era of Air Pollution in the Tropics Could Have a Huge TollIncreasingly bad air in big cities is expected to kill hundreds of thousands in coming years if stronger controls are not put in place 2022-04-08 18:01:29
ニュース BBC News - Home Rishi Sunak's wife to pay UK tax on overseas income https://www.bbc.co.uk/news/uk-politics-61045825?at_medium=RSS&at_campaign=KARANGA company 2022-04-08 18:45:44
ニュース BBC News - Home Whatever happened to Rishi Sunak's political honeymoon? https://www.bbc.co.uk/news/uk-politics-61042105?at_medium=RSS&at_campaign=KARANGA chancellor 2022-04-08 18:31:53
ニュース BBC News - Home Man City v Liverpool: Jurgen Klopp vs Pep Guardiola: A modern Premier League rivalry https://www.bbc.co.uk/sport/av/football/61044447?at_medium=RSS&at_campaign=KARANGA Man City v Liverpool Jurgen Klopp vs Pep Guardiola A modern Premier League rivalryBBC Sport looks back at the Premier League rivalry between Jurgen Klopp and Pep Guardiola as Manchester City and Liverpool face each other in a crucial match this weekend 2022-04-08 18:04:33
ビジネス ダイヤモンド・オンライン - 新着記事 Wi-Fi・音量・セキュリティ… PC右下のアイコンたちは、“マウスなし”で操作できる - 脱マウス最速仕事術 https://diamond.jp/articles/-/301188 『脱マウス最速仕事術』を上梓した森新氏は、その背景には、マウスとキーボードの間を手が幾度となく行き来する「時間のムダ」と「作業ストレス」の改善へのニーズがあると言う。 2022-04-09 03:50:00
ビジネス ダイヤモンド・オンライン - 新着記事 外資系金融と日系金融、就職するならどっち? - 東大金融研究会のお金超講義 https://diamond.jp/articles/-/301236 外資系金融と日系金融、就職するならどっち東大金融研究会のお金超講義年月に発足した東大金融研究会。 2022-04-09 03:45:00
ビジネス ダイヤモンド・オンライン - 新着記事 【700万人が感動した数学ノート】アメリカの中学生が学んでいる「方程式」超入門 - アメリカの中学生が学んでいる14歳からの数学 https://diamond.jp/articles/-/301037 【万人が感動した数学ノート】アメリカの中学生が学んでいる「方程式」超入門アメリカの中学生が学んでいる歳からの数学年の発売直後から大きな話題を呼び、中国・ドイツ・韓国・ブラジル・ロシア・ベトナム・ロシアなど世界各国にも広がった「学び直し本」の圧倒的ロングセラーシリーズ「BigFatNotebook」の日本版が刊行される。 2022-04-09 03:40:00
ビジネス ダイヤモンド・オンライン - 新着記事 「頑張っているのになぜか出世できない人」 が無意識にやっているNG行動 - だから、この本。 https://diamond.jp/articles/-/301012 付加価値 2022-04-09 03:35:00
ビジネス ダイヤモンド・オンライン - 新着記事 【科学で解明】習慣は身につくまでに「何日」かかるのか? - 超習慣力 https://diamond.jp/articles/-/301141 【科学で解明】習慣は身につくまでに「何日」かかるのか超習慣力ダイエット、禁煙、節約、勉強ー。 2022-04-09 03:30:00
ビジネス ダイヤモンド・オンライン - 新着記事 【大安吉日に1日1分強運貯金で神様に愛される】 自力は不要!「他力本願」の持つすごい力! 幸運を運んでくる「蝶」の持つ御利益の力とは? - 1日1分見るだけで願いが叶う!ふくふく開運絵馬 https://diamond.jp/articles/-/299095 【大安吉日に日分強運貯金で神様に愛される】自力は不要「他力本願」の持つすごい力幸運を運んでくる「蝶」の持つ御利益の力とは日分見るだけで願いが叶うふくふく開運絵馬史上初神社界から「神道文化賞」を授与された絵馬師が、神様仏様に好かれる開運法を初公開。 2022-04-09 03:25:00
ビジネス ダイヤモンド・オンライン - 新着記事 「クリック率」と「成約率」は違う! 本当に、売れた広告は、どっち? - コピーライティング技術大全 https://diamond.jp/articles/-/299294 「クリック率」と「成約率」は違う本当に、売れた広告は、どっちコピーライティング技術大全「最強コスパ本知ってるのと知らないのでも大きな差になる内容ばかり」と話題沸騰発売即大重版Amazonランキング第位広告・宣伝。 2022-04-09 03:20:00
ビジネス ダイヤモンド・オンライン - 新着記事 【出口学長・日本人が最も苦手とする哲学と宗教特別講義】 9割の人が知らない! インドを変えたブッダとマハーヴィーラの 世界史上の興味深い意義とは? - 哲学と宗教全史 https://diamond.jp/articles/-/299068 2022-04-09 03:15:00
ビジネス ダイヤモンド・オンライン - 新着記事 意外と知らないウクライナの隣国「スロバキアはどんな国?」 - 読むだけで世界地図が頭に入る本 https://diamond.jp/articles/-/299656 2022-04-09 03:10:00
ビジネス ダイヤモンド・オンライン - 新着記事 「未経験の副業Webライター」だった僕が「800名のライターを束ねるディレクター」になるまでにやったことのすべて - 真の「安定」を手に入れるシン・サラリーマン https://diamond.jp/articles/-/299484 「未経験の副業Webライター」だった僕が「名のライターを束ねるディレクター」になるまでにやったことのすべて真の「安定」を手に入れるシン・サラリーマン異例の発売前重版刷仕事がデキない、忙しすぎる、上司のパワハラ、転職したい、夢がない、貯金がない、老後が不安…サラリーマンの悩み、この一冊ですべて解決これからのリーマンに必要なもの、結論、出世より「つの武器」リーマン力副業力マネー力。 2022-04-09 03:05: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件)