Start by reading The Rust Book.
If you are ever in doubt, think about, Why Rust?
Rust 101 - Just a basic, hands-on course
Rustlings - Programming exercises in Rust
Rust Cookbook - Learn Rust good practices with practical code samples \
<script lang="ts"> | |
import { onMount } from "svelte"; | |
let loading = true; | |
let title: string, | |
subtitle: string, | |
description: string, | |
author: string, | |
year: string, |
[ | |
{ | |
id: '2397931', | |
title: 'The Rust Programming Language (Covers Rust 2018)', | |
volumeinfo: '', | |
series: '', | |
periodical: '', | |
author: 'Steve Klabnik; Carol Nichols', | |
year: '2019', | |
edition: '', |
Start by reading The Rust Book.
If you are ever in doubt, think about, Why Rust?
Rust 101 - Just a basic, hands-on course
Rustlings - Programming exercises in Rust
Rust Cookbook - Learn Rust good practices with practical code samples \
from math import factorial as fac | |
def f(n: int) -> int: | |
y = 0 | |
for x in map(int, str(n)): | |
y += fac(x) | |
return y | |
import requests | |
from discord.ext import commands | |
prefix = "?" | |
bot = commands.Bot(command_prefix=prefix) | |
@bot.event | |
async def on_ready(): |
WebPage( id=5441171425018901268, url='https://www.tagesschau.de/ausland/trump-usa-einreisestopp-corona-101.html', display_url='tagesschau.de/ausland/trump-usa-einreisestopp-corona-101.html', hash=1127929505, type='photo', site_name='tagesschau.de', title='Trump will Einreisestopp verlängern', description='US-Präsident Trump hat angekündigt, den Ein |
// Your shadow map comparison, this is builtin to ThreeJS | |
float texture2DCompare( sampler2D depths, vec2 uv, float compare ) { | |
return step( compare, unpackRGBAToDepth( texture2D( depths, uv ) ) ); | |
} | |
float getShadow () { | |
float texelSize = 1.0 / shadowMapPixelDimension; | |
float shadowStepSize = 0.5; // adjust to taste |
Git - Version Control https://rogerdudler.github.io/git-guide/
Basic Terminal Usage http://linuxcommand.org/lc3_learning_the_shell.php
Fun Problems https://projecteuler.net/
SOLID, KISS, YAGNI
This is a plain-text version of Bret Victor’s reading list. It was requested by hf on Hacker News.
Highly recommended things!
This is my five-star list. These are my favorite things in all the world.
A few of these works have had an extraordinary effect on my life or way of thinking. They get a sixth star. ★
#include <stdio.h> | |
int main() { | |
char arr[] = "SRRRLLRLRRLLLRE"; | |
int jump = 0, pos = 0; | |
int len = sizeof(arr)/sizeof(char); | |
while (pos != len) { | |
jump += 1; | |
if (arr[pos + jump] == 'R') { | |
pos += jump; |