Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
esarbe
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
76 ms
·
811.
▲
by
esarbe
5y ago
With dependent types, each `e.key` has it's own and separate type. So, if you have two `e`s, the type of the first e's key will not match the type of the second e's key. So, with: def process(p: Path, key: p.Key): Something =
812.
▲
by
esarbe
5y ago
I can think of plenty cases where I would want to limit the input space of a function to a known set of literals. Just as an example; the `document.getContext` [0] api takes a string argument to select the context canvas. Without literal ty
813.
▲
by
esarbe
5y ago
> Or an other way of saying it is that your approach of walling off modules as either java-collection or scala-collection is kind of like saying "Java and Scala collections work well together, so long as you don't have to use t
814.
▲
by
esarbe
5y ago
That's very exciting. Rust really seems to establish itself as a serious contender for the low-level niche that until so far has almost exclusively been occupied by C. I wonder how much of an obstacle the lack of the stable ABI and the
815.
▲
by
esarbe
5y ago
It's only a problem if you can't decide which part of your project to write with which language. If I have to use Java, I put it into a separate sub-project and make sure that I have a nice API to interface between the subprojects
816.
▲
by
esarbe
5y ago
Scala 3 takes the most common use cases for implicits and makes them more ergonomic. Implicits are still in the language, but not exposed as concept. Odersky called the approach for Scala 3 "intent over mechanism."
817.
▲
by
esarbe
5y ago
Maybe you could have a look at this independent report that looks at China's actions and evaluates them in the context of the 1948 Convention on the Prevention and Punishment of the Crime of Genocide. [0] https://newlinesins
818.
▲
by
esarbe
5y ago
They are working on it.
819.
▲
by
esarbe
5y ago
I rather like the idea of this ad campaign. If it shakes up a handful of people to be more aware of how much data is gathered and used against them, I consider that a win.
820.
▲
by
esarbe
5y ago
No.
821.
▲
by
esarbe
5y ago
They were both intoxicated and Pretty is not a very big name, not even in the Scala community. It's not as if we were talking about Martin Odersky. The guy gives talks from time to time and contributes code to some projects. That'
822.
▲
by
esarbe
5y ago
This just leads to sill propositions and exclamations like "Now we all have to sign a contract before we kiss another!". Human communication is complicated and complex and error prone. Combine it with sexuality and you have a mess
823.
▲
by
esarbe
5y ago
Beating someone up and having sex with them are two very distinct things. And saying sex is "battery that involves sexual penetration" is no helping either. Just painting this as a simplistic "powerful male predator abuses he
824.
▲
by
esarbe
5y ago
> If the guy was simply a better date we wouldn't be talking about this. This is what makes me really dislike this story. The use of power to extort sexual favors is topic that needs serious discussion. But occurrences like these wh
825.
▲
by
esarbe
6y ago
It's still too many passes. https://scala-ci.typesafe.com/grafana/dashboard/db/scala-ben... The Scala 3 compiler has much fewer passes though.
826.
▲
by
esarbe
6y ago
This is what drove me away from Java; the ungodly amount of magic that's required to make it economic. If it all works, it's fine. But as soon as something fails... Get yourself ready from some frustrating hours.
827.
▲
by
esarbe
6y ago
> IDE support for Scala is half as good as Java and I suspect a good reason is the language. The auotcomplete in intelliJ is almost as bad as it is for python and the IDE really struggles to understand the code; This is not my experience
828.
▲
by
esarbe
6y ago
> Now you have exponential problems. Scala has less support, slower builds, and features Scala-devs are eager to abuse to make the code unreadable. Unfortunately, the Scala compiler is quite a bit slower than javac. In practice this does
829.
▲
by
esarbe
6y ago
I've been working with Scala professionally for the last 8 years and I consider it pretty stable. Code I've written for Scala 2.10/2.11 still compiles with 2.13. I think the biggest change for me was the redesigned collection
830.
▲
by
esarbe
6y ago
I see. Thanks for sharing your concern.
831.
▲
by
esarbe
6y ago
Well, segregating children in classes according to their perceived ethnicity doesn't really strike me as a good idea, now matter how it is presented.
832.
▲
by
esarbe
6y ago
Ah, I see. Thanks for the clarification!
833.
▲
by
esarbe
6y ago
Hrm. The USA has many faults but being a single-party state is not one of them. What you describe however is true of any social structure. Vocal, highly engaged minorities dominate the discussion and thus steer normative process. The progre
834.
▲
by
esarbe
6y ago
Yeah. He's got a strange mind.
835.
▲
by
esarbe
6y ago
This ruling has nothing to do what so ever with the GPL.
836.
▲
by
esarbe
6y ago
Google did not steal code. Dual licensing is not a reason but a practice. Unlicensed use of code is still unlicensed and punishable by the terms of the license. Dual licensing still exists and will continue existing. Please.
837.
▲
by
esarbe
6y ago
The dissenting opinion is stupid. Thomas may be a bad justice, but he has even less of a clue about software devolopment. Of course there is a difference between an API and the code in general. This decision sidestepped the question of whet
838.
▲
by
esarbe
6y ago
I don't see how this case has anything to do with GPL.
839.
▲
by
esarbe
6y ago
I'm so relieved. This could have forced such dramatic changes in how we develop software. And any other decision would have been a crippling blow to FLOS software. Now if we only could get the SC to invalidate software patents in gener
840.
▲
by
esarbe
6y ago
Seems to be an unreasonable assumption given the many idiosyncrasies and shortcuts human mental architecture has. I can simply remove them and have a better implementation. Humans are not thinking machines. We're reproduction machines.
More ›