投稿時間:2021-06-10 00:36:26 RSSフィード2021-06-10 00:00 分まとめ(38件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
python Pythonタグが付けられた新着投稿 - Qiita M1 MacでもnumpyにOpenBLASをlinkして行列積を300倍高速化する https://qiita.com/atksh/items/3022de521f55ae654793 MMacでもnumpyにOpenBLASをlinkして行列積を倍高速化する※この記事は線形演算的に快適なMnativePython環境が欲しい方が対象です。 2021-06-09 23:01:12
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) ファイル分割(構造体・関数)の分け方 https://teratail.com/questions/343185?rss=all ファイル分割構造体・関数の分け方初歩的な質問になってしまうのですが、ファイル分割の際に構造体と関数をヘッダファイルとソースファイルをどのように分割すればいいのか分かりません。 2021-06-09 23:55:36
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) 文字列連結 CSVファイルに書き込む c言語 https://teratail.com/questions/343184?rss=all 文字列連結CSVファイルに書き込むc言語①実行ファイルにコマンドライン引数をつけて実行する。 2021-06-09 23:52:14
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) railsから送られてきたjsonデータが正常に表示されない https://teratail.com/questions/343183?rss=all railsから送られてきたjsonデータが正常に表示されないフロントのreact側でgetリクエストし、railsでdataを生成して、json形式に変換し、フロント側に返す処理をしているのですが、データをうまくjson形式でフロント側に渡せません。 2021-06-09 23:48:17
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) 【Swift】画面遷移時の値・受け渡し方 https://teratail.com/questions/343182?rss=all 2021-06-09 23:38:30
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) Swift Outlet接続した部品を別のクラスから操作したい。 https://teratail.com/questions/343181?rss=all SwiftOutlet接続した部品を別のクラスから操作したい。 2021-06-09 23:33:57
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) arduinoのプログラムについて https://teratail.com/questions/343180?rss=all arduino 2021-06-09 23:33:08
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) xserverでのbrewのエラー curlをアップデートしたが反映されず https://teratail.com/questions/343179?rss=all xserverでのbrewのエラーcurlをアップデートしたが反映されずxserver上でbrewをインストールしました。 2021-06-09 23:15:27
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) docker-composeにおけるvolumeの扱い https://teratail.com/questions/343178?rss=all dockercomposeにおけるvolumeの扱いdockercomposeにて、例えば、volumesホストのファイルパスコンテナ内のファイルパスといったオプションを書いたとします。 2021-06-09 23:15:07
Ruby Rubyタグが付けられた新着投稿 - Qiita Railsでログイン画面っぽいやつを作る https://qiita.com/HybridKotaro/items/a58ff9f6641cb3f86c4f TOP画面の追加続いてログインが成功したときの画面を設定します。 2021-06-09 23:08:58
AWS AWSタグが付けられた新着投稿 - Qiita EC2にLEMP構成のWordpressサイトを作成してみた https://qiita.com/Takao_/items/6425bcae86787a4a60e7 ECにLEMP構成のWordpressサイトを作成してみたはじめに前回作成記事をもとにLEMP構成のWordpressサイトを作成します。 2021-06-09 23:58:31
AWS AWSタグが付けられた新着投稿 - Qiita KCLについてまとめる② https://qiita.com/masawai/items/4e2e53e3d7490de6f542 リーステーブル・KCLは一意のリーステーブルAmazonDynamoDBに自動的に作成されるを使用して、KCLアプリケーションのワーカーによってリースおよび処理されるKDSデータストリームのシャードを管理する。 2021-06-09 23:05:56
Azure Azureタグが付けられた新着投稿 - Qiita Azure 環境内で ARM Template を共有する (Template Specs) https://qiita.com/08thse/items/5fc3c92d43f2487a8571 ARMTemplateSpecs概要AzureResourceManagerテンプレートスペックAzureResourceManagerMicrosoftDocsテンプレートスペックは、後でデプロイするためにAzureにAzureResourceManagerテンプレートARMテンプレートを格納するためのリソースの種類です。 2021-06-09 23:45:43
Ruby Railsタグが付けられた新着投稿 - Qiita Railsでログイン画面っぽいやつを作る https://qiita.com/HybridKotaro/items/a58ff9f6641cb3f86c4f TOP画面の追加続いてログインが成功したときの画面を設定します。 2021-06-09 23:08:58
海外TECH DEV Community Amazing Course Card Using HTML & CSS https://dev.to/nikhil27b/amazing-course-card-using-html-css-28g2 Amazing Course CardUsing HTML amp CSSHello Guys How are you today I created a Amazing Course Card with HTML amp JS This is simple course card that for beginners level I use Font awesome for icons and Poppins as a font If you find this useful in a post like and save this post also comments about your thoughts For more content follow me on Instagram developer nikhil Thank you 2021-06-09 14:48:17
海外TECH DEV Community React & Tailwind - Open-source Starters and UI Kits https://dev.to/sm0ke/react-tailwind-open-source-starters-and-ui-kits-8db React amp Tailwind Open source Starters and UI KitsHello coders This article presents a curated list with open source React projects styled with Tailwind a popular and trendy CSS Framework All products mentioned in this article can be downloaded from Github without a registration lock and used without limitations in commercial products For newcomers React is a JS library created and actively supported by Facebook Thanks for reading Content provided by Admin Dashboards Material Tailwind React LIVE DemoWindmill React Tailwind Product pageNotus React Tailwind Product PageMaterial Tailwind Kit React product pageMore open source React Dashboards Dev to Material Tailwind ReactMaterial Tailwind Dashboard React is a free Admin Template based on two popular front end technologies Tailwind CSS amp React It was built to simplify the developer s work and is comes with a fresh design inspired by Google s Material Design All its components are built to fit perfectly with each other while aligning to the material concepts Material Tailwind React product pageMaterial Tailwind React LIVE Demo Windmill React DashboardWindmill Dashboard comes with a blazing fast UI styled with Tailwind PWA support and integrations for Charts js and Heroicons Accessibility first the product was developed listening to real screen readers focus traps and keyboard navigation are available everywhere Throughly accessible developed using screen readers Dark theme enabled load even different images based on theme Multiple custom componentsCode splittingUI Tailwind CSS Windmill React UI components library PWA ready delivering offline first and app like experience Notus React TailwindNotus React is built with over frontend individual components giving you the freedom to choose and combine All components can take variations in colors that you can easily modify using Tailwind CSS classes If you like bright and fresh colors you will love this Free Tailwind CSS Template It features a huge number of components that can help you create amazing websites Notus React Tailwind product pageNotus React Tailwind LIVE demo Material Tailwind Kit ReactMaterial Tailwind Kit React is a free and open source UI Kit based on two popular front end technologies Tailwind CSS amp React It was built to simplify the developer s work in the quest of creating intuitive interfaces Material Tailwind Kit React features over individual components giving you the freedom of choosing and combining This means that there are thousands of possible combinations All components can also take variations in color which you can easily modify using react js props Material Tailwind Kit React Product pageMaterial Tailwind Kit React LIVE DemoThanks for Reading For more resources please access React Dashboard Tutorial a comprehensive introductionFree Next JS Templates a curated list Dev to 2021-06-09 14:41:01
海外TECH DEV Community CSS nth- Selectors Variable https://dev.to/daviddalbusco/css-nth-selectors-variable-86f CSS nth Selectors VariablePhoto by Mario Gogh on UnsplashUsing CSS variables at least when I m writing these lines in June is not supported in media queries or selector e g nth child var my variable does not work This is a bit unfortunate but not unsolvable In some recent development I bypassed this limitation by injecting style elements in the DOM into my Web Components in order to animate block of codes in DeckDeckGo IntroductionStricto sensu the following trick is not reserve to Web Components and probably works with any elements too I just only used it so far with such technology I will first display the idea with the help a vanilla component and end the article with the same approach but implemented with a StencilJS functional component Goal Of The TutorialWe are going to develop a Web Component which renders a lt ul gt list and which can animate the display of its entries No semantic elements are going to be added or removed from the DOM once the component is load The animation will happen by modifying the style more precisely by applying a different style on the selected li nth child n Vanilla JSTo display the idea without anything else than the web we create an index html page It consumes the Vanilla component we are about to develop We also add a button to triggers the animation lt html gt lt head gt lt script type module src my component js gt lt script gt lt head gt lt body gt lt my component gt lt my component gt lt button gt Next lt button gt lt script gt document querySelector button addEventListener click gt document querySelector my component next lt script gt lt body gt lt html gt In a separate file called my component js we create the Web Component At this point without any animation We declare it open to be able to access the shadow DOM through shadowRoot we create a style to hide all li and define the transition Finally we add the ul list and its children li class MyComponent extends HTMLElement constructor super this attachShadow mode open const style this initStyle const ul this initElement this shadowRoot appendChild style this shadowRoot appendChild ul connectedCallback this className hydrated next TODO in next chapter initStyle const style document createElement style style innerHTML host display block li opacity transition opacity s ease out return style initElement const ul document createElement ul const li document createElement li li innerHTML Spine const li document createElement li li innerHTML Cowboy const li document createElement li li innerHTML Shelving ul append li li li return ul customElements define my component MyComponent At this point if we open our example in a browser npx serve we should find a component with a hidden content and a button which has no effect yet Not much to see but that s a start To develop the animation we have to keep track of the displayed li that s why we add a state index to the component class MyComponent extends HTMLElement index constructor Thanks to it we can implement the next method the one called from the button we added earlier in the HTML page Not my most beautiful code ever Let s agree it has only a demo purpose next this index this index this index const selector li nth child this index opacity let style this shadowRoot querySelector style animation if style style innerHTML selector return style document createElement style style setAttribute id animation style innerHTML selector this shadowRoot appendChild style What s happening there It first set the next index li to be displayed and create a CSS selector to apply the opacity styling In short this replaces the CSS variable we cannot use Afterwards we check if the shadowed content of our Web Component already contains a dedicated style to apply the animation If it does we update the style with the new value ーselector and if not we create a new style tag Each time this method is call a new style is applied and therefore another li nth child n is displayed If we open again our browser to give it a try items should be animated among click on our button next and if we go further and observe the component in the inspector we should notice that the shadowed style element change on each method call StencilJSLet s double the fun with the same example but using a StencilJS functional component You can start a new project with the command line npm init stencilBecause we are developing the exact same component we can copy the previous HTML content declaring the component and adding a button in the src index html of the project with an only slight small difference the method next has to be declared and called with async ーawait This is a requirement ーbest practice of Stencil public method of components have to be async lt DOCTYPE html gt lt html dir ltr lang en gt lt head gt lt meta charset utf gt lt meta name viewport content width device width initial scale minimum scale maximum scale gt lt title gt Stencil Component Starter lt title gt lt script type module src build demo stencil esm js gt lt script gt lt script nomodule src build demo stencil js gt lt script gt lt head gt lt body gt lt Same code as in previous chapter gt lt my component gt lt my component gt lt button gt Next lt button gt lt script gt document querySelector button addEventListener click async gt await document querySelector my component next lt script gt lt Same code as in previous chapter gt lt body gt lt html gt We can also repeat previous steps and create first a component which does nothing else than rendering a ul list and hidden items li import Component h from stencil core Component tag my component styles host display block li opacity transition opacity s ease out shadow true export class MyComponent render return lt ul gt lt li gt Spine lt li gt lt li gt Cowboy lt li gt lt li gt Shelving lt li gt lt ul gt By testing the component npm run start we should get the same result too To keep track of the li to highlight we need a state and the function state We add both to our component State private index number Method async next this index this index this index In comparison to the Vanilla component because we are using a bundler which simplify the development we do not have to take care of re rendering by our selves Each modification of the state will trigger a re render which ultimately update the nodes which have to be updated and only those who have to be updated Still we do have to implement the CSS selector variable For such purpose as briefly mentioned we are going to use a functional component It might work with a class component but I feel like a functional one is well suited for the job const Animate FunctionalComponent lt index number gt index gt return lt style gt li nth child index opacity lt style gt This component renders a style element for the value we path as parameter our state Finally we have to use the functional component and bind it to our state value Doing so it will be re rendered each time its value changes render return lt Host gt lt Animate index this index gt lt Animate gt lt ul gt lt li gt Spine lt li gt lt li gt Cowboy lt li gt lt li gt Shelving lt li gt lt ul gt lt Host gt That s already it we were able to replicate the same component The above component in a single block of code import Component FunctionalComponent h Host Method State from stencil core const Animate FunctionalComponent lt index number gt index gt return lt style gt li nth child index opacity lt style gt Component tag my component styles host display block li opacity transition opacity s ease out shadow true export class MyComponent State private index number Method async next this index this index this index render return lt Host gt lt Animate index this index gt lt Animate gt lt ul gt lt li gt Spine lt li gt lt li gt Cowboy lt li gt lt li gt Shelving lt li gt lt ul gt lt Host gt SummaryI am honestly not sure that this article will ever find its audience nor do I think it may be useful to someone some day but well I love to use that trick In addition it was fun to develop for demo purpose the same piece of code with Vanilla JS or Stencil To infinity and beyond DavidYou can reach me on Twitter or my website Give a try to DeckDeckGo for your next presentations 2021-06-09 14:33:28
海外TECH DEV Community Buckle Up For a Wild Decade in Cloud Computing https://dev.to/ben/buckle-up-for-a-wild-decade-in-cloud-computing-1cff Buckle Up For a Wild Decade in Cloud ComputingI m sure you were affected by the Fastly outage yesterday The company responded quickly and it wasn t the end of the worldーBut it was wild If you ve been following closely though this was by far not the biggest story Fastly got tied into in the past yearーEven if they were not really part of the new story by name the last time around In the last fifteen months Fastly s stock has a low of about and a high of about as of writing this it s sitting at around up in the past month to boot What causes a company whose core offering is a configuration layer which allows for slightly more efficient distribution of commodity bytes across the web to have such a chaotic financial journey as a publicly traded company There are a lot of reasonsーA pandemic which made efficient distribution of commodity bytes turn into the way we kept in touch with our loved ones They are also a fairly young company which has typically not operated profitably so there is a lot of speculation on their growth potential as opposed to classical evaluation of their track record Those are all contributing factors but Fastly s real hurricane came in the form of Donald Trump TikTok and the Chinese government YesーFastly is the kind of cloud infrastructure company which rises with the tides of its customers and TikTok became a big deal in the past couple years Its rise in popularity also raised questions about data privacy and hostile international relationships The TikTok fiasco seems like a million years ago For the average consumer it played out as a bizarre question over whether the service would continue to exist Players like Facebook were conveniently aligned in the sentiment that the Chinese government is not to be trusted and Trump was trying to look like the tough guyーLikely without a greater agenda Following this story was exhausting and there is no public information about how things ultimately played out but Fastly the company with servers all over the world responsible for compressing and distributing TikTok s bytes landed in a fairly untenable position The company may have had to develop a much more sophisticated philosophy around video storage and distribution with regards to international bordersーOr perhaps the chaos of the theatrical bidding war over the whole thing just forced them to change vendors Fastlyーleaders in this nascent spaceーwere both unimportant and critically important to the whole story depending on your perspective The situation was as fascinating as it was chaotic The next version of this probably won t come in the Donald Trump variety but it will happen Questions around how data is stored and distributed and how that relates to national sovereignty and security are truly the kind that are unprecedented and unlikely to be addressed in a “greater good capacity Censorship spying hacking AIーAll the stuff that is juicy enough to make the top headline in the news have huge implications in the ever more geopolitical cloud computing landscape It now matters where servers are where the computing happens and who can access themーOr it doesn t Lobbyists for Google Amazon and Microsoft will certainly work hard to position the debate in whichever way will best support their cloud product suite Facebook and Apple will argue for their best narrative around conscientious stewardship over our privacy and livelihoods Most people won t follow these stories in any capacity Some will keep up with Scott Galloway and Kara Swisher s pseudo informed takes And some will keep a close eye on how things unfold because part of their job involves pretending to know how GDPR works Constructing a mental model for the interplay of government digital security and cloud infrastructure is challenging and exhausting on some level we just have to be along for the wild ride I centered some themes of this post in Fastly s stock price which is a good measure for chaos but somewhat unimportant in all of this But from that financial perspective they are an interesting study Fastly is on the bleeding edge and big enough to basically take down the whole Internet when a customer enters incorrect input fun fact I personally caused a similar but much smaller outage on Heroku one timeーbut that is another story but small enough that they can t lobby or have a say in the Trump TikTok madness All in all I think they are in a great position to keep innovating in edge computing and benefit from this chaos in the end I m not a professional investor but I m long Fastly for what it s worth 2021-06-09 14:22:19
海外TECH DEV Community Should You Really be Coding in Dark Mode? https://dev.to/codesphere/should-you-really-be-coding-in-dark-mode-4ng8 Should You Really be Coding in Dark Mode There are few debates as contentious in the development and UX world as color schemes Among developers however there seems to be a pretty significant skew towards coding in a light on dark mode This poll found that ⅔of surveyed developers prefer to use a dark mode in their code editor Dark mode advocates cite a number of benefits including reduced eye strain better sleep and reduced power consumption While many of the arguments for dark mode undoubtedly have merit there is far from a scientific consensus on many of its benefits A Little Bit of HistoryWhile we might think of dark mode as a relatively new trend it was actually the original color scheme that was used for computers Most early computers used light text on dark background in order to save power As computers became more consumer friendly however developers began to use black text on white backgrounds to imitate the black ink on white paper that most people were used to More recently countless devices websites and apps have added support for dark mode for both optical and aesthetic reasons Software developers who spend most of their work time staring at computer screens have been some of the most fervent advocates for dark mode Eye Strain and ReadabilityThe first argument for dark mode that s worth taking a look at the claim that dark mode is better for your eyes While there is no doubt that using light mode in a dark room can be blinding there also seems to be evidence that our brains are just better at reading and comprehending black text on a white screen For example A study by Psychologist Dr Cosima Piepenbrock looked at how adults with normal vision performed at visual acuity and proofreading text across dark and light color schemes The study found that Pupil sizes were smaller and proofreading performance was better with positive Dark on Light than with negative Light on Dark polarity displays In other words for substantial digital tasks where you are attentively reading text Such as coding having dark text on a light background i e light mode can help you focus and comprehend better What this means in practice is that your eyes and brain may have to work harder to read and write code if your IDE is in dark mode Blue Light and SleepAnother commonly cited claim is that using your IDE in dark mode reduces blue light consumption and therefore can help you sleep While dark mode definitely does reduce blue light blue light may not be the primary culprit that actually messes up your sleep schedule A study by the University of Manchester found that blocking blue light only slightly improved people s sleep patterns Instead the real culprit is the use of warmer colors Like reds and yellows at night which trick our brain into thinking it s daytime If you want to get better sleep dark mode may in fact help but the real solution is to not use screens altogether before going to bed Power ConsumptionAnother argument for using dark mode in your IDE is that it can save you money on your power bill If you are using an OLED display which most modern monitors do then this is definitely true It is probably important to note however that if you are developing software that is computationally heavy like rendering D graphics or training and using machine learning models the reduced power consumption from dark mode probably won t make any sort of noticeable dent in your power bill AccessibilityRegardless of what you personally prefer while you code you should always add support for both dark and light modes in the software that you build Many people who have certain color blindness or eye conditions can find one of these themes extremely hard or even impossible to use Giving your users flexibility is therefore very important ConclusionIn summation the jury is still out on whether dark mode is actually better for coding While it might save you a tiny amount of power and if you are using it at night marginally help your sleep schedule these benefits don t seem to be that substantial In addition reading dark text on a light background may help you read and write code more efficiently Your theme therefore should come down to what is best for you because there is not a scientific consensus that one color scheme is going to be better than the other If you think dark mode looks sleeker and you are doing a lot of coding at night or in the dark then go ahead and use dark mode If you prefer the readability of dark text on a light background then go ahead and use light mode So what do you prefer and why Personally I think dark mode is more aesthetically pleasing but I definitely notice how it can be harder to read Let us know in the comments what you think 2021-06-09 14:16:51
海外TECH DEV Community Python Best Practices https://dev.to/aws-builders/python-best-practices-3mep Python Best PracticesWhat are the goals here Define a set of advice for working with Python in the context of AWS In what context is this guide written Best practices with Python…As a scripting tool ー Boto calls to AWS APIs As a language for Lambda in “Serverless consumable ー Lambda function code with rd party dependencies As a language for Lambda in infra pipeline ー Housekeeping CFN Custom Resources Compilers Runners Deployment Required ReadingDocumentationPython space AWS Space Best Practices for Python VersionsPython has been Sunsetted ー the sunset date has now passed it was January st Be mindful of external dependencies between Python and Conclusion Use Python unless you can t Best Practices for Toolinga SublimeTextyamllintcfn lint ー See “Magic Tables  ー so good b VSCodeBest Practices for CLI i e Bash Use the “if main statementPut your script s logic into a “main method Then use the “if main convention to call that method if invoked via the CLI i e python myscript py if name main main get args Best Practices for AWS APIsa Use BotoHas its own retry logic IIRCConfigurableb Cater for failure scenariosConfiguring Botofrom botocore config import Config sts client boto client sts config Config connect timeout read timeout retries dict max attempts Best Practices for AWS LambdaYou can write python code that can work either as CLI or via AWS invocationa Can put a “cli py alongside main py and invoke that wayThat simulates an AWS Step Function which usually invokes the Lambda b Can put an “if main statement for running via CLIBe mindful of limitsa Account level ENIs per Account soft limit talk to your AWS TAM concurrent executionsb Use provisioned concurrency to avoid cold start workaroundsNeeds HyperplaneBest Practices for ServerlessPackaging codeCreate a self contained zip for each lambda AFTER installing pip modulesCode SKey Fn Pipeline FileSKey Path consumer zipBe mindful of AWS Lambda limitations on max sizes Using common pip modulesA way to share modules between lambdas in the SAME repoCan reference rd party modulesCan reference common pip modulesExample dnspythongit master egg common pip logAnd the usage in your main py code Set the first import path to be the lib subfolder of the lambdafrom os path import dirname abspathfrom os import environimport syssys path insert lib format dirname abspath file import loglog info env dict os environ os environ is not serializable by itself cast to dictionary Best Practices for Code and DesignThe Zen of Python“Write with future developers in mind  ー they have to clean up your messes Note that “future developer might very well be you months later after you ve forgotten everything you did Here s Python s TODO ー Go through each one and give reference examples C Users ak gt pythonPython tags v bb Dec MSC v bit AMD on winType help copyright credits or license for more information gt gt gt import thisThe Zen of Python by Tim PetersBeautiful is better than ugly Explicit is better than implicit Simple is better than complex Complex is better than complicated Flat is better than nested Sparse is better than dense Readability counts Special cases aren t special enough to break the rules Although practicality beats purity Errors should never pass silently Unless explicitly silenced In the face of ambiguity refuse the temptation to guess There should be one and preferably only one obvious way to do it Although that way may not be obvious at first unless you re Dutch Now is better than never Although never is often better than right now If the implementation is hard to explain it s a bad idea If the implementation is easy to explain it may be a good idea Namespaces are one honking great idea let s do more of those gt gt gt Write your code as modulesBe mindful what gets executed when your python file is importedThis has a direct impact with Sphinx which imports your code to generate documentation of itThis allows you to share code perhaps even creating a “common module that other programs can import Be careful ー that makes you the de facto maintainer of that module It needs examplesIt needs unit testsIt needs a CICD processIt needs a todo list of enhancements I use README md to start with Reduce the scope of your module interfaceUse “non public aka “private naming convention for internal attributes and methods NOT intended for use outside the moduleThis should be your default position then you slowly refactor stuff to public as needed over time method names and instance variables Use a single leading underscore for “non public method namesE g get file contentsDealing with strings as booleansYou might be passed a string property that is supposed to be a boolean The value might be boolean ish ー true True TRUE Yes On etc Use something like this def s to bool input Implicit default of false return input lower in true yes on When writing comments focus on the “why rather than the “what Nothing more frustrating when code doesn t explain why something has been done ー you need context Example see “ScanIndexForward below response iterator dynamodb paginator paginate TableName core automation master api db items IndexName parent created at index ExpressionAttributeNames expression attribute names ExpressionAttributeValues expression attribute values KeyConditionExpression parent prn v ProjectionExpression p n s c u ScanIndexForward False Process newer builds first descending order important for logic If that comment didn t make it clear to future developers that there s a reason for ScanIndexForward False a bug may be created in future Consider the strategy pattern for running code in different contextsI e maybe you use a strategy with your log module so that you don t output logs locally in JSON but in Cloud you do for CloudWatchAnother example ー in AWS Lambda context you get credentials from AWS Secrets Manager or Parameter Store Locally you rely on environment variables instead Best Practices for Data Modelling and Access“Upsert is a good feature at the low levelFor Dynamodb ー for scripts I generally don t bother with ORM etc I just write Boto API callsFor example use with Marshmallow PynamoDB Python libraries to helpBest Practices for TestingUse pytest for unit testingGood feature set Auto discovery of testsFixturesPluginsCoverage reporting etcUse Selenium Bindings for Python in CodeBuildSee Best Practices for Dependency ManagementUse pipenv to explicitly manage and validate dependenciesHelps to keep your dependencies consistent via lockfile i e repeat builds of same code on different days Lockfile also has checksum feature to ensure the correct package is downloaded in future i e can detect future compromises Best Practices for securityUse the “safe methods for YAML JSON XML parsers Example client sys argv with open config hosted zones yaml format client as f client vars yaml safe load f read Best Practices for User Documentationa Use SphinxUse an editor plugin to help with formatting especially tablesb Focus on a few key areas Goals contextHigh level designUse casesWorking examples for people to pull apart and re use 2021-06-09 14:05:13
Apple AppleInsider - Frontpage News Deals: M1 MacBook Pro hits record low $1,089 ($210 off), plus $50 off AppleCare https://appleinsider.com/articles/21/06/04/deals-m1-macbook-pro-hits-record-low-1089-210-off-plus-50-off-applecare?utm_medium=rss Deals M MacBook Pro hits record low off plus off AppleCareIn what is a record breaking discount on Apple s latest MacBook Pro AppleInsider readers can exclusively save on the standard M model in addition to off AppleCare Save on this M MacBook ProThe deal is courtesy of Apple Authorized Reseller Adorama with coupon code APINSIDER when used with this pricing link Read more 2021-06-09 14:43:10
海外TECH Engadget Learn American Sign Language with 21 highly rated courses https://www.engadget.com/asl-courses-145545007.html?src=rss_b2c language 2021-06-09 14:55:45
海外TECH Engadget President Biden revokes Trump orders aimed at TikTok and WeChat https://www.engadget.com/president-biden-revokes-trump-tiktok-wechat-orders-144643108.html?src=rss_b2c President Biden revokes Trump orders aimed at TikTok and WeChatPresident Biden has revoked Trump executive orders meant to limit TikTok and WeChat but has issued his own orders reviewing security for these apps 2021-06-09 14:46:43
海外TECH Network World New NVMe spec brings new support for hard drives https://www.networkworld.com/article/3621373/new-nvme-spec-brings-new-support-for-hard-drives.html#tk.rss_all New NVMe spec brings new support for hard drives The new NVM Express has been released and with it a surprise The non volatile memory express protocolーbest known for handling SSD speedsーis now offering full blown support for traditional hard disk drives This is quite unexpected because SSDs are orders of magnitude faster than traditional HDDs Read also How to plan a software defined data center network The first flash based SSDs used SATA SAS physical interfaces borrowed from existing hard drive based enterprise server storage systems However none of these interfaces and protocols were designed for high speed storage media and the SATA SAS bus became a bottleneck for the much faster SSD To read this article in full please click here 2021-06-09 14:35:00
Cisco Cisco Blog Unclear on fiber optic breakouts? What you need to know https://blogs.cisco.com/sp/unclear-on-fiber-optic-breakouts-what-you-need-to-know breakouts 2021-06-09 14:54:50
Cisco Cisco Blog Are Performance Issues Impacting Your Customer Experiences? Here’s the Fix… https://blogs.cisco.com/networking/are-performance-issues-impacting-your-customer-experiences-heres-the-fix Are Performance Issues Impacting Your Customer Experiences Here s the Fix…When you use AppDynamics as a tool for SAP system performance optimization you get full stack observability that helps you reduce the risks of digital transformation increase business sustainability and resilience and grow your business with confidence 2021-06-09 14:00:59
海外科学 NYT > Science We’ll Probably Need Booster Shots for Covid-19. But When? And Which Ones? https://www.nytimes.com/2021/06/06/science/covid-vaccine-boosters.html We ll Probably Need Booster Shots for Covid But When And Which Ones Scientists are asking a lot of questions about Covid booster shots but they don t yet have many answers Here s what they know so far 2021-06-09 14:11:24
金融 RSS FILE - 日本証券業協会 新型コロナウイルス感染症への証券関係機関等・各証券会社の対応について(リンク集) https://www.jsda.or.jp/shinchaku/coronavirus/link.html 新型コロナウイルス 2021-06-09 15:40:00
金融 RSS FILE - 日本証券業協会 株主コミュニティの統計情報・取扱状況 https://www.jsda.or.jp/shiryoshitsu/toukei/kabucommunity/index.html 株主コミュニティ 2021-06-09 15:30:00
ニュース BBC News - Home Brexit: EU says patience wearing thin with UK in NI border check dispute https://www.bbc.co.uk/news/uk-politics-57403258 ireland 2021-06-09 14:26:18
ニュース BBC News - Home G7 summit: Don't imperil NI peace, Biden to warn UK and EU https://www.bbc.co.uk/news/uk-politics-57411343 agreement 2021-06-09 14:20:41
ニュース BBC News - Home Wembley park stabbing deaths: Sisters killed in 'sacrificial deal' https://www.bbc.co.uk/news/uk-england-london-57377414 bibaa 2021-06-09 14:44:12
ニュース BBC News - Home Ben Roberts, Derek Conway on The Bill, dies at 70 https://www.bbc.co.uk/news/entertainment-arts-57417179 drama 2021-06-09 14:19:00
北海道 北海道新聞 毒物カレー事件で再審請求 「第三者の犯行」と主張 https://www.hokkaido-np.co.jp/article/553775/ 和歌山市 2021-06-09 23:17:00
北海道 北海道新聞 党首討論 責任逃れ浮き彫り/討論の意義示せず 識者の見方 https://www.hokkaido-np.co.jp/article/553763/ 上西充子 2021-06-09 23:09:00
北海道 北海道新聞 クラスター対策にQR活用 飲食店利用者が読み取り https://www.hokkaido-np.co.jp/article/553762/ 新型コロナウイルス 2021-06-09 23:07:00
北海道 北海道新聞 韓国、ビル倒壊で9人死亡 通りがかりのバス下敷き https://www.hokkaido-np.co.jp/article/553761/ 通りがかり 2021-06-09 23:07:00
仮想通貨 BITPRESS(ビットプレス) [時事] ビットコインを法定通貨に 世界初、議会が可決―エルサルバドル https://bitpress.jp/count2/3_9_12560 法定通貨 2021-06-09 23:16:01

コメント

このブログの人気の投稿

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