HNHacker News
TopNewBestAskShowJobs

turblety

2,153 karma · joined March 31, 2016

submissionscomments
turblety··on Show HN: Rem: Remember Everything (open source)
It's interesting that as someone who seems to care about privacy and security, you would use a closed source, web browser (Arc Browser).
turblety··on Apple unveils M3, M3 Pro, and M3 Max
> Now I think AMD and Intel caught up enough

Interesting. I don't really like Apple, mainly because of how they handle the app store vendor lock in stuff, and I hate macOS. But I use an M2 MBP purely because I can't find any other laptop that has the same fast performance, long battery life, quiet fan noise, no heat.

Can you recommend an AMD/Intel or anything that comes close? I'd switch in a heartbeat. The closest that comes to mind is the ThinkPad X13s.

turblety··on Chromebook Plus
Such a shame this isn't ARM, and they stuck with Intel. The battery life vs performance is just too good.
turblety··on Google Chrome pushes browser history-based ad targeting
Please, do not use Vivaldi or any other closed source, secret codebase browser.

Can you imagine signing into your bank with a closed source browser.

turblety··on Authentication on meet.jit.si
I'm certain this is just an excuse so they can monetize and then sell out.

First step auth, second step payments/subscriptions/premium/whatever, third step sold to a big corp where it will be destroyed.

But anyway, for anyone wanting an alternative peercalls has been really reliable for us.

turblety··on British Gas starts to turn off Hive smart home devices forever
I went all in on the Hive system (heating, cameras, etc) and have only negative things to say about the entire company. Even for their heating systems, do not use them. Don't take my word for it. Go and look at the app reviews. The app is buggy, barely functional and their support is incompetent. Frequently, I'll turn the heating on and the app will (after about 10 seconds) show it's worked. I'll turn off my phone and wonder why the house is still cold. Open the app, and yeah, it didn't actually turn on.

The UX is very clunky too. They've tried to make this "app/phone" like dashboard, where you can drag and drop devices into pages. But it's completely broken (on Android, but looking at the reviews, I assume iPhone too). When scrolling/swiping the page just get's stuck half way through.

Every update makes the lag/delays and errors more frequent.

turblety··on Docker Acquires Mutagen
Ahh cool, I look forward to Docker, Inc. destroying yet another company.

Yes. I'm still bitter about Tutum. Absolutely loved Tutum.

1. https://techcrunch.com/2016/01/21/docker-acquires-unikernel-...

2. https://techcrunch.com/2015/10/21/docker-acquires-cloud-star...

3. https://thenewstack.io/docker-acquires-sdn-technology-startu...

4. https://www.businesswire.com/news/home/20150312005148/en/Doc...

turblety··on Vicuna: An open-source chatbot impressing GPT-4 with 90% ChatGPT quality
> In our first release, we will share the training, serving, and evaluation code. We plan to release the model weights by providing a version of delta weights that build on the original LLaMA weights, but we are still figuring out a proper way to do so. Join our Discord server and follow our Twitter to get the latest updates.

Please correct me if I'm wrong, but it seems like this is not actually an open-source model? As in, I can't download and run this on my own laptop?

> The cost of training Vicuna-13B is around $300. The training and serving code, along with an online demo, are publicly available for non-commercial use.

However, if this is true, it seems pretty cool if I can train a GPT4-like model for only $300. Is this as easy as cloning a repo and running it on an AWS GPU instance?

turblety··on Tell HN: Gitlab Premium pricing increases incoming $19 to $29
Yeah, same. I could never use a service that will just arbitary ban any legal and legit project type, just because of the owners bias.
turblety··on The Lapdock Kit
I ordered mine on June 2019. Still haven't received anything. It's seriously put me off buying anything else from Purism.
turblety··on Yes, Crypto Is All a Scam
Ransomware has been happening long before [1] crypto existed. Maybe a similar, but also ridiculous, statement would be:

> Ransomware was made possible by computers so.. uhm.. there's that.

1. https://www.crowdstrike.com/cybersecurity-101/ransomware/his....

turblety··on Over the past 21 months I’ve written a code editor from the ground up
What if you're not building a browser app. For a server side, NodeJS app? Sure, you can add a build step on the back end, but that's not free, as it comes with setup, having to run a transpiler before your code.

Also, using esbuild to transpile your TS will not actually check the types. It just transforms it back to JS. For typescript, you really need the official library which is slow and bloated.

turblety··on Pwning the all Google phone with a non-Google bug
Can you not use CalyxOS [1]. It relocks the bootloader, although it doesn't come with any of the Google proprietary stuff.

1. https://calyxos.org/

turblety··on Ask HN: How do you deploy your side-projects?
If it can be a static site, then I build the site using GitHub Actions, and then use GitHub Page to serve. I absolutely love GitHub Actions and the speed of which it can build my site, and the syntax of the config is bliss.

I don't really like any of the static site generator's out there, so I just build an ejs site and parse it using a project I built called statictron [1]. I'm using it for a site [2] I'm building at the moment, and it's a pretty smooth and cleap deployment. I did end up pushing the files to bunny.net (a EU based CDN), as its surprisingly much faster than GitHub pages. But I'm just being picky, as Pages is practically more than fast enough.

For anything that requires server side hosting, render.com is great, or digitalocean if I want something I can control more. I don't really want to buy into the whole ecosystem of things like Heroku, GCP, AWS as I like to make sure I can leave when/if they do bad things.

I'm also increasingly moving stuff back to dedicated hosting. I do try and automate as much of the deployment stuff as possible, and use docker to wrap the services.

It's actually amazing how much cheaper a dedicated server is, vs cloud companies, once you're using more than a few services. I'd normally say one of the benefits is your DevOps teams should be cheaper, but in the end I've found the teams that would be managing the dedicated servers, end up being just as big to support the cloud infrastructure platforms.

[1]. https://github.com/markwylde/statictron

[2]. https://github.com/markwylde/webcodeup

turblety··on Vivaldi integrates Mastodon in its desktop browser
I'm sure everyone here knows, but just posting to make sure no one misses out.

Please don't use Vivaldi. It is a closed source browser [1], and as such we have no way of validating they have not put backdoors, spyware, telemetrics to send private details such as your bank details, website logins, Google account, etc.

Stick with open source browsers, who's code is verifiable, especially for something as important as a web browser.

[1] https://vivaldi.com/blog/technology/why-isnt-vivaldi-browser...

turblety··on Show HN: Run unsafe user generated JavaScript in the browser
It's a really good question, and I originally [0] actually had some code that would randomise the sub domain. You can still do this if you host it yourself.

But I think it's probably not nessisary so long as your users are not using indexDB (or any other data storage on that domain), as there should be no other way for the web workers to communicate with each other.

0. https://github.com/markwylde/workerbox/blob/master/lib/index...

turblety··on Show HN: Run unsafe user generated JavaScript in the browser
There is vm2 [0] for nodejs, but if you look at the issues there are escapes found occasionally, even some this year. I think it's too risky to run untrusted code on node.

You could run a headless chrome using puppeteer, then run workerbox. But it's probably too much overhead for a server app.

Oh, if you're making a form builder, I have to recommend json-editor [1]. It's not mine and I haven't actually used it just (I've only found really recently), but basically you give a JSONSchema and it will make a form for you, with validations and conditionals all built in. Might come in useful.

0. https://github.com/markwylde/vm2-process

1. https://github.com/jdorn/json-editor

turblety··on Show HN: Run unsafe user generated JavaScript in the browser
It's actually possible to do it with a library called Duktape [0].

But yeah, I get it would be super slow, and create a huge wasm file for the client to download.

0. https://duktape.org/

turblety··on Show HN: Run unsafe user generated JavaScript in the browser
Ahh really interesting. Yeah I think (hope?) one benefit of using a web worker should be if anyone writes some blocking code, it will not hold up the main web page thread. Also, as web workers can be terminated, if they run too long the main thread can just kill it.

I'll have to read up more about the portal-sdk to see if there's any other stuff on there that could be helpful building a plugin system. Thanks.

turblety··on Show HN: Run unsafe user generated JavaScript in the browser
Realms look really amazing. I'm going to keep a close eye on this. Stage 3 sounds promising.
turblety··on Show HN: Run unsafe user generated JavaScript in the browser
I'm not too sure right now about the design of the plugin system, but I'm thinking it'll just be setting a bunch of JSON data, declaring how elements/menus/pages will behave. Still need to work on this part.
turblety··on Show HN: Run unsafe user generated JavaScript in the browser
Thanks for sharing the link. That was an amazing read. I originally tried the proxy method (I didn't know about Realms though, they seem cool), and I think I got pretty far. At least, I couldn't find a way to get to the constructor, and access the main scope.

But I'm just not confident you can really isolate code on the same domain that your main code run's in. That's why I ended up moving to a web worker on a different origin. It also comes with the plus that you can kill a hanging web work, as it's run in a different process.

Going to be keeping a close eye on Realm though!

turblety··on Show HN: Static Site Generator to build JavaScript playgrounds
Really cool. Kinda reminded me of flems.io.

I know it's not nessisarily the scope of your project, but it would be cool to have this deployed on a site that you can:

- create a new project

- save changes as a hash to the url

- have a preview only mode (which hides the code)

- export the site as a zip

Looks nice anyway! Well done :)

turblety··on A Decentralised Social Network
I'm not sure if maybe https://yarn.social/ would be a better link to share.

twtxt.net is one of the pods run by the project lead of yarn.social.

turblety··on Multiple assertions are fine in a unit test
Yup, it's why I built `just-tap` [1] which trys to minimise as much magic that a lot of these frameworks try to "help" you with.

1. https://github.com/markwylde/just-tap

turblety··on Snap Store administrators removed signal-desktop from Ubuntu Snap
No one knows [1], except Snap. Not even the maintainers :(

Snaps response [2] seems to be:

> I understand the sudden move of signal-desktop can be disruptive for people wishing to install this package. Just to confirm the reason for the absence - Snap Store administrators had to remove the snap in accordance with our policies. We hope to have it back shortly.

1. https://github.com/snapcrafters/signal-desktop/issues/70#iss...

2. https://forum.snapcraft.io/t/what-happened-to-signal-desktop...

turblety··on Snap Store administrators removed signal-desktop from Ubuntu Snap
I really despise the idea/existence of app stores.

Why can't a publishers website be their store front, then from that site, you can run (or "download"/"install" if you must) the app?

Technically it looks like that would actually work [1]. They could host the `.snap` file. Although I'm sure snap will add friction to this (as in, not simple let you open and click "Install") from a downloaded snap file, as they probably want you to use their app store.

1. https://github.com/snapcrafters/signal-desktop/issues/70#iss...

turblety··on Show HN: A JavaScript test runner that works in any JavaScript runtime
Hi. I built a test runner that doesn't have a lot of the features other test runners have.

Why?

Most test runners include a lot of features and do a lot of magic.

They automatically (magically?):

- search and include test files

- run the tests for you

- inject test methods like `describe`/`it`

- add a hooks system for managing `before`/`after` events

- use cli's to manage the auto inclusion of the test runner

- use event systems for capturing when tests fail/succeed/finish

These features can create a great foundation for writing and running tests, but they also come with their own management and overhead.

This library aims to provide a bare bones test runner with zero magic.

As such, it can run in a web browser, nodejs, deno or any other javascript interpreter.

It's also pretty fast, small and has zero dependencies;

turblety··on React I love you, but you're bringing me down
I've used Mithril [1] for years for my personal projects, and React (unfortunately) for my day job.

I wish I could write everything with it.

1. https://mithril.js.org/

turblety··on Cache your CORS
It's 44kb. Although I'm sure it could be made much, much smaller.
← PreviousPage 5 of 12Next →