Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rapala
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
121.
▲
by
rapala
14y ago
I was also a bit confused. He said that stuff like monads are nice, but not that useful in the end. On the other hand, he seemed concerned about how to enforce best practices, to which I count monads in.
122.
▲
by
rapala
14y ago
I didn't get the same impression that you got. To me, Carmack is saying that the biggest thing to focus is how to enforce the known best practices. That we need to understand the social aspects of software development well enough to reap th
123.
▲
by
rapala
14y ago
I'm with you on this. But I think that in pop music the vocals have such a high prominence that you kinda miss the song if try to be aware of the "whole song". Especially if English is not you native language. So the brain keeps filtering w
124.
▲
by
rapala
14y ago
It's not that easy to see efficiency from the source code even in a low level language like C. It shouldn't really be the job of the programmer to see from the source code if stuff gets efficiently executed. Profilers are for that, and if y
125.
▲
by
rapala
14y ago
In a firm the size depicted in the post business is run by the marketing division. In these firms most of the divisions have executives to sign purchases and attend meetings.
126.
▲
by
rapala
14y ago
This is exactly the reason why even the good standards fail. Instead of writing 10 lines of code to abstract your specific use case, you want it to be the default behavior. How many times have you cursed something like IE for not implementi
127.
▲
by
rapala
14y ago
> The main issue I have with this is I have had the "pleasure" of working with pretty stupid people implementing clients on my API. They easily get POST and GET requests mixed up, HTTP and HTTPS, whether or not the request should be aut
128.
▲
by
rapala
14y ago
You can't really use unacceptable impact in risk analysis, it is too subjective. In my opinion illegal fire arms have a (high likelihood * unacceptable impact) risk. Would this risk be greater than the (low likelihood * unacceptable impact)
129.
▲
by
rapala
14y ago
Compared to, let's say illegal small arms, nukes are not that common. And the catastrophic destruction that they can cause is extremely uncommon. There are only a few nuclear incidents of any kind that have caused direct human casualties.
130.
▲
by
rapala
14y ago
A security hole in a library is "automatically distributed" to every program dynamically linked against it. Yes, the coin has two sides.
131.
▲
by
rapala
14y ago
This, and before 1.3 you were supposed to define a constructor function yourself. I'm pretty sure that was somewhere in the documentation. Or in the clojure.org/datatypes. Or in some mailing list post that I red. The Clojure documentation i
132.
▲
by
rapala
14y ago
I find it odd that he is using the new macro to create the record instances. I thought that it is meant to be used only in Java inter-op, as it requires that the class of the record is visible in the current namespace.
133.
▲
by
rapala
14y ago
I think the order of arguments comes from the use of partial application. In Haskell you can write: doubler :: Num a => [a] -> [a] doubler = map (2 *)
134.
▲
by
rapala
14y ago
If you red the reddit answer carefully, you would know that there never was enough money to pay the dept in the first place. That is the whole point of dept. You don't have enough money for something at the moment , so you borrow it and pa
135.
▲
by
rapala
14y ago
For what I know, the gulf stream is not warming the Baltic ocean. It brings warmer water to the cost of Norway, which creates warmer weather in the northern Europe.
136.
▲
by
rapala
14y ago
If a function in case of bad inputs returns a value in it's codomain, you can't distinguish it from a value returned by a normal call (except in cases where it falls outside of the functions image). This in my opinion is same as undefined b
137.
▲
by
rapala
14y ago
"high-level languages have no reason to have UBs, especially for the trivial calling of a core function" What should a lisp implementation return when (car '()) is evaluated? How does a arbitrarily chosen return value differ from a undefine
138.
▲
by
rapala
14y ago
How about putting the data in your public_html folder, and writing the link at the end of your paper?
139.
▲
by
rapala
14y ago
Except that now you are ranking, by introducing the notion relative to everybody else . Why should test scores improve year over year? If everyone is getting a 2/6 then yes, but students in the same grade are not going to get smarter every
140.
▲
by
rapala
14y ago
So if you have 10 good teachers, you just rank them and kick out the "worst" 2? If your rank the teachers in a strict order, you have to make someone the worst and someone else the best teacher. But is the administration going to check how
141.
▲
by
rapala
14y ago
I think you misunderstood the grandparent. In many countries, and I think in Canada too, you cannot choose the school your kids go to.
142.
▲
by
rapala
14y ago
The structure of the representation under a version should stay constant or else you void your social contract with consumers of your service. Yes, but the version should be stated in the Content-Type header, not in the URI of the resourc
143.
▲
by
rapala
14y ago
Sounds like network traffic intefering to me. Which is illegal at least in Finland.
144.
▲
by
rapala
14y ago
Ah, but is Vert.x web scale?
145.
▲
by
rapala
14y ago
I'll give an example of what I think Hickey is talking about. In a OO API you have an class Employee private boss public getBoss() What IMO Hickey thinks, is that you should have instead a map with a field boss . Yes, you ca
146.
▲
by
rapala
14y ago
But you should not even have a /v1/ in your URLs. mysite.com/v1/people/john is probably not a different person from mysite.com/v2/people/john. Instead, you should have versioned content types. The URLs of a REST service can change as much a
147.
▲
by
rapala
14y ago
Except when you need to sort a big collection of strings and the standard library sort function never returns. What we need is good vocational education. Polytechnic schools that teach you how to code, be part of a project or lead one, desi
148.
▲
by
rapala
15y ago
Have you contacted Sony or Facebook? It would be interesting to know their answer.
149.
▲
by
rapala
15y ago
I think getting sued has become commonplace in the US, up to a point that institutions and corporations don't really care. If there is money to be had, that is. These kind of things get tried because they seem to offer some value, and the e
150.
▲
by
rapala
15y ago
Well, reduce is a recursion with an accumulator. Did you had something special in mind?
More ›