Tower of god
it's style is pretty unique so not everyone likes/ it - but the manga was banger and i like the story.
Frieren
is a feel good anime, it's just a cozy story.
Wind Breaker
is one that i personally liked, it's basically Baki
in not so overpowered but fun (edited)Tower of god
it's style is pretty unique so not everyone likes/ it - but the manga was banger and i like the story.
Frieren
is a feel good anime, it's just a cozy story.
Wind Breaker
is one that i personally liked, it's basically Baki
in not so overpowered but fun (edited)let rec occurs : tv ref -> typ -> unit = fun tvr -> function
| TVar tvr' when tvr == tvr' -> failwith "occurs check"
| TVar ({contents = Unbound (name,l')} as tv) ->
let min_level =
(match !tvr with Unbound (_,l) -> min l l' | _ -> l') in
tv := Unbound (name,min_level)
| TVar {contents = Link ty} -> occurs tvr ty
| TArrow (t1,t2) -> occurs tvr t1; occurs tvr t2
| _ -> ()
let rec occurs : tv ref -> typ -> unit = fun tvr -> function
| TVar tvr' when tvr == tvr' -> failwith "occurs check"
| TVar ({contents = Unbound (name,l')} as tv) ->
let min_level =
(match !tvr with Unbound (_,l) -> min l l' | _ -> l') in
tv := Unbound (name,min_level)
| TVar {contents = Link ty} -> occurs tvr ty
| TArrow (t1,t2) -> occurs tvr t1; occurs tvr t2
| _ -> ()
# Coverage collection.
CONFIG_KCOV=y
# Debug info for symbolization.
CONFIG_DEBUG_INFO=y
# Memory bug detector
CONFIG_KASAN=y
CONFIG_KASAN_INLINE=y
# Required for Debian Stretch
CONFIG_CONFIGFS_FS=y
CONFIG_SECURITYFS=y
usize
would you think the creator of the language is an idiot or is it ok? xdusize
would you think the creator of the language is an idiot or is it ok? xd T* + usize
? (edited)apt purge myself
ptr + x == (T *)((char *)ptr + x * sizeof ptr)
from C?ptr + x == (T *)((char *)ptr + x * sizeof ptr)
from C? ptr + x == (T *)((char *)ptr + x * sizeof ptr)
from C? struct munger_struct {
int f1;
int f2;
};
void munge(struct munger_struct *P) {
P[0].f1 = P[1].f1 + P[2].f2;
}
...
struct munger_struct Array[3];
...
munge(Array);
define void @munge(ptr %P) {
entry:
%tmp = getelementptr %struct.munger_struct, ptr %P, i32 1, i32 0
%tmp1 = load i32, ptr %tmp
%tmp2 = getelementptr %struct.munger_struct, ptr %P, i32 2, i32 1
%tmp3 = load i32, ptr %tmp2
%tmp4 = add i32 %tmp3, %tmp1
%tmp5 = getelementptr %struct.munger_struct, ptr %P, i32 0, i32 0
store i32 %tmp4, ptr %tmp5
ret void
}
i++
or ++i
?i++
or ++i
? i++
unless I need a precrement specifically++i
because it's more hipster++i++
would work==
faster then idk >=
?ptr + x == (T *)((char *)ptr + x * sizeof ptr)
from C? ptr - ptr
?usize
? match ((left, left_type), (right, right_type)) {
((_, Type::Ptr(lhs)), (_, Type::Ptr(rhs))) if lhs == rhs => (),
((_, Type::Ptr(_)), (expr, offset)) | ((expr, offset), (_, Type::Ptr(_)))
if Expr::int_lit_only(expr) || offset == Type::UInt(UintType::Usize) =>
{
()
}
((lhs, _), (rhs, _)) if Expr::int_lit_only(lhs) && Expr::int_lit_only(rhs) => (),
((_, left_type), (_, right_type)) => {
panic!("Can't add {left_type} to {right_type}")
}
}
Look at dis unholy pattern matching./build.sh 7 0 run
and it would compile and run the 7.0_HelloCamera
dir#!/bin/sh
if [ $# -eq 0 ]
then
dir="$HOME/Documents/Shared/Others/Diakoun/Motiv"
cd "$dir"
echo "Running in Diakoun/Motiv directory."
fi
if [ "$1" = "shigoto" ]
then
shift 1
dir="$HOME/Documents/Shared/Others/Diakoun/ShigotoSuru"
cd "$dir"
echo "Running in "$dir" directory."
elif [ "$1" = "sutattsu" ]
then
shift 1
dir="$HOME/Documents/Shared/Others/Diakoun/Sutattsu"
cd "$dir"
echo "Running in "$dir" directory."
elif [ "$1" = "." ]
then
shift 1
dir="$PWD"
cd "$dir"
echo "Running in current ("$dir") directory."
fi
file="$(date +"%m%d_%b%a")"
if [ -f "$file" ]
then
echo "File already exists!"
echo "Opening file for editting."
hx "$file"
else
line1="$(date +"%Y-%m-%d %H:%M:%S")"
line2="$(date +"%A %d %B %Y")"
echo "Making file and opening file..."
echo "$line1" > "$file"
echo "$line2" >> "$file"
hx "$file"
fi
#!/bin/env/bash
skin_api_url="https://teedata.net/api/skin/read?limit=400000"
mapres_api_url="https://teedata.net/api/mapres/read?limit=400000"
emoticon_api_url="https://teedata.net/api/gameskin/read?limit=400000"
emoticon_api_url="https://teedata.net/api/emoticon/read?limit=400000"
cursor_api_url="https://teedata.net/api/cursor/read?limit=400000"
particles_api_url="https://teedata.net/api/particle/read?limit=400000"
entity_api_url="https://teedata.net/api/entity/read?limit=400000"
font_api_url="https://teedata.net/api/font/read?limit=400000"
template_api_url="https://teedata.net/api/template/read?limit=400000"
database="https://teedata.net/databasev2"
skins=$(curl "$skin_api_url" | jq -r .result.items[].file_path)
mapres=$(curl "$mapres_api_url" | jq -r .result.items[].file_path)
emoticons=$(curl "$emoticon_api_url" | jq -r .result.items[].file_path)
cursors=$(curl "$cursor_api_url" | jq -r .result.items[].file_path)
particles=$(curl "$particles_api_url" | jq -r .result.items[].file_path)
entitys=$(curl "$entity_api_url" | jq -r .result.items[].file_path)
fonts=$(curl "$font_api_url" | jq -r .result.items[].file_path)
templates=$(curl "$template_api_url" | jq -r .result.items[].file_path)
mkdir -p skins/ mapres/ emoticon/ cursor/ particles/ entity/ font/ template/
for x in $skins; do
filename=$(echo "$x" | cut -d'/' -f4)
curl "$database$x" -o skins/$filename || true
done
for x in $mapres; do
filename=$(echo "$x" | cut -d'/' -f4)
curl "$database$x" -o mapres/$filename || true
done
for x in $emoticons; do
filename=$(echo "$x" | cut -d'/' -f4)
curl "$database$x" -o emoticon/$filename || true
done
for x in $cursors; do
filename=$(echo "$x" | cut -d'/' -f4)
curl "$database$x" -o cursor/$filename || true
done
for x in $particles; do
filename=$(echo "$x" | cut -d'/' -f4)
curl "$database$x" -o particles/$filename || true
done
for x in $entitys; do
filename=$(echo "$x" | cut -d'/' -f4)
curl "$database$x" -o entity/$filename || true
done
for x in $fonts; do
filename=$(echo "$x" | cut -d'/' -f4)
curl "$database$x" -o font/$filename || true
done
for x in $templates; do
filename=$(echo "$x" | cut -d'/' -f4)
curl "$database$x" -o template/$filename || true
done
for x in $mapres
for x in "$mapres"
folders="skins|mapres|emoticons|cursors|particles|entitys|fonts|templates"
echo "$folders" | tr '|' '\n' |
while read -r folder
do
echo "$folder"
done
or with IFS='|'
but don't know how that works with read