rustyrazorblade
12/28/2019, 12:13 AMTim McCormack
12/28/2019, 1:48 PM.equals
and defensive null checks.Hoanghun5
12/28/2019, 2:05 PMBenchmark Mode Cnt Score Error Units
Sequences.mapFilterList4 avgt 10 492.221 ± 105.769 ms/op
Sequences.mapFilterSequence4 avgt 10 172.434 ± 31.000 ms/op
Were there some huge optimisations during the year?itnoles
12/29/2019, 4:37 AMJames Hilliard
12/30/2019, 2:49 AMutil.kt: (12, 28): Unresolved reference: int
Adam Hurwitz
12/30/2019, 11:01 PMMain
method is failing intermittently.
Any thoughts are appreciated! This has been driving me crazy for months. 🤯 🙏
https://stackoverflow.com/questions/59525001/intellij-main-error-migrating-projects-exception-in-thread-timer-0Adnan
12/31/2019, 9:39 AMJeremy
01/01/2020, 12:51 AMShumilin Alexandr
01/01/2020, 8:54 AMKashif
01/01/2020, 8:55 AMKashif
01/01/2020, 8:55 AMnatpryce
01/02/2020, 12:39 PMw0lf
01/02/2020, 1:27 PMjlleitschuh
01/02/2020, 4:34 PMHTTP
and will only support HTTPS
for downloading/uploading artifacts.
I highly recommend that you check both your build logic, as well as your corporate artifact server mirror configurations (ie. JFrog Artifactory & Sonatype Nexus) to ensure that this breaking change won't impact your organization.
These are the servers committed to this change:
• Sonatype Maven Central
• JFrog JCenter
• Pivotal Spring
• Gradle Plugin Portal
You can read more about all of the announcements here:
https://gist.github.com/JLLeitschuh/789e49e3d34092a005031a0a1880af99Bruno_
01/03/2020, 8:15 AMAlessandro Tagliapietra
01/06/2020, 5:10 AMKStream<String, Long>[] branches = stream.branch(
(key, value) -> key.startsWith("A"), /* first predicate */
(key, value) -> key.startsWith("B"), /* second predicate */
(key, value) -> true /* third predicate */
);
to kotlin?
I've tried with
val branchedStream = metricStream.branch(
{ k: String, v: MetricWithTimestamp -> v.getType().equals("diagnostic") },
{ k: String, v: MetricWithTimestamp -> true }
)
but I'm getting
Error:(91, 17) Kotlin: Type mismatch: inferred type is (???, ???) -> [ERROR : <ERROR FUNCTION RETURN TYPE>] but Predicate<in String!, in MetricWithTimestamp!>! was expected
even trying with typed arguments I get:
Error:(91, 17) Kotlin: Type mismatch: inferred type is (String, MetricWithTimestamp) -> Boolean but Predicate<in String!, in MetricWithTimestamp!>! was expected
any idea?Alessandro Tagliapietra
01/06/2020, 5:11 AMdarkmoon_uk
01/06/2020, 6:52 AMPaul Woitaschek
01/07/2020, 7:20 PMthis
if I'm inside a function that has a receiver?ken
01/08/2020, 7:50 AMfun someFunc1(b: Balance): () -> Either<String, Int>
and this fun someFunc1(b: Balance): Either<String, Int>.
user
01/08/2020, 12:00 PMiex
01/08/2020, 1:39 PMJsonObject
2. Traverse this JsonObject
to extract my nested object
3. Parse the nested object using Gson().fromJson(nestedJson, MyType::class.java)
iex
01/08/2020, 1:40 PMJoshua
01/08/2020, 6:40 PMBen Madore
01/08/2020, 6:56 PMfun Person.email(): Email? {
contract {
returnsNotNull() implies (<mailto:this@email.email|this@email.email> is String )
}
return this.email?.let {
Email(it)
}
}
contract says: Error in contract description: only references to parameters are allowed in contract description
. which i suppose makes sense, i’m trying to prove something about an internal value of a instance not directly related to the params/return?Animesh Sahu
01/09/2020, 7:44 AMiex
01/09/2020, 12:11 PMretry
but where I can use an exit/break condition?iex
01/09/2020, 12:12 PMursus
01/10/2020, 3:25 AM