投稿時間:2023-07-27 02:18:10 RSSフィード2023-07-27 02:00 分まとめ(27件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT 気になる、記になる… 「iPhone 15 Pro」のアクションボタンに割り当てることが出来る機能が明らかに https://taisy0.com/2023/07/27/174577.html macrumor 2023-07-26 16:28:13
IT 気になる、記になる… Nothingの新型ワイヤレスイヤホンとみられる製品がインドの認証機関を通過 https://taisy0.com/2023/07/27/174572.html mukulsharma 2023-07-26 16:00:49
IT InfoQ OpenJDK's JEP 451: Balancing Serviceability and Integrity in JVM https://www.infoq.com/news/2023/07/jep-451-balancing-serviceability/?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global OpenJDK x s JEP Balancing Serviceability and Integrity in JVMJEP Prepare to Disallow the Dynamic Loading of Agents has been completed from Target status for JDK This JEP has evolved from its original intent to disallow the dynamic loading of agents into a running JVM by default to issue warnings when agents are dynamically loaded into a running JVM By A N M Bazlur Rahman 2023-07-26 16:30:00
AWS AWS News Blog New – Amazon EC2 P5 Instances Powered by NVIDIA H100 Tensor Core GPUs for Accelerating Generative AI and HPC Applications https://aws.amazon.com/blogs/aws/new-amazon-ec2-p5-instances-powered-by-nvidia-h100-tensor-core-gpus-for-accelerating-generative-ai-and-hpc-applications/ New Amazon EC P Instances Powered by NVIDIA H Tensor Core GPUs for Accelerating Generative AI and HPC ApplicationsIn March AWS and NVIDIA announced a multipart collaboration focused on building the most scalable on demand artificial intelligence AI infrastructure optimized for training increasingly complex large language models LLMs and developing generative AI applications We preannounced Amazon Elastic Compute Cloud Amazon EC P instances powered by NVIDIA H Tensor Core GPUs and AWS s latest … 2023-07-26 16:12:27
AWS AWS Big Data Blog Build data integration jobs with AI companion on AWS Glue Studio notebook powered by Amazon CodeWhisperer https://aws.amazon.com/blogs/big-data/build-data-integration-jobs-with-ai-companion-on-aws-glue-studio-notebook-powered-by-amazon-codewhisperer/ Build data integration jobs with AI companion on AWS Glue Studio notebook powered by Amazon CodeWhispererData is essential for businesses to make informed decisions improve operations and innovate Integrating data from different sources can be a complex and time consuming process AWS offers AWS Glue to help you integrate your data from multiple sources on serverless infrastructure for analysis machine learning ML and application development AWS Glue provides different authoring experiences … 2023-07-26 16:03:39
AWS AWS Database Blog The role of vector datastores in generative AI applications https://aws.amazon.com/blogs/database/the-role-of-vector-datastores-in-generative-ai-applications/ The role of vector datastores in generative AI applicationsGenerative AI has captured our imagination and is transforming industries with its ability to answer questions write stories create art and even generate code AWS customers are increasingly asking us how they can best take advantage of generative AI in their own businesses Most have accumulated a wealth of domain specific data financial records health records … 2023-07-26 16:15:03
AWS AWS Machine Learning Blog Maximize Stable Diffusion performance and lower inference costs with AWS Inferentia2 https://aws.amazon.com/blogs/machine-learning/maximize-stable-diffusion-performance-and-lower-inference-costs-with-aws-inferentia2/ Maximize Stable Diffusion performance and lower inference costs with AWS InferentiaGenerative AI models have been experiencing rapid growth in recent months due to its impressive capabilities in creating realistic text images code and audio Among these models Stable Diffusion models stand out for their unique strength in creating high quality images based on text prompts Stable Diffusion can generate a wide variety of high quality images including … 2023-07-26 16:37:10
AWS AWS Machine Learning Blog AWS offers new artificial intelligence, machine learning, and generative AI guides to plan your AI strategy https://aws.amazon.com/blogs/machine-learning/aws-offers-new-artificial-intelligence-machine-learning-and-generative-ai-guides-to-plan-your-ai-strategy/ AWS offers new artificial intelligence machine learning and generative AI guides to plan your AI strategyBreakthroughs in artificial intelligence AI and machine learning ML have been in the headlines for monthsーand for good reason The emerging and evolving capabilities of this technology promises new business opportunities for customer across all sectors and industries But the speed of this revolution has made it harder for organizations and consumers to assess what … 2023-07-26 16:30:40
AWS AWS Media Blog Real-time analytics for Amazon IVS live streaming with Datazoom on AWS https://aws.amazon.com/blogs/media/real-time-analytics-for-amazon-ivs-live-streaming-with-datazoom-on-aws/ Real time analytics for Amazon IVS live streaming with Datazoom on AWSThis blog post was co authored by Tony Gentile Datazoom and Kerry Travilla Datazoom Introduction Observability of real user experiences is incredibly valuable for streaming service operators but can often be difficult or tedious to implement Writing code to track every event from an application or video player is often prioritized lower than “getting things to … 2023-07-26 16:00:29
AWS AWS Delivering innovative health with generative AI solutions at Merck | Amazon Web Services https://www.youtube.com/watch?v=Lpy5OkQHbwQ Delivering innovative health with generative AI solutions at Merck Amazon Web ServicesMerck Co Inc Merck a global pharmaceutical company with an over year history has brought hope to humanity through the development of important medicines and vaccines In this video learn how Merck leverages AWS services to solve a common problem in the pharmaceutical industry The occurrence of false rejects Merck s goal is to get life saving drugs into customers hands faster and in a safe manner It ingests real time data from various manufacturing processes and inspection machines and then contextualizes and harmonizes the data Merck uses AWS Glue and Amazon Kinesis to ingest transform and contextualize process real time data run analytics on that data and load the harmonized data into Amazon Redshift which is then used by its analytics dashboards including Amazon QuickSight Merck s AI ML platform is built on Amazon SageMaker and leverages AWS DataSync to ingest defect images data from inspection machines across sites Merck uses generative AI approaches and generative models like GANs Generative Adversarial Network and Variational Autoencoders to develop synthetic defect image data for complex defects where it has limited training data Through the AWS services Merck has improved product availability increased product yield enabled rapid response to investigations and enabled rapid Root Cause Analysis and corrective actions while providing significant time and cost savings Learn more at Subscribe More AWS videos More AWS events videos Do you have technical AWS questions Ask the community of experts on AWS re Post ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster AWSforHealthcareLifeSciences AWSGlue AmazonKinesis AmazonQuickSight AmazonSageMaker GenerativeAIonAWS AWS AmazonWebServices CloudComputing 2023-07-26 16:30:08
AWS AWS Amazon EC2 P5 Instances | Amazon Web Services https://www.youtube.com/watch?v=S8JR50sVong Amazon EC P Instances Amazon Web ServicesAmazon Elastic Compute Cloud Amazon EC P instances powered by the latest NVIDIA H Tensor Core GPUs deliver the highest performance in Amazon EC for deep learning generative AI and high performance computing HPC applications Learn more about Amazon EC P Instances Subscribe More AWS videos More AWS events videos Do you have technical AWS questions Ask the community of experts on AWS re Post ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster AWS AmazonWebServices CloudComputing deeplearning generativeai hpc compute cloud 2023-07-26 16:16:50
海外TECH MakeUseOf How to Add Notes to Your Saved Passwords in Chrome https://www.makeuseof.com/add-chrome-saved-password-notes/ chromechrome 2023-07-26 16:30:22
海外TECH MakeUseOf How Much Power Does My Windows PC Use? Here's How to Find Out https://www.makeuseof.com/windows-pc-power-usage/ How Much Power Does My Windows PC Use Here x s How to Find OutPowerful processors and GPUs usually have a clear cut price tag but the amount of money it takes to run them is a little trickier to calculate 2023-07-26 16:15:22
海外TECH MakeUseOf Fact Tables Vs. Dimension Tables: Power BI https://www.makeuseof.com/fact-tables-vs-dimension-tables-power-bi/ analysis 2023-07-26 16:00:23
海外TECH DEV Community 7 New Features (or bug fixes🐛) You Might Have Missed in .NET 8 https://dev.to/bytehide/7-new-features-or-bug-fixes-you-might-have-missed-in-net-8-4f11 New Features or bug fixes You Might Have Missed in  NET TLDR s TLDR Fixes fixes fixes… SHA Support Support for targeting iOS platforms with NativeAOT and more Today we ve got quite an impressive lineup to talk about new features and improvements in NET Preview From major improvements in System Text Json to the much awaited targeting of iOS platforms with NativeAOT we have a lot to cover Between you and me we programmers have been blessed with a handful of updates that could change the way we build and interact with apps But as with all things programming let s process these one at a time shall we Yes DoneNow let s start System Text Json Improvements or Fixes Okay let s delve into the nitty gritty details of the enhancements made to the System Text Json source generator We re also going to explore how it s navigating its way to our beloved Native AOT along with several other amends and upgrades Excited to see what these modifications bring to our coding table Of course you are The first thing you ll notice is the inception of caching support to the incremental generator This update aims to turbocharge the IDE performance for more substantial projects Talk about an efficiency upgrade They ve also tweaked the formatting of the source generated code This change caters to those pesky indentation issues and minor gripes that have been bugging you Finally Along with that they ve introduced new diagnostic warnings just the thing if you appreciate a bit of a nudge in the right direction What You re a coder and you re craving some juicy code examples Regrettably Microsoft has kept that thrill for the release But the anticipation makes it more fun doesn t it We re not done yet They ve also tackled bugs associated with the infamous accessibility modifier resolution This upgrade no doubt is a massive relief for developers Now it s time to talk about the JsonStringEnumConverter lt TEnum gt an amazing new converter that accompanies the existing JsonStringEnumConverter class Yes and just to answer your question it is indeed supported in Native AOT Impressed aren t you If you re considering targeting Native AOT users you ll need to note your enum types in the following format Here s the Microsoft code example Code snippet to demonstrate the annotation format JsonConverter typeof JsonStringEnumConverter lt MyEnum gt public enum MyEnum Value Value Value JsonSerializable typeof MyEnum public partial class MyContext JsonSerializerContext The provided code snippet depicts usage of the JsonStringEnumConverter Utilizing this strategy you can note your enum types thus aiding in efficient and automatic JSON serialization Let s not forget the brillant JsonConverter Type property This cool new bit allows you to figure out the type class of a non generic JsonConverter instance Pretty neat huh Here s the Microsoft code example Code snippet showcasing the use of JsonConverter Type Dictionary lt Type JsonConverter gt CreateDictionary IEnumerable lt JsonConverter gt converters gt converters Where converter gt converter Type null ToDictionary converter gt converter Type With all these enhancements juggling JSON files in the NET ecosystem becomes as breezy as a Sunday drive Are you ready to dive into this feature rich update Because I so am Stream based ZipFile CreateFromDirectory and ExtractToDirectory Method OverloadsHold onto your hats folks as NET just made archiving and extracting more efficient with stream based overloads for the ZipFile CreateFromDirectory and ZipFile ExtractToDirectory methods Seriously isn t that nifty Let s dissect this beast shall we The CreateFromDirectory method allows you to grab every file from a folder squish them all into one zip file and shoot that fun bundle straight into any location you want and the best part You do this without needing to save the zipped file onto your hard drive Magic We re talking zero disk footprints and streaming goodness And as for the ExtractToDirectory method Picture this You have a zip file in a stream right there ready to explode its awesome contents onto the filesystem again without the need for the file to be present on the disk Diskless extractions for the win ZipFile CreateFromDirectory usagesHere s an example of how you can use the ZipFile CreateFromDirectory method This magic trick squeezes all the files in a directory zips them and saves them directly into a destination stream No temporary disk storage required Here s the Microsoft code example Get a stream to use as a destinationStream destinationStream GetStreamFromSomewhere Use the new overload to zip your directory of files and store it in your destination streamZipFile CreateFromDirectory sourceDirectoryName home username sourcedirectory destination destinationStream compressionLevel CompressionLevel Optimal includeBaseDirectory true entryNameEncoding Encoding UTF ZipFile ExtractToDirectory usageAnd now here s the partner in crime ZipFile ExtractToDirectory hard at work It lets you take a stream with a zipped file and unzip into the filesystem Pretty cool huh Here s the Microsoft code example Get a stream with your source zipped file from somewhereStream sourceStream GetStreamFromSomewhere Here s how you use the method to extract the contents of your zipped stream into a directory in the filesystemZipFile ExtractToDirectory source sourceStream destinationDirectoryName home username destinationdirectory entryNameEncoding Encoding UTF overwriteFiles true These new overloads for ZipFile CreateFromDirectory and ZipFile ExtractToDirectory are powerful tools to optimize resources especially in environments with disk space constraints But remember with great power comes great responsibility MetricCollector Metrics APIDo you remember the old InstrumentRecorder Well this is his stronger faster brother This new class loaded in the Microsoft Extensions Telemetry Testing pack is all set to give your testing scenarios a massive boost At this point you re probably asking “what s the low down on this Here s the scoop MetricCollector doesn t just record metric measurements anymore It timestamps them as well Now I know all you code lovers are itching to see MetricCollector at work So let s jump into the jungle of code and see this bad boy in action MetricCollector usageHere s the Microsoft code example Define the name for your counterconst string CounterName MyCounter Set up your time providervar now DateTimeOffset Now var timeProvider new FakeTimeProvider now Initialise your meter and counterusing var meter new Meter Guid NewGuid ToString var counter meter CreateCounter lt long gt CounterName Set up your metric collectorusing var collector new MetricCollector lt long gt counter timeProvider Check that nothing has been recorded initiallyAssert Empty collector GetMeasurementSnapshot Assert Null collector LastMeasurement Add a measurement value to your countercounter Add Verify that the measurement update was recordedAssert Equal counter collector Instrument Assert NotNull collector LastMeasurement Assert Single collector GetMeasurementSnapshot Assert Same collector GetMeasurementSnapshot Last collector LastMeasurement Assert Equal collector LastMeasurement Value Assert Empty collector LastMeasurement Tags Assert Equal now collector LastMeasurement Timestamp So what s my verdict MetricCollector is a hot piece of cake for all your testing needs Its timestamping feature and the flexibility to use any time provider make it a rockstar in the world of testing metrics So this new NET feature gets a two thumbs up from me Options Validation Source GeneratorThis feature allows you to validate options right at compile time reducing the overheads and tracking issues at runtime I ll bet my keyboard s backspace key this new addition is here to make error catching faster and brainier than ever Let s take a peek into how this modern marvel works Understanding Options Validation UsageHere we ve got three models FirstModelNoNamespace SecondModelNoNamespace and ThirdModelNoNamespace Each model has properties marked with validation attributes like Required and MinLength Here s the Microsoft code example public class FirstModelNoNamespace Required Property P is required and should have minimum length of MinLength public string P get set string Empty P and P properties are validated using custom validators Microsoft Extensions Options ValidateObjectMembers typeof SecondValidatorNoNamespace public SecondModelNoNamespace P get set Microsoft Extensions Options ValidateObjectMembers public ThirdModelNoNamespace P get set And the validation logic is implemented in these partial classes FirstValidatorNoNamespace and SecondValidatorNoNamespace Here s the Microsoft code example OptionsValidator Indicates that this class is to be used for options validationpublic partial class FirstValidatorNoNamespace IValidateOptions lt FirstModelNoNamespace gt OptionsValidator Indicates that this class is to be used for options validationpublic partial class SecondValidatorNoNamespace IValidateOptions lt SecondModelNoNamespace gt I love how C gives us the freedom to keep our code neat and nifty don t you Now to inject the validation into the app all you need to do is add FirstValidatorNoNamespace and SecondValidatorNoNamespace as singleton services in your Startup class and let the game of checks and balances begin Here s the Microsoft code example var builder WebApplication CreateBuilder args Configuring servicesbuilder Services AddControllersWithViews builder Services Configure lt FirstModelNoNamespace gt builder Configuration GetSection Adding singleton services for options validationbuilder Services AddSingleton lt IValidateOptions lt FirstModelNoNamespace gt FirstValidatorNoNamespace gt builder Services AddSingleton lt IValidateOptions lt SecondModelNoNamespace gt SecondValidatorNoNamespace gt In my opinion the addition of this feature is a major step up for error management in the NET eco system Now we have an automated system to enjoy error free code Well unless you re a fan of debugging sessions at AM No judgments here This makes it easier for us to bear the burden of error management wouldn t you agree Plus it provides awesome benefits like saving CPU cycles and impromptu headaches LoggerMessageAttribute s Extended Constructor OverloadsNow as you may know the existing constructor of a LoggerMessageAttribute requires specifying the EventId LogLevel and message parameters But let s be real not always we need to define all of them right And this is where these newly introduced overloads come into play bringing a new level of ease and versatility to the table No more need for additional parameters if they are not necessary For instance check out this sleek code showing the new available constructors Aren t they a exciting sight Here s the Microsoft code example Specifying only the LogLevel and message public LoggerMessageAttribute LogLevel level string message Specifying only the LogLevel public LoggerMessageAttribute LogLevel level Specifying only the message public LoggerMessageAttribute string message And here s a bit more enticing bit Take a look at this user pleasing invocation of LoggerMessageAttribute in a Logger method Now raise your hands if the thought of not having to specify EventId each time makes you as giddy as it makes me LogLevel and Message parameters are declared LoggerMessage Level LogLevel Warning Message p should be valid public partial void LogWarning string p Before you ask let me assure you Microsoft has mentioned that for those constructors where EventId is not required the system will auto magically take care of it and generate it for us in future previews giving us yet another reason to celebrate this new feature Did anybody ask for easier logging in NET Well your wishes were heard loud and clear So what s your take on this feature Are you as excited as I am to reduce unnecessary code and log like a breeze Source Generated COM InteropWe ve got an “improved source generator in our hands that plays well with COM interfaces This is all thanks to the new gen interop support initialized with LibraryImportAttribute springing off this update You ll see this new System Runtime InteropServices Marshalling GeneratedComInterfaceAttribute doing the magic of marking an interface as a COM one for the source generator Want to know something even more exciting This source generator will scribble down code that enables C code callbacks to unmanaged code and vice versa Here s the Microsoft code example using System Runtime InteropServices using System Runtime InteropServices Marshalling GeneratedComInterface We ve marked the interface with the given attribute which indicates that this is a COM interfate Guid c ab dd aa cbbae interface IComInterface void DoWork internal class MyNativeLib LibraryImport nameof MyNativeLib public static partial void GetComInterface out IComInterface comInterface The source generator part to enable the interoperability Alright you might say “Where s the catch Well here it is The generator supports yet another new attribute the System Runtime InteropServices Marshalling GeneratedComClassAttribute This cool attribute lets you pass on types that implement interfaces with System Runtime InteropServices Marshalling GeneratedComInterfaceAttribute attributed interfaces to unmanaged code Here s the Microsoft code example MyNativeLib GetComInterface out IComInterface comInterface Getting the COM interfacecomInterface RegisterCallbacks new MyCallbacks Registering the callbacks which is exposed to unmanaged codecomInterface DoWork More code GeneratedComClass internal class MyCallbacks ICallbacks COM class attribute being used for the class implementing the interface public void Callback A callback implementation Console WriteLine Callback called Now interfaces with GeneratedComInterfaceAttribute can also interact with LibraryImportAttribute They both support each other s types which is a big win There s a bit of a caveat though There are few support limitations in the COM source generator Interface types such as IDispatch and IInspectable apartment affinity COM properties COM events and using the new keyword to activate a COM CoClass are not supported Don t worry they ve already got improvements in the pipeline for future NET releases SHA SupportWhat s new in NET Preview We ve got SHA hashing primitives support added to our roster Allow me to simplify Think of it as a shiny new tool in your crypto toolkit However keep in mind that these SHA hashing mechanisms are specifically accessible on systems running OpenSSL or Windows builds numbered and above Why Does It Matter Well in today s world where data protection is worth its weight in gold an extra layer of a robust cryptographic hash like SHA is nothing short of a gift from the heavens This chest of cryptographic treasure includes variants such as SHA SHA and SHA for carrying out hashing it s even equipped with HMAC versions and is particularly tailored for RSA OAEP encryption Quite the security asset don t you think Let s walk through some code snippets to see it in action Here s the Microsoft code example Hashing example Check if SHA is supported on the current platform if SHA IsSupported byte hash SHA HashData dataToHash Hashing made easier else Determine what to do if SHA is not supported Backup plan Signing Example Check if SHA is supported on the current platform if SHA IsSupported using ECDsa ec ECDsa Create ECCurve NamedCuves nistP Creating an elliptic curve byte signature ec SignData dataToBeSigned HashAlgorithmName SHA Signing data with SHA else Determine what to do if SHA is not supported Maybe an alternative hash algorithm Easy right Just check if SHA or any SHA variation is supported and…voila SHAKE Don t confuse it with a milkshake Oh it gets better SHA boasts two flexible output functions aptly named SHAKE and SHAKE These aren t your typical functions they can generate output of any length Hence the term “extendable Cool isn t it Here s the Microsoft code example if Shake IsSupported using Shake shake new Shake Create a new instance shake AppendData Hello NET u Data to shake byte digest shake GetHashAndReset outputLength Shake it up You can also use it like this digest Shake HashData Hello NET u outputLength else Determine what to do if SHAKE is not supported Time to shake up the plan Now I must add a little caveat here SHA support is primarily aimed at supporting cryptographic primitives So don t go all giddy expecting it to fully support higher level constructions and protocols At least not yet More context about SHA Ever heard of SHA It s a neat standard established by the tech bods at NIST under the official sounding FIPS But here s the cool part It s an alternative to SHA not a replacement So the ball s really in your court Whether and when you want to use SHA is totally your call or that of your team or business But and here s the big question Why would you resist stepping into a better hashing future when it s literally at your fingertips SHA my friends is an excellent addition to our developer toolkit bringing with it fresh possibilities for securing your applications If you ask me I m definitely going to adopt it Support for Targeting iOS Platforms with NativeAOTWell here s a big one Microsoft has now rolled out support for targeting iOS platforms with NativeAOT Now you can create and operate NET iOS and NET MAUI apps using NativeAOT This applies to iOS platforms like iossimulator maccatalyst tvos and tvossimulator It s like building and running your apps on all of these Apple devices Amazing right Now before you get too excited let s dig a bit deeper and understand this feature better Working PrincipleThough this feature is available it s still an opt in feature which means it s not your default runtime for app development and deployment That crown still goes to Mono However It does paint an interesting picture for future developments in terms of performance and size reductions on these platforms Current Status and FindingsOf course in this case Microsoft has been doing a lot of tests and benchmarks The results that Microsoft has shared this time are these Test on a NET iOS app created using dotnet new ios The NET iOS app shows incredible improvements with NativeAOT exhibiting a near reduction in size on disk and ipa size It s like your app just went on a successful diet Test on a NET MAUI iOS app created using dotnet new maui Unlike its NET iOS counterpart the NET MAUI app has some flexing to do before it gets lean The size on disk and ipa size have unfortunately increased with NativeAOT But hey no cause for alarm the guys at Microsoft are on it More contextWe need to bear in mind that this is still a work in progress and even though initial testing seems promising we cannot take these numbers as conclusive results The real world application and testing of this feature will reveal more in depth details Nevertheless I m personally excited about this update If Microsoft pulls it off it will bring a major shift in terms of efficiency and performance in targeting the iOS platform with NET For now I advise you to play around with it explore and see what you think ConclusionI hope you found it as interesting navigating through it as I did explaining it From smaller but game changing features like Stream based ZipFile method overloads MetricCollector Metrics API to larger impact ones such as the support for targeting iOS platforms with NativeAOT each feature has its special place in making NET better Some features need a bit more polishing like the Options Validation Source Generator but hey Rome wasn t built in a day was it 2023-07-26 16:55:19
海外TECH DEV Community Amazon Aurora is Now 60 Times Faster than RDS for MySQL. Really. https://dev.to/aws-heroes/amazon-aurora-is-now-60-times-faster-than-rds-for-mysql-really-3c0e Amazon Aurora is Now Times Faster than RDS for MySQL Really Today I will perform a simple test a proper benchmark comparing Aurora MySQL and RDS for MySQL Unlike traditional benchmarks that are lengthy and complex this evaluation will be concise comprising only about words and taking just a couple of minutes to review the results First let s create two instances using the AWS CLI To ensure a fair comparison we will create two instances using default values Both instances will have the same class and size db tg medium and will be located in the same AWS region Frankfurt Aurora aws rds create db cluster db cluster identifier benchmark engine aurora mysql engine version master username renato master user password db subnet group name renato vpc security group ids sg cfafea aws rds create db instance db instance identifier benchmark db cluster identifier benchmark engine aurora mysql db instance class db tg medium RDS aws rds create db instance db instance identifier benchmark rds engine mysql db instance class db tg medium master username renato master user password allocated storage vpc security group ids sg cfafeaThe benchmark process will involve creating a database a table and a MySQL procedure on both endpoints This procedure will simply insert K records into the table generating random values to introduce some data variety CREATE DATABASE renato USE renato CREATE TABLE renato id bigint NOT NULL AUTO INCREMENT datetime TIMESTAMP NULL DEFAULT CURRENT TIMESTAMP value float DEFAULT NULL PRIMARY KEY id DELIMITER CREATE PROCEDURE load renato BEGIN DECLARE i INT DEFAULT WHILE i lt DO INSERT INTO renato datetime value VALUES FROM UNIXTIME UNIX TIMESTAMP FLOOR RAND ROUND RAND SET i i END WHILE END DELIMITER Finally we will call the procedure on both databases Remember default configuration same region same class same size No networking is involved No magic No tricks Auroramysql gt call load renato Query OK row affected sec mysql gt select count from renato count RDSmysql gt call load renato Query OK row affected min sec mysql gt select count from renato count The results are striking Amazon Aurora outperforms RDS significantly completing the task in just seconds compared to RDS s minutes and seconds This remarkable x difference clearly demonstrates the superiority of Aurora in this specific scenario WOW you are kidding me Just remember this simple test every time you read “ faster “ faster and costing up to less or “ better IOPS This benchmark serves just as a reminder that real world tests are crucial in understanding the true capabilities of a database As they used to say there are three kinds of lies lies damned lies and statistics database benchmarks 2023-07-26 16:52:06
海外TECH DEV Community API's and Web Development: The Ying to the Yang https://dev.to/scofieldidehen/apis-and-web-development-the-ying-to-the-yang-d4n API x s and Web Development The Ying to the YangOne of the popular abbreviations across Web Development is API since its introduction to the Web the concept has grown popular and changed how developers and software engineers interact and build applications APIs have allowed applications to share data and changed how we build complex applications making them simpler than usual In this guide I will provide a comprehensive introduction to web APIs that will cover the basics of what APIs are how they work and why they are important I will also discuss some of the most popular web APIs and how you can use them in your applications Whether you are a beginner or an expert I hope you will find this guide helpful I encourage you to experiment with the APIs I will be discussing in this guide to build your applications using them and likely discover some on your own PrerequisiteTo fully benefit from this article I recommend you understand how the web works and HTML CSS and Javascript Although this guide is beginner friendly having fair knowledge of the above mentioned concepts and language will ensure a better understanding Hopefully you find this guide helpful and informative Let s jump right into it What are APIs API Application Programming Interface is a contract that enables data transmission between applications Let s break down the API starting from Application Programming the application is a set of tools that offers a particular service or performs a particular task an example would be Spotify s API providing musical data or Weather org providing Weather data The Interface is the point where two programs interact defining ways to interact with each other and providing the developer means to control the data while abstracting how it works an example would be your request for Beyonce s musical data and Spotify API responds with the appropriate data Given that you have followed all the rules in the contracts you can now decide to do whatever you want with this data It abstracts how the data was gotten with simple integration API Documentation is provided to guide developers on integrating the interface into their applications How do APIs work As I mentioned earlier APIs are contracts in contracts both parties have to agree on a particular set of rules The programmer sends a request via a protocol e g HTTPS to retrieve a specific set of data from the API e g retrieving data from a database or generating calculations and the API receives the request and maps it to a particular endpoint An endpoint is a URL that aligns with a specific resource or action or simply a place where the resources live The API processes this request and generates a response The response includes data status codes and headers and the API sends this response to the programmer The response usually consists of the request s result and the data the programmer requested What can APIs do After being introduced to this new concept I am pretty sure you would ask What can I build with it The only right answer would be anything as long as you can access its API APIs enable programmers to integrate several features functionalities and resources to create interconnected applications An example would be my recent pet project Activity Forecast where I used the data generated from Weather API to suggest activities people can do depending on the day s weather Types of APIsBefore we move on to the next section we need to explore the different types of APIs and what they do I will only cover a few as they re important to note Web APIs HTTP APIs These APIs enable access to web services and resources and are used in web development and they communicate over the internet using HTTP HTTPS protocols More on Web APIs later Operating System APIs These APIs enable access to various features functionalities and resources provided by the device s operating system For example Windows API WinAPI for Windows operating systems and POSIX API for Unix based systems Library APIs Libraries are a series of prewritten codes that programmers can use to simplify tasks Library APIs define the methods and data structures developers can use to interact with the library s functions Database APIs These APIs provide access to databases and allow your applications to create read update and delete data An example would be an SQL based database MySQL MongoDB etc Introduction to Web APIsNow that you understand what APIs mean what they can do and how they work we can now focus on Web APIs which enable the application to communicate and exchange data via a protocol and delivers a response that is usually in the form of an object It s important to note that Web APIs are exclusive to web applications Importance and Features of Web APIsAlthough one can argue that the importance and Features of Web APIs are basically the same as every other api it s important to note that they re a few differences that s why I have taken my time to present them Web APIs facilitate the integration of third party APIs and other data sources in a web application It reduces the time and cost of production by eliminating the need to create new integration structures It allows advanced functionalities and features to be integrated with ease Web APIs support convention based CRUD actions which means that they can be used to create read update and delete data It also supports multiple text formats such as XML JSON etc Responses include an Accept header and HTTP status code Javascript Browser APIsJavascript APIs provides extra functionalities that exceed the javascript language like the Fetch API for making HTTP request which can be used to load data from a server the Geolocation API for getting a client s location and many more In this section we will look at a couple of Javascript Browser APIs and how they can make work easier while building Note In Javascript your code interacts with APIs using JavaScript objects which serve as containers for the data the API uses object properties and the functionality the API makes available object methods Now let s look at a few of the Javascript Browser APIsFetch API Fetch API allows you to make HTTP requests to servers from web browsers Basically you are requesting data from a server to be used on the browser How does fetch know where to get the data from fetch url You can use any web API if it is publicly free and accessible After requesting fetch will respond with a Promise so you can use the then and catch methods to expatiate Once the request is complete the promise will resolve to a response object The response object contains the fetched data with many useful properties and methods to inspect it Let me explain with the code below fetch someAPI com then response gt response text then data gt console log data catch error gt console log error Often we use async await with Fetch APIGeolocation API The Geolocation API allows your application to access your application if you agree to it It s avail through the navigator geolocation object Let me show you how to display your latitude and longitude on the console using the Geolocation API function getCurrentLocation position const lat position coords latitude const lon position coords longitude console log I m at Lattitude lat and Longitude lon function error e console log Location error e message navigator geolocation getCurrentPosition getCurrentLocation error To dig deeper and learn more about the other Browser APIs in Javascript like the ones we just covered I recommend you look at this link it goes deeper into more explanation and provides more examples ConclusionAPIs are crucial in building and integrating communication between software applications and understanding it can scale the applications you build into a world class level With the use of all the various APIs available programmers can access resources and effectively scale and expand the functionalities of their applications If you find this article thrilling discover extra thrilling posts like this on Learnhub Blog we write a lot of tech related topics from Cloud computing to Frontend Dev Cybersecurity AI and Blockchain Take a look at How to Build Offline Web Applications  Culled from Emmanuel Edem Resource How to send an email in node js using nodemailer Javascript Array method Best React JavaScript Frameworks For Getting started with APi s 2023-07-26 16:50:24
Apple AppleInsider - Frontpage News Daily deals: Samsung Fold 5 up to $1,000 off, $1,799 MacBook Pro 14, Apple Leather Wallet $28, $90 Thunderbolt 3 dock https://appleinsider.com/articles/23/07/26/daily-deals-samsung-fold-5-up-to-1000-off-1799-macbook-pro-14-apple-leather-wallet-28-90-thunderbolt-3-dock?utm_medium=rss Daily deals Samsung Fold up to off MacBook Pro Apple Leather Wallet Thunderbolt dockToday s hottest deals include off Apple s Mac mini M off an Apple Leather Wallet with MagSafe Samsung Odyssey gaming monitor for and more Save on a Hisense Class U Series Mini LED Google Smart TVThe AppleInsider crew scours the web for unbeatable deals at online retailers to create a list of stellar bargains on popular tech gadgets including discounts on Apple products TVs accessories and other products We share the best deals daily to help you save money Read more 2023-07-26 16:44:12
Apple AppleInsider - Frontpage News iOS 17 code hints at Action button in iPhone 15 Pro models https://appleinsider.com/articles/23/07/26/ios-17-code-hints-at-action-button-in-iphone-15-pro-models?utm_medium=rss iOS code hints at Action button in iPhone Pro modelsCode from the fourth developer beta of iOS seemingly hints at an Action button in the iPhone Pro models providing support to some speculations and rumors A render of the rumored buttons changed with iPhone A series of leaks and rumors have suggested Apple intends to revamp the buttons on the iPhone Pro models These changes are rumored to include a unified volume button and the replacement of the mute switch with a new button design Read more 2023-07-26 16:23:24
海外TECH Engadget The best wireless headphones for 2023 https://www.engadget.com/best-headphones-150030794.html?src=rss The best wireless headphones for Over ear noise canceling headphones typically offer the most comprehensive set of features we want for our listening pleasure The best of these wireless options combine stellar sound quality with powerful active noise cancellation ANC and other handy tools to create as complete a package as possible Of course some companies do this better than others For Engadget s best wireless headphones guide we tested out a number of different models with a variety of features including noise cancellation customization options and sound quality Plus our favorites span a range of prices so you can decide how much you re comfortable spending and ultimately get the best buy for you Best headphones for Best headphones overall Sony WH XMRunner up Bowers amp Wilkins Px SBest headphones for those on a budget Audio Technica ATH MxBTAnother solid option Bose QuietComfort Another solid option Technics EAH AAnother solid option Master amp Dynamic MWAnother solid option Sennheiser Momentum Best headphones overall Sony WH XMSony s X line has been our top pick for best wireless headphone for a long time now Until another company can pack in as many high quality features as Sony and do so with a mix of excellent sound quality and effective ANC the crown is safe With the WH XM Sony redesigned its flagship headphones making them way more comfortable to wear for long periods of time We also noticed in our tests that the company made noticeable improvements to the active noise cancellation thanks to a separate V chip in addition to the QN that was inside the M There are now eight total ANC mics as well the previous model only had four This all combines to better block background noise and high frequencies including human voices The XM still has all of the features that typically make Sony s top of the line headphones showstoppers That includes hour battery life and crisp clear sound with balanced tuning and punchy bass A combo of touch controls and physical buttons give you on board access to music calls and noise modes without reaching for your phone Speak to Chat automatically pauses audio when you begin talking and like previous Sony headphones the M can change noise modes based on your activity or location Plus this model offers better call quality than most of the competition The only real downside is that they re more than the WH XM at full price Noise cancellation YesMultipoint YesBattery life hoursWeight poundsWater resistance NoneRead our full review of Sony WH XM headphonesRunner up Bowers and Wilkins Px SI ll admit I didn t expect Bowers amp Wilkins to make the year s best headphones list or even be in contention for a spot However the company s revised Px headphones impressed me during my review The Px S are pricey at but Bowers amp Wilkins pair impressive sound quality with solid ANC performance In fact the Px S are my favorite headphones right now in terms of sound There s also a more refined design that doesn t look overly plasticky and the headphones fit comfortably even after hours of use Call quality ambient sound and automatic pausing aren t the best here but they get the job done At the end of the day the design sound quality and excellent noise cancellation make the Px S a strong pick in the current true wireless headphone field Noise cancellation YesMultipoint YesBattery life hoursWeight poundsWater resistance NoneRead our Full Review of Bowers amp Wilkins Px S HeadphonesBest headphones for those on a budget Audio Technica ATH MxBTAudio Technica has introduced affordable wireless headphones in the past and while they didn t offer active noise cancellation they re still worth considering The company s latest is the MxBT a Bluetooth version of the A T s popular Mx wired cans For just you can expect a comfy fit and up to hours of battery life Bluetooth multipoint connectivity allows you to connect to multiple devices at once and physical buttons provide reliable on board control The design isn t as refined as the company s pricer models like the MxBT but you get the bulk of what makes Audio Technica s cheaper options so good Noise cancellation NoMultipoint YesBattery life hoursWeight poundsWater resistance NoneAnother solid option Bose QuietComfort The Bose was one of our top wireless Bluetooth headphones last time around but the company recently revived a workhorse with the QuietComfort The design is mostly unchanged from the previous QC models which could be a deal breaker for some Once you get past that though the QC combines Bose s excellent active noise cancellation with clear and balanced audio You can expect up to hours of battery life on a single charge and a comfortable fit that doesn t get tiresome during long listening sessions We ve already seen them on sale for less than full price which makes the QuietComfort even more compelling Noise cancellation YesMultipoint NoBattery life hoursWeight poundsWater resistance NoneRead our Full Review of Bose QuietComfort HeadphonesAnother solid option Technics EAH ABack at CES Panasonic announced the EAH A a new set of active noise canceling headphones under the iconic Technics brand While most of the features are what you see on any number of wireless headphones one figure stood out The company says you can expect up to hours of battery life on the A and that s with active noise cancellation enabled These are currently in my stable of review units for detailed analysis but I have already tested them on a long flight The ANC is impressive and they re comfortable enough to avoid becoming a burden after several hours Sound quality is also quite good there s LDAC support too and there are enough features here to justify the premium price tag Noise cancellation YesMultipoint YesBattery life hoursWeight poundsWater resistance NoneAnother solid option Master and Dynamic MWWhile Master amp Dynamic is known for its design prowess the company s over ear headphones were due for a refresh With the MW that debuted in June the company opted for a look that takes cues from its MG gaming headset and mixes them with a combo of aluminum leather and tempered glass The company s trademark sound quality returns with multiple ANC modes and ambient sound options for a range of situations At the high end looks don t come cheap but if you re looking for something beyond the pure plastic fashion of most headphones M amp D has you covered Noise cancellation YesMultipoint YesBattery life hoursWeight poundsWater resistance NoneAnother solid option Sennheiser Momentum I ll be honest I had a hard time choosing between the Px S and the Momentum wireless headphones for the runner up spot this time around However Bowers amp Wilkins gets the edge in terms of design even though the Px S and the Momentum are very evenly matched on great sound quality They re the two best sounding sets of Bluetooth headphones I ve tested this year and it s not even close Sennheiser does have an impressive hour battery life in its favor and improved ANC performance Those two items alone might be enough for you to overlook the very generic design Noise cancellation YesMultipoint NoBattery life hoursWeight poundsWater resistance NoneRead our Full Review of Sennheiser Momentum HeadphonesFAQsHow can you tell the quality of headphones I typically look at three factors design sound quality and features In terms of design I m usually looking to see if the build quality of the headphones feels cheap and plasticky Plenty of companies use plastic but they can do so in a way that doesn t look or feel like budget models For sound quality I want to hear a nice even tuning where highs mids and lows are all well represented No overly boomy bass or scooped out mids I also want good clarity where you can pick up fine details and an open immersive soundstage Features is typically a distant third but if a company doesn t cover basic functionality automatic pausing transparency mode multipoint Bluetooth etc it can be an indication of overall quality nbsp How do I choose the best quality headphones “Best can be pretty subjective but I always recommend going to a place where you can listen to the headphones you re thinking about buying before you commit Sometimes this isn t possible so you ll want to check return policies I also recommend doing some research to determine what your priorities are in a new set Are you an audiophile who wants the best sound quality Is powerful active noise cancellation ANC the most important Would you rather have conveniences like automatic pausing Which brand has the best headphones Sony consistently tops our list with its X line This is mostly due to the combination of sound quality ANC performance and the truckload of features these headphones pack in I ll be the first to tell you that there are better sounding options and other companies like Bose offer more effective noise cancellation But when you add everything up no one comes close to the full slate of tools Sony puts in its premium headphone line Do expensive headphones sound better Exorbitant price tags don t mean better audio quality Bowers amp Wilkins headphones are on the high end for wireless noise canceling models and they sound amazing However Audio Technica s MxBT is much more affordable and doesn t have ANC but these headphones have a warm natural sound profile that I find very inviting At the end of the day it will come down to personal preference but you don t need to spend a lot to find great headphones This article originally appeared on Engadget at 2023-07-26 16:20:03
ニュース BBC News - Home Kevin Spacey 'humbled' after being cleared of sex offences https://www.bbc.co.uk/news/uk-66299485?at_medium=RSS&at_campaign=KARANGA london 2023-07-26 16:44:42
ニュース BBC News - Home Andrew Malkinson's rape conviction quashed after 20-year fight https://www.bbc.co.uk/news/uk-england-manchester-66310919?at_medium=RSS&at_campaign=KARANGA malkinson 2023-07-26 16:31:29
ニュース BBC News - Home Ship with 3,000 cars in blaze off Dutch coast https://www.bbc.co.uk/news/world-europe-66310280?at_medium=RSS&at_campaign=KARANGA heritage 2023-07-26 16:28:51
ニュース BBC News - Home Hunter Biden: Judge questions tax crimes plea deal for president's son https://www.bbc.co.uk/news/world-us-canada-66314934?at_medium=RSS&at_campaign=KARANGA federal 2023-07-26 16:31:05
ニュース BBC News - Home Police chief Will Kerr faces serious sexual offence allegations https://www.bbc.co.uk/news/uk-northern-ireland-66317717?at_medium=RSS&at_campaign=KARANGA cornwall 2023-07-26 16:31:35
ニュース BBC News - Home James Martin: TV chef agrees 'lessons learned' after losing temper https://www.bbc.co.uk/news/entertainment-arts-66315393?at_medium=RSS&at_campaign=KARANGA temperthe 2023-07-26 16:31:05
ニュース BBC News - Home Elon Musk tweet boosts vaccine conspiracies targeting LeBron James' son https://www.bbc.co.uk/news/health-66313916?at_medium=RSS&at_campaign=KARANGA arrest 2023-07-26 16:09:12

コメント

このブログの人気の投稿

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

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

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