Lurker News
I love asking new colleagues this question, figured I would open it here as well.

What are you surprised isn’t being worked on more?

Comments (1,239) 188 threads

Earlier comments
denimnerd421 reply#
yeah why is pagination on HN so bad I've hit more 4 times to see your comment.
rhizome#
Moreso: does ">>" mean "go to the end" or "skip 10 pages ahead?"
kethinov7 replies#
Building a shared runtime for Electron so that each Electron app no longer needs to bundle Node.js and Chromium. It would significantly improve the performance of a framework now used by countless apps. So far as I can tell, this has been on the back burner of the Electron team for many years. I'm surprised it's not a higher priority.
thelastbender121 reply#
The webview project fills some of this need, correct? I didn't start using one yet but there were multiple GUI projects leveraging it to create cross-platform application binaries.

Link - https://github.com/webview/webview

ta988#
Couldn't that just be made with a browser that would allow to be run in a runtime mode with limited features?
modeless3 replies#
This already exists: the browser is the shared runtime. What needs to happen is everyone shipping Electron should instead ship a local HTTP server and open the user's default browser to run the UI. You can hide the browser chrome and make real top level windows by making your app a PWA. Anything else that needs to happen outside of the browser sandbox can be handled by the local server.

The only disadvantage is you lose control over the browser version that's running, but you also lose that with a shared runtime (unless every app pins their own runtime version which defeats the purpose of sharing). Besides, most Electron apps also have a web version that has to support all browsers anyway. The advantage is you seriously reduce the disk and memory footprint of your app and shed the responsibility of shipping prompt patches for Chromium security issues.

mceachen1 reply#
> should instead just ship a local HTTP server

and a Node.JS runtime, and native libraries to support menubars, system trays, dialogs that support folder selections, native drag and drop for all file types, ...
I agree, though: if the electron app doesn't need any of these things, it really shouldn't pull in the entire electron runtime.

modeless1 reply#
Node is a lot smaller than Chromium. Even if the app does want some of the other things you list, it's possible to do all of them from the server, and it'll remain a fraction of the size of Electron.

Continue this thread — 1 reply

mkl1 reply#
With a local server, how do you avoid Windows's scary confusing firewall prompts? I'm sure they cost users, and for a local app they don't make sense. Is there a way to make your server local-only that will prevent them?
modeless#
You can bind to the loopback interface so the server isn't exposed to the network. I am not sure if Windows will choose to show the scary dialog in this case. To be absolutely sure, according to Stack Overflow you can request admin privileges (standard for Windows installers of course) and add a firewall rule yourself allowing any network communication you want.
fomine3#
We are losing Chrome Apps.
oblio#
And then you need to have everyone install the runtime. And update it.

And we're back in Java-land, but with HTML instead of Swing :-)
It's nice from a developer point of view but I wonder how many application creators/vendors will actually use it. Most want to control as much of the stack as possible.

trestenhortz#
What electron apps can’t be done as chrome pages with local file system access?
therealmarv4 replies#
Markdown for academic papers. We have this https://github.com/tompollard/phd_thesis_markdown (which is the best template I know and on a personal note I've written my thesis with that too) but the whole ecosystem can be still improved.
therealmarv#
Oh that's also nice. I mean I also like AsciiDoctor. I think this can get close to the link I mentioned. The biggest difference is that the link I mentioned has an example of a real thesis with this markdown toolchain.
jononor#
I wrote my thesis with Markdown, combined with pandoc. Worked out allright. I think Overleaf supports Markdown now as well, which might be a more practical approach for those not familiar with git/make/shell.
torbital1 reply#
Speaking of academic papers, I'd love to see a focus on readability.

So many papers are just too dense for readers outside of the specific field. This can be because of the complexity of the subject matter, but I often notice unnecessary specific vocabulary and over-complicating concepts.
Because of this, it's impractical for the layman to go read academic papers outside of their field. This leads to reading some news article that attempts to summarize it, and we all know that majority of the time it's just the headline that gets read.

alexchamberlain1 reply#
I think that's by design. You could argue that it's a barrier to entry, but I think it's more likely just a means of efficient communication among experts, who already complain there are too many papers to read.
onecommentman#
Boils down to “who’s the customer for the paper?”

If it is a clique of experts, they can do what they want.
If Society is paying for it, then the customer base is arguably larger. But the current incentive system for academics and the like doesn’t reflect the needs of that (generally educated and interested) larger customer base. It’s a happy accident when those needs are met. No easier time in the history of the planet for them to be met.

xavierlint#
In case it's useful, this one seems to have been built specially for that use case: https://www.zettlr.com/
mNovak2 replies#
Packaged 'apps' to run in the cloud.

Rather than everyone selling a SaaS which they're just hosting on AWS anyway, they should just have a one-click install of an instance to my personal AWS. There's really no reason it should be any harder than installing an app to my phone or computer.
I've seen one or two "launch on AWS" buttons about, and they have a marketplace, but clearly these aren't widely adopted or useable.
I think this would open up some interesting opportunities for non-technical individuals and small businesses. Plus then you know you own your data.

ali92hm#
When I worked on Microsoft Azure, my team created many Azure Resource Manager templates that we offered on Azure Marketplace. There was no charge for the software, only the underlying resources that you consumed. While privacy and owning your data was a benefit, this had many more downsides and 99% of our customers were asking us to offer those solution as a managed PaaS offering. First, because the app was single tenanted the cost for most users did not justify the benefits that they were getting from it. Maintenance, trouble shooting, scaling, updating, and support are just few areas to call out where our customers had trouble and wanted us to run everything for them and just give them access.

Of course the customer experience lacked mostly due to the lack of a better platform for offering such "one click to deploy" apps. But still the customer needs to manage the uptime of the system and have on-call engineers who not only are intimately familiar with our software but can quickly identify and fix the issue.

Load more comments