prologic

twtxt.net

No description provided.

Recent twts from prologic

@hacker-news-newest@feeds.twtxt.net I find it interesting to learn just how much the Go compiler can “optimize your code away”. That’s both good and bad.
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?

⤋ Read More
In-reply-to » Can't wait until this site joins the trend and becomes "y.com" - the everything protocol.

Just what the world of humans ordered! 🤦‍♂️ A single app owned and controlled by a single corporation that controls every aspect of your life! 😱 – Do we believe Elon Musk is hell bent on becoming the world’s most ruthless dictator yet?’ 🤔

⤋ Read More
In-reply-to » ASCIIFlow This is kind of cool 😅

@abucci@anthony.buc.ci Yeah! 🤣 Sadly I’ve had to take down the tldraw instance. a) it’s super old and b) for some reason it requires 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)

⤋ Read More
In-reply-to » ASCIIFlow This is kind of cool 😅

Unfortunately the resulting Docker image for the older version of tldraw is 1.7GB 😱

$ 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"]

⤋ Read More
In-reply-to » ASCIIFlow This is kind of cool 😅

I was able to get an instance of excalidraw up and running at draw.mills.io using the official image they provide; sadly however:

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.

😢

⤋ Read More
In-reply-to » I need to do a big rewrite on how the yarn desktop client handles the status widgets, this is because I want links and such, and to do that I have to rewrite the status message code, it takes a bit if time to do it, but I kinda know what to do - I just need to dive in and get it done. Been thinking about it for a while, I think it's time to get started on it. Also makes the code much cleaner then what it is now.

@stigatle@yarn.stigatle.no Trying to figure this out… Writing up a wiki page on this. Having a bit of trouble though as I’m getting a 400 Bad Request for some reason and I’m not sure why 🤔 (yet)

⤋ Read More
In-reply-to » "Web Environment Integrity" is Google's fancy name for closing the web in a DRM scheme. The internet found out, started questioning in github issues ans pull requests... and now the repository is worth reading with a popcorn bucket on your lap.

@marado@twtxt.net I 100% agree on the sick perverted goals of these large corporations, who let’s be honest are really running/owning the world right now. But I’m not so convinced that adding Website to Browser integrity and attestation would “break the web” per se, the Web is built on open protocols. This would just further fracture the Web even more. Just like all this (the fudd has died) “blockchain” / “web3” crap 😅

⤋ Read More
In-reply-to » Anyone got any cool shit™ to watch on Youtube? 🤔 One of the biggest downsides of all this streaming crap is that once you watch one thing, it fills your list with other similar things to that one thing. After awhile you get tired of the same shit™. Maybe it's just me, but I cannot stand this algorithmic garbage content shoved in your face.

@lyse@lyse.isobeef.org Thank you! 🙇‍♂️

⤋ Read More
In-reply-to » I need to do a big rewrite on how the yarn desktop client handles the status widgets, this is because I want links and such, and to do that I have to rewrite the status message code, it takes a bit if time to do it, but I kinda know what to do - I just need to dive in and get it done. Been thinking about it for a while, I think it's time to get started on it. Also makes the code much cleaner then what it is now.

@stigatle@yarn.stigatle.no I can do that👌

⤋ Read More
In-reply-to » I need to do a big rewrite on how the yarn desktop client handles the status widgets, this is because I want links and such, and to do that I have to rewrite the status message code, it takes a bit if time to do it, but I kinda know what to do - I just need to dive in and get it done. Been thinking about it for a while, I think it's time to get started on it. Also makes the code much cleaner then what it is now.

@stigatle@yarn.stigatle.no Would it help with improvements to the API? 🤔

⤋ Read More
In-reply-to » Just compiled the Yarn desktop client on OpenSuse, was no issues getting it to run there, I love how portable it is. I initially wanted to run OpenBSD on this laptop, but it would not detect wifi, which is a dealbreaker for me, so I installed OpenSuse tumbleweed instead, and will run OpenBSD in a VM and try from there instead.

@stigatle@yarn.stigatle.no Nice 👌

⤋ Read More