AWS |
AWS Database Blog |
Evaluate logical replication performance with synthetic load generation using Apache JMeter on Amazon Aurora PostgreSQL |
https://aws.amazon.com/blogs/database/evaluate-logical-replication-performance-with-synthetic-load-generation-using-apache-jmeter-on-amazon-aurora-postgresql/
|
Evaluate logical replication performance with synthetic load generation using Apache JMeter on Amazon Aurora PostgreSQLMany customers face challenges when they have to choose the right instance size and assess the logical replication latency When they re using third party replication tools like HVR SharePlex Oracle GoldenGate or AWS Database Migration Service AWS DMS it s important to identify any networking glitches or compute resource allocation at the beginning In this post … |
2022-11-07 16:54:10 |
AWS |
AWS Media Blog |
AWS for M&E at re:Invent 2022 |
https://aws.amazon.com/blogs/media/aws-for-me-at-reinvent-2022/
|
AWS for M amp E at re Invent Each year professionals from the global cloud community converge at the annual AWS re Invent conference to attend inspirational keynotes and panels in depth learning sessions and network with industry colleagues and leaders This year proves no exception as re Invent returns to Las Vegas NV November December in full force With the transformative technology … |
2022-11-07 16:57:46 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
画像の任意の座標を中心とする余白を追加する方法 |
https://qiita.com/yusuke_s_yusuke/items/59861bd35ee5dc907794
|
googlecolab |
2022-11-08 01:25:35 |
Azure |
Azureタグが付けられた新着投稿 - Qiita |
【Azure】イメージからVMをデプロイする際にディスク名を指定する |
https://qiita.com/chappy7121/items/121a3b134342e43c5c3e
|
azure |
2022-11-08 01:35:22 |
Azure |
Azureタグが付けられた新着投稿 - Qiita |
仮想マシンを構成するディスク |
https://qiita.com/ss12345/items/54288ed54a231cd814e7
|
giblinux |
2022-11-08 01:12:41 |
海外TECH |
MakeUseOf |
10 Blockchain Technology Jobs You Should Know About |
https://www.makeuseof.com/blockchain-technology-jobs/
|
rapid |
2022-11-07 16:45:15 |
海外TECH |
MakeUseOf |
The 7 Best Free Android Apps to Fake Your GPS Location |
https://www.makeuseof.com/best-android-location-spoofing-apps/
|
android |
2022-11-07 16:45:15 |
海外TECH |
MakeUseOf |
What Chrome Users Can Do When Google Ends Support for Windows 7 and 8.1 |
https://www.makeuseof.com/what-chrome-users-do-end-windows-7-8-support/
|
What Chrome Users Can Do When Google Ends Support for Windows and With Google recently announcing that it will end support from Chrome on Windows and soon here are the options existing users have |
2022-11-07 16:32:00 |
海外TECH |
DEV Community |
Client-side Routing without the JavaScript |
https://dev.to/this-is-learning/client-side-routing-without-the-javascript-3k1i
|
Client side Routing without the JavaScriptIt s been a while since I wrote a piece about a SolidJS technology innovation It s been two years now since we added Suspense on the server with Streaming SSR And even longer to go back to when we first introduced Suspense for data fetching and concurrent rendering back in While React had introduced these concepts implementing them for a fine grained reactive system was a whole other sort of beast Requiring a little imagination and completely different solutions that avoided diffing And that is a similar feeling to the exploration we ve been doing recently Inspired equal parts from React Server Components and Island solutions like Marko and Astro Solid has made it s first steps into Partial Hydration comparison at the bottom SolidStartSince releasing Solid I ve been kinda swamped Between keeping open issues down and trying to check off more boxes for adoption I definitely have felt spread thin Everything pointed to the need for a SSR meta framework an effort I started even before the release The community stepped up to help But ultimately for getting the beta out the door I would become the blocker And Nikhil Saraf never one to sit still having recently been introduced to Fresh wanted to see if he couldn t just add Islands to SolidStart Wanting to keep things focused on a release I agreed but told him to time box it as I d need his help the next day The next day he showed me a demo where he did not only add Islands recreating the Fresh experience but he had added client side routing Accidental IslandsNow the demo was rough but it was impressive He d taken one of my Hackernews demos and re implemented the recursive Islands What are recursive Islands that s when you project Islands in Islands function MyServerComponent props return lt gt props data amp amp lt MyClientIsland gt lt MyServerComponent data props data childData gt lt MyClientIsland gt lt gt Why would you want this Well there is a rule with Islands that you cannot import and use Server only components in them The reason is you don t want the client to be able to pass state to them Why Well if the client could pass state to them then they d need to be able to update and since the idea is to not send this JavaScript to the browser this wouldn t work Luckily props children enforces this boundary pretty well Assuming you disallow passing render functions render props across Island boundaries function MyClientIsland const state setState createSignal can t pass props to the children return lt div gt props children lt div gt How was he able to make this demo in such short order Well it was by chance Solid s hydration works off of matching hierarchical IDs to templates instantiated in the DOM They look something like this lt div data hk gt Each template increments a count and each nested component adds another digit This is essential for our single pass hydration After all JSX can be created in any order and Suspense boundaries resolved at any time But at a given depth all ids will be assigned in the same order client or server function Component const anotherDiv lt div data hk gt return lt div data hk gt anotherDiv lt div gt output lt div data hk gt lt div data hk gt lt div gt Additionally I had added a lt NoHydration gt component to suppress these IDs so that we could skip hydrating assets like links and stylesheets in the head Things that only ran on the server and didn t need to run in the browser And also unrelated working on the Solid integration with Astro I had added a mechanism to set a prefix for hydration roots to prevent the duplication of these IDs for unrelated islands It just never occurred to me that we could feed our own IDs in as the prefix And since it would just append on the end we could hydrate a Server rendered Solid page starting at any point on the page With lt NoHydration gt we could stop hydrating at any point to isolate the children as server only Hybrid RoutingFor all the benefits of Islands and Partial Hydration to not ship all the JavaScript you need to not require that code in the browser The moment you need to client render pages you need all the code to render the next page While Technologies like Turbo have been used to fetch and replace the HTML without fully reloading the page people have noted this often felt clunky But we had an idea a while back that we could take our nested routing and only replace HTML partials Back in March Ryan Turnquist co creator of Solid Router made this demo While not much of a visual demo it proved we could have this sort of functionality with only kb of JavaScript The trick was that through event delegation of click events we could trigger a client router without hydrating the page From there we could use AJAX to request the next page and pass along the previous page and the server would know from the route definition exactly what nested parts of the page it needed to render With the returned HTML the client side router could swap in the content Completing the PictureThe original demo was rough but it showed a lot of promise It was still had the double data problem for server only content and this was something we needed to address in the core So we added detection for when a Solid Resource was created under a server only portion of the page We knew that if what would trigger the data fetching could only happen on the server there was no need to serialize it all Islands already serialized their props passed in We also took this opportunity to create a mechanism to pass reactive context through hydrate calls allowing Context to work in the browser between Islands seperated by server content With those in place we were ready for the recursive Hackernews comments demo Ryan Carniato ryancarniato Time for a different sort of Island s Hackernews Demo solid js TypeScript JSX️Built with SolidStart on vite js️Recursive IslandsNo duplicated data serializationServer Nested Routing without Reloadkb JS Payloadsolid hn islands netlify app PM Oct But there was one thing we were missing Swapping HTML was all good for new navigations but what about when you need to refresh part of the page You wouldn t want to lose client state input focus etc Nikhil managed a version that did that But ultimately we ended up using micromorph a light DOM diff written by Nate Moore of Astro And with that we have ported the Taste movie app demo in its kb of JS glory Thanks to a gentle nudge from Addy Osmani and the great work of Nikhil David and several members of the Solid community dev rb Muhammad Zaki Paulo Riccuiti and others The search page especially shows off reloading without losing client state As you type the input doesn t lose focus even though it needs to update that whole nested panel Solid Movies DemoAnd on GithubJust to give you an idea of how absurdly small this is This is the total JavaScript navigating between two movie listings pages then navigating into a movie in various frameworks with client side routing from FrameworkDemoSizeNextkbNuxtkbAngularkbSvelteKitkbLitkbQwikCitykbSolidStart experimental kbNote Only the Solid demo is using server rendered partials so it is a bit of an unequal comparison But the point is to emphasize the difference in size Other frameworks are working on similar solutions things like RSCs in Next and Containers in Qwik but these are the demos that are available today ConclusionThe more apps we build this way the more excited I am about the technology It feels like a Single Page App in every way yet it s considerably smaller Honestly I surprise myself every time I open the network tab We re still working on moving this out of experimental and solidifying the APIs And there is more room to optimize on the server rendering side but we think there are all the makings of a new sort of architecture here And that s pretty cool |
2022-11-07 16:17:37 |
海外TECH |
DEV Community |
An introduction to the Zerops build & deploy pipeline: A Golang example |
https://dev.to/reoops/an-introduction-to-the-zerops-build-deploy-pipeline-a-golang-example-4opd
|
An introduction to the Zerops build amp deploy pipeline A Golang exampleWelcome back to our article series about Golang in Zerops In case you missed the previous post have a look at Building a Simple TODO App with Gin gonic in Zerops A step by step Guide to catch up on the basics In this post we will focus on building and deploying your own application in Zerops All you need to do is add a zerops yml configuration file to the root directory of your app We will go in detail through the file so that it works best for your application Set up your project in ZeropsFeel free to skip this section if you are already familiar with Zerops Complete these steps to have Zerops ready for your application Login to ZeropsCreate a new projectAdd a new Golang serviceNote down the names of the project and the service you will need them for future reference For our example application we created a project called myProject and a Golang service called helloworld Pipeline triggering GUI zCLI Once you have your zerops yml ready there are two options to trigger the build amp deploy pipeline Git integration Zerops GUIRecommended when your app source code is already versioned in a git repository In the detail of your Go service go to Build deploy run pipeline settings connect with either a Github or Gitlab repository and Activate pipeline trigger according to your needs zCLIIf command line is your best friend or it just better suits your use case you can Install zCLILogin to zCLI with an access token generated in GUIRun a zcli push lt project name gt lt service name gt command in our case it is zcli push myProject helloworld Nevertheless once the pipeline is triggered you can follow its progress in the Zerops GUI with more information provided Example applicationThe most simple example was chosen to eliminate the need to test the app locally before trying out Zerops You are more than welcome to build deploy and run your own Go application in Zerops while following this example only as a guide Our example app is a slight modification of the famous “Hello World program There is only one file main go The main function first sets up the getHelloWorld handler function to the hello world path and then it starts the http server with the gin gonic library The getHelloWorld function only prints “Hello World The server is listening on port which is the default port created for Go services in Zerops package mainimport fmt log net http github com gin gonic gin func main fmt Println Running http server router gin Default router GET hello world getHelloWorld log Fatal router Run func getHelloWorld c gin Context fmt Println received hello world request n c String http StatusOK Hello World We also need to initialize a go module which creates go mod and go sum files You can either do it yourself or copy the contents from our repository The project structure is as follows myProject├ーgo mod├ーgo sum├ーzerops yml└ーmain go Build amp deploy pipeline explainedFirst we will illustrate the process and then explain the key words when editing the zerops yml file It all starts with an image It is either created by combining a base image with prepare commands or loaded from the cache from previous builds if nothing has changed which contains your cached files as well The image is then run inside a build container After that all build commands are executed and a deployment artifact is created It is deployed to another runtime container where it is run Now let s have a look at the build section of the zerops yml file where you can customize the process above for your Go services Note that the service name is the root key in the zerops yml file helloworld build base optional prepare optional build required deploy required cache optionalrun To build your Go application you definitely need to run the go build command That s what the required build section is for The following command compiles our package with a single main go source file into an executable called app build go build o app main go And that s it Well at the moment the command would fail as we have not installed go itself and set the environment To save you the trouble of finding the right package and going through the installation process Zerops has created several base images with the most common dependencies preinstalled such as go and git in go base image base go build go build o app main go In case you need to use an older version of go or want to customize the dependencies in any way use the prepare section It is designed for any commands you might need to execute to successfully run the build commands For instance have you got git or wget in mind No problem here is an example prepare add apt repository ppa longsleep golang backports apt update apt install y golang git wget ln s usr lib go bin go usr bin go ln s go usr lib go build go build o app main go Another required key in the build section of zerops yml file is deploy You need to let Zerops know which files or folders need to be deployed to a container where your application will be running In our case we only need the app executable The value is an array of paths allowing you to deploy single files or entire folders see the documentation for all supported formats build base go build go build o app main go deploy app The last part of the build section is an optional cache After every build the resulting image of base image and prepare commands is cached and used next time if nothing changes in these sections of the zerops yml However all files in your project root directory are discarded unless you explicitly tell Zerops to cache them too In the Go service there is not much to cache that would significantly speed up the build process compared to the node modules folder in a Node js service for example However let s see how we can cache go dependencies as well but take it only as an example It is possible to cache any files and folders in the project root directory except the git folder Since the default folder where the go modules are stored is go pkg mod we need to change it to e g pwd mod working directory is by default the root of your project and then we can cache this folder The expected format is the same as for deploy build base go build go env w GOMODCACHE pwd mod go build o app main go deploy app cache mod To check that the cache is applied you should see in the logs that the dependencies are only downloaded during the first build Now we are done The last thing is to run your deployed code The only required key for Go services is start its value is expected to be a command that starts your application such as app runs the app executable in our example The full working zerops yml file to build deploy and run our helloworld application is as follows helloworld build base go build go build o app main go deploy app run start appTo make sure the application is up and running open the Runtime log section in the Golang service detail If you have followed our example or you have your own http server running you can also test it by enabling a subdomain for development purposes or setting up your domain Either way when the hello world request is made you should see “Hello World printed Easy right We are well aware that the real life application will be more complex If you have any issues join our Discord server to ask any questions and or share your solutions with others Also check our documentation to learn more about Zerops We are looking forward to seeing your own pipelines running Conclusion tl dr always specify build commanduse predefined base images or specify custom prepare commands to build your app or BOTH always specify which files you want to deploy to a runtime containeryou can optionally cache any deployed files to speed up future builds |
2022-11-07 16:00:44 |
Apple |
AppleInsider - Frontpage News |
How to Use Driving Focus to Auto-Reply While Driving |
https://appleinsider.com/articles/22/11/07/how-to-use-driving-focus-to-auto-reply-while-driving?utm_medium=rss
|
How to Use Driving Focus to Auto Reply While DrivingWith iOS Apple has given you even more control over Do Not Disturb especially while driving While driving with Do Not Disturb on your iPhone automatically responds to any messages with a pre scripted reply This is a great feature that helps you keep your attention on the road but the pre scripted message is a little generic You can customize your Auto Reply message though Here s how to get started with Driving Focus and change your reply message Read more |
2022-11-07 16:50:09 |
海外科学 |
NYT > Science |
The Wood Wide Web: Scientists Debate Whether Trees Really Talk |
https://www.nytimes.com/2022/11/07/science/trees-fungi-talking.html
|
lasso |
2022-11-07 16:34:13 |
海外科学 |
NYT > Science |
Total Lunar Eclipse Blood Moon on Tuesday: When and Where to Watch |
https://www.nytimes.com/2022/11/07/science/lunar-eclipse-when-where.html
|
Total Lunar Eclipse Blood Moon on Tuesday When and Where to WatchIf you re planning to wake up early to head to the polls on Tuesday you ll get a shot at seeing the moon darken as it falls into Earth s shadow |
2022-11-07 16:34:28 |
海外科学 |
NYT > Science |
National Park Service Asks Visitors to Please Stop Licking Toads |
https://www.nytimes.com/2022/11/07/us/licking-toads-toxic.html
|
experience |
2022-11-07 16:56:29 |
海外科学 |
NYT > Science |
Big Tobacco Heralds a Healthier World While Fighting Its Arrival |
https://www.nytimes.com/2022/11/06/health/tobacco-fda-menthol-ban-nicotine.html
|
Big Tobacco Heralds a Healthier World While Fighting Its ArrivalThe industry continues to fight efforts to restrict certain products like spending heavily to urge California voters to overturn a law banning tobacco flavors |
2022-11-07 16:37:07 |
金融 |
金融庁ホームページ |
「企業内容等の開示に関する内閣府令」等の改正案について公表しました。 |
https://www.fsa.go.jp/news/r4/sonota/20221107/20221107.html
|
企業内容等の開示に関する内閣府令 |
2022-11-07 17:01:00 |
金融 |
金融庁ホームページ |
アクセスFSA第231号を発行しました。 |
https://www.fsa.go.jp/access/index.html
|
アクセス |
2022-11-07 17:00:00 |
金融 |
金融庁ホームページ |
企業会計審議会第23回内部統制部会 議事次第を公表しました。 |
https://www.fsa.go.jp/singi/singi_kigyou/siryou/naibu/20221108.html
|
企業会計 |
2022-11-07 17:00:00 |
金融 |
金融庁ホームページ |
「ESG評価・データ提供機関等に係る専門分科会」 (第8回)を開催します。 |
https://www.fsa.go.jp/news/r4/singi/20221107-2.html
|
評価 |
2022-11-07 17:00:00 |
金融 |
金融庁ホームページ |
「監査法人のガバナンス・コードに関する有識者検討会」(第7回)を開催します。 |
https://www.fsa.go.jp/news/r4/singi/20221107.html
|
監査法人 |
2022-11-07 17:00:00 |
金融 |
金融庁ホームページ |
「デジタル・分散型金融への対応のあり方等についての研究会」(第8回)を開催します。 |
https://www.fsa.go.jp/news/r4/singi/20221107-3.html
|
Detail Nothing |
2022-11-07 17:00:00 |
金融 |
金融庁ホームページ |
金融庁職員の新型コロナウイルス感染について公表しました。 |
https://www.fsa.go.jp/news/r4/sonota/20221107.html
|
新型コロナウイルス |
2022-11-07 17:00:00 |
金融 |
金融庁ホームページ |
監査法人のガバナンス・コードに関する有識者検討会(第6回)議事録を公表しました。 |
https://www.fsa.go.jp/singi/governance_code/gijiroku/20221024.html
|
監査法人 |
2022-11-07 16:59:00 |
金融 |
金融庁ホームページ |
鈴木財務大臣兼内閣府特命担当大臣閣議後記者会見の概要(令和4年11月4日)を掲載しました。 |
https://www.fsa.go.jp/common/conference/minister/2022b/20221104-1.html
|
内閣府特命担当大臣 |
2022-11-07 16:30:00 |
ニュース |
BBC News - Home |
UK drops plans for £250m national flagship yacht |
https://www.bbc.co.uk/news/uk-politics-63547568?at_medium=RSS&at_campaign=KARANGA
|
boris |
2022-11-07 16:21:09 |
ニュース |
BBC News - Home |
Just Stop Oil: Activists carry out M25 protest despite police plan |
https://www.bbc.co.uk/news/uk-england-london-63539967?at_medium=RSS&at_campaign=KARANGA
|
junctions |
2022-11-07 16:38:38 |
ニュース |
BBC News - Home |
Sir Gavin Williamson 'has not apologised' to Wendy Morton, friends say |
https://www.bbc.co.uk/news/uk-politics-63545502?at_medium=RSS&at_campaign=KARANGA
|
gavin |
2022-11-07 16:02:03 |
ニュース |
BBC News - Home |
Liverpool owners Fenway Sports Group 'would consider new shareholders' |
https://www.bbc.co.uk/sport/football/63545657?at_medium=RSS&at_campaign=KARANGA
|
shareholders |
2022-11-07 16:03:57 |
海外TECH |
reddit |
Elon Musk Tells Twitter Followers to Vote for a Republican Congress |
https://www.reddit.com/r/politics/comments/yoryoj/elon_musk_tells_twitter_followers_to_vote_for_a/
|
Elon Musk Tells Twitter Followers to Vote for a Republican Congress submitted by u kapalkonetic to r politics link comments |
2022-11-07 16:23:15 |
コメント
コメントを投稿