Leandro Borges Ferreira
11/08/2018, 9:57 PMraulraja
11/12/2018, 9:45 PMHexa
11/13/2018, 8:16 AMorg.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':arrow-annotations-processor'.
at org.gradle.configuration.project.LifecycleProjectEvaluator.wrapException(LifecycleProjectEvaluator.java:79)
at org.gradle.configuration.project.LifecycleProjectEvaluator.addConfigurationFailure(LifecycleProjectEvaluator.java:73)
at org.gradle.configuration.project.LifecycleProjectEvaluator.access$400(LifecycleProjectEvaluator.java:54)
at org.gradle.configuration.project.LifecycleProjectEvaluator$EvaluateProject.run(LifecycleProjectEvaluator.java:107)
Caused by: org.gradle.api.GradleScriptException: A problem occurred evaluating project ':arrow-annotations-processor'.
at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:92)
at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl$2.run(DefaultScriptPluginFactory.java:206)
at org.gradle.configuration.ProjectScriptTarget.addConfiguration(ProjectScriptTarget.java:77)
Caused by: org.gradle.api.GradleException: tools.jar not found at your JAVA_HOME dir /Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home.
Building with a JRE or JDK9 is currently not supported.
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
stojan
11/17/2018, 7:59 PMAsync
the right typeclass? Do you see anything I could do better?pakoito
11/17/2018, 8:00 PMraulraja
11/17/2018, 9:28 PMdelay
in monad defer which is the same as invoketmg
11/21/2018, 2:17 PMraulraja
11/21/2018, 2:38 PMtmg
11/21/2018, 2:45 PMraulraja
11/21/2018, 2:56 PMval result: Map<String, List<String>> = listOf("one", "two", "three").groupBy {
if (it.contains("n")) "nCount"
else if (it.contains("x")) "xCount"
else "others"
}
Leandro Borges Ferreira
11/21/2018, 8:57 PMpakoito
11/27/2018, 7:05 PMSubject
, with Observable.create
, and with ObservableK.async
. The first one is more imperative (read easier) and doesn't have coordinated cancellation or cleanup. If you want to close the websocket when there's a failure, use Observable.create
. ObservableK.async
will get support for that too soon, thanks to @simon.vergauwen and @Jorge Castillopakoito
11/28/2018, 2:05 PMpakoito
11/29/2018, 10:52 AMsimon.vergauwen
12/03/2018, 2:18 PMarrow-core-instances
jacob
12/05/2018, 12:25 PMpakoito
12/05/2018, 10:55 PMraulraja
12/08/2018, 1:21 AMtest
locally and when you send the PR it will try the full build on travis and run detektMiguel Coleto
12/08/2018, 12:19 PMassemble
instead of build for avoiding detektraulraja
12/10/2018, 1:22 PMSaša Šijak
12/14/2018, 2:12 PMpakoito
12/25/2018, 10:11 PMpakoito
12/25/2018, 10:18 PMstreetsofboston
12/26/2018, 9:57 PMOptional
or Nullable
).
val columnValue : Defined<Option<String>>
or
val columnValue: Defined<String?>
Overloading the Optional
(Option
) or Nullable
with ‘(un)defined’ is not a good idea, in my opinion. Don’t mix them 😉Egor Trutenko
12/26/2018, 10:12 PM@Optional
annotation, so it helps a littleEgor Trutenko
12/26/2018, 10:17 PMacando86
12/27/2018, 9:40 AMnull
should not be used as a valid value IMO (not in the api response, not in json, not in code). null doesn't convey lot of information. if null is used to express something, chances are there are more explicit ways to encode that information semantically and in a more type-safe way (if option alone is not enough to express all the possible scenarios), instead of appending a meaning to the null value (for instance, ADTs etc). Close to the DB layer (in the code) it might make sense to store raw null values, but in between a db and the api response i would expect a number of mapping layers and business logic where relying on a specific meaning of null values is not necessary and maybe (IMO) not even advisable.veiset
01/03/2019, 1:56 PMraulraja
01/03/2019, 9:07 PMbjonnh
01/06/2019, 5:59 PMbjonnh
01/06/2019, 5:59 PMraulraja
01/06/2019, 6:02 PMbjonnh
01/06/2019, 6:04 PMraulraja
01/06/2019, 7:17 PMtoIO
that is currently missbehavingbjonnh
01/06/2019, 7:56 PMraulraja
01/06/2019, 9:45 PM