IT |
気になる、記になる… |
DJI、新型ドローン「DJI Air 3」を7月25日に発表へ |
https://taisy0.com/2023/07/19/174228.html
|
djiair |
2023-07-18 15:59:35 |
IT |
気になる、記になる… |
「Apple Pay」、モロッコで利用可能に |
https://taisy0.com/2023/07/19/174225.html
|
apple |
2023-07-18 15:17:55 |
IT |
気になる、記になる… |
「Threads」、近いうちにDM機能に対応か |
https://taisy0.com/2023/07/19/174223.html
|
threads |
2023-07-18 15:04:06 |
AWS |
AWS Database Blog |
Design a use case-driven, highly scalable multimodel database solution using Amazon Neptune |
https://aws.amazon.com/blogs/database/design-a-use-case-driven-highly-scalable-multimodel-database-solution-using-amazon-neptune/
|
Design a use case driven highly scalable multimodel database solution using Amazon NeptuneIf you re an architect tasked with designing a solution with complex data requirements you may decide to adopt a multimodel approach combining multiple data models possibly spanning multiple database technologies For each model you choose the best technology for the purpose at hand AWS offers purpose built engines to support diverse data models including relational … |
2023-07-18 15:31:12 |
AWS |
AWS Desktop and Application Streaming Blog |
Use AWS Lambda to adjust scaling steps and thresholds for Amazon AppStream 2.0 |
https://aws.amazon.com/blogs/desktop-and-application-streaming/use-aws-lambda-to-adjust-scaling-steps-and-thresholds-for-amazon-appstream-2-0/
|
Use AWS Lambda to adjust scaling steps and thresholds for Amazon AppStream This blog post walks you through creating an event driven solution with AWS Lambda to change your AppStream auto scaling policy based on time of day With Amazon AppStream s Fleet Auto Scaling capabilities you can adjust the size of your AppStream fleet automatically to match user demand However with certain usage patterns … |
2023-07-18 15:04:03 |
AWS |
AWS Messaging and Targeting Blog |
How quirion created nested email templates using Amazon Simple Email Service (SES) |
https://aws.amazon.com/blogs/messaging-and-targeting/how-quirion-created-nested-email-templates-using-amazon-simple-email-service-ses/
|
How quirion created nested email templates using Amazon Simple Email Service SES This is part two of the two part guest series on extending Simple Email Services with advanced functionality Find part one here quirion founded in is an award winning German robo advisor with more than billion Euro under management At quirion we send out five thousand emails a day to more than customers Managing many … |
2023-07-18 15:15:19 |
AWS |
AWS Messaging and Targeting Blog |
How quirion sends attachments using email templates with Amazon Simple Email Service (SES) |
https://aws.amazon.com/blogs/messaging-and-targeting/how-quirion-sends-attachments-using-email-templates-with-amazon-simple-email-service-ses/
|
How quirion sends attachments using email templates with Amazon Simple Email Service SES This is part one of the two part guest series on extending Simple Email Services with advanced functionality Find part two here quirion is an award winning German robo advisor founded in and with more than billion euros under management At quirion we send out five thousand emails a day to more than customers We … |
2023-07-18 15:15:09 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
An error occurred while installing pg (1.5.3), and Bundler cannot continue. |
https://qiita.com/mikan40/items/0bf7ac0b8a6e3214c33f
|
fetchinggemmetadatafrom |
2023-07-19 00:13:54 |
技術ブログ |
Developers.IO |
วิธีการเปลี่ยนภาพพื้นหลังของ EC2 Windows Server แบบถาวร |
https://dev.classmethod.jp/articles/how-to-change-ec2-windows-server-background-image/
|
วิธีการเปลี่ยนภาพพื้นหลังของEC Windows Server แบบถาวรสวัสดีครับPOP จากบริษัทClassmethod Thailand ครับเคยไหมครับที่ใช้งานEC Windows Server แล้วต้องการเปลี่ยน |
2023-07-18 15:25:12 |
海外TECH |
Ars Technica |
NHTSA investigating Tesla Autopilot after yet another fatal crash |
https://arstechnica.com/?p=1954676
|
tesla |
2023-07-18 15:00:32 |
海外TECH |
MakeUseOf |
How to Fix Windows Sandbox Not Working in Windows 11 |
https://www.makeuseof.com/sandbox-not-working-windows-11/
|
toolbox |
2023-07-18 15:15:26 |
海外TECH |
DEV Community |
10 JavaScript Best Practices That Every Developer Should Know! |
https://dev.to/blackhorse0101/10-javascript-best-practices-that-every-developer-should-know-3a9o
|
JavaScript Best Practices That Every Developer Should Know In this post i will be talking about essential JavaScript best practices that every developer should know Whether you re a beginner or an intermediate these tips will help you write more efficient maintainable and error free code This image is taken from my channel “CodeWithMasood As we know JavaScript is a very powerful language these days from web and mobile development to desktop application development JavaScript is everywhere and therefore it can be easy to fall into bad practices if you re not careful enough By following these best practices you can avoid common mistakes and write code that is more efficient easier to maintain and less prone to errors So let s get started with JavaScript best practices you need to know Using Strict Mode The first best practice we ll cover is to use strict mode in your JavaScript code Strict mode is a feature that was introduced in ECMAScript You can use it like this where you need to write use strict in quotes at the top of your JavaScript files and it will automatically watch your code The purpose of “use strict is to indicate that the code should be executed in “strict mode This can help catch errors and improve the overall quality of your code For example if we don t use strict mode and initialize a variable it will not through any error but if i use strict mode at the top of my Js file and then i write the same code again it will cause an error because x is not declared and if i declare my variable with let then it will not cause any problem So as you can see how good is to use strict mode in JavaScript So next time don t forget to use strict mode in your projects Declare Variables Using Let OR Const The second best practice is to always declare your variables properly using let or const This helps avoid issues with variable scope and makes your code easier to read and maintain Additionally you should avoid using var as it can lead to unexpected behavior for example with var you can declare a variable twice and this is what you want to avoid right and it is something that is just a kind of bug in JavaScript and that is not the case in other programming language Once a variable is declared it can t be declared again So always try to use let with variables that can be reassigned and use Const with variables that you want to make constants Use Meaningful Variable Names The third best JavaScript practice is to use meaningful variable names that describe the purpose of the variable This can make your code more readable and easier to understand and test especially for other developers who may need to work with your code in the future Other than naming variables like cname x etc you can use meaningful names like customerName or windowsHorizontalWidth etc Follow DRY Principle The next best practice is to follow the DRY Don t Repeat Yourself principle This means that you should avoid repeating the same code over and over again and instead use functions or other reusable code blocks to accomplish the same task Let s say you need to calculate the area and perimeter of a rectangle Instead of writing two separate functions to calculate area and perimeter you can write a single function that takes in the rectangle s width and height and returns an object with the area and perimeter as properties With this function you can calculate both the area and perimeter of a rectangle by calling it once and accessing the area and perimeter properties of the returned object Use Shorthand Functions The next tip is to keep your functions shorthand and clean This makes your code easier to understand and maintain and can also make your code look professional In general shorthand functions are preferred in JavaScript because they are more concise and easier to read However long form functions can be useful in some cases where you need to do more complex logic or use features not available in shorthand functions Use Comments The next tip is to use comments to explain your code Comments can help other developers understand the purpose of your code and can make your code more readable and maintainable Comments can be used to provide an overview of what a section of code or an entire program does This can be particularly useful for other developers who may need to modify or debug the code in the future Keep Your Code Formatted The next tip is to keep your code formatted which can be achieved by using the same indentation spacing and naming conventions throughout your code This can make your code easier to read and understand especially for other developers who may need to work with your code And luckily you don t need to worry a lot because prettier does this job for you very well I recommend to check the option which says format on save to format your code automatically after you save it And this is just awesome Use Const With Objects The next tip is to always use Const with objects because if you don t use Const with objects you will end up reassigning your variable to something else it is very common mistake that people make But once you make an object into constant than it can t be changed and your properties will be there forever Use Const With Arrays The next tip is almost related to the previous one but this time it is the case with arrays So with arrays again try to use Const because declaring arrays with Const will prevent any accidental change of type But once you make an array into constant than it can t be changed and your array items will not go anywhere Use Triple Sign Operator And finally the last tip from my side is to use triple sign operator to compare two values because it not only compare values but the type of your values as well which is good because it adds an extra layer of security let s say you want to compare a number with string using two equal sign it will not through any error but if you use triple equal to sign it would not work |
2023-07-18 15:31:41 |
海外TECH |
DEV Community |
How This NuGet Package Almost Cost Me My Job |
https://dev.to/codaholic/how-this-nuget-package-almost-cost-me-my-job-2n7p
|
How This NuGet Package Almost Cost Me My JobIn the world of NET development NuGet packages have become an essential part of building applications These are pre built libraries that offer convenience and efficiency enabling NET developers to save time and effort by leveraging existing code However my personal experience with a particular NuGet package taught me a valuable lesson about the importance of thorough evaluation and careful implementation In this blog post I will share the story of how a seemingly harmless NuGet package nearly jeopardised my job and discuss the key takeaways and best practices to prevent similar pitfalls Benefits of Z BulkOperationsWhen I first encountered the Z BulkOperations NuGet package I was immediately drawn to its promising features and potential benefits for my project This package specializes in efficient bulk data operations offering a streamlined approach to handling large datasets within a database With the package s reputation for improving performance and simplifying database operations it seemed like the perfect solution to tackle the specific challenge I was facing in my project Enhanced Performance One of the key attractions of the Z BulkOperations package was its ability to significantly enhance performance when dealing with large volumes of data The package leverages optimized bulk operations enabling faster data processing and database interactions This efficiency was particularly appealing as it promised to address performance bottlenecks that I had encountered in my project Simplified Database Operations Another compelling feature of Z BulkOperations was its ability to simplify complex database operations The package provided a high level abstraction layer that allowed for seamless bulk inserts updates and deletes This abstraction meant that I could streamline my code and reduce the number of database round trips resulting in improved efficiency and code readability Positive Reputation The reputation of the Z BulkOperations package within the developer community further heightened its appeal It had garnered positive reviews and testimonials from developers who praised its performance and ease of use The package s popularity and active community support gave me confidence that it was a reliable and well maintained solution Addressing Project Challenges In my project I was tasked with processing and manipulating a large dataset within a tight timeframe The traditional approach of performing individual database operations for each record proved to be time consuming and resource intensive This is where Z BulkOperations appeared to offer an efficient alternative enabling me to handle the dataset more effectively and meet project deadlines However as I would soon discover the allure of the Z BulkOperations package came with unexpected challenges and implications Despite its attractive features there were crucial factors that I overlooked during the initial evaluation leading to severe consequences that nearly cost me my job In the following sections I will delve into these challenges and share the valuable lessons I learned from this experience The Con of Z BulkOperationsOn one faithful day I resumed work as usual and as a routine I decided to go through my emails only to see a mail with a screenshot of the error message that the frontend part of my application was throwing The error message I was greeted with was Something went wrong please try again I was thrown aback because this error should not be happening So I tried reproducing the error on my local machine but I didn t see anything the particular action the user was getting an error for on production was going successfully on my local machine I had to look at the log file to get a sense of what was happening Below is the image of what the error message wasI was surprised and at the same time I felt relieved I asked myself how come I didn t see this it was obvious I didn t thoroughly read the documentation When I saw this NuGet Package online I was only interested in knowing how to implement it and solve the particular challenge I had What Was The Solution The options before me were to Pay for the NuGet packageMake use of AddRangeAsyncMake use of SqlBulkCopySince I was not willing to pay for this NuGet extension or package I decided to uninstall it so I was left with options and I decided to use SqlBulkCopy which is the third option Why Use SqlBulkCopyThe reason I didn t go for the second option was that if for example I want to insert rows into a table I ll have to hit the database times performance wise this is a deal breaker So with SqlBulkCopy I ll only have to hit the database only once regardless of the number of rows I ll need to insert public async Task lt Response lt IEnumerable lt long gt gt gt CreateAsync TimerDto request var timers mapper Map lt IEnumerable lt Timer gt gt request Timers ToList using var dataTable new DataTable dataTable Columns Add Id typeof long dataTable Columns Add Name typeof string dataTable Columns Add Start typeof string dataTable Columns Add End typeof string foreach var timer in timers dataTable Rows Add timer Id timer Name timer Start timer End using var sqlBulkCopy new SqlBulkCopy context Database GetDbConnection ConnectionString sqlBulkCopy DestinationTableName codaholic dbo Timer await sqlBulkCopy WriteToServerAsync dataTable var timerIds timers Select c gt c Id return new Response lt IEnumerable lt long gt gt timerIds Here is a simple explanation of what the code above does a DataTable is created to hold the timer data Columns are added to the DataTable to match the properties of the Timer entity such as Id Name Start and End The foreach loop iterates over the timers list and adds each timer s data as a new row in the DataTable Each timer s properties are accessed and added to the corresponding columns in the DataTable SqlBulkCopy A SqlBulkCopy object is created using the connection string from the context object s database connection This object facilitates the bulk insert operation into the database The DestinationTableName property is set to specify the destination table where the data should be inserted The WriteToServerAsync method is called to perform the bulk insert operation asynchronously using the DataTable as the source of the data ConclusionBy sharing my cautionary tale I hope to raise awareness among developers about the potential risks of blindly adopting NuGet packages Through careful evaluation taking time to read the documentation and not just getting a bunch of code from StackOverflow or ChatGPT we can mitigate the chances of encountering similar issues and ensure a more stable software development process |
2023-07-18 15:29:13 |
海外TECH |
DEV Community |
The Perl and Raku Conference, Toronto 2023 |
https://dev.to/davorg/the-perl-and-raku-conference-toronto-2023-5c24
|
The Perl and Raku Conference Toronto It s been over twenty years since I spoke at a conference in North America That was at OSCON in San Diego I ve actually never spoken at a YAPC TPC or TPRC in North America I have the standard European concern about being seen to encourage the USA s bad behaviour by actually visiting it so when I saw this year s TPRC was Canada I thought that gave me the perfect opportunity to put that right So I proposed a talk which was accepted It was also the first time I d been to any kind of conference since before the pandemic My last conference was in Riga in Despite Air Transat s determination to prevent it from happening my girlfriend and I made it to Toronto a few days before the conference started It was her birthday so we spent Sunday and Monday relaxing and getting to know Downtown Toronto On Monday afternoon we moved to the conference hotel and prepared to geek out One of the first people I spoke to at the conference on Tuesday morning was fellow Londoner Mohammad Anwar As is the law I don t make the rules I was mildly rebuking him about the ridiculous amount of work he puts into the Perl community I told him the story of a senior member of the community who about ten years ago said to me “I don t understand why you still make so much effort Dave You have your White Camel don t you I swear I didn t know that Mohammad was about to be awarded the White Camel but it gave me the opportunity to go up to him and say “See you can stop making such an effort now I hope he doesn t really stop but he should really take things a bit easier The next three days were a happy blur of geekery As always at these conferences there were too many talks that I wanted to see and inevitably I still have to catch up on some of them on YouTube thanks to the dedicated video team for getting making them available so quickly There are a number of talks that I d like more people to see I think it would be a great use of your time to watch these videos No One is Immune to Abuse Sawyer XComing Soon Curtis PoeWhither Perl Olaf AndersWhat s New in Perl v Paul EvansPerl Retrospective Sawyer XI gave two talks a lightning talk on CPAN Dashboard and a longer talk on GitHub Actions for Perl Development After not giving a talk for four years I felt a little rusty but I think they went ok And then after a seemingly fleeting three days it was all over and we all returned to our own countries There s another conference in Finland next month Unfortunately I m unable to be there and last week s experience makes me regret that It was great to catch up with old friends and share our mutual interest in Perl It was particularly great after four years without a conference to go to I hope it s not four years until I m at another The post The Perl and Raku Conference Toronto appeared first on Perl Hacks |
2023-07-18 15:28:59 |
海外TECH |
DEV Community |
Ways to group data of an array. |
https://dev.to/eldevflo/ways-to-group-data-of-an-array-56g8
|
Ways to group data of an array Let s say you have an array of colors and you aim to categorize the colors into tow groups of dark colors and light colors how would you do this in JavaScript well there are different ways to group the data and in this article we ll go through some of them trust me the best ones Today we will cover three ways of grouping the data using Map using array reduce using array groupBy and array groupByToMap so let s get started using Map Honestly Map is my favorite One it s simple and we can get the values easily using the get method and set them using set method it s more performant and compatible anyways this is how you can group the colors using Map method const colors name orange type light name black type dark name red type light name blue type dark name brown type dark name yellow type light const colorsMap new Map colors forEach color gt colorsMap set color type color using array reduce Last but not least we can take advantage of array reduce const groupByDarkness colors reduce group color gt const type color group type group key group type push color return group using array groupBy and array groupByToMap this method has just introduced by ES Moreover since the group and groupToMap array methods are still in the proposal stage we can t use them in our JavaScript projects However if we use polyfill browsers will understand what those methods do and run them for us without throwing an error whenever we use them Simply put a polyfill is a code that implements a feature on web browsers that do not natively support the feature The core js is a robust polyfill that we can use to make the group and groupToMap available in the browser To get started with core js we can run the following code in our project to install the library npm install save core js Here s how to use array groupBy to create a color group const groupByDarkness colors groupBy color gt return color type this returns an object where properties are light dark and values are arrays of colors Sometimes you may want to use a Map instead of a plain object The benefit of Map is that it accepts any data type as a key but the plain object is limited to strings and symbols only So if you d like to group data into a Map you can use the method array groupByToMap array groupByToMap callback works the same way as array groupBy callback only that it groups items into a Map instead of a plain JavaScript object const groupByDarkness colors groupByToMap color gt return color type using each of the above methods you ll get the following result light name orange type light name red type light name yellow type light dark name black type dark name blue type dark name brown type dark |
2023-07-18 15:28:17 |
海外TECH |
DEV Community |
Explicit Software Design Series |
https://dev.to/bespoyasov/explicit-software-design-series-5760
|
Explicit Software Design Series️Originally published on bespoyasov me Subscribe to my blog to read posts like this earlier Sometimes I read books about software design and development Usually they are about “enterprise software and rarely discuss their applicability in web development However after reading them I m always interested in whether the techniques from these books can be applied to my daily tasks whether they are profitable and justified This series of posts is an experiment where I want to test it I will try to design and write an application taking into account the recommendations and rules that I have read about in various resources over the past years Some of these principles I have already applied in production someーonly in pet projects and some of themーnot at all I m interested in gathering everything in one application and seeing how different buzzwords from the programming world interact with each other Let s clarify from the start This is not a recommendation on how to write or not write code I am not aiming to “show the correct way of coding because everything depends on the specific project and its goals My goal is to try to apply the principles from smart books in a frontend application to understand where the scope of their applicability ends how useful they are and whether they pay off Take the code examples in this series not as a direct development guide but as food for thought and a source of ideas that may be useful to you Constraints and LimitationsWe will be writing code “by the book following the rules from different sources This means that some solutions will be intentionally “too clean even if it doesn t make sense from a pragmatic standpoint Although I will mark such places in the text try not to forget that this series is an experiment and the code might feel unnatural When using different techniques I will refer to specific authors and their works Sometimes I will provide comments with my evaluation but for the most part I will try to refrain from making judgments about whether something should be used or not On the contrary we will try to mix in as many ideas as possible to test them Most likely as a result we will write code that will not look like “standard React application code but in it we will try to find connections and parallels with modern development patterns About the seriesIn this series we will be building a fictional currency converter application Each post will focus on a specific topic and the plan and content will be as follows Introduction assumptions and limitationsModeling the domainDesigning use casesDescribing the UI as an “adapter to the applicationCreating infrastructure to support use casesComposing the application using hooksComposing the application without hooksDealing with cross cutting concernsExtending functionality with a new featureDecoupling features of the applicationOverview and preliminary conclusionsIn addition I have an idea to write a few related posts on similar topics Applicability of everything described with frameworks for example Next js Improving type safety with type branding for example for DDD Code splitting routing and performance for example using Suspense and use Functional error handling for example with Result lt TOk TErr gt Applicability with other UI libraries for example Solid or Svelte But for now I m not sure if these topics will be interesting and I don t know how much time they will take If you re interested in reading about these topics as well ping me in the comments Sample ApplicationAs an example we will write a converter for currencies from the “Star Wars universe The converter will convert Republican credits RPC to Imperial credits IMC and some other currencies from the lore of the universe We will come up with the “exchange rates ourselves and take them from a simple JSON server We will probably save fresh exchange rates to local storage and closer to the end of the experiment we will expand the application with a new feature But the App is So Small The principles we will be discussing are indeed not necessary for a prototype or a small application However I chose a small application for two reasons The smaller the application the easier it is to focus on the technical aspects and development convenience I am lazy and didn t want to write a large application in vain but didn t have any ideas for a useful open source application Perhaps the benefits would be more visible in a larger application but I decided that a simple converter would be sufficient for the experiment If you have any ideas on how to improve this please open an issue or PR on GitHub Let s discuss it Source Code on GitHubWe will develop the application step by step The results of each stage of work can be found on GitHub Each post will refer to a separate folder in the project repository where you can see how everything is organized and play with the code Application FunctionalityIn the posts we will assume that we have can talk directly to the product owner and we know what functionality we want to see at the end of the development We will consider the following use cases Entering an RPC value that automatically converts the value to a quote currency Choosing an alternative quote currency with automatic conversion of its value relative to RPC Updating quotes based on data from the server and saving this data locally on the device Simple user action analytics but probably not in the beginning of the development In the future we also plan to add another feature that isn t known for now Problems We Want to AvoidIn the books that we will be referring to besides the rules and recommendations there are also counterexamples They describe the problems that arise if the rules are not followed We will try to avoid all of these problems and see if we can do this by following the rules from the books The problems we aim to avoid are Technical Details Over FeaturesThe project structure should tell about its tasks and independently show what the application contains namely features and use cases Technical aspects of the project should not overshadow the goals and essence of the application Ideally the project should help to Simplify onboarding by guiding new developers and allowing them to dive into the code gradually Speed up the search for code that is responsible for a specific part of the application Add and remove functionality without the need to change the entire application Keep in mind only the amount of information needed to solve a specific task at a given moment Speak the same language with product owners and lose less in translation from the language of business to the language of development High Coupling and “Ripple Effect of ChangesParts of the project should be able to evolve independently and development of different features should be realistically divided among different people or teams Parts of the application should be removable without the fear of breaking others The spread of changes throughout the codebase should be limited to the specific function module or feature where the changes were required initially Unrelated code should not be changed If requirements are driven by the business they should take priority For example if a feature does not bring profits and only consumes resources it should be easy to completely remove it to avoid maintaining it Features should be easy to scale or even extract as separate independent services or applications Unclear Dependency DirectionThe interaction between parts of the project should be clear and understandable Data flow should be controlled data transformations and stages of these transformations should be explicit Making changes to the code should not be scary We should understand which parts of the code will be affected by a specific change Low level code should not affect the design of user scenarios or the development of the project as a whole Leaking Abstractions and Unclear ResponsibilitiesThe code and dependencies involved in each specific task must be explicit Code that is not needed in the task should not be used and run Third party tools and auxiliary libraries must have a clear scope and boundaries The amount of code related to them and their influence on the project must be limited and fit in the heads of developers The amount of implicit input data for a function or module should be minimal The amount and size of data resources and dependencies that are involved should be trackable and measurable so that we can control their growth and consumption Sudden and disproportionate “spikes in these resources should be easily visible Urge to Make DecisionsA project should not require us to make “big decisions until we have studied the domain constraints and business priorities We want to understand what tools we should integrate into the project It should be clear which tools fit our task what the risks of using them are and what degree of integration will be justified Tooling should not dictate the principles of work and create unreasonable restrictions for business tasks Early on we want to avoid unnecessary generalizations Principles and rules should be worked out evolutionarily in a competitive environment based on the benefits they bring Notice that we re not talking about “forgetting about tools We re talking about buying more time to learn about the project and its limitations Requirements in scaling concurrent development or infrastructure complexity are hard to predict in advance but even harder to change post facto So we want to gather as much real world data as possible before making big decisions Brittle TestsTests should catch regressions and not hinder development It is desirable to avoid “brittle tests “test friction and “test induced damage Tests should be resilient to refactoring and extending functionality There should be no code that is unclear how to test Each part of the project should solve a clearly defined task and the result should be easy and obvious to test Business Logic Mixed with Infrastructure CodeInfrastructure code “glue that holds everything together should not intertwine with business logic which contains ideas that bring money Business Logic Mixed with Cross Cutting ConcernsAdjacent tasks like analytics internationalization performance profiling should also not affect business logic code unless justified by use cases Development PrinciplesAll of the problems listed above can be reformulated as principles that we will adhere to during design and development The main part of the application should be the business logic The project structure should reflect the essence of the application The influence of infrastructure UI and adjacent tasks should be minimal Code should be easy and clear how to test Modules should be as independent as possible The code should not force making serious decisions at early stages We will discuss each of these principles in the next posts and test them in practice Next TimeToday we described the constraints assumptions goals and principles that we will use going forward In the next post we will begin designing the application using these principles and write a domain model for the currency converter We ll see how functional programming static typing and DDD help us with the design stage We ll consider how to incorporate domain constraints directly into the code and how to simplify testing of the domain model We ll design the data flows and transformations that participate in the application use cases and discuss how to speak with product owners in a common language Sources and ReferencesProject on GitHub will be updated as we go Repository with my blogBlog posts with book summariesCurrencies from the lore of “Star Wars |
2023-07-18 15:22:00 |
Apple |
AppleInsider - Frontpage News |
How to use spring-loaded folders in macOS Sonoma |
https://appleinsider.com/inside/macos-sonoma/tips/how-to-use-spring-loaded-folders-in-macos-sonoma?utm_medium=rss
|
How to use spring loaded folders in macOS SonomaYou may love spring loaded folders on the Mac you may loathe them ーor you may never have noticed the feature Here s how to use or disable them as you need in macOS Sonoma Everything you use and know on the Mac has been given a name by Apple whether anyone remembers it or not And also whether or not the name actually tells you what the feature does So to be clear spring loaded folders do one thing and they do it brilliantly If you drag anything to a folder on a Mac and wait for a moment that folder will spring open and you can continue dragging into it Read more |
2023-07-18 15:40:00 |
Apple |
AppleInsider - Frontpage News |
Spain hits Apple and Amazon with $218 million combined antitrust fine |
https://appleinsider.com/articles/23/07/18/spain-hits-apple-and-amazon-with-218-million-combined-antitrust-fine?utm_medium=rss
|
Spain hits Apple and Amazon with million combined antitrust fineApple s consolidation of its third party iPhone Mac and iPad resellers to Amazon has induced Spain s antitrust agency to levy a million fine in total on the pair Spain s Comision Nacional De Los Mercados Y La Competencia CNMC announced in July that it was investigating if Apple and Amazon have unfairly colluded to reduce competition in the Internet retail market for electronic products Specifically the group was looking for proof of any deals that the pair made limiting sale of Apple products to Amazon itself Two years later it appears to have found the proof it was looking for and has fined the pair million euros in total Read more |
2023-07-18 15:01:10 |
Apple |
AppleInsider - Frontpage News |
White House sets voluntary security standard for smart home devices |
https://appleinsider.com/articles/23/07/18/white-house-sets-voluntary-security-standard-for-smart-home-devices?utm_medium=rss
|
White House sets voluntary security standard for smart home devicesA new program from the Federal Communications Commission is aimed at helping people identify safe smart home devices by branding them as having met security rules The US wants security standards for smart home devicesThe White House has unveiled a cybersecurity certification and labeling initiative It s designed to help people make informed choices regarding smart devices that prioritize safety and have protection against cyberattacks Read more |
2023-07-18 15:07:01 |
Apple |
AppleInsider - Frontpage News |
Instagram chief's mic drop: 'Android's now better than iOS' |
https://appleinsider.com/articles/23/07/18/instagram-chief-claims-android-is-better-than-ios-so-there?utm_medium=rss
|
Instagram chief x s mic drop x Android x s now better than iOS x Falling a little short in the details Instagram head Adam Mosseri has announced that Android is better than iOS then dropped the mic and moved on There s no rule that says you have to like iOS or Android and for all the technical differences it is ultimately an indefinable personal preference Unless you re Adam Mosseri and just plain dislike iOS so much that you want to proclaim it loudly YouTuber MKBHD set the ball rolling on Threads by asking for people s best tech hot takes The idea was that popular comments would rise to the top and the very top one is now Mosseri s Read more |
2023-07-18 15:13:07 |
海外TECH |
Engadget |
Unopened first-gen iPhone sells at auction for $190,000 |
https://www.engadget.com/unopened-first-gen-iphone-sells-at-auction-for-190000-154549102.html?src=rss
|
Unopened first gen iPhone sells at auction for Someone with deep pockets has snapped up a piece of tech history after forking over for a first generation iPhone from That s around times the device s original price Don t expect to fetch anything close to this kind of windfall by selling a year old smartphone you have stuffed in a drawer somewhere This was a factory sealed device in quot exceptional condition quot according to the listing Auctioneer LCG Auctions noted that the consignor of the lot was part of Apple s engineering team when the iPhone debuted quot Collectors and investors would be hard pressed to find a superior example quot the auction house wrote The lot drew interest from multiple parties as bids were lodged including five that were over In recent months LCG Auctions has sold two GB variants of the first generation iPhone for and But what helps this item stand out is that it s a rare GB model Apple only produced this model for two months as consumers overwhelmingly preferred a version with double the storage It s unlikely that the buyer will actually open the package up and use the phone since breaking the seal would send its value nosediving If they did though they d be tinkering with a device that probably wouldn t even be able to make a phone call since G networks have shut down in many parts of the world FaceTime would be a no go since there s no front facing camera and the OG iPhone can t even run a version of iOS that supports the feature The vast majority of other apps won t work on it Even so the original iPhone may still make for a decent iPod It even had a headphone jack Remember those This article originally appeared on Engadget at |
2023-07-18 15:45:49 |
海外TECH |
Engadget |
Microsoft will charge businesses $30 per user for its 365 AI Copilot |
https://www.engadget.com/microsoft-will-charge-businesses-30-per-user-for-its-365-ai-copilot-153042654.html?src=rss
|
Microsoft will charge businesses per user for its AI CopilotAt the Microsoft Inspire partner event today the Windows maker announced pricing for its AI infused Copilot for Microsoft The suite of contextual artificial intelligence tools the fruit of the company s OpenAI partnership will cost per user for business accounts In addition the company is launching Bing Chat Enterprise a privacy focused version of the AI chatbot with greater security and peace of mind for handling sensitive business data Revealed in March Microsoft Copilot is the company s vision of the future of work The GPT powered suite of tools lets you generate Office content using natural language text prompts For example you can ask PowerPoint to create a presentation based on a Word document generate a proposal from spreadsheet data or summarize emails and draft responses in Outlook ーall by typing simple commands “By grounding answers in business data like your documents emails calendar chats meetings and contacts and combining them with your working context ーthe meeting you re in now the emails you ve exchanged on a topic the chats you had last week ーCopilot delivers richer more relevant and more actionable responses to your questions Frank X Shaw Microsoft s Chief Communications Officer wrote in an announcement today Microsoft began testing Copilot with a small group of select enterprise partners earlier this year but hasn t yet announced when all business customers will gain access However announcing its pricing could mean that date is fast approaching The mo pricing will apply to Microsoft E E Business Standard and Business Premium customers The company still hasn t announced Copilot consumer pricing or availability Meanwhile Bing Chat Enterprise is Microsoft s more security minded variant of the popular AI chatbot that launched for consumers in February “Since launching the new Bing in February we ve heard from many corporate customers who are excited to empower their organizations with powerful new AI tools but are concerned that their companies data will not be protected Shaw wrote “That s why today we re announcing Bing Chat Enterprise which gives organizations AI powered chat for work with commercial data protection What goes in ーand comes out ーremains protected giving commercial customers managed access to better answers greater efficiency and new ways to be creative Bing Chat Enterprise begins rolling out today in a preview ーat no additional cost ーfor Microsoft E E Business Premium and Business Standard customers In addition the company says it will make the enterprise focused chatbot available as a standalone subscription “in the future This article originally appeared on Engadget at |
2023-07-18 15:30:42 |
海外TECH |
WIRED |
Fourth Amendment Is Not for Sale Act Goes Back to Congress |
https://www.wired.com/story/fourth-amendment-is-not-for-sale-act-2023/
|
Fourth Amendment Is Not for Sale Act Goes Back to CongressA bill to prevent cops and spies from buying Americans data instead of getting a warrant has a fighting chance in the US Congress as lawmakers team up against surveillance overreach |
2023-07-18 15:56:07 |
金融 |
◇◇ 保険デイリーニュース ◇◇(損保担当者必携!) |
保険デイリーニュース(07/19) |
http://www.yanaharu.com/ins/?p=5265
|
事故対応 |
2023-07-18 15:09:10 |
金融 |
金融庁ホームページ |
東北財務局が「令和5年7月7日からの大雨にかかる災害等に対する金融上の措置について」を要請しました。 |
https://www.fsa.go.jp/news/r5/ginkou/20230710.html
|
東北財務局 |
2023-07-18 16:32:00 |
ニュース |
BBC News - Home |
Troubles legacy bill: Families plea with MPs ahead of Commons vote |
https://www.bbc.co.uk/news/uk-northern-ireland-66226953?at_medium=RSS&at_campaign=KARANGA
|
commons |
2023-07-18 15:24:58 |
ニュース |
BBC News - Home |
Andre Onana: Manchester United agree deal for Inter Milan goalkeeper |
https://www.bbc.co.uk/sport/football/66235305?at_medium=RSS&at_campaign=KARANGA
|
additional |
2023-07-18 15:28:22 |
ニュース |
BBC News - Home |
Tour de France stage 16: Jonas Vingegaard keeps yellow jersey and blows away Tadej Pogacar |
https://www.bbc.co.uk/sport/cycling/66237675?at_medium=RSS&at_campaign=KARANGA
|
Tour de France stage Jonas Vingegaard keeps yellow jersey and blows away Tadej PogacarJonas Vingegaard tightened his grip on the yellow jersey in the Tour de France after he blew away Tadej Pogacar in the individual time trial |
2023-07-18 15:45:17 |
ニュース |
BBC News - Home |
The Ashes 2023: Ben Stokes says rain-affected fourth Test could help England |
https://www.bbc.co.uk/sport/cricket/66235792?at_medium=RSS&at_campaign=KARANGA
|
The Ashes Ben Stokes says rain affected fourth Test could help EnglandCaptain Ben Stokes says a weather shortened fourth Ashes Test could suit England as they look to level the series with Australia at Old Trafford |
2023-07-18 15:25:12 |
ニュース |
BBC News - Home |
Wimbledon legend Bjorn Borg's son Leo lands first ATP Tour win |
https://www.bbc.co.uk/sport/tennis/66237680?at_medium=RSS&at_campaign=KARANGA
|
sweden |
2023-07-18 15:22:25 |
ニュース |
BBC News - Home |
How to manage your holiday in a heatwave |
https://www.bbc.co.uk/news/uk-66232938?at_medium=RSS&at_campaign=KARANGA
|
heat |
2023-07-18 15:29:46 |
Azure |
Azure の更新情報 |
Public Preview: Vector search, a feature of Azure Cognitive Search |
https://azure.microsoft.com/ja-jp/updates/public-preview-vector-search-a-feature-of-azure-cognitive-search/
|
Public Preview Vector search a feature of Azure Cognitive SearchWith Vector search Developers can store index and deliver search applications over vector representations of organizational data including text images audio video and more |
2023-07-18 15:30:18 |
コメント
コメントを投稿