Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tomlu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
151.
▲
by
tomlu
14y ago
What's wrong with gVim? I have to have platform-specific font settings, but apart from that it's always worked a treat for me.
152.
▲
by
tomlu
14y ago
I use Vim/Sublime for rote text editing and scripting languages. For most statically typed languages (C, C++, C#, Java, Objective-C and so on) I tend to use an IDE with a Vim emulator. But honestly, visual debugging is nice and all but I do
153.
▲
by
tomlu
14y ago
While a couple of things are missing, mostly it's that things don't work properly. Some random things off the top of my head: * No block cursor (the block cursor plugin doesn't really work) * When you switch between files, it keeps jumpin
154.
▲
by
tomlu
14y ago
That's great news - do you have a source (maybe a forum post) for that?
155.
▲
by
tomlu
14y ago
Which ones have you tried? Vintage mode is most impressive considering it's so small (code-wise), but I don't find it particularly good at even the basics (a lot of commands have subtle behavioural differences). It's better than IDEAVim, bu
156.
▲
by
tomlu
14y ago
I am disappointed to see that Vintage mode hasn't really been touched at all for this edition. It's what is holding myself (and likely others) back from switching away from Vim. Unfortunately, development of Vintage mode seems to have stopp
157.
▲
by
tomlu
14y ago
Sublime works better out of the box and is arguably prettier. But if you like modal editing then Sublime may not be for you. There is Vintage mode, but IMO it doesn't work very well. The differences are small but numerous, and it's very ann
158.
▲
by
tomlu
14y ago
I've worked on two build systems (and used many more). The conclusion I have arrived at is you don't want a declarative-only system (like Ant). They can be convenient but as your needs grow more complex they start becoming a hindrance. Inst
159.
▲
by
tomlu
14y ago
I don't think there is anything at all unclear about (a ? b : c). I use it all the time when programming in C and its derivatives. The (a and b or c) idiom is used in Lua, Ruby and Python (in descending order of idiomaticness). Since the pe
160.
▲
by
tomlu
14y ago
I like this - idiomatic, brief and clear: arg = a and b or c foo(arg)
161.
▲
by
tomlu
14y ago
Maybe I'm missing something really obvious, but I don't understand where Flask fits into the picture. The article seems to introduce the first few steps of how you can debug any Python with pdb, not just Flask applications.
162.
▲
by
tomlu
14y ago
An overlooked point here is that in this example the "big company" is the platform operator. It is much easier for Facebook or Apple to brush aside a competitor on their own turf than it is for Microsoft to brush aside Dropbox. So I think t
163.
▲
by
tomlu
14y ago
Learn both then specialise in the one you like better. Regardless of which you end up choosing it will make you a more valuable developer.
164.
▲
by
tomlu
14y ago
The lack of study for even the simplest, universally acknowledged principles of software engineering has always troubled me. Proving any non-trivial conjecture (for instance the proposition that version control reduces software cost) shoul
165.
▲
by
tomlu
14y ago
Sure, but the point I was trying to make was that the (maybe historically) cruddy toolset will likely have contributed to the decline of the platform, and nobody seems to mention that. If they've improved the dev environment for BB10 then a
166.
▲
by
tomlu
14y ago
Whenever there's a Blackberry article on HN I'm surprised that almost nobody (neither in the article, nor in the comments) mentions the development environment. It is decidedly subpar. Now, I don't know for sure whether developer tooling ma
167.
▲
by
tomlu
14y ago
IME Lua is neither worse nor better than (eg) Python for large code bases.
168.
▲
by
tomlu
14y ago
> Then in the next assignment the simple three-element tuple representing an RGB color is replaced by a class with getters and setters and multiple constructors and--most critically--a lot more code. How about using a simple struct/reco
169.
▲
by
tomlu
14y ago
Not a huge deal, but it can become problematic when you're using something like git bisect.
170.
▲
by
tomlu
14y ago
SourceTree is really cool but IME it's best for beginners to start with the command line. I've taught git to quite a few people now and see a correlation between early command line usage and understanding what is going on. Once you're at th
171.
▲
by
tomlu
14y ago
I've recently had the pleasure of purchasing the 30" matte Dell U3011 IPS and the 27" semi-glossy Samsung S27B970 PLS. There are pros and cons to both. The anti-glare coating on the Dell makes black text on white background look absolutely
172.
▲
by
tomlu
14y ago
Hej! I have all my symbol characters easily accessible from the normal A-Z keys using a third shift state. It's awesome, and works with any keyboard layout (QWERTY, or even Swedish QWERTY are all fine, as is Dvorak, Colemak etc). Typing a p
173.
▲
by
tomlu
14y ago
One thing to keep in mind for prospective buyers that already have a MBP is that the keyboard is really quite different. The travel is a lot shallower. I loved the MBP's keyboard, so for me the redesign was a bit gratuitous. You do get us
174.
▲
by
tomlu
14y ago
It is quite an improvement over the late 2011 MBP, but still gets fairly hot. The fans don't seem to engage nearly as often either.
175.
▲
by
tomlu
14y ago
To me Lion seems like it's swapping an awful lot. I take it from your comment that there's been no improvement in this regard?
176.
▲
by
tomlu
14y ago
The escape bit would work great, but there are so many other ways to enter insert mode apart from i that I'm not sure how useful it would wind up being.
177.
▲
by
tomlu
14y ago
Oh, stuff like windows becoming unmanaged, Tyler becoming disabled until a restart, windows moving around without you wanting them to. It's pretty much an alpha product - don't spend yet, wait a couple months and see how it goes.
178.
▲
by
tomlu
14y ago
To chime in here, IMO what sets Tyler apart is that it takes control of a window as soon as it is created, whereas AFAIK all other offerings leave the windows alone until you use keyboard commands to resize them. It is indeed promising, but
179.
▲
by
tomlu
14y ago
Seconded. Beyond Compare is the best merge and diff tool bar none.
180.
▲
by
tomlu
14y ago
I wrote my own. It basically imposes some restrictions on the way you are allowed to use Lua with respect to globals (with escape hatches). It also hooked into our Python-like import system. It checked illegal global writes and reads, illeg
More ›