udalov
Re:How to See Mars Opposition and Closest Approach to Earth
on Thursday July 26, 2018 @10:37AM (#17617820)
Re Iridium satellites: unfortunately, they are being replaced by a new generation of satellites which do not produce flares and thus likely won't be seen by the naked eye anymore. Source: https://heavens-above.com/IridiumDemise.aspx
Re:The Kotlin Language: 1.0 Beta Is Here
on Monday November 02, 2015 @04:12PM (#10495282)
No, as I mentioned, only those 'when'-expressions, the result of which is used as a value, must be exhaustive. Those which are not, we call them 'when'-statements, correspond to an if-else chain in C-like languages and thus are not required to be exhaustive.
More info in the official reference: https://kotlinlang.org/docs/reference/control-flow.html#when...
Re:The Kotlin Language: 1.0 Beta Is Here
on Monday November 02, 2015 @03:17PM (#10494867)
It's an error only when the 'when'-expression is used as a value, like assigned to a property, passed as an argument or returned from a function. Otherwise it's not an error. There's also a warning for matching enum values over an incomplete set of enum entries, but otherwise non-exhaustive 'when'-expression is green code.
You can basically consider 'when'-expressions to be syntax sugar over Java's if-else or ternary operator (?:) chains.
Re:Why you might want to choose Ceylon
on Friday October 30, 2015 @03:57PM (#10480161)
Could you please give a few examples of "all the broken, half-designed stuff they are trying to ship"?
Re:Why you might want to choose Ceylon
on Wednesday October 28, 2015 @02:06PM (#10466176)
Could you please explain how the internal representation of null in the language's type system has any effect on the semantics of code written in that language?
Renoise Redux
Meduza.io – Russia’s top news and reporting, in English
Re:The Benefits of Being Cold
on Monday December 29, 2014 @04:35AM (#8809090)
Could you please elaborate on running being damaging?
State of the Specialization: Generics over primitives in Java and JVM
Google Protocol Buffers v3.0.0-alpha-1
Re:WiFried: iOS 8 WiFi Issue
on Wednesday November 26, 2014 @06:23AM (#8661877)
The free version is also Windows-only
Re:Kotlin, the Swift of Android
on Monday September 01, 2014 @02:04PM (#8254020)
In fact Kotlin doesn't have reified generics. This idea was planned in the beginning and was reflected in the old docs but abandoned later. I believe there's no reference to reified generics on the new web site anymore.
Re:Earl Grey tea intoxication [pdf]
on Friday August 08, 2014 @07:04PM (#8155556)
Not sure why they conclude that "bergamot essence may induce muscle cramps" etc based on a single case. What if the man had an allergic response of some kind and 99.99% of the population would be fine drinking so much earl grey tea?
Re:Kotlin: A statically-typed language that compiles to JVM bytecode a...
on Monday November 11, 2013 @07:19AM (#6711230)
Most of the time you can omit type arguments:
val arr = Array(height) { x -> Array(width) { y -> Tile(x, y, Terrain.GRASS) } }