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

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
AWS AWS Government, Education, and Nonprofits Blog Visualizing donor data with Amazon QuickSight https://aws.amazon.com/blogs/publicsector/visualizing-donor-data-with-amazon-quicksight/ Visualizing donor data with Amazon QuickSightData is an invaluable asset in the world of nonprofits In this blog post we offer a technical walkthrough to learn how nonprofits of all sizes can use Amazon QuickSight to quickly create interactive dashboards with the help of machine learning providing a self service way to effectively consume and analyze data without writing any code or having to worry about infrastructure 2021-10-05 19:31:41
Google Official Google Blog Meet your marketing objectives with the new Google Analytics http://feedproxy.google.com/~r/blogspot/MKuf/~3/EVXLA7E9rrU/ Meet your marketing objectives with the new Google AnalyticsA year ago weintroduced the new Google Analytics to help you meet the challenges of an evolving measurement landscape and get better ROI from your marketing for the long term Google Analytics properties offer privacy safe solutions to measure the customer journey machine learning to predict outcomes and automate the discovery of insights and easy activation of those insights in Google s advertising platforms to enhance your marketing performance Since then we ve introduced features like improved advertising reporting and support for user consent choices that help you achieve your marketing objectives without compromising user privacy Now we re launching additional capabilities including an improved Search integration and smarter attribution to give you the insights you need to optimize performance across all of your marketing channels We re also introducing new modeling features that will close gaps in your data and help you future proof your measurement With these additional capabilities we encourage you to use the new Google Analytics as your primary web and app analytics solution going forward Easily access Search insightsSearch Console provides detailed information about your website s organic Search performance including the site s rank in Search results queries that led to clicks and post click data like engaged sessions and conversions With the new Search Console integration you ll be able to understand the role that organic Search plays in driving traffic to and engagement on your site relative to other marketing channels like Search ads email or social Get more value with data driven attributionBuilding on the two attribution reports Conversion paths and Model comparison we announced earlier this year we are introducing data driven attribution without minimum threshold requirements to Google Analytics properties Google s data driven attribution models give you a better understanding of how all of your marketing activities collectively influence your conversions so you don t over or undervalue a single channel Unlike last click attribution where of the credit goes to the final interaction data driven attribution distributes credit to each marketing touchpoint based on how much impact the touchpoint had on driving a conversion Conversions by channel grouping using data driven attributionData driven attribution improves marketing ROI by helping you make smarter decisions about where and how much to invest and as a result drive more conversions for less cost With its use of machine learning data driven attribution is a more durable approach that will deliver results even when it s difficult to observe conversions Notino an ecommerce beauty platform says data driven attribution in Google Analytics is essential to its measurement strategy We have seen benefits with using a data driven attribution model compared to last click and have rolled it out as a standard for of our markets We are now excited to use the next generation of attribution reporting in Google Analytics Matěj Slavík Head of Performance Marketing NotinoData driven attribution will be available in attribution reports in the coming weeks It will be available at the property level soon after at which time you ll be able to see attributed revenue and conversions in the Conversions report and in Explorations Address measurement gaps with Google s machine learningUsing Google s advanced modeling technology the new Google Analytics allows you to fill gaps in your understanding of customer behavior when cookies and other identifiers aren t available It analyzes vast amounts of historical data identifies correlations and trends between key data points and uses those insights to make predictions about the customer journey We re bringing a few new modeling capabilities to Google Analytics First conversion modeling is now used in attribution reports the Conversions report and Explorations to identify where conversions have come from and allocate them to the right Google and non Google channels such as Search ads email or paid social Second behavioral modeling will soon be supported in reporting Behavioral modeling uses rigorously tested and validated machine learning to fill gaps in behavioral data like daily active users or average revenue per user This allows you to conduct uninterrupted measurement across devices and platforms and answer questions like “How many new users did I acquire from my last campaign or “Which steps in my funnel have the highest user drop off rates Meet your marketing objectivesCustomers are seeing success using the new Google Analytics to help achieve key marketing objectives like generating leads acquiring new users and driving online and offline sales Líder a grocery retailer owned by Walmart Chile is driving in app purchases using predictive metrics and audiences By marketing to a new “Likely day Purchasers audience generated by Analytics based on predicted purchase behavior Líder increased its conversion rate to from for other audiences and saw an decrease in overall app campaign CPA We ve seen firsthand the value that the new Analytics has brought to our business and plan on using more new capabilities as they become available in Google Analytics properties Esteban Bascur Heredia Manager of Marketing Technology Walmart ChileGlobal beauty brand L Oreal is also using the new Google Analytics to help adapt its measurement foundation for the future and simplify how the entire organization generates business insights Google Analytics democratizes the use of advanced data and analysis making insights more accessible The migration has been an opportunity for us to unify media and analytics with a single infrastructure that simplifies decision making Selim Decoufled Global Analytics Manager CDMO L OréalNow is the time to build the measurement foundation your business needs for the future We encourage you to make full use of your Google Analytics property and put it at the center of your measurement in place of Universal Analytics 2021-10-05 19:16:00
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) [iOS][Swift][Firebase]Firebaseを使ってログイン認証を実装したい https://teratail.com/questions/362988?rss=all iOSSwiftFirebaseFirebaseを使ってログイン認証を実装したいまず始めに、前提としてSwift初心者です。 2021-10-06 04:44:02
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) pytorchのimportが正しくされない。 https://teratail.com/questions/362987?rss=all pytorchのimportが正しくされない。 2021-10-06 04:31:33
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) 約15万行のIPアドレスのリストを読み込んで使用する場合のデータ構造 https://teratail.com/questions/362986?rss=all 約万行のIPアドレスのリストを読み込んで使用する場合のデータ構造Javaで万行ほどのIPアドレスと国の対応が書いたCSVを読み込んでおき、アクセス元のIPとその読み込んだリストを照らし合わせて処理をしたいと考えています。 2021-10-06 04:29:41
技術ブログ Developers.IO App Service on LinuxのPHPランタイムを変更した後、flushがバッファリングされるようになってしまった場合の対応 https://dev.classmethod.jp/articles/app-service-on-linux-php-flush-buffering/ appserviceonlinux 2021-10-05 19:52:14
海外TECH Ars Technica Physics Nobel goes to complexity, both general and climatic https://arstechnica.com/?p=1801216 complex 2021-10-05 19:04:24
海外TECH DEV Community React Custom Hooks: useBoolean https://dev.to/iamludal/react-custom-hooks-useboolean-3m6c React Custom Hooks useBooleanReact hooks initially allow you to hook into React state and lifecycle features like we used to do with the componentDidMount or componentWillUnmount methods when using class based components What we ll discover in this article is that we can implement our own custom hooks using the few primitives hooks React provides us like useState and useEffect This way you can drastically reduce the cognitive complexity of your components by moving away some logic into functions that you will be able to reuse anywhere in the other components of your React applications Your code will look cleaner and you re following the Single Responsibility Principle SRP which states that each class or function or in our case component should have responsibility over a single part of a program s functionality and it should encapsulate that part Enough talk let s get to work and implement our first custom hook useBoolean MotivationFirst of all why are we going to implement such a hook Let s have a look a this simple component const Spoil content gt const showSpoil setShowSpoil useState false return lt div className spoil gt lt button onClick gt setShowSpoil visible gt visible gt showSpoil Hide Show lt button gt showSpoil amp amp lt div className spoil content gt content lt div gt lt div gt The component receives a content prop that only appears once the button gets clicked to show the spoil Of course clicking the button again will hide it back and so on Here the component is so simple that it is very easy to read but we could improve its readability by extracting the button onClick listener to a separate function const Spoil content gt const showSpoil setShowSpoil useState false const toggle gt setShowSpoil visible gt visible return lt div className spoil gt lt button onClick toggle gt showSpoil Hide Show lt button gt showSpoil amp amp lt div className spoil content gt content lt div gt lt div gt That s better We ve simplified the return value of our function but we ve added a new line between the state initialization and the return statement Of course this is not a major problem in our case but when dealing with more complex components this can lead to redundant functions declarations In fact our component could be further simplified if we had a useBoolean hook that we would use like this const Spoil content gt const showSpoil setShowSpoil useBoolean false return lt div className spoil gt lt button onClick setShowSpoil toggle gt showSpoil Hide Show lt button gt showSpoil amp amp lt div className spoil content gt content lt div gt lt div gt See We didn t add any extra function and the onClick listener is easier to read Now let s move into the implement of this simple hook shall we ImplementationFirst we define a function in which we can use the useState hook const useBoolean initialValue gt const value setValue useState initialValue return value setValue ️Be careful you ll only be able to use the useBoolean function or should I say hook in React components as it uses the useState hook So far we ve just created an alias for the useState hook Not very useful The interesting part comes now instead of having the setValue function in the return array we will use an object that will contain methods toggle to toggle the valueon to set the value to trueoff to set the value to falseOur hook now looks like this const useBoolean initialValue gt const value setValue useState initialValue const updateValue toggle gt setValue oldValue gt oldValue on gt setValue true off gt setValue false return value updateValue And here it is you ve just created your first custom hook congratulations Usageconst Articles gt const articles setArticles useState const isLoading setIsLoading useBoolean false const isError setIsError useBoolean false useEffect gt setIsLoading on fetch then res gt res json then setArticles catch setIsError on finally setIsLoading off return ️Be careful you can t use setIsLoading true as we don t export a function anymore but an object ConclusionThanks for reading me I hope you enjoyed this article and if that s the case don t hesitate to have a look at my other ones Also feel free to post some comments if you have any questions or if you just want to say hi Next hook useCounter References 2021-10-05 19:18:39
海外TECH DEV Community How to Quit Your Job (Even if You Just Started) https://dev.to/lani/how-to-quit-your-job-even-if-you-just-started-ang How to Quit Your Job Even if You Just Started By now you ve surely heard the news We re all quitting our jobs at record rates million of us left in April million in May and Elpha s recent should I quit my job quiz found that of respondents scored speak up or start looking indicating unhappiness with their current role  The pandemic gave us all time to think deeper about the future of our careers More than ever we re wanting to work for companies who share our values To instantly match with companies that have the values you care about check out the Elpha Talent Pool But the truth is deciding when to quit a job and then going through with it is rarely so straightforward As Deb Liu CEO at Ancestry remarked recently “Knowing when to quit is just as important as knowing when to double down So many people cling to situations that aren t conducive to their growth and success because they are afraid to quit The social stigma associated with quitting keeps people stuck in bad jobs We believe that sometimes quitting is the best thing you can do for your future It means making a courageous decision to continue developing your career Or walking away from an unhappy situation knowing you deserve better Even when you know you re making the right decision by quitting tricky situations may come up in those final few weeks We re here to help you navigate them with all the best wisdom from the Elpha community on gracefully quitting your job and moving onto what s next We ll answer these questions and more How do you know it s time to quit your job Can you quit your job without another job lined up What do you say when quitting a job How much notice should you give when quitting What do you say when people ask why you re leaving Can you quit a job you just started How can you stay in touch with people at your company after quitting Let s dive in How to know when it s time to quitYou re considering a move but you re not sure if you should stay or go Here are five signs that the time might be right to resign You feel unhappy or upset most days at work Your happiness is more important than your company s success Tune into how your work is making you feel If it s mostly negative it might be time to go Lo Communications Manager shared what this felt like for her “I realized it was time to quit when despite loving my role and the company s mission I was unhappy bored and got overly upset at anything remotely bad that happened I also noticed my mental health declining because work was upsetting me too much Allison Developer amp Founder shared “If I ve been at a place for around a year and dread going into work I know it s time for a change There s no time in life for a job that makes you miserable If things haven t gotten better within a year s time it s probably never going to get better You re not set up for success by your organization  At most companies this looks like clear objectives and milestones for your growth Do you and your boss agree on your most important deliverables that would represent successful performance Having a clear understanding of what success looks like in your role is important for your future career growth Becca Leadership Coach at Fearless Femmes shared her thoughts “When there are no shared criteria for success you will stall as a result no praise no feedback unpredictable advancement all confusion Skidaddle You re not learning or growing If you feel like you re not learning anything new in your role or growing towards the next step in your career it might be time to go Julia Product Marketer shares the way she s learned to determine whether she s stopped learning “I ve found it helpful to think about updating my resume or LinkedIn what new things do I have to add there What have I learned in the past year This helps me get out of the rut of just enjoying my coworkers and what has now become an easy job Maylee Director of Marketing made the decision to leave when she felt “a lack of alignment at the company not feeling valued or empowered to do my role and micromanaged I didn t see a match for my end goals here so I recognized the need to move on Your work environment feels toxic The word “toxic is thrown around a lot so sometimes it s hard to know if the environment you re in fits into this category Jeneba Assistant VP of Content Ops shared three of her non negotiables that indicate she s in a bad place and it s time to leave Behavior that violates my boundaries or goes against my valuesAn environment that does not provide an opportunity to grow and expand but instead fosters a culture that causes me to shrinkAn environment where my ideas are not valued or heard but instead repackaged by someone else reshared and repurposed without being credited You ve tried to improve your situation at your current company but it hasn t helped Think of it as “remodeling before you “move out As Sara Head of Program Operations at Reforge shares “It is almost always easier to advance internally at an organization you have all the social capital and institutional knowledge Make sure you ve exhausted internal options before starting a search This starts with discussions with your boss Katie Account Management Lead at Outschool on how she approaches it “For roles where it s just obviously a really bad fit like expectations and reality don t match at all I ve given the opportunity to make it right If it s clear that the company is unable or unwilling to make good on the expectations that they set and in the case where I am unable or unwilling to live with the reality it s time to go Is it okay to quit without anything lined up The question of whether to leave your job before you ve got your next one lined up is tricky You ve likely heard the common advice that doing so is “wrong The reality is more dependent on your specific situation and how comfortable you are financially These are the steps we recommend before making a decision Consider it your “Should I quit ASAP checklist Trust your instincts Observe your body s reaction when thinking about work or while at work How long have you felt that this is not the right job for you and what have you tried to improve the situation Assess your financial situation If you ll be unemployed for a while the most important question is whether you can support yourself financially Experts recommend at least months of savings If you don t have that do you have another skill you could monetize A partner or family member you could lean on Talk to trusted people in your life Ask the people who have your best interest in mind for their honest input Share the facts of your current situation and ask what they d suggest Start browsing opportunities Without making a decision yet start scoping out other jobs and companies Are there other potential opportunities out there that seem exciting or more aligned with your career trajectory Consider talking to a mental health professional If you re feeling really stuck and burnt out or if you feel you re in a toxic job environment this can really help guide your decision Sometimes taking action and leaving before you have your next step planned out is helpful for your future career Sarah M shared how having a break between jobs helped her be more deliberate about her next move “Having time and space to finish up the role and not go straight into a new role really helped me to work through my experience and to understand what I wanted next without my decisions being reactively based on the experience I had just left Another reason to quit before securing your next move is if your current job is significantly slowing down your search As Meaghan Career Development Coach advises “Job hunting when done right is at least a very draining part time job If you re already unhappy at work adding a job hunt to your nights and weekends is a fast track to misery and exhaustion And trying to engage with an unsatisfying job will drain the creativity and confidence needed to network and put yourself out in the job market authentically If you are in a role that involves lengthy interview processes eg an engineer consider whether you have the bandwidth while working to also prep for interviews Engineering interviewing is a separate skill from the job itself so having the time to brush up before you start interviews is important Sara Head of Program Operations at Reforge agrees “I found that trying to run a search while fully employed at a high level wasn t feasible for me it meant that I was splitting my attention between two really important aspects of my career and not executing at a high level at either But it s also important to consider the additional stress that leaping into the unknown without anything lined up can bring  Kellie Product Manager had this experience “I quit a job without having one lined up and it was not the right decision for me I had some money reserved but it felt I was jobless longer than I actually was I was really scared and depressed because I was getting rejection after rejection and I know I wouldn t have taken them so personally if I was working and looking for something new If you can t or don t want to risk a break in employment one solution is to set a deadline for yourself by which you d like to transition This can help motivate you to look for new opportunities Ana Chief of Social Policy a i at UNICEF shared how this worked for her “I decided to set a hard deadline for myself using my contract renewal date as the benchmark I started exploring the market and cast a wide net scoping both open opportunities and interesting organizations about six months before my deadline to get a sense of what was out there and didn t mentally commit to that deadline until about months later The exception here is if you feel like your physical and mental health are at a breaking point Then it s best to get out ASAP and lean on those in your life to help you through As Lauren reminds us “It s just work after all which no one ever mentions on their deathbed as something they wish they did more of How do you quit your job You ve determined it s time to say move on How do you share the news Here s the order we recommend Prepare Know what you ll say the reasons you ll share for leaving and how much notice you ll give more on that below Plan Book a time to share the news with your manager face to face or via video chat if working remotely Communicate After talking to your manager come up with a communications plan to the rest of the team company together if possible Accept Be ready for an expedited departure the possibility of a counteroffer and or potential questions from your team  Transition As you move on from your position support your team by putting together a transition document Also be ready for an exit interview on your final day The first thing to do is prepare for those final conversations It can be really helpful to write out what you ll say and practice in advance with someone you trust not from your company Be sure to do this when you re in a rational calm state instead of emotionally charged after a workday Here are some powerful statements that are truthful and succinct   gt gt gt There s no easy way to say this so I ll be direct I ve found a role elsewhere gt gt gt I m so grateful for the time I spent at Company gt gt gt  I ve decided that it s best for me to move on from Company gt gt gt I m going to be pursuing my career somewhere that better aligns with my aspirations gt gt gt I m putting in my two weeks notice My last day will be date Once you ve come up with what you ll say schedule a chat with your manager Diana Portfolio Marketing Manager suggests you touch on these three things in your conversation with your manager Appreciation for the opportunity and experience you ve had at the company Your decision to move on to a new opportunity An explanation that your decision is based on personal and professional growthIt s up to you what reasons you want to share when leaving But generally we recommend framing your decision so it s not about the shortcomings of your current employer and instead is focused on your own career growth If you do have feedback you want to share keep that for your exit interview more on that below Nina Director of Communications says to also practice follow up questions that you think might arise Q “Why would you leave at such a busy time when we don t have anyone to replace you and so much work A I understand that it s a very stressful time and I ll continue to support the project team until LAST DAY They may ask what they can do to make you stay Be prepared to reiterate that your decision is based on personal and professional growth or whatever the reasons are that you ve already shared They may also ask where you re going next If you re not sure or not ready to share you don t have to You can simply reply I will share how we can stay in touch once I am settled Resignation LettersAfter talking to your manager you ll likely need to follow up with a resignation letter via email That email could look something like this Hi X Confirming what we spoke about earlier I ll be moving on from Company and date will be my last day Thank you again for the opportunity to be a part of Company team I ve learned so much in my time here I ll be working to hand off my ongoing projects Let me know if there s anything else I can do to help make this transition smoother Rachel CEO at WOKEN suggests offering any support you re willing to give like help finding a replacement for your position But be sure to set boundaries here so you make your decision clear and stick to it   Possibility of a CounterofferBe ready to respond to a counteroffer If you re clear on why you re leaving you ll know if a counteroffer and of what amount would be enough to make you stay In general while more money is great in the short term the same problems will still be there So unless salary is your main reason for quitting we don t recommend staying for a counteroffer   Transition DocumentPutting together a robust transition document is a great way to build bridges even as you exit Make it as easy as possible for people to take over your work We ve created a template for a transition document that will be constructive and helpful to your team As one Elpha remarked People may remember your last weeks and the legacy that you leave behind for them more than they will remember your history of accomplishments with the company Exit InterviewsRight before you move on you ll likely have an exit interview and your company will ask for feedback Now s the time to share more in depth constructive feedback if you re comfortable and if you feel your company will be receptive Linda Group Product Manager at Webflow shared how one of her exit interviews went  “In my exit interview I took the opportunity to have a constructive but candid conversation with the founders on some of the more prominent problems that I saw These are hard conversations and are much easier coming from someone that will no longer have direct ties to the company How much notice should you give when quitting Two weeks of notice is generally standard in the US But if you re in a more senior role or you know it ll take your company longer to transition giving some extra time is often appreciated Some Elphas shared that they d given an extra week of notice or even a few months Emily shared “I gave weeks notice at a job I d had for years I did this as a courtesy so that I would have time to get all the signed contracts that I could and set them up for success Linda shared her approach “I gave my manager and my founders three months of notice I knew that my institutional knowledge was not written down and needed to be and that I had unfinished products that I wanted to ship I had no ill will towards the company and I wanted to make sure that I did what I could to set them up for success while also clearly establishing expectations You should also be prepared for an expedited departure Nina shared her boss s reaction to her submitting her notice “My boss said I think it s better if today is your last day I ll pay you for two weeks but today should be your last day Everything in me wanted to hang my head in shame become invisible and run out the door never to show my face again But at that moment I had a choice I could let my toxic boss write the ending to my story or I could write my ending And I chose to write my ending What do you say to people who ask why you re leaving Once your news has been shared you ll likely be asked by coworkers why you re quitting People are naturally curious and may want to find out the “gossip Here s what to do Be honest and straightforwardCamille Content Writer suggests speaking truthfully and honestly “I won t lie about why I m leaving as I don t think it helps anybody I don t mean that I m rude but more so that I don t hide when something isn t working for me How transparent you decide to be with coworkers is completely up to you Many people will likely ask where you re going next If you re comfortable be honest about your future direction interests and goals you never know how they can help you in your next steps Keep it focused amp future oriented No matter what your personal reasons might be for leaving keep the reason you share purely focused on your professional and career goals If you re a manager share the news with your direct reports individually if possible Let them know you still believe in your team s future and be clear that your reasons for leaving are about your own desire to explore a new challenge rather than about them Explain what they can expect next and who their next manager will be This will help the transition go smoothly for them and keep their morale high Lauren National Strategy amp Business Operations at Revel suggests you say something like “I m ready to start my next phase of growth take on more responsibility or try something different Another great way to put it is “I got an opportunity that perfectly fits where I see myself headed but I ll miss everyone here Stick to only one story Sara Head of Program Operations at Reforge says you should have one story and tell it that way to everyone It s tempting especially when you have close relationships or you re leaving for complicated reasons to let people in on the juicy details But don t   If you have a single story or phrase and repeat that in every conversation there s no chance that alternative narratives start circulating Tech is super small and you want to be able to call people again without hesitation Can you quit a job you just started Let s say you started a job recently and have only been there for a month or two But you re having doubts about whether your new role was the right choice Can you quit even though you just started  If it s only been weeks or months Teresa Community Lead at Elpha recommends staying for a little longer to ensure you ve done all the due diligence you can and give them and yourself enough time to evaluate the situation She suggests identifying what your non negotiables and important questions are and the timeline in which you d like to finish evaluating Then you can see how things stack up after that amount of time so your decision is better informed With that said here are three reasons you might want to move on however long it s been The job is very different from what you expected Maybe your role as it was described to you in interviews is very different from what your day to day actually looks like If there is a major misalignment in what you were brought in to do vs what you re actually being asked to do you may need to move on Your instincts are telling you this role is wrong for you A bad situation can impact your mental health and self confidence and it s not worth it It s okay to acknowledge you made the best choice at the time you took the job knowing what you knew then and that now it might be time to make a different choice One Elpha who left her job after six weeks shared her experience “Life is too short to stay in unhealthy jobs and I personally wanted to leave before it started to impact me and my self confidence Your job isn t covering your most important “job must haves Remember everything is a learning opportunity Take the time to write out daily if you can the details that are bringing you to this decision Maybe it s unsupportive teammates or not trusting management This understanding can be helpful when you re looking for your next step If you do decide to leave soon after starting in your future job search you have options for how to talk about your decision  You could choose to not mention this job on your resume or in interviews  Or you can say it was an opportunity that helped you figure out what you really want You can honestly share your story talk through what did and did not work well in the role and describe how the experience helped you clarify who you are as an employee and what the right workplace looks like for you To avoid a similar situation in the future take some advice from Elizabeth who says “When I interview for new jobs I always ask the hiring manager or recruiter to give me references to speak to within the company It absolutely sucks to go through a honeymoon days to discover things you probably could have found out if you were allowed to speak to the team upfront If a company can ask for references so can you Read more about leaving a job soon after starting in this members only conversation How can you stay in touch with people at your company after quitting Before you leave and assuming it s OK with your company ask for personal emails or social handles from people you d like to keep in touch with You can also send out an email to colleagues and provide your contact info You re definitely not obliged to stay in touch but if you feel you ve formed important connections you don t have to say goodbye just because you re moving on from the company As Career Coach Anemari says “As a general rule putting the effort into building long lasting relationships with people is always worth it professionally and personally You never know what the future might bring Here are unique ways to set up a recurring relationship with the people you care about before you leave  Get feedback from them before you leave As one Elpha shared I ve found that people will give me great feedback in the last few days weeks and it s been helpful to set up informal time from cross functional partners to ensure a smooth exit and to get their feedback This can also be an opportunity to identify future references if you re applying to jobs in the future Ask your boss or executives to join your board of directors and let them know that you d love to have a monthly or quarterly call to check in If this feels natural to your situation Sara suggests owning that calendar invite and agenda Create an alumni Slack channel if you re at a big enough company and one doesn t exist already This is an easy way to stay in touch with those you ve worked with Quitting a job takes a lot of courage If you re in this process right now take care of yourself Remind yourself often of all your successes and the skills you ve learned so far Celebrate your tiny wins And for more support in finding your next role join the Talent Pool to connect with companies that are a match for your cultural values and skills 2021-10-05 19:12:30
海外TECH DEV Community Fun with Rails Enums and PORO https://dev.to/citronak/fun-with-rails-enums-and-poro-o86 Fun with Rails Enums and POROI really like enums They can be really powerful if they are used wisely Let s see what we can do with them in a multilingual Rails app with a little help from PORO Plain Old Ruby Object In this article I will quickly explain the basics and introduce a few tasks that can occur when you are using enums in the Rails app For each I will try to show the usual way which I know about and a more fun way at least for me with PORO BasicsI believe enums don t need to be heavily introduced Below is a short description from the documentation Declare an enum attribute where the values map to integers in the database but can be queried by name And that s it You can also set the default value get scopes with optional prefix or suffix a few nice methods and default validation A small example that will be used in the article enum theme color classic dark brown suffix trueThe suffix prefix and default will be changed in not yet released in time of writing the article Rails to a version without the prefix according to the edge docs You will get Setting classic theme color scope with the suffixSetting theme colors enum hashsetting classic theme color updatesetting classic theme color checksetting theme color string instead of the integer from the databaseAs was already noted Rails will store values as integers in the database so you can easily change keys that are mainly used in Rails in the enum That can be handy if you don t exactly know the right name for them When should you use them I was tempted to write “it depends but my rule is simple use enums if you have an array of options for a single attribute that is not editable by any user and the codebase depends on its content Especially the part depends on its content is my favourite Imagine you have enum format with available export formats pdf html and so on You can then easily create a class structure that is based on the values and you will know that adding a new format will require changing the enum and adding a new export class Example class Document enum format pdf html prefix true def export Exports format classify Export constantize new self export endend Task TranslationsThe first and the most common one how to translate enums With helperThe easiest way is to use In with scope In t setting theme color scope activerecord enums setting Let s make it more versatile and use a helper method app helpers application helper rbmodule ApplicationHelper def enum t value key count In t value scope activerecord enums key count count endendAnd the final usage lt p gt lt enum t setting theme color key setting theme color gt lt p gt If we would have only this task I would stick with this solution There would be no need to make it a little bit more complex only for translations But I know we will have much more to do With objectLet s start the fun with PORO and create our enum object app enums setting theme color rbclass Setting ThemeColor def self t value count In t value scope activerecord enums setting theme color count count endendI chose a custom folder enums inside of the app folder instead of having them inside eg app models It is much cleaner for me to have them in their own specific folder And the usage lt p gt lt Setting ThemeColor t setting theme color gt lt p gt It is very similar but we are now directly using a simple class that makes it more readable Another benefit is that we can use it everywhere and not only in views and it is also easily testable This example is not the same as above as it is limited to the enum only and it is not versatile as the helper method We will get there in the next task Task List values in a form The usual wayYou can use this below but it would be without translations with nicer output for users options for select Setting theme colors We could prepare options data in each controller or add it as a method inside the model but to make it more versatile let s use a helper method again I am one of those who do not like fat controllers and models It is also the reason why I am using PORO for enums and not models or view helpers app helpers application helper rbdef enum options source tkey source map do key value enum t key key tkey key endendThis can be used like this lt form select theme color options for select enum options Setting theme colors tkey setting theme color setting theme color prompt t shared views select required true gt With objectFor only one enum we could leave it When you will have them more and you probably will you can refactor it make it more versatile and create a base class for our enums with shared code app enums base enum rbclass BaseEnum class lt lt self def t value count In t value scope activerecord enums translation key count count end def translation key to s split map amp underscore join end endendOur enum class will be a little bit empty after it app enums setting theme color rbclass Setting ThemeColor lt BaseEnum endNow we can update the base class with the code we will need to help us display our values in the form app enums base enum rbclass BaseEnum attr reader id title def initialize id title id id title title end class lt lt self def all source map do key value new id key title t key end end def source raise NotImplementedError end the rest… endendYou can find the final version of all used classes at the end of the article And finally we can add something to the Setting ThemeColor class app enums setting theme color rbclass Setting ThemeColor lt BaseEnum def self source Setting theme colors endendThe usage lt form collection select theme color Setting ThemeColor all id title include blank t shared views select allow blank false autofocus false required true gt It now looks like we basically only have more code for removing one thing key setting theme color for translations and we have a different form method But all changes will help us with upcoming tasks You probably noticed that I did not use the value integer from our enum It is because Rails returns the string instead of the integer in the model attribute Thanks to that we can display the saved value in the form easily Task DescriptionsOne day you will get a feature request add description text to theme color options The usual wayThe solution is easy we can just add a new helper method that will use a different key for translations We will add a title key to the previous translations and add a new description key to keep the structure nice def enum t value key count In t value scope activerecord enums key title count count enddef enum description t value key count In t value scope activerecord enums key description count count endBut we have now helper methods in total Maybe it would be good to move them into a single file to have them in at least one place without any other unrelated methods For me this is not a good solution obviously because you need to know that there are these methods not the hardest one but it is still better not to need to know it for each new “attribute like the description you will have a new method or you would create a general where you would state the attribute in params in each case you will need to look to translation file to know what attributes are available for the enum With objectFirst we need to change the translation key in BaseEnum def t value count In t value scope activerecord enums translation key title count count endWe will need to add a new method that will return us the object for needed enum We can add it as a class method on BaseEnum app enums base enum rbdef find key new id key title t key endWe could make the description attribute available for all and add it into the BaseEnum class but we don t need it right now… app enums setting theme color rbdef description In t id scope activerecord enums self class translation key description endAnd the usage Setting ThemeColor find setting theme color descriptionWe can finally fully benefit from the PORO way and have it clean and readable Task Custom methodsImagine you would like to have the color in hex eg dark With a usual way we would create just another helper method or add a method to the model…but with enum object we can just add a new method to the class and have it all in one place app enums setting theme color rbdef hex case id when classic FF when dark when brown DE endendWe are now able to use it everywhere not only in views Setting ThemeColor find dark hexThis was just an example But the main point is you now have a place where you can add these kinds of methods when you will need them Task Limit displaying valuesAnother interesting task allowing to display brown option only for admins for some weird reason Again with the usual way we would have another helper or model method Luckily we have our enum class where we can change the source method to our needs app enums setting theme color rbdef self source if Current user admin Setting theme colors else Setting theme colors except brown endendIn this example I am using CurrentAttributes for storing the current user SummaryWith enum objects you can make your enums more fun and it opens you a lot of possibilities your code will be cleaner slimmer models or helpers enums will have their own place where you can extend them to your needsyou will be able to use them everywhereall added logic will be easily testableI hope you found this article interesting If you find any inconsistencies or you know a better way I would be glad if you let me know on Twitter Final version of classes BaseEnum class app enums base enum rbclass BaseEnum attr reader id title def initialize id title id id title title end class lt lt self def all source map do key value new id key title t key end end def find key new id key title t key end def source raise NotImplementedError end def t value count In t value scope activerecord enums translation key title count count end def translation key to s split map amp underscore join end endend Setting ThemeColor class app enums setting theme color rbclass Setting ThemeColor lt BaseEnum def description In t id scope activerecord enums self class translation key description end def hex case id when classic FF when dark when brown DE end end def self source if Current user admin Setting theme colors else Setting theme colors except brown end endend 2021-10-05 19:00:39
Apple AppleInsider - Frontpage News Apple's Tim Cook talks mental health and 'mindless scrolling' https://appleinsider.com/articles/21/10/05/apples-tim-cook-talks-mental-health-and-mindless-scrolling?utm_medium=rss Apple x s Tim Cook talks mental health and x mindless scrolling x Mental health is a crisis Apple CEO Tim Cook declared in an interview on a trip to New York a discussion that covers the need for people to look after themselves as well as Cook s own ways to unwind Cook paid a visit to New York in early October using the time at one point to meet to mental health app Shine s co founders Naomi Hirabayashi and Marah Lidey As part of an interview centering on mental health Cook used the conversation to promote the app as well as expanding on the idea that people need to look after their mental health more On the importance of promoting Shine Cook starts by pointing out the app had won in Apple s Best of the App Store awards in And there probably wasn t a year that would have made them more essential he told Bustle with elements such as the murder of George Floyd and the pandemic intersecting in such a way that no one would have predicted Read more 2021-10-05 19:01:50
海外TECH Engadget Sony is making it harder to buy PS3 and Vita games https://www.engadget.com/sony-ps3-vita-playstation-store-card-shutdown-194942426.html?src=rss Sony is making it harder to buy PS and Vita gamesSony may be keeping the PS and Vita stores alive but that doesn t mean it will be easy to shop Kotakunoticed that Sony is shutting down credit card debit card and PayPal store payments for its older consoles on October th From then on you ll have to either load your virtual wallet through the web or another console or rely on gift cards ーyou can t just buy games directly The company didn t explain the decision in a notice to customers We ve asked Sony for comment Whatever the reasoning the reduced payment options send a not so subtle signal Sony would really really like you to stop buying games for older consoles and move on to a PS or PS That s unsurprising when the PS is years old and has the aging store infrastructure to match but it s not very reassuring if you re hanging on to a PS or Vita to play classic games 2021-10-05 19:49:42
海外TECH Engadget Facebook explains how its October 4th outage started https://www.engadget.com/facebook-outage-explainer-193155776.html?src=rss Facebook explains how its October th outage startedFollowing Monday s massive service outage that took out all of its services Facebook has published a blog post detailing what happened yesterday According to Santosh Janardhan the company s vice president of infrastructure the outage started with what should have been routine maintenance At some point yesterday a command was issued that was supposed to assess the availability of the backbone network that connects all of Facebook s disparate computing facilities Instead the order unintentionally took those connections down Janardhan says a bug in the company s internal audit system did not properly prevent the command from executing That issue caused a secondary problem that ultimately made yesterday s outage into the international incident that it became When Facebook s DNS servers couldn t connect to the company s primary data centers they stopped advertising the border gateway protocol BGP routing information that every device on the internet needs to connect to a server “The end result was that our DNS servers became unreachable even though they were still operational said Janardhan “This made it impossible for the rest of the internet to find our servers As we learned partway yesterday what made an already difficult situation worse was that the outage made it impossible for Facebook engineers to connect to the servers they needed to fix Moreover the loss of DNS functionality meant they couldn t use many of the internal tools they depend on to investigate and resolve networking issues in normal circumstances That meant the company had to physically send personnel to its data centers a task that was complicated by the physical safeguards it had in place at those locations “They re hard to get into and once you re inside the hardware and routers are designed to be difficult to modify even when you have physical access to them according to Janardhan Once it could restore its backbone network Facebook was cautious not to turn everything back on all at once since the surging power and computing demands may have led to more crashes “Every failure like this is an opportunity to learn and get better and there s plenty for us to learn from this one said Janardhan “After every issue small and large we do an extensive review process to understand how we can make our systems more resilient That process is already underway 2021-10-05 19:31:55
海外TECH CodeProject Latest Articles News Track - News Aggregator https://www.codeproject.com/Articles/5299293/News-Track-News-Aggregator certain 2021-10-05 19:45:00
ニュース BBC News - Home Facebook weakens democracy, says ex-employee https://www.bbc.co.uk/news/world-us-canada-58805965?at_medium=RSS&at_campaign=KARANGA media 2021-10-05 19:18:04
ニュース BBC News - Home Sabina Nessa: Hundreds pay respects at Eastbourne vigil https://www.bbc.co.uk/news/uk-england-58807300?at_medium=RSS&at_campaign=KARANGA vigil 2021-10-05 19:21:35
ニュース BBC News - Home Carrie Johnson: How much influence does the PM's wife have? https://www.bbc.co.uk/news/uk-politics-58804604?at_medium=RSS&at_campaign=KARANGA carrie 2021-10-05 19:10:10
ビジネス ダイヤモンド・オンライン - 新着記事 神社本庁が控訴審でも連敗も、自民総裁選では「高市推し」で存在感回復に躍起 - 瓦解する神社 https://diamond.jp/articles/-/283951 神社本庁が控訴審でも連敗も、自民総裁選では「高市推し」で存在感回復に躍起瓦解する神社全国約万社の神社を傘下に置く宗教法人、神社本庁。 2021-10-06 05:00:00
ビジネス ダイヤモンド・オンライン - 新着記事 投資初心者もOKの「SNS検索カンニング投資法」とは?鉄則と絶対避けたい3つの罠 - 資産1億円 本気で目指すFIRE https://diamond.jp/articles/-/282765 株式投資 2021-10-06 04:55:00
ビジネス ダイヤモンド・オンライン - 新着記事 将棋の現役最強棋士が「経営者」と重なる理由、成長を続ける3つの秘策とは?【入山章栄×渡辺明・動画】 - 入山章栄×超一流対談 https://diamond.jp/articles/-/283559 入山章栄 2021-10-06 04:50:00
ビジネス ダイヤモンド・オンライン - 新着記事 創業100年の刻印機メーカー、経営難を乗り越え14カ国に販売網広げた社長の手腕 - 飛び立て、世界へ! 中小企業の海外進出奮闘記 https://diamond.jp/articles/-/283486 中小企業 2021-10-06 04:45:00
ビジネス ダイヤモンド・オンライン - 新着記事 ソフトバンクが「値下げショック」をはねのけ、15%超増収となった勝因は? - ダイヤモンド 決算報 https://diamond.jp/articles/-/283832 2021-10-06 04:40:00
ビジネス ダイヤモンド・オンライン - 新着記事 中国「恒大集団」ショック、習近平の“リスクとの戦い”はこれから激化する - DOL特別レポート https://diamond.jp/articles/-/283950 中国経済 2021-10-06 04:35:00
ビジネス ダイヤモンド・オンライン - 新着記事 ハイアットとヒルトンは大赤字でマリオットは黒字、「コロナ耐性格差」の正体 - クイズと事例で頭に入る!決算書の読みどころ https://diamond.jp/articles/-/283738 黒字 2021-10-06 04:30:00
ビジネス ダイヤモンド・オンライン - 新着記事 FRBが直面する「平均的インフレ目標」の修羅場、予想以上の物価高止まり - 経済分析の哲人が斬る!市場トピックの深層 https://diamond.jp/articles/-/283949 景気回復 2021-10-06 04:25:00
ビジネス ダイヤモンド・オンライン - 新着記事 総裁選後に考える、日本政府「コロナ対応」の評価はどうだったか - きんざいOnline https://diamond.jp/articles/-/283829 online 2021-10-06 04:20:00
ビジネス ダイヤモンド・オンライン - 新着記事 日本除く主要国の金融正常化で円は下落か、上昇余地が大きい通貨は? - 政策・マーケットラボ https://diamond.jp/articles/-/283986 横ばい圏 2021-10-06 04:17:00
ビジネス ダイヤモンド・オンライン - 新着記事 岸田新政権の分配重視「令和版所得倍増」を空証文にしない条件 - 政策・マーケットラボ https://diamond.jp/articles/-/283823 三位一体 2021-10-06 04:15:00
ビジネス ダイヤモンド・オンライン - 新着記事 岸田新政権の「統治と分配」は短命の橋本型か、長寿の小泉or安倍型か - 政策・マーケットラボ https://diamond.jp/articles/-/284007 政府債務 2021-10-06 04:12:00
ビジネス ダイヤモンド・オンライン - 新着記事 「ファーストの会」が事情はどうあれ“小池第2新党”でしかない理由 - DOL特別レポート https://diamond.jp/articles/-/283948 小池新党 2021-10-06 04:10:00
ビジネス ダイヤモンド・オンライン - 新着記事 岸田新政権が直面する「台湾有事」の現実味 - DOL特別レポート https://diamond.jp/articles/-/283877 台湾有事 2021-10-06 04:05:00
北海道 北海道新聞 世界レスリング、桜井「金」 女子55キロ級、初出場 https://www.hokkaido-np.co.jp/article/596930/ 世界選手権 2021-10-06 04:06:19
ビジネス 東洋経済オンライン 孫正義の師が教える!「今日を懸命に生きるコツ」 「プロの言葉」に学ぶ「自分の価値」の高め方 | リーダーシップ・教養・資格・スキル | 東洋経済オンライン https://toyokeizai.net/articles/-/458840?utm_source=rss&utm_medium=http&utm_campaign=link_back 東洋経済オンライン 2021-10-06 04:30:00
IT 週刊アスキー Pixel 6発表イベントは20日未明 公式アカウントで告知 https://weekly.ascii.jp/elem/000/004/071/4071274/ madebygoogle 2021-10-06 04:15:00

コメント

このブログの人気の投稿

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

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

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)