IT |
ITmedia 総合記事一覧 |
[ITmedia Mobile] 「iOS 15」「iPadOS 15」のパブリックβ版が配信開始 |
https://www.itmedia.co.jp/mobile/articles/2107/01/news165.html
|
apple |
2021-07-01 21:35:00 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
【Python】jmespathでandやor条件を使いたい |
https://qiita.com/masa2223/items/18807546e25a5d4a9a75
|
pipinstalljmespath今回紹介するパターンパターンidがかつnameがtestのデータを抽出and条件パターンidがまたはidがのデータを抽出or条件パターンidがまたはidがのデータから、nameの項目だけをリストで抽出変数抽出時の構文変数を抽出する場合は以下のように記載します。 |
2021-07-01 21:20:09 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Mavenでdeployコマンドが実行できない。 |
https://teratail.com/questions/347168?rss=all
|
Mavenでdeployコマンドが実行できない。 |
2021-07-01 21:52:03 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Twitter APIで条件に該当するツイートを全て取得したいがリクエストが上限を超えた |
https://teratail.com/questions/347167?rss=all
|
TwitterAPIで条件に該当するツイートを全て取得したいがリクエストが上限を超えた前提・実現したいことTwitternbspAPIを用いて、特定の期間に投稿された、指定のハッシュタグ付きのツイートを全て取得したいです。 |
2021-07-01 21:41:52 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
フルスクーンで動画を再生する方法 |
https://teratail.com/questions/347166?rss=all
|
swift |
2021-07-01 21:24:59 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
c言語、自然数冪の回答について |
https://teratail.com/questions/347165?rss=all
|
|
2021-07-01 21:18:04 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
swift instagramのstoryのcube animationを横回転ではなく、縦回転にしたいとき、どこをどう変えたら良いか教えてください |
https://teratail.com/questions/347164?rss=all
|
swiftinstagramのstoryのcubeanimationを横回転ではなく、縦回転にしたいとき、どこをどう変えたら良いか教えてください前提・実現したいことここに質問の内容を詳しく書いてください。 |
2021-07-01 21:13:18 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
&をエスケープしない時に、XSSの攻撃方法は? |
https://teratail.com/questions/347163?rss=all
|
特殊文字 |
2021-07-01 21:10:45 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Unity Debug.Logの文字をTextに変換するとうまくいかない不具合 |
https://teratail.com/questions/347162?rss=all
|
UnityDebugLogの文字をTextに変換するとうまくいかない不具合現在オンラインのランキング機能を実装したいのですが、DebugLogでは上手く位から位までの結果が出てくれるのですが、その結果をゲーム内のTextで表示すると位しか表示してくれません。 |
2021-07-01 21:09:36 |
海外TECH |
DEV Community |
The Engineer's Complete Guide to Legacy Code |
https://dev.to/alexomeyer/the-engineer-s-complete-guide-to-legacy-code-16gb
|
The Engineer x s Complete Guide to Legacy CodeWe live in a world where progress is king complete tasks meet goals commit more deploy frequently ship faster But what happens when something is lurking in the codebase that s holding you back That s right legacy code Let s take a look at how you can deal with legacy code once and for all This guide will cover the following topicsWhat is legacy code The characteristics of legacy codeThe problem of legacy code and technical debtTips and tools for working effectively with legacy codeLegacy code migration and cultural shiftResources for dealing with legacy code What is legacy code When we talk about legacy code your first thought might be of old obsolete code Yes it may be written for operating systems that are no longer supported However it may also mean code which is Inherited code it may be from another developer team or older software version Code that the original developer no longer maintains A code base that is no longer engineered but continually patched Legacy code can also refer to unsupported operating systems hardware and formats The characteristics of legacy code Ionis characterises legacy code as “the antithesis of clean code which is easy to understand maintain and adapt Legacy code is unwieldy outdated and messy which can lead to numerous problems It s typically resistant to bug finding through automated tests Nicolas Carlo calls legacy code code you re not comfortable changing but also “valuable code you re afraid to change and “the code you need to change and you struggle to understand He suggests that you may in fact be responsible for “that code you wrote because you can t remember the hell you had in mind when you did Yes our past self often makes silly mistakes If you ever need a good reason for great documentation this is it The problems of legacy code and technical debtSometimes legacy code exists for a reason It may point to a team with a crazy high turnover making little effort in their documentation Or a team of more experienced developers who are comfortable with older languages A company may keep legacy code due to competitive advantages over other businesses They may fear that rewriting code may introduce new bugs or remove hidden functionality However legacy code may also operate in a black box that is less accessible to a broader development community meaning insufficient quality improvement security and maintainability When people leave it may be hard to find new developers appropriately skilled to work with it As time goes on the code may struggle to work with new and emerging apps and hardware The company risks falling behind and is drowning in technical debt Do you hate legacy code Ivo Lukačdid a survey which revealed over half of the respondents would rather not work on it and an additional hate it Specifically their pain points are many with spaghetti code and fear of breaking something the most common concerns followed by the frustration of sticking to depreciated technology This survey offers an insight into the complexities of dealing with legacy code and explains some of the reasons developers prioritise other work Intrinsic to legacy code is technical debt each time the code changes hands it needs more and more features and bug fixing all of which is time consuming and frustrating and the amount of technical debt continues to grow Tips and tools for working effectively with legacy codeWhen working with legacy code time and energy is precious and you need to know where to concentrate your efforts Planning and purpose are critical you need to know what can be changed and what to ignore Fortunately there s plenty of tools available to make life easier Static code analysisStatic code analysis is the process of debugging by examining source code before a program is run Code is analyzed against a set or multiple sets of coding rules Then you get a diagnosis report of any violations of these rules based on their severity This helps you prioritise the most urgent or important tasks In general static code analysis is a good practice even beyond legacy code It creates the opportunity to identify and eliminate code defects before code is pushed for functional QA saving a lot of later pain and reducing technical debt Some examples of static code tools •Code sonar•CAST•Klocwork•SonarQubeA lot of IDEs that are used for code refactoring already use static analysis Code refactoring legacy codeCode refactoring is one way to deal with legacy code It s about overhauling code to make it more understandable maintainable and adaptable through optimizing code simplifying and merging variables and classes and rewriting command methods As Martin Fowler author of two books on refactoring explains Refactoring is the process of changing a software system in such a way that it does not alter the external behavior of the code yet improves its internal structure It is a disciplined way to clean up code that minimizes the chances of introducing bugs In essence when you refactor you are improving the design of the code after it has been written However you can only begin refactoring once it is clear how the code works and doesn t work The code is then optimized piece by piece Any unnecessary code is removed or rewritten Classes and variables in the code are simplified and merged Command methods are adapted and rewritten In the end refactoring is basically a general overhaul of the legacy code The resulting code is easier to understand maintain and adapt Developers should test code after refactoring to check for any breaks Continuous integration is useful as it enables you to revert to a previous build if something goes wrong Add context to your codeStepsize VS Code and JetBrains extensions help Engineering teams gain actionable insights into their technical debt including those caused by legacy code Engineers can track debt add bookmarks and organise their TODOs in their code editor plus see the impact of technical debt and prioritise it in the webapp Legacy code migration and cultural shiftThere s increased interest in migrating legacy systems to low code development platforms Sylvain Leroy wrote a succinct but in depth guide to legacy software migration a few years back that s worth a read There are also practices like migrating desktop or on premise data centres to the cloud and the shift from monoliths to microservices While discussing all of these in great detail is beyond the scope of this article it s important to explore these trends in regard to cultural change and company culture How do developers collaborate How is knowledge passed down from developer to developer What efforts are made to retain knowledge when someone leaves What are the company standards for documentation and who ensures they are met How does the company prioritise time spent dealing with technical debt What incentives do they offer especially important if everyone hates doing it maybe they need to provide more time off or bring in specialists How do you ensure that the new code is clean and error free from here on What about training and development Resources for dealing with legacy code• Techniques to Work with Legacy CodebasesーA talk by Nicolas Carlo at the Managing Technical Debt Meetup •Refactoring Java Part Driving agile development with test driven developmentーKata based series by Oracle on refactoring basics to help set up a test driven development environment •Working Effectively with Legacy Code by Michael Feathers •Approaches to refactoring technical debt and legacy codeーTim Wise has put together a great list of resources |
2021-07-01 12:41:17 |
海外TECH |
DEV Community |
Running Weblogic Server when connected to VPN |
https://dev.to/naguban123/running-weblogic-server-when-connected-to-vpn-1l4o
|
Running Weblogic Server when connected to VPNAs part of my development work I tried to run my Weblogic Server when I am connected to VPN network The weblogic server failed with error saying thread Cluster member n a Delaying formation of a new cluster unicast networking appears to be inoperable on interface as this process isn t receiving even its own transmissions consider forcing IPv via Djava net preferIPvStack true gt We can resolve this error by setting a JAVA OPTIONS in setDomainEnv cmd file located in bin folder The setting is as follows set JAVA OPTIONS JAVA OPTIONS Djava net preferIPvStack trueNow the weblogic server starts without any issue when connected to VPN Network Happy Learning |
2021-07-01 12:17:20 |
海外TECH |
DEV Community |
Debug Selenium Tests in Docker using VNC Viewer |
https://dev.to/automationbro/debug-selenium-tests-in-docker-using-vnc-viewer-59nj
|
Debug Selenium Tests in Docker using VNC ViewerIn the previous post we learned how to integrate Selenium tests with Docker In this tutorial we will take a look at how to integrate VNC Viewer with Docker and debug Selenium tests in Docker using VNC Viewer We will also learn why it s important to run tests through VNC Viewer as well Why run Selenium tests in Docker using VNC viewer Originally when I was preparing this post I was going to name the title View Selenium Tests in Docker using VNC Viewer Because I thought the goal is to be able to view the tests running in VNC However the main reason we want to view tests in VNC viewer is to be able to debug any test issues that are happening inside the Docker Typically when tests are being triggered inside Docker container you are not able to see anything that s happening inside But with the help of the VNC viewer you get a visual representation of exactly what s going on inside Docker which makes it easier to debug your test issues PrerequisiteInstall a VNC client the one I am using in this tutorial is the RealVNCUse Selenium Debug images to be able to see what s going inside the Docker container you will need to use an image that has a VNC server installed Any image that ends with debug will have a VNC server installedMap external VNC port to the Docker VNC port when you will run the docker image you will need to map the local VNC port to Docker VNC port Run Selenium Standalone Debug Docker image Let s run the selenium standalone chrome debug image and map the VNC port with it docker run d p p shm size g selenium standalone chrome debug p is the port for your local machine mapping to Docker Selenium server port p is the port for your local VNC server mapping to Docker VNC server Open Real VNC clientNow that we have a docker image running mapped to port we can open that port in VNC viewer To do that open up the RealVNC client and type in the URL and hit Enter When prompted for a password type secret and continue VNC server pointed to port Run tests in DockerNow it s time to run tests in Docker make sure your tests are pointed to port as that is what we have set up for our docker container you can check out my previous post to learn more about that Once you will run your tests you will notice the tests can be viewable in the VNC viewer Check out the video below to learn more about how to execute Selenium tests in Docker and view it in VNC Viewer Subscribe to my mailing list to get access to more content like this as well as free access to a Private Facebook communityYou can follow my content here as well TwitterLinkedIn I love coffees And if this post helped you out and you would like to support my work you can do that by clicking on the button below and buying me a cup of coffee You can also support me by liking and sharing this content Thanks for reading |
2021-07-01 12:04:32 |
Apple |
AppleInsider - Frontpage News |
Apple sees 16% sales growth in China during mid-year shopping festival |
https://appleinsider.com/articles/21/07/01/apple-sees-16-sales-growth-in-china-during-mid-year-shopping-festival?utm_medium=rss
|
Apple sees sales growth in China during mid year shopping festivalThe iPhone was the fourth most popular smartphone choice in China during a shopping festival and sales increased by iPhone sees steady demand in ChinaChina has been a tough market for Apple with the iPhone Reports have shown that while popular it isn t achieving sales records like the iPhone X or other devices before it Read more |
2021-07-01 12:26:12 |
海外TECH |
Engadget |
The Product Red Apple Watch Series 6 with LTE is $100 off at Amazon |
https://www.engadget.com/apple-watch-series-6-gps-lte-product-red-edition-deal-amazon-123944170.html?src=rss
|
The Product Red Apple Watch Series with LTE is off at AmazonThose who opt for the GPS Cellular models of the Apple Watch gain the convenience of making and receiving calls even when their iPhone isn t around It s worth paying for if you want the most quot untethered quot version of the Apple Watch available and now you can save a bit of money on the Product Red version of the LTE Watch The mm model is down to ーthat s off its normal price and the best we ve seen it The mm version is also off bringing it down to although we have seen it less than that in the past Buy Apple Watch Series mm GPS Cellular at Amazon Buy Apple Watch Series mm GPS Cellular at Amazon Aside from the red case and band color the other caveat to this deal is that you ll have to wait to get your new gadget Amazon currently estimates delivery for the mm model in about one month ーnot ideal but a decent tradeoff for the savings If you opt for the mm model your wait time will only be about two weeks Apple made small improvements to the overall experience of using the Apple Watch in the Series while also adding some new sensors into the mix It runs on an S processor that s percent faster than the chipset in the Series and the battery life has been slightly improved Also Apple sped up the charging time for the Series ーwe got a percent increase in battery life after only a half hour of charging The Series adds a blood oxygen sensor to its array of internal trackers which also includes an ECG sensor a heart rate monitor altimeter compass and more WatchOS added new features as well including native sleep tracking which is much easier to do now that the Watch s battery life and charge time have improved and a hand washing timer While the less expensive Apple Watch SE is best for those new to wearables in general the Series is our pick for those that want the most comprehensive Apple Watch experience But we d be remiss if we didn t mention that September is slowly approaching and that s when Apple tends to release the latest Apple Watches Holding out until the fall is probably best for anyone who wants to ensure they re getting the latest and greatest from Apple Follow EngadgetDeals on Twitter for the latest tech deals and buying advice |
2021-07-01 12:39:44 |
海外TECH |
Engadget |
Samsung Galaxy Watch 4 Classic leak suggests a more familiar design |
https://www.engadget.com/samsung-galaxy-watch-4-classic-leak-121924251.html?src=rss
|
Samsung Galaxy Watch Classic leak suggests a more familiar designThe Active may not be the only Samsung smartwatch to feature its new OS built with Google Android Headlines has published leaked pics of a new device it claims is the Samsung Galaxy Watch Classic While the fitness focused Active features a slimmer design the Classic appears to sport a larger rotating bezel with two noticeably bigger buttons on the side for navigation The latter are rectangular in shape compared to the rounded buttons on s Gear S Classic and s Galaxy Watch Android HeadlinesBreaking away from tradition Samsung will reportedly offer the new watch in three sizes mm mm and mm Previously the Korean company released either mm or mm or mm and mm models As with the Active leak there s no mention of the exact screen size But apparently the watch will come in three colors compared to four for the upcoming Active including white gray and black The restrained design also reportedly extends to the cases which will offer a silver or black option in either stainless steel or aluminum across all three sizes nbsp Like the Galaxy Watch and Galaxy Watch Active before it the new smartwatch will apparently feature a Gorilla Glass DX or DX display on the stainless steel and aluminum models respectively The new classic is reportedly ATM rated meaning its water resistant up to metres for minutes and dust resistant thanks to its MIL STD G standard You may not have to wait long to find out more about the new device Samsung recently confirmed that the first One UI based Galaxy Watch will be unveiled at its Unpacked event this summer Android Headlines |
2021-07-01 12:19:24 |
Cisco |
Cisco Blog |
Home Sweet Office |
https://blogs.cisco.com/wearecisco/home-sweet-office
|
linkedin |
2021-07-01 12:00:54 |
Cisco |
Cisco Blog |
Should the CISO Report to the CIO? |
https://blogs.cisco.com/security/should-the-ciso-report-to-the-cio
|
ciso |
2021-07-01 12:00:51 |
医療系 |
医療介護 CBnews |
医師の労働時間把握へ、全病院に調査-21年度、厚労省 |
https://www.cbnews.jp/news/entry/20210701214658
|
長時間労働 |
2021-07-01 21:55:00 |
金融 |
金融庁ホームページ |
人事異動(令和3年7月1日発令)を掲載しました。 |
https://www.fsa.go.jp/common/about/jinji/index.html
|
人事異動 |
2021-07-01 14:00:00 |
ニュース |
BBC News - Home |
Covid: Boris Johnson upbeat about easing lockdown in England on 19 July |
https://www.bbc.co.uk/news/uk-57681216
|
boris |
2021-07-01 12:43:49 |
ニュース |
BBC News - Home |
Ollie Bibby: Hospital apologises to mum unable to visit dying son |
https://www.bbc.co.uk/news/uk-england-essex-57681038
|
family |
2021-07-01 12:21:57 |
ニュース |
BBC News - Home |
Nissan announces major UK electric car expansion |
https://www.bbc.co.uk/news/business-57666008
|
battery |
2021-07-01 12:54:26 |
ニュース |
BBC News - Home |
Wimbledon 2021: Heather Watson and Harriet Dart win doubles opener |
https://www.bbc.co.uk/sport/tennis/57681239
|
wimbledon |
2021-07-01 12:05:39 |
ニュース |
BBC News - Home |
Wimbledon 2021: Fourth seed Alexander Zverev beats Tennys Sandgren to reach third round |
https://www.bbc.co.uk/sport/tennis/57681187
|
Wimbledon Fourth seed Alexander Zverev beats Tennys Sandgren to reach third roundGerman fourth seed Alexander Zverev reaches the third round at Wimbledon with a straight set victory over American Tennys Sandgren on day four |
2021-07-01 12:07:29 |
北海道 |
北海道新聞 |
デジタル、サイバーで協力 日本・エストニア外相会談 |
https://www.hokkaido-np.co.jp/article/562373/
|
外相会談 |
2021-07-01 21:17:00 |
北海道 |
北海道新聞 |
定山渓に光の回廊 「ネイチャー・ルミナリエ」始まる |
https://www.hokkaido-np.co.jp/article/562372/
|
定山渓温泉 |
2021-07-01 21:17:00 |
北海道 |
北海道新聞 |
札幌市にワクチンロスゼロセンター 初日はキャンセル枠届け出なし |
https://www.hokkaido-np.co.jp/article/562285/
|
札幌市 |
2021-07-01 21:16:00 |
北海道 |
北海道新聞 |
福原がオリジナルジェラート 十勝野フロマージュなどとタッグ 3種類、地産地消へ発売 |
https://www.hokkaido-np.co.jp/article/562369/
|
地産地消 |
2021-07-01 21:15:00 |
北海道 |
北海道新聞 |
大ぶり「大正だいこん」 全道一の産地・帯広で収穫開始 |
https://www.hokkaido-np.co.jp/article/562364/
|
開始 |
2021-07-01 21:13:52 |
北海道 |
北海道新聞 |
ご当地タクシーに仮想乗車、名所をご案内 3日オンライン開催 函館の「塩ラーメンタクシー」、満龍の前で生中継 |
https://www.hokkaido-np.co.jp/article/562363/
|
塩ラーメン |
2021-07-01 21:13:00 |
北海道 |
北海道新聞 |
夏告げる花、良い秋予感 北広島の農場でジャガイモ開花 |
https://www.hokkaido-np.co.jp/article/562362/
|
開花 |
2021-07-01 21:11:00 |
北海道 |
北海道新聞 |
西岡良仁は2回戦敗退 ウィンブルドン |
https://www.hokkaido-np.co.jp/article/562359/
|
西岡良仁 |
2021-07-01 21:06:00 |
北海道 |
北海道新聞 |
コロナ禍、ハローワークに再就職支援窓口 札幌と旭川に開設 |
https://www.hokkaido-np.co.jp/article/562358/
|
北海道労働局 |
2021-07-01 21:05:32 |
北海道 |
北海道新聞 |
五輪サッカー予選「無観客含め制限を」 札幌ドーム巡り市長見解 |
https://www.hokkaido-np.co.jp/article/562355/
|
代表質問 |
2021-07-01 21:01:46 |
北海道 |
北海道新聞 |
昭和の情景、人形で表現 北見で宮竹さん作品展 |
https://www.hokkaido-np.co.jp/article/562271/
|
表現 |
2021-07-01 21:02:07 |
コメント
コメントを投稿