fsjohnny.sol 🤖 (@FullStackJ) header
fsjohnny.sol 🤖 (@FullStackJ) profile picture

Building 🤫🤫 | Software Engineer @FireblocksHQ | Loves to talk about Rust 🦀 / TypeScript / JavaScript / WebAssembly / Web3

Joined May 2014
Replying to @GamewithDave
Hands down one of the best adventure games ever
2
7
1,292
Next, add a bundling parameter to your Lambda definition which will set a loader to the .node file created by Yarn for the correct architecture and force the Docker to bundle:
1
48
Start by adding a .yarnrc.yml file to define for which Architectures should yarn install packages:
1
9
When deploying to Vercel make sure to add the copy:wasm script to the install stage.
41
Once everything is ready encode your canvas to a base64 encoded image and send it back. Big success 💰!
1
1
49
If you wish to draw an image, get its raw buffer with `readFile` first, then decode it to an Image object, and finally draw it on the canvas with `drawImage`:
1
12
Next, create a canvas and a context and go nuts!
1
11
Add a copy script to your package.json. If you wish to copy to a different location than static/wasm just change the folder on the script and on the route.ts above
1
19
Once installed, import `CanvasKitInit` and initialize it as follows (notice the localFile we are specifying. We will create a script to copy the wasm to this location next) :
1
20
Replying to @jamesqquick
Got to be my Lofree transparent mechanical keyboard ⌨️
1
2
148
Replying to @_buildspace
Thanks to all the comments on the stream yesterday, made some adjustments to the idea slide - hopefully its clearer now.. hit me with your comments :D
1
24
For S4 of @_nightsweekends I want to build a blockchain based sharing platform(text/images/whatever) where you can truly be yourself, completely anonymously.. What do you guys think? cc: @_buildspace
4
5
179
Guess who got accepted to Nights & Weekends S4?? LFG! Thanks @_buildspace!
1
67
Replying to @onlyachiurizo
@onlyachiurizo has joined the vibelist 🤙
1
20