2010.11.29 14:36 Mr45 All things NFA
2014.10.25 16:02 vekula Canadian Investor
2009.03.16 18:49 ma1kel asexuality
2024.05.19 20:28 Pacogatto Two Pitbull Attack a Golden Retriever and Her Owner - Sanremo, Italy - 19th May, 2024
2024.05.19 20:24 gjohnsit Looks like a police state to me
More people were killed by police in 2023 than ever before. submitted by gjohnsit to WayOfTheBern [link] [comments] Police in the US killed at least 1,232 people last year, making 2023 the deadliest year for homicides committed by law enforcement in more than a decade, according to newly released data.At the same time, mass incarceration remains near all-time highs. we have thousands of federal, state, local, and tribal systems. Together, these systems hold over 1.9 million people in 1,566 state prisons, 98 federal prisons, 3,116 local jails, 1,323 juvenile correctional facilities, 142 immigration detention facilities, and 80 Indian country jails, as well as in military prisons, civil commitment centers, state psychiatric hospitals, and prisons in the U.S. territories — at a system-wide cost of at least $182 billion each year. ... In 2022, about 469,000 people entered prison gates, but people went to jail more than 7 million times. Some have just been arrested and will make bail within hours or days, while many others are too poor to make bail and remain in jail until their trial. Only a small number (about 102,700 on any given day) have been convicted, and are generally serving misdemeanors sentences of under a year. At least 1 in 4 people who go to jail will be arrested again within the same year — often those dealing with poverty, mental illness, and substance use disorders, whose problems only worsen with incarceration.Meanwhile, police killed in the line of duty dropped dramatically in 2023. According to the report, 136 federal, state, county, municipal, military, tribal and campus officers died in the line of duty in 2023, a 39% decrease from the year before. The report found 47 officers were killed by gunfire, 37 died in traffic-related incidents and 52 died from “other causes” such as medical events, aircraft crashes and other forms of violencehttps://preview.redd.it/vg0cca0cef1d1.png?width=500&format=png&auto=webp&s=627a131f29a9e571d3678b9954b53c2cd28cb248 So enormous amounts of people being imprisoned, plus horrific numbers of people being killed by police, adds up to a nation undergoing unprecedented amounts of crime. Right? Actually, no. "The national picture shows that murder is falling. We have data from over 200 cities showing a 12.2% decline ... in 2023 relative to 2022," Asher said, citing his own analysis of public data. He found instances of rape, robbery and aggravated assault were all down too. Yet when you ask people about crime in the country, the perception is it's getting a lot worse. A Gallup poll released in November found 77% of Americans believed there was more crime in the country than the year before. And 63% felt there was either a "very" or "extremely" serious crime problem — the highest in the poll's history going back to 2000. There is simply no justification in mass incarceration and all of these police homicides in a time when violent crime has dropped by half and property time has dropped by 2/3rds. Of course I could have said the exact same thing a decade ago (I believe that I did), and I probably will say it again 5 years from now. |
2024.05.19 20:22 Aralmin What if we make contact with a distant civilization that is at the same technological level as us on the Kardashev scale?
In light of the recent search for advanced civilizations whom may have developed giant mega-structures such as a recent paper about the search for possible Dyson Spheres or Dyson Swarms, what if there are other civilizations out there that are not that different from us? I was recently reading this other paper about civilizations trapped in their own worlds and it got me wondering, what if there are other civilizations out there that are just starting out kind of like how we are? What if these civilizations have only reached at a computer age technologically speaking. submitted by Aralmin to aliens [link] [comments] If we made contact with such civilizations, what would happen? Could we beam signals to them in real-time and make contact with them? Could we establish real-time communication with them? Could we initially use simple forms of communication such as radio and laser communication to finally build a stronger "tether" such as building some form of communication system using Quantum Entanglement to transmit data in real-time? But if we can build real-time communication with such a civilization, what would happen afterwords? I would imagine that eventually, we would want to find a way to meet and we might possibly work together to figure out a method of space travel that might allow us to finally bridge the gulf. I would imagine that one way we could do this is by creating some sort of portal or wormhole. If you are wondering why does this sound familiar, well it should because this idea came to me from the movie Contact (1997) with Jody Foster. https://preview.redd.it/c4qyrilcaf1d1.jpg?width=1000&format=pjpg&auto=webp&s=91283510070706e30980d25b43f17fb20a86410e I always wondered when I saw the film, how is it that a supposed "Advanced Civilization" can only make contact with Humanity using radio signals? And why did they send blueprints to build a teleportestargate? https://preview.redd.it/ca3kk28eaf1d1.jpg?width=1548&format=pjpg&auto=webp&s=ee39f284d2a1d09237ea0345939ffe842d589420 This got me really suspicious, what if such a civilization is actually not much smarter than we are and possibly only a few decades or even a century more advanced but not advanced enough to cross the vast space as they have not developed FTL just yet. To me, this reads out exactly like a Trojan Horse: the beings making contact, send Humans a blueprint which could then be used to beam in their forces to invade and conquer Earth and thereby expanding their empire across the stars. So while Dr Ellie Arroway is so eager to make contact, she doesn't realize the danger she is inviting to Earth. At least that's my theory. I think that there is another reason why I bring up this scenario of making contact with a civilization that is at our technological level, I think that they are realistically more likely to understand us than those that are above or below our level. Yet, if they are at our level, more than likely they are not entirely benevolent. So then you have to wonder, who is a good fit for benign relations with our planet and our people if technological level doesn't always tell you how benign a people are? Who should be our friends? This is not the conspiracy sub but I do wonder sometimes what the people at CERN are up to. In real life, if the international community did make such a discovery about a possible intelligently inhabited star system, the last people to know is the public. I imagine that the international community along with Scientists and other Experts would consult with one another first and make a plan on how to move forward and only once they have sorted everything out, only then would they let the public know literally at the last second. I imagine something like CERN being the perfect cover for a possible "Stargate". But in my opinion, even if CERN wanted to, they don't know what the hell they are doing and have no shot of making something like this with current technology. I am only using this scenario as an example so people don't think that they are the real-life A-Sync from The Backrooms. This whole scenario does create an interesting question though, why do Aliens always have to be super-advanced? If a civilization has different stages of advancement that they develop towards, why would we assume that there can only be more advanced groups out there? There must be an entire spectrum of civilizations on the tech tree. |
2024.05.19 20:20 DougDante A father despaired in a private Facebook group that he recently won in court, and while appealing he feels mom is poisoning the children against him.
Sometimes a former, or soon-to-be former, spouse or co-parent can make your life difficult by refusing to pay support or cooperate with parenting time or fighting your efforts to resolve your divorce. When inconvenience and annoyance crosses the line into the violation of court orders, you may be able to use contempt of court proceedings to correct the other party’s behavior and get your case, and your life, back on track.Minimum standards for child abuse:
https://nsssb.com/contempt-of-court-in-michigan-family-law-cases/
Federal law definitions of child abuse and neglectPossible failure to respect:
Federal legislation provides guidance to States by identifying a minimum set of acts or behaviors that define child abuse and neglect. The Federal Child Abuse Prevention and Treatment Act (CAPTA) (42 U.S.C.A. § 5106g), as amended by the CAPTA Reauthorization Act of 2010, defines child abuse and neglect as, at minimum:
"Any recent act or failure to act on the part of a parent or caretaker, which results in death, serious physical or emotional harm, sexual abuse or exploitation"; or
"An act or failure to act which presents an imminent risk of serious harm."
https://www.childwelfare.gov/topics/can/defining/
https://www.law.cornell.edu/uscode/text/42/5106g
"There is a fundamental right under the Fourteenth Amendment for a parent to oversee the care, custody, and control of a child."Promoting hatred of a parent may be child abuse. If the authorities are aware of this and allow it to persist they may be failing to report that abuse:
Troxel v. Granville, 530 U.S. 57 (2000)
https://supreme.justia.com/cases/federal/us/530/57/
A person who, while engaged in a professional capacity or activity described in subsection (b) of section 226 of the Victims of Child Abuse Act of 1990 on Federal land or in a federally operated (or contracted) facility, or a covered individual as described in subsection (a)(2) of such section 226 who, learns of facts that give reason to suspect that a child has suffered an incident of child abuse, as defined in subsection (c) of that section, and fails to make a timely report as required by subsection (a) of that section, shall be fined under this title or imprisoned not more than 1 year or both.Possible:
18 U.S. Code § 2258.Failure to report child abuse
https://www.law.cornell.edu/uscode/text/18/2258
18 U.S. Code § 242 - Deprivation of rights under color of lawPossible honest services fraud:
https://www.law.cornell.edu/uscode/text/18/242
For the purposes of this chapter, the term “scheme or artifice to defraud” includes a scheme or artifice to deprive another of the intangible right of honest services.State child support, parenting time, and child protection, and elder abuse are all primarily funded under federal law Title IV-D and Title IV-E. Consider filing complaints.
18 U.S. Code § 1346.Definition of “scheme or artifice to defraud”
https://www.law.cornell.edu/uscode/text/18/1346
https://en.wikipedia.org/wiki/Honest_services_fraud
HHS Office of Inspector GeneralFailure of the authorities to protect civil rights of parents may be:
Phone. 1-800-HHS-TIPS (1-800-447-8477)
https://oig.hhs.gov/fraud/report-fraud/contact.asp
HHS Office of Civil Rights
https://www.hhs.gov/civil-rights/filing-a-complaint/index.html
42 U.S. Code § 1983 - Civil action for deprivation of rightsUS courts provide forms:
https://www.law.cornell.edu/uscode/text/42/1983
Complaint for Violation of Civil Rights (Non-Prisoner)Possible basis of a class action lawsuit for similar situated people:
https://www.uscourts.gov/forms/pro-se-forms/complaint-violation-civil-rights-non-prisoner
https://centerjd.org/system/files/CivilRightsClassActionsF.pdfPlease keep us updated.
2024.05.19 19:40 guest271314 [AskJS] How would you create an ext4 inode/directory byte by byte on Linux in the browser?
2024.05.19 19:39 PuttEgg0202 Welcome! Read my journey here:
2024.05.19 19:38 dnelson2408 Summary of this channel, data, and news for the last 3 weeks.
Afternoon all, submitted by dnelson2408 to RILYStock [link] [comments] I thought it might be fun to try and take the last three weeks and have a recap of the data and news surrounding RILY. I just searched this sub and news outlets and such for the last 3 weeks and took notes then fed them into an AI software asking it to summarize everything. In no way is this Financial Advice just a fun task. "The financial landscape for B. Riley Financial, Inc. showcases a dynamic narrative of operational resilience and strategic positioning. The company's recent activities reflect a strategic focus on managing debt obligations effectively while optimizing business segments for sustainable growth. The strategic review process for Great American Group retail liquidation and appraisal businesses is progressing, indicating a commitment to enhancing operational efficiency and value creation. In the earnings summary, a net loss of $51 million was reported, primarily driven by investment-related losses and professional services expenses. Despite these challenges, the company's strategic initiatives and operational performance remain robust, as highlighted in the earnings call. Executives Bryant Riley and Tom Kelleher emphasized the company's operational excellence and strategic direction, underscoring a commitment to shareholder value and sustainable growth. The company's strategic reviews and commitment to shareholder value remain steadfast amidst market volatility caused by short manipulation. Furthermore, the full redemption of $25,000,000 aggregate principal amount of 6.75% Senior Notes due 2024 signifies a proactive approach to managing debt and strengthening the company's financial position. This strategic move aligns with the company's focus on optimizing its capital structure and enhancing financial flexibility. Overall, B. Riley Financial's narrative is one of resilience, strategic foresight, and operational excellence in navigating market dynamics and challenges. The company's commitment to financial prudence, strategic reviews, and operational performance positions it well for sustained growth and value creation in the evolving financial landscape." Below is the data the AI used to create the summary. Just copy and pasted from a very quick and crude gathering of information into a word doc. I also enjoyed the earnings summary the AI did. The last line made me feel happy thoughts. - In summary, B. Riley Financial's first-quarter 2024 results underscore its strong operational foundation and strategic foresight, positioning it well for future growth and shareholder value creation. 1. Cohodes being loud and classless examples https://preview.redd.it/xymj94vp5f1d1.png?width=637&format=png&auto=webp&s=3d9f18f4f877f7fb518039bc78198e77e3fcd190 https://preview.redd.it/bxacg0bp5f1d1.png?width=975&format=png&auto=webp&s=9a4eba6a4a39457cc47661be5836008976b37fc6 https://preview.redd.it/q5kdr5qo5f1d1.png?width=975&format=png&auto=webp&s=14dcb5473ed7dcac4646eaba2b983806f32bd875 https://preview.redd.it/ky1hlc1o5f1d1.png?width=789&format=png&auto=webp&s=4c603719820d06ea91d9181ad3c41734a603b795 https://preview.redd.it/soco7bjn5f1d1.png?width=969&format=png&auto=webp&s=dfbcf20f984e391c51afcc89e46597d1d9dff6ad https://preview.redd.it/pwbnnwwr5f1d1.png?width=975&format=png&auto=webp&s=fe06146b727540c291825eda8db5f33b11e9e992 2. Discussion about FUD and shorts deception I see the shorts (Marc Cohoded and Co.) are still at it, trying to l use a fake psychological twist to cause doubt. Let's stick to the facts and let the price go where it will in the long term. Short thesis was and is there was fraud, both proven wrong by independent investigation and a clean independent audit if the 10-K and now 10-Q. You can slap that one around anyway you want, but both came up clean. First, they have stated their intentions of a sale of a carried undervalued asset (Great American) by a third party for a massive realized gain. Good for the investors and bond holders as they said they would use funds to deleveverage the balance sheet and buy back stock which already has very little float. Second, I have never seen a company that is paying dividends go under whith out, completely eliminating the dividends first (RILY still pays a dividend and baby bonds are all current--none are in any default). Third, business has been good with lots of new hires, new capital makets raises and fees and their business seems to be thriving. Shorts will try to mislead all of us with their lies and deciept but if we hold strong I believe that the stock will go to at least 50 ish in the short term where they did their secondary. I believe at that point, RILY may run into a bit of resistance. However, a squeeze could easily send us through that to new highs. Patience is the key as they have stated all this in their press releases in the recent past. If we al on this sitel just buy 100 to 1000 shares on Monday and hld through the 29th to get the dividends. this will rocket to new heights. This is not a recommendation, simply my thoughts. Do your own due diligence. 3.Stop lending shares=pain for shorts = short squeeze If all longs can stop lending shares at least I believe we can cause shorts to cover. There is no valid short narrative, both longs and shorts know this. Now it’s purely who can hold out longer. Shorts have been very active as of late trying to push share price lower and with many of us loaning shares out we are actually helping the shorts hurt us. I believe if we stopped lending out shares borrow rate skyrockets and that added cost combined with dividend and gradual upward movement will force shorts to cover. Granted news release can help but we don’t need news we just need to stop lending and wait and see. 4. Link to short sale volume post https://www.reddit.com/RILYStock/comments/1ctwe9q/smoking_gun_thursday_dropped_because_shorts/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button https://preview.redd.it/hopdxkbt5f1d1.png?width=975&format=png&auto=webp&s=3945adf69a00addb0c2da4ea0c26b2a4de2749b3 5. Article showing RILY coming back https://www.investmentnews.com/broker-dealers/news/b-riley-bouncing-back-after-tough-winter-253448 6. Rily - Day 3 of short attacks - There's a positive Our favorite shorts cohodes&co is on overdrive releasing as much fake accusations as possible, they now have been adding a lot to their position at a higher price point with shares in the 30s, now the shorts cost basis has gotten worse for them. With more shares at a worst cost with dividends coming due as well as borrow fees , shorts have less wiggle room especially if stock goes to 40 again. Now at 40 I believe they will be losing money. With insiders hopefully buying soon and the company continuing their share buy back program , that can lead to upward movement in share price leading to the “squeeze “. 7. $RILY Earnings Summary Not financial advice. It was an interesting investor call, an almost boring call which was refreshing. The company had a net loss of $51m driven by non-cash items including $29m unrealized loss on investments and a $30m fair value adjustment on their loans. Cash flows were pretty good, with operating cash flows of $135m and adjusted operating EBITDA of $66m. Targus and American Freight contributed nothing this quarter, both companies are historically strong businesses but have been working through a business cycle post-COVID after many Americans bought the things they needed. Those companies should improve in the next year. The company previously announced a potential sale of Great American Group. Q-1 earnings for that segment increased to $35m of EBITDA, so at 10-12x a potential sale is looking like $350-$420m. On the call they said that is expected by early Q3. They also mentioned possibly looking at a sale in their Brands division later this year with the goal of retiring their discounted debt, citing it as an opportunity. The short thesis crumbled last month with a clean 10-K and two internal investigations which added an additional $7m in expense but presumably were quite thorough and completely debunked claims by bears. There are no shares available to borrow per Fintel: https://preview.redd.it/ukhk0tou5f1d1.png?width=975&format=png&auto=webp&s=0622973216e0293d7f2699c1b6eee3216824305e And short interest remains at approximately 65% with 9 million shares short, though the retail float is thought to be much smaller, maybe 2m shares. The company has $34m available at quarter end for buybacks from a previously approved program. I see value here, and I liked what I heard on the call. 8. Misconceptions - Rily Share Structure [THIS POST IS FOR EDUCATIONAL PURPOSES ONLY] mumen_rida There seems to be a lot of confusion about the company’s share structure and I would like to use this post to help not only my own understanding but also help others. It’s a bit confusing but let’s tackle it together. I got this information from marketwatch: Total Float = 30 million shares Public float = 16 million shares Shares sold short = 9 million shares % of public float sold short = 56.38% According to fintel: Institutional ownership = 14.18 million shares So let me get this straight, there is 16 million shares in the public float and institutions own 89% of that (14.18 million shares). So that would mean retail investors collectively only have about 1.82 million shares to trade around amongst ourselves. Let’s call that retail float. So, retail float = 1.82 million shares. Let’s wrap up all the most important information (imo) regarding the current share structure and please correct me if any of the information I presented here today is false: Total float = 30m Public float = 16m Shares short = 9m Retail float = 1.82m Where I think it gets the most interesting is when you divide shares short by retail float. 9/1.82= 4.95 or 495% of retail float. Hope this helps clear up any confusion regarding the share structure. REPSONSE TO THIS BELOW EnvironmentalBreak48 •3d ago THIS RESPONSE IS FOR EDUCATIONAL PURPOSES ONLY. NFA. Do your own DD, make your own decisions. Based on OP calculation. 1. Total Float: About 30 million shares. 2. Public Float: 16 million shares. 3. Shares Sold Short: 9 million shares. 4. % of Public Float Sold Short: 56.38%. 5. Institutional Ownership: 14.18 million shares. 6. Retail Float: 1.82 million shares (calculated as Public Float - Institutional Ownership). Given this information: Understanding Short Interest· Shares Sold Short: About 9 million shares.· Retail Float: 1.82 million shares. · Short Interest as a Percentage of Retail Float: 9 million shares/1.82 million shares≈495% This high percentage indicates that the short interest is nearly five times the available retail float, which could lead to a short squeeze if investors hold onto their shares and/or demand increases. Days to Cover (Short Interest Ratio)The Days to Cover metric gives an estimate of how many days it would take for short sellers to cover their positions based on the average daily trading volume. Here’s how to calculate it:1. Determine the average daily trading volume (ADTV): This information is usually available on financial websites like MarketWatch or Yahoo Finance. Let’s assume the ADTV is 1,000,000 shares (this is an example, you should use the actual ADTV for a more precise calculation). 2. Days to Cover: Shares Sold Short/ADTV Using our example ADTV: Days to Cover=9,000,000 (short shares)/1,000,000(Avg. Daily Volume)=9 days Days to Cover Potential Implications· High Short Interest Ratio: A high Days to Cover ratio suggests it would take a significant amount of time for shorts to cover their positions, which can lead to increased volatility.· Potential for a Short Squeeze: With a high percentage of the retail float sold short, if retail investors decided to hold their shares and the stock price rises, short sellers may be forced to buy back shares at higher prices, leading to a potential short squeeze. · Limited Retail Float: With only 1.82 million shares available for retail trading, any significant buying pressure from institutional investors and/or retail investors it could quickly drive up the stock price. 9. Why Even the Joker Thinks You’d Be a _____ For Not Taking A Look at RILY Stock Batman here. You might know me as the Dark Knight, the Caped Crusader, or the guy who really, really, really wants to own a spaceship. Today, straight from the Batcave, lets talk about something as exciting as racing the Batmobile or the return of Roaring Kitty—RILY stock. First off, let’s talk numbers, because even a superhero knows the importance of a strong financial foundation. RILY has been buying back shares like Alfred buys Bat-gadgets—strategically and frequently. This move isn’t just a nifty trick; IMO it’s a signal that RILY is confident in its value. When a company buys back its own shares, it’s like Batman investing in more Batarangs—it’s a smart play that shows belief in future performance. But that’s not all, folks. The recent buzz around RILY isn’t just cat signals in the sky—it’s grounded in solid developments. RILY had to work hard to file their 10K after all the mudslinging from the shorts, but got it done. The first big catalyst domino to fall. Now, let’s get to the juicy part—earnings and dividends. RILY’s about to drop their Q1 earnings tomorrow, and you know what that means? Dividends! That’s right, folks. RILY is likely to declare a dividend, that our short friends will be paying. Dividends are like the Batmobile’s turbo boost—an extra kick that gets you excited and propels you forward. Plus, once they file their Q, a few days later insiders should be able to start buying again. Form 4s anyone? Here’s where it gets really interesting: meme stocks are back with a vengeance, wow talk about a left jab, and shorts are on their heels. The RILY squeeze might start very soon or it might not, but with shorts potentially facing margin calls due to price movements in various holdings, and especially if they’ve been shorting RILY all the way down it has not been a good week for the shorts so far. Just look how RILY stock popped this morning on about 200k in volume. To add insult to injury, to date, NONE of the short thesis has come to fruition or has been confirmed by independent information. They’re in quicksand, and it’s time to gas up the rocket. There are still several catalysts that may come into play here: Q1 Earnings Release: Scheduled to be filed tomorrow, providing insights into the company's recent performance. The deal flow on their website was up YoY. Dividend Announcements: Anticipated dividends right around the corner. Insider Buying: Once the Q1 earnings are filed, insiders should be able to buy stock again, expect to see some Form 4s in very short order. Sale of Great America Division: If RILY sales Great American, they have said the proceeds from this sale are expected to be used to reduce debt and fund further stock buybacks, potentially enhancing shareholder value. Low Float: With a limited number of shares available for trading, increased demand can lead to significant price movements. Buybacks: Ongoing buybacks can continue to support the stock price. Meme Stock Momentum: With meme stocks making a comeback, there's increased interest and activity in stocks that are short and that could drive up RILY’s stock price. Short Squeeze Potential: Low public float, company buybacks, insider buying…mix that up and you have the recipe for a potential squeeze. Roaring Kitty's Return: The return of Roaring Kitty, a key figure in the meme stock movement, brings renewed attention and excitement to the stock market in general. And, guess who just chimed in on RILY earlier today? That's right—JeffAmazon from the GameStop meme trade and Netflix documentary! He made a little tweet tweet on $RILY Additional Catalysts: What do you all think….. Stay vigilant, stay smart, and just my thoughts—do your own due diligence and make your own decisions. NFA. 10. FAKE ARTICLE BULLSHIT FUD………… Well, IMO even Stevie Wonder can see that the latest article on FRG is just another hatchet job. IMO the problem with creating a narrative is that the facts can’t keep up, and boy, did they fall behind here. RILY conducted not one, but two independent investigations and found zilch issues with its FRG investment or loans made to Kahn. And guess what? No connection with Prophecy either. FRG did their own investigation and also found no connection with Prophecy. So, to call the relationship between RILY and FRG controversial is like calling a puppy dangerous—laughable. In RILY's 10k, they marked up their FRG investment FMV $281 million to $286 million… FRG's FY23 financials are public, and the attached table shows the maturities of their debt. In 2024, about $10.5 million in debt is maturing. Big deal. Looming debt? Hardly. The real kicker is in 2026 when about $1.5 billion of debt matures—not this year, not next. LOL. The FRG financials clearly state they were in full compliance with their debt covenants in FY23 and fully expect to be in compliance in FY24. Yet, "the people" say FRG is down double digits in Q1. Funny timing with RILY's Q1 financials coming out on Wednesday, huh? And by the way, FRG's adjusted EBITDA for Q1 FY23 was $66 million, not the $62 million the article claims. Why not use the actual FRG public company number? Maybe because when you're rushing to write a hit piece, you just pick random numbers. https://www.globenewswire.com/en/news-release/2023/05/10/2665414/0/en/Franchise-Group-Inc-Announces-First-Quarter-Fiscal-Year-2023-Financial-Results.html So, according to the article, FRG is down 63% in revenue ($66 million vs. the alleged $25 million). Sure, FRG sold Badcock and Sylvan Learning, so they might be down YoY, but down 63%? FRG sold in FY24 Q1 Sylvan for $185 Million cash….and they’re worried about paying $10.5 million in long term debt due this year. Got it. https://www.franchisetimes.com/franchise_mergers_and_acquisitions/unleashed-brands-buys-sylvan-learning/article_a568813e-d4c7-11ee-bb32-1f85230cfdda.html https://preview.redd.it/lry689p16f1d1.png?width=975&format=png&auto=webp&s=0714b3b378abb528f0abb470ade0deb3d34c2d39 11. Post talking about NT-10Q• https://www.reddit.com/RILYStock/comments/1crb1gp/new_filings_nt10q_13fh?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button 12. Friendly PSA: Manage your emotions Great Post Below talking about managing emotions during this trade. https://www.reddit.com/RILYStock/comments/1cqzskg/friendly_psa_manage_your_emotions/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button 13. RILY RS Article 76 to 83 https://www.investors.com/ibd-data-stories/b-riley-financial-shows-rising-price-performance-with-jump-to-83-rs-rating/ B. Riley Financial (RILY) saw a welcome improvement to its Relative Strength (RS) Rating on Thursday, with an increase from 76 to 83. IBD's proprietary rating tracks share price performance with a 1 (worst) to 99 (best) score. The score shows how a stock's price performance over the trailing 52 weeks stacks up against all the other stocks in our database. Over 100 years of market history reveals that the stocks that go on to make the biggest gains typically have an 80 or higher RS Rating as they begin their biggest climbs. Now is not an ideal time to jump in since it isn't near a proper buy zone, but see if the stock manages to form a base and break out. The company showed 0% EPS growth last quarter. Revenue rose -9%. The company is expected to report its latest earnings and sales numbers on or around May 15. The company earns the No. 24 rank among its peers in the Finance-Investment Banking/Brokers industry group. Interactive Brokers (IBKR), Piper Sandler (PIPR) and Ameriprise Financial (AMP) are among the top 5 highly rated stocks within the group. 14. Announcement of 2024 Annual Meeting June 21st https://www.sec.gov/ix?doc=/Archives/edgadata/0001464790/000121390024041725/ea0205510-01.htm 15. Repost: $RILY DD: The real price potential...when the stock is a solid/growing company (not just a squeeze). https://www.reddit.com/RILYStock/comments/1cnzff7/repost_rily_dd_the_real_price_potentialwhen_the/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button 16. $RILY- “They can win by doing nothing 12 days ago Outrageous_Appeal_89 “ Whitebrook capital assessment addressing cohodes&co BS at the peak of their false accusations and in a polite way stating short funds were making things up (misinformation & manipulation ). It seems $RILY is executing on some of the recommendations Whitebrook capital had - share buy back and bond buy back has been executed and continues to be executed on. Whether you invest in $RILY for the long term prospects or the short squeeze that can be triggered any day as lie after lie is exposed. Bottom line is the fair value of $RILY is a lot higher then where it currently trades. We will get a better idea whether share prices deserves to be in the 50s or 60s as we get an update on GAG valuation. Seems many here forget that $RILY creates value by turning companies around and then monetize, this process takes time , they have been able to do this successfully, repeatedly over the years. https://preview.redd.it/uiisruq36f1d1.png?width=792&format=png&auto=webp&s=e6c32c04877ae21b51cb8a99cee0aef17cdb32c4 17. 3 Videos from Value Don’t Lie on Youtube talking about Financials of RILY and overall company valuation https://www.youtube.com/watch?v=kRenvff8duE&t=1s https://www.youtube.com/watch?v=EoaCZw7AmpA&t https://www.youtube.com/watch?v=7_Ayoox3fvM 18. Getting around the NBBO and Longing the Box So let this sink in… the market opens and in 5 minutes we rally to $34.42, then over the next 15 minutes we drop to $28.80 at which point SSR was triggered and sell volume slows WAY the hell down. That drop was ALL short sellers and NO longs selling shares (otherwise the sell-off wouldnt have stopped literally minutes after SSR triggered). NOW, what the scumbag shorts are doing is going Long Against The Box. 19. Steve Cohen and Point 72 buy 24,917 shares long on May 15th https://preview.redd.it/fhdhyco46f1d1.png?width=975&format=png&auto=webp&s=6600f6a9a3f0bc5bc8823cddb5f52defdf282063 20. Summarize this earnings call and keep pertinent quotes and data in the summary. https://filecache.investorroom.com/mr5ir_briley2/925/RILY_1Q24_Earnings_Release_vFINAL.pdf Chat GPT Summary of the full report below B. Riley Financial, Inc. (NASDAQ: RILY) reported its first-quarter 2024 financial results, showcasing resilience and operational strength despite facing challenging market conditions and unique internal events. Here's a summary with a positive outlook: First Quarter2024 Highlights:1. Quarterly Dividend Declaration:
Leadership Insights:
Looking Ahead:B. Riley's strategic initiatives, such as debt reduction and selective investments, position the company for continued success. The ongoing strategic review of its Great American Group retail liquidation and appraisal businesses indicates a proactive approach to optimizing its portfolio. The firm remains committed to delivering value to its shareholders through dividends and operational excellence.In summary, B. Riley Financial's first-quarter 2024 results underscore its strong operational foundation and strategic foresight, positioning it well for future growth and shareholder value creation. 20. State of the Stock 15 days ago UF_Secret_Account Not financial advice, do your own research. Don't take advice from the internet, consult a professional financial advisor. On April 19th, the stock closed at $19.99. Today, it is over 50% higher after a positive 10-K clearing the company of fraud allegations. The stock touched $40 on April 26 and 29, a 100% gain from a week prior. The short interest has remained relatively consistent during the move, with 10-11 million shares still short. However, given the time lapsed, I think it's safe to assume that most of those shares were covered and re-shorted in the last two weeks. For future research, we should assume they have an average $35 entry on their short positions. 1st quarter earnings are coming soon. Like many of you, I am a little curious that it hasn't been announced yet, but I have no concerns with everything the company has on its plate. 10-Q's are unaudited and it's very unlikely there is anything to be concerned about, in my opinion. The company could be coming to the end of their strategic review for GAG. That will eventually result in some additional financial statement adjustments for presentation. I would expect 1st quarter earnings to be good based on their deal flow and reported transactions. In November 2023, the board approved $50m for stock buybacks. The company repurchased 728,330 shares at an average price of $21.85, but mainly bought shares in November. That's $16 million spent, and means the company had $34 million approved to buy back stock at year end. The program continues through October 2024. At our current price, that would be 1.1 million shares (3.3% of the outstanding stock). That is significant for a stock with this many outstanding shares, but more significant for the number of freely traded shares which is far less. How many times have we seen huge price moves on small blocks of shares? If the company adds $10-15 million to that program, that's another 300,000-500,000 shares. Again, it doesn't sound like a huge number but it would add pressure to what will become a dire situation for the shorts. The shorts may decide not to cover, or to continue the strategy of taking their losses and re-shorting, but their ability to influence the stock back to a level where they truly profit is nonexistent in my opinion, particularly when volume dies between market-moving events. I am eyeing the $50-$55 range as my price target in the next move up. 21. NOTE on FRG Independent Auditor’s Report One of the positive things I see IMO was for the billion dollar loan that matures in 2026. “On July 2, 2021, the Company repaid $182.1 million of principal of the First Lien Term Loan using cash proceeds from the sale of the Liberty Tax business. The prepayment also satisfied the requirements for the quarterly principal payments so no additional principal payments with respect to the First Lien Term Loans (excluding the Incremental First Lien Term Loan) are due until the First Lien Term Loan maturity date.” To me this gives them some flexibility for their cash as there isn’t much long term debt due in 2024 or 2025. https://preview.redd.it/ib92t7e66f1d1.png?width=975&format=png&auto=webp&s=df286021b0653db92122e33df0ed37f1068a0c6c 22. on May 3rd Cohodes or someone else got media to report 4th quarter from last year as q1 earnings this year. Which was a lie and FUD https://preview.redd.it/nlau48276f1d1.png?width=623&format=png&auto=webp&s=832695b6c331c3df6dbcb861dc90551ee42a036a 23. B. Riley Financial Announces Full Redemption of 6.75% SR Notes Due 2024 17 days ago Wolfiger LOS ANGELES, May 1, 2024 /PRNewswire/ -- B. Riley Financial, Inc. (NASDAQ: RILY) ("B. Riley" or the "Company") today announced that it has called for the full redemption equal to $25,000,000 aggregate principal amount of its 6.75% Senior Notes due 2024 (the "Notes") on May 31, 2024 (the "Redemption Date"). The redemption price is equal to 100% of the aggregate principal amount, plus any accrued and unpaid interest up to, but excluding, the Redemption Date, as set forth in each notice of redemption delivered to noteholders on May 1, 2024. https://ir.brileyfin.com/2024-05-01-B-Riley-Financial-Announces-Full-Redemption-of-6-75-Senior-Notes-due-2024 24. 8k filed May 1st for Nasdaq Compliance 25. Found management bonus if above 136 by October. Did anybody else know that a part of managements comp was in the form of Performance-based Restricted Stocks Units with a vesting date of 10/27/24 AND A HURDLE PRICE OF $135?!? https://preview.redd.it/wo2uh54k5f1d1.png?width=547&format=png&auto=webp&s=8b6dedf28ec845b2170647674f5b39b6eaac96a1 |
2024.05.19 19:10 juan186 When to use vanilla js or framework?
2024.05.19 18:51 ringgobbler Payseur Family
2024.05.19 18:28 Vegetable-Pack9292 QGIS in VSCode: Unable to find the qgis module. Missing from site packages
Hello Everyone, submitted by Vegetable-Pack9292 to gis [link] [comments] I am an intermediate self-taught GIS programmer that usually works with arcpy to write scripts for work. I am wanting to start doing more projects on my spare time outside of work and I want to learn QGIS to kind of get me more familiar with different GIS softwares (I have the Pro $100 subscription as well). I am wanting to run QGIS scripts in VS Code and have gone through a tutorial that basically gets me set up (no real need to watch the video. Just FYI. QGIS VSCode Link Here is my problem: The problem is when I run the python environment associated with QGIS, it says: from qgis.core import QgsApplication # Supply path to qgis install location default path = QgsApplication.setPrefixPath("C:\\Program Files\\QGIS 3.28.3\\apps\\Python39", True) # second argument to False disables the GUI. qgs = QgsApplication([], False) # Load providers qgs.initQgis() # Write your code here to load some layers, use processing # algorithms, etc. # Finally, exitQgis() is called to remove the # provider and layer registries from memory qgs.exitQgis()PS C:\Users\me\PythonProjects\KAT> & "C:/Program Files/QGIS 3.28.3/apps/Python39/python3.exe" c:/Users/me/PythonProjects/KAT/mapper.py Traceback (most recent call last): File "c:\Users\me\PythonProjects\KAT\mapper.py", line 1, in from qgis import QgsApplication ModuleNotFoundError: No module named 'qgis' I look in the site packages for the qgis module, and I see that it is missing (photo below) Missing Module I am not understanding why the qgis module is missing. Is there another folder it is located in? Do I need to install it? I am figuring this is why I cannot find the module since it is looking in this folder and cannot find it. Here are the docs. It LOOKS like it should come with QGIS upon download. The location of my env is at C:\\Program Files\\QGIS 3.28.3\\apps\\Python39PyQGIS Developer Cookbook — QGIS Documentation documentation EDIT: Worse case scenario is I redownload and see if it is in the folder. Not optimal but might be my only option Thanks in advance! |
2024.05.19 17:39 CrofterNo2 Almasty is not the plural of almas
During the North Caucasus expeditions of Marie-Jeanne Koffmann (1970s) the teams gathered a lot of eyewitness reports about what was called the "almasty" or "almasti"; so local people in that region called the Russian snowman by that name ("almastys," or "almastis" in plural form) [...] Some American authors and media people use the term "alma." I would like to caution everyone not to use this term. In Russian there is no such name! The term was coined by American media people who mistakenly mixed the North-Caucasian name of "almasty" (or "almasti") with the Mongolian term "almas" and decided that "almas" is the plural of "alma."Australian cryptozoologist Malcolm Smith, who has translated a large amount of foreign-language hominological literature, makes a similar complaint on his blog.
The Caucasus is a refuge, not only for wildlife from many different zones, but also of ethnic groups and languages, and each language has a different word for the animals. Koffmann settled on the Kabardian term, almasty. This is perhaps unfortunate, since it invites confusion with the almas of Mongolia – which may well be a similar animal, but it is certainly a completely unrelated word. (Note that, in Mongolian, almas is singular; it is not the plural of alma.)In the link above, Smith translate's one of Kauffmann's full reports detailing the almasty, in which she uses the plural almasties.
2024.05.19 17:17 LegalBeagleEsquire Harry's in-law and felon King Oba Abdulrasheed Adewale Akanbi who crowned Meghan accused of rape.
https://preview.redd.it/i4u7uhj4ee1d1.jpg?width=1200&format=pjpg&auto=webp&s=d961bfbd571a34d7ccfea7bd9f9cefb49aa73ba4 submitted by LegalBeagleEsquire to SaintMeghanMarkle [link] [comments] Oluwo of Iwo, Oba Abdulrasheed Akanbi Multiple felon banned from the United States accused of rape, violent abuse, coercive control, and being a deadbeat dad by ex-wife. He always carries a tape recorder. The Daily Markle barely mentions the rape accusation. https://archive.md/2024.05.19-011930/https://www.dailymail.co.uk/news/article-13433635/Nigerian-king-Harry-hailed-one-new-laws-conman-twice-deported-America-criminal-record-murky-past.html#selection-1381.39-1381.71 Video Of Crowning A 5 minute google search of his ex-wife's name brings up some wild interviews. https://archive.ph/KNjlN https://archive.ph/PYQWa Just a few of the tidbits: "She added that after talking to Oluwo at the party held in Ikeja, she retired early to her room because she had too much to drink. But she woke up at 3 am to find the Oluwo on top of her in her room, with her clothes discarded.She said she told him “no no no. Get off me.”According to her, Oluwo told her that he is a King and that once he “extends his leg” to her, she can’t refuse him, adding that Oluwo decided to compensate her with marriage after raping her.“Tell the people that you raped me the first night you met me." "I was actually begging and prostrating (myself), telling him not to destroy our family. While I was begging, he had a small tape recorder he always carried in his agbada (flowing gown). He always used it to record things. He recorded me apologising to him." "He has six personalities. When you wake up in the morning, you don’t know the kind of personality that will greet you. And I have names for them. The one that is violent, I call it Dexter. The one that is nice, I call Paul. The one that is sensationalist, I call it Jerry. " "He just woke up, saw the message on my phone and shouted that I had a boyfriend and I should leave. The policemen were standing over me while I packed four years of my life. I had one hour to pack four years of my life. The policemen were standing there to ensure that I did not pack any of my clothes or wigs or my child’s toys. He said when an Olori leaves, he leaves everything for the incoming Olori and that it is the culture." "We did not even have a generator. It was a senator that donated a Mikano generator to us. What we had before was a small generator that we could only switch on at 6pm and the only things it could power were the televisions, bulbs and the fan. You could not turn on the fridge or freezer or air conditioner. This was what I went through whereas he was busy ‘forming’ (pretending to be living) a life of luxury." "I believe there are six of us and I am the fourth wife. When we met, I asked him to tell me the number of children he had, but he didn’t (tell) me the truth. He did not say 10 or even five. Our relationship was built on the foundation of lies. It was not until my son was six months old that I saw a blog post from one of his past wives, showing the names of all his children, wives and the ages of the children." "She then narrated how she was taken to Iwo the day after the alleged rape and her shock when she arrived.She said: “The next day, he said to me, ‘we’re going to the palace, we’re going to Iwo and I’ll make you queen.’ So I went with him.“The very next day, when we got to Iwo, there was no palace. The palace didn’t even have a roof. " "From the day we left the palace, he has not given one naira to my son. He does not know how my son eats or where he sleeps at night. He does not care because my son is number 10. My son is three years old and has never been to school. He went to the primary school at Bowen University, Iwo for only two days. That was in May 2019. He withdrew him from the school and said he was popular and famous, and that they would kidnap him. He said, ‘You don’t know Africa, kidnapping is a big business. Do you have N20m to pay as ransom? I will tell them I don’t know you!’ " Oluwo of Iwo, Oba Abdulrasheed Akanbi (far right) |
2024.05.19 17:02 BoloBun_ NUS Architecture AMA 2024
2024.05.19 16:34 Sangenkai Ryoichi Sasakawa and Yoshio Kodama, the "Lords of War"
2024.05.19 16:22 arcanepsyche Winlock Lands $23 Million State Broadband Grant
Lewis County and local internet provider ToledoTel formed a public-private partnership that made them eligible to receive a $23.5 million grant from the Washington State Broadband Office. ToledoTel will engineer and design the project, and provide an additional $2.35 million in matching funds.
2024.05.19 14:29 ThusWhatnot Advice for my freelance endeavour!
2024.05.19 12:50 ItzAlphaWolf [Discussion] Furry Worries - Week 366
2024.05.19 12:21 LastWeekInCollapse Last Week in Collapse: May 12-18, 2024
“Last year, economic losses from natural catastrophes reached USD 280 billion, meaning that 62% of the global losses were uninsured….the insured losses surpassed USD 100 billion for the fourth consecutive year….annual insured losses will grow by 5–7% over the long term…today’s insured losses could double in 10 years….There were 142 insured-loss inducing catastrophes in 2023, a new record. Most were of medium severity, which we define as events resulting in losses of USD 1–5 billion….Over the last 30 years, we estimate that natural catastrophe insured losses have grown by 3 percentage points more annually than the global economy (in inflation adjusted terms)...”Flooding and heat waves are impacting Brazil’s oranges, responsible for about 70% of the world’s supply. One food analysts declared that the “era of cheap food is over”—in the UK, at least. That may be one reason why UK residents took record food bank packages last year. Madagascar is struggling to adapt to a future with far less rainfall.
“Europe has seen devastating floods following record rainfall, droughts of magnitudes not experienced in hundreds of years, continuing sea level rise, and increasing lake and sea temperatures….permanent water stress already affects 30% of people in southern Europe….since 2018, more than half of Europe has been impacted by extreme drought conditions….Climate change is expected to increase mercury bioaccumulation in the marine food chain due to rising ocean temperatures, ocean acidification and permafrost thawing….Depression, anxiety and PTSD may persist for years after a flooding event….Under the changing climate, northern Europe is becoming wetter in general, but drier in summer. Southern Europe is becoming drier, especially in winter. For central-eastern and western Europe, the trend is less clear…” -selections from the reportMilan suffered flooding last week, the worst May flooding in 170 years. Early spring in the UK has disrupted migratory bird species and their usual patterns.
“The last two years saw major migration and displacement events that have caused great hardship and trauma, as well as loss of life….There have also been large-scale displacements triggered by climate- and weather-related disasters in many parts of the world in 2022 and 2023, including in Pakistan, the Philippines, China, India, Bangladesh, Brazil and Colombia….disinformation tactics are increasingly being used by nefarious actors with negative impacts on public, political and social media discourse on migration….Forced displacement is the highest on record in the modern era…overconsumption and overproduction linked to unsustainable economic growth, resource depletion and biodiversity collapse, as well as ongoing climate change (including global heating) are continuing to grip the world….the risk of further conflict has not been higher in decades, as military spending reached a new record high of USD 2,240 billion in 2022…” -excerpts from the introductionAnother report, focusing on internal displacement, came out last week; its 69 pages show a cross-section of about 47M people displaced by natural disasters (56%) or armed conflict (44%). Most of the disasters were storms & flooding, and most of the conflicts were civil wars of some form. This report also provides detailed region-by-region analyses—with sub-Saharan Africa accounting for 46% of global IDPs.
“Conflict and violence triggered 13.5 million movements, the highest figure for the past 15 years….Disasters and conflict are presented as different triggers, but their impacts can overlap, often leading to repeated and/ or protracted displacement….Drought triggered 331,000 displacements in Somalia….Floods triggered 550,000 displacements in Ethiopia….Conflict and violence triggered 3.8 million displacements in DRC in 2023, a slight fall from the record four million in 2022, but still the second-highest figure globally after Sudan….nearly two-thirds of the internal displacements recorded in 2023 originated from Khartoum state. More than 39 per cent of the state's inhabitants were forced to flee, leaving entire neighbourhoods empty….Criminal and communal violence triggered nearly three-quarters of Nigeria's 291,000 conflict displacements….” -selections from the spotlight on sub-Saharan AfricaExperts are concerned about the mental health impacts that climate change has on our minds. Hotter temperatures reportedly increase depression & aggression. Wildfires and storms can cause PTSD. Workers feel stress and desperation as their usual industries are impacted. And air pollution influences ordinary brain processes in many ways.
“If governments are continually unable to solve regional issues, the people will be at the whim of any terror group that has a basic organization. It serves these groups’ interests to promote insecurity where they can and create security where they want. A “hearts and minds” campaign in the Sahel could lead to long-term and locally supported insurgencies in a land that is currently rife with civil strife.” -from the articleSome wargamers concluded that a Trump victory in 2020 would spell the end of NATO, or at least the end of its utility. Vladimir Putin replaced his minister of defense with a top economic advisor, just before going to Beijing to reaffirm their friendship with “no limits.” Some say Putin is planning on a forever war. Some say NATO is gearing up for one, too.
2024.05.19 11:23 Accurate-Screen8774 A Decentralized Microfrontend Architecture
Disclaimer: the following is a recent medium article. it is being posted in full on Reddit to compare feedback and engagement of Reddit users with long-form articles.Decentralization can mean a lot of things because it can be open to interpretation. In this article, we would like to talk about what decentralization means to us and how we are approaching our definition of decentralized. We are working on a typical chat app, but our approach is unique and may push the boundaries of what it means for something to be self-hosted. Our decentralized chat application is built as a Progressive Web Apps (PWA) and leverages modern web technologies to deliver a user experience comparable to native apps. Unlike traditional centralized chat apps, our chat app is designed to operate independently of central servers, ensuring that user data remains private and secure. This article will delve into the various components and architectural decisions that make our app truly decentralized. The Decentralized Chat AppAn overview of how our chat application leverages Progressive Web App (PWA) technology to provide a seamless user experience across different devices and platforms.https://preview.redd.it/ntyghqt5oc1d1.png?width=1100&format=png&auto=webp&s=f273717c0c26ef5befcd303fc45de104af63f8d0 Data Storage and NetworkingA typical app relies heavily on data storage and networking capabilities. In our decentralized chat application, we’ve implemented advanced solutions to handle these aspects efficiently and securely.Data StorageIn our app, we use IndexedDB to store data directly in the browser’s storage. While browsers provide multiple options for storing information, ranging from cookies to local storage, IndexedDB offers a more advanced and robust solution.Capacity: IndexedDB can store significantly larger amounts of data compared to cookies or local storage. Structure: It allows for complex data structures, including collections of files and blobs. Performance: IndexedDB operates asynchronously, meaning it won’t block the main thread of your application, leading to better performance for data-heavy applications. Using IndexedDB, we ensure that user data is stored locally on their devices, providing both privacy and independence from central servers. NetworkingFor networking, our app uses PeerJS-server as a connection broker to establish WebRTC connections between peers.Direct Peer-to-Peer: WebRTC, provided by the browser, enables real-time communication between peers. This allows two users to connect directly and exchange data with minimal latency. Efficient Routing: Once a connection is established, data is sent via the shortest possible network route, enhancing speed and efficiency. Multiple Connections: Browsers can handle multiple WebRTC connections simultaneously, though the number of connections can vary depending on the device and network capabilities. PeerJS-server helps in the initial connection setup by acting as a signaling server. It facilitates the exchange of connection information between peers, enabling them to establish a direct WebRTC connection. By leveraging IndexedDB for data storage and WebRTC with PeerJS-server for networking, our chat application achieves a high level of decentralization, ensuring user data remains private and connections are efficient and reliable. These components form the backbone of our approach, pushing the boundaries of what it means for an app to be truly self-hosted and decentralized https://preview.redd.it/ww704u7foc1d1.png?width=1100&format=png&auto=webp&s=0c4d4958a38747a4b0410c4c8526e0fd941fac35 Static Distribution and DeploymentOur app is essentially a bundle of static files, which makes it highly portable and easy to distribute. We leverage AWS services such as S3 and CloudFormation to deploy our app, ensuring it is distributed efficiently over a Content Delivery Network (CDN) across AWS servers.AWS S3 and CloudFormationAWS S3: We host our app on AWS S3, a scalable storage service that allows us to serve static files reliably. S3 ensures that our app is always available and can handle large numbers of requests without performance degradation. CloudFormation: By using AWS CloudFormation, we automate the deployment process, managing our infrastructure as code. This makes it easy to replicate and manage our app’s deployment environment.Hosting on S3 and using CloudFormation means our app benefits from AWS’s global CDN. This ensures that our static files are cached and served from servers closest to our users, reducing latency and improving load times. Offline Availability and Self-HostingWe go a step further by providing users with the option to download a zip file of the app directly from within the app. This ensures that users can run the app locally without relying on our servers.Direct from Index.html: Unlike some other apps, our app is a pure JavaScript implementation, designed to run directly from the index.html file. Users can simply open this file in their browser and start using the app without needing a server. Docker Option: For users who prefer or require a server setup, we offer a Docker configuration. This allows the app to be run in a containerized environment, providing flexibility and ease of deployment for different use cases. Unminified Code for TransparencyWe believe in transparency and accessibility. Therefore, we run the app as unminified code. This has several advantages:Ease of Download: Users can download the entire app using simple browser commands like Ctrl/Cmd+S. Transparency: By providing unminified code, we ensure that users can inspect and understand the code they are running. This fosters trust and allows for easier customization and debugging. By distributing our app as static files and offering multiple ways to run it, we ensure that users have maximum flexibility and control. Whether using AWS’s robust infrastructure or running the app locally, our approach embodies the principles of decentralization and user empowerment. Webpack 5 Module FederationOur app leverages Webpack 5’s Module Federation feature to implement a microfrontend architecture. This approach allows us to modularize our application, making it easier to maintain, develop, and scale. You can explore our open-source implementation here: https://github.com/positive-intentions/frontend-base.Current ImplementationWe have used Webpack 5 Module Federation to build the chat application, which you can find here: https://github.com/positive-intentions/chat. Additionally, we have created a federated module for cryptography that can be imported at runtime, available here: https://github.com/positive-intentions/cryptography. Our current setup is straightforward, allowing us to dynamically load different parts of the application as needed. This modular approach provides flexibility and efficiency in how we develop and deploy our app.Future EnhancementsWe plan to further decompose the application into separate microfrontends, each responsible for a specific aspect of the app. This will not only simplify maintenance but also enhance documentation and development processes for individual components.Planned Modules: 1. UI Components: A collection of reusable UI components that can be shared across different parts of the application, promoting consistency and reducing duplication. 2. P2P Framework: The core framework for peer-to-peer networking, facilitating real-time communication between users. 3. State Management: This module will manage the application’s state, ensuring efficient data handling and synchronization across different components and peers. 4. Permission Manager: A dedicated module for managing user permissions and access control, enhancing security and user management. https://preview.redd.it/w16teobjoc1d1.png?width=1100&format=png&auto=webp&s=9305db7dc16981aaf8499bfa2a7aade3c44a06d2 Individual Storybooks and Module ExportsEach module will have its own Storybook and module export, providing a dedicated space for documentation, testing, and showcasing individual components. This approach will:Enhance Documentation: Each module will be well-documented, making it easier for developers to understand and use them. Simplify Maintenance: By isolating modules, we can update and maintain them independently, reducing the risk of breaking changes affecting the entire app. Promote Reusability: Well-defined modules can be reused across different projects, promoting a modular and efficient development approach. By embracing Webpack 5 Module Federation and breaking down our app into distinct microfrontends, we aim to create a more robust, scalable, and maintainable architecture. This approach not only benefits our development process but also enhances the overall user experience by ensuring that each component is well-crafted and easily accessible. Redundancy and ReliabilityIn the past, we have encountered difficulties when deploying our app to AWS due to various technical issues. Given that our app functions as a self-hosted static application, we have started exploring alternative hosting options, such as GitHub Pages. You can view our deployment on GitHub Pages here: https://positive-intentions.github.io/chat.GitHub Pages DeploymentOur microfrontend architecture allows us to deploy each module independently. This capability has enabled us to host copies of the app on GitHub Pages for each repository. While this approach is unconventional and can lead to redundant copies of the app, we believe it is a valuable exercise in exploring module federation redundancy.Accessibility: Hosting on GitHub Pages makes the app easily accessible to users and developers. Simplicity: GitHub Pages offers a straightforward deployment process, reducing the complexity often associated with other hosting solutions. Cost-Effective: GitHub Pages is free, making it an economical choice for hosting static sites. Redundancy and InteroperabilityWe aim to make our app interoperable across different hosting sources. By leveraging Webpack 5 Module Federation, we can ensure that the app works seamlessly whether it is served from AWS or GitHub Pages. This redundancy enhances the app’s reliability and availability.Module Federation Redundancy: We are investigating ways to make modules interoperable between different sources, ensuring that the app remains functional even if one source becomes unavailable. Interoperable Deployment: Our goal is to allow the app to fetch and integrate modules from both AWS and GitHub Pages dynamically. https://preview.redd.it/m1nbx4nloc1d1.png?width=1100&format=png&auto=webp&s=b7e708e530bece6bcbd492b2699755065b783eb0 Future PlansTo further enhance our deployment strategy, we plan to use a infrastructure as code tool, to deploy the app across multiple cloud service providers. This approach will increase the resilience of our deployment, ensuring the app remains online and functional even if one provider experiences downtime.Multi-Cloud Deployment: We can deploy the app to various cloud service providers, including AWS, Azure, and Google Cloud. This will distribute the app’s load and reduce the risk of a single point of failure. Scalability: This will enable us to scale the app easily across different providers, ensuring it can handle increased traffic without performance issues. Cost Management: Static file hosting is relatively a cheap option for hosting a webapp, we can optimize costs and ensure that the app remains affordable to maintain. By exploring these new hosting options and implementing a robust deployment strategy, we aim to make our decentralized chat app more resilient, scalable, and cost-effective. Our efforts in redundancy and interoperability will ensure that the app continues to function seamlessly, providing a reliable user experience regardless of the hosting source. Multi-Device ArchitectureAs our app continues to develop, we are excited to introduce the concept of a decentralized profile that can be shared across multiple devices. This feature is designed for individuals who want to use the same profile on all their devices, providing a seamless and integrated multi-platform chat experience, much like any modern chat application.Decentralized ProfileA decentralized profile allows users to maintain a consistent identity and settings across different devices. This means that whether you are using a smartphone, tablet, or desktop, your profile can remain synchronized and up-to-date.Profile Synchronization: Users can access their chat history, contacts, and settings on any device by synchronizing their decentralized profile. Data Consistency: Changes made on one device are automatically reflected on others, ensuring a consistent experience. Multi-Platform Chat ExperienceImplementing a decentralized profile enables us to offer a robust multi-platform chat experience. Users can switch between devices without losing their chat continuity or settings, enhancing the overall user experience.Convenience: Users can start a conversation on one device and continue it on another without any interruptions. Flexibility: The app adapts to various devices, providing a user-friendly interface and experience on each platform. https://preview.redd.it/8e2i3rrooc1d1.png?width=1100&format=png&auto=webp&s=a034fe514dbd6aa889de2da16caea828f7833e38 Decentralized File StorageIn addition to profile synchronization, we are exploring the potential of decentralized file storage. This feature would allow users to move large files between devices quickly, easily and securely.Cross-Device Sharing: Users can share files between their devices effortlessly, whether they are transferring a document from their laptop to their phone or vice versa. Collaborative Work: Teams can collaborate more effectively by sharing encrypted files directly through the app, regardless of the devices they are using. By introducing a decentralized profile and exploring decentralized file storage, we aim to enhance our app’s functionality and user experience. These features will provide users with the convenience and flexibility expected from a modern chat application while maintaining the principles of decentralization and security. Decentralized Peer DiscoveryDecentralized peer discovery is a critical component of our app’s architecture. By leveraging innovative technologies such as QR codes, NFC, and BLE, we facilitate seamless connections between peers without relying on a central authority.QR CodesQR codes provide a straightforward method for establishing peer connections. Users can generate a QR code that contains their connection details, which other users can scan to initiate a peer-to-peer connection.https://preview.redd.it/20jk09qqoc1d1.png?width=793&format=png&auto=webp&s=11d72cbae68ac953f955d4cb87ce4e41cf877341 Ease of Use: Users can quickly and easily share connection details. Security: QR codes can be generated dynamically, reducing the risk of interception. NFC (Near Field Communication)NFC allows devices to establish connections simply by being in close proximity. This technology is particularly useful for quick and secure peer discovery.Speed: Connections are established almost instantly. Convenience: Users can connect devices by simply bringing them close together, making it ideal for spontaneous interactions. BLE (Bluetooth Low Energy)BLE enables devices to discover and communicate with each other over short distances with minimal power consumption. This makes it a suitable option for maintaining constant peer-to-peer connections.Energy Efficiency: BLE conserves battery life, making it ideal for mobile devices. Range: BLE provides a reliable connection over a short range, perfect for personal or localized networking. Combining Technologies for Enhanced DiscoveryBy integrating QR codes, NFC, and BLE, we create a robust and versatile peer discovery mechanism. Users can choose the most convenient method for their situation, ensuring that connections are both seamless and secure.Hybrid Approach: Users can combine different methods for an optimal connection experience. For instance, initial discovery via QR code followed by connection via BLE for sustained communication. Adaptability: The app adapts to the available technologies on the user’s device, providing the best possible peer discovery experience. These innovative approaches to peer discovery, coupled with our decentralized microfrontend architecture, form the backbone of our commitment to enhancing decentralization, scalability, and user experience. By continually exploring and implementing cutting-edge technologies, we ensure our app remains at the forefront of decentralized communication solutions These sections outline the key aspects of our decentralized microfrontend architecture and provide a roadmap for our ongoing and future efforts to enhance decentralization, scalability, and user experience. ConclusionOur journey towards building a decentralized chat application has been driven by a desire to push the boundaries of what it means for an app to be truly self-hosted and independent of central servers. By leveraging modern web technologies such as Progressive Web Apps, IndexedDB, WebRTC, and Webpack 5 Module Federation, we have created a robust and scalable architecture that emphasizes privacy, security, and user empowerment.We have explored innovative hosting solutions like GitHub Pages and plan to implement multi-cloud deployments to enhance resilience and scalability. Our vision for a multi-device architecture, incorporating decentralized profiles and encrypted file storage, aims to provide a seamless, cross-platform user experience. Additionally, our commitment to decentralized peer discovery using QR codes, NFC, and BLE ensures that users can connect easily and securely without relying on centralized authorities. As we continue to develop and refine our app, we remain dedicated to the principles of decentralization, transparency, and user control. We invite you to join us on this journey, explore our open-source repositories, and contribute to the ongoing evolution of our decentralized chat application. Together, we can redefine what it means to communicate in a decentralized world. Thank you for taking the time to read about our project. We look forward to your feedback and collaboration as we continue to innovate and improve our decentralized chat application. |
2024.05.19 08:21 idlechat [2024 Read-Along] Week 20, The Silmarillion - Quenta Silmarillion - Of Maeglin (Chapter 16)
2024.05.19 07:16 smellytrashyy My code works properly in Codepen, but not in a website host. Help.
CSS: body { font-family: Arial, sans-serif; background-color: #7074A0; margin: 0; padding: 0; } .container { max-width: 800px; margin: 2rem auto; background: #D5D5D5; padding: 2rem; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); border-radius: 10px; } h1 { text-align: center; color: #333; } .form-group { margin-bottom: 1.5rem; } label { font-weight: bold; } select, input[type="checkbox"], button { width: 100%; padding: 0.5rem; margin-top: 0.5rem; border: 1px solid #ccc; border-radius: 5px; box-sizing: border-box; } button { background-color: #2C3055; color: white; font-weight: bold; cursor: pointer; transition: background-color 0.3s; } button:hover { background-color: #008080; } #recommendationResult { margin-top: 1.5rem; font-weight: bold; } HTML:Style Recommendations JS: const bodyTypes = { male: ["Rectangle", "Triangle", "Upside Down Triangle", "Trapezoid", "Oval"], female: ["Rectangle", "Apple", "Pear", "Hourglass", "Upside Down Triangle"] }; const questions = { male: [ { question: "What is your go-to outfit for a casual day out?", options: ["Jeans and a T-shirt", "Casual shirt and pants", "Athleisure wear", "Vintage finds", "Tailored clothes", "Simple and clean", "Bohemian styles", "Chic and trendy", "Unique and artsy"] }, { question: "Which colors do you prefer to wear?", options: ["Bright and bold", "Neutral tones", "Pastels", "Earthy colors", "Classic black and white", "Monochrome", "Mixed prints", "Sleek and modern", "Vibrant and contrasting"] }, { question: "What kind of shoes do you usually wear?", options: ["Sneakers", "Casual shoes", "Formal shoes", "Boots", "Loafers", "Minimalist shoes", "Ethnic sandals", "Designer shoes", "Artsy shoes"] }, { question: "Which accessory do you never leave the house without?", options: ["Cap", "Scarf", "Statement watch", "Tie", "Belt", "Simple necklace", "Layered bracelets", "Stylish bag", "Artsy accessory"] } ], female: [ { question: "What is your go-to outfit for a casual day out?", options: ["Jeans and a T-shirt", "A dress", "Athleisure wear", "Vintage finds", "Tailored clothes", "Simple and clean", "Bohemian styles", "Chic and trendy", "Unique and artsy"] }, { question: "Which colors do you prefer to wear?", options: ["Bright and bold", "Neutral tones", "Pastels", "Earthy colors", "Classic black and white", "Monochrome", "Mixed prints", "Sleek and modern", "Vibrant and contrasting"] }, { question: "What kind of shoes do you usually wear?", options: ["Sneakers", "Flats", "Heels", "Boots", "Loafers", "Minimalist sandals", "Ethnic sandals", "Designer shoes", "Artsy shoes"] }, { question: "Which accessory do you never leave the house without?", options: ["Cap", "Scarf", "Statement jewelry", "Watch", "Belt", "Simple necklace", "Layered necklaces", "Stylish handbag", "Artsy bag"] } ] }; const styleMap = { "Jeans and a T-shirt": "casual", "Casual shirt and pants": "casual", "A dress": "chic", "Athleisure wear": "casual", "Vintage finds": "vintage", "Tailored clothes": "formal", "Simple and clean": "minimalist", "Bohemian styles": "bohemian", "Chic and trendy": "chic", "Unique and artsy": "artsy", "Bright and bold": "streetwear", "Neutral tones": "casual", "Pastels": "preppy", "Earthy colors": "bohemian", "Classic black and white": "formal", "Monochrome": "minimalist", "Mixed prints": "vintage", "Sleek and modern": "chic", "Vibrant and contrasting": "artsy", "Sneakers": "streetwear", "Casual shoes": "casual", "Formal shoes": "formal", "Boots": "bohemian", "Loafers": "formal", "Minimalist shoes": "minimalist", "Ethnic sandals": "bohemian", "Designer shoes": "chic", "Artsy shoes": "artsy", "Cap": "streetwear", "Scarf": "vintage", "Statement watch": "formal", "Tie": "formal", "Belt": "preppy", "Simple necklace": "minimalist", "Layered bracelets": "bohemian", "Stylish bag": "chic", "Artsy accessory": "artsy", "Statement jewelry": "chic", "Watch": "formal", "Layered necklaces": "bohemian", "Stylish handbag": "chic", "Artsy bag": "artsy" }; const recommendations = { male: { Rectangle: { casual: "Opt for well-fitted t-shirts and straight-cut jeans.", chic: "Tailored pieces with sharp lines and neutral colors.", minimalist: "Stick to monochromatic outfits with clean lines.", vintage: "Go for retro patterns and fitted blazers.", formal: "Choose structured suits with shoulder padding.", bohemian: "Flowy shirts with earthy tones and relaxed pants.", artsy: "Abstract prints and asymmetrical designs." }, Triangle: { casual: "Wear darker colors on top and lighter on the bottom.", chic: "Structured blazers and vertical stripes to elongate the torso.", minimalist: "Neutral tones with minimal layering.", vintage: "High-waisted pants and vintage tees.", formal: "Suits with padded shoulders and tapered pants.", bohemian: "Loose tops with fitted bottoms.", artsy: "Bold, artistic prints and unique cuts." }, "Upside Down Triangle": { casual: "Fitted shirts and loose trousers for balance.", chic: "Tailored jackets and darker colors on top.", minimalist: "Simple and clean lines with solid colors.", vintage: "Classic patterns like houndstooth or plaid.", formal: "Structured suits with well-defined shoulders.", bohemian: "Loose tops with wide-leg pants.", artsy: "Geometric patterns and unconventional designs." }, Trapezoid: { casual: "Fitted tops and straight-leg jeans.", chic: "Structured blazers and well-fitted trousers.", minimalist: "Clean lines and tailored silhouettes.", vintage: "Retro-inspired pieces with a modern twist.", formal: "Tailored suits with balanced proportions.", bohemian: "Relaxed fits with layered textures.", artsy: "Experimental designs and unique accessories." }, Oval: { casual: "Opt for fitted tops and straight-cut bottoms.", chic: "Structured blazers and tailored trousers.", minimalist: "Simple, streamlined outfits with solid colors.", vintage: "Classic pieces with flattering silhouettes.", formal: "Well-tailored suits with structured jackets.", bohemian: "Flowy tops with relaxed bottoms for balance.", artsy: "Statement pieces and bold accessories." } }, female: { Rectangle: { casual: "Tuck in your shirts and pair with skinny jeans.", chic: "Structured blazers and high-waisted pants.", minimalist: "Simple, straight-cut dresses and tops.", vintage: "High-waisted skirts and fitted blouses.", formal: "Peplum tops and pencil skirts.", bohemian: "Flowy dresses with cinched waists.", artsy: "Bold patterns and unique textures." }, Apple: { casual: "V-neck tops and A-line skirts.", chic: "Structured blouses with wide-leg trousers.", minimalist: "Monochrome outfits with clean lines.", vintage: "Empire-waist dresses and skirts.", formal: "Wrap dresses and tailored blazers.", bohemian: "Loose tops with flared pants.", artsy: "Unique cuts and statement accessories." }, Pear: { casual: "Fitted tops and wide-leg pants.", chic: "Blazers with shoulder pads and A-line skirts.", minimalist: "Simple tops with straight-leg pants.", vintage: "High-waisted pants and tucked-in blouses.", formal: "Structured dresses with defined waists.", bohemian: "Flowy tops with fitted bottoms.", artsy: "Layered textures and asymmetrical designs." }, Hourglass: { casual: "Wrap tops and high-waisted jeans.", chic: "Tailored dresses with cinched waists.", minimalist: "Fitted tops with straight-leg trousers.", vintage: "Retro-inspired dresses with belts.", formal: "Bodycon dresses and pencil skirts.", bohemian: "Cinched waists with flowy skirts.", artsy: "Form-fitting pieces with artistic prints." }, "Upside Down Triangle": { casual: "Fitted shirts and loose skirts.", chic: "Structured jackets with flared pants.", minimalist: "Simple tops with wide-leg trousers.", vintage: "A-line dresses with vintage patterns.", formal: "Blazers with shoulder pads and pencil skirts.", bohemian: "Loose tops with flowy bottoms.", artsy: "Bold prints and unique cuts." } } }; document.getElementById('bodyTypeForm').addEventListener('submit', function (e) { e.preventDefault(); const gender = document.getElementById('gender').value; const bodyType = document.getElementById('bodyType').value; const hideRecommendations = document.getElementById('hideRecommendations').checked; if (!gender) { alert("Please select gender."); return; } if (!hideRecommendations && !bodyType) { alert("Please select body type or choose to hide recommendations."); return; } const questionElements = document.querySelectorAll('.questionContainer'); const answers = []; questionElements.forEach(questionElement => { const answer = questionElement.querySelector('select').value; if (!answer) { alert("Please answer all questions."); return; } answers.push(answer); }); const styleCount = {}; answers.forEach(answer => { const style = styleMap[answer]; if (style) { if (!styleCount[style]) { styleCount[style] = 0; } styleCount[style]++; } }); const preferredStyle = Object.keys(styleCount).reduce((a, b) => styleCount[a] > styleCount[b] ? a : b, null); let recommendation = `Your preferred style is ${preferredStyle}.`; if (!hideRecommendations && bodyType) { const bodyTypeRecommendation = recommendations[gender]?.[bodyType]?.[preferredStyle]; if (bodyTypeRecommendation) { recommendation += ` For your ${bodyType} body type, we recommend: ${bodyTypeRecommendation}.`; } else { recommendation += " Please consult a stylist for personalized recommendations."; } } document.getElementById('recommendationResult').innerText = recommendation; }); document.getElementById('gender').addEventListener('change', function (e) { const gender = e.target.value; const bodyTypeSelect = document.getElementById('bodyType'); const hideRecommendationsCheckbox = document.getElementById('hideRecommendations'); if (gender) { bodyTypeSelect.removeAttribute('disabled'); hideRecommendationsCheckbox.removeAttribute('disabled'); } else { bodyTypeSelect.setAttribute('disabled', true); hideRecommendationsCheckbox.setAttribute('disabled', true); } bodyTypeSelect.innerHTML = ''; bodyTypes[gender].forEach(bodyType => { const option = document.createElement('option'); option.value = bodyType; option.innerText = bodyType; bodyTypeSelect.appendChild(option); }); const questionContainer = document.getElementById('questionContainer'); questionContainer.innerHTML = ''; questions[gender].forEach((question, index) => { const questionDiv = document.createElement('div'); questionDiv.className = 'questionContainer'; const questionLabel = document.createElement('label'); questionLabel.innerText = question.question; const questionSelect = document.createElement('select'); questionSelect.innerHTML = ''; question.options.forEach(option => { const optionElement = document.createElement('option'); optionElement.value = option; optionElement.innerText = option; questionSelect.appendChild(optionElement); }); questionDiv.appendChild(questionLabel); questionDiv.appendChild(questionSelect); questionContainer.appendChild(questionDiv); }); }); document.getElementById('hideRecommendations').addEventListener('change', function (e) { const bodyTypeSelect = document.getElementById('bodyType'); if (e.target.checked) { bodyTypeSelect.setAttribute('disabled', true); } else { bodyTypeSelect.removeAttribute('disabled'); } });The Fashion Anatomist
2024.05.19 06:58 tfosnip CS50W - Proj4 Network - Django doesnt recognize my JS code at all
console.log("newlikes.js is loaded"); document.addEventListener('DOMContentLoaded', function() { console.log("DOM fully loaded and parsed"); document.querySelectorAll('button[id^="like_button_"]').forEach(button => { button.addEventListener('click', function() { console.log("clicked!") let postId = this.id.split('_')[2]; let userId = this.dataset.userId; let likeCountElement = document.querySelector("#like_count_" + postId); let likeButton = this; fetch('/like/' + postId + '/', { method: 'POST', body: JSON.stringify({ 'user_id': userId }), headers: { 'Content-Type': 'application/json', 'X-CSRFToken': document.querySelector('input[name=csrfmiddlewaretoken]').value } }) .then(response => response.json()) .then(data => { if (data.like_status) { likeButton.style.backgroundColor = 'grey'; likeCountElement.textContent = parseInt(likeCountElement.textContent) + 1; } else { likeButton.style.backgroundColor = 'red'; likeCountElement.textContent = parseInt(likeCountElement.textContent) - 1; } }); }); }); });my index.html code:
{% extends "network/layout.html" %} {% load static %} {% block body %}and my settings.py:{% if user.is_authenticated %}{% comment %} list of posts for people that users follow {% endcomment %}Create New Post
{% endif %}{% if user.is_authenticated %} {% for post in page_obj %}{% endblock %} {% block script %} {% endblock %}{{post.user}}
{{post.new_post_content}}
Posted on: {{post.created_time}}
{% endfor %} {% endif %}
""" Django settings for project4 project. Generated by 'django-admin startproject' using Django 3.0.2. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/3.0/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = '13kl@xtukpwe&xj2xoysxe9_6=tf@f8ewxer5n&ifnd46+6$%8' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True ALLOWED_HOSTS = [] # Application definition INSTALLED_APPS = [ 'network', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', ] MIDDLEWARE = [ 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', ] ROOT_URLCONF = 'project4.urls' TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', ], }, }, ] WSGI_APPLICATION = 'project4.wsgi.application' # Database # https://docs.djangoproject.com/en/3.0/ref/settings/#databases DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), } } AUTH_USER_MODEL = "network.User" # Password validation # https://docs.djangoproject.com/en/3.0/ref/settings/#auth-password-validators AUTH_PASSWORD_VALIDATORS = [ { 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', }, { 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', }, { 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', }, { 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', }, ] # Internationalization # https://docs.djangoproject.com/en/3.0/topics/i18n/ LANGUAGE_CODE = 'en-us' TIME_ZONE = 'UTC' USE_I18N = True USE_L10N = True USE_TZ = True # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/3.0/howto/static-files/ STATIC_URL = '/static/' STATICFILES_DIRS = [ os.path.join(BASE_DIR, "static"), '/network/project4/network/static', ]my folder structure looks like this: