IT |
気になる、記になる… |
Threads、Web版が利用可能に |
https://taisy0.com/2023/08/25/175787.html
|
threads |
2023-08-24 15:19:40 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Stable Diffusion WebUI で画像生成(Windows版 Python利用) |
https://qiita.com/kerobot/items/fa78b4287c3d7f2102b1
|
stablediffusionwebui |
2023-08-25 00:46:16 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
PCPP1 合格体験記(PCPP1™ – Certified Professional in Python Programming 1) |
https://qiita.com/ariariariari/items/5a9b99b6e6b28e8c2cde
|
ionalinpythonprogramming |
2023-08-25 00:04:40 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
reduceってめっちゃ便利じゃね?って話 |
https://qiita.com/yuya-yuya/items/e8d3cd2027cee31487a0
|
foreachmapfilterreduce |
2023-08-25 00:18:17 |
Git |
Gitタグが付けられた新着投稿 - Qiita |
Stable Diffusion WebUI で画像生成(Windows版 Python利用) |
https://qiita.com/kerobot/items/fa78b4287c3d7f2102b1
|
python |
2023-08-25 00:46:16 |
Git |
Gitタグが付けられた新着投稿 - Qiita |
【Git】エラー : [rejected] master -> master (fetch first) |
https://qiita.com/Oriko/items/0f20db0e50bec707e39b
|
ergtmasterfetchfirsterror |
2023-08-25 00:17:34 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
Rails – 値が重複したレコードを削除してからDBに複合ユニーク制約を追加するマイグレーションの例 |
https://qiita.com/YumaInaura/items/a59ce1ea030fb0ccd5ae
|
icateentryforkeyclients |
2023-08-25 00:04:35 |
海外TECH |
Ars Technica |
New robot searches for solar cell materials 14 times faster |
https://arstechnica.com/?p=1962336
|
photovoltaic |
2023-08-24 15:09:50 |
海外TECH |
MakeUseOf |
Lucid Air vs. Tesla Model S: Which Luxury EV Is Best? |
https://www.makeuseof.com/lucid-air-vs-tesla-model-s/
|
model |
2023-08-24 15:06:12 |
海外TECH |
MakeUseOf |
How to Edit a Disney+ Profile |
https://www.makeuseof.com/how-to-edit-a-disney-profile/
|
disney |
2023-08-24 15:01:23 |
海外TECH |
DEV Community |
Embracing Imperfection: The Power of Iteration in Software Development |
https://dev.to/hichem/embracing-imperfection-the-power-of-iteration-in-software-development-1767
|
Embracing Imperfection The Power of Iteration in Software DevelopmentIn the realm of software development the pursuit of perfection can often lead to a debilitating phenomenon known as analysis paralysis This is a state in which teams or individuals become so fixated on making every decision flawlessly right from the start that they find themselves unable to make any progress at all In contrast a strategy that champions the idea of doing things wrong initially and refining them later can lead to greater productivity creativity and overall success In this article we ll explore the concept of analysis paralysis the benefits of embracing imperfection and how iterative development can be a game changer in the software world The Trap of Analysis ParalysisImagine a team of software engineers tasked with building a new application They re full of great ideas but every decision seems to be accompanied by a wave of doubt Which programming language should they use What architecture is best How should the user interface be designed As time passes discussions become longer options are weighed more heavily and the fear of making a wrong choice becomes overwhelming This is the essence of analysis paralysis While careful consideration of decisions is crucial an excessive fixation on getting every detail right from the start can lead to missed opportunities and stunted progress It hampers creativity discourages experimentation and ultimately stifles innovation In a field as rapidly evolving as software development waiting for the perfect solution is akin to chasing a mirageーit s unattainable and wasteful The Beauty of ImperfectionRather than aiming for perfection right out of the gate software development benefits greatly from an approach that embraces imperfection This means accepting that initial efforts may not be flawless and that s perfectly fine The goal shifts from getting everything right initially to getting something functional and learning from it By accepting imperfection development teams can Foster Creativity When the pressure to be perfect is lifted team members feel more comfortable exploring creative ideas Mistakes are viewed as opportunities for improvement rather than failures Learn and Iterate Imperfect solutions are excellent learning tools They reveal gaps in understanding potential pitfalls and areas for improvement Through iterative cycles of development a product evolves into a stronger and more refined version Avoid Overengineering Striving for perfection often results in overengineering where solutions become needlessly complex Embracing imperfection encourages a focus on solving the core problems rather than catering to hypothetical future scenarios Accelerate Time to Market Releasing a functional yet imperfect version of a product allows for quicker entry into the market Early user feedback can guide subsequent iterations and shape the product s trajectory The Power of IterationIteration is the key to making the embrace of imperfection effective Instead of trying to predict and solve all potential challenges upfront development teams engage in a continuous cycle of building testing gathering feedback and refining This approach aligns well with the agile and lean methodologies that emphasize adaptability and responsiveness Iterative development offers several advantages Real World Feedback Releasing an imperfect product enables developers to gather real world feedback from users This feedback is invaluable for identifying pain points and understanding user needs Incremental Improvement Each iteration builds upon the previous one gradually refining the product This incremental approach ensures that improvements are guided by practical experience rather than speculation Reduced Risk The risks associated with large scale implementation of untested ideas are minimized If a particular feature or concept proves unviable it can be adjusted or abandoned without derailing the entire project Agile Adaptation Market conditions and user preferences can change rapidly Iteration allows teams to adapt quickly and pivot their development direction as needed Embrace the JourneyIn the dynamic landscape of software development the pursuit of perfection can be a roadblock to progress Analysis paralysis born from the fear of making mistakes can paralyze projects and drain creative energy Embracing imperfection and iterating based on real world feedback offers a more effective path It allows for learning innovation and a quicker time to market Remember it s not about getting everything right the first timeーit s about embarking on a journey of continuous improvement and growth So rather than fearing mistakes embrace them as stepping stones towards greatness |
2023-08-24 15:18:50 |
海外TECH |
DEV Community |
Running Python code as a migration operation in Django |
https://dev.to/j_mplourde/running-python-code-as-a-migration-operation-in-django-5gbj
|
Running Python code as a migration operation in DjangoThis blog post was originally published on When I started learning Django I was confused with the difference between makemigrations and migrate commands I got it after a while but I never truly had to work with complex migrations or write custome ones I recently had to write a custom migration to change a ForeignKey field to a OneToOneField and I used the RunSQL special operation which allows to run raw sql queries It allowed me to better understand migrations and gave me the confidence to push my changes in production Now I wanted to refactor an unnecessary many to many model into a one to one field in another model The models looked like the following code from accounts import models as account models the model I want to get rid ofclass HomeAddress BaseModel home models ForeignKey Home on delete models CASCADE address models ForeignKey account models Address on delete models CASCADE class Meta verbose name plural home addresses class Home BaseModel name models CharField max length default Home address models OneToOneField the field I want to replace the model with account models Address on delete models PROTECT The challenge was to copy the Address refered in each HomeAddress row to the refered Home I wasn t sure how I would solve this and dreaded the raw SQL query not wanting to mess up the production data I asked ChatGPT for some inspiration and it suggested using the RunPython special operation You first declare a function that takes two arguments the first being the name of the app containing the historical models that matches the operation and the second is an instance of SchemaEditor the class that turns operations into SQL The function code describes the changes that will be applied A second function is declared that accepts the same two arguments and its code should undo what has been done by the first function This makes the migration reversible otherwise the changes are permanent The two functions are passed to the RunPython function called inside the operations list of the Migration class For database backends that do not support Data Definition Language DDL transactions CREATE ALTER etc RunPython will run its content inside a transaction For databases that do support DDL like PostgreSQL no other transactions are added besides the one generated by a migration A migration with both schema changes and RunPython operation will raise an exception stating the changes cannot be applied because it has pending trigger events What I ended up doing is generating a migration to add the Home address field then generated an empty migration and wrote the following code from django db import migrationsfrom accounts import models as account modelsdef replace home with address apps schema editor home address model apps get model nodz HomeAddress for home address in home address model objects all address home address address address account models Address objects create address line f Fake Street address line Building city Test City zip code country id home address address country id subdivision id home address address subdivision id home address home address id address id home address home save class Migration migrations Migration dependencies nodz auto operations migrations RunPython replace home with address So here I loop over the HomeAddress rows and for each one of them I put the HomeAddress address reference into HomeAddress home address and save Note that for readability purpose I didn t include the query prefetching code If you have any comments suggestions or ideas please share them with me in the comments |
2023-08-24 15:18:44 |
Apple |
AppleInsider - Frontpage News |
Apple Pay keeps growing, but can't catch Visa or Paypal |
https://appleinsider.com/articles/23/08/24/apple-pay-keeps-growing-but-cant-catch-visa-or-paypal?utm_medium=rss
|
Apple Pay keeps growing but can x t catch Visa or PaypalNew research says that Apple Pay is only the fifth most popular payment platform in the US despite previous claims that it was beating MasterCard Apple Pay in useIn researchers claimed that Apple Pay had surpassed MasterCard in the annual dollar value of transactions and by a long way Where MasterCard processed around trillion worth of transactions Apple Pay was seeing over trillion Read more |
2023-08-24 15:31:38 |
海外TECH |
Engadget |
CVS Health will begin manufacturing cheaper 'biosimilar' drugs |
https://www.engadget.com/cvs-health-will-begin-manufacturing-cheaper-biosimilar-drugs-153019696.html?src=rss
|
CVS Health will begin manufacturing cheaper x biosimilar x drugsCVS Health is launching a new subsidiary unit Cordavis that will collaborate with drug manufacturers to produce biosimilar products or medications that are near identical to an already approved and existing drug This unit will commercialize and co produce FDA approved biosimilar products to U S markets which will likely have a trickle down effect on the way consumers buy drugs by increasing competition and driving down prices This subsidiary will not reinvent the wheel with new drugs All the biosimilar products produced will be highly similar to an already approved biologic medicine but will still undergo testing and approvals to ensure they are highly comparable in terms of safety efficacy and quality If generic drugs are the Kirkland brand of medication ーan identical product made cheaper through the expiration of a patent ーbiosimilars are more like Amazon Basics less expensive legally distinct but functionally the same as what they imitate CVS claims that Cordavis will quot help ensure consistent long term supply of affordable biosimilars quot when it officially debuts at the beginning of The first confirmed offering from Cordavis in the near future is Hyrimo a biosimilar of the drug Humira Humira is an injectable drug that is used to treat a range of diseases including Crohn s and rheumatoid arthritis in adults The drug is a popular prescription that generated its maker AbbVie net revenues of billion in global sales in the second quarter of It has a list price of nearly a month making it a prime drug worth diluting in the competitive pharmaceutical landscape Cordavis says its biosimilar for Humira will list under a new private label and will be percent cheaper than the current list price of the drug This early offering gives just a snapshot of the kind of influence Cordavis can have on disruption in the drug manufacturing space This article originally appeared on Engadget at |
2023-08-24 15:30:19 |
Cisco |
Cisco Blog |
CloudFabrix helps organizations observe their vSphere environments with cloud native applications on Cisco FSO Platform |
https://feedpress.me/link/23532/16312009/cloudfabrix-vsphere-observability-and-data-modernization
|
CloudFabrix helps organizations observe their vSphere environments with cloud native applications on Cisco FSO PlatformIf you utilize VMware vSphere enterprise workload platform for your business critical applications take a look at the CloudFabrix module that helps you observe vSphere through Cisco FSO Platform for a more centralized consolidated view |
2023-08-24 15:12:39 |
海外科学 |
NYT > Science |
When Sea Ice Retreated, Some Emperor Penguins Didn’t Breed |
https://www.nytimes.com/2023/08/24/climate/antarctic-sea-ice-emperor-penguin.html
|
antarctica |
2023-08-24 15:20:04 |
海外科学 |
NYT > Science |
India’s Moon Landing Offers Blueprint For Other Countries Dreaming Big |
https://www.nytimes.com/2023/08/24/world/asia/india-chandrayaan-3-moon-landing-space.html
|
bigits |
2023-08-24 15:12:52 |
海外科学 |
NYT > Science |
The Unending Indignities of ‘Vaginal Atrophy’ |
https://www.nytimes.com/2023/08/22/science/menopause-vaginal-atrophy.html
|
problems |
2023-08-24 15:59:38 |
金融 |
金融庁ホームページ |
職員を募集しています。(証券会社等のモニタリング業務等に従事する職員) |
https://www.fsa.go.jp/common/recruit/r5/kantoku-04/kantoku-04.html
|
証券会社 |
2023-08-24 17:00:00 |
金融 |
金融庁ホームページ |
職員を募集しています。(公認会計士等の監督に従事する職員) |
https://www.fsa.go.jp/common/recruit/r5/kikaku-13/kikaku-13.html
|
公認会計士 |
2023-08-24 17:00:00 |
ニュース |
BBC News - Home |
Inquiry to be held into Malkinson wrongful rape conviction |
https://www.bbc.co.uk/news/uk-66606328?at_medium=RSS&at_campaign=KARANGA
|
innocent |
2023-08-24 15:35:10 |
ニュース |
BBC News - Home |
What happens to the Wagner group now? |
https://www.bbc.co.uk/news/world-europe-66604261?at_medium=RSS&at_campaign=KARANGA
|
wagner |
2023-08-24 15:23:44 |
ニュース |
BBC News - Home |
ATP Tour to hold Next Gen Finals in Saudi Arabia from 2023 |
https://www.bbc.co.uk/sport/tennis/66607311?at_medium=RSS&at_campaign=KARANGA
|
jeddah |
2023-08-24 15:44:08 |
ニュース |
BBC News - Home |
Deivid Washington: Chelsea sign Brazilian teenager from Santos for £17.2m |
https://www.bbc.co.uk/sport/football/66608576?at_medium=RSS&at_campaign=KARANGA
|
Deivid Washington Chelsea sign Brazilian teenager from Santos for £mChelsea complete the signing of forward Deivid Washington from Brazilian side Santos for a fee in the region of m euros £m |
2023-08-24 15:10:52 |
コメント
コメントを投稿