IT |
気になる、記になる… |
Twitterが開発を禁止したサードパーティ製アプリの現状まとめ ー 多数のアプリが開発と提供を終了 |
https://taisy0.com/2023/01/21/167408.html
|
twitter |
2023-01-21 09:09:23 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Windows10にPyGMTをインストールする 2023.01版 |
https://qiita.com/ckw-1227/items/73e33e3a86e10c13f334
|
pygmt |
2023-01-21 18:35:58 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
【PaddleOCR】Pythonで簡単に日本語OCR_その2(exe化のおまけつき) |
https://qiita.com/ku_a_i/items/d4c1ce70836b8035a449
|
paddleocr |
2023-01-21 18:29:52 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
[Python]Classモジュールの中でimport_moduleを利用して処理タイプ毎に動的にモジュールを読み込み実行する |
https://qiita.com/shigekimono/items/46f470d673bcaefccb94
|
pythontestpytestclass |
2023-01-21 18:26:14 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
python(boto3)でS3上のファイルをコピーし、コピー元のフォルダごと削除 |
https://qiita.com/yust0724/items/21e3cfb7b48fa14255b6
|
awsglue |
2023-01-21 18:03:34 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
EKS PodがOOMKilledでクラッシュする |
https://qiita.com/m9e/items/59570844e10cbc4022c2
|
awseks |
2023-01-21 18:54:12 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
【AWS】WebサーバーからRDS MySQLに接続(Part3) |
https://qiita.com/ponponpoko/items/af684509bc553986d1ac
|
rdsmysql |
2023-01-21 18:46:44 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
python(boto3)でS3上のファイルをコピーし、コピー元のフォルダごと削除 |
https://qiita.com/yust0724/items/21e3cfb7b48fa14255b6
|
awsglue |
2023-01-21 18:03:34 |
Git |
Gitタグが付けられた新着投稿 - Qiita |
GitHubとGitについて |
https://qiita.com/JPSYU/items/b4b2618d815e23933cc2
|
github |
2023-01-21 18:02:45 |
海外TECH |
DEV Community |
Podman 4.3 on Windows 10: インストール |
https://dev.to/nabbisen/podman-43-on-windows-10-insutoru-dmg
|
おわりにPodmanの準備ができましたpodmanmachinestartというコマンドを実行すると、Podmanの仮想マシンが動き始めます。 |
2023-01-21 09:34:28 |
海外TECH |
DEV Community |
10 Free Spring Certification Practice Questions for Java Developers |
https://dev.to/javinpaul/10-free-spring-certification-practice-questions-for-java-developers-194o
|
Free Spring Certification Practice Questions for Java DevelopersDisclosure This post includes affiliate links I may receive compensation if you purchase products or services from the different links provided in this article Hello Java developers are you preparing for IT certification like Oracle s Java certification or Vmware s Spring Certification required a lot of hard work I have seen many experienced Java developers failing these certifications and losing money and time due to over confidence and lack of preparation A structured and complete certification preparation involves reading books joining course and doing practice questions When it comes to Spring certification practice questions are quite hard to find and that s why I created my Udemy course with Spring Certification questions This course has helped more than students in their Spring certification preparation journey Since many of you asked me about Free Spring certification questions I decided to post practice questions from my paid Spring certification course for FREE in a series of articles just for you my readers and motivators This also makes a lot of sense because I have in past used many free resources to pass my own Java and Spring certification and this way I can give something back to the community It will also helps me to get more feedback to improve the paid course even better to provide better learning experience to people who have trusted me with their money By the way if you are in hurry you can always join the full course on Udemy where you will get all questions and answers and start practicing with Udemy s exam simulator In the full course you will get Full length practice tests Questions with Answers and explanations Topic wise questions like you can practice all spring boot or spring security questions Lifetime access days money back guarantee with no questions askedIf you like to buy the course you can use this link to buy the course with the best price available I usually give discount coupon to my readers so if you ever need you can always ask in the comments below or you can drop me an email Spring Framework Practice Questions Answers and ExplanationsHere is Spring questions you can solve or practice as part of your Spring professional certification These questions are from full length test which means they cover almost every topics like Core Spring Bean lifecycle AOP Spring Boot Testing Microservices Spring Data JPA and more Which of the following Spring MVC related information types are collected in metrics by Spring Boot Actuator by default Requesting user HTTP method Accessed endpoint Response statusCorrect answer is Explanation By default Spring MVC related metrics are tagged with the following information exception Simple class name of any exception that was thrown while handling the request method Request s method for example GET or POST outcome Request s outcome based on the status code of the response xx is INFORMATIONAL xx is SUCCESS xx is REDIRECTION xx CLIENT ERROR and xx is SERVER ERROR status Response s HTTP status code for example or uri Requests URI template prior to variable substitution if possible for example api person id What do SpEL expressions starting with reference Properties in the application environment Spring Beans Literal Values JVM PropertiesCorrect Answer is Spring Beans Explanation A Spring bean is referenced using its name prefixed with in SpEL Chains of propertyreferences can be accessed using the period character Example accessing property on Spring bean mySuperComponent injectedValue Example invoking method on Spring bean mySuperComponent toString Which of the following methods will be called first in the bean lifecycle afterPropertiesSet method in InitializingBean interface init method as specified in the Spring XML Configuration Any methods annotated with PostConstruct Any method named init Correct Answer is Any methods annotated with PostConstruct Explanation For each bean in the container the lifecycle happens as follows An instance of the bean is created using the bean metadata Properties and dependencies of the bean are set Any instances of BeanPostProcessor are given a chance to process the new beaninstance before and after initialization Any methods in the bean implementation class annotated with PostConstruct areinvoked This processing is performed by a BeanPostProcessor Any afterPropertiesSet method in a bean implementation class implementing theInitializingBean interface is invoked This processing is performed by a BeanPostProcessor If the same initializationmethod has already been invoked it will not be invoked again Any custom bean initialization method is invoked Bean initialization methods can be specified either in the value of the init methodattribute in the corresponding element in a Spring XML configuration or inthe initMethod property of the Bean annotation This processing is performed by a BeanPostProcessor If the same initializationmethod has already been invoked it will not be invoked again The bean is ready for use Which of the following are auto configured when using DataJpaTest Spring Repositories Spring Security DataSource Message sourceCorrect Answer is Explanation The DataJpaTest annotation auto configures the following CachingSpring Data JPA repositoriesFlyway database migration toolA DataSource The data source will as default use an embedded in memory database test database Data source transaction manager A transaction manager for a single DataSource A JdbcTemplateLiquibase database migration toolJPA based configuration for HibernateSpring transactionA test databaseA JPA entity manager for tests What one of these ensures that if anything goes wrong the changes will be preserved once the system is back Atomicity Consistency Isolation DurabilityCorrect Answer Explanation The effect of one transaction will not have any impact on another transaction so they are independent to one another They are totally isolated from one another Which of the following properties are required in order to configure an external MySQL Database spring datasource password spring datasource username spring datasource url spring datasource driver class nameCorrect Answer Explanation All of these are required Depending on the Database Provider sometimes it is not necessary to provide the driver class name Which class is used for programmatic usage of transactions TransactionTemplate TransactionExecutor Transactional RollbackManagerCorrect Answer Explanation Transactional annotation in Spring is used for declarative usage not programmatic What effect does setting the attribute readOnly on the Transactional annotation to true have It does not allow write operations It may optimize query performance Sets the lock mode to READ Nothing It is there only for documentation Correct Answer is Explanation Only some databases reject the INSERT and UPDATE statements inside a read only transaction Which of the following does Spring Boot provide regarding error handling Global error page JSON error response Checked exceptions for most common problems Logging errors stack traces separatelyCorrect Answer Explanation By default Spring Boot provides an error mapping that handles all errors in a sensible way and it is registered as a global error page in the servlet container For machine clients it produces a JSON response with details of the error the HTTP status and the exception message For browser clients there is a whitelabel error view that renders the same data in HTML format to customize it add a View that resolves to error Spring only throws unchecked exceptions in the case of problems Which of the following are web environment options offered by SpringBootTest RANDOM PORT WEB MINIMAL DEFINED PORTCorrect Answer Explanation Four different types of web environments can be specified using the webEnvironment attribute of the SpringBootTest annotation MOCK Loads a web ApplicationContext and provides a mock web environment Does not start a web server RANDOM PORT Loads a WebServerApplicationContext provides a real web environment and starts an embedded web server listening on a random port The port allocated can be obtained using the LocalServerPort annotation or Value local server port Web server runs in a separate thread and server side transactions will not be rolled back in transactional tests DEFINED PORT Loads a WebServerApplicationContext provides a real web environment and starts an embedded web server listening on the port configured in the application properties or port if no such configuration exists Web server runs in a separate thread and server side transactions will not be rolled back in transactional tests NONE Loads an ApplicationContext without providing any web environment That s all in this first list of Spring Questions for practice In the next list I will share more question I Am also thinking to categories them on topics like Spring Data JPA questions Spring security questions and Spring MVC questions for better learning experience If you like guys like that way I will do accordingly All the best with your Spring certification preparation Other Interview Questions and Articles for Java programmer The Java Developer RoadMap Spring MVC and REST annotations for Java Programmers Advanced Spring MVC Interview Questions Free Spring Courses for Java developers Spring REST Interview Questions for Java developers Free Tutorials and Courses to learn Spring Boot Java Coding Interview Questions and Answer Books to learn Spring Framework better Best Courses to learn Spring Framework How to implement Role based access control in Spring Courses to learn Learn Spring in depth Difference between Dependency Injection and Factory Pattern Advanced Spring Boot Courses for Java developers Free Courses to learn Core Spring and Spring Boot Things Java Developers Should Learn Java and Web Development Frameworks You can learnP S If you want to learn Spring and Spring Boot from scratch in a guided code focused way I also suggest you check out Eugen Paraschiv s Learn Spring The Master Class for more in depth learning of spring framework |
2023-01-21 09:07:01 |
海外TECH |
Engadget |
Elon Musk defends 'funding secured' tweets in Tesla shareholder trial |
https://www.engadget.com/elon-musk-defends-funding-secured-tweets-tesla-shareholder-trial-095159189.html?src=rss
|
Elon Musk defends x funding secured x tweets in Tesla shareholder trialElon Musk said that just because he tweets something it quot does not mean people believe it or will act accordingly quot The Tesla chief took the witness stand in a San Francisco federal court to defend himself and the tweets he made back in in a lawsuit filed by a group of the automaker s shareholders quot I think you can absolutely be truthful but can you be comprehensive Of course not quot he added regarding Twitter s character limits If you ll recall Musk famously tweeted in August that he was quot considering taking Tesla private at quot and that he was already able to secure funding quot Investor support is confirmed quot he said in a follow up tweet The CEO later revealed that he was in talks with Saudi Arabia s Public Investment Fund which reportedly expressed interest in Tesla as part of the country s bid to lessen its reliance on oil However the deal didn t materialize and he later penned a lengthy post on the automaker s website to say that it s staying public nbsp As CNBC notes shareholders blamed those quot funding secured quot tweets for their significant financial losses leading them to file a class action lawsuit against Musk Tesla s shares apparently remained highly volatile in the weeks that followed The executive however downplayed his tweets impact and said that they don t necessarily affect stock prices quot There have been many cases where I thought that if I were to tweet something the stock price would go down For example at one point I tweeted that I thought that in my opinion the stock price was too high and it went went higher which was which is you know counterintuitive quot In addition to the shareholder lawsuit the Securities and Exchange Commission sued Musk over his tweets calling them quot false and misleading statements quot that could be constituted as fraud Musk and Tesla paid million each to settle with the SEC and the executive had to step down as board chairman The SEC also required company lawyers to approve any Tesla related tweet Musk makes ーa condition the CEO tried and failed to get out of last year nbsp Aside from defending his tweets Musk criticized short sellers during his testimony telling the court that short selling quot should be made illegal quot He added quot It is a means for in my opinion bad people on Wall Street to steal money from investors Not good quot Another piece of information to take away from his time on the witness stand is that nobody can tell Musk to stop tweeting When lawyers asked him about the advice he got to refrain from posting on Twitter after calling a British cave diver a quot pedo guy quot Musk said quot I continued to tweet yes quot According to Reuters Musk only testified for less than minutes and that he s not done answering lawyers questions He s expected to take the witness stand again to explain why he wrote the funding tweets and why he insisted that he had Saudi Arabia s backing nbsp |
2023-01-21 09:51:59 |
海外ニュース |
Japan Times latest articles |
Chinese who lost relatives to COVID angry at failure to protect elderly |
https://www.japantimes.co.jp/news/2023/01/21/asia-pacific/china-elderly-deaths-anger/
|
Chinese who lost relatives to COVID angry at failure to protect elderlyAs hundreds of millions of Chinese people travel to reunite with families for the Lunar New Year holiday many will do so after mourning relatives |
2023-01-21 18:46:57 |
海外ニュース |
Japan Times latest articles |
Horror of station massacre hangs heavy over Ukraine’s Kramatorsk |
https://www.japantimes.co.jp/news/2023/01/21/world/kramatorsk-missile-train-station-recovery/
|
indelible |
2023-01-21 18:28:05 |
ニュース |
BBC News - Home |
Nadhim Zahawi 'transparent' over tax affairs - Raab |
https://www.bbc.co.uk/news/uk-politics-64358025?at_medium=RSS&at_campaign=KARANGA
|
nadhim |
2023-01-21 09:24:02 |
ニュース |
BBC News - Home |
Chris Hipkins: Uphill battle looms for New Zealand's next PM |
https://www.bbc.co.uk/news/world-asia-64355972?at_medium=RSS&at_campaign=KARANGA
|
ardern |
2023-01-21 09:56:52 |
ニュース |
BBC News - Home |
Juventus: Serie A giants docked 15 points for transfer dealings |
https://www.bbc.co.uk/sport/football/64355497?at_medium=RSS&at_campaign=KARANGA
|
juventus |
2023-01-21 09:38:18 |
ニュース |
Newsweek |
がん患者や遺族の誰にでも起こり得る「記念日反応」とは何か |
https://www.newsweekjapan.jp/stories/technology/2023/01/post-100659.php
|
そうすると、翌日には体調も戻って仕事にも行けるようになったんです」私は彼女に、記念日反応のことをすでに伝えていたので、彼女は「これが記念日反応なんだ」と気づいたそうです。 |
2023-01-21 18:30:00 |
コメント
コメントを投稿