News for hackers. Stuff that matters.
Re:Lime – Experimental Sublime Text clone by saejox on Wednesday October 23, 2013 @09:02AM (#6598400)
Nice work. That's quite a bit of code. If you are serious about this you should setup a website, list features, show screenshots and offer binaries.

As it stand it not likely that many people will build a thing they never even seen a screenshot.

Re:Lime – Experimental Sublime Text clone by miloshadzic on Wednesday October 23, 2013 @09:19AM (#6598492)
Why not build it yourself and submit a pull requests with a screenshot? You have the source and he wrote that he's accepting PRs.
Re:Lime – Experimental Sublime Text clone by blueblob on Wednesday October 23, 2013 @09:36AM (#6598592)
On ArchLinux Go is pretty massive ~294 MB (compared to the jdk7-openjdk at ~19MB) installed. I, personally, have avoided installing some small programs because they had Go as a dependency, obviously you can compile a binary to resolve this for the editor itself. It seems like quite a bit of work just to generate a screenshot though.
Re:Lime – Experimental Sublime Text clone by axelf on Wednesday October 23, 2013 @10:02AM (#6598764)
I've heard this argument from people refusing to install packages that depend on haskell too. I don't get it, 294mb is a trivial amount of space nowadays.
Re:Lime – Experimental Sublime Text clone by lambda on Wednesday October 23, 2013 @10:59AM (#6599114)
It's more than just the size.

If you pull in lots of dependencies, people think "great, now there are a whole bunch of dependencies that I'll need to keep updated, may break my program if they update in the future, may not be available (or available in the appropriate version) on another platform if I switch platforms, etc."

Dependencies have a cost that is more than just size. There's the extra overhead in managing them any time you need to do something beyond the first time installation.

Sure, if dependencies are all appropriately semantically versioned, with proper symbol versioning and sonames in libraries and so on, and you have a proper packaging system which keeps all of those dependencies updated properly, the cognitive overhead is not that high. But people screw these things up all the time; making backwards incompatible changes without incrementing major versions or updating sonames, packaging systems that don't allow you to have two incompatible versions installed at once, etc. And the larger the dependency set, the more likely it is that you'll run into once of these problems.

Re:Lime – Experimental Sublime Text clone by anonova on Wednesday October 23, 2013 @10:17AM (#6598849)
Relative to other compilers and tools, ghc is huge.

  Packages (1): ghc-7.6.3-1
  
  Total Download Size:    62.08 MiB
  Total Installed Size:   735.76 MiB
Compare this to _all_ of [base-devel][1], which is currently 156.27 MiB.

[1]: https://www.archlinux.org/groups/x86_64/base-devel/

Re:Lime – Experimental Sublime Text clone by Killswitch on Wednesday October 23, 2013 @10:09AM (#6598800)
It's more the fact that honestly, I don't want to take the time... It's easier for me to shell out $70 to Sublime Text knowing that I can see it before I buy it than take the time to download and install all dependencies, build it, then be like "I don't even like this at all..."
Re:Lime – Experimental Sublime Text clone by blueblob on Wednesday October 23, 2013 @10:14AM (#6598830)
Depends on how old your computer is and what you do with it I guess.

EDIT:Also if this is the only program using go I now have a 300 MB text editor.

Re:Lime – Experimental Sublime Text clone by barrkel on Wednesday October 23, 2013 @10:43AM (#6599015)
Go creates statically linked executables. You don't need to have Go installed to run your text editor.
Re:Lime – Experimental Sublime Text clone by blueblob on Wednesday October 23, 2013 @11:11AM (#6599193)
I tried to make it clear in my original comment that you wouldn't even need the Go environment if there was just a binary distributed, so I agree with you on that. I also realize that this is in the early stages of the development process and it doesn't necessarily make all that much sense to distribute binaries when it is changing frequently. My point was that it is a lot to download to get a screenshot.

I can't reply to drbawb (I don't know why sometimes HN doesn't give you reply links and it doesn't seem to be in the FAQ). I am not so worried about Qt because there are a lot of programs that use it and overall if you have a lot of programs using it, it should decrease the size of the individual programs.

Re:Lime – Experimental Sublime Text clone by drbawb on Wednesday October 23, 2013 @11:01AM (#6599128)
True, though it does look like this is using `cgo` though (for the Qt support?)

Do those dependencies end up statically linked as well? Otherwise you'll need Qt installed. I don't happen to have it on my system, but I'd imagine Qt is quite large compared to the Go development tools.

Re:Lime – Experimental Sublime Text clone by jeorgun on Wednesday October 23, 2013 @11:25AM (#6599292)
Not really; all of Qt5 (most of which presumably wouldn't be needed to run this) amounts to ~133Mb.
Re:Lime – Experimental Sublime Text clone by jlgreco on Wednesday October 23, 2013 @10:37PM (#6603110)
My computer is new, was expensive, and has 30GB of storage.

Of course I knew what I was getting myself into, and my usage patterns make this limitation somewhat academic. ;)

Re:Lime – Experimental Sublime Text clone by minor_nitwit on Wednesday October 23, 2013 @10:32PM (#6603087)
Not exactly, you could be doing this on a chrome-book.
Re:Lime – Experimental Sublime Text clone by gillianseed on Wednesday October 23, 2013 @11:11AM (#6599189)
Unless you are building these packages from source then they don't have Go as a dependancy as Go creates static binaries.

And if you are building from source then you can just delete the Go package once you've compiled the program, since you are also on Arch that would be a simple: pacman -Rs go

Re:Lime – Experimental Sublime Text clone by LukeShu on Wednesday October 23, 2013 @10:19AM (#6598865)
Surely you mean as a build dependency? Install it, compile, then uninstall it.
Re:Lime – Experimental Sublime Text clone by mikepurvis on Wednesday October 23, 2013 @11:45AM (#6599417)
Or even better, submit a PR that builds the project on Travis and dumps the binaries to an S3 bucket. I did this for an experimental pandoc-based ebook, and it worked great:

https://github.com/mikepurvis/essential-ros/blob/master/.tra...

Re:Lime – Experimental Sublime Text clone by blueblob on Wednesday October 23, 2013 @10:57AM (#6599098)
Indeed. I think I stated that you could just build a binary. This could also be released as a binary package (which is likely what would happen if it gains traction). I mean just to get a screenshot this is quite a bit of downloading. Then every time you want an update you have to do the same thing (in the absence of just downloading a binary).
Re:Lime – Experimental Sublime Text clone by gillianseed on Wednesday October 23, 2013 @11:13AM (#6599204)
Chances are good that a maintainer will pick this up and add it to your distro's official repositories in time, meanwhile it's not such a hassle to build from source imo.
Re:Lime – Experimental Sublime Text clone by Keyframe on Wednesday October 23, 2013 @10:19AM (#6598862)
What does it pull in to be 294MB? Seems like a lot for programming language binaries and libraries.
Re:Lime – Experimental Sublime Text clone by drbawb on Wednesday October 23, 2013 @10:58AM (#6599112)
https://www.archlinux.org/packages/community/x86_64/go/

You can click the "View the file list for `go`" link at the bottom of the page to see what it's pulling in.

Looks like, regardless of architecture, it has compiled forms of the packages from the standard library for both i386 and amd64 as well as their source form.

Re:Lime – Experimental Sublime Text clone by recursive on Wednesday October 23, 2013 @09:28AM (#6598535)
Because I can't find the build instructions for my OS.
Re:Lime – Experimental Sublime Text clone by foxhill on Wednesday October 23, 2013 @09:05AM (#6598412)
i think this is quite early work, we're a little bit off having stable binary issues - i think quarnster is only after feedback from people comfortable with coding :)
Re:Lime – Experimental Sublime Text clone by deevus on Wednesday October 23, 2013 @09:05AM (#6598413)
My thoughts exactly. I'm always happy to try a new text editor, but if I can't at least see a screenshot of how it looks... no thanks.