投稿時間:2021-09-02 06:25:05 RSSフィード2021-09-02 06:00 分まとめ(29件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
TECH Engadget Japanese 5周年の『No Man's Sky』大型アプデ「Frontiers」配信開始。街を作り統治可能に https://japanese.engadget.com/no-mans-sky-frontiers-update-205040678.html frontiers 2021-09-01 20:50:40
TECH Engadget Japanese 2010年9月2日、廉価&小型オーディオプレーヤーとなる「iPod shuffle」(第4世代)が発表されました:今日は何の日? https://japanese.engadget.com/today-203042033.html ipodshuffle 2021-09-01 20:30:42
海外TECH Ars Technica Crypto platforms need regulation to survive, says SEC boss https://arstechnica.com/?p=1791286 framework 2021-09-01 20:43:35
海外TECH Ars Technica First Marvel’s Midnight Suns gameplay footage: XCOM with cards looks rad https://arstechnica.com/?p=1791251 emphasis 2021-09-01 20:30:37
海外TECH DEV Community A Bit of Gradle Housekeeping https://dev.to/zsmb13/a-bit-of-gradle-housekeeping-240c A Bit of Gradle HousekeepingWhile cleaning is traditionally a spring activity let me invite you to do it at the end of summer this time around Note Yes I m still using Groovy because I never found a compelling reason to upgrade to Kotlin DSL ‍Something I m quite enthusiastic about is having the simplest and most default Gradle configuration for an Android project that you can possibly have Why Because simple and boring configuration is great The more configuration you have in these files the more custom your setup the harder it is to navigate When something weird is happening in your project having simpler project setup avoids a lot of potential headache when you need to figure out what s going on When someone new joins the project or starts working with the project configuration files a simpler setup will make their lives easier too In this article we ll look at various bits of configuration that you might have in your build files that you don t actually need anymore or can replace with something simpler Build tools versionI ll start with a classic that you should have removed four years ago when version of the Android Gradle Plugin was released Despite that it still lingers around in many projects android buildToolsVersion This version number is set by default feel free to simply remove it from your build config Java version settingsContinuing with a more recent change if you re on AGP or later you no longer have to specify that you want to target version of the Java language which gives you desugaring for various features like lambdas and method references This means you can remove this config if you have it in your build files android compileOptions sourceCompatibility JavaVersion VERSION targetCompatibility JavaVersion VERSION Kotlin JVM target settingsOn a very similar note we used to have to specify the JVM version that the Kotlin compiler should target explicitly as the default was Since Kotlin however the default value for this is which means you can remove this config as well android kotlinOptions jvmTarget SdkVersionSomething not to completely remove but to slightly simplify is the various SDK versions you specify in a project Traditionally you have probably used the following properties to set these values android compileSdkVersion defaultConfig minSdkVersion targetSdkVersion However since AGP these are deprecated and should be replaced with variants that no longer have the Version postfix So for example minSdkVersion is now just minSdk android compileSdk defaultConfig minSdk targetSdk The src main kotlin source setBack to things you can remove let s talk a bit of Kotlin If you prefer using the src main kotlin folder instead of the src main java folder to store your source files because you re just that enthusiastic about using the language you probably have configuration in your build files that resembles something like this sourceSets all it java srcDir src it name kotlin This simply adds the folder in question as a source set where files will be used as compilation sources The good news is that since version of the Android Gradle Plugin you no longer need this kotlin source folders are just supported by default Kotlin standard library dependencyLet s wrap it up with a final Kotlin tip The classic Kotlin Android project setup includes this variable set in the top level build gradle file buildscript ext kotlin version And then a reference to it in the module level build gradle file where the Standard Library is included dependencies implementation org jetbrains kotlin kotlin stdlib kotlin version However since Kotlin including the Kotlin Gradle plugin automatically adds the Kotlin Standard Library as a runtime dependency to your modules since you wouldn t want to use the language without its Standard Library anyway It will include the correct version based on the module s properties matching the version of the plugin the platform you re running on and the JVM target you have configured This means that you can remove the explicit dependency on the stdlib from your build files and as a consequence you can likely remove the kotlin version variable as well ConclusionThanks for participating in this quick late summer project cleaning initiative I hope you got to create a quick and simple PR to make your project config a bit leaner See you next time 2021-09-01 20:38:52
海外TECH DEV Community Service Discovery with AWS Cloud Map https://dev.to/tinystacks/service-discovery-with-aws-cloud-map-1mmg Service Discovery with AWS Cloud MapOne of the key challenges in a microservices architecture is discovering the current network location of services In this article we ll review why service discovery is so challenging and take a hands on peek at how AWS Cloud Map can simplify this complex task Article by Jay Allen Why Service Discovery A microservices architecture consists of atomizing an application into a series of discrete loosely coupled services They stand in contrast to monolithic architectures in which all of the services required by an application are bundled into a single large unit of deployment Separating and decoupling services makes it easier to deploy small changes rapidly But this flexibility also injects complexity Microservices architectures are often implemented using lightweight serverless technologies such as Docker containers or serverless functions AWS Lambda Azure Functions A given microservice may be split across multiple execution units e g a service hosted in Docker containers may run in multiple tasks across multiple cluster instances in Amazon ECS each with different IP addresses The complexity only gets worse when we consider the full application lifecycle Services will need to work across different deployment stages dev test stage prod Additionally a service will likely have several versions running simultaneously for backwards compatibility All of this raises the question How does a service s clients find the correct endpoint for the correct version This is the problem that service discovery was created to solve Traditional Approaches to Service DiscoveryService discovery consists of providing either a static or dynamic method for a service s clients to connect to an instance of a service There are two general approaches to service discovery Client based discovery A service s clients connect to a service registry a database listing the most current information about the service The client uses a logical naming scheme to look up the service by a known identifier and the registry returns one or more DNS names or IP address endpoints where the service is hosted Server based discovery The client connects to a known server side endpoint such as a load balancer The server is then responsible for resolving the request to a healthy running instance of the service AWS Elastic Load Balancing is one of the most well known examples of such an approach While both approaches have benefits and drawbacks client side discovery generally involves fewer moving parts and server hops compared to server side discovery AWS Cloud MapIn the past implementing client side discovery has meant standing up yet another highly available fault tolerant service that clients can call This can add significant time and cost to both application development as well as operational maintenance This is where AWS Cloud Map comes in AWS Cloud Map is a client side service registry and service discovery solution provided as a ready to use highly available service Rather than build your own client service registry you can leverage AWS Cloud Map to register your application and its running instances and then use either the AWS Cloud Map API or DNS lookup to resolve a service s name to a current active endpoint As with most AWS services leveraging Cloud Map lets you leave the heavy lifting to AWS while you focus on what matters most to you your application and the unique functionality that it provides to your users Creating an AWS Cloud Map Namespace and ServiceLet s see how you can leverage Cloud Map in real life This walkthrough will build upon my last article in which we stood up a Flask based API in a Docker image on Amazon ECS using CodePipeline and CodeBuild To get started log in to the AWS Management Console and in the Services search bar look for cloud map To get started we first need to create a Cloud Map namespace A namespace is a label that groups a number of services together To create a namespace click the Create namespace button You ll be asked to supply several values here Let s step through each in detail Namespace name This along with the service name is how your application will look up the endpoint for a service Characters in your namespace name are restricted to a strict subset of ASCII characters Additionally if you plan to use DNS to perform service discovery your namespace name must end in a top level domain name Namespace description Freeform text describing the purpose of your namespace We ll leave this blank for now Instance discovery There are three ways your applications can perform a service discovery lookup API calls Use the AWS CLI a language specific AWS API library like Boto for Python or REST calls over HTTP API calls and DNS queries in VPC Creates DNS entries local to an Amazon VPC allowing lookup using DNS queries API calls and public DNS queries Creates public DNS records that can be resolved with calls to a public DNS server For our walkthrough use a Namespace name of test namespace Leave the Namespace description field blank For now leave Instance discovery set to API calls Once done click Create namespace Your namespace should be available in a few moments Once it s ready click on the namespace s name to view its details page A namespace can contain multiple services Let s add our Flask API service to it now by clicking the Create service button In this dialog we have three options Service name A friendly name that helps you identify the service in the AWS Managment Console Service description A freeform description of the service and the purpose it serves Health check configuration The Cloud Map health check works similarly to the health checks used in Elastic Load Balancing Once you create a service you ll register application instances that belong to that service If you have health checks enabled AWS Cloud Map will only return services that are registering as healthy You have three options No health check A service instance is returned regardless of its health status Route health check Utilizes Route s health check feature Custom health check Uses a third party tool to perform the health check For Service name enter flask test Leave Service description empty and leave Health check configuration set to No health check When done click Create service Registering a Service Instance with AWS Cloud MapYou now have a namespace and a service However the service still doesn t have any running instances Whenever you bring a new instance of your application online you ll need to add it to your service so it can be returned in a query You may recall that in my last article on CodePipeline and CodeBuild we stood up a running Docker image in an Amazon ECS Fargate cluster That stood up a service named ts flask test service as shown below To register this as a service instance we only need a few pieces of information The auto generated service ID for our service which you wrote down earlier The IP address of the service and the port on which it s available Since this will occur dynamically when you start up a new instance of your application you ll want to be able to add and remove instances programmatically This can be done using the AWS CLI a language specific AWS SDK or REST API calls made directly over HTTP For example to add our running Docker instance to the service using the AWS CLI we could use the following command aws servicediscovery register instance service id srv hxpwincbakdijl instance id instance attributes AWS INSTANCE IPV AWS INSTANCE PORT Note that the officially supported arguments in the attributes parameter string are case sensitive and must all be capitalized What if you re using auto scaling with ECS In this case ECS will start and stop service task instances in response to service demand Fortunately you can configure your ECS service at creation time to integrate with Cloud Map For example the AWS CLI call aws ecs create service supports the service registries parameter for associating an ECS service with an AWS Cloud Map service Looking up a Service InstanceThe last piece is for your clients applications and other services to call AWS Cloud Map to retrieve a list of available endpoints for the service Using the AWS CLI this can be accomplished with the call aws servicediscovery discover instances You simply call this with the name of the namespace and services from which you want to return a list of healthy instances aws servicediscovery discover instances namespace name test namespace service name flask app The result will be a list of healthy instances In our case we only see a single instance returned as there is only one instance available How Routing Policies and Health Checks Influence Instance ListsWhich instances are returned when listing instances may vary depending on several variables you can set when creating your service with AWS Cloud Map The first factor is the routing policy This setting is available when you are using private or public DNS namespaces for instance lookup Two values are supported Weighted routing A single instance is selected randomly regardless of any considerations such as current traffic load Multivalue answer routing DNS returns a list of up to eight healthy instances if you aren t using health checks AWS Cloud Map returns the values for up to eight instances The second factor is health checks If a health check is defined and an instance is failing e g because it has too many active connections the instance will be marked as unavailable and will not be returned in AWS Cloud Map queries until it is once again healthy If no health check is defined all instances are assumed to be healthy Discover Instances from the AWS SDKYou can also discover instance easily from programming languages that have an AWS SDK Below is an example Python script that retrieves a list of available service endpoints from AWS Cloud Map for the service above import botoclient boto client servicediscovery instances client discover instances NamespaceName test namespace ServiceName flask app print instances Using the AWS SDK you can directly embed awareness of AWS Cloud Map into your clients with just a few lines of code Specifying Attributes on Instance RegistrationsEarlier I discussed how you will likely need to manage multiple versions and deployment stages for your service It s likely you ll have several supported versions running at once across dev test stage and prod Fortunately this scenario can be supported very simply by using custom attributes Let s return to our register instance call from earlier and add a few attributes of our own design called stage and version aws servicediscovery register instance service id srv hxpwincbakdijl instance id instance attributes AWS INSTANCE IPV AWS INSTANCE PORT stage dev version We can then alter our discover instances calls to filter on these attributes aws servicediscovery discover instances namespace name test namespace service name flask app query parameters stage dev version This will scope the results down to those instances specific to our desired deployment stage and version TinyStacks and AWS Cloud MapI ve discussed before how TinyStacks simplifies deploying applications on AWS Here s yet another good example as TinyStacks creates AWS Cloud Map namespaces and services as the simplest way to load balance traffic from API Gateway between container tasks on ECS This means that with zero additional coding your microservice can make itself discoverable by and available to other applications and services Contact us today to get set up with TinyStacks and give it a try 2021-09-01 20:16:04
海外TECH DEV Community Improving UX of your forms https://dev.to/ibn_abubakre/improving-ux-of-your-forms-166j Improving UX of your formsForms without a doubt play an important role in our day to day activities Whether you re trying to apply for a visa or you re trying to sign up on an e commerce platform to purchase an item As a developer making sure these forms are usable should be a top priority There are a lot of things to worry about already no one wants to worry so much about filling a form In this article I d be listing some points I feel can improve the overall experience of filling forms Keep Validations SimpleWhile it can be tempting to add a lot of validations to your form fields try to keep them as simple as possible Don t make assumptions based on what you already know For example it s very common to find name fields that are restricted to only alphabets when there are names that have hyphen and apostrophe in them Another example is validating phone numbers to make sure it matches a certain format xxx xxxx xxxx Instead give the users some level of freedom and allow formats like You can then format the phone number in the background before sending it to the backend Show Error on BlurA painful part about filling a form field is when you keep seeing errors as you type let me finish typing for God s sake Instead of showing errors immediately a user begins typing in an input field consider waiting until the user is done typing and is about moving to the next field Another option is to add a delay say about ms after user has stopped typing before showing the error message Break Forms Into StepsSeeing a very long form can be intimidating so it s usually better to split them into steps with some sort of progress indicator This way users are more likely complete the form Don t Just Disable The Submit ButtonA very popular practice is to disable the submit button whenever all validations have not been met This works but can be made better but allowing the users click the submit button then if there are any invalid fields scroll to that field and show the corresponding error message This has a better user experience and is also more secure Just adding the disabled attribute means the user and toggle the attribute from the devtools and be able to submit the button regardless Use Either Confirm Password Or Toggle Password VisibilityIf you have a password field with the options to toggle visibility then there s no much need to have a confirm password field Why do I have to confirm password when I can already see the password I entered One way to implement this is to check if the password is visible if yes then hide the confirm password field otherwise show it Avoid Clear or Reset ButtonWhile this might seem like a handy feature it can become painful when a user has filled a long form and is about to click submit but mistakenly clicked the clear button Use Appropriate Input TypeThis allows the device to show the corresponding keyboard for a particular input Like showing an for en email type or a number pad for a type tel 2021-09-01 20:09:25
Apple AppleInsider - Frontpage News Apple's self-driving test vehicles involved in two minor collisions in August https://appleinsider.com/articles/21/09/01/apples-self-driving-test-vehicles-involved-in-two-minor-collisions-in-august?utm_medium=rss Apple x s self driving test vehicles involved in two minor collisions in AugustTwo cars in Apple s fleet of self driving vehicles were involved in minor accidents in August while driving on California roads though neither was the fault of autonomous systems being tested Credit MacRumorsThe accidents were reported by the California Department of Motor Vehicles and later spotted by MacRumors Both collisions were described as minor and no injuries were reported Read more 2021-09-01 20:35:43
海外TECH Engadget Elon Musk warns the Tesla Roadster might not ship until at least 2023 https://www.engadget.com/tesla-roadster-delay-2023-202010781.html?src=rss Elon Musk warns the Tesla Roadster might not ship until at least Add the Roadster to the list of delayed Tesla vehicles On Wednesday CEO Elon Musk said the performance EV wouldn t make its previously announced shipment date “ has been the year of super crazy supply chain shortages so it wouldn t matter if we had new products as none would ship he said in a tweet spotted by Roadshow The executive added the Roadster should ship in “assuming is not mega drama has been the year of super crazy supply chain shortages so it wouldn t matter if we had new products as none would ship Assuming is not mega drama new Roadster should ship in ーElon Musk elonmusk September Tesla first announced its next generation Roadster in Back then the company expected to debut the car sometime last year came and went without Tesla sharing much information on the supercar Then at the start of the year Musk said production on the Roadster would start in Whether the car will make its new date is a big if The global chip shortage that delayed the Tesla Semi is expected to continue until and Musk s tweet hints at the possibility of further delays 2021-09-01 20:20:10
海外TECH Engadget RED's latest 8K pro camera has a new sensor that shoots 120FPS RAW video https://www.engadget.com/red-v-raptor-st-8k-camera-200544378.html?src=rss RED x s latest K pro camera has a new sensor that shoots FPS RAW videoRED is determined to stay at the forefront of K video recording and its latest pro camera might just be proof DPReviewnotes that RED has unveiled the V Raptor ST its first camera in the DSMC lineup The body is only slightly bigger than the Komodo but it touts a brand new megapixel VV full frame sensor that offers a large stops of dynamic range and quot cinema quality quot scan times twice as fast as any other RED camera You might not have to sacrifice quality for speed either The V Raptor ST can shoot bit REDCODE RAW video at K and frames per second and you can ramp it up to frames per second at K if you re capturing slow motion shots While RED may be stretching things by claiming you can quot always deliver quot at greater than K you clearly need to step down in some situations you might feel a twinge of regret if your production team spent close to on a Monstro K that only manages FPS at full resolution The new camera includes other creature comforts A dedicated user display on the side helps assistants tweak settings and save presets and improved cooling including a quiet mm fan helps you work in tougher conditions You ll have access to a wide range of ports including two G SDI outputs nine pin EXT for breakout boxes USB C and the obligatory pogo pin connector for a monitor ODU output on the side can break out to XLR or mm audio Not surprisingly you ll want fast storage ーRED supports compatible CFexpress Type B cards that can record RD and ProRes at up to MB s The price is squarely in pro filmmaker territory The body alone sells for and you ll likely want to spend on a quot Starter Pack quot with useful add ons like a inch touchscreen a RED GB CFexpress card plus the matching card reader and a pair of batteries That s not including the RF mount lenses and adapters you might need if you re new to the RED ecosystem If you re the sort who regularly shoots K video for a living though this might represent a bargain if you re looking for high end video equipment 2021-09-01 20:05:44
海外科学 NYT > Science Purdue Pharma Is Dissolved and Sacklers Pay $4.5 Billion to Settle Opioid Claims https://www.nytimes.com/2021/09/01/health/purdue-sacklers-opioids-settlement.html Purdue Pharma Is Dissolved and Sacklers Pay Billion to Settle Opioid ClaimsThe ruling in bankruptcy court caps a long legal battle over the fate of a company accused of fueling the opioid epidemic and the family that owns it 2021-09-01 20:55:25
海外科学 NYT > Science Federal Judge Strikes Down Trump Rule Governing Water Pollution https://www.nytimes.com/2021/08/30/climate/federal-judge-trump-water-pollution.html Federal Judge Strikes Down Trump Rule Governing Water PollutionThe rule allowed fertilizers pesticides and industrial chemicals to flow into small streams marshes and wetlands The judge warned of environmental harm 2021-09-01 20:44:26
ニュース BBC News - Home Afghanistan crisis: Unclear if ruthless Taliban will change, says US general https://www.bbc.co.uk/news/world-us-canada-58415877?at_medium=RSS&at_campaign=KARANGA islamist 2021-09-01 20:32:57
ニュース BBC News - Home Maddie Durdant-Hollamby: Woman found in house was stabbed to death https://www.bbc.co.uk/news/uk-england-northamptonshire-58416135?at_medium=RSS&at_campaign=KARANGA injuries 2021-09-01 20:10:09
ニュース BBC News - Home Texas abortion law: What women make of six-week abortion ban https://www.bbc.co.uk/news/world-us-canada-58416037?at_medium=RSS&at_campaign=KARANGA fears 2021-09-01 20:02:10
ニュース BBC News - Home Beaumont hits stunning 97 as England thrash New Zealand in first T20 https://www.bbc.co.uk/sport/cricket/58412712?at_medium=RSS&at_campaign=KARANGA chelmsford 2021-09-01 20:47:30
ニュース BBC News - Home Evans beats Giron to equal best US Open run https://www.bbc.co.uk/sport/tennis/58414957?at_medium=RSS&at_campaign=KARANGA meadows 2021-09-01 20:30:10
ニュース BBC News - Home Raikkonen to retire from F1 at end of season https://www.bbc.co.uk/sport/formula1/58415541?at_medium=RSS&at_campaign=KARANGA raikkonen 2021-09-01 20:11:09
ビジネス ダイヤモンド・オンライン - 新着記事 奈良&島根のプライム上場企業は1社だけ!?地方名門「絶対に負けられない」戦い - 東証再編 664社に迫る大淘汰 https://diamond.jp/articles/-/280460 上場企業 2021-09-02 05:25:00
ビジネス ダイヤモンド・オンライン - 新着記事 「ベンダーは用済み!官公システムはベンチャーでも受注できる」IT精通議員が断言 - ITゼネコンの巣窟 デジタル庁 https://diamond.jp/articles/-/280855 大臣補佐官 2021-09-02 05:20:00
ビジネス ダイヤモンド・オンライン - 新着記事 長時間労働激減でもまだまだある要注意業界、労基署が狙うITベンダー・金融・物流… - 新・階級社会 上級国民と中流貧民 https://diamond.jp/articles/-/280147 2021-09-02 05:15:00
ビジネス ダイヤモンド・オンライン - 新着記事 倒産危険度ランキング2021【悪化度ワースト50】2位は銀座ルノアール、1位は? - 廃業急増!倒産危険度ランキング2021 https://diamond.jp/articles/-/281054 危険水域 2021-09-02 05:10:00
ビジネス ダイヤモンド・オンライン - 新着記事 東急、西武、近鉄がコロナを乗り越えて「復活」を目指す構造改革 - トップアナリスト「緊急提言」 https://diamond.jp/articles/-/280874 中期経営計画 2021-09-02 05:05:00
ビジネス 電通報 | 広告業界動向とマーケティングのコラム・ニュース コロナ禍でメンタルヘルスが悪化する若者。パンデミアルとは? https://dentsu-ho.com/articles/7887 photoby 2021-09-02 06:00:00
ビジネス 電通報 | 広告業界動向とマーケティングのコラム・ニュース LGBTQ+をアクティブにサポートする人に欠けている視点とは https://dentsu-ho.com/articles/7882 lgbtq 2021-09-02 06:00:00
ビジネス 東洋経済オンライン 大成建設ショック襲来、ゼネコン決算に異変あり 建築、土木事業ともに利益率が急降下のなぜ | 建設・資材 | 東洋経済オンライン https://toyokeizai.net/articles/-/451913?utm_source=rss&utm_medium=http&utm_campaign=link_back 大成建設 2021-09-02 05:40:00
ビジネス 東洋経済オンライン ECBの量的緩和縮小が急浮上、ユーロ相場への影響 QEを9月から縮小、来年3月末までに撤退終了も | 市場観測 | 東洋経済オンライン https://toyokeizai.net/articles/-/452326?utm_source=rss&utm_medium=http&utm_campaign=link_back 一挙手一投足 2021-09-02 05:20:00
Azure Azure の更新情報 General availability: Update in policy compliance for Azure Kubernetes Policies https://azure.microsoft.com/ja-jp/updates/general-availability-update-in-policy-compliance-for-azure-kubernetes-policies/ General availability Update in policy compliance for Azure Kubernetes PoliciesAzure Kubernetes policies now surface error states to you providing important information about potential errors in your environment 2021-09-01 20:38:34
Azure Azure の更新情報 Custom AKS policy support - now public preview https://azure.microsoft.com/ja-jp/updates/custom-aks-policy-support-now-public-preview/ Custom AKS policy support now public previewAzure Policy and AKS teams announce the public preview of custom policy support for Azure Kubernetes Service AKS clusters With this feature is enabled you can create and assign custom policy definitions and constraint templates to their AKS clusters see enhanced error state information for troubleshooting use embedded constraint template inside policy definitions and more 2021-09-01 20:38:05

コメント

このブログの人気の投稿

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

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

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