Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eeperson
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
211.
▲
by
eeperson
14y ago
Why do you feel that sbt isn't simple/a disaster? I actually think it is the nicest of the build tools on JVM. I can set up basic projects with no configuration. Also, its triggered build feature[1] combined with its interactive console
212.
▲
by
eeperson
14y ago
Implicit conversions are not considered experimental in 2.10. Also they are not disabled by default in 2.10. They may disabled in future versions. Scala 2.10 will just give you a warning if you use implicit conversions without explicitly
213.
▲
by
eeperson
14y ago
1. I'm not sure I understand the complaint about arguments. From you example it looks to me like the problem is that Scala requires type declarations and supports default arguments. I don't understand how this is worse than the equivalent
214.
▲
by
eeperson
14y ago
I know Ubuntu has strongly preferred apt-get for a while. However, I thought Debian still recommended both tools and had aptitude installed by default.
215.
▲
by
eeperson
14y ago
It looks like this has since been fixed: https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/8317...
216.
▲
by
eeperson
14y ago
That has not been my experience at all. SBT has always worked correctly for me. When was the last time you used Scala and/or SBT? I know a lot of the tools in the Scala ecosystem were unstable prior to Scala 2.8. However, now they have b
217.
▲
by
eeperson
14y ago
Out of curiosity, what make the Go dependency management so good? I'm not terribly familiar with this aspect of Go. Based on a what I've read, it doesn't seem dramatically different than what you would do for Scala (except it is packaged
218.
▲
by
eeperson
14y ago
Might I suggest Scala[1]? It is a modern languages with mature build tools and development environment. It also has a lot of nice tools surrounding network services and web development[2]. [1] http://www.scala-lang.org/ [2] http://type
219.
▲
by
eeperson
14y ago
Thanks for the tip. I always wondered what kind of battery life I could get if I tweaked things.
220.
▲
by
eeperson
14y ago
You can already get pretty close to this with a Thinkpad. I have a Thinkpad T420 and it runs Debian Wheezy flawlessly. Of course you will have to make some tradeoffs in the weight/battery life department because Linux isn't as good about b
221.
▲
by
eeperson
15y ago
Then are you just asking how to get a Scala REPL using sbt? If so, you can get one by entering the command 'sbt console' in a project directory. This will give you a scala console with the added bonus that all of the files in your project
222.
▲
by
eeperson
15y ago
I find that it is specifically the 'net' tab in Firebug that causes the problem. If you have it enabled it will cause your browser memory to balloon since it is keeping track of everything the browser downloaded.
223.
▲
by
eeperson
15y ago
Could you go into more detail about what problems you had with sbt? What you describe doesn't really match up with my experience. If you want to use it simply to compile Scala code you can just do 'sbt compile' in the directory containing
224.
▲
by
eeperson
15y ago
Languages like Go and Scala roll out various mechanisms that bring us back to the bad old days of C, when we had to check the return/value and or the error code after every function call... if we wanted error handling to work. I cant spea
225.
▲
by
eeperson
15y ago
On most other OSs, ctrl and arrow keys will move you a word at a time.
226.
▲
by
eeperson
15y ago
This seems like a strange accusation. It seems like the usual complaint is that lisp programmers are more concerned with elegance than getting anything accomplished. I think this provides an interesting counterpoint: http://www.infoq.com/
227.
▲
by
eeperson
15y ago
It's not Haskell but its closer than Python. Have you seen Scalala for Scala: https://github.com/scalala/Scalala
228.
▲
by
eeperson
15y ago
I don't think the difficulty stems from an inherent inability to learn a concept. I think the difficulty occurs largely because of two factors: lack of interest and intimidation. Have you ever had to read something unfamiliar that you foun
229.
▲
by
eeperson
15y ago
You care about Turing completeness if you are trying to express something that requires it (which is something that frequently needs to be done in stored procedures). Also, SQL is not a data storage engine it is a query language. ANSI SQL i
230.
▲
by
eeperson
15y ago
Interesting, I didn't know about SQL/PSM. Although judging by this: http://en.wikipedia.org/wiki/SQL#Procedural_extensions It looks like a lot of vendors still only support propriatary extensions.
231.
▲
by
eeperson
15y ago
I did not mean that ANSI SQL was bad. However, by not being turning complete it has fundamental limitations that limit it from expressing certain logic (as you might need to do in a stored procedure). This frequently means that you must u
232.
▲
by
eeperson
15y ago
Which is not turing complete. You need database specific extensions to get that. Edit: Also, not all databases follow the standard very closely
233.
▲
by
eeperson
15y ago
Why would this cause indention level to get bad? Couldn't you simply chain these conditions in a single if statement?
234.
▲
by
eeperson
15y ago
Scala does have 'break' just not 'continue'. http://www.scala-lang.org/node/257 I think this makes sense. Both encourage bad habits but continue is very easy to emulate and break is not always easy to emulate. edit - clarity
235.
▲
by
eeperson
15y ago
How is this any more readable than: for(Person p: persons) { if(p.getAge() >= 18) // lines of code here } If anything, I would argue that this version is clearer since it makes the context of execution more
236.
▲
by
eeperson
15y ago
You can always go the other way get Vim commands in Emacs with Vimpulse.
237.
▲
by
eeperson
15y ago
Weird, I think I went to college with him.
238.
▲
by
eeperson
15y ago
Emacs 23 does not come with ELPA installed. The next version of Emacs (24) is going to have a package manager included by default (it is based on ELPA) that will allow you to use Marmalade. If you are using Emacs 23 (which you probably ar
239.
▲
by
eeperson
16y ago
Doessn't that just do the same thing as the built-in Ctrl-r and Ctrl-s? Also, Ctrl-p and Ctrl-n are already used to cycle through previous commands.
240.
▲
by
eeperson
16y ago
The problems occur when you make substantial changes in a branch and then you go to merge it back. SVN has several issues how it merges things. Probably the biggest issue is that SVN can't properly merge file renames. Second it does 2-wa
More ›