python |
Pythonタグが付けられた新着投稿 - Qiita |
【現役シリコンバレーエンジニアが教えるPython 3 入門 + 応用】 roboterを簡易的に記述しました。 |
https://qiita.com/sasami_curry/items/cabeb9dcf3c50ddabed3
|
roboter |
2022-08-15 02:48:49 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
Babylon.jsで360パノラマ画像ツアー |
https://qiita.com/kiyuka/items/614809be864aff20a632
|
babylon |
2022-08-15 02:49:41 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
VMware Cloud on AWS 大阪リージョンをデプロイしてみた (ついでにVTGWで東京リージョンと繋げてみた) |
https://qiita.com/sanjushi003/items/c55b28cbf05894988ecf
|
vmwarecloudonaws |
2022-08-15 02:13:27 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
チュートリアル記事を丁寧に追った結果起こったHeroku Build failed "Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 255" |
https://qiita.com/co1umbine/items/80b80bc702b77ce70266
|
|
2022-08-15 02:29:39 |
海外TECH |
DEV Community |
Soft UI Dashboard - Open-Source Flask Starter |
https://dev.to/sm0ke/soft-ui-dashboard-open-source-flask-starter-jmd
|
Soft UI Dashboard Open Source Flask StarterHello Coders This article presents Soft UI Dashboard an open source Flask Starter crafted with database authentication and Docker scripts on top of a modern Bootstrap design The product is available for download from Github public repository and also supports customization in LIVE Generator free service Thanks for reading Flask Soft UI Dashboard product pageFlask Soft UI Dashboard LIVE demoSoft Dashboard Generator free serviceDesigned for those who like bold elements and beautiful apps Soft UI Dashboard is made of hundred of components designed blocks and fully coded pages Design credits Creative Tim Product HighlightsThis full stack product comes with the bare minimum essentials for a dashboard project or a presentation website The design looks perfect on all devices and the codebase is periodically updated with the latest dependencies Modern stack Flask amp Bootstrap Authentication Database DockerUI sample pages Dark mode readyActive VersioningMIT license free for commercial use The product based on the Docker set up shipped with the sources can be compiled and started in a local environment by using a single command typed in the root of the project Once the sources are downloaded from the product page or the official Github repository here is the command that automatized the build via Docker cd flask soft ui dashboard docker compose up build Once the above command is executed we should be able to access the app in the browser register new users authenticate and use the app Sample Pages If you want to get inspiration or show something directly to your end users you can jump start your development with our pre built example pages Soft UI Dashboard Billing Page App Generator Build your own productIn case the product is now entirely what you re looking for the App Generator Service might help The visual wizard allows customizing a new product by choosing the design the backend framework Flask or Django database type and the deployment layer Once the customization phase is finished the platform provides the sources in less than minute in a ZIP archive format and also saved on Github for later reference Step Select the DesignStep Select Backend Step Customize the app database amp deployment Step Confirm the settings and generate the code Step Download the sources ZIP archive or Github At this point you should be able to download a stable full stack project generated on top of Soft UI Dashboard with all the features selected during the customization phase Thanks for reading For more resources and support please access More Free Dashboards crafted in Django Flask and ReactMore Admin Dashboards a huge index with products |
2022-08-14 17:43:30 |
海外TECH |
DEV Community |
Learn Python: Python Variables |
https://dev.to/smpnjn/python-variables-32ao
|
Learn Python Python VariablesAs with all other languages Python has variables which can be defined to hold data As we learn about python variables it is important to remember a few fundamental things about Python It is dynamically typed so variables can change type and Python infers the type of variables from their content It is strongly typed so types cannot change in unexpected ways i e we can t add a string and a number together like we can in Javascript How to define variables in JavascriptLet s start learning about how we define variables First make a file called variables py and let s start experimenting Standard variable definitionUnlike Javascript or other languages there is no need to use a keyword to define a variable For example if we want to define a variable x with a value Hello World string then we just do the following to create the variable and then print it x Hello World print x We can test this out in our variables py file by saving this and running python variables py from terminal when we are in the directory where variables py is stored If for whatever reason the python command cannot be found you can learn how to resolve that here As in other languages we have multiple types Here are a few examples w Hello World Stringx Inty Floatz True Booleanprint w x y z One difference from some other languages is when defining a boolean we use capital letters so you have to write True We can find out the types of any variable using the type function w Hello World Stringx Inty Floatz True Boolean Will return lt class int gt print type x Defining multiple variables at onceWe can also define multiple variables at once in Python using the comma notation So if we wanted to define w x y and z on one line we could do it like this w x y z Hello World True print w x y z Concatenating VariablesJust like other languages we can concatenate variables if needed We create a string concatenation like so location World print Hello location Note as previously mentioned we can only concatenate strings of the same type So if we try to concatenate an int instead we ll get an error day Throws an error TypeError can only concatenate str not int to strprint It is day day To resolve this we can use type casting Type CastingSo as mentioned we can t concatenate variables of differing types If we want to force an int to be string so we can concatenate it with another string we need to use casting To do that we use functions like str which will force it s content to cast to a string day Throws an error TypeError can only concatenate str not int to strprint It is day str day Other types of castingAs well as str there are other casting functions in Python int creates an integer from a string integer or float float creates a float from a string integer or float These can easily be used in your code just like we used str above Here are some examples x Inty Floatz Hi Stringa StringxFloat float x yInt int y aInt int a Will return print xFloat yInt aInt Note if you try to convert z above to an int or float it will throw an error since the text Hi cannot be interpreted as a float or integer The error we d get looks like this ValueError invalid literal for int with base Hi ConclusionPython variables work in the same way as most other languages but there are some differences if you are coming from a different background In this guide we ve covered the fundamentals If you want to stay in the loop follow me on twitter for more python tutorials |
2022-08-14 17:42:00 |
海外TECH |
DEV Community |
3 Short August Frontend tips |
https://dev.to/melnik909/3-short-august-frontend-tips-2666
|
Short August Frontend tipsHey folks I d like to talk about creating animation for people with vestibular disorders improving UX when form validation and coding a search for screen readers But before embarking on reading I leave the link on my Substack newsletter about UX and ay tips You know what to make Let s go Taking care of users which can experience dizziness nausea and headachesDid you know your animations might cause dizziness nausea and headache The WCAG has the section which describes that users with vestibular disorders experience dizziness nausea and headaches when they see a motion animation So that doesn t happen we should use the prefers reduced motion media feature People with vestibular disorders might disable animations in OS options And we can detect that using the prefers reduced motion media feature to display animations for only people without disorders So we will take care of users better don t do this example animation name zoomInDown animation duration s animation timing function ease out animation delay s you can use this instead media prefers reduced motion no preference example animation name zoomInDown animation duration s animation timing function ease out animation delay s Save focus after form validationI m sure focus might improve a user life when he goes through form validation Let s look at Preply If we make a password mistake the app informs us about the mistake But It resets user focus also ️So I have to take my mouse and click by password input field again And only then I can fix the mistake What can we make instead I found a nice example on Booking If we try to log in the app saves focus And I haven t make more action and can just fix the mistake Yay Help users with vision disabilities use searchThere is a special search WAI ARIA role When using it for search screen readers will start to display it in the Regions list mode that is used by users for quick navigation by page ️If that isn t done users will have to look by hand It s a lot harder So please add role search to search in your apps P S Get more free tips about UX and accessibility directly to your inboxThank you so much my sponsors Ben Rinehart Jesse Willard Tanya Ten Konstantinos Kapenekakis |
2022-08-14 17:22:14 |
ニュース |
BBC News - Home |
Rail fares in England to rise below inflation rate, ministers say |
https://www.bbc.co.uk/news/business-62542538?at_medium=RSS&at_campaign=KARANGA
|
january |
2022-08-14 17:01:55 |
ニュース |
BBC News - Home |
Chelsea 2-2 Tottenham Hotspur: Spurs snatch last-gasp point as Thomas Tuchel & Antonio Conte sent off |
https://www.bbc.co.uk/sport/football/62453943?at_medium=RSS&at_campaign=KARANGA
|
Chelsea Tottenham Hotspur Spurs snatch last gasp point as Thomas Tuchel amp Antonio Conte sent offHarry Kane score six minutes into stoppage time as Tottenham denied Chelsea victory in a thrilling and tetchy draw at Stamford Bridge |
2022-08-14 17:47:36 |
ニュース |
BBC News - Home |
UK Black Pride event returns to London |
https://www.bbc.co.uk/news/uk-england-london-62542742?at_medium=RSS&at_campaign=KARANGA
|
london |
2022-08-14 17:13:49 |
ニュース |
BBC News - Home |
Super League: Hull FC 6-60 St Helens - Saints confirm semi-final with 11-try demolition |
https://www.bbc.co.uk/sport/rugby-league/62493296?at_medium=RSS&at_campaign=KARANGA
|
Super League Hull FC St Helens Saints confirm semi final with try demolitionLeaders St Helens confirm their place in the Super League play off semi finals with a th straight win over Hull |
2022-08-14 17:35:30 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【「売れない」が「売れる」に変わる逆転の発想!】弱みを活かしてみる! - 「A4」1枚チラシで今すぐ売上をあげるすごい方法 |
https://diamond.jp/articles/-/307592
|
|
2022-08-15 02:50:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【ハーバード×スタンフォードの名医が教える】 放っておくと失明に至る可能性も… 「視界が白く見える=白内障」 と決めつけてはいけないワケ - ハーバード × スタンフォードの眼科医が教える 放っておくと怖い目の症状25 |
https://diamond.jp/articles/-/307757
|
【ハーバード×スタンフォードの名医が教える】放っておくと失明に至る可能性も…「視界が白く見える白内障」と決めつけてはいけないワケハーバード×スタンフォードの眼科医が教える放っておくと怖い目の症状「モノがぼやけて見える」「視力が下がってきた」「目がかすむ」ー気になる目の症状があっても、「まあ大丈夫だろう」と、そのまま放置していないでしょうか目の疾患には、自覚症状がないまま進行して、気づいたときには失明寸前になるものがいくつもあります。 |
2022-08-15 02:45:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【20代で1億円を貯めた元会社員が断言】 「お金は欲しいけど、仕事はしたくない人」のたった1つの選択肢 - 投資をしながら自由に生きる |
https://diamond.jp/articles/-/307743
|
|
2022-08-15 02:40:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【『徹子の部屋』で話題】 絶対に文章力がアップする! アメリカの学校では教わるのに 日本の学校では教わらない 決定的な“文章スキルの違い” - 私がハーバードで学んだ世界最高の「考える力」 |
https://diamond.jp/articles/-/307784
|
【『徹子の部屋』で話題】絶対に文章力がアップするアメリカの学校では教わるのに日本の学校では教わらない決定的な“文章スキルの違い私がハーバードで学んだ世界最高の「考える力」大分県で生まれ育ち、小・中・高と地元の公立校、塾通いも海外留学経験もないまま、ハーバード大学に現役合格した『私がハーバードで学んだ世界最高の「考える力」』の著者・廣津留すみれさん。 |
2022-08-15 02:35:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【グレアム・アリソン著『米中戦争前夜』より】冷戦後のアメリカの対中戦略にある根本的矛盾 - 米中戦争前夜 新旧大国を衝突させる歴史の法則と回避のシナリオ |
https://diamond.jp/articles/-/307983
|
【グレアム・アリソン著『米中戦争前夜』より】冷戦後のアメリカの対中戦略にある根本的矛盾米中戦争前夜新旧大国を衝突させる歴史の法則と回避のシナリオアメリカの安全保障の実務にも精通するグレアム・アリソン・ハーバード大学教授がまとめた、年米アマゾンのベストセラー歴史書『米中戦争前夜新旧大国を衝突させる歴史の法則と回避のシナリオ』には、米中両国が局面するつのメガ脅威と、リー・クアンユーも指摘していた冷戦後の米国の対中政策における矛盾、米国の今後の対中政策に関する戦略的オプションつが提示されている。 |
2022-08-15 02:30:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【信用してはダメな人】他人を攻撃する、いい人に見えて実は超キケンな人を素早く見分ける方法 - とても傷つきやすい人が無神経な人に悩まされずに生きる方法 |
https://diamond.jp/articles/-/307857
|
|
2022-08-15 02:25:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
人気動物学者がおしえる「勉強が楽しくなる」本の読み方 - だから、この本。 |
https://diamond.jp/articles/-/307972
|
子どもがYouTubeやゲームに夢中になる時間が長くなり、自宅学習の在り方に悩む親が増えている。 |
2022-08-15 02:20:00 |
コメント
コメントを投稿