AWS |
AWS Partner Network (APN) Blog |
How HCL Centralized a Customer’s Log Management Solution Within a Hybrid Environment |
https://aws.amazon.com/blogs/apn/how-hcl-centralized-a-customers-log-management-solution-within-a-hybrid-environment/
|
How HCL Centralized a Customer s Log Management Solution Within a Hybrid EnvironmentMany customers operate in a hybrid environment with on premises infrastructure interconnected with a cloud provider s infrastructure This post details how HCL Technologies used the AWS Centralized Log Management Reference Architecture and discusses how HCL removed the requirements for Amazon Kinesis Data Streams We also explore how HCL used Amazon Kinesis Data Firehose to stream from an Amazon CloudWatch Logs destination in a centralized logging account |
2021-10-06 17:48:48 |
AWS |
AWS Partner Network (APN) Blog |
How General Mechatronics Uses AWS IoT to Innovate for the Logistics Industry |
https://aws.amazon.com/blogs/apn/how-general-mechatronics-uses-aws-iot-to-innovate-for-the-logistics-industry/
|
How General Mechatronics Uses AWS IoT to Innovate for the Logistics IndustryMobile devices with extremely long battery life are enabling new use cases and will cover a much larger part of the exponentially growing IoT market Learn how the asset tracking devices developed by General Mechatronics and AWS enable a secure and scalable platform for novel IoT applications General Mechatronics is an AWS Partner that s supporting customers on IoT product development including the operation of related IoT infrastructure |
2021-10-06 17:17:40 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
ローカル環境をパソコン初心者に立ち上げさせる最も単純な方法 |
https://teratail.com/questions/363163?rss=all
|
ローカル環境をパソコン初心者に立ち上げさせる最も単純な方法質問というよりブレストですあなたはエンジニアで、PCにあまり詳しくない上司や営業などにそれぞれのPCでローカル環境を立ち上げさせてアプリケーションを確認してもらう必要があるとします。 |
2021-10-07 02:42:58 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
html(javascript)とc#の連携方法を教えてください |
https://teratail.com/questions/363162?rss=all
|
htmljavascriptとcの連携方法を教えてくださいしたいことcですでに書いたコードをwebページ上で作動させたくて、html→javascript→cの手順なら反映できると考えて進めていたのですが、javascriptとcを連携させる方法がいまいちピンときません。 |
2021-10-07 02:34:19 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
selenium(python)でWebページのテキストデータをクリップボードにコピーしたい |
https://teratail.com/questions/363161?rss=all
|
seleniumpythonでWebページのテキストデータをクリップボードにコピーしたいWebページでCtrlA→CtrlCをすると、ページ上にあるテキストデータがクリップボードにコピーされると思いますが、この動作をseleniumpythonで実装する方法はありますでしょうか。 |
2021-10-07 02:32:48 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
slickでautoplayが効かない |
https://teratail.com/questions/363160?rss=all
|
slickでautoplayが効かないslickでサムネイル付きスライドショーを実装したのですが、autoplayが効かずご質問させていただきたいです。 |
2021-10-07 02:10:41 |
海外TECH |
DEV Community |
Frontend Bundler Braindump |
https://dev.to/paramagicdev/frontend-bundler-braindump-10fj
|
Frontend Bundler Braindump What is this The following is a collection of terminology and definitions of various bundling terms I ve come across over the last year This is meant to be an introduction to what a frontend bundler is what is does why they exist and some of the common terminology used by bundlers This willnot target any specific bundler webpack rollup vite snowpack etc but rather this will provide some context around some of the things these bundlers do and how they work This is intended to be a reference to my futureself who will inevitably forget most of this What will be covered Why do bundlers exist Why do we have different import syntax What is a bare module import What is an entrypoint What is a loader What is a chunk code splitting What is hashing fingerprinting digest etc What is treeshaking What are side effects Why do bundlers exist Bundlers exist to solve a couple different problems and they ve evolved as the problems they solve has evolved Initially bundlers existed to solve problems mainly ConcatenationMinificationCompression kind of Concatenation Concatenation is the process of combining multiple files into a singular file This is important because prior to HTTP the network cost to import asset files was significantly higher meaning it took longer This meant it was super important to ship as few asset files to the end user as possible to increase performance Minification Minification is the process of taking a file and making it as small as possible IE shortening variable names to shorthand shortening function calls eliminating whitespace etc Compression As an addition to minification there is also the idea of compression Compression is the process of taking a file and reducing its overall size by making it smaller by using some kind of Compression Algorithm Compression is sometimes referred to as zipping gzipping What compression does under the hood is beyond the scope of this article but its just another technique to reduce file size note that a gzipped file can be uncompressed by a browser quite easily and the code inside the file will be the same when uncompressed unlike withminification Additional Problems As time went on developers wanted more from their bundlers They wanted to use files that transpile to JavaScript Developers wanted bundling but not massive file They wanted to chunk or code split their files With the advent of HTTP connection multiplexing shippingmultiple smaller files actually became more advantageous Now bundlers solve these additional problems sourcemapstranspilationcode splitting chunking tree shaking elimination of dead code Since the above topics are fairly in depth we will cover what they are below But first lets circle back to concatenation or in other terms how to share code between files with JavaScript Why do we have different import syntax If you ve been around JavaScript you ve no doubt seen something likethe following require module module exports and then you may have also seen import module export const x and been wondering what the heck is the difference Well the simple answer is Example uses CommonJS syntax also known as CJS Example uses ES Module syntax also know as ESM There is also a third module definition called UMD universal module definition that leverages CommonJS To put it plainly CommonJS is NodeJS s original importing syntax ES Modules are part of the ES Module spec which is the spec defined by the browser for importing JavaScript files UMD came out before ES Module syntax existed which attempted to guess the environment it was loaded inand provide appropriate file sharing Essentially UMD was intended to bridge the CommonJS syntax for use in the browser It s important to note both UMD and CJS predate the ESM specification and is why they both exist despite ESM being the standard at this point in time For the remainder of this article we will focus mainly on ESM syntax since its the standard and because having to define caveats for every possible syntax is tiresome What is a bare module import While we re on the subject of imports what is a bare module import and why is it special A bare module specifier is when you provide a path to a file without a relative qualifier For example the following is a bare module import import jquery Now the idea of bare module specifiers comes from NodeJS Node performs and automatic lookup into your node modules directory when you do not provide a relative qualifier So the above roughly translates to the following import node modules jquery The above is whats called a relative module specifier which means it is being given a relative filepath to find the file in your system This is important because the ESM spec does not support bare module specifiers which means that a developer needs to do of things to fix bare module specifiers A Setup an importmap to tell the browser where to find the module B Transpile the code to be a relative module Option A introduces the idea of importmaps importmaps are a fairly new concept Essentially an importmap says when you see this bare module specifier here is the relative path to the module so you know where to find it It s essentially a hint of the browser of how to resolve a bare module To read more about importmaps check out Modern Web s Importmap documentation Option B introduces the idea of transpilation which we will talk about when we get into loaders What is an entrypoint An entrypoint is another way of saying a bundle Essentially anentrypoint can go by many names for example in Webpacker lt itscalled a pack Although it may go by many names at the end of the day an entrypointtells a bundler to bundle this file in other words grab all thefiles it imports and create whats called a dependency graph and thencreate a bundled file and depending on setup also create chunks What is a dependency graph you may ask Well a dependency graph is essentially a way for the bundler to map out what packages and files are in your entrypoint file and properly bundle those into the final file This also begs the question of what happens if one entrypoint imports another This can create whats called a circular dependency In other words A depends on B but B depends on A so who gets resolved first Circular dependencies can also happen within regular packages but can usually be resolved by your bundler although the general recommendation is to try to avoid circular dependencies as much as possible Another concept of entrypoints is this is where loaders or transpilers will generally do what they need to do What is a loader A loader is a way for a bundler to convert a non JavaScript file into JavaScript compatible syntax For example lets imagine I import a png into a JavaScript file import Circle from circle png function render return lt img src Circle gt What s actually happening is if you re using something like Webpack there is what s called a loader which will transform this png into a JavaScript compatible object and will allow you to grab the final location of the circle and point the image src to it This syntax is not supported by the official ESM spec but rather is something handledby bundlers to allow users to reference non JavaScript files inside a JavaScript file Another filetype that requires a loader or transpiler is TypeScript Lets imagine I import a TypeScript file into a JavaScript file import TSFile from tsFile I omitted the ts since TypeScript itself doesn t support importing ts files If you import a ts file in the browser it just won t work Instead bundlers transpile the ts file using the TypeScript transpiler or compiler whatever you prefer and then turns it into ausable JavaScript file The important thing about loaders and minification and everything else changing the final output is it obscures where the initial code comes from To solve this problem bundlers implement something called sourcemaps Sourcemaps are a way of mapping transpiled code to it s original source code This is particularly important for tracking down errors since its very hard to debug minified transpiled code without sourcemaps available While we re here now would be a good time to talk about targets The idea of a target is to tell a bundler to output JavaScript syntax compatible with this EcmaScript ES spec or output JavaScript syntax compatible with these browsers For example you may have seen targets written like this targets es or when targetting browsers targets gt not dead not IE supports esmodules This is a way of using modern JavaScript syntax while being able to be backwards compatible with older browsers On the subject of modern lets move on to talk about code splitting or chunking What is a chunk Code Splitting A chunk is merely a segmented JavaScript file from the main bundle Chunks are fairly new and they are a result of the browser evolving As the browser has evolved so to have bundlers Browsers have better support for simultaneouslydownloading asset files so when using HTTP compatible servers multiple smaller files can actually be better for performance Let dig in to how chunks are created There are multiple ways to create chunks The most common ways are critical path code splitting and file size code splitting The first form of chunking called file size chunking means pick an arbitrary file size and make a chunk at that size For example lets choose kb since thats what the Webpack SplitChunks plugin uses This means anyfile I import thats greater than kb will automatically be turned into a chunk The second form of chunking called critical path code splitting means only import the most important files for rendering first and then import the other chunks after the initial critical bundle has loaded This helps achieve faster initial loading for people browsing your website Another way of talking about critical path code splitting is called dynamic imports A dynamic import gets imported at runtime Heres the difference between a static and dynamic import import mymodule gt dynamicimport mymodule gt staticThis will be important when we talk about statically analyzable files when we explain what treeshaking is What is treeshaking Treeshaking otherwise referred to as dead code elimination is a way for your bundler to get rid of unused code This process is can be error prone and will be specific to the bundler you re using and its internal AST Abstract Syntax Tree Every bundler implements treeshaking slightly differently but heres the core concepts To be treeshakeable a file should do at least the following A Be statically analyzableB Provide static references to importsC Should not have side effectsStatically analyzable means it cant use an interpolated string to import a file Here s an example Statically analyzableimport file Not statically analyzableconst file file Math random toString import file Static references means you cant use a dynamic accessor on an object This doesnt really affect ESM since it has an explicit grab only what I need syntax but is worth talking about Example Treeshakeable import onlyThis from large module hard to treeshake possibly not treeshakeable depends on bundler import as Blah from blah Not treeshakeableconst x require blah x dynamic Finally let s talk side effects which warrant their own section below What are side effects A side effect is a piece of code that runs when a file is imported You may be familiar with side effects if you ve browsed the Webpack docs mark the file as side effect freeFor example lets look at two files side effect jsclass MyCustomElement extends HTMLElement window customElements define my custom element MyCustomElement entrypoint jsimport side effect js When I import side effect js the code will automatically run despite not calling any functions when its imported This makes it hard for bundlers to know if side effect js is tree shakeable since the code runs despite the user not actually acting on the import itself As aresult files with side effects are generally hard to treeshake so most bundlers wont attempt to treeshake them If I wanted to rewrite the above to be side effect free I would do something like this side effect jsclass MyCustomElement extends HTMLElement export function define window customElements define my custom element MyCustomElement entrypoint jsimport define from side effect js define And now we are side effect free There is one last topic to discuss and then this reference is complete What is hashing fingerprinting digest etc File hashing also called fingerprinting or a file digest is the process of analyzing afiles content then generating and adding a hash to the end of it An example of a hashed file looks like this file xjrf js yes thats a made up hash The size of the hash number of characters is determined by your bundler settings The higher the number the more unique the hash is Unique hashes are great for caching purposes since if the hash has not changed the browser can just use the cached version A hash is intended to be idempotent in that if I run the same file with the same contents n number of times then I will always get the same final hash regardless of how many times the build is run This is important for consistency And this ends my reference to myself Final Thoughts The above may not be accurate This is purely off the top of my head over the last hour or so If you have anything to add or anything to correct feel free Take this all with a grain of salt I m just person and I ve never actually written a bundler Have a great day and bundle away |
2021-10-06 17:33:18 |
海外TECH |
DEV Community |
Aero / AeroCMS - A Simple and Easy to use CMS Designed to create fast and powerful web apps! |
https://dev.to/megatkc/aero-aerocms-a-simple-and-easy-to-use-cms-designed-to-create-fast-and-powerful-web-apps-5ao6
|
Aero AeroCMS A Simple and Easy to use CMS Designed to create fast and powerful web apps Why I created AeroBefore I started this project I was using WordPress or programming in PHP using HTML and CSS to create a website I loved WordPress but it was slow for me because of plugins You need lots of plugins for additional features and most plugins had a premium where you need to pay for them to get the full version There were many problems with WordPress that I experienced such as slow page speeds and low SEO ranking There are good things about WordPress too but with site vulnerability and every time you have a plugin that is not functioning with your current PHP version your site shuts down These problems with WordPress led me to create a Content Management system that would solve most of these problems Introducing AeroAero is a simple and easy to use CMS that would let you create fast and powerful web applications Aero can be used as a blogging engine as well as many other things The SEO is decent or not too bad according to IONOS com Aero also has a clean user interface for the Admin Panel and the front end site Aero uses Bootstrap which makes the website friendly on all devices which includes computers tablets phones and other devices that you can name that has the ability to surf the internet The Admin panel and the front end website comes from a bootstrap template The website search engine also works To search you need to type in one of the keywords tags labeled on the post The Admin PanelThe Admin Panel includes a dashboard which shows you all of the users you have on your website who is online how many posts categories and more It even has a post editor using TinyCloud s html text editor In the posts section you can clone a post make a post public or a draft and delete them You can also clone or delete posts in bulk You can even create a post too In the users section you can clone users create a user set the users avatar username name and more Like the posts section you can also clone or delete users in bulk Also there is an option to give the user a role The default sign up role is Subscriber You can change their role and give them Admin permissions In the categories section you can create or edit an existing categories name Or even delete a category too The Categories appear up in the front end part of the website Appearing at the top of the navigation or on the right side In the comments section you can see the post that the user commented on as well as approve or unapprove or delete their post When the user submits a comment it is automatically marked as unapprove until the admin approves it Lastly is the profile section this section is created so you can edit your profile name picture avatar and much more You can even change your role to a subscriber but you can t change it back To change it you need to go to phpmyadmin and set it to Admin again Known Issues and solutionsYou can t change your password which is a security risk for the admin You need to create a new admin account and delete the old account Draft pages show The draft pages show but if you click on it as a non admin it will say page not found If you search up the draft post it will show the text and content that you typed up Features coming soonAbility to change passwordA settings pageAbility to change website name site widget copyrightProbably admin panel and front end themes Github RepoThank you for reading this post if you want to support me or the project Please star or contribute to the repo Let me know if there are bugs or you need help in the issues tab of the github repository MegaTKC AeroCMS Aero is a simple and easy to use CMS Content Management System designed to create fast and powerful web applications AeroCMSAero AeroCMS is a simple and easy to use CMS Content Management System designed to create fast and powerful web applications Aero is built with OOP Object Oriented Programming PHP which is known for fast website loading speeds System RequirementsPHP PHP MySQL or MariaDB DatabaseApache ServerIf you have an XAMPP server you have all of these requirements already LAMP InstallationYou can run Aero on any operating system or architecture if it runs linux You can do it on armhf arm arm aarch x i or x amd We recommend Debian or Ubuntu Linux since that is what we ran AeroCMS on XAMPP also works too it has everything included Skip to Aero Installation and Database if you already configured your LAMP stack or have XAMPP Starting off we need to install our lamp stack We go with the easiest one which… View on GitHub |
2021-10-06 17:15:54 |
海外TECH |
DEV Community |
Day 2: Introduction to Control Flow in Python |
https://dev.to/phylis/day-2-introduction-to-control-flow-in-python-343l
|
Day Introduction to Control Flow in Python Day of The Days of Python Introduction to Control Flow In PythonWhat is Control flow Types of Control structures sequentialselection If statement if else statement if elif else nested if Repetition for loop while loopWhat is Control flow Control flow is the order in which a programs code executes based on values and logic Python programming language is regulated by three types of control structures Sequential statements Selection statement Repetition statement Sequential statements Are set of statements where the execution process will happen in sequence manner It is not commonly used because if the logic has broken in any line then the complete source code execution will break To avoid this problem selection and repetition statements are used Selection Statements Are also called decision control statements or branching statements Selection statements allows a program to execute instructions based on which condition is true They include if Statement If statement executes a block of code based on a specified condition Here is the syntax if condition if blockThe if statement checks the condition first if the condition evaluates to True the statement is executed in the if block Otherwise it ignores the statements Exampleage input Enter your age if int age gt print You are an adult OutputEnter your age You are an adult if…else statementIt evaluates the condition and will execute the body of if if the test condition is True and else body if the condition is falseSyntaxif condition if block else else block Exampleage input Enter your age if int age gt print You are an adult else print You are a child OutputEnter your age You are a child if…elif…else statement Checks multiple conditions for true and execute a block of code as soon as one of the conditions evaluates to true If no condition evaluates to true the if elif else statement executes the statement in the else branch The elif stands for else if Syntax if if condition if blockelif elif condition elif blockelif elif condition elif block else else blockExampleage input Enter your age your age int age if your age gt print Your are old elif your age gt print Your young else print null OutputEnter your age Your are old Repetition statement Also called loops and are used to repeat the same code multiple times Python has two repetitive statements namely for LoopUsed to iterate over a sequence that is either a list set tuple or dictionary Syntaxfor index in range n statementFrom the above syntax n is the number of times the loop will execute and index is the loop counterExample listnumbers variable to store the sumsum iterate over the listfor index in numbers sum sum indexprint The sum is sum OutputThe sum is for index in range print index Output While loop Python while statement allows you to execute a block of code repeatedly until a given condition is satisfied Syntax while condition bodyAn example to print numbers from to max counter while counter lt max print counter counter Output Resources |
2021-10-06 17:15:35 |
海外TECH |
DEV Community |
6 tips for mentoring junior engineers |
https://dev.to/laurencaponong/6-tips-for-mentoring-junior-engineers-5gd5
|
tips for mentoring junior engineersThe acclimation process as a new engineer may be daunting for some And since I ve been through the process myself I d like to share these tidbits to help you as the mentor help out your mentee Writing my own documentation specific to the project and tech It helps the junior engineer get acclimated to the context they will be working in and gives them a bigger picture of what s going on Things like specific Slack channels email lists to join repositories to download helpful software additions et cetera Forwarding them to the right people Introductions or forwarding them names of the people they will need info from example a web engineer needing information from the backend engineer Don t assume that they know I err on the side of giving as much information as possible to a new engineer so that they understand the full context If they already know great but still it s good to check in beforehand to see what they know Share your tips that you know and use often If you know a shortcut for a workflow or how to debug more easily share that with the engineer I had to discover a lot of shortcuts on my own sifting through Slack channels for example and had to waste countless hours when someone else had a simple command for it Keep internal company only acronyms to a minimum Business jargon may confuse newcomers so lighten up on that There s been countless times I ve been in meetings with new hires and they have no clue what is going on due to acronym usage Open up the floor I want my mentee to feel as comfortable as possible coming to me with questions If I don t know I ll ask someone else or forward them to the right person As someone that had a challenging case of impostor syndrome this one could have a profound effect on newly minted engineers A major component to mentoring overall is to be communicative Although it may feel like more effort to explain or give additional context it is likely appreciated by the mentee and can save a lot of unneeded frustration Have any other additions to the list Feel free to comment your own |
2021-10-06 17:07:12 |
海外TECH |
DEV Community |
Best Social Media UI Kit Design |
https://dev.to/mahfuzulnabil/best-social-media-ui-kit-design-13kg
|
Best Social Media UI Kit DesignThis is a Social Media Web App UI Kit Social Media UI Kit This is the most complete social media UI kit ever created It can be used not only for your commercial projects but also for your personal portfolio You can use it to follow unfollow ignore users view images and much more on Twitter Instagram Facebook and many others UIHUT is a design resources platform for UX UI designers developers and founders Our high quality design resources will help you to speed up the design process Resources Have Best UI Design Free Premium web templates web app mobile app illustrations icons d illustrations Codes Also Available From www uihut com Lifetime PLAN Offer CODE nab DISCOUNT OFF |
2021-10-06 17:02:23 |
Apple |
AppleInsider - Frontpage News |
Eve, Coulisse say that Thread-enabled MotionBlinds will debut in early 2022 |
https://appleinsider.com/articles/21/10/06/eve-coulisse-say-that-thread-enabled-motionblinds-will-debut-in-early-2022?utm_medium=rss
|
Eve Coulisse say that Thread enabled MotionBlinds will debut in early Eve Systems which makes HomeKit enabled tech has announced that its MotionBlinds window covering collaboration with Coulisse will debut in early Credit Eve CoulisseNews that Eve and Coulisse were teaming up to produce new smart blind motors with Thread support surfaced earlier in Now the two companies have announced that Eve MotionBlinds will launch early in Read more |
2021-10-06 17:18:41 |
Apple |
AppleInsider - Frontpage News |
Apple seeds third developer beta of iOS 15.1, iPadOS 15.1, tvOS 15.1, & watchOS 8.1 |
https://appleinsider.com/articles/21/10/06/apple-seeds-third-developer-beta-of-ios-151-ipados-151-tvos-151-watchos-81?utm_medium=rss
|
Apple seeds third developer beta of iOS iPadOS tvOS amp watchOS Apple has moved on to its third developer beta round for iOS iPadOS tvOS and watchOS and has also released a fresh HomePod firmware beta The newest builds can be downloaded via the Apple Developer Center for those enrolled in the test program or via an over the air update on devices running the beta software Public betas typically arrive within a few days of the developer versions via the Apple Beta Software Program website The third builds appear after the second which were seeded on September and the first from September Read more |
2021-10-06 17:17:12 |
Apple |
AppleInsider - Frontpage News |
Apple seeds ninth developer beta for macOS Monterey |
https://appleinsider.com/articles/21/10/06/apple-seeds-ninth-developer-beta-for-macos-monterey?utm_medium=rss
|
Apple seeds ninth developer beta for macOS MontereyApple is now on its ninth developer round for macOS Monterey providing testers with the latest build as it needs an eventual release The latest builds can be downloaded from the Apple Developer Center for participants in the Developer Beta program as well as via an over the air update for hardware already used for beta software Public beta versions of the developer builds are usually issued within a few days of their counterparts and can be acquired from the Apple Beta Software Program site The ninth round follows the eighth which was issued on September The seventh round arrived on September Read more |
2021-10-06 17:15:16 |
Apple |
AppleInsider - Frontpage News |
How to use Conversation Boost with AirPods Pro |
https://appleinsider.com/articles/21/10/06/how-to-use-conversation-boost-with-airpods-pro?utm_medium=rss
|
How to use Conversation Boost with AirPods ProApple s latest hearing technology is now available on AirPods Pro and it s easy to use ーbut oddly fiddly to set up Conversation Boost helps you hear people talking to youThis could be simpler Apple is brilliant with accessibility features but often setting them up requires a lot of steps and Conversation Boost certainly does Read more |
2021-10-06 17:03:09 |
Apple |
AppleInsider - Frontpage News |
Five things missing from the iPad mini that Apple could have added |
https://appleinsider.com/articles/21/10/06/five-things-missing-from-the-ipad-mini-that-apple-couldve-added?utm_medium=rss
|
Five things missing from the iPad mini that Apple could have addedApple s new iPad mini is striking because of its redesign and refined features but there are still areas Apple could have worked on Here s where Apple could have made even more improvements to the compact tablet Apple updated the iPad mini with a new look but it could have done more Of all the iPads the iPad mini was arguably overdue a redesign This year Apple gave it just that and effectively turned their smallest tablet into a mini version of the iPad Air Read more |
2021-10-06 17:19:29 |
海外TECH |
Engadget |
Facebook is slowing down product development for 'reputational reviews,' report says |
https://www.engadget.com/facebook-slowing-down-reputational-review-172941768.html?src=rss
|
Facebook is slowing down product development for x reputational reviews x report saysFacebook is reportedly slowing down its product development so it can conduct “reputational reviews in the wake of whistleblower Frances Haugen s disclosures about the company According to The Wall Street Journal Facebook has “put a hold on some work on existing products while a team of employees analyze how the work could further damage their reputation The group is looking at potential negative effects on children as well as criticism the company could face Zuckerberg alluded to the change in a statement Tuesday ーhis first since the whistleblower s disclosures became public “I believe that over the long term if we keep trying to do what s right and delivering experiences that improve people s lives it will be better for our community and our business he wrote “I ve asked leaders across the company to do deep dives on our work across many areas over the next few days so you can see everything that we re doing to get there The change is one of the clearest signs yet of how much Haugen s disclosures have rocked the company in recent weeks Facebook has already “paused its work on an Instagram Kids app after a WSJ report on company research showing Instagram is harmful to some teens mental health Though Facebook has attempted to downplay its own research pressure has mounted since Haugen a former product manager stepped forward and testified in a three hour Senate hearing this week She told lawmakers Zuckerberg and other executives have prioritized the social network s growth over users safety and that the company has misled the public about its AI based moderation technology She s called on Facebook to make its research more widely available and urged Congress to impose new regulations on the platform |
2021-10-06 17:29:41 |
海外TECH |
Engadget |
Amazon secures giant tax breaks despite record profits and questionable labor practices |
https://www.engadget.com/amazon-us-tax-breaks-delivery-171657659.html?src=rss
|
Amazon secures giant tax breaks despite record profits and questionable labor practicesRegional governments are still eager to court Amazon s business despite uncertain economies and Amazon s own practices According to the Financial Times the economic watchdog Good Jobs First has determined that Amazon has so far received about million in local and state tax incentives in to build out its next day and same day delivery operations That s a record for the company and comes close to the million Amazon received to build its second headquarters The largest incentive was a million year property tax abatement pending in Markham Illinois followed by a nearly million year tax exemption package in Monroe County New York Good Jobs First said this was likely a cautious estimate as some of the deals involve undisclosed tax deals and grants The payouts came despite an uncertain economy and complaints about Amazon s working conditions including modest pay strict monitoring and high injury rates Officials may attract more jobs to their area but they won t necessarily be high quality jobs that grow the economy It s also unclear if there s a net job benefit ーFT cited an Economic Policy Institute study showing that an Amazon warehouse attracted workers from other companies rather than expanding the overall workforce Amazon has justified the incentives through overall job creation and economic investment In a statement the company said it created over jobs in alongside a billion investment It added that it was often taking incentives available to any company settling into a given location not just Amazon Even if there is an overall employment increase though the question is whether or not Amazon should be accepting tax incentives in the first place The company made more profit in the first year of the pandemic than it did in the previous three years raking in billion The firm doesn t exactly need those tax breaks to survive and the money could be used to improve communities and working conditions |
2021-10-06 17:16:57 |
海外科学 |
NYT > Science |
Biden Administration to Restore Climate Criteria to Landmark Environmental Law |
https://www.nytimes.com/2021/10/06/climate/climate-environmental-law-nepa.html
|
Biden Administration to Restore Climate Criteria to Landmark Environmental LawA proposed rule would require agencies to study the climate impacts of new highways pipelines and other projects reversing a Trump era effort to weaken reviews |
2021-10-06 17:54:25 |
海外科学 |
NYT > Science |
Robert Schiffmann, Inventive Guru of the Microwave, Dies at 86 |
https://www.nytimes.com/2021/10/06/technology/robert-schiffmann-dead.html
|
Robert Schiffmann Inventive Guru of the Microwave Dies at As a scientist he saw the potential of microwave ovens when he observed one heating up a sandwich in the s Microwaveable oatmeal among other advances was in his future |
2021-10-06 17:10:55 |
金融 |
金融庁ホームページ |
「デジタル・分散型金融への対応のあり方等に関する研究会」(第3回)議事次第について公表しました。 |
https://www.fsa.go.jp/singi/digital/siryou/20211006.html
|
Detail Nothing |
2021-10-06 18:00:00 |
ニュース |
BBC News - Home |
Coronavirus travel advice changed for 32 countries |
https://www.bbc.co.uk/news/uk-58822439?at_medium=RSS&at_campaign=KARANGA
|
advice |
2021-10-06 17:44:45 |
ニュース |
BBC News - Home |
Covid-19: Travel advice changed and call for universal credit vote |
https://www.bbc.co.uk/news/uk-58822265?at_medium=RSS&at_campaign=KARANGA
|
coronavirus |
2021-10-06 17:47:38 |
ニュース |
BBC News - Home |
Tewkesbury stabbings: Matthew Boorman is named as victim |
https://www.bbc.co.uk/news/uk-england-gloucestershire-58811821?at_medium=RSS&at_campaign=KARANGA
|
gloucestershire |
2021-10-06 17:15:51 |
ニュース |
BBC News - Home |
Conservative conference: Five things we learned in Manchester |
https://www.bbc.co.uk/news/uk-politics-58787792?at_medium=RSS&at_campaign=KARANGA
|
manchester |
2021-10-06 17:30:36 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
いま、最も必要なアーキテクト人材、その資質を見極める5つの条件とは? - アーキテクト思考 |
https://diamond.jp/articles/-/283790
|
|
2021-10-07 02:50:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
西に黄色いものを置いても 金運が上がらない人の間違い - どんな運も、思いのまま! 李家幽竹の風水大全 |
https://diamond.jp/articles/-/283217
|
西に黄色いものを置いても金運が上がらない人の間違いどんな運も、思いのまま李家幽竹の風水大全「どんな人でも運がよくなれる」、それが風水の持つ力です。 |
2021-10-07 02:45:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【弐億貯男の株式投資で2億円】 株式の中長期保有で 狙い目のビジネスモデルとは? - 10万円から始める! 割安成長株で2億円 |
https://diamond.jp/articles/-/282975
|
【弐億貯男の株式投資で億円】株式の中長期保有で狙い目のビジネスモデルとは万円から始める割安成長株で億円入社年目のこと。 |
2021-10-07 02:40:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【米国株投資でFIRE達成】 50代で「FIRE」を目指す投資プラン - 英語力・知識ゼロから始める!【エル式】 米国株投資で1億円 |
https://diamond.jp/articles/-/283002
|
|
2021-10-07 02:35:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
レッドブル1缶で角砂糖7個!? エナジードリンクの「上手な飲み方」とは? - 40歳からの予防医学 |
https://diamond.jp/articles/-/283086
|
予防医学 |
2021-10-07 02:30:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
オンライン営業で忘れてはいけない「3つのステップ」 - [新版]「3つの言葉」だけで売上が伸びる質問型営業 |
https://diamond.jp/articles/-/284011
|
そして、オンライン営業のスキルを加えてパワーアップしたのが、『新版「つの言葉」だけで売上が伸びる質問型営業』。 |
2021-10-07 02:25:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「なぜ左利き、右利きがあるの?」脳内科医が明かす2つの理由 - すごい左利き |
https://diamond.jp/articles/-/283809
|
左利きにとっては、これまで知らなかった自分を知る冊に、右利きにとっては身近な左利きのトリセツに。 |
2021-10-07 02:20:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「経済効果」に隠された「ムダ」の正体 - お金のむこうに人がいる |
https://diamond.jp/articles/-/283961
|
経済効果 |
2021-10-07 02:15:00 |
ビジネス |
不景気.com |
栃木の樹脂成形塗装「日本クラント」が民事再生、負債31億円 - 不景気.com |
https://www.fukeiki.com/2021/10/nihon-courante.html
|
栃木県壬生町 |
2021-10-06 17:09:22 |
サブカルネタ |
ラーブロ |
羽田 大勝軒@羽田空港 |
http://feedproxy.google.com/~r/rablo/~3/aqAuK2iuByk/single_feed.php
|
中華そば |
2021-10-06 18:18:00 |
GCP |
Cloud Blog |
Google Cloud Spanner Provider for Entity Framework Core |
https://cloud.google.com/blog/topics/developers-practitioners/google-cloud-spanner-provider-entity-framework-core/
|
Google Cloud Spanner Provider for Entity Framework CoreWe re very excited to announce the general availability of the Google Cloud Spanner provider for Entity Framework Core which allows your Entity Framework Core applications to take advantage of Cloud Spanner s scale strong consistency and up to availability In this post we ll cover how to get started with the provider and highlight the supported features Set Up the ProjectThe Cloud Spanner provider is compatible with Microsoft EntityFrameworkCore After you have set up Entity Framework Core add the Cloud Spanner provider to the project You can also do this by editing your csproj file as follows Set Up Cloud SpannerBefore you begin using Cloud Spanner Follow the Set Up guide to configure a Cloud Project authentication and authorization Then create a Cloud Spanner instance and database following the Quickstart using the Cloud Console Setup a new databaseIf you don t have an existing database you may use the following example also available on GitHub to create a new model populate it with data then query the database See Migrating an Existing Database below if you have an existing database Data modelWe will use the following data model created using the Cloud Console for simplicity Create a modelData is accessed as a model in Entity Framework Core which contains the entities the context representing the database context and configuration for the entities In this example model we have three Entities representing a Singer an Album and a Track On configuring the model we use two different approaches to defining relationships between entities Album references Singer using a foreign key constraint by including a Singer in the Album entity This ensures that each Album references an existing Singer record and that a Singer cannot be deleted without also deleting all Albums of that Singer Track references Album by being interleaved in the parent entity Album and is configured through OnModelCreating with a call to InterleaveInParent This ensures that all Track records are stored physically together with the parent Album which makes accessing them together more efficient Insert dataData can be inserted into the database by first creating an instance of the database context adding the new entities to the DbSet defined in the model and finally saving the changes on the context The provided connection string must be in the format of Data Source projects lt my project gt instances lt my instance gt databases lt my database gt Query dataYou may query for a single entity as follows You can also use LINQ to query the data as follows Migrate an existing databaseThe Cloud Spanner Entity Framework Core provider supports database migrations Follow this example to generate the data model using Migrations with the data model being the source of truth You can also let Entity Framework Core generate code from an existing database using Reverse Engineering Take a look at Managing Schemas for further details FeaturesTransaction supportBy default the provider applies all changes in a single call to SaveChanges in a transaction If you want to group multiple SaveChanges in a single transaction you can manually control the read write transactions following this example If you need to execute multiple consistent reads and no write operations it is preferable to use a read only transaction as shown in this example Entity Framework Core feature supportEntity Framework Core supports concurrency handling using concurrency tokens and this example shows how to use this feature with the Cloud Spanner provider Cloud Spanner feature supportBesides interleaved tables mentioned above the provider also supports the following Cloud Spanner features Commit timestampsCommit timestamp columns can be configured during model creation using the UpdateCommitTimestamp annotation as shown in the sample DbContext The commit timestamps can be read after an insert and or an update based on the configured annotation as shown in this example MutationsDepending on the transaction type the provider automatically chooses between mutations and DML for executing updates An application can also manually configure a DbContext to only use mutations or only use DML statements for all updates This exampleshows how to use mutations for all updates However note the following caveats when choosing these options Using only Mutations will speed up the execution of large batches of inserts updates deletes but it also doesn t allow a transaction to read its own writes during a manual transaction Using only DML will reduce the execution speed of large batches of inserts updates deletes that are executed as implicit transactions Query HintsCloud Spanner supports various statement hints and table hints which can be configured in the provider by using a Command Interceptor This example shows how to configure a command interceptor in the DbContext to set a table hint Stale readsCloud Spanner provides two read types By default all read only transactions will default to performing strong reads You can opt into performing a stale read when querying data by using an explicit timestamp bound as shown in this example Generated columnsCloud Spanner supports generated columns which can be configured in the provider using the ValueGeneratedOnAddOrUpdate annotation in the model This example shows how a generated column can be read after an entity is saved LimitationsThe provider has some limitations on generating values for primary keys due to Cloud Spanner not supporting sequences identity columns or other value generators in the database that will generate a unique value that could be used as a primary key value The best option is to use a client side Guid generator for a primary key if your table does not contain a natural primary key Getting involvedThe Cloud Spanner Entity Framework Core provider is an open source project on GitHub and we welcome contributions in the form of feedback or pull requests We would like to thank Knut Olav Løite and Lalji Kanjareeya for their work on this integration and Ben Wulfe for their earlier work on the project Related ArticleIntroducing Django ORM support for Cloud SpannerToday we re happy to announce beta support for Google Cloud Spanner in the Django ORM The django google spanner package is a third party Read Article |
2021-10-06 17:30:00 |
コメント
コメントを投稿