Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
revscat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
91 ms
·
841.
▲
by
revscat
12y ago
Java programmer here. That's ok. Python is a good language, and it is especially good for learning environments. Java is heavy -- the smallest possible "Hello, world" program in Java is five lines -- and it tends to force con
842.
▲
Why we despise the new scalping economy
(salon.com)
3 points
by
revscat
12y ago
|
0 comments
843.
▲
by
revscat
12y ago
> I mean I see a lot of folks doing hyper-scaling with containers, indeed you can get a lot of containers on a host and they are blindingly fast. But that doesn't excite me as much as people using it to automate their dev-test-build
844.
▲
by
revscat
12y ago
They are not publicly advocating for net neutrality, at least not to the degree that they were during the 2010 fight.
845.
▲
by
revscat
12y ago
> I cannot yet see where this "Vagrant with Docker" path is going. However, after seeing what is possible I cannot help but think about how else it can be used. Plus, it is the most fun I have ever had with virtualisation, and
846.
▲
by
revscat
12y ago
I have a better idea. Make it so that some traffic receives higher priority than others, and force content providers to have to pay to play. Then limit competition at the ISP level so that to succeed you have to pay a monopoly to carry your
847.
▲
JOOQ + Java 8 Streams = No more ORM
(blog.jooq.org)
2 points
by
revscat
12y ago
|
0 comments
848.
▲
by
revscat
12y ago
We're about to see a large-scale experiment of demand pricing in a major metropolitan area: Dallas, Texas is implementing this very thing as part of the LBJ Express project.[1] It is scheduled to be fully completed by the end of 2015,
849.
▲
by
revscat
12y ago
From p. 15 of the decision: "The method claims do not, for example, purport to improve the functioning of the computer itself. See ibid. ('There is no specific or limiting recitation of... improved computer technology...'); B
850.
▲
by
revscat
12y ago
From the live blog: "[T]he claims 'do not, for example, purport to improve the functioning of the computer itself or effect an improvement in any other technology or technical field. An instruction to apply the abstract idea of in
851.
▲
Clash of the Lambdas [pdf]
(cgi.di.uoa.gr)
2 points
by
revscat
12y ago
|
0 comments
852.
▲
by
revscat
12y ago
> There's a #%&! finger covering up the screen now! At which point I use the abductor pollicis brevis, adductor pollicis, etc. to do something quite amazing: I move my thumb out of the way. Alternatively, I can use the same musc
853.
▲
by
revscat
12y ago
This was kind of depressing to see, but not all that surprising.
854.
▲
by
revscat
12y ago
Cute, but even as terse as this comment is its sentiment is incorrect. Mocks, almost by their very nature, encourage coupling. Ask yourself the question "What tends to get mocked? " Answer: Objects which are difficult and/or
855.
▲
by
revscat
12y ago
Could someone with more knowledge about the subject explain why launchd was never taken up outside of OS X? I'm not an admin by any stretch of the imagination, but it seems to fit the bill fairly well, and I've always wondered w
856.
▲
by
revscat
12y ago
This was my thought as well. My current laptop -- a Retina MacBook -- is the best I've ever owned. I can only imagine that her job was made easier by the fact that the underlying products Apple sells, while not perfect, are remarkably
857.
▲
by
revscat
12y ago
For Java programmers who use Silver Searcher or ack, this lets you search all jars in a directory tree for a given string. Requires GNU Parallel: function ffjar() { jars=(./**/*.jar) print "Searching ${#jar
858.
▲
by
revscat
12y ago
Do you know why this is?
859.
▲
by
revscat
13y ago
Southwest Airlines uses it.
860.
▲
by
revscat
13y ago
Dependency injection has seen its day. The gains promised by DI/IoC containers tend to be outweighed by the complexity they introduce. I'm looking at you, Spring.
861.
▲
by
revscat
13y ago
How is that a burden? The controller has to know about the methods of the DAO no matter what. The debate you're having seems to be "what is the best way to get a concrete instance of the DAO into the controller?" The argument
862.
▲
by
revscat
13y ago
This has been my experience as well. The core of Spring -- IoC/DI -- solves a problem that is largely of its own making. I've had better luck and cleaner code without it than with it.
863.
▲
by
revscat
13y ago
That wasn't the central premise. The central premise is that there is a trade-off in class design when doing unit testing.
864.
▲
by
revscat
13y ago
Let's take as an example dependency injection. The genesis for DI was to facilitate the testing of objects that are dependent on objects that are not easily constructed, such as DAOs. And the whole reason this was done was so that thes
865.
▲
by
revscat
13y ago
The point of unit testing, or any testing, is to make sure that the code does what it should. Public vs. private interfaces are philosophical distinctions in determining what is a "proper" unit test, and do not help in validating
866.
▲
by
revscat
13y ago
This... is not Kent's finest moment. I get what he's saying, but the snark doesn't really help, and doesn't actually rebut any of the points that DHH was making against TDD. Testing does tend to have a negative impact
867.
▲
by
revscat
13y ago
In Java, the most obvious example of testing affecting the design of a class is the necessity of avoiding private methods in order to facilitate testing. While there are ways around this -- reflection, PowerMock, probably others -- they all
868.
▲
by
revscat
13y ago
It is executing shell commands based on what you pass in through a request parameter. Since there is no filtering going on, you could, I suppose, pass in an entire bash script and have a good ol' time.
869.
▲
by
revscat
13y ago
The linked article does not support your assertion. It speaks to being careful not to overuse mocks, but does not state that mocks are inherently distrustful. If anything, it implies the opposite since it is saying "here are some thing
870.
▲
by
revscat
13y ago
Java just added lambdas.
More ›