HNHacker News
TopNewBestAskShowJobs

zenosmosis

14 karma · joined June 28, 2018

submissionscomments
zenosmosis··on Clipboard: Cut, copy, and paste anything, anywhere, all from the terminal
This is interesting, I'd like something like that as well.

I'm doing some experimentation with something sort of along these lines via WebRTC.

zenosmosis··on Ask HN: What is your favorite front end state management solution?
I'm not sure if this was a serious comment, but that sounds like a massive amount of performance overhead.

A way to optimize that approach substantially, while keeping everything else mostly the same, would be to have a setter on the global object, and only re-render the root component when that setter has updated the state.

My suggestion is not a very optimal approach, but probably a lot better than the continuous state loop.

zenosmosis··on Ask HN: What is your favorite front end state management solution?
I prefer sticking w/ the basics and using EventEmitter.

https://speaker.app has a UI I've been prototyping w/ this approach.

zenosmosis··on Docker on MacOS is slow and how to fix it
I use Docker inside of Parallels running Linux and get far better performance than Docker Desktop.
zenosmosis··on Twitter will make an alternative phone if AppStore and Google boot it
Just make a PWA instead.
zenosmosis··on Hey Elon, Twitter isn't a startup
I am just stating obvious facts. You are trolling.
zenosmosis··on Hey Elon, Twitter isn't a startup
His companies were the first to land rockets and make the electric car popular. I am not saying he knows everything, but I am sure he can fix a website given a bit of time.
zenosmosis··on Ask HN: How to write good developer documentation
I find that Docusaurus docs usually are the easiest to follow when consuming them but I have no experience with creating them: https://docusaurus.io/
zenosmosis··on Hey Elon, Twitter isn't a startup
One interesting dynamic here. Literally everyone who tries to give him advice has less money than him.
zenosmosis··on Apple Deletes All Tweets
This is a dupe and spparently they don't tweet.
zenosmosis··on Ask HN: Smoothest way to Remote Desktop from a Mac to local headless Ubuntu box?
I use a remote Mac and use the built-in screen sharing over VNC to help me set up NoMachine, which offers a much better experience.

I am not affiliated with them but have used them for years and have generally been very happy with it.

Plus you can share drives and USB devices over network.

zenosmosis··on [dead]
Sometimes you may need to write code which runs in a browser as well as Node.js, and most test runners do not support this functionality out of the box, in order to run unit tests across all environments without duplicating the tests per environment.

So I made a little project with the number one goal of being a "ubiquitous" test runner, running tests against real browsers as well as Node.js w/o modifying tests to run between environments.

https://github.com/zenOSmosis/karma-jasmine-typescript-boile...

https://dev.to/jzombie/test-in-nodejs-and-in-browser-with-th...

zenosmosis··on Available Today: Windows Dev Kit 2023 a.k.a. Project Volterra
Cloud gaming is an option as well.
zenosmosis··on Ask HN: What Is Serverless
True, and if they play online video games, they probably know as well.
zenosmosis··on Apple is quietly pushing a TV ad product with media agencies
I'm in Nicaragua and have a $10/mo. HBO Max subscription which includes Rick and Morty.
zenosmosis··on GitLab will be deleting dormant projects
Thanks for clarifying this.
zenosmosis··on Winamp 5.9 RC1 Released
Great to hear Winamp is still being maintained.

One slight suggestion to this link is that it have SSL. It seems the benefits of SSL far outweigh the cons, especially when certs can be obtained for free via the likes of Let's Encrypt and the auto-renewing automatically maintained w/ something like: https://hub.docker.com/r/linuxserver/swag

zenosmosis··on We Put Half a Million Files in One Git Repository, Here’s What We Learned
I am curious why git modules couldn't be used here, and perhaps scripted to match particular workflows.
zenosmosis··on I live in the country with the most expensive Apple products on the planet
I live in Nicaragua and they are pretty expensive here. 14" Macbook Pro with M1 Pro, 16GB / 1TB set me back $3350 USD.
zenosmosis··on Node.js is finally going to get the fetch API
I somewhat agree with this sentiment (thought about it before as well), though I now tend to think of it as something like "fetching" the result of a given call, regardless of the operation type.
zenosmosis··on Pattern Matching in TypeScript
Looks like you've done some homework here.

Just a quick note: I followed through to the article on https://fatih-erikli.com/pattern-matching-in-typescript.html and noticed the useEffect call doesn't define a dependency array (not even an empty one), which I believe will make the addEventListener add new listeners on every render. Having a removeEventListener on the return of the useEffect would also ensure it gets cleaned up, if pointed to the same event name / handler.

I assume it was just for illustrative purposes, but felt like I should point it out, regardless.

zenosmosis··on Principles for the Metaverse
+1 for "...Zuck decided to rename his shitty website from Facebook to 'Meta.'"
zenosmosis··on [dead]
Yeah, good luck with that.
zenosmosis··on Ask HN: Did y'all change how words wrap?
It's likely a CSS rule.

For example, look at word-break: https://developer.mozilla.org/en-US/docs/Web/CSS/word-break

zenosmosis··on Show HN: Imba – I have spent 7 years creating a programming language for the web
Beautiful project.

Imba website looks great and the code examples explain it well. The React-like server-side rendering with the .html imports is phenomenal!

zenosmosis··on Amazon, Apple and Google unite to certify smart home devices
Lets wait a few years and see how this actually plays out.
zenosmosis··on Ask HN: Do you consider Standard.js a real standard?
Wonder if it makes any difference that the notice is buried 1/4 down the README instead of prominently displayed at the top.
zenosmosis··on Ask HN: Do you consider Standard.js a real standard?
Someone opened a GitHub issue calling it "pretentious" and asked to rename the project but it got closed w/ a "U Mad Bro" response: https://github.com/standard/standard/issues/1609

Maybe that makes it officially a standard after all.

zenosmosis··on 48K WebRTC Audio Lounge (open source)
https://speaker.app, an experiment that uses a web browser for an MCU / SFU.

https://github.com/zenOSmosis/speaker.app

zenosmosis··on Webtops: A Linux Desktop Environment in the Browser
Nice. I am a big fan of your swag repo for LetsEncrypt certs and have been exploring browser-based Linux desktops for several years and will give this a go.
← PreviousPage 2 of 3Next →