Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gourlaysama
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
31.
▲
by
gourlaysama
13y ago
For that very reason, there is no generated unapply method for case classes with >22 parameters. This doesn't prevent pattern matching on the case class, because the patmat knows it is a case class and extracts the parameters direct
32.
▲
by
gourlaysama
13y ago
This seems to be the most likely explanation. Serverfault [1] also has switched to that same certificate. [1] https://serverfault.com/
33.
▲
by
gourlaysama
13y ago
Yes the apply method is still there. But since it has more than 22 arguments, you cant't lift it into a function object anymore. This will break some tools, like Play's forms, that need you to pass to a couple of serialization
34.
▲
by
gourlaysama
13y ago
Yes, this means there won't be a 1-to-1 conversion between a case class and a tuple anymore, since tuples are still limited to 22. This will probably break a few things out there (for people crazy enough to use case classes with 23+ pa
35.
▲
by
gourlaysama
13y ago
This is finally going away in the next version (2.11, which will hit RC1 next month) see [1]. [1]: https://github.com/scala/scala/pull/2305
36.
▲
by
gourlaysama
13y ago
You are completely right, I was confused by the first 1788 proposition. See edit. Also, the weird thing was that, although they decided that an hour is divided in ten "parts", and each one of those in ten, and so one... they gave
37.
▲
by
gourlaysama
13y ago
There was a proposition for a day of 10 hours, each having 100 minutes, each having 1000 seconds. And later, with the calendar came a simpler version with 100 minutes in an hour, 100 seconds in a minute, and so on (Article XI of the "D
38.
▲
by
gourlaysama
13y ago
"The reason you need to run a 16 bit installer" is to display a nice "Tough luck, you need a 32-bit computer to install this" message to the user, instead of an ugly Windows error message. This was important at the time.
39.
▲
The Apache Software Foundation Announces Apache Cassandra v2.0
(blogs.apache.org)
34 points
by
gourlaysama
13y ago
|
3 comments
40.
▲
India will reportedly ban use of US e-mail services
(zdnet.com)
19 points
by
gourlaysama
13y ago
|
10 comments
41.
▲
Germany recognizes Bitcoin as ‘private money’
(rt.com)
4 points
by
gourlaysama
13y ago
|
0 comments
42.
▲
by
gourlaysama
13y ago
finally!
43.
▲
Skype may face criminal charges if it doesn’t let French Police listen in
(rudebaguette.com)
2 points
by
gourlaysama
14y ago
|
0 comments
44.
▲
After being cut from Norway, The Pirate Bay returns from North Korea
(falkvinge.net)
3 points
by
gourlaysama
14y ago
|
0 comments
45.
▲
Ruby 1.9 doesn't implement ISO 8601 properly
(tommorris.org)
47 points
by
gourlaysama
14y ago
|
48 comments