python |
Pythonタグが付けられた新着投稿 - Qiita |
いまさら解説する「データ加工」 §0 |
https://qiita.com/iruka_1997/items/d68fd33c6f29adcb96fe
|
自己紹介 |
2023-07-31 22:57:43 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
[AtCoder]Pythonのそれぞれの操作の計算量と代替案 |
https://qiita.com/mattya256/items/ca86028efb7b5697c87f
|
atcoder |
2023-07-31 22:52:01 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
【 ChatGPT】生成AIを使ったデータ分析の記事まとめ |
https://qiita.com/ot12/items/0f24b45ee766f3a9d81f
|
chatgpt |
2023-07-31 22:27:11 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
TwinMakerに良い感じの(ホバー、操作ができる)ボタンを置く |
https://qiita.com/ShotaOki/items/be44b709d240226b9eb7
|
awsiottwinmaker |
2023-07-31 22:55:03 |
golang |
Goタグが付けられた新着投稿 - Qiita |
【Go言語】完全コンストラクタパターンを適応する |
https://qiita.com/kbys-fumi/items/669db4385c3e8471088a
|
completeconstruct |
2023-07-31 22:48:07 |
技術ブログ |
Developers.IO |
【Security Hub修復手順】[CloudFront.7] CloudFront ディストリビューションでは、カスタム SSL/TLS 証明書を使用する必要があります |
https://dev.classmethod.jp/articles/securityhub-fsbp-remediation-cloudfront-7/
|
awssecurityhub |
2023-07-31 13:52:48 |
技術ブログ |
Developers.IO |
個人的な再帰関数を書くときのポイント |
https://dev.classmethod.jp/articles/try-recursive-function/
|
自分自身 |
2023-07-31 13:35:13 |
技術ブログ |
Developers.IO |
AWS CLIでサービス固有エンドポイントを使ってMediaConvertのコマンドをシンプルに実行する! |
https://dev.classmethod.jp/articles/aws-elemental-mediaconvert-aws-cli-service-specific-endpoint/
|
awscli |
2023-07-31 13:24:22 |
海外TECH |
MakeUseOf |
How to Block the Status Feature on WhatsApp |
https://www.makeuseof.com/whatsapp-how-to-block-status-feature/
|
whatsapp |
2023-07-31 13:46:23 |
海外TECH |
MakeUseOf |
4 Tips to Determine Your Career Path as a Student |
https://www.makeuseof.com/determine-career-path-as-student/
|
career |
2023-07-31 13:30:24 |
海外TECH |
MakeUseOf |
Why Your Instagram Reels Are Not Getting Views (and How to Fix It) |
https://www.makeuseof.com/why-instagram-reels-not-getting-views-fixes/
|
instagram |
2023-07-31 13:15:23 |
海外TECH |
MakeUseOf |
How to Extend Your EV’s Battery Life |
https://www.makeuseof.com/your-ev-battery-life/
|
attention |
2023-07-31 13:01:23 |
海外TECH |
MakeUseOf |
How Ransomware Gangs Enlist Insiders (And How to Stop Them) |
https://www.makeuseof.com/how-ransomware-gangs-enlist-insiders/
|
company |
2023-07-31 13:01:23 |
海外TECH |
DEV Community |
Android Studio on Devuan 4: インストール |
https://dev.to/nabbisen/android-studio-on-devuan-4-insutoru-3h8f
|
NewProjectを選びましょうアプリ・テンプレートの選択に進みますプロジェクトの基本情報ですデフォルトのプログラミング言語はKotlinです。 |
2023-07-31 13:47:56 |
海外TECH |
DEV Community |
I published my First App on Google PlayStore 😍😍✨ |
https://dev.to/dilane3/i-publishee-my-first-app-on-google-playstore-3g5i
|
I published my First App on Google PlayStore What I built Hello Devs This is an excited day I m excited to shared with you what makes me happy today I published my First Mobile App on Google Play store I decided to call it Dask and it s a mobile application that will help you manage your tasks and organized them into projects for easy manipulation ️ How it works really There is two mode the first one is that you can use this app for a personal use case For example you want to realize a simple application with some features you can create a personal project in the app and add features you want to implement as tasks simple The second one is that if for example you have to work with some one else and assign tasks to a specific team member you have to create a shared project instead and inside you could be able to invite people to collaborate Screenshots Which tools I used Let me show you what I used to develop it React Native mobile app Firebase Backend especially used to store shared projects that you will ahve with your team Nodejs Express amp Socket io for real timeGx for state management it s my own State Management Library check the documentation here That s allIf you want to test Just follow the link below and please leave feedbacks I will really appreciate it The link of the application is down here Thanks for reading |
2023-07-31 13:43:34 |
海外TECH |
DEV Community |
A webpack.config.js for WordPress Projects |
https://dev.to/sarahcssiqueira/a-webpackconfigjs-for-wordpress-projects-2d68
|
A webpack config js for WordPress ProjectsThat s another of those posts in which my main goal is to document for my own future reference and with some hope can be useful for other developers Configuring webpack manually can take a considerable amount of time so I thought it s a good idea to keep things documented somewhere and since I am documenting why not share with others I would like to add that you can extend the webpack as you want according to the needs of your project That s a basic configuration that covers basic needs to starting a WordPress theme for example If you are reading and interested in setting webpack in a WordPress project I am assuming you have some understanding about obviously WordPress projects like custom themes or custom plugins And I also believe that you know about setting up a WordPress development environment either using a Docker or XAMPP so I will not write about those topics I will not write about how to enqueue register the assets generated by webpack either If necessaire you can read more about it in this article or the official WordPress documentation About webpackSome knowledge about webpack can be very handy but I will do my best trying to explain one thing or another Webpack is a free and open source module bundler based on Node js for JavaScript It is very famous in the modern javascript frameworks world and although it was made primarily for JavaScript it also can transform front end assets such as CSS and images if the corresponding loaders are included this is the reason I will be using so many dependencies below In a WordPress project like this example theme webpack avoids multiple requests taking all our javascript and css files and bundling all of them together in a minified file It also increases my productivity as well I don t need to manually compile and minify things RequirementsNode js or later NPM webpack and newer Creating the package jsonCreate the package json by typing the command npm init Then install the required dependencies npm i babel cli babel core babel preset env babel preset react wordpress dependency extraction webpack plugin babel loader clean webpack plugin copy webpack plugin cross env css loader css minimizer webpack plugin file loader mini css extract pluginsass loader terser webpack plugin webpack webpack cli Dor after creating your package json edit it and paste the following in the file devDependencies babel cli babel core babel preset env babel preset react wordpress dependency extraction webpack plugin babel loader clean webpack plugin copy webpack plugin cross env css loader css minimizer webpack plugin file loader mini css extract plugin sass loader terser webpack plugin webpack webpack cli Then run npm install The dependencies will be installed This project was updated in May and maybe necessaire to replace some dependencies in the future So it s important you know more about each dependency to be able to solve any issue that may arise I am also assuming you know the term dependency hell You can read about each dependency used in this article in the links below babel cli babel core babel preset env babel preset react babel loader clean webpack plugin copy webpack plugincross env css loadercss minimizer webpack plugin file loader Example of dependency that is deprecated for webpack v it s recommended migrate to asset modules dependency which I still didn t mini css extract pluginsass loader terser webpack plugin webpackwebpack cli The webpack config jsNow let s set up our webpack config js file See the complete file on Gist We will need export modules Webpack configuration module exports env argv gt entry output Entry and Output pointsWe need to define an entry point and an output Let s place those out for the sake of readability const entry const output module exports env argv gt entry entry output output Our entry output paths const entry main require path resolve dirname src js index js const output path require path resolve dirname build filename js name js Rewriting const path require path const JS DIR path resolve dirname src js const BUILD DIR path resolve dirname build const entry main JS DIR index js const output path BUILD DIR filename js name js devtoolLet s set our devtool in the module exports this option controls if and how source maps are generated For more information and options you can choose please refer to the documentation I choose the source map devtool source map RulesYet in the module exports let s add some rules module rules rules Those are my rules for Javascript and CSS const rules test js include JS DIR exclude node modules use babel loader test scss exclude node modules use MiniCssExtractPlugin loader css loader sass loader Plugins CSSWebpack doesn t understand CSS by default so we will need some plugins in this case the MiniCssExtractPlugin already installed above Require it at the top of our webpack config adding const MiniCssExtractPlugin require mini css extract plugin Add plugins in the module exports plugins plugins argv gt And then the CSS plugin itself new MiniCssExtractPlugin filename css name css ImagesWebpack doesn t understand images either The chosen plugin for handling it was the file loader yes that one I am considering replacing as soon as I find time test png jpg svg jpeg gif ico use loader file loader options name path name ext publicPath production process env NODE ENV Clean weppack pluginA webpack plugin to remove clean your build folder s const CleanWebpackPlugin require clean webpack plugin Create a plugin only for production mode new CleanWebpackPlugin cleanStaleWebpackAssets production argv mode Copy Filesnew CopyPlugin patterns from IMG DIR to BUILD DIR img OptimizationRequire the dependencies on top of the webpack file const CssMinimizerPlugin require css minimizer webpack plugin const TerserJsPlugin require terser webpack plugin And inside the module exports optimization minimizer new CssMinimizerPlugin new TerserJsPlugin minimize true Externals for webpackWith external you can exclude some libraries from the bundler for example jquery externals jquery jQuery ScriptsTo help us work with all this let s set some scripts in the package json scripts prod cross env NODE ENV production webpack mode production progress watch cross env NODE ENV development webpack watch mode development progress The complete webpack config js and devDependencies are available on this GitHub Gist If it was useful for you please comment below and consider star the gist |
2023-07-31 13:41:29 |
海外TECH |
DEV Community |
Debugging from different viewpoints |
https://dev.to/rajasegar/debugging-from-different-viewpoints-46k0
|
Debugging from different viewpointsThis is first in the series of posts about Rules of Debugging In this post we will take a look at debugging from different viewpoints from psychology mindset to attitudes Before diving into the article let s first define what do you mean by debugging According to the seminal book Code Complete written by Steve McConnell Debugging is the process of identifying the root cause of an error and correcting it Psychology of DebuggingWhen approaching debugging from a psychological perspective it is evident that it holds significant sensitivity and emotion for many developers Instead of treating it merely as a puzzle to be solved it can lead to encounters with denial finger pointing excuses or even apathy However by accepting that debugging is essentially a form of problem solving one can adopt a more effective approach and tackle it accordingly Debugging is just problem solving The Debugging MindsetCarol S Dweck a renowned psychologist is known for her groundbreaking research on mindset She introduced the concept of a growth mindset and a fixed mindset According to Dweck individuals with a growth mindset believe that their abilities and intelligence can be developed through effort learning and perseverance On the other hand those with a fixed mindset believe that their qualities are innate and unchangeable leading to a fear of failure and a reluctance to take on challenges Dweck s work emphasizes the importance of cultivating a growth mindset to foster resilience learning and personal development Prior to commencing the debugging process it is crucial to embrace the appropriate mindset This entails setting aside several defenses employed daily to protect one s ego disregarding any project pressures that may exist and ensuring personal comfort Above all remember the first rule of debugging DON T PANIC It s an OpportunityDebugging should be perceived as a valuable opportunity It provides a chance to gain insights into various aspects such as Understanding the program you are currently working on better Recognizing the types of mistakes you commonly make Evaluating the quality of your code from the perspective of someone who has to read and understand it Observing your problem solving skills in action Learning how you approach and resolve defects or issues The Right AttitudeAttitude is your window to the world Jeff KellerWith the right attitude debugging can be fun like solving a puzzle The right attitude for debugging involves adopting a positive and proactive mindset Here are some key aspects of the right attitude for effective debugging Curiosity Approach debugging with a curious and inquisitive mindset Be eager to explore and understand the root cause of the issue Patience Debugging can be a time consuming process especially for complex problems Stay patient and persistent while working through the troubleshooting steps Openness to Learning View debugging as an opportunity to learn and improve your skills Embrace each debugging challenge as a chance to gain insights and grow Humility Be humble and recognize that everyone makes mistakes Debugging is about finding and fixing those mistakes not a reflection of your worth or intelligence Systematic Approach Follow a systematic approach to identify and isolate the problem systematically Avoid making hasty assumptions and thoroughly examine the code or system Collaboration Don t hesitate to seek help from colleagues or the broader developer community Collaboration can lead to fresh perspectives and solutions Attention to Detail Pay attention to the smallest details as they can often hold crucial clues to the problem s source Optimism Believe in your ability to resolve the issue successfully An optimistic attitude can help maintain focus and motivation during challenging debugging sessions Resilience Debugging can be frustrating at times especially when progress seems slow Stay resilient and persevere through the difficulties Documentation Keep track of the debugging process the steps taken and the solutions attempted This documentation can be valuable for future reference and learning By embracing these attitudes developers can approach debugging with a constructive mindset leading to more effective and satisfying results in resolving issues Debugging is twice as hard as writing the code in the first place Therefore if you write the code as cleverly as possible you are by definition not smart enough to debug it ーBrian W Kernighan Debugging is an artDebugging can indeed be seen as an art form as it requires a creative and intuitive approach to unravel complex software issues Like a skilled artist a proficient debugger must possess patience attention to detail and the ability to think outside the box The process of identifying and fixing bugs often involves exploring different paths employing various strategies and sometimes even trusting one s gut feeling Much like an artist refining their masterpiece a skilled debugger hones their craft through experience learning from each unique challenge they encounter Ultimately mastering the art of debugging can turn a programmer into a virtuoso of problem solving capable of turning chaos into harmony within the code Hope you enjoyed the post Please let me know your thoughts about what does debugging mean to you in the comments section I am happy to hear your thoughts ReferencesDebugging indispensable rules to catch the most elusive software and hardware bugs by David J AgansCode complete by Steve McConnellThe Pragmatic Programmer by Andy Hunt and Dave ThomasThe Elements of Programming Style by Brian Kernighan and P J Plauger |
2023-07-31 13:26:26 |
Apple |
AppleInsider - Frontpage News |
MagSafe travel chargers, iOS features that never arrived, and more smart home news on the HomeKit Insider podcast |
https://appleinsider.com/articles/23/07/31/magsafe-travel-chargers-ios-features-that-never-arrived-and-more-smart-home-news-on-the-homekit-insider-podcast?utm_medium=rss
|
MagSafe travel chargers iOS features that never arrived and more smart home news on the HomeKit Insider podcastOn this week s episode of the HomeKit Insider podcast your hosts discuss promised iOS features that never arrived talk about some new smart home tech and review some MagSafe travel chargers HomeKit InsiderThis week Onvis released a new Matter enabled smart plug that is fully compatible with Apple Home It isn t flashy but it s affordable and will support many platforms thanks to Matter Read more |
2023-07-31 13:42:53 |
Apple |
AppleInsider - Frontpage News |
Apple Vision Pro release might see movie libraries updated with 3D options |
https://appleinsider.com/articles/23/07/31/apple-vision-pro-release-might-see-movie-libraries-updated-with-3d-options?utm_medium=rss
|
Apple Vision Pro release might see movie libraries updated with D optionsAn Apple Vision Pro code dive has revealed a Play D option in the new TV app which may presage Apple upgrading users libraries to D where and when available Apple Vision Pro at WWDC Apple showed off D movies during its launch of the Apple Vision Pro headset at WWDC but didn t detail how they would be available Subsequently further reports have revealed that Monarch Legacy of Monsters has been made in D for Apple TV Read more |
2023-07-31 13:18:51 |
海外TECH |
Engadget |
The best iPad cases for 2023 |
https://www.engadget.com/best-ipad-cases-to-protect-your-tablet-130033533.html?src=rss
|
The best iPad cases for Regardless of whether you re using your iPad as a laptop replacement or giving it to your kid to distract them during a road trip it s a good idea to secure it with a case Even if you treat your tech like gold it s impossible to predict all the hazards life will throw at you But having a layer of protection in the form of a case can make it so your iPad has a better chance of emerging unscathed from those situations Below are some of our top picks for the best iPad cases you can get right now at various price points and providing different levels of protection Otterbox Symmetry Otterbox is an expert when it comes to protection as seen with their phone cases but its Symmetry Series series shows that it has design chops too Symmetry cases look similar to Apple s Smart Cover but the clear scratch resistant back is sturdy without adding a lot of weight to the iPad Plus the edge protection is substantial so you won t have to worry about damage from the inevitable accidental bumps your tablet takes The extra flap Otterbox added keeps the iPad screen cover closed and holds the second generation Apple Pencil to the side of the iPad Pros Symmetry Series cases are available for most iPad models and there s a new offshoot of the lineup called Symmetry Folio which includes a dedicated sleeve for your Apple Pencil on the front cover ProCase iPad casesLook no further than ProCases iPad covers if you want a solid dupe for Apple s own Smart Cover ProCase has a lot of different designs but its Thin Hard Protective Smart Folio will be a great option for anyone that just wants a bit of extra protection for their tablet Plus it helps that it s available for all current iPad models and even a few old school versions too A thin layer of hard plastic encases your iPad while the front flap magnetically closes over the screen to protect it And for iPad models that support the second generation Apple Pencil the case leaves a cut out on the edge where the stylus can sit when you re not using it They may not be quite as substantial as Otterbox Symmetry cases but ProCase s accessories make up for that in price you can pick one up for as low as and we ve seen some go on sale for even less than that Otterbox Defender seriesIf you re not messing around with your iPad look no further than Otterbox s Defender series of cases The company has these rugged covers for tons of different devices and Defender cases for iPads provide some of the best protection you could ask for In addition to passing more than shock abrasion and drop tests Defender cases have a built in screen protector and covers for the single port on all of the latest iPad models You can also detach the Shield Stand and use it to prop up your iPad for better viewing It may be on the bulky side especially compared to other cases on this list but we think that s a fair tradeoff for the extra protection Apple Magic KeyboardIt s hard to get much better than Apple s own Magic Keyboard if you want a case that will turn your tablet into an acceptable laptop replacement iPads magnetically attach to it hovering above the keys and trackpad while allowing you to angle it from to degrees to get the right viewing position It feels surprisingly sturdy and the keyboard itself is great to use for long periods of time It doesn t have the same stability a standard laptop would if you re using it on your lap but you won t feel like your setup will collapse at any moment either The glass trackpad is another standout ーit s wide enough for gestures and generally a breeze to use even if it s noticeably smaller than one you d get on a full sized MacBook There are two major drawbacks to the Magic Keyboard it doesn t provide a ton of protection and it s expensive The edges do not wrap around the iPad so this is not the case to get if you re particularly prone to dropping things Also the Magic Keyboard costs to depending on the size of your iPad Without a doubt it s the most luxurious iPad case on this list but those who want to make their iPad as functional as possible will get a lot of use out of it Logitech Combo TouchLogitech is known for solid accessories and the Combo Touch keyboard case is no exception Think of it as a more versatile and more affordable alternative to the Magic Keyboard The case wraps securely around your iPad and has a built in kickstand that lets you adjust your viewing angle for whatever you re doing be it typing watching videos sketching or reading The backlit keyboard is pretty spacious and includes a multi touch trackpad for more precise on screen control There s also a spot for your Apple Pencil so it ll be close at hand when you need to mark up a document or doodle an idea in Apple Notes It ll probably be harder to balance Logitech s kit on your lap than the Magic Keyboard but that s a small price to pay for an otherwise stellar keyboard case We also like that Logitech offers the Combo Touch in various sizes that fit the latest iPad iPad Air and iPad Pro models This article originally appeared on Engadget at |
2023-07-31 13:00:33 |
海外科学 |
NYT > Science |
Mauricio Diazgranados Is a Botanist in a Hurry |
https://www.nytimes.com/2023/07/31/science/new-york-botanical-garden-diazgranados.html
|
chief |
2023-07-31 13:08:12 |
海外科学 |
NYT > Science |
Taylor Swift-Quake: Fans Cause Seismic Activity at Seattle Concert |
https://www.nytimes.com/2023/07/28/arts/music/taylor-swift-earthquake-seattle-.html
|
Taylor Swift Quake Fans Cause Seismic Activity at Seattle ConcertSeismometers can pick up many types of ground vibrations but this drew comparisons to the “Beast Quake of when Seattle football fans roared in celebration of a last minute Seahawks touchdown |
2023-07-31 13:56:29 |
海外TECH |
WIRED |
Fisker Ocean 2023 EV First Drive: Not Ready Yet |
https://www.wired.com/story/first-drive-fiskers-ocean-ev-is-just-not-ready-yet/
|
Fisker Ocean EV First Drive Not Ready YetCalifornia Mode is outstanding and the EV s design is a clear winーbut too many features are missing or “coming soon making this SUV a jumble of hits and misses |
2023-07-31 13:24:03 |
海外科学 |
BBC News - Science & Environment |
Dartmoor wild camping to resume after appeal win |
https://www.bbc.co.uk/news/science-environment-66341778?at_medium=RSS&at_campaign=KARANGA
|
appeal |
2023-07-31 13:51:02 |
金融 |
金融庁ホームページ |
つみたてNISA対象商品届出一覧及び取扱金融機関一覧を更新しました。 |
https://www.fsa.go.jp/policy/nisa2/about/tsumitate/target/index.html
|
対象商品 |
2023-07-31 15:00:00 |
金融 |
金融庁ホームページ |
鈴木財務大臣兼内閣府特命担当大臣臨時閣議後記者会見の概要(令和5年7月25日)を掲載しました。 |
https://www.fsa.go.jp/common/conference/minister/2023b/20230725-1.html
|
内閣府特命担当大臣 |
2023-07-31 14:25:00 |
ニュース |
BBC News - Home |
NEU teacher strikes end as members in England accept pay deal |
https://www.bbc.co.uk/news/education-66360677?at_medium=RSS&at_campaign=KARANGA
|
england |
2023-07-31 13:42:44 |
ニュース |
BBC News - Home |
UK weather: When will it stop raining and the summer improve? |
https://www.bbc.co.uk/news/uk-66362004?at_medium=RSS&at_campaign=KARANGA
|
drier |
2023-07-31 13:10:56 |
ニュース |
BBC News - Home |
Andrew Malkinson: Living costs for wrongfully convicted unfair - PM |
https://www.bbc.co.uk/news/uk-england-manchester-66363354?at_medium=RSS&at_campaign=KARANGA
|
andrew |
2023-07-31 13:02:31 |
ニュース |
BBC News - Home |
What is an oil and gas licence? |
https://www.bbc.co.uk/news/business-66358380?at_medium=RSS&at_campaign=KARANGA
|
north |
2023-07-31 13:28:06 |
ニュース |
BBC News - Home |
Awaab Ishak: Rochdale landlord boss says lessons learned |
https://www.bbc.co.uk/news/uk-england-manchester-66358297?at_medium=RSS&at_campaign=KARANGA
|
death |
2023-07-31 13:41:39 |
ニュース |
BBC News - Home |
Niger coup: Ousted President Mohamed Bazoum meets Chad's leader |
https://www.bbc.co.uk/news/world-africa-66358951?at_medium=RSS&at_campaign=KARANGA
|
intervention |
2023-07-31 13:52:59 |
ニュース |
BBC News - Home |
The Ashes: England denied wicket after Stokes drops catch during celebration |
https://www.bbc.co.uk/sport/av/cricket/66360852?at_medium=RSS&at_campaign=KARANGA
|
The Ashes England denied wicket after Stokes drops catch during celebrationEngland are denied the wicket of Steve Smith after Ben Stokes drops his catch as he celebrates on day five of the fifth Ashes Test at The Oval |
2023-07-31 13:04:55 |
コメント
コメントを投稿