投稿時間:2023-03-12 04:37:38 RSSフィード2023-03-12 04:00 分まとめ(37件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
python Pythonタグが付けられた新着投稿 - Qiita PythonでMySQLにクエリを投げて結果をJSONで取得 https://qiita.com/mary_sue_act_2/items/706d8ef68bd18cc02551 mysql 2023-03-12 03:17:37
Git Gitタグが付けられた新着投稿 - Qiita Gitコマンド集 https://qiita.com/yu3san3/items/2dbc2ccba52aede3b508 gitadd 2023-03-12 03:36:10
海外TECH MakeUseOf You Can Now Access ChatGPT and Whisper APIs: What This Means for Businesses https://www.makeuseof.com/what-chatgpt-and-whisper-apis-means-for-businesses/ whisper 2023-03-11 18:31:16
海外TECH MakeUseOf 6 Risks of Using Cheap Windows Activation Keys https://www.makeuseof.com/risks-using-cheap-windows-activation-keys/ online 2023-03-11 18:15:16
海外TECH MakeUseOf Don't Fall for the Shein Gift Card Scam: How to Protect Your Money and Identity https://www.makeuseof.com/shein-gift-card-scam/ Don x t Fall for the Shein Gift Card Scam How to Protect Your Money and IdentityReceived an email from Shein or an associate telling you you ve won a free gift card Does it ask you to fill out a survey It s likely a scam 2023-03-11 18:01:16
海外TECH DEV Community Stahhp Screening for TLDs in Your Email Fields https://dev.to/bytebodger/stahhp-screening-for-tlds-in-your-email-fields-585l Stahhp Screening for TLDs in Your Email FieldsI ve had it I ve been quiet on this subject for far too long And now I feel compelled to finally crank out this angry diatribe If you re a web developer and most of the people reading this article are web developers then for the love of all that is holy please STAHHP screening email fields against an approved set of Top Level Domains TLDs You may think that you re really clever with your super advanced email validation You may think that you re forcing users to enter a valid email address But I ve seen this done incorrectly sooooo many times that by this point I d bet there s a good chance that you re screwing it up and pissing off some subset of your users HistoryAlmost as soon as you start learning web development you also learn that you should be validating user inputs Ideally you re validating those inputs on the backend and the frontend Because it s clunky as hell to submit a form to the server only to have it spit everything back at you because something didn t look right And even though frontend validation is only half of the equation there is a ton of value that can be provided to the user by giving them immediate feedback in the browser about fields that don t pass muster It s elementary to warn a user that a required field is empty or that a given input is too short long But for as long as I ve been doing this a quarter century it s always been something of a challenge to properly validate email fields Originally email validation was fairly straightforward Sometimes it was done with regular expressions Sometimes it was done with more manual checks But the basic validation went something like this Ensure that there are no invalid characters in the email address For example a copyright mark There is no valid email address that contains Ensure that even the allowed special characters do not repeat For example is acceptable and commonly used in email addresses But there is no valid email address that contains Ensure that there s one and only one character in the email address and that there are non empty strings on both sides of the character Ensure that the portion to the right of the character contains at least one character The portion to the right of the last character after the character is assumed to be the TLD Ensure that the email address s TLD is valid But it s that last point that causes all sorts of problems I remember the early regular expressions that I d see for email validation They usually took everything after the last and checked it against a list of known TLDs And for a little while at least this was workable Because there was a finite and fairly static list of valid TLDs In the early days nearly all valid emails ended in com or net or edu or gov or org or any of the country specific TLDs e g uk So most email validation scripts tried to check the last portion of the email address against these known good TLDs The TLD boomBut nowadays there s a huge proliferation of valid working TLDs that have nothing to do with the old stalwarts like com or net Your website can have a perfectly valid functional TLD like pizza or health or voyage And of course if your web presence can use those TLDs then it s entirely possible that your email address may also use those TLDs Granted the vast majority of all websites and hence all email addresses still end in a common TLD like com or net or org But every single day there are new websites and new email addresses coming online that do NOT use those common TLDs There are still sooooo many sites out there that try to do a strict validation of your email address and they attempt to do this by checking the TLD against a list of known good TLDs The problem arises because almost none of these sites are fastidious about ensuring that their list of known good TLDs are truly up to date with the actual list of real live TLDs that are available My own private hellMy CV site is at My email address is also hosted under adamdavis․codes Obviously it doesn t have a common TLD I ve done that for two specific reasons When I first setup my site adamdavis com simply wasn t available Even if adamdavis com was available I m extremely happy with adamdavis codes I m a coder The codes TLD is a perfect choice for my CV And as such it only makes sense that I d have an email address under the same TLD This isn t the only time I ve delved into uncommon TLDs My latest project is I also previously had an email address with a voyage TLD When I first started using these uncommon TLDs I d find that my email address would get frequently rejected from all sorts of online forms The form would give me a validation error stating that my email address isn t valid But it absolutely IS valid To be fair I have found that email addresses like my personal adamdavis․codes address are indeed passing many more form validations nowadays But it s still far too often that I m trying to submit an online form and yet I m stopped when the website tells me that my perfectly valid email address is invalid You know what happens when a website rejects my perfectly valid email address Well if the activity I m trying to complete is in any way optional I simply QUIT the process I ve abandoned shopping carts that had hundreds of dollars of items merely because the jank ass website claimed that my email address was invalid I ve abandoned job applications for the same reason Yes I do have a Gmail account And in those scenarios where I feel compelled to complete the process I switch out my preferred codes email address with my Gmail address But I don t do this unless I feel that I simply must complete the process And whether I abandon the process or switch to my Gmail address the whole failed validation process simply infuriates me When the new TLDs first started rolling out I found this process to be annoying but understandable It was easy to see how the web teams supporting these features simply weren t keeping up to date with the latest TLD specs But today In I m sorry but it s downright unacceptable What do you think you re accomplishing Frontend i e JavaScript form validation is for the most part a good thing The last thing you want to do is give the user a form that allows nearly any completely illogical value to be submitted But there s a point where strict validation undermines the user experience And in some cases it can downright alienate your users Take email validation for example When I m implementing email address validation in my forms I tend to use this NPM package toolz looks like email HINT I wrote this package It does exactly what the title implies It tells me if a given value looks like an email address No it s not an acid test designed to strictly filter out any potential string that could possibly be a bogus email It doesn t try to match against all known good TLDs When I use this package it s entirely possible that someone may still enter an invalid email address And you know what In most cases I couldn t care less Because if someone manages to sneak an invalid email address past my toolz looks like email package they re usually just hurting themselves For most systems that I build maintain an invalid email address will simply mean that they don t get the notices they might otherwise expect to receive But those edge cases would only occur if someone s trying very hard to find an invalid address that will pass my filter And if they re trying that hard to subvert the filter I don t care Let them Of course there are many other form elements that can suffer from being overly strict For example I once worked at a company where the user was expected to enter first name and last name values In the interest of trying to provide complete frontend validation someone set those fields to be invalid if either one contained less than three characters You probably know where this is going Although it s fairly uncommon in the US to have a first or last name that consists of fewer than three characters those names do exist In particular there are many people of Asian decent who have first or last names that consist of only two characters Once the app went live we immediately started receiving complaints that some people could not complete the online form I understand that we commonly set first and last name fields as being required meaning that they must contain some type of value But if someone only puts say their first initial in the first name field is that really hurting anyone Is it really gonna crash the system Or is it just an overly fastidious frontend developer deciding on their own that every user must enter first last name values that are over a certain length Another good example is phone fields I ve seen an increasing number of phone fields that try to tightly restrict the purely numeric values that you can enter But what happens if you don t have a direct phone line What happens if your phone number looks like this ext Yes I have seen some online forms that provide a separate field for Extension But most don t So if the only way to reach this person is by entering an extension and you don t let them enter an extension you re forcing them to only enter the main number which might connect the caller to the company s main line and the person who answers may not even know how to forward the call to the user who completed the online form Here s another example of user input for a phone field that many online forms will try to block ONLY BEFORE PM In this example the user is trying to tell you in no uncertain terms that you should not try to call this number after PM But if you ve already decided in your all knowing form developer mode that no one should ever be allowed to enter alphanumeric characters in the Phone field you re denying the user the ability to provide these sorts of valuable instructions Don t be cuteThe main lesson here is Don t be cute Yes you should strive to provide useful form validation But if you re patting yourself on the back because you re certain that you ve blocked every conceivable edge case there s a good chance that you ve also blocked some valid input And when you block valid input you run a severe risk of alienating your users Also try to be realistic about just what risks exist if someone enters bad data in a given field Sure you may believe that a phone number should only ever be numeric But is it really hurting anything if you allow letters in that field and store it on the backend as an alphanumeric 2023-03-11 18:02:13
海外TECH Engadget Microsoft confirms it won't be on the E3 2023 show floor https://www.engadget.com/microsoft-confirms-it-wont-be-on-the-e3-2023-show-floor-182214550.html?src=rss Microsoft confirms it won x t be on the E show floorWhen E returns this June to the Los Angeles Convention Center for the first time since the start of the pandemic Microsoft won t be on the show floor “We can t wait to host our Xbox Games Showcase on June th and will share more details later an Xbox spokesperson told IGN on Friday via The Verge “We also look forward to co streaming our event as part of E Digital and will not be on the E show floor Questions about Microsoft s E presence began circulating at the start of February when IGN reported that the company alongside Sony and Nintendo would not have a presence on the show floor There was some hope Microsoft would still be at the event after the company announced it would stream a dedicated Starfield showcase on June th the same day E s “Digital Week kicks off Microsoft s decision to skip the in person portion of E comes after Nintendo said last month it would not be at the event at all Sony has yet to state whether it will be at E The absence of even one console manufacturer from the E show floor is a significant blow to the Entertainment Software Association The show has lost much of its shine since when the ESA inadvertently leaked the contact information of more than journalists analysts and content creators The pandemic and the emergence of competing events like Summer Game Fest haven t allowed E to regain its footing This article originally appeared on Engadget at 2023-03-11 18:22:14
海外TECH CodeProject Latest Articles Microtonal Music Study with Chromatic Lattice Keyboard https://www.codeproject.com/Articles/1204180/Microtonal-Music-Study-Chromatic-Lattice-Keyboard different 2023-03-11 18:01:00
海外科学 NYT > Science Biden Administration Expected to Move Ahead on a Major Oil Project in Alaska https://www.nytimes.com/2023/03/10/climate/biden-willow-oil-alaska.html Biden Administration Expected to Move Ahead on a Major Oil Project in AlaskaThe decision would allow an enormous billion drilling project in the largest expanse of pristine wilderness in the United States 2023-03-11 18:24:28
ニュース @日本経済新聞 電子版 住宅メーカーは間取りから選ぶ 「営業ガチャ」を回避 https://t.co/9qYnS9dROX https://twitter.com/nikkei/statuses/1634618153434222592 間取り 2023-03-11 18:11:52
ニュース BBC News - Home Six Nations 2023: England 10-53 France - Hosts slump to record home defeat against holders https://www.bbc.co.uk/sport/rugby-union/64928055?at_medium=RSS&at_campaign=KARANGA Six Nations England France Hosts slump to record home defeat against holdersFrance produce a ruthless display to claim their first win over England at Twickenham since and keep their Six Nations title defence alive 2023-03-11 18:42:47
ニュース BBC News - Home Everton 1-0 Brentford: Dwight McNeil scores winner in first minute for Toffees https://www.bbc.co.uk/sport/football/64845520?at_medium=RSS&at_campaign=KARANGA Everton Brentford Dwight McNeil scores winner in first minute for ToffeesDwight McNeil s goal after seconds earns Everton a priceless victory over Brentford and moves them out of the Premier League relegation zone 2023-03-11 18:17:50
ビジネス ダイヤモンド・オンライン - 新着記事 【SNS医療のカタチ・トークセッション】全員集合でふりかえり「分断とはなにか」 - すばらしい人体 https://diamond.jp/articles/-/318021 2023-03-12 03:54:00
ビジネス ダイヤモンド・オンライン - 新着記事 【出口学長・哲学と宗教講義】「太った豚よりも痩せたソクラテスになれ」のほんとうの意味とは? - 哲学と宗教全史 https://diamond.jp/articles/-/318554 2023-03-12 03:52:00
ビジネス ダイヤモンド・オンライン - 新着記事 【忙しい社会人でも資格取得!!】最強時短メソッド「ながら学習」なら最効率で学習できる - 良書発見 https://diamond.jp/articles/-/316886 そんなときにお勧めなのが『大量に覚えて絶対忘れない「紙枚」勉強法』。 2023-03-12 03:48:00
ビジネス ダイヤモンド・オンライン - 新着記事 【精神科医が教える】 嘘をついて“ドツボにハマる”…悪循環を断ち切るたった2つの解決法 - 精神科医Tomyが教える 心の執着の手放し方 https://diamond.jp/articles/-/317242 【精神科医が教える】嘘をついて“ドツボにハマる…悪循環を断ち切るたったつの解決法精神科医Tomyが教える心の執着の手放し方【大好評シリーズ万部突破】誰しも悩みや不安は尽きない。 2023-03-12 03:46:00
ビジネス ダイヤモンド・オンライン - 新着記事 「センスがなくてもセンスあるねと言われる人」が重宝する1枚のテンプレートとは? - コピーライティング技術大全 https://diamond.jp/articles/-/317379 「センスがなくてもセンスあるねと言われる人」が重宝する枚のテンプレートとはコピーライティング技術大全「この本は万円以上の価値がある」東証プライム上場社長で現役マーケッターである「北の達人コーポレーション」木下勝寿社長が絶賛。 2023-03-12 03:44:00
ビジネス ダイヤモンド・オンライン - 新着記事 凡人が5年で売上100億円を達成する、たった1つの習慣 - 時間最短化、成果最大化の法則 https://diamond.jp/articles/-/318091 凡人が年で売上億円を達成する、たったつの習慣時間最短化、成果最大化の法則【がっちりマンデー】で「ニトリ」似鳥会長「食べチョク」秋元代表が「年に読んだオススメ本選」に選抜シリーズ万部突破【日経新聞掲載】有隣堂横浜駅西口店「週間総合」ベスト入り。 2023-03-12 03:42:00
ビジネス ダイヤモンド・オンライン - 新着記事 【バチェラー黄皓が教える】「自己開示」で人間関係を深めるコツ - 超完璧な伝え方 https://diamond.jp/articles/-/319266 【バチェラー黄皓が教える】「自己開示」で人間関係を深めるコツ超完璧な伝え方「自分の考えていることが、うまく人に伝えられない」「他人とのコミュニケーションに苦手意識がある」と悩む方は多くいます。 2023-03-12 03:40:00
ビジネス ダイヤモンド・オンライン - 新着記事 日本人の食習慣は、なぜ1日2食から3食に変わったのか? - 糖質制限はやらなくていい https://diamond.jp/articles/-/318912 日本人の食習慣は、なぜ日食から食に変わったのか糖質制限はやらなくていい「日食では、どうしても糖質オーバーになる」「やせるためには糖質制限が必要」…。 2023-03-12 03:38:00
ビジネス ダイヤモンド・オンライン - 新着記事 パートナーとケンカしたくない人が、 絶対に意識すべきたった一つのポイントとは? - 嫌われる勇気──自己啓発の源流「アドラー」の教え https://diamond.jp/articles/-/318506 古賀史健 2023-03-12 03:36:00
ビジネス ダイヤモンド・オンライン - 新着記事 【人気YouTuberが教える】 偏差値38の大学を落ち、徹底的にやり直した英語勉強法 - バカでも英語がペラペラ! 超★勉強法 https://diamond.jp/articles/-/318265 【人気YouTuberが教える】偏差値の大学を落ち、徹底的にやり直した英語勉強法バカでも英語がペラペラ超勉強法【大反響発売前発売即大増刷】新潟の片田舎で生まれ育ち、勉強はからっきし苦手。 2023-03-12 03:34:00
ビジネス ダイヤモンド・オンライン - 新着記事 【あなたを守ってくれる神様】名だたる戦国武将たちの何人もが「お守り」にしていた、勝負運・開運に絶大のご利益がある神様とは? - ご神仏なぞるだけ瞑想 https://diamond.jp/articles/-/319246 戦国武将 2023-03-12 03:32:00
ビジネス ダイヤモンド・オンライン - 新着記事 【紙片づけ】 どんどん増える学校や塾からのプリント類、どうやって整理する? - 人生が変わる 紙片づけ! https://diamond.jp/articles/-/318499 【紙片づけ】どんどん増える学校や塾からのプリント類、どうやって整理する人生が変わる紙片づけ金融機関や自治体からの書類、郵便物、クーポン、子どもが持ち帰るプリント類……。 2023-03-12 03:30:00
ビジネス ダイヤモンド・オンライン - 新着記事 【91歳の医師が明かす】 誰もがリスクあり! 認知症になる今そこにあるキッカケ - 91歳の現役医師がやっている 一生ボケない習慣 https://diamond.jp/articles/-/318443 【歳の医師が明かす】誰もがリスクあり認知症になる今そこにあるキッカケ歳の現役医師がやっている一生ボケない習慣映画『ダイ・ハード』シリーズなどのヒット作で知られる米俳優ブルース・ウィリスさん歳が認知症前頭側頭型認知症と診断されたことを家族が公表し、世界的に大きなニュースとなった。 2023-03-12 03:28:00
ビジネス ダイヤモンド・オンライン - 新着記事 職場の感じのいい人が「メール」に“ちょい足し”している文章とは何か? - 気づかいの壁 https://diamond.jp/articles/-/318469 職場の感じのいい人が「メール」に“ちょい足ししている文章とは何か気づかいの壁発売週間で重版決定。 2023-03-12 03:26:00
ビジネス ダイヤモンド・オンライン - 新着記事 コミュ力の高い人がさりげなくやっているたった1つの習慣 - 1秒で答えをつくる力 お笑い芸人が学ぶ「切り返し」のプロになる48の技術 https://diamond.jp/articles/-/319293 2023-03-12 03:24:00
ビジネス ダイヤモンド・オンライン - 新着記事 【甘いものを減らすためには何をすればいい?】少しずつ糖類を減らすおススメの方法 - 健康になる技術 大全 https://diamond.jp/articles/-/319262 本連載の「健康になる技術」とは、健康でいるために必要なことを実践するスキルです。 2023-03-12 03:20:00
ビジネス ダイヤモンド・オンライン - 新着記事 他人と比べてしまう悪い癖が消え去る「たったひとつの考え方」 - 等身大の僕で生きるしかないので https://diamond.jp/articles/-/319313 他人と比べてしまう悪い癖が消え去る「たったひとつの考え方」等身大の僕で生きるしかないので「見た目は変で、しゃべりも下手、お笑い芸人としての才能もない」と思いこみ、コンプレックスのかたまりだったスリムクラブ・内間政成さんは、そんな自分を人に知られないように、自分の本心を隠し、見栄を張って、いつわりの人生を送ってきました。 2023-03-12 03:18:00
ビジネス ダイヤモンド・オンライン - 新着記事 【マンガ】『世界一受けたい授業』で話題! 股関節が硬い人は絶対やってみて!! ツラい腰痛を予防・解消するストレッチ - いつでも、どこでも、1回20秒で硬い体が超ラクになる! スキマ★ストレッチ https://diamond.jp/articles/-/317683 そこで参考にしたいのが、『世界一受けたい授業』日本テレビ系、『金スマ』TBS系、『体が硬い人のための柔軟講座』NHKなどで話題のフィジカルトレーナー・中野ジェームズ修一氏の著書『いつでも、どこでも、回秒で硬い体が超ラクになるスキマストレッチ』ダイヤモンド社だ。 2023-03-12 03:16:00
ビジネス ダイヤモンド・オンライン - 新着記事 【挫折しない方法】「いい習慣が続く人」がモチベーションを気にしない理由 - 良書発見 https://diamond.jp/articles/-/318305 【挫折しない方法】「いい習慣が続く人」がモチベーションを気にしない理由良書発見新しく何かを「習慣」にするのは、とても難しい。 2023-03-12 03:14:00
ビジネス ダイヤモンド・オンライン - 新着記事 「身軽な生活をしている人」が鞄に入れないもの - ぜんぶ、すてれば https://diamond.jp/articles/-/319275 2023-03-12 03:12:00
ビジネス ダイヤモンド・オンライン - 新着記事 “男の子の学力”を高める「学習計画の立て方」・ベスト2 - 男の子の学力の伸ばし方 https://diamond.jp/articles/-/318718 2023-03-12 03:10:00
ビジネス ダイヤモンド・オンライン - 新着記事 【学力アップ】女の子の「やる気」を上げる「ご褒美」のコツ - 女の子の学力の伸ばし方 https://diamond.jp/articles/-/318455 2023-03-12 03:08:00
ビジネス ダイヤモンド・オンライン - 新着記事 【これで差がつく】“問題解決力のない人”が知らない「問題」と「問題点」の違い - 新版[図解]問題解決入門 https://diamond.jp/articles/-/318642 【これで差がつく】“問題解決力のない人が知らない「問題」と「問題点」の違い新版図解問題解決入門「アタマを使え」という言葉を聞くことがある。 2023-03-12 03:06:00
ビジネス ダイヤモンド・オンライン - 新着記事 「迎えに行く」を英語でどう言う? - 5分間英単語 https://diamond.jp/articles/-/318955 「迎えに行く」を英語でどう言う分間英単語「たくさん勉強したのに英語を話せない……」。 2023-03-12 03:04:00
ビジネス ダイヤモンド・オンライン - 新着記事 【2分で読める】意外と知らない「アラブ人」…どういう人々か? - ビジネスエリートの必須教養 「世界の民族」超入門 https://diamond.jp/articles/-/318573 【分で読める】意外と知らない「アラブ人」…どういう人々かビジネスエリートの必須教養「世界の民族」超入門「人種・民族に関する問題は根深い…」。 2023-03-12 03:02:00

コメント

このブログの人気の投稿

投稿時間:2021-06-17 22:08:45 RSSフィード2021-06-17 22:00 分まとめ(2089件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)