IT |
気になる、記になる… |
エレコム、iPhoneやAirPodsとApple Watchを同時充電可能なワイヤレス充電器を発売 |
https://taisy0.com/2022/11/22/165306.html
|
airpods |
2022-11-22 13:41:35 |
IT |
気になる、記になる… |
エレコム、「Apple Pencil (第1世代・第2世代)」専用の交換ペン先4種類を発表 |
https://taisy0.com/2022/11/22/165296.html
|
applepencil |
2022-11-22 13:30:21 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
juliaで出力したcsvファイルをpython numpyで呼び出す |
https://qiita.com/takenakadx/items/738f4a2172730787d6f4
|
読み出し |
2022-11-22 22:25:05 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
【Rails】DB接続のないログイン画面でバリデーションする |
https://qiita.com/takecn/items/48f6a4e11cc695bfb50d
|
activerecord |
2022-11-22 22:26:22 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
CloudFormationでVPCを構築する方法 |
https://qiita.com/kazunobu2211/items/86812860bea312c8822d
|
cloudformation |
2022-11-22 22:46:59 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
Carrierwaveとfog-awsを利用したS3へのアップロードが正常にできるまでに試したこと |
https://qiita.com/jibirian999/items/cff4dfeb94c70c537a9c
|
carrierwave |
2022-11-22 22:27:05 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
CloudFormationでテンプレートを新規で作成する際の手順 |
https://qiita.com/kazunobu2211/items/3fd42d5482a3331332d0
|
cloudformation |
2022-11-22 22:12:08 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
【解決】EC2にてアセットファイルをコンパイルしたときにエラーが出た。 |
https://qiita.com/ta--i/items/e44e3c4299efd821ac6f
|
railsassetsprecompilerai |
2022-11-22 22:11:49 |
Git |
Gitタグが付けられた新着投稿 - Qiita |
【Git】rebaseとは |
https://qiita.com/takopa/items/29a7d5105fe2d0b5457f
|
merge |
2022-11-22 22:24:58 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
Carrierwaveとfog-awsを利用したS3へのアップロードが正常にできるまでに試したこと |
https://qiita.com/jibirian999/items/cff4dfeb94c70c537a9c
|
carrierwave |
2022-11-22 22:27:05 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
【Rails】DB接続のないログイン画面でバリデーションする |
https://qiita.com/takecn/items/48f6a4e11cc695bfb50d
|
activerecord |
2022-11-22 22:26:22 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
【解決】EC2にてアセットファイルをコンパイルしたときにエラーが出た。 |
https://qiita.com/ta--i/items/e44e3c4299efd821ac6f
|
railsassetsprecompilerai |
2022-11-22 22:11:49 |
技術ブログ |
Developers.IO |
Amazon CloudFrontのContinuous DeploymentでHeader-basedな振り分けをしてみた |
https://dev.classmethod.jp/articles/amazon-cloudfront-continuous-deployment-policy-type-header-based/
|
amazon |
2022-11-22 13:13:45 |
海外TECH |
MakeUseOf |
Get More Out of Notion With These 5 Chrome Extensions |
https://www.makeuseof.com/chrome-extensions-notion/
|
extra |
2022-11-22 13:30:15 |
海外TECH |
DEV Community |
Meme... Tuesday? 🤔 |
https://dev.to/ben/meme-tuesday-359j
|
Meme Tuesday This week s post is coming in a day late sorry to everyone who showed up yesterday expecting the memes Today s cover image comes from last week s thread DEV is an inclusive space Humor in poor taste will be downvoted by mods |
2022-11-22 13:30:01 |
海外TECH |
DEV Community |
Implementing a DAO in a growing software development company |
https://dev.to/cloudx/implementing-a-dao-in-a-growing-software-development-company-1mo1
|
Implementing a DAO in a growing software development companyCo written with Pablo CoronelWhat if for the activities you do on your day to day you were rewarded with tokens that would allow you to participate in company decisions Sounds great right It is possible We might not all be part of the Roy family from Succession but we can have access to certain decisions of our company depending on our participation in it In this article we will tell you about the idea that led us to build our own Decentralized Autonomous Organization DAO and how we are implementing it within CloudX The Roy family from Succession series First things first…What is a DAO A DAO is an organization that runs on blockchain and is controlled in its entirety by computational algorithmsーaka smart contracts Once published to the blockchain smart contracts execute autonomously and determine how the DAO s participants should behave A DAO is coordinated in a decentralized horizontal fashion meaning that each one of its participants has an equal right to make decisions Additionally if any modification needs to be made to the DAO all of its members must reach consensus in order to apply the change There are infinite use cases for DAOs but they are specially being implemented in the financial world In LatAm there are many projects exploring DAOs application in other fields for example to provide transparency in nonprofit organizations or in social verification methods such as Proof of Humanity Now what is our motivation Usually we start most of the initiatives of the Research amp Development team in CloudX with a simple question “I wonder if «some crazy idea»is possible to do This case was not different In CloudX we frequently open the decision making process to the whole team How Through polls in Slack That made us think would it be possible to implement a similar participation system but based on crypto tokens This simple question took us down a rabbit hole to a final outcome let s create a Decentralized Autonomous Organization DAO for internal use within CloudX Our main goals are to Have active participation of the team in the decision making process Have weighted governance while voting for company initiatives Add gamification and fun to it with rewards for employees By implementing a DAO in our company not only we are expecting to meet these goals but also we get to familiarize our team with the crypto ecosystem while learning about DAOs meta transactions and dApps Implementing a DAO in a software companyIn our DAO users are rewarded with governance tokens for different activities they can engage in within CloudX There is a vast spectrum of activities across the different areas of the company for example publishing a tech article in Dev to interviewing candidates giving a tech talk preparing a course or workshop assisting other coworkers reaching milestones and so on This brings Gamification to the table because when it s time to vote for new proposals votes are weighted proportionally to the amount of tokens the voter holds The proposals we are thinking about voting via our DAO are those that involve different team members of the company in daily activities They can be very simple things such as deciding on which date and time we should hold an all hands meeting proposing topics for internal workshops or deciding what our company merch should be Nevertheless we naturally ran into an interesting problem In the blockchain ecosystemーand DAOs are no differentーevery transaction has a fee We absolutely don t want CloudX members having to spend money from their wallets in order to vote for initiatives This problem led us to think of a solution that allowed CloudX to cover transaction fees in a transparent way To solve this problem we came up with the use of meta transactions which are transactions that are signed off chainーoutside the blockchain itselfーby our DAO s users These meta transactions are then embedded into another transaction which in turn is submitted and paid by a different account that will ultimately take care of the costs In consequence this enables the participants of our DAO to interact with it but not having to worry about the network s fees How are we doing it We are creating a dAppーdecentralized applicationー which is a type of application where operations do not depend on centralized control points or servers but works based on a decentralized network Our DAO will run on Ethereum blockchain For the development we chose Solidity which is a language with a large community and an extensive tool set It also gives us the possibility to make our smart contracts compatible with many of the most popular and widely used networks For the operation of our DAO we have two smart contracts that articulate it as follows GovernorContract Manages the governance of our DAO the creation and execution of proposals the voting and quorum required for approval and the duration of each proposal GovernanceToken Manages votes and participation Each participant of the DAO holds governance tokens in their wallets Some of the tools we are using for this development are OpenZeppelin provides us with a set of smart contracts that are audited and approved by its community which makes it completely secure for implementation In our case the governor contracts and the governance tokens were created with this library Foundry is a suite of tools for the development of smart contracts that allows us to manage dependencies compile our contracts run tests deploy them and interact with them through scripts All of this uses Solidity in its entirety We are considering using OpenGSN as the protocol to provide us with the infrastructure to handle our users meta transactions It provides us with different relayers that will receive the meta transactions from our users execute the final transaction and pay the network cost What s next As our DAO starts to gain adoption within CloudX we will continue to improve it adding new features in order to make it more robust and empower people to participate in it Some of the ideas we have in mind for future iterations are to Enable the DAO to be self managed and able to define the weight amount of tokens per activity Depending on the level of adoption analyze the need to apply some adjustment mechanism to balance longstanding holders versus new members of the organization Evaluate the possibility to offer buy back to holders meaning that somebody who owns tokens can sell them back to CloudX Brainstorm additional integrations that enable new activities that can mint tokens Host our DAO in a decentralized way via a protocol such as IPFS As we do in many projects this internal initiative from the Research amp Development team of CloudX is a sort of “proof of concept All the time we are coming up with ideas to use technology to improve our daily tasks In CloudX we are passionate about what we do and we think of technology as an end in itself And why not we also like to have fun with it and transform our organization with a gamification processーthat has also a lot to do with learningーand that has as a result the benefit of making more people participate in our decision making process |
2022-11-22 13:26:48 |
海外TECH |
DEV Community |
Serverless Contracts to the Rescue of your Fullstack Application |
https://dev.to/sc0ra/serverless-contracts-to-the-rescue-of-your-fullstack-application-3f87
|
Serverless Contracts to the Rescue of your Fullstack Application Clear and steady interfaces for stable applications Introducing a breaking change in the input or output of your API and not updating the frontend client might be the most common error a fullstack developper makes at the start of its career and even later Interfaces between different services are one of the weakest if not the weakest point in an application right after copy pasted stackoverflow one liners Thats why you should put a lot of effort in defining those interfaces However it can become quite repetitive and that s what we wanted to tackle with Serverless contracts Serverless Contracts At Kumo we build fullstack applications using Serverless and TypeScript During our multiple projects we encountered the problem of varying interfaces a lot That is why we decided to build Swarmion a tool to build stable serverless application at scale One of its most important feature is Serverless Contracts What we wanted When you want to build a tech tool you should keep a product approach as much as possible It can help you defining where the value sits and where you should be putting work So when we first thought about contracts we focused on our main use case interfaces between frontend and backend microservices with the backend deployed behind API Gateway With that in mind we wanted to address the folowing pain points with Serverless Contracts Usable in both the backend and the frontendStrong type safety during static analysisIntelliSense in the IDERuntime input and output validation at the backend for client side errors handlingReduced boilerplate in provider API and consumer frontend for every handler requestHuman readable definition What we built Now lets dive into some code with your first Serverless contract contracts users contracts src contracts getUser contract tsimport ApiGatewayContract from swarmion serverless contracts import pathParametersSchema userEntitySchema from schemas const getUserContract new ApiGatewayContract id users getUser integrationType httpApi authorizerType undefined path users userId method GET pathParametersSchema queryStringParametersSchema undefined headersSchema undefined bodySchema undefined outputSchema userEntitySchema export default getUserContract contracts users contracts src contracts getUser schemas tsexport const pathParametersSchema type object properties userId type string required userId additionalProperties false as const export const userEntitySchema type object properties userId type string userName type string email type string required userId userName email additionalProperties false as const There is a lot of things to see here The getUserContract This class instance contains all the informations defining your endpoint interface Implementation details of your endpoint A unique identifierThe api gateway type V or V The authorizer type cognito jwt lambda or none The path and method of your endpointThe different parts of the incoming request path parametersquery string parametersheadersbodyThe format of the output of your endpoint The last categories are defined using JSON Schemas JSON Schemas We use JSON Schemas for multiple reasons They are a well known interface definition format in the javascript ecosystem With the json schema to ts lib we can define our TypeScript types directly from those schemas without any duplication and provide fully typed helpers as we will see later They allow us to perform run time validation with ajv In this contract we define an outputSchema and a pathParameterSchema The other options are left undefined because those inputs are not used by our endpoint Now that we are settled with our contract we can start using it in our application Provider side featuresFirst we want to define our endpoint using our contract With the Serverless framework you do it by defining elements the function trigger and its handler Serverless contracts provide helpers for both getTrigger config tsimport getTrigger from swarmion serverless contracts import getUserContract from my app contracts getUserContract export default handler getHandlerPath dirname events getTrigger getUserContract This method defines the path and method that will trigger the lambda based on the contract information If you define an authorizer in your contract you can provide it there directly and it will prevent you to overwrite the trigger values config tsimport getTrigger from swarmion serverless contracts import getUserContract from my app contracts getUserContract export default handler getHandlerPath dirname events getTrigger getUserContract method delete ts will throw an error because delete get authorizer arn aws will also throw here because we did not define an authorizer in this contract getHandler ️ handler tsimport getHandler from swarmion serverless contracts import getUserContract from my app contracts getUserContract const handler getHandler getUserContract async event gt event pathParameters userId will have type string event toto will fail type checking event pathParameters toto will also fail return id name Doe also type safe export default handler The getHandler helpers does multiple things Full typing for input and output in IDEBody parsing and output serializationHTTP errors handlinginput and output runtime validation using ajv Consumer featuresOnce the endpoint is defined we want to request it from another service a frontend application for example To do so you can use consumer helpers to generate type safe requests getFetchRequest useGetUser tsimport getFetchRequest from swarmion serverless contracts import getUserContract from my app contracts getUserContract await getFetchRequest getUserContract fetch pathParameters userId correctly typed headers my header hello will fail type checking baseUrl Conclusion Swarmion Serverless contracts helps you build scalable applications with multiple services and strong interfaces between them We presented you API Gateway contracts but we also recently implemented EventBridge contracts for message interfaces between services Also Swarmion comes with more features including a project and service generator which implements all the best practices we gathered at Kumo You can check our developer guide here everything is open source feel free to contact us and contribute |
2022-11-22 13:00:55 |
Apple |
AppleInsider - Frontpage News |
Apple's iCloud Private Relay being abused in $65M ad fraud |
https://appleinsider.com/articles/22/11/22/apples-icloud-private-relay-being-abused-in-65m-ad-fraud?utm_medium=rss
|
Apple x s iCloud Private Relay being abused in M ad fraudApple s iCloud Private Relay is said to be causing problems for online advertisers with an actively used exploit potentially costing U S firms over million in iCloud Private RelayApple poses iCloud Private Relay as a way to protect users privacy on the Internet using a complex infrastructure to mask the user from tracking However that same system may be a headache for some online advertisers who may have lost money due to potential fraud Read more |
2022-11-22 13:57:33 |
Apple |
AppleInsider - Frontpage News |
How to Watch Disney+ on Mac |
https://appleinsider.com/inside/macos/tips/how-to-watch-disney-on-mac?utm_medium=rss
|
How to Watch Disney on MacDisney is Disney s repository for nearly all of its video content spanning several different brands and channels Here s how to watch Disney on a Mac Watch Disney on MacDisney launched its streaming service in to compete with other services It offers original films and TV series and features content from brands including Pixar Marvel Star Wars and National Geographic Read more |
2022-11-22 13:10:20 |
Apple |
AppleInsider - Frontpage News |
Amazon's early Black Friday Apple deals are live: $79 AirPods, $22 AirTag, $400 off MacBook Pro |
https://appleinsider.com/articles/22/11/21/amazons-early-black-friday-apple-deals-are-live-79-airpods-22-airtag-400-off-macbook-pro?utm_medium=rss
|
Amazon x s early Black Friday Apple deals are live AirPods AirTag off MacBook ProAmazon has launched fresh deals on Apple products for the week of Black Friday with stellar savings on AirTags Macs iPads AirPods and more Save on all things Apple at Amazon The e commerce giant has dozens of markdowns on Apple devices from AirTags to off the standard inch MacBook Pro We ve collected our favorites below with options for tricked out gifts along with budget friendly stocking stuffers For hundreds of additional deals be sure to check out the AppleInsider Apple Price Guide where CTO Macs are up to off and AppleCare discounts can be found at select retailers Read more |
2022-11-22 13:59:49 |
海外TECH |
Engadget |
Google's Pixel Buds Pro are cheaper than ever for Black Friday |
https://www.engadget.com/google-pixel-buds-pro-black-friday-sale-133207724.html?src=rss
|
Google x s Pixel Buds Pro are cheaper than ever for Black FridayThis is a prime opportunity to go shopping if you re looking for more Android friendly alternatives to Apple AirPods Amazon is selling the Google Pixel Buds Pro for as part of a Black Friday sale ーa full discount that represents the best price we ve seen yet for the true wireless earbuds The savings apply regardless of color so you can get a style that matches your phone or fashion sense We ll be frank these are the best sounding Pixel Buds yet On top of better bass than other models they add active noise cancellation ANC that helps block the outside world These are the Google earbuds you want if you have a noisy commute or office or just want to hear more detail in your favorite songs The seven hour battery will help you get through most of a typical workday and automatic Android device switching helps if you also have a tablet There are limitations While the Pixel Buds Pro do work with iPhones and other non Android devices you will lose functionality like the auto device switching there is still multipoint connectivity We also weren t thrilled with the call quality and transparency mode If you spend more time listening to music than talking to friends though these in ears are an easy pick Follow EngadgetDeals on Twitter and subscribe to the Engadget Deals newsletter for the latest tech deals and buying advice |
2022-11-22 13:32:07 |
海外科学 |
NYT > Science |
The Nature Conservancy Buys Insurance to Protect Hawaii’s Coral Reefs |
https://www.nytimes.com/2022/11/21/climate/nature-conservancy-insurance-hawaii-coral-reef.html
|
The Nature Conservancy Buys Insurance to Protect Hawaii s Coral ReefsIf worsening coastal storms damage the reefs the Nature Conservancy will get a payout and use the money to repair the coral ーwork that state officials can t afford to do |
2022-11-22 13:15:58 |
ニュース |
BBC News - Home |
Nottingham: Mother dies after fire that killed her children |
https://www.bbc.co.uk/news/uk-england-nottinghamshire-63717024?at_medium=RSS&at_campaign=KARANGA
|
extra |
2022-11-22 13:30:42 |
ニュース |
BBC News - Home |
King Charles welcomes South Africa's Cyril Ramaphosa at start of state visit |
https://www.bbc.co.uk/news/uk-63711177?at_medium=RSS&at_campaign=KARANGA
|
london |
2022-11-22 13:48:00 |
ニュース |
BBC News - Home |
World Cup 2022: Why is there so much stoppage time being added on? |
https://www.bbc.co.uk/sport/football/63710986?at_medium=RSS&at_campaign=KARANGA
|
stoppage |
2022-11-22 13:22:17 |
コメント
コメントを投稿