Live data from Hacker News

Atom 1.0

blog.atom.io

421–430 of 459 posts

Re: Atom 1.0

#421
post #344

Earlier quoted context omitted.

Switching to an American keyboard layout just so programs work isn't very practical. Especially when you have to switch back to your localized layout for correspondence with your non-English speaking peers and colleagues in between. Personally I even prefer the German layout for programming, though I've met a lot of programmers who prefer the American layout because it requires less chords.

I prefer the Neo layout (which is completely different, think: Dvorak), which has excellent placement of all programming-relevant keys as well as German and English bi- and trigrams. Very comfortable to type, but too many programs capture events that break functions of the keyboard layout. It uses left and right shift, caps lock and ' (# on QWERTZ), the key between shift and Z (that's not there on a US keyboard) as w…

I used a custom layout with easy access to tons of special characters but gave up on it when I frequently had to switch between different operating systems.

My new laptop has a weird keyboard that seems to be based on the US keyset with the right symbol key replaced with the ISO key you're referring to. In other words: angle brackets are right next to the space bar (left ctrl, symbol key, left alt, space bar, angle brackets, AltGr, Fn, right ctrl). Also the arrow keys are lodged in between that and the numpad. It's odd, but I have gotten used to it.

The only problem is finding an external keyboard with the same layout. I found that switching keyboard layouts is extremely bad for my productivity but I don't want to carry around an external keyboard everywhere I take my laptop.

It's... suboptimal.

Re: Atom 1.0

#422
Can anyone explain to me why startup speed is such an important factor for them?

I really can't get my head around it. It's such a non-issue for me.

I care so much more about general performance post-startup. I wouldn't even bring startup speed up as an issue as long as it's in the few-seconds range, which it always was for me using Atom.

Re: Atom 1.0

#423

Earlier quoted context omitted.

I agree wholeheartedly with the sentiment. However, as I understand it, the issue is not so much with raw size (although it does not help) as it is with long lines. For instance, the following 161K file freezes completely Atom, to the point that you just have to close it: https://github.com/espadrine/aulx/blob/master/html/tokenizer... The reason is that the core syntax highlighter ( https://atom.io/packages/language-…

> For instance, the following 161K file freezes completely Atom, to the point that you just have to close it: I just downloaded it and you are correct, it locks up. Its the really long line here: https://github.com/espadrine/aulx/blob/master/html/tokenizer... If I open it in Sublime 3 I see that they don't bother to syntax highlight long lines. They just skip it. Issue filed: https://github.com/atom/atom/issues/7444

I think you meant line 634, not 63. Also, pro-tip, always link to a specific file version when you're referencing a line because master will change:

https://github.com/espadrine/aulx/blob/b745723680f541353ad50...

Re: Atom 1.0

#424

The killer feature of Atom to me is the ease with which it can be extended (via packages) and the openness to community contribution on core features. That's not a knock against any other editor (some of which share similar characteristics in this regard) – it's just what draws me to Atom. It's super easy to hack on and contribute to.

While I see that as a strength it might be a double edged sword. I installed a few packages I thought were necessary and soon Atom was crashing constantly and was riddled with bugs. I think it's possible that too many people have the ability to control core pieces of what makes Atom so good and as a result the experience degrades.

The inverse also applies. Take Chrome/Chromium where the extensions are generally powerless against core components, making the whole browser useless for decent customization.

Re: Atom 1.0

#425
post #55

Eh. Why is 1.0 out already? Keyboard layouts which use AltGr are still broken. E.g. I can't type '@', '\', and 'µ'. Yes, I can't write metadata annotations or escape some characters.

I agree, that should really be fixed in the core.

In the meantime however I recommend using this package https://atom.io/packages/keyboard-localization which has worked really well for me (german keyboard).

Re: Atom 1.0

#426

Earlier quoted context omitted.

> For instance, the following 161K file freezes completely Atom, to the point that you just have to close it: I just downloaded it and you are correct, it locks up. Its the really long line here: https://github.com/espadrine/aulx/blob/master/html/tokenizer... If I open it in Sublime 3 I see that they don't bother to syntax highlight long lines. They just skip it. Issue filed: https://github.com/atom/atom/issues/7444

I think you meant line 634, not 63. Also, pro-tip, always link to a specific file version when you're referencing a line because master will change: https://github.com/espadrine/aulx/blob/b745723680f541353ad50...

thanks, it got accidentally chopped

Re: Atom 1.0

#427
post #421

Earlier quoted context omitted.

I prefer the Neo layout (which is completely different, think: Dvorak), which has excellent placement of all programming-relevant keys as well as German and English bi- and trigrams. Very comfortable to type, but too many programs capture events that break functions of the keyboard layout. It uses left and right shift, caps lock and ' (# on QWERTZ), the key between shift and Z (that's not there on a US keyboard) as w…

I used a custom layout with easy access to tons of special characters but gave up on it when I frequently had to switch between different operating systems. My new laptop has a weird keyboard that seems to be based on the US keyset with the right symbol key replaced with the ISO key you're referring to. In other words: angle brackets are right next to the space bar (left ctrl, symbol key, left alt, space bar, angle b…

I have a ThinkPad Compact USB keyboard at work and a ThinkPad at home (although the external version has a terrible controller/firmware, TrackPoint scrolling is hard in Linux. I've mapped it to right click + TrackPoint because otherwise I'd get spurious paste events when trying to scroll).

The main reason to use this keyboard for me is the trackpoint - my hands never leave the home row (I have arrow keys and a num pad on layer 4, see http://neo-layout.org/ (mouse over the "Ebene 4" button).

This really does make it hard for me to user other machines, you're right about that (although every linux distro ships neo, and for windows there is a no-installation-required autohotkey-based executable). But I'm not using other machines enough to make any compromises there. 99% of the time I'm using my machines, and that's what I've optimised for.

Re: Atom 1.0

#428

Congrats to the team for reaching this important milestone. I'm a Sublime license holder, but I use Atom as much as I can, because the more open source can win, the better. However, yesterday I was doing some complex regex's (porting a random sql dump file into a seeds.rb), and Atom kept dying, whereas Sublime was pretty much instantaneous. I'm not doing the usual "Atom is slow" drum beating, but saying some underton…

Sorry for side-jacking this comment - but which version of Sublime, may I ask, and what OS? I'm using Sublime 2 on OS X and large files + regular expressions are generally a cause for pain. Do you have any default settings changed like disabled document preview or similar? The only thing I generally feel is a champ at regular expressions + insanely large files on OS X is TextWrangler/BBEdit. In fact, I keep TextWrang…

Any update on this long-past inquiry of the future status of Sublime Text?

https://news.ycombinator.com/item?id=7565213

Re: Atom 1.0

#429
post #120

Earlier quoted context omitted.

Thirty years ago people complained that GNU Emacs needed 8 megabytes of RAM.

"Eight Megabytes And Constantly Swapping"--Seems quaint now, doesn't it?

A little, but at least it could open an 8mb file, not to mention a 2mb file...

Re: Atom 1.0

#430

Congrats to the team for reaching this important milestone. I'm a Sublime license holder, but I use Atom as much as I can, because the more open source can win, the better. However, yesterday I was doing some complex regex's (porting a random sql dump file into a seeds.rb), and Atom kept dying, whereas Sublime was pretty much instantaneous. I'm not doing the usual "Atom is slow" drum beating, but saying some underton…

> I was doing some complex regex's (porting a random sql dump file into a seeds.rb)

As a vim/cli/linux user -- I'm trying to understand -- you were doing search-and-replace? As in what one (some would say a masochist) could do with sed/awk? And/or 's' in vim?

(Sed is in some ways more relevant as it works on streams, and so as long as you have the diskspace to store the edited copy, size shouldn't really matter. I suppose it might be possible to have long enough lines that sed chokes, but I've never had to deal with something like that...)

Post reply on HN