SOLVED: Is it better to be rich with no friends or poor with many friends? (2024)

`); let searchUrl = `/search/`; history.forEach((elem) => { prevsearch.find('#prevsearch-options').append(`

${elem}

`); }); } $('#search-pretype-options').empty(); $('#search-pretype-options').append(prevsearch); let prevbooks = $(false); [ {title:"Recently Opened Textbooks", books:previous_books}, {title:"Recommended Textbooks", books:recommended_books} ].forEach((book_segment) => { if (Array.isArray(book_segment.books) && book_segment.books.length>0 && nsegments<2) { nsegments+=1; prevbooks = $(`

  • ${book_segment.title}
  • `); let searchUrl = "/books/xxx/"; book_segment.books.forEach((elem) => { prevbooks.find('#prevbooks-options'+nsegments.toString()).append(`

    ${elem.title} ${ordinal(elem.edition)} ${elem.author}

    `); }); } $('#search-pretype-options').append(prevbooks); }); } function anon_pretype() { let prebooks = null; try { prebooks = JSON.parse(localStorage.getItem('PRETYPE_BOOKS_ANON')); }catch(e) {} if ('previous_books' in prebooks && 'recommended_books' in prebooks) { previous_books = prebooks.previous_books; recommended_books = prebooks.recommended_books; if (typeof PREVBOOKS !== 'undefined' && Array.isArray(PREVBOOKS)) { new_prevbooks = PREVBOOKS; previous_books.forEach(elem => { for (let i = 0; i < new_prevbooks.length; i++) { if (elem.id == new_prevbooks[i].id) { return; } } new_prevbooks.push(elem); }); new_prevbooks = new_prevbooks.slice(0,3); previous_books = new_prevbooks; } if (typeof RECBOOKS !== 'undefined' && Array.isArray(RECBOOKS)) { new_recbooks = RECBOOKS; for (let j = 0; j < new_recbooks.length; j++) { new_recbooks[j].viewed_at = new Date(); } let insert = true; for (let i=0; i < recommended_books.length; i++){ for (let j = 0; j < new_recbooks.length; j++) { if (recommended_books[i].id == new_recbooks[j].id) { insert = false; } } if (insert){ new_recbooks.push(recommended_books[i]); } } new_recbooks.sort((a,b)=>{ adate = new Date(2000, 0, 1); bdate = new Date(2000, 0, 1); if ('viewed_at' in a) {adate = new Date(a.viewed_at);} if ('viewed_at' in b) {bdate = new Date(b.viewed_at);} // 100000000: instead of just erasing the suggestions from previous week, // we just move them to the back of the queue acurweek = ((new Date()).getDate()-adate.getDate()>7)?0:100000000; bcurweek = ((new Date()).getDate()-bdate.getDate()>7)?0:100000000; aviews = 0; bviews = 0; if ('views' in a) {aviews = acurweek+a.views;} if ('views' in b) {bviews = bcurweek+b.views;} return bviews - aviews; }); new_recbooks = new_recbooks.slice(0,3); recommended_books = new_recbooks; } localStorage.setItem('PRETYPE_BOOKS_ANON', JSON.stringify({ previous_books: previous_books, recommended_books: recommended_books })); build_popup(); } } var whiletyping_search_object = null; var whiletyping_search = { books: [], curriculum: [], topics: [] } var single_whiletyping_ajax_promise = null; var whiletyping_database_initial_burst = 0; //number of consecutive calls, after 3 we start the 1 per 5 min calls function get_whiletyping_database() { //gets the database from the server. // 1. by validating against a local database value we confirm that the framework is working and // reduce the ammount of continuous calls produced by errors to 1 per 5 minutes. return localforage.getItem('whiletyping_last_attempt').then(function(value) { if ( value==null || (new Date()) - (new Date(value)) > 1000*60*5 || (whiletyping_database_initial_burst < 3) ) { localforage.setItem('whiletyping_last_attempt', (new Date()).getTime()); // 2. Make an ajax call to the server and get the search database. let databaseUrl = `/search/whiletype_database/`; let resp = single_whiletyping_ajax_promise; if (resp === null) { whiletyping_database_initial_burst = whiletyping_database_initial_burst + 1; single_whiletyping_ajax_promise = resp = new Promise((resolve, reject) => { $.ajax({ url: databaseUrl, type: 'POST', data:{csrfmiddlewaretoken: "WbjWxGBEFauvacbLJDYgTI7K4h6FJmqMhlpPqfvZMzDpirYLmAtdpdCNGBH5iM75"}, success: function (data) { // 3. verify that the elements of the database exist and are arrays if ( ('books' in data) && ('curriculum' in data) && ('topics' in data) && Array.isArray(data.books) && Array.isArray(data.curriculum) && Array.isArray(data.topics)) { localforage.setItem('whiletyping_last_success', (new Date()).getTime()); localforage.setItem('whiletyping_database', data); resolve(data); } }, error: function (error) { console.log(error); resolve(null); }, complete: function (data) { single_whiletyping_ajax_promise = null; } }) }); } return resp; } return Promise.resolve(null); }).catch(function(err) { console.log(err); return Promise.resolve(null); }); } function get_whiletyping_search_object() { // gets the fuse objects that will be in charge of the search if (whiletyping_search_object){ return Promise.resolve(whiletyping_search_object); } database_promise = localforage.getItem('whiletyping_database').then(function(database) { return localforage.getItem('whiletyping_last_success').then(function(last_success) { if (database==null || (new Date()) - (new Date(last_success)) > 1000*60*60*24*30 || (new Date('2023-04-25T00:00:00')) - (new Date(last_success)) > 0) { // New database update return get_whiletyping_database().then(function(new_database) { if (new_database) { database = new_database; } return database; }); } else { return Promise.resolve(database); } }); }); return database_promise.then(function(database) { if (database) { const options = { isCaseSensitive: false, includeScore: true, shouldSort: true, // includeMatches: false, // findAllMatches: false, // minMatchCharLength: 1, // location: 0, threshold: 0.2, // distance: 100, // useExtendedSearch: false, ignoreLocation: true, // ignoreFieldNorm: false, // fieldNormWeight: 1, keys: [ "title" ] }; let curriculum_index={}; let topics_index={}; database.curriculum.forEach(c => curriculum_index[c.id]=c); database.topics.forEach(t => topics_index[t.id]=t); for (j=0; j

    Solutions
  • Textbooks
  • `); } function build_solutions() { if (Array.isArray(solution_search_result)) { const viewAllHTML = userSubscribed ? `View All` : ''; var solutions_section = $(`
  • Solutions ${viewAllHTML}
  • `); let questionUrl = "/questions/xxx/"; let askUrl = "/ask/question/xxx/"; solution_search_result.forEach((elem) => { let url = ('course' in elem)?askUrl:questionUrl; let solution_type = ('course' in elem)?'ask':'question'; let subtitle = ('course' in elem)?(elem.course??""):(elem.book ?? "")+"    "+(elem.chapter?"Chapter "+elem.chapter:""); solutions_section.find('#whiletyping-solutions').append(` ${elem.text} ${subtitle} `); }); $('#search-solution-options').empty(); if (Array.isArray(solution_search_result) && solution_search_result.length>0){ $('#search-solution-options').append(solutions_section); } MathJax.Hub.Queue(["Typeset", MathJax.Hub, document.getElementById('search-solution-options')]); } } function build_textbooks() { $('#search-pretype-options').empty(); $('#search-pretype-options').append($('#search-solution-options').html()); if (Array.isArray(textbook_search_result)) { var books_section = $(`
  • Textbooks View All
  • `); let searchUrl = "/books/xxx/"; textbook_search_result.forEach((elem) => { books_section.find('#whiletyping-books').append(` ${elem.title} ${ordinal(elem.edition)} ${elem.author} `); }); } if (Array.isArray(textbook_search_result) && textbook_search_result.length>0){ $('#search-pretype-options').append(books_section); } } function build_popup(first_time = false) { if ($('#search-text').val()=='') { build_pretype(); } else { solution_and_textbook_search(); } } var search_text_out = true; var search_popup_out = true; const is_login = false; function pretype_setup() { $('#search-text').focusin(function() { $('#search-popup').addClass('show'); resize_popup(); search_text_out = false; }); $( window ).resize(function() { resize_popup(); }); $('#search-text').focusout(() => { search_text_out = true; if (search_text_out && search_popup_out) { $('#search-popup').removeClass('show'); } }); $('#search-popup').mouseenter(() => { search_popup_out = false; }); $('#search-popup').mouseleave(() => { search_popup_out = true; if (search_text_out && search_popup_out) { $('#search-popup').removeClass('show'); } }); $('#search-text').on("keyup", delay(() => { build_popup(); }, 200)); build_popup(true); let prevbookUrl = `/search/pretype_books/`; if (is_login) { $.ajax({ url: prevbookUrl, method: 'POST', data:{csrfmiddlewaretoken: "WbjWxGBEFauvacbLJDYgTI7K4h6FJmqMhlpPqfvZMzDpirYLmAtdpdCNGBH5iM75"}, success: function(response){ previous_books = response.previous_books; recommended_books = response.recommended_books; build_popup(); }, error: function(response){ console.log(response); } }); } else { let prebooks = null; try { prebooks = JSON.parse(localStorage.getItem('PRETYPE_BOOKS_ANON')); }catch(e) {} if (prebooks && 'previous_books' in prebooks && 'recommended_books' in prebooks) { anon_pretype(); } else { $.ajax({ url: prevbookUrl, method: 'POST', data:{csrfmiddlewaretoken: "WbjWxGBEFauvacbLJDYgTI7K4h6FJmqMhlpPqfvZMzDpirYLmAtdpdCNGBH5iM75"}, success: function(response){ previous_books = response.previous_books; recommended_books = response.recommended_books; build_popup(); }, error: function(response){ console.log(response); } }); } } } $( document ).ready(pretype_setup); $( document ).ready(function(){ $('#search-popup').on('click', '.search-view-item', function(e) { e.preventDefault(); let autoCompleteSearchViewUrl = `/search/autocomplete_search_view/`; let objectUrl = $(this).attr('href'); let selectedId = $(this).data('objid'); let searchResults = []; $("#whiletyping-solutions").find("a").each(function() { let is_selected = selectedId === $(this).data('objid'); searchResults.push({ objectId: $(this).data('objid'), contentType: $(this).data('contenttype'), category: $(this).data('category'), selected: is_selected }); }); $("#whiletyping-books").find("a").each(function() { let is_selected = selectedId === $(this).data('objid'); searchResults.push({ objectId: $(this).data('objid'), contentType: $(this).data('contenttype'), category: $(this).data('category'), selected: is_selected }); }); $.ajax({ url: autoCompleteSearchViewUrl, method: 'POST', data:{ csrfmiddlewaretoken: "WbjWxGBEFauvacbLJDYgTI7K4h6FJmqMhlpPqfvZMzDpirYLmAtdpdCNGBH5iM75", query: $('#search-text').val(), searchObjects: JSON.stringify(searchResults) }, dataType: 'json', complete: function(data){ window.location.href = objectUrl; } }); }); });
    SOLVED: Is it better to be rich with no friends or poor with many friends? (2024)

    FAQs

    SOLVED: Is it better to be rich with no friends or poor with many friends? ›

    The answer really depends on individual preferences and values. Some people might prioritize financial stability and the opportunities it brings, while others might value the support and companionship of friends above material wealth. Ultimately, it's about what brings the most fulfillment and happiness to each person.

    Is it better to be rich with no friends or poor with many friends? ›

    Money is always with you Friends come and go, money is the key to happiness because it will never leave you no matter what unless you spend it on something, and you can buy everything with it. The amount of money says how we should be treated and therefore being rich is the best thing ever.

    Do you need friends to become rich? ›

    If you want to get rich, make rich friends, a Harvard economist found in 2 new studies. New studies examined how different types of social capital impact someone's upward mobility. It turns out that being friends with richer people is the only factor associated with upward mobility.

    Why do wealthy people have few friends? ›

    The lifestyle of the rich and famous can be isolating. The constant scrutiny, media attention, and the difficulty of finding individuals who can relate to their experiences can lead to social isolation. This isolation can make it challenging to form genuine friendships.

    Is friendship more important than money? ›

    Friends can give us love, moral support and care, which truly money can never buy. It is said that “a friend in need is a friend indeed”. More friends if unite they can earn lot of money, but money cannot buy true friends.

    Is it better to have friends or no friends? ›

    Studies have shown that being extroverted, and consequently having more friendships and social support, can lead to increased happiness. 2Happiness comes from having a healthy social life. This means having enough friends that provide you with quality interactions.

    Is it damaging to have no friends? ›

    Having no friends can take a toll on your emotional and mental health. However, if you actually prefer spending time alone (ie you are an introvert), then that can be a completely positive experience. Sometimes, introverts or people with fewer social needs may feel like having no friends is a 'bad thing'.

    Can I be successful without friends? ›

    Friends have a role to play but that doesn't mean you can't achieve success without friends. At the end of the day, you must realize that you are alone and you own your decisions. Friends provide moral support and may be a helping hand but without these also you will do just fine.

    Are rich people happy or not? ›

    Reconciling previously contradictory results, researchers from Penn and Princeton find a steady association between larger incomes and greater happiness for most people but a rise and plateau for an unhappy minority.

    Are you happier if you're rich? ›

    The Killingsworth Study

    They were also surveyed about their income and satisfaction with their lives. Using this data, which constituted over 1.7 million experience samples, Professor Killingsworth found that larger incomes “were robustly associated” with both greater happiness and greater life satisfaction.

    Why wealthy people are quiet? ›

    The rich are often quieter than the poor because they have less to worry about. Money can buy you food, shelter, and security. It can also buy you freedom from want and fear. When you have enough money, you don't have to worry about where your next meal is coming from or whether you'll be able to pay your rent.

    How can you spot a wealthy person? ›

    • Minimalist Homes: Where Less Is More. ...
    • Low Profile Luxury Cars: Driving Discretion. ...
    • High-quality Wardrobes with Minimal Brand Identification: Style with Substance. ...
    • Real Generational Wealth: Steadfast Stability. ...
    • Subtle Signs of Real Estate Investment: Property Portfolio. ...
    • Pearliness of Their Whites: A Smile of Affluence.
    Dec 14, 2023

    Is being rich isolating? ›

    According to therapists that CNBC spoke to, more often than not, the super-rich struggle with feelings of isolation, depression, and paranoia, amongst others — a spectrum of emotions that many others tend to share.

    Is it good to have more friends or less friends? ›

    Studies have shown that having a smaller social circle can actually be better for mental health, as it can reduce social anxiety and feelings of loneliness. However, it is important to find a balance between the quality and quantity of friendships in order to maintain social and emotional health.

    Is it better to be rich with no friends or poor with friends? ›

    The question, "Is it better to be rich with no friends than poor with many friends?" is a philosophical one and subjective in nature, meaning it may vary from individual to individual based on personal values and beliefs. Wealth and friendship are both valuable facets of life that serve different purposes.

    Why money ruins friendships? ›

    If you make less than your friends, you may feel less-than; make more and you risk taking on too many financial favors or coming across as out of touch. Nearly half of millennial and Gen Z respondents in a 2017 PayPal survey cited money as impacting a friendship.

    Is it good not to have many friends? ›

    Though research and experts suggest having three to six close friends is the sweet spot for life satisfaction, it truly depends on the individual. Ask yourself honestly whether you feel you have enough friends — that's your answer. Focus on making these relationships positive, quality friendships to reap the benefits.

    How many friends is too little? ›

    There's no “right” number of friends you should have, but research says most people have between 3 and 5 close friends. Friendship is necessary, but it can feel challenging to find people who really “get” you. What's more, what you need from your friends might change as your life circ*mstances change.

    Are people with money happier than people without money? ›

    After re-examining the data, the authors of the collaborative paper concluded that more money is associated with more happiness for most, but not all, people. For 80% of people, happiness continues to rise with income past $75,000.

    Top Articles
    Latest Posts
    Article information

    Author: Roderick King

    Last Updated:

    Views: 5973

    Rating: 4 / 5 (71 voted)

    Reviews: 86% of readers found this page helpful

    Author information

    Name: Roderick King

    Birthday: 1997-10-09

    Address: 3782 Madge Knoll, East Dudley, MA 63913

    Phone: +2521695290067

    Job: Customer Sales Coordinator

    Hobby: Gunsmithing, Embroidery, Parkour, Kitesurfing, Rock climbing, Sand art, Beekeeping

    Introduction: My name is Roderick King, I am a cute, splendid, excited, perfect, gentle, funny, vivacious person who loves writing and wants to share my knowledge and understanding with you.