投稿時間:2022-11-28 01:15:00 RSSフィード2022-11-28 01:00 分まとめ(19件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
AWS AWSタグが付けられた新着投稿 - Qiita [Golang]Cognito操作 https://qiita.com/yukiaprogramming/items/f4fd4243b57a64f7ce1f exportclientsecre 2022-11-28 00:52:42
golang Goタグが付けられた新着投稿 - Qiita [Golang]Cognito操作 https://qiita.com/yukiaprogramming/items/f4fd4243b57a64f7ce1f exportclientsecre 2022-11-28 00:52:42
golang Goタグが付けられた新着投稿 - Qiita 【Go言語】翌月末を求める https://qiita.com/hoshiimo_se/items/750adebbd991eed77775 ttimeparse 2022-11-28 00:49:39
golang Goタグが付けられた新着投稿 - Qiita io/fs でのエラー解決方法 "cannot load io/fs: malformed module path "io/fs": missing dot in first path element" https://qiita.com/paupau/items/e2ea9fd417ccfdffdddd 2022-11-28 00:49:19
Git Gitタグが付けられた新着投稿 - Qiita Gitについてのアウトプット https://qiita.com/takumi19910112/items/ebd803ab3257d282fa6b github 2022-11-28 00:01:27
海外TECH DEV Community Encode, Encrypt, and Hash https://dev.to/ditaisy/encode-encrypt-and-hash-8de Encode Encrypt and HashIn general the meaning of encode is to convert something into code We usually do encoding for Personal Identifiable Information PII because it contains sensitive data such as password card number etc According to the ability to decode the encoded data there is two types of encoding encryption and hashing EncryptionWhen we encrypt something we always can do the decryption I would say this seems like when you put something in the box and lock it Well as long as you know the secret you can unlock and get what s in the box Encryption usually is implemented to protect data from the outside but at the end of the day programmer needs to know the data Encrypted data could be found in email such as verify account forgot password etc Below is an example functions to do encryption decryption HashingOn the other hand hashing can not do that kind of decode Once you hash something you can not know what the something really is Even though it literally hashes your data I would say that you still could know what kind of thing the something Just imagine the criminal scene you got potential suspects and blood of suspect in crime scene Here the blood is the result of hash the potential suspect By comparing the DNAs we could know that the blood is comes from the suspect Hashing usually is implemented for password Although programmer who creates the program programmer is not allowed to know user s password A program must be designed to save user s password in the form of hashed password in database None of way to decode it The following is example of hashing comparing implementation 2022-11-27 15:49:19
海外TECH DEV Community What are the plans for this week? https://dev.to/mitchiemt11/what-are-the-plans-for-this-week-5336 What are the plans for this week Greetings family How have you been Feeling pressure to meet year end targets Well I have a piece that I think you ll adore So to get started I would like to hear what are the plans for this coming week and the rest of the year Let s shoot in the comment section and have fun My last couple weeks have been hectic with work pressure from clients I m starting to feel worn as we are reaching the end of year Any motivation Lets goo 2022-11-27 15:44:33
海外TECH DEV Community How to access AWS services from EKS https://dev.to/chiragdm/how-to-access-aws-services-from-eks-49j2 How to access AWS services from EKSIn depth guide about different solutions to access AWS APIs from Kubernetes KubeIAMKIAMIRSA IAM Role for Service Account sk accafadbedcdcffc 2022-11-27 15:37:20
海外TECH DEV Community 6 Use Cases for Regex in Your Daily Work https://dev.to/perssondennis/6-use-cases-for-regex-in-your-daily-work-508b Use Cases for Regex in Your Daily Work In This ArticleWhat Is Regex Regexes in a NutshellWhen Is Regex Used Searching Through Files Manuals and LogsRegex Search in an IDEClassic Example Form ValidationFind and Replace Like a Pro or Manipulate Strings Usages in APIs and Web ConsolesInterpret and Categorize Data with RegexLearn More About Regex What Is RegexRegex or Regular Expression is a tough thing to learn Trying to define it in simple words is almost as difficult In a short sentence Wikipedia currently describes regular expressions as a sequence of characters that specifies a search pattern in a text What that means is that regexes are used to find characters in a text With characters I mean letters numbers brackets new line characters and so on With regexes you can write an expression that defines which sequence of characters you want to find in the text Understanding the syntax of the expression language is what is hard to learn and remember We will go through everything you need to know about that in upcoming articles both for basic and advanced usage The aim of this first article in the series is to explain why you should learn regex Just another thought to keep you awake Regexes in a NutshellRegex on its own is only used to find text occurrences matches in a string or text What we want to do with the matches is up to us When using regexes we are most often interested in one of three things find information in a textcheck if a string matches a regex e g email validationreplace characters in a textEven if the use cases of regex often boil down to answering a yes or no question finding text occurrences or to replace some characters it can be used in a lot of scenarios We will look at a few of them now When Is Regex Used Most developers can go a life time without learning regex Often when regex is a good idea to use it isn t completely necessary to use it The alternative solutions do unfortunately often take a lot more time to implement and will not scale for use cases where more data needs to be processed The short and boring answer to the question when is regex used is to a lot of things The long answer follows here Searching Through Files Manuals and LogsThe first time I ever encountered regexes was when learning about Unix First experience was to find information in Unix manual pages and log files It looked pretty much like this Finds all lines that contain the word error and later vehicle in the file somelogfile log Useful to see if we have logged any errors which mention anything about a vehicle grep i error vehicle somelogfile log Searches through the Unix manual for scp command and outputs what the v flag does man scp grep i v Output in Mac terminal v Verbose mode Causes scp and ssh to print debugging messagesAbove examples may look like school book examples and they are That s why we go to school to learn useful stuff Sure you can always google for what flags for Unix commands do may take longer time but still quick Searching through log files is something you will have to do yourself though That s something I do daily at work to investigate bugs For big log files I may find hundreds or thousands matches if I simply search for warning or error Writing regexes definitely helps me filtering among all those results by specifying a more granular search term with a regex Regex Search in an IDEHave you ever accidentally activated that regex checkbox in your IDE when searching for text occurrences in your editor and then wondering why you don t find what you are searching for Next time you do that don t uncheck it Find a way to search for what you want with it activated Sign me up as guilty for that it has happened a lot Maybe you know you are invoking a very common function somewhere but don t remember where it was or what the function is named Here are some expressions for that Don t worry if you don t understand them regex syntax will be explained in another article I will post here in a few weeks Finds a console log that prints a count variable conso count Example console log count Example console log Total count Example console log itemCount Finds a function which name ends with count and has an argument which includes the text todo count todo Example count todoItems Example updateCount oldCount newTodoItem these examples only match if case sensitivity is disabled which is done either in the IDE or by using the regex flag i Dennis PerssonFollow I m a former teacher writing articles about software development and everything around it My ambition is to provide people all around the world with free education and humorous reading Classic Example Form ValidationThis article wouldn t be complete if the classic example wasn t mentioned This is probably what you are thinking of when you read the word regex to validate a form using regexes It s a must have You can both validate that an email is a valid email or that a phone number is of the correct format You can also forbid curses and vulgar words in user names or detect if a credit card number is a MasterCard or a Visa Maybe you need to ensure that a password contains special characters For all of these examples you can use regexes I m fine with regex but I won t touch CSS Find and Replace Like a Pro or Manipulate Strings Once in a while I get a really boring task at work It could be that an API endpoint has been updated and it requires a lot of changes because it has been hardcoded all over the place It could also be that data has been dumped from a production database into a JSON file to be used as development data and to do that all email addresses must be replaced with dummy addresses The hardcoded API example sounds like a quick find and replace work and it is but you may need to know regex to do that Look at the following URLs https regexexampledomain com articles react some react articlehttps regexexampledomain com articles react react is awesomehttps regexexampledomain com articles javascript a javascript articleThe above urls follows the pattern articles lt category gt lt article name gt Imagine if we have thousands of links like that with thousands of categories and we have refactored the site so we don t longer have categories such as react and javascript in the URL We could fairly safely find and replace one category after another e g replacing react and javascript with a single slash character to remove the categories But remember the site has thousands of categories it will take time to manually do that With regexes we can update all of those categories using one single find and replace regardless of how many categories we have What about the email obfuscation example How can we find and replace any email in a JSON file with john doe gmail com The only thing we need for that is a regex for an email address and a replace function in either a programming language or an IDE Then we can just hit a button and search through the JSON data to see that it actually replaced the emails successfully John Doe didn t get his email obfuscated Usages in APIs and Web ConsolesRegex is widely spread A lot of services and APIs support it This means it s a fairly good chance that a SaaS which deals with a great amount of data offers some kind of regex solution It could be a search field in a web console for a logging tool or it could be a SDK or API that allows to use regexes See for example Elasticsearch regex queries Interpret and Categorize Data with RegexSo far most of the regex examples described have involved processing or validating data However regexes can also be used to interpret and categorize data Let s take an example where the input data is single words which either can be a string an integer a float number an array or an object Our goal is to detect which one it is Input Output integerInput is an integerOutput stringInput Output floatInput the number is a float not an integerOutput stringInput hello Output arrayInput hello Output objectThe above problem can of course be solved with a lot of if statements and looping through alphabetic letters to detect if the input contains any of those With regex we can however solve it much easier We can use regexes like below to instantly detect the types Regex Detects integerRegex Detects floatRegex Detects arrayRegex Detects objectWith the above regex we could detect integers floats arrays and objects in a few lines of code To detect strings we could create a more complex regex ensuring that it doesn t start with a bracket and that it contains letters from the alphabet but it would also be sufficient to use string as a default fallback value when the input isn t of any of the other types Using regex in this way can save us some lines of code In other scenarios it may be crucial to use regex Take clothing sizes as an example There are many ways to write a size like XL What if we want to map all possible ways to write it into one of the ways Examples of input l L large Large lg LG L slim L wideOutput L Examples of input xl XL extra large extra large x large x large X LargeOutput XL Examples of input xxl XXL xl XLOutput XXLStarting to see the problem This issue is fairly easy to solve with regex Without it we kind of would have to hardcode a lot of mappings for the sizes That s totally a valid solution But what if the sizes also could be numbers Say for example that we have a t shirt in size L which is described with the European size or maybe as a range from We would have a lot of things to hardcode there Although regex is of great use in a case like this we can not solve this problem with a single regex we need quite a few of them However we do not need a lot of them a single regex can match a lot of different variations of how to write a size Learn More About RegexThe use cases of regex we have seen in this article are just examples These kinds of issues don t always need to be solved with regex Sometimes it is just overkill to use regex Sometimes it s just as easy without regex as it is with regex It is a decision you will have to take when facing a problem For some problems you will come to realize that it isn t even feasible to solve the problem without regex If you want to learn more about regex Save this article for later or follow me I will post another article during next month Dennis PerssonFollow I m a former teacher writing articles about software development and everything around it My ambition is to provide people all around the world with free education and humorous reading 2022-11-27 15:32:00
海外TECH DEV Community Pro Googling Tips https://dev.to/dhanushnehru/pro-googling-tips-efe Pro Googling TipsHey Everyone Google is something we use in our daily lives especially as developers The most powerful tool has various potentials if and only if we use it right Below are some of the googling tips that will save your time incredibly Using Quotation Marks This is used to search for the exact phrase This helps google to return pages with only the same words in the same order as in the quotes For Example DhanushNehru Github will not return results that may contain DhanushNehru or Github Using Site This will aid you in your search for a website that contains specific keywords For Example to search when dev to has been mentioned on instagram use dev to site Using Filetype Using your search term filetype lt your file type gt will return the search in only that file type For Example cat filetype pdf will return pdf documents of cat images etc Using Related This keyword would help to list similar websites or anything similar to what you searched for For Example related www flipkart com you will find related online stores and similar links Using Wrong spellingGoogle has gotten very smart over the years and it is not necessary that you spell words correctly For Example if you search Hllo Wrd it will assume that you are searching for Hello World Using The Asterik wildcard will leave a placeholder which can automatically be filled by the search engine later It would be very useful when we want to search for music lyrics when we don t know the full line etc For example One day we will leave the world behind alerts Google to the fact that the words between the asterisks can be anything The above one would give the results for Avicii The Nights Using AND With AND you can get results which includes more than one keywordFor Example apple AND orange AND mango will return a result that has apple and orange and mango and not just apple or orange or mango separately Using OR With OR you can perform two or more search queries at the same time For example you can search for pages that reference dev to hashnode or Medium using this keyword Using The is used to eliminate unwanted results in the google searchFor example if you want to find non samsung smartphones you can try searching smartphones samsung Using By separating numbers with two periods you ll find numbers within that rangeFor example find books that cost between and Books Using After If you want to return results after a specific date you can use After For example tech news after will return tech news articles published after Using Before If you want to return results before a specific date you can use Before For example covid news before will return covid news articles published before Thanks for reading ️ I hope you liked it If you know any more googling tips feel free to drop belowFollow me via Twitter Instagram or Github 2022-11-27 15:15:08
Apple AppleInsider - Frontpage News Free $50 Amazon gift card with a year of Microsoft 365 Family https://appleinsider.com/articles/22/11/27/free-50-amazon-gift-card-with-a-year-of-microsoft-365-family?utm_medium=rss Free Amazon gift card with a year of Microsoft FamilyAmazon s Cyber Monday sale delivers a top Microsoft deal for Mac with a free gift card included with months of Microsoft Family Amazon s Cyber Monday Microsoft GC dealFree Amazon Gift Card with Microsoft Family Read more 2022-11-27 15:28:12
海外TECH Engadget Hitting the Books: Social media's long, pointless war against sex on the internet https://www.engadget.com/hitting-the-books-how-sex-changed-the-internet-samantha-cole-workman-publishing-153058910.html?src=rss Hitting the Books Social media x s long pointless war against sex on the internetFrom the moment that people started getting nasty with Johannes Gutenberg s newfangled printing press sexually explicit content has led the way towards wide scale adoption of mass communication technologies But with every advance in methodology has invariably come a backlash ーa moral panic here a book burning there the constant uncut threat of mass gun violence ーaiming to suppress that expression Now given the things I saw Googling sexually explicit printing press dear reader I can assure you that their efforts will ultimately be in vain nbsp But it hasn t stopped social media corporations advertisers government regulators and the people you most dread seeing in your building s elevator from working to erase sexuality related content from the world wide web In the excerpt below from her most excellent new book How Sex Changed the Internet and the Internet Changed Sex An Unexpected History Motherboard Senior Editor Samantha Cole discusses the how and why to Facebook Instagram and Google s slow strangling of online sexual speech over the past years Workman PublishingExcerpted from How Sex Changed the Internet and the Internet Changed Sex An Unexpected History by Samantha Cole Workman Publishing How Sex Is Repressed OnlineHuman and algorithmic censorship has completely changed the power structure of who gets to post what types of adult content online This has played out as independent sex workers struggling to avoid getting kicked off of sites like Instagram or Twitter just for existing as peopleーwhile big companies like Brazzers displaying full nudity have no problem keeping their accounts up Despite Facebook s origins as Mark Zuckerberg s Hot or Not rating system for women on his Harvard campus the social network s policies on sexuality and nudity are incredibly strict Over the years it s gone through several evolutions and overhauls but in forbidden content includes but isn t limited to “real nude adults “sexual intercourse and a wide range of things that could imply intercourse “even when the contact is not directly visible or “presence of by products of sexual activity Nudity in art is supposedly allowed but artists and illustrators still fight against bans and rejected posts all the time That s not to mention “sexual solicitation which Facebook will not tolerate That includes any and all porn discussions of states of sexual arousal and anything that both asks or offers sex “directly or indirectly and also includes sexual emojis like peaches and eggplants sexual slang and depictions or poses of sexual activity These rules also apply on Instagram the photo sharing app owned by Facebook As the number one and two biggest social networks in the US these dictate how much of the internet sees and interacts with sexual content In the earliest archived versions of Facebook s terms of use sex was never mentionedーbut its member conduct guidelines did ban “any content that we deem to be harmful threatening abusive harassing vulgar obscene hateful or racially ethnically or otherwise objectionable This vagueness gives Facebook legal wiggle room to ban whatever it wants The platform took a more welcoming approach to sexual speech as recently as with Sexuality listed as one of the areas of interest users could choose from and more than five hundred user created groups for various discussions around the topic But the platform s early liberality with sex drew scrutiny In then New York attorney general Andrew Cuomo led a sting operation on Facebook where an investigator posed as teens and caught child predators As early as it started banning female breastsーspecifically nipples The areola violated its policy on “obscene pornographic or sexually explicit material In December a handful of women gathered outside the company s Palo Alto office to breastfeed in front of the building in protest it was a Saturday no executives were working As of Facebook lumped sex work under banned content that depicts “sexual exploitation stating that all references and depictions of “sexual services were forbidden “includ ing prostitution escort services sexual massages and filmed sexual activity A lot of this banned content is health and wellness education In sexuality educator Dr Timaree Schmit logged in to Facebook and checked her page for SEXx Interactive which runs an annual sex ed conference she d held the day before A notification from Facebook appeared She and several other admins for the page were banned from the entire platform for thirty days and the page was taken down because an “offending image had violated the platform s community standards The image in question was the word SEXx in block letters on a red background The examples of this sort of thing are endless and not limited to Facebook Google AdWords banned “graphic sexual acts with intent to arouse including sex acts such as masturbation in Android keyboards predictive text banned anything remotely sexual including the words “panty “braless “Tampax “lactation “preggers “uterus and “STI from its autocomplete dictionary Chromecast and Google Play forbid porn You can t navigate to adult sites using Starbucks Wi Fi For a while in Google Drive seemed to be blocking users from downloading documents and files that contained adult content The crowdfunding site Patreon forbids porn depicting real people and in blamed its payment processor Stripe for not being sex friendly Much of this followed FOSTA SESTA This is far from a complete list There are countless stories like this where sex educators sex workers artists and journalists are censored or pushed off platforms completely for crossing these imaginary lines that are constantly moving Over the years as these policies have evolved they ve been applied inconsistently and often with vague reasoning for the users themselves There is one way platforms have been consistent however Images and content of Black and Indigenous women as well as queer and trans people sex workers and fat women experience the brunt of platform discrimination This can lead to serious self esteem issues isolation and in some cases suicidal thoughts for people who are pushed off platforms or labeled “sexually explicit because of their body shape or skin color “I m just sick of feeling like something is wrong with my body That it s not OK to look how I do Anna Konstantopoulos a fat Instagram influencer said after her account was shut down and posts were deleted multiple times Her photos in bikinis or lingerie were deleted by Instagram moderators while other influencers posts stayed up and raked in the likes “It starts to make you feel like crap about yourself In spite of all of this people project their full selves or at least a version of themselves onto Facebook accounts Censorship of our sexual sides doesn t stop people from living and working on the internetーunless that is your life and work 2022-11-27 15:30:58
海外TECH CodeProject Latest Articles BookCars - Car Rental Platform with Mobile App https://www.codeproject.com/Articles/5346604/BookCars-Car-Rental-Platform-with-Mobile-App mobile 2022-11-27 15:03:00
海外TECH WIRED 40 Best Walmart Cyber Monday Deals (2022): TVs, Vacuums, Earbuds, and More https://www.wired.com/story/best-walmart-cyber-monday-deals-2022/ Best Walmart Cyber Monday Deals TVs Vacuums Earbuds and MoreSmartwatches video games tech and toys are on sale at the retailer for Cyber Mondayーand you can pick up your purchases as soon as today 2022-11-27 15:53:00
金融 ◇◇ 保険デイリーニュース ◇◇(損保担当者必携!) 保険デイリーニュース(11/28) http://www.yanaharu.com/ins/?p=5087 課題 2022-11-27 15:47:33
ニュース BBC News - Home Italy landslide: Four bodies found as rescue work continues https://www.bbc.co.uk/news/world-europe-63773421?at_medium=RSS&at_campaign=KARANGA ischia 2022-11-27 15:23:35
ニュース BBC News - Home World Cup 2022: Belgium 0-2 Morocco - Abdelhamid Sabiri and Zakaria Aboukhlal seal late win https://www.bbc.co.uk/sport/football/63692164?at_medium=RSS&at_campaign=KARANGA World Cup Belgium Morocco Abdelhamid Sabiri and Zakaria Aboukhlal seal late winMorocco cause the latest shock at a World Cup that has been full of surprises by beating Belgium with two late goals 2022-11-27 15:33:00
ニュース BBC News - Home Rail reform needed before workers' pay increases, says Transport Secretary https://www.bbc.co.uk/news/uk-politics-63773083?at_medium=RSS&at_campaign=KARANGA network 2022-11-27 15:49:08
ニュース BBC News - Home World Cup 2022: Pablo Zabaleta says Belgium showed no fight or 'passion' against Morocco https://www.bbc.co.uk/sport/av/football/63774957?at_medium=RSS&at_campaign=KARANGA World Cup Pablo Zabaleta says Belgium showed no fight or x passion x against MoroccoPablo Zabaleta says Belgium players are not fighting for their country after a defeat by Morocco in their Group F match at the World Cup 2022-11-27 15:35:20

コメント

このブログの人気の投稿

投稿時間: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件)