AWS |
lambdaタグが付けられた新着投稿 - Qiita |
青いベンチ診断の結果をひたすらtwitterに投稿するアカウントをつくった |
https://qiita.com/okaponta_/items/bc2d3da0bc25ba74dc90
|
冬休みに何やってるんだ・・・Step完了step時間に回定期実行できるようになるローカルでcronを動かすのも嫌なので、以下を参考にEventBridgeからLambdaをキックするように作ってみたいと思います。 |
2021-12-28 20:37:20 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
!cd と %cd の違い |
https://qiita.com/bear_montblanc/items/64d7efd9e4ea7caa98f9
|
|
2021-12-28 20:01:32 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
【Javascript】文字列の結合をテンプレートリテラル で実現する方法 |
https://qiita.com/issei0618/items/d8868b0bff6f553ad161
|
【Javascript】文字列の結合をテンプレートリテラルで実現する方法テンプレート文字列とは「」の演算子を記述せずに、文字列の結合ができるnを記述しなくても複数行の出力ができる以下では、標題の通り、文字列の結合に焦点を当てて話を進めていきます。 |
2021-12-28 20:33:29 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
Vue.js2.6.x以上で実装するテンプレートとアトミックデザインの手法 |
https://qiita.com/xinome/items/7487047e0c1cb1b6b79c
|
バージョン環境vueソース構成Appvue├views└pagetpl大元の画面├components├Headingtpl見出しを出力├Tabletplテーブル全体を出力└tableListtplテーブルのリストを出力└assetscss├stylescss└pagescss画面に出力される大枠のテンプレートはpagetplです。 |
2021-12-28 20:29:23 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
react 状態管理 保存先 複数台構成の場合 |
https://teratail.com/questions/375892?rss=all
|
react状態管理保存先複数台構成の場合reactnbsp状態管理についてreactの状態管理をするときのstateの保存先はメモリである聞いています。 |
2021-12-28 20:59:55 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
go 関数以外のエラーハンドリング |
https://teratail.com/questions/375891?rss=all
|
go関数以外のエラーハンドリングgolangでエラーハンドリングする時に、関数使用時以外の時のエラーハンドリング方法が分かりません。 |
2021-12-28 20:46:01 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
js imgを使ったaタグクリック時にfadeOutしたい |
https://teratail.com/questions/375890?rss=all
|
|
2021-12-28 20:37:40 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
2つの画像が同時に動くようにしたいのですが、片方の画像の処理が止まってしまいます |
https://teratail.com/questions/375889?rss=all
|
ですが、青色のミカンが途中で止まってしまいます。 |
2021-12-28 20:32:58 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Gunicornは、キャッシュの設定を明示的にしなくても、ORMのResultCache等のキャッシュを持ちますか? |
https://teratail.com/questions/375888?rss=all
|
Gunicornは、キャッシュの設定を明示的にしなくても、ORMのResultCache等のキャッシュを持ちますかFlasknbspnbspgunicornnbspnbspsqlalchemynbspmysqlnbspnbspnginxnbspでWebnbspapplicationを作っています。 |
2021-12-28 20:13:43 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
ドメイン駆動設計におけるバッチ処理について |
https://teratail.com/questions/375887?rss=all
|
というように考えた時にDB検索結果でループする際にどうしてもusecaseがripositoryの実装方法に依存してしまったり、domain層移行の処理がスレートレスにならない気がします。 |
2021-12-28 20:11:46 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
青いベンチ診断の結果をひたすらtwitterに投稿するアカウントをつくった |
https://qiita.com/okaponta_/items/bc2d3da0bc25ba74dc90
|
冬休みに何やってるんだ・・・Step完了step時間に回定期実行できるようになるローカルでcronを動かすのも嫌なので、以下を参考にEventBridgeからLambdaをキックするように作ってみたいと思います。 |
2021-12-28 20:37:20 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
AWS DBS合格記(2021/12/28投稿) |
https://qiita.com/handy-dd18/items/4bde3b0faf3517e07901
|
ただ、見て分かる通り他の試験に比べると練習問題は少なめで、前述した公式の練習問題も被っているところが多いので、解くならからではなくから降順にやっていったほうが良いかもしれません。 |
2021-12-28 20:23:49 |
golang |
Goタグが付けられた新着投稿 - Qiita |
青いベンチ診断の結果をひたすらtwitterに投稿するアカウントをつくった |
https://qiita.com/okaponta_/items/bc2d3da0bc25ba74dc90
|
冬休みに何やってるんだ・・・Step完了step時間に回定期実行できるようになるローカルでcronを動かすのも嫌なので、以下を参考にEventBridgeからLambdaをキックするように作ってみたいと思います。 |
2021-12-28 20:37:20 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
【未経験開発 Rails/React(TypeScript)/AWS/Docker/CircleCI】モダンな技術でポートフォリオを作成する方法 |
https://qiita.com/ken1min86/items/c214b206a6ad06d5b85a
|
フロントエンドはデザインしたとおりに実装をします。 |
2021-12-28 20:48:34 |
海外TECH |
DEV Community |
The Full-Stack Developer Vocabulary (Pt.3, The languages, tools and frameworks) |
https://dev.to/code_jedi/the-full-stack-developer-vocabulary-pt3-the-languages-tools-and-frameworks-2mam
|
The Full Stack Developer Vocabulary Pt The languages tools and frameworks React Docker Solidity AWS WTF is everyone talking about If you re new to this whole full stack development thing and get confused by some of the words people use when talking about full stack development then stick around because in this part series I ll be compiling the most common words and phrases related to full stack development Of course it will take much more time to learn the details of each of the things I ll be mentioning in these articles These articles are just summarizers to give you an idea of what these words and phrases mean so that you can understand what people are referencing with them when talking about certain areas of full stack development Part The languages tools and frameworks ReactJSYou ve probably heard a ton about React on dev to but what exactly is ReactJS React is currently the most popular javascript front end framework Developed by Facebook in React is used to build interactive user interfaces AngularJSAngular is a development platform built on TypeScript As a platform Angular includes A component based framework for building scalable web applicationsA collection of well integrated libraries that cover a wide variety of features including routing forms management client server communication and moreA suite of developer tools to help you develop build test and update your codeWith Angular you re taking advantage of a platform that can scale from single developer projects to enterprise level applications Angular is designed to make updating as straightforward as possible so take advantage of the latest developments with a minimum of effort DockerDocker is a software platform that allows you to build test and deploy applications quickly Docker packages software into standardized units called containers that have everything the software needs to run including libraries system tools code and runtime Using Docker you can quickly deploy and scale applications into any environment and know your code will run KubernetesKubernetes is a portable extensible open source platform for managing containerized workloads and services The name Kubernetes originates from Greek meaning helmsman or pilot Ks as an abbreviation results from counting the eight letters between the K and the s Google open sourced the Kubernetes project in Kubernetes combines over years of Google s experience running production workloads at scale with best of breed ideas and practices from the community RustRust is a statically typed programming language designed for performance and safety especially safe concurrency and memory management TensorFlowTensorFlow is an end to end open source platform for machine learning It has a comprehensive flexible ecosystem of tools libraries and community resources that lets researchers push the state of the art in ML and developers easily build and deploy ML powered applications SoliditySolidity is a statically typed curly braces programming language designed for developing smart contracts that run on Ethereum LaravelLaravel is a PHP framework with expressive elegant syntax It is the most popular PHP framework GoGo language is a programming language initially developed at Google in the year by Robert Griesemer Rob Pike and Ken Thompson It is a statically typed language having syntax similar to that of C It provides garbage collection type safety dynamic typing capability many advanced built in types such as variable length arrays and key value maps It also provides a rich standard library The Go programming language was launched in November and is used in some of Google s production systems jQueryjQuery is a fast small and feature rich JavaScript library It makes things like HTML document traversal and manipulation event handling animation and AJAX much simpler with an easy to use API that works across a multitude of browsers With a combination of versatility and extensibility jQuery has changed the way that millions of people write JavaScript AJAXAjax stands for Asynchronous Javascript And XML Ajax is just a means of loading data from the server and selectively updating parts of a web page without reloading the whole page Basically what AJAX does is it makes use of the browser s built in XMLHttpRequest XHR object to send and receive information to and from a web server asynchronously in the background without blocking the page or interfering with the user s experience Ajax has become so popular that you hardly find an application that doesn t use Ajax to some extent The example of some large scale Ajax driven online applications are Gmail Google Maps Google Docs YouTube Facebook Flickr and many more NodeJSNode js is an open source cross platform back end JavaScript runtime environment that runs on the V engine and executes JavaScript code outside a web browser Node js lets developers use JavaScript to write command line tools and for server side scripts to produce dynamic web page content before the page is sent to the user s web browser Consequently Node js represents a JavaScript everywhere paradigm unifying web application development around a single programming language rather than different languages for server side and client side scripts NPMNPM is two things first and foremost it is an online repository for the publishing of open source Node js projects second it is a command line utility for interacting with said repository that aids in package installation version management and dependency management A plethora of Node js libraries and applications are published on npm and many more are added every day These applications can be searched for on their website Once you have a package you want to install it can be installed with a single command CSSCascading Style Sheets CSS is a style sheet language used for describing the presentation of a document written in a markup language such as HTML CSS is a cornerstone technology of the World Wide Web alongside HTML and JavaScript CSS is designed to enable the separation of presentation and content including layout colors and fonts This separation can improve content accessibility provide more flexibility and control in the specification of presentation characteristics enable multiple web pages to share formatting by specifying the relevant CSS in a separate css file which reduces complexity and repetition in the structural content and enable the css file to be cached to improve the page load speed between the pages that share the file and its formatting GitGit is a software used for tracking changes in any set of files usually used for coordinating work among programmers collaboratively developing source code during software development Its goals include speed data integrity and support for distributed non linear workflows thousands of parallel branches running on different systems AWSAmazon Web Services Inc AWS is a subsidiary of Amazon providing on demand cloud computing platforms and APIs to individuals companies and governments on a metered pay as you go basis These cloud computing web services provide a variety of basic abstract technical infrastructure and distributed computing building blocks and tools One of these services is Amazon Elastic Compute Cloud EC which allows users to have at their disposal a virtual cluster of computers available all the time through the Internet AWS s virtual computers emulate most of the attributes of a real computer including hardware central processing units CPUs and graphics processing units GPUs for processing local RAM memory hard disk SSD storage a choice of operating systems networking and pre loaded application software such as web servers databases and customer relationship management CRM Google CloudGoogle Cloud Platform GCP offered by Google is a suite of cloud computing services that runs on the same infrastructure that Google uses internally for its end user products such as Google Search Gmail Google Drive and YouTube Alongside a set of management tools it provides a series of modular cloud services including computing data storage data analytics and machine learning Microsoft AzureMicrosoft Azure often referred to as Azure is a cloud computing service operated by Microsoft for application management via Microsoft managed data centers It provides software as a service SaaS platform as a service PaaS and infrastructure as a service IaaS and supports many different programming languages tools and frameworks including both Microsoft specific and third party software and systems SeleniumThe selenium package is used to automate web browser interaction from Python It is often used to make bots and web scrapers DjangoDjango is a high level Python web framework that encourages rapid development and clean pragmatic design Built by experienced developers it takes care of much of the hassle of web development so you can focus on writing your app without needing to reinvent the wheel It s free and open source That s it for the The Full Stack Developer Vocabulary You can find Part here and Part here EducativeBefore I end the article I d like to recommend Educative for learning full stack developers Why Educative It is home to hundreds of full stack development hands on tutorials guides courses and demonstrations to help you stay ahead of the curve in your development journey You can get started with Educative here |
2021-12-28 11:39:24 |
海外TECH |
DEV Community |
60x Performance Improvement & Moving on fullstack - Building DDTJ Day 7 |
https://dev.to/codenameone/60x-performance-improvement-moving-on-fullstack-building-ddtj-day-7-2c92
|
x Performance Improvement amp Moving on fullstack Building DDTJ Day Yesterday things started improving and today I m fully recovered Since Thursday I ve been in a bit of a slump This is a natural stage in every non trivial project It still hits hard this is where most people break when it s an open source project It stops being “fun It s important to persist though Once we get a hello world working the energy comes back and it s a new day With that I merged two PRs This monster PR finally implements all the debugging logic so we can collect all the data we need Then I merged a small fix which gave the performance boost I ll discuss shortly Up until yesterday I still had some doubts related to my ability to deliver on my chosen architecture Would performance be reasonable enough x ImprovementI wanted to share my suspicions about performance yesterday but chose not to do that I ve been in so many cases where people talked on and on…They were sure the performance problem was due to X Then they ended up with egg on their face I was actually right in my “guess I measured the application runtime without any of the state saving code Which means we re just launching it with JDI and nothing else Performance was almost as bad that means most of my code performed fine So what caused the slow performance During development I had to remove a call to methodEntryRequest addClassFilter filter Actually there were many calls I tried a lot of things such as exclusion filters etc The reason I had to remove those is that they didn t work Don t Name the Method “Add if it doesn t “Add The addClassFilter API should really be named setClassFilter Adding additional filters disables the functionality Unfortunately there s no mention of this in the JavaDoc anywhere The workaround I chose is actually pretty simple I create multiple instances of MethodEntryRequest and bind each to a different filter type Right now it s limited to the user classes filter and the javax packages For the proof of concept I might add more Naturally we ll need more configuration options for this Adding a simple filter made all the difference It reduced the networking overhead of the VM and allowed fast performance Maybe if I had taken the agent approach which is “in process I would have had better performance Might need to re evaluate that moving forward With this tiny tweak performance is now acceptable for this stage in the project life so we can move on What you Don t See in the PR Change LogI squashed and merged so a lot of my changes during this process vanished in the log Unless you go to the explicit PR and review the commits you won t see that I wrote a lot of code that ended up on the cutting room floor when I decided to pivot to using method entry exit This is one of the hardest things developers need to deal with for projects of this type the fallacy of sunk cost I already wrote the code I can t pivot Naturally this has value I m not advocating a yoyo development strategy But we need to be ready to discard work and be objective I didn t Comment MuchA couple of people pointed out to me in private that I write code without comments I used to comment a whole lot…In fact my code had more comment lines than source code by a healthy margin As you can see from my blogging I like writing and can be pretty prolific with a keyboard The blocker isn t time or even effort The problem is that comments grow stale and most people don t read them if you overdo them I try to make the code simple If it needs commenting I try to simplify further By avoiding comments as much as possible I make sure that people read the comments that really matter There s one major exception which is JavaDoc when building a public API That s essential and should always be fully written But comments in source code are often ignored I Need to Cleanup the TestsI ve been chasing my coverage tale for a while now trying to get the coverage to with every PR This has been pretty painful Unfortunately the tests have a lot of code duplication and just plain hacks I need to do a complete overhaul of this thing but I want to get the product out first I might not have a choice since I spent hours last night trying to get coverage past the mark CI Failed on the Server While Working LocallyThis drove me crazy the other day Unit tests passed perfectly locally but failed to work when running in github actions The error message indicated something weird about the spring framework packaging Something that didn t make sense at all I tried isolating environmental differences and whatnot Turns out this one tiny line making sure the java bin directory is in the path This one tiny change made the tests pass I have no idea how I guessed it I just tried everything until it worked Moving On to CLI and Test GenerationThere are two directions I can take Try to get the code running with Spring BootFinish the CLI and generate a test for the hello world test caseI m going with the latter and so should you whenever you run into a point like that in your new project When creating the project we need to build it breadth first not depth first We need at least a basic implementation of everything working in tandem so we can understand the moving pieces So we can accept help in the project by third parties Breadth helps with perspective it “proves the project Depth comes later With that in mind I turned my focus on the CLI and implemented all the current functionality that s still pending there With that I have one last task to complete the proof of concept… Generating a TestI want to set my sights very low for the first test But it must mock a call for this to be a “good valid test This will be my main focus for today If I can get this to work my next priority will be getting this to run on the Spring Boot pet clinic demo I think there will be some challenges there with filtering the spring proxies Maybe other problems But if I can get both tasks through this week then I ll consider it a huge success Right now I m setting up the first Freemarker generated test template once that works I plan to wire it up with Spring MVC to create a simple code generator Then this should be bound to the CLI It should be relatively simple famous last words… TomorrowI hope tomorrow we ll have proper source code generation working with Freemarker I m Working on integrating it and then I ll go over the code to generate the tests Then this should bind to the CLI It s getting close If you want to keep up with the latest updates on this series and the many other things I work on then follow me on twitter |
2021-12-28 11:27:32 |
Apple |
AppleInsider - Frontpage News |
New iPad Pro, M1 iMac, and AirTag at last - Apple's April 2021 in review |
https://appleinsider.com/articles/21/05/02/new-ipad-pro-new-imac-and-at-last-an-airtag----april-2021-in-review?utm_medium=rss
|
New iPad Pro M iMac and AirTag at last Apple x s April in reviewYou wait ages for a new Apple device to be launched and then a mass of them come at once April saw new iMacs new Apple TV K new iPad Pro and finally the launch of the AirTag AirTag and Purple iPhones They were rumored in March ーactually they had easily been rumored for year before then ーbut finally Apple released AirTags Read more |
2021-12-28 11:29:47 |
医療系 |
医療介護 CBnews |
介護医療院536施設、前年比2.2倍増-20年10月1日時点、厚労省調べ |
https://www.cbnews.jp/news/entry/20211228191351
|
介護医療院 |
2021-12-28 20:20:00 |
金融 |
金融庁ホームページ |
金融審議会「資金決済ワーキング・グループ」(第5回)議事次第について公表しました。 |
https://www.fsa.go.jp/singi/singi_kinyu/shikinkessai_wg/shiryou/shikinkessai_wg5.html
|
金融審議会 |
2021-12-28 12:00:00 |
海外ニュース |
Japan Times latest articles |
Japan considering bringing forward COVID-19 booster shots for all, Kishida says |
https://www.japantimes.co.jp/news/2021/12/28/national/kishida-booster/
|
Japan considering bringing forward COVID booster shots for all Kishida saysJapan has already started giving third shots to health care workers with elderly people planned to begin receiving theirs early next year |
2021-12-28 20:50:31 |
ニュース |
BBC News - Home |
Covid: Evidence does not support more England curbs - minister |
https://www.bbc.co.uk/news/uk-59807241?at_medium=RSS&at_campaign=KARANGA
|
eustice |
2021-12-28 11:43:36 |
ニュース |
BBC News - Home |
Covid: US halves isolation time for asymptomatic infection |
https://www.bbc.co.uk/news/world-us-canada-59806040?at_medium=RSS&at_campaign=KARANGA
|
shortages |
2021-12-28 11:05:30 |
ニュース |
BBC News - Home |
Newham death: Man charged with murdering woman |
https://www.bbc.co.uk/news/uk-england-london-59808875?at_medium=RSS&at_campaign=KARANGA
|
newham |
2021-12-28 11:36:58 |
サブカルネタ |
ラーブロ |
超純水採麺 天国屋@南町田グランベリーパーク(鶏鮭節塩らーめん) |
http://ra-blog.net/modules/rssc/single_feed.php?fid=194963
|
配信 |
2021-12-28 11:13:00 |
北海道 |
北海道新聞 |
青森の農業高生、牛舎内で脳挫傷 意識不明の重体 |
https://www.hokkaido-np.co.jp/article/628502/
|
十和田市 |
2021-12-28 20:19:00 |
北海道 |
北海道新聞 |
運転手を過失致死罪で起訴 三重の東名阪2人死亡事故 |
https://www.hokkaido-np.co.jp/article/628501/
|
三重県四日市市 |
2021-12-28 20:19:00 |
北海道 |
北海道新聞 |
元SMAP香取慎吾さん結婚 一般女性と |
https://www.hokkaido-np.co.jp/article/628493/
|
香取慎吾 |
2021-12-28 20:10:16 |
北海道 |
北海道新聞 |
NPBが仕事納め シーズン完走、五輪で金 |
https://www.hokkaido-np.co.jp/article/628497/
|
仕事納め |
2021-12-28 20:06:00 |
仮想通貨 |
BITPRESS(ビットプレス) |
【確定申告】クリプト関連の税金計算。年末までに準備しないと大変なことに、、 |
https://bitpress.jp/video/hansei/entry-12969.html
|
斉藤さん |
2021-12-28 20:58:18 |
仮想通貨 |
BITPRESS(ビットプレス) |
【確定申告】NFTの税金計算はどうなる?仮想通貨と別カテゴリーになる可能性はあるのか? |
https://bitpress.jp/video/hansei/entry-12968.html
|
斉藤さん |
2021-12-28 20:56:40 |
コメント
コメントを投稿