Hacker News new | ask | show | jobs
by coleifer 3056 days ago
Too bad it's electron. I'm working on a just-for-fun markdown editor using GtkSourceView and GtkWebkit and, despite a slight learning curve getting familiar with gtk, it's been a pleasure to work on. Ugh...electron? Really??
3 comments

Too bad it's GTK, which is an atrocious toolkit. Why didn't you write yours in Qt?

See, there's always more to complain about. I don't think your comment is productive here. Electron is not a perfect choice but what exactly does your comment add to the discussion about "just for fun" projects?

The OP is not singing the praises of Electron, in which case criticism about it would be welcome. They're trying to show off something they built. If a kid shows you a drawing they're proud of, do you criticize the drawing for not having a good color palette? (Rhetorical: It's not appropriate to do so, unless they're specifically asking for that kind of feedback)

> Too bad it's electron.

Thank You for the TL;DR. Hate it too ;-)

I currently migrate from ghostwriter[0] to VNote[1] (both are Qt-based). VNote look very nice, but some refactoring needed + some features (that I'm waiting for) still missed. Hope, VNote development will be active, as it's developer[2] promised on HN[3].

[0] https://github.com/wereturtle/ghostwriter

[1] https://github.com/tamlok/vnote

[2] https://news.ycombinator.com/user?id=tamlok

[3] https://news.ycombinator.com/item?id=16149821

These kinds of dismissive comments make me wonder if the writer ever created anything of substance in their life.

For example, notice how this project is actually accessible for people to try today. Building something in the privacy of localhost is pretty worthless if you think it equips you with the power of judgement. That's the easiest part of building something. Congratulations on your unreleased hobby project that doesn't use Electron.

Let's keep this sort of comment off HN. You'll notice it only squanders interesting discussion from the pool.

In fact, that it's built with Electron suggests that the core can be factored out into a library that you can embed in a website or another project, and that's great.

So, please, spare us next time.

One, you're replying to a guy with thousands of stars on his released github projects.

Two, there are tradeoffs in using electron, and it's not unreasonable to discuss those. This place would lose a lot of its value if we're not allowed to discuss the pros and cons of technical decisions that go into a project.

It’s weird, but I think you’re both right. My first reaction to anything html/javascript/etc is a mix of “ew” and “that’s not very impressive“. But I also think it’s important to be inclusive and flexible. Society’s best off when people fight past their internal prejudices, but my past experiences with html/JavaScript put a bad memory in my mind.

Ultimately, this looks like a well executed program from the screenshots. I say kudos to the developer of it. They did something productive and made something useful.

> These kinds of dismissive comments make me wonder if the writer ever created anything of substance in their life.

Ad hominem [0].

And he has. I use the things he has built in production. He has contributed to Python community (and SQLite) to a great extent. Some of the amazing things he built [1], [2], [3].

[0] - https://yourlogicalfallacyis.com/ad-hominem

[1] - https://github.com/coleifer/peewee

[2] - https://github.com/coleifer/huey

[3] - https://github.com/coleifer/sqlite-web

People are entitled to their opinions, and they are entitled to share them on HN. There are plenty of reasons to like Electron, and there are also plenty of reasons to say "ugh, Electron".

Instead of saying "Let's keep this sort of comment off HN" because you happen to disagree with the guy's opinion, why not just ask him why he's so dead set against using Electron for this sort of app?

People usually have strong opinions for a reason -- it isn't always because they are ignorant, or because they are arrogant jerks (yes, sometimes that happens, but not always). You might even learn something about Electron from the guy's explanation (depending, of course, on what his reasons are).

We all know why one might prefer something over Electron. It's just a worthless comment.

"Ugh, the color blue! Me no likey!" Does it really matter why they don't like blue, or whether I agree with them?

"We all know why one might prefer something over Electron."

Actually, that's not true. There are most likely some folks reading who don't know much about Electron. Also, just because there are a number of well known reasons why someone might dislike Electron doesn't mean that they are this person's reasons for disliking it. Perhaps he has reasons for disliking it of which you are unaware. If you don't want to bother asking him that's fine, but that doesn't make the question not worth asking to everyone else.

"'Ugh, the color blue! Me no likey!' Does it really matter why they don't like blue, or whether I agree with them?"

Not liking the color blue isn't even close to the same thing. Peoples likes and dislikes about colors are very subjective, and people often don't have any definable reason for why they like or dislike a color.

That is very rarely true about development tools, frameworks and libraries. If a developer does not like them, they usually have a particular list of reasons why. You may disagree with their reasons, or the way they present them, but you still might learn something of value from hearing their list.

"It's just a worthless comment."

It's only a worthless comment to you because you made assumptions about why the comment was made. I understand why you might be put off by the way the original comment was worded, and yes I would have preferred that they elaborate more about the reasons for their dislike of the choice of Electron up front. However, I think it is a mistake to assume that you could not have learned anything of value from engaging with the person who left that comment (instead of assuming you already knew what the reasons behind it were.)

Agreed. It's a fact of life that Electron will become increasingly popular. If every discussion of an app that uses Electron degenerates into snarky comments about Electron, the opportunity for a valuable conversation about the app itself is wasted.
"It's a fact of life that Electron will become increasingly popular."

Very likely, perhaps, but it is not "a fact of life", especially in the long term -- Electron's popularity in the future is far from a decided fact. I think it has a very good shot at lasting a long time, but in this industry things often do not go the way you think they will.

If indeed "every discussion of an app that uses Electron degenerates into snarky comments about Electron" then maybe it is time to look seriously at problems with Electron. One of the best things about HN is that discussions about the technologies used to implement applications happen.

Now if someone comes into the conversation, snarks, and then is unwilling to engage in discussions about why they dislike the choice, that's a different matter.

I do think, however, that discussions about the technologies chosen by a developer to implement their application are worth having, even if they person starting the conversation is not terribly diplomatic about the way they start it. There does come a point (different for different people) where you decide a conversation is not worth having. I am merely suggesting that it could well be worth your time to not assume you've reached that point so early in the conversation.

I'm the kind of guy who loves Electron. It lets more developer get software on the Desktop. That's pretty cool, right?

But here's the thing. My current Markdown editor is Typora. Visually, it's all I want. But on the performance side, well, you can feel it's powered by Electron.

So I'm going to give a go to Abricotine (I mean, it's even open source, so that's great!). But I really want a markdown editor than can render a 100Ko file without difficulties.

Edit: Now that I've tested it, it's effectively way faster than Typora on the files I regularly uses. So I'll probably switch right way.

I literally LOL'D at your comment. "Congratulations on your unreleased hobby project that doesn't use electron."

Here's the person your replying to's github link. They most definitely have more users than you and the OP combined.

https://github.com/coleifer?tab=repositories

Please research before assuming things about people.