Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jlongster
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
jlongster
7y ago
You can enable "node integration" with any renderer process and call node from their. But you definitely should not enable it in your primary renderer process if any untrusted code is running their (if you pull in any JS from anyw
62.
▲
by
jlongster
7y ago
The web's offline support sucks, and don't tell me to use service workers. Actual is a truly offline 100% local app. Most users love that they can simply launch a desktop app and it always runs no matter their network connection.
63.
▲
by
jlongster
7y ago
Linux support was added in 0.0.99! See here (and download it): https://github.com/actualbudget/releases/releases/tag/0.0.99 Somehow that card didn't get moved to done, sorry! Let me know if it doesn
64.
▲
by
jlongster
7y ago
I just tried to get started with tclkit to try it out. The first result for "getting started tclkit" has links with 404. I was able to download a prebuilt binary for macOS which does run, but I can't find any clear tutorials
65.
▲
by
jlongster
7y ago
? A local webview usually means that it reuses the user's already installed browser and uses that instead.
66.
▲
by
jlongster
7y ago
I agree with this too but this problem can be addressed by caring. I care. You can find a bunch of non-native interactions in my app but every time I work on it I make it better and implement more of a native feel (like disabling selecting
67.
▲
by
jlongster
7y ago
That's a very cool project (I've used OCaml before) and I hope it takes off. I should try it, but I admit I'm a little skeptical because there are so many details to get right like focus management, accessibility, and more. U
68.
▲
by
jlongster
7y ago
Whatever it ends up being it has to be web-based. I'm definitely not going to rewrite the app. However, if something were to come along that uses the user's local webview instead and provided a way to bundle a node server with it,
69.
▲
by
jlongster
7y ago
I would easily forego the niceties explained in the article if it meant there were something better. The main reason to use Electron is that I can have happy macOS, Windows, and Linux users. Apps that focus on a single platform are exclusio
70.
▲
by
jlongster
7y ago
The 230MB (not 300MB) is from my real app Actual. The example project uses much less because it does nothing except start electron, which looks like it uses about 80MB baseline.
71.
▲
by
jlongster
7y ago
I don't actively use typescript, the example is focused solely on the architecture for adding a background process. Typescript seems like a separate concern?
72.
▲
by
jlongster
7y ago
Oh, yeah that's stupid. cmd+r or ctrl+r for refreshing doesn't even work in my electron app because it doesn't make sense for a desktop app.
73.
▲
by
jlongster
7y ago
I don't get what you are saying. Using 230MB of memory for a very data-heavy app is already somewhat reasonable, and more advanced optimizations are going to require more advanced engineering. It's the same thing with any app, as
74.
▲
by
jlongster
7y ago
My guess is Slack likes to keep pages around, and each workspace is a separate page that are individually pretty heavy. So if I'm logged into 4-5 workspaces that adds up quick. Slack does not use the OS webview, it is Electron. I don&#
75.
▲
by
jlongster
7y ago
I completely agree! Are you referring to the "ctrl-r" to reloading the server in the article? That's only for development - the user never has to refresh the app like that of course!
76.
▲
by
jlongster
7y ago
I'm the author of the post and I should also say that I don't love Electron. It's a practical choice for getting an app of the ground, but I want something more lightweight eventually. I see it as a stop-gap until I can inves
77.
▲
by
jlongster
7y ago
Did you read the article? It says 230MB for starters, you're clearly trying to paint it negatively. And the first thing it says after that is "still not ideal". Looking around at other native apps and at rest they are consumi
78.
▲
Doing work locally minimizes problems with Electron apps
(jlongster.com)
285 points
by
jlongster
7y ago
|
241 comments
79.
▲
by
jlongster
7y ago
Spectrum is good for lightweight communities but it is nowhere near the capabilities of something like Discord, which something as big as the Mozilla project needs.
80.
▲
by
jlongster
8y ago
Yeah, I about an EV cert from digicert for ~$100/year. People pay >$600/year?? What? I never even saw those prices! Not sure how I landed on digicert but I think it was a Microsoft article listing where to get EV certs.
81.
▲
by
jlongster
8y ago
This is a basic architectural difference. I'm comparing apps that store your data locally to apps that store your data in the cloud. It's a well-understood difference that the former (with end-to-end encrypted syncing) absolutely
82.
▲
by
jlongster
8y ago
Just a quick follow-up: I'm already working on migrating the data to DynamoDB which will automatically encrypt the data ( https://docs.aws.amazon.com/amazondynamodb/latest/developerg... ). This will go live soo
83.
▲
by
jlongster
8y ago
Yes, you are right. First of all, we're not talking about things like banking passwords or even account numbers, only transactions that you've been charged. But most importantly: this is completely opt-in. If you don't trust
84.
▲
Show HN: Actual Budget, a finance app I built over the last two years
(actualbudget.com)
9 points
by
jlongster
8y ago
|
8 comments
85.
▲
by
jlongster
8y ago
It could rewrite it like that, yeah, but sweet renaming all collided variables, likely to make it clear that they collided. It doesn't try to keep the distinction between what a macro introduced and what was already in scope (not worth
86.
▲
by
jlongster
8y ago
Macros cannot reach back like that, no. The renaming of the variable is due to sweet's hygiene system that operates on the program as a whole - if two variables with the same name exist in the same scope it will rename them to ensure u
87.
▲
by
jlongster
8y ago
I'm the founder of Actual, a budget system that I want to be easy to pick up but also informative: https://www.producthunt.com/upcoming/actual It's a completely local and free app. Sign up and I'll be se
88.
▲
by
jlongster
8y ago
Does this support converting an existing LLC into one that Atlas would set up?
89.
▲
by
jlongster
9y ago
Node doesn't have "web workers", so I'm not sure what you mean. Node doesn't come with threading support as far as I know; it's single-threaded by design, but there may be libraries that try to implement it.
90.
▲
by
jlongster
9y ago
The fear is justified that somebody would naively use this library on a network-heavy app and block the event loop. The readme should probably do a better job describing how this should be used. It's not too hard to run it in a separat
More ›