投稿時間:2021-08-11 02:16:16 RSSフィード2021-08-11 02:00 分まとめ(19件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
AWS AWS Marketplace Demonstrating least privilege with Sonrai Security and AWS Control Tower https://aws.amazon.com/blogs/awsmarketplace/demonstrating-least-privilege-with-sonrai-security-and-aws-control-tower/ Demonstrating least privilege with Sonrai Security and AWS Control TowerDuring the cloud journey some of my customers must create identity principals such as roles or users Engineers or services use these roles to perform their jobs in the cloud To support this effort Sonrai Security has developed an integration with AWS Control Tower This integration enables you to see all of the security policies … 2021-08-10 16:04:41
AWS AWS Fades and Family on the Cutting Edge - The Big Idea https://www.youtube.com/watch?v=5q5npsu4Ews Fades and Family on the Cutting Edge The Big IdeaSquire Technologies is using AWS to help barbers bring their businesses into the future and connect more deeply with their communities For more from the Big Idea series go to Machine Learning A Whale Tale Justice Through Code Subscribe More AWS videos More AWS events videos ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster AWS AmazonWebServices CloudComputing 2021-08-10 16:45:07
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) 【Python】PythonistaでPythonのプログラミングをしています。 https://teratail.com/questions/353709?rss=all 発生している問題・エラーメッセージエラーメッセージ該当のソースコードソースコード試したことここに問題に対して試したことを記載してください。 2021-08-11 01:54:25
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) boost pythonのincludeファイルが見つからないことによるエラー https://teratail.com/questions/353708?rss=all boostpythonのincludeファイルが見つからないことによるエラー前提・実現したいこと科学技術計算をする上でpythonで書かれた関数をcで呼び出し、またはその逆を行う必要が出たので、boostnbsppythonをhomebrew経由でインストールしたのですが、コンパイルの際にincludeエラーが出てしまいます。 2021-08-11 01:40:45
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) Pythonanywhereにgithubからコードをプルする段階で仮想環境がつくれなくて困っています https://teratail.com/questions/353707?rss=all Pythonanywhereにgithubからコードをプルする段階で仮想環境がつくれなくて困っています前提・実現したいことDjangonbspGirlsのチュートリアルで、デプロイの章をやっています。 2021-08-11 01:27:06
Git Gitタグが付けられた新着投稿 - Qiita [自分用忘備録]git push解決 https://qiita.com/tkw0129/items/6b4d332fa2b49c236400 自分用忘備録gitpush解決この記事は先日いきなりgitpushができなくなったのでその対処法。 2021-08-11 01:30:52
技術ブログ Mercari Engineering Blog 新しいメルカリ Web の話 https://engineering.mercari.com/blog/entry/20210810-the-new-mercari-web/ hellip 2021-08-10 17:00:04
海外TECH DEV Community Eloquent JS: Chapter 3, the World of Functions https://dev.to/kharouk/eloquent-js-chapter-3-the-world-of-functions-il6 Eloquent JS Chapter the World of Functions Quick updateIt s been almost a month since I published the first part of the Eloquent JavaScript Book Club series I enjoyed the feedback I received from the Dev to community and was happy to see folks wanting to join the book club and read along However as it has been almost a month I m sure many of you continued and finished the book without me It s cool I get it Personally a lot has happened in my life I quit my current job and am very happy to have accepted an excellent offer at a great company I received an unconditional offer for a Masters in Computer Science amp Artificial Intelligence where I ll be studying part time for the next two years I learned a heck load of data structures algorithms systems design and everything in between It s been a wild month but I m ready to sit back a bit Drink a nice cold brew Open up the dusty textbook and get into some eloquent JavaScript Before we start I want to quickly mention that I also completed the Just JavaScript book workshop mini course by Dan Abramov I ve already seen some parallels between eloquent JS and that course I would wholeheartedly recommend getting into both It helped solidify my mental model of how things like variables and functions work There should be a blog post to analyse the two texts Right functions People think that computer science is the art of geniuses but the actual reality is the opposite just many people doing things that build on each other like a wall of mini stones Donald KnuthWithout functions our code wouldn t function well It will still do its job Expressions and statements will continue to execute whilst our bindings variables will continue latching onto data But without some order or a way of keeping related code together it d be complicated to manage We can create functions with a function expression It s similar to how we have defined variables const addTwo function num return num The num is a parameter whilst the curly braces encapsulate the body of the function The code above creates a constant called addTwo and binds it to a function that takes in a number and adds two to it Some functions have a return statement Others return nothing at all Yet just because it seems like it returns nothing in the code in reality all operations with no explicit return statement return undefined Another example is to open your browser s console and type in console log hello You ll see hello being printed but you ll also get the type undefined returned That s because the log is a function that doesn t return anything It just runs a side effect which is the printed message Side note the same thing happens when we execute an expression like let x as variable declarations do not produce a value but returns something Understanding ScopeA crucial advantage that a function has is being able to have it s own scope It s a mechanism that allows a function to deal with its internal state and prevent other functions from manipulating state It creates separation of scope where you have the global scope outside the function and the inner scope Global scope is like setting some variables at the top of your file let time let closingTime Functions have the ability to read those variables and even manipulate them we will discuss why this is not necessarily good However we can t reach into functions and control the variables const personalSchedule function let doctorsAppointment console log doctorsAppointment doctorsAppointment is not definedThese variables are known as local variables or local bindings They only exist for a limited amount of time when the function is called Then once the the function has finished executing they cease to exist It s quite melancholic A key thing to note is that variables declared with let or const are local to the block they are called in and therefore can not be called outside the block unlike var A great example is a for loop for let i i lt i execute code console log i undefinedfor var i i lt i execute code console log i Notice the difference in the highlightsAnother thing to note is that whilst we can t look inside a function to get its variables we can look outside the scope of the function const x const halve function const divided x const print function console log x console log divided print halve The print function inside halve can interact with both the x variable in the global scope as well as the divided variable within the scope of the halve function This is also known as lexical scoping where each local scope can also see all the local scopes that contain it On top of that all scopes can see the global scope Declaring FunctionsWe ve seen functions declared as an expression We can also assign them in a shorter way through what is known as function declarations function booDeclare name console log BOO Did I scare you name how we would write it beforeconst boo function name There is a difference between the two and it s primarily due to something called hoisting we won t get into this right now If you were to call booDeclare before it was declared you would see that it still works However we can t say the same for the other function This is due to function declarations being hoisted up to the top of the conceptual page and thus is able to be used anywhere in the code This kind of makes sense as the second function is more like how we declare a variable and that we are unable to know what the variable binds to before it is declared console log I am walking through a haunted house booDeclare Alex worksfunction booDeclare name return BOO Did I scare you name console log boo Cannot access boo before initializationconst boo function name return BOO Did I scare you name console log ghost Cannot access ghost before initializationconst ghost nice ghost Arrow functionsYou might be familiar with arrow functions as well They are newer syntax and they provide us a way of writing small function expressions in a my opinion cleaner manner const owedMoney sum gt return sum can be written asconst owedMoney sum gt sum The code is less verbose as it now implicitly returns the value that sum is bound to and there are no curly braces There is another difference between the arrow function and a function expression and that is regarding the keyword this We will talk about it more once we get to Chapter can t wait Optional ArgumentsThe beauty of JavaScript is that it s quite lenient in what you can do compared to other languages function ages console log I have no args ages I have no argsNo errors What happens here is that JavaScript will ignore all these arguments if they re not being used Simple Even if you specified the arguments and didn t provide any parameters JavaScript will still not error out function ages person person person console log person person person ages undefined undefinedJavaScript assigns missing parameters to undefined similar to when you declare let x It also dismisses any parameters provided if there s no explicit use for them As you can tell this is not so beautiful The downside here is that you can accidentally pass the wrong number of arguments or none at all and you might not realise that you have a bug One way to assign a value to an argument even when it s not passed is to use optional arguments function ages person person console log person person ages Again this is not the ultimate solution as it will only assign the parameters in order So if you don t pass anything in the second argument person will always default to That s why it s common to see code like this albeit this is very contrived function fetchPosts url method GET const data fetch url method Functions and Side EffectsAs we ve seen functions can be split into two types Functions that execute other functions or side effects and functions that have return values At times you will have functions that do both Each have their own use cases and their own advantages Functions with return values will almost always be called more often since we rely on the values returned to execute more code There are pure functions that have the pleasure of always being reliable The purity comes from relying on global variables whose values might changealways returning producing the same valuecan easily be replaced with a simple value const return gt let total return total They are easily testable making unit tests a breeze to write They usually are quick to understand as you don t need to scour other parts of the codebase to see what s being called In essence they re great Yet that ease comes with a bit of difficulty Whilst you can write primarily pure functions you ll realise quickly that some side effects are needed So unless you re a total purist who despises side effects I d say it s fine to have a mixture of both Like the author says There d be no way to write a pure version of console log for example and console log is good to have SummarySo functions A brilliant addition to our JavaScript tool belt that allows us to manage multiple kinds of scope separating code logic not repeating ourselves and understanding side effects The chapter gave us a lot of information and I think it s an important fundamental to really grasp The author also brings up concepts like the Call Stack and Recursion I decided not to include that in this chapter as I felt it deserved a separate snack esque post You can read more about it on my website although the blog post is still growing Thanks for reading The next chapter will be about some rather essential data structures Objects and Arrays If you d like to attempt the exercises for the chapter you can find them at the bottom of the chapter Let me know how you get on I definitely recommend going through them to help solidify your knowledge 2021-08-10 16:31:10
海外TECH DEV Community Mobile Payments with Expo & Stripe https://dev.to/stripe/mobile-payments-with-expo-stripe-1gc2 Mobile Payments with Expo amp StripeReact Native is an important framework for indie hackers startups and established businesses to build and ship native mobile experiences quickly to a large user base At Stripe we have maintained both iOS and Android SDKs and are now enabling new experiences for developers building on React Native To best support React Native developers we re thrilled to work with Expo dev the popular framework and platform for building universal React Native applications With Expo s tools and stripe react native it s never been easier to build secure and delightful mobile experiences Improving the developer experienceIn building the stripe react native library with Expo Go support our goal is to enable developers to create intuitive applications using tools that just work out of the box In addition developers also want the ability to add customization as needed Getting startedTo get up and running with Expo and Stripe follow the docs reference Existing developers using expo stripe payments should follow this migration guide to get up and running with stripe stripe react native Read on GitHub What s next Expo is working to make all React Native development as fast and friendly as it is to work in the classic managed workflow with Expo Go while at the same time allowing you to use any custom native code you d like Here are some of the new features we re planning to implement for Stripe React Native Standalone Google Pay supportWeChatPay app to app redirect support which is the most convenient checkout experience for over million customers in ChinaInvestigating the demand for a separate React Native SDK to enable Stripe Terminal in person payment experiences If you re interested in this please comment or leave a thumbs up here Thanks to the Expo team for working with us and to the React Native developer community for the many PR contributions and invaluable feedback We d love for you to test out the new SDK and submit feedback and issues on GitHub and if you want to learn more about the inner workings of the SDK tune in for our talk at and watch our developer videos on YouTube If you d like to try out the new Stripe React Native module check out the Expo docs pageStripe s GitHub repothis excellent YouTube video that walks through integrating Stripe in your Expo app by Varun Nath 2021-08-10 16:04:44
海外TECH DEV Community VS Code - How many extensions is too much? https://dev.to/robole/vs-code-the-perfect-number-of-extensions-is-25ic VS Code How many extensions is too much VS Code is a relatively lightweight editor with a core set of features It is up to the user to extend the editor to their particular needs through extensions In fact many core features are written as extensions You can see the builtin extensions by searching with builtin in the extensions sidebar People have contrasting attitudes to extensions Some people have a long list of extensions they use and rhapsodize about must use extensions Other people refrain from using many extensions because they want to avoid bloat Other people might be somewhere between these attitudes Other people will tell you to use Vim The thing is you don t need to belong to a particular camp If you understand a bit more about VS Code you can be more pragmatic and do what suits you Central to this is the recognition that at one time only a portion of your extensions are loaded As you see above extensions such as CSS Language Features and Emmet are builtin to VS Code would you expect them to be loaded always I wouldn t and they aren t We will explain more on this in the next section Also you should recognise what your perceived performance of VS Code is It is based on the initial time it takes to load the editor and become active and how long it takes you to do certain actions This is affected by what extensions are loaded for your typical project when they are loaded and if they are well behaved well written I will show you how you can see what extensions are loaded and how extensions affects performance generally VS Code has added some visual cues to the UI to make this easier recently When are extensions loaded Extensions are conditionally loaded based on their Activation Events Some of the common activation events are Startup event An extension is loaded when VS Code starts up These extensions will always be active This impacts the startup time of VS Code so these should be reserved for critical extensions You don t want a tonne of these or the startup time will begin to suck onStartupFinished event An extension is loaded sometime after VS Code starts up This is like the activation event but it will not slow down VS Code s startup onLanguage event The extension will be loaded whenever a file of a certain language is opened An extension can be loaded based on a collection of activation events When the activation events are no longer met for an extension the extension is unloaded To find out the activations events for an extension you can look at the extension details in the extensions sidebar They are shown on the Feature Contributions tab It may be right at the bottom as per screenshot below Generally you will find that Critical and frequently used extensions are loaded on startup e g Git Language specific extensions use the onLanguage event e g HTML Language Features Emmet If you have a HTML file open then HTML Language Features and Emmet are loaded And more niche less frequently used extensions tend to use the onCommand event more often e g Gulp support for VS Code You hope that the author of extension doesn t take liberties and always load their extension How do I check which extensions are loaded You can see a full list by running the command Developer Show Running Extensions to get the basic stats about the running extensions You can also quickly see which extensions have been loaded in the extensions sidebar If an extension was loaded you will see a loading time next to its name see yellow highlight You can see in the screenshot below that the extensions ESLint and Format Code Action have been loaded for my project By clicking on the extension you also see this info in the Runtime Status tab also see second yellow highlight How do I review performance I think the best way to see where you are is to load VS Code without any extensions from the command line with code my project disable extensions and then compare to open it with all your extensions code my project Open some files in your workspace to ensure you get a realistic impression Is there a big difference If there is review your extensions You can see the currently running extensions by running the command Developer Show Running Extensions I wrote a more detailed article for FreeCodeCamp on this topic VS Code Performance How to Optimize Visual Studio Code and Choose the Best Extensions you can give it a read if you want to know more My own investigation led me to remove a couple of extensions that had an activation event of and that were not critical for me I removed a couple of extensions with poor performance e g Live Server Also keep in mind that extensions that are bundled can be much more performant so favour extensions that are bundled Suggest it to the maintainers of the extension if they are not doing this I took an the extra step of writing a few of my own extensions I found Markdown All in One was quite slow It loads in ms and it has a lot of features that I don t use So I wrote smaller extensions to meet my needs more specifically Marky Edit and Marky Dynamic They both load in approximately ms ConclusionYou shouldn t be overly concerned with the number of extensions you have installed This is the wrong way to think about it The important thing is to recognize the impact an extension can have on initial startup time of VS Code and how an extension behaves on a typical project for you When you install an extension do a quick review of the activation events of the extension and see how it performs generally You won t go too far wrong if you do this habitually Image AttributionCover image source Goldilocks And The Three Bears 2021-08-10 16:04:35
Apple AppleInsider - Frontpage News Apple privacy head explains privacy protections of CSAM detection system https://appleinsider.com/articles/21/08/10/apple-privacy-head-explains-privacy-protections-of-csam-detection-system?utm_medium=rss Apple privacy head explains privacy protections of CSAM detection systemApple s privacy chief Erik Neuenschwander has detailed some of the projections built into the company s CSAM scanning system that prevent it from being used for other purposes including clarifying that the system performs no hashing if iCloud Photos is off Credit WikiMedia CommonsThe company s CSAM detection system which was announced with other new child safety tools has caused controversy In response Apple has offered numerous details about how it can scan for CSAM without endangering user privacy Read more 2021-08-10 16:37:27
海外TECH Engadget Nintendo's next indie game showcase takes place on August 11th https://www.engadget.com/nintendo-indie-world-showcase-stream-date-163432079.html?src=rss Nintendo x s next indie game showcase takes place on August thNintendo is gearing up for its next indie centric event The company has announced an Indie World Showcase for August th starting at noon ET The stream will run for around minutes and focus on second and third party games While it s unlikely Nintendo will surprise everyone with any details about the The Legend of Zelda Breath of the Wild sequel or the next Super Smash Bros Ultimate fighter it ll probably be worth tuning in nbsp During a previous showcase in April Nintendo announced the arrival of indie classic Fez nbsp on Switch showed off the House of the Dead remake and confirmed a sequel to Oxenfree is on the way You can watch Nintendo s latest Indie World Showcase below 2021-08-10 16:34:32
海外TECH CodeProject Latest Articles Building a Teams Power App Using the SAP Connector Part 2: Reading and Displaying SAP Data in a Power App https://www.codeproject.com/Articles/5310032/Building-a-Teams-Power-App-Using-the-SAP-Connector teams 2021-08-10 16:34:00
海外TECH WIRED A 5G Shortcut Leaves Phones Exposed to Stingray Surveillance https://www.wired.com/story/5g-network-stingray-surveillance-non-standalone exposed 2021-08-10 16:46:29
金融 金融庁ホームページ 火災保険水災料率に関する有識者懇談会(第1回)議事要旨及び資料について公表しました。 https://www.fsa.go.jp/singi/suisai/gijiyousi/20210625.html 有識者懇談会 2021-08-10 17:00:00
ニュース BBC News - Home New York Governor Andrew Cuomo resigns in wake of harassment report https://www.bbc.co.uk/news/world-us-canada-58164719 multiple 2021-08-10 16:41:37
ニュース BBC News - Home Covid-19: Three-quarters of UK adults fully jabbed and relief at record A-level results https://www.bbc.co.uk/news/uk-58163303 coronavirus 2021-08-10 16:41:44
ニュース BBC News - Home Max Woosey: Camping challenge boy set for 500th night https://www.bbc.co.uk/news/uk-england-devon-58147506 milestone 2021-08-10 16:36:29
ニュース BBC News - Home Covid-19 in the UK: How many coronavirus cases are there in my area? https://www.bbc.co.uk/news/uk-51768274 cases 2021-08-10 16:28:27

コメント

このブログの人気の投稿

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