-
🧠 Three Generations of Software: Karpathy introduces Software 1.0 (code written by humans), 2.0 (neural network weights), and 3.0 (prompts for LLMs). Software is now written in natural language, allowing for broader access and faster iteration.
-
🚗 Neural Nets Replacing Code: Using Tesla’s Autopilot as an example, he shows how neural nets gradually replaced traditional code, signifying a profound industry transition.
-
🧮 LLMs as Utilities and OSs: LLMs are described as akin to utilities (like electricity) due to centralized access, but function like operating systems, orchestrating memory and tools for problem-solving.
When fixing code errors in JetBrains IDE:
-
Use your own file tools, NOT JetBrains tools: Always use the Read, Edit, Write, Glob, and Grep tools for file operations. Do not use JetBrains file editing tools like
mcp__jetbrains__replace_specific_text
or similar. -
Check errors first: Use
mcp__jetbrains__get_current_file_errors
to get the current list of errors in the open file. -
Read the file: Use the Read tool to understand the file content and locate the problematic code.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Source: https://youtu.be/Hn27upT2m_o | |
Conversation Summary: | |
The conversation with Sam Altman, CEO of OpenAI, covered a wide range of topics, from the future of AI models to the challenges of company growth. Altman emphasized the importance of "reasoning" models for OpenAI's future and their ability to generate new scientific insights and solve complex tasks. He also discussed the development of no-code tools for non-technical founders, the role of open-source models, and the definition of AI agents. | |
Altman discussed the challenges of OpenAI's rapid growth and the need to create a corporate culture that promotes innovation and new approaches. He also talked about the importance of talent and the need to support people who can reach their full potential. | |
Another key point was the question of AI commercialization and how AI agents might change SaaS product pricing. Altman emphasized that value creation through AI will be enormous, but it's important to focus on improving the models rather than just solving s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You are tasked with analyzing a merged PDF containing multiple documents in German and creating a bash script to split and rename these documents. Follow these instructions carefully: | |
First, carefully examine the content of the merged PDF. | |
Now, follow these steps: | |
1. Analyze the PDF: | |
- Identify all distinct documents within the merged PDF. | |
- Ignore any blank pages (pages that contain no letters). | |
- Determine the page range for each document. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Input PDF file | |
input_pdf="sample_document.pdf" | |
# Output files with dates | |
insurance_policy="car_insurance_2024-11-05.pdf" | |
bank_statement="bank_statement_2024-11.pdf" | |
medical_invoice_oct="medical_invoice_2024-10-21.pdf" | |
medical_invoice_nov="medical_invoice_2024-11-03.pdf" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Services\google; | |
use Exception; | |
use Illuminate\Http\Client\ConnectionException; | |
use Illuminate\Support\Facades\Http; | |
class Gemini | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private function intelligentCropTransparent( | |
string $inputPath, | |
string $outputPath, | |
int $padding = 5, | |
bool $makeSquare = false, | |
bool $transparentBackground = true | |
): void | |
{ | |
$image = new Imagick($inputPath); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
customer=$1 | |
if [ -z "$customer" ]; then | |
echo "Error: No customer name provided. Please provide a customer name as the first argument." >&2 | |
exit 1 | |
fi | |
# Set your AWS credentials here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** @see https://www.linkedin.com/posts/ashleyjcallen_these-are-some-not-all-of-the-first-pest-activity-7191803157692190720-HAPK **/ | |
test('strict types are used everywhere') | |
->expect('App') | |
->toUseStrictTypes(); | |
test('globals') | |
->expect(['dd', 'ddd', 'die', 'dump', 'ray', 'sleep']) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Color codes | |
GREEN='\033[0;32m' | |
YELLOW='\033[1;33m' | |
BLUE='\033[0;34m' | |
NC='\033[0m' # No Color | |
# Header in green | |
echo -e "${GREEN}IMAGE\t\t\t\t\t\t\tSTATUS${NC}" |
NewerOlder