Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eeperson
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
181.
▲
by
eeperson
13y ago
Yes, it is arbitrary. Believing that there is no creator to the universe is also arbitrary. That is because, science, as it currently stands, has nothing to say about the matter. Picking/not picking any religion is a matter of philo
182.
▲
by
eeperson
13y ago
It sounds like you feel there is an inherent conflict between science and religion (or am I misreading). I see no reason why this needs to be the case. Once you move beyond explanations for things that can make testable predictions, then
183.
▲
by
eeperson
13y ago
In Scala 2.11 you will be able to use Scala as a standard Java scripting engine: http://docs.scala-lang.org/scala/2.11/
184.
▲
by
eeperson
13y ago
'sbt console' compiles before it launches a repl because it includes your project's classpath. If you want a Scala repl that doesn't have your project's classpath (and hence doesn't need to compile things) sta
185.
▲
by
eeperson
13y ago
My understanding is that it gives you less flexibility in how your type system works. To a certain extant you are stuck with the C# type system no matter what the language is because it is baked in to the VM. I assume this doesn't ap
186.
▲
by
eeperson
13y ago
You can also run Play projects with vanilla SBT. That's what I usually do. Then you don't have to worry about the unusual stuff that Play does.
187.
▲
by
eeperson
13y ago
Or even better, Array Mapped Tries: http://infoscience.epfl.ch/record/64394/files/triesearches.p...
188.
▲
SBT 0.13 Released
(groups.google.com)
1 points
by
eeperson
13y ago
|
0 comments
189.
▲
by
eeperson
14y ago
I feel like a lot of these points are more about just having tests rather than writing tests first. Also, I think some of these points only make sense if you already have a pretty good idea of what you are going to write. More specificall
190.
▲
by
eeperson
14y ago
It appears that the notes survive a rebase but they don't point to anything in your history. They continue to point to a commit before the rebase.
191.
▲
by
eeperson
14y ago
Why not just use 'git notes'? This seems like exactly the sort of use case that feature is for.
192.
▲
by
eeperson
14y ago
The ability to do this based on file modifications is my favorite feature of the build tool SBT (a Java/Scala build tool). I really wish more build tools would integrate this natively. Usually this functionality only shows up as a plugin fo
193.
▲
by
eeperson
14y ago
Is reactivemongo actually tied to play in any way? It seems like it is a completely separate library.
194.
▲
by
eeperson
14y ago
My understanding of what Slick offers over something like Squeryl (which I admit I don't know super well so correct me if I'm wrong) is that it's queries can be generalized over many different data stores and is not just limited to SQL. Thi
195.
▲
by
eeperson
14y ago
They haven't done this because the Servlet 3.1 spec has not been released yet. Play 2 supports some features that cannot be supported with Servlet containers <3.1 (probably stuff like web sockets). However, there is a 3rd party plugin
196.
▲
by
eeperson
14y ago
Thats where ionice or, even better, cgroups[1] come in :) [1] http://en.wikipedia.org/wiki/Cgroup
197.
▲
by
eeperson
14y ago
I can understand making that interpretation at first glance. I agree that the process of building should be the primary focus of a build tool. I also, think that the secondary purpose is to make development easier. That is why you do 'rak
198.
▲
by
eeperson
14y ago
As far as I can tell, that question doesn't say anything about about a remote (as in on another machine) server. It sounds like the question is just about copy files to a directory outside of the Maven project. I know that Maven is ultimat
199.
▲
by
eeperson
14y ago
Does this already exist? Based on the top result I get from a Google search for 'maven copy file' [1] this seems to be not very well solved. The top response in that Stack Overflow page recommends calling out to a completely different bui
200.
▲
by
eeperson
14y ago
There are more options besides a completely rigid build system and cobbled together build system. There is room for something in between. I think the build tool should encourage you to use common structure but allow you deviate from that
201.
▲
by
eeperson
14y ago
The problem is that there is a large overhead associated with writing a plugin. Sometimes the things you need to do are as small as copying a file from one directory or another. Having to write a plugin to do something so small is overkil
202.
▲
by
eeperson
14y ago
That is exactly what the other JVM languages do. You download your version, of the language compiler and runtime, as libraries with a build tool. Then the build tool uses that compiler library to build your code. Saying that the idiomati
203.
▲
by
eeperson
14y ago
I believe that is what all of the other JVM languages do. How is what Clojure does any different that what Scala or Groovy does?
204.
▲
by
eeperson
14y ago
Agreed, about about Ebean being the nicest Java ORM. Ebean's lack of a stateful session seems much less maddening than Hibernate. I wonder why it isn't used more.
205.
▲
by
eeperson
14y ago
I'm really surprised that you would consider ActiveRecord more mature and superior to anything else. I've always considered it the weakest part of Rails. It doesn't include support for foreign keys (you can ad it with a 3rd party plugin b
206.
▲
by
eeperson
14y ago
I agree that the Hibernate's session can make debugging maddening. You should check out EBean (the default Java ORM bundled with Play 2). It is basically Hibernate without the stateful session stuff. I had never heard of it before Play a
207.
▲
by
eeperson
14y ago
Out of curiosity, how much of a problem is it? Is incremental compilation noticeably slow or is it just the full compile?
208.
▲
by
eeperson
14y ago
Have you tried the sbt-idea plugin: https://github.com/mpeltonen/sbt-idea I find that it works pretty good (although obviously not as good as the built in maven support).
209.
▲
by
eeperson
14y ago
SBT actually only requires 2 configuration files (even for multi-project builds). One for SBT plugins and one for everything else. You can use more files for organizational purposes but they are not necessary. I actually like 'directory o
210.
▲
by
eeperson
14y ago
I don't really think it is inconsistent. Sbt has two methods for configuring your projects. You can use a limited configuration file that has less boiler plate but also doesn't allow you to configure as much. The alternative is that you
More ›