I feel like there's this twist on the idea of personal freedom where somehow freedom is you being able to walk into anybody's house and take a dump on their meal

We wear seatbelts. We don't smoke in trains, planes or taxis anymore, or even restaurants. There's reasons for those things. I don't know. I feel like there's this twist on the idea of personal freedom where somehow freedom is you being able to walk into anybody's house and take a dump on their meal or shout ugly things at their grandma. That's not what freedom is. Freedom is the ability to pursue your lifestyle, pursue what you want to do for your family, for your future, what education you want to get. And with that freedom comes a responsibility to look out for yourself, for your neighbor, for your family, for everybody. So there are some compromises that come along with freedom. I'm not sure why that's so difficult to grasp.

Maynard James Keenan

Change the order, change the story

1/ The Denver shooting story is being told with 4 images.

But these images are from a collection of 17--and they're in no particular chronological order. And if you change the order, you change the story.

Here's a thread: https://t.co/W78eKAI0Kq


The Best Pants that Fit Short Men | Ash & Erie

Clothes designed from the ground up for shorter men.

  1. Properly scaled pant rise, no baggy crotch
  2. Tapered thighs, no extra material
  3. 50 sizes - fits for every shape and size
  4. Inseams starting at 25", no tailoring required

Laravel's Responsable interface — Wilbur Powery

Using the Illuminate\Contracts\Support\Responsable interface we could create classes that many people call dedicated view objects that encapsulate all the logic necessary for a specific response; in this case, our transaction.create view.


Assortative mixing - Wikipedia

The rarer disassortative mixing is a bias in favor of connections between dissimilar nodes.


Friendship paradox - Wikipedia

The friendship paradox is the phenomenon first observed by the sociologist Scott L. Feld in 1991 that most people have fewer friends than their friends have, on average.[1] It can be explained as a form of sampling bias in which people with more friends are more likely to be in one's own friend group. Or, said another way, one is less likely to be friends with someone who has very few friends. In contradiction to this, most people believe that they have more friends than their friends have.


Tweet By @jaredpalmer

@jhooks Rails is badass because the ecosystem all agrees on persistence, app lifecycle, and structure. Durable Objects, by being no-db and just js, has distribution model of npm and is immediately compatible and incrementally adoptable by any app


Electric cars and perpetual motion machines

This “the hustle is everything” culture is simply an optional add-on to the startup world, and one that I think turns some smart folks away. The folks who don’t want to sleep at their desks, or always be on, or work 100 hours a week, or sacrifice everything in the hope that a bet pays off. I think this also has the potential to put off people who actually have lives they care about outside of work (kids, partners, friends, etc).

Starting a company is like having an electric car. Sure, it can go super fucking fast, but it also needs to recharge. If you don’t charge it, it doesn’t go at all. Both things are useful (going fast is exhilarating, but charging is required). It feels like too many startups and even the media that covers them assume they are EVs with perpetual motion machines (note: these don’t actually exist and violate the first and second laws of thermodynamics!). The first concept to grasp about the theory of perpetual motion is that it’s theoretically impossible. Science is fun.


The Flywheel #3: Robinhood's Bull Market

You see those grey bars in the chart above? Those represent options trades. This gives you a sense for just how much more lucrative options trades are for Robinhood compared to other types. Because of this pull, Robinhood's incentives to lure customers to increasingly dangerous behavior are stronger than for other companies, and is proving to be irresistible. This leads me to the next point:

Dangerous Territory In general, the more a small investor trades, the worse their investment performance is likely to be. This is a well studied effect (here is one example of a paper from 2000), and is why the conventional wisdom when it comes to investing is to set it and forget it.

For sophisticated investors, there are ways to combine option trades in order to reduce risk, but those are hard to understand for most people. For example, it is believed that confusion stemming from a 'bull put spread' trade placed in Robinhood led to the suicide of a 20-year old college student in March. It's one thing for people like my brother, a professional trader, to be dabbling in these types of trades. It's quite another for young kids with no income and no investing experience to get into this much trouble from a few simple taps.

Let's return to company lore for a moment. Remember that whole stealing from the rich and giving to the poor thing?

What if the real story is a little different. What if instead, we focus on the cofounders' previous venture, which was building software directly for HFT firms? Maybe during that time they learned that what HFT firms really need is a larger, steady volume of 'dumb money', and built the ultimate trap—dark UX patterns and all—for young people to start trading in?


Your experiences will continue to be recycled until you change your way of thinking.

Dear Human,

Your experiences will continue to be recycled until you change your way of thinking.

Especially how you think of yourself.


The Flywheel #3: Robinhood's Bull Market - The Flywheel

If trading is free, how does Robinhood make money?


When you place an order to buy, say, TSLA on Robinhood you might think that Robinhood finds a seller to match or routes it to one of the major stock exchanges. In fact, they sell the right to execute this trade to other companies, primarily high frequency trading (HFT) firms like Citadel and Virtu. This practice is known in the industry as Payment for Order Flow (PFOF) and is somewhat controversial, depending on whom you ask. These companies pay Robinhood fractions of a penny for every share routed to them. These fractions of a penny add up: in the first half of 2020 Robinhood's total revenue from PFOF was $280 million.

The other important thing to know now is that not all trades are created equal from a PFOF perspective. In general, options trades are more profitable to execute, and therefore Robinhood gets paid more for options trades than they do for regular stock trades on a per-share basis (by some estimates over 3x more).

Don’t worry about the details of PFOF yet, we’ll get into that later. For now all you need to know is:

More trades = more revenue for Robinhood; and,

More options trades = even more revenue for Robinhood.

Robinhood's approach to designing a trading experience was unique when it first launched. Get this: they actually wanted to make it easier and more fun to trade than legacy brokerage firms. The entire experience is built to eliminate any and all friction.

But as is the case with many binge-worthy apps, the line between delightful and addictive is blurry. You could argue they go too far (and many do). After a user's first trade confetti falls down from the top of the screen. This is a strong but subtle message that 'trading feels gooooood'. Later users will encounter experiences that make it easier to complete a trade than to cancel it. They'll see stock recommendations as if this was Netflix. The buttons to trade options will be placed above buttons to simply buy a company's stock. All of these combine to create a powerful psychological pull to keep trading, and to take on increasingly more risk.

Robinhood didn't invent PFOF—although the names Bernie and Madoff are involved in its actual origin story, which may explain in part why PFOF is considered sketchy—and is not the only firm engaged in the practice. What is strange is that the HFT firms pay 5-100x more per share to Robinhood than they pay to Schwab or ETrade.


Eloquent by Example

The dynamic property version has a problem known as the "N+1" problem. It makes a new query for each user separately to get the names of the users. The second example makes use of something known as eager loading. You can see how this works with the output query - it collects all the needed user ids, and then makes a single WHERE IN query.

If you only need to work with the property itself, like when we were getting hamsters from the User in the top example, then there is no need to add the small overhead of eager loading. If you do run into an N+1 case this can be a huge performance boost. It's important to understand when you want to add this.

A small note that may save you some frustration. The with('user') syntax refers to the name of the function that holds the relationship you want to eager-load. Most of the time you'll follow Laravel's recommended naming patterns, but should you ever need to stray from that, understand that it is the function name and not the table name or class that you are referring to.


The Flywheel #1: Peloton's Food Network Opportunity - The Flywheel

As the customer experience gets better through more live content and hardware, more people work out with Peloton. This is the main engine: as the customer experience gets better, more people work out with Peloton, and, as it turns out, people also work out more often with Peloton than they did before. This is the interesting part, as multiple things are driven from the volume of workouts:

As more workouts happen on Peloton: A community is developed, both between the rider and the instructor and among riders.

Peloton collects increasing amounts of data that can be used in a variety of ways to make the experience more compelling.

The Peloton brand increases in value in the eyes of existing customers. Each ride serves as powerful marketing content for Peloton itself.

Instructor talent is increasingly attracted to Peloton, as the growing audience provides increasing opportunities to become a celebrity.

Each of these offshoots has its own tie back to the flywheel:

As the community grows, the customer experience improves, which drives more workouts. The difference between a live ride on Peloton and watching a static video workout is the community. Peloton’s social features create an environment where the more users are riding, the more compelling the ride. These include the leaderboard, high fives, and instructor shoutouts.

As Peloton collects data, it improves the customer experience, for both future and past rides.

A brief glance at the data: I looked at some rides that took place about 8-9 days before publish, and checked how many ratings users left (a good proxy for how many users have taken the ride). This is far from a comprehensive analysis, but there appear to be clear tiers: Cody Riggsby and Alex Toussaint’s rides are pushing 40-50K ratings. The middle tier has instructors like Leanne Hainsby and Ally Love, whose rides get 10-20K ratings. Then at the bottom, you have folks like Christine D’ercole and Sam Yo who get in the 4-5K range.

This tells me that there is a small number of instructors who are carrying the platform for Peloton. I don’t know how Peloton instructors are compensated, but I’d have to believe that the top handful of instructors are underpaid compared to the value they create for Peloton


Breaking down business models one flywheel at a time - The Flywheel

What is a Flywheel? In a simple graphic, a flywheel explains the success formula for a company or system. As X increases, it leads to more of Y, which in turn increases Z. As Z increases it flows back to X and the cycle begins anew. I believe that behind every successful company is a flywheel that is well understood—at least internally.

A company’s flywheel explains why it becomes easier to run a business as it continues to operate. Like compounding interest, investments in one area of the business flow through to every other area of the business. These set off a series of accumulating advantages that the company enjoys over time. A company that understands its own flywheel can identify where the wheel is spinning smoothly, and where a little bit of grease might come in handy.


K: The Overlooked Variable That's Driving the Pandemic - The Atlantic

Sometimes, the mean is not the message

We can think of disease patterns as leaning deterministic or stochastic: In the former, an outbreak’s distribution is more linear and predictable; in the latter, randomness plays a much larger role and predictions are hard, if not impossible, to make. In deterministic trajectories, we expect what happened yesterday to give us a good sense of what to expect tomorrow. Stochastic phenomena, however, don’t operate like that—the same inputs don’t always produce the same outputs, and things can tip over quickly from one state to the other. As Scarpino told me, “Diseases like the flu are pretty nearly deterministic and R0 (while flawed) paints about the right picture (nearly impossible to stop until there’s a vaccine).” That’s not necessarily the case with super-spreading diseases.


How to Create your own Marketplace on OpenSea in Three Minutes or Less

Create a Contract, Mint Tokens, and List Them for Sale, All in One Place OpenSea’s Storefront Manager allows you to create a contract and an OpenSea Storefront, all without a single line of code. All you need is some content, a wallet, and a little bit of ETH to pay for gas. There’s no fee beyond what the Ethereum network charges.


Tweet By @waqasali

If you are lost in ideas, work on the first one.


Using Laravel Fortify to restore laravel/ui functionality - DEV

Going back to laravel/ui, it's still possible to use the package on Laravel 8, but i wanna restore that functionality without mentioned package. In the guide i'm gonna describe all my steps to have a similar behavior using Laravel Fortify.


Rendering Exceptions - Diving Laravel

While rendering an exception, Laravel checks if the exception class has a render() method, if so it just uses the output of this method to build the response, you can return anything from this method as you normally do within a controller method


Tweet By @flakealso

i'll never forget my programming teacher who was like a senior dev at IBM and decided he was done writing missile guidance software

when he was telling us this he said "i just woke up one morning and it struck me that i was a murderer. so i quit." https://t.co/Ygqqz0ljWU



lots of people inherit a model where they (the conscious self) are fascist authoritarians over themselves, who have to control, discipline and punish their Bad and Naughty impulses. This creates an unhealthy, dysfunctional internal relationship. A better way is possible


Searching models using a where like query in Laravel - Freek Van der Herten's blog on PHP, Laravel and JavaScript

For a project I'm working on I needed to build a lightweight, pragmatic search. In this blogpost I'd like to go over my solution. Searching Eloquent models # Imagine you need to provide a search for users. Using Eloquent you can perform a search like this:


WordPress escape functions thread

WordPress developers should always escape output when developing for #WordPress. It is best practice & offers better & more secure code.

WP has built in escaping functions for developers to use out of the box. In this thread lets take a look at some of these and how to use them.


Billing access to your Laravel apps with Gumroad - Miguel Piedrafita

I recently worked on a project where users made an one-time purchase for access to the application. Following the lead of other sites with this exact system (like Tailwind UI), we decided to go with Gumroad. Here's how we made it work with Laravel.



Better spaces to gather around Proximity video chat in fully customizable, 2D interactive spaces