投稿時間:2022-02-12 01:15:07 RSSフィード2022-02-12 01:00 分まとめ(20件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
AWS AWS Architecture Blog How to Audit and Report S3 Prefix Level Access Using S3 Access Analyzer https://aws.amazon.com/blogs/architecture/how-to-audit-and-report-s3-prefix-level-access-using-s3-access-analyzer/ How to Audit and Report S Prefix Level Access Using S Access AnalyzerData Services teams in all industries are developing centralized data platforms that provide shared access to datasets across multiple business units and teams within the organization This makes data governance easier minimizes data redundancy thus reducing cost and improves data integrity The central data platform is often built with AWS Simple Storage Service S A … 2022-02-11 15:36:32
AWS AWSタグが付けられた新着投稿 - Qiita 4xx Client Error (クライアントエラー)をCloudWatchLogsで検知してメール送信する https://qiita.com/mittsukan/items/5fdf8cffce78050104a5 そして今回は「nginxxxTopic」という名前のSNSトピックを新たに作成してアラームの送信先のEメールエンドポイントを設定し、画面下部の次へをクリックします。 2022-02-12 00:59:30
AWS AWSタグが付けられた新着投稿 - Qiita AWS Protonを理解する① サービス概要 https://qiita.com/drummers-high/items/f1c0309e6604c4a8d92c こういう環境を用意するのが、AWSProtonというサービスなんだとか。 2022-02-12 00:44:40
Azure Azureタグが付けられた新着投稿 - Qiita ASP.NET Core Web API + React で作成したホロジュール Web アプリを Azure App Service へデプロイした https://qiita.com/kerobot/items/ffadec344d3f3f3a4587 今回はフリープランを利用していますので、フリープラン以外で利用できる機能などの確認や、これまでにPythonで作成したアプリのデプロイなども試してみようと思います。 2022-02-12 00:34:41
海外TECH MakeUseOf 5 Reasons to Consider a Google Home Security System https://www.makeuseof.com/google-home-security-system/ security 2022-02-11 15:30:23
海外TECH MakeUseOf Layer 1 vs. Layer 2: Blockchain Layers Explained Simply https://www.makeuseof.com/layer-1-vs-layer-2-blockchain-layers-explained-simply/ solutions 2022-02-11 15:17:09
海外TECH MakeUseOf How Meta Is Dealing With Sexual Harassment in VR https://www.makeuseof.com/meta-sexual-harassment-vr-personal-boundary/ boundary 2022-02-11 15:14:52
海外TECH DEV Community How To Get All Colour Code From Image. https://dev.to/vishal8236/how-to-get-all-colour-code-from-image-dol How To Get All Colour Code From Image Hello everyone I hope all are well Today i am going to show how you can get all colour code that are in the image It will be too helpful for fronted developer and website and mobile app designer It is amazing website and too easy to get image colour code as well as you can also get rgb colour code In the above example you can see that we get all colour code of the image have and you can also use zoom the image to get descriptive colour How to do thisstep go to website step Click on Use Your Image and upload image Thanks 2022-02-11 15:47:59
海外TECH DEV Community Spring Kafka Streams playground with Kotlin - III https://dev.to/thegroo/spring-kafka-streams-playground-with-kotlin-iii-7ij Spring Kafka Streams playground with Kotlin III ContextThis post is part of a series where we create a simple Kafka Streams Application with Kotlin using Spring boot and Spring Kafka Please check the first part of the tutorial to get started and get further context of what we re building If you want to start from here you can clone the source code for this project git clone git github com mmaia simple spring kafka stream kotlin git and then checkout v git checkout v and follow from there continuing with this post In this post we re going to create our first Spring Kafka Streams GlobalKTable with a RocksDB state store and expose it on our Rest Controller created in part II using a ReadOnlyKeyValueStore implementation Configure App for Spring Kafka StreamsNow that we re going to use Kafka Streams we need to let Spring Boot know that so we start adding the EnableKafkaStreams Spring Kafka annotation to the kafkaConfiguration class definition just below the EnableKafka one we already have Configuration EnableKafka EnableKafkaStreamsclass KafkaConfiguration We also need to add the basic default streams configuration the same way we did to the consumers and producers before but this time we will use the programmatic approach instead of adding as a Spring Boot configuration to the application yaml file which also would work but it s nice to have examples of both approaches so you re aware of them and can pick the one that suits you the best In case you have multiple consumers producers or streams in the same Spring Boot application and want different configurations for each you will have to take the programmatic approach as it gives you more flexibility to configure each specific client while the configuration approach only enables you to configure the default spring bean of each type In the KafkaConfiguration class we create the default Streams configuration Bean name KafkaStreamsDefaultConfiguration DEFAULT STREAMS CONFIG BEAN NAME fun defaultKafkaStreamsConfig KafkaStreamsConfiguration val props MutableMap lt String Any gt HashMap props StreamsConfig BOOTSTRAP SERVERS CONFIG KAFKA HOSTS props StreamsConfig DEFAULT DESERIALIZATION EXCEPTION HANDLER CLASS CONFIG LogAndContinueExceptionHandler class java props AbstractKafkaSchemaSerDeConfig SCHEMA REGISTRY URL CONFIG SCHEMA REGISTRY URL props StreamsConfig APPLICATION ID CONFIG quote stream props StreamsConfig DEFAULT KEY SERDE CLASS CONFIG Serdes String javaClass name props StreamsConfig DEFAULT VALUE SERDE CLASS CONFIG SpecificAvroSerde class java props ConsumerConfig GROUP ID CONFIG stock quotes stream group return KafkaStreamsConfiguration props and we will also add to the KafkaConfiguration class another bean so we can print out the Stream states which is good for learning and understanding purposes in a real application you could choose to not do this and if you do you would use a logger instead of stdout printing it like we do in this example Beanfun configurer StreamsBuilderFactoryBeanConfigurer return StreamsBuilderFactoryBeanConfigurer fb StreamsBuilderFactoryBean gt fb setStateListener newState KafkaStreams State oldState KafkaStreams State gt println State transition from oldState to newState Create a GlobalKTable for LeverageNow that our Kafka Streams are properly configured we can create our first Kafka Stream element We will start creating a GlobalKTable and a materialized view to the Leverage prices Create a new class called LeverageStream in the same repository package annotate it with Repository Repositoryclass LeverageStream Now before creating our GlobalKTable and Materialize it we need to tell Kafka Streams which type of Serialization and Deserialization it will need for the object we will process and store In Kafka Streams this is done using a Serde and because we are using Avro we will use an Avro Serde SpecificAvroSerde passing in our LeveragePrice type we have created in a previous step add the following to the LeverageStream class to declare the Serde configure and initialize it private val leveragePriceSerde SpecificAvroSerde lt LeveragePrice gt val serdeConfig MutableMap lt String String gt Collections singletonMap AbstractKafkaSchemaSerDeConfig SCHEMA REGISTRY URL CONFIG SCHEMA REGISTRY URL PostConstructfun init leveragePriceSerde configure serdeConfig false Now that we told Kafka Streams the Serde and the configuration where to get the Avro Schema we can add the following code which creates a GlobalKTable with a materialized RocksDB KeyValue store Bean fun leveragePriceBySymbolGKTable streamsBuilder StreamsBuilder GlobalKTable lt String LeveragePrice gt return streamsBuilder globalTable LEVERAGE PRICES TOPIC Materialized as lt String LeveragePrice KeyValueStore lt Bytes ByteArray gt gt LEVERAGE BY SYMBOL TABLE withKeySerde Serdes String withValueSerde leveragePriceSerde The materialized view will by default create a RocksDB locally to your application for you you don t have to manage or explicitly do anything it s Magic You might be wondering where the hack is this RocksDB being created well you can control that using a configuration StreamsConfig STATE DIR CONFIG i e state dir and point it to the location you want In this case I left the defaults as we didn t specify the property so it will pick the default depending on the O S you re running this tutorial On linux machines you will find it under tmp kafka streams stream id type rocksdb local storage name folder the full path for this case is tmp kafka streams quote stream global rocksdb leverage by symbol ktable where you can see the RocksDB files Expose Leverage Materialized viewGreat now that we have a local storage we want to be able to query it to get the most up to date Leverage for the instruments In order to be able to query RocksDB we will declare a ReadOnlyKeyValueStore we will use Kotlin s lateinit modifier as we need to bind in the Stream lifecycle before we initialize it i e the RocksDB storage needs to be in place Declare it in LeverageStream private lateinit var leveragePriceView ReadOnlyKeyValueStore lt String LeveragePrice gt and then declare a Bean listener to initialized it once the Stream is created Beanfun afterStart sbfb StreamsBuilderFactoryBean StreamsBuilderFactoryBean Listener val listener StreamsBuilderFactoryBean Listener object StreamsBuilderFactoryBean Listener override fun streamsAdded id String streams KafkaStreams leveragePriceView streams store lt ReadOnlyKeyValueStore lt String LeveragePrice gt gt StoreQueryParameters fromNameAndType LEVERAGE BY SYMBOL TABLE QueryableStoreTypes keyValueStore sbfb addListener listener return listener We can then create a function that we use to get the specific value passing in a key fun getLeveragePrice key String LeveragePrice return leveragePriceView key Finally we can then add a new REST endpoint to our QuotesController class to expose the Leverage GetMapping leveragePrice instrumentSymbol fun getLeveragePrice PathVariable instrumentSymbol String ResponseEntity lt LeveragePriceDTO gt val leveragePrice LeveragePrice leverageStream getLeveragePrice instrumentSymbol return ResponseEntity noContent build if quote doesn t exist in our local store we return no content val result LeveragePriceDTO leveragePrice symbol toString BigDecimal valueOf leveragePrice leverage return ResponseEntity ok result With that we can build and run our application mvn clean package DskipTests amp amp mvn spring boot run Make sure to have a local Kafka running as explained in part and part of this series and execute some calls Add a leverage which will send a new Leverage to the Kafka Topic POST http localhost api leverageContent Type application json lt test data leveragePrice jsonQuery it from the RocksDB local storage GET http localhost api leveragePrice APPLAdd a few more quotes and play around querying it so you ll see how the storage is automatically updated with the most up to date quote you ve sent As usual you can check the code up to this point checking out the project repo with git clone git github com mmaia simple spring kafka stream kotlin git and check out v with git checkout v This is it for part of this series I hope you had some fun learning and playing with Kafka Streams so far In the next post of this series we will create a Stream for Quotes Join with Leverage and branch producing it to different topics based on some criteria stay tuned Have fun be kind to yourself and others Photo by Ryland Dean on Unsplash 2022-02-11 15:38:53
海外TECH DEV Community How to return a response with OK HTTP Status Code with Jax-Rs https://dev.to/codever/how-to-return-a-response-with-ok-http-status-code-with-jax-rs-33e2 How to return a response with OK HTTP Status Code with Jax RsUse the ok method of the javax ws rs core Reponse class to create a ReponseBuilder with a status of OK or the ok Object entity to return OK with dataimport javax ejb Stateless import javax inject Inject import javax ws rs import javax ws rs core MediaType import javax ws rs core Response Path comparison Stateless Tag name Comparison public class ComparisonRestResource Inject private ComparisonService comparisonService HEAD Operation summary Ping HEAD description Check availability of the resource ApiResponses ApiResponse responseCode description Service is reachable via HTTP public Response head return Response ok build GET Produces MediaType TEXT PLAIN Operation summary Ping GET description Check availability of the example resource ApiResponses ApiResponse responseCode description Service is reachable via HTTP public Response ping return Response ok pong build Note that the ok methods shown before are just shortcuts forreturn Response status Response Status OK build andreturn Response status Response Status OK entity pong build respectively Shared with ️from Codever Use copy to mine functionality to add it to your personal snippets collection 2022-02-11 15:19:50
海外TECH DEV Community Symfony Station Communiqué — 11 February 2022. A look at Symfony and PHP news. https://dev.to/reubenwalker64/symfony-station-communique-11-february-2022-a-look-at-symfony-and-php-news-4hde Symfony Station Communiquéー February A look at Symfony and PHP news This communique originally appeared on Symfony Station Welcome to this week s Symfony Station Communiqué It s your weekly review of the most essential news in the Symfony and PHP development communities Take your time and enjoy the items most valuable for you Thanks to Javier Eguiluz and Symfony for sharing our last communiqué in their Week of Symfony Please note that links will open in a new browser window My opinions if I present any will be in bold SYMFONYAs always we will start with the official news from Symfony Highlight gt This week the upcoming Symfony version added context builders to simplify the creation of serialization contexts In addition  SymfonyCon announced that it s coming back as a physical conference at Disneyland Paris later this year November A Week of Symfony January February Currently the Call for Papers for SymfonyWorld Online Summer Edition and SymfonyCon Disneyland Paris are both open You can submit your talk and workshop proposals in English for both conferences Those for the Summer Edition end on February th Call for Papers open for SymfonyWorld Online Summer Edition and SymfonyCon Disneyland Paris And they announced the first set of speakers and talks for SymfonyCon en francais First selected talks at SymfonyLive Paris FEATURED ITEMMIT Tech Review notes “Something has changed for the tech giants Even as they continue to hold tremendous influence in our daily lives a growing accountability movement has begun to check their power Led in large part by tech workers themselves a movement seeking reform of how these companies do business treat their employees and conduct themselves as global citizens has taken on unprecedented momentum particularly in the past year Why the balance of power in tech is shifting toward workers This WeekAkashic Seer writes “you are not limited to just one logger in Symfony but the most popular is Monolog and Symfony has built in support making it easier to implement So that is what I cover here Symfony error logging handlers explainedI know I just shared one of these last week but this one has details statistics and illustrations Laravel vs Symfony the Key Differences in Coding CEO writes “People use to say Laravel apps do not scale well but after working with Laravel for some time are reviewing a lot of projects I think is not totally Laravel fault Indeed you can do great apps with Laravel the same as with Symonfy but is more easier to succeed with Symonfy than using Laravel The problem Laravel “magic Why Laravel apps don t scale well I Martin Schindler says “During a project cycle there are always situations that feel like deadlocks or circular dependencies…only seen on an organizational level He shares Decoupling frontend and backend development ーThe easy way Benjamin Ellis shows us how to generate a nice and human readable changelog with API Platform  Managing a changelog with API Platform amp OpenAPIZumata has this for us “As of version the Symfony routing package supports Attributes If there is one place where metadata is interesting to use it is routing In previous versions of PHP this could be solved using comments annotations With attributes the dependency on doctrine annotations is not needed anymore Symfony Routing with AttributesAlen Pokos writes “If you either love AWS services already or are looking for a good option to use with your multiplatform products AWS Cognito seems to be a good candidate to adopt into your technical stack Fastest Symfony authentication AWS Cognito integrationYannic Chenot asks “PHP doesn t have to be web only ーhow about you start creating your own CLI tools How to Build and Distribute Beautiful Command Line Applications with Symfony PHP and ComposerDrupal revealed how they will handle PHP requirements for the upcoming Drupal release Drupal PHP requirements will be announced at least five months before Drupal Devin Katz shares nine tasks awaiting you at the end of a Drupal migration Tasks at the End of Your Drupal MigrationWe shared some Lando items last week and in this article Specbee looks at Getting Started with Lando and Drupal Last week I shared a short tutorial from Lindevs They have many of them So instead of selecting one each week here they all are Lindev Symfony ContentIn this post Kinsta looks a WordPress based WooCommerce and Symfony based Magento Magento vs WooCommerce Which One Is Better Speaking of Symfony based e commerce platforms Aimeos announced “Since beta the Aimeos core is using Upscheme for updating the database schema and migrating data between new releases Upscheme is composer package for schema management based on Doctrine DBAL which offers an easy to use API You can also integrate Upscheme it in your own application easily and this article explains the differences and how you can write migrations with only a few lines of code Aimeos newsAnd contrary to the title here is a a quick overview of Prestashop Ultimate Guide to PrestaShop Everything You Need To Know Last WeekSuzanne Dergacheva writes “I believe any Drupal developer can use this advice everyone who contributes to building a website also contributes to UX When we all incorporate UX design thinking into our work the quality of our output can only get better In this article we ll discuss the goals of UX design how users evaluate it and specifically how developers can do their part to build a better user experience Making Better UX Choices Advice for Drupal DevelopersNathaniel Catchpole discusses long term Drupal support and how it ties in with Symfony s release cycle Long er Term Support for Drupal Somehow I missed this one last week from Jolicode Re discover XPath selectors TimelessSponsored ArticleWe published our second sponsored article on Symfony Station exploring how code driven monitoring helps you deliver successful Symfony products Like all our articles it is now available via audio How code driven monitoring helps you deliver successful Symfony productsAll sponsored articles are for products we have vetted and stand behind We either use them or would do so if they were applicable to the Symfony Station site PHPTomas Votruba presents “Software engineering principles from Robert C Martin s book Clean Code adapted for PHP This is not a style guide It s a guide to producing readable reusable and refactorable software in PHP Not every principle herein has to be strictly followed and even fewer will be universally agreed upon These are guidelines and nothing more but they are ones codified over many years of collective experience by the authors of Clean Code Inspired from clean code javascript “Clean Code concepts adapted for PHPBackend Developer takes a look at SOLID Principles in PHPZvonimir Spajic writes “If you follow Michael Feathers definition of legacy code every code not covered with tests then the first line of business in dealing with some legacy code that needs updating is to put it in a test harness write a test for it But this is often easier said than done It can be surprisingly hard just to instantiate a legacy class in a test due to the way it handles its dependencies Testing Legacy TroublesThe February edition of PHP Architect is out February EditionMatt Glaman “recently did a deep dive into command authoring with Drush which is where I discovered two amazing new features  auto discovery of commands via autoloading and the addition of attributes for defining your commands What are attributes Attributes were added in PHP and the overview on the PHP website is a great resource So if you are new to PHP and have been living on PHP still or haven t tried out PHP s coolest feature this blog will be a great introduction Writing Drush commands with PHP attributesPHP Monitor the native Mac app for managing PHP has released version PHP MonitorDariusz Gafka shows us how to Implement an Event Sourcing PHP Application in minutesWilliam Donizetti writes in Spanish “If you deal with databases in your day to day life you may have already noticed how data is often exposed in such a structured and easy to exploit way However this is not always interesting and through encryption we can minimize some of this data exposure and provide greater security for our applications AES e PHP criptografia de dados OTHERLet s start this section with a good reminder piece What is the htaccess file Smashing Mag a fantastic design resource writes “Statoscope is an instrument that analyses your webpack bundles Created by Sergey Melukov it started out as an experimental version in late which has now become a full fledged toolkit for viewing analyzing and validating webpack bundles Statoscope A Course Of Intensive Therapy For Your Webpack BundleThe ReadMe Project shares “The client side made a come back over the past decade as developers built “single page applications SPAs with JavaScript But a new crop of tools is sending the pendulum swinging back towards the server Obviously for Symfony this would be implemented with Turbo Mercure and Stimulus And we are particularly excited about Viewi Move over JavaScript Back end languages are coming to the front endSpeaking of the backend Kinsta notes “Most applications and programs in the modern era need somewhere to store data For web apps a database is a crucial cog in the wheel An open source database is your best bet for many reasons The Best in Open Source Database Software Top PicksLast week I shared some Web content Here s some more worth checking out if you haven t made up your mind Fast Company writes “the Web wave has a long way to go before proving it can produce technology with the functionality reliability security and scale needed to disrupt the internet we have now O Reilly is one of a handful of influencers who have begun to raise doubts about its chances of doing that After all he s seen this movie beforeーtwice Tim O Reilly helped bring us Web and Here s why he s a Web skeptic The global managing partner of Flourish Ventures Tilman Ehrbeck shares his perspective on a digital future that could expand economic opportunityーif innovators and society can harness its potential I m an advocate for inclusive capitalism Here s why I m intrigued by WebThe Atlantic writes “Web is making some people very rich It s making other people very angry The Crypto Backlash Is BoomingDocker says “They re excited to announce the release of Docker Desktop  which includes enhancements we re excited for you to try out New Docker Menu amp Improved Release Highlights with Docker Desktop Have you published or seen something related to Symfony or PHP that we missed If so  please get in touch That s it for this week Thanks for making it to the end of another extended edition I look forward to sharing next week s Symfony and PHP news with you on Friday Please share this post Be sure to join our newsletter list at the bottom of our site s pages Joining gets you each week s communiquéin your inbox a day early And follow us on Twitter at symfonfystation Do you own or work for an organization that would be interested in our promotion opportunities If so  please contact us We re in our infancy so it s extra economical Happy Coding Symfonistas Reuben WalkerFounderSymfony Station 2022-02-11 15:03:07
Apple AppleInsider - Frontpage News Secret CIA program may have breached Americans' privacy https://appleinsider.com/articles/22/02/11/secret-cia-program-may-have-breached-americans-privacy?utm_medium=rss Secret CIA program may have breached Americans x privacyUS Senators have accused the CIA of gathering mass amounts of data in a secret program that operates outside of the law However the scope of the program and types of data collected are unknown A secret CIA program is collecting American s dataSenators Ron Wyden and Martin Heinrich sent a letter to the CIA which was declassified but partially redacted on Thursday It stated that the CIA had been allegedly operating outside of laws passed by Congress under the authority of Executive Order to collect bulk data President Reagan signed the Executive Order in to govern intelligence community activity Read more 2022-02-11 15:56:07
Cisco Cisco Blog Options + Communication: The keys to delivering in any great relationship https://blogs.cisco.com/partner/options-communication-the-keys-to-delivering-in-any-great-relationship communication 2022-02-11 16:00:00
海外TECH CodeProject Latest Articles Creating a Universal Catering Bot https://www.codeproject.com/Articles/5324031/Creating-a-Universal-Catering-Bot github 2022-02-11 15:01:00
ニュース BBC News - Home Cressida Dick: New Met chief must tackle policing culture, says Priti Patel https://www.bbc.co.uk/news/uk-england-60345334?at_medium=RSS&at_campaign=KARANGA confidence 2022-02-11 15:40:48
ニュース BBC News - Home Ukraine tensions: Joe Biden says US citizens should leave Ukraine now https://www.bbc.co.uk/news/world-europe-60342814?at_medium=RSS&at_campaign=KARANGA action 2022-02-11 15:15:02
ニュース BBC News - Home Macron refused to take Russian Covid test https://www.bbc.co.uk/news/world-europe-60346300?at_medium=RSS&at_campaign=KARANGA covid 2022-02-11 15:09:48
ニュース BBC News - Home Questions need to be raised over GB skeleton failures, says Weston https://www.bbc.co.uk/sport/winter-olympics/60349720?at_medium=RSS&at_campaign=KARANGA Questions need to be raised over GB skeleton failures says WestonBritish skeleton racer Matt Weston acknowledges that questions need to be raised over the team s failure to win a medal at the Winter Olympics 2022-02-11 15:11:47
ニュース BBC News - Home Yorkshire regain right to host England matches https://www.bbc.co.uk/sport/cricket/60332592?at_medium=RSS&at_campaign=KARANGA march 2022-02-11 15:27:00
ニュース BBC News - Home Derby reach 'resolution' with Middlesbrough over compensation claim https://www.bbc.co.uk/sport/football/60350198?at_medium=RSS&at_campaign=KARANGA claim 2022-02-11 15:36:56

コメント

このブログの人気の投稿

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