投稿時間:2022-04-25 16:33:57 RSSフィード2022-04-25 16:00 分まとめ(40件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT ITmedia 総合記事一覧 [ITmedia PC USER] デル、Ryzen 6000シリーズを搭載したゲーミングノート3製品を発売 https://www.itmedia.co.jp/pcuser/articles/2204/25/news143.html itmediapcuser 2022-04-25 15:39:00
IT ITmedia 総合記事一覧 [ITmedia Mobile] 盛り上げ役がちょっと違う? 熱気が戻った2022年の「スマホ春商戦」 https://www.itmedia.co.jp/mobile/articles/2204/25/news094.html itmediamobile 2022-04-25 15:30:00
IT ITmedia 総合記事一覧 [ITmedia News] FD・おぼえていますか あなたのフロッピーは何インチで何フォーマット? https://www.itmedia.co.jp/news/articles/2204/25/news112.html itmedianewsfd 2022-04-25 15:05:00
IT 情報システムリーダーのためのIT情報専門サイト IT Leaders アルペン、店舗POS/EC連携の受注管理システムを内製開発、kintoneで2カ月5人月 | IT Leaders https://it.impress.co.jp/articles/-/23080 アルペン、店舗POSEC連携の受注管理システムを内製開発、kintoneでカ月人月ITLeadersアルペン愛知県名古屋市は、社内システムの内製化を年から進めている。 2022-04-25 15:03:00
python Pythonタグが付けられた新着投稿 - Qiita ロジスティック写像の紹介 https://qiita.com/reser_ml_memo/items/878927bf473bd025b16a xnaxnxn 2022-04-25 15:22:49
Ruby Rubyタグが付けられた新着投稿 - Qiita Rubyでスマートに+09:00を出したかった https://qiita.com/WakameSun/items/47d9f30dee2b1a0957d5 開発 2022-04-25 15:46:46
AWS AWSタグが付けられた新着投稿 - Qiita MediaConvert の API 呼び出しに利用するリージョン固有エンドポイントの仕様 https://qiita.com/t-kigi/items/6a811a7aaa8024b15af4 awsmediaconvert 2022-04-25 15:20:51
Git Gitタグが付けられた新着投稿 - Qiita Mac githubのSSH設定 https://qiita.com/Haruki-Sakamoto/items/0c3e1b108f01e806dfc4 github 2022-04-25 15:19:30
Ruby Railsタグが付けられた新着投稿 - Qiita Rubyでスマートに+09:00を出したかった https://qiita.com/WakameSun/items/47d9f30dee2b1a0957d5 開発 2022-04-25 15:46:46
海外TECH DEV Community Best Practices on Developing Monolithic Services in Go https://dev.to/kevwan/best-practices-on-developing-monolithic-services-in-go-3c95 Best Practices on Developing Monolithic Services in Go Why to write this best practicesFor many startups we should focus more on delivering application early and at this time the user base is small and the QPS is very low we should use a simpler technical architecture to accelerate the delivery of the application and this is where the advantages of monoliths come into play As I often mentioned in my presentations while we use monoliths to deliver applications quickly we also need to consider the future possibilities when developing applications and we can clearly split modules inside the monolith Many devs asked what s the best practices on developing monoliths with go zero As go zero is a widely used microservices framework which I have precipitated during the complete development of several large projects We have fully considered the scenario of monolithic service development The monolithic architecture using go zero as shown in the figure can also support a large volume of business scale where Service is a monolithic service of multiple Pods I ll share in detail how to use go zero to quickly develop a monolithic service with multiple modules Monolithic exampleLet s use an upload and download monolithic service to explain the best practices of go zero monolithic service development why use such an example The go zero community often asks how to define API files for uploading files and then use goctl to generate the code automatically When I first saw this kind of questions I thought it was strange why not use a service like OSS I found many scenarios where the user needs to upload excel files and then the server discards the file after parsing it One is that the file is small and the second is that the service is not serving a large amount of users so we don t need to bring in OSS which I think is quite reasonable The go zero community also asking how to download files by defining an API file and then goctl automatically generating it The reason why such questions are asked through Go is that there are generally two reasons one is that the business is just starting so it s easier to lay out a service to get all things done the other is that I hope to take the advantages of go zero s built in JWT authentication This is just an example no need to go deeper into whether uploading and downloading should be written in Go So let s see how we can solve such a monolithic service which we call the file service with go zero The architecture is as follows Monolithic implementation API definitionDevs who have used go zero know that we provide an API format file to describe the RESTful API and then we can generate the corresponding code by goctl with one shot and we only need to fill in the corresponding business logic in the logic file Let s see how the download and upload services define the API Download API definitionThe sample requirement is as follows Download a file named lt filename gt through the static lt filename gt pathJust return the content of the file directlyWe create a file named download api in the api directory with the following content syntax v type DownloadRequest File string path file service file api handler DownloadHandler get static file DownloadRequest The syntax of zero api is relatively self explanatory and means the following syntax v means that this is the v syntax of zero apitype DownloadRequest defines the request format for Downloadservice file api defines the request route for Download Upload API definitionThe sample requirement is as follows Upload a file via the upload pathReturn the upload status via json where code can be used to express a richer scenario than HTTP codeWe create a file called upload api in the api directory with the following content syntax v type UploadResponse Code int json code service file api handler UploadHandler post upload returns UploadResponse Explain as follows syntax v means this is the zero api v syntaxtype UploadResponse defines the return format of Uploadservice file api defines the request route for Upload Here comes the problemWe have defined the Download and Upload services but how can we put them into a service I don t know if you have noticed some details either Download or Upload we prefixed the request and response data definition and did not use directly such as Request or Responsewe define service in download api and upload api with file api as the service name not download api and upload api respectivelyThe purpose of this is to automatically generate the corresponding Go code when we put the two services into the monolithic service Let s see how to merge Download and Upload together Defining the monolithic service APIFor simplicity reasons goctl only supports accepting a single API file as a parameter the issue of accepting multiple API files is not discussed here and may be supported later if we figure out a simple and efficient solution We create a new file api file in the api directory with the following content syntax v import download api import upload api This way we import both Download and Upload services like include in C C But there are a few things to keep in mind the defined structs cannot be renamedthe service name must be the same in all filesThe outermost API file can also contain part of the same service definition but we recommend to keep it symmetrical unless these APIs really belong to the parent level e g the same logical level as Download and Upload then they should not be defined in file api At this point we have the following file structure └ーapi ├ーdownload api ├ーfile api └ーupload api Generating monolithic serviceNow that we have the API interface defined the next step is pretty straightforward for go zero of course defining the API is pretty straightforward isn t it Let s use goctl to generate the monolithic service code goctl api go api api file api dir Let s take a look at the generated file structure ├ーapi│├ーdownload api│├ーfile api│└ーupload api├ーetc│└ーfile api yaml├ーfile go├ーgo mod├ーgo sum└ーinternal ├ーconfig │└ーconfig go ├ーhandler │├ーdownloadhandler go │├ーroutes go │└ーuploadhandler go ├ーlogic │├ーdownloadlogic go │└ーuploadlogic go ├ーsvc │└ーservicecontext go └ーtypes └ーtypes goLet s explain the layout of the project by directory api directory the API interface description file we defined earlier no need to talk muchetc directory this is for the yaml configuration files all configuration items can be written in the file api yaml filefile go the file where the main function is located with the same name as service removed api suffixinternal config directory the configuration definition of the serviceinternal handler directory the handler implementation of the routes defined in the API fileinternal logic directory used to put the business processing logic corresponding to each route the reason for the distinction between handler and logic is to minimize the dependency of the business processing part to isolate HTTP requests from the logic processing code and to facilitate the subsequent splitting into RPC service as neededinternal svc directory used to define the dependencies for business logic processing we can create the dependent resources in main and pass them to handler and logic via ServiceContextinternal types directory defines the API request and response data structureLet s not change anything let s run it and see how it works go run file go f etc file api yamlStarting server at Implementing the business logicNext we need to implement the relevant business logic but the logic here is really just for demonstration purposes so don t pay too much attention to the implementation details just understand that we should write the business logic in the logic layer The following things are done here Add the Path setting in the configuration item to place the uploaded files and by default I wrote the current directory because it is an example as follows type Config struct RestConf New Path string json default Adjusted the request body size limit as follows Name file apiHost localhostPort NewMaxBytes Since Download needs to write the file to the client we passed ResponseWriter as io Writer to the logic layer and the modified code is as followsfunc l DownloadLogic Download req types DownloadRequest error logx Infof download s req File body err ioutil ReadFile req File if err nil return err n err l writer Write body if err nil return err if n lt len body return io ErrClosedPipe return nil Since Upload needs to read the files uploaded by the user we pass http Request to the logic layer and the modified code is as follows func l UploadLogic Upload resp types UploadResponse err error l r ParseMultipartForm maxFileSize file handler err l r FormFile myFile if err nil return nil err defer file Close logx Infof upload file v file size d MIME header v handler Filename handler Size handler Header tempFile err os Create path Join l svcCtx Config Path handler Filename if err nil return nil err defer tempFile Close io Copy tempFile file return amp types UploadResponse Code nil Full code We can start the file monolithic service by running the following command go run file go f etc file api yamlThe Download service can be verified with curl curl i http localhost static file go HTTP OKTraceparent cdbdecfbbfb ddbfebfa Date Mon Apr GMTContent Length Content Type text plain charset utf The sample repository contains upload html the browser can open this file to try the Upload service Summary of monolithic developmentLet me summarize the complete process of developing a monolithic service with go zero as follows define the API files for each submodule e g download api and upload apidefine the general API file e g file api Use it to import the API files of each submodule defined in step generate the monolithic service framework code via the goctl api go commandadd and adjust the configuration to implement the business logic of the corresponding submoduleIn addition goctl can generate CRUD and cache code according to SQL in one shot which can help you develop monolithic services more quickly Project addressWelcome to use go zero and star to support us 2022-04-25 06:39:07
海外TECH DEV Community Productivity Boosters: My Top Five Developer Tools Worth The Money https://dev.to/anotherdevuser/productivity-boosters-my-top-five-developer-tools-worth-the-money-57j3 Productivity Boosters My Top Five Developer Tools Worth The MoneyThey say the best things in life are free but when it comes to software well it s not always true Don t get me wrong there are plenty of excellent free open source tools I use daily But tools that help you develop faster or more efficiently can easily pay for themselves in terms of time saved because as they also say time is money I rounded up a list of the tools that I think are worth paying for and I hope you will find it useful They all have a decent free plan or trial version available so you can always kick the tires before you break the bank GitLiveGitLive is my team s most recent discovery It s a peer to peer code streaming platform and IDE UI extensions for VS Code and JetBrains that enhance Git with real time features such as online presence for team members and instant merge conflict detection Online presence for team members The IDE plugin adds a team sidebar tool window where you can see who in your team is online what issues and branches they are working on and the changes they ve made on those branches This is great for remote teams and really helps when you want to view or share work in progress without resorting to a screen share or cut and pasting snippets of code into Slack or Teams Instant merge conflict detection Indicators in the gutter of your editor show the difference between your changes and the changes of others These update in real time as you and your teammates are editing and provide an early warning of potential merge conflicts They are a great way to get upfront insight into the potentially overlapping work of your colleagues without interruption Free plan Includes Unlimited usersSocial coding and issue tracking Merge conflict detection on fetch pullOne to one calls with codeshare min call duration limitPro plan user month or free for Open Source Includes Everything from the free plan Instant merge conflict detectionGroup calls coming soon hour call duration limitPriority support  WallabyWallaby is an integrated continuous testing tool for JavaScript developed by the team behind Quokka and Dingo fun fact they name all their products after native Australian animals This distraction free javascript testing runs the tests as you type and provides the results directly in your editor right next to your code unlike traditional test runners that display feedback in your console even on unsaved files Wallaby works really well on bigger projects where it can help you maximize your productivity by allowing you to focus on a specific set of tests no matter how large your project becomes The tools come with a lot of great features like time travel debugger with edit and continue or value explorer and output inspector for viewing runtime values to name just a few Plus their docs are amazing and provide you with a vast overview of all the functionality that can really make you kick it off with the product in no time week free trialLicence required after two weeksThe regular price is user year but there are plenty of discounts that you can apply for for example for startups and non profit for teams Free for OSS   Code TimeIf you re anything like me you surely appreciate a good data visualisation of how you spent your time during coding Personally analyzing the graphs helps me improve my time management and better organize my work that s why I love time tracking tools I use them for my personal projects and encourage my team to use one as well Recently we ve been experimenting with Code Time Code Time is an Open Source plugin for automatic programming metrics and time tracking in Visual Studio Code on JetBrains Its advanced features can provide you detailed feedback on how productive you are at work a big plus for a slick design It has a lot of cool features that help you minimise distractions find out your most productive time of the day and break down your coding stats code time by project lines of code and keystrokes With Teams plan you can defend code time see the impact of meetings and improve work life balance across your entire team while your data is always private when you create a team you will only see aggregated and anonymized summary data at the team levelーavailable to everyone on that team In addition to protect individual privacy the minimum team size is five members Free plan Includes Fast setup in less than five minuteKey DevOps performance metrics day data retentionPro plan user month or free for Open Source Includes Everything in the free plan Unlimited data retentionCustom dashboardsAutomated email reportingMonitors and alertsEditorOps workflow automation coming soon   TabnineMost of the dev teams are constantly looking for solutions that will boost their productivity One of the ways to increase the efficiency of developers and decrease frustration is faster coding If you are among those who are always on a hunt for tools to speed up the coding Tabnine should definitely be on your radar It is an AI code completion tool that indexes your code and finds statistical patterns to create customized suggestions based on how you write your own code It allows you to code faster with fewer syntax errors and more code snippets to look into right in your IDE The best bit is that it gets better with time as it gains more material to learn from which brings enormous value for dev teams as we use the same project specific modules APIs code patterns and conventions whatever the AI learns from each one of the team members is very likely useful for the rest of the team when working in the same context Free plan Includes userCompletions based on Public Code Pro plan user month or free for Open Source Includes usersCompletions based on Your CodeAdvanced Completions based on Public CodeInsights amp AnalyticsCustomization OptionsPriority Support  JetBrains IDEsFor each his own but I couldn t really leave it out could I There is no need to present them to any developer the JetBrains IDEs are widely used for professional development JetBrains IDEs come with a lot of “out of the box functionality dedicated to a specific language They are also known for their great code refactoring possibilities and code analysis functionalities Except for IDEA Community and Android Studio the IDEs cost money but if you consider the amount of work you have to put into configuring other products the price seems reasonable day free trialLicence required after daysTo start with most of their IDEs cost per user year excluding WebStorm which is cheaper and ReSharper and Rider that are more expensive The price goes down significantly after the second and third year of using the product Time is money and when it comes to software development then well there is no doubt about that I hope you will find my choice of paid developer tools worth checking out and after weighing the benefits they provide you ll agree that spending money on quality tools is worth the cost 2022-04-25 06:33:31
金融 JPX マーケットニュース [東証]TOKYO PRO Marketへの上場申請:ブリッジコンサルティンググループ(株) https://www.jpx.co.jp/equities/products/tpm/issues/index.html tokyopromarket 2022-04-25 15:30:00
金融 JPX マーケットニュース [東証]TOKYO PRO Marketへの上場申請:環境のミカタ(株) https://www.jpx.co.jp/equities/products/tpm/issues/index.html tokyopromarket 2022-04-25 15:30:00
金融 JPX マーケットニュース [東証]2022年3月期決算会社の定時株主総会の動向について https://www.jpx.co.jp/news/1021/20220425-01.html 定時株主総会 2022-04-25 15:30:00
金融 JPX マーケットニュース [OSE]最終清算数値(2022年4月限):金、白金 https://www.jpx.co.jp/markets/derivatives/special-quotation/ 清算 2022-04-25 15:15:00
金融 日本銀行:RSS 米ドル資金供給オペの対象先公募の結果について http://www.boj.or.jp/announcements/release_2022/rel220425b.pdf 資金供給オペ 2022-04-25 16:00:00
金融 日本銀行:RSS 共通担保オペ(全店貸付)の対象先公募の結果について http://www.boj.or.jp/announcements/release_2022/rel220425a.pdf 共通担保オペ 2022-04-25 16:00:00
海外ニュース Japan Times latest articles Myanmar junta ‘rapidly losing strength,’ but rights abuses continue, U.N. rapporteur says https://www.japantimes.co.jp/news/2022/04/25/asia-pacific/tom-andrews-myanmar-interview/ Myanmar junta rapidly losing strength but rights abuses continue U N rapporteur saysTom Andrews the U N special rapporteur on the human rights situation in Myanmar offers an assessment of the situation on the ground 2022-04-25 15:37:27
海外ニュース Japan Times latest articles South Korean delegation meets top Japanese diplomat in bid for warmer ties https://www.japantimes.co.jp/news/2022/04/25/national/politics-diplomacy/japan-south-korea-delegation-foreign-minister/ South Korean delegation meets top Japanese diplomat in bid for warmer tiesThe two sides agreed that they will maintain and beef up bilateral relations and that they share the same ideas on freedom democracy and a 2022-04-25 15:11:52
ニュース BBC News - Home Boris Johnson contacts Angela Rayner over newspaper misogyny claims https://www.bbc.co.uk/news/uk-politics-61213711?at_medium=RSS&at_campaign=KARANGA deputy 2022-04-25 06:32:44
ニュース BBC News - Home Covid: Record court waits and calls to fine airlines for refund delays https://www.bbc.co.uk/news/uk-61209702?at_medium=RSS&at_campaign=KARANGA coronavirus 2022-04-25 06:47:44
ニュース BBC News - Home Nissan signals the end of the road for Datsun cars https://www.bbc.co.uk/news/business-61212573?at_medium=RSS&at_campaign=KARANGA datsun 2022-04-25 06:40:23
ニュース BBC News - Home Antarctica same-sex wedding first on British territory https://www.bbc.co.uk/news/uk-wales-61213537?at_medium=RSS&at_campaign=KARANGA polar 2022-04-25 06:37:40
ビジネス ダイヤモンド・オンライン - 新着記事 利上げ急ぐFRB、打ち止め水準は見えず - WSJ発 https://diamond.jp/articles/-/302369 打ち止め 2022-04-25 15:17:00
北海道 北海道新聞 ツイッター、マスク氏と合意も 週内にも、買収進展か https://www.hokkaido-np.co.jp/article/673817/ 進展 2022-04-25 15:32:00
北海道 北海道新聞 道南87人感染、函館市59人 新型コロナ https://www.hokkaido-np.co.jp/article/673815/ 道南 2022-04-25 15:30:00
北海道 北海道新聞 東証大幅続落、514円安 米景気の減速を懸念 https://www.hokkaido-np.co.jp/article/673814/ 大幅続落 2022-04-25 15:29:00
北海道 北海道新聞 国連所長「助産師育成を」 アフガン女子教育巡り訴え https://www.hokkaido-np.co.jp/article/673813/ unfpa 2022-04-25 15:29:00
北海道 北海道新聞 旭川市で123人感染 新型コロナ https://www.hokkaido-np.co.jp/article/673812/ 新型コロナウイルス 2022-04-25 15:28:00
北海道 北海道新聞 函館で桜満開 観測史上5番目の早さ https://www.hokkaido-np.co.jp/article/673811/ 函館地方気象台 2022-04-25 15:23:00
北海道 北海道新聞 恒大集団、政府支援で債務再編 住宅建設再開も訴訟相次ぐ https://www.hokkaido-np.co.jp/article/673798/ 経営危機 2022-04-25 15:16:00
北海道 北海道新聞 カインズ、価格据え置き 2850品目、8月末まで https://www.hokkaido-np.co.jp/article/673797/ 埼玉県本庄市 2022-04-25 15:15:00
北海道 北海道新聞 3回目接種、人口の半数超える オミクロン株でも効果示唆 https://www.hokkaido-np.co.jp/article/673796/ 新型コロナウイルス 2022-04-25 15:04:00
ビジネス 東洋経済オンライン 中国人留学生「帰国後の就職」が厳しさ増す背景 企業側の期待とミスマッチ、景気減速も逆風に | 「財新」中国Biz&Tech | 東洋経済オンライン https://toyokeizai.net/articles/-/581774?utm_source=rss&utm_medium=http&utm_campaign=link_back biztech 2022-04-25 16:00:00
マーケティング MarkeZine OKI、シームレスなB2Bマーケティングの実現に向け「Yext Answers」を採用 http://markezine.jp/article/detail/38887 yextanswers 2022-04-25 15:30:00
IT 週刊アスキー 大迫力! オリジン「肉トリプル丼」29(ニク)の日限定で発売 https://weekly.ascii.jp/elem/000/004/090/4090057/ 限定 2022-04-25 15:40:00
IT 週刊アスキー セガのゲームニュースバラエティ番組「セガにゅー」第11回が、4月29日の20時より配信決定! https://weekly.ascii.jp/elem/000/004/090/4090100/ youtube 2022-04-25 15:35:00
IT 週刊アスキー エリザベス女王即位70年を記念したアフタヌーンティーも! 小田急百貨店新宿店「初夏の英国展」4月27日~5月9日開催 https://weekly.ascii.jp/elem/000/004/090/4090090/ 小田急百貨店 2022-04-25 15:30:00
IT 週刊アスキー 『真・女神転生V』などがお買い得!ニンテンドーeショップでアトラスGWセールが本日よりスタート https://weekly.ascii.jp/elem/000/004/090/4090099/ 女神転生 2022-04-25 15:20:00
海外TECH reddit Businesses have AC coolers on with 24 degrees weather in Tokyo. WHAT THE FUCK? https://www.reddit.com/r/japanlife/comments/ube7jb/businesses_have_ac_coolers_on_with_24_degrees/ Businesses have AC coolers on with degrees weather in Tokyo WHAT THE FUCK Some places literally have to be having it at degrees setting like it s peak summer when it s literally THE perfect weather outside Whatever happened with the mini energy shortage crisis last month and all the SDG stuff submitted by u nbbiking to r japanlife link comments 2022-04-25 06:03:34

コメント

このブログの人気の投稿

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