text:
NoSuchElementException: Cannot access last() element from an empty List

I am using Android Studio 2.1.3 on MacOS 10.11.6 and Gradle View 2.1.0.
In my Android application project I am using Gradle wrapper 2.14.1.
When I invoke Gradle View it fails resolving the dependencies. Here is the console output I captured:
Build
Validate distribution
Build
Validate distribution
Build
Initialize build
Run init scripts
Compiling script into cache
Compiling script into cache
Compiling script into cache
Run init scripts
Resolve dependencies 'classpath'
Run init scripts
Compiling script into cache
Compiling script into cache
Compiling script into cache
Run init scripts
Initialize build
Configure settings
Initialize build
Configure projects
Configure project :
Resolve dependencies ':classpath'
Configure project :
Configure projects
Initialize build
Build
Resolve dependencies ':app:classpath'
Build

org.gradle.tooling.GradleConnectionException: Could not run build action using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.14.1-all.zip'.
	at org.gradle.tooling.internal.consumer.ResultHandlerAdapter.onFailure(ResultHandlerAdapter.java:59)
	at org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor$1$1.run(DefaultAsyncConsumerActionExecutor.java:57)
	at org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
	at org.gradle.tooling.internal.consumer.BlockingResultHandler.getResult(BlockingResultHandler.java:46)
	at org.gradle.tooling.internal.consumer.DefaultBuildActionExecuter.run(DefaultBuildActionExecuter.java:46)
	at com.github.rholder.gradle.dependency.DependencyConversionUtil.loadProjectDependenciesFromModel(DependencyConversionUtil.java:109)
	at com.github.rholder.gradle.intellij.DependencyViewer$1$1.doInBackground(DependencyViewer.java:106)
	at com.github.rholder.gradle.intellij.DependencyViewer$1$1.doInBackground(DependencyViewer.java:103)
	at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at javax.swing.SwingWorker.run(SwingWorker.java:334)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':app'.
	at org.gradle.configuration.project.LifecycleProjectEvaluator.addConfigurationFailure(LifecycleProjectEvaluator.java:79)
	at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:57)
	at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:540)
	at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:93)
	at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:47)
	at org.gradle.tooling.internal.provider.runner.ClientProvidedBuildActionRunner.run(ClientProvidedBuildActionRunner.java:47)
	at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
	at org.gradle.tooling.internal.provider.runner.SubscribableBuildActionRunner.run(SubscribableBuildActionRunner.java:58)
	at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
	at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:48)
	at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)
	at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:81)
	at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:46)
	at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:52)
	at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
	at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
	at org.gradle.util.Swapper.swap(Swapper.java:38)
	at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.health.DaemonHealthTracker.execute(DaemonHealthTracker.java:47)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)
	at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)
	at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.health.HintGCAfterBuild.execute(HintGCAfterBuild.java:41)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
	at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:237)
	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
	at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
	... 3 more
Caused by: org.gradle.api.GradleScriptException: A problem occurred evaluating project ':app'.
	at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:93)
	at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl$2.run(DefaultScriptPluginFactory.java:177)
	at org.gradle.configuration.ProjectScriptTarget.addConfiguration(ProjectScriptTarget.java:77)
	at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:182)
	at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:38)
	at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:25)
	at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)
	at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:55)
	... 42 more
Caused by: org.gradle.api.GradleScriptException: A problem occurred evaluating script.
	at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:93)
	at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl$2.run(DefaultScriptPluginFactory.java:177)
	at org.gradle.configuration.DefaultScriptTarget.addConfiguration(DefaultScriptTarget.java:74)
	at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:182)
	at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyScript(DefaultObjectConfigurationAction.java:102)
	at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$000(DefaultObjectConfigurationAction.java:36)
	at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$1.run(DefaultObjectConfigurationAction.java:62)
	at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:136)
	at org.gradle.api.internal.project.AbstractPluginAware.apply(AbstractPluginAware.java:46)
	at org.gradle.api.internal.project.ProjectScript.apply(ProjectScript.java:34)
	at org.gradle.api.Script$apply$0.callCurrent(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:52)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:166)
	at build_con7a6w5rmgs3p0e34j4yvq8s.run(/Users/tp/Dev/aidu/aidu/app/build.gradle:21)
	at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:91)
	... 49 more
Caused by: java.util.NoSuchElementException: Cannot access last() element from an empty List
	at org.codehaus.groovy.runtime.DefaultGroovyMethods.last(DefaultGroovyMethods.java:8863)
	at org.codehaus.groovy.runtime.dgm$382.invoke(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:274)
	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
	at util_ava3f00vaxx305ksd7ftusfkf$_run_closure4.doCall(/Users/tp/Dev/aidu/aidu/ciWebsite/util.gradle:56)
	at util_ava3f00vaxx305ksd7ftusfkf$_run_closure4.doCall(/Users/tp/Dev/aidu/aidu/ciWebsite/util.gradle)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at org.gradle.internal.metaobject.BeanDynamicObject$MetaClassAdapter.invokeMethod(BeanDynamicObject.java:374)
	at org.gradle.internal.metaobject.BeanDynamicObject.invokeMethod(BeanDynamicObject.java:169)
	at org.gradle.internal.metaobject.MixInClosurePropertiesAsMethodsDynamicObject.invokeMethod(MixInClosurePropertiesAsMethodsDynamicObject.java:43)
	at org.gradle.internal.metaobject.AbstractDynamicObject.invokeMethod(AbstractDynamicObject.java:163)
	at org.gradle.groovy.scripts.BasicScript.methodMissing(BasicScript.java:79)
	at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
	at groovy.lang.MetaClassImpl.invokeMissingMethod(MetaClassImpl.java:936)
	at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1259)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1212)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1019)
	at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:69)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:52)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:158)
	at artifacts_a6tbi6ghppixoe0d0qfxv8yav.run(/Users/tp/Dev/aidu/aidu/ciWebsite/artifacts.gradle:6)
	at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:91)
	... 64 more

java.lang.RuntimeException: org.gradle.tooling.GradleConnectionException: Could not run build action using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.14.1-all.zip'.
	at com.github.rholder.gradle.dependency.DependencyConversionUtil.loadProjectDependenciesFromModel(DependencyConversionUtil.java:115)
	at com.github.rholder.gradle.intellij.DependencyViewer$1$1.doInBackground(DependencyViewer.java:106)
	at com.github.rholder.gradle.intellij.DependencyViewer$1$1.doInBackground(DependencyViewer.java:103)
	at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at javax.swing.SwingWorker.run(SwingWorker.java:334)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.gradle.tooling.GradleConnectionException: Could not run build action using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.14.1-all.zip'.
	at org.gradle.tooling.internal.consumer.ResultHandlerAdapter.onFailure(ResultHandlerAdapter.java:59)
	at org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor$1$1.run(DefaultAsyncConsumerActionExecutor.java:57)
	at org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
	at org.gradle.tooling.internal.consumer.BlockingResultHandler.getResult(BlockingResultHandler.java:46)
	at org.gradle.tooling.internal.consumer.DefaultBuildActionExecuter.run(DefaultBuildActionExecuter.java:46)
	at com.github.rholder.gradle.dependency.DependencyConversionUtil.loadProjectDependenciesFromModel(DependencyConversionUtil.java:109)
	... 8 more
Caused by: org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':app'.
	at org.gradle.configuration.project.LifecycleProjectEvaluator.addConfigurationFailure(LifecycleProjectEvaluator.java:79)
	at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:57)
	at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:540)
	at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:93)
	at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:47)
	at org.gradle.tooling.internal.provider.runner.ClientProvidedBuildActionRunner.run(ClientProvidedBuildActionRunner.java:47)
	at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
	at org.gradle.tooling.internal.provider.runner.SubscribableBuildActionRunner.run(SubscribableBuildActionRunner.java:58)
	at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
	at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:48)
	at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)
	at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:81)
	at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:46)
	at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:52)
	at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
	at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
	at org.gradle.util.Swapper.swap(Swapper.java:38)
	at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.health.DaemonHealthTracker.execute(DaemonHealthTracker.java:47)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)
	at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)
	at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.health.HintGCAfterBuild.execute(HintGCAfterBuild.java:41)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
	at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:237)
	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
	at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
	... 3 more
Caused by: org.gradle.api.GradleScriptException: A problem occurred evaluating project ':app'.
	at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:93)
	at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl$2.run(DefaultScriptPluginFactory.java:177)
	at org.gradle.configuration.ProjectScriptTarget.addConfiguration(ProjectScriptTarget.java:77)
	at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:182)
	at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:38)
	at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:25)
	at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)
	at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:55)
	... 42 more
Caused by: org.gradle.api.GradleScriptException: A problem occurred evaluating script.
	at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:93)
	at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl$2.run(DefaultScriptPluginFactory.java:177)
	at org.gradle.configuration.DefaultScriptTarget.addConfiguration(DefaultScriptTarget.java:74)
	at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:182)
	at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyScript(DefaultObjectConfigurationAction.java:102)
	at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$000(DefaultObjectConfigurationAction.java:36)
	at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$1.run(DefaultObjectConfigurationAction.java:62)
	at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:136)
	at org.gradle.api.internal.project.AbstractPluginAware.apply(AbstractPluginAware.java:46)
	at org.gradle.api.internal.project.ProjectScript.apply(ProjectScript.java:34)
	at org.gradle.api.Script$apply$0.callCurrent(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:52)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:166)
	at build_con7a6w5rmgs3p0e34j4yvq8s.run(/Users/tp/Dev/aidu/aidu/app/build.gradle:21)
	at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:91)
	... 49 more
Caused by: java.util.NoSuchElementException: Cannot access last() element from an empty List
	at org.codehaus.groovy.runtime.DefaultGroovyMethods.last(DefaultGroovyMethods.java:8863)
	at org.codehaus.groovy.runtime.dgm$382.invoke(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:274)
	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
	at util_ava3f00vaxx305ksd7ftusfkf$_run_closure4.doCall(/Users/tp/Dev/aidu/aidu/ciWebsite/util.gradle:56)
	at util_ava3f00vaxx305ksd7ftusfkf$_run_closure4.doCall(/Users/tp/Dev/aidu/aidu/ciWebsite/util.gradle)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at org.gradle.internal.metaobject.BeanDynamicObject$MetaClassAdapter.invokeMethod(BeanDynamicObject.java:374)
	at org.gradle.internal.metaobject.BeanDynamicObject.invokeMethod(BeanDynamicObject.java:169)
	at org.gradle.internal.metaobject.MixInClosurePropertiesAsMethodsDynamicObject.invokeMethod(MixInClosurePropertiesAsMethodsDynamicObject.java:43)
	at org.gradle.internal.metaobject.AbstractDynamicObject.invokeMethod(AbstractDynamicObject.java:163)
	at org.gradle.groovy.scripts.BasicScript.methodMissing(BasicScript.java:79)
	at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
	at groovy.lang.MetaClassImpl.invokeMissingMethod(MetaClassImpl.java:936)
	at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1259)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1212)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1019)
	at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:69)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:52)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:158)
	at artifacts_a6tbi6ghppixoe0d0qfxv8yav.run(/Users/tp/Dev/aidu/aidu/ciWebsite/artifacts.gradle:6)
	at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:91)
	... 64 more

Please let me know if I can somehow provide further information to get this issue fixed asap. I find your plugin very useful.

@rholder Are you still maintaining this project? I am happy to help with additional information to resolve this issue - just let me know.

repo: rholder/gradle-view


text:
Verification does not use input PK/KEK

The current verification step downloads the Fedora 27 kernel and checks if it executes when Secure Boot is on.
Such kernel is signed with a Red Hat KEK (CN = "Fedora Secure Boot Signer").
Instead, the test should check that a kernel signed with the input key (whose certificate is passed with --oem-string) runs, because the purpose of EnrollDefaultKeys.efi is to set PK and the first KEK with the user's key.
As a matter of fact, I am a bit surprised that the Fedora 27 kernel (signed by Red Hat) boots at all.
That should not be happening, right? For the record, I am using EnrollDefaultKeys.efi from Fedora 33.

To be clear, the EnrollDefaultKeys.efi I am using does expect the user PK/KEK cert in SMBIOS. If you don't pass it, it fails with:
OUT: b'error: OEM String with app prefix 4E32566D-8E9E-4F52-81D3-5BB9715F9727 not found: Not Found\r\n'

@Legrandin did you find a workaround for this?

No, I did not.
I recall I gave up on qemu-ovmf-secureboot.

Too bad but thanks for letting me know.

source: gharchive/issue

authors: Legrandin nlgranger

repo: rhuefi/qemu-ovmf-secureboot

license: MIT

license_type: permissive

license_source: github-api


text:
Can't dowload artifacts

I went to Actions tab, I clicked on automated build #68 with check, scrolled down, clicked on forge artifacts - NOTHING HAPPENS! IT'S JUST A TEXT!
(give me download link using google drive or dropbox to forge artifacts plz)

https://github.com/rhysdh540/create-ntl
make sure you're logged in to github. It wont work if you're not.

license: Unlicense


text:
Let dokku handle the indentation of the usage

This is how all the built-in plugins are done.

+1 :)

:+1:

Looks good to me!

source: gharchive/pull-request

authors: Flink josegonzalez matto1990 tilgovi

repo: ribot/dokku-slack

license: mit

license_source: bigquery


text:
SQL Driver for KV interface

Enables using a SQL database as a registry through the KV interface.
Todo:

Fix prepared statements to use Postgres syntax
Add postgres container to CI

Fixes #15

Fixed most of the comments, need to finish testing, no need to re-review yet.

repo: richardartoul/nola


text:
@OptIn is included into generated Native classes and breaks iOS builds

We are having an issue when trying to use the app that was built for iOS, we couldn't compile it on XCode if one of our @NativeCouroutines annotated methods contained an @OptIn annotation.
Since the library is open source too, you should be able to reproduce it easily on this branch
Migration steps on the iOS side are not complete yet, but by removing the @OptIn annotations from this file the error dissapears and we can continue with the migration steps on iOS.
However, when generating the Native version of the FlowForm file, it shouldn't copy the @OptIn annotations, or if it should then it shouldn't affect the iOS build on Xcode.

Thanks for the report! Depending on your code (e.g. when the return type needs an opt-in) the @OptIn annotations might be needed on the native declaration as well, which is why it's always added.
However there indeed seems to be some issue with the generated code. I will take a look at that.

FYI this should be fixed in v1.0.0-ALPHA-9.

Ey thank you for the quick fix! Highly appreciated

authors: hrodrick rickclephas

repo: rickclephas/KMP-NativeCoroutines


text:
Failed to create pipeline in rotate-objects example on the DX12 backend

Hello,
I am having a issue when running the rotate-objects example on the DX12 backend.
cargo run --example rotate-objects

thread 'main' panicked at 'failed to create graphics pipeline: Failed to create pipeline: Unsupported usage: Implementation specific error occurred', C:\Users\user\.cargo\registry\src\github.com-1ecc6299db9ec823\wgpu-core-0.6.5\src\device\mod.rs:2898:30

Here is the backtrace:
stack backtrace:
   0: std::panicking::begin_panic_handler
             at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b\/library\std\src\panicking.rs:493
   1: std::panicking::begin_panic_fmt
             at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b\/library\std\src\panicking.rs:435
   2: wgpu_core::device::{{impl}}::device_create_render_pipeline::{{closure}}<wgpu_core::hub::IdentityManagerFactory,gfx_backend_dx12::Backend>
             at C:\Users\user\.cargo\registry\src\github.com-1ecc6299db9ec823\wgpu-core-0.6.5\src\device\mod.rs:2898
   3: core::result::Result<gfx_backend_dx12::resource::GraphicsPipeline, gfx_hal::pso::CreationError>::map_err<gfx_backend_dx12::resource::GraphicsPipeline,gfx_hal::pso::CreationError,wgpu_core::device::DeviceError,closure-10>
             at C:\Users\user\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\core\src\result.rs:595
   4: wgpu_core::hub::Global<wgpu_core::hub::IdentityManagerFactory>::device_create_render_pipeline<wgpu_core::hub::IdentityManagerFactory,gfx_backend_dx12::Backend>
             at C:\Users\user\.cargo\registry\src\github.com-1ecc6299db9ec823\wgpu-core-0.6.5\src\device\mod.rs:2893
   5: wgpu::backend::direct::{{impl}}::device_create_render_pipeline
             at C:\Users\user\.cargo\registry\src\github.com-1ecc6299db9ec823\wgpu-0.6.2\src\backend\direct.rs:758
   6: wgpu::Device::create_render_pipeline
             at C:\Users\user\.cargo\registry\src\github.com-1ecc6299db9ec823\wgpu-0.6.2\src\lib.rs:1475
   7: truck_rendimpl::InstanceState::pipeline_with_shader
             at .\truck-rendimpl\src\instdesc.rs:186
   8: truck_rendimpl::PolygonInstance::pipeline_with_shader
             at .\truck-rendimpl\src\polyrend.rs:142
   9: truck_rendimpl::polyrend::{{impl}}::pipeline
             at .\truck-rendimpl\src\polyrend.rs:189
  10: truck_platform::Rendered::render_object<truck_rendimpl::PolygonInstance>
             at .\truck-platform\src\lib.rs:345
  11: truck_platform::Scene::add_object
             at .\truck-platform\src\scene.rs:357
  12: rotate_objects::MyRender::load_obj<slice<u8>>
             at .\truck-rendimpl\examples\rotate-objects.rs:63
  13: rotate_objects::{{impl}}::init
             at .\truck-rendimpl\examples\rotate-objects.rs:136
  14: rotate_objects::app::App::run<rotate_objects::MyRender>
             at .\truck-rendimpl\examples\app.rs:93
  15: rotate_objects::main
             at .\truck-rendimpl\examples\rotate-objects.rs:282
  16: core::ops::function::FnOnce::call_once<fn(),tuple<>>
             at C:\Users\user\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\core\src\ops\function.rs:227

I found a similar issue reported https://github.com/gfx-rs/wgpu-rs/issues/600.
Thanks.

Thank you for your kind issue.
I was able to reproduce the problem in my environment. I've even identified the cause of the problem.
I will take some action and make an announcement by next Monday.

Now I fixed the bug in my environment and push to master as bfbe25dfde69cca31ae569842d0e97fafa75eb8b .
If DX12 is selected as the backend, all variables output from the vertex shader must be read by the fragment shader.
I added a line layout(location = 1) in vec2 _uv; to  polygon.frag and tests with specifying backends.
If you also confirm the bug fix, this issue will be closed.

Thank you for quick fixing the issue I reported. I will check it and get back to you. But the confirmation may be next Wednesday.

I checked and the example worked fine in my environment! Thank you,

Thank you for your kindly report!
Now, we close this issue.

authors: daidanretsu ytanimura

repo: ricosjp/truck


text:
SetBackButtonTextProperty doesn't work

Hi,
I have been experiencing this issue when I use FreshMvvm. I tried to make this official steps: https://montemagno.com/changing-ioss-back-button-text-in-xamarinforms/
But it doesn't when I put a page in front with: await CoreMethods.PushPageModel<T>();
I tried this without using FreshMvvm and it's working.
Thanks in advantage.

https://newbedev.com/how-to-change-the-back-button-text-on-xamarin-forms
After apply this, it's working.


text:
Let the tag detail bg adapts to the theme color

Before

Dark mode:

Light mode:

After

Dark mode:

Light mode:

Tested theme
Tested on Default theme, Minimal, Things, it could adapts the background color of popup-window to the theme defined color.

thanks for your contribution :)


text:
Script v1 update 3 dev

Version 1 update 3 is out! 🤩
New Features:

Add GNOME App Picker Layout Configuration #10
gofmt in Codium

Additions:

MS fonts
some productivity software
Gaphor graph editor
Pomodoro timer
ONLYOFFICE and Cozy
Frog, Ferdium, Revolt..
Godot Engine
Drop Varia, use Motrix instead
Ungoogled Chromium and other apps

"LGTM" ;)

repo: rifux/post-install


text:
Clearing up the instructions for the first program in the basics tutorial

Addressing this issue: https://github.com/rigetticomputing/pyquil/issues/435
print is added because the tutorial says The returned value should be: [[1]]. It's more clear if the value is printed.

This seems good as a stop-gap, but the real fix would be to make sure the docs are pinned to a released version of pyquil

@mpharrigan Could you expand on that? Is the doc outdated?

authors: mpharrigan vtomole

repo: rigetticomputing/pyquil


text:
Problem on building for Windows

Hi,
I'm trying to build Pysqlcipher on Windows X64 and Python X64 3.6.
I just found a prebuilt version of sqlcipher.lib file in here. I put the sqlsipher.lib file next to setup.py file. Then I downloaded the source of sqlite3 files and put the .c files in src folder.  When I run python setup.py install I get the following error:
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
sqlcipher.lib(sqlite3.obj) : error LNK2001: unresolved external symbol RAND_bytes
sqlcipher.lib(sqlite3.obj) : error LNK2001: unresolved external symbol RAND_add
sqlcipher.lib(sqlite3.obj) : error LNK2001: unresolved external symbol OBJ_nid2sn
sqlcipher.lib(sqlite3.obj) : error LNK2001: unresolved external symbol EVP_MD_size
sqlcipher.lib(sqlite3.obj) : error LNK2001: unresolved external symbol EVP_CIPHER_nid
sqlcipher.lib(sqlite3.obj) : error LNK2001: unresolved external symbol EVP_CIPHER_block_size
sqlcipher.lib(sqlite3.obj) : error LNK2001: unresolved external symbol EVP_CIPHER_key_length
sqlcipher.lib(sqlite3.obj) : error LNK2001: unresolved external symbol EVP_CIPHER_iv_length
sqlcipher.lib(sqlite3.obj) : error LNK2001: unresolved external symbol EVP_CipherInit
sqlcipher.lib(sqlite3.obj) : error LNK2001: unresolved external symbol EVP_CipherUpdate
sqlcipher.lib(sqlite3.obj) : error LNK2001: unresolved external symbol EVP_CipherFinal
sqlcipher.lib(sqlite3.obj) : error LNK2001: unresolved external symbol EVP_CIPHER_CTX_cleanup
sqlcipher.lib(sqlite3.obj) : error LNK2001: unresolved external symbol EVP_CIPHER_CTX_set_padding
sqlcipher.lib(sqlite3.obj) : error LNK2001: unresolved external symbol EVP_sha1
sqlcipher.lib(sqlite3.obj) : error LNK2001: unresolved external symbol OPENSSL_add_all_algorithms_noconf
sqlcipher.lib(sqlite3.obj) : error LNK2001: unresolved external symbol EVP_get_cipherbyname
sqlcipher.lib(sqlite3.obj) : error LNK2001: unresolved external symbol EVP_cleanup
sqlcipher.lib(sqlite3.obj) : error LNK2001: unresolved external symbol PKCS5_PBKDF2_HMAC_SHA1
sqlcipher.lib(sqlite3.obj) : error LNK2001: unresolved external symbol HMAC_CTX_init
sqlcipher.lib(sqlite3.obj) : error LNK2001: unresolved external symbol HMAC_CTX_cleanup
sqlcipher.lib(sqlite3.obj) : error LNK2001: unresolved external symbol HMAC_Init_ex
sqlcipher.lib(sqlite3.obj) : error LNK2001: unresolved external symbol HMAC_Update
sqlcipher.lib(sqlite3.obj) : error LNK2001: unresolved external symbol HMAC_Final
build\lib.win-amd64-3.6\pysqlcipher3\_sqlite3.cp36-win_amd64.pyd : fatal error LNK1120: 23 unresolved externals
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\link.exe' failed with exit status 1120

I am not sure if this is the problem for sqlcipher.lib or not. Do I need to link openssl library too?
I also find the similar problem to here but I can't figure it out how to solve it.
Thanks.

I don't really know anything about this prebuilt library, but maybe it was built with different options that are incompatible with the build on your local machine. I don't have a working Windows environment, so I can't really test, but if you find a solution that requires code changes, I'm happy to accept pull requests.

@rigglemania Actually building procedure of the sqlcipher on windows are not clear and I couldn't find a well-documented source for that even on its repo. I'm not sure about my problem cause. I think it is all related to sqlcipher. Anyway, if I found a workaround I will post it here. Thanks.

@Xuepaopao It seems that it is a common problem that related to sqlcipher on windows itself. it is not the problem of pysqlcipher. It seems that building on windows is too complicated and they sell it as a product.

@masoudr okay Thank you for answering my question

authors: Xuepaopao masoudr rigglemania

license: Zlib


text:
which npm package ? What is @bytemain/openai-fetch ?

Wanted to run API calls from edge, and had to find fetch-based client.
Stumbled upon this repo, but when searching npmjs.org, I found 2 packages pointing to this repo: openai-fetch and @bytemain/openai-fetch. Found this a bit strange/questioning.

It looks like @bytemain forked this repo and published the fork to npm, presumably to avoid paying for private packages. You're safe to ignore it and use openai-fetch because it will continue to get updates from this repo.

repo: rileytomasek/openai-fetch


text:
Update JavaDoc Search Links

The JavaDoc is great and useful, but the search links should be updated.
JavaDoc: https://ringcentral.github.io/ringcentral-java/
Currently, clicking on the search results like CreateSMSMessage and others, results in a 404 like the following:
https://ringcentral.github.io/ringcentral-java/undefined/com/ringcentral/definitions/CreateSMSMessage.html

Fixed.
I believe it is a bug of the JavaDoc toolchain: https://stackoverflow.com/questions/52326318/maven-javadoc-search-redirects-to-undefined-url

authors: grokify tylerlong

repo: ringcentral/ringcentral-java


text:
Integrate sppark

SPPARK: Supranational's performance primitives for arguments of knowledge
https://github.com/supranational/sppark

Looks like SPPARK requires CUDA 11.4+. I'll need to update our CI machines before this can land.


text:
fixing broken link

Looks like the tutorial got moved to the website at some point but the README link didn't get updated.

Nvm I was just confused about which release I was looking at


text:
Not all instructions that take mask register as destination operand are prefixed by vm*

a few instructions that take mask register as destination operand are not prefixed by vm*:
vseq, vsne, vsltu, vslt, vsleu, vsle, vsgtu, vsgt, vfeq, vfle, vford, vflt, vfne, vfgt.
To make names more meaningful, I suggest to rename them as:
vmseq, vmsne, vmsltu, vmslt, vmsleu, vmsle, vmsgtu, vmsgt, vmfeq, vmfle, vmford, vmflt, vmfne, vmfgt.
Then we have unified vector master instructions naming convention:
vmops.vv
vmops.vx
vmops.vi
vmops.vf
vmops.mm
vmops.m

@aswaterman , @kasanovic , any comments? thanks

I agree with prefixing the comparisons with vm.

Thanks @aswaterman for your reply . and i will prepare a pull request for review.

repo: riscv/riscv-v-spec


text:
use cargo workspace inheritance

https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html#cargo-improvements-workspace-inheritance-and-multi-target-builds
The feature is stabilized, and useful when we bump our version or edition.

It’s available on our toolchain, but I’d prefer to bump our toolchain first.

blocked by https://github.com/risingwavelabs/risingwave/pull/5119

close by https://github.com/risingwavelabs/risingwave/pull/6423

authors: TennyZhuang xxchan

repo: risingwavelabs/risingwave


text:
Discussion: collect statistics of internal state tables, indexes and MVs

Although a cost-based optimizer is not a near-term goal as discussed in #7014,
we have some other motivations to collect statistics:

Users can use these statistics when they themselves plan the query in a better way in the future by using e.g. selectivity, cardinality, etc.
Explainability. For example, if the cache hit rate is low, it could be multiple reasons, or simply because there are too many different keys. This can be good evidence for users to consider allocating more resources.
In the future, we may either Expose Materialized Views with Data Lakes or Embed 3rd-party Query Engine. Then the statistics become useful for other engines.
......

One difference between these statistics and the metrics shown on the Grafana dashboard is that
these statistics need to be durable and be kept somewhere within the kernel.

For the cost-based optimizer (CBO), my concern is that it could do very little help for streaming queries, because:

Streaming queries may also involve some sources, which has definitely no statistics availble
Some tables may be empty or almost empty when creating a Materialized View, at that time, these statistics can even mislead the operators
Even though the statistics got updated, we can hardly update the existing streaming query to make it perform better.

In summary, I think CBO is good for OLAP queries but might not be helpful for streaming queries and serving.

yes, CBO is not worth it

selectivity, cardinality

Could we first expose them as metrics?

as long as it does not rely on or is stored in another third-party system.

cc. @hzxa21 How do you think?

In summary, I think CBO is good for OLAP queries but might not be helpful for streaming queries and serving.

+1.
Without considering CBO, I am also skeptical about the benefits of introducing statistics. I think we need to be clearer about what statistics we think are useful and how to maintain statistics.

Users can use these statistics when they themselves plan the query in a better way in the future by using e.g. selectivity, cardinality, etc.
Explainability. For example, if the cache hit rate is low, it could be multiple reasons, or simply because there are too many different keys. This can be good evidence for users to consider allocating more resources.

Maintaining cardinality makes sense to me but I am not sure whether streaming join selectivity needs to be durable. IMO, if user cares about streaming join selectivity, it cares more about the trend of the changes in selectivity to see whether there is anything wrong with the data or the streaming SQL. This looks more like a metric shown in grafana and doesn't need to be stored as a durable statistics.

In the future, we may either Expose Materialized Views with Data Lakes or Embed 3rd-party Query Engine. Then the statistics become useful for other engines

True. But this is more about querable states like MVs, not internal table states. We are still exploring this topic and don't have a mature idea on how to allow efficient OLAP query from 3rd engine or data lakes. We may a columnar storage/format and other than per table statistics, we may also need finer grain per table per data file statistics as well. Since the focus right now is more on the serving and streaming side, I think we can postpone the dicussion on this point for now.
Several ideas on how to maintain statistics:

Create associated MVs for different statistics (#5529). In other words, using streaming query to get statistics.
Don't maintain statistics but just use ad-hoc query to calculate statistics on demand since the use cases are more about explainability and observability, not CBO. In other words, using batch query to get statistics.
Maintain per table per data file statistics (e.g. # of distinct keys for table A in file 1). This is mostly useful for OLAP query to conduct more aggressive pruning and pre-aggregation.

Let's hold this for a while and I will draft a doc for further discussion.
As a late and quick response:
We all agree that a cost-based optimizer is not worth it.
But the responsibility and complexity of query optimization are transferred(partially) to the users and are still there.
Meaning that if one statistic is supposed to be helpful in a CBO, then it should still be beneficial for users if they want to alter the plan manually, although it may be beyond an average user's understanding and domain knowledge.

Streaming queries may also involve some sources, which has definitely no statistics available

True, we can only collect the statistics for a while first and then benefit the queries to be executed in the future.

Some tables may be empty or almost empty when creating a Materialized View, at that time, these statistics can even mislead the optimizer.

True. But if the user chooses to intervene in the optimization, the user can ignore unreliable statistics. We can show how much data is collected to calculate one statistics, e.g. confidence interval sort of thing.

Even though the statistics got updated, we can hardly update the existing streaming query to make it perform better.

It depends on how much better we can make it and how important the query is. Currently, we have no feedback from users, but it is possible that it can be a killer feature. We can have a new plan running concurrently and replace the old one when it finally catches up, although the implementation is definitely non-trivial.
One observation is that a stream query that cares about low latency mostly just focuses on the data within a recent period of time -> not much historical data to recompute. Will collect more feedback with respect to this in the future.

needs to be durable.

If it only needs to be visible to users, Grafana is indeed enough. Durable or not will depend on whether these statistics will be used internally or exposed to third-party systems in the future, or when the user only has access to psql in the terminal, which I suppose is a rare case.
If using create associated MVs for different statistics, then it is automatically durable. Although multiple associated MVs may introduce some extra overhead other than the overhead of calculating statistics.

Don't maintain statistics but just use ad-hoc query to calculate statistics on demand
I think it is good enough as this is also what traditional DBs are doing, e.g. Postgres ANALYZE and VACUUM and stores them in pg_catalog.pg_statistic.

authors: fuyufjh hzxa21 lmatz


text:
perf: nexmark q15

query:
CREATE MATERIALIZED VIEW nexmark_q15 AS
SELECT
     to_char(date_time, 'YYYY-MM-DD') as "day",
     count(*) AS total_bids,
     count(*) filter (where price < 10000) AS rank1_bids,
     count(*) filter (where price >= 10000 and price < 1000000) AS rank2_bids,
     count(*) filter (where price >= 1000000) AS rank3_bids,
     count(distinct bidder) AS total_bidders,
     count(distinct bidder) filter (where price < 10000) AS rank1_bidders,
     count(distinct bidder) filter (where price >= 10000 and price < 1000000) AS rank2_bidders,
     count(distinct bidder) filter (where price >= 1000000) AS rank3_bidders,
     count(distinct auction) AS total_auctions,
     count(distinct auction) filter (where price < 10000) AS rank1_auctions,
     count(distinct auction) filter (where price >= 10000 and price < 1000000) AS rank2_auctions,
     count(distinct auction) filter (where price >= 1000000) AS rank3_auctions
FROM bid
GROUP BY to_char(date_time, 'YYYY-MM-DD');

plan:
 StreamMaterialize { columns: [day, total_bids, rank1_bids, rank2_bids, rank3_bids, total_bidders, rank1_bidders, rank2_bidders, rank3_bidders, total_auctions, rank1_auctions, rank2_auctions, rank3_auctions], pk_columns: [day] }
 └─StreamProject { exprs: [ToChar(Field(bid, 5:Int32), 'YYYY-MM-DD':Varchar), sum0(count) filter((flag = 0:Int64)), sum0(count filter((Field(bid, 2:Int32) < 10000:Int32))) filter((flag = 0:Int64)), sum0(count filter((Field(bid, 2:Int32) >= 10000:Int32) AND (Field(bid, 2:Int32) < 1000000:Int32))) filter((flag = 0:Int64)), sum0(count filter((Field(bid, 2:Int32) >= 1000000:Int32))) filter((flag = 0:Int64)), count(Field(bid, 1:Int32)) filter((flag = 1:Int64)), count(Field(bid, 1:Int32)) filter((count filter((Field(bid, 2:Int32) < 10000:Int32)) > 0:Int64) AND (flag = 1:Int64)), count(Field(bid, 1:Int32)) filter((count filter((Field(bid, 2:Int32) >= 10000:Int32) AND (Field(bid, 2:Int32) < 1000000:Int32)) > 0:Int64) AND (flag = 1:Int64)), count(Field(bid, 1:Int32)) filter((count filter((Field(bid, 2:Int32) >= 1000000:Int32)) > 0:Int64) AND (flag = 1:Int64)), count(Field(bid, 0:Int32)) filter((flag = 2:Int64)), count(Field(bid, 0:Int32)) filter((count filter((Field(bid, 2:Int32) < 10000:Int32)) > 0:Int64) AND (flag = 2:Int64)), count(Field(bid, 0:Int32)) filter((count filter((Field(bid, 2:Int32) >= 10000:Int32) AND (Field(bid, 2:Int32) < 1000000:Int32)) > 0:Int64) AND (flag = 2:Int64)), count(Field(bid, 0:Int32)) filter((count filter((Field(bid, 2:Int32) >= 1000000:Int32)) > 0:Int64) AND (flag = 2:Int64))] }
   └─StreamHashAgg { group_key: [ToChar(Field(bid, 5:Int32), 'YYYY-MM-DD':Varchar)], aggs: [count, sum0(count) filter((flag = 0:Int64)), sum0(count filter((Field(bid, 2:Int32) < 10000:Int32))) filter((flag = 0:Int64)), sum0(count filter((Field(bid, 2:Int32) >= 10000:Int32) AND (Field(bid, 2:Int32) < 1000000:Int32))) filter((flag = 0:Int64)), sum0(count filter((Field(bid, 2:Int32) >= 1000000:Int32))) filter((flag = 0:Int64)), count(Field(bid, 1:Int32)) filter((flag = 1:Int64)), count(Field(bid, 1:Int32)) filter((count filter((Field(bid, 2:Int32) < 10000:Int32)) > 0:Int64) AND (flag = 1:Int64)), count(Field(bid, 1:Int32)) filter((count filter((Field(bid, 2:Int32) >= 10000:Int32) AND (Field(bid, 2:Int32) < 1000000:Int32)) > 0:Int64) AND (flag = 1:Int64)), count(Field(bid, 1:Int32)) filter((count filter((Field(bid, 2:Int32) >= 1000000:Int32)) > 0:Int64) AND (flag = 1:Int64)), count(Field(bid, 0:Int32)) filter((flag = 2:Int64)), count(Field(bid, 0:Int32)) filter((count filter((Field(bid, 2:Int32) < 10000:Int32)) > 0:Int64) AND (flag = 2:Int64)), count(Field(bid, 0:Int32)) filter((count filter((Field(bid, 2:Int32) >= 10000:Int32) AND (Field(bid, 2:Int32) < 1000000:Int32)) > 0:Int64) AND (flag = 2:Int64)), count(Field(bid, 0:Int32)) filter((count filter((Field(bid, 2:Int32) >= 1000000:Int32)) > 0:Int64) AND (flag = 2:Int64))] }
     └─StreamExchange { dist: HashShard(ToChar(Field(bid, 5:Int32), 'YYYY-MM-DD':Varchar)) }
       └─StreamProject { exprs: [ToChar(Field(bid, 5:Int32), 'YYYY-MM-DD':Varchar), Field(bid, 1:Int32), Field(bid, 1:Int32), Field(bid, 1:Int32), Field(bid, 1:Int32), Field(bid, 0:Int32), Field(bid, 0:Int32), Field(bid, 0:Int32), Field(bid, 0:Int32), flag, count, count filter((Field(bid, 2:Int32) < 10000:Int32)), count filter((Field(bid, 2:Int32) >= 10000:Int32) AND (Field(bid, 2:Int32) < 1000000:Int32)), count filter((Field(bid, 2:Int32) >= 1000000:Int32)), count filter((Field(bid, 2:Int32) < 10000:Int32)), count filter((Field(bid, 2:Int32) >= 10000:Int32) AND (Field(bid, 2:Int32) < 1000000:Int32)), count filter((Field(bid, 2:Int32) >= 1000000:Int32)), count filter((Field(bid, 2:Int32) < 10000:Int32)), count filter((Field(bid, 2:Int32) >= 10000:Int32) AND (Field(bid, 2:Int32) < 1000000:Int32)), count filter((Field(bid, 2:Int32) >= 1000000:Int32))] }
         └─StreamAppendOnlyHashAgg { group_key: [ToChar(Field(bid, 5:Int32), 'YYYY-MM-DD':Varchar), Field(bid, 1:Int32), Field(bid, 0:Int32), flag], aggs: [count, count, count filter((Field(bid, 2:Int32) < 10000:Int32)), count filter((Field(bid, 2:Int32) >= 10000:Int32) AND (Field(bid, 2:Int32) < 1000000:Int32)), count filter((Field(bid, 2:Int32) >= 1000000:Int32)), count filter((Field(bid, 2:Int32) < 10000:Int32)), count filter((Field(bid, 2:Int32) >= 10000:Int32) AND (Field(bid, 2:Int32) < 1000000:Int32)), count filter((Field(bid, 2:Int32) >= 1000000:Int32)), count filter((Field(bid, 2:Int32) < 10000:Int32)), count filter((Field(bid, 2:Int32) >= 10000:Int32) AND (Field(bid, 2:Int32) < 1000000:Int32)), count filter((Field(bid, 2:Int32) >= 1000000:Int32))] }
           └─StreamExchange { dist: HashShard(ToChar(Field(bid, 5:Int32), 'YYYY-MM-DD':Varchar), Field(bid, 1:Int32), Field(bid, 0:Int32), flag) }
             └─StreamExpand { column_subsets: [[ToChar(Field(bid, 5:Int32), 'YYYY-MM-DD':Varchar)], [ToChar(Field(bid, 5:Int32), 'YYYY-MM-DD':Varchar), Field(bid, 1:Int32)], [ToChar(Field(bid, 5:Int32), 'YYYY-MM-DD':Varchar), Field(bid, 0:Int32)]] }
               └─StreamProject { exprs: [ToChar(Field(bid, 5:Int32), 'YYYY-MM-DD':Varchar), Field(bid, 2:Int32), Field(bid, 1:Int32), Field(bid, 0:Int32), _row_id] }
                 └─StreamFilter { predicate: (event_type = 2:Int32) }
                   └─StreamRowIdGen { row_id_index: 4 }
                     └─StreamSource { source: "nexmark", columns: ["event_type", "person", "auction", "bid", "_row_id"] }

1/13:
The same as #7271 , requires changing to shuffle aggregation instead of two-phase aggregation.
Check again after it is done.

Now 3/2:
RW:
 StreamMaterialize { columns: [day, total_bids, rank1_bids, rank2_bids, rank3_bids, total_bidders, rank1_bidders, rank2_bidders, rank3_bidders, total_auctions, rank1_auctions, rank2_auctions, rank3_auctions], pk_columns: [day], pk_conflict: "no check" }
 └─StreamAppendOnlyHashAgg { group_key: [$expr1], aggs: [count, count filter(($expr2 < 10000:Int32)), count filter(($expr2 >= 10000:Int32) AND ($expr2 < 1000000:Int32)), count filter(($expr2 >= 1000000:Int32)), count(distinct $expr3), count(distinct $expr3) filter(($expr2 < 10000:Int32)), count(distinct $expr3) filter(($expr2 >= 10000:Int32) AND ($expr2 < 1000000:Int32)), count(distinct $expr3) filter(($expr2 >= 1000000:Int32)), count(distinct $expr4), count(distinct $expr4) filter(($expr2 < 10000:Int32)), count(distinct $expr4) filter(($expr2 >= 10000:Int32) AND ($expr2 < 1000000:Int32)), count(distinct $expr4) filter(($expr2 >= 1000000:Int32))] }
   └─StreamExchange { dist: HashShard($expr1) }
     └─StreamProject { exprs: [ToChar(Field(bid, 5:Int32), 'YYYY-MM-DD':Varchar) as $expr1, Field(bid, 2:Int32) as $expr2, Field(bid, 1:Int32) as $expr3, Field(bid, 0:Int32) as $expr4, _row_id] }
       └─StreamFilter { predicate: (event_type = 2:Int32) }
         └─StreamRowIdGen { row_id_index: 4 }
           └─StreamSource { source: "nexmark", columns: ["event_type", "person", "auction", "bid", "_row_id"] }
(7 rows)

 Fragment 0
   StreamMaterialize { columns: [day, total_bids, rank1_bids, rank2_bids, rank3_bids, total_bidders, rank1_bidders, rank2_bidders, rank3_bidders, total_auctions, rank1_auctions, rank2_auctions, rank3_auctions], pk_columns: [day], pk_conflict: "no check" }
       materialized table: 4294967294
     StreamAppendOnlyHashAgg { group_key: [$expr174], aggs: [count, count filter(($expr175 < 10000:Int32)), count filter(($expr175 >= 10000:Int32) AND ($expr175 < 1000000:Int32)), count filter(($expr175 >= 1000000:Int32)), count(distinct $expr176), count(distinct $expr176) filter(($expr175 < 10000:Int32)), count(distinct $expr176) filter(($expr175 >= 10000:Int32) AND ($expr175 < 1000000:Int32)), count(distinct $expr176) filter(($expr175 >= 1000000:Int32)), count(distinct $expr177), count(distinct $expr177) filter(($expr175 < 10000:Int32)), count(distinct $expr177) filter(($expr175 >= 10000:Int32) AND ($expr175 < 1000000:Int32)), count(distinct $expr177) filter(($expr175 >= 1000000:Int32))] }
         result table: 0, state tables: []
       StreamExchange Hash([0]) from 1

 Fragment 1
   StreamProject { exprs: [ToChar(Field(bid, 5:Int32), 'YYYY-MM-DD':Varchar) as $expr174, Field(bid, 2:Int32) as $expr175, Field(bid, 1:Int32) as $expr176, Field(bid, 0:Int32) as $expr177, _row_id] }
     StreamFilter { predicate: (event_type = 2:Int32) }
       StreamRowIdGen { row_id_index: 4 }
         StreamSource { source: "nexmark", columns: ["event_type", "person", "auction", "bid", "_row_id"] }
             source state table: 3

  Table 0 { columns: [$expr174, count, count filter(($expr175 < 10000:Int32)), count filter(($expr175 >= 10000:Int32) AND ($expr175 < 1000000:Int32)), count filter(($expr175 >= 1000000:Int32)), count(distinct $expr176), count(distinct $expr176) filter(($expr175 < 10000:Int32)), count(distinct $expr176) filter(($expr175 >= 10000:Int32) AND ($expr175 < 1000000:Int32)), count(distinct $expr176) filter(($expr175 >= 1000000:Int32)), count(distinct $expr177), count(distinct $expr177) filter(($expr175 < 10000:Int32)), count(distinct $expr177) filter(($expr175 >= 10000:Int32) AND ($expr175 < 1000000:Int32)), count(distinct $expr177) filter(($expr175 >= 1000000:Int32))], primary key: [$0 ASC], value indices: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], distribution key: [0] }
  Table 3 { columns: [partition_id, offset], primary key: [$0 ASC], value indices: [0, 1], distribution key: [] }
  Table 4294967294 { columns: [day, total_bids, rank1_bids, rank2_bids, rank3_bids, total_bidders, rank1_bidders, rank2_bidders, rank3_bidders, total_auctions, rank1_auctions, rank2_auctions, rank3_auctions], primary key: [$0 ASC], value indices: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], distribution key: [0] }
(17 rows)


text:
feat: support more types for canal json

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?

🤖 Generated by Copilot at 26de94a
Refactored JSON parsing logic for Canal format and other data sources. Removed redundant code and improved modularity and reusability of common functions. Simplified imports and function signatures in src/connector/src/parser/canal/simd_json_parser.rs and src/connector/src/parser/common.rs.

🤖 Generated by Copilot at 26de94a

Simplify and reuse the logic of parsing JSON values from the Canal format by removing the cannal_do_parse_simd_json_value function and calling the do_parse_simd_json_value function from the common.rs file instead (link, link, link)
Modify the signature and body of the do_parse_simd_json_value function in the common.rs file to take a &SourceFormat parameter and use a match expression on the tuple of the data type and the source format, enabling the function to handle different source formats more explicitly and flexibly, such as the Canal format, which has some special cases for parsing certain data types (link, link, link, link, link, link, link, link, link, link, link)
Move the json_object_smart_get_value function from the common.rs file to the simd_json_parser.rs file, reducing the coupling between the common and canal-specific modules and making the function more accessible to the canal parser logic (link)
Reorganize and remove some unused imports in the simd_json_parser.rs file, improving the readability and performance of the code (link)

Checklist For Contributors

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] I have demonstrated that backward compatibility is not broken by breaking changes and created issues to track deprecated features to be removed in the future. (Please refer to the issue)
[ ] All checks passed in ./risedev check (or alias, ./risedev c)

Checklist For Reviewers

[ ] I have requested macro/micro-benchmarks as this PR can affect performance substantially, and the results are shown.

Documentation

[ ] My PR DOES NOT contain user-facing changes.

Click here for Documentation
Types of user-facing changes
Please keep the types that apply to your changes, and remove the others.

Installation and deployment
Connector (sources & sinks)
SQL commands, functions, and operators
RisingWave cluster configuration changes
Other (please specify in the release note below)

Release note

resolve #9416

LGTM but need some tests

yes, I am working on some jsonb samples

kinda strange that TiCDC does not work with json type column but leaves no error message.
create table temp (
    `id` int primary key,
    `json` JSON,
);

insert into temp values (1, '{"a": 1, "b": 2}'), (2, '{"a": 3, "c": 4}');

I added the above table to risingwave/integration_tests/tidb-cdc-sink/tidb_create_tables.sql and all tables stopped replication.
may need more time for investigation


text:
fix(memmgr): reserve 10% memory

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?

Checklist For Contributors

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] I have demonstrated that backward compatibility is not broken by breaking changes and created issues to track deprecated features to be removed in the future. (Please refer to the issue)
[ ] All checks passed in ./risedev check (or alias, ./risedev c)

Checklist For Reviewers

[ ] I have requested macro/micro-benchmarks as this PR can affect performance substantially, and the results are shown.

Documentation

[ ] My PR DOES NOT contain user-facing changes.

Click here for Documentation
Types of user-facing changes
Please keep the types that apply to your changes, and remove the others.

Installation and deployment
Connector (sources & sinks)
SQL commands, functions, and operators
RisingWave cluster configuration changes
Other (please specify in the release note below)

Release note

LGTM. May run a longevity test.

If this parameter is hard-coded, how about in v0.19.0 we still use 0.2, just try to be conservative.
And change it to 0.2 in the future release version

let's try once: https://buildkite.com/risingwavelabs/docker/builds/13886

authors: TennyZhuang fuyufjh lmatz


text:
Ordering items

When posting a list of items the output is not in same order. It would be nice(r) and logical if embed shows are in same direction/list.
https://www.cca.edu/sites/default/files/pdf/08/word-to-pdf.pdf
https://twitter.com/MarjoleinPloegm/status/586461330980343808
https://www.youtube.com/watch?v=QHulaj5ZxbI
http://jsbin.com/iwovaj/73
http://jsfiddle.net/50a7kwp5/26/

this one is tricky.

@jesusprubio any suggestions regarding this ?

Tricky function request? :)

yes but i am try to rewrite some functionalities that will help in fixing this issue.

thnx

When i post Google docs items:
http://www.vorsite.nl/content/bestanden/samenvatting-evers_brouwers_etc_2001_03.doc
http://www.econ.yale.edu/~shiller/data/ie_data.xls
https://www.cca.edu/sites/default/files/pdf/08/word-to-pdf.pdf
http://ideone.com/0GQY2W
this happens:

in previous version it was:

the current regex is /((?:https?):\/\/\S*\.(?:pdf|doc|docx|xls|xlsx|ppt|pptx))/gi Currently S* accepts \n, \r and spaces also.Just working on a regex that excludes those. If you have any suggestion, do comment.


text:
Dev

Fusionando boiler plate

Se finaliza el merge de dev a main


text:
Merge Program ke Master

Tolong di cek ya

udah aman sih

mantab

tunggu yang lain cek dulu baru merge

aman slur

authors: geralele rizky1481 rizkyyusfian

repo: rizkyyusfian/lelangonline


text:
Enforce forward slashes for $GOPATH

Under Windows, the $GOPATH variable might contain backslashes, which cgo ignores as part of its CFLAGS or LDFLAGS. They also clash with the forward slashes that tend to be used everywhere else in .pc files.

FWIW, windows needs to also be wrapped in quotes to deal with spaces in paths

authors: CannibalVox nmlgc

repo: rjeczalik/pkgconfig


text:
Generate initial draft of the processed data models

The goal is to create django models that match the processed .tsv files that were included in the rmp2018.zip file provided by Matt.
The plan:

Use csvkit's csvsql command to generate CREATE TABLE statements for each .tsv file.
Run each of these CREATE TABLE statements on a local postgres db.
Connect a django project to said postgres db.
Use django's inspectdb management command to auto-generate the model classes.

Just keeping track of how I went about this.
I looped over all the .tsv files extracted from the zip, and used csvkit's csvsql command to create the table and insert data into it.
for f in ~/Desktop/rtk/rmp2018/rmp_*.tsv
do
    echo "Processing $f file..."
    csvsql --create-if-not-exists --insert --db postgresql://gordo:@127.0.0.1:5432/rmp $f
    echo "done"
    echo "--------------------------------------"
done

Here are the tables that were created:

rmp_acc_chem
rmp_acc_flam
rmp_chem_cd
rmp_dereg_cd
rmp_dochan_cd
rmp_doctyp_cd
rmp_events_cd
rmp_exec_sum_len
rmp_lldesc_cd
rmp_llmeth_cd
rmp_phys_cd
rmp_prevent_2_chem
rmp_prevent_3_chem
rmp_proc_chem
rmp_proc_flam
rmp_proc_naics
rmp_reject_cd
rmp_scen_cd
rmp_submit_cd
rmp_topo_cd
rmp_wind_cd

Here are the files for which tables were not created and the reason:

file
reason

rmp_accident.tsv
Row 0 has 3 values, but Table only has 1 columns.

rmp_alt_flam.tsv
Row 0 has 11 values, but Table only has 1 columns.

rmp_alt_tox.tsv
Row 6 has 2 values, but Table only has 1 columns.

rmp_execsum.tsv
CSV contains fields longer than maximum length of 131072 characters. Try raising the maximum with the field_size_limit parameter, or try setting quoting=csv.QUOTE_NONE.

rmp_facility.tsv
Row 0 has 14 values, but Table only has 1 columns.

rmp_prev2text.tsv
CSV contains fields longer than maximum length of 131072 characters. Try raising the maximum with the field_size_limit parameter, or try setting quoting=csv.QUOTE_NONE.

rmp_prev3text.tsv
Row 2 has 5 values, but Table only has 1 columns.

rmp_prevent_2.tsv
CSV contains fields longer than maximum length of 131072 characters. Try raising the maximum with the field_size_limit parameter, or try setting quoting=csv.QUOTE_NONE.

rmp_prevent_3.tsv
Row 0 has 16 values, but Table only has 1 columns.

rmp_process.tsv
Row 3 has 2 values, but Table only has 1 columns.

rmp_registration.tsv
Row 0 has 33 values, but Table only has 1 columns.

rmp_response.tsv
CSV contains fields longer than maximum length of 131072 characters. Try raising the maximum with the field_size_limit parameter, or try setting quoting=csv.QUOTE_NONE.

rmp_worst_flam.tsv
CSV contains fields longer than maximum length of 131072 characters. Try raising the maximum with the field_size_limit parameter, or try setting quoting=csv.QUOTE_NONE.

rmp_worst_tox.tsv
Row 0 has 2 values, but Table only has 1 columns.

Tried to run:
python manage.py makemigrations rmp

However, came up with a bunch of "SystemCheckErrors":
rmp.ChemCd.cas2: (fields.E121) 'max_length' must be a positive integer.
rmp.ChemCd.chemical_name: (fields.E121) 'max_length' must be a positive integer.
rmp.ChemCd.chemical_owner: (fields.E121) 'max_length' must be a positive integer.
rmp.DeregCd.dereg_tr: (fields.E121) 'max_length' must be a positive integer.
rmp.DochanCd.dochan: (fields.E121) 'max_length' must be a positive integer.
rmp.DochanCd.dochan_tr: (fields.E121) 'max_length' must be a positive integer.
rmp.DoctypCd.doctyp: (fields.E121) 'max_length' must be a positive integer.
rmp.DoctypCd.doctyp_tr: (fields.E121) 'max_length' must be a positive integer.
rmp.EventsCd.events: (fields.E121) 'max_length' must be a positive integer.
rmp.EventsCd.events_tr: (fields.E121) 'max_length' must be a positive integer.
rmp.LldescCd.lldesc: (fields.E121) 'max_length' must be a positive integer.
rmp.LldescCd.lldesc_tr: (fields.E121) 'max_length' must be a positive integer.
rmp.LlmethCd.llmeth: (fields.E121) 'max_length' must be a positive integer.
rmp.LlmethCd.llmeth_tr: (fields.E121) 'max_length' must be a positive integer.
rmp.PhysCd.phys: (fields.E121) 'max_length' must be a positive integer.
rmp.PhysCd.phys_tr: (fields.E121) 'max_length' must be a positive integer.
rmp.RejectCd.reject: (fields.E121) 'max_length' must be a positive integer.
rmp.RejectCd.reject_tr: (fields.E121) 'max_length' must be a positive integer.
rmp.ScenCd.scen: (fields.E121) 'max_length' must be a positive integer.
rmp.ScenCd.scen_tr: (fields.E121) 'max_length' must be a positive integer.
rmp.SubmitCd.submit: (fields.E121) 'max_length' must be a positive integer.
rmp.SubmitCd.submit_tr: (fields.E121) 'max_length' must be a positive integer.
rmp.TopoCd.topo: (fields.E121) 'max_length' must be a positive integer.
rmp.TopoCd.topo_tr: (fields.E121) 'max_length' must be a positive integer.
rmp.WindCd.wind: (fields.E121) 'max_length' must be a positive integer.
rmp.WindCd.wind_tr: (fields.E121) 'max_length' must be a positive integer.

Looks like the CREATE TABLE statements generated by csvsql don't include a maximum character length. Absent that, I guess Django's inspectdb defaults to max_length=1.

I unwisely entered each table necessary table into my local database by hand, but I got the job done. No errors, but I held out on importing two .csv files where I'm not exactly sure of the schema.
I didn't get any errors when I ran the makemigration and migrate, so there must be some sort of disconnect. We can look at it tomorrow afternoon.

I'm not sure your approach is all that unwise, given the difficulties I've encountered in this auto-inference tool chain. Slow and steady wins the race.

Here are the current maximum character lengths for each of these fields:

table_name
column_name
max_char_length

chem_cd
cas2
10

chem_cd
chemical_name
92

chem_cd
chemical_owner
3

dereg_cd
dereg_tr
62

dochan_cd
dochan
1

dochan_cd
dochan_tr
16

doctyp_cd
doctyp
1

doctyp_cd
doctyp_tr
30

events_cd
events
1

events_cd
events_tr
40

lldesc_cd
lldesc
2

lldesc_cd
lldesc_tr
36

llmeth_cd
llmeth
2

llmeth_cd
llmeth_tr
83

phys_cd
phys
1

phys_cd
phys_tr
30

reject_cd
reject
1

reject_cd
reject_tr
59

scen_cd
scen
1

scen_cd
scen_tr
27

submit_cd
submit
3

submit_cd
submit_tr
101

topo_cd
topo
1

topo_cd
topo_tr
5

wind_cd
wind
1

wind_cd
wind_tr
13

Here's how I got this:
select
    'chem_cd' as "table_name",
    'cas2' as "column_name",
    max(length(cas2)) as "max_char_length"
from rmp_chem_cd
union all
select
    'chem_cd' as "table_name",
    'chemical_name' as "column_name",
    max(length(chemical_name)) as "max_char_length"
from rmp_chem_cd
union all
select
    'chem_cd' as "table_name",
    'chemical_owner' as "column_name",
    max(length(chemical_owner)) as "max_char_length"
from rmp_chem_cd
union all
select
    'dereg_cd' as "table_name",
    'dereg_tr' as "column_name",
    max(length(dereg_tr)) as "max_char_length"
from rmp_dereg_cd
union all
select
    'dochan_cd' as "table_name",
    'dochan' as "column_name",
    max(length(dochan)) as "max_char_length"
from rmp_dochan_cd
union all
select
    'dochan_cd' as "table_name",
    'dochan_tr' as "column_name",
    max(length(dochan_tr)) as "max_char_length"
from rmp_dochan_cd
union all
select
    'doctyp_cd' as "table_name",
    'doctyp' as "column_name",
    max(length(doctyp)) as "max_char_length"
from rmp_doctyp_cd
union all
select
    'doctyp_cd' as "table_name",
    'doctyp_tr' as "column_name",
    max(length(doctyp_tr)) as "max_char_length"
from rmp_doctyp_cd
union all
select
    'events_cd' as "table_name",
    'events' as "column_name",
    max(length(events)) as "max_char_length"
from rmp_events_cd
union all
select
    'events_cd' as "table_name",
    'events_tr' as "column_name",
    max(length(events_tr)) as "max_char_length"
from rmp_events_cd
union all
select
    'lldesc_cd' as "table_name",
    'lldesc' as "column_name",
    max(length(lldesc)) as "max_char_length"
from rmp_lldesc_cd
union all
select
    'lldesc_cd' as "table_name",
    'lldesc_tr' as "column_name",
    max(length(lldesc_tr)) as "max_char_length"
from rmp_lldesc_cd
union all
select
    'llmeth_cd' as "table_name",
    'llmeth' as "column_name",
    max(length(llmeth)) as "max_char_length"
from rmp_llmeth_cd
union all
select
    'llmeth_cd' as "table_name",
    'llmeth_tr' as "column_name",
    max(length(llmeth_tr)) as "max_char_length"
from rmp_llmeth_cd
union all
select
    'phys_cd' as "table_name",
    'phys' as "column_name",
    max(length(phys)) as "max_char_length"
from rmp_phys_cd
union all
select
    'phys_cd' as "table_name",
    'phys_tr' as "column_name",
    max(length(phys_tr)) as "max_char_length"
from rmp_phys_cd
union all
select
    'reject_cd' as "table_name",
    'reject' as "column_name",
    max(length(reject)) as "max_char_length"
from rmp_reject_cd
union all
select
    'reject_cd' as "table_name",
    'reject_tr' as "column_name",
    max(length(reject_tr)) as "max_char_length"
from rmp_reject_cd
union all
select
    'scen_cd' as "table_name",
    'scen' as "column_name",
    max(length(scen)) as "max_char_length"
from rmp_scen_cd
union all
select
    'scen_cd' as "table_name",
    'scen_tr' as "column_name",
    max(length(scen_tr)) as "max_char_length"
from rmp_scen_cd
union all
select
    'submit_cd' as "table_name",
    'submit' as "column_name",
    max(length(submit)) as "max_char_length"
from rmp_submit_cd
union all
select
    'submit_cd' as "table_name",
    'submit_tr' as "column_name",
    max(length(submit_tr)) as "max_char_length"
from rmp_submit_cd
union all
select
    'topo_cd' as "table_name",
    'topo' as "column_name",
    max(length(topo)) as "max_char_length"
from rmp_topo_cd
union all
select
    'topo_cd' as "table_name",
    'topo_tr' as "column_name",
    max(length(topo_tr)) as "max_char_length"
from rmp_topo_cd
union all
select
    'wind_cd' as "table_name",
    'wind' as "column_name",
    max(length(wind)) as "max_char_length"
from rmp_wind_cd
union all
select
    'wind_cd' as "table_name",
    'wind_tr' as "column_name",
    max(length(wind_tr)) as "max_char_length"
from rmp_wind_cd;

Actually, I don't know why I'm not just looking at db_fields.tsv. Duh.

authors: gordonje thomasoide

repo: rji-futures-lab/django-rmp-data


text:
Move to rbenv organisation?

I find this is a pretty simple yet useful plugin. It could be worth making it officially part of the rbenv umbrella.
Have you considered moving it to rbenv and asking to become a team member to continue maintaining it? I think doing so makes a lot of sense, but I might be missing something.
Any thoughts @sstephenson ? Cheers!

As it hasn't happened yet, I doubt it will.

But for posterity: https://github.com/rbenv/rbenv/issues/301

authors: Ivoz jasonkarns

repo: rkh/rbenv-update


text:
WIP Warning callout

Add warning callout as a signposting to patients looking for medical assistance.
Teporary added to the homepage.
This will need to be turned into a block, that can be edited from wagtail admin side.
NHS Design system reference:
https://service-manual.nhs.uk/design-system/components/warning-callout

@nickmoreton do we need to wait for the admin functionality to be added before merging it?


text:
Blog archive

Blog archive issues

there is not restriction that the current used has to be the author of the blog.
And blog was not saved but API is returning success.

Fixed PR

repo: rkshaon/blog


text:
Iced sample code keeps crashing at every lib reload

I've been experimenting with the following Iced sample code, but it keeps crashing at every lib reload. I can't figure out if I'm mistaking something or if it's due to a hot-lib-reloader-rs' issue, can you please help me out?
I tested the attached code both on Windows 10 and Arch Linux, with rustc version 1.65.0 and 1.67.0-nightly, and I attempted also using cargo run --features iced/glow with no luck.
commands:
  bin: |
    cargo run
  lib: |
      cargo watch -w lib -x 'build -p lib'

bin
[workspace]
members = ["lib"]

[package]
name = "bin"
version = "0.1.0"
edition = "2021"

[dependencies]
hot-lib-reloader = "0.6.4"
iced = "0.5.2"
lib = { path = "lib" }

#[hot_lib_reloader::hot_module(dylib = "lib")]
mod hot_lib {
    use iced::{Element, Theme};
    pub use lib::*;
    hot_functions_from_file!("lib/src/lib.rs");
}

use hot_lib::*;
use iced::{Element, Sandbox, Settings, Theme};

fn main() -> iced::Result {
    App::run(Settings::default())
}

#[derive(Debug, Default)]
struct App {
    state: State,
}

impl Sandbox for App {
    type Message = Message;

    fn new() -> Self {
        Self::default()
    }

    fn title(&self) -> String {
        title()
    }

    fn update(&mut self, message: Message) {
        update(&mut self.state, message)
    }

    fn view(&self) -> Element<Message> {
        view(&self.state)
    }

    fn theme(&self) -> Theme {
        theme(&self.state)
    }
}

lib
[package]
name = "lib"
version = "0.1.0"
edition = "2021"

[lib]
crate-type = ["rlib", "dylib"]

[dependencies]
iced = "0.5.2"

use iced::widget::{
    button, column, horizontal_rule, horizontal_space, radio, row, text, vertical_space,
};
use iced::{Alignment, Element, Length, Theme};

#[derive(Debug)]
pub struct State {
    text_size: u16,
    theme: Theme,
}

impl Default for State {
    fn default() -> Self {
        Self {
            text_size: 100,
            theme: Theme::default(),
        }
    }
}

#[derive(Debug, PartialEq, Eq, Clone, Copy)]
pub enum ThemeType {
    Light,
    Dark,
}

#[derive(Debug, Clone)]
pub enum Message {
    ThemeChanged(ThemeType),
    IncrementTextSizePressed,
    DecrementTextSizePressed,
}

#[no_mangle]
pub fn title() -> String {
    String::from("Hello World - HotIce")
}

#[no_mangle]
pub fn update(state: &mut State, message: Message) {
    let size_change = 10;
    match message {
        Message::ThemeChanged(theme) => {
            state.theme = match theme {
                ThemeType::Light => Theme::Light,
                ThemeType::Dark => Theme::Dark,
            }
        }
        Message::IncrementTextSizePressed => {
            if state.text_size <= 200 - size_change {
                state.text_size += size_change;
            }
        }
        Message::DecrementTextSizePressed => {
            if state.text_size >= size_change {
                state.text_size -= size_change;
            }
        }
    }
}

#[no_mangle]
pub fn view(state: &State) -> Element<Message> {
    let choose_theme = [ThemeType::Light, ThemeType::Dark].into_iter().fold(
        column![text("Choose a theme:")].spacing(10),
        |column, theme| {
            column.push(radio(
                format!("{:?}", theme),
                theme,
                Some(match state.theme {
                    Theme::Light => ThemeType::Light,
                    Theme::Dark => ThemeType::Dark,
                    Theme::Custom { .. } => panic!(),
                }),
                Message::ThemeChanged,
            ))
        },
    );

    column![
        row![choose_theme, horizontal_space(Length::Fill)],
        horizontal_rule(20),
        vertical_space(Length::Fill),
        text("zHello, world!").size(state.text_size),
        vertical_space(Length::Fill),
        row![
            button("Increment Text Size").on_press(Message::IncrementTextSizePressed),
            button("Decrement Text Size").on_press(Message::DecrementTextSizePressed),
        ]
        .spacing(20)
    ]
    .spacing(20)
    .padding(20)
    .align_items(Alignment::Center)
    .into()
}

#[no_mangle]
pub fn theme(state: &State) -> Theme {
    state.theme.clone()
}

Hi, thanks or the report. I tested it on macos initially and confirm that it still works there. I'll give it a try with Linux.

Yeah on Ubuntu I get a crash, too. Seems that the issue is in iced_native::user_interface::UserInterface::update, the reload might mess with the data that gets ManuallyDroped there. I'll take a look over the holidays if this can be solved with either a custom command or a manual run loop.

Sorry, didn't get enough time to fix this. Happy to accept contributions.
Not quite sure why this works in macos but not under Windows/Linux.
The issue manifests as a segmentation fault when dealing with the root and overlay Elements at UserInterface::update when wrapping those with a ManuallyDrop. I think the ManuallyDrop isn't the root cause, something about the rendering state might become invalid through the reload.
For now I'll add a note to the example and maybe someone with deeper knowledge of iced than me can look at this?!

Hi, I investigated this a bit.
Here is what happens:

view (in the dynamically loaded lib) returns a Element<Message> (internally this is a Widget trait object).
The internals of Application::run will call Application::view and then hold onto the returned Element<Message> for a while (e.g. view is only called again when it determines that the interface is outdated, see the calls to build_user_interface in https://github.com/iced-rs/iced/blob/0.5/winit/src/application.rs#L235).
So whenever UserInterface::update runs it will use this element without necessarily calling view again.
When the lib is reloaded, the old version is unloaded. However, the trait object in Element<Message> will contain a vtable pointer pointing into old unloaded version.
Then, in UserInterface::update it tries to call the overlay method on the trait object, this tries to read the unloaded vtable and segfaults.

Potential solutions:

Just don't unload the lib, you can sort of hack this in by adding a thread local with a drop impl in the dynamically loaded lib (and make sure to initialize it). Although, it seem like it would be useful for this library to offer an option to not unload old versions. The only downside (afaik) is leaking the lib when you need to reload but that seems worth it to have hotreloading work.

// e.g. add this in the view method in the dynamic lib
thread_local! {
    static KEEP_LOADED: Box<u8> = Box::new(0);
}
KEEP_LOADED.with(|_| {}); // initialize

There might be some way to listen for reload events and then convince iced that the interface is outdated but I don't really no how viable this is. It seems complex and prone to errors and there could be other issues!

(note: this is all on the iced version used above (0.5.2) so some details could have changed)

authors: Imberflur lucatrv rksm

repo: rksm/hot-lib-reloader-rs


text:
🛑 Registrar is down

In 7c645c5, Registrar (https://registrar.cvsu.edu.ph) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Registrar is back up in c68dbca after 3 hours, 2 minutes.

repo: rlvillacarlos/cvsu-site-monitor


text:
🛑 Library is down

In 391954f, Library (http://library.cvsu.edu.ph) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Library is back up in 7a26ee6 after 3 hours, 14 minutes.


text:
🛑 Micro.blog is down

In 7b9aee3, Micro.blog (https://roberto.mateu.me) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Micro.blog is back up in e26b20d.

repo: rmateu/statuspage


text:
🛑 Statuslog is down

In 8ff65be, Statuslog (https://r.mateu.me) was down:

HTTP code: 503
Response time: 2907 ms

Resolved: Statuslog is back up in 69c6c50 after 1 hour, 51 minutes.


text:
Не работает curl запрос на госуслуги

Hello. I ran into a problem using a container. The request to https://esia.gosuslugi.ru does not work:
$ docker run --rm -i rnix/openssl-gost curl https://esia.gosuslugi.ru
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:06 --:--:--     0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

I think that this is not only a problem for me, but for everyone.

Нашёл решение.
Нужно добавить сертификат в доверенные:
openssl s_client -connect esia.gosuslugi.ru:443 -showcerts </dev/null | awk '/-----BEGIN CERTIFICATE-----/, /-----END CERTIFICATE-----/' >  /usr/local/share/ca-certificates/esia-cert.crt
update-ca-certificates

Не уверен, что это безопасный путь. Лучше забирать сертификаты из достоверного источника. Если домен скомпрометирован - то получится что скомпрометированный сертификат попадёт в доверенные.

repo: rnixik/docker-openssl-gost


text:
Need to add shouldCloseOnSelect to TimePicker

Is it possible to add shouldCloseOnSelect to TimePicker (like it is implemented in DatePicker) because popup is not closed when time is already choosen. Looks wierd. Thank you.

I will look into it in a bit

Upgrade to the latest version added shouldCloseOnSelect  to TimePicker

@rnwonder Thank you!

repo: rnwonder/solid-date-picker


text:
getting error # pkg-config --cflags  -- libcec pkg-config: exec: "pkg-config": executable file not found in %PATH%

getting this error after go build cec-web.go
pkg-config --cflags  -- libcec
pkg-config: exec: "pkg-config": executable file not found in %PATH%

You need to make sure pkg-config is installed on your system.


text:
setImage and setImageWithName not working when I try to set it from directory or bundle directory

I am trying to set image with name or set image by fetching the image from directly but both not working please let me know if somebody got same issue

It might be an issue with including the file in the bundle, which is Project Settings -> Build Phases -> Copy Bundle Resources tab.
otherwise, I would try this type of line to make sure the file is there: this line is in the swapTexture function [[NSFileManager defaultManager] fileExistsAtPath:textureFile]

Thanks for your reply but I found it was my mistake actually I was not setting the image sizes as mentioned by you.

authors: Harinderjit robbykraft

repo: robbykraft/Panorama


text:
fzf-history-widget: fc:3: history events are in wrong order, aborted

I'm often working on an older Debian system where I get
fzf-history-widget: fc:3: history events are in wrong order, aborted
when searching history.
I'm not sure if this is an oh-my-zsh issue or if it is related to zsh being pretty old. zsh is zsh 4.3.17 (x86_64-unknown-linux-gnu)
Things work fine on my laptop which is Fedora 29.

I'm often working on an older Debian system where I get
fzf-history-widget: fc:3: history events are in wrong order, aborted
when searching history.
I'm not sure if this is an oh-my-zsh issue or if it is related to zsh being pretty old. zsh is zsh 4.3.17 (x86_64-unknown-linux-gnu)
Things work fine on my laptop which is Fedora 29.

This is probably an issue with fzf, ask there.

authors: manfredlotz mcornella

repo: robbyrussell/oh-my-zsh


text:
cannot change to a directory named "..."

If there is a folder named as "..." , I cannot change into the folder using cd .../ , rather it would convert ... to ../../ and will execute cd ../../
To Reproduce type the following commands
bash(Going to bash for creating a folder)
mkdir ...(making a folder named "..." as zsh will be unable to make such a folder as it will convert ... to ../../)
exit(moving to zsh again from bash)
cd ...(it will change "..." to ../../ and will execute cd ../../ instead of moving to "..." directory)
Expected behavior
It should search for the "..." folder and if it does not exit then it should convert "..." to "../../" else it should execute ...
System:

x86_64-ubuntu-linux-gnu
zsh 5.5.1

Additional context
I know zsh has auto feature to convert ... to ../../ but it should first search for that file and if the file is not found then it should convert it making it much more convenient to use.

It's not zsh doing this, omz has .. defined as an alias https://github.com/robbyrussell/oh-my-zsh/blob/687c50bdf999f8efd45f3c8f578a62329b0633da/lib/directories.zsh#L6

But we can make it as a feature of zsh my coding it somewhat like this https://github.com/sanskar11/cd/blob/master/cd

As a temporary shortcut you can quote the dots: cd "...", that should bypass the alias expansion.

Just for the record, this also breaks bazel in improtant ways, as Bazel uses ... as a recursion-shorthand (e.g. bazel test ... runs all tests below current directory).
Right now I get
% bazel test ...
INFO: Invocation ID: 87c4c71c-b3e6-440a-9554-4355f800cff9
ERROR: Skipping '../..': Bad target pattern '../..': package name component contains only '.' characters
WARNING: Target pattern parsing failed.
ERROR: Failed to parse target pattern even though it was previously parsed successfully: Bad target pattern '../..': package name component contains only '.' characters
INFO: Elapsed time: 1.382s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)

Whereas quoting fixes things
% bazel test '...'
INFO: Invocation ID: eac8e3f3-fabe-4343-b0b3-f85ed715d71b
INFO: Analyzed 349 targets (509 packages loaded, 14984 targets configured).
INFO: Found 321 targets and 28 test targets...
INFO: Deleting stale sandbox base /home/msi/.cache/bazel/_bazel_msi/b577005c7d98997ad4f9c8a84bcb15ca/sandbox
INFO: Elapsed time: 30.031s, Critical Path: 8.11s
INFO: 2 processes: 1 remote cache hit, 1 internal.
INFO: Build completed successfully, 2 total actions
//ogcode/lib/git:git_test                                       (cached) PASSED in 0.1s in 0.0s
...
INFO: Build completed successfully, 2 total actions

I use the ...-shorthand a lot in bazel and not at all in OMZ, so I've fixed it for now by commenting out the aliases in the directories.zsh pointed out by @natemaia.

@msiebuhr you can disable directories aliases, see info here

authors: carlosala mcornella msiebuhr natemaia sanskar11


text:
Sumo Logic Update

All of Sumo Logic's new offerings include SSO with SAML for no extra charge: https://www.sumologic.com/pricing/

It's not on their free tier so they're still locking it behind a paywall..?

@Wild1145 IMHO, locking SSO from the free tier is acceptable to me. If an application offers single sign on, it should be offered to all of their paid tiers. Per the FAQ, SAML support should be a bare minimum feature for business SaaS. If you are a business, I'd expect that there should be enough funds for at least the basic paid tier.
That's just my personal opinion though.

Free doesn't count as "base":

We disregard free tier pricing, as we can assume these aren’t intended for long term business customer use. We also disregard “single person” pricing, under the assumption that we’re looking on behalf of a team of 5, 10, or more people.

SumoLogic got caught up in a weird merge conflict today so I'm not sure when it might first have been removed, but it's removed now.

authors: BowlesCR Wild1145 adagioajanes robchahin spchin

repo: robchahin/sso-wall-of-shame


text:
Update deasync.

See #110 and #115.
I'm running a project from my fork, but haven't actually done any DB stuff in it yet  - can't tell you if this breaks everything horribly or not.  I tried running the tests in my fork with iojs 3.3.0 and they all failed.  But then I tried running the tests with the latest pre-4.0 node version the other day and they all failed with that too.  I feel like I'm Doing It Wrong™, that somebody would have noticed if all the tests were failing.
Anyway, I can confirm that the latest version of deasync builds just fine with the new 4.0.0 release of node and iojs 3.3.0.

I do appreciate the PR, thank you :). My issue is breaking things, and currently things work just fine with our dependency graph. This isn't solving any problem as far as I can see, and your comment is making me more than a little scared.

@keithlayne I had the same issue when trying to use massive-js with iojs (deasync wouldn't install), so I decided to move back to node 0.12.x.
However, I agree the ideal solution would be updating the deasync dependency, because sooner or later people are going to move to node 4.0 and will face the same issue.

Okay, I was totally doing it wrong. I just didn't have the local db set up for testing.  Not that it's hard, but I think it's completely undocumented in the repo.
So the good news is that updating deasync to v0.1.1 and using node v4.0.0 does not break any tests.
@robconery I understand you don't feel compelled to change this right now.  I only really made the pull request because I saw #115 and I already had a fork.  Once I get more done on my current project I will be able to report back with more concrete info about how these versions work in practice.
Also, if anyone was interested in testing this with their code, I moved my changes to a branch: https://github.com/keithlayne/massive-js/tree/update_deasync.

Very new to node-js, postgres & github so please direct me to the proper place to ask this question if not here.
When I use NPM to install massive I get the error below.  Can I correct that?  My assumption is that I need to manually pull and install each dependency from Github.  Not a big deal but is there an easier way?
Build failed
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\nodejs\node.exe" "C:\nodejs\node_modules\npm\bin\npm-cli.js" "install" "massive" "--save"
npm ERR! node v4.0.0
npm ERR! npm  v2.14.2
npm ERR! code ELIFECYCLE
npm ERR! deasync@0.0.10 install: node ./build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the deasync@0.0.10 install script 'node ./build.js'.

Ugh I'll take care of this in 1.5 hours. Thanks all for the convo.

On Sep 11, 2015, at 13:31, belfour notifications@github.com wrote:
Very new to node-js, postgres & github so please direct me to the proper place to ask this question if not here.
When I use NPM to install massive I get the error below. Can I correct that? My assumption is that I need to manually pull and install each dependency from Github. Not a big deal but is there an easier way?
Build failed
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\nodejs\node.exe" "C:\nodejs\node_modules\npm\bin\npm-cli.js" "install" "massive" "--save"
npm ERR! node v4.0.0
npm ERR! npm v2.14.2
npm ERR! code ELIFECYCLE
npm ERR! deasync@0.0.10 install: node ./build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the deasync@0.0.10 install script 'node ./build.js'.
—
Reply to this email directly or view it on GitHub.

authors: alexishevia belfour keithlayne robconery

repo: robconery/massive-js


text:
Autonavigate feature should also work for GetCheckSum

FTP Server OS: Windows
FTP Server Type: WSFTP Server
Client Computer OS: Windows /Linux
FluentFTP Version: 48.0.0
Framework: .NET 6
Logs :
Upload directory (files uploading but displaying failing response and not supporting XMD5 command):
The upload directory was causing errors (501 Invalid number of arguments XMD5) on my WSFTP server, but when running with the upload file and upload stream are now functioning as expected. There are no errors, as confirmed by the logs.
If the upload file/upload stream is functioning correctly without errors, the upload directory should behave the same way. Unfortunately, it's not currently exhibiting the same behavior.
Could you please resolve this issue.
uploadDir_48.0.0_fixcommitlogs.txt
uploadFile_48.0.0_fixcommitlogs.txt

@Venkatakrishna-bvk Please test this also before we consider releasing it as Nuget

@FanDjango, I will test  and let you know today.

@FanDjango, https://github.com/robinrodricks/FluentFTP/issues/1345#issuecomment-1757340325

authors: FanDjango Venkatakrishna-bvk

repo: robinrodricks/FluentFTP


text:
feat(ParametersWindow): Add ToolBox and TabWidgets

This PR adds the possibility of organizing parameters into Tabs or Items, reducing the current visual load:

ToolBox;
TabWidget;

To do this, during the construction of the parameters, it is necessary to add a subgroup as:
parameters["Tab"]["A"] = ...;
parameters["Tab"]["B"] = ...;
parameters["Tab"]["C"] = ...;
parameters["Tab"]["D"] = ...;

// or

parameters["Tool"]["A"] = ...;
parameters["Tool"]["B"] = ...;
parameters["Tool"]["C"] = ...;
parameters["Tool"]["D"] = ...;

Backwards compatibility is maintained even with this change.

@Riei-Joaquim, pode adicionar uns prints aqui com casos de uso de como ficaram? Assim o pessoal de VSS pode ver e acabar usando caso ache interessante.

clang-format tá bugado, não vou considerar o ci dele nesse PR.

ToolBox

clang-format tá bugado, não vou considerar o ci dele nesse PR.

deu certo aqui com esse comando find foo/bar/ -iname *.h -o -iname *.cpp | xargs clang-format -i

clang-format tá bugado, não vou considerar o ci dele nesse PR.

deu certo aqui com esse comando find foo/bar/ -iname *.h -o -iname *.cpp | xargs clang-format -i
https://stackoverflow.com/questions/28896909/how-to-call-clang-format-over-a-cpp-project-folder

Pior que rodei isso mas continuou falhando .-.
Mas bom que rolou agr 🙌🏽

authors: Riei-Joaquim joseviccruz

repo: robocin/soccer-common


text:
When cmd_vel is set to zero it tries to go back to the origin in the twist planner

Problem: any new plan by keyboard input in the twist planner will start from origin instead of the current position, though the second step in the plan is the current position.
https://user-images.githubusercontent.com/31764928/111193521-9ebe7980-8590-11eb-8ff1-c29a2b4ee7c3.mp4
Estimated reason: when cmd_vel is set to zero it tries to go back to the origin in the twist planner
Test version: 777d0efaf3f58619a3c9d08ef4f76419a6968c12
To reproduce it:
roslaunch spirit_utils spirit_gazebo.launch paused:=false
roslaunch spirit_utils remote_driver.launch
rostopic pub /control/mode std_msgs/UInt8 "data: 1"
roslaunch spirit_utils execute_plan.launch body_planner:=twist
then input "i",  "stop", and "i" again on the keyboard,
Thanks!

@jcnorby Sorry for the late response. Yes, this works perfectly for me, thanks!

repo: robomechanics/spirit-software


text:
Upgrade com.android.support dependency

Hi:
First of all, congratulations, it's nice to see unit testing with Spock on Android. Good work.
I think the latest android support library is 22.0.1 and even the Android Studio is now complaining saying the 19.x.x is too old to be used.
Do you have any plans to upgrade the android support dependency any time soon ?

It's not part of Robolectric core. It's a provided dependency. Please check wiki page
https://github.com/robolectric/robolectric/wiki/2.4-to-3.0-Upgrade-Guide#modules
latest jitpack has no dependency to support library
https://jitpack.io/private#robospock/RoboSpock/c9ee6221cd9ac5010bb8c39e110b7e9c272e0a9a

rudy forgot to mention that it's true, if you use latest robospock from master.
instead of bumping android support library dependency we decided to bump robolectric to 3.0. cool, right?

Nice thanks. I'll check it out.

authors: mariogarcia pelotasplus pjakubczyk

repo: robospock/RoboSpock