投稿時間:2022-10-31 23:31:49 RSSフィード2022-10-31 23:00 分まとめ(35件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
python Pythonタグが付けられた新着投稿 - Qiita Azure Synapse Analytics Dedicated SQL pool ( 専用 SQL プール) における Merge(Upsert)処理の性能検証を実施する方法 https://qiita.com/manabian/items/9a2c33df19c9ef9624a7 lineitem 2022-10-31 22:43:14
python Pythonタグが付けられた新着投稿 - Qiita 【試行錯誤】OpenAI Whisperを活用した日本語歌詞のforced-alignment リンクまとめ https://qiita.com/shimajiroxyz/items/c91c5074fd24608ea5b1 forcedalignment 2022-10-31 22:40:54
python Pythonタグが付けられた新着投稿 - Qiita 【試行錯誤】OpenAI Whisperを活用した日本語歌詞のforced-alignment その7:最初から最後まで処理をつなげる https://qiita.com/shimajiroxyz/items/9779a04a3acc2c809163 alignment 2022-10-31 22:31:14
js JavaScriptタグが付けられた新着投稿 - Qiita paizaラーニング レベルアップ問題集 線形探索メニュー応用編 JavaScript 連続する 3 要素 https://qiita.com/ZampieriIsa/items/593e86051bf072606f24 javascript 2022-10-31 22:55:51
js JavaScriptタグが付けられた新着投稿 - Qiita paizaラーニング レベルアップ問題集 線形探索メニュー応用編 JavaScript 前後関係の基本 https://qiita.com/ZampieriIsa/items/94388027483037fa4cf3 javascript 2022-10-31 22:47:26
Ruby Rubyタグが付けられた新着投稿 - Qiita RSpecとSimpleCovでテストカバレッジを見るには https://qiita.com/issunno/items/3e0f88bfce607d96a1e5 rubyrspecsim 2022-10-31 22:22:02
Ruby Rubyタグが付けられた新着投稿 - Qiita Virtualbox + Vagrant における共用ディスク構成 https://qiita.com/hiroyuki_onodera/items/95e54bba89c2d27b686c linux 2022-10-31 22:13:20
Azure Azureタグが付けられた新着投稿 - Qiita Azure Synapse Analytics Dedicated SQL pool ( 専用 SQL プール) における Merge(Upsert)処理の性能検証を実施する方法 https://qiita.com/manabian/items/9a2c33df19c9ef9624a7 lineitem 2022-10-31 22:43:14
Azure Azureタグが付けられた新着投稿 - Qiita カスタムドメインについて https://qiita.com/ss12345/items/179ec170c7d2738140ef azure 2022-10-31 22:17:23
技術ブログ Developers.IO Argo CDのApp of apps patternは何が嬉しいのか https://dev.classmethod.jp/articles/argocd-app-of-apps-pattern/ applicatio 2022-10-31 13:50:51
技術ブログ Developers.IO EXCELやスプレッドシートの情報はコピペでそのままNotionシンプルテーブルに流し込める #notion https://dev.classmethod.jp/articles/copy-and-paste-contents-between-excel-spreadsheet-and-notion/ excel 2022-10-31 13:09:46
海外TECH MakeUseOf How to Change Your Facebook Password https://www.makeuseof.com/tag/change-facebook-password/ facebook 2022-10-31 13:05:14
海外TECH DEV Community 16 Must Have JavaScript One Linears https://dev.to/johongirr/16-must-have-javascript-one-linears-42l5 Must Have JavaScript One LinearsHi guys in this post I m going to introduce JavaScript one liners that make you better JavaScript developer as they are very useful in most practical cases Reverse a stringconst reverseString str gt str split reverse join console log reverseString hello guys syug olleh Flatten an arrayconst flattenArray arr flattenLevel gt arr flat flattenLevel console log flattenArray console log flattenArray Shuffle an arrayconst shuffleArray arr gt arr sort a b gt Math random console log shuffleArray Get a random boolean valueconst getRandomBooleanValue gt Math random gt console log getRandomBooleanValue falseconsole log getRandomBooleanValue true Find an average array valueconst getAverageValue numbers gt numbers reduce total currEl gt total currEl numbers length console log getAverageValue console log getAverageValue Detect a dark modeconst darkMode window matchMedia amp amp window matchMedia prefers color scheme dark matches Scroll to the top of the pageconst scrollToTop gt window scrollTo top behavior smooth Find number of specified character in a stringconst getCharAmount string char gt string split char length console log getCharAmount hello l console log getCharAmount hello q Redirect URLconst redirectUrl url gt location href url redirectUrl Detect whether an array is emptyconst isArrayEmpty arr gt Array isArray arr arr length console log isArrayEmpty falseconsole log isArrayEmpty true Return unique values from an arrayconst getUniqueArrayValues arr gt arr filter i gt arr indexOf i arr lastIndexOf i console log getUniqueArrayValues Get a selected text from DOMconst getSelectedText gt window getSelection toString Check whether expression is an arrayconst isArray expression gt Array isArray expression console log isArray falseconsole log isArray name Jaxongir falseconsole log isArray JavaScript false Check a number if it s odd or evenconst isOdd number gt number console log isOdd trueconsole log isOdd false Detect whether an element is in focusconst isElementFocussed element gt element document activeElement Convert celsius to fahrenheit and vice versaconst convertCelsiusToFahrenheit celsius gt Math floor celsius const convertFahrenheitToCelsius fahrenheit gt Math floor fahrenheit console log convertCelsiusToFahrenheit console log convertCelsiusToFahrenheit console log convertFahrenheitToCelsius console log convertFahrenheitToCelsius 2022-10-31 13:53:56
海外TECH DEV Community Communities You Should Know As a Developer https://dev.to/patilganesh1010/communities-you-should-know-as-a-developer-1a8k Communities You Should Know As a Developer IntroductionHey Everyone Welcome to the new article here we are going to learn about community importance and community role in developer day to day life especially in the open source world We are going to deep dive into the community culture and at the end of this article you will get an amazing list of communities that are impacting developers life and adding the best values We ar going to know all the answers to all questions such as why to join communities and why communities as important and other questions as well So Let s get started with the first one the community role and its importance Community Role for DevelopersThe communities play a very crucial role in the open source world because collaboration with all folks of the community and managing all the contributors is not an easy role as well for the maintainers Community helps you to grow and scale your career in the right direction and networking is the best part of communities You can interact with folks from other regions you can share ideas with the work on those ideas and pretty amazing stuff you can do by networking with right folks Benefits to joining communitiesNetworking opportunitiesCareer GuidanceAccess to a number of resourcesCreative minds environmentOpportunities to Learn amp Improve Skills Chance to work on Real Time projectsThese are basic benefits that will help you to grow in your career and I personally believe this is the right approach to learning if you re a student or new to the programming world The best thing you can do after joining communities Be respectful to allRead the code of conductFollow all rules amp guidanceStart connecting with other folksStart helping to themBe active in the communityLook for meet up or events Share your work with other and so many other things Why to Join CommunitiesI already mentioned why you should join communities and why it s important with all benefits but wait where to start there are a number of communities are there and you re absolutely right There are a number of communities that are there you don t need to join find your niche and what works for you at the first level and start researching communities that suit your niche I love to code write and create content as well so I look to active communities which are supports coders writers and content creators as well and that s how I joined aviyel and the same things for you start figuring out your niche and join communities and start growing How to Grow in the Community Start connecting with other folksAfter joining the community there are some people who are always there to help you may be community managers or maintainers so you have to start connecting with them and other contributors who actually contribute to the community Ask good questionsAsking good questions is actually a great skill and multiple people face this issue and are stuck with problems but try to ask a good question don t repeat one thing again and again which is already mentioned somewhere try to find yourself and if you don t get then look for the help Help othersTry to help other folks in the community with resources documentation basically beginners need resources to get started so you can help them as well and if you re getting something issue and you figure out the solution share it with the community by creating an article or any videos it helps a lot Create ContentTry to start writing articles creating content or videos around your communities to help other folks and also it gives you the benefit to explain and break down complex things in a simple manner so other community people and actually relate to it and then can actually get something out of it Share your Ideas Start sharing your projects and ideas that you have with the community and ask them for feedback so you will understand the actual data to work on your projects These are some ways to grow in the community Platforms to Grow Communityif you re a developer or maintainer o any project and you want to build a community for a product or service then you have to pick the right platform to grow your community and need a team to as well below are some platforms that are the most popular ones right now DiscordMost of the communities use Discord to create and grow their communities and the idea is pretty simple and straightforward there are different channels you have to create like introduction about project link and etc for very different aspects of the community one community server with multiple channels ‍ SlackSlack is pretty simple and works simply as discord not completely but some sort sounds similar so you can also use slack to build and scale your community GitterThe hitter is new to me I recently found a gitter platform but people are also building their communities on gitter as well Top Communities for DevelopersCommunity ClassroomCommunity Classroom leads more than k community folks in their community and is one of the active communities for students developers and beginners It s available on every social platform with amazing support and contributors AviyelAviyel is a rapidly growing community for non cde contributors and tech writers to learn practical things by contributing to open source projects You will learn different things by joining aviyel and it also has amazing community support HackerbadThe discord server is pretty active to get updates regarding every event and opportunity out there and amazing maintainers are maintaining the Hackerbad community CodedamnCodedamn is a platform that helps you learn to program at an affordable price and of the course content is available for free learn there are different opportunities there you will get creative resources and community help by joining the codedamn discord server CollabCollab is beginner friendly community that is growing and you have to join the collab discord server to hang out with same minded people creative folks are there with amazing creativity and ideas so you can learn from them freecodecampEveryone knows the freecodecamp platform is one of the biggest hubs for developers and everything is available for free for everyone with access to o many things and the largest networking opportunities out there That s pretty much stuff that I want to share with you all and these communities are best for me to learn a lot from them also there is a number o amazing communities south there you can find and learn from them if you get something out of it share your support in the comment section YoutubeI m waiting for you Want to reach out to me then use Twitter Tune in for the next article Bye bye for now Recent Articles A Complete Guide to WavesA Practical Guide to Brain jsDevOps SimplifiedWavy Backgrounds with CSS amp SVGEverything you need to know about Markdown Connect with MeTwitter GithubYoutubeLinkedin 2022-10-31 13:18:58
海外TECH DEV Community Plant Health evaluation using Raspberry Pi, Xamarin Forms App,Azure Function, Table,Storage, Key vault, Custom vision, Drone https://dev.to/jaymin93/plant-health-evaluation-using-raspberry-pi-xamarin-forms-appazure-function-tablestorage-key-vault-custom-vision-drone-4nn5 Plant Health evaluation using Raspberry Pi Xamarin Forms App Azure Function Table Storage Key vault Custom vision Drone Problem StatementTo Maintain healthiness of the Plant in larger area of farm is really challenging Farmers needs to keep an eye on the plants they grow whether it is not affected by insects or disease it requires manual inspection of plants by multiple farm workers and navigate through entire area of farm and inspecting them manually which is taking down many days for the farm workers and this needs to be repeated periodically which is consuming lots of time Solution ArchitectureThis problem can be solved using Azure based solution where drone can capture images of elephant ear plant and identify if plant is affected by Insect or diseases using Azure Storage account which will hold the image captured by drone and it will be processed against the custom vision in which has trained images of healthy and insect or diseases affected plantsPlease refer Application flowwe will need following Azure Subscription Net sdk Visual Studio Visual Studio needs following workloads Azure Custom Vision Click on create Project Upload healthy and infected plant images and tag the uploaded images and perform the quick training Goto Performance Tab follow the steps and copy the url and key which will be used to access it Drone with Camera and GPS Module Drone supported by Parrot SDK and having FTP Server learn more here Please find the Github Link for the Project you will need to enter correct Azure resources e g storage table custom vision end point ftp values to run the Project Technical Details and Implementation of solution PlantHealthConsoleApp net Console AppApp will monitor Drone created FTP which will have images captured by Drone from farm app will periodically check FTP server and images will be copied to destination directory from where it will be uploaded to Azure Storage as a BlobStart Visual studio follow below stepsPlease provide the Name and Path for the Project Select net LTS For Production workloads LTS is highly recommended Click on Create it will create Console Project Once Project has created we will need below Nuget Packages which can be added from the below optionIt will connect to Ftp server created by drone and get the values from the appsettings json e g blob storage uri ftp information and Secret Identifier We will need Storage account and Azure keyvault Secret information for that go to Create new Storage accountenter resource group name or select existing and add storage account nameselect review create Go to storage account you have created and select access key tab as below imageCreate ContainerKeyVault Please enter correct resource group name and keyvault name then click on review create Navigate to keyvault and select Secret then Click on Generate ImportPlease install nuget from the above menu by searching with the name Azure Storage BlobsMicrosoft Azure KeyVaultMicrosoft Azure KeyVault ModelsMicrosoft Extensions ConfigurationMicrosoft Extensions HostingWinSCPProgram csusing Azure Storage Blobs using Microsoft Azure KeyVault using Microsoft Azure KeyVault Models using Microsoft Extensions Configuration using Microsoft Extensions Hosting using WinSCP namespace PlantHealthConsoleApp public class Program private static IConfiguration config private static string connectionstring private static string storageaccounturi private static string containername private static string secretIdentifier string Empty private static string imageDirPath string Empty private static SecretBundle secret private static KeyVaultClient client private static System Timers Timer timer private static string imageProcessPath string Empty public async static Task Main string args HostBuilder builder new HostBuilder config new ConfigurationBuilder AddJsonFile appsettings json true true Build CheckForNewFileAdditionToDirectory InitTimer await builder RunConsoleAsync private static void InitTimer timer new System Timers Timer timer Enabled true timer Interval timer Elapsed Timermr Elapsed private static void Timermr Elapsed object sender System Timers ElapsedEventArgs e GetFilesFromDronFTPServer GetvaluesFromConfig droneFtpUrl GetvaluesFromConfig ftpUsername GetvaluesFromConfig ftpPassword Convert ToInt GetvaluesFromConfig ftpport private static void CheckForNewFileAdditionToDirectory imageDirPath GetvaluesFromConfig imageDirPath FileSystemWatcher watcher new Path GetDirectoryForImageUpload watcher Created FileSystemWatcher FileCreatedEvent watcher EnableRaisingEvents true private static string GetDirectoryForImageUpload imageProcessPath Path Combine Environment GetFolderPath Environment SpecialFolder MyDocuments imageDirPath Console WriteLine path is imageProcessPath CreateDirectoryIfNotExist imageProcessPath return imageProcessPath private static void CreateDirectoryIfNotExist string DirectoryPath if Directory Exists DirectoryPath Directory CreateDirectory DirectoryPath private static string GetvaluesFromConfig string key if string IsNullOrEmpty key amp amp config is not null return config key return string Empty private static void SetClientIDAndSecret TokenHelper clientID GetvaluesFromConfig clientID TokenHelper clientSecret GetvaluesFromConfig clientSecret private async static void FileSystemWatcher FileCreatedEvent object sender FileSystemEventArgs fileSystemEvent using FileStream fileStream new fileSystemEvent FullPath FileMode Open try storageaccounturi GetvaluesFromConfig storageaccounturi containername GetvaluesFromConfig containername secretIdentifier GetvaluesFromConfig secretIdentifier SetClientIDAndSecret client new KeyVaultClient new KeyVaultClient AuthenticationCallback TokenHelper GetAccessTokenAsync secret await client GetSecretAsync secretIdentifier connectionstring secret Value if string IsNullOrEmpty fileSystemEvent Name await UploadFileToAzureStorageAsync connectionstring fileSystemEvent Name containername fileStream catch Exception ex Console WriteLine ex private static async Task lt bool gt UploadFileToAzureStorageAsync string connectionString string fileName string containerName Stream fileStream BlobClient blobClient new BlobClient connectionString containerName fileName await blobClient UploadAsync fileStream Console WriteLine file fileName uploaded successfully return await Task FromResult true private static void GetFilesFromDronFTPServer string droneFtpUrl string ftpUsername string ftpPassword int ftpport try imageProcessPath GetDirectoryForImageUpload SessionOptions sessionOptions new SessionOptions Protocol Protocol Ftp HostName droneFtpUrl UserName ftpUsername Password ftpPassword PortNumber ftpport using Session session new Session string droneCapturedImagePath home prt images session Open sessionOptions session GetFiles droneCapturedImagePath imageProcessPath Check session RemoveFiles droneCapturedImagePath catch Exception ex Console WriteLine ex Add new class by selecting from Solution explorer This class will be used to Get AccessToken to connect to keyvault and Get secret values from it ToeknHelper csusing Microsoft IdentityModel Clients ActiveDirectory using System Diagnostics namespace PlantHealthConsoleApp public static class TokenHelper public static string clientID public static string clientSecret public static async Task lt string gt GetAccessTokenAsync string authority string resource string scope var context new AuthenticationContext authority ClientCredential credential new ClientCredential clientID clientSecret AuthenticationResult result await context AcquireTokenAsync resource credential Trace WriteLine result AccessToken if result null throw new InvalidOperationException Failed to obtain the JWT token return result AccessToken Click on solution explorer and Select below Option this app will be executing on Rasbpian Linux arm so same configuration will be selected to Publish it From the option select Target runtime Linux arm and Deployment as self contained learn more here Once Published copy executables to Rabpian and follow set permission chmod x filename and then use filename to execute application learn more from here PlantHealthApp Azure Function Blob Trigger with net as Target Framework Function will be triggered once there is new image uploaded by console app which will be sent to Azure Custom Vision for prediction if plant is affected by insect or dieses details of the affected plant will be stored in Azure Table Select Azure FunctionProvide Connection string name and click on finish Please install following nuget packages Azure Security KeyVault SecretsMicrosoft Azure CognitiveServices Vision CustomVision PredictionMicrosoft Azure CognitiveServices Vision CustomVision TrainingMicrosoft Azure KeyVaultMicrosoft Azure WebJobs Extensions StorageMicrosoft Identity ClientMicrosoft IdentityModel Clients ActiveDirectoryRestSharpGetPlantHealth csusing System using System Threading Tasks using Microsoft AspNetCore Mvc using Microsoft Azure WebJobs using Microsoft Azure WebJobs Extensions Http using Microsoft AspNetCore Http using Microsoft Extensions Logging using Microsoft WindowsAzure Storage Table using Microsoft WindowsAzure Storage using System Collections Generic using System Linq using System Net Http using System Net using Microsoft Azure KeyVault namespace GetPlantHealthDetails public class GetPlantHealth private static CloudStorageAccount storageAccount null private static CloudTableClient tableClient null private static CloudTable table null private static KeyVaultClient client null private static Microsoft Azure KeyVault Models SecretBundle connectionstring null private static string tableName PlantHealthAppTable private static string secretIdentifier FunctionName GetPlantHealth public static async Task lt IActionResult gt Run HttpTrigger AuthorizationLevel Function get Route null HttpRequest req ILogger log SetClientIDAndSecret client new KeyVaultClient new KeyVaultClient AuthenticationCallback TokenHelper GetAccessTokenAsync connectionstring await client GetSecretAsync secretIdentifier storageAccount CloudStorageAccount Parse connectionstring Value tableClient storageAccount CreateCloudTableClient table tableClient GetTableReference tableName string rowkey req Query RowKey if string IsNullOrEmpty rowkey return new OkObjectResult await GetPlantHealthDeatilsAsync log else return new OkObjectResult await UpdatePlantHealthDeatilsByRowkeyAsync rowkey log private static async Task lt List lt PlantHealthDeatils gt gt GetPlantHealthDeatilsAsync ILogger logger try List lt PlantHealthDeatils gt plantHealthDeatilsList new List lt PlantHealthDeatils gt TableQuery lt PlantHealthDeatils gt query query new TableQuery lt PlantHealthDeatils gt Where TableQuery GenerateFilterCondition PartitionKey QueryComparisons Equal tableName TableContinuationToken token null do TableQuerySegment lt PlantHealthDeatils gt resultSegment await table ExecuteQuerySegmentedAsync query token ConfigureAwait false foreach var entity in resultSegment Results OrderBy x gt x Pesticidesprayed PlantHealthDeatils details new PlantHealthDeatils longitude entity longitude ImageURL entity ImageURL latitude entity latitude Pesticidesprayed entity Pesticidesprayed CapturedTime entity CapturedTime RowKey entity RowKey ETag entity ETag PartitionKey entity PartitionKey plantHealthDeatilsList Add details while token null return plantHealthDeatilsList catch Exception exp logger LogError exp Unable to GetPlantHealthDeatils return default private static async Task lt HttpResponseMessage gt UpdatePlantHealthDeatilsByRowkeyAsync string rowkey ILogger logger try PlantHealthDeatils plantHealthDeatilsList new PlantHealthDeatils TableQuery lt PlantHealthDeatils gt query query new TableQuery lt PlantHealthDeatils gt Where TableQuery GenerateFilterCondition RowKey QueryComparisons Equal rowkey TableContinuationToken token null TableQuerySegment lt PlantHealthDeatils gt resultSegment await table ExecuteQuerySegmentedAsync query token ConfigureAwait false var plantdetail resultSegment Results FirstOrDefault plantdetail Pesticidesprayed true var operation TableOperation Replace plantdetail await table ExecuteAsync operation return new HttpResponseMessage HttpStatusCode NoContent catch Exception exp logger LogError exp Unable to Update PlantHealthDeatils return default private static string GetEnviromentValue string key return Environment GetEnvironmentVariable key private static void SetClientIDAndSecret TokenHelper clientID GetEnviromentValue clientID TokenHelper clientSecret GetEnviromentValue clientSecret Add new class file as below PlantHealthDeatils cs this class will be inherited by TableEntity class that will be used to communicate as model class for the Azure Table please notice parameterised constructor has two important arguments PartitionKey RowKeyusing Microsoft WindowsAzure Storage Table using System namespace GetPlantHealthDetails public class PlantHealthDeatils TableEntity public PlantHealthDeatils public PlantHealthDeatils string skey string srow PartitionKey skey RowKey srow public DateTime CapturedTime get set public string longitude get set public string latitude get set public string ImageURL get set public bool Pesticidesprayed get set false For Publishing to the Azure we will be creating Azure function Click review createOnce Azure function is created we can deploy it to Azure From Visual Studio select below local settings json contais key value pair for stoarge account url custom vision and Table this needs to be added to Azure function from PortalOnce Publish is successful we can upload image to container and Blob Trigger will be executed affected plant deatils will be stored in the Azure Table GetPlantHealthDetails Azure Function Http Trigger with net as Target Framework Function will retrieve data of the affected plant from Azure Table and will serve the response to the Xamarin Forms Based App running on Windows Android Iosrowkey based query string can be sent to Azure Function which will update the Pesticide spray status flag of particular record which can be done from the agricultural drone spraying pesticide Add new Project of Azure function please refer above screen shot we will be adding Http Trigger Azure function Trigger Type Please install following nuget packages Azure IdentityAzure Security KeyVault SecretsMicrosoft Azure Functions ExtensionsMicrosoft Azure KeyVaultMicrosoft Identity ClientMicrosoft IdentityModel Clients ActiveDirectorySystem Configuration ConfigurationManagerGetPlantHealth csusing System using System Threading Tasks using Microsoft AspNetCore Mvc using Microsoft Azure WebJobs using Microsoft Azure WebJobs Extensions Http using Microsoft AspNetCore Http using Microsoft Extensions Logging using Microsoft WindowsAzure Storage Table using Microsoft WindowsAzure Storage using System Collections Generic using System Linq using System Net Http using System Net using Microsoft Azure KeyVault namespace GetPlantHealthDetails public class GetPlantHealth private static CloudStorageAccount storageAccount null private static CloudTableClient tableClient null private static CloudTable table null private static KeyVaultClient client null private static Microsoft Azure KeyVault Models SecretBundle connectionstring null private static string tableName PlantHealthAppTable private static string secretIdentifier FunctionName GetPlantHealth public static async Task lt IActionResult gt Run HttpTrigger AuthorizationLevel Function get Route null HttpRequest req ILogger log SetClientIDAndSecret client new KeyVaultClient new KeyVaultClient AuthenticationCallback TokenHelper GetAccessTokenAsync connectionstring await client GetSecretAsync secretIdentifier storageAccount CloudStorageAccount Parse connectionstring Value tableClient storageAccount CreateCloudTableClient table tableClient GetTableReference tableName string rowkey req Query RowKey if string IsNullOrEmpty rowkey return new OkObjectResult await GetPlantHealthDeatilsAsync log else return new OkObjectResult await UpdatePlantHealthDeatilsByRowkeyAsync rowkey log private static async Task lt List lt PlantHealthDeatils gt gt GetPlantHealthDeatilsAsync ILogger logger try List lt PlantHealthDeatils gt plantHealthDeatilsList new List lt PlantHealthDeatils gt TableQuery lt PlantHealthDeatils gt query query new TableQuery lt PlantHealthDeatils gt Where TableQuery GenerateFilterCondition PartitionKey QueryComparisons Equal tableName TableContinuationToken token null do TableQuerySegment lt PlantHealthDeatils gt resultSegment await table ExecuteQuerySegmentedAsync query token ConfigureAwait false foreach var entity in resultSegment Results OrderBy x gt x Pesticidesprayed PlantHealthDeatils details new PlantHealthDeatils longitude entity longitude ImageURL entity ImageURL latitude entity latitude Pesticidesprayed entity Pesticidesprayed CapturedTime entity CapturedTime RowKey entity RowKey ETag entity ETag PartitionKey entity PartitionKey plantHealthDeatilsList Add details while token null return plantHealthDeatilsList catch Exception exp logger LogError exp Unable to GetPlantHealthDeatils return default private static async Task lt HttpResponseMessage gt UpdatePlantHealthDeatilsByRowkeyAsync string rowkey ILogger logger try PlantHealthDeatils plantHealthDeatilsList new PlantHealthDeatils TableQuery lt PlantHealthDeatils gt query query new TableQuery lt PlantHealthDeatils gt Where TableQuery GenerateFilterCondition RowKey QueryComparisons Equal rowkey TableContinuationToken token null TableQuerySegment lt PlantHealthDeatils gt resultSegment await table ExecuteQuerySegmentedAsync query token ConfigureAwait false var plantdetail resultSegment Results FirstOrDefault plantdetail Pesticidesprayed true var operation TableOperation Replace plantdetail await table ExecuteAsync operation return new HttpResponseMessage HttpStatusCode NoContent catch Exception exp logger LogError exp Unable to Update PlantHealthDeatils return default private static string GetEnviromentValue string key return Environment GetEnvironmentVariable key private static void SetClientIDAndSecret TokenHelper clientID GetEnviromentValue clientID TokenHelper clientSecret GetEnviromentValue clientSecret PlantHealthDeatils csusing Microsoft WindowsAzure Storage Table using System namespace GetPlantHealthDetails public class PlantHealthDeatils TableEntity public PlantHealthDeatils public PlantHealthDeatils string skey string srow PartitionKey skey RowKey srow public DateTime CapturedTime get set public string longitude get set public string latitude get set public string ImageURL get set public bool Pesticidesprayed get set false local settings json contais the information for the clientID clientSecret tableName secretIdentifier this needs to be added to Azure function from PortalFor publish please follow the above Function Publish steps to Azure PlantHealthAppXam Xamarin Forms based Uwp Android Ios app which will display information for the infected plants with images by querying the data to GetPlantHealthDetails as well as shows the Location on Map using the Longitude and Latitude Azure Function Http Trigger Use Add new Project refer above screenshot to solution and add Xamarin Forms ProjectGive correct Name and location to it then click on Next select below optionOnce Project is created you will see belows Projects added to solution Goto st Project from the above image in view folder we will be updating views as below Xamarin forms Project uses viewmodel and binding with MVVM learn more from below link ItemDetailPage xaml lt xml version encoding utf gt lt ContentPage xmlns xmlns x x Class PlantHealthAppXam Views ItemDetailPage Title Binding Title gt lt StackLayout Spacing Padding gt lt Image Source Binding IMGURL gt lt Image gt lt Button Text Open Map Command Binding OpenMapCommand gt lt Button gt lt StackLayout gt lt ContentPage gt ItemDetailPage xaml csusing PlantHealthAppXam ViewModels using System ComponentModel using System Threading Tasks using Xamarin Essentials using Xamarin Forms namespace PlantHealthAppXam Views public partial class ItemDetailPage ContentPage public ItemDetailPage InitializeComponent BindingContext new ItemDetailViewModel ItemDetailViewModel cs in ViewModels folderusing PlantHealthAppXam Models using System using System Diagnostics using System Threading Tasks using Xamarin Essentials using Xamarin Forms namespace PlantHealthAppXam ViewModels QueryProperty nameof IMGURL nameof IMGURL QueryProperty nameof longitude nameof longitude QueryProperty nameof latitude nameof latitude public class ItemDetailViewModel BaseViewModel private string imgurl public Command OpenMapCommand get public string longitude get set public string latitude get set public string Id get set public string IMGURL get gt imgurl set gt SetProperty ref imgurl value public ItemDetailViewModel OpenMapCommand new Command async gt await OpenMapByLongitudeLatitude longitude latitude public async Task OpenMapByLongitudeLatitude string Longitude string Latitude var location new Location Convert ToDouble Longitude Convert ToDouble Latitude await Map OpenAsync location ItemsPage xaml lt xml version encoding utf gt lt ContentPage xmlns xmlns x x Class PlantHealthAppXam Views ItemsPage Title Binding Title xmlns local clr namespace PlantHealthAppXam ViewModels xmlns model clr namespace PlantHealthAppXam Models x Name BrowseItemsPage gt lt ContentPage ToolbarItems gt lt lt ToolbarItem Text Add Command Binding AddItemCommand gt gt lt ContentPage ToolbarItems gt lt x DataType enables compiled bindings for better performance and compile time validation of binding expressions gt lt RefreshView x DataType local ItemsViewModel Command Binding LoadItemsCommand IsRefreshing Binding IsBusy Mode TwoWay gt lt CollectionView x Name ItemsListView ItemsSource Binding ItemsList SelectionMode None gt lt CollectionView ItemTemplate gt lt DataTemplate gt lt StackLayout Padding Orientation Horizontal x DataType model PlantHealthDeatils gt lt StackLayout Orientation Vertical gt lt StackLayout Orientation Horizontal gt lt Label FontAttributes Bold Text Longitude gt lt Label gt lt Label Text Binding longitude LineBreakMode NoWrap Style DynamicResource ListItemDetailTextStyle FontSize gt lt StackLayout gt lt StackLayout Orientation Horizontal gt lt Label FontAttributes Bold Text Latitude gt lt Label gt lt Label Text Binding latitude LineBreakMode WordWrap Style DynamicResource ListItemDetailTextStyle FontSize gt lt StackLayout gt lt StackLayout Orientation Horizontal gt lt Label FontAttributes Bold Text Captured Time gt lt Label gt lt Label Text Binding CapturedTime LineBreakMode WordWrap Style DynamicResource ListItemDetailTextStyle FontSize gt lt StackLayout gt lt StackLayout Orientation Horizontal gt lt Label FontAttributes Bold Text Pesticide Sprayed Margin gt lt Label gt lt CheckBox IsEnabled False IsChecked Binding Pesticidesprayed gt lt CheckBox gt lt StackLayout gt lt StackLayout gt lt Image Source Binding ImageURL HorizontalOptions EndAndExpand HeightRequest WidthRequest gt lt Image gt lt StackLayout GestureRecognizers gt lt TapGestureRecognizer NumberOfTapsRequired Command Binding Source RelativeSource AncestorType x Type local ItemsViewModel Path ItemTapped CommandParameter Binding gt lt TapGestureRecognizer gt lt StackLayout GestureRecognizers gt lt StackLayout gt lt DataTemplate gt lt CollectionView ItemTemplate gt lt CollectionView gt lt RefreshView gt lt ContentPage gt ItemsViewModel cs in ViewModelsusing Newtonsoft Json using PlantHealthAppXam Models using PlantHealthAppXam Views using RestSharp using System using System Collections Generic using System Collections ObjectModel using System Diagnostics using System Net Http using System Threading Tasks using Xamarin Forms namespace PlantHealthAppXam ViewModels public class ItemsViewModel BaseViewModel private PlantHealthDeatils selectedItem public ObservableCollection lt PlantHealthDeatils gt ItemsList get public Command LoadItemsCommand get public Command lt PlantHealthDeatils gt ItemTapped get public ItemsViewModel Title Plant List ItemsList new ObservableCollection lt PlantHealthDeatils gt LoadItemsCommand new Command async gt await ExecuteLoadItemsCommand ItemTapped new Command lt PlantHealthDeatils gt OnItemSelected async Task ExecuteLoadItemsCommand IsBusy true try ItemsList Clear var items await GetDataAsync ConfigureAwait false foreach var item in items ItemsList Add item catch Exception ex Debug WriteLine ex finally IsBusy false public void OnAppearing IsBusy true SelectedItem null public PlantHealthDeatils SelectedItem get gt selectedItem set SetProperty ref selectedItem value OnItemSelected value async void OnItemSelected PlantHealthDeatils item if item null return This will push the ItemDetailPage onto the navigation stack Shell Current GoToAsync home bottomtab name Cat amp test Dog await Shell Current GoToAsync nameof ItemDetailPage nameof ItemDetailViewModel IMGURL item ImageURL amp nameof ItemDetailViewModel longitude item longitude amp nameof ItemDetailViewModel latitude item latitude public async Task lt List lt PlantHealthDeatils gt gt GetDataAsync var client new RestClient var request new RestRequest request Method Method Get var response await client ExecuteAsync request return JsonConvert DeserializeObject lt List lt PlantHealthDeatils gt gt response Content ToString ItemsPage xaml csusing PlantHealthAppXam Models using PlantHealthAppXam ViewModels using PlantHealthAppXam Views using System using System Collections Generic using System ComponentModel using System Linq using System Text using System Threading Tasks using Xamarin Forms using Xamarin Forms Xaml namespace PlantHealthAppXam Views public partial class ItemsPage ContentPage ItemsViewModel viewModel public ItemsPage InitializeComponent BindingContext viewModel new ItemsViewModel protected override void OnAppearing base OnAppearing viewModel OnAppearing PlantHealthDeatils csusing System using System Collections Concurrent using System Collections Generic using System Text namespace PlantHealthAppXam Models public class PlantHealthDeatils public PlantHealthDeatils public DateTime CapturedTime get set public string longitude get set public string latitude get set public string ImageURL get set public bool Pesticidesprayed get set false public string ETag get set public string RowKey get set public string PartitionKey get set App running on Windows Android Ios Challenges in implementing the solutionRaspbian Linux distro is case sensitive for file naming I have used camel casing in file name AppSettings json on windows it worked fine but on Linux it was null values so after debugging the app on Linux I came to know about it and used same casing later in file name to fix it Business BenefitHuman efforts can be saved with the Azure based solution which will reduce the human efforts and increase revenue generation for farmers as farm workers can focus on another task Using agriculture drones using longitude and latitude we can spray pesticide to selected area 2022-10-31 13:07:18
海外TECH DEV Community Next.js getInitialProps and getServerSideProps https://dev.to/refine/nextjs-getinitialprops-and-getserversideprops-e7j Next js getInitialProps and getServerSidePropsAuthor Michael Hungbo IntroductionNext js is an open source React framework for building production and enterprise ready applications It includes many built in features such as Server side Rendering SSR Static Site Generation SSG automatic image optimization backend functionality support using API Routes and so on that make developing web applications a breeze One of the many interesting features in Next js are its data fetching methods Next js offers different ways of fetching and rendering data in your applications depending on your use case At times it may be confusing as to which of the methods or functions to use for data fetching if you re new to Next js Next js has two functions for server side rendering pre rendering or pre population of data contents on the server namely getInitialProps and getServerSideProps As we go on we ll explore both functions understand how they work and learn when it s appropriate to use them in our applications Steps we ll cover What is getInitialProps Context parameterWhat is getServerSideProps Context parameterReturn valueAutomatic caching capabilitiesgetInitialProps vs getServerSidePropsgetInitialPropsgetServerSideProps What is getInitialProps getInitialProps is an asynchronous function used for fetching data on the server and pre rendering the resulting data aka server side rendering in Next js page components getInitialProps behavior can be tricky for developers who are new to Next js The function runs only on the server at the initial page load However if you make client side navigation to other parts of your application through the lt Link gt component or next router and come back to the page using getInitialProps the function will then run in the browser this time Any data you are fetching in getInitialProps is returned as an object and is used by Next js to populate the props parameter in the default export in a page component The example below shows how you can use getInitialProps in a page component pages example tsx Get the data returned from getInitialProps as propsfunction Page data Render data Page getInitialProps async context gt const res await fetch const data await res json return data this will be passed to the page component as props export default Page Context parametergetInitialProps accepts a single and optional parameter named context The context parameter is an object containing the following keys req An instance of HTTP request object this object is only available when getInitialProps runs on the server res An instance of HTTP response object this object is only available when getInitialProps runs on the server pathname Returns the current route For example if you have a file pages example js pathname will return examplequery Query string parsed as an object if the URL contains query parametersaspath Returns a string of the actual path including the query as shown in the browser err Contains an error object if any error is encountered during the renderingVisit the Next js documentations here to learn more about getInitialProps What is getServerSideProps getServerSideProps is an asynchronous function used in Next js pages component for server side rendering and works almost the same as getInitialProps It is a newer alternative to getInitialProps introduced in Next js getServerSideProps runs at request time and is guaranteed to always run on the server and never in the browser So unlike getInitialProps even if you refresh the page or perform client side navigation using lt Link gt or next router getServerSideProps will always run on the server pages example js Get the data returned from getServerSideProps as propsfunction Page message return lt gt lt h gt Example page lt h gt Render data lt h gt message lt h gt lt gt export async function getServerSideProps return props message Hello world export default Page Context parameterLike getInitialProps getServerSideProps accepts a single and optional context parameter The context object contains the following keys req An instance of HTTP request objectres An instance of HTTP response objectparams Contains the route parameter if the page is a dynamic page For example a dynamic file pages id js will have a params object that looks like id query An object that contains the query string if the page utilizes one including dynamic route parameters preview Returns a Boolean value Returns true if the page utilizes Preview Mode and false otherwise previewData The preview data set by setPreviewData if the page utilizes Preview ModeresolvedUrl A resolved version of the URL that removes the next data prefix for client transitions locale Contains the active internationalized locale if enabled locales Contains all supported locales information if enabled defaultLocale Contains the configured default locale if enabled Return valuegetServerSideProps must return an object with any of the following properties props An object key value pair passed to the page component It should be a serializable object that can be serialized with JSON stringify notFound A boolean object which allows the page to return a status and Page If notFound is set to true the page will return a error even if the page was previously generated successfully redirect An object with the following structure destination string permanent boolean It allows redirecting to internal and external resources such as redirecting a user to a login page after a successful sign up You can visit the Next js documentations here to learn more about getServerSideProps Automatic caching capabilitiesNext js provides getServerSideProps server side Rendering with caching capabilities that help improve server response times and reduces the number of requests to external services Next js will automatically add caching headers to static assets served from next static including JavaScript CSS static images and other immutable media Here s how you can set a custom header in getServerSideProps using the response object pages example jsfunction Page return lt gt lt gt export async function getServerSideProps req res res setHeader Cache Control public s maxage stale while revalidate return props export default PageNote that caching doesn t work when your application is running in development mode next dev You can learn more about configuration options for the HTTP header field Cache Control on MDN Does your CRUD app need server state management Meet the headless React based solution to build sleek CRUD applications With refine you can be confident that your codebase will always stay clean and boilerplate free Try refine to rapidly build your next CRUD project whether it s an admin panel dashboard internal tool or storefront getInitialProps vs getServerSidePropsWhen you are doing server side rendering in your applications it s important to know which of the functions to use in your applications since the two functions work almost similarly and are both included in the Next js docs We ll go through some examples to see how both functions work in real world applications getInitialPropsThe GIF below shows how getInitialProps behaves when it s used to fetch data for server side rendering Here s the code for the example above pages example jsimport Link from next link function Page data return lt gt lt h gt Example page using lt code gt getInitialProps lt code gt lt h gt lt h style textDecoration underline gt lt Link href gt Go home lt Link gt lt h gt lt br gt lt br gt data map data i gt return lt h key i gt data username lt h gt lt gt Page getInitialProps async gt const res await fetch const data await res json The next line will log the first item in the API data to the console in the server during the initial first page load After making a client side navigation to the home page or any other part of the application getInitialProps will then run in the browser This will make the first item in the data returned from the API to be logged to the browser console instead of the server console log data return data export default PageIn the code above we re fetching a list of users from the JSONPlaceholder API using getInitialProps and then passing the data as props to the page component for rendering From the GIF when the localhost example page is first loaded getInitialProps runs only on the server so the line console log data is logged to the server and nothing is logged to the browser console However when we make client side navigation to the home page localhost using the lt Link gt component and return to localhost example getInitialProps then runs only in the browser and the line console log data logs the first item in the data returned from the API to the browser console getServerSidePropsThe GIF below shows the same example from the previous section using getServerSideProps to fetch a list of users from the JSONPlaceholder API for server side rendering Here s the code for the example above pages example jsimport Link from next link function Page data return lt gt lt h gt Example page using lt code gt getServerSideProps lt code gt lt h gt lt h style textDecoration underline gt lt Link href gt Go home lt Link gt lt h gt lt br gt lt br gt data map data i gt return lt h key i gt data username lt h gt lt gt export async function getServerSideProps const res await fetch const data await res json The next line will only be logged on the server and never on the browser console even if we make client side navigation This confirms that getServerSideProps is guaranteed to run on the server and never on the client or browser console log data return props data export default PageFrom the GIF you can see that even though we made client side navigation and refresh the page getServerSideProps was never run in the browser In addition writing server side specific code such as using the fs module and so on will work perfectly in getServerSideProps However you ll run into errors if you try the same thing in getInitialProps As you have learned from the previous sections and examples getInitialProps and getServerSideProps are both used in fetching data for server side rendering in Next js Both functions share similarities as well as differences One similar property is that both cannot be used in children components but only in page components The major and significant differences between the two functions is where they run and their behavior when making client side navigation getInitialProps will run on the server during the initial page load and subsequently run in the browser if you make client side transition to other parts of the application However getServerSideProps will only run on the server and never in the browser even if you make client side navigation or refresh the page Using getInitialProps for data fetching and SSR in Next js is outdated and deprecated because its behavior can be confusing for beginners and could also lead to unintentional bugs and errors if used the wrong way ConclusionIn summary the Next js developers recommend using getServerSideProps over getInitialProps since the former has extra features such as automatic caching and handles all use cases for server side rendering In this article we covered in depth the two Next js data fetching methods for server side rendering getInitialProps and getServerSideProps You also learned about how each function works and their behavior And now we hope this article will help you make the right choice to avoid unintentional errors and bugs when you do SSR in your Next js applications 2022-10-31 13:06:50
Apple AppleInsider - Frontpage News Ikea's Matter hub, VOCOlinc floor lamp review, & more on HomeKit Insider https://appleinsider.com/articles/22/10/31/ikeas-matter-hub-vocolinc-floor-lamp-review-more-on-homekit-insider?utm_medium=rss Ikea x s Matter hub VOCOlinc floor lamp review amp more on HomeKit InsiderOn this week s episode of the Homekit Insider podcast your hosts talk about the new Matter hub from Ikea review the VOCOlinc floor lamp and much more HomeKit InsiderAfter being announced earlier this year the Ikea Dirigera smart hub with Matter support will finally be released on November It will work with all major smart home platforms including Apple HomeKit Read more 2022-10-31 13:40:40
海外TECH Engadget The best robot vacuums for 2022 https://www.engadget.com/best-robot-vacuums-130010426.html?src=rss The best robot vacuums for Robot vacuums have come a long way over the past few years They re smarter more powerful and marginally better at avoiding chair legs than they ever were before and you don t have to shell out as much money to get one either There are also many more robo vacs available now than there once were so deciding which to buy isn t as simple as choosing the latest model from the biggest brand We tested out many of the newest robot vacuums available now to see how they stack up against each other Engadget s picksBest mid range robot vacuum Shark AI Robot Vacuum with BaseRunner up Roomba jHonorable mention Anker Eufy RoboVac X HybridBest high end robot vacuum iRobot Roomba s Honorable mention Roborock S Best budget Roomba Are robot vacuums worth it We tackled this question in our budget robot vacuum guide and the answer is yes especially if vacuuming is one of your least favorite chores Robots take the hard work out of cleaning your floors just turn the thing on and watch it go Any robot vacuum worth buying is semi autonomous in that it will suck up dirt around your home until its battery is low and then make its way back to its charging dock You should only have to interact with it to turn it on empty its dustbin and untangle it if it were to get stuck somewhere That s not to say robot vacuums are perfect They re almost always less powerful and less flexible than standard vacuums Since most robo vacs are much smaller than traditional models they often don t have the same level of suction you ll get in an upright machine Plus their dustbins are smaller so they will need to be emptied more frequently While WiFi connected robot vacuums give you the flexibility to start a cleaning job from anywhere using an app targeting a small area of your home can be more complicated Some robo vacs have spot cleaning features that focus the machine s attention on a specific area which almost but not quite mimics the spot cleaning you d be able to do yourself with a regular vacuum What to look for in a robot vacuumiRobt AccuSoft Co All rights reservedAs we explained in our budget guide WiFi is a key feature for most robot vacuums Some of the cheapest devices aren t WiFi connected though so if you re looking at the most affordable devices it s best to check for that feature before you buy WiFi connectivity allows a robot vacuum to do things like communicate with a mobile app which then allows you to control the device from your phone Suction power is another important factor to consider Unfortunately there isn t a standard power scale that all robo vacs adhere to so it s difficult to compare suction power among a bunch of devices Some companies provide Pascal Pa levels and generally the higher the Pa the stronger the vacuum will be But other companies don t rely on Pa levels and simply say their robots have X times more suction than other robots Ultimately we recommend thinking first about the floors in your home Do you have carpet throughout or tile and hardwood or a mix Robots with stronger suction power will do a better job cleaning carpets as they can get into the nooks and crannies more easily Some machines have “max modes as well which ups the suction power but also typically eats at battery life faster than the “normal cleaning mode Past a certain price threshold you ll find advanced features like home mapping improved object detection and automatic dustbin disposal Home mapping is exactly what it sounds like The vacuum uses sensors to map your home s layout as it cleans allowing you to send it to particular rooms or areas in later cleaning jobs Most robo vacs have some version of object detection but some will be better than others at actually avoiding things like chair legs and children s toys Some like iRobot s j series even go so far as to promise to avoid things like pet poop that can potentially ruin your machine Finally for peak convenience consider a robot vacuum that comes with a clean base These are basically garbage bins that are attached to the machine s charging base At the end of each job the robo vac automatically empties its small dustbin into the large clean base that means you won t have to empty the dustbin yourself and you ll only have to tend to the base once every few weeks Just keep in mind that most clean bases require proprietary garbage bags another long term expense you ll have to factor into the cost of owning one of these devices Best mid range robot vacuum Shark AI Robot Vacuum with BaseSharkShark s RVAE AI robot vacuum with Base ticks all of the boxes that a mid range machine should It offers reliable performance its mobile app is easy to use and it produces accurate home maps On top of that its base is bagless which means you won t have to spend money every few months on garbage bags for your robot vacuum Buy Shark RVAE with base at Amazon Setting up the Shark is as simple as taking it and its base out of the box plugging the base in and downloading the companion mobile app to finish things up The machine connects to WiFi allowing you to control it via the app when you re not at home or using Google Assistant and Alexa voice commands The first journey the Shark makes is an “Explore Run during which it produces a map of your home that you can then edit from the mobile app The Shark produced a pretty accurate floorplan of my two bedroom apartment and I was happy to see a “re explore option that I could use if the map wasn t up to my standards With a completed map you re then asked to label rooms in your home That way you can send the Shark to only the bedroom for more direct cleaning jobs select “no go zones and more The first few times I ran the Shark robot I had it clean my whole apartment I was impressed by how quiet it was or rather how much quieter it was compared to other robo vacs I ve tried You ll have to turn up the volume on your TV if it s cleaning in the same room but it ll be hard to hear when it s sucking up debris down the hallway It also did a decent job maneuvering its way around the cat toys I left out on the floor The device s object detection feature claims it can avoid things as small as four inches but I found that it was much better at sensing and moving around the three foot long cat tunnel on my floor than the many tiny mouse toys But even if Mr Mouse caught the edge of the Shark s wheels now and then the robo vac took it all in stride One thing I look for when testing robot vacuums is how much attention they need from me during cleanings The best ones require no extra attention at all once they start a job they re smart enough to putter around your home move around objects and return to their base when they re finished With Shark s robo vac I never had to tend to it when it was cleaning Now I did my due diligence and picked up pieces of clothing and charging cables off the ground before running the Shark ditto for every other robot vacuum I tested so those things were never in the way Most companion apps will actually remind you to do this before starting a cleaning job This Shark machine comes with a clean base so it will empty its dustin after every job and also during a job if its bin gets full before it s done In the latter situation the Shark will go back to cleaning automatically after it s freed up its bin That s a great feature but I found the best thing about the base to be its bagless design Shark s device is unlike most other robot vacuum clean bases because you don t have to keep buying proprietary garbage bags to outfit the interior of the base When you want to empty the base part of it snaps off and opens to eject debris and it easily locks back in place when you return it Not only is this quite convenient but it also brings the lifetime cost of ownership down since you won t be buying special bags every few months Its worth noting that Shark has a couple of models that are similar to the RVAE that just have a different color scheme a versus day clean base capacity and other minor differences The biggest feature that would impact how you use the machine is the clean base capacity we recommend springing for the day models if you want to interact as little as possible with your robo vac Runner up Roomba jValentina Palladino EngadgetNot much has changed since Amazon bought iRobot a few months back the Roomba j remains a great option if you want the latest obstacle avoidance technology from the company in an attractive package The j doesn t come with a clean base but you can get the same vacuum with one for extra Buy Roomba j at Amazon The biggest selling point of the Roomba j series is its upgraded AI driven computer vision which helps it detect and move around objects This includes pet poop a robot vacuum s arch nemesis and iRobot even promises that it will replace your j machine if it runs into pet poop within the first year of ownership That s one feature I was happy I never got to test as my cat kept all of her activity to her litter box Otherwise the Roomba j did a good job sucking up dirt and debris around my apartment and it didn t make too much noise while doing so All of the robo vacs I tested at this mid range level had roughly the same level of suction so there wasn t a big difference between them when it came to cleaning power Like other robot vacuums you can set cleaning schedules in the iRobot mobile app so you never have to start a cleaning job on the fly The app also has a “favorites section which lets you create profiles that you ll use all the time like “clean the living room and the entryway And if you prefer to use voice commands the robot supports Amazon s Alexa and the Google Assistant The Roomba j has Imprint Smart Mapping but unlike the Shark it took more than one runthrough of my home for it to create a complete map iRobot s app distinguishes between a regular cleaning job and a “mapping run so make sure you re choosing the latter the first few times you run the machine I tested the j which means I was treated to the roaring sounds of the machine emptying its dustbin into its clean base The emptying process isn t as simple as an automatically opening flat that shakes dirt from one garbage can to another the base actually sucks the dirt from vacuum This was the case for all of the machines I tried that came with clean bases they re all quite loud but the Roomba j was the loudest of them all The whooshing sounds last for only five to seconds but it was shocking the first time it happened Just keep that in mind if you ever decide to run the robot at night when others are sleeping Honorable mention Anker Eufy RoboVac X HybridAnkerYou may be unfamiliar with Anker s robot vacuums but they re often more affordable alternatives to the iRobots and Sharks of the world The Eufy RoboVac X Hybrid isn t a budget machine by any means but it s a solid robot vacuum that offers a few key features that many competitors don t have Plus you can often find it on sale for or even Buy Eufy RoboVac X Hybrid at Amazon Unlike our other midrange picks the X Hybrid doesn t come with a clean base nor is there one you can purchase separately It s just a standalone robot vacuum but the “hybrid indicates that it s also a mop It has both a dustbin for collecting debris and a milliliter water tank that you can fill whenever you want to run a mopping cycle Plenty of other robot vacuums have this feature and it could be even more useful than a clean base if you have lots of tile or hardwood floors throughout your home Besides that I was impressed with how easy it was to set up the X Hybrid how accurate its mapping technology was and how many extra features it supports It has four cleaning modes auto room zone and spot and four suction levels starting with Pure at the low end and topping out at Max These features give you a lot of control over where the machine cleans and how powerfully it will do so The X Hybrid was in Pure mode the first time I ran it and I was surprised by not only how quiet it was but also how thoroughly it cleaned considering it was on the lowest suction setting There s also a “tap and go feature that lets you pinpoint any spot on your home map in the EufyHome app sending the robot there to clean Manual controls are also available which isn t something you see on a ton of robo vacs This option lets you control the machine almost like a slow and slightly clumsy RC car giving you more control over where it cleans It may not have the name recognition that iRobot or Shark do but the Eufy RoboVac X Hybrid is a solid choice nonetheless especially if you don t care to add a clean base into the mix It s an even more tempting choice if you can snag it when it s discounted Best high end robot vacuum iRobot Roomba s Valentina Palladino EngadgetThe Roomba s is admittedly overkill for most people but it s nothing if not one of the best robot vacuums out there You ll notice its premium features as soon as you unbox it The s is the biggest but also the most attractive robo vac I tried with a corner friendly design copper accents and a foot tall clean base The setup was quick and easy with the machine taking only a few minutes to connect to my home s WiFi and the iRobot app Buy Roomba s at Amazon While the s doesn t have the Precision Navigation feature that the newer j does it has something called “Careful Driver that uses a D sensor to detect and clean around objects It seems that the main difference is that the s isn t specifically wired to avoid pet poop so keep that in mind if you have furry friends around the house However with x the suction power of a standard Roomba the s does a great job cleaning up pet hair It s aso louder than the j when it s cleaning but not irritatingly so and I noticed a deeper clean in my carpets thanks to the extra suction And it changes its cleaning mode automatically when transitioning from say a carpeted floor to tile Even this robot vacuum bumped into a few table legs while cleaning but it was noticeably better than other machines at navigating around my furniture and correcting itself when it got stuck It also moves faster than the j so it was able to cover a bit more of my apartment before it had to return to the base for charging after about one hour of cleaning I was also pleasantly surprised to find that the s wasn t nearly as loud as the j vacuum when emptying its dustbin into the clean base With the iRobot app experience being the same across all Roombas the s stands out for its subtle premium features like its elegant design elegant looking clean base superior cleaning intelligence and top of the line suction power Aside from the extra suction those are all nice to haves rather than must haves so most people including you probably don t need the Roomba s It s the fanciest robot vacuum iRobot has to offer but you ll get a similar level of quality with the Roomba j while spending a couple hundred bucks less Honorable mention Roborock S Valentina Palladino EngadgetRoborock s high end S deserves a mention for its cleaning power and number of additional features that many other competitors don t have First the S is a vac and mop combo and its mopping map automatically lifts itself out of the way when the machine reaches the carpet That means you can have it clean your whole home vacuuming and mopping in the right spots without you giving it any extra attention besides filling its ml water tank at the start Buy Roborock S at Amazon The machine has a longer setup process because its clean base comes in two pieces You must attach the bottom of the base where the robo vac charges to the garbage bin upper portion using a few screws and a tool that attaches to the bottom of the base Roborock provides everything you need to do this in the box so while it takes a bit more time it s still an easy process What wasn t so easy for me at first was connecting the S to the Roborock app The vacuum had trouble connecting to my home s WiFi network but I was able to connect it to the Mi Home app which is Xiaomi s main smart home companion app Xiaomi is an investor in Roborock There aren t a ton of differences between the two apps when it comes to robo vac controls but the S is designed to work with Roborock s program After troubleshooting with a Roborock representative I was able to fix the problem by factory resetting the vacuum and that allowed me to connect it to the Roborock app properly That said the Roborock app isn t nearly as polished as those from iRobot Shark and others The main page shows your home s map along with the battery level cleaning time cleaning area in feet and buttons that let you quickly start a cleaning job and empty the dustbin You re also able to select specific rooms or zones to clean but the rest of the control options live in the menu accessible by the three dot icon at the top right corner of the app Things are a little buried and that might make the S harder for robot vacuum newbies to use When it comes to cleaning the Roborock S did a great job sucking up dirt around my home In addition to the usual features like cleaning schedules zone targeting and others the vacuum also has things like child lock which will disable the physical buttons on the machine different auto emptying settings to choose from “pin and go which lets you tap on your home map to send the robot to a specific location and manual direction controls so you can move the machine like a toy car This isn t the robot vacuum to get if you want the most polished experience and you may very well want that if you re dropping on one but it remains a powerful vac and mop machine with a handful of extra perks Best budget Roomba Valentina Palladino EngadgetiRobot s Roomba is a great option for most people thanks to its good cleaning power and easy to use mobile app We won t get too deep into it here since we have a whole guide to affordable robot vacuums with additional recommendations But suffice to say the gives you all the essentials you d expect from a robot vacuum along with all of the convenience that comes with iRobot s mobile app Buy Roomba at Amazon 2022-10-31 13:15:07
海外TECH Engadget Meta Quest Pro review: A next-gen headset for the VR faithful https://www.engadget.com/meta-quest-pro-review-a-next-gen-headset-for-the-vr-faithful-specs-price-130045313.html?src=rss Meta Quest Pro review A next gen headset for the VR faithfulCurrently few things make people s eyes roll harder than the metaverse As someone who grew up reading sci fi novels and dreaming about what virtual worlds might look like in the future that s kind of sad but I get it Mark Zuckerberg is so thirsty to make those dreams a reality that he s betting billions of dollars and the survival of his company on the metaverse being The Next Big Thing Meanwhile the average person is still wondering what the point of having a VR headset really is aside from maybe smashing some polygons in Superhot or Beat Saber However even though it feels like VR headsets have been around forever we re still very much in the early days of virtual reality It was only a couple of years ago when the company previously known as Facebook brought VR to the masses with the Quest And now with the Quest Pro Meta is trying to foster a new baseline level of tech designed to make digital worlds feel more lifelike intuitive and immersive And honestly I think Meta has done it because while its price is hard to justify it s easy to see the potential of what this hardware can support Hardware and opticsPacking a Qualcomm Snapdragon XR chip GB of RAM and GB of storage the Quest Pro delivers percent more performance than the Quest according to Meta However the real challenge in designing this headset was blending its standalone design with something that s simple and comfortable to wear and I think Meta has struck an almost ideal balance By switching to new pancake lenses the company was able to reduce the thickness of the headset while still delivering a relatively high resolution of x pixels per eye For comparison that s higher than what you get from the Valve Index x per eye but a bit less than the Vive Pro × per eye Though topping out with a Hz refresh rate the Quest Pro s visuals aren t quite as fast as most of its high end PC based rivals For me that hasn t been a huge deal as graphics and gameplay have been smooth and stutter free But I should mention I ve never really had problems with VR related motion sickness so your experience may vary Sam Rutherford EngadgetMy one nitpick is that I wish the Quest Pro s degree vertical field of view was a little bit taller I ve found that due to the headset s visor like design and its FOV you tend to always have a bit of the real world peeking in across the bottom of your eye line Thankfully its degree horizontal FOV is pretty much as good or better than all of its rivals except for the Vive Pro s degrees Elsewhere the Quest Pro features sensors on the interior and exterior of the device The five outward facing cameras support full color passthrough hand tracking and stuff like scene understanding without the need for additional external sensors Meanwhile the five inward facing sensors track eyes and face movements for features like foveated rendering and enhanced avatar animations but more on that later Design and fitSam Rutherford EngadgetTo balance the trade off between power and fit Meta cleverly used a curved battery built into the back of the headset so there s no need for wires or a belt mounted power cell And when combined with a soft forehead cushion and a handy dial for adjusting the headband you get a headset that s extremely easy to put on and wear Further adjustments are provided via a small dial in front that changes lens distance while IPD interpupillary distance adjustment is handled by simply moving each eyepiece left and right as needed All told it s an incredibly straightforward setup and thanks to the Quest Pro s fit calibration feature the headset can remind you to adjust your settings if it notices things aren t quite right And when it comes to sound you get speakers that support spatial audio built into the arms of the headset though if you prefer to use your own headphones there s a mm jack too Sam Rutherford EngadgetThat said even with all the attention Meta paid toward creating a comfortable and balanced headset the Quest Pro s heft can still be a bit of an issue If you re hopping in and out of VR you might not notice much But with a weight of just over a pound and a half in longer sessions I noticed my forehead sometimes got a bit sore Usually fiddling around with how the Quest Pro sat on my head was enough to relieve excess pressure But I also wouldn t be surprised if this setup gave some people a low grade headache during extended use And I d also be remiss not to mention the sweat factor as the leather forehead pad can get damp depending on your activity and sometimes I wonder if having active cooling on a VR headset is what we need Heck developers could even use fans to mimic a breeze in a game or movie which could be kind of nice ControllersThe other big part of the headset s kit is the new Touch Pro Controllers Meta is using the same basic design as what we got on the Quest The big difference this time is that instead of relying on a big light ring with LEDs the controllers now have their own built in sensors for both hand and finger tracking Not only does this help streamline their design but I also found a noticeable upgrade in accuracy and responsiveness Sam Rutherford EngadgetThe controllers also have much improved haptics that adds an extra level of immersion especially in apps where you can flip the controllers over to use as a stylus For example in Painting VR brushes use a variety of rumbles and vibrations to convey a sense of size and weight The overall effect feels much like HD Rumble on the Nintendo Switch s Joy Con but with even better fidelity for force feedback I also appreciate the controller s subtly textured rubberized grips that make things feel secure even in the heat of virtual battle However I kind of miss the hand straps Valve uses on the Index controllers which allow you to quickly switch between buttons and finger or hand gestures without needing to set the controllers down General performance and appsOf course the real magic happens when hardware meets software and at least out of the gate the Quest Pro offers some pretty impressive performance The headset s optics are sharp while eliminating nearly any hint of the screen door effect Text is also very legible and I had no trouble writing part of this review in VR Next when my colleague Cherlynn Low visited my virtual office in Horizon Workrooms I think the combination of Quest Pro s eye and facial tracking to deliver more lifelike expressions on my avatar might have been convincing enough to get her to spend more time in VR And on my end support for spatial audio makes working in VR feel less like floating in a simulation and more like actually working in an office with someone else So even though Cherlynn was sick that day we were able to collaborate without me risking catching what she had and it felt kind of heartwarming in a weird nerdy way Sam Rutherford EngadgetOn top of that a lot of tent pole features like Meta s scene understanding just kind of work at least most of the time I found that the Quest Pro was pretty good at automatically detecting the position of floors and walls so I didn t have to constantly redraw the boundaries for my room scale guardian It even automatically detected some objects like my desk and remembered them in subsequent sessions which makes it easier to set up a virtual workspace that mimics what I have IRL Though I did notice in rooms that were more cluttered things didn t always work quite as smoothly The Quest Pro s full color passthrough is also really impressive Don t get me wrong it s still not as good as using your eyes to navigate meatspace But it s more than accurate enough to let me walk from room to room to grab a glass of water without taking off the Quest Pro or bumping into anything In apps like Cubism I had a blast positioning blocks to solve puzzles in three dimensions and in I Expect you to Die I got to live out my childhood fantasy of being a secret agent And in Tribe XR I was able to enjoy the basics of mixing and beat matching while using the same equipment pro DJs use at least virtually The improved three window multitasking in the Quest Pro s desktop mode even makes it easier to switch between apps and stay connected while you re in VR Or well it would be if there was a wider availability of D apps Sam Rutherford EngadgetAnd that kind of brings me to the big issue with the Quest Pro there just aren t a lot of optimized apps that really take advantage of its upgraded capabilities For traditional D apps while important stuff like Slack is supposedly on the way there isn t even support for messaging software like WhatsApp So if you re like me and aren t a frequent user of Instagram or Facebook Messenger things can still feel a bit disconnected But perhaps the more telling thing is currently how few apps there are in the Quest Pro section of the store Titles like Nanome which lets you view molecules in VR are really neat and interesting but rather niche I don t know about you but I don t really spend a ton of time staring at various compounds and conformations in my free time and I was a bio major in college Sam Rutherford EngadgetThis is sort of to be expected as it s going to take a while for developers to take advantage of the Quest Pro s new features This headset kind of feels like the Nintendo Switch at launch but without a tentpole game or app like Breath of the Wild to pair with it Sure you can go back and enjoy all the old Quest apps as the Pro is fully backward compatible with existing software But when you re spending on a VR headset you kind of want something you can lose yourself in for the next month or more My other gripe is that while a lot of the big ticket features work surprisingly well a lot of the finer details seem half baked For example it took almost an hour for Cherlynn to successfully visit my office in Horizon Workrooms Because this is VR you can t just send a link to a meeting like you would in Zoom which meant she had to bounce back and forth between her headset phone and laptop just to find where to accept my invite And when I wanted to upload an image to pin on my virtual whiteboard first I had to go back to my fake chair at my fake desk just to upload something before needing to move back to the whiteboard again to post it That s just convoluted and that s even with my having already set up Meta s Remote Desktop app And while Meta says it s working on it there are other little frustrations like being limited to a single virtual desktop which you can t even move by the way at least not right now when connected to a Windows PC while Mac users get three Charging and accessoriesWhile Meta doesn t provide official battery life claims for the Quest Pro I ve found that you re looking at between two and a half and three and a half hours on a charge depending on the use case This is typically longer than I want to be in VR in a single sitting but if you need to be jacked in for extended periods the Quest Pro also comes with a six foot USB C cable you can use to keep it running Sam Rutherford EngadgetOther bundled accessories include a protective silicone cover and two light blockers that attach magnetically to the side of the headset which helps cut down on potential distractions from the physical realm But if you really want that complete VR dive experience you ll have to shell out for Meta s Full Light Blocker Or you opt for the low tech solution and just move to a dark room You also get two Quest Touch Pro controllers along with two wrist straps and stylus nibs that can be attached to the bottom of the gamepads to suit your needs When it comes to keeping everything juiced up there s a really handy wireless charging dock that holds both the headset and the controllers Admittedly getting the controllers to sit properly in the dock is a bit tricky at first But the secret is holding them as if you re using them before twisting your wrists inwards and then dropping them on the dock If you did it right you ll feel a little rumble and see the tiny indicator lights fire up There s also a dedicated cable for charging the controllers but you only get one So if you re traveling with the Quest Pro and you leave the dock at home you ll need to charge the controllers one at a time Wrap upLook trying to review a next gen VR headset feels kind of like evaluating a Mars colony based on the spaceship that takes you there Ultimately the Quest Pro is a vessel to experience fancy new software that doesn t exist yet And right now there just aren t enough apps to really say if that colony is a utopia or Autobot city after Megatron attacks burned down and wasted Sam Rutherford EngadgetBut if we can ignore that issue for a minute at least on a hardware level there s a lot to like about the Quest Pro It offers similar or in some situations better performance than other high end consumer headsets ーall without the need for wires or a beefy PC You can switch between controllers and hand gestures at a whim while the plethora of sensors makes the headset a really great standalone device You get sharp visuals a streamlined design and surprisingly good battery life ーnot to mention a really handy charging dock But for now we re going to have to wait for the headset s software and experiences to catch up which is a lot to ask when it costs this much to strap on the goggles Purchasing a Quest Pro at least for now is something you do on faith because you believe in the promise of VR and where it might go in the not too distant future So while the Quest can handle basic VR the Quest Pro adds power and finesse in a way that could unlock how people explore virtual worlds The tech is there but are you willing to fork over big money to try it 2022-10-31 13:00:45
海外科学 NYT > Science Cholera Outbreaks Surge Worldwide As Vaccine Supply Drains https://www.nytimes.com/2022/10/31/health/cholera-outbreaks-vaccine.html Cholera Outbreaks Surge Worldwide As Vaccine Supply DrainsA record number of outbreaks have been reported after droughts floods and wars have forced large numbers of people to live in unsanitary conditions 2022-10-31 13:02:22
海外科学 NYT > Science He’s an Outspoken Defender of Meat. Industry Funds His Research, Files Show. https://www.nytimes.com/2022/10/31/climate/frank-mitloehner-uc-davis.html He s an Outspoken Defender of Meat Industry Funds His Research Files Show A UC Davis professor runs an academic center that was conceived by a trade group according to records and gets most of its funding from farming interests 2022-10-31 13:56:19
海外科学 NYT > Science War in Ukraine Likely to Speed, Not Slow, Shift to Clean Energy, I.E.A. Says https://www.nytimes.com/2022/10/27/climate/global-clean-energy-iea.html War in Ukraine Likely to Speed Not Slow Shift to Clean Energy I E A SaysWhile some nations are burning more coal this year in response to natural gas shortages spurred by Russia s invasion of Ukraine that effect is expected to be short lived 2022-10-31 13:54:57
金融 RSS FILE - 日本証券業協会 J-IRISS https://www.jsda.or.jp/anshin/j-iriss/index.html iriss 2022-10-31 14:50:00
金融 金融庁ホームページ つみたてNISA対象商品届出一覧について更新しました。 https://www.fsa.go.jp/policy/nisa2/about/tsumitate/target/index.html 対象商品 2022-10-31 15:00:00
ニュース @日本経済新聞 電子版 JCBがQRコードを使った「ナンバーレス」の新クレジットカード。 裏面の特殊なQRを専用スマホアプリで読み取れば、番号を確認できます。国内初の導入です。 https://t.co/g8XDYkmkzm https://twitter.com/nikkei/statuses/1587068138495119362 裏面 2022-10-31 13:05:05
ニュース BBC News - Home Braverman admits using private emails for official papers six times https://www.bbc.co.uk/news/uk-politics-63456984?at_medium=RSS&at_campaign=KARANGA account 2022-10-31 13:49:07
ニュース BBC News - Home £400 energy support vouchers going unclaimed https://www.bbc.co.uk/news/business-63412380?at_medium=RSS&at_campaign=KARANGA meters 2022-10-31 13:06:12
ニュース BBC News - Home UK battery firm Britishvolt near collapse as it seeks funding https://www.bbc.co.uk/news/business-63457813?at_medium=RSS&at_campaign=KARANGA government 2022-10-31 13:52:05
北海道 北海道新聞 根室市、14日から集団接種 オミクロン株対応ワクチン https://www.hokkaido-np.co.jp/article/753713/ 新型コロナウイルス 2022-10-31 22:05:00
北海道 北海道新聞 生乳廃棄「昨年以上に厳しい」 JA道中央会会長が懸念 https://www.hokkaido-np.co.jp/article/753733/ 北海道中央 2022-10-31 22:05:00
北海道 北海道新聞 NY円、148円台後半 https://www.hokkaido-np.co.jp/article/753732/ 外国為替市場 2022-10-31 22:05:00
北海道 北海道新聞 胆振管内127人感染 日高は5人 新型コロナ https://www.hokkaido-np.co.jp/article/753731/ 医療機関 2022-10-31 22:05:00
北海道 北海道新聞 北海道日産、日産プリンス札幌販売を子会社化 https://www.hokkaido-np.co.jp/article/753726/ 子会社化 2022-10-31 22:03:00
北海道 北海道新聞 四島問題と日ロの今後展望 札幌で道新フォーラム https://www.hokkaido-np.co.jp/article/753723/ 安倍政権 2022-10-31 22:01:39
北海道 北海道新聞 旭川のマルカツデパート完全閉店 解体や再開発は不透明、「塩漬け」懸念 https://www.hokkaido-np.co.jp/article/753681/ 商業ビル 2022-10-31 22:02:10

コメント

このブログの人気の投稿

投稿時間: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件)