Hacker Newsnew | past | comments | ask | show | jobs | submit | brachi's commentslogin

My sign is vital


my hands are cold


Go back to Reddit, jeez.


I don't find it that crazy, if properly compiled with web assembly. The thing is that Blender's UI is all synchronous python, so, yeah, that and the addons system would be to need rewritten. Python in the browser is a no-go performance-wise, of course.


> Python in the browser is a no-go performance-wise, of course.

"Running the Python interpreter inside a JavaScript virtual machine adds a performance penalty, but that penalty turns out to be surprisingly small — in our benchmarks, around 1x-12x slower than native on Firefox and 1x-16x slower on Chrome. Experience shows that this is very usable for interactive exploration."[1][2]

[1] https://hacks.mozilla.org/2019/04/pyodide-bringing-the-scien... [2] https://alpha.iodide.io/notebooks/300/


So, an already slow language made slower?

No thanks.


The main point though, is that running Python in the browser it's an unnecessary abstraction because you get a crappier version of something that runs pretty well natively. If you're starting from scratch, I think that the browser might be close to native performance in some tasks. Porting existing applications is a pain when you start looking into the details.


The problem is not so much the run-time performance of the code, it's the overhead of loading the Python run-time environment over the network the first time you open the page.


just of out of curiosity, what size was your droplet and how was your asgi config?


had it on a $5 vps with a single worker, bumped it up to a 3 cpu vps and 8 workers. This is using starlette + uvicorn + redis


Reading these kind of anecdotes makes me wonder why is this legal or at least opt-in.


My TV made me accept a terms of service agreement on first boot.


That (on its own) doesn't mean that it's legal, I'd imagine. At least in the EU, doesn't GDPR prohibit such non-choices?


It does now but it's possible it was bought before that time.


Thank you. I'm finding it fascinating.


- use certbot from letsencrypt to setup https - you could start the app immediately without having to decide the name (e.g. assign a random name). Only when/if I want to share it, then I can think of a name


Thanks for the hint, I'm a frequent certbot user, I released this overnight and got a complication while mounting one of the servers and didn't bothered to fix it and just released the app.

Hopefully I'll apply this and other changes in the following days.


You mean in platforms like F-droid, or in random apks downloaded from random websites?


> With Dolt, you can view a human-readable diff of the data you received last time versus the data you received this time.

How is this accomplished if the data is binary?

Also, how does this compare to git lfs?


No data diffs is the data is binary. But diffs are cell-wise like so: https://www.dolthub.com/repositories/Liquidata/corona-virus/...

git-lfs lets you put store large files on GitHub. With Dolt, we offer a similar a similar utility called git-dolt. Both these allow you to store large things on GitHub as a reference to another storage system, not the object itself.


I'm pretty satisfied with the minimalism of pass, and thought of asking this question. The documentation is also pretty good.


I personally didn't find pass to be minimal enough (not all POSIX-y systems use bash as /bin/sh, after all), which is why I switched to pash [0]. I created some shell functions to integrate it with fzf and support multiline passwords (in which the first line is the password and following lines contain metadata like usernames). The code is in my dotfiles [1].

[0]: https://github.com/dylanaraps/pash

[1]: https://git.sr.ht/~seirdy/dotfiles/tree/master/.config/shell...


pass is great. sops by Mozilla is pretty sweet too.


> Once addicted we have a perfect selection of deep dive tools available in Waveform Pro to take you to the next level.

I like the honest and careful selection of words in advertisement.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: