python |
Pythonタグが付けられた新着投稿 - Qiita |
poetry installが動いているか確認したい |
https://qiita.com/shnchr/items/f579c8bcee45c19a58d9
|
poetryinstallが動いているか確認したいこの記事についてPoetryで、python仮想環境を作ろうとしたときに、下記の表示で止まっていてインストールが動いているか分からない。 |
2022-01-17 20:13:26 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
【Rails】「rails g controller コントローラー名」を実行すると...? |
https://qiita.com/yosaku_ibs/items/fa8f04592cdac2c95ccb
|
controller |
2022-01-17 20:56:08 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
【Rails】「rails g controller コントローラー名」を実行すると...? |
https://qiita.com/yosaku_ibs/items/fa8f04592cdac2c95ccb
|
controller |
2022-01-17 20:56:08 |
海外TECH |
MakeUseOf |
How Tumblr's iOS App Is Beating Apple's App Store Guidelines |
https://www.makeuseof.com/tumblr-ios-beats-apple-app-store-sensitive-content-guidelines/
|
apple |
2022-01-17 11:19:01 |
海外TECH |
DEV Community |
Day 80 of 100 Days of Code & Scrum: Thinking of Learning MySQL or Flutter |
https://dev.to/rammina/day-80-of-100-days-of-code-scrum-thinking-of-learning-mysql-or-flutter-1bbi
|
Day of Days of Code amp Scrum Thinking of Learning MySQL or FlutterHappy new week everyone I don t think anyone says happy new week but whatever Today I planned out my Weekly Sprint Goals I intend to finish the Services pages for my company website then deploy them after fixing any bugs and cleaning up the styling for them I also intend to continue learning Next js Scrum and SWR Lastly I would like to learn new technologies and I m thinking of MySQL postgreSQL or Flutter but I will most likely do it if I have the extra time Anyway let s move on to my daily report YesterdayJust like I do every weekend I did my th Weekly Sprint Review and Retrospective in which I went over what I ve managed to do well what my shortcomings were and what I could do better in the future TodayI set up my weekly Sprint Goals which will focus on learning Next js Scrum and SWR updating my website and maybe picking up another technology when I have the extra time Weekly Sprint Goals Company Websitefinish building the Services pages for my company websitedeploy the updates after fixing any bugs and cleaning up the styling for them Next jscontinue learning by reading the Next js documentation continue going through Next js amp React by Maximilian Schwarzmüller learn SWR and go through the documentation Scrumcontinue to learn more about Scrum through reading articles and watching videos Learn New SkillsIf I have the extra time I m going to learn either MySQL postgreSQL or Flutter Thank you for reading Have a good day Resources Recommended ReadingsThe Scrum GuideNext js amp React by Maximilian SchwarzmüllerNext js official documentationSWR official documentation DISCLAIMERThis is not a guide it is just me sharing my experiences and learnings This post only expresses my thoughts and opinions based on my limited knowledge and is in no way a substitute for actual references If I ever make a mistake or if you disagree I would appreciate corrections in the comments Other MediaFeel free to reach out to me in other media |
2022-01-17 11:38:29 |
海外TECH |
DEV Community |
GraphQL Fundamentals: Hands-On |
https://dev.to/michlbrmly/graphql-fundamentals-hands-on-30lk
|
GraphQL Fundamentals Hands OnIn this post we will explore some of the fundamental concepts of GraphQL in a hands on way The goal of this post is to allow the beginner to gain a familiarity with the basic features of GraphQL Setting upThe best way to learn is to do So this tutorial will be light on theory and heavy on practical exercises So we ll need a real graphql server to play with Let s use Vendure an open source GraphQL e commerce framework I chose Vendure because it is really easy to set up all you need is to make sure you have Node js installed Plus I built it so I know the API quite well To install a local instance of Vendure run npx vendure create my shopand follow the prompts Select SQLite and use the defaults for all other prompts Installation should take about minutes and then you ll have a full production grade GraphQL server pre populated with sample data ready to play with Once installation is complete open up http localhost shop api in your browser Note if you are unable to install Vendure locally for any reason e g you are on a mobile device you can still follow along with this article by using the public demo server at demo vendure io shop api You should see the GraphQL Playground an interactive interface for working directly with the GraphQL server This is what we ll be using for all the exercises on this article Your first queryGraphQL allows us to fetch data by sending queries Queries are similar to GET requests in a REST API Let s write our first query query product id id name Copy this into the left pane of the playground and then press the play button You should see the response in the right pane data product id name Laptop Congratulations You executed your first graphql operation What did we do here Let s analyze each part of this query First of all we are declaring that we are making a query This is in contrast to a mutation which we will cover below Technically you can omit that query keyword but we ll keep using it just to be more explicit product Next we are specifying the query we wish to use product Each GraphQL server defines a set of possible queries Since Vendure is an e commerce server it exposes queries related to products orders customers etc id We then pass an argument to our query specifying the ID of the product we want to return You can think of this very much like a function call Just like function calls GraphQL queries can take zero one or more arguments id name We finally specify the fields we want to return Fields are like properties on a JavaScript object In this case we want to know just the ID and name of the product Selecting fieldsOne of the big benefits of GraphQL over REST APIs is that you can specify the exact data you need and the server will return those and only those fields This means you can avoid sending too much data over the wire leading to faster data transfer and lower bandwidth usage Let s try adding some more fields to our query Add the slug and description fields to the selection and press the play button You should see that these two new fields are added to the result data product id name Laptop slug laptop description Now equipped with seventh generation Intel Core processors Now let s try an experiment what happens if we add a field to our selection that does not actually exist on our product Try adding the field age and you ll get the following result error errors message Cannot query field age on type Product Did you mean name locations line column Schema amp TypesThis highlights another important property of GraphQL it is statically typed That is to say the exact fields available and the types of data they can hold strings numbers dates etc are explicitly defined in a schema The schema in fact defines all available queries and mutations and the exact type of objects they can return This is an extremely powerful property of GraphQL and allows things like auto complete and automatic validation of data you send to the server You have already seen the auto complete as you typed the field names above You can also see all available fields on a given object by pressing ctrl space At the bottom of the auto complete popup in orange text you ll see the type of that field GraphQL types are analogous to primitives in JavaScript String Boolean Int Float amp ID In GraphQL these are known as scalar types When a field represents a more complex data type GraphQL supports object types In fact we ve been working with an object type all along the Product object That s right queries themselves have a type In this case the product query has the type Product Reference graphql org Scalar Types graphql org Object Types Nested ObjectsAnother of the major benefits of GraphQL is that a single query allows you to fetch an object plus nested relations What would require several individual http requests using a REST API can be achieved in a single GraphQL query To illustrate that let s update our query to select all the variants of our Laptop product query product id id name slug description variants name sku price Now when we run this we ll get the requested fields on each of the laptop variants data product id name Laptop slug laptop description Now equipped with seventh generation Intel Core processors variants name Laptop inch GB sku L price name Laptop inch GB sku L price name Laptop inch GB sku L price name Laptop inch GB sku L price In a REST API we d typically need to make separate requests to get all that data one for the product and one for each of the variants Hands on QueriesNow that we know the fundamental concepts of GraphQL queries spend some time exploring the Vendure API Use the ctrl space hotkey to bring up the available queries and their fields MutationsMutations are the counterpart to queries and as the name suggests they are used to mutate change data Mutations are similar to POST or PUT requests in a REST API Let s execute a mutation Paste this into the left hand panel of the playground mutation addItemToOrder productVariantId quantity on Order id state totalQuantity totalWithTax on ErrorResult errorCode message Press the play button and you ll see something like this data addItemToOrder id state AddingItems totalQuantity totalWithTax Let s once again break down each part of the mutation syntax mutation declares that we are dealing with a mutation as opposed to a query Unlike with queries this keyword is not optional addItemToOrder the name of the mutation as declared by our schema productVariantId like queries mutations can and usually do take arguments on Order this is known as an inline fragment Since things might go wrong when adding an item to an order e g insufficient stock the mutation will return either an Order object or an ErrorResult object This syntax is like saying if it returns an Order then give me the ID state totalQuantity amp totalWithTax fields If it returns an ErrorResult then give me the errorCode and message fields You can try this out by entering quantity and observing what happens As you can see mutations share all the same parts as a query In fact the only real difference is the mutation keyword at the start Just like with queries they have arguments and they return a type In this case the type is a combination of several object types known in GraphQL as a union type a more advanced topic out of the scope of this tutorial Reference graphql org Mutations graphql org Union Types Hands on MutationsNow you can explore for yourself how mutations work using the GraphQL playground With the initial mutation keyword in place pressing ctrl space will now bring up auto complete on all available mutations Here s a challenge for you see if you are able to successfully execute the adjustOrderLine mutation in order to change the quantity of laptops in your order Wrapping UpIn this post we ve covered how to set up a full featured GraphQL server using Vendure and then learned the basics of queries and mutations These two concepts form the basis of everything you ll be doing with GraphQL But of course this is more that you can learn fragments interfaces named operations variables aliases and more If you like the style of this tutorial and would like to see a follow up that takes the next step into these more advanced topics please leave a comment below And if you enjoyed working with Vendure check out the GitHub repo and leave a star |
2022-01-17 11:16:52 |
海外TECH |
DEV Community |
Django v4 Release Summary - Free Samples Included |
https://dev.to/sm0ke/django-v4-release-summary-free-samples-included-4ekc
|
Django v Release Summary Free Samples IncludedHello Coders This article is a quick overview over the latest release of Django Framework In December Django Version has been released with various upgrades to the framework improvements deprecations and also a few breaking changes At the end of the article a few OSS samples that use Django v are mentioned Thanks for reading Release highlightszoneinfo default time zoneIn this version the default pytz time zone has been migrated to zoneinfo Template based form renderingForms Formsets and ErrorList are now rendered using the template engine to enhance customization RedisCache backend This feature provides built in support for caching with Redis via redis py libraryscrypt password hasherThis new password hasher is more secure compared to PBKDF the default hashing algorithm before v Deprecated FeaturesPostgreSQL v support droppedPostgreSQL v and earlier are not supported by Django v Django v will only support PostgreSQL ≥v Oracle v and c support droppedStarting with Django the Oracle version should be at least v or above The Django team has officially removed support for Oracle versions c and earlier Breaking ChangesCSRF TRUSTED ORIGINS config parameterValues in the CSRF TRUSTED ORIGINS setting must include the scheme e g http or https instead of only the hostname Also this might be required in the project configuration settings py sample partial content ALLOWED HOSTS localhost localhost CSRF TRUSTED ORIGINS http localhost For curious minds I will mention a few open source starters released under the MIT license on Github already updated to Django v Django Bootstrap VoltVolt Dashboard is a free and open source Bootstrap Admin Dashboard featuring over components example pages and plugins with Vanilla JS Django Bootstrap Volt Source CodeDjango Bootstrap Volt LIVE deployment Soft UI Design DjangoSoft UI Design System is a Premium Bootstrap UI Kit designed by Creative Tim designed for those who like bold elements and beautiful websites Soft UI Design Django Source CodeSoft UI Design Django LIVE Demo Datta Able DjangoThe design is a simple BS released under the MIT license Datta Able Django Source CodeDatta Able Django LIVE deploymentThanks for reading For more resource and support feel free to access Get support via email and DiscordFree Dashboards crafted in Flask Django and React |
2022-01-17 11:16:26 |
海外TECH |
Engadget |
Amazon sale slashes Fire tablet prices by up to 50 percent |
https://www.engadget.com/amazon-sale-slashes-up-to-50-percent-off-fire-tablets-113342331.html?src=rss
|
Amazon sale slashes Fire tablet prices by up to percentIf you ve been waiting for a sale to buy one of Amazon s Fire HD tablets today might be the day You can currently pick up some key products on sale with the best deals on the Fire HD and Fire HD Plus available at all time low discounts of percent The Fire is also back to its Black Friday pricing and kids tablets have big discounts as well nbsp Buy Fire tablet at Amazon Buy Fire HD tablet at Amazon Buy Fire HD Plus at Amazon We gave the Fire HD a decent score in our Engadget review thanks to the new design switch to USB C charging long battery life and solid performance The Fire HD Plus however offers a bit more RAM GB instead of GB along with a faster processor and wireless charging support Both models have GB of storage that s expandable via microSD The Fire is more of a budget option that comes with a inch IPS display MP front and rear cameras and hands free Alexa controls It also offers roughly seven hours of battery life depending on what you re doing The biggest drawback is the lack of Google apps but at it s great as a couch device for reading checking social media and browsing the web nbsp If you re shopping for the younger set meanwhile the Fire Kids Pro tablet is on sale for or half off the regular price That price makes it an excellent budget kids option thanks to the decent specs a quad core processor dual cameras and expandable storage along with the Kids content that includes educational content from National Geographic Rabbids Coding LEGO and others Buy Fire Kids Pro tablet at Amazon Buy Fire HD Kids Pro tablet at Amazon Buy Fire HD Kids Pro tablet at Amazon Finally the Fire HD Kids Pro Tablet with similar features to the Fire HD Kids Pro but a slightly larger screen is available for for a savings of percent from the regular price Finally the Fire HD Kids Pro tablet comes with a inch p display dual cameras USB C and GB of RAM That model is available for instead of a discount of or percent nbsp Follow EngadgetDeals on Twitter for the latest tech deals and buying advice |
2022-01-17 11:33:42 |
金融 |
RSS FILE - 日本証券業協会 |
FTとの共催による 日本市場のプロモーション・イベント(2022年2月8日)の開催等について |
https://www.jsda.or.jp/about/international/JapanPR2022.html
|
日本市場 |
2022-01-17 12:35:00 |
金融 |
金融庁ホームページ |
入札公告等を更新しました。 |
https://www.fsa.go.jp/choutatu/choutatu_j/nyusatu_menu.html
|
公告 |
2022-01-17 13:00:00 |
ニュース |
BBC News - Home |
Djokovic back in Serbia after Australia deportation over visa row |
https://www.bbc.co.uk/news/world-europe-60025236?at_medium=RSS&at_campaign=KARANGA
|
status |
2022-01-17 11:23:27 |
ニュース |
BBC News - Home |
Amazon halts plan to block UK Visa credit cards amid talks |
https://www.bbc.co.uk/news/business-60022166?at_medium=RSS&at_campaign=KARANGA
|
payment |
2022-01-17 11:47:58 |
ニュース |
BBC News - Home |
Boris Johnson not in danger over parties, says Nadhim Zahawi |
https://www.bbc.co.uk/news/uk-politics-60022022?at_medium=RSS&at_campaign=KARANGA
|
boris |
2022-01-17 11:56:29 |
ニュース |
BBC News - Home |
Anne Frank betrayal suspect identified after 77 years |
https://www.bbc.co.uk/news/world-europe-60024228?at_medium=RSS&at_campaign=KARANGA
|
diarist |
2022-01-17 11:09:14 |
ニュース |
BBC News - Home |
Channel migrants: Royal Navy set to take over English Channel operations |
https://www.bbc.co.uk/news/uk-60021252?at_medium=RSS&at_campaign=KARANGA
|
asylum |
2022-01-17 11:42:32 |
ニュース |
BBC News - Home |
Tonga tsunami: Major damage reported amid communications black out |
https://www.bbc.co.uk/news/world-asia-60019814?at_medium=RSS&at_campaign=KARANGA
|
black |
2022-01-17 11:31:28 |
ニュース |
BBC News - Home |
Pacific volcano: British woman reported missing after Tonga tsunami |
https://www.bbc.co.uk/news/uk-60019056?at_medium=RSS&at_campaign=KARANGA
|
angela |
2022-01-17 11:12:15 |
ニュース |
BBC News - Home |
Gracie Spinks death: Parents to take Gracie's Law petition to MPs |
https://www.bbc.co.uk/news/uk-england-derbyshire-60022595?at_medium=RSS&at_campaign=KARANGA
|
mpsgracie |
2022-01-17 11:39:20 |
ニュース |
BBC News - Home |
ScotWind offshore auction raises £700m |
https://www.bbc.co.uk/news/uk-scotland-scotland-business-60002110?at_medium=RSS&at_campaign=KARANGA
|
estate |
2022-01-17 11:56:38 |
ニュース |
BBC News - Home |
Novak Djokovic: What next for 20-time Grand Slam champion after Australia row? |
https://www.bbc.co.uk/sport/tennis/59995538?at_medium=RSS&at_campaign=KARANGA
|
Novak Djokovic What next for time Grand Slam champion after Australia row Novak Djokovic has been deported from Australia following the row over a vaccine exemption What happens next for the Serb |
2022-01-17 11:53:29 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
ノダ(7879)、2期連続の「増配」を発表して、配当 利回り3.7%にアップ! 配当額は2年で1.4倍に増加、 2022年11月期は前期比4円増の「1株あたり36円」に! - 配当【増配・減配】最新ニュース! |
https://diamond.jp/articles/-/293567
|
ノダ、期連続の「増配」を発表して、配当利回りにアップ配当額は年で倍に増加、年月期は前期比円増の「株あたり円」に配当【増配・減配】最新ニュースノダが期連続の「増配」を発表し、配当利回りがにノダは年月期の配当予想を「株あたり円」と発表し、前期比「円」の増配で「期連続増配」の見通しとなった。 |
2022-01-17 20:30:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
エストラスト(3280)、株主優待の廃止と増配を発表! 2月末時点で100株以上を1年以上保有する株主にQUO カードを贈呈していたが、2022年2月の実施が最後に - 株主優待【新設・変更・廃止】最新ニュース |
https://diamond.jp/articles/-/293570
|
|
2022-01-17 20:20:00 |
北海道 |
北海道新聞 |
コンサドーレ、パスの連係やシュート 沖縄キャンプ、雨の中調整 |
https://www.hokkaido-np.co.jp/article/634457/
|
陸上競技場 |
2022-01-17 20:15:00 |
北海道 |
北海道新聞 |
除雪中、落雪の下敷きか 男性が死亡 赤平 |
https://www.hokkaido-np.co.jp/article/634456/
|
公営団地 |
2022-01-17 20:11:05 |
北海道 |
北海道新聞 |
スケート、アイスホッケー 全国高校選手権が開幕 競技は17日から |
https://www.hokkaido-np.co.jp/article/634454/
|
青森県八戸市 |
2022-01-17 20:03:00 |
ビジネス |
東洋経済オンライン |
中国「国家鉄路」、21年の旅客輸送目標が未達の訳 コロナの局地的流行の反復が需要回復に冷水 | 「財新」中国Biz&Tech | 東洋経済オンライン |
https://toyokeizai.net/articles/-/502323?utm_source=rss&utm_medium=http&utm_campaign=link_back
|
biztech |
2022-01-17 20:30:00 |
コメント
コメントを投稿