python |
Pythonタグが付けられた新着投稿 - Qiita |
PythonからLocalStackへ繋ぐ際の注意 |
https://qiita.com/mounntainn/items/796a99d22a4f86deb441
|
PythonからLocalStackへ繋ぐ際の注意たくさんはまったので備忘録。 |
2021-12-06 23:41:10 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
【環境構築】macOS Big Sur 11.6.1 + Dockerのpython containerでVSCodeを使って開発する |
https://qiita.com/cocoapuff/items/b04f556ee7ccbbc0d11c
|
前回までの記事【環境構築】macOSBigSurにDockerをInstall【環境構築】macOSBigSurDockerでpython【環境構築】macOSBigSurDockerのpythoncontainerにpandasをinstallvscodeの設定vscodeはinstall済みの前提RemoteContainersのinstallvscodeを起動して、Extensionsをクリックremoteで検索して、RemoteContainersをinstallするinstallのチェックvscodeの左下がこうなっていればinstallされたってことこの緑のitemをclickするとvscodeのタイトルバーの下にremotecontainerのcommandがペロっと出てくるcontainerにattachして見る任意のコードが実行されちゃうかもよと注意を受けた自分で作成したcontainerなので構わず、Gotitをクリック動作中のcontainerが表示された左下を見ると、Containerpythonpythonと表示されているどうやら選択したcontainerでvscodeが動作しているようだちなみにdockerdesktopのdashboardで実行中であるpythonを選択すると、新しいwindowが立ち上がったついでに日本語にする日本語にして気づいた。 |
2021-12-06 23:14:17 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Algorithm | 区間スケジューリング問題をPython3で解説(例題あり) |
https://qiita.com/uniTM/items/0dbd7ec962186c005c08
|
Algorithm区間スケジューリング問題をPythonで解説例題あり区間スケジューリング問題とは区間スケジューリング問題とは、それぞれの区間が重複せず、それぞれの区間の数を最大化するためにはどうすればよいかを考える問題である。 |
2021-12-06 23:03:59 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
Google AnalyticsのAPIでリアルタイムの閲覧者数が分かるノードを公開してみました。 #noderedjp |
https://qiita.com/n0bisuke/items/f5b3136e74d44ec2e4e1
|
個人的にここだけの機能が欲しかったので一旦満足笑取り急ぎ、Webサイトの閲覧者数に応じたインタラクションとかに使えたらと思ってますが、他の用途でも使える気がするのでこんなのに使いたいみたいな話があればぜひコメント下さい過去にもこんなノード作ってます。 |
2021-12-06 23:33:00 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
自作Laravelアプリをエックスサーバーにアップロードする方法 |
https://teratail.com/questions/372567?rss=all
|
|
2021-12-06 23:54:43 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
フェードインする画像にlerp(線形補間)アニメーションを追加したい |
https://teratail.com/questions/372566?rss=all
|
実現したいこと実現したいフェードインこのサイトのようなフェードインのアニメーションをjavascriptで実装したいです。 |
2021-12-06 23:52:34 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
pythonでraw文字列フルパスの中の『¥¥』を『¥』にしたい場合 |
https://teratail.com/questions/372565?rss=all
|
pythonでraw文字列フルパスの中の『¥¥』を『¥』にしたい場合ChogehogehogehogetxtこちらをChogehogehogehogetxtにしたいと思いpythonnbspraw文字変換pythonnbsp文字列nbsp文字置換などでググってみましたそしてreplaceでやってみようと思いpathChogehogehogehogetxtprintpathreplaceだと最後の『¥』の部分で構文エラーになってしまいます。 |
2021-12-06 23:43:56 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
新しく作成したTwitterアカウントのAPIでダイレクトメッセージができない |
https://teratail.com/questions/372564?rss=all
|
新しく作成したTwitterアカウントのAPIでダイレクトメッセージができないお世話になります。 |
2021-12-06 23:35:48 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
TCP の SYN ACK の再送が行われるか確認する方法 |
https://teratail.com/questions/372563?rss=all
|
前提条件制約クライアントは自社環境のため、設定の確認や変更が可能。 |
2021-12-06 23:24:44 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
秒数の変換方法を教えてください |
https://teratail.com/questions/372562?rss=all
|
秒数の変換方法を教えてください以下によって秒を変換することが可能になったのですが、出力された内容は時間nbsp分nbsp秒となってしまいます。 |
2021-12-06 23:15:30 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
コードによる管理がどうだったら良さそうか |
https://qiita.com/yktko/items/da8d5ae9a540d5427b01
|
システム構成の状況をコードで把握でき、その構成と変更作業を人が読むだけでない実行可能なコードによって実現するということです。 |
2021-12-06 23:50:44 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
Amazon RDS Custom for Oracle作成の手引き(その1:Custom Engine Versionの作成) |
https://qiita.com/asahide/items/f7a1822b039add53d27e
|
CEV作成前の準備ユーザガイドにもありますが、以下の準備が必要ですOracleDatabaseのメディアインストーラの準備インストールメディアのSへのアップロードCEVのマニフェストファイルインストールファイルの場所指定の準備IAM権限・KMSの準備インストーラの準備OracleSoftwareDeliveryCloudEDeliveryからダウンロードするか、手持ちのメディアを利用する必要があります。 |
2021-12-06 23:12:14 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
PythonからLocalStackへ繋ぐ際の注意 |
https://qiita.com/mounntainn/items/796a99d22a4f86deb441
|
PythonからLocalStackへ繋ぐ際の注意たくさんはまったので備忘録。 |
2021-12-06 23:41:10 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
【環境構築】macOS Big Sur 11.6.1 + Dockerのpython containerでVSCodeを使って開発する |
https://qiita.com/cocoapuff/items/b04f556ee7ccbbc0d11c
|
前回までの記事【環境構築】macOSBigSurにDockerをInstall【環境構築】macOSBigSurDockerでpython【環境構築】macOSBigSurDockerのpythoncontainerにpandasをinstallvscodeの設定vscodeはinstall済みの前提RemoteContainersのinstallvscodeを起動して、Extensionsをクリックremoteで検索して、RemoteContainersをinstallするinstallのチェックvscodeの左下がこうなっていればinstallされたってことこの緑のitemをclickするとvscodeのタイトルバーの下にremotecontainerのcommandがペロっと出てくるcontainerにattachして見る任意のコードが実行されちゃうかもよと注意を受けた自分で作成したcontainerなので構わず、Gotitをクリック動作中のcontainerが表示された左下を見ると、Containerpythonpythonと表示されているどうやら選択したcontainerでvscodeが動作しているようだちなみにdockerdesktopのdashboardで実行中であるpythonを選択すると、新しいwindowが立ち上がったついでに日本語にする日本語にして気づいた。 |
2021-12-06 23:14:17 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
scope |
https://qiita.com/mmaumtjgj/items/26e04e84fa713594961b
|
scopescopeとはRailsのスコープ機能を利用するためのメソッド。 |
2021-12-06 23:45:16 |
技術ブログ |
Mercari Engineering Blog |
評価の満足度を劇的にあげた秘訣。Continuous Feedbackのすすめ |
https://engineering.mercari.com/blog/entry/20211206-15c9c9dc16/
|
hellip |
2021-12-06 15:20:50 |
技術ブログ |
Developers.IO |
Step FunctionsステートマシンのContextオブジェクトについて調べてみた |
https://dev.classmethod.jp/articles/the-context-object-of-the-step-functions-state-machine/
|
awsstepfunctions |
2021-12-06 14:53:26 |
海外TECH |
Ars Technica |
After a “thorough review,” NASA awards additional astronaut flights to SpaceX |
https://arstechnica.com/?p=1818223
|
boeing |
2021-12-06 14:08:37 |
海外TECH |
MakeUseOf |
SteelSeries Apex 3 TKL Keyboard Review: The World's First Water-Resistant TKL |
https://www.makeuseof.com/steelseries-apex-3-tkl-keyboard-review/
|
SteelSeries Apex TKL Keyboard Review The World x s First Water Resistant TKLThe SteelSeries Apex TKL offers great bang for your buck won t buckle under the threat of spilled drinks and offers a premium typing experience |
2021-12-06 14:55:12 |
海外TECH |
MakeUseOf |
8 Advanced Database Features on Notion You Should Be Using |
https://www.makeuseof.com/advanced-database-features-notion-to-use/
|
notion |
2021-12-06 14:15:31 |
海外TECH |
DEV Community |
Using Prisma to Address Connection Pooling Issues in Serverless Environments |
https://dev.to/prisma/using-prisma-to-address-connection-pooling-issues-in-serverless-environments-3g66
|
Using Prisma to Address Connection Pooling Issues in Serverless EnvironmentsThis article discusses what “serverless environments are why developers choose to deploy their apps to them and how the Prisma Data Platform solves the problems that can arise regarding database connection pooling Choosing which tools you will use to build your application and which platform you will be deploying to in production are early and vital decisions that you will have to make when building a product Using an ORM like Prisma speeds up the development process while serverless hosting reduces the ongoing cost and resource overhead of ensuring your application s availability to your customers What is Prisma Prisma is a next generation ORM Object Relational Mapping library for Node js and TypeScript Prisma allows you to build your app in JavaScript or TypeScript and work with your data as objects rather than SQL or NoSQL queries These objects are mapped to a database using a schema that generates all the types and conversions required to accurately store your objects in your database platform The Prisma toolset includes developer tools for generating database migrations so that your database is always in sync with your data mode as defined in the Prisma schema In addition the cloud based Prisma Data Platform provides tools like user role management and a data browser that allow you and your team to collaboratively manage your data online Using Prisma in your projects means spending less time worrying about your database and more time to focus on building your app In addition to being a great aid to development the Prisma Data Platform discussed in this article makes Prisma a flexible and efficient way to manage database connections for your application with minimal fuss What is “serverless and why do developers “go serverless Serverless hosting is a means of delivering your app to your user without having to build and maintain a server to deploy it to It may sound strange but it is a cost effective way to deploy applications Serverless cloud hosting providers like AWS Lambda and Vercel take care of all of the infrastructure required to run your application Here are some of the top reasons why developers are going serverless Reduced infrastructure requirementsThe hosting provider administers all of the infrastructure required to host your appーmaintaining it keeping it up to date and most importantly keeping it secure The provider deals with the day to day burdens of hosting Streamlined deploymentWith serverless hosting you are provided tools to readily upload run and monitor your code When a request comes in your code is launched in a container and executed The serverless environment discards the container when it is no longer needed Reduced costsIn addition to the time and resources saved by not having to maintain your own server infrastructure you also save on the cost of running a full server Many serverless hosting providers like AWS and Azure will only bill you for the resources you use ScalabilityServerless hosting offerings like AWS Lambda and Azure Functions can support sustained high load thanks to the cloud providers globally distributed infrastructure In addition such systems are well suited for handling bursts of high load amid periods of lower use due to their automatic scaling functionality The issues with “connection pooling in serverless environmentsAny database serverless or not has a limit on the number of open connections that it can handle at one time For each open connection the database system like PostgreSQL or MySQL reserves network memory and compute resources so that it s able to handle any incoming requests through each connection In a serverless environment your code does not run constantly A user makes a request whether it s viewing a webpage or requesting an API resource and a tiny containerized executing environment called an instance running only the code required to serve the request is launched The request is served and the instance is destroyed This is efficient but there is one problem In traditional hosting environments with a single server that runs your application a single instance of the application can service multiple user requests In a traditional hosting environment a single instance of the application will be managing a single connection pool to your database The connection pool ensures that any database queries are within the connection and timeout limits that you have configured It coordinates the re use of database connections and prevents the database server from being overloaded In a serverless environment a new instance of your code is launched for every user request Each instance will be unaware of the others resulting in multiple connection pools As these separate connection pools are not aware of one another they cannot coordinate to ensure the database server is not overloaded In a serverless environment there is no shared connection pool This creates the risk that a small number of user requests exhaust the database connection limit causing the application to stop working Methods of dealing with with connection pooling issuesThere are three key ways in which the modern developer can deal with connection pooling issues in a serverless environment External connection poolersOne method is to use an external connection pooler By moving the task of coordinating database connections outside of your serverless app an external connection pooler solves the issue of the separate execution instances not being able to coordinate with each other Not all database servers have an external connection pooler If this path you choose to mitigate the issue you should carefully select which tools and platforms will be used in your project early in the development process The Prisma Data Proxy is an example of an external connection pooler approach Adjusting your codeAnother method to overcome connection pooling issues is to ensure that your code is written in a way that accounts for the serverless environment in which it will run Some cloud providers do reuse resources between requests so structuring your code so that connections can be maintained between requests is a way to reduce database load However this approach is limited and will only help alleviate the problem to some degree Fine tuning your database serverAn important step in deploying to a production environment is to monitor and profile your application Knowing how your application will be used and how busy it will be allows you to determine what resources to allocate With this information you can optimize your database connection to reduce the chance of overloading it For example you can reduce the connection timeout for inactive connections so that your database is less likely to be spending resources on a connection that s not going to be used Another option is to increase the connection limit on the database but handling more connections will likely require more compute resources In addition to supporting these traditional methods of dealing with connection pooling issues the Prisma Data Platform introduces a reliable and readily configurable database proxy that solves connection pooling issuesーregardless of the database server or database host in use Solving connection pooling issues with Prisma Data ProxyPrisma has introduced a new service that effectively solves the connection pooling issue when deploying to serverless environments like AWS Lambda and Vercel The Prisma Data Proxy acts as an intermediary between your application code and the database effectively acting as an external connection pooler for any database supported by Prisma Flexible ORM and proxy with external connection poolingUsing the Prisma Data Proxy solves the connection pooling issue without you having to drastically alter your code or spend extra time tweaking your database connection configuration to account for the serverless environment The Prisma Data Proxy also reduces the size of the data bundle that you must upload to your serverless hosting environment Many of the database functions are outsourced to the highly performant Prisma Engine binary hosted by the Prisma Data Proxy so they do not need to be included with your deployment bundle Part of the Prisma Data PlatformThe Prisma Data Proxy is part of the Prisma Data Platform a cloud based platform that helps manage and collaborate on application data The Prisma Data Platform includes a powerful databas tools to assist you and your team during the development process This includes the Prisma Query Console which enables you to view and manage your live data through a simple interface It allows you to gain insight into how your application is used and to quickly fix any arising data issues The benefits of serverless hosting and PrismaServerless hosting in combination with the Prisma Data Platform provides a set of collaborative development and deployment tools for developers who simply want to get on with building their product Building and running serverless applications has become a very attractive option for developers due to the reduced resources and costs and an easier scaling approach However when developing your application you will have to ensure its suitability to be run in a serverless environment There is nothing inherently wrong with the serverless concept but there are differences to traditional hosting configurations that must be considered when coding to deploy in such an environment The Prisma Data Platform is being actively developed to address the challenges of deploying data intensive apps to modern serverless platforms while allowing you to use the database and database host you are already comfortable with To learn more about databases in the Serverless era and a sneak peak into Prisma s vision for the Prisma Data Platform check out the talks from the Prisma Serverless Conference Get started with the Prisma Data PlatformThe Prisma Data Platform including the Prisma Data Proxy is currently available in Early Access Online documentation is available to get you started so that you are ready to implement the Prisma Data Platform in your project when it is released See the Prisma Data Proxy in action or learn more about how to easily integrate the Prisma Data Platform into your project And if you are ready to try Prisma Data Platform out get started today |
2021-12-06 14:57:32 |
海外TECH |
DEV Community |
Ugly Sweater CSS: The Imperial Logo |
https://dev.to/jarvisscript/ugly-sweater-css-the-imperial-logo-33p9
|
Ugly Sweater CSS The Imperial LogoLast year I made CSS ugly sweaters based off of Star Wars characters Some of those were minifigures included in the LEGO Star Wars Advent calendar I m not sure if there are sweaters in this year s advent But Hallmark has released LEGO Minifigure ornaments with ugly sweaters The ornaments are available at Hallmark stores and online The Darth Vader ornament is a larger version of the figure from last year s advent calendar I did the sweater with this post There also is a new figure a Stormtrooper wearing a sweater with the Imperial Crest img alt LEGO Stormtrooper wearing lt br gt a blue sweater The sweater has the imperial crest on it height src dev to uploads s amazonaws com uploads articles duwxcpwjwszsk jpg width I reused the basic sweater HTML from last year I changed the colors to match the new blue sweater A previous version of the sweater is in this post I won t go into much detail here Below is what the final image looked like I just changed the colors Main sweater to blueBoxes to blue and whiteStitching to black I m learning CSS variables so I m trying them in the code this time root sweaterblue fbf imperialCrest background color var sweaterblue That s the basic torso I placed a character div in that torso Inside the character div is a div for a specific character for this post it has a class of Imperial Crest Add the CrestI started the Crest with a big circle with a background of sweaterblue and a border of black The blue matches the blue from the main sweater background But it sweater has stars as a background image The inside of the crest is solid blue lt div class torso gt lt div class character gt lt div class imperialCrest gt lt div gt lt div character gt lt div gt root sweaterblue fbf imperialCrest background color var sweaterblue height px width px border radius border px solid display flex justify content center align items center overflow hidden flex direction column Add circlesNext I added two circles inside the main ring lt div class imperialCrest gt lt div class bigCircle gt lt div class centerCircle gt lt div gt lt div gt lt div gt bigCircle background color height px width px border radius display flex justify content center align items center overflow hidden flex direction column centerCircle background color var sweaterblue height px width px border radius position absolute Struts and SpokesRight now it just looks like circles But after adding some shapes the logo will appear The process for the rest of the build follows this pattern build a shape get sizes approximately right duplicate the shape modify the sizes and shape as the copies are moved around First I made some black struts The first one was vertical Then used transform rotate xxdeg to change the angle of the right and left struts Since I m building around a symmetrical circle once I have the placement for the left side all I have to do is give the right side the opposite number Left is degress so right side is degrees lt div class struts vertical gt lt div gt lt div class struts diagonalLeft gt lt div gt lt div class struts diagonalRight gt lt div gt struts background color height width px position absolute diagonalLeft transform rotate deg diagonalRight transform rotate deg Next I made some trapezoid blocks where the struts meet the black circle To make a trapezoid with CSS you make a square using borders give one side a color make the other sides transparent Add some width or height and background color to the item It took a while had to adjust margins to get placement right I used dev tools to select the element and adjust their positions in the browser lt div class block top gt lt div gt lt div class block lefttop gt lt div gt lt div class block leftbottom gt lt div gt lt div class block righttop gt lt div gt lt div class block rightbottom gt lt div gt lt div class block bottom gt lt div gt block height px width px position absolute border top px solid black border left px solid transparent border right px solid transparent border top right radius border top left radius top margin top px bottom margin bottom px transform rotate deg Next I added blue spokes made of of an hourglass shape The hourglass is made of two elongated triangles In CSS triangles are made by building a rectangle with borders but no background The top and bottom borders have color the sides are usually transparent To make it easy to see here I gave the left and right a color of white and removed the blue circle In final project the sides will be transparent and not seen The points will blend into the circle Made one in center then two more using same transform rotate attributes as the spikes So they cross like an X in the center of the circle Odd thing here When viewed on Firefox the rotated blue spokes have a thin black line through the center It doesn t show on Chrome I used dev tools to change the black items under the spoke to other colors but there still was a black line on the blue Any CSS or browser experts out there know what s going on Final LookHere s the final look with the all the spokes it now looks like the Imperial Crest from the sweater I was extremely happy when I refreshed the browser and saw this final image img alt LEGO Stormtrooper wearing lt br gt a blue sweater The sweater has the imperial crest on it height src dev to uploads s amazonaws com uploads articles duwxcpwjwszsk jpg width |
2021-12-06 14:46:40 |
海外TECH |
DEV Community |
NEW: DynamoDB Streams Filtering in Serverless Framework |
https://dev.to/aws-builders/new-dynamodb-streams-filtering-in-serverless-framework-3lc5
|
NEW DynamoDB Streams Filtering in Serverless FrameworkFrom this article you will learn how to utilize recently released functionality of Streams Filtering with DynamoDB and Lambda We will move deeper than a basic sample of DynamoDB event action filtering You will learn how to combine it with your business logic I will be using DynamoDB single table design setup for that What s new If you haven t heard just before reInvent AWS dropped this huge update What s changed Before the updateEvery action made in a DynamoDB table INSERT MODIFY REMOVE triggered an event that was sent over DynamoDB Streams to a Lambda function Regardless of the action type a Lambda function was always invoked That had two repercussions You had to implement filter logic inside your Lambda code if conditions before executing your business logic i e filter INSERT actions to send welcome email whenever new User was added into the table You paid for every Lambda run even though in most cases you were interested only in some events That situation was multiplied in single table design where you store multiple types in a single table so in reality you have many INSERTs with subtypes ie new user new address new order etc After the updateNow you can filter out events that are not relevant to your business logic By defining filter criteria you control which events can invoke a Lambda function Filtering evaluates events based on values that are in the message This solves above mentioned problems Logic evaluation is pushed on AWS no more ifs in Lambda code No more needless Lambda execution All of that thanks to the small JSON snippet defining filter criteria Refactoring to the Streams FilteringSince you re reading this article it s safe to assume you re like me already using DynamoDB Streams to invoke your Lambda functions Therefor let me take you through the refactoring process It s a simplified version of the code that I use on production In my DynamoDB table I store two types of entities Order and Invoice My business logic requires me to do something only when Invoice is modified As you can see it s just the single case out of six Imagine what happens when you have more types in your table and your business logic requires you to perform other actions as well Old event filteringLet s start from those ugly if statements that I had before the update because I had to manually filter events My Lambda s handler started with execution of parseEvent method const parseEvent event gt const e event Records batch size const isInsert e eventName INSERT const isModify e eventName MODIFY const isOrder e dynamodb NewImage Type S Order const isInvoice e dynamodb NewImage Type S Invoice const newItemData e dynamodb NewImage const oldItemData e dynamodb OldImage return isInsert isModify isOrder isInvoice newItemData oldItemData Next step I had to evaluate the condition in my handler const isInsert isModify isOrder isInvoice newItemData oldItemData parseEvent event if isModify amp amp isInvoice perform business logic uses newItemData amp oldItemData values New event filteringNew functionality allows us to significantly simplify that code by pushing condition evaluation on AWS Just to recap my business logic requires me to let in only MODIFY events that was performed on Invoice entities Fortunately I keep Type value on my entities in DynamoDB Table thanks Alex The DynamoDB event structure is well defined so basically what I need to do is make sure that eventName equals to MODIFY anddynamodb NewImage Type S equals to Invoice All of that is defined in filterPatterns section of Lambda configuration Below is a snippet from Serverless Framework serverless yml config file Support for filterPatterns was introduced in version make sure you are using it or newer functionName handler src functionName function handler other properties events stream type dynamodb arn GetAtt DynamoDbTable StreamArn maximumRetryAttempts batchSize filterPatterns eventName MODIFY dynamodb NewImage Type S Invoice And that s all you need to do to filter your DynamoDB Stream Amazing isn t it GotchasBear in mind that there can be several filters on a single source In such case each filter works independently of the other Simply put there is OR not AND logic between them I learned that the hard way by mistakenly creating two filters filterPatterns eventName MODIFY dynamodb NewImage Type S Invoice by adding in front of dynamodb It resulted in the wrong filter filters pattern eventName MODIFY pattern dynamodb NewImage Type S Invoice That one catches all MODIFY actions OR anything that has Invoice as Type in NewImage object so DynamoDB INSERT actions as well Correct filter filters pattern eventName MODIFY dynamodb NewImage Type S Invoice You can view filter in Lambda console under Configuration gt Triggers section How much does it cost Nothing There is no information about any additional pricing Also Jeremy Daly confirmed that during re Invent Jeremy Daly jeremy daly NoSQLKnowHow Do you know how the pricing will work for this The Lambda PMs told me that each function needs to consume the stream in order to do the filtering so do we get charged DynamoDB Streams read request units for everything pulled off the stream or just what gets filtered PM Dec Jeremy Daly jeremy daly NoSQLKnowHow Confirmed with ajaynairthinks that the Lambda Service eats the polling cost so you only get charged for what makes it into your function PM Dec In reality this functionality saves you money on maintenance because it s easier to write amp debug Lambda code and on operations as functions are executed only responding to business relevant events Low couplingBefore the update people implemented event filtering logic in a single Lambda function Thus struggling from high coupling unless they utilized some kind of dispatcher pattern Now we can have several independent Lambda functions each with its filter criteria attached to the same DynamoDB Stream That results in lower coupling between code that handles different event types This will be very much appreciated by all single table design practitioners SummaryI hope this short article convinced you to refactor your Lambda functions that are invoked by DynamoDB Streams It s really simple and makes a huge difference in terms of code clarity and costs |
2021-12-06 14:19:12 |
海外TECH |
DEV Community |
3 Ways to Backup Your Code (Even If You Don’t Know Git) |
https://dev.to/github/3-ways-to-backup-your-code-even-if-you-dont-know-git-1o5l
|
Ways to Backup Your Code Even If You Don t Know Git Today over million software engineers around the globe use GitHub While GitHub provides many benefits including project management open source collaboration and automation early career developers often sign up to host their code and visualize the changes they make over time Personally I choose to upload my code to GitHub because It reduces the risk of losing my code If I only stored my code on a local computer and that computer stopped working I d lose my work forever My code is always accessible to me with GitHub regardless of what computer I m using It helps me land jobs GitHub serves as my portfolio for hiring managers and talent sources to gauge my technical expertise better After graduating from my coding boot camp GitHub was especially conducive to my job search because I lacked professional software engineering experience It helps me collaborate on projects Back in the day before Git and version control a k a the process of saving different files or versions throughout the various stages of a project existed people shared their code via email floppy disk and other tedious mediums Today with tools like GitHub you can share your code and visually track changes made by each collaborator I can also communicate with collaborators through comments and GitHub Discussions A common way to interface with GitHub is through Git and the terminal Because Git and the terminal have such a steep learning curve some developers especially early career developers avoid using GitHub But what if I told you you could use GitHub to store your programming projects without the command line The Difference Between Git and GitHubBefore I describe the various techniques for leveraging GitHub without Git I want to clarify the difference between the two tools GitIn layman s terms Git records snapshots of your projects as you save the changes you make throughout history This allows developers to confidently return to a past version of a project if they make a mistake or discover a problem To use it people install Git on their local computers and in their terminals they type commands such as git add git commit and git push to save their latest changes GitHubAt its core GitHub is a web based platform for developers to store code on the cloud It is also available as a mobile app and desktop app Through the graphical user interface developers can use GitHub to work with developers worldwide Over the years GitHub expanded its offerings to include project management automation deployment security and more GitHub incorporates Git s version control features to make collaboration easier Backup Your Code Without The Command Line GitHub DesktopGitHub Desktop is a desktop application with a graphical user interface that allows you to retrieve edit and save code to GitHub without touching your terminal Read the official documentation to learn more about installing configuring and using GitHub Desktop GitHub s Web User InterfaceYou can upload edit and find files directly from GitHub com without downloading the files or navigating the terminal Option You can edit the files directly at GitHub com after uploading them Option You can edit your files on your local computer drag and drop your entire folder and GitHub will “auto magically determine which files were changed and only upload the edited files GitHub devYou can find GitHub s free web based editor at The web based editor introduces a lightweight editing experience that runs entirely in your browser With the web based editor you can navigate files and source code repositories from GitHub and make and commit code changes You can open any repository fork or pull request in the editor Read the official documentation editing and saving files via github dev Even if you don t know Git or feel intimidated by the terminal you can still use GitHub to back up your code track changes and build your portfolio Of course as your skills grow and you land a new role your employer may prefer that you use Git Over the next few weeks I ll share tips about Git and GitHub that I ve learned and continue to learn throughout my career in tech Give me a follow to avoid missing my upcoming blog posts Let s grow together and become version control pros |
2021-12-06 14:17:35 |
Apple |
AppleInsider - Frontpage News |
Apple brings coding program to Boys & Girls Clubs of America |
https://appleinsider.com/articles/21/12/06/apple-brings-coding-program-to-boys-girls-clubs-of-america?utm_medium=rss
|
Apple brings coding program to Boys amp Girls Clubs of AmericaAs part of Computer Science Education Week Apple has expanded its partnership with Boys Girls Clubs of America to bring coding and app design lessons to regions across the US Following Apple s previous donation of iPads and Macs to Boys Girls Clubs of America BGCA the company is now launching a coding program with the organization At Apple we believe education is a force for equity said Lisa Jackson Apple s vice president of Environment Policy and Social Initiatives in a statement and that all learners should have the opportunity to explore and develop coding skills for their future Read more |
2021-12-06 14:16:14 |
Apple |
AppleInsider - Frontpage News |
Best deals Dec. 6: $287 LG 32-inch 4K monitor, $50 photo printer, Philips Hue, more! |
https://appleinsider.com/articles/21/12/06/best-deals-dec-6-287-lg-32-inch-4k-monitor-50-photo-printer-philips-hue-more?utm_medium=rss
|
Best deals Dec LG inch K monitor photo printer Philips Hue more Monday s best deals include discounts on Philips Hue smart lights off a inch LG K monitor off the Microsoft Surface Duo and a half price Playmobil Volkswagen T Camping Bus Best deals for December The internet has a plethora of deals each day but many deals aren t worth pursuing In an effort to help you sift through the chaos we ve hand curated some of the best deals we could find on Apple products tech accessories and other items for the AppleInsider audience Read more |
2021-12-06 14:09:35 |
海外TECH |
The Apache Software Foundation Blog |
The Apache Weekly News Round-up: week ending 3 December 2021 |
https://blogs.apache.org/foundation/entry/the-apache-weekly-news-round3
|
The Apache Weekly News Round up week ending December Welcome December we re opening the month with another great week Here s what the Apache community has been up to Apache Month in Review nbsp a round up of our Round ups and other newsworthy bits over the past month nbsp November Month in Review ASF Board nbsp management and oversight of the business affairs of the corporation in accordance with the Foundation s bylaws nbsp Next Board Meeting December Board calendar and minutes nbsp ASF Infrastructure nbsp our distributed team on three continents keeps the ASF s infrastructure running around the clock nbsp M weekly checks yield uptime at Performance checks across different service components spread over more than machines in data centers around the world View the ASF s Infrastructure Uptime site to see the most recent averages Apache Code Snapshot nbsp Over the past week Apache Committers changed lines of code over commits Top contributors in order are Krist Wongsuphasawat Jesse Yang Yongjie Zhao Gary Gregory and Ville Brofeldt Apache Project Announcements nbsp the latest updates by category APIs nbsp Apache APISIX releasedWeb Frameworks nbsp Apache Wicket releasedDid You Know nbsp Did you know that the following Apache Projects are celebrating anniversaries this month Congratulations to Apache Ant years HttpComponents years Attic Buildr CouchDB and Qpid years Community Development years OODT and ZooKeeper years Kafka and Syncope years Ambari years BookKeeper and Drill years Brooklyn Groovy Kylin and REEF years Geode years Guacamole and Impala years Griffin years Petri years Superset and TVM year nbsp Did you know that Apache Hudi enables streaming of hundreds of terabytes of data into data lakes each day nbsp Did you know that individual and corporate donations help the all volunteer ASF continue to steward Apache Projects and their communities and provide more than B worth of Apache software to the public good at no charge Apache Community Notices Watch quot Trillions and Trillions Served quot the documentary on the ASF nbsp full feature nbsp min quot Apache Everywhere quot min quot Why Apache quot min nbsp “Apache Innovation min nbsp nbsp ASF Annual Report FY nbsp Press release nbsp and nbsp Report nbsp PDF nbsp The Apache Way to nbsp Sustainable Open Source Success nbsp nbsp nbsp Foundation Reports and Statements nbsp Presentations from s ApacheCon Asia and ApacheCon Home are available on the nbsp ASF YouTube channel nbsp quot Success at Apache quot focuses on the people and processes behind why the ASF quot just works quot nbsp nbsp Inside Infra the new interview series with members of the ASF infrastructure team meet nbsp nbsp nbsp Chris Thistlethwaite nbsp nbsp nbsp Drew Foulks nbsp nbsp nbsp Greg Stein Part I nbsp nbsp nbsp nbsp Part II nbsp nbsp and Part III nbsp nbsp nbsp Daniel Gruno Part I nbsp nbsp and Part II nbsp nbsp nbsp nbsp Gavin McDonald Part I nbsp nbsp and Part II nbsp nbsp nbsp nbsp Andrew Wetmore Part I nbsp nbsp and Part II nbsp nbsp nbsp Chris Lambertus Part I nbsp nbsp nbsp and Part II nbsp nbsp Follow the ASF on social media nbsp TheASF on Twitter nbsp and nbsp The ASF page LinkedIn nbsp nbsp Follow the nbsp Apache Community on Facebook nbsp and nbsp Twitter nbsp nbsp Are your software solutions Powered by Apache nbsp Download amp use our quot Powered By quot logos Stay updated about The ASFFor real time updates sign up for Apache related news by sending mail to announce subscribe apache org and follow TheASF on Twitter For a broader spectrum from the Apache community nbsp nbsp provides an aggregate of Project activities as well as the personal blogs and tweets of select ASF Committers |
2021-12-06 14:50:58 |
海外TECH |
Network World |
AWS partners to provide more cloud options |
https://www.networkworld.com/article/3643391/aws-partners-to-provide-more-cloud-options.html#tk.rss_all
|
AWS partners to provide more cloud options AWS is offering a variety of new connectivity options for enterprise customers to access distributed cloud resources The new options unveiled at the company s re Invent conferenceーare designed to give businesses new network options and build more secure access to on premises and other cloud applications Get regularly scheduled insights by signing up for Network World newsletters A new network offering called AWS Cloud WAN is a managed service that promises to make it easier to build manage and monitor global traffic across a wide area network that spans multiple locations and networksーeliminating the need to configure and manage the different networks individually using different technologies To read this article in full please click here |
2021-12-06 14:29:00 |
金融 |
RSS FILE - 日本証券業協会 |
J-IRISS |
https://www.jsda.or.jp/anshin/j-iriss/index.html
|
iriss |
2021-12-06 15:50:00 |
ニュース |
BBC News - Home |
Covid: UK red list criticised as 'travel apartheid' by Nigeria |
https://www.bbc.co.uk/news/world-africa-59545457?at_medium=RSS&at_campaign=KARANGA
|
apartheid |
2021-12-06 14:15:09 |
ニュース |
BBC News - Home |
Storm Barra: Northern Powergrid aims to reconnect final homes |
https://www.bbc.co.uk/news/uk-england-tyne-59545326?at_medium=RSS&at_campaign=KARANGA
|
barra |
2021-12-06 14:29:02 |
ニュース |
BBC News - Home |
Covid: Sainsbury's asks staff to delay Christmas parties |
https://www.bbc.co.uk/news/business-59547504?at_medium=RSS&at_campaign=KARANGA
|
omicron |
2021-12-06 14:36:11 |
北海道 |
北海道新聞 |
日大、背任の被害届提出 10日に記者会見へ |
https://www.hokkaido-np.co.jp/article/619868/
|
日本大学医学部 |
2021-12-06 23:15:00 |
北海道 |
北海道新聞 |
独ショルツ政権、8日発足 16年ぶり中道左派主導 |
https://www.hokkaido-np.co.jp/article/619866/
|
中道左派 |
2021-12-06 23:06:00 |
仮想通貨 |
BITPRESS(ビットプレス) |
トレイダーズ証券、2022年1月より暗号資産CFDサービス「みんなのコイン」「LIGHT FXコイン」開始 |
https://bitpress.jp/count2/3_10_12933
|
lightfx |
2021-12-06 23:35:54 |
海外TECH |
reddit |
SEC Shorts - SEC teams return to the Bowl Dance |
https://www.reddit.com/r/CFB/comments/ra7yal/sec_shorts_sec_teams_return_to_the_bowl_dance/
|
SEC Shorts SEC teams return to the Bowl Dance submitted by u Bronzeraptor to r CFB link comments |
2021-12-06 14:01:19 |
コメント
コメントを投稿