- AS3 requires you be an expert in it.
- No longer accessible to people without a programming focus (artists).
- Previously possible projects become too difficult in a reasonable timeframe.
-
I teach Flash to designers [...] the threshold of entry as well as the intimidation factor became too high for design students. What they want to do is make something functional and beautiful without needing to spend weeks learning the basics. AS2 made that possible. AS3, to a huge degree, took it away.
-
I'm a designer. [...] I've spent incomprehensible amounts of time learning and re-learning ActionScript. When AS3 was released I took one look at it and threw in the towel. Since then my life has been much better.
- No longer accessible to people without a programming focus (artists).
- > Surely as memory/processor constraints dwindle, programming should be becoming LESS verbose, not more. Write less, do more, quicker. Hide the complexities of common tasks in simple short terms, not have to write a hundred lines t
This file contains 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
<html> | |
<head> | |
<script src="https://gnat.github.io/css-scope-inline/script.js"></script> | |
<script src="https://gnat.github.io/surreal/surreal.js"></script> | |
</head> | |
<body> | |
<style> | |
* { box-sizing: border-box; } | |
html, body { width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; } | |
body { font-family: system-ui, sans-serif; perspective: 1500px; background: linear-gradient(#666, #222); } |
This file contains 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
#!/usr/bin/env -S bash -c "podman run -p 8080:8080 -it --rm \$(podman build --progress plain -f \$0 . 2>&1 | tee /dev/stderr | tail -n1)" | |
# syntax = docker/dockerfile:1.4.0 | |
FROM node:20 | |
WORKDIR /root | |
RUN npm install sqlite3 |
- Use Bottles flatpak.
- Before Install
- Menu
▶️ Runners▶️ Get the latest GE Wine
- Menu
- Install
- Custom
▶️ Select latest GE Wine - Click new bottle
▶️ Dependencies- atmlib
- msxml3 msxml6
- vcrun2008 vcrun2010 vcrun2012 vcrun2013
- Custom
- Expose directories to flatpak
Sublime in 2023 only has "Save on Build" not "Build on Save" built in.. use: https://github.com/alexnj/SublimeOnSaveBuild
- Tools ➡️ Build System ➡️ New Build System...
{
This file contains 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
<html> | |
<head> | |
<title>Inline real time stylus demo</title> | |
<script> | |
function stylus_to_css(string){ | |
var cursor=0 | |
// Remove excess indentation (dedent). | |
var indent='' | |
while (cursor < string.length) { |
A universal project layout that can work for websites, games, apps, and more.
- [project group] - Umbrella name to contain a number of projects (ex: "widget company")
- [project name] - (ex "website", "app", "documentation")
/notes
- Related or "also" files that do not have a home. Documentation, images. The projects' scratch pad.
- [project name] - (ex "website", "app", "documentation")
/public
- Web server will it will point here (like/www
). Often contains assets. Complete builds can go here.
Why?
- Localize your database into one single folder of your choosing.
- No sudo / root requirement.
- Run multiple Postgres at the same time on the same machine- Full bare metal performance.
- Postgres is a great starter before moving to "slow single machine but horizontal scale": CockroachDB, ScyllaDB, etc.
- Writes at scale require partitioning (aka sharding) CockroachDB is automated partitioning.
- Make your life easy by avoiding
SERIAL
andAUTO INCREMENT
from the start.
- Make your life easy by avoiding
SERIAL
orAUTO INCREMENT
ID's become very slow at scale.- A cluster has to ask "what's the next available id in the sequence?" = huge contention.
- Unique consensus is bad enough, but unique consensus that also has to wait for the previous sequence number = really bad. Turns into a queue.
- A cluster has to ask "what's the next available id in the sequence?" = huge contention.
- Time-based ID's are fast at scale.
- No waiting in a queue. (At worst, may only need to do a unique consensus.)
NewerOlder