投稿時間:2022-07-22 07:20:12 RSSフィード2022-07-22 07:00 分まとめ(22件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] 「父の仇討ち」――魚に紫外線あてアニサキス検出 大手スーパーも導入する板金加工メーカーの技術とは? https://www.itmedia.co.jp/business/articles/2207/22/news047.html itmedia 2022-07-22 06:30:00
IT ITmedia 総合記事一覧 [ITmedia News] バイデン大統領がコロナ陽性、「私は大丈夫」と動画をツイート https://www.itmedia.co.jp/news/articles/2207/22/news088.html itmedia 2022-07-22 06:10:00
AWS AWS Media Blog Broadcast from a browser with the Amazon IVS Web Broadcast SDK https://aws.amazon.com/blogs/media/broadcast-from-a-browser-with-the-amazon-ivs-web-broadcast-sdk/ Broadcast from a browser with the Amazon IVS Web Broadcast SDKWith Amazon Interactive Video Service Amazon IVS you can now can start your contribution broadcast live stream directly from web browsers using the IVS web broadcast SDK Amazon IVS is a managed live streaming solution that is quick and easy to set up and ideal for creating interactive video experiences Send your live streams to … 2022-07-21 21:56:43
AWS AWS Optimizing cost with tiered storage in Amazon OpenSearch Service | Amazon Web Services https://www.youtube.com/watch?v=b9n2kvNRI6E Optimizing cost with tiered storage in Amazon OpenSearch Service Amazon Web ServicesLearn about the storage tiering options in Amazon OpenSearch Service including capabilities like UltraWarm These options help you optimize your costs Learn more 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 2022-07-21 21:31:12
AWS AWS - Webinar Channel Simplifying Amazon S3 Analytics with Amazon Kinesis Data Firehose - AWS Online Tech Talks https://www.youtube.com/watch?v=SEQ7NkPojlw Simplifying Amazon S Analytics with Amazon Kinesis Data Firehose AWS Online Tech TalksLearn how Amazon Kinesis Data Firehose enables you to reliably load your streaming data into data lakes data warehouses and analytics services built on AWS with AWS Partners and using open source tools This talk includes a demonstration showcasing how Kinesis Data Firehose easily captures transforms and delivers streaming data to a data lake built on Amazon S Learn to simplify Amazon S analytics workflows using Kinesis Data Firehose Apache Parquet and dynamic partitioning Learning Objectives Objective Learn how to ingest terabytes of data for real time processing from AWS and rd party data sources with the serverless offering of Amazon Kinesis Data Firehose Objective Learn how to analyze streaming data with no code serverless ETL to transform and parition data stored in S Objective Explore how to reduce costs of Amazon S analytics queries and to simplify Amazon S analytics workflows using Amazon Kinesis Data Firehose Apache Parquet and dynamic partitioning To learn more about the services featured in this talk please visit sc channel video 2022-07-21 21:00:28
python Pythonタグが付けられた新着投稿 - Qiita 戸建て住宅マーケティングAI 開発 (2) bulk sql for postgres + python3 https://qiita.com/end0tknr/items/37eb5fb8a5085b211743 updateupsertupdateorinser 2022-07-22 06:22:47
Ruby Rubyタグが付けられた新着投稿 - Qiita 100日後くらいに個人開発するぞ!day061 https://qiita.com/kamimuu/items/96d43b28d2bfca82076a 読み込み 2022-07-22 06:30:48
海外TECH DEV Community Updating Puppet modules for deferred functions https://dev.to/puppet/updating-puppet-modules-for-deferred-functions-5d6k Updating Puppet modules for deferred functionsPuppet brought the ability to defer functions to runtime on the agent and now we ve released improvements that make this easier to do Read on to find out more and to make sure your modules are ready to be deferred What are Puppet functions again First let s do a very brief recap Puppet functions are bits of code that are executed during catalog compilation They can do various things such as including other classes in the catalog or marking resources in a given scope as no op but the kinds of functions we are interested in today are those that return a value For example fqdnrand will deterministically generate a random number and shellquote will transform its input and return a string safe to execute by shells like Bash The values returned by these functions are compiled directly into the catalog and become as static as the rest of the document In other words if you inspect a catalog generated for a specific node you can see exactly what random number was used to specify the schedule for a cron job or you can see exactly how a shell command was quoted or escaped before being invoked And because they re immutable that catalog will always result in the same desired state being enforced But in some circumstances it would be more useful to defer that to the Puppet agent to execute as part of the catalog enforcement For example many infrastructures mandate that secrets be provided by something like a highly protected secrets server rather than funneling them through a configuration management server In cases like this we care less about the specific value being enforced than we do about what it represents We don t need the Puppet server to actually know the database account password a node is configured with We just need to instruct the agent to put the password whatever it resolves to in the appropriate configuration file In cases like this you can instead compile a reference to the function itself into the catalog and instruct the agent to invoke it at runtime like so class profile myappstack db adapter gt postgresql db address gt pgsql example com db password gt Deferred vault lookup lookup appstack dbpass Now instead of the catalog containing the password and the Puppet server having access to the password the agent itself will retrieve the password directly from Vault using its own registered credentials This allows the infrastructure admins to have much more fine grained control over the access to sensitive information and to quickly rotate or revoke them as needed Any function that returns a value can be deferred in this way and in many cases it s just this easy There are some challenges though some which have been simplified by recent Puppet updates We ll talk about those first Puppet language updatesIn Puppet s first implementation the catalog was effectively pre processed to resolve deferred functions into values This means that before the catalog was enforced the agent would scan through it and invoke each deferred function The value returned would be inserted into the catalog in place of the function Then the catalog would be enforced as usual The problem with this approach is that if the function depended on any tooling installed as part of the Puppet run then it would fail on the first run because it was invoked prior to installation If the function didn t gracefully handle missing tooling it could even prevent the catalog from being enforced at all As of Puppet functions can now be lazily evaluated with the new preprocess deferred setting This instructs the agent to resolve deferred functions during enforcement instead of before In other words if you use standard Puppet relationships to ensure that tooling is managed prior to classes or resources that use the deferred functions using that tooling then it will operate as expected and the function will execute properly Puppet also improves the way typed class parameters are checked The data type of a deferred function is Deferred and older versions of Puppet would actually use that type when checking class signatures For example if the profile myappstack class we referenced in the example above specified that the db password parameter should be a String then the example would have failed because the Deferred type would not match the expected String type As of Puppet this is no longer a problem Deferred functions are introspected and the return type they declare will be used for type matching If the function doesn t explicitly declare a return type Puppet will print a warning but the compilation will succeed No code changes are required to take advantage of this improvement but if you re writing classes that might be used with older Puppet versions you might consider using a variant datatype such as Variant String Deferred for parameters that are expected to be deferred class profile myappstack String db adapter String db address Variant String Deferred db password The third and probably most challenging concern is that depending on how authors write their modules you may or may not be able to pass deferred functions in as parameters to many popular Forge modules Let s look at some examples and learn how to anticipate them and future proof our own modules for deferred functions There are four major causes of incompatibility and probably other variations that follow similar patterns We ll start with the simplest and work towards the most complex Problem Puppet language functions cannot be deferredAs of Puppet many functions can be written directly in the Puppet language rather than in Ruby Functions like this are often used to transform data such as this example from docs that turns an ACL list into a resource hash to be used with the create resources function Because these functions are not pluginsynced to the agent they cannot be deferred In general this isn t much of a concern because operations like connecting to a Vault server cannot be done easily in the Puppet language anyways But if you do have such a need then this function needs to be rewritten in the Ruby language Problem strings and resource titles cannot be deferredA value that comes from a deferred function cannot be used in a resource title or interpolated into a string For example let s say that you added debugging code to the myappstack profile to see what password the Vault server was returning class profile myappstack String db adapter String db address String db password notify Password db password Instead of the password you expect to see it s the text form of the Deferred function puppet agent t…Notice Password Deferred name gt vault lookup lookup arguments gt appstack dbpass And if you wrote it without string interpolation like notify db password then it would fail compilation completely and give you a seemingly nonsensical error that might give seasoned C programmers template flashbacks Error Evaluation Error Illegal title type at index Expected String got Object name gt Deferred attributes gt name gt Pattern A a z a z a z a z z arguments gt type gt Optional Array value gt undef file Users ben ford tmp deferred pp line column on node arachne localThe solution to this problem is that variables you expect to be deferred should not be used as resource titles or in interpolated strings The notify in this example should be refactored like so notify vault server debugging We cannot interpolate a string with a deferred value because that interpolation happens during compilation message gt db password If you need to interpolate a deferred value into a string you can do that by deferring the sprintf function For example you could write that notify like so notify vault server debugging Defer interpolation to runtime after the value is resolved message gt Deferred sprintf Password s db password Don t forget to remove this message once the Vault problem has been resolved so it doesn t leak your secrets Problem function arguments can usually not be deferredClosely related to the first problem function arguments cannot be deferred unless the function is designed for it Functions are evaluated during compilation so if you defer an argument they ll operate on a Ruby object instead of the resolved value This is usually noticed when trying to render templated files For example if that myappstack profile managed a configuration file with a template it would include the same text form of the deferred vault lookup function as above cat etc myappstack db confdbpassword Deferred name gt vault lookup lookup arguments gt appstack dbpass appstack dbpass In order to properly handle deferred functions the function using them must also be deferred For example you could defer the rendering of the database configuration file using the new deferrable epp function that defers template rendering when needed Using that function to generate templated files allows you to transparently handle deferred parameters This function is available starting in puppetlabs stdlib version Note that it requires you to explicitly pass in the variables you ll be using in the template If you need to support earlier versions of stdlib then you ll need to write the boilerplate logic yourself which might look something like this variables password gt db password if db password is a Deferred content Deferred inline epp find template profiles myappstack db epp file variables else content epp profiles myappstack db epp variables file path to configfile ensure gt file content gt content Problem deferred values cannot be used for logicA value that s not known until runtime cannot be used to make conditional decisions since all logic is resolved during compilation An example of this is the puppetlabs postgresql module which handled provided password hashes differently based on the algorithm used to create them If the user expects that password hash to be provided at runtime by a secret server then it s not known at runtime and the compiler can t choose the appropriate codepath The resolution for this kind of problem is to refactor so these decisions don t need to be made during compilation or so that different data is used to make decisions In the case of our PostgreSQL module we refactored that code so that the complete codepaths affected by that conditional were all deferred The same code will run but it will all be evaluated during runtime on the agent Depending on the type of decision to be made you could also refactor into using facts which are evaluated on the agent prior to catalog compilation and then making conditional decisions based on the resolved values of the facts SummaryI m sure you see a common thread in each of these problem scenarios Values calculated by deferred functions are simply not known at compile time This means that nothing processed during compilation can use them You cannot use a deferred value to interpolate into a string or use it as a key for a selector or make a logical decision with You cannot render it directly into a templated file instead you need to include the template source in the catalog and compile it at runtime Effectively a deferred function is only useful when passing the value it generates directly to a parameter of a declared resource and modules need to be written to take this into account Module authors should anticipate that people might want to defer certain parameters such as passwords or tokens or other secret values and handle those cases by refactoring any use of these values out of compile time and into runtime Ecosystem updates that simplify Deferred use cases Set preprocess deferred when your functions depend on tooling installed by the Puppet run Deferred functions are interpolated so that their return types can be used to match data types required by class signatures The new deferrable epp function will automatically defer epp template rendering when appropriate Good luck We re always excited to see the cool things you build Ben is the Community and DevRel lead at Puppet Learn moreRead the deferred function docs See a presentation I gave at CfgMgmtCamp 2022-07-21 21:28:15
海外TECH Engadget Zoom brings end-to-end encryption to its cloud phone service https://www.engadget.com/zoom-e2ee-cloud-phone-service-breakout-rooms-212043895.html?src=rss Zoom brings end to end encryption to its cloud phone serviceZoom is bolstering its privacy and security protections by expanding end to end encryption EEE to more of its services First up is Zoom Phone its cloud phone system Users of that service will be able to switch on EEE during one on one calls When it s on EEE will ensure calls are secure with cryptographic keys that only the calling and receiving devices can access You ll be able to verify the EEE status by sharing a security code with the other person At the moment it s only possible to enable EEE on Zoom Phone for calls between users on the same company Zoom account They ll need to be on the Zoom Phone desktop or mobile app and switch off automatic call recording Account owners or admins will need to enable EEE via a web portal before their users can activate it on calls In addition EEE will soon be available in breakout rooms ーsmaller discussions that break off from group meetings Each breakout room can have its own encryption key Again account owners or admins will need to enable EEE for their users Zoom started rolling out EEE for meetings in October a few months after the company took off amid the COVID pandemic and a trend of uninvited guests quot zoombombing quot calls emerged Zoom initially planned to limit EEE to paid accounts but it relented after a backlash and offered it to everyone 2022-07-21 21:20:43
海外科学 NYT > Science A Painful Deadline Nears as Colorado River Reservoirs Run Critically Low https://www.nytimes.com/2022/07/21/climate/colorado-river-water-cuts.html A Painful Deadline Nears as Colorado River Reservoirs Run Critically LowThe federal government has told states to agree on urgent water cuts to ensure dams can keep generating power Researchers say reductions once considered “unthinkable may be necessary in the long term 2022-07-21 21:02:22
ニュース BBC News - Home Starmer: I hated being investigated by police over Beergate https://www.bbc.co.uk/news/uk-politics-62259109?at_medium=RSS&at_campaign=KARANGA labour 2022-07-21 21:14:21
ニュース BBC News - Home US President Joe Biden 'doing great' after testing positive for Covid https://www.bbc.co.uk/news/world-us-canada-62256544?at_medium=RSS&at_campaign=KARANGA house 2022-07-21 21:25:15
ニュース BBC News - Home New Prince George photo marks ninth birthday https://www.bbc.co.uk/news/uk-62240659?at_medium=RSS&at_campaign=KARANGA cambridge 2022-07-21 21:33:38
ニュース BBC News - Home Germany 2-0 Austria: Eight-time champions reach semi-finals https://www.bbc.co.uk/sport/football/62241096?at_medium=RSS&at_campaign=KARANGA Germany Austria Eight time champions reach semi finalsGermany booked their place in the semi finals of the European Women s Championship with a narrow victory over Austria at Brentford s Community Stadium 2022-07-21 21:29:01
ニュース BBC News - Home England v South Africa: Hosts win first T20 to wrap up multi-format series https://www.bbc.co.uk/sport/cricket/62259626?at_medium=RSS&at_campaign=KARANGA England v South Africa Hosts win first T to wrap up multi format seriesKatherine Brunt and Sophia Dunkley star as England win the first Twenty international against South Africa to wrap up the multi format series 2022-07-21 21:02:23
ニュース BBC News - Home Jake Wightman could be 'most successful' British middle distance runner, says Lord Coe https://www.bbc.co.uk/sport/athletics/62259544?at_medium=RSS&at_campaign=KARANGA Jake Wightman could be x most successful x British middle distance runner says Lord CoeJake Wightman could be the most successful British middle distance runner we ever had says former Olympic m champion Lord Coe 2022-07-21 21:53:25
ニュース BBC News - Home Uwe Seeler: Germany great dies aged 85 https://www.bbc.co.uk/sport/football/62258328?at_medium=RSS&at_campaign=KARANGA country 2022-07-21 21:08:16
サブカルネタ がらくたGallery 掃除機とエッチなことをしていた変態牧師、逮捕される http://garakuta.oops.jp/wordpress/?p=9202 逮捕 2022-07-21 22:46:06
北海道 北海道新聞 バイデン大統領コロナ陽性 軽症アピール、隔離で執務 https://www.hokkaido-np.co.jp/article/708684/ 米大統領 2022-07-22 06:12:51
北海道 北海道新聞 NY株続伸、162ドル高 好決算期待でITなど物色 https://www.hokkaido-np.co.jp/article/708710/ 続伸 2022-07-22 06:12:00
ビジネス 東洋経済オンライン ジム・ロジャーズ「今は何に投資をすべきなのか」 高インフレ下であなたを守ってくれる資産とは | 投資 | 東洋経済オンライン https://toyokeizai.net/articles/-/605792?utm_source=rss&utm_medium=http&utm_campaign=link_back 東洋経済オンライン 2022-07-22 06:30:00
ビジネス 東洋経済オンライン 「自分たちは犠牲者」の声が忘れている危険な思想 韓国だけではない!なぜ悲劇の記憶を争うのか | リーダーシップ・教養・資格・スキル | 東洋経済オンライン https://toyokeizai.net/articles/-/604243?utm_source=rss&utm_medium=http&utm_campaign=link_back 世界各地 2022-07-22 06:30:00

コメント

このブログの人気の投稿

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