text:
Incorrect publication file referenced with gradle signing and publication

Shadow Version
'com.github.johnrengelman.shadow' version '8.1.1'
Gradle Version
8.5
Expected Behavior
The shadow jar artifact should be signed and published to repository.
Actual Behavior
The publication does not find the shadow jar artifact and errors out.
I have debugged the issue, and the issue occurs only when signing kicks off i.e. without signing the artifacts are referenced and published correctly. Further debugging revealed the issue exists because archiveBaseName and archiveClassifier are not honoured correctly by publication and tries to find the shadow jar which doesn't exist.
> * What went wrong:
> Execution failed for task ':clients:publishMavenJavaPublicationToMavenRepository'.
> > Failed to publish publication 'mavenJava' to repository 'maven'
>    > Invalid publication 'mavenJava': artifact file does not exist: '/Users/apoorvmittal/kafka/.release_work_dir/kafka/clients/build/libs/clients-3.7.0-all.jar'

I have placed a workaround here which does solve the issue but introduces other where resultant pom doesn't include runtime dependencies.
Fix - Probable problem with version 8.1.1
Further debugging revealed that issue exists with 8.1.1 version and downgrading to 8.1.0 plugin version works correctly.
Gradle Build Script(s)
Reference the complete script - here
plugins {
  ...
  ...
  id 'com.github.johnrengelman.shadow' version '8.1.1' apply false
  ...
}
...
...
if (shouldPublish) {

    publishing {
      ...
      publications {
        mavenJava(MavenPublication) {
          if (!shouldPublishWithShadow) {
            from components.java
          } else {
            apply plugin: 'com.github.johnrengelman.shadow'
            project.shadow.component(mavenJava)
          }

          ...
          ...
        }
      }
    }

    if (shouldSign) {
      signing {
        sign publishing.publications.mavenJava
      }
    }
...
...
project(':clients') {
  archivesBaseName = "kafka-clients"

  ...
  ...
  shadowJar {
    ...
    archiveClassifier = null
    ...
    ...
}

Duplicate of #860

Duplicate of #860

Doesn't seems to be a duplicate to me rather 2 independent issues. The other issue talks about adding -all identifier but this issue is more about getting the right artifacts.

Can you try out 8.3.1-SNAPSHOT to verify if it fixes your problem?

Ok, will do that. I will post the findings.

repo: GradleUp/shadow


text:
plugin breaks with grails 3.3.0.M1

I am trying to use this plugin with grails 3.3.0.M1, but because of spring upgrade there, this plugin seems borken. Can we have a fix please ?
java.lang.NoClassDefFoundError: org/springframework/boot/context/embedded/ServletRegistrationBean
    at grails.cxf.CxfGrailsPlugin$_doWithSpring_closure1.doCall(CxfGrailsPlugin.groovy:59) ~[cxf-3.1.1.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_121]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
    at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93) ~[groovy-2.4.10.jar:2.4.10]
    at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325) ~[groovy-2.4.10.jar:2.4.10]
    at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294) ~[groovy-2.4.10.jar:2.4.10]
    at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1027) ~[groovy-2.4.10.jar:2.4.10]
    at groovy.lang.Closure.call(Closure.java:414) ~[groovy-2.4.10.jar:2.4.10]
    at groovy.lang.Closure.call(Closure.java:408) ~[groovy-2.4.10.jar:2.4.10]
    at grails.spring.BeanBuilder.invokeBeanDefiningClosure(BeanBuilder.java:759) ~[grails-spring-3.3.0.M1.jar:3.3.0.M1]
    at grails.spring.BeanBuilder.beans(BeanBuilder.java:588) ~[grails-spring-3.3.0.M1.jar:3.3.0.M1]
    at grails.spring.BeanBuilder.invokeMethod(BeanBuilder.java:531) ~[grails-spring-3.3.0.M1.jar:3.3.0.M1]
    at org.grails.plugins.DefaultGrailsPlugin.doWithRuntimeConfiguration(DefaultGrailsPlugin.java:559) ~[grails-core-3.3.0.M1.jar:3.3.0.M1]
    at org.grails.plugins.AbstractGrailsPluginManager.doRuntimeConfiguration(AbstractGrailsPluginManager.java:167) ~[grails-core-3.3.0.M1.jar:3.3.0.M1]
    at grails.boot.config.GrailsApplicationPostProcessor.postProcessBeanDefinitionRegistry(GrailsApplicationPostProcessor.groovy:171) ~[grails-core-3.3.0.M1.jar:3.3.0.M1]
    at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118) ~[spring-context-4.3.7.RELEASE.jar:4.3.7.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:686) ~[spring-context-4.3.7.RELEASE.jar:4.3.7.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:524) ~[spring-context-4.3.7.RELEASE.jar:4.3.7.RELEASE]
    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) ~[spring-boot-1.5.3.RELEASE.jar:1.5.3.RELEASE]
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:737) [spring-boot-1.5.3.RELEASE.jar:1.5.3.RELEASE]
    at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:370) [spring-boot-1.5.3.RELEASE.jar:1.5.3.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:314) [spring-boot-1.5.3.RELEASE.jar:1.5.3.RELEASE]
    at grails.boot.GrailsApp.run(GrailsApp.groovy:83) [grails-core-3.3.0.M1.jar:3.3.0.M1]
    at grails.boot.GrailsApp.run(GrailsApp.groovy:388) [grails-core-3.3.0.M1.jar:3.3.0.M1]
    at grails.boot.GrailsApp.run(GrailsApp.groovy:375) [grails-core-3.3.0.M1.jar:3.3.0.M1]
    at grails.boot.GrailsApp$run.call(Unknown Source) [grails-core-3.3.0.M1.jar:3.3.0.M1]
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) [groovy-2.4.10.jar:2.4.10]
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) [groovy-2.4.10.jar:2.4.10]
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133) [groovy-2.4.10.jar:2.4.10]
    at com.hp.ilm.db.webconsole.Application.main(Application.groovy:8) [main/:?]
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.context.embedded.ServletRegistrationBean
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_121]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_121]
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) ~[?:1.8.0_121]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_121]

Quoting from here:
org.springframework.boot.context.embedded.ServletRegistrationBean which is no more available on Spring Boot 1.5.0 and onwards releases.
I searched the code of this plugin, and this ineeded is being used.

import org.springframework.boot.context.embedded.ServletRegistrationBean
Does not exist anymore
You need to change the import to
import org.springframework.boot.web.servlet.ServletRegistrationBean
Can you make a change?

@wasowskijarek Done. Please do let me know if anything is missing.

This hasn't been added to a release, has it?

Anyone using this plugin with grails 3.3.2?

@juanxo no, because it's broken and nobody is fixing it

Is there any other alternative? I need update my application for version
3.3.2 and the application needs to respond to a soap request.
Thanks.

You'll need to fix grails-cxf or not use it. I got so fed up with it not working that I simply switched to plain Java and rebuilt it in Spring. Works fine.

Moving away to native options might be a better choice in long run. I struggled beyond limits of pain to get webflow plugin working, when I was upgrading my app. I ended up using spring webflow directly in my app. Same goes for this guy I believe.

In CxfGrailsPlugin.groovy file, changing
import org.springframework.boot.context.embedded.ServletRegistrationBean
with
import org.springframework.boot.web.servlet.ServletRegistrationBean
will fix the issue. You can clone the repository and use a local copy with that change until this plugin is updated.

source: gharchive/issue

authors: bilgehanm johnkeates jvesouza tyagiakhilesh wasowskijarek

repo: Grails-Plugin-Consortium/grails-cxf

license_type: permissive

license_source: bigquery


text:
Implement the File > Import menu

Currently we can drag image files into the editor. But we should be able to do that with File > Import as well.

In menu_bar_message_handler.rs, reference the "Open…" menu entry and how it calls PortfolioMessage::OpenDocument. Make another PortfolioMessage variant called PortfolioMessage::Import. Define its handler in portfolio_message_handler.rs, which should call FrontendMessage::TriggerImport.
In editor/src/frontend/frontend_message.rs, add something next to TriggerFileUpload called TriggerImport. Then also rename TriggerFileUpload to TriggerDocumentOpen (use global search to rename it throughout the project in the JS and Rust codebases). Use the global search to also guide you where else to add your new TriggerImport message, including a keyboard shortcut entry in input_mapper.rs, a JsMessage in messages.ts, and a subscription for it in portfolio.ts.
In portfolio.ts, instead of calling editor.instance.open_document_file(), you'll want to use editor.instance.paste_image(). But you need to make sure the user is importing an image, and you'll want to provide the correct MIME type and u8 byte array for the image. You can reference Document.vue:274 (pasteFile()) and input.ts:317 for examples of where this image preparation occurs. If the file isn't an image, either nothing should happen or an error dialog should say that only images are supported (see input.ts:348).
In the end, it should be possible to upload JPG, PNG, and SVG images with the File > Import… menu entry and the CtrlI shortcut.

I'll try to tackle this one...

@brunosxs Sorry, you're a day late :) I completed this issue yesterday. If you'd like any help picking out a different issue, I'd be more than happy to lend some suggestions.

Ops, my bad... I left the tab open a day or so ago, not sure if it had paid attention to the task.
I just want to familiarize myself with the source. I'll try to grab any low pri issues

Sure thing! And if you're curious to see the diff which implemented this feature, here it is. The left column of https://github.com/GraphiteEditor/Graphite/projects/1, especially the ones labeled P-Low and P-Medium, should probably fit your needs. I might suggest one of these three to get started with:

#737
#704
#542

authors: Keavon brunosxs

repo: GraphiteEditor/Graphite

license_source: github-api


text:
IList Tests

Old Version
foreach (var itemType in Class.ListT.Where(t => t.IsCreatable))
{

    <text>

	@TestAttribute
    public void @(Test.ClassName + "_ListT_" + itemType.SafeName + "_Add") ()
	{
		IList<@itemType.FullName> objectUnderTest = CreateObject();

		if (objectUnderTest.IsReadOnly)
            return;

        var oldCount = objectUnderTest.Count;
        @itemType.FullName newItem;

        try
        {
            newItem = @itemType.GetConstructorCode();
            objectUnderTest.Add(newItem);
        }
        catch (ArgumentException)
        {
            //OK
            return;
        }

        @Assert.AreEqual("oldCount + 1", "objectUnderTest.Count")
        @Assert.IsTrue("objectUnderTest.Contains(newItem)")

	}

	@TestAttribute
    public void @(Test.ClassName + "_ListT_" + itemType.SafeName + "_AddClear") ()
	{
		IList<@itemType.FullName> objectUnderTest = CreateObject();

		if (objectUnderTest.IsReadOnly)
            return;

        @itemType.FullName newItem;

        try
        {
            newItem = @itemType.GetConstructorCode();
            objectUnderTest.Add(newItem);
        }
        catch (ArgumentException)
        {
            //OK
            return;
        }
        @Assert.IsTrue("objectUnderTest.Contains(newItem)")

        objectUnderTest.Clear();
        @Assert.AreEqual("0", "objectUnderTest.Count")
        @Assert.IsFalse("objectUnderTest.Contains(newItem)")

	}

	@TestAttribute
    public void @(Test.ClassName + "_ListT_" + itemType.SafeName + "_Clear") ()
	{
		IList<@itemType.FullName> objectUnderTest = CreateObject();

		if (objectUnderTest.IsReadOnly)
            return;

        objectUnderTest.Clear();
        @Assert.AreEqual("0", "objectUnderTest.Count")

	}

    @TestAttribute
    public void @(Test.ClassName + "_ListT_" + itemType.SafeName + "_AddRemove") ()
	{
		IList<@itemType.FullName> objectUnderTest = CreateObject();

		if (objectUnderTest.IsReadOnly)
            return;

        var oldCount = objectUnderTest.Count;

        @itemType.FullName newItem;

        try
        {
            newItem = @itemType.GetConstructorCode();
            objectUnderTest.Add(newItem);
        }
        catch (ArgumentException)
        {
            //OK
            return;
        }

        @Assert.AreEqual("oldCount + 1", "objectUnderTest.Count")
        @Assert.IsTrue("objectUnderTest.Contains(newItem)")

        objectUnderTest.Remove(newItem);

        @Assert.AreEqual("oldCount", "objectUnderTest.Count")
        @Assert.IsFalse("objectUnderTest.Contains(newItem)")
	}

    @TestAttribute
    public void @(Test.ClassName + "_ListT_" + itemType.SafeName + "_AddRemoveAt") ()
	{
		IList<@itemType.FullName> objectUnderTest = CreateObject();

		if (objectUnderTest.IsReadOnly)
            return;

        var oldCount = objectUnderTest.Count;
        @itemType.FullName newItem;

        try
        {
            newItem = @itemType.GetConstructorCode();
            objectUnderTest.Add(newItem);
        }
        catch (ArgumentException)
        {
            //OK
            return;
        }

        @Assert.AreEqual("oldCount + 1", "objectUnderTest.Count")
        @Assert.IsTrue("objectUnderTest.Contains(newItem)")

        var newIndex = objectUnderTest.IndexOf(newItem);
        objectUnderTest.RemoveAt(newIndex);

        @Assert.AreEqual("oldCount", "objectUnderTest.Count")
        @Assert.IsFalse("objectUnderTest.Contains(newItem)")
	}

    @TestAttribute
    public void @(Test.ClassName + "_ListT_" + itemType.SafeName + "_InsertFirst") ()
	{
		IList<@itemType.FullName> objectUnderTest = CreateObject();

		if (objectUnderTest.IsReadOnly)
            return;

        objectUnderTest.Clear();
        @Assert.AreEqual("0", "objectUnderTest.Count")

        @itemType.FullName newItem1;
        @itemType.FullName newItem2;
        @itemType.FullName newItem3;

        try
        {
            newItem1 = @itemType.GetConstructorCode();
            newItem2 = @itemType.GetConstructorCode();
            newItem3 = @itemType.GetConstructorCode();

            objectUnderTest.Add(newItem1);
            objectUnderTest.Add(newItem2);
            objectUnderTest.Add(newItem3);
        }
        catch (ArgumentException)
        {
            //OK
            return;
        }

        @Assert.AreEqual("3", "objectUnderTest.Count")

        var testItem = @itemType.GetConstructorCode();
        objectUnderTest.Insert(0, testItem);

        @Assert.AreEqual("4", "objectUnderTest.Count")
        @Assert.AreEqual("0", "objectUnderTest.IndexOf(testItem)")
        @Assert.IsTrue("objectUnderTest.Contains(testItem)")

	}

    @TestAttribute
    public void @(Test.ClassName + "_ListT_" + itemType.SafeName + "_InsertMiddle") ()
	{
		IList<@itemType.FullName> objectUnderTest = CreateObject();

		if (objectUnderTest.IsReadOnly)
            return;

        objectUnderTest.Clear();
        @Assert.AreEqual("0", "objectUnderTest.Count")

        @itemType.FullName newItem1;
        @itemType.FullName newItem2;
        @itemType.FullName newItem3;

        try
        {
            newItem1 = @itemType.GetConstructorCode();
            newItem2 = @itemType.GetConstructorCode();
            newItem3 = @itemType.GetConstructorCode();

            objectUnderTest.Add(newItem1);
            objectUnderTest.Add(newItem2);
            objectUnderTest.Add(newItem3);
        }
        catch (ArgumentException)
        {
            //OK
            return;
        }

        @Assert.AreEqual("3", "objectUnderTest.Count")

        var testItem = @itemType.GetConstructorCode();
        objectUnderTest.Insert(2, testItem);

        @Assert.AreEqual("4", "objectUnderTest.Count")
        @Assert.AreEqual("2", "objectUnderTest.IndexOf(testItem)")
        @Assert.IsTrue("objectUnderTest.Contains(testItem)")

	}

    @TestAttribute
    public void @(Test.ClassName + "_ListT_" + itemType.SafeName + "_InsertLast") ()
	{
		IList<@itemType.FullName> objectUnderTest = CreateObject();

		if (objectUnderTest.IsReadOnly)
            return;

        objectUnderTest.Clear();
        @Assert.AreEqual("0", "objectUnderTest.Count")

        @itemType.FullName newItem1;
        @itemType.FullName newItem2;
        @itemType.FullName newItem3;

        try
        {
            newItem1 = @itemType.GetConstructorCode();
            newItem2 = @itemType.GetConstructorCode();
            newItem3 = @itemType.GetConstructorCode();

            objectUnderTest.Add(newItem1);
            objectUnderTest.Add(newItem2);
            objectUnderTest.Add(newItem3);
        }
        catch (ArgumentException)
        {
            //OK
            return;
        }

        @Assert.AreEqual("3", "objectUnderTest.Count")

        var testItem = @itemType.GetConstructorCode();
        objectUnderTest.Insert(3, testItem);

        @Assert.AreEqual("4", "objectUnderTest.Count")
        @Assert.AreEqual("3", "objectUnderTest.IndexOf(testItem)")
        @Assert.IsTrue("objectUnderTest.Contains(testItem)")

	}

    @TestAttribute
    public void @(Test.ClassName + "_ListT_" + itemType.SafeName + "_CopyTo_Middle") ()
	{
		IList<@itemType.FullName> objectUnderTest = CreateObject();

		if (objectUnderTest.IsReadOnly)
            return;

        objectUnderTest.Clear();
        @Assert.AreEqual("0", "objectUnderTest.Count")

        @itemType.FullName newItem1;
        @itemType.FullName newItem2;
        @itemType.FullName newItem3;

        try
        {
            newItem1 = @itemType.GetConstructorCode();
            newItem2 = @itemType.GetConstructorCode();
            newItem3 = @itemType.GetConstructorCode();

            objectUnderTest.Add(newItem1);
            objectUnderTest.Add(newItem2);
            objectUnderTest.Add(newItem3);
        }
        catch (ArgumentException)
        {
            //OK
            return;
        }

        @Assert.AreEqual("3", "objectUnderTest.Count")

        var array = new @(itemType.FullName)[5];

        objectUnderTest.CopyTo(array, 1);

        @Assert.AreEqual(@itemType.DefaultValue, "array[0]");
        @Assert.AreEqual("newItem1", "array[1]");
        @Assert.AreEqual("newItem2", "array[2]");
        @Assert.AreEqual("newItem3", "array[3]");
        @Assert.AreEqual(@itemType.DefaultValue, "array[4]");

	}

    @TestAttribute
    public void @(Test.ClassName + "_ListT_" + itemType.SafeName + "_CopyTo_Front") ()
	{
		IList<@itemType.FullName> objectUnderTest = CreateObject();

		if (objectUnderTest.IsReadOnly)
            return;

        objectUnderTest.Clear();
        @Assert.AreEqual("0", "objectUnderTest.Count")

        @itemType.FullName newItem1;
        @itemType.FullName newItem2;
        @itemType.FullName newItem3;

        try
        {
            newItem1 = @itemType.GetConstructorCode();
            newItem2 = @itemType.GetConstructorCode();
            newItem3 = @itemType.GetConstructorCode();

            objectUnderTest.Add(newItem1);
            objectUnderTest.Add(newItem2);
            objectUnderTest.Add(newItem3);
        }
        catch (ArgumentException)
        {
            //OK
            return;
        }

        @Assert.AreEqual("3", "objectUnderTest.Count")

        var array = new @(itemType.FullName)[5];

        objectUnderTest.CopyTo(array, 0);

        @Assert.AreEqual("newItem1", "array[0]");
        @Assert.AreEqual("newItem2", "array[1]");
        @Assert.AreEqual("newItem3", "array[2]");
        @Assert.AreEqual(@itemType.DefaultValue, "array[3]");
        @Assert.AreEqual(@itemType.DefaultValue, "array[4]");

	}

    @TestAttribute
    public void @(Test.ClassName + "_ListT_" + itemType.SafeName + "_CopyTo_End") ()
	{
		IList<@itemType.FullName> objectUnderTest = CreateObject();

		if (objectUnderTest.IsReadOnly)
            return;

        objectUnderTest.Clear();
        @Assert.AreEqual("0", "objectUnderTest.Count")

        @itemType.FullName newItem1;
        @itemType.FullName newItem2;
        @itemType.FullName newItem3;

        try
        {
            newItem1 = @itemType.GetConstructorCode();
            newItem2 = @itemType.GetConstructorCode();
            newItem3 = @itemType.GetConstructorCode();

            objectUnderTest.Add(newItem1);
            objectUnderTest.Add(newItem2);
            objectUnderTest.Add(newItem3);
        }
        catch (ArgumentException)
        {
            //OK
            return;
        }

        @Assert.AreEqual("3", "objectUnderTest.Count")

        var array = new @(itemType.FullName)[5];

        objectUnderTest.CopyTo(array, 2);

        @Assert.AreEqual(@itemType.DefaultValue, "array[0]");
        @Assert.AreEqual(@itemType.DefaultValue, "array[1]");
        @Assert.AreEqual("newItem1", "array[2]");
        @Assert.AreEqual("newItem2", "array[3]");
        @Assert.AreEqual("newItem3", "array[4]");
	}

    @TestAttribute
    public void @(Test.ClassName + "_ListT_" + itemType.SafeName + "_CopyTo_Full") ()
	{
		IList<@itemType.FullName> objectUnderTest = CreateObject();

		if (objectUnderTest.IsReadOnly)
            return;

        objectUnderTest.Clear();
        @Assert.AreEqual("0", "objectUnderTest.Count")

        @itemType.FullName newItem1;
        @itemType.FullName newItem2;
        @itemType.FullName newItem3;

        try
        {
            newItem1 = @itemType.GetConstructorCode();
            newItem2 = @itemType.GetConstructorCode();
            newItem3 = @itemType.GetConstructorCode();

            objectUnderTest.Add(newItem1);
            objectUnderTest.Add(newItem2);
            objectUnderTest.Add(newItem3);
        }
        catch (ArgumentException)
        {
            //OK
            return;
        }

        @Assert.AreEqual("3", "objectUnderTest.Count")

        var array = new @(itemType.FullName)[3];

        objectUnderTest.CopyTo(array, 0);

        @Assert.AreEqual("newItem1", "array[0]");
        @Assert.AreEqual("newItem2", "array[1]");
        @Assert.AreEqual("newItem3", "array[2]");

	}

    @TestAttribute
    public void @(Test.ClassName + "_ListT_" + itemType.SafeName + "_CopyTo_TooSmall") ()
	{
		IList<@itemType.FullName> objectUnderTest = CreateObject();

		if (objectUnderTest.IsReadOnly)
            return;

        objectUnderTest.Clear();
        @Assert.AreEqual("0", "objectUnderTest.Count")

        @itemType.FullName newItem1;
        @itemType.FullName newItem2;
        @itemType.FullName newItem3;

        try
        {
            newItem1 = @itemType.GetConstructorCode();
            newItem2 = @itemType.GetConstructorCode();
            newItem3 = @itemType.GetConstructorCode();

            objectUnderTest.Add(newItem1);
            objectUnderTest.Add(newItem2);
            objectUnderTest.Add(newItem3);
        }
        catch (ArgumentException)
        {
            //OK
            return;
        }

        @Assert.AreEqual("3", "objectUnderTest.Count")

        var array = new @(itemType.FullName)[2];

        try
        {
            objectUnderTest.CopyTo(array, 0);
            @Assert.Fail("\"This should have thrown an exception.\"")
        }
        catch (ArgumentException)
        {
            //OK
        }

        //make sure nothing was over-written
        @Assert.AreEqual(@itemType.DefaultValue, "array[0]");
        @Assert.AreEqual(@itemType.DefaultValue, "array[1]");
	}

    @TestAttribute
    public void @(Test.ClassName + "_ListT_" + itemType.SafeName + "_CopyTo_PastEnd") ()
	{
		IList<@itemType.FullName> objectUnderTest = CreateObject();

		if (objectUnderTest.IsReadOnly)
            return;

        objectUnderTest.Clear();
        @Assert.AreEqual("0", "objectUnderTest.Count")

        @itemType.FullName newItem1;
        @itemType.FullName newItem2;
        @itemType.FullName newItem3;

        try
        {
            newItem1 = @itemType.GetConstructorCode();
            newItem2 = @itemType.GetConstructorCode();
            newItem3 = @itemType.GetConstructorCode();

            objectUnderTest.Add(newItem1);
            objectUnderTest.Add(newItem2);
            objectUnderTest.Add(newItem3);
        }
        catch (ArgumentException)
        {
            //OK
            return;
        }

        @Assert.AreEqual("3", "objectUnderTest.Count")

        var array = new @(itemType.FullName)[3];

        try
        {
            objectUnderTest.CopyTo(array, 1);
            @Assert.Fail("\"This should have thrown an exception\"")
        }
        catch (ArgumentException)
        {
            //OK
        }

        //make sure nothing was over-written
        @Assert.AreEqual(@itemType.DefaultValue, "array[0]");
        @Assert.AreEqual(@itemType.DefaultValue, "array[1]");
        @Assert.AreEqual(@itemType.DefaultValue, "array[2]");

	}

    @TestAttribute
    public void @(Test.ClassName + "_ListT_" + itemType.SafeName + "_CopyTo_OOR") ()
	{
		IList<@itemType.FullName> objectUnderTest = CreateObject();

		if (objectUnderTest.IsReadOnly)
            return;

        objectUnderTest.Clear();
        @Assert.AreEqual("0", "objectUnderTest.Count")

        @itemType.FullName newItem1;
        @itemType.FullName newItem2;
        @itemType.FullName newItem3;

        try
        {
            newItem1 = @itemType.GetConstructorCode();
            newItem2 = @itemType.GetConstructorCode();
            newItem3 = @itemType.GetConstructorCode();

            objectUnderTest.Add(newItem1);
            objectUnderTest.Add(newItem2);
            objectUnderTest.Add(newItem3);
        }
        catch (ArgumentException)
        {
            //OK
            return;
        }

        @Assert.AreEqual("3", "objectUnderTest.Count")

        var array = new @(itemType.FullName)[3];

        try
        {
            objectUnderTest.CopyTo(array, -1);
            @Assert.Fail("\"This should have thrown an exception.\"")
        }
        catch (ArgumentOutOfRangeException)
        {
            //OK
        }

        //make sure nothing was over-written
        @Assert.AreEqual(@itemType.DefaultValue, "array[0]");
        @Assert.AreEqual(@itemType.DefaultValue, "array[1]");
        @Assert.AreEqual(@itemType.DefaultValue, "array[2]");

	}

    @TestAttribute
    public void @(Test.ClassName + "_ListT_" + itemType.SafeName + "_CopyTo_Null") ()
	{
		IList<@itemType.FullName> objectUnderTest = CreateObject();

		if (objectUnderTest.IsReadOnly)
            return;

        objectUnderTest.Clear();
        @Assert.AreEqual("0", "objectUnderTest.Count")

        @itemType.FullName newItem1;
        @itemType.FullName newItem2;
        @itemType.FullName newItem3;

        try
        {
            newItem1 = @itemType.GetConstructorCode();
            newItem2 = @itemType.GetConstructorCode();
            newItem3 = @itemType.GetConstructorCode();

            objectUnderTest.Add(newItem1);
            objectUnderTest.Add(newItem2);
            objectUnderTest.Add(newItem3);
        }
        catch (ArgumentException)
        {
            //OK
            return;
        }

        @Assert.AreEqual("3", "objectUnderTest.Count")

        try
        {
            objectUnderTest.CopyTo(null, -1);
            @Assert.Fail("\"This should have thrown an exception.\"")
        }
        catch (ArgumentNullException)
        {
            //OK
        }

	}

    </text>
}

We'll want to duplicate this for IReadOnlyList<T>

repo: Grauenwolf/Tortuga-TestMonkey

license: MIT


text:
Cisco ASA netflow import

Hello,
The Cisco ASA netflow doesn't seem to be parsed. I can see messages coming in via tcpdump and also the message counters get increased, but nothing appears in the list of messages when viewing the source/input.
A test using softflowd however produces the desired results.

What netflow version is your ASA sending? v9?

V9/IPFIX

See #6

authors: lennartkoopmann truekonrads


text:
🛑 Server Gaming is down

In 0487ddd, Server Gaming (https://game.greathost.ro) was down:

HTTP code: 403
Response time: 975 ms

Resolved: Server Gaming is back up in e7e2217 after 19 minutes.

repo: GreathostRo/upptime


text:
🛑 Server Gaming is down

In 09145e1, Server Gaming (https://game.greathost.ro) was down:

HTTP code: 403
Response time: 4907 ms

Resolved: Server Gaming is back up in 1292a35 after 4 minutes.


text:
🛑 Server Ultra is down

In b3bf947, Server Ultra (https://ultra.greathost.ro) was down:

HTTP code: 403
Response time: 1141 ms

Resolved: Server Ultra is back up in f59dbab after 17 minutes.


text:
Data Generator Request: RandomCity

I know you call them transformers but for some reason in my mind they just seem closer to data generators than something that transforms :)
Anyway, I am working on a table that has the address broken up like:
    address_line_1 character varying(1024),
    address_line_2 character varying(1024),
    city character varying(255),
    postal_code character varying(20),
    region character varying(255),
    country character varying(2),

I can use RealAddress for the address_line_1 and random data for the others but it would be nice to have city be something interesting.

I know you call them transformers but for some reason in my mind, they just seem closer to data generators than something that transforms :)

Hi! Thank your feedback. I will consider the naming, but both namings are controversial, so
we need to choose the user-friendly. Maybe I will raise a vote in the future)
I named it transformer because some transformer changes original data rather than generate new ones. For instance, in the latest beta, you can generate random email and keeping part of email as was in original value:
- schema: "public"
  name: "account"
  transformers:
    - name: "RandomEmail"
      params:
        column: "email"
        engine: "hash"
        keep_original_domain: true
        local_part_template: "{{ first_name | lower }}.{{ last_name | lower }}.{{ .random_string | trunc 10 }}"

I can use RealAddress for the address_line_1 and random data for the others but it would be nice to have city be something interesting.

Good note, agree. I will try to make the RealAddress generate for useful according to your feedback.
Well I have an Idea when people can provide their own addresses or any other databases with data, for instance in json representation. The Greenmask would use that data for mapping to the columns. For instance.
- schema: "public"
  name: "account_address"
  transformers:
    - name: "RandomDataFromFile"
      params:
        file: "/path/to/your/db.json"
        columns:
          - name: "address_line_1"
            value: "{{ db.address_line1 }}"
          - name: "city"
            value: "{{ db.city }}"
......

And in the file might be kind of
[
 {
   "address_line_1": "val1",
   "address_line_2": "val2",
   "city": "val3",
   "postal_code": "val4",
   "region": "val5",
   "country": "val6",
 }
]

Why this way? I think this might be used not only for address but for multipurpose. Allowing users to define their own functional dependencies between attribute in the database provided.

I know you call them transformers but for some reason in my mind, they just seem closer to data generators than something that transforms :)

Hi! Thank your feedback. I will consider the naming, but both namings are controversial, so we need to choose the user-friendly. Maybe I will raise a vote in the future)
I named it transformer because some transformer changes original data rather than generate new ones. For instance, in the latest beta, you can generate random email and keeping part of email as was in original value:
- schema: "public"
  name: "account"
  transformers:
    - name: "RandomEmail"
      params:
        column: "email"
        engine: "hash"
        keep_original_domain: true
        local_part_template: "{{ first_name | lower }}.{{ last_name | lower }}.{{ .random_string | trunc 10 }}"

I was actually thinking the same thing when I wrote it - I see both sides for sure. There are data generators and data transformers (or mutators) - When I thought of how the documentation would be written it did not make sense to put them in two sections either - so there should be a good name for both of course.
I asked the AI God what it though:

I can use RealAddress for the address_line_1 and random data for the others but it would be nice to have city be something interesting.

Good note, agree. I will try to make the RealAddress generate for useful according to your feedback.
Well I have an Idea when people can provide their own addresses or any other databases with data, for instance in json representation. The Greenmask would use that data for mapping to the columns. For instance.
- schema: "public"
  name: "account_address"
  transformers:
    - name: "RandomDataFromFile"
      params:
        file: "/path/to/your/db.json"
        columns:
          - name: "address_line_1"
            value: "{{ db.address_line1 }}"
          - name: "city"
            value: "{{ db.city }}"

And in the file might be kind of
[
 {
   "address_line_1": "val1",
   "address_line_2": "val2",
   "city": "val3",
   "postal_code": "val4",
   "region": "val5",
   "country": "val6",
 }
]

Why this way? I think this might be used not only for address but for multipurpose. Allowing users to define their own functional dependencies between attribute in the database provided.

For ease of use, you could even replace the file with a yaml array of values. They would of course have to evaluate down to strings but you could do this with yaml anchors so you could re-use it in other parts of the configuration file.

authors: jensenbox wwoytenko

repo: GreenmaskIO/greenmask


text:
add prefix to storage config

move storage.s3.prefix to storage.prefix
prefix now works with directory storage
prefix should have the same functionality in s3 storage

closes #69

@joao-zanutto could you please implement the parameter --storage-prefix for cmd in this PR as well?

I am closing this MR due to no changes. Feel free to open a new one.

source: gharchive/pull-request

authors: joao-zanutto wwoytenko


text:
Copying & Pasting URLs not working in production mode

After compiled and on a live site, when you copy a URL and paste it into another tab, you receive a 404 error.
Reproduce:

download https://github.com/Greentube/localize-router/tree/cf422d471f2b15f50c6beb3a22375fa894c5c123
go into CLI folder
sudo npm install -g @angular/cli
ng build --prod
open site, go to another page, copy page,
ex. : http://www.URL.com/de/users/Donald Knuth
paste into another tab
get 404 error

However, on the local server, I can copy and paste the URLs with no problem.
Reproduce:

download https://github.com/Greentube/localize-router/tree/cf422d471f2b15f50c6beb3a22375fa894c5c123
go into CLI folder
sudo npm install -g @angular/cli
ng serve
open site, go to another page, copy page,
ex. : http://localhost:4200/en/users/Donald Knuth
paste into another tab
the page loads as expected

Any idea what could be happening in the build? Is there any way around it?
Thanks!

Any update on this? For example, is there a working demo from a production site?
The 404 error is also encountered when refreshing the page.
Is it possible that this could be fixed via hash routing? Since, then the browser isn't looking for a domain of http://localhost:4200/en/users/Donald Knuth but instead is looking for the section http://localhost:4200/#/en/users/Donald Knuth within the domain http://localhost:4200/
Just an idea... I'm still researching.

Fixed!! Super stoked!
With this fix, I can now refresh the browser without it giving me a 404 error and, more importantly, share the links with it giving the second user a 404 error.
Okay. So, it's kind of ugly... I'm using the Hash Location Strategy in this case.
Steps:

within App.Browser.Module.ts

import { HashLocationStrategy, LocationStrategy } from "@angular/common";
and
  providers: [
    {provide: LocationStrategy, useClass: HashLocationStrategy}
  ]

Here is a look at the full app.browser.module.ts file:
import { UniversalModule } from 'angular2-universal';
import { NgModule } from '@angular/core';
import { Http } from '@angular/http';
import { TranslateModule, TranslateLoader } from '@ngx-translate/core';
import { TranslateHttpLoader } from '@ngx-translate/http-loader';
import { HashLocationStrategy, LocationStrategy } from "@angular/common";

import { AppComponent } from './app.component';
import { Routes, RouterModule } from '@angular/router';
import { HomeModule } from './home/home.module';
import { LocalizeRouterModule } from 'localize-router';

export function createTranslateLoader(http: Http) {
  return new TranslateHttpLoader(http, '/assets/locales/', '.json');
}

const routes: Routes = [
  { path: '', redirectTo: 'home', pathMatch: 'full' },
  { path: 'users', loadChildren: './users/users.module#UsersModule' },
  { path: '**', redirectTo: 'home' }
];

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    UniversalModule,
    TranslateModule.forRoot({
      loader: {
        provide: TranslateLoader,
        useFactory: (createTranslateLoader),
        deps: [ Http ]
      }
    }),
    RouterModule.forRoot(routes),
    LocalizeRouterModule.forRoot(routes),
    HomeModule
  ],
  exports: [RouterModule],
  bootstrap: [AppComponent],
  providers: [
    {provide: LocationStrategy, useClass: HashLocationStrategy}
  ]
})
export class AppModule { }

Can someone help me figure out a way to remove the hashtag from the links?
I'll keep searching in the meanwhile.

In your latest commit, I used the following code for the HashLocationStrategy and it works.
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { Http, HttpModule } from '@angular/http';
import { TranslateModule, TranslateLoader } from '@ngx-translate/core';
import { TranslateHttpLoader } from '@ngx-translate/http-loader';
import { HashLocationStrategy, LocationStrategy } from "@angular/common";

import { AppComponent } from './app.component';
import { AppRoutingModule } from './app-routing.module';
import { HomeModule } from './home/home.module';
import {UsersModule} from "./users/users.module";

export function HttpLoaderFactory(http: Http) {
  return new TranslateHttpLoader(http, '/assets/locales/', '.json');
}

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpModule,
    TranslateModule.forRoot({
      loader: {
        provide: TranslateLoader,
        useFactory: HttpLoaderFactory,
        deps: [ Http ]
      }
    }),
    // feature modules
    HomeModule,
    UsersModule,
    AppRoutingModule
  ],
  providers: [
    {provide: LocationStrategy, useClass: HashLocationStrategy}
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

Thanks!

@brada1703 Using a hash url isn't a solution.. You should re-open this.

repo: Greentube/localize-router

license: mit


text:
Support to deployment multiple clusters by using the same etcd cluster

Backgroud
The upstream already supports --store-key-prefix in metasrv. We can provide the StoreKeyPrefix in the Meta field to support creating multiple clusters using the same etcd cluster.

https://github.com/GreptimeTeam/greptimedb-operator/pull/127

repo: GreptimeTeam/greptimedb-operator


text:
500 error when using PromQL with time durations

What type of bug is this?
Unexpected error
What subsystems are affected?
Frontend
What happened?
Adding time duration in PromQL will occur an error, for example node_cpu_seconds_total{mode="idle"}[5m].
curl -X GET \
-H 'Authorization: Basic <authorization>' \
-G \
--data-urlencode 'db=qg4xuulda0aaprometheus_machine_metrics-public' \
--data-urlencode 'query=node_cpu_seconds_total{mode="idle"}[5m]' \
--data-urlencode 'start=1694419256' \
--data-urlencode 'end=1694419856' \
--data-urlencode 'step=15s' \
https://o3aw21qgdbzw.us-west-2.aws.greptime.cloud/v1/promql

The response is

<title>502 Bad Gateway</title>

502 Bad Gateway

nginx

If starting a db locally, the error is:
greptimedb           | not implemented: Arrow array datatype: Dictionary(Int64, Float64)
greptimedb           | 2023-09-11T08:25:36.318939Z ERROR common_telemetry::panic_hook: panicked at /greptimedb/src/datatypes/src/vectors/helper.rs:323:17:
greptimedb           | not implemented: Arrow array datatype: Dictionary(Int64, Float64) backtrace=   0: <unknown>
greptimedb           |    1: <unknown>
greptimedb           |    2: <unknown>
greptimedb           |    3: <unknown>
greptimedb           |    4: <unknown>
greptimedb           |    5: <unknown>
greptimedb           |    6: <unknown>
greptimedb           |    7: <unknown>
greptimedb           |    8: <unknown>
greptimedb           |    9: <unknown>
greptimedb           |   10: <unknown>
greptimedb           |   11: <unknown>
greptimedb           |   12: <unknown>
greptimedb           |   13: <unknown>
greptimedb           |   14: <unknown>
greptimedb           |   15: <unknown>
greptimedb           |   16: <unknown>
greptimedb           |   17: <unknown>
greptimedb           |   18: <unknown>
greptimedb           |   19: <unknown>
greptimedb           |   20: <unknown>
greptimedb           |   21: <unknown>
greptimedb           |   22: <unknown>
greptimedb           |   23: <unknown>
greptimedb           |   24: <unknown>
greptimedb           |   25: <unknown>
greptimedb           |   26: <unknown>
greptimedb           |   27: <unknown>
greptimedb           |   28: <unknown>
greptimedb           |   29: <unknown>
greptimedb           |   30: <unknown>
greptimedb           |   31: <unknown>
greptimedb           |   32: <unknown>
greptimedb           |   33: <unknown>
greptimedb           |   34: <unknown>
greptimedb           |   35: <unknown>
greptimedb           |   36: <unknown>
greptimedb           |   37: <unknown>
greptimedb           |   38: <unknown>
greptimedb           |   39: <unknown>
greptimedb           |   40: <unknown>
greptimedb           |   41: <unknown>
greptimedb           |   42: <unknown>
greptimedb           |   43: <unknown>
greptimedb           |   44: <unknown>
greptimedb           |   45: <unknown>
greptimedb           |   46: <unknown>
greptimedb           |   47: <unknown>
greptimedb           |   48: <unknown>
greptimedb           |   49: <unknown>
greptimedb           |   50: <unknown>
greptimedb           |   51: <unknown>
greptimedb           |   52: <unknown>
greptimedb           |   53: <unknown>
greptimedb           |   54: <unknown>
greptimedb           |   55: <unknown>
greptimedb           |   56: <unknown>
greptimedb           |   57: <unknown>
greptimedb           |   58: <unknown>
greptimedb           |   59: <unknown>
greptimedb           |   60: <unknown>
greptimedb           |   61: <unknown>
greptimedb           |   62: <unknown>
greptimedb           |   63: <unknown>
greptimedb           |   64: <unknown>
greptimedb           |   65: <unknown>
greptimedb           |   66: __clone
greptimedb           |  panic.file="/greptimedb/src/datatypes/src/vectors/helper.rs" panic.line=323 panic.column=17

What operating system did you use?
Mac OS X
Relevant log output and stack trace
No response
How can we reproduce the bug?
please see what happened

This panic is fixed in https://github.com/GreptimeTeam/greptimedb/pull/2351. The query node_cpu_seconds_total{mode="idle"}[5m] is expected to return an error as the result is a range selector, which can not be used as the final type but only as an intermediate result. Try something like sum(node_cpu_seconds_total{mode="idle"}[5m]).
But the error message should be improved. This is InvalidArguments rather than Internal

The error message is improved in https://github.com/GreptimeTeam/greptimedb/pull/2883:
2023-12-13T03:59:18.209588Z ERROR frontend::instance: Failed to execute query: tql eval (1702438983, 1702438983, '30s') sum(node_cpu_seconds_total{mode="idle"}[5m]) err=0: Table operation error, at src/frontend/src/instance.rs:247:14
1: Failed to parse query, at /home/wayne/repo/greptimedb/src/operator/src/statement/tql.rs:38:60
2: Failure during query parsing, query: sum(node_cpu_seconds_total{mode="idle"}[5m]), at src/query/src/parser.rs:129:14
3: expected type vector in aggregation expression, got matrix

authors: nicecui waynexia

repo: GreptimeTeam/greptimedb


text:
Speed up the starting of datanode

What type of enhancement is this?
User experience
What does the enhancement do?
Opening a region in mito2 still waits for network returns in a &mut self  function, which is super expensive.(If opening a region requires 50ms, this worker only has 20qps)
https://github.com/GreptimeTeam/greptimedb/blob/4fcda272fb127e4a0106a5923b27a621202ffac3/src/mito2/src/worker/handle_open.rs#L66-L76
Implementation challenges
No response

Is this issue still relevant? It seems quite vague what we can improve.

Closed unless we have more concrete stuff to improve.

authors: WenyXu tisonkun


text:
fix: wrong next column in manifest

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
fix wrong next column id stored in manifest after adding columns to table.
Checklist

[ ]  I have written the necessary rustdoc comments.
[ ]  I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)
#1389

@killme2008 PTAL. And could you please help trigger another sqlness test in CI. It seems failed due to resource issue.

@lizhemingi  I tried restarting the sqlness test twice, but it still failed.  Is it working on your machine?

@killme2008 A little wired. I will take a look maybe late tonight or tomorrow morning. And you can take a look on the code for the review if you have time. Thanks.

@killme2008 May I ask distributed mode sqlness test support --- SQLNESS ARG restart=true or not? I found that remove the restart command in distributed sqlness file passes the test in my local machine. Maybe I thought it's exactly the same test cases between standalone and distributed mode is wrong.

@killme2008 May I ask distributed mode sqlness test support --- SQLNESS ARG restart=true or not? I found that remove the restart command in distributed sqlness file passes the test in my local machine. Maybe I thought it's exactly the same test cases between standalone and distributed mode is wrong.

Ahh, maybe that's the root cause. The distributed mode and standalone mode functions are not totally the same right now. cc @waynexia

@lizhemingi Thanks a lot. I merged this PR. @waynexia will look into the issue in distribute mode test case.

@lizhemingi The restart command can be executed after PR https://github.com/GreptimeTeam/greptimedb/pull/1443
So can you create another PR to test this bug fixing in distributed mode?

@killme2008 In #1443, the alter_table test case files have been moved into standalone/common/alter and in distributed there is a soft link to standalone/common/alter. So right now in distributed mode, we will run the same test cases with standalone, and I think it's enough. WDYT ?

@lizhemingi Yes, sorry my mistake. @waynexia  already moved it. Great.


text:
feat:EventListener

Changing the event listener and so the popu window

Jean push for event listener and pop up window


text:
there should be only one header [₹20000]

there should be only one header ,
I suggest we remove this one

and just keep this

also change its color to match the background image as the green color looks ugly.

I will also reward you with a amazon pay gift card worth ₹20000 or $240 as you wish
PS: You need to star✨ the repository

does my pr-#315 works for this?

@Anshgrover23 I have raised a pr that addresses this issue, Sorry for not asking to be assigned, but I didn't want others to be deterred from pursuing this issue.
I have implemented exactly those changes that you have asked. Thank you for taking the time to read this

authors: Anshgrover23 Blink-drift KhushiParekh

repo: Groverio/To-Do-List


text:
sdk安装后无法正常启动项目

最新的三个版本都无法正常启动，报错如上

目前我们 SDK 最佳运行版本是 Flutter 3.0，目前有兼容方式支持 2.0 版本，用以下方式集成即可，只是一些兼容处理，使用逻辑不变
  ft_mobile_agent_flutter:
    git:
      url: https://github.com/GuanceCloud/datakit-flutter.git
      ref: agent_legacy_0.4.1.dev.1

repo: GuanceCloud/datakit-flutter


text:
WIP: Spike out PoC for Tableau integration

The contents of this PR are a work in progress and are subject to rapid change at any moment.
This patch adds a very barebones Tableau dashboard integration.
Currently, it supports adding workbooks, users and owners (which are fake), and
finding the last updated timestamp. To run it, startup Amundsen as normal and then
run python example/scripts/sample_data_loader.py. You'll need to make sure that
you've added your Tableau site config and credentials to the top of the sample loader
script. It also does not support creation of tables and columns at this time, so you'll
need to add those manually using a CSV job.

Make sure you run flake8 . to help suss out those issues before committing

Thanks for the callout. I haven't used it before and wasn't sure what it did, having a linter will be helpful.

The name of this branch isn't descriptive enough. Can you make it clear that it's for tableau extractor?

I tried renaming the branch locally and pushing, but it doesn't seem to have worked. I think the only way for me to fully rename this branch would be to delete it and make another, but I'm not certain. Do you have any guidance on this?


text:
Could we ignore global translation and only take joint rotation as input to MotionCLIP?

Hi. I just wonder if we can ignore global translation and only take joint rotation as input to your pretrained MotionCLIP? Does this make sense? Thank you very much!

Hi @VigorZero ! You can try switching this code:
https://github.com/GuyTevet/MotionCLIP/blob/4cc3e6dca1ac03057b8916977cc1e61de70554d7/src/models/modeltype/motionclip.py#L204-L206
with:
        # FIXME - TEMPORARILY SWAP AXIS FOR VISUALIZATION
        batch['output_xyz'] = torch.cat([batch['output_xyz'][:, :, 1:, :], batch['output_xyz'][:, :, :1, :]], dim=-2)

This will look bad for text2motion but should work well for editing applications.

authors: GuyTevet VigorZero

repo: GuyTevet/MotionCLIP


text:
Не работает "Полушаговый" энкодер

Стоит какойто полушаговый энкодер, что бы произошел тик, надо два щелчка прокрутить. Это при стандартных настройках библиотеки.
Запустил голый пример из библиотеки под названием optimisation, и вставил #define EB_HALFSTEP_ENC, а после полез смотреть в serial. Там при прокрутке энкодер чудит. При прокрутке сначала вправа, показывает turn right, при повторной прокрутке вправо "turn left turn right". аналогично при прокрутке влево. Кнопка SW вообще реагировать перестала.

Алгоритм EB_HALFSTEP_ENC не очень хорошо работает из за особенности таких энкодеров, у меня часть энкодеров работает  идеально, часть - иногда с ошибкой направления шага. Рекомендую использовать совместно с EB_BETTER_ENC - чуть тяжелее но отрабатывает чётко любые энкодеры.
Но в реализации действительно был небольшой косяк, спасибо! Я релизнул v1.22, теперь энкодер работает более правильно и указанный пример реагирует на кнопку

Благодарю! Обновил библиотеку и задействовал EB_HALFSTEP_ENC+EB_BETTER_ENC.
Все заработало.

repo: GyverLibs/EncButton


text:
Deploy

GitHub Actions

Cannot execute dry run...


text:
Home Assistant 2024.1 warnings

Version of the custom_component

Latest.
Configuration

N/A

Describe the bug
Warnings from HA.
Not the only custom component with these.
Debug log

2024-01-05 21:20:03.055 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.openhasp.light.HASPBackLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 1> and color modes, please create a bug report at https://github.com/HASwitchPlate/openHASP-custom-component/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-01-05 21:20:03.055 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.openhasp.light.HASPMoodLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 17> and color modes, please create a bug report at https://github.com/HASwitchPlate/openHASP-custom-component/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-01-05 21:20:03.061 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.openhasp.light.HASPBackLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 1> and color modes, please create a bug report at https://github.com/HASwitchPlate/openHASP-custom-component/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-01-05 21:20:03.061 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.openhasp.light.HASPMoodLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 17> and color modes, please create a bug report at https://github.com/HASwitchPlate/openHASP-custom-component/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-01-05 21:20:03.064 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.openhasp.light.HASPBackLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 1> and color modes, please create a bug report at https://github.com/HASwitchPlate/openHASP-custom-component/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-01-05 21:20:03.064 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.openhasp.light.HASPMoodLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 17> and color modes, please create a bug report at https://github.com/HASwitchPlate/openHASP-custom-component/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-01-05 21:20:03.171 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.openhasp.light.HASPBackLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 1> and color modes, please create a bug report at https://github.com/HASwitchPlate/openHASP-custom-component/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-01-05 21:20:03.171 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.openhasp.light.HASPMoodLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 17> and color modes, please create a bug report at https://github.com/HASwitchPlate/openHASP-custom-component/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-01-05 21:20:03.187 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.openhasp.light.HASPBackLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 1> and color modes, please create a bug report at https://github.com/HASwitchPlate/openHASP-custom-component/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-01-05 21:20:03.187 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.openhasp.light.HASPMoodLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 17> and color modes, please create a bug report at https://github.com/HASwitchPlate/openHASP-custom-component/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-01-05 21:20:03.574 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.openhasp.light.HASPBackLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 1> and color modes, please create a bug report at https://github.com/HASwitchPlate/openHASP-custom-component/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-01-05 21:20:03.574 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.openhasp.light.HASPMoodLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 17> and color modes, please create a bug report at https://github.com/HASwitchPlate/openHASP-custom-component/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

Same issue here.
The logs suggest mentioning the following page: https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

These warnings are now fixed in Pre-Release 0.7.2. Please help test it before release by redownloading this version of the Custom Component in HACS.

After updating to version 0.7.2, the component stopped working
2024-03-06 01:16:48.142 ERROR (MainThread) [homeassistant.components.script] Script with object id 'plate04_timer_popup' could not be validated and has been disabled: template value should be a string for dictionary value @ data['sequence'][0]['data']. Got {'keyword': 'jsonl', 'parameters': '{"page":0,"id":150,"obj":"obj","x":85,"y":90,"w":310,"h":340,"radius":15,"click":true,"border_side":0,"bg_color":"#0B61A4"} {"page":0,"id":151,"parentid":150,"obj":"label","x":10,"y":10,"w":48,"h":50,"click":false,"text":"{{ entity_icon }}","text_color":"#FFF","text_font":48} {"page":0,"id":152,"parentid":150,"obj":"label","x":0,"y":18,"h":30,"w":320,"align":"center","text_color":"#fff","text_font": 24,"text":"{{ entity_name }}"} {"page":0,"id":153,"parenti...
2024-03-06 01:17:39.519 ERROR (MainThread) [homeassistant.components.light] Platform openhasp does not generate unique IDs. ID 3030f973b8d4., already exists - ignoring light.plate04_light_2
2024-03-06 01:17:39.521 ERROR (MainThread) [homeassistant.components.light] Platform openhasp does not generate unique IDs. ID 3030f973b8d4.[ already exists - ignoring light.plate04_light
2024-03-06 01:17:39.521 ERROR (MainThread) [homeassistant.components.light] Platform openhasp does not generate unique IDs. ID 3030f973b8d4.] already exists - ignoring light.plate04_light_3
2024-03-06 01:17:39.527 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up openhasp platform for binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 344, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/openhasp/binary_sensor.py", line 42, in async_setup_entry
for gpio in entry.data[CONF_INPUT][device_class]
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
TypeError: string indices must be integers, not 'str'
2024-03-06 01:17:39.670 ERROR (MainThread) [homeassistant.util.logging] Exception in lwt_message_received when handling msg on 'hasp/plate04/LWT': 'online'
Traceback (most recent call last):
File "/config/custom_components/openhasp/init.py", line 475, in lwt_message_received
await self.refresh()
File "/config/custom_components/openhasp/init.py", line 630, in refresh
await self.async_change_page(self._page)
File "/config/custom_components/openhasp/init.py", line 564, in async_change_page
if page <= 0 or page > num_pages:
^^^^^^^^^^^^^^^^
TypeError: '>' not supported between instances of 'int' and 'str'

Thanks for you report. We've updated the discovery and published a new pre-release of 0.7.2. That should fix the problem.

Can this issue be closed now?

authors: KrasnovES LuisThe0ne fvanroie nagyrobi

repo: HASwitchPlate/openHASP-custom-component


text:
6.5 cr1 deployment -addon

Hi @sabrina-yee again,
sorry I pushed one commit to early and then I recognized you already merged.
I forgot to add the environment settings for the shell commands.
Now the installation is tested and runs through without issues. Please add this too, so the PR from 2 hours ago can work.
Thanks
Christoph

Thanks @stoeps13, do you think the var name of this line should be cnx_fixes_repository_url?
https://github.com/HCL-TECH-SOFTWARE/connections-automation/blob/main/environments/examples/cnx6/db2/group_vars/all.yml#L45

Yes would fit better to the other repository links.


text:
Dont works with redis streams

all rdb commands fails when running on db with streams
error: read stream item id seq failed: -1 is not a uint

Could you provide with rdb file or more information?


text:
🛑 SkipTheCommericals is down

In d1db961, SkipTheCommericals ($STC) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheCommericals is back up in fb78c08.

repo: HDVinnie/TrackerHub


text:
⚠ SkipTheCommericals has degraded performance

In c729c34, SkipTheCommericals ($STC) experienced degraded performance:

HTTP code: 200
Response time: 2185 ms

Resolved: SkipTheCommericals performance has improved in 711a425.


text:
⚠ PrivateHD has degraded performance

In ceef048, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 2767 ms

Resolved: PrivateHD performance has improved in d62fec6.


text:
⚠ AnimeBytes has degraded performance

In 08e6137, AnimeBytes ($AB) experienced degraded performance:

HTTP code: 598
Response time: 5839 ms

Resolved: AnimeBytes performance has improved in b73f65e after 8 minutes.


text:
🛑 SkipTheCommericals is down

In 7046fee, SkipTheCommericals ($STC) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheCommericals is back up in 9b1b6a5.


text:
🛑 SkipTheTrailers is down

In 96a2846, SkipTheTrailers ($STT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheTrailers is back up in e4d1ed0.


text:
[BUG] Author Avatar not updating

Describe the bug 描述你遇到的错误
Sincere apologies upfront as I am new to Hugo and this is likely user error. I'm trying to update the following icon to reflect the Authors profile:

I have created a new toml under data/authors "authX.toml"
Which contains:
avatar = "https://hugodoit.pages.dev/images/avatar.webp"
I then call this in my post with:
authors: ["authX"]
However nothing updates.
I have also tried the following direct in the config.toml with no luck:
[author]
  name = "authX"
  email = ""
  link = ""
  avatar = "https://hugodoit.pages.dev/images/avatar.webp"
  gravatarEmail = ""

Am I missing something?
Thanks in advance,
L
Expected behavior 期待的行为
No response
Screenshots 屏幕截图
No response
Build Environment 构建环境
hugo v0.92.2+extended
DoIt: version = "0.3.X"
Preview Environment 预览环境
No response
Additional Information 补充信息
No response

Yeah that icon is not designed to be customised, it's too small to put a picture there so what you have seen is expected behaviour. That said, do you have any better design in mind to display authors' avatars?

Roger, understood!
Good question and without getting too philosophical on design elements: In its current state my first impression was 'they just didn't bother setting a picture for the demo site, let me dig around for the config..'
But knowing its not customisable really makes it redundant? If the authors cannot add a touch of personality next to their names, what purpose does the icon serve?
The only thing that comes to mind is perhaps the option to set an emoji or FontAwesome icon.
For any other noobs like me:
Setting up for configurable FontAwesome icons is relatively straight forward:
Note It can only handle one author. You will get errors if you list two authors in a post.. Only good if you're the sole author on the site.
Under ./data/authors/ create your author_X.toml
name = "AuthX"
authorIcon = 'fas fa-solid fa-rocket fa-fw'

Under ./themes/DoIt/layouts/partials/meta/author.html
Add to the top:
{{- $author := index $.Site.Data.authors .Params.authors -}}
{{- $icon := dict "Class" $author.authorIcon }}

Ensure "fontawesome: true" in your post.md
Now when you call your author in your post:
authors: ["author_X"]
It will display the chosen icon:

repo: HEIGE-PCloud/DoIt


text:
[FEATURE] Add some features for social links and homepage

Thanks for this amazing theme. I have searched hundreds of Hugo themes, and your theme is one of the best.
I am in no position to ask for anything from you, you have already done a lot, but I would love if you could add these features:
Feature 1:
An alternative links to Paypal, and Patreon like: Librepay, and Ko-fi.
Feature 2:
Add featured posts, and latest posts on the right side of home page as in hugo-clarity theme
Featured posts can be pulled out from frontmatter variable featured: true
Feature 3:
Add the ability to pin posts to the home page
Pinned posts can be pulled out from frontmatter variable pinned: true
I am sorry if I am asking for too many features, I wish I can add them as pull requests myself, but I am totally new to Hugo.

Hello
For Feature 1, links for Libreapay, and Ko-fi will be added soon!
For Feature 3. The post on the home page is sorted by time by default. To "Pin" a post, you can set the weight front matter for the post. The exampleSite is using this method to pin this post on the top.
For Feature 2, I don't see a way to fit a featured post section into the design pattern of DoIt theme. As mentioned before, the post on homepage is sorted by weight, then by postDate, so all the posts on homepage have been sorted by featured posts and latest posts already, a dedicated section does not seem to be very useful.

I tested it, and it works fine. Thanks!


text:
more generalized beam interpolation functions

Support interpolating to any frequency and location (not just healpix pixel centers). Infrastructure to allow for different interpolation functions and to keep track of which one was used.

ping @zacharymartinot @jaguirre. Can you take a look at this and make sure the structure looks appropriate and extensible as needed?

repo: HERA-Team/pyuvdata


text:
How to evaluate the link prediction performance of GraphGPT

Hi,
Thank you for sharing your fantastic work. I recently want to reproduce the link prediction evaluation part. In your paper, you mentioned that
"we utilize three commonly adopted evaluation metrics: Accuracy and Macro F1 for node
classification, and AUC (Area Under the Curve) for link prediction".
I can find from the example files for node classification evaluation but I can't find how to use the evaluation output to calculate the AUC.
What confuses most is that AUC requires the confidence of existence of links between 2 nodes. However, in your prompt design, you only ask llm for whether there's a link or not which means you can only get 0 or 1.
I would be appreciate it if you could provide me with further explanation. Thank you for your time!

explanation

Thanks for your interests in our GraphGPT. We treat link prediction as a binary classification problem on the edges (linking or not linking). We set the output of 'yes' as 1 and 'no' as 0, and then proceed to calculate the AUC (Area Under the Curve). Specifically, we utilize the computation function provided by sklearn to perform the calculation directly.

Thank you for your clarification!

repo: HKUDS/GraphGPT


text:
Data Processing

Hi, it's a great job. However, I still have a question:
How did you get the files before the prompt generation summary and reason, i.e. the complete document ``generation/user/user_prompt.''
I would like you to show this part of the raw data and look forward to your reply!

Hi 👋!
Thank you for your interest in RLMRec! We provide links to the raw data and the mapper information in JSON format, which maps the user and item IDs to their original IDs in the raw datasets.

Yelp: https://www.yelp.com/dataset
Amazon Books: https://cseweb.ucsd.edu/~jmcauley/datasets/amazon/links.html
Steam: https://github.com/kang205/SASRec

With these resources, you can access the raw data used for processing user and item profile generation. Please note that for the review or purchased item information in user/item prompts, the relevant user-item interactions are not included in the validation/test sets to avoid data leakage. I hope this information is helpful to you :)
Best regards,
Xubin

Okay, thanks! Have a nice life and good luck with your studies!

repo: HKUDS/RLMRec


text:
Gingham

Try out and document the important bits on a Wiki page.
http://koe.berlin/variablefont/

[[Gingham]]


text:
Performance custom metric is_lcp_statically_discoverable is incorrectly reporting false

Test URL: https://webpagetest.httparchive.org/result/221228_GY_1/1/details/#waterfall_view_step1
The LCP image is https://marieefleurir.com/html/template/default/img/top/firstviw01.jpg and is included in the initial HTML document sent by the server. I understand this should be recorded as is_lcp_statically_discoverable as true.
The root cause seems to be because raw_html: {}, which in turn is caused because WPT_BODIES[0].response_body: null.
See test: https://webpagetest.httparchive.org/result/221228_9S_4/1/details/#waterfall_view_step1 which includes custom metric:
[01_test]
const response_bodies = $WPT_BODIES[0];

return ({
  response_bodies
});

Is this a known issue? Why is response_body body null?

WPT will only store/process the bodies if they can be decoded as utf-8 in Python.
Even though the response headers say it is utf-8, Python is throwing a decode error when trying to decode it:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x81 in position 453869: invalid start byte

I can probably modify the agent to ignore decode errors explicitly for responses with text content types which will help fill in missing responses but they will be filtered in that case (better than not present I guess).

PR has been sent for the agent.  The HA crawl uses a fork that I control though so the change has been rolled out for the HA agent and will be picked up in the January crawl and should be live on the HA test instance within an hour.
I'll verify the fix on the HA test instance in an hour or so to make sure it also fixed the custom metric as a result.

Verified that it is working for that page now: https://webpagetest.httparchive.org/result/221228_YV_A/
Coverage in the January crawl should be improved but I still won't guarantee 100% coverage on response bodies (though finding edge cases like this helps improve it).
We can keep this open until you verify that it is fixed in the actual crawl.

Thank you. Looks great. 🙏

I think we are able to measure the impact of the fix after the January crawl using
#standardSQL

CREATE TEMPORARY FUNCTION getRawHtml(payload STRING)
RETURNS INT64
LANGUAGE js AS '''
try {
  var $ = JSON.parse(payload);
  var wpt_bodies = JSON.parse($._wpt_bodies);
  if (wpt_bodies) {
    return Object.keys(wpt_bodies.raw_html).length;
  }

  return 0;
} catch (e) {
  return 0;
}
''';

SELECT
  device,
  COUNTIF(raw_html = 0) AS no_raw_html,
  COUNT(0) AS total,
FROM (
  SELECT
    _TABLE_SUFFIX AS device,
    url AS page,
    getRawHtml(payload) AS raw_html,
  FROM
    `httparchive.pages.2022_10_01_*`
)
GROUP BY
  device

Currently:
+---------+-------------+----------+
| device  | no_raw_html |  total   |
+---------+-------------+----------+
| desktop |      417465 | 10346759 |
| mobile  |      594275 | 15583948 |
+---------+-------------+----------+

As an upper bound anyway.  We may still not get to 100% but good to know it's ~4% of origins.

authors: kevinfarrugia pmeenan

repo: HTTPArchive/custom-metrics


text:
Add an iframes custom metric

Based on the images metric, this one enumerates iframes present on the page including their:

url
width & height
naturalWidth and naturalHeight (for example when when w/h altered by CSS)
inViewport

Most of this already exists in the almanac custom metric:
https://github.com/HTTPArchive/custom-metrics/blob/main/metric-summary.md#iframes
We should enhance that. Though maybe there’s a good argument to move it to its own file while doing that. WDYT @rviscomi ?

Reminder @adamsilverstein . Wanna update the almanac one short term? Or take on the moving of this to markup.js at the same time as doing your updates?

authors: adamsilverstein tunetheweb


text:
Accessibility issue - Datepicker should be closed when input is unfocused

Describe the bug
When calendar is open and user unfocus the input by returning to previous focusable element with alt+tab, it should close.
To Reproduce
Steps to reproduce the behavior:

Start the screen reader and open the date-picker with keyboard.
Press "alt + tab" to return to previous focusable element.

Expected behavior
Datepicker should be not visible.
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Browser: Chrome (v. 100.0.4896.75), Firefox

Press "alt + tab"

I made the same mistake (which is how I found your issue), but I think you mean "shift + tab".
Issue still exists, and is very annoying when there are multiple date-pickers in a row (e.g. in a "from", "to" filter scenario)

Related to #3685, the component does not blur correctly when tabbing out

authors: ConcernedHobbit Ke1sy sebastianvitterso


text:
Error when compiling.

g++ -o NonEuclidean *.cpp
In file included from Engine.h:8,
from Engine.cpp:1:
Timer.h:2:10: fatal error: Windows.h: No such file or directory
2 | #include <Windows.h>
|          ^~~~~~~~~~~
compilation terminated.

Are you on Linux by any chance? From the Readme (emphasis mine):

A NonEuclidean rendering engine for Windows

repo: HackerPoet/NonEuclidean


text:
Create moz.rb

What the program do ?
moz rank scrape
In what programming language it is written?
ruby

This pull request do not contains files in specific folders. Please fix it and reopen


text:
Update Hello.java

What does the program do ?

In what programming language it is written?

Thank you for participating  in hacktoberfest ❣ if you liked working on this repo you can share it with friends and star this project for helping others


text:
GPU resources

I am very interested in this dataset. Could you please share the approximate GPU resources required for the entire training process?

Thank you for reaching out. The required GPU resources depend on the model and the data (synthetic/real) you want to use. Please check table 19, page 36 in the paper (https://arxiv.org/pdf/2410.24075).
In general, you can train on a single GPU and If you have a limited memory you can use the flag "en_use_checkpoint" in the config file.

repo: HakamShams/IDEE


text:
The requested URL was not found on this server.

after instal error:
Not Found
The requested URL was not found on this server.
Apache/2.4.29 (Ubuntu) Server at  my ip Port 80

دستور نصب رو دوباره بزنین . احتمالا کامل نصب نشده

نه نشد

Connection failed: Access denied for user 'admin'@'localhost' (using password: YES)

یعد نصب جدید

دستور زیر رو بزنین و دوباره دستور نصب بزنین :
mysql -e "drop user admin@localhost;use ShaHaN;drop table setting;"

repo: HamedAp/Ssh-User-management


text:
Fix scraping HTTPS URLs on yuri-ism.net

The BASE_URL will check whether HTTPS was requested, so that the used URLs will always be what a user expects.
Tests were added for HTTPS URLs.

[Current coverage][cc-pull] is 97.55%

Merging [#33][cc-pull] into [foolslide][cc-base-branch] will increase coverage by 0.01%

@@           foolslide        #33   diff @@
===========================================
  Files             16         16
  Lines           1426       1433     +7
  Methods            0          0
  Messages           0          0
  Branches           0          0
===========================================
+ Hits            1391       1398     +7
  Misses            35         35
  Partials           0          0

Powered by Codecov. Last updated by [2c33b6c...ec554bb][cc-compare]
[cc-base-branch]: https://codecov.io/gh/Hamuko/cum/branch/foolslide?src=pr
[cc-compare]: https://codecov.io/gh/Hamuko/cum/compare/2c33b6c22d813ad7ebd58fb5a0cfddba5a05615a...ec554bb38fd62b2c11fcf47a53cdb15deca3769a?src=pr
[cc-pull]: https://codecov.io/gh/Hamuko/cum/pull/33?src=pr

authors: CounterPillow codecov-io

repo: Hamuko/cum


text:
Participants

ESTIMATED - 15 minutes
REALIZED - 20 minutes

repo: HangoutSafari/Hangout-Safari


text:
llm-ui - A React library for building LLM UIs

👋 Hey, neat list!
I'm the author of llm-ui. It's an open source UI library that helps display any LLM output (it operates on a streamed string from any LLM).
It hides Markdown syntax from users, lets the LLM use custom components, smoothes out pauses and matches the display's native framerate.
It doesn't fit neatly into your list 🤔, so I put it near the other tools which involve UI. It would be cool to add a UI section, although it feels like a bit of a new space and there aren't a tonne of good options...yet!.
No problem at all if it doesn't fit in the list. Thanks for maintaining it, I got sent down a couple of rabbit holes!

Awesome!


text:
🛑 Main is down

In 2a998e4, Main (https://premid.app) was down:

HTTP code: 502
Response time: 438 ms

Resolved: Main is back up in 9546425.


text:
🛑 German is down

In 596e028, German (https://de.scratch-wiki.info) was down:

HTTP code: 0
Response time: 0 ms

Resolved: German is back up in a0bf4a2 after 10 minutes.


text:
🛑 German is down

In 887342c, German (https://de.scratch-wiki.info) was down:

HTTP code: 0
Response time: 0 ms

Resolved: German is back up in d23efee after 5 minutes.


text:
🛑 Egide US Site is down

In c98d7fd, Egide US Site (https://www.egideus.com) was down:

HTTP code: 409
Response time: 156 ms

Resolved: Egide US Site is back up in 034e173 after 12 minutes.

repo: Hansen-Distribution/upptime


text:
🛑 Helite US App is down

In 0f3f7ef, Helite US App (https://app.heliteus.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Helite US App is back up in ca14d65 after 1 hour, 24 minutes.


text:
🛑 Google Scholar is down

In ac4dcfb, Google Scholar (https://scholar.haoqiyun.tk/) was down:

HTTP code: 403
Response time: 764 ms

Resolved: Google Scholar is back up in b3488ec.


text:
🛑 NAS-state is down

In 6f9ce58, NAS-state (https://nas.wasenk.cf) was down:

HTTP code: 0
Response time: 0 ms

Resolved: NAS-state is back up in 13cb2c1.


text:
🛑 GitHub文件加速 is down

In 5276182, GitHub文件加速 (https://git.haoqiyong.cf/) was down:

HTTP code: 530
Response time: 293 ms

Resolved: GitHub文件加速 is back up in 28ed8d2.


text:
🛑 AI对话 is down

In 7cf736b, AI对话 (https://haoqi7-question.hf.space/) was down:

HTTP code: 503
Response time: 409 ms

Resolved: AI绘画 is back up in a821aa6.


text:
🛑 AI对话 is down

In 06d45cd, AI对话 (https://haoqi7-question.hf.space/) was down:

HTTP code: 503
Response time: 246 ms

Resolved: AI绘画 is back up in 6598ef9.


text:
🛑 AI调音 is down

In 76bb7dc, AI调音 (https://haoqi7-music.hf.space/) was down:

HTTP code: 404
Response time: 232 ms

Resolved: AI对话 is back up in a444696.


text:
🛑 Happy Vibes Bot 4 is down

In fe67a64, Happy Vibes Bot 4 ($BOT4) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Happy Vibes Bot 4 is back up in 02fe6d8.

repo: Happy-Vibes-Bot/status


text:
🛑 Happy Vibes Bot 4 is down

In 15b4ecc, Happy Vibes Bot 4 ($BOT4) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Happy Vibes Bot 4 is back up in 27fdcf0.


text:
怎么调整成中文的

方便加下您微信吗我的微信是zj726181747

Translating with Google Translate:
How to adjust to Chinese?
I never tried to install new languages to espeak. Could you try this?
http://espeak.sourceforge.net/data/

我测试了 调整不成中文

Could you please try to use a language prefix in the variant?
Translated by Google:
您能否在变体中尝试使用语言前缀？
Voice voice = new Voice();
voice.setVariant("zh+f2");

Espeak espeak = new Espeak(voice);
espeak.speak("Nǐ hǎo, shìjiè!");

@15201396130
Since I didn't hear from you and it is working on my machine, I am closing the issue

repo: Harium/espeak-java


text:
Single Pass VR

Hello! Thanks for this! I have an issue currently, and it's that if this package is applied to a Single Pass render VR project, the screen will be gray on one eye on startup. The grabpass shader works correctly in the editor, so that is set up correctly.
Do you have any ideas?

Sorry I can' t check because I don't have a VR development environment. Is it possible to reproduce this in the editor using the MockHMD XR Plugin or similar?
And I want to know your Unity version.

Sadly no, the Mock HMD plugin doesn't have this issue.

I cannot support VR devices in my development environment, so I will make it unsupported. Sorry.

authors: Haruma-K Snooba

repo: Haruma-K/URPGrabPass


text:
Using Xen

I'd like to try out Harvey-OS as a Xen virtual machine,
is it possible to build as a Xen image?
I am running Xen 4.3 on Debian Wheezy (with ZFSonLinux for my images as zvols).
I'd like to try porting a raytracer to Harvey for use in a rendering cluster.

you should be able to boot harvey as a DomU with no trouble. But who knows.

Just try it and tell about us. It sounds interesting.

great, I'll try giving it a go...

Just take an eye to syslinux/extlinux conf to see how to boot the kernel.

@zeigerpuppy , did you try it finally? any feedback? thanks!

sorry haven't had a chance yet, chasing a few server bugs at the moment, but should be able to try soon

No hurry, We are all interested in seeing if Harvey could run in xen while we keep working in other areas. Thanks!

too old, no testers.

authors: elbing rminnich zeigerpuppy

repo: Harvey-OS/harvey


text:
Update bot.py

This is fix error.

thanks you brother

authors: HazemMeqdad TaIFeel

repo: HazemMeqdad/lavaplayer


text:
Add timestamp conversion from Postgres dump to JSON

The pgtsv_to_json module is the fallback for database systems that don't support to_json(). It's called when I run on Greenplum, but I have timestamps in my table. Without this commit, the module terminates on a ValueError. With this commit, timestamp input columns are included in the JSON output.

I meant we can set the time zone in the psql that feeds input to the script such that the UTC offset we add is going to be always correct. The script doesn't have be general since pgtsv_to_json is really just a shim for working around a limitation in some db-drivers and not intended for general use outside of it.

@alldefector Good suggestion. I tried passing the timestamp string through unchanged, but jq can't handle that particular format. This suggests to me that other JSON tools won't either, even if ES does.
@netj Our timestamps are time zone naive and don't have offsets (they use Postgres' timestamp without time zone type), so there is no time zone setting in psql that can result in a correct offset down the line. We could change these columns to timestamp with time zone but now we're asking the application to support time zones for a really obscure technical reason.
I pushed 0a794ff in an attempt to resolve this. Before this change, pgtsv_to_json didn't support any timestamps. After this change, pgtsv_to_json explicitly supports the timestamp without time zone type without qualification. Looks to me like jq and Elastic support the output without changes elsewhere.
Please let me know if you think it produces inaccurate results, or if it doesn't support a feature that we need!

I don't understand why anyone should ever want to use timestamp without time zone (it doesn't make sense as it's a reference to an absolute point in time and not subject to interpretation). http://stackoverflow.com/a/6158432
It's fine to use any time zone in the JSON output as long as we are consistent with the data source. Since pgtsv to json is used only once in our codebase https://github.com/HazyResearch/deepdive/search?utf8=✓&q=pgtsv_to_json, we can just put the following line before the COPY statement to ensure we get timestamps serialized in a certain tz
SET timezone = 'UTC';

Not sure why pgtsv to json needs any change from the first version. This is a problem in the data source not the data encoder.
BTw JSON defines one and only one standard datetime format: ISO8601 which is also used by XML Schema, etc. so i agree we shouldn't produce some nonstandard format. It's no longer JSON if we try to sneak in some weird date time format.

@netj I agree, it's weird and certainly incorrect to leave out time zone info! Unfortunately adding time zone support to our app is way beyond the scope of my current task (moving specific processing from Postgres to Greenplum).
I don't think I made the motivation clear in my initial PR, and my original patch was definitely flawed. Sorry about that! The motivation for this PR is twofold:

pgtsv_to_json terminates on a ValueError when dumping timestamps of any kind, and
jq crashes when we send it psql-formatted timestamp strings, which are missing the "T" character and as you pointed out are not valid ISO 8601.

Seems like setting psql's time zone to UTC for this one dump doesn't fix those problems, but does make our timestamps incorrect until we support time zones from the very beginning of the pipeline. As it stands the data source (PostgreSQL/Greenplum) doesn't contain time zone information, and no combination of psql runtime directives can create that information out of thin air.
Would you be open to my approach in 0a794ff along with a promise to open a ticket for proper time zone handling in downstream apps? I'd love to fix that at some point.

@shahin Related: The missing 'T' issue is a bug in postgres's to_json that was fixed only in 9.5...
http://postgresql.nabble.com/BUG-12578-row-to-json-and-to-json-add-T-in-timestamp-field-td5834396.html

Ok make sense now. Keeping a way to pass thru incomplete data may be something useful too anyway.

LGTM

@alldefector Looks like CI is failing, but I don't think it's caused by this diff. Can I merge and push on the command line anyway? Should I open a ticket for fixing CI here?

authors: alldefector netj shahin

repo: HazyResearch/deepdive


text:
Models To Compare plotting needs tuning, disambiguation in Advanced Example

When plotting the models in example_advanced.py with hcai_tsm.tsm_classification_comparison_plots, if two models are built of the same class, like two KNNs, the classification_comparison_plots command only plots one of the KNNs.  Also, in using the ensemble, when plotting the curves at the end, it only plots one curve, which I assume is the best one, but there isn't a chance for visual comparison.
Action Items

Plot all items fed into the trained_supervised_models = models_to_compare command while giving the names of each.
-Need to differentiate in the naming of such models on the graph, which one is which.

When using custom_ensemble make sure that each model is printed in the .roc_plot

Possible Action Item
-Need to make sure that the plots in .roc_plot() represent the names of the models created. Diasmbiguate.

Great discovery Ethan. Let's let issue #239 track the ensemble problem, and leave this issue to deal with the duplicate model names problem.

authors: Aylr EthanTaft

repo: HealthCatalyst/healthcareai-py


text:
Some suggestions for use in the development process

Exmaple
let jsonString = "{\"name\":\"Test\", \"id\":10}"

struct User: Mappable {
     var id: String!
     var name: String!
}

///

At this point, the type of ID is String, and ID is Int in jsonString, so the conversion fails, and id = nil. The framework does provide the transformTo () method to solve, but can it be implicitly solved?

Use Transform to convert Int to String. https://github.com/Hearst-DD/ObjectMapper#custom-transforms

authors: chenkefeng devxoul

repo: Hearst-DD/ObjectMapper


text:
🛑 Johnny is down

In d5ab79a, Johnny ($JOHNNY_UPTIME) was down:

HTTP code: 0
Response time: 0 ms

HelioHost staff have been notified and we're investigating the cause of this downtime.

Resolved: Johnny is back up in 6539bd8 after .

repo: HelioNetworks/status


text:
Delete Button

Delete button doesn't work on the Remove links settings page.

Fixed in commit a253a1639411f83a3827b0aeb13dc7214772dd22


text:
Changed http to https in font-urls

If the server is running over https, the fonts are not loaded as the client fails with, error 'Mixed Content'.  Loading the fonts over https all the time should solve this conflict.

Thanks for the PR!  We just made a similar change to the other theme's font paths but didn't get this one updated.  Would you mind refactoring this slightly to use a variable for the base of the font path similar to how it's done here (line 20)?
https://github.com/HewlettPackard/grommet/blob/master/src/scss/hpe/_hpe.defaults.scss

Hello @tobias-flitsch, will you be able to tweak the PR as I suggested?  Would like to merge this PR if you're able to tweak slightly to align with the similar changes we've made in other areas.  Thanks!

Thanks for your contribution!

authors: bryanjacquot tobias-flitsch

repo: HewlettPackard/grommet


text:
Implement Operator::LIKE

Implement Operator::LIKE as string contains

closed with #33

repo: Hi-Folks/data-block


text:
Think more about die expansion when constructing dice

We usually want dice to be expanded in the end, since this is as explicit as possible. However, there are potential arguments for not always expanding dice:

A user might really want to treat the die itself as a potential outcome.
Delaying die expansion could be more efficient in some cases?

Counterarguments:

This would require making dice sortable, which requires the rest of the comparators to produce a truth value, which is a potential source of confusion I'd like to keep to a minimum. Or we could drop the requirement that outcomes be sortable, but I think this is too valuable a convention to give up.
Expanded vs. non-expanded is one more thing for the user to keep track of and specify.

I'm going to keep it as it is. If custom outcome classes see much use, I might look into adding an interface method for expanding, but this seems unlikely at the moment.

repo: HighDiceRoller/icepool


text:
IDE(IDEA 2020.3 Ultimate Edition): Fatal Errors

Partial stacktrace:
org.jetbrains.kotlin.idea.caches.resolve.KotlinIdeaResolutionException: Kotlin resolution encountered a problem while analyzing KtFile
    ...
Caused by: java.lang.NoSuchMethodError: 'org.jetbrains.kotlin.descriptors.ModuleCapability org.jetbrains.kotlin.analyzer.ModuleInfo$Companion.getCapability()'
    at net.mamoe.kjbb.ide.JvmBlockingBridgeIDEContainerContributor$registerModuleComponents$1.invoke(JvmBlockingBridgeIDEContainerContributor.kt:25)
    at net.mamoe.kjbb.ide.JvmBlockingBridgeIDEContainerContributor.registerModuleComponents(JvmBlockingBridgeIDEContainerContributor.kt:31)
    ...

See details in the attachment:
stacktrace.txt

Thank you for your report. Please check your Kotlin version.
This plugin only supports Kotlin 1.4.20, while the Kotlin plugin bundled in IJ 2020.3 is 1.4.10. You may update in Settings | Language and frameworks | Kotlin.
If IJ can't find version 1.4.20, switch to Kotlin EAP channel.

Solved by switching to EAP 1.4.x channel which installed 1.4.20. Thanks.


text:
Infinite loop when calling brew style --fix

Please always follow these steps:

[x] Confirmed this is a problem with running a brew command and not brew installing or the post-install behaviour of one or more formulae? If it's a formulae-specific problem please file this issue at https://github.com/Homebrew/homebrew-core/issues/new
[x] Ran brew update and retried your prior step?
[x] Ran brew doctor, fixed all issues and retried your prior step?
[x] Ran brew config and brew doctor and included their output with your issue?

brew config
HOMEBREW_VERSION: 1.2.5-14-g88b762f
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 88b762f78447842a6187e0fda49c9493f029cbef
Last commit: 22 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 5049eb5db103baccd7d3c92d49e0f2a9abfc6595
Core tap last commit: 17 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.0.0-p648
Clang: 8.1 build 802
Git: 2.13.3 => /usr/local/bin/git
Perl: /usr/local/bin/perl => /usr/local/Cellar/perl/5.26.0/bin/perl
Python: /usr/local/opt/python/libexec/bin/python => /usr/local/Cellar/python/2.7.13_1/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.4.1_1/bin/ruby
Java: 1.8.0_131, 1.8.0_121, 1.7.0_79
macOS: 10.12.6-x86_64
Xcode: 8.3.3
CLT: 8.3.2.0.1.1492020469
X11: N/A

brew doctor
Your system is ready to brew.

Please note we will close your issue without comment if you delete or do not fill out the issue checklist and provide ALL the requested information.
To help us debug your issue please explain:

What you were trying to do (and why)
What happened (include command output)
What you expected to happen
Step-by-step reproduction instructions (by running brew commands)

Or propose a feature:
Please replace this section with a detailed description of your proposed feature, the motivation for it, how it would be relevant to at least 90% of Homebrew users and alternatives considered.
Please note we will close this issue or ask you to create a pull-request if it's something we're not actively planning to work on.

I tried to fix style issues with a formula and recieved this error.
brew style ice --fix
== Formula/ice.rb ==
C: 36: 38: [Corrected] Only use parentheses for ternary expressions with complex conditions.
C: 36: 50: [Corrected] Don't use parentheses around a literal.
C: 36: 50: [Corrected] Use parentheses for ternary expressions with complex conditions.
C: 36: 51: [Corrected] Prefer double-quoted strings inside interpolations.
C: 36: 66: [Corrected] Prefer double-quoted strings inside interpolations.
C: 36: 94: [Corrected] Prefer double-quoted strings inside interpolations.
C: 38: 32: [Corrected] Only use parentheses for ternary expressions with complex conditions.
C: 38: 47: [Corrected] Don't use parentheses around a literal.
C: 38: 47: [Corrected] Use parentheses for ternary expressions with complex conditions.
C: 38: 48: [Corrected] Prefer double-quoted strings inside interpolations.
C: 38: 74: [Corrected] Prefer double-quoted strings inside interpolations.
C: 38:105: [Corrected] Prefer double-quoted strings inside interpolations.
C: 39:  7: [Corrected] Put a comma after the last item of a multiline array.
C: 39: 36: [Corrected] Only use parentheses for ternary expressions with complex conditions.
C: 39: 48: [Corrected] Don't use parentheses around a literal.
C: 39: 48: [Corrected] Use parentheses for ternary expressions with complex conditions.
C: 39: 49: [Corrected] Prefer double-quoted strings inside interpolations.
C: 39: 59: [Corrected] Prefer double-quoted strings inside interpolations.
C: 39: 80: [Corrected] Prefer double-quoted strings inside interpolations.

0 files inspected, 19 offenses detected, 19 offenses corrected
Infinite loop detected in /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/ice.rb.
/Users/joe/.gem/ruby/2.0.0/gems/rubocop-0.49.1/lib/rubocop/runner.rb:248:in `check_for_infinite_loop'
/Users/joe/.gem/ruby/2.0.0/gems/rubocop-0.49.1/lib/rubocop/runner.rb:231:in `block in iterate_until_no_changes'
/Users/joe/.gem/ruby/2.0.0/gems/rubocop-0.49.1/lib/rubocop/runner.rb:230:in `loop'
/Users/joe/.gem/ruby/2.0.0/gems/rubocop-0.49.1/lib/rubocop/runner.rb:230:in `iterate_until_no_changes'
/Users/joe/.gem/ruby/2.0.0/gems/rubocop-0.49.1/lib/rubocop/runner.rb:201:in `do_inspection_loop'
/Users/joe/.gem/ruby/2.0.0/gems/rubocop-0.49.1/lib/rubocop/runner.rb:111:in `block in file_offenses'
/Users/joe/.gem/ruby/2.0.0/gems/rubocop-0.49.1/lib/rubocop/runner.rb:121:in `file_offense_cache'
/Users/joe/.gem/ruby/2.0.0/gems/rubocop-0.49.1/lib/rubocop/runner.rb:109:in `file_offenses'
/Users/joe/.gem/ruby/2.0.0/gems/rubocop-0.49.1/lib/rubocop/runner.rb:100:in `process_file'
/Users/joe/.gem/ruby/2.0.0/gems/rubocop-0.49.1/lib/rubocop/runner.rb:78:in `block in each_inspected_file'
/Users/joe/.gem/ruby/2.0.0/gems/rubocop-0.49.1/lib/rubocop/runner.rb:75:in `each'
/Users/joe/.gem/ruby/2.0.0/gems/rubocop-0.49.1/lib/rubocop/runner.rb:75:in `reduce'
/Users/joe/.gem/ruby/2.0.0/gems/rubocop-0.49.1/lib/rubocop/runner.rb:75:in `each_inspected_file'
/Users/joe/.gem/ruby/2.0.0/gems/rubocop-0.49.1/lib/rubocop/runner.rb:67:in `inspect_files'
/Users/joe/.gem/ruby/2.0.0/gems/rubocop-0.49.1/lib/rubocop/runner.rb:39:in `run'
/Users/joe/.gem/ruby/2.0.0/gems/rubocop-0.49.1/lib/rubocop/cli.rb:82:in `execute_runner'
/Users/joe/.gem/ruby/2.0.0/gems/rubocop-0.49.1/lib/rubocop/cli.rb:28:in `run'
/Users/joe/.gem/ruby/2.0.0/gems/rubocop-0.49.1/bin/rubocop:13:in `block in <top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
/Users/joe/.gem/ruby/2.0.0/gems/rubocop-0.49.1/bin/rubocop:12:in `<top (required)>'
/Users/joe/.gem/ruby/2.0.0/bin/rubocop:23:in `load'
/Users/joe/.gem/ruby/2.0.0/bin/rubocop:23:in `<main>'

This isn't something we can fix as it's rubocop behaviour (and I don't think they can really fix it either). Sorry!

authors: MikeMcQuaid externl

repo: Homebrew/brew


text:
Output all caveats at the end of a build

After brew install or brew upgrade multiple formulae we should group the caveats for all the formulae and output them at the end of the build.

@apjanke I'm open to either approach. I think doing both might be more obvious for now as long as a single formula doesn't have them duplicated.

A single formula will not have them duplicated in this PR. It includes a check for "installed_count > 1".

@apjanke Yeh 👍 just reviewed this comment before the PR 😉

authors: MikeMcQuaid apjanke