投稿時間:2023-08-21 10:52:30 RSSフィード2023-08-21 10:00 分まとめ(249件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
python Pythonタグが付けられた新着投稿 - Qiita pythonで型宣言すると便利だった https://qiita.com/E_taku/items/b74188d3ec3b2d236146 非常 2023-08-20 17:52:39
python Pythonタグが付けられた新着投稿 - Qiita Discordに投稿された画像をGooglePhotoに保存するBotを作る https://qiita.com/es4yukk/items/bc677f1116993bd1909a discord 2023-08-20 17:44:48
python Pythonタグが付けられた新着投稿 - Qiita ABC315をPythonで解いてみたよ。(A~F問題) https://qiita.com/hyouchun/items/9d871d314f6e2d39c333 atcoder 2023-08-20 17:21:09
AWS AWSタグが付けられた新着投稿 - Qiita AWS Copilot CLIでApp Runnerを作る https://qiita.com/a_b_/items/decf0b0c020cab46e0f8 awscopilotcli 2023-08-20 17:01:38
Docker dockerタグが付けられた新着投稿 - Qiita Dockerについて https://qiita.com/tamura1225/items/576860c819eca15c3d08 docker 2023-08-20 17:42:16
Azure Azureタグが付けられた新着投稿 - Qiita ESUだけじゃない!? Azure Arc 対応サーバーでできること一覧! https://qiita.com/YoshiakiOi/items/7cc1b642b90f64a1f4e2 azurearc 2023-08-20 17:44:28
Azure Azureタグが付けられた新着投稿 - Qiita Azure環境へのSQL移行方法 https://qiita.com/depp23/items/61628b04c303301f3931 仮想マシン 2023-08-20 17:20:29
Git Gitタグが付けられた新着投稿 - Qiita gitignoreしていないのに変更・追加した差分が認識されない https://qiita.com/miu-P/items/2691e71b23cf4fe5cf35 backe 2023-08-20 17:42:55
海外TECH DEV Community SEO for Developers: Pagination https://dev.to/fabiancdng/seo-for-developers-pagination-3g9a SEO for Developers PaginationLearn how to optimize SEO when using pagination on your website This is a guide for web developers that covers my best practices code examples and tips to ensure your paginated content is accessible and visible to both users and search engines IntroductionPagination is great When your site grows in complexity and you have a lot of content that needs to fit on one page Pagination can help you structure everything without overwhelming your users or increasing loading times Pagination divides the content into smaller more manageable pages However pagination can also present challenges for search engine optimization SEO as search engines may not always crawl all pages in a paginated series potentially leading to a loss of visibility and traffic In this blog post we will explore some best practices for optimizing SEO when implementing pagination on your website or web app Use a consistent URL structureSearch engines and web crawlers are smart They see certain patterns themselves But for that there must be patterns Therefore I recommend to use a consistent URL structure for your paginated content A consistent URL structure could look something like this lt a href page gt lt a gt lt a href page gt lt a gt lt a href page gt lt a gt If you want to you can remove the for the first page Make it as clear as possible that the different URLs are the same content split into chunks DON T do something like this lt a href page gt lt a gt lt a href page gt lt a gt lt a href page gt lt a gt and DON T mix it up lt a href page gt lt a gt lt a href page gt lt a gt lt a href page p gt lt a gt According to Google It doesn t matter if you include the page number in the path itself or as a parameter so this example is okay too lt a href page gt lt a gt lt a href page gt lt a gt lt a href page gt lt a gt Just be consistent about what pattern you use Implement rel prev next tagsAnother very important tip Not so much for Google but for any other search engine this is crucial In case you didn t know You can use HTML tags in the lt head gt of your page to signal web crawlers the relations between your paginated pages and how they are linked together Imagine we re browsing through a pagination and we re on page Then we can tell the browser search engine web crawler what the previous and next pages are using the lt link gt tags below lt head gt lt link rel prev href page gt lt link rel next href page gt lt head gt Google themselves say in their documentation “Google no longer uses these tags although these links may still be used by other search engines So even though Google does not seem to use these tags anymore they are still very much important for any other search engine Canonicalization of linksThis tip is something you should be doing already regardless of whether you have paginated content or not But be careful It s very easy to mess up canonical links when dealing with paginated content What is canonicalization There s another kind of lt link gt tag that can signal a search engine what the preferred URL for a piece of content is On a website there are all kinds of redirects and a lot of ways duplicate content could end up on search engines further decreasing your ranking One example A web page is accessible at http and https Boom Now there are two versions of the same webpage Another example A web page is accessible at www fabiancdng com and fabiancdng com Boom Another version You can prevent this from being a problem by telling search engines that all these versions are the exact same piece of content by including the following tag in your lt head gt lt head gt lt link rel canonical href gt lt head gt Now the search engine knows that the preferred way of accessing this page is regardless of how it got there Canonicalization and paginationCanonicalization can also help you make sure search engines understand your link structure when you have paginated content BUT only if every sub page has it s own unique canonical link tag Imagine we re on page of a blog Correct lt head gt lt link rel canonical href gt lt head gt Incorrect lt head gt lt link rel canonical href gt lt head gt Note When on a sub page do not link back to the root page in the canonical link tag Optimize page titles and meta descriptionsMy last tip is to use dynamic variables in page titles and meta descriptions that give more context and make them unique You could include the page number in the title and description for instance lt head gt lt title gt Page page number fabiancdng com lt title gt lt meta name description content Page page number of our collection of articles on category name gt lt head gt ConclusionBy following these best practices you can make it much easier for search engines to understand your site and its structure Even when not all your pages are crawled at the same time and in a row which is very likely your chances of ranking in the search results and having search engines discover all the content on your page are high Cheers This post was originally published on my website on April If you found this article helpful consider following for more and giving the post a You can also show your appreciation by leaving me a tip for my next coffee ️ Your support would mean a lot to me ️ 2023-08-20 08:38:41
海外TECH DEV Community Weekly reading digest #1 https://dev.to/rubenrubiob/weekly-reading-digest-1-6ob Weekly reading digest The PHP stat cache explainedAbout Symfony Messenger and InteroperabilityGranular eventsUnit Tests Are Overrated Rethinking Testing StrategiesJust normal web thingsA Brief Incomplete and Mostly Wrong History of Programming Languages 2023-08-20 08:12:11
海外TECH DEV Community The ChatGPT Boom is Over - FINALLY! https://dev.to/polterguy/the-chatgpt-boom-is-over-finally-45db The ChatGPT Boom is Over FINALLY The last months we ve seen a boom without historical precedence I am of course talking about the ChatGPT and AI boom The boom is over now and it has officially been cancelled Sorry you re not going to get rich fast without putting down some actual work The world simply doesn t work that way I have personally witnessed companies trying to make some fast cash on this boom popping out of the woodwork like maggots at spring Everybody thought they were going to get rich fast delivering zero actual value by creating some garbage tech on top of OpenAI s API and ChatGPT The party is over and you can all go home The MadnessI remember back in February some guy integrating ChatGPT into GHL using some basic prompt engineering creating a system message claiming to have sold his software for the first week alone I am not shitting you I could have created the same system with both my hands tied to my back being forced to code with my nose blindfolded in the dark while attending a Dimmu Borgir concert And I could have created it in minutes ZERO value People were still flocking to the dude as if he was some sort of modern AI Messiah promising to deliver them from evil resulting in a life of prosperity where they could have everything they point their fingers at Including a private jet a harem of virgins and a trillion dollar mansion in Paradise If I had a dollar for every get rich fast with ChatGPT schemes I ve seen the last months I would be a billionaire today Where is the ChatGPT app The above was the by far most popular question on Facebook the last months I would know I m participating in most of the ChatGPT Facebook groups myself Every time some get rich fast dude asked the above question I had to sit on my hands to avoid answering IT S A FREAKIN WEBSITE DUDE A couple of time I tried answering the above but it was impossible to use reason Their limbic reward system based upon endorphines and dopamid had long since high jacked their brains having flushed reason and logic down the toilet as if it was the breakfast from yesterday Thousands of companies made small fortunes on this ignorance I would know at least of my friends created ChatGPT apps for iPhones and Androids selling these for per month while OpenAI was desperately trying to give it away for free from their website Psst HERE is the ChatGPT app It works from all phones You know the psychosis is real when they start selling Chai GPT from an Indian Tea House At some point even OpenAI became so frustrated by this they created their own app At this point Ukrainian outsourcing companies desperately looking to capitalize on the boom had already made mountains of cash on their users ignorance For the record such apps can literally be created by a junior developer in minutes And people PAID for it Even Mister Investor The Schmuck bought an app like this I tried to explain to him how it works he just told me It s not how it works He would know because he s made billions of dollars selling cake and bread The boom is OVERThe boom is over Like all booms it can only exist for a finite amount of time until people realize they will not buy a private jet unless they actually put down some work NOTHING pleases me more than the fact that the boom is over To understand why realize that all of the above get rich fast schemes are making our lives difficult We who actually try to create value on top of AI solving real problems trying to create real products are drowning in the marketing noise of all the get rich fast preachers out there trying to convince you to give them your money Practically for nothing I have been working on AI since the mid s and all of a sudden I needed to explain why my stuff is better than a collection of prompts bundled into a PDF by a teenager with a degree in sales and marketing from The Ponzi School of How to Sell Rubbish to Idiots This boom created so much trouble for me you cannot possibly imagine it The AI boom is OVER HALLELUJAH PRAISE THE LORD If you are serious about AI and you re willing to invest in it realizing it can give you an ROI without historical precedence You can contact us below If you want to simply get rich fast without putting down any work please go away We don t want to hear from you because you re simply noise to us and the rest of the industry I ve heard crypto is booming again though Maybe go buy some BitCoin Or contact us if you are serious about AI and Machine Learning 2023-08-20 08:04:36
海外TECH CodeProject Latest Articles AES Encrypted Data Transmission between Arduino (ESP32) and C# (ASP.NET) https://www.codeproject.com/Articles/5365769/AES-Encrypted-Data-Transmission-between-Arduino-ES arduino 2023-08-20 08:27:00
ニュース BBC News - Home Canada wildfires: At least 30,000 households told to evacuate as fires approach https://www.bbc.co.uk/news/world-us-canada-66562610?at_medium=RSS&at_campaign=KARANGA waterside 2023-08-20 08:47:18
ニュース BBC News - Home Man dies after fall from cruise ship at Port of Cromarty Firth https://www.bbc.co.uk/news/uk-scotland-highlands-islands-66562826?at_medium=RSS&at_campaign=KARANGA infirmary 2023-08-20 08:12:15
AWS AWSタグが付けられた新着投稿 - Qiita AWS Well-Architectedフレームワーク https://qiita.com/Nikk0r0/items/482d0d6d0919f88ebd8f awswellarchitected 2023-08-20 18:52:33
golang Goタグが付けられた新着投稿 - Qiita 【Go】Minioソースコード解析(1) - エントリポイント、ビット腐敗アルゴリズム、サーバーエントリーポイント https://qiita.com/moxixii/items/5de4a80b35f602d619ca minio 2023-08-20 18:26:59
GCP gcpタグが付けられた新着投稿 - Qiita Google Cloudインフラ構築ハンズオンやってみた https://qiita.com/kei3524848/items/4e6285e6c00cf6d31f3c googlecloud 2023-08-20 18:14:51
Azure Azureタグが付けられた新着投稿 - Qiita Azure App Serviceを自分なりに整理 https://qiita.com/ryuseiyarou/items/f5ee018e42e48a3be4e6 appservice 2023-08-20 18:44:31
Azure Azureタグが付けられた新着投稿 - Qiita Azure でマイクロサービスといえば Azure Spring Apps かもしれない https://qiita.com/takashiuesaka/items/e42fd0a4152e2a22c5bd azurespringapps 2023-08-20 18:22:12
Azure Azureタグが付けられた新着投稿 - Qiita Azure Spring Apps Enterprise の Tips (Java版) https://qiita.com/takashiuesaka/items/daedf3e127743bfab9e9 azurespringapps 2023-08-20 18:20:58
Azure Azureタグが付けられた新着投稿 - Qiita Azure Spring Apps Enterprise の Tips (C#版) https://qiita.com/takashiuesaka/items/cb19cb368700551732af azurespringapps 2023-08-20 18:18:10
技術ブログ Developers.IO [アップデート] Amazon FSx for NetApp ONTAPでEMSイベントログを確認できるようになりました https://dev.classmethod.jp/articles/fsxn-ems-events/ amazonfsxfornetappontap 2023-08-20 09:09:55
海外科学 NYT > Science Russia’s Luna-25 Moon Lander Is Lost in a Crash https://www.nytimes.com/2023/08/20/science/russia-moon-space-crash.html roscosmos 2023-08-20 09:56:10
海外科学 NYT > Science These Bees Have Been Mummified in Their Cocoons for 3,000 Years https://www.nytimes.com/2023/08/20/science/mummified-bees-cocoons.html These Bees Have Been Mummified in Their Cocoons for YearsInsects rarely survive in fossilized form but a strange series of events somehow killed and preserved these brooding bees for millenniums 2023-08-20 09:36:11
ニュース BBC News - Home Russia's Luna-25 spacecraft crashes into Moon https://www.bbc.co.uk/news/world-europe-66562629?at_medium=RSS&at_campaign=KARANGA craft 2023-08-20 09:51:30
ニュース BBC News - Home Fifa Women's World Cup final: Welsh Guards in musical tribute to Lionesses https://www.bbc.co.uk/news/uk-66563323?at_medium=RSS&at_campaign=KARANGA london 2023-08-20 09:38:11
ニュース BBC News - Home Waitrose offers police free coffees to deter thieves https://www.bbc.co.uk/news/business-66562640?at_medium=RSS&at_campaign=KARANGA latte 2023-08-20 09:38:45
ニュース BBC News - Home BBC Sport's Jo Currie steps inside the Lionesses' dressing room ahead of the World Cup final https://www.bbc.co.uk/sport/av/football/66563395?at_medium=RSS&at_campaign=KARANGA world 2023-08-20 09:36:54
海外TECH reddit ジブリ映画監督 森田宏幸さん「DJ SODAの言ってる性被害って、公開型のつつもたせなのだろう」 https://www.reddit.com/r/newsokuexp/comments/15w6kla/ジブリ映画監督_森田宏幸さんdj_sodaの言ってる性被害って公開型のつつもたせなのだろう/ ornewsokuexplinkcomments 2023-08-20 09:11:30
TECH Techable(テッカブル) ノーコード業務アプリ作成ツール「サスケWorks」に、GPT活用の“テキスト自動生成機能”が追加 https://techable.jp/archives/217238 chatgpt 2023-08-20 10:00:33
AWS AWSタグが付けられた新着投稿 - Qiita SSMセッションマネージャーでのログイン時に自動でbashを叩こうとしたら大失敗してた https://qiita.com/kisama2000/items/8a1b89ce382f340a78b5 bourneshellsh 2023-08-20 19:18:14
Git Gitタグが付けられた新着投稿 - Qiita Learn Git Branching | Git Fetch https://qiita.com/ooyy0121/items/a4754fbc38b754dee94f fetch 2023-08-20 19:18:41
海外科学 NYT > Science Russia’s Luna-25 Moon Lander Is Lost in a Crash https://www.nytimes.com/2023/08/20/science/russia-moon-space-crash.html roscosmos 2023-08-20 10:14:52
ニュース BBC News - Home Russia's Luna-25 spacecraft crashes into Moon https://www.bbc.co.uk/news/world-europe-66562629?at_medium=RSS&at_campaign=KARANGA craft 2023-08-20 10:16:16
ニュース BBC News - Home Women's World Cup 2023: Olga Carmona strikes to put Spain ahead against England in final https://www.bbc.co.uk/sport/av/football/66562982?at_medium=RSS&at_campaign=KARANGA Women x s World Cup Olga Carmona strikes to put Spain ahead against England in finalOlga Carmona fires home to give Spain the lead over England in the first half of the Women s World Cup final in Sydney 2023-08-20 10:41:57
ニュース BBC News - Home Women's World Cup 2023: England's Lauren Hemp hits crossbar in final https://www.bbc.co.uk/sport/av/football/66562977?at_medium=RSS&at_campaign=KARANGA world 2023-08-20 10:39:15
ニュース BBC News - Home World Cup final:: Spain v England - rate the players https://www.bbc.co.uk/sport/football/66562475?at_medium=RSS&at_campaign=KARANGA spain 2023-08-20 10:24:14
python Pythonタグが付けられた新着投稿 - Qiita シフト表を自動生成するプログラム https://qiita.com/a_d_j_u_s_t/items/31b72bd183b64a945b9b employ 2023-08-20 20:41:19
python Pythonタグが付けられた新着投稿 - Qiita Among Us Launcher的なのを自作した録 https://qiita.com/nattyan_tv/items/c303a88dd27b4c54696c amongus 2023-08-20 20:39:43
golang Goタグが付けられた新着投稿 - Qiita Ebitengineの環境構築にちょっと苦労した話 https://qiita.com/midorigame737/items/bd452ce567e5ce298c31 ebitengine 2023-08-20 20:07:24
海外TECH DEV Community Spring Shell - Build CLI apps https://dev.to/noelopez/spring-shell-build-cli-apps-2l1o Spring Shell Build CLI apps What is Spring Shell Spring shell is a project of the Spring ecosystem that helps create shell applications command line apps interacting via the terminal easily In this article we are going to build a runnable application with some commands to communicate with the Customer RESTAPI app We will re use the code from the last article New Spring RestClient The projectWe are going to build a cli application with the following features Allow searching customers by different criteria and display the results in table format Allow finding a specific customer by id and display the information in table format Allow updating customer properties and display outcome of the operation This will require authentication in the application Allow deleting a customer by id and display outcome of the operation This will require authentication in the application In this article we will concentrate in items and and will leave and for a second part Lets move on to the next section and start setting up the project Project DependenciesThis project will need two dependecies Spring shell and Spring web We will add the Spring validation dependency later on to validate user input Maven pom xml file must contain lt dependency gt lt groupId gt org springframework boot lt groupId gt lt artifactId gt spring boot starter web lt artifactId gt lt dependency gt lt dependency gt lt groupId gt org springframework shell lt groupId gt lt artifactId gt spring shell starter lt artifactId gt lt dependency gt When running the application Spring Boot detects the shell starter dependencies in the classpath and will automatically prompt a cli as shown below Registering CommandsWe need to register commands one for each action There are two ways to define a command using an annotation model and using a programmatic model We will choose the annotation model for our application Methods and classes are marked with specific annotations to define commands Spring boot x comes with new support for defining commands using annotations The previous annotations shell are considered legacy and will be deprecated and removed Hence we will focus on the new annonations The Command annotation is used to mark a method as candidate for command registration It can also be placed on a class to apply settings to methods defined in the same class Lets create a class with a command method find a candidate by id Command group Customer Commands public class CustomerCommands private CustomerService customerService public CustomerCommands CustomerService customerService this customerService customerService Command command find customer description Finds a Customer By Id public String findCustomer Option required true description The customer id Long id return customerService findCustomer id toString Let s analyse the above lines of code In line the class is marked as a command which means it will have command methods The group option organises related commands that can be put together and displays them in the same group in the help option In line our app will hand over to a service to find the customer In line method findCustomer is annotated as a command method The annotation accepts the command option to specify the name of the command when invoked from the shell By default command key follow dashed gnu style names For instance method findCustomer becomes find customer Also description is set to provide more info on what the command does In line return type will be a string representing the customer Option marks the parameter as required command option of type Long If it is not informed an error will be raised It is possible to defined the short and long format of the option That is the prefix or before the parameter value We will see it in action when testing the code In line The call to search the customer by id is delgated to service Service code will be shown at a later point in the article But that is not enough to register a target command It is required to use EnableCommand and or CommandScan annotations We will register our target class CustomerCommands using EnableCommand It will be picked up when application is run SpringBootApplication EnableCommand CustomerCommands class public class CustomerShellApplication public static void main String args SpringApplication run CustomerShellApplication class args Alternatively the CommandScan will automatically scan all command targets from all packages and classes under the RestClientShellApplication class SpringBootApplication CommandScanpublic class CustomerShellApplication public static void main String args SpringApplication run CustomerShellApplication class args Now the application is ready to be tested Before that there is one thing to mention When the application is started the SpringBoot banner and the logs are displayed in the CLI This will deteriorate the user experience Both can be turned off adding the propertieslogging level root OFFspring main banner mode offspring main web application type noneAs the project contains spring mvc dependencies to make use of the restclient the web server can be disabled Let s run the application and type help As we can see in the above picture there are two command groups The Built In Commands provided by Spring They are common features that can be found in most shells The second group is the Customer Commands group where the find customer command is located The command and description are shown as set in the annotation Searching a customer is as simple as typing any of the below linesFirst line call does not specify the arg name Second and third lines pass the short and long format respectively In all cases the correct customer is returned from the web service Service LayerWe are going to explore the Service layer more detailed in this section As this is not directly related to Spring Shell you may skip this part and go to the Exception Handling section The service is a class that facilitates communication between the command class and the web service Servicepublic class CustomerService private HttpAPIHandler httpAPIHandler public CustomerService HttpAPIHandler httpAPIHandler this httpAPIHandler httpAPIHandler public CustomerResponse findCustomer Long id return httpAPIHandler findCustomer id It uses a handler to call the web service with the Spring RestClient For more info on how RestClient works you can visit the previous article here Componentpublic final class HttpAPIHandler private final APIProperties apiProperties private final RestClient restClient private final ObjectMapper objectMapper public HttpAPIHandler APIProperties apiProperties ObjectMapper objectMapper this properties properties this objectMapper objectMapper restClient RestClient builder baseUrl properties getUrl defaultHeader HttpHeaders AUTHORIZATION encodeBasic properties getUsername properties getPassword defaultStatusHandler HttpStatusCode isxxClientError request response gt var errorDetails objectMapper readValue response getBody readAllBytes ErrorDetails class throw new RestClientCustomException response getStatusCode errorDetails build public CustomerResponse findCustomer Long id return restClient get uri id id accept MediaType APPLICATION JSON retrieve body CustomerResponse class The first constructor parameter injected is the APIproperties This is a simple property configuration class which loads the url username and password from application properties Value works for a single property but we want to have them together hence they are isolated into a separated POJO Configuration ConfigurationProperties prefix application rest v customer public class ClientProperties String url String username String password setters getter omitted And the properties definitions in appapplication rest v customer url http localhost api v customersapplication rest v customer username userapplication rest v customer password passwordThe second constructor parameter injected is an ObjectMapper This class belongs to the jackson databind jar It is needed to serialize the error response json object containing status message and timestamp from the web service to the ErrorDetails recordpublic record ErrorDetails int status String message LocalDateTime timestamp The ObjectMapper is declared in a separeted class for app configuration To manage dates and times correctly the JavaTimeModule must be registered Configurationpublic class AppConfig Bean ObjectMapper objectMapper ObjectMapper objectMapper new ObjectMapper objectMapper registerModule new JavaTimeModule return objectMapper With that all the pieces of the service layer are connected Exception HandlingThere are situations where the program will not complete the task to find a customer successfully For example what happens when the web service is down or a customer does not exists The following figure shows the output in these scenarios Spring shell offers a chain of Exception Resolver implementations to resolve exceptions and can return messages to be displayed in the console Optionally an exit code can be returned together wrapped in the class CommandHandlingResult however this is only for non interactive shell The steps to setup a Exception resolver are described here Create a custom exception resolver implementing the interface CommandExceptionResolver Define the resolver as a bean globally It can be defined for a particular command programmatically too See Spring Shell documentation for more info on it Let s implement the Exception resolver class Code can be seen in the next linespublic class CLIExceptionResolver implements CommandExceptionResolver Override public CommandHandlingResult resolve Exception ex if ex instanceof RestClientCustomException e return CommandHandlingResult of e getErrorDetails message n else if ex instanceof ResourceAccessException e return CommandHandlingResult of Customer API is not available at the moment n return CommandHandlingResult of ex getMessage n CommandHandlingResult comes with an overloaded factory method of It takes a String representing the error message and optionally an exit code Next the bean must be defined We will add it to the AppConfig class along with the ObjectMapper Configurationpublic class AppConfig Bean CLIExceptionResolver customExceptionResolver return new CLIExceptionResolver It is time to check if the exception handling works fine Let s re run the two tests Now both exceptions return the messages as per CLIExceptionResolver Formatting outputIn this section we will be adding a new command to find customers and present the data in a table The new command method accepts two optional parameters An enum representing the customer status and a Boolean indicating whether the customer is vip or not Command command find customers description Find Customers By Status and vip public String findCustomers Option required false longNames status shortNames s CustomerStatus status Option required false longNames vip shortNames v Boolean vip throws JsonProcessingException List lt CustomerResponse gt customers customerService findCustomers status vip return ouputFormatter coverToTable customers public enum CustomerStatus ACTIVATED DEACTIVATED SUSPENDED In line the service gets a list of customers filtering by status and or vip Implementation of the code in the HttpAPIHandler is shown below The most interesting part of the code is the return statement in which the response as a string is converted to List with the help of the objectMapper This is because body method does not accepts parameterised types Passing List class will return a list of maps public List lt CustomerResponse gt findCustomers CustomerStatus status Boolean vip throws JsonProcessingException String response restClient get uri getQueryString status vip accept MediaType APPLICATION JSON retrieve body String class return Arrays stream objectMapper readValue response CustomerResponse class toList In line the formatted ouput is generated with the help of the class outFormatter This class is declared as a bean in Appconfig class where we kept all the projects beans Then it is constructor injected in CustomerCommands BeanOuputFormatter ouputFormatter return new OuputFormatter Let s have a closer look this class to view how the table is created public final class OuputFormatter public String coverToTable List lt CustomerResponse gt customers var data customers stream map OuputFormatter toRow collect Collectors toList data add addRow id name email vip status ArrayTableModel model new ArrayTableModel data toArray Object new TableBuilder table new TableBuilder model table addHeaderAndVerticalsBorders BorderStyle fancy light return table build render private static String toRow CustomerResponse c return addRow String valueOf c id c personInfo name c personInfo email String valueOf c detailsInfo vip c status private static String addRow String id String name String email String vip String status return new String id name email vip status Let s dissect the code line by line The list of customers is converter to a list of String extrating the customer response fields Header is added to the list head first element of the list ArrayTableModel from Spring shell represents the model of the table backed by a row first array The cosntructor takes a bidimensional array as the data Each array inside the outer array is a row The list is transformed to an array The TableBuilder configures a table from the model object holding the table data Border is set to the table Table is built and rendered with a width of We are ready to search customers with the new command All that is needed is to invoke the new command and inform any of the arguments And the styled table gives a nice touch to our shell application ConclusionThis article has been longer than usual but I think it was worth it We have learned the basics of Spring Shell and some more advanced features like table formatting There will be a second part covering the items and of the Project section We will also explore other advanced features such as Dynamic Availability Full code for the proejct can be found in the github repo here If you liked this article do not hesitate to follow me and received new posts every month 2023-08-20 11:25:16
海外TECH DEV Community Difference between cookie and session in PHP? https://dev.to/sonamojha/difference-between-cookie-and-session-in-php-hm Difference between cookie and session in PHP Cookies Cookies are small pieces of data that are stored on the client side user s browser Cookies have a size limitation around KB Cookies can be set with an expiration time Cookies are often used for tracking user activity remembering user preferences and implementing features like Remember Me Setting and reading cookies is relatively straightforward using PHP s setcookie and COOKIE superglobal Session Sessions store data on the server side Sessions can store larger amounts of data since the data is stored on the server Sessions typically expire after a certain period of inactivity or when the browser is closed Sessions are commonly used for user authentication storing temporary data across multiple pages and maintaining the user s state Sessions are managed through the session start function and accessed using the SESSION superglobal 2023-08-20 11:04:48
ニュース BBC News - Home Russia's Luna-25 spacecraft crashes into Moon https://www.bbc.co.uk/news/world-europe-66562629?at_medium=RSS&at_campaign=KARANGA craft 2023-08-20 11:39:00
ニュース BBC News - Home 'Could this be turning point?' Earps makes penalty save https://www.bbc.co.uk/sport/av/football/66562980?at_medium=RSS&at_campaign=KARANGA world 2023-08-20 11:44:40
ニュース BBC News - Home Canada wildfires: At least 30,000 households told to evacuate as fires approach https://www.bbc.co.uk/news/world-us-canada-66562610?at_medium=RSS&at_campaign=KARANGA waterside 2023-08-20 11:41:52
ニュース BBC News - Home Niger coup leader Gen Tchiani promises to handover power in three years https://www.bbc.co.uk/news/world-africa-66562765?at_medium=RSS&at_campaign=KARANGA foreign 2023-08-20 11:26:35
ニュース BBC News - Home Hurricane Hilary weakens but could still be deadly - US https://www.bbc.co.uk/news/world-us-canada-66499946?at_medium=RSS&at_campaign=KARANGA california 2023-08-20 11:02:38
ニュース Newsweek セクシーなキスシーンも...米シンガー、不倫相手と噂される女性と「いちゃつく」MVが物議 https://www.newsweekjapan.jp/stories/culture/2023/08/mv-3.php ウェイドとリチャーズは月日、インスタグラムに動画を投稿し、人を取り巻くうわさについて、「何もない」と否定したが、同時に今回のコラボについても発表していた。 2023-08-20 20:10:00
海外TECH reddit Is It Normal For Japanese Woman To Stop Having Sex After A Few Years? https://www.reddit.com/r/japanlife/comments/15w8zfj/is_it_normal_for_japanese_woman_to_stop_having/ Is It Normal For Japanese Woman To Stop Having Sex After A Few Years I hear this often from people that Japanese women will stop desiring to have sex after having children or after a few years of marriage Obviously all things are usually individualized but is this more pronounced in Japanese culture submitted by u Captain Comment to r japanlife link comments 2023-08-20 11:29:28
IT 気になる、記になる… 2023年上半期に最も売れたスマホは「iPhone 13」 − BCNランキングがTOP10を公開 https://taisy0.com/2023/08/20/175556.html iphone 2023-08-20 12:37:49
AWS AWSタグが付けられた新着投稿 - Qiita 「AppSyncってなんだ?」を解消しよう https://qiita.com/gotanda_kazutaka/items/bb038aa75d971adf474d appsync 2023-08-20 21:51:52
AWS AWSタグが付けられた新着投稿 - Qiita 【Databricks】Unity Catalogを作成してみた https://qiita.com/zumax/items/c84ea4f13459f887b393 datab 2023-08-20 21:45:41
Git Gitタグが付けられた新着投稿 - Qiita git push時のerror: src refspec master does not match anyについて https://qiita.com/fitryo0370/items/f8acc85318b2c092f8e7 gitpsuhori 2023-08-20 21:56:33
海外TECH DEV Community What is REST or REST API ? in easy language https://dev.to/diwakarkashyap/what-is-rest-or-rest-api-in-easy-language-5a8m What is REST or REST API in easy languageFirst i Start with Easy approach then move forward to traditional approachImagine a restaurant Restaurant The Server The restaurant has a kitchen where food is prepared Menu API Endpoints The menu lists all the dishes you can order Just like the menu has different dishes an API has different endpoints or functions you can request Waiter The Middleman or Interface To order food you give your order to the waiter The waiter is like the API You ask it for something and it goes to the kitchen the server to get it for you Ordering Making a Request You ask the waiter for a specific dish from the menu Similarly with an API you make a specific request to get certain information Receiving Your Food Getting a Response The waiter brings back your dish from the kitchen Similarly after you make a request to an API it gives back the information response you asked for Now the word REST in REST API is just a set of rules or guidelines for how this ordering and delivering process should work It s like saying the waiter should always be polite always write down the order and always bring the dish from the kitchen in a certain way In the digital world a REST API is a way for different software applications to talk to each other using these guidelines So when you re using an app on your phone and it shows you the weather it might be using a REST API to ask a weather server for the current temperature The server responds and then the app displays the temperature to you Let s Move to Traditional approachlet s dive a bit deeper A REST API Representational State Transfer Application Programming Interface is a set of rules and conventions for building and interacting with web services The core ideas behind a RESTful approach are Resources In REST every piece of information or data is considered a resource and each resource should have a unique identifier usually a URL For example in a book store API each book could be a resource and might have a unique URL like HTTP Methods RESTful services use standard HTTP methods to perform operations on resources GET Retrieve information E g fetching details of a book POST Create a new resource E g adding a new book to the store PUT Update an existing resource E g updating details of a book DELETE Remove a resource E g deleting a book from the store Statelessness Every request from a client to a server must contain all the information needed to understand and process the request The server should not store anything about the client s session between requests This makes the system more scalable and robust JSON or XML While RESTful APIs can use any format for sending data JSON JavaScript Object Notation and XML eXtensible Markup Language are the most common formats used for transferring data Communication In REST communication is typically done over HTTP HTTPS and the API responses are fast because of their stateless nature Status Codes REST uses standard HTTP status codes to indicate the success or failure of an API request For example OK means the request was successful while Not Found means the requested resource was not found Benefits of REST API Interoperability Can be used across any platform or device that understands HTTP Scalability Due to its stateless nature RESTful systems can be easily scaled Standardized Uses standard HTTP methods and status codes which makes it easier to understand Performance Efficient communication using standard web protocols To sum up a REST API provides a set of rules and conventions for how web services should be designed and accessed When you use websites or apps that fetch data from the internet like seeing tweets on Twitter posts on Facebook or products on Amazon behind the scenes they re likely using REST APIs to request and receive that data Thank you for reading I encourage you to follow me on Twitter where I regularly share content about JavaScript and React as well as contribute to open source projects and learning golang I am currently seeking a remote job or internship Twitter GitHub Portfolio 2023-08-20 12:36:47
海外TECH DEV Community 20 VS Code Extensions That Will Take Your Productivity to the Next Level https://dev.to/devland/20-vs-code-extensions-that-will-take-your-productivity-to-the-next-level-9g VS Code Extensions That Will Take Your Productivity to the Next LevelVS Code is one of the most used Code Editors we pass our time with a versatile companion that has redefined the way we approach software development Its lightweight interface combined with a powerful set of features has made it a preferred choice for programmers across the globe But what sets apart the average VS Code user from the adept developer is the art of harnessing its full potential through extensions In this post I ll showcase a collection of immensely valuable VS Code extensions meticulously crafted to boost your productivity and streamline your workflow Better CommentsI ve been utilizing Better Comments extension for about a year now and I must say it s been a game changer This extension empowers you to craft more human friendly comments within your code effortlessly Its functionality lies in enhancing your code commenting experience by introducing a variety of colors to your comments effectively transforming them from the mundane default gray The ease of use with this extension is truly remarkable The process is straightforward simply append specific special characters after the comment symbol such as in JavaScript and before your actual comment content This clever approach instantly transforms your comments into eye catching elements that stand out amidst your code REST ClientREST Client stands out as one of the most widely used extensions providing developers with the remarkable capability to send HTTP requests and seamlessly view the corresponding response messages all within the confines of VS Code itself This extension s sheer utility has transformed the way developers interact with APIs and has become an essential part of modern development workflows Image PreviewThe Image Preview extension is designed to offer frontend developers a seamless experience when working with visual elements in HTML files It introduces inline previews for images presenting a pop up window within the editor surface Additionally it provides the option for an image preview in the gutter area a feature that can be easily customized through User Settings This flexibility ensures a user friendly approach to managing and visualizing images directly within your HTML code VSCode Project DashboardThis extension brings a familiar and efficient method to navigate projects in VS Code Inspired by browser speed dial menus it offers a convenient way to access your commonly used projects But it s not just about access You can manage your projects easily too You can add edit remove and change the order of projects making it fit your preferences and ongoing work seamlessly Git GraphGit Graph extension is a useful tool for developers who work with Git in Visual Studio Code It creates a visual map of your project s branches and commits right inside VS Code Its visual representation helps you follow the development path showing where branches start where they merge and when commits happen It s like a roadmap for your project s history You can zoom in and click on commits to see more details This extension is especially handy when you re working with others as it makes it easy to track changes and understand how different parts of your codebase fit together Path IntellisensePath Intellisense extension suggests file paths as you type so you don t have to remember or type them manually It s like having a smart helper that makes sure you get paths right quickly and with fewer mistakes This works for different types of projects and coding languages making your coding experience smoother PolacodePolacode is an extension for VS Code that allows you to capture source code screenshots with the same theme and fonts you ve chosen It arranges the code smartly preserving your visual setup Import CostThis extension is one of my favorite tools in Visual Studio Code It instantly displays the size of JavaScript packages as you import them providing insights into their impact on your project s performance It seamlessly supports package managers like npm and Yarn simplifying the process of optimizing your project s speed Project ManagerProject Manager in Visual Studio Code brings organization and convenience to your development workflow Its core feature is providing effortless access to your projects eliminating the risk of overlooking important ones Whether your projects are scattered across various locations the extension ensures quick and easy retrieval Say goodbye to missing out on crucial projects The extension offers flexibility in defining your projects also referred to as Favorites Alternatively it offers automated detection for Git Mercurial and SVN repositories as well as VSCode folders or any other directory PrettierPrettier is an invaluable extension that I ve relied on for years and it s a must have for any project This tool automatically formats your code simplifying the process of maintaining a consistent codebase Regardless of individual preferences within the team Prettier ensures that the code is formatted uniformly for everyone Apart from ensuring code consistency Prettier also offers a significant time saving advantage You no longer need to spend time manually formatting code or deliberating over its presentation Prettier takes care of this automatically enhancing your coding efficiency EslintESLint is a widely used extension that spots errors and bugs in code making coding better It helps you avoid mistakes by showing where errors or warnings might pop up Plus it can even fix these issues automatically If you re curious about ESLint check out its documentation for more info Live ServerLive Server brings your web projects to life by creating a local development server that keeps your browser in sync with your code changes No more manual refreshes needed As you save your HTML CSS or JavaScript files It automatically updates your browser giving you an instant view of your changes Tabnine AI AutocompleteTabNine AI Autocomplete for VS Code ranks among my top extensions seamlessly enhancing my productivity As an invaluable AI powered tool for code editors it leverages deep learning to propose code completions With support for a diverse range of programming languages such as Python JavaScript Typescript PHP Rust Go and Java TabNine proves to be an indispensable asset From code generation and unit test writing to documentation creation and legacy code explanations TabNine offers comprehensive support Github CopilotSimilar to TabNine AI GitHub Copilot is another AI coding assistant designed to accelerate developers coding process enabling them to tackle larger challenges maintain their focus prolong their state of flow and find greater satisfaction in their work The main key distinction is that GitHub Copilot employs the OpenAI Codex to provide real time code suggestions and even complete functions directly within your editor In contrast TabNine employs an in house code specific language model LLM to facilitate code auto completion GiflensGifLens supercharges the GIF capabilities built into Visual Studio Code It helps you to visualize GIFs at a glance using GIFLENS tags and code lens seamlessly navigate and explore Gif repositories gain valuable insights via powerful GIFs and so much more GitLensGitLens takes your Git capabilities in Visual Studio Code to the next level It lets you easily see who authored code using Git blame annotations and code lens navigate Git repositories effortlessly compare code effectively and gain valuable insights npm intellisensenpm Intellisense is a handy extension that simplifies your coding experience when working with JavaScript and Node js projects It automatically suggests and completes npm package imports as you type helping you save time and reduce errors in your code With npm Intellisense adding dependencies to your projects becomes smoother and more efficient DockerDocker VS Code Extension enhances your coding with Docker integration directly within Visual Studio Code It streamlines container management image creation and deployment tasks all from the convenience of your coding environment Regex PreviewerThe Regex Previewer extension in VS Code is a useful tool for working with regular expressions It enables real time testing and debugging of regex patterns ensuring accurate matches This extension saves time by letting you quickly iterate and refine your regular expressions right within the editor Markdown All in OneMarkdown All in One is a complete VS Code extension for Markdown files It makes creating and editing Markdown easy with various features like shortcuts formatting and more SummaryAs you wrap up consider adding your valuable additions to the list in the comments below These VS Code extensions are just the beginning of a journey that can greatly enhance your coding experience From smarter code completion to seamless version control and beyond these tools are here to help you code faster and smarter Remember the beauty of Visual Studio Code is in its extensibility so explore experiment and tailor your setup to meet your unique needs THANK YOU FOR READING I hope you found this article useful Don t hesitate to share it with friends and colleagues sharing is caring Connect with me on LinkedIn to read more about JavaScript React Node js and more… Interested in collaborating Reach out on Upwork 2023-08-20 12:00:34
海外TECH CodeProject Latest Articles REST API Visibility Control https://www.codeproject.com/Articles/5366931/REST-API-Visibility-Control controlcustomize 2023-08-20 12:40:00
海外科学 NYT > Science Russia’s Luna-25 Moon Lander Is Lost in a Crash https://www.nytimes.com/2023/08/20/science/russia-moon-space-crash.html roscosmos 2023-08-20 12:06:05
ニュース BBC News - Home Ukraine war: Russia says drone injures five at Kursk railway station https://www.bbc.co.uk/news/world-europe-66563675?at_medium=RSS&at_campaign=KARANGA moscow 2023-08-20 12:16:09
ニュース BBC News - Home World Championships 2023: Katarina Johnson-Thompson leads before final heptathlon event https://www.bbc.co.uk/sport/athletics/66560986?at_medium=RSS&at_campaign=KARANGA World Championships Katarina Johnson Thompson leads before final heptathlon eventKatarina Johnson Thompson is in gold medal position heading into the heptathlon s final event at the World Athletics Championships 2023-08-20 12:23:30
ニュース BBC News - Home England 'heartbroken' after Women's World Cup final defeat by Spain, says Millie Bright https://www.bbc.co.uk/sport/football/66563706?at_medium=RSS&at_campaign=KARANGA England x heartbroken x after Women x s World Cup final defeat by Spain says Millie BrightEngland captain Millie Bright says the defeat to Spain in the Women s World Cup final is really hard to take 2023-08-20 12:44:28
ニュース BBC News - Home England's wait to win first Women's World Cup goes on https://www.bbc.co.uk/sport/football/66561827?at_medium=RSS&at_campaign=KARANGA England x s wait to win first Women x s World Cup goes onEngland s wait to win a first Women s World Cup title goes on following defeat by Spain in the final on a heartbreaking evening in Sydney 2023-08-20 12:36:52
ニュース BBC News - Home Watch moment Spain win their first Women's World Cup https://www.bbc.co.uk/sport/av/football/66563829?at_medium=RSS&at_campaign=KARANGA sydney 2023-08-20 12:20:51
ニュース BBC News - Home Rate the players https://www.bbc.co.uk/sport/football/66562475?at_medium=RSS&at_campaign=KARANGA spain 2023-08-20 12:51:46
ニュース BBC News - Home Women's World Cup 2023: England beaten by Spain in final - highlights https://www.bbc.co.uk/sport/av/football/66470705?at_medium=RSS&at_campaign=KARANGA sydney 2023-08-20 12:39:37
ニュース BBC News - Home World Athletics Championships 2023: Katarina Johnson-Thompson leads heptathlon https://www.bbc.co.uk/sport/av/athletics/66563962?at_medium=RSS&at_campaign=KARANGA World Athletics Championships Katarina Johnson Thompson leads heptathlonWatch Great Britain s Katarina Johnson Thompson move into heptathlon lead with one event to go after impressive displays in the long jump and javelin 2023-08-20 12:18:19
ニュース BBC News - Home The Hundred 2023: Manchester Originals beat Northern Superchargers at Old Trafford https://www.bbc.co.uk/sport/cricket/66564043?at_medium=RSS&at_campaign=KARANGA The Hundred Manchester Originals beat Northern Superchargers at Old TraffordNorthern Superchargers chances of qualifying automatically for the Hundred final suffer a blow after a three wicket defeat by Manchester Originals at Old Trafford 2023-08-20 12:51:48
python Pythonタグが付けられた新着投稿 - Qiita 機械学習の関数まとめ https://qiita.com/sarara/items/fe45a83ae227892e0414 機械学習 2023-08-20 22:44:17
python Pythonタグが付けられた新着投稿 - Qiita #0018 list in listから指定の行を取り出す方法 https://qiita.com/kkkkodama10/items/ec9565a6cf99b76708f2 listinlist 2023-08-20 22:39:14
python Pythonタグが付けられた新着投稿 - Qiita 生成AIのWebアプリをGoogle Colaboratoryで作ってみた(LINE japanese-large-lm) https://qiita.com/DEmodoriGatsuO/items/b1ee3c81fdaeeb243a50 googlecolaboratory 2023-08-20 22:36:30
python Pythonタグが付けられた新着投稿 - Qiita #0017 numpy.reshape(-1, ...) の使い方 https://qiita.com/kkkkodama10/items/285623dff4013cde3f99 xreshape 2023-08-20 22:21:25
AWS AWSタグが付けられた新着投稿 - Qiita 【AWS】DynamoDB パフォーマンスチューニング https://qiita.com/sakuchi/items/490f9301b621aaabd4bb autoscaling 2023-08-20 22:48:38
AWS AWSタグが付けられた新着投稿 - Qiita API GatewayをRoute53の独自ドメインでデプロイした話 https://qiita.com/Kento210/items/ab5d0cd54962fde6cd4b apigateway 2023-08-20 22:26:30
AWS AWSタグが付けられた新着投稿 - Qiita CDKで3層Webアプリケーションを速攻で構築してみる https://qiita.com/atw0_0w/items/425b0c74f989192103a0 awscdk 2023-08-20 22:24:01
技術ブログ Developers.IO AWS WAFの基礎が学べるワークショップをやってみた https://dev.classmethod.jp/articles/workshop-aws-waf-202308/ awswaf 2023-08-20 13:52:46
海外TECH CodeProject Latest Articles REST API Visibility Control https://www.codeproject.com/Articles/5366931/REST-API-Visibility-Control controlcustomize 2023-08-20 13:50:00
海外科学 NYT > Science Russia’s Luna-25 Moon Lander Is Lost in a Crash https://www.nytimes.com/2023/08/20/science/russia-moon-space-crash.html roscosmos 2023-08-20 13:21:12
ニュース BBC News - Home Ron Cephas Jones, This Is Us star, dies aged 66 https://www.bbc.co.uk/news/entertainment-arts-66564317?at_medium=RSS&at_campaign=KARANGA problems 2023-08-20 13:40:17
ニュース BBC News - Home England fans in tears as Spain supporters ecstatic https://www.bbc.co.uk/news/uk-66563442?at_medium=RSS&at_campaign=KARANGA defeat 2023-08-20 13:02:19
ニュース BBC News - Home The Hundred 2023: Manchester Originals beat Northern Superchargers at Old Trafford https://www.bbc.co.uk/sport/cricket/66564043?at_medium=RSS&at_campaign=KARANGA The Hundred Manchester Originals beat Northern Superchargers at Old TraffordNorthern Superchargers chances of qualifying automatically for the Hundred final suffer a blow after a three wicket defeat by Manchester Originals at Old Trafford 2023-08-20 13:11:59
IT ITmedia 総合記事一覧 [ITmedia Mobile] X(旧Twitter)の「ブロック機能」は効果なし? マスク氏による「同機能の削除」予告で物議 https://www.itmedia.co.jp/mobile/articles/2308/20/news059.html itmediamobilex 2023-08-20 23:30:00
python Pythonタグが付けられた新着投稿 - Qiita Pythonでの並列処理について勉強、実装してみた https://qiita.com/ZawaP/items/666a4a0674cdb5858fdb tldrpythoncpython 2023-08-20 23:48:48
python Pythonタグが付けられた新着投稿 - Qiita Flask で、templates と static 以下のファイルをキャッシュされないようにする https://qiita.com/hiroyuki-inaba/items/6c9db8648240e61d4e80 static 2023-08-20 23:32:28
python Pythonタグが付けられた新着投稿 - Qiita RenderでPythonバージョンを指定する方法 https://qiita.com/nekkoneko/items/aa138c86bf619026938a settingsgten 2023-08-20 23:07:11
python Pythonタグが付けられた新着投稿 - Qiita AtCoder過去問: Python~第一回アルゴリズム実技検定(随時更新) https://qiita.com/Kyubu1999/items/177ffe07e92066d39dc8 atcoder 2023-08-20 23:02:06
js JavaScriptタグが付けられた新着投稿 - Qiita 【JavaScript】プリミティブとオブジェクトとは? https://qiita.com/sakuc47/items/743393750a7032e449b3 javascript 2023-08-20 23:41:09
Git Gitタグが付けられた新着投稿 - Qiita 【Git】エラー : failed to push some refs to https://qiita.com/Oriko/items/f5198f49faf56ce351fd failedtopushsomerefsto 2023-08-20 23:31:06
Git Gitタグが付けられた新着投稿 - Qiita git 間違えてmergeしたcommitを取り消したい https://qiita.com/appar377/items/4de429250885b481ec6d commit 2023-08-20 23:27:57
技術ブログ Developers.IO VMware Cloud on AWSを体系的に学べるハンズオンラボを触ってみた https://dev.classmethod.jp/articles/vmware-cloud-on-aws-hol/ vmwarecloudonaws 2023-08-20 14:23:22
海外TECH DEV Community React Hook: useGlobalState https://dev.to/perssondennis/react-hook-useglobalstate-3c9b React Hook useGlobalStateSharing state between React components is crucial in most applications With useGlobalState you can quickly share a state between multiple components without using a context provider or external lib The hook is useful for small projects when a React context provider is not desired In This ArticleHow To UseShare State Between ComponentsuseGlobalState Hook ExplainedWhen Not To UseRedux and Contexts May Not Be NecessaryUse CasesServer Rendering SupportTypeScript VersionPubSub Implementation How To UseuseGlobalState is just as easy to use as React s useState hook only difference is that useGlobalState takes an object as first argument instead of the initial state The object has a required property shareKey which is used to identify the data which should be shared globally All components which uses the same shareKey will share the same data import useGlobalState from hooks useGlobalState const SHARED COUNT KEY someUniqueKey const ComponentOne gt const count setCount useGlobalState lt number gt initialState shareKey SHARED COUNT KEY return lt div gt lt h gt Component one lt h gt lt div gt Count count lt div gt lt button onClick gt setCount count gt Add lt button gt lt div gt export default ComponentOne Share State Between ComponentsIf you have multiple components each component can use one or more of this useGlobalState hook to share state with one or multiple other component An example with two components sharing the same state can be found on CodeSandbox If you want to test the hook while reading about it it s available to try out there on CodeSandbox or downloadable from GitHub Why not share this article with a friend useGlobalState Hook ExplainedLet s take a look at the implementation of the hook and later we look at some use cases import pubSub from lib pubsub import useCallback useEffect useState from react const useGlobalState initialState onStateUpdated shareKey gt const state setState useState initialState const onStateUpdate useCallback data gt setState data onStateUpdated data onStateUpdated useEffect gt pubSub subscribe shareKey onStateUpdate return gt pubSub unsubscribe shareKey onStateUpdate onStateUpdate shareKey const setSharedState useCallback data gt pubSub emit shareKey data shareKey return state setSharedState export default useGlobalStateFirst thing first the hook depends on a pubsub import In short the pubsub import is what is actually used to share the state between components with the help of subscription and events No React context needed You can find the implementation of it at GitHub or at the end of this article together with TypeScript versions of the useGlobalState hook Second thing to notice the hook takes an object with three properties As can be seen in the TypeScript version a bit further down shareKey is the only required property That is the key used to identify the data you share Components which uses this hook with the same shareKey will share the same state If different shareKeys are used they will not share the state Simple as that initialState is an optional property you can use to use to set an initial state If you use this one make sure to use the same initial state for all components using the same shareKey Providing different values when you want to share a state doesn t make sense Last argument property is onStateUpdate It s a callback that can be used to listen at state updates if that would be of interest The rest of the code is just to subscribe and unsubscribe to the pubsub and to emit new values to it when setting a new state React Anti Patterns and Best Practices Do s and Don ts Dennis Persson・Feb react javascript webdev programming When Not To UseBefore talking about when to use this hook I want to discuss when not to use it As a developer you should never just go with first available solution without consider the alternatives You can read this article about proactive vs reactive developers to understand why that is important If the project you are coding on already uses a state handling solution like Redux or MobX you likely have no need for this hook Better option would be to continue on that path In fact if you plan to store a good amount of data Redux is still a good option to consider for that Another tough concurrent to this hook is regular React contexts Let s face it contexts are built for React and default option to store small states It s perfect to use if you need to add some small functions to fake a small store like a Redux store Remember though a context combined with a reducer which many people promote as a replacement for Redux is NOT a good option if you need to store states larger than tiny In that article I just linked you can find five reasons to why Redux is to prefer over reducer context solution Redux and Contexts May Not Be NecessaryDid I just convince you Redux and Contexts are more viable options than the hook in this article Or did I scare you from using contexts Either way let s continue the discussion with some actual use cases and benefits of this hook React projects can be of any kind and any size New hooks libraries and frameworks are coming every day Some of the hooks from the latest years are RTK Query and some other popular hooks like useSWR and useQuery With hooks like that it s definitely not an obvious choice to use Redux as it used to be Hooks like useSWR work by caching your requests You share the state between components by a cache which is built into the hook The interesting thing here is that useSWR hook does not require a context provider it relies on a global cache unless you opt in for a context for manual cache control The useGlobalState is a concise example of what the cache control for a hook like useSWR could look like internally And in fact I m very glad useSWR went for a solution without a context Not because it s cumbersome to add a context provider but because contexts are more complex to architect than you may think In general moving them further up in the component tree means more rerenders while moving them down leads to isolated contexts which are more difficult to keep synced with each other Easy Lenny it s time now Use CasesWith the previous chapters in mind about usages of Redux and contexts we can now tell a few cases when this hook could be suitable to use Library Without a Need For a Context ProviderAs discussed earlier we can use this hook when implementing a small library which needs a global state With this hook there s no need to use a context provider for the lib user Singleton HookYou can use this hook in another hook to make that hook a singleton hook Normally each component which uses a hook gets a new state for that hook The state of the hook is not shared with other components using the same hook In some cases you want a hook which can share the state between all usages of the same hook In that case you can use this hook within you implemented hook to share its state basically making it a singleton hook One Time Usages for Small ProjectsSome projects are small Adding Redux or a context or whatever you need may not be necessary A small project with a single or a few pages can likely be small enough to just need a single shared state Maybe it s even a proof of concept project This hook may come in handy in that case Why Server Components A Brief History of Web Dennis Persson・Jul react nextjs webdev javascript Server Rendering SupportWhen you are using Next js or other solutions where server side rendering may occur you must as usual remember that component and hook states calculated on the server isn t available on the client Not with this hook not with React contexts and not with Redux The states are stored one the client That doesn t mean that this hook cannot be used when server rendering exists The hook does work with server rendering it s just that the state will not be propagated to the server it will stay on the client TypeScript VersionEven though I m pretty sure TypeScript haters know TypeScript well enough to spot the types and remove them on their own I still used the JavaScript implementation above just because it s easy to overview The TypeScript hook uses TypeScript generics to let you use use it with any type custom or built in import pubSub from lib pubsub import useCallback useEffect useState from react interface UseGlobalStateProps lt T gt shareKey string initialState T onStateUpdated data T gt void const useGlobalState lt T gt initialState onStateUpdated shareKey UseGlobalStateProps lt T gt gt const state setState useState lt T gt initialState as T const onStateUpdate useCallback data T gt setState data onStateUpdated data onStateUpdated useEffect gt pubSub subscribe shareKey onStateUpdate return gt pubSub unsubscribe shareKey onStateUpdate onStateUpdate shareKey const setSharedState useCallback data T gt pubSub emit shareKey data shareKey return state setSharedState as T data T gt void export default useGlobalState PubSub ImplementationThe pubsub TypeScript implementation the hook depends on is quite standard It keeps a record of subscribers and provides functions for subscribing and unsubscribing to events It is possible to subscribe to different events by calling the subscribe function with different values for event argument The PubSub object also has an emit function which can be used to submit events which will be propagated to all subscribers If a subscriber would subscribe after some events already has been emitted the last event for each event is stored and can optionally be emitted with the emitLatestOnSubscribe option passed in as an argument to the subscribe function The emitLatestOnSubscribe option is recommended to be used when React components are rendered conditionally In that way components can receive the latest state whenever they are mounted type PubSubCallback data any gt void interface PubSubSubscribeOptions emitLatestOnSubscribe boolean interface PubSub emit event string data unknown gt void latestEvents Record lt string unknown gt subscribe event string callback PubSubCallback options PubSubSubscribeOptions gt void subscribers Record lt string PubSubCallback gt unsubscribe event string callback PubSubCallback gt void export const pubSub PubSub latestEvents subscribers subscribe event callback options emitLatestOnSubscribe true gt const emitLatestOnSubscribe options if pubSub subscribers event pubSub subscribers event pubSub subscribers event push callback if emitLatestOnSubscribe amp amp Object prototype hasOwnProperty call pubSub latestEvents event callback pubSub latestEvents event unsubscribe event callback gt if pubSub subscribers event pubSub subscribers event pubSub subscribers event filter cb gt cb callback emit event data gt if pubSub subscribers event pubSub latestEvents event data pubSub subscribers event forEach callback gt callback data Dennis PerssonFollow I m a former teacher writing articles about software development and everything around it My ambition is to provide people all around the world with free education and humorous reading 2023-08-20 14:35:37
海外TECH DEV Community Yet Another Newsletter LOL: So Fresh! https://dev.to/nickytonline/yet-another-newsletter-lol-so-fresh-1ojf Yet Another Newsletter LOL So Fresh Another week another newsletter Let s get to it Around the WebIntroducing the Enhanced Monorepo Experience on Netlify The enhanced monorepo support that landed recently on Netlify is impressive I had a chance to dogfood it and provide feedback as it was being iterated on Hat tip to my co worker Lukas Holzer on this one Fresh just landed with faster page loads layouts and more Marvin has been on fire since becoming a maintainer for Fresh Fantastic to see all this goodness NativeWind If you re a fan of Tailwind or even if you aren t this project seems pretty compelling for React Native developers NativeWind uses Tailwind CSS as scripting language to create a universal style system for React Native NativeWind components can be shared between platforms and will output their styles as CSS StyleSheet on web and StyleSheet create for native Hat tip to Ricky for the share Fun StuffThis is my own fun stuff this week I got to see all kinds of whales on my trip to Newfoundland Words of Wisdom for the Week How do you stay on track with your own growth in a fast paced startup environment Some great knowledge nuggets from Kevin Ball a k a KBall on this question Shameless PlugsThere was no nickyt live this week as I was off but there s a good one coming up next week with Brian Douglas We ll discuss the pizza project a Go micro service that sources git commits from any arbitrary git repo and indexes them into a postgres database With a bit of downtime in the evening while on vacation I put out this short guide to debugging Firefox add ons extensions If you re an extension developer or aspiring one maybe you ll find it helpful JobsLEGO is looking for a Lead Engineer Developer Relations Copenhagen Denmark It s not remote but it sounds like a really excellent opportunity I post jobs in the iamdeveloper com community plus all other kinds of content as do others If you re looking for another friendly nook of the internet head to discord iamdeveloper com If you liked this newsletter you can subscribe or if RSS is your jam you can also subscribe via RSS 2023-08-20 14:19:24
海外TECH DEV Community 15 Free Bootstrap 5 Admin Dashboard Templates 2023. https://dev.to/freedashboards/15-free-bootstrap-5-admin-dashboard-templates-2023-268b Free Bootstrap Admin Dashboard Templates Best Bootstrap Admin DashboardsBootstrap Admin dashboards are pre designed templates that allow developers to easily create professional looking admin panels for their web applications These dashboards are built using the popular front end framework Bootstrap which provides a responsive and mobile first design These templates provide a modern and clean design along with a wide range of components and features that make it easy to create powerful and user friendly admin interfaces The dashboards include a variety of layouts dark and light color schemes and customization options allowing you to choose the one that best suits your project s needs With Bootstrap you also get the advantage of responsive design ensuring that your admin dashboards look great on any device Whether you re developing a web application SAAS platform or any other project that requires an admin dashboard these free templates can save you time and effort by providing a solid foundation to build upon Simply download and customize them to fit your branding and functionality requirements and get started with your admin interface in no time Using these admin dashboards you can save a significant amount of time and effort in designing and developing your own admin panel They come with a well organized code structure and comprehensive documentation making it easy for developers to customize and integrate them into their projects Whether you re working on a personal project a startup or a large scale enterprise application the Free Bootstrap Admin Dashboards can help you create a professional and impressive admin panel in no time Arise Free Bootstrap Admin DashboardArise is a free Bootstrap admin template designed to help developers to create a professional dashboard quickly and easily This modern and minimalistic admin template is built using HTML CSS and the Bootstrap framework with Sass It is a user friendly and responsive design that looks great on any device DownloadUnify Free Bootstrap Admin PanelUnify is an admin panel a web based user interface that allows administrators to manage and control various aspects of a system or application It provides a centralized platform for performing tasks such as user management content management data analysis system configuration and more DownloadAdmin Pro Bootstrap Admin DashboardAdmin Pro Bootstrap Dashboard is a powerful admin dashboard template that is built with the popular Bootstrap framework It is designed to provide developers and website administrators with a user friendly interface to manage and control various aspects of their website or application DownloadCliq Bootstrap Admin DashboardCliq is a Bootstrap admin panel built with the concept of a tiles layout It comes with different dashboard layouts fully responsive HTML pages and colorful widgets This is the best open source admin dashboard amp control panel theme and built on top of Bootstrap Cliq provides a range of responsive reusable and commonly used components DownloadUnity Bootstrap Admin TemplateUnity Admin Theme is a sleek and professional theme designed specifically for admin panels and backend interfaces With a clean and modern design it enhances the user experience and makes navigating through the admin area a breeze DownloadMax Social Admin TemplateMax A free Bootstrap admin template that comes with two Sales and social admin dashboards DownloadSupport Desk Bootstrap Admin TemplateSupport Desk is the horizontal menu admin template built with the latest Bootstrap and SCSS It is a clean dark and unique design concept that comes with glossy SVG icons The graphs are customized by using CSS DownloadCare Bootstrap Admin DashboardCare is the horizontal menu admin theme built with the latest Bootstrap and SCSS It is a clean dark and unique design concept that comes with glossy SVG icons The graphs are customized by using CSS The color scheme was selected from Adobe color schemes DownloadVenus Bootstrap Admin TemplateVenus Bootstrap multi purpose HTML admin template This admin template Includes HTML pages jQuery plugins and UI components It comes with pre built admin dashboards analytics and sales DownloadMoonlight Ecommerce Bootstrap Admin DashboardMoonlight is the simple fast developer friendly and highly customizable Bootstrap theme to build your next web app DownloadMars Bootstrap Admin PanelMars is the simple fast  developer friendly and highly customizable free bootstrap admin theme to build your next web app It is a professional and modern dashboard template built using the popular Bootstrap framework It is designed to provide a user friendly interface for managing and monitoring various aspects of an application or website DownloadGalaxy Dark Bootstrap Admin DashboardGalaxy is a Bootstrap dark admin template built with the concept of a transparent tiles layout It comes with different dashboard layouts fully responsive HTML pages and colorful widgets This dark Bootstrap Admin is a powerful and modern admin dashboard template built with the Bootstrap framework DownloadCustomer Service Bootstrap Admin ThemeThe Customer Service dashboard provides you with a complete overview of your help desk activity in real time Use this support admin dashboard to monitor ticket volume  and to track responsiveness and handling time across your support team  This customer service dashboard is a tool that provides a centralized view of key metrics and data related to customer service operations DownloadHelpdesk Bootstrap Admin DashboardThe Helpdesk Service dashboard is a comprehensive tool to manage and track incoming support requests It provides a user friendly interface where support agents can manage tickets monitor performance metrics and streamline customer interactions DownloadElite Bootstrap Admin DashboardElite unique styled admin template is fully responsive and built with Bootstrap Framework HTML CSS and SCSS It has a huge collection of reusable UI components Ui kit and is integrated with the latest jQuery plugins It can be used for all types of web applications like custom admin panels project management systems admin dashboards Backend applications or CRM Download 2023-08-20 14:05:17
海外TECH DEV Community How to work with OpenAI APIs https://dev.to/godopetza/how-to-work-with-openai-apis-1478 How to work with OpenAI APIsIf you are confused about how OpenAI APIs work this post will give you a high overview and explain to you how you can utilize the Basic Chat Completion API Just like any other RESTful APIs you have worked with before all we do is setup a request from our client and send the payload to OpenAI s server and we will receive a response back from them based on the query we sent But what do you put in the client request The client request is composed of the instructions that we want OpenAI to process and then send back a response based off this payload For OpenAI the payload will consist of the model we want to use messages prompt assistant and user messages and temperature As seen above messages will contain three sets of roles system assistant and user All the messages should be added to this list if you are working with a chatbot that needs to have the memory of previous chats between user and assistant For the temperature the lower the temperature the more predictable and repetitive the responses returned will be is the recommended temperature but tune it to fit your needs I hope you have learned something new Don t forget to follow my socials for more of these short tutorials TwitterLinkedIn 2023-08-20 14:02:25
Apple AppleInsider - Frontpage News Daily Deals Aug. 20: $150 off M2 MacBook Air, 35% off Shark Robot Vac, MagSafe Wireless Charger for $30, more https://appleinsider.com/articles/23/08/20/daily-deals-aug-20-150-off-m2-macbook-air-35-off-shark-robot-vac-magsafe-wireless-charger-for-30-more?utm_medium=rss Daily Deals Aug off M MacBook Air off Shark Robot Vac MagSafe Wireless Charger for moreToday s hottest deals include a Garmin Index S Smart scale for off a Garmin Fenix Sapphire multisport GPS watch off a Hisense Mini LED Google Smart TV and more Save on a M MacBook AirThe AppleInsider crew searches the web for top notch discounts at online retailers to curate a list of excellent deals on popular tech items including deals on Apple products TVs accessories and other gadgets We share our top finds every day to help you maximize your savings Read more 2023-08-20 14:27:34
Apple AppleInsider - Frontpage News Tesla iOS app update lets you ask Siri to lock the doors https://appleinsider.com/articles/23/08/20/tesla-ios-app-update-lets-you-ask-siri-to-lock-the-doors?utm_medium=rss Tesla iOS app update lets you ask Siri to lock the doorsTesla s latest update for its iOS app has added support for Apple s Shortcuts enabling drivers to instruct their vehicles to perform various commands simply by asking Siri Tesla Read more 2023-08-20 14:09:08
海外TECH Engadget Hitting the Books: Why we haven't made the 'Citizen Kane' of gaming https://www.engadget.com/hitting-the-books-the-stuff-games-are-made-of-pippin-barr-mit-press-143054954.html?src=rss Hitting the Books Why we haven x t made the x Citizen Kane x of gamingSteven Spielberg s wholesome sci fi classic E T the Extra Terrestrial became a cultural touchstone following its release in The film s hastily developed as in you have five weeks to get this to market Atari tie in game became a cultural touchstone for entirely different reasons In his new book The Stuff Games Are Made Of experimental game maker and assistant professor in design and computation arts at Concordia University in Montreal Pippin Barr deconstructs the game design process using an octet of his own previous projects to shed light on specific aspects of how games could better be put together In the excerpt below Dr Barr muses in what makes good cinema versus games and why the storytelling goals of those two mediums may not necessarily align MIT PressExcerpted from The Stuff Games Are Made Of nbsp by Pippin Barr Reprinted with permission from The MIT Press Copyright In the Atari video game version of the film E T the Extra Terrestrial Spielberg also called E T the Extra Terrestrial Atari the defining experience is falling into a pit It s cruelly fitting then that hundreds of thousands of the game s physical cartridges were buried in a landfill in Why It was one of the most spectacular failures in video game history Why It s often put front and center as the worst game of all time Why Well when you play it you keep falling into a pit among other things But was the video game E T so terrible In many ways it was a victim of the video game industry s voracious hunger for “sure fire blockbusters One strategy was to adapt already popular movies like Raiders of the Lost Ark or yes E T the Extra Terrestrial Rushed to market with a development time of only five weeks the game inevitably lacked the careful crafting of action oriented gameplay backed by audience testing that other Atari titles had I would argue though that its creator Howard Scott Warshaw found his way into a more truthful portrayal of the essence of the film than you might expect Yes in the game E T is constantly falling into pits as he flees scientists and government agents Yes the game is disorienting in terms of understanding what to do with arcane symbols and unclear objectives But on the other hand doesn t all that make for a more poignant portrayal of E T s experience stranded on an alien planet trying to get home What if E T the Extra Terrestrial is a good adaptation of the film and just an unpopular video game The world of video games has admired the world of film from the beginning This has led to a long running conversation between game design and the audiovisual language of cinema from cutscenes to narration to fades and more In this sense films are one of the key materials games are made of However even video games contemporary dominance of the revenue competition has not been quite enough to soothe a nagging sense that games just don t measure up Roger Ebert famously and rather overbearingly claimed that video games could “never be art and although we can mostly laugh about it now that we have games like Kentucky Route Zero and Disco Elysium it still hurts What if Ebert was right in the sense that video games aren t as good at being art as cinema is Art has seldom been on game studios minds in making film adaptations From Adventures of Tron for the Atari to Toy Story Drop on today s mobile devices the video game industry has continually tried for instant brand recognition and easy sales via film Sadly the resulting games tend just to lay movie visuals and stories over tried and true game genres such as racing fighting or match And the search for films that are inherently “video game y hasn t helped much either In Marvel s Spider Man Miles Morales Spider Man ends up largely as a vessel for swinging and punching and you certainly can t participate in Miles s inner life So what happened to the “Citizen Kane of video games A significant barrier has been game makers obsession with the audiovisual properties of cinema the specific techniques rather than some of the deeply structural or even philosophical opportunities Film is exciting because of the ways it unpacks emotion represents space deploys metaphor and more To leverage the stuff of cinema we need to take a close look at these other elements of films and explore how they might become the stuff of video games too One way to do that in an organized way is to focus on adaptation which is itself a kind of conversation between media that inevitably reveals much about both And if you re going to explore film adaptation to find the secret recipe why not go with the obvious Why not literally make Citizen Kane Welles into a video game Sure Citizen Kane is not necessarily the greatest film of all time but it certainly has epic symbolic value Then again Citizen Kane is an enormous complex film with no car chases and no automatic weapons Maybe it s a terrible idea As video games have ascended to a position of cultural and economic dominance in the media landscape there has been a temptation to see film as a toppled Caesar with video games in the role of a Mark Antony who has “come to bury cinema not to praise it But as game makers we haven t yet mined the depths offered by cinema s rich history and its exciting contemporary voices Borrowing cinema s visual language of cameras points of view scenes and so on was a crucial step in figuring out how video games might be structured but the stuff of cinema has more to say than that Citizen Kane encourages us to embrace tragedy and a quiet ending The Conversation shows us that listening can be more powerful than action Beau Travail points toward the beauty of self expression in terrible times Au Hasard Balthazar brings the complex weight of our own responsibilities to the fore There s nothing wrong with an action movie or an action video game but I suggest there s huge value in looking beyond the low hanging fruit of punch ups and car chases to find genuinely new cinematic forms for the games we play I ll never play a round of Combat in the same way thanks to the specter of Travis Bickle psyching himself up for his fight against the world at large It s time to return to cinema in order to think about what video games have been and what they can be Early attempts to adapt films into games were perhaps “notoriously bad Fassone but that approach remains the most direct way for game designers to have a conversation with the cinematic medium and to come to terms with its potential Even if we accept the idea that E T was terrible which I don t it was also different and new This is bigger than cinema though because we re really talking about adaptation as a form of video game design While cinema and television is particularly well matched all other media from theater to literature to music are teeming with ideas still untried in the youthful domain of video games One way to fast track experimentation is of course to adapt plays poems and songs To have those conversations There can be an air of disdain for adaptations compared to originals but I m with Linda Hutcheon who asserts in A Theory of Adaptation that “an adaptation is a derivation that is not derivative ーa work that is second without being secondary As Jay Bolter and Richard Grusin put it “what is new about new media comes from the particular ways in which they refashion older media This is all the more so when the question is how to adapt a specific work in another medium where as Hutcheon claims “the act of adaptation always involves both re interpretation and then re creation That is adaptation is inherently thoughtful and generative it forces us to come to terms with the source materials in such a direct way that it can lay our design thinking bareーthe conversation is loud and clear As we ve seen choosing films outside the formulas of Hollywood blockbusters is one way to take that process of interpretation and creation a step further by exposing game design to more diverse cinematic influences Video games are an incredible way to explore not just the spaces we see on screen but also “the space of the mind When a game asks us to act as a character in a cinematic world it can also ask us to think as that character to weigh our choices with the same pressures and history they are subject to Hutcheon critiques games adaptive possibilities on the grounds that their programming has “an even more goal directed logic than film with fewer of the gaps that film spectators like readers fill in to make meaning To me this seems less like a criticism and more like an invitation to make that space Quiet moments in games as in films may not be as exhilarating as a shoot out but they can demand engagement in a way that a shoot out can t Video games are ready for this The resulting games may be strange children of their film parents but they ll be interesting children too worth following as they grow up Video game film adaptations will never be films nor should they beーthey introduce possibilities that not only recreate but also reimagine cinematic moments The conversations we have with cinema through adaptation are ways to find brand new ideas for how to make games Even the next blockbuster Yeah cinema I m talkin to you This article originally appeared on Engadget at 2023-08-20 14:30:54
海外TECH CodeProject Latest Articles REST API Visibility Control https://www.codeproject.com/Articles/5366931/REST-API-Visibility-Control controlcustomize 2023-08-20 14:06:00
海外科学 NYT > Science Russia’s Luna-25 Moon Lander Is Lost in a Crash https://www.nytimes.com/2023/08/20/science/russia-moon-space-crash.html roscosmos 2023-08-20 14:28:25
ニュース BBC News - Home England 'heartbroken' after Women's World Cup final defeat by Spain, says Millie Bright https://www.bbc.co.uk/sport/football/66563706?at_medium=RSS&at_campaign=KARANGA England x heartbroken x after Women x s World Cup final defeat by Spain says Millie BrightEngland captain Millie Bright says the defeat to Spain in the Women s World Cup final is really hard to take 2023-08-20 14:33:28
python Pythonタグが付けられた新着投稿 - Qiita CloudFront で インデックスドキュメント を実現 (Lambda@Edge Python版) https://qiita.com/umorigu/items/7cf5c104b493bd2120d3 cloud 2023-08-21 00:05:32
AWS AWSタグが付けられた新着投稿 - Qiita 【AWS】S3 暗号化方式まとめ https://qiita.com/sakuchi/items/68a7b8e3739de7468cde serversideencryptionssess 2023-08-21 00:29:22
AWS AWSタグが付けられた新着投稿 - Qiita CloudFront で インデックスドキュメント を実現 (Lambda@Edge Python版) https://qiita.com/umorigu/items/7cf5c104b493bd2120d3 cloud 2023-08-21 00:05:32
Docker dockerタグが付けられた新着投稿 - Qiita 【Docker】マウントについて https://qiita.com/P-man_Brown/items/9601945abb50a629967b docker 2023-08-21 00:01:50
Azure Azureタグが付けられた新着投稿 - Qiita Azure API Management の GraphQL API の リゾルバー で Azure SQL データソースを使ってみる https://qiita.com/fsdg-nagumo/items/8478c79ebb0e566220c7 apimanagemen 2023-08-21 00:20:54
Azure Azureタグが付けられた新着投稿 - Qiita 【Azure】リソースを作成するためのツール https://qiita.com/depp23/items/4357170664b84da76042 azure 2023-08-21 00:01:20
技術ブログ Developers.IO Amazon S3에서 폴더 이름 바꾸는 방법이 없나요? https://dev.classmethod.jp/articles/change-name-in-s3-kr/ Amazon S에서폴더이름바꾸는방법이없나요 안녕하세요DA사업본부의송영진입니다 오늘은S에서폴더의이름을바꾸는방법에대해알아보겠습니다 간단해보이는내용이지만특정버켓의폴더에오브젝트들을업로드한뒤에폴더의이름을변경해 2023-08-20 15:08:23
海外TECH MakeUseOf How to Fix a Bluetooth Device Showing "Voice/Music Only" on Windows https://www.makeuseof.com/windows-bluetooth-headphone-speaker-connected-voice-only/ bluetooth 2023-08-20 15:15:24
海外TECH MakeUseOf What Is Bring Your Own Key, and Why Is It Important? https://www.makeuseof.com/what-is-bring-your-own-key/ bring 2023-08-20 15:00:24
海外TECH DEV Community Getting Started with WebSockets in Deno: Tutorial and Examples https://dev.to/franciscomendes10866/getting-started-with-websockets-in-deno-tutorial-and-examples-4e5i Getting Started with WebSockets in Deno Tutorial and ExamplesNowadays it is quite natural to take advantage of WebSockets either with an in app notification system facilitating real time chats allowing collaborative tools among many other cases In some programming languages or runtime environments websockets are a real challenge People often take advantage of community created solutions or use services to deal with this challenge but with Deno it s refreshingly easy IntroductionIn this article we are going to create a REST API with two endpoints one of which will be responsible for issuing an event which in this case will correspond to a document that contains the message data And another one that will establish the WebSocket connection that will send messages from the server to the client To give you a little more context in this article we are going to use the following technologies oak web frameworkevt event emmiter replacementBefore starting this article I recommend that you have Deno installed and that you have a brief experience using Node Set up projectTo get started navigate to the directory of your choice and run the following command deno init The above command is expected to have created a set of files in the workspace with this we have initialized a Deno project and are going to make some changes to the deno jsonc file Starting by defining some of the commands that we are going to run with task runner deno task tasks dev deno run watch main ts Next let s define some dependencies that need to be imported into the project imports oak v mod ts evt v mod ts With this last change in deno jsonc we can consider the project s configuration as finalized and now it s time to get our hands dirty WebSocket Example EventEmitter s SetupThe next step will be to instantiate the event emitter that will be used in the API when we use the dependency evt we can create a totally typesafe client and the only thing we need is define a type and pass it as a generic in the create method like this common emitter tsimport Evt from evt export interface Todo title string isDone boolean createdBy string export const todoEmitter Evt create lt Todo gt Router DefinitionConsidering the previous point we can now define each of the routes mentioned in the introduction to this article First we need to import the event emitter that we just created in the previous point Then we will create the route with the HTTP verb POST this route is intended to obtain the message data which in this case is the Todo Without forgetting to mention that we need to access the CreatedBy header so that later we will have the necessary data to emit an event router tsimport Router from oak import todoEmitter from common emitter ts export const router new Router router post todos async ctx gt const createdBy ctx request headers get CreatedBy if createdBy ctx throw const value ctx request body type json const data await value try await todoEmitter postAndWait data createdBy ctx response status ctx response body isSuccessful true catch ctx throw Now that we ve emitted an event whenever a new Todo is created we can now create the GET route First we have to check if the connection can be upgraded if not we return an error Next we ll access the CreatedBy header to filter the messages that are sent to the client In fact the todoEmitter is also an Async Iterator we can iterate directly the instance and then send the WebSocket message if the creator of the Todo is exactly the same as the one in the CreatedBy header router tsimport Router from oak import todoEmitter from common emitter ts export const router new Router router get todos ws async ctx gt if ctx isUpgradable ctx throw const createdBy ctx request headers get CreatedBy if createdBy ctx throw const ws ctx upgrade for await const todo of todoEmitter if todo createdBy createdBy ws send JSON stringify todo Now we can say that we have each of the routes registered which allows us to go to the next and last step Server DefinitionIn this step we will import the routes created in the previous point and make a basic configuration of the API Like this main tsimport Application from oak import router from router ts const app new Application logErrors false app use router routes app use router allowedMethods app listen port To start the process just run this command deno task dev ConclusionI hope you found this article helpful whether you re using the information in an existing project or just giving it a try for fun Please let me know if you notice any mistakes in the article by leaving a comment And if you d like to see the source code for this article you can find it on the github repository linked below Github Repo 2023-08-20 15:19:39
海外TECH CodeProject Latest Articles IntelliLink - An Alternative Windows Version to Online Link Managers https://www.codeproject.com/Tips/839851/IntelliLink-An-Alternative-Windows-Version-to-Onli intellilink 2023-08-20 15:57:00
海外TECH CodeProject Latest Articles Alternative to URLDownloadToFile function https://www.codeproject.com/Tips/314167/Alternative-to-URLDownloadToFile-function alternative 2023-08-20 15:43:00
海外TECH CodeProject Latest Articles Save Message to MSG Compound File https://www.codeproject.com/Tips/231089/Save-Message-to-MSG-Compound-File compound 2023-08-20 15:41:00
金融 ◇◇ 保険デイリーニュース ◇◇(損保担当者必携!) 保険デイリーニュース(08/21) http://www.yanaharu.com/ins/?p=5310 地震保険 2023-08-20 15:00:30
ニュース BBC News - Home Women's World Cup final: England lose to Spain in Sydney https://www.bbc.co.uk/sport/football/66561827?at_medium=RSS&at_campaign=KARANGA sydney 2023-08-20 15:29:17
ニュース BBC News - Home TV presenter Phil Spencer's parents die in car accident https://www.bbc.co.uk/news/uk-66562937?at_medium=RSS&at_campaign=KARANGA location 2023-08-20 15:39:51
ニュース BBC News - Home Canada wildfires: At least 30,000 households in British Columbia told to evacuate https://www.bbc.co.uk/news/world-us-canada-66562610?at_medium=RSS&at_campaign=KARANGA hangs 2023-08-20 15:17:09
ニュース BBC News - Home Lucy Letby inquiry should be led by judge, committee chair says https://www.bbc.co.uk/news/uk-66562938?at_medium=RSS&at_campaign=KARANGA executives 2023-08-20 15:40:19
ニュース BBC News - Home Aston Villa 4-0 Everton: Leon Bailey gets goal and assist in thumping win https://www.bbc.co.uk/sport/football/66490164?at_medium=RSS&at_campaign=KARANGA villa 2023-08-20 15:13:23
IT 気になる、記になる… 1億5300万人を超えるイーロン・マスク氏のフォロワーの詳細が明らかに ー 約42%がフォロワー数ゼロのアカウント https://taisy0.com/2023/08/21/175558.html mashable 2023-08-20 16:10:33
python Pythonタグが付けられた新着投稿 - Qiita OpenCVを利用してパノラマ画像を作成する https://qiita.com/Chamuji/items/47a4ba8b7ed4cc5f3940 opencv 2023-08-21 01:26:23
海外TECH MakeUseOf 5 Creators You Should Watch to Improve Your Live Streaming Skills https://www.makeuseof.com/improve-live-streaming-skills-watch-creators/ endeavor 2023-08-20 16:45:24
海外TECH MakeUseOf How to Fix Notepad Crashing on Windows https://www.makeuseof.com/notepad-crashing-windows-fixes/ share 2023-08-20 16:15:24
海外TECH MakeUseOf 10 Yoga Videos for Seniors to Keep Strong and Healthy https://www.makeuseof.com/yoga-videos-for-seniors/ healthystaying 2023-08-20 16:00:25
海外TECH DEV Community Demystifying EKS Authentication and Authorization: A Guide to Strengthening Network Security https://dev.to/aws-builders/demystifying-eks-authentication-and-authorization-a-guide-to-strengthening-network-security-32eb Demystifying EKS Authentication and Authorization A Guide to Strengthening Network SecurityAmazon EKS the managed Kubernetes service by AWS holds paramount importance in understanding how API server authentication and authorization function Before delving into the details let s distinguish between Authentication and Authorization Authentication Ensuring Legitimate RequestsAuthentication denotes valid user requests Kubernetes offers diverse authentication methods often referred to as authentication modules or authenticators Every API server request whether from external sources like kubectl or internal entities like the kubelet on worker nodes is authenticated Authorization Granting Action PermissionsOnce the request s legitimacy is confirmed it s vital to ensure authorized actions This is where authorization comes into play Each request carries a specific Kubernetes action e g get pods delete deployment Given that different cluster users have varying privileges verifying their permission to execute the action is imperative in general Authenticators and authorisers are independent from each other and they are configured separately you can read more from here EKS Authentication and Authorization UnveiledFor the creators of the EKS cluster accessing it using kubectl is straightforward However other users even administrators or root users face restrictions The authentication method is EKS specific employing AWS Identity and Access Management IAM identities The authentication outcome hinges on IAM permissions Authentication alone isn t enough authorization is essential EKS employs an RBAC Role Based Access Control authorizer for this Unlike authentication authorization is independent of EKS following standard Kubernetes practices It s based on Kubernetes users returned by the EKS authenticator Configuring the RBAC authorizer in an EKS cluster mirrors the process in any Kubernetes environment Bridging the Authentication GapAlthough administrators are authenticated authorization isn t automatic Authorization in EKS centers around the aws auth configmap housing a mapping of IAM identities to Kubernetes users As an EKS user it s your responsibility to craft and maintain this critical object IAM User Authorization A Step by Step GuideAWS utilizes the aws auth configmap responsible for mapping IAM identities to Kubernetes users Though EKS streamlines many tasks creating the aws auth configmap isn t one You re accountable for its creation and upkeep By default running kubectl get configmap aws auth n kube system provides an overview of the existing configuration The existing configuration might resemble the following apiVersion vdata mapRoles groups system bootstrappers system nodes rolearn arn aws iam xxxxxx role eksCreateCluster username system node ECPrivateDNSName kind ConfigMapmetadata name aws auth namespace kube systemYou can add users to this file using kubectl edit linking users with the necessary permissions for the cluster The mapUsers section designates the user s ARN Amazon Resource Name username and group The group s permissions dictate the allowed actions In this example I m providing the username clusteradmin with permissions in the cluster s system masters group apiVersion vdata mapRoles groups system bootstrappers system nodes rolearn arn aws iam xxxxx role eksCreateCluster username system node ECPrivateDNSName mapUsers userarn arn aws iam xxxx user ahmedzidan username ahmedzidan groups system masterskind ConfigMapmetadata name aws auth namespace kube system Fine Tuned Access ControlEKS s power lies in the flexibility it offers You can tailor access granting permissions for specific namespaces and actions Creating Role Based Access ControlKubernetes RBAC relies on Role and RoleBinding to set access policies A Role comprises rules specifying permissible Kubernetes actions RoleBinding links a role to subjects such as usernames or groups Limiting User Access to Specific NamespaceAs an illustration let s limit a user s access to the default namespace Begin by downloading the YAML file curl O Apply the file This creates restricted permissions for the default namespace and associates them with the eks console dashboard restricted access group Update the aws auth configmap with the new user and group mapUsers userarn arn aws iam xxxx user ahmedzidan username ahmedzidan groups eks console dashboard restricted access group In ConclusionUnderstanding EKS authentication and authorization is pivotal for safeguarding applications within a network Navigating these intricacies fortifies your infrastructure fostering robustness and resilience For more insights connect with me on Linkedin Twitter original blogStay tuned for further enlightenment on AWS EKS networking and security 2023-08-20 16:17:12
海外TECH DEV Community Comprehensive Walkthrough on How to Connect Your Flutter App to a REST API https://dev.to/yatendra2001/comprehensive-walkthrough-on-how-to-connect-your-flutter-app-to-a-rest-api-33pe Comprehensive Walkthrough on How to Connect Your Flutter App to a REST APIyo wassup flutter devs Flutter apps make over billion API calls per day connecting to a wide variety of services From fetching weather data to retrieving user profiles APIs are the backbone of many Flutter apps If you re not tapping into this power you re missing out IntroductionIn today s digital age data is the new gold And how do we access this gold Through APIs With Flutter s incredible UI capabilities and the power of APIs you can create dynamic data driven apps that provide real time information to your users In this blog post we ll guide you through the process of connecting your Flutter app to a REST API ensuring you can fetch display and manipulate data seamlessly What is a REST API Before diving into the code let s understand what a REST API is Representational State Transfer REST is an architectural style that defines a set of constraints to be used for creating web services In simpler terms it s a way for your app to communicate with a server fetch data and update data Setting Up Your Flutter App Create a New Flutter App flutter create api flutter app Add Dependencies Open your pubspec yaml file and add the following dependencies dependencies flutter sdk flutter http Fetch the Packages flutter pub get Connecting to the API Import the Required Packages import package http http dart as http import dart convert Fetch Data from the API Create a function to fetch data from your desired API Future lt Map lt String dynamic gt gt fetchData String apiUrl async final response await http get Uri parse apiUrl if response statusCode return json decode response body else throw Exception Failed to load data from the API Display the Data Use a FutureBuilder widget to display the data fetched from the API FutureBuilder lt Map lt String dynamic gt gt future fetchData builder context snapshot if snapshot connectionState ConnectionState done if snapshot hasError return Text Error snapshot error else return ListView builder itemCount snapshot data length itemBuilder context index return ListTile title Text snapshot data index title subtitle Text snapshot data index description else return CircularProgressIndicator ConclusionConnecting your Flutter app to a REST API is a game changer It allows you to create dynamic real time apps that provide immense value to your users With the steps outlined above you re well on your way to harnessing the power of APIs in your Flutter apps Remember the world of APIs is vast Explore experiment and elevate your Flutter apps to new heights Before We Go Hey thanks for sticking around If this post was your jam imagine what s coming up next I m launching a YouTube channel and trust me you don t want to miss out Give it a look and maybe even hit that subscribe button Videos will start dropping soon About me I am a coder with a keen interest in fixing real world problems through shipping tech products I love to read books I have read multiple books on start ups and productivity Some of my favourite reads are Zero to One Steve Jobs The Almanack of Ravikant and Hooked Nothing excites me more than exchanging opinions through productive conversations youtube com Until we meet again code on and stay curious Got any doubt or wanna chat React out to me on twitter or linkedin 2023-08-20 16:15:59
海外TECH DEV Community JavaScript Operators: A Comprehensive Guide https://dev.to/arsalanmee/javascript-operators-a-comprehensive-guide-592l JavaScript Operators A Comprehensive GuideJavaScript being a versatile and widely used programming language provides a plethora of operators that empower developers to manipulate data perform calculations and make decisions In this article we will delve into the world of JavaScript operators exploring their diverse types functionalities and practical examples Table of ContentsIntroduction to JavaScript OperatorsArithmetic OperatorsAssignment OperatorsComparison OperatorsLogical OperatorsUnary OperatorsConditional Ternary OperatorBitwise OperatorsString OperatorsType OperatorsOperator PrecedenceOperator OverloadingCommon Operator Mistakes to AvoidReal world Examples of Operator UsageConclusionFrequently Asked Questions FAQs Access Our JavaScript Resources Introduction to JavaScript OperatorsAt the core of JavaScript lies a rich set of operators that facilitate tasks ranging from basic arithmetic calculations to advanced logical evaluations Operators are symbols that allow you to perform operations on values and variables Arithmetic OperatorsArithmetic operators are essential for numeric computations The plus operator can not only add numbers but also concatenate strings For instance let sum Outputs let message Hello world Outputs Hello world Assignment OperatorsAssignment operators help in assigning values to variables The equal sign is the most basic assignment operator However compound assignment operators combine operations with assignments Here s an example let x x Equivalent to x x Now x is Comparison OperatorsComparison operators are used to compare values The equality and strict equality operators determine if values are equal For instance let a let b console log a b Outputs trueconsole log a b Outputs false Logical OperatorsLogical operators are crucial for decision making The logical AND amp amp and logical OR operators are used to combine conditions Example let age let hasLicense true if age gt amp amp hasLicense console log You can drive Unary OperatorsUnary operators work on a single value The increment and decrement operators change the value by Example let count count Now count is Conditional Ternary OperatorThe conditional operator is a concise way to write if else statements Example let isSunny true let weatherMessage isSunny Enjoy the sun Don t forget your umbrella Bitwise OperatorsBitwise operators manipulate values at the bit level The bitwise AND amp and bitwise OR operators perform binary operations Example let num Binary let num Binary let result num amp num Result Binary for String OperatorsString operators like the concatenation operator combine strings Example let greeting Hello let name Alice let welcomeMessage greeting name Outputs Hello Alice Type OperatorsType operators provide insights into variable types The typeof operator tells you the type of a value Example let age console log typeof age Outputs number Operator PrecedenceOperator precedence determines the order in which operators are evaluated Example let result Outputs Multiplication is done first Operator OverloadingJavaScript doesn t support true operator overloading but operators might behave differently based on types Common Operator MistakesAvoid common mistakes such as using the wrong operator or misunderstanding operator behavior to ensure accurate code Real world ExamplesExplore practical examples of operators in action from calculating discounts to validating user input ConclusionJavaScript operators are indispensable tools that enable developers to manipulate data effectively and make informed decisions in their code By mastering these operators you unlock the potential to create dynamic and efficient applications FAQsWhy are operators important in JavaScript Operators enable developers to perform various tasks from calculations to logical evaluations Can I use arithmetic operators with strings Yes JavaScript s loose typing allows using arithmetic operators with strings What s the difference between and The triple equals checks both value and type while double equals checks value only How do logical operators work Logical operators combine conditions and determine whether a given condition is true or false Is operator overloading possible in JavaScript JavaScript doesn t support traditional operator overloading 2023-08-20 16:07:44
ニュース BBC News - Home California braces for imminent storm Hilary arrival https://www.bbc.co.uk/news/world-us-canada-66559623?at_medium=RSS&at_campaign=KARANGA western 2023-08-20 16:20:22
ニュース BBC News - Home Sara Sharif murder inquiry: Girl known to authorities, council says https://www.bbc.co.uk/news/uk-england-surrey-66563430?at_medium=RSS&at_campaign=KARANGA authorities 2023-08-20 16:36:52
ニュース BBC News - Home William Gladstone's family to apologise for slavery links https://www.bbc.co.uk/news/uk-wales-66558156?at_medium=RSS&at_campaign=KARANGA slave 2023-08-20 16:30:42
ニュース BBC News - Home 'We're gutted but they've done country proud' - England fans react https://www.bbc.co.uk/news/uk-66565103?at_medium=RSS&at_campaign=KARANGA final 2023-08-20 16:44:48
ニュース BBC News - Home Women's World Cup: Fans rejoice in Madrid as Spain makes football history https://www.bbc.co.uk/news/world-europe-66564318?at_medium=RSS&at_campaign=KARANGA women 2023-08-20 16:28:47
ニュース BBC News - Home Women's World Cup 2023: Jorge Vilda says Spain players are 'eternal' after they beat England https://www.bbc.co.uk/sport/football/66563205?at_medium=RSS&at_campaign=KARANGA Women x s World Cup Jorge Vilda says Spain players are x eternal x after they beat EnglandSpain boss Jorge Vilda says his players are eternal and have a star on their chest forever after they defeat England to win the Fifa Women s World Cup 2023-08-20 16:11:17
ニュース BBC News - Home Newry: Elderly couple's deaths not being treated as suspicious https://www.bbc.co.uk/news/uk-northern-ireland-66560490?at_medium=RSS&at_campaign=KARANGA couple 2023-08-20 16:03:32
ニュース BBC News - Home World Athletics Championships 2023: Katarina Johnson-Thompson wins heptathlon gold in tense 800m https://www.bbc.co.uk/sport/av/athletics/66564659?at_medium=RSS&at_campaign=KARANGA World Athletics Championships Katarina Johnson Thompson wins heptathlon gold in tense mWatch the winning moment as Great Britain s Katarina Johnson Thompson secures heptathlon gold in a thrilling m race 2023-08-20 16:38:31
ニュース BBC News - Home World Championships 2023: Katarina Johnson-Thompson wins stunning heptathlon gold https://www.bbc.co.uk/sport/athletics/66560986?at_medium=RSS&at_campaign=KARANGA budapest 2023-08-20 16:51:26
ニュース BBC News - Home Aston Villa 4-0 Everton: Sean Dyche 'could have taken whole team off' in defeat https://www.bbc.co.uk/sport/football/66565260?at_medium=RSS&at_campaign=KARANGA Aston Villa Everton Sean Dyche x could have taken whole team off x in defeatEverton manager Sean Dyche says he could have taken his whole team off during the thrashing by Aston Villa 2023-08-20 16:42:09
ニュース BBC News - Home Super League: Leeds Rhinos 24-22 Warrington Wolves - Wire sink to seventh straight Super League defeat https://www.bbc.co.uk/sport/rugby-league/66523044?at_medium=RSS&at_campaign=KARANGA Super League Leeds Rhinos Warrington Wolves Wire sink to seventh straight Super League defeatLeeds Rhinos fight back to inflict a seventh straight Super League defeat on Warrington in a see saw match at Headingley 2023-08-20 16:22:28
海外TECH MakeUseOf How to Connect and Sync an Xbox One Controller https://www.makeuseof.com/tag/sync-xbox-one-controller/ common 2023-08-20 17:30:24
海外TECH MakeUseOf 5 Ways to Fix Windows File Explorer When It’s Slow https://www.makeuseof.com/ways-to-fix-windows-file-explorer-when-its-slow/ slowfile 2023-08-20 17:16:23
海外TECH MakeUseOf 6 Ways to Fix Network Adapter Not Working in Windows https://www.makeuseof.com/fix-network-adapter-not-working-in-windows/ adapter 2023-08-20 17:01:24
海外TECH DEV Community How to make an impact as a developer advocate https://dev.to/blackgirlbytes/how-to-make-an-impact-as-a-developer-advocate-1jge How to make an impact as a developer advocate Table of ContentsIntroductionWhy Make an Impact as a Developer Advocate Tips for Making an ImpactTeam and ManagementUnderstand ExpectationsCultivate a Strong First ImpressionIdentify What the Company Cares AboutUse the Product as a BeginnerDocument Your First Time ExperiencesCreate Fun Memorable DemosIntegration with Widely Used Frameworks APIs and ToolsMake It PracticalListen to DevelopersThought LeadershipTeach Your CompanyConclusionI find it hard to engage in discussions about my strategy for building a following and driving content engagement While I never shy away from amplifying my content on social media discussing these topics fills me with imposter syndrome so I usually respond with “I don t know I just do it Additionally for me to answer questions coherently I need space to think and organize my thoughts However beneath these discussions lies a more profound question How can a developer advocate genuinely leave a lasting impression As much as I would like to deny it I think it s evident that within almost two years working as Developer Advocate at GitHub I ve made a significant impact both within the company and across the developer community Instead of being bashful I m choosing to embrace my influence and share my knowledge in a blog post Keep in mind These strategies worked for me but developer advocacy is not one size fits all because every company and developer community has different needs and goals This blog post is tailored specifically to Developer Advocates and may not directly apply to the broader spectrum of Developer Relations roles Roles such as community managers technical writers and developer marketers have different objectives and responsibilities It s completely fine if your aspirations don t align with creating a sweeping impact Your focus can be on diligently executing your role and that s perfectly valid I m not asserting that you must do this rather I m aiming to provide insights for those who wish to explore that path I m primarily a content focused Developer Advocate with coding and community engagement forming complementary facets of my role Why make an impact as a developer advocate People like to deny it but Developer Advocates are influencers I don t say influencer in the sense that we re on Instagram taking pictures with flat tummy tea but we influence the developer community and our companies Sometimes the impetus driving one toward developer advocacy originates from a sense of disillusionment with the world of software engineering This pivot opens doors to Exploring and experimenting with new technologies Supporting fellow developers and having fun Establishing a public presence and engaging in meaningful conversations The opportunity to travel and connect with communities worldwide Reality check we live in a capitalist societyWhile we do get to do these things companies don t pay us figures to have fun Many companies hire Developer Advocate to spread awareness and ensure their products thrive leading to increased revenue We can achieve this through community engagement conference talks hands on coding and compelling content The trust established within the developer community directly translates into a willingness to embrace our company s products The ultimate goal is to create a ripple effect where the knowledge you share with developers inspires them to educate others thus amplifying the reach and impact Navigating ethical advocacyBut our job goes beyond promoting a tool You don t want to encourage people to try out a technology that s not actually good or serving them That s inauthentic and irresponsible Our role includes providing honest feedback to our colleagues whether it s product managers engineers or leadership on areas that need improvement When you ve nurtured strong internal relationships and your impact is recognized within your company it s easier to guide the direction of the product While Developer Advocacy isn t a popularity contest nor does it involve forcing people to use your company s technology your goal is to cultivate relationships and establish a sufficiently strong reputation within both the developer community and your organization This enables you to best serve developers with integrity and bring value to your company Your job is to make an impact that reverberates Tips for making an impact Team and managementWorking with a team and manager that sets you up for success is key Stay away from managers that Place blameConstantly change expectationsAren t invested in your successLean into managers and teams that Regularly give positive feedbackOccasionally give you constructive criticism so you can improveFind opportunities for you to growPositively mention your name in circles that you re not inMy personal experienceI m grateful that I had good management throughout my tenure at GitHub because it helped lay a foundation for success I had the opportunity to do activities like speak in the GitHub Universe Keynote because my colleagues and managers advocated for me and supported me Understand expectationsYou can gain insights and make a good impression as early as the interview I m not great at this but I do see how impactful it is when people are good at this During the interview phase get an understanding of why the company is hiring and the strengths and weaknesses of the team you ll be joining People struggle to get dev advocate jobs because they don t understand why the company is trying to fill the role It s important to understand what the company expects from you because you do not want to work at a company as a developer advocate with misaligned expectations For example if you are hoping to maintain and build the community but they re hoping you re mostly going to be writing code you will be very unhappy and so will the company Ask yourself the following questions What s the company excelling at What do you excel at Do those align Jason Lengstrof made a video where he talks about the key to getting a job in Developer Relations is knowing what the company is looking for I agree with this sentiment because it also helps you determine how you re going to shine Cultivate a Strong First ImpressionI m not great at first impressions because I get super anxious I believe there are several moments to change people s minds about you However first impressions help set the trajectory of your time at the company When you make a positive first impression it s easier to get buy in from colleagues and support from the developer community My personal experience After I got my offer I made my first contribution to open source and I wrote a blog post called “Conquering the fear of contributing to open source I tweeted the blog post on the first day of my job at GitHub Beyond views and retweets I was asked to do a keynote at All Things Open on this topic And I turned this into a talk for other conferences I didn t write the blog post in hopes of speaking at a conference I was just over eager about the job but it helped to craft my brand as authentic vulnerable approachable and passionate about open source This showed my team my work s caliber and resonated within the developer community placing me on their radar Check out my tips on starting your first DevRel job to learn more Identify what the company cares aboutBy identifying your company s goals and aligning your efforts accordingly you can ensure that your work resonates with the company s strategic direction and contributes positively to the developer community s understanding and adoption of key tools Read your company and team goals occasionally because those goals will evolve over time Here are some helpful questions to ask yourself Does this product make the company more money Did they invest heavily into this product Are they talking about this product a lot in meetings Does it seem like this product aligns with industry trends Is the company and its customers still learning how to use this product and how this product could be valuable My personal experience For me GitHub Copilot seemed like something I should invest my time in When I started working at GitHub I initially focused on open source and GitHub Pages but as the company s focus shifted to tools like GitHub Copilot and GitHub Codespaces I realized I needed to approach my job more strategically GitHub Copilot received substantial investments from GitHub Microsoft and OpenAI However throughout the developer community there were mixed reviews and miseducation about how GitHub Copilot worked It was also evident that AI pair programming tools and generative AI were an industry trend At the time GitHub was still experimenting with how developers could use GitHub Copilot and developers were still trying to learn how to use it too For me this was a serendipitous time and opportunity to learn about GitHub Copilot I wanted to figure out Were the developer complaints valid If yes I would try to work with my coworkers to meet their needs Were they misinformed If yes I would figure out how to educate them And if it was both I would do both Use the product as a beginnerOne effective strategy for aligning yourself with your company s goals and deepening your impact as a developer advocate is to fully immerse yourself in the products or tools you re promoting from a beginner s perspective It s common for companies to grant early access to developer advocates and other staff members before a product is made available to the general public Use this as an opportunity to transition from a state of relative unfamiliarity to true expert before the product s official launch My personal experience When GitHub Copilot came out I experimented with it I was skeptical at first My initial impression So is GitHub Copilot autocomplete that sometimes doesn t autocomplete What s the point As developers started to question the validity of the product and even direct questions towards me I increased my usage and began to dig into how the tool actually worked I wanted to confidently and knowledgeably respond to their inquiries Over time I went from skeptic to enthusiast It s easy to dismiss an innovation at first glance but using the product to gain my own perspective enhanced my ability to authentically advocate for the product Document your first time experiencesMany times we prefer to wait until we have an elaborate complex implementation of a tool but some products need “getting started or “hello world examples My personal experience At first I couldn t get GitHub Copilot to reproduce anything It would only do something for the first time and never do it again I finally found success in promoting GitHub Copilot to write a binary search algorithm I took that example and wrote about it Keep in mind the product you advocate for doesn t have to be new or groundbreaking it s new to you and it s new to someone else so your perspective on getting started is valuable Sometimes I would even tweet out my excitement when I got GitHub Copilot to do something that I didn t expect it to do Knowledge sharing before you gain ultimate expertise is super valuable for anyone who is a beginner user of that product Create fun memorable demosPeople may argue with me about this but if you re trying to create awareness about a product all of your demos don t have to be practical It s okay to create a few demos that are eye catching or fun to make people curious about the product To make it fun and memorable try integrating trending pop culture phenomena emerging technologies or both The first time I realized the value in small but creative demos was when I saw Lizzie Siegle do a presentation about Twilio In her demo she calls and messages people in the audience then they get “rick rolled Out of all the talks and demos that day Lizzie s demonstration stood out Here are a few developer advocates who I believe are also great at producing creative demos Colby Fayock Salma Alam Naylor and Hassan El Mghari One of Hassan s most popular demos is RoomGPT which uses AI to redesign rooms Reuse that content take your demo and turn it into a blog post a conference talk a webinar a workshop a tweet and a TikTok My personal experience “I wrote this tweet with Copilot became almost a meme for me Every time I presented about GitHub Copilot I did a demo where I would write a comment prompting GitHub Copilot to generate the code that calls the Twitter API to post a tweet that said “I wrote this tweet with Copilot and I m at x conference right now True nobody would typically use GitHub Copilot to publish tweets but that s not the point The goal was to spark awareness of GitHub Copilot As a result the tweet Piqued people s interest At the time the developer community was popping on Twitter and I wanted people to wonder “How could GitHub Copilot write tweets Should I check out this product Community engagement I saw other people tweet “I wrote this tweet with Copilot meaning they tried out the demo too Invitation from conferences Some conference organizers invite me to do the talk at their conference because they wanted me to post that I wrote a tweet with Copilot and I was at their conference Some practical utility Even though the demo is silly it showed that GitHub Copilot can help you interact with an API in a language that you are unfamiliar with Detect dark theme var iframe document getElementById tweet if document body className includes dark theme iframe src theme dark Integration with widely used frameworks APIs and toolsWhen you build with and use a product you re advocating for you become an expert in it However you don t just have to keep the product within your company s ecosystem Here are my reasons for integrating other technologies with your product It helps you become aware of the limitations of the productIt makes it easy for developers to integrate the product into their daily workflow For example If they re often using TypeScript but your demos are only in Python they may not realize you can use your company s product with TypeScript You may catch the attention of people who built those frameworks or build with those frameworks which presents an opportunity to collaborate As a result you can introduce a novel avenue to an entirely fresh audience My personal experienceI realized the importance of building examples with other frameworks when people would ask me “Does this work with React or Astro but I didn t know the answer People would also ask me things like does GitHub Copilot work better if you re using it in a new project or using it in a large codebase with legacy code I could try to ask other developers for their experience but with a product so new I felt more confident saying yes or no if I ve tried it out on my own So I started to build little projects with different frameworks I also used GitHub Copilot when contributing to large open source projects Now I can confidently answer “Yes and here s how you do it Make it practicalAs you build and integrate the product into your daily workflow the use cases of the product become more evident Start taking notes and creating content around these use cases It s helpful to lean into your developer community to figure out how they are using the product too There may be experts among your users that you can feature and collaborate with My personal experienceMy team and I helped people see the value in GitHub Copilot by showing them that you can leverage GitHub Copilot for Adding code snippets to documentationBrainstormingSyntax recollectionUnit testingConverting applications from Javascript to TypeScriptI believe this encouraged developers to adopt GitHub Copilot because they realized it was more than just autocomplete Listen to developersAs you re creating content take a look at the questions and confusion developers have about the tool you advocate for You may find their inquiries on social media platforms or your company s discussion board You can create content answering those questions I also suggest maintaining a periodic session where you meet with product managers to express the pain points of users and you all can work together to figure out how to solve them This way you can improve the overall developer experience through content and product improvements My personal experienceI often saw development teams wonder if it was worth it to purchase GitHub Copilot for Business In turn I wrote a blog post called “Can GitHub Copilot be a valuable investment for my team I also saw many people complaining that GitHub Copilot s suggestions were inadequate and distracting I empathize with that experience However I had a ton of tricks for getting optimal results for GitHub Copilot so I wrote a blog post called “A Beginner s Guide for Prompt Engineering with GitHub Copilot To my surprise my CEO shared this blog post with customers to improve their experience with GitHub Copilot Writing that blog post strengthened my impact on the company internally Thought leadershipThere is merit in going beyond how to use the product by providing your thoughts on how the product can transform the industry We can start productive discourse by challenging our industry leaders My personal experienceWhen people argued that GitHub Copilot could limit learning I wrote a blog post called “How I m using GitHub Copilot to learn p js where I talk about taking an intentional and strategic approach to learning a new programming language alongside an AI pair programmer I also wrote blog posts and delivered conference talks about how GitHub Codespaces and other cloud based IDEs are catalysts for diversity equity and inclusion Like I mentioned earlier we are influencers and we have the power to invoke a paradigm shift challenge norms and start conversations that can reshape the tech industry Ask yourself the question How can we leverage this developer productivity tool to ethically improve our society Teach your companyDeveloper Advocacy is even more effective when other people in the company are advocating for the product You re not the only one who needs to be knowledgeable about your company s developer tools Some technologists within your organization like to speak at conferences and write blog posts too There are individuals in customer success support product engineering legal and leadership who may need to know more about how the product works so they can successfully do their job As a developer advocate you may have the most experience using the product so share that experience internally My personal experienceAs GitHub and Microsoft have been focusing more on artificial intelligence and GitHub Copilot my coworkers have been looking to increase their knowledge on the product so they could best do their jobs Some people may have initially been on different teams but now they ve moved to a Copilot focused team To assist in the knowledge transfer I shared slide decks and repositories with Microsoft and GitHub so that anyone can feel confident speaking about GitHub Copilot I also did presentations Introducing Customer Success managers at Microsoft to GitHub Copilot During GitHub s Day of Learning I presented a talk called “How to talk about GitHub Copilot to the entire company I showed GitHub Campus Experts how to talk about GitHub Copilot as well I explained how developers are using GitHub Copilot to our legal team so they can get a better understanding of how we could legally and ethically provide this feature to businesses In essence I m creating more knowledgeable advocates for the product The beauty of this is now I won t be one of the few people at my company that can speak about GitHub Copilot Other people can too Less work for me haha ConclusionBy embracing authenticity cultivating expertise and engaging with tools from a beginner s perspective you re not just advocating products you re shaping the narrative of innovation itself As you code create and collaborate remember that your influence extends beyond the immediate It s in the connections you foster the solutions you inspire and the conversations you initiate I believe developer advocacy isn t just about tools it s about catalyzing change and leaving an indelible mark on the tech landscape So step into your role with confidence Your journey is a beacon guiding others through the ever evolving world of technology Embrace the power of your impact and know that your dedication will echo through the codebase the community and the future of tech The blog post was filled with my opinions but it s not the only way to do developer advocacy What approaches do you take to help you make an impact within your developer community and within your company Please note I used ChatGPT to write my conclusion because I am not great with writing conclusions 2023-08-20 17:27:45
海外TECH CodeProject Latest Articles IntelliDisk https://www.codeproject.com/Articles/5364705/IntelliDisk codeproject 2023-08-20 17:55:00
ニュース BBC News - Home World Championships 2023: Katarina Johnson-Thompson wins stunning heptathlon gold https://www.bbc.co.uk/sport/athletics/66560986?at_medium=RSS&at_campaign=KARANGA budapest 2023-08-20 17:12:17
ニュース BBC News - Home World Athletics Championships 2023: Zharnel Hughes takes bronze as Noah Lyles wins men's 100m https://www.bbc.co.uk/sport/av/athletics/66566059?at_medium=RSS&at_campaign=KARANGA World Athletics Championships Zharnel Hughes takes bronze as Noah Lyles wins men x s mWatch as Great Britain s Zharnel Hughes takes bronze in the men s m while Noah Lyles of the United States wins gold 2023-08-20 17:37:27
ニュース BBC News - Home West Ham 3-1 Chelsea: Nayef Aguerd, Michail Antonio and Lucas Paqueta score in Hammers win https://www.bbc.co.uk/sport/football/66490161?at_medium=RSS&at_campaign=KARANGA West Ham Chelsea Nayef Aguerd Michail Antonio and Lucas Paqueta score in Hammers winWest Ham United claim a London derby win against big spending Chelsea despite Nayef Aguerd s red card midway through the second half 2023-08-20 17:37:03
海外TECH MakeUseOf How to Clean a Sony PSP https://www.makeuseof.com/sony-psp-how-to-clean/ clean 2023-08-20 18:30:24
海外TECH MakeUseOf 7 Ways to Save Money With Your Xbox Series X|S https://www.makeuseof.com/xbox-series-xs-ways-to-save-money/ sgaming 2023-08-20 18:15:24
海外TECH MakeUseOf Where to Download Subtitles for Movies and TV Shows: The 5 Best Sites https://www.makeuseof.com/tag/3-subtitle-sources-movies-tv-series/ quality 2023-08-20 18:00:26
海外TECH DEV Community JavaScript Object and Object Prototypes: What are they?🤷‍♂️🤔 https://dev.to/kelvinguchu/javascript-object-and-object-prototypes-what-are-they-31m5 JavaScript Object and Object Prototypes What are they ‍ ️You might have come across this concept of Object prototypes when learning JavaScript and just like any other coding concept it might be intimidating at first and challenging to grasp But hey as a fellow JavaScript developer I can relate and understand that So in this article I will try to break this concept into pieces that are as easy to grab and digest And with that let s dive right in What are Objects An object in JavaScript is like a virtual box or container that holds various things known as properties These properties can be values like numbers text or even functions that do something specific Why don t we use an analogy to better understand this Think of a JavaScript object like a person s profile on a social media platform The profile might contain various details Name The person s name such as John Doe Age The person s age like Likes to play soccer A statement that might be true or false Translated in JavaScript that would be var profile name John Doe age likesSoccer true How can we access the object s information you ask Well for doing that there are two methods Method We can use the dot let s access the profile object to get the age and then store it in a variable var johnsAge profile age Method The other way of doing this is using the square brackets let s do the same var johnsAge profile age So in conclusion we can say that a JavaScript object is a collection of information like a person s profile where you can store and organize various details It makes handling related data more manageable and you can quickly access specific information when you need it Case study Let s say you want to make objects for several people like employees in a company Making a single object at a time can be very tedious So how can we cut the task Using a regular function to make an object So one way of making several objects without having to hardcode them is using a regular function Let s take an example of employees in a company whereby each employee has a name age and salary In a function what we will do is that instead of assigning the values directly we will pass them as parameters and then pass arguments when we want to make a new object function createEmployee name age salary var employee name name age age salary salary return employee Now let s use the function to create two employees Example usagevar employee createEmployee John Doe console log employee Outputs name John Doe age salary var employee createEmployee Jane Doe console log employee Outputs name Jane Doe age salary But what if I told you there was even a better way of doing this You see in the above function we must create an object and return it for it to work but the JavaScript engine can do that for us How You may ask Using a constructor function to make the objects Let s convert the above function to a constructor function First of all we do not have to create an object inside the function so the var employee employee details and the return employee will be eliminated since as I told you the JavaScript engine will do that for us Secondly the parameters will remain I can hear the question you are asking Since there is no object declared how will the arguments of the parameter be assigned to the objects we create Well we are headed there Let s see what the constructor function looks like function Employee name age salary this name name this age age this salary salary Now let us make objects using the constructor function Example usagevar employee new Employee John Doe console log employee Outputs Employee name John Doe age salary var employee new Employee Jane Doe console log employee Outputs Employee name Jane Doe age salary Notice the difference The most noticeable difference is the use of the new keyword and the this keyword in our code Let s tackle the new first In JavaScript we use the new keyword when calling the constructor function which creates a new object and invokes the constructor function to initialize its properties your question answered And when using the this keyword we assign the values from the parameters to the properties of the object being created Also you can note that we have a single word to name our constructor function Employee compared to the usual naming of other functions Well though there is no technical reason for this it is a best practice to use this naming system to ensure that other developers can be able to distinguish between the constructor functions and regular functions So what is the difference Regular Function Mechanism It explicitly creates an object inside the function assigns values to its properties and returns the object Invocation Called like any normal function without the new keyword Intention Generally used when you want to create an object in a one off or specific way Scope Any properties or methods defined within the function are confined to that function unless explicitly returned Constructor Function Mechanism Utilizes the this keyword to assign values to the properties of the newly created object that s implicitly created by the new keyword Invocation Called with the new keyword which creates a new object instance and calls the constructor to initialize it Intention Designed to create multiple instances of objects with the same structure facilitating code reusability Prototype Inheritance Constructor functions inherently set up a link to the object s prototype allowing all instances created by the constructor to share methods and properties defined on the prototype covered below How cool is that function Now let s say all employees should have the ability to introduce themselves What that means is that we should have a method that should be accessible to every object that we make using the constructor function Employee How can we make that happen You could add a method inside the constructor but it would be duplicated for every employee object created wasting memory Well introducing Well introducing Prototypes What are object prototypes A prototype in JavaScript is a special object that other objects can access to share properties and methods It s like a blueprint that objects can reference The JavaScript engine creates a prototype for every function it does not matter if it is a constructor or a regular function Why Use Prototypes Prototypes allow you to define properties and methods that are shared across all instances of a particular object This avoids duplicating the same code for each instance Let s see a diagram of how a prototype works As you can see the indication by the arrows both employees have access to the prototype so we don t have to create a function in the constructor for every instance of employee Now in our Employee function how can we construct that Here is how Employee prototype introduce function return Hi I m this name and I earn this salary per year Let s see if Jane and John can introduce themselves Oh yes They can You see not so hard How about we create a new employee and see if they can access our prototype function Employee name age salary this name name this age age this salary salary var employee new Employee John Doe var employee new Employee Jane Doe Employee prototype introduce function return Hi I m this name and I earn this salary per year var employee new Employee Kelvin console log employee introduce Run that What do you know Kelvin can as well introduce himself Well thanks for learning with me this is just a shallow touching of the Object and Object prototypes For a detailed lesson check this out Like comment and share 2023-08-20 18:14:25
Apple AppleInsider - Frontpage News Yaber K2s projector review: streaming made easy with integrated apps https://appleinsider.com/articles/23/08/20/yaber-k2s-projector-review-streaming-made-easy-with-integrated-apps?utm_medium=rss Yaber Ks projector review streaming made easy with integrated appsThe Yaber Ks projector allows you to stream movies directly from popular platforms without the hassle of extra wires But before you rush out to buy it there are some drawbacks to be aware of Review Yaber Ks projector Projectors are versatile devices that can enhance both work and entertainment Whether you want to present your ideas to your colleagues or enjoy a movie night with your family a projector can provide a large and clear display Read more 2023-08-20 18:05:20
ニュース BBC News - Home California braces for imminent storm Hilary arrival https://www.bbc.co.uk/news/world-us-canada-66559623?at_medium=RSS&at_campaign=KARANGA western 2023-08-20 18:24:33
ニュース BBC News - Home West Ham 3-1 Chelsea: Nayef Aguerd, Michail Antonio and Lucas Paqueta score in Hammers win https://www.bbc.co.uk/sport/football/66490161?at_medium=RSS&at_campaign=KARANGA West Ham Chelsea Nayef Aguerd Michail Antonio and Lucas Paqueta score in Hammers winWest Ham United claim a London derby win against big spending Chelsea despite Nayef Aguerd s red card midway through the second half 2023-08-20 18:26:11
js JavaScriptタグが付けられた新着投稿 - Qiita Chat GPT のFunction Callingについて(基礎の基礎編) https://qiita.com/rei_441/items/7c659a07ca7e02018883 chatgpt 2023-08-21 04:21:13
海外TECH MakeUseOf 6 Ways to Minimize Apple Watch Notifications for a Peaceful Day https://www.makeuseof.com/how-to-minimize-apple-watch-notifications/ Ways to Minimize Apple Watch Notifications for a Peaceful DayApple Watch notifications can get annoying at times and distract you from work Here s how to minimize them so you only get the important alerts 2023-08-20 19:15:24
海外TECH MakeUseOf What Is SIEM and How Can You Use It to Optimize Your Security? https://www.makeuseof.com/what-is-siem/ event 2023-08-20 19:01:24
Apple AppleInsider - Frontpage News Apple's loaded M1 Max MacBook Pro 64GB 2TB drops to record low $2,949 https://appleinsider.com/articles/23/08/20/apples-loaded-m1-max-macbook-pro-64gb-2tb-drops-to-record-low-2949?utm_medium=rss Apple x s loaded M Max MacBook Pro GB TB drops to record low Save on Apple s M Max inch MacBook Pro with combined instant and coupon savings Plus get off AppleCare The loaded M Max configuration features Apple s top of the line chip in the closeout M line with a core GPU It also has GB of memory and a spacious TB SSD to help future proof your purchase Use code APINSIDER Read more 2023-08-20 19:12:07
海外TECH CodeProject Latest Articles IntelliTask https://www.codeproject.com/Articles/867009/IntelliTask IntelliTaskTask Manager shows you the programs processes and services that are currently running on your computer You can use Task Manager to monitor your computer s performance or to close a program that is not responding 2023-08-20 19:22:00
海外科学 NYT > Science Russia’s Luna-25 Moon Lander Is Lost in a Crash https://www.nytimes.com/2023/08/20/science/russia-moon-space-crash.html roscosmos 2023-08-20 19:06:43
ニュース BBC News - Home California braces for imminent storm Hilary arrival https://www.bbc.co.uk/news/world-us-canada-66559623?at_medium=RSS&at_campaign=KARANGA western 2023-08-20 19:53:07
ニュース BBC News - Home Canada wildfires: At least 30,000 households in British Columbia told to evacuate https://www.bbc.co.uk/news/world-us-canada-66562610?at_medium=RSS&at_campaign=KARANGA hangs 2023-08-20 19:56:18
ニュース BBC News - Home British Museum: How easy is it to steal from a museum? https://www.bbc.co.uk/news/uk-66535958?at_medium=RSS&at_campaign=KARANGA world 2023-08-20 19:04:22
ニュース BBC News - Home Niger coup leader Gen Tchiani promises to handover power in three years https://www.bbc.co.uk/news/world-africa-66562765?at_medium=RSS&at_campaign=KARANGA foreign 2023-08-20 19:32:33
ビジネス ダイヤモンド・オンライン - 新着記事 はなさく生命の柏原新社長が目指す「ニュー・インシュアランス・クリエイター」とは? - ダイヤモンド保険ラボ https://diamond.jp/articles/-/327899 はなさく生命の柏原新社長が目指す「ニュー・インシュアランス・クリエイター」とはダイヤモンド保険ラボ年に日本生命保険の子会社として誕生した、はなさく生命保険。 2023-08-21 04:55:00
ビジネス ダイヤモンド・オンライン - 新着記事 中央銀行はインフレに勝てるのか?日本は「抑制不能」懸念、欧米に「景気後退」不安 - 中央銀行vsインフレ “新常態”時代の闘い https://diamond.jp/articles/-/327782 中央銀行はインフレに勝てるのか日本は「抑制不能」懸念、欧米に「景気後退」不安中央銀行vsインフレ“新常態時代の闘い欧米主要国のインフレ退治が最終局面を迎えている。 2023-08-21 04:50:00
ビジネス ダイヤモンド・オンライン - 新着記事 ChatGPT「超実用的」プロンプト集、職種別・業種別・部署別にコピペで即使える厳選100選! - コピーですぐに使える!ChatGPT100選 職種別・業種別・部署別 https://diamond.jp/articles/-/327778 ChatGPT「超実用的」プロンプト集、職種別・業種別・部署別にコピペで即使える厳選選コピーですぐに使えるChatGPT選職種別・業種別・部署別ChatGPTの台頭で、われわれの仕事は大きく変わろうとしている。 2023-08-21 04:45:00
ビジネス ダイヤモンド・オンライン - 新着記事 焦土のハワイ観光地、土地買いあさり警戒 - WSJ PickUp https://diamond.jp/articles/-/327898 wsjpickup 2023-08-21 04:40:00
ビジネス ダイヤモンド・オンライン - 新着記事 習近平の改革大コケ…塾禁止でタピオカ店風「闇予備校」が繁盛の皮肉【池上彰・増田ユリヤ対談】 - 池上彰と増田ユリヤの世界最前線 https://diamond.jp/articles/-/327721 習近平の改革大コケ…塾禁止でタピオカ店風「闇予備校」が繁盛の皮肉【池上彰・増田ユリヤ対談】池上彰と増田ユリヤの世界最前線受験戦争が熾烈な韓国だが、尹錫悦大統領が「学校の授業で扱わない内容は、入試問題から排除するように」と異例の言及を行った。 2023-08-21 04:35:00
ビジネス ダイヤモンド・オンライン - 新着記事 中比、南シナ海で対立激化 岩礁守る古い船巡り - WSJ PickUp https://diamond.jp/articles/-/327897 wsjpickup 2023-08-21 04:30:00
ビジネス ダイヤモンド・オンライン - 新着記事 インテルの買収頓挫、テック大手M&Aの前途示す - WSJ PickUp https://diamond.jp/articles/-/327896 mampampa 2023-08-21 04:25:00
ビジネス ダイヤモンド・オンライン - 新着記事 「20%の努力で80%の能力を獲得できる」が、セミプロからプロになるには「圧倒的な才能と圧倒的な努力」が必要になる - シンプルで合理的な人生設計 https://diamond.jp/articles/-/327672 「の努力での能力を獲得できる」が、セミプロからプロになるには「圧倒的な才能と圧倒的な努力」が必要になるシンプルで合理的な人生設計「幸福」をつの資本をもとに定義した前著『幸福の「資本」論』からパワーアップ。 2023-08-21 04:25:00
ビジネス ダイヤモンド・オンライン - 新着記事 【会議で使える!】メンバーから意見がどんどん出てくる!「質問」の極意とは? - ゴゴスマ石井のなぜか得する話し方 https://diamond.jp/articles/-/326923 2023-08-21 04:22:00
ビジネス ダイヤモンド・オンライン - 新着記事 超シンプルなゲーム「オセロ」の奥深さを高校数学的に考えてみた - 【フルカラー図解】高校数学の基礎が150分でわかる本 https://diamond.jp/articles/-/327877 超シンプルなゲーム「オセロ」の奥深さを高校数学的に考えてみた【フルカラー図解】高校数学の基礎が分でわかる本子どもから大人まで数学を苦手とする人は非常に多いのではないでしょうか。 2023-08-21 04:19:00
ビジネス ダイヤモンド・オンライン - 新着記事 【名門国立大】東京学芸大学の学生にリアルな就活事情について話を聞いてみた - 大学図鑑!2024 有名大学82校のすべてがわかる! https://diamond.jp/articles/-/327873 2023-08-21 04:16:00
ビジネス ダイヤモンド・オンライン - 新着記事 職場にいる「嫌味を言ってくる人」に絡まれたとき仕事のできる人はどうする? - 1秒で答えをつくる力 お笑い芸人が学ぶ「切り返し」のプロになる48の技術 https://diamond.jp/articles/-/327906 2023-08-21 04:13:00
ビジネス ダイヤモンド・オンライン - 新着記事 【精神科医が教える】 リスクをとって失敗しないと得られないこと・ベスト1 - 精神科医Tomyが教える 40代を後悔せず生きる言葉 https://diamond.jp/articles/-/325111 そんなときの助けになるのが、『精神科医Tomyが教える代を後悔せず生きる言葉』ダイヤモンド社だ。 2023-08-21 04:10:00
ビジネス ダイヤモンド・オンライン - 新着記事 なぜ有能な経営者ほど「人が育たない環境」を作ってしまうのか?(後編) - 新装版 売上2億円の会社を10億円にする方法 https://diamond.jp/articles/-/326607 なぜ有能な経営者ほど「人が育たない環境」を作ってしまうのか後編新装版売上億円の会社を億円にする方法コツコツと業績を伸ばしてきた経営者が直面する「売上の壁」。 2023-08-21 04:07:00
ビジネス ダイヤモンド・オンライン - 新着記事 生命科学者が教える「利己的な人」と「利他的な人」の決定的な違いとは?【書籍オンライン編集部セレクション】 - WHAT IS LIFE?(ホワット・イズ・ライフ?)生命とは何か https://diamond.jp/articles/-/327189 2023-08-21 04:04:00
ビジネス ダイヤモンド・オンライン - 新着記事 【データは語る】定年前、50代に転職して満足できる人、後悔して終わる人を分ける決定的な差 - <定年塾シリーズ>自分に合った「小さな仕事」の見つけ方 https://diamond.jp/articles/-/326209 【データは語る】定年前、代に転職して満足できる人、後悔して終わる人を分ける決定的な差自分に合った「小さな仕事」の見つけ方定年後の「仕事」として、自分にはどんな仕事が向いているのか、そして、その仕事をどうやって見つければいいのかなどを考えていく本連載「自分に合った【小さな仕事】の見つけ方」。 2023-08-21 04:01:00
ビジネス 東洋経済オンライン 「テキサス新幹線」実現へ前進?強力な援軍現る アムトラックと協業検討、補助金申請も | 海外 | 東洋経済オンライン https://toyokeizai.net/articles/-/695582?utm_source=rss&utm_medium=http&utm_campaign=link_back 政府出資 2023-08-21 04:30:00
海外TECH reddit Delfino Maza 2023 Ultimate Singles - Winners Quarters - LG | MkLeo vs. WF | Skyjay https://www.reddit.com/r/smashbros/comments/15wkl3o/delfino_maza_2023_ultimate_singles_winners/ Delfino Maza Ultimate Singles Winners Quarters LG MkLeo vs WF Skyjay Watch Live English Stream Winners Quarters Leonardo quot MkLeo quot Lopez Perez Twitch Twitter Wiki Team vs Juan quot Skyjay quot Pablo Twitch Twitter Wiki Team Byleth MkLeo Skyjay Incineroar Joker Pokémon Stadium Incineroar Stock Aegis Pokémon Stadium Incineroar Stock Aegis Kalos Pokémon League Incineroar Stocks Generated by Tournament Tabler submitted by u SelfDestructGambit to r smashbros link comments 2023-08-20 19:33:29
海外TECH MakeUseOf How to Implement Parallax Scrolling in Godot https://www.makeuseof.com/godot-parallax-scrolling-how-to-implement/ different 2023-08-20 20:01:24
海外TECH DEV Community Unveiling Our Art-Guide Telegram Bot: Where AI and Artistry Converge https://dev.to/arielxx/unveiling-our-art-guide-telegram-bot-where-ai-and-artistry-converge-58k2 Unveiling Our Art Guide Telegram Bot Where AI and Artistry ConvergeDelighted to unveil the outcome of our collaborative efforts during Module Practicing DS Skills in ML Competitions in my academic journey at Harbour Space University I m excited to introduce our recent accomplishment a Telegram bot that leverages AI technology to craft intricate audio descriptions for diverse artworks By feeding the bot an image it ingeniously composes a comprehensive narrative that not only encapsulates the artist s vision but also delves into the artwork s components creation date estimated value and more Given the constrained timeframe of just one week we strategically chose to adopt streamlined initial approaches to ensure a successful outcome Engaging with this project has been exceptionally enlightening and rewarding I m eagerly looking forward to immersing myself in more such enriching learning experiences in the times ahead For those who are intrigued by our endeavor I invite you to explore the project s GitHub repository Art Guide GitHub Repository Dive into the intricacies of the codebase the methodologies that underpin our work and the innovative machine learning models that power the bot s insightful audio descriptions Stay tuned for more updates on this exciting journey I m all ears for discussions questions and potential collaborations related to this project Let s keep the conversation thriving on Dev to A heartfelt thank you for your unwavering support and interest in our unique exploration of the synergy between art and artificial intelligence Warm regards 2023-08-20 20:15:30
海外TECH DEV Community Revolutionizing Open Source Revenue Generation: Introducing MintyCode.io Marketplace https://dev.to/nikitakoselev/revolutionizing-open-source-revenue-generation-introducing-mintycodeio-marketplace-4nek Revolutionizing Open Source Revenue Generation Introducing MintyCode io MarketplaceQuick hack you can just check out that support request I raised my first direct sponsorship of a feature in opensource using Mintycode ioQuick hack You can sign up at Mintycode io and raise a ticket can be with bounty or more to support some feature bugfix in an opensource project you love IntroductionThe world of open source software has long been a realm of collaboration innovation and community driven development However the question of how to sustainably monetize open source projects while maintaining the spirit of openness and accessibility has always been a challenge Enter MintyCode io a pioneering player in the field of decentralized IP marketplaces This article explores the innovative approach of MintyCode io to help developers earn money through open source projects while simultaneously encouraging contributions and fostering a thriving ecosystem The Paradigm Shift Monetizing Open SourceMintyCode io has embarked on a mission to revolutionize the open source landscape by introducing a novel method of generating revenue By leveraging blockchain technology and the concept of Non Fungible Tokens NFTs the platform offers custom licenses for open source projects This enables developers to protect their intellectual property and control how their software is used all while receiving compensation Decentralized IP MarketplaceAt the heart of MintyCode io lies its decentralized IP marketplace This marketplace acts as a hub where developers can tokenize their open source projects and offer NFT based software licenses to interested parties This paradigm shift in licensing brings transparency traceability and authenticity to the licensing process benefiting both creators and users of open source software NFT Software LicensesNFTs often associated with digital art and collectibles are now being applied to the realm of software licensing MintyCode io harnesses the power of NFTs to represent software licenses ensuring that each license is unique and securely linked to a specific open source project This innovation provides developers with an avenue to monetize their creations directly without resorting to traditional restrictive licensing models Contributor Rewards and IncentivesMintyCode io recognizes the importance of nurturing a collaborative open source community To incentivize contributions and maintain the momentum of open source development the platform offers rewards for various activities Whether it s fixing bugs improving code enhancing documentation or even sponsoring repo owners directly contributors can earn incentives in the form of cryptocurrency or NFT based tokens A Practical Example Sponsoring Repo Owner via MintyCode ioAn excellent example of MintyCode io s commitment to incentivizing open source contributions can be seen through the case of the GitHub repository owner ibilalkayy In the specific GitHub issue MintyCode io facilitated a direct sponsorship arrangement This sponsorship not only supports the developer financially but also underscores the platform s dedication to valuing and rewarding open source contributors for their efforts Fostering a Thriving EcosystemOne of the key strengths of MintyCode io is its ability to create a self sustaining ecosystem By intertwining monetization licensing and contribution incentives the platform aligns the interests of creators users and contributors This harmony strengthens the open source community encourages innovation and promotes the creation of high quality software ConclusionMintyCode io is leading the way in transforming the open source landscape By introducing a decentralized IP marketplace and innovative NFT based software licenses developers can now earn money from their open source projects while maintaining the principles of openness and collaboration The platform s focus on contributor rewards and fostering a thriving ecosystem ensures that open source development remains vibrant and sustainable The example of sponsoring a repository owner such as Bilal Khan highlights the real world impact of MintyCode io s approach As MintyCode io continues to pave the path for a new era of open source monetization developers and the community at large stand to benefit from this groundbreaking approach 2023-08-20 20:13:42
ビジネス ダイヤモンド・オンライン - 新着記事 年収が高い陸運・海運会社ランキング2022最新版【トップ5】1位、2位は1000万円超え! - ニッポンなんでもランキング! https://diamond.jp/articles/-/327909 企業情報 2023-08-21 05:50:00
ビジネス ダイヤモンド・オンライン - 新着記事 年収が高い陸運・海運会社ランキング2022最新版【全35社完全版】陸運で年収の高い会社はどこ? - ニッポンなんでもランキング! https://diamond.jp/articles/-/327892 企業情報 2023-08-21 05:50:00
ビジネス ダイヤモンド・オンライン - 新着記事 年収700万円の人の手取りは21年で51万円減!手取り激減ニッポン、衝撃の試算結果 - 今週の週刊ダイヤモンド ここが見どころ https://diamond.jp/articles/-/327777 年収万円の人の手取りは年で万円減手取り激減ニッポン、衝撃の試算結果今週の週刊ダイヤモンドここが見どころ『週刊ダイヤモンド』月日号の第特集は「手取りが増える大全」です。 2023-08-21 05:40:00
ビジネス ダイヤモンド・オンライン - 新着記事 「消滅しない」都道府県ランキング2023!2位福岡県、1位は? - 日本全国SDGs調査ランキング https://diamond.jp/articles/-/327926 「消滅しない」都道府県ランキング位福岡県、位は日本全国SDGs調査ランキング地域が「消滅しない」ためには、住民たちが暮らしに幸福を感じ、生活に満足し、地域への愛着を持って、ずっと住み続けようと考えることが重要だ。 2023-08-21 05:30:00
ビジネス ダイヤモンド・オンライン - 新着記事 「消滅しない」都道府県ランキング2023【全47都道府県・完全版】 - 日本全国SDGs調査ランキング https://diamond.jp/articles/-/327401 「消滅しない」都道府県ランキング【全都道府県・完全版】日本全国SDGs調査ランキング地域が「消滅しない」ためには、住民たちが暮らしに幸福を感じ、生活に満足し、地域への愛着を持って、ずっと住み続けようと考えることが重要だ。 2023-08-21 05:30:00
ビジネス ダイヤモンド・オンライン - 新着記事 アナログ不動産業務がChatGPTで大変身、営業・接客・重説作成から管理支援までプロンプト5選! - コピーですぐに使える!ChatGPT100選 職種別・業種別・部署別 https://diamond.jp/articles/-/327780 アナログ不動産業務がChatGPTで大変身、営業・接客・重説作成から管理支援までプロンプト選コピーですぐに使えるChatGPT選職種別・業種別・部署別営業マンのスキルと人脈と足を使った地道な活動に支えられている不動産業の業務。 2023-08-21 05:25:00
ビジネス ダイヤモンド・オンライン - 新着記事 「早慶上理」最難関私立大学群で格差拡大!【早慶上理ICU・GMARCH】偏差値42年間の推移早見表&入試倍率 - 大学 地殻変動 https://diamond.jp/articles/-/327484 2023-08-21 05:20:00
ビジネス ダイヤモンド・オンライン - 新着記事 三菱商事、三井物産…五大商社の第1四半期は「90点以上」で上ブレ期待大!中計を最も評価できるのは? - 最新決算 プロの目 https://diamond.jp/articles/-/327901 三菱商事、三井物産…五大商社の第四半期は「点以上」で上ブレ期待大中計を最も評価できるのは最新決算プロの目注目度の高い業界や企業の最新決算を分析する「最新決算プロの目」の第回は、総合商社を取り上げる。 2023-08-21 05:15:00
ビジネス ダイヤモンド・オンライン - 新着記事 物価上昇率「16カ月連続で2%目標超え」に漂う不安、日銀は欧米中銀の轍を踏むのか - 中央銀行vsインフレ “新常態”時代の闘い https://diamond.jp/articles/-/327786 中央銀行 2023-08-21 05:10:00
ビジネス ダイヤモンド・オンライン - 新着記事 スポーツジムが仕事場に 米で人気の新トレンド - WSJ発 https://diamond.jp/articles/-/327945 仕事場 2023-08-21 05:06:00
ビジネス ダイヤモンド・オンライン - 新着記事 23年末のドル円相場の水準は135円?米経済「軟着陸」でもドル安になる理由 - 政策・マーケットラボ https://diamond.jp/articles/-/327874 2023-08-21 05:05:00
ビジネス ダイヤモンド・オンライン - 新着記事 半導体再生、米政府が頼るウォール街の精鋭集団 - WSJ発 https://diamond.jp/articles/-/327946 集団 2023-08-21 05:02:00
ビジネス 東洋経済オンライン 来年も猛暑?今夏がこんなにも「暑くなった」根因 日本人科学者が語る世界各地で起こる熱波の背景 | 天気・天候 | 東洋経済オンライン https://toyokeizai.net/articles/-/694972?utm_source=rss&utm_medium=http&utm_campaign=link_back 地球温暖化 2023-08-21 05:30:00
海外TECH reddit Post Game Chat 8/20 Mariners @ Astros https://www.reddit.com/r/Mariners/comments/15wlyd9/post_game_chat_820_mariners_astros/ Post Game Chat Mariners AstrosPlease use this thread to discuss anything related to today s game You may post anything as long as it falls within stated posting guidelines You may also post gifs and memes as long as it is related to the game Please keep the discussion civil Discord Seattle Sports Line Score Game Over R H E LOB SEA HOU Box Score HOU AB R H RBI BB SO BA B Altuve B Bregman DH Alvarez Y C Diaz Y LF McCormick B Singleton CF Dubón LF Julks RF Tucker SS Peña HOU IP H R ER BB SO P S ERA Brown H Stanek Mushinski Graveman Montero Abreu B Pressly SEA AB R H RBI BB SO BA CF Rodríguez Ju B Suárez E B France T RF Hernández T DH Ford M LF Canzone LF Haggerty SS Moore D B Rojas J C O Keefe C Raleigh SEA IP H R ER BB SO P S ERA Hancock Saucedo Thornton Brash Campbell Topa Muñoz A Speier Scoring Plays Inning Event Score T Teoscar Hernandez walks T Dominic Canzone doubles on a sharp line drive to right fielder Chas McCormick Teoscar Hernandez scores Mike Ford to rd T Eugenio Suarez homers on a fly ball to left center field Josh Rojas scores T Brian O Keefe doubles on a ground ball to left fielder Corey Julks deflected by third baseman Alex Bregman Dominic Canzone scores Josh Rojas scores B Yordan Alvarez singles on a ground ball to right fielder Teoscar Hernandez Jeremy Pena scores Jose Altuve scores Alex Bregman to nd B Yainer Diaz doubles on a sharp line drive to right fielder Teoscar Hernandez Alex Bregman scores Yordan Alvarez to rd B Mauricio Dubon doubles on a line drive to left fielder Dominic Canzone Yordan Alvarez scores Yainer Diaz scores T Dylan Moore singles on a ground ball to right fielder Chas McCormick Mike Ford scores Dominic Canzone to nd B Alex Bregman triples on a fly ball to center fielder Julio Rodriguez Jeremy Pena scores Highlights Description Length Video Bullpen availability for Houston August vs Mariners Video Bullpen availability for Seattle August vs Astros Video Fielding alignment for Seattle August vs Astros Video Eugenio Suárez Home Run Statcast Analysis Video Breaking down Hunter Brown s pitches Video Decisions Winning Pitcher Losing Pitcher Save Brash ERA Brown H ERA Speier SV ERA Attendance Weather Wind °F Roof Closed mph None HP B B B Stu Scheurwater Mark Wegner Alex MacKay Bruce Dreckman Game ended at PM submitted by u Mariners bot to r Mariners link comments 2023-08-20 20:27:09
海外TECH reddit Post Game Thread (Aug 20, 2023): Mariners (69-55) @ Astros (70-55) https://www.reddit.com/r/Astros/comments/15wlxx2/post_game_thread_aug_20_2023_mariners_6955_astros/ Post Game Thread Aug Mariners Astros Line Score Game Over R H E LOB SEA HOU Box Score HOU AB R H RBI BB SO BA B Altuve B Bregman DH Alvarez Y C Diaz Y LF McCormick B Singleton CF Dubón LF Julks RF Tucker SS Peña HOU IP H R ER BB SO P S ERA Brown H Stanek Mushinski Graveman Montero Abreu B Pressly SEA AB R H RBI BB SO BA CF Rodríguez Ju B Suárez E B France T RF Hernández T DH Ford M LF Canzone LF Haggerty SS Moore D B Rojas J C O Keefe C Raleigh SEA IP H R ER BB SO P S ERA Hancock Saucedo Thornton Brash Campbell Topa Muñoz A Speier Scoring Plays Inning Event Score T Teoscar Hernandez walks T Dominic Canzone doubles on a sharp line drive to right fielder Chas McCormick Teoscar Hernandez scores Mike Ford to rd T Eugenio Suarez homers on a fly ball to left center field Josh Rojas scores T Brian O Keefe doubles on a ground ball to left fielder Corey Julks deflected by third baseman Alex Bregman Dominic Canzone scores Josh Rojas scores B Yordan Alvarez singles on a ground ball to right fielder Teoscar Hernandez Jeremy Pena scores Jose Altuve scores Alex Bregman to nd B Yainer Diaz doubles on a sharp line drive to right fielder Teoscar Hernandez Alex Bregman scores Yordan Alvarez to rd B Mauricio Dubon doubles on a line drive to left fielder Dominic Canzone Yordan Alvarez scores Yainer Diaz scores T Dylan Moore singles on a ground ball to right fielder Chas McCormick Mike Ford scores Dominic Canzone to nd B Alex Bregman triples on a fly ball to center fielder Julio Rodriguez Jeremy Pena scores Highlights Description Length Video Bullpen availability for Houston August vs Mariners Video Bullpen availability for Seattle August vs Astros Video Fielding alignment for Seattle August vs Astros Video Eugenio Suárez Home Run Statcast Analysis Video Breaking down Hunter Brown s pitches Video Decisions Winning Pitcher Losing Pitcher Save Brash ERA Brown H ERA Speier SV ERA Game ended at PM submitted by u AstrosBot to r Astros link comments 2023-08-20 20:26:39
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] 外国人旅行者が夏休みに訪れたい地域 2位「大阪」、1位は? https://www.itmedia.co.jp/business/articles/2308/21/news031.html itmedia 2023-08-21 06:30:00
Apple AppleInsider - Frontpage News macOS Ventura App Management exploit revealed 10 months after discovery https://appleinsider.com/articles/23/08/20/macos-ventura-app-management-exploit-revealed-10-months-after-discovery?utm_medium=rss macOS Ventura App Management exploit revealed months after discoveryA new exploit has been found for macOS Ventura one that allows an attacker to bypass App Management and is being disclosed after failing to be fixed by Apple in ten months Jeff Johnson is a developer who has found exploits in a variety of online services and software over the years However in his latest disclosure of an issue he s doing so due to Apple failing to actually issue an update that solves the problem at all After writing a blog post in October about macOS Ventura s App Management feature Johnson discovered a bypass for App Management that didn t require full disk access At the time he sent the issue to Apple Product Security expecting a response Read more 2023-08-20 21:45:09
海外科学 NYT > Science Russia’s Luna-25 Moon Lander Is Lost in a Crash https://www.nytimes.com/2023/08/20/science/russia-moon-space-crash.html roscosmos 2023-08-20 21:59:52
ニュース BBC News - Home Spain's winning scorer Carmona told after final her father had died https://www.bbc.co.uk/sport/football/66566564?at_medium=RSS&at_campaign=KARANGA Spain x s winning scorer Carmona told after final her father had diedOlga Carmona who scored Spain s winner in the Women s World Cup final is told after the game against England that her father has died 2023-08-20 21:32:41
ニュース BBC News - Home World Athletics Championships 2023: Katarina Johnson-Thompson & Zharnel Hughes star for GB https://www.bbc.co.uk/sport/athletics/66566276?at_medium=RSS&at_campaign=KARANGA World Athletics Championships Katarina Johnson Thompson amp Zharnel Hughes star for GBKatarina Johnson Thompson says winning world heptathlon gold in Budapest is like being in a dream on a stellar night for GB in Budapest 2023-08-20 21:16:41
IT 気になる、記になる… SwitchBot、公式ストアで「夏の大感謝祭セール」をスタート ー ほぼ全品が最大20%オフに https://taisy0.com/2023/08/21/175561.html switchbo 2023-08-20 22:12:06
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] 「何もできなくてすみません」 部下の自己肯定感が低すぎる 自信を持たせるには? https://www.itmedia.co.jp/business/articles/2308/21/news012.html itmedia 2023-08-21 07:30:00
AWS AWS Japan Blog 店舗システムのクラウド化に向けた考察2 – クラウド移行後アーキテクチャと進め方 https://aws.amazon.com/jp/blogs/news/considerration-on-cloud-of-store-system-2/ 配置 2023-08-20 22:28:36
python Pythonタグが付けられた新着投稿 - Qiita ジョージア工科大学でコンピュータサイエンスを学び始める話 https://qiita.com/kohei-arai/items/6da2327165dc4deeb146 記事 2023-08-21 07:19:42
Ruby Railsタグが付けられた新着投稿 - Qiita 【解決方法】ndefined method 'profile' for #Profile id: nil, user_id: 1, name: "〜 とは? https://qiita.com/tomoya_webtensyoku/items/d9d14d5266ca3f200320 idniluseridnamequot 2023-08-21 07:02:17
海外TECH DEV Community React Props vs State https://dev.to/imevanc/react-props-vs-state-jn React Props vs StateIntroductionReact a popular JavaScript library for building user interfaces utilizes two core concepts for managing data within components props and state Understanding the differences between these two is fundamental to building robust and maintainable React applications Getting Started Props are read only immutable values passed from parent to child components They are akin to function parameters allowing data to flow in a one way direction Here s a simple example ParentComponent jsimport ChildComponent from ChildComponent function ParentComponent const data Hello from Parent return lt ChildComponent message data gt ChildComponent jsfunction ChildComponent props return lt div gt props message lt div gt In contrast State represents mutable data local to a component managed internally It is used to handle dynamic data that can change over time Here s a snippet illustrating state usage Counter jsimport React useState from react function Counter const count setCount useState const incrementCount gt setCount count return lt div gt lt p gt Count count lt p gt lt button onClick incrementCount gt Increment lt button gt lt div gt ConclusionIn summary in React function components props are for passing data from parent to child components while state is for managing a component s internal mutable data Combining these concepts effectively allows you to create dynamic and interactive React applications Github imevancTwitter imevancc 2023-08-20 22:45:51
Apple AppleInsider - Frontpage News Adobe Co-founder Dr. John Warnock dies at 82 https://appleinsider.com/articles/23/08/20/adobe-co-founder-dr-john-warnock-dies-at-82?utm_medium=rss Adobe Co founder Dr John Warnock dies at Dr John Warnock a co founder of the creative tool producer Adobe Systems passed away on August aged Dr John Warnock Adobe Adobe announced Warnock s death on Sunday explaining he passed away on Sunday while surrounded by his family He is survived by his wife Marva Warnock and his three children Read more 2023-08-20 22:47:38
ニュース BBC News - Home Ecuador chooses president amid spike in violence https://www.bbc.co.uk/news/world-latin-america-66564320?at_medium=RSS&at_campaign=KARANGA campaign 2023-08-20 22:54:21
ビジネス ダイヤモンド・オンライン - 新着記事 米での「減量薬」人気、デンマークの経済に波及 - WSJ発 https://diamond.jp/articles/-/327948 経済 2023-08-21 07:29:00
ビジネス 東洋経済オンライン 「日経平均3万円」にこだわる人が見落とす大局観 8月下旬以降の相場を予測する「6つのポイント」 | 市場観測 | 東洋経済オンライン https://toyokeizai.net/articles/-/696041?utm_source=rss&utm_medium=http&utm_campaign=link_back 格付け会社 2023-08-21 07:30:00
マーケティング MarkeZine シェーン英会話のインタラクティブ動画活用方法 無料体験レッスンのCVRを約5倍に伸ばせたワケ http://markezine.jp/article/detail/43108 英会話 2023-08-21 07:15:00
IT 気になる、記になる… SwitchBot、「SwitchBot カーテン」の新モデル「SwitchBot カーテン3」をまもなく発売へ ー パワーや静粛性強化など https://taisy0.com/2023/08/21/175564.html switch 2023-08-20 23:46:28
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] 中国製BEVは今後どうなるか 避けられない現実 https://www.itmedia.co.jp/business/articles/2308/21/news036.html itmedia 2023-08-21 08:30:00
IT ITmedia 総合記事一覧 [ITmedia News] X(旧Twitter)上の2011年~2014年のt.coリンクが非表示に バグ? https://www.itmedia.co.jp/news/articles/2308/21/news086.html itmedianewsx 2023-08-21 08:22:00
TECH Techable(テッカブル) データ投入だけで、人的資本情報をグラフ・チャートで可視化。経営の意思決定を支援する新サービス https://techable.jp/archives/217445 中堅企業 2023-08-20 23:00:28
Linux Ubuntuタグが付けられた新着投稿 - Qiita Ubuntuが起動しないときの対処法 https://qiita.com/TakanoTaiga/items/6545e01ec80c665b0db2 nvidiagpu 2023-08-21 08:08:44
技術ブログ Developers.IO 【アップデート】ECS on Fargateでサイドカーからプロセス/システムコール監視が簡単にできるようになりました! https://dev.classmethod.jp/articles/ecs-on-fargate-support-shared-pid-namespace/ ecsonfargate 2023-08-21 00:00:08
金融 RSS FILE - 日本証券業協会 公社債店頭売買高 https://www.jsda.or.jp/shiryoshitsu/toukei/tentoubaibai/index.html 店頭 2023-08-21 00:00:00
ニュース BBC News - Home Nurse Lucy Letby to be sentenced for murdering seven babies https://www.bbc.co.uk/news/uk-england-merseyside-66545358?at_medium=RSS&at_campaign=KARANGA modern 2023-08-20 23:16:26
ニュース BBC News - Home The Papers: 'Heartbreak' for England who 'did us all proud' https://www.bbc.co.uk/news/blogs-the-papers-66566495?at_medium=RSS&at_campaign=KARANGA papers 2023-08-20 23:00:36
ビジネス 東洋経済オンライン 北朝鮮の2022年経済成長率はマイナス0.2% 韓国の中央銀行発表の統計からみえる経済実態 | 韓国・北朝鮮 | 東洋経済オンライン https://toyokeizai.net/articles/-/695770?utm_source=rss&utm_medium=http&utm_campaign=link_back 中央銀行 2023-08-21 08:30:00
ビジネス プレジデントオンライン 早くて便利なICOCAがあるのになぜ…JR西日本がわざわざ「QRコード決済」を導入する本当の狙い - 鉄道事業者で初めて金融分野に進出 https://president.jp/articles/-/72932 icoca 2023-08-21 09:00:00
ビジネス プレジデントオンライン 無痛分娩は「贅沢でずるい」のか?…海外では当たり前なのに、日本人だけが「無痛は甘え」と考える根本原因 - 地域偏在を解消し、非科学的な精神論はやめるべき https://president.jp/articles/-/72916 当たり前 2023-08-21 09:00:00
ビジネス プレジデントオンライン 「新NISAとセットで金利を優遇」には要注意…金融機関のオススメ商品を買ってはいけない本当の理由 - 特に用心したい「金融商品」と「セールストーク」とは https://president.jp/articles/-/72681 営業マン 2023-08-21 09:00:00
IT 気になる、記になる… Xiaomi、1,990円のワイヤレスイヤホン「Redmi Buds 4 Active」をAmazon限定で発売 https://taisy0.com/2023/08/21/175573.html amazon 2023-08-21 00:16:21
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] 好きな家電量販店 3位「ヨドバシ」、2位「ケーズデンキ」、1位は? https://www.itmedia.co.jp/business/articles/2308/21/news043.html itmedia 2023-08-21 09:30:00
IT 情報システムリーダーのためのIT情報専門サイト IT Leaders IBMとマイクロソフトが生成AI導入支援で協業、「IBM Consulting Azure OpenAI Service」を提供 | IT Leaders https://it.impress.co.jp/articles/-/25246 IBMとマイクロソフトが生成AI導入支援で協業、「IBMConsultingAzureOpenAIService」を提供ITLeaders米IBMは年月日米国現地時間、生成AI導入支援サービス「IBMConsultingAzureOpenAIService」を発表した。 2023-08-21 09:30:00
AWS AWS Japan Blog Azure Cosmos DB から Amazon DynamoDB に移行する際に想定される相違点 https://aws.amazon.com/jp/blogs/news/differences-to-expect-when-migrating-from-azure-cosmos-db-to-amazon-dynamodb/ ferencestoexpectwhenmigra 2023-08-21 00:33:45
デザイン コリス セール初登場がかなりたくさん! Kindle本 夏の特大セールが開催、Web制作・デザイン・イラストの良書が最安値です https://coliss.com/articles/products/kindle-sales-20230821.html 続きを読む 2023-08-21 00:36:13
js JavaScriptタグが付けられた新着投稿 - Qiita Vitest のモック関数 fn、spyOn、mock の使い分け https://qiita.com/Yasushi-Mo/items/811456b9a0e9ee735b4b spyon 2023-08-21 09:18:21
AWS AWSタグが付けられた新着投稿 - Qiita API Gateway の HTTP API を AWS CDK で作成する https://qiita.com/TaaaZyyy/items/54e5d69720181f17f299 awscdknpminstallaws 2023-08-21 09:17:01
Git Gitタグが付けられた新着投稿 - Qiita Gitの差分ファイルのみzipにするWindowsバッチファイル https://qiita.com/jun1s/items/863370bd401bf513430e gitarchivediff 2023-08-21 09:50:40
技術ブログ Developers.IO [アップデート] AWS Audit Manager の一部イベントが EventBridge に統合されたので、CloudTrail 経由との使い分けを考えてみた https://dev.classmethod.jp/articles/audit-manager-integration-eventbridge/ awsauditmanager 2023-08-21 00:56:20
技術ブログ Developers.IO [アップデート] Amazon FSx for NetApp ONTAPでSVM作成後にマネジメントコンソールからドメイン参加できるようになりました https://dev.classmethod.jp/articles/fsxn-join-svm-to-ad/ amazonfsxfornetappontap 2023-08-21 00:22:57
海外TECH DEV Community Lets #HackTogether: Javascript On Azure Keynote https://dev.to/azure/lets-hacktogether-javascript-on-azure-keynote-nml Lets HackTogether Javascript On Azure KeynoteClick below to join the next deep dive session Aug Join the HackTogether learning journey in steps ️⃣ Watch the keynote learn to build enterprise grade apps ️⃣ Register for the hack skill up on tools amp technologies ️⃣ Fork the repo make an OSS contribution Building Enterprise Grade Apps is Hard ‍ ️Are you new to modern web development Or perhaps you know the fundamentals and have built various personal projects but now you need to deliver a real world enterprise ready application And you re asking yourself How do I even start planning and building something so complex Real Talk We ve all been there Building real world applications is complicated even for experienced developers You re dealing with multiple scenarios co ordinating across multiple teams and targeting diverse users with support for multiple device platforms Plus you need to have solutions that are reliable scalable secure and cost effective Lego Analogy One way to think about this is that it s like building with Legos You know the different kinds of blocks and components and what they do You ve built a lot of Lego sets on your own And then someone hands you the piece Millenium Falcon Set and asks you to build it without the manual You might feel a little lost Paved Paths What you need is a trail map some kind of paved path that takes you from where you are know concepts build prototypes to where you need to be know architectures build products That path can take different forms Build it up This is the traditional approach where you get documentation or a developer guide that tells you how to build that application step by step with detailed instructions Tear it down This is the hacker approach where you get a completed example or an open source sample that you can reverse engineer to figure out the steps on your own And remember that for every documented project you can build up you can find hundreds more open source projects you can tear down to jumpstart your learning And you can use technologies like GitHub Copilot that can explain unfamiliar code to you so learning solo feels more like pair programming with a friend HackTogether Contoso Real EstateTo try that tear it down approach all you need is an open source sample for a real world application and a community of like minded learners and subject matter experts to help and motivate you If only you could find something like that Oh wait Join us for Hack Together JavaScript on Azure Global Hack from Aug Julia Muiruri for Microsoft Azure・Aug contosorealestate javascript beginners hacktogether That s right Going on right now is a week JavaScript on Azure hackathon where you have Azure Samples contoso real estate open source app HackTogether Event Series livestream sessionsContoso️HackTogether Discussions community forums No More Excuses Just dive in today and start skilling yourself up to learn not just how to build enterprise grade solutions but how to tear down open source samples so you can do this for any technology or use case in the future Get started by watching the HackTogether keynote below Get an overview of the application and development process then validate your own development environment and set yourself up for success Want to follow along Browse the keynote slides below Read on for a quick summary of what the application does how it is architected and where you can go to find more information to help your deconstruction journey Contoso Real Estate User ExperienceWhat is the Contoso Real Estate application behind this sample It is an enterprise application developed for a fictitious company Contoso with the purpose of supporting new hires find temporary home rentals during their onboarding phase The application has three core experiences An admin app for HR to manage rental listings data blogA blog app for new hires to read blog articlesA portal app for new hires to browse save and reserve rentals Here s a sneak peek at what that application user experience looks like Contoso Real Estate Dev ExperienceBuilding this application involves multiple scenarios which in turn will influence the developer experience in three ways Prioritization in what order should scenarios be built taking dependencies into accountArchitecture what architecture pattern should we use given team amp app requirements Technologies what compute storage amp integration decisions should we make for cost amp scale Here s a high level diagram answering those questions We use a Composable Enterprise architecture pattern that reflects the Lego blocks approach with API first strategy that defines and standardizes interaction interfaces between blocks This allows us to build front end and backend solutions as independent components that can be owned and evolved by different teams and use end to end workflows CI CD pipelines to compose the application in production It also makes it easier for us to extend the application in future to support new scenarios or replace existing components to benefit from modern technologies Next StepsSound like an interesting project to help you build real world skills and experience for enterprise grade application development Excellent Reminder that there are actions you can take to get started today ️⃣ Watch the keynote learn to build enterprise grade apps ️⃣ Register for the hack skill up on tools amp technologies ️⃣ Fork the repo make an OSS contribution Bonus Here s an illustrated guide explaining the motivation and process behind the Contoso Real Estate application Download the high resolution version here for a closer look at each tile Happy Hacking ‍️ 2023-08-21 00:17:45
海外TECH DEV Community The Paradox of Passion https://dev.to/inovak/the-paradox-of-passion-3op7 The Paradox of PassionThere s a pervasive narrative that infects us It s one that s been fueled by countless commencement speeches motivational posters and well intentioned advice Follow your passion and success will follow What if we ve got it backwards Passion The Starting Point or The Endpoint The notion that we should first find what we re passionate about and then pursue a career in that direction is tantalizing It suggests that there exists hidden within us a pre defined compass that will lead us to a fulfilling life if only we can decipher it However reality like most things is not so simple Rather than discovering passions fully formed most people develop them over time As Cal Newport s research suggests passion tends to emerge as a byproduct of mastery and experience That means instead of waiting for a lightning bolt of inspiration we should be seeking out experiences and opportunities investing in our skills and cultivating expertise Under this premise passion is not the spark but the flame the result of tending to our growth This is amazing And the most empowering realization we can come to is that passion is not a prerequisite it s a byproduct It s not bestowed upon a lucky few it s available to anyone willing to embark on the journey of experience and expertise And here s the best of it all the control is in your hands Experience First Why Mastery Fuels PassionConsider the chronology Before we fall deeply in love with something we usually have to engage with it understand its intricacies and get better at it Discovery through Doing It s in the act of doing that we unveil layers nuances and facets of a field that might have been invisible from the outside This discovery over time nurtures a deeper connection and can gradually morph into passion The Joy of Competence There s an unmatched gratification in looking back and realizing how far you ve come in a particular skill As your competence grows so does your confidence and inevitably your passion for the craft Seeing the Bigger Picture The more you immerse yourself in a field the more you recognize its potential impact This larger understanding can be a significant catalyst for passion When you see the ripple effect of your actions it s hard not to fall in love with what you do The Proactive Approach to PassionThe passive narrative of finding your passion places the onus on external factors suggesting that it s something that happens to you In contrast understanding that passion is cultivated puts the ball in your court It empowers you to take charge seek experiences and be proactive in your professional journey This proactive approach doesn t just apply to the realm of careers Think about personal relationships While the initial spark is crucial enduring partnerships are built on shared experiences challenges faced together and the deep understanding that comes with time The Beauty of ControlUnderstanding that passion is cultivated and not merely discovered is liberating It means You re Not Bound by Destiny You aren t waiting for a mythical calling to reveal itself Instead you have the agency to explore immerse and eventually find passion in various fields Growth is in Your Hands If passion is tied to mastery and expertise then it s within reach of anyone willing to learn adapt and grow Every challenge faced and skill acquired is a step closer to cultivating passion Freedom to Pivot Realizing that passion can be cultivated means you re not chained to a singular destiny If one path doesn t resonate the freedom to pivot learn anew and cultivate passion elsewhere is always available The idea of being self taught and pursuing something out of sheer interest does carry romantic appeal It suggests a genuine curiosity and love for the craft However it s essential to understand that for many passion isn t the reason they started but the reason they stayed Passion as a Journey Not a Starting PointIn dismantling the passion first narrative we open doors to countless possibilities It s no longer about seeking that one thing you re meant to do but about diving into experiences mastering them and letting passion emerge organically Embracing this perspective is not just empowering it s also inclusive It says that passion is not the realm of a chosen few but an attainable reality for anyone willing to put in the work And in this journey the grind the learning curve the perseverance every effort every challenge and every small victory becomes a beautiful part of the process While the world may romanticize stories of those who always knew there s an even more inspiring narrative awaiting those who dare to carve their path master their craft and let passion find them  It s not about finding passion but building it 2023-08-21 00:12:15
金融 RSS FILE - 日本証券業協会 外国投信の運用成績一覧表 https://www.jsda.or.jp/shiryoshitsu/toukei/foreign/index.html 運用 2023-08-21 00:30:00
金融 RSS FILE - 日本証券業協会 公社債投資家別条件付売買(現先)月末残高 (旧公社債投資家別現先売買月末残高) https://www.jsda.or.jp/shiryoshitsu/toukei/jyouken/index.html 条件 2023-08-21 00:30:00
ビジネス ダイヤモンド・オンライン - 新着記事 米ハイテク大手、EU新規則への対応急ぐ - WSJ発 https://diamond.jp/articles/-/327950 規則 2023-08-21 09:18:00
GCP Google Cloud Platform Japan 公式ブログ パーソルキャリア: 人材紹介サービスのレコメンド システム基盤を Google Cloud に移行、AI とデータ活用でマッチング精度を新たなステージへ https://cloud.google.com/blog/ja/topics/customers/persol-career-migrated-recommendation-system-infrastructure-to-google-cloud/ CICDプラットフォームは、開発環境、ステージング環境、本番環境をどのような構成にするか、いかに運用していくか、システム全体を俯瞰しながら構築されています。 2023-08-21 02:00:00
GCP Google Cloud Platform Japan 公式ブログ リスクを最小限に抑えながらサステナブルに変革する方法 https://cloud.google.com/blog/ja/topics/sustainability/sustainable-transformation-maximize-resiliences-reduces-risk/ 進化を続けるグローバルコミュニティ環境において、顧客はどこにいるのでしょうかサステナビリティを念頭に置いてコミュニティやプロダクトを設計するにはどうすればよいのでしょうか手持ちの資産は干ばつ、洪水、山火事などの物理的な気候リスクにさらされていますか適応とレジリエンスは、役員会や立法府の重点分野であり、GoogleCloudReadySustainabilityが作成したAmbitionLoop野心のループがその加速を模索しているものです。 2023-08-21 02:00:00
GCP Google Cloud Platform Japan 公式ブログ Google Maps Platform の新しい ISO 27001 および SOC セキュリティ認証 https://cloud.google.com/blog/ja/products/maps-platform/new-iso-27001-and-soc-security-certifications-google-maps-platform/ 規格は特定の情報セキュリティ統制を義務付けるものではありませんが、Googleはこの規格で明確に示されている統制のフレームワークとチェックリストを活用し、セキュリティ管理モデルの包括性を確保して継続的な改善に取り組んでいます。 2023-08-21 01:00:00
マーケティング MarkeZine 事業だけでは測れない統合的な企業価値が問われる時代に。電通の「統合諸表」が導くのは企業の未来設計図 http://markezine.jp/article/detail/43052 事業だけでは測れない統合的な企業価値が問われる時代に。 2023-08-21 09:30:00
マーケティング AdverTimes 第17回 「リテンション」ご使用上の注意(後編) https://www.advertimes.com/20230821/article428386/ 考え方 2023-08-21 01:00:26
GCP Cloud Blog JA パーソルキャリア: 人材紹介サービスのレコメンド システム基盤を Google Cloud に移行、AI とデータ活用でマッチング精度を新たなステージへ https://cloud.google.com/blog/ja/topics/customers/persol-career-migrated-recommendation-system-infrastructure-to-google-cloud/ CICDプラットフォームは、開発環境、ステージング環境、本番環境をどのような構成にするか、いかに運用していくか、システム全体を俯瞰しながら構築されています。 2023-08-21 02:00:00
GCP Cloud Blog JA リスクを最小限に抑えながらサステナブルに変革する方法 https://cloud.google.com/blog/ja/topics/sustainability/sustainable-transformation-maximize-resiliences-reduces-risk/ 進化を続けるグローバルコミュニティ環境において、顧客はどこにいるのでしょうかサステナビリティを念頭に置いてコミュニティやプロダクトを設計するにはどうすればよいのでしょうか手持ちの資産は干ばつ、洪水、山火事などの物理的な気候リスクにさらされていますか適応とレジリエンスは、役員会や立法府の重点分野であり、GoogleCloudReadySustainabilityが作成したAmbitionLoop野心のループがその加速を模索しているものです。 2023-08-21 02:00:00
GCP Cloud Blog JA Google Maps Platform の新しい ISO 27001 および SOC セキュリティ認証 https://cloud.google.com/blog/ja/products/maps-platform/new-iso-27001-and-soc-security-certifications-google-maps-platform/ 規格は特定の情報セキュリティ統制を義務付けるものではありませんが、Googleはこの規格で明確に示されている統制のフレームワークとチェックリストを活用し、セキュリティ管理モデルの包括性を確保して継続的な改善に取り組んでいます。 2023-08-21 01:00:00

コメント

このブログの人気の投稿

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