The point on benchmarking the right thing is 100% spot on, same goes for testing too. The optimization problem however is a bit too contrived IMO. When would you possible write code (aside from very trivial things) where the compiler would optimize all your code away, thus making your benchmarking invalid? I want to see a real-world example of where someone has been caught out by this?
The point on benchmarking the right thing is 100% spot on, same goes for testing too. The optimization problem however is a bit too contrived IMO. When would you possible write code (aside from very trivial things) where the compiler would optimize all your code away, thus making your benchmarking invalid? I want to see a real-world example of where someone has been caught out by this?
The point on benchmarking the right thing is 100% spot on, same goes for testing too. The optimization problem however is a bit too contrived IMO. When would you possible write code (aside from very trivial things) where the compiler would optimize all your code away, thus making your benchmarking invalid? I want to see a real-world example of where someone has been caught out by this?
256M
of memory just to start without getting killed?! 😱 wtf?! I wish I was more experienced with this Yarn/NodeJS ecosystem and could wrap my puny little head around this stuff, but I just can't 🤦♂️Thinking of taking down excalidraw too and just leaving wbo up. It's the most lightweight, versatile and "just works"™ -- Even if its missing some things I like out of tldraw (like snapping to grid)
256M
of memory just to start without getting killed?! 😱 wtf?! I wish I was more experienced with this Yarn/NodeJS ecosystem and could wrap my puny little head around this stuff, but I just can't 🤦♂️Thinking of taking down excalidraw too and just leaving wbo up. It's the most lightweight, versatile and "just works"™ -- Even if its missing some things I like out of tldraw (like snapping to grid)
256M
of memory just to start without getting killed?! 😱 wtf?! I wish I was more experienced with this Yarn/NodeJS ecosystem and could wrap my puny little head around this stuff, but I just can't 🤦♂️Thinking of taking down excalidraw too and just leaving wbo up. It's the most lightweight, versatile and "just works"™ -- Even if its missing some things I like out of tldraw (like snapping to grid)
- wbo.mills.io
- excalidraw.mills.io
- tldraw.mills.io
- wbo.mills.io
- excalidraw.mills.io
- tldraw.mills.io
- wbo.mills.io
- excalidraw.mills.io
- tldraw.mills.io
$ docker images | grep tldraw
r.mills.io/prologic/tldraw latest 5b0e374ed1cc 8 minutes ago 1.69GB
if anyone knows anything about this shitty Javascript/NPM/Yarn ecosystem and how to make this smaller, do let me know 😅 Here's the
Dockerfile
:
# Written by Ange Cesari
# Use official Node.js based on Alpine
FROM node:16-alpine
# Install Yarn
RUN apk add --no-cache yarn
# Create dir for application
WORKDIR /usr/src/app
# Copy files from apps/www to workdir
COPY apps/www .
# Change workdir to apps/www
WORKDIR /usr/src/app/apps/www
# Install dependencies with yarn
RUN yarn
# Expose application port (5420 for the tldraw/example)
EXPOSE 3000
# Run application in dev mode
CMD ["yarn", "dev"]
$ docker images | grep tldraw
r.mills.io/prologic/tldraw latest 5b0e374ed1cc 8 minutes ago 1.69GB
if anyone knows anything about this shitty Javascript/NPM/Yarn ecosystem and how to make this smaller, do let me know 😅 Here's the
Dockerfile
:
# Written by Ange Cesari
# Use official Node.js based on Alpine
FROM node:16-alpine
# Install Yarn
RUN apk add --no-cache yarn
# Create dir for application
WORKDIR /usr/src/app
# Copy files from apps/www to workdir
COPY apps/www .
# Change workdir to apps/www
WORKDIR /usr/src/app/apps/www
# Install dependencies with yarn
RUN yarn
# Expose application port (5420 for the tldraw/example)
EXPOSE 3000
# Run application in dev mode
CMD ["yarn", "dev"]
$ docker images | grep tldraw
r.mills.io/prologic/tldraw latest 5b0e374ed1cc 8 minutes ago 1.69GB
if anyone knows anything about this shitty Javascript/NPM/Yarn ecosystem and how to make this smaller, do let me know 😅 Here's the
Dockerfile
:
# Written by Ange Cesari
# Use official Node.js based on Alpine
FROM node:16-alpine
# Install Yarn
RUN apk add --no-cache yarn
# Create dir for application
WORKDIR /usr/src/app
# Copy files from apps/www to workdir
COPY apps/www .
# Change workdir to apps/www
WORKDIR /usr/src/app/apps/www
# Install dependencies with yarn
RUN yarn
# Expose application port (5420 for the tldraw/example)
EXPOSE 3000
# Run application in dev mode
CMD ["yarn", "dev"]
draw.mills.io
, going to put both excalidraw and an older version of tldraw up that I got working (_including collaboration, but sadly relies on a 3rd-party service called LiveBlocks to work, which I have some keys for_)
draw.mills.io
, going to put both excalidraw and an older version of tldraw up that I got working (_including collaboration, but sadly relies on a 3rd-party service called LiveBlocks to work, which I have some keys for_)
draw.mills.io
, going to put both excalidraw and an older version of tldraw up that I got working (_including collaboration, but sadly relies on a 3rd-party service called LiveBlocks to work, which I have some keys for_)
> At the moment, self-hosting your own instance doesn't support sharing or collaboration features.
>
> We are working towards providing a full-fledged solution for self-hosting your own Excalidraw.
😢
> At the moment, self-hosting your own instance doesn't support sharing or collaboration features.
>
> We are working towards providing a full-fledged solution for self-hosting your own Excalidraw.
😢
> At the moment, self-hosting your own instance doesn't support sharing or collaboration features.
>
> We are working towards providing a full-fledged solution for self-hosting your own Excalidraw.
😢
\\--------\\
|\\ |\\
| \\------+--\\
| | | |
| | | |
| | | |
\--+------\\ |
\\\| \\\|
\\---------\|
\\--------\\
|\\ |\\
| \\------+--\\
| | | |
| | | |
| | | |
\--+------\\ |
\\\| \\\|
\\---------\|
\\\\--------\\\\
|\\\\ |\\\\
| \\\\------+--\\\\
| | | |
| | | |
| | | |
\\--+------\\\\ |
\\\\\\| \\\\\\|
\\\\---------\\|
\\--------\\
|\\ |\\
| \\------+--\\
| | | |
| | | |
| | | |
\--+------\\ |
\\\| \\\|
\\---------\|
400 Bad Request
for some reason and I'm not sure why 🤔 (yet)
400 Bad Request
for some reason and I'm not sure why 🤔 (yet)
400 Bad Request
for some reason and I'm not sure why 🤔 (yet)