python |
Pythonタグが付けられた新着投稿 - Qiita |
Python - ScikitLearnの学習 ( 前処理、SVM ) |
https://qiita.com/K_Nemoto/items/b55b9a5e099b6f1e2c44
|
pythonscikitlearn |
2023-05-20 17:42:56 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Macの初期設定-Pythonの導入とtkinterの設定 |
https://qiita.com/hamurai/items/d8f7d08a497e646ca18a
|
macosbigsu |
2023-05-20 17:37:53 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
【Paiza問題集】標準入力メニュー/N行M列のデータの入力 |
https://qiita.com/norma2627/items/563777850fd4b55635d7
|
paiza |
2023-05-20 17:36:03 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
pythonで読み込んだCSVデータから集計値を取得する |
https://qiita.com/WakakoChiba/items/c825d171481eff9e38af
|
jupyternotebookpython |
2023-05-20 17:34:50 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
Vue.jsと音声APIで世界のみんなにこんにちは! |
https://qiita.com/iwakatakagundan/items/27523c76a361bf647e53
|
vuejs |
2023-05-20 17:14:35 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
docker環境のMySQLデータベース初期化でサンプルデータインポートができなくて詰まった |
https://qiita.com/masa-kogi/items/eee1a2ccadb1df17009a
|
docker |
2023-05-20 17:12:43 |
技術ブログ |
Developers.IO |
CloudWatch アラームで設定した閾値を越えていないのに、ALARM 状態になる原因と対処法を教えてください |
https://dev.classmethod.jp/articles/tsnote-cloudwatch-alarm-check-settings/
|
alarm |
2023-05-20 08:32:34 |
海外TECH |
DEV Community |
Solving Palindrome Check with JavaScript |
https://dev.to/muhmmadawd/solving-palindrome-check-with-javascript-462n
|
Solving Palindrome Check with JavaScript Introduction Palindromes are fascinating word or number sequences that read the same forwards and backward When it comes to programming checking whether a given string is a palindrome or not is a common problem We lldiscuss the problem outline an approach present a step by step solution and provide example code using JavaScript Understanding the Problem Given a string we need to determine whether it is a palindrome or not A palindrome is a string that remains the same when its characters are reversed My approach for solving this problem Step Remove non alphanumeric charactersThe first step is to clean the input string by removing any non alphanumeric characters We can achieve this by using a regular expression and the replace method The regular expression a z g matches any character that is not a letter or a digit We replace these characters with an empty string to obtain a clean version of the input string Step Reverse the cleaned stringNext we split the cleaned string into an array of individual characters using the split method We then reverse the order of the characters in the array using the reverse method Finally we join the reversed characters back into a string using the join method Step Compare the cleaned string with the reversed stringIn the final step we compare the cleaned string obtained in Step with the reversed string obtained in Step If both strings are equal it means the original input string is a palindrome Otherwise it is not My solution function palindrome str const regex a z g const cleanStr str toLowerCase replace regex const reverseStr cleanStr split reverse join const isPalindrome cleanStr reverseStr return isPalindrome palindrome My age is si ega ym If you have any questions or feedback please feel free to share them in the comments Thanks for being here About the Author Muhammad Awd is a passionate JavaScript developer with expertise in problem solving and web development He has a strong track record of delivering high quality projects and enjoys tackling challenging coding puzzles You can explore more of Muhammad s work and connect with him on his LinkedIn and GitHub Get in Touch If you have any JavaScript development opportunities project collaborations or would like to discuss any tech related topics feel free to reach out at muhmmad awd gmail com looks forward to hearing from you and exploring potential collaborations |
2023-05-20 08:38:03 |
海外TECH |
DEV Community |
What I Learned from Crawling 100+ Websites |
https://dev.to/polterguy/what-i-learned-from-crawling-100-websites-2j09
|
What I Learned from Crawling WebsitesOur primary product is a ChatGPT website chatbot One of its unique features is that we re able to scrape your website to create context data for a ChatGPT chatbot However when I say unique there are similar products out there doing similar things We ve got one unique difference though which is that we simply cannot afford to say no What I mean by that is that instead of just saying it doesn t work when confronted with a website we couldn t crawl I have manually crawled and debugged these websites seeing such errors as an opportunity to improve our crawler Which is probably why we ve got a kick ass crawler able to literally digest almost anything you throw at it today As far as I know I think we re the only vendor able to for instance crawl a website without a sitemap My findingsFirst of all the amount of things that can go wrong during website scraping is insane Not because there are flaws with the crawler but because people have some really really weird websites with so many interesting bugs and errors it s almost pussling to me that their websites works at all Of course for me being a natural born geek saying such things is easy while for most people a website isn t even close to what their primary business is based around and more like a bonus thing they don t really care that much about So I don t pass judgment here in any ways I can only assume my car mechanic would say similar things if he looked under the hood of my car However getting to look behind the hoods in such detail as I have done over the last months gives me a unique insight into what s actually out there And below are some of the issues I ve found Empty robots txt files still returning success from the web serverEmpty sitemap filesSitemap files served as HTML Content TypeRobots txt files referencing the landing page as its sitemap obviously returning HTML once retrieved regardless of how you massage your Accept header Entire websites without as much as a single Hx element or paragraph entirely built using DIV elements Seriously and a lot of websites aren t actually websites but actually SPA appsA week ago I wanted to write a blog about our RTL feature and I figured Hey let s find some Quran website and create a ChatGPT website chatbot wrapping the Quran I checked out dozens of websites and I literally could not find a single Quran related website that contained as much as a single Hx or paragraph element I had to give up I couldn t find a single Quran website I could intelligently crawl with our technology Implying you could probably create a company doing nothing but creating Quran websites and you d probably never run out of clients wanting to improve their site s SEO and structure I could go on for hours listing weird findings but you get the point What I m coming to is that crawling and scraping a website is not for the faint at heart it s pure rocket science If you create a crawler and try it on your own website and it works because your site is built by somebody who knows web standards Congratulation you ve created a website crawler that can handle maximum of the websites out there would be my guess Literally of all the websites in the world suffers from one or more severe bug making them almost impossible to crawl At least the websites I have seen these last months are suffering here My pointI used to laugh of web design companies providing web design as a service My assumption was that creating websites was a solved problem and that you couldn t really find many customers willing to pay for such services since everybody already have a working website After having spent months crawling websites I am not so sure anymore If you want to have a kick ass business idea implement a website validator such as SEOBility and couple it with web design services providing you with leads giving your leads insight into your report Then create an automatically generated report providing details about what s wrong with the website and use these arguments as a sell in to gather clients Once website owners can actually see how many wrongs there are with their websites I assume they would be much more willing to pay for re designing and re creating their website In fact it could be argued that we are perfectly positioned for such a thing having built a kick ass website crawler with the intention of generating context data for our ChatGPT website chatbot technology ending up with insights into website quality to an extent difficult to reproduce for others And here s the point Try out our product and create yourself a ChatGPT website chatbot in minutes Why Because the quality of your chatbot will reveal a lot of information about your website s quality If it fails because your website is riddled with bugs you know your site is crap and you need to create a new one Then realise that we re in the process of white labeling the above Create a ChatGPT website chatbot form allowing web design companies to implement it on their own websites as a service to clients and leads providing them with valuable insights into the quality of their clients and leads websites giving them arguments they can use to generate more customers for their primary business Which is creating website In addition to having an additional source of revenue being revenue share on the chatbot product themselves Then realise I m talking about subscription based services providing you with monthly recurring revenue for the hosting of the chatbot itself Now all I ve got to do is to figure out how to generate an automatic report sending it to the partner s lead generation email address with a detailed description of what s wrong with the website to provide arguments for creating a new one And catching Laughing all the way to the bank give me another week |
2023-05-20 08:09:44 |
海外ニュース |
Japan Times latest articles |
Zelenskyy arrives in Hiroshima for talks with Kishida on G7 sidelines |
https://www.japantimes.co.jp/news/2023/05/20/national/politics-diplomacy/zelenskyy-attend-g7-hiroshima-kishida/
|
Zelenskyy arrives in Hiroshima for talks with Kishida on G sidelinesThe previously unannounced trip to the atomic bombed city will be highly symbolic amid Russia s nuclear saber rattling and threats to use the weapons in the war |
2023-05-20 17:51:53 |
海外ニュース |
Japan Times latest articles |
G7 warns China over ‘militarization activities’ but seeks support for pressuring Russia |
https://www.japantimes.co.jp/news/2023/05/20/national/g7-warning-china/
|
G warns China over militarization activities but seeks support for pressuring RussiaA final communique released by G leaders a day ahead of the summit s conclusion called on Beijing to adhere to international norms including addressing “nonmarket |
2023-05-20 17:42:55 |
ニュース |
BBC News - Home |
Long-term sick: How record number is changing UK economy |
https://www.bbc.co.uk/news/business-65625529?at_medium=RSS&at_campaign=KARANGA
|
number |
2023-05-20 08:40:55 |
コメント
コメントを投稿