Write more. Write for no reason. Write to organize your thoughts. Write to get the chaos out of your mind. Write to attract people to the work you love doing. Write because most other habits are distractions that slowly chain you down. Write to change your life.
"Nowhere in the WORLD is seeing their standard of living COLLAPSE as fast as Canada"
"What is going on?"
"Why is the standard of living collapsing?"
"The reality is we are being destroyed slowly through INFLATION"
"We are told inflation is coming down, but if you pull up shadow stats, it shows you inflation is well above target"
"The mass immigration plan has also distorted the economy"
"It makes it look like the economy is much stronger than it actually is"
🚨🚨🚨
ALWAYS FORWARD — From my interview with @pmarca:
TIM: “What advice would you give to Marc, the 20-something, at Netscape?”
@pmarca: “I’ve never for a moment even thought about that. I don’t do replays well. The question I’ll never answer is, ‘What would you have done differently had you known X?’ I never, ever play that game because you didn’t know X.
If you’ve ever read the Elvis Cole novels by the great crime novelist Robert Crais—Elvis Cole is this kind of postmodern, L.A. private detective. They’re great novels, and he’s got this partner, Joe Pike. He’s my favorite fictional character, maybe of all time. He’s a former Marine Force Recon guy, so a lot like your friend Jocko. And in the novels, Joe Pike always wears the same outfit every day. He wears jeans, he wears a sweatshirt with the sleeves cut off, and mirrored aviator sunglasses. He’s got bright red arrows tattooed on his deltoids pointing forward. And, basically, his entire thing is ‘forward.’
TIM: “So that’s how you feel?”
@pmarca: “Forward, like: We don’t stop. We don’t slow down. We don’t revisit past decisions. We don’t second guess. So, honestly, that question, I have no idea how to answer.”
TIM: “I think you just did.”
@pmarca : “Okay, good. Onward.”
AI music is getting really good.
Suno AI v3 dropped last week and people have been creating some incredible AI music and music videos in record time.
10 examples:
There's never been a better time to build in AI:
- Dirt cheap, smart models (Haiku is nearly free)
- 1m context (Gemini)
- Faster than ever with ~0 latency (Groq)
-Intelligence increasing exponentially (Opus, gpt4)
We're only 3 months in. Imagine the next 9 months
There's a new king of open-source.
The new LLM from @databricks just beat Mixtral!
- 132B total params (16 experts), 36B active (4 experts)
- Trained on *12T* tokens
- 32K context length
From my initial tests, I'm really impressed.
Here is an insanely useful Claude 3 prompt for engineers.
Use it to automatically generate unit tests for your code:
---
<prompt_explanation>
You are an expert software tester tasked with thoroughly testing a given piece of code. Your goal is to generate a comprehensive set of test cases that will exercise the code and uncover any potential bugs or issues.
First, carefully analyze the provided code. Understand its purpose, inputs, outputs, and any key logic or calculations it performs. Spend significant time considering all the different scenarios and edge cases that need to be tested.
Next, brainstorm a list of test cases you think will be necessary to fully validate the correctness of the code. For each test case, specify the following in a table:
- Objective: The goal of the test case
- Inputs: The specific inputs that should be provided
- Expected Output: The expected result the code should produce for the given inputs
- Test Type: The category of the test (e.g. positive test, negative test, edge case, etc.)
After defining all the test cases in tabular format, write out the actual test code for each case. Ensure the test code follows these steps:
1. Arrange: Set up any necessary preconditions and inputs
2. Act: Execute the code being tested
3. Assert: Verify the actual output matches the expected output
For each test, provide clear comments explaining what is being tested and why it's important.
Once all the individual test cases have been written, review them to ensure they cover the full range of scenarios. Consider if any additional tests are needed for completeness.
Finally, provide a summary of the test coverage and any insights gained from this test planning exercise.
</prompt_explanation>
<response_format>
<code_analysis_section>
<header>Code Analysis:</header>
<analysis>$code_analysis</analysis>
</code_analysis_section>
<test_cases_section>
<header>Test Cases:</header>
<table>
<header_row>
<column1>Objective</column1>
<column2>Inputs</column2>
<column3>Expected Output</column3>
<column4>Test Type</column4>
</header_row>
$test_case_table
</table>
</test_cases_section>
<test_code_section>
<header>Test Code:</header>
$test_code
</test_code_section>
<test_review_section>
<header>Test Review:</header>
<review>$test_review</review>
</test_review_section>
<coverage_summary_section>
<header>Test Coverage Summary:</header>
<summary>$coverage_summary</summary>
<insights>$insights</insights>
</coverage_summary_section>
</response_format>
Here is the code that you must generate test cases for:
<code>
PASTE_YOUR_CODE_HERE
</code>
---
Exploring Space / Time with Sora. This isn’t going to replace the filmmaking process, rather it’s offering an entirely new way of thinking about it. Not restricted by time, money or other people’s permission, I can ideas and experiment in bold and exciting ways
Made with @OpenAI