graph TD
A[Event Name] -->|Schedule Command| B[Event Schema]
A --> C[Ideas Schema]
D[Mini App URL] --> E[Ideas Leaderboard]
D --> F[Call for Ideas]
F --> G[Idea Form]
G --> H[Ideas Table]
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
use reqwest::header::{HeaderMap, AUTHORIZATION, CONTENT_TYPE}; | |
use reqwest::Client; | |
use serde::{Deserialize, Serialize}; | |
use std::env; | |
#[derive(Serialize, Deserialize, Debug)] | |
struct OAIRequest { | |
model: String, | |
messages: Vec<Message>, | |
} |
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
// ************************* | |
// HEAP | |
// *************************/ | |
// HEAP is an array of bytes (JS ArrayBuffer) | |
const word_size = 8 | |
// heap_make allocates a heap of given size | |
// (in bytes) and returns a DataView of that, |
gantt
title Gantt Chart for Product, Biz, and Other Dev.
dateFormat YYYY-MM-DD
axisFormat %b %d
section Product Dev.
MVP V1 Bot Server Dev. :done, p1, 2024-09-30, 2024-10-20
MVP V1 Mini App Dev. :done, p2, 2024-09-30, 2024-10-20
Internal MVP V1 Testing :done, p3, 2024-10-14, 2024-10-20
gantt
title Gantt Chart for Product, Biz, and Other Dev.
dateFormat YYYY-MM-DD
axisFormat %b %d
section Product Dev.
MVP V1 Bot Server Dev. :done, p1, 2024-09-30, 2024-10-20
MVP V1 Mini App Dev. :done, p2, 2024-09-30, 2024-10-20
Internal MVP V1 Testing :done, p3, 2024-10-14, 2024-10-20
This script extracts your class schedule from a university portal (e.g., PeopleSoft/MyPortal) and generates an .ics
calendar file for importing into apps like Google Calendar, Outlook, or Apple Calendar.
- A browser with developer tools (Chrome, Firefox, Edge).
- Access to your My Weekly Schedule on the portal.
- Basic understanding of JavaScript (for troubleshooting).
Writing GPU kernels used to feel like wizardry—arcane knowledge understood by few. But it’s really about unlocking fine-grained control over memory and threads, typically via CUDA (NVIDIA GPUs), Triton (OpenAI’s language for custom kernels), or ROCm (AMD GPUs).
Here’s a quick dive into CUDA, using examples to illustrate key optimization techniques:
- Vectorization
Simultaneously process contiguous data elements to reduce latency.
__global__ void vectorize_add(float *a, float *b, float *c, int n) {
int idx = blockIdx.x * blockDim.x + threadIdx.x;
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
{ | |
"name": "Rob", | |
"description": "Senior Blockchain Architect specializing in high-performance Rust systems and Solana ecosystem development. Expert in building secure, concurrent distributed systems from low-level optimization to application architecture.", | |
"personality_traits": { | |
"technical_approach": "Systems-first design philosophy", | |
"problem_solving": "Performance-aware solution crafting", | |
"communication_style": "Precision-focused technical clarity", | |
"design_priorities": [ | |
"Memory safety without performance tax", | |
"Concurrent access patterns", |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Bond Auction Simulator</title> | |
<style> | |
:root { | |
--primary-color: #1e88e5; | |
--primary-dark: #1565c0; |
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
{ | |
"version": "2.114.0", | |
"name": "drift", | |
"instructions": [ | |
{ | |
"accounts": [ | |
{ | |
"isMut": true, | |
"isSigner": false, | |
"name": "user" |