text:
兄弟我这个tomcat启动都报错

org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [spring-conf/applicationContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [spring-conf/applicationContext.xml] cannot be opened because it does not exist

解决了，resources没有设置好

解决了，resources没有设置好

老哥，我好像遇到和你一样的问题，你是怎么解决的呢 :cry:
08-Dec-2019 15:45:32.913 SEVERE [RMI TCP Connection(2)-127.0.0.1] org.springframework.web.context.ContextLoader.initWebApplicationContext Context initialization failed
	org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [spring-conf/applicationContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [spring-conf/applicationContext.xml] cannot be opened because it does not exist
		at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:344)
		at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304)
		at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:188)
		at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:224)
		at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:195)
		at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)
		at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)
		at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:133)
		at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:636)
		at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:521)
		at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:400)
		at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:291)
		at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
		at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4770)
		at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5236)
		at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
		at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
		at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
		at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:744)
		at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1730)
		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
		at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
		at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
		at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
		at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:483)
		at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:432)
		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
		at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
		at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
		at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
		at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:468)
		at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
		at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
		at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
		at java.security.AccessController.doPrivileged(Native Method)
		at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1408)
		at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
		at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
		at sun.rmi.transport.Transport$1.run(Transport.java:200)
		at sun.rmi.transport.Transport$1.run(Transport.java:197)
		at java.security.AccessController.doPrivileged(Native Method)
		at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
		at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)
		at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834)
		at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)
		at java.security.AccessController.doPrivileged(Native Method)
		at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687)
		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
		at java.lang.Thread.run(Thread.java:748)
	Caused by: java.io.FileNotFoundException: class path resource [spring-conf/applicationContext.xml] cannot be opened because it does not exist
		at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:180)
		at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:330)
		... 59 more
08-Dec-2019 15:45:32.915 SEVERE [RMI TCP Connection(2)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
08-Dec-2019 15:45:32.920 SEVERE [RMI TCP Connection(2)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [/sms_war_exploded] startup failed due to previous errors
[2019-12-08 03:45:32,934] Artifact sms:war exploded: Error during artifact deployment. See server log for details.

Hi guy~ as you can see, the main exception infos as follows :
{ org.springframework.beans.factory.BeanDefinitionStoreExceptionhttp://org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [spring-conf/applicationContext.xmlhttp://applicationContext.xml];  }
This is common issues and the solution is simple that try changing the specified folder to the source folder.
Tip: i think that you should to learn how to use the programming tools of intellij-idea ...

From: ericclose notifications@github.com
Sent: Sunday, December 8, 2019 3:51:25 PM
To: YUbuntu0109/sms-ssm sms-ssm@noreply.github.com
Cc: 黄宇辉 Gentleman_0109@outlook.com; State change state_change@noreply.github.com
Subject: Re: [YUbuntu0109/sms-ssm] 兄弟我这个tomcat启动都报错 (#10)
解决了，resources没有设置好
老哥，我好像遇到和你一样的问题，你是怎么解决的呢 😢
08-Dec-2019 15:45:32.913 SEVERE [RMI TCP Connection(2)-127.0.0.1] org.springframework.web.context.ContextLoader.initWebApplicationContext Context initialization failed
    org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [spring-conf/applicationContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [spring-conf/applicationContext.xml] cannot be opened because it does not exist

            at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:344)

            at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304)

            at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:188)

            at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:224)

            at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:195)

            at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)

            at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)

            at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:133)

            at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:636)

            at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:521)

            at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:400)

            at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:291)

            at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)

            at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4770)

            at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5236)

            at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)

            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)

            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:744)

            at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1730)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

            at java.lang.reflect.Method.invoke(Method.java:498)

            at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)

            at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)

            at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)

            at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:483)

            at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:432)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

            at java.lang.reflect.Method.invoke(Method.java:498)

            at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)

            at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)

            at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)

            at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:468)

            at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)

            at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)

            at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)

            at java.security.AccessController.doPrivileged(Native Method)

            at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1408)

            at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

            at java.lang.reflect.Method.invoke(Method.java:498)

            at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)

            at sun.rmi.transport.Transport$1.run(Transport.java:200)

            at sun.rmi.transport.Transport$1.run(Transport.java:197)

            at java.security.AccessController.doPrivileged(Native Method)

            at sun.rmi.transport.Transport.serviceCall(Transport.java:196)

            at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)

            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834)

            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)

            at java.security.AccessController.doPrivileged(Native Method)

            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687)

            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

            at java.lang.Thread.run(Thread.java:748)

    Caused by: java.io.FileNotFoundException: class path resource [spring-conf/applicationContext.xml] cannot be opened because it does not exist

            at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:180)

            at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:330)

            ... 59 more

08-Dec-2019 15:45:32.915 SEVERE [RMI TCP Connection(2)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
08-Dec-2019 15:45:32.920 SEVERE [RMI TCP Connection(2)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [/sms_war_exploded] startup failed due to previous errors
[2019-12-08 03:45:32,934] Artifact sms:war exploded: Error during artifact deployment. See server log for details.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHubhttps://github.com/YUbuntu0109/sms-ssm/issues/10?email_source=notifications&email_token=AKL2TXGA5EUNNP77BJRJMODQXSRP3A5CNFSM4JAO6TOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGGYB7Y#issuecomment-562921727, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKL2TXABTESUT2OWH6HPZ3TQXSRP3ANCNFSM4JAO6TOA.


text:
ArrayWriter.h unused?

Context: PingQoS/Source/PingQoS/Public/PingQoSWorker.h
I had to remove #include "ArrayWriter.h" to get this to compile. Should it be removed generally? Did I do something wrong?

This header is not used, I deleted it in my project, but forgot to upload the changes to the GitHub.
Now I have updated the repository, everything should be fine.

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
Scroll the segmentio right to where contentoffset.x == 2*itemWidth

Report a bug
What did you do?
Scroll the segmentio right to where contentoffset.x == 2*itemWidth, keep dragging ,scroll the viewcontroller.scrollview ,shaplayer and indicator layer's location is wrong. There is some shrink when continue scroll segmentio at previous condition.

@blackchena Hi, thanks for your report! Can you give me more information about your issue?

If this issue is still happening please let us know.

authors: SerjOxo blackchena rnkyr

repo: Yalantis/Segmentio

license: mit

license_source: bigquery


text:
How can to set Listener for each items?

Hi
I have a question , that how can to set Listener for each drawer items , for example i want when i clicked on book icon it guide me to another activity.
Thank you...
Mahdi.Shabani@hotmail.com

Hi, you can use yalantis.com.sidemenu.util.ViewAnimator.ViewAnimatorListener for this purposes. It has  ScreenShotable onSwitch(Resourceble slideMenuItem, ScreenShotable screenShotable, int position) method, and you can go to some activity depending on position value.

first，会中文？哈哈

you ignore something important in the code,read it more careful

Hi！ This is a fancy frame .But I don't know how to use the file "debug.aar"? If I have not import "debug.aar" into the library,the frame will work?

package yalantis.com.sexocard.sample;
import android.content.DialogInterface;
import android.content.res.Configuration;
import android.graphics.Color;
import android.graphics.drawable.BitmapDrawable;
import android.os.Bundle;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.ActionBarDrawerToggle;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.view.animation.AccelerateInterpolator;
import android.widget.Button;
import android.widget.LinearLayout;
import java.util.ArrayList;
import java.util.List;
import io.codetail.animation.SupportAnimator;
import io.codetail.animation.ViewAnimationUtils;
import yalantis.com.sexocard.interfaces.Resourceble;
import yalantis.com.sexocard.interfaces.ScreenShotable;
import yalantis.com.sexocard.model.SlideMenuItem;
import yalantis.com.sexocard.sample.fragment.ContentFragment;
import yalantis.com.sexocard.util.ViewAnimator;
public class MainActivity extends AppCompatActivity implements ViewAnimator.ViewAnimatorListener {
private DrawerLayout drawerLayout;
private ActionBarDrawerToggle drawerToggle;
private List<SlideMenuItem> list = new ArrayList<>();
private ContentFragment contentFragment;
private ViewAnimator viewAnimator;
private int res = R.drawable.backmain;
private LinearLayout linearLayout;

Button button;

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);

contentFragment = ContentFragment.newInstance(R.drawable.backmain);
    getSupportFragmentManager().beginTransaction()
            .replace(R.id.content_frame, contentFragment)
            .commit();

    drawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
    drawerLayout.setScrimColor(Color.TRANSPARENT);
    linearLayout = (LinearLayout) findViewById(R.id.left_drawer);
    linearLayout.setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            drawerLayout.closeDrawers();
        }
    });

    setActionBar();
    createMenuList();
    viewAnimator = new ViewAnimator<>(this, list, contentFragment, drawerLayout, this);}

private void createMenuList() {
    SlideMenuItem menuItem0 = new SlideMenuItem(ContentFragment.CLOSE, R.drawable.icn_close);
    list.add(menuItem0);
    SlideMenuItem menuItem = new SlideMenuItem(ContentFragment.GAME, R.drawable.controller);
    list.add(menuItem);
    SlideMenuItem menuItem2 = new SlideMenuItem(ContentFragment.SETTINGS, R.drawable.settings);
    list.add(menuItem2);
    SlideMenuItem menuItem3 = new SlideMenuItem(ContentFragment.RULE, R.drawable.rule);
    list.add(menuItem3);
    SlideMenuItem menuItem4 = new SlideMenuItem(ContentFragment.SHARE, R.drawable.share);
    list.add(menuItem4);
    SlideMenuItem menuItem5 = new SlideMenuItem(ContentFragment.RATE, R.drawable.rate);
    list.add(menuItem5);
    SlideMenuItem menuItem6 = new SlideMenuItem(ContentFragment.ABOUT, R.drawable.about);
    list.add(menuItem6);
    SlideMenuItem menuItem7 = new SlideMenuItem(ContentFragment.RELEASE, R.drawable.ic_release);
    list.add(menuItem7);
}

private void setActionBar() {
    Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
    setSupportActionBar(toolbar);
    getSupportActionBar().setHomeButtonEnabled(true);
    getSupportActionBar().setDisplayHomeAsUpEnabled(true);
    drawerToggle = new ActionBarDrawerToggle(
            this,                  /* host Activity */
            drawerLayout,         /* DrawerLayout object */
            toolbar,  /* nav drawer icon to replace 'Up' caret */
            R.string.drawer_open,  /* "open drawer" description */
            R.string.drawer_close  /* "close drawer" description */
    ) {

        /** Called when a drawer has settled in a completely closed state. */
        public void onDrawerClosed(View view) {
            super.onDrawerClosed(view);
            linearLayout.removeAllViews();
            linearLayout.invalidate();
        }

        @Override
        public void onDrawerSlide(View drawerView, float slideOffset) {
            super.onDrawerSlide(drawerView, slideOffset);
            if (slideOffset > 0.6 && linearLayout.getChildCount() == 0)
                viewAnimator.showMenuContent();
        }

        /** Called when a drawer has settled in a completely open state. */
        public void onDrawerOpened(View drawerView) {
            super.onDrawerOpened(drawerView);
        }
    };
    drawerLayout.setDrawerListener(drawerToggle);
}

@Override
protected void onPostCreate(Bundle savedInstanceState) {
    super.onPostCreate(savedInstanceState);
    drawerToggle.syncState();
}

@Override
public void onConfigurationChanged(Configuration newConfig) {
    super.onConfigurationChanged(newConfig);
    drawerToggle.onConfigurationChanged(newConfig);
}

private ScreenShotable replaceFragment(ScreenShotable screenShotable, int topPosition) {
    this.res = this.res == R.drawable.backmain ? R.drawable.body : R.drawable.backmain;
    View view = findViewById(R.id.content_frame);
    int finalRadius = Math.max(view.getWidth(), view.getHeight());
    SupportAnimator animator = ViewAnimationUtils.createCircularReveal(view, 0, topPosition, 0, finalRadius);
    animator.setInterpolator(new AccelerateInterpolator());
    animator.setDuration(ViewAnimator.CIRCULAR_REVEAL_ANIMATION_DURATION);

    findViewById(R.id.content_overlay).setBackgroundDrawable(new BitmapDrawable(getResources(), screenShotable.getBitmap()));
    animator.start();
    ContentFragment contentFragment = ContentFragment.newInstance(this.res);
    getSupportFragmentManager().beginTransaction().replace(R.id.content_frame, contentFragment).commit();
    return contentFragment;
}

@Override
public ScreenShotable onSwitch(Resourceble slideMenuItem, ScreenShotable screenShotable, int position) {
    switch (slideMenuItem.getName()) {
        case ContentFragment.CLOSE:
            return screenShotable;
        default:
            return replaceFragment(screenShotable, position);
    }
}

@Override
public void disableHomeButton() {
    getSupportActionBar().setHomeButtonEnabled(false);

}

@Override
public void enableHomeButton() {
    getSupportActionBar().setHomeButtonEnabled(true);
    drawerLayout.closeDrawers();

}

@Override
public void addViewToContainer(View view) {
    linearLayout.addView(view);
}

@Override
public void onBackPressed() {
    //Pop up pour quitter l'application, j'en suis fier!!!
    AlertDialog.Builder builder = new AlertDialog.Builder(this);
    builder.setMessage("Are you sure you want to exit?")
            .setCancelable(false)
            .setPositiveButton("Yes", new DialogInterface.OnClickListener() {
                public void onClick(DialogInterface dialog, int id) {
                    MainActivity.this.finish();
                }
            })
            .setNegativeButton("No", new DialogInterface.OnClickListener() {
                public void onClick(DialogInterface dialog, int id) {
                    dialog.cancel();
                }
            });
    AlertDialog alert = builder.create();
    alert.show();

}

}

But in parameter "topPosition" the value is changing on different phone. i thing the position value is changing on depending on screen size.

=====================================
This is my fragment code - full project on github
https://github.com/mohamedebrahim96/Whos-in-Space
===========================================
you may also see the live version on google play
https://play.google.com/store/apps/details?id=com.vacuum.app.whoisinspace


text:
#600 Dependency Update I

Part of #600, updates several gems to the latest version:

mysql2
permanent_records
rake
rdoc
devise
cancancan
whenever
ffaker
ruby-progressbar

I can squash if necessary, or we can leave each update separate so that we can revert individual updates as necessary. Thoughts?

I think it's better to leave them un-squashed (they're really very unrelated commits, we just happen to be doing them all at once). I'll take a look at this later today!

Great, I'll hopefully get through the rest of the Gemfile by tonight as well, so I'll just keep pushing to this branch.

Holy cow I just realized that I had misspelled 'specified' in all of those commits. I'm going to fix that, hold on...

Ok, the entire Gemfile has versions specified and should all be at the latest version! The new version of rubocop introduced some new style failures which were corrected, and the latest version of shoulda_matchers deprecated the set_the_flash command in favor of set_flash, so I pre-emptively switched over to the new syntax. The builds are passing, clicking through the app seems to work fine, I'd say we're good to go!

Looks good to me! :shipit:

source: gharchive/pull-request

authors: mnquintana orenyk

repo: YaleSTC/reservations


text:
Added proper escape support + highlighting XML tags

(Using tests/input/Escaping.yarn)
Previously, syntax highlighting broke when trying to escape special characters. Matches now do a negative lookbehind to check if they're not being escaped.
Included support for XML/TextMeshPro-style angle brace tags. This isn't explicitly part of the syntax, but it's a nice QOL addition that targets the common use case of people writing in Yarn and using TextMeshPro.

I feel like the specific feature of highlighting TMP tags (<color>) should be handled in the language server via semantic highlighting, rather than in the syntax highlighter.
The reason for this is that TMP tags only exist in Unity, and the XML-style tags otherwise don't relate to the Yarn language itself. If we added syntax highlighting to the syntax definition, we'd be highlighting stuff in a way that may not apply to your project. However, if the highlighting is moved to the language server, we can do per-project highlighting that's responsive to the current project's needs.
(Completely agreed on handling highlighting escapes; what I'll do here is push changes to this PR that remove XML highlighting, add the corresponding feature to the language server, and then merge this PR.)
Thank you very much for the contribution!

I'd point out that XML-style tags do exist for the other YarnSpinner targets (Web -> HTML, Unreal -> UMG Rich Text Blocks), though I know YS is still in dev for them so whether XML-tags are supported or not may not (yet) be explicitly stated.
Would opting for project-detection syntax highlighting be a similar process for these other targets?

authors: desplesda heygleeson

repo: YarnSpinnerTool/VSCodeExtension


text:
docker run error and elasticsearch 7.7.0

15:13:58.664Z ERROR elastalert-server:
ProcessController:  Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
15:13:58.665Z ERROR elastalert-server:
ProcessController:      "main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/opt/elastalert/elastalert/elastalert.py", line 1929, in
sys.exit(main(sys.argv[1:]))
File "/opt/elastalert/elastalert/elastalert.py", line 1925, in main
15:13:58.665Z ERROR elastalert-server:
ProcessController:      client.start()
File "/opt/elastalert/elastalert/elastalert.py", line 1106, in start
15:13:58.665Z ERROR elastalert-server:
ProcessController:      self.run_all_rules()
File "/opt/elastalert/elastalert/elastalert.py", line 1158, in run_all_rules
15:13:58.666Z ERROR elastalert-server:
ProcessController:      self.send_pending_alerts()
File "/opt/elastalert/elastalert/elastalert.py", line 1534, in send_pending_alerts
15:13:58.666Z ERROR elastalert-server:
ProcessController:      pending_alerts = self.find_recent_pending_alerts(self.alert_time_limit)
15:13:58.666Z ERROR elastalert-server:
ProcessController:    File "/opt/elastalert/elastalert/elastalert.py", line 1526, in find_recent_pending_alerts
15:13:58.667Z ERROR elastalert-server:
ProcessController:      size=1000)
15:13:58.667Z ERROR elastalert-server:
ProcessController:    File "/usr/lib/python2.7/site-packages/elasticsearch-7.0.1-py2.7.egg/elasticsearch/client/utils.py", line 84, in _wrapped
return func(*args, params=params, **kwargs)
TypeError: search() got an unexpected keyword argument 'doc_type'
15:13:58.711Z ERROR elastalert-server: ProcessController:  ElastAlert exited with code 1
15:13:58.711Z  INFO elastalert-server: Server:  Stopping server
15:13:58.711Z  INFO elastalert-server: ProcessController:  ElastAlert is not running
15:13:58.711Z  INFO elastalert-server: Server:  Server stopped. Bye!

ElastAlert Server Docker Images

Docker image name
tag
ElastAlert
Elasticsearch 7 Support
Remarks

bitsensor/elastalert
2.0.1
0.1.39
×

bitsensor/elastalert
lastet
0.1.39
×

bitsensor/elastalert
3.0.0-beta.0
0.2.0b2
〇

bitsensor/elastalert
3.0.0-beta.1
0.2.0b2
〇

servercentral/elastalert
latest
0.2.1
〇
bitsensor/elastalert forkCustomizebugfixPython 3.6

daichi703n/elastalert
0.2.1-dev2
0.2.1
〇
servercentral/elastalert forkCustomizebugfixPython 3.6

praecoapp/elastalert-server
latest
0.2.4
〇
servercentral/elastalert forkCustomizebugfixLibrary UpdatePython 3.8

example
elasticsearch:7.7.0
kibana:7.7.0
praecoapp/praeco:latest
praecoapp/elastalert-server:latest
praeco/nginx_config/default.conf
https://github.com/johnsusek/praeco/blob/master/nginx_config/default.conf
praeco/nginx_config/nginx.conf
https://github.com/johnsusek/praeco/blob/master/nginx_config/nginx.conf
praeco/public/favicon.ico
https://github.com/johnsusek/praeco/blob/master/public/favicon.ico
praeco/public/index.html
https://github.com/johnsusek/praeco/blob/master/public/index.html
praeco/public/js/cron-ui.min.js
https://github.com/johnsusek/praeco/blob/master/public/js/cron-ui.min.js
/home/sano/dkwork2/es
|--Dockerfiles
|  |--Dockerfile.elastalert
|--docker-compose.yml
|--es
|  |--config
|  |  |--elasticsearch.yml
|  |--data
|--kibana
|  |--config
|  |  |--kibana.yml
|--praeco
|  |--bin
|  |  |--elastalert-start.sh
|  |  |--elastic_search_status.sh
|  |--config
|  |  |--api.config.json
|  |  |--elastalert.yaml
|  |--nginx_config
|  |  |--default.conf
|  |  |--nginx.conf
|  |--public
|  |  |--favicon.ico
|  |  |--index.html
|  |  |--js
|  |  |  |--cron-ui.min.js
|  |  |--praeco.config.json
|  |--rule_templates
|  |--rules

Dockerfiles/Dockerfile.elastalert
FROM praecoapp/elastalert-server:latest

USER root

RUN apk update && \
    apk add bash curl && \
    rm -rf /var/cache/apk/*

ADD praeco/bin/elastalert-start.sh /usr/local/bin/
ADD praeco/bin/elastic_search_status.sh /usr/local/bin/

RUN chmod +x /usr/local/bin/elastalert-start.sh
RUN chmod +x /usr/local/bin/elastic_search_status.sh

USER node

ENTRYPOINT ["/usr/local/bin/elastalert-start.sh"]

docker-compose.yml
version: "3.7"
services:
  elasticsearch:
    container_name: elasticsearch
    image: docker.elastic.co/elasticsearch/elasticsearch:7.7.0
    ports:
      - 9200:9200
      - 9300:9300
    environment:
      - ES_JAVA_OPTS=-Xms256m -Xmx512m
      - discovery.type=single-node
    restart: always
    volumes:
      - ./es/data:/usr/share/elasticsearch/data
      - ./es/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
    healthcheck:
        test: ["CMD-SHELL", "curl -f http://localhost:9200 || exit 1"]
        interval: 30s
        timeout: 15s
        retries: 3
        start_period: 180s

  kibana:
    container_name: kibana
    image: docker.elastic.co/kibana/kibana:7.7.0
    ports:
      - 5601:5601
    depends_on:
      - elasticsearch
    restart: always
    volumes:
      - ./kibana/config/kibana.yml:/usr/share/kibana/config/kibana.yml
    healthcheck:
        test: ["CMD-SHELL", "curl -f http://localhost:5601/api/status || exit 1"]
        interval: 30s
        timeout: 15s
        retries: 3
        start_period: 200s

  elastalert:
    container_name: elastalert
    build:
      context: .
      dockerfile: Dockerfiles/Dockerfile.elastalert
    image: elastalert-server:3.0.0
    ports:
      - 3030:3030
      - 3333:3333
    depends_on:
      - elasticsearch
    restart: always
    volumes:
      - ./praeco/config/elastalert.yaml:/opt/elastalert/config.yaml
      - ./praeco/config/api.config.json:/opt/elastalert-server/config/config.json
      - ./praeco/rules:/opt/elastalert/rules
      - ./praeco/rule_templates:/opt/elastalert/rule_templates
    healthcheck:
        test: ["CMD-SHELL", "curl -f http://localhost:3030 || exit 1"]
        interval: 30s
        timeout: 15s
        retries: 3
        start_period: 200s

  praeco:
    container_name: praeco
    image: praecoapp/praeco:latest
    ports:
      - 8080:8080
    depends_on:
      - elastalert
    restart: always
    volumes:
      - ./praeco/public/praeco.config.json:/var/www/html/praeco.config.json
      - ./praeco/nginx_config/nginx.conf:/etc/nginx/nginx.conf
      - ./praeco/nginx_config/default.conf:/etc/nginx/conf.d/default.conf
    healthcheck:
        test: ["CMD-SHELL", "curl -f http://localhost:8080 || exit 1"]
        interval: 30s
        timeout: 15s
        retries: 3
        start_period: 200s

es/config/elasticsearch.yml
cluster.name: "docker-cluster"
network.host: 0.0.0.0
discovery.zen.minimum_master_nodes: 1

kibana/config/kibana.yml
server.name: kibana
server.host: "0"
elasticsearch.hosts: http://elasticsearch:9200
xpack.monitoring.ui.container.elasticsearch.enabled: true

praeco/bin/elastalert-start.sh
#!/bin/bash

set -e

echo "Giving Elasticsearch at $ELASTICSEARCH_URL time to start..."

elastic_search_status.sh

echo "Starting ElastAlert!"
npm start

praeco/bin/elastic_search_status.sh
#!/bin/bash

set -e

if [ $# -gt 0 ]; then
  ES_URL="$1"
elif [[ -n $ELASTICSEARCH_URL ]]; then
  ES_URL="$ELASTICSEARCH_URL"
elif [[ -n $ES_HOST ]] && [[ -n $ES_PORT ]]; then
  ES_URL="http://$ES_HOST:$ES_PORT"
else
  ES_URL="http://elasticsearch:9200"
fi

until [[ "$(curl -fsSL "$ES_URL/_cat/health?h=status" | sed -r 's/^[[:space:]]+|[[:space:]]+$//g')" =~ ^(yellow|green)$ ]]; do
  # printf '+' >&2
  sleep 1
done

echo "Elasticsearch is up and healthy at "$ES_URL"" >&2

praeco/config/api.config.json
Default settings
{
  "appName": "elastalert-server",
  "port": 3030,
  "wsport": 3333,
  "elastalertPath": "/opt/elastalert",
  "verbose": false,
  "es_debug": false,
  "debug": false,
  "rulesPath": {
    "relative": true,
    "path": "/rules"
  },
  "templatesPath": {
    "relative": true,
    "path": "/rule_templates"
  },
  "es_host": "elasticsearch",
  "es_port": 9200,
  "es_username": "",
  "es_password": "",
  "es_ssl": false,
  "writeback_index": "praeco_elastalert_status"
}

praeco/config/elastalert.yaml
Default settings
# The elasticsearch hostname for metadata writeback
# Note that every rule can have its own elasticsearch host
es_host: elasticsearch

# The elasticsearch port
es_port: 9200

# This is the folder that contains the rule yaml files
# Any .yaml file will be loaded as a rule
rules_folder: rules

# How often ElastAlert will query elasticsearch
# The unit can be anything from weeks to seconds
run_every:
  seconds: 60

# ElastAlert will buffer results from the most recent
# period of time, in case some log sources are not in real time
buffer_time:
  minutes: 1

# Optional URL prefix for elasticsearch
#es_url_prefix: elasticsearch

# Connect with TLS to elasticsearch
#use_ssl: True

# Verify TLS certificates
#verify_certs: True

# GET request with body is the default option for Elasticsearch.
# If it fails for some reason, you can pass 'GET', 'POST' or 'source'.
# See http://elasticsearch-py.readthedocs.io/en/master/connection.html?highlight=send_get_body_as#transport
# for details
#es_send_get_body_as: GET

# Option basic-auth username and password for elasticsearch
#es_username: someusername
#es_password: somepassword

# The index on es_host which is used for metadata storage
# This can be a unmapped index, but it is recommended that you run
# elastalert-create-index to set a mapping
writeback_index: praeco_elastalert_status

# If an alert fails for some reason, ElastAlert will retry
# sending the alert until this time period has elapsed
alert_time_limit:
  days: 2

skip_invalid: True

profile: default

praeco/public/praeco.config.json
Default settings
{
  "appUrl": "http://127.0.0.1:8080",
  "errorLoggerUrl": "",
  "hidePreconfiguredFields": []
}

setting
cd /home/sano/dkwork2/es
chmod 777 es/data
chmod -R 777 praeco/rules praeco/rule_templates
docker-compose up -d

If it is resolved, please close it.

ping

@nsano-rururu if it works in 7.7, is there any particular reason why 7.0 is still listed as requirement on setup?
https://github.com/Yelp/elastalert/blob/1dc4f30f30d39a689f419ce19c7e2e4d67a50be3/requirements.txt#L8

I don't think it's a question to ask me. I'm not maintaining ElastAlert ...
I checked it for the time being. See below. Just look it up yourself.
https://github.com/Yelp/elastalert/pull/2593#issue-349637490

Fixes #497
It's currently copying run_every as part of the "default rule properties", which used to be a set of things that are not configurable by the rule yaml itself. This was never removed despite run_every becoming a per rule property.
Several tests were relying on this because they are mocking out the config loader, which also adds a default run_every, and not specifying one.
I added a test for specifically this feature, and confirmed that without the changes to elastalert.py, that new test fails.
As a bonus, I've included a fix for #2580, because I haven't created a separate PR for it yet. This allows nested query keys to work in top_count_keys.
Also note: I also added a pin for elasticsearch==7.0.0, because apparently 7.1.0 will NOT work with ES < 6.6 due to it not supported _source_include(s?). 7.0.0 does. Tests won't pass otherwise.

setup.py is "elasticsearch == 7.0.0". Out of sync. In fact, it is correct to set both to "elasticsearch == 7.0.0". I think the maintainer forgot when fixing it.

ElastAlert may or may not be actively adding or fixing new features

By the way, if "elasticsearch> = 7.0.0" is specified, the latest version above 7.0.0 should be installed because elasticsearch of the python library is executed at runtime. The current latest is 7.10.0
https://pypi.org/project/elasticsearch/

thanks! i'm looking at fixing CVEs opened in my docker image and 7.0.0 has this CVE which is only closed on versions >7.2.1. i'll make some tests to see if i can upgrade it.

The case of CVE-2020-7009 seems to be related to the version of Elasticsearch, but is it related to "elasticsearch-py" in the Python library?
Isn't it messed up?
elasticsearch-py/Changelog.rst
https://github.com/elastic/elasticsearch-py/blob/master/Changelog.rst

There is no version of 7.2.1 in elasticsearch-py. The library that connects to Elasticsearch and Elasticsearch itself are separate.

First of all, I should calm down and see the contents of the information properly to understand

@papioyue
Will you close it? .. Because an unrelated person is asking another question on this issue

Please close if resolved

yes发自我的华为手机-------- 原始邮件 --------发件人： Naoyuki Sano notifications@github.com日期： 2020年12月16日周三 清晨6:28收件人： Yelp/elastalert elastalert@noreply.github.com抄送： papioyue 16619765933@163.com, Mention mention@noreply.github.com主    题： Re: [Yelp/elastalert] docker run error and elasticsearch 7.7.0 (#2995)
Please close if resolved
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.

how can i use this by es 6.x.x ?

authors: nnovaes nsano-rururu oldthreefeng papioyue

repo: Yelp/elastalert


text:
Businesses found; however, some locations are nil.

I ran into a recent problem that did not exist a few days ago. When I make an API call, it does go through successfully and I do get a list of business; however, some "locations" / "coordinates" belonging to a few businesses are nil and it is causing my code to break. I am confused as to how is it possible to find a business without location / coordinate info. As I already mentioned this did not happen before. I would really appreciate if someone could point out as to why this is happening?

Hi @e-jam! Can you include an example response with nil fields?

Let's centralize all the debugging in #266!

@virgytam There are some example provided on issue #266. I will also post my own example response. https://github.com/Yelp/yelp-fusion/issues/266

authors: e-jam mittonk virgytam

repo: Yelp/yelp-ios


text:
[Feature] 主题设置似乎没有必要放在对话页面

主题设置似乎没有必要放在对话页面，可以放置本对话的模型设置、历史prompt数量设置、token消耗预览等功能。
感觉主题大部分时候都是开auto也不会去管，没必要在对话页面增加使用学习和视觉成本。
个人看法，供参考，作者加油！

建议你和他打一架：https://github.com/Yidadaa/ChatGPT-Next-Web/issues/46#issuecomment-1503050616

authors: RogerProSelf Yidadaa

repo: Yidadaa/ChatGPT-Next-Web


text:
[Feature] 可否提供关闭自动主题和长度压缩功能，有点费token

这个功能与现有的问题有关吗？
可否提供关闭自动主题和长度压缩功能，有点费token
其他信息
用gpt4接口，有时候首轮对话很长（尤其放代码给gpt看的时候），再自动主题价格就翻倍了。然后长度压缩也很耗费token，希望提供环境变量控制来关闭

或者自动主题和长度压缩可以单独指定模型，不要使用gpt-4


text:
Patch 25

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

Feel free to create a PR in OSS side.

authors: HyukjinKwon Yikun

repo: Yikun/spark


text:
support img and mix_msg

支持图片显示和图文消息(部分)的显示

@KoderX 我试了下我这边，发现com.tencent.mobileqq里面是空白的，没有图片。。老哥知道是什么原因吗

authors: KoderX Yiyiyimu


text:
Radius of zone loading

Hi,
is it possible to add a variable how many zones are loaded (radius)?
(If you have a better PC you can change it and have a greater view distance, else (maybe number 1) is like now)

Hello,
This system is for handcrafted zones, like for an FPS or 2D game.
What you are asking is for a chunk system like in Minecraft, this is a different system, and out of scope of this plugin.
So no, sorry.

I have thought about your loading system.
Is it possible to change the player area size ingame to change the view distance?

I have test it (I have scaled the ZoneTrigger area). It is working in your demo. With a .scale.x script.
If anyone wants to use diffrent view distances.
Gamemap

You are right, it should work lol. It has not been designed to be used this way, but it should actually work :)

Can you tell me what kind of game you are creating? Do you have zones of different sizes or terrain chunks like Minecraft?

I don't know the theme of my game yet (maybe airplane or open world RPG or both ;) ), but I thought to put related things in one zone (park with all objects, beach with all objects, etc.) So I have different zone sizes.
Later I want to add a multiplayer. Is this compatible with the zone loading?
#8 (Change the current camera or is it possible that both players load and unload zones at the same time?)

Yes, it possible, as the zone loading is mainly a client-side feature.
However you will need to synchronize the zones (objects and NPC) across clients that have it loaded, this part could be tricky.

Ok I will try this later with a server.
Thank you for this great addon!

thank you for using it :)

authors: Gamemap Yogoda

repo: Yogoda/ZoneLoadingSystem


text:
Add support to pass arguments to the script on start command

In order to support process.argv kotatsu must forward arguments to the script during start command. I would like to run:
kotatsu start --output ./dist src/index.js my-arg-1

and be able to read my-arg-1 using:
process.argv[2]

Hello @esnunes. I would use the standard technique of the -- at the end of the command to pass arguments. This is how a lot of unix tools (notably npm also) solve this issue:
kotatsu start --output ./dist src/index.js -- --my-arg1

Hi @Yomguithereal, that would be perfect.

This should be easy to add since I use yargs. Will do this tomorrow.

Done! By the way, would you know a easy way to unit test the library?

In case you are directly using yargs library I believe you don't have to test it. If you want to ensure the argument options are ok and yargs is not guessing it wrong I would suggest not to use yargs and use commander arguments.

No problems with yargs so far. I did not mean how to unit test the CLI argument but the whole tool.

Sorry, I got it wrong. I might not be the right person to support you on testing, although I do it sometimes, I'm not expert on it :(.

authors: Yomguithereal esnunes

repo: Yomguithereal/kotatsu


text:
[CLOSED] Importance Weighted Autoencoder

 Issue by jeff-regier
Friday Mar 30, 2018 at 17:00 GMT
Originally opened as https://github.com/YosefLab/scVI-dev/issues/8

https://arxiv.org/pdf/1509.00519.pdf

 Comment by jeff-regier
Thursday Apr 12, 2018 at 20:58 GMT

This code I wrote for another project may be useful for this issue:
    def iwae_loss(self, ys, k=10):
        tall_shape = [ys.size(0) * k] + list(ys.size()[1:])
        ys_tall = ys.unsqueeze(1).repeat(1, k, 1, 1).view(tall_shape)

        wide_shape = [ys.size(0), k]
        vae_losses = self.vae_losses(ys_tall).view(wide_shape)

        iwae_gains = logsumexp(-1 * vae_losses, dim=1) - np.log(k)
        return -1 * iwae_gains.sum()

Above ys are the data/observations and self.vae_losses is a method that returns a vector of vae losses, one for each observation in the minibatch. (VAE loss approximates -1 * E_q p(x, z, l) / q(z, l) ).
For some reason PyTorch doesn't have an logsumexp function yet, so I use
def logsumexp(inputs, dim=None, keepdim=False):
    return (inputs - f.log_softmax(inputs, dim=dim)).mean(dim, keepdim=keepdim)

repo: YosefLab/scVI


text:
Store uploaded files as-is instead of .json and .binary

Hi,
As per title, I want a simple upload app that I can give to wedding guests to upload pics and videos straight to a folder on my nas (app is via a docker instance, self-hosted), in which I can view the files directly instead of checking the .json and renaming the file from .binary into .jpg or whatever that's written in the .json file.

Me too...

Yes, me too :)

Hi,
A workaround is to use Advanced Renamer : https://www.advancedrenamer.com/forum_thread?forum_id=10804

Yes, it worked for me.
I'm not on my windows computer but I think the formula was the last one:
tag = '<File Content:0:305:jsonFilePath>';
string = app.parseTags(tag);
resultArray = string.match(/(name":")(.*?)(")/);
newFileName = resultArray[2];
return newFileName;

Glad to see that it's been a year and still no answer.
Also, I opened the advanced renamer thread. Oh well.

authors: C-Fu benoit-cty ebeng praul

repo: YouTransfer/YouTransfer


text:
🛑 UPCME is down

In c1f1ea9, UPCME (http://medwww.upc.edu.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: UPCME is back up in 5ce734b after 6 minutes.

repo: Yourrrrlove/upptime


text:
🛑 UPCME is down

In a1787c8, UPCME (http://medwww.upc.edu.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: UPCME is back up in 0d26f45 after 6 minutes.


text:
🛑 UPCME is down

In 9895eb4, UPCME (http://medwww.upc.edu.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: UPCME is back up in 0ebbc98 after 6 minutes.


text:
🛑 UPC is down

In 84608f4, UPC (https://www.upc.edu.cn/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: UPC is back up in baa07af after 20 minutes.


text:
Symfony3 compatibility

Please I need this bundle on Symfony3!!!

@molina feel free to make a pr.

@alexraileanu what can describe generally what changes should be done? I'm interested in doing this... Thanks

@sergiu-cc, I'm seeing that we've already got a 3.0 branch created but I do not know if it's stable or not and if everything was migrated from 2.x to 3.0. you could start by checking that code in reference with this https://github.com/symfony/symfony/blob/2.8/UPGRADE-3.0.md.
cheers.

Please make it Compatible with Symfony v.3

Hi @AAliAbidi we had created the 3.0 branch and we just improved the documentation about this.

We are depending on the friendsofsymfony/jsrouting-bundle. This bundle is right now not yet compatible with sf3 (See pull request https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/pull/254). We are investigating what to do.

authors: AAliAbidi alexraileanu jorisros molina sergiu-cc

repo: YouweGit/FileManager


text:
Can AST be used for audio representation towards solving the frame-level classification tasks?

Hi Yuan,
I am currently reading your wonderful papers about the AST and SSAST. I wonder if the AST can be used to extract frame-level representation of audio (like music) to solve the frame-level classification tasks? Thanks.

Hi there,

I wonder if the AST can be used to extract frame-level representation of audio ...

Yes, technically both AST and SSAST can, but some pretraining is needed for good performance. Since AST only support patch-level pretraining, please try SSAST, see this issue for how to do it.

(like music) to solve the frame-level classification tasks? Thanks.

I am not sure about this. From our clip-level classification results (shown in SSAST paper), for general audio, patch-level SSAST is better than frame-level SSAST. But I haven't test specifically for music, it might work as music also has discrete frequency patterns like speech.
-Yuan

Hi Yuan, and thanks for your reply and I am trying to finetune the SSAST on custom data and it works. I wonder if there are AST models pretrained on ImageNet? I just want to compare its performance with ViT pretrained on ImageNet on my own tasks.

@SylviaZiyaZhou can you please contact me on my email(muhammadwaseem.akram@santannapisa.it) or please share your email I wanted train the AST for music chord recognition. I needed a little bit guidance.

Hi Yuan,
Glad to help. I check another email address @.*** more often. If I do not reply immediately here, perhaps you can contact me via the ust email.
Bests,
Ziya

From: Waseem Randhawa @.>
Sent: Thursday, May 23, 2024 19:46
To: YuanGongND/ast @.>
Cc: SylviaZiyaZhou @.>; Mention @.>
Subject: Re: [YuanGongND/ast] Can AST be used for audio representation towards solving the frame-level classification tasks? (Issue #90)
@SylviaZiyaZhouhttps://github.com/SylviaZiyaZhou can you please contact me on my @.@.>) or please share your email I wanted train the AST for music chord recognition. I needed a little bit guidance.
—
Reply to this email directly, view it on GitHubhttps://github.com/YuanGongND/ast/issues/90#issuecomment-2126906656, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL4FHIH6FNPC75IIRYSIAHTZDXJHXAVCNFSM6AAAAAATJKA4XOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRWHEYDMNRVGY.
You are receiving this because you were mentioned.Message ID: @.***>

Sorry for the email mistakenly sent to you. Please just ignore it. Thanks!
Bests,
Ziya

From: Ziya Zhou @.>
Sent: Wednesday, May 29, 2024 18:50
To: YuanGongND/ast @.>
Subject: Re: [YuanGongND/ast] Can AST be used for audio representation towards solving the frame-level classification tasks? (Issue #90)
Hi Yuan,
Glad to help. I check another email address @.*** more often. If I do not reply immediately here, perhaps you can contact me via the ust email.
Bests,
Ziya

From: Waseem Randhawa @.>
Sent: Thursday, May 23, 2024 19:46
To: YuanGongND/ast @.>
Cc: SylviaZiyaZhou @.>; Mention @.>
Subject: Re: [YuanGongND/ast] Can AST be used for audio representation towards solving the frame-level classification tasks? (Issue #90)
@SylviaZiyaZhouhttps://github.com/SylviaZiyaZhou can you please contact me on my @.@.>) or please share your email I wanted train the AST for music chord recognition. I needed a little bit guidance.
—
Reply to this email directly, view it on GitHubhttps://github.com/YuanGongND/ast/issues/90#issuecomment-2126906656, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL4FHIH6FNPC75IIRYSIAHTZDXJHXAVCNFSM6AAAAAATJKA4XOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRWHEYDMNRVGY.
You are receiving this because you were mentioned.Message ID: @.***>

repo: YuanGongND/ast


text:
Trying to understand why Mongo crashes in CI

Problem

Description of why you made this PR

Solution

Trying to get the real error message from Mongo

PR Status

[ ] Code finished and ready to be reviewed/tested
[ ] The fix/enhancement were manually tested (if applicable)

Automatic tests
Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

!testme


text:
[IMPROVEMENT] Footer needs to be made responsive on mobile devices

Description
The Footer Component is currently not mobile responsive and it's causing a view overflow on the website
Screenshots
Footer

Additional information
No response

@YuriDevAT  I can't self-assign because I'm not a collaborator so you'll have to assign me

repo: YurisCodingClub/zero-minds


text:
🛑 ZEENKEY CDN is down

In bb33528, ZEENKEY CDN (https://zeenkeycdn.ga) was down:

HTTP code: 500
Response time: 355 ms

Resolved: ZEENKEY CDN is back up in b95293b.

repo: ZEENKEY/statuspage


text:
🛑 ZEENKEY BLOG is down

In e5455ac, ZEENKEY BLOG (https://blog.zeenkey.com) was down:

HTTP code: 500
Response time: 265 ms

Resolved: ZEENKEY BLOG is back up in 956fa04.


text:
🛑 ZEENKEY BLOG is down

In 19366aa, ZEENKEY BLOG (https://blog.zeenkey.com) was down:

HTTP code: 500
Response time: 187 ms

Resolved: ZEENKEY BLOG is back up in 4f8fdad.


text:
Feature/skeleton component

Types of Changes
Prerequisites
Please make sure you can check the following two boxes:

[x] I have read the CONTRIBUTING document
[x] My code follows the code style of this project

Contribution Type
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Bug fix (non-breaking change which fixes an issue, please reference the issue id)
[x] New feature (non-breaking change which adds functionality, make sure to open an associated issue first)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] My change requires a change to the documentation
[x] I have updated the documentation accordingly
[x] I have added tests to cover my changes
[x] All new and existing tests passed

Description
Yup precise-ui provides ProgressBar and Spinner components. Perfect for their specific cases. However, there are times where we load dynamic content and the page is simply mmmmm well blank. Kind of ugly actually 🤮... Not anymore!
Now there is an awesome 🦄new component in town!. It is flexible enough to adapt to many custom layouts. I can also see current components being refactored to use Skeletons until the actual data arrives, e.g.: .
Check out the following examples 😲😎🤙🚀:

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

authors: CLAassistant susox

repo: ZEISS/precise-ui


text:
running 'runbasic.sh' fails due to temporary makefile untagged

running runbasic.sh results in:
config.status: error: Something went wrong bootstrapping makefile fragments
    for automatic dependency tracking.  Try re-running configure with the
    '--disable-dependency-tracking' option to at least be able to build
    the package (albeit without support for automatic dependency tracking).
See `config.log' for more details
configure with dependency tracking disabled did not run correctly

If we look at the generated files, trace files are untagged and config.log, config.status, and Makefile are tagged 1047. These should all be tagged ISO8859-1
find . -name "*" | xargs chtag -p 2>/dev/null | grep -v 8859
- untagged    T=off ./basic/autom4te.cache/traces.0
- untagged    T=off ./basic/autom4te.cache/traces.1
- untagged    T=off ./basic/autom4te.cache/traces.2
t IBM-1047    T=on  ./basic/config.log
t IBM-1047    T=on  ./basic/config.status
t IBM-1047    T=on  ./basic/Makefile

@IgorTodorovskiIBM fyi...

digging into this some more led me over to 'm4'. Going through the m4 build process, I get to the following line:
cd lib/ && sed -e '/# am--include-marker/d' Makefile      | make -f - am--depfiles
being run from /fultonm/m4port/m4-1.4.19
The Makefile in question is in code page 1047, although changing it to code page ISO8859-1 didn't make a difference.
If I get rid of the pipe and write to a temporary file, everything works fine, so it appears that the IBM ported make is not correctly tagging the stream when it comes from stdin
@IgorTodorovskiIBM can you investigate?

this is now working with @IgorTodorovskiIBM 's fix and using the make from makeport. I also moved this from autoconfport to automakeport

authors: MikeFultonDev ZOSOpenTools

repo: ZOSOpenTools/autoconfport


text:
numerous issues on zopen upgrade

did a zopen upgrade and got these issues

fixed with new tooling

authors: MikeFultonDev lbdyck

repo: ZOSOpenTools/meta


text:
Schema Upgrade when prior dists of Zaius_Engage were installed.

zaius-magento-2/Setup/UpgradeSchema.php doesn't seem to recognize that an upgrade is necessary during the install process, perhaps thanks to -beta.1

Script added in https://github.com/ZaiusInc/zaius-magento-2/commit/384fdd5f0248ee06b46878e9f2aa4ef61063a3fe

Partially fixed in 1.0.0-beta.3 but we've uncovered an issue on M2.3; fix pending in develop.

Fix has been merged.

authors: cBrenDev travish


text:
Add more proptest strategies for sapling shielded data

In https://github.com/ZcashFoundation/zebra/pull/2020 we added support for sapling shielded data in V5 transactions and we added a good amount of test coverage for the new feature.
In the file zebra-chain/src/sapling/tests/prop.rs we modify the generated shielded data in several tests instead of having more strategies. There are TODO comments at each spot we are doing this:
// TODO: modify the strategy, rather than the shielded data

The solution is to generate different strategies that have what we need, for example instead of just shielded_v4 and shielded_v5 strategies we can have shielded_v4_no_spends, shielded_v4_no_outputs, shielded_v4_full, shielded_v4_empty, etc.
This is currently low priority.

Not needed right now.

repo: ZcashFoundation/zebra


text:
Use the AtLeastOne generic type to enforce field counts

Scheduling
This risk is acceptable for the stable release, but we need to fix it before we support lightwalletd.
Is your feature request related to a problem? Please describe.
Currently, Zebra has 3 copies of similar code, to make sure that there is at least one JoinSplit, and sapling Spend, and sapling Output in particular structs or enum variants.
We could combine this code into a single generic AtLeastOne struct.
Describe the solution you'd like
Stage 1:
Implement AtLeastOne:

[x] Add a generic AtLeastOne<T> wrapper for Vec<T>, with:

a TryFrom<Vec<T>, SerializationError> impl
a Deref<Target = Vec<T>> impl

this impl gets us impl Iterator and Deref<[T]> for free, and all the related traits (like DoubleEndedIterator)

ZcashSerialize and ZcashDeserialize impls
a first(&self) -> &T method, to simplify the block coinbase check
a split_first(&self) -> (&T, &[T]) method, to simplify working with non-coinbase transactions
derive Eq, PartialEq, Ord, PartialOrd, Clone, Debug, Serialize, Deserialize

Use AtLeastOne:

[x] Replace the first and rest fields in TransferData in #2021 with AtLeastOne (for both Spend and Output first_* and rest_*, but not maybe_outputs)

Stage 2:

[ ] Use AtLeastOne in JoinSplitData

we might need a generic serde helper here, or we can just serialise using the iterator or Vec

Stage 3:

[ ] Use AtLeastOne in Block.transactions
[ ] Remove any runtime checks that there is at least one transaction, they are now enforced during deserialisation

Stage 4:

[ ] Use AtLeastOne in external Message variants GetBlocks and GetHeaders

other variants with arrays allow zero entries 😞

[ ] Remove any runtime checks, they are now enforced during deserialisation

Stage 5:

[ ] Use AtLeastOne for all arrays in internal Requests and Responses

drop invalid Messages during conversion, rather than errorring - they are valid externally, but we don't want to have to special-case them internally
check that response processing code doesn't depend on any messages we've dropped

[ ] Remove any runtime checks, they are now enforced during deserialisation

Describe alternatives you've considered
We could keep things as they are, and continue to use duplicate code and runtime checks across the codebase.
Additional context
Stage 1 depends on #2021 and stage 2 has tricky serde bounds. So we might actually want to do Stage 3 first.
We might want to do Stage 1 as part of #2021, so we can simplify the design and code review.
This cleanup task will probably be completed over a few sprints. Stages 4 and 5 are low priority, because network messages aren't part of the consensus rules.

This is a useful validation, but it's not a high priority right now.


text:
network: don't cancel heartbeat requests

The cancellation implementation changes made to the connection state machine
mean that if a response oneshot is dropped, the connection will avoid
cancelling the request.  So the heartbeat task does have to wait on the response.

Rebased after the cargo fmt fixes in #1427


text:
2 Mb -> 9 Mb

1.31.0 became so fat! Could you please make it weight 2 Mb back again? It was so nice that it was very light before.

The release contains two types of packages: dist.zip (https://github.com/Zephyruso/zashboard/releases/latest/download/dist.zip) and dist-cdn-fonts.zip (https://github.com/Zephyruso/zashboard/releases/latest/download/dist-cdn-fonts.zip). The dist-cdn-fonts.zip package is more friendly to devices with limited storage space, while the dist.zip package provides a better font loading experience.

Oh, thank you for clearing this out to me! Appreciate your work! Awesome panel!

authors: Zephyruso fildunsky

repo: Zephyruso/zashboard


text:
Font Not Visible

As we can see below in this page ,We are not able to see the Name ,yt name, twitter name because it is also in black colour while in dark mode.
It should be in white color font.

fix: Assigning issue #29 - Fix visibility issue of Name, YouTube name, and Twitter name in dark mode

@kumarankit999 It's not on the resource gallery, This ss is of my personal site.

repo: ZeroOctave/resource-gallery


text:
fix(train): env var limit workaround

Fixes #512

Could we find the path by looking relative to the path of the current file? I think that might be able to just find where it's installed fully automatically. Something like what we do here: https://github.com/ZettaAI/zetta_utils/blob/c721d362ab42bb5cc21fe2be16b63bb19a3b4107/tests/unit/layer/volumetric/precomputed/test_precomputed.py#L14

covered in #553

authors: akhileshh supersergiy


text:
perf: update rn button component

update rn button component

Coverage remained the same at 72.056% when pulling 0c8c7dffbbc80eab122205eba85aece5fb3243f0 on Thyiad:dev into 8794b676e2992d89ce4e94b4dc52a2ad3703cc06 on ZhonganTechENG:dev.

很多其他组件用了button，有些还不方便改，该怎么处理比较好？
现在报错的都是其他引用到button的组件。

已将其他引用到的组件修改

ghost模式只支持了primary主题，其他主题没支持。
2.变量button_font_size_sm修改为button_font_size_small，swipe-action组件也用到这个变量，没有一起改。
3.根据设计稿，button_height_small的值应为28。
4.另外我在dev分支增加了button active状态的背景色设置，也请使用这些设置一并修改。

authors: JeromeLin Thyiad coveralls

repo: ZhonganTechENG/zarm


text:
🛑 zinglix.xyz is down

In 05b3bea, zinglix.xyz (https://zinglix.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: zinglix.xyz is back up in 2e2b601.

repo: ZingLix/blog-mirror-uptime


text:
Check Entrust 'isDeferred' method does not exist

I am trying to install Entrust but I'm receiving this error:
xx@yy:/var/www/html/my_app$php artisan vendor:publish
local.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Call to undefined method Zizaco\Entrust\EntrustFacade::isDeferred()' in /var/www/html/fretesja/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:119

Just need to put 'Entrust' => 'Zizaco\Entrust\EntrustFacade' in the config/app.php aliases.

probably all these non existing methods are caused because you are lassing collections instead of models to the entrust functions. Example:
        $adminRole = Role::where('name', 'admin')->get(); // THIS WILL NOT WORK

        $adminRole = Role::where('name', 'admin')->first(); // THIS WORKS

        $user->attachRole($adminRole);

authors: Mahmoudz psybox

repo: Zizaco/entrust


text:
Quest helper tries to set config values before the user is logged in, leads to warning spam

not sure what the consequences are of this but here are the logs:
questhelper.log

Can you give the steps on how to recreate this?

this happens every time I launch from IntelliJ with plugin hub enabled. I got the full logs by logging an exception here:

looks like it will be resolved by https://github.com/Zoinkwiz/quest-helper/commit/21edb557f9008df2c732a4643c04256f4bd2ecdc

authors: MosheBenZacharia sufferfish

repo: Zoinkwiz/quest-helper


text:
🛑 Submit Dental Externship Form is down

In 66320a7, Submit Dental Externship Form (https://zql.zollege.com/lti/submit-dental-externship-form?email=r.watkins%40zollege.com&displayName=Rob+Watkins&userId=16&courseName=Robs+Test+JS411&courseStart=2020-12-28T23%3A35%3A00Z&courseId=7) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Submit Dental Externship Form is back up in 4a692c3.

repo: Zollege/status


text:
🛑 College Station Medical Assistant School is down

In ffa2677, College Station Medical Assistant School (https://collegestationmedicalassistant.com/) was down:

HTTP code: 403
Response time: 102 ms

Resolved: College Station Medical Assistant School is back up in 3a8aebf.


text:
Book sections have book title in citekey

My cite key includes "journal:nopunct", and book sections are getting what are sometimes very long book titles added included. I was surprised by this, since I deliberately don't include book titles and they don't show up for books. It looks like this happens because item.publicationTitle gets set to the value of the book title for book sections.
Any way around this, either by not making this equivalence (if I have understood it correctly), or by there being some other way to include titles of journals, but not books?

Can you submit a sample reference by right-clicking it and selecting "submit BBT error"?

@nickbart1980 do you know which reference types are supposed to get journal abbreviations?

never mind @nickbart1980, I found it. @Jmuccigr, I'd still dearly love to get a sample, I like to have a testcase for each change to prevent future regressions.

I have a change lined up that most likely fixes the problem, but a testcase to make sure would help. Hint hint, nudge nudge and all.

Error report BP5EPZSC.

Thank you -- tests are running.

Based on the behavior of the latest version, should I assume that this is "behavior as expected; do not fix"?

No, I fixed the problem and cut a new release. I don't ever close an issue
as wontfix without explanation; that would be highly disrespectful of the
effort you took to submit the issue. Close without comment always means
"implemented, release scheduled". You should be able to upgrade right now.
You will need to right click and clear the BibTeX key; I don't dare just
regenerate all keys since it might lead to breakage in existing articles.

Thanks. Got the new version and it works.
Honestly I'm tempted to just use author-year-number on everything to avoid worrying about journal abbreviations at all.

Ah right, I'd forgotten that: if you change the pattern it will regenerate all keys you haven't pinned, so just adding a character, closing prefs (or just unfocussing the pattern field really) and removing it will change all keys that are dynamic.

authors: Jmuccigr retorquere

repo: ZotPlus/zotero-better-bibtex

license: unlicense


text:
File field format customization

This zotero forum discussion seems to suggest that there is an option in better bibtex to alter the file field format to make it compatible with ebib :
https://forums.zotero.org/discussion/38209/problem-with-export-to-bibtex/
which would be convenient for me (althouth I realize this is not a priority and is more of an ebib bug).
I cannot find this option. Has it been deleted in a later version ? if not, where can I find it ?

It's in the "Import/export" pane, a checkbox with the text "Export attachments without metadata"

Excellent, thank you ! It works.
Le 26/12/2015 à 10:39, retorquere a écrit :

It's in the "Import/export" pane, a checkbox with the text "Export attachments without metadata"

Reply to this email directly or view it on GitHub:
https://github.com/ZotPlus/zotero-better-bibtex/issues/423#issuecomment-167303619

It wasn't too clear. I've added an explanation of the preferences at https://zotplus.github.io/better-bibtex/configuration.html

authors: Dabsen retorquere


text:
/userHistory/{user_id} throws an internal server error

Cause: TypeError: get_user_history() missing 1 required positional argument: 'take'
Remedy: Add the missing include_alliance parameter.

Closed with v1.3.0

repo: Zukunftsmusik/pss-fleet-data-api


text:
Installation on Python 3.12 (pre-release) fails

On Python 3.12.0rc3:
PS E:\SoS-TAS> pip install PyGLM
Collecting PyGLM
  Using cached PyGLM-2.7.0.tar.gz (4.6 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [22 lines of output]
      Traceback (most recent call last):
        File "C:\Users\shen\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
          main()
        File "C:\Users\shen\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\shen\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\shen\AppData\Local\Temp\pip-build-env-x4jbfb40\overlay\Lib\site-packages\setuptools\build_meta.py", line 355, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\shen\AppData\Local\Temp\pip-build-env-x4jbfb40\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in _get_build_requires
          self.run_setup()
        File "C:\Users\shen\AppData\Local\Temp\pip-build-env-x4jbfb40\overlay\Lib\site-packages\setuptools\build_meta.py", line 507, in run_setup
          super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
        File "C:\Users\shen\AppData\Local\Temp\pip-build-env-x4jbfb40\overlay\Lib\site-packages\setuptools\build_meta.py", line 341, in run_setup
          exec(code, locals())
        File "<string>", line 33, in <module>
        File "C:\Users\shen\AppData\Local\Programs\Python\Python312\Lib\shutil.py", line 448, in copy2
          _winapi.CopyFile2(src_, dst_, flags)
      FileNotFoundError: [WinError 3] The system cannot find the path specified
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

The source distribution is missing files, see https://github.com/Zuzu-Typ/PyGLM/pull/219

Fixed by #219 (in release 2.7.1)

authors: Zuzu-Typ shenef szabolcsdombi

repo: Zuzu-Typ/PyGLM

license: Zlib


text:
Index out of range

System Info / 系統信息
cuda118, diffusers==0.32.0.dev0
Information / 问题信息

[ ] The official example scripts / 官方的示例脚本
[X] My own modified scripts / 我自己修改的脚本和任务

Reproduction / 复现过程
When the Dataloader dispatches data, it exceeds the index range of the CSV file, even though the len(Dataloader) matches the dataset’s length. Could there be a bug in the custom BucketSampler implementation?
Expected behavior / 期待表现
Check the code of BucketSampler.

Cc: @a-r-r-o-w
@suimuc could you also share your training command?

authors: sayakpaul suimuc

repo: a-r-r-o-w/finetrainers


text:
avformat_open_input 返回错误码 -13 Permission denied

c层中，AnimatedFileDrawable 的 getVideoInfo方法在调用 avformat_open_input() 时，返回 -13。
不知道是哪里的兼容问题，出问题的机型： Android 10，一加 5T， APP 已经给了存储权限。
同样的代码，另一台Android 13 的一加 8T，没问题。

需要加上：android:requestLegacyExternalStorage="true"


text:
Does it make sense to mix srcset with data-srcset?

Because we async load javascript, our hero image, which is currently using data-srcset with LQIP, will flash a bit as lazysizes kicks in and load the hi-res image. This happens even when both images are in browser cache.
Given srcset and w descriptor are getting wider support, I am thinking whether I should add both srcset and data-srcset to my hero image. So that a browser with native srcset support won't see the flash but instead load the hi-res image from cache.
Is this supported by lazysizes? I am basically using it as a polyfill (for this instance, my other image still default to using only data-srcset)

Yes, you should be able to do this. But this means, that you can't use features, that need to alter the DOM before the source selection is done by the browser (for example: the data-sizes="auto" or data-optimumx features).
Also as I said in the other issue: If you have one crucial image (always above the fold), it absolutely makes sense to load it with the preparser and not with lazyload.
In case the LQIP source is more distracting than useful, you should also consider to remove it entirely.

Thanks, actually I forget to add the progressive plugin (my images progressive JPEG), with that plugin the flash is a lot less noticeable.

it absolutely makes sense to load it with the preparser and not with lazyload.

For prosperity, may I ask what do you mean by preparser in this context?

For prosperity, may I ask what do you mean by preparser in this context?

In general use src/srcset instead of data-*.
For what I mean:
http://calendar.perfplanet.com/2013/big-bad-preloader/

Got it, cheers!

authors: aFarkas bitinn

repo: aFarkas/lazysizes


text:
Feature Request: alt text for bgset plugin

https://github.com/aFarkas/lazysizes/blob/gh-pages/plugins/bgset/ls.bgset.js#L145
Would be great to check for a data-alt="My Alt Text" or similar on the element and add that text instead of defaulting to empty.

The bgset plugin is the plugin that you need if you want responsive and lazyloading for background images. If you want an image with an alt attribute. Than use the img element directly there is no one stopping you.

@aFarkas I think the issue @MikeMcChillin was hoping to solve is that this plugin generates a (hidden) picture element and since it is missing an alt attribute there is some penalization in tools that are measuring accessibility (maybe I'm wrong on all of that, but that's why I'm here anyway 😄)

To be honest I should add a role="presentation" to make clear that this is a pure presentational and no tool should punish you for that.
My question: What is your use case? Why do you use bgset instead of the picture element?

Yes @aFarkas that would be better indeed! I'm setting a background image on a modal overlay, the image is purely ornamental..

Is there a way to define the ALT-Tag used for the placeholder  Tag here @aFarkas ?
https://github.com/aFarkas/lazysizes/blob/499f0f834f8421d0a1d4754c1863f37eb8ebfe36/plugins/bgset/ls.bgset.js#L158
Noone likes empty alt Tags for Images in the DOM - even if they are hidden.

For anyone still needing a fix/workaround for this: I wrote a simple script that checks for data-bgset-alt and adds it to the images within the data-bgset element.
const lazySizesAlt = document.querySelectorAll('[data-bgset][data-bgset-alt]');

lazySizesAlt.forEach((e) => {
  const img = e.querySelector('.lazyautosizes');
  const alt = e.getAttribute('data-bgset-alt');
  img.setAttribute('alt', alt);
});

hi there @aFarkas , any updates on the above context? thx!

I found a temporal solution for those using this library for background images:
I achieved this by editing the lazysizes.min.js (I don't have access to the unminified library).
1 - Search for 'alt'. You should get only 1 result, where alt is set to ""
2 - Replace the "" with
t.target.getAttribute([ALT_ATTRIBUTE])!==undefined&&t.target.getAttribute([ALT_ATTRIBUTE])!==''?t.target.getAttribute([ALT_ATTRIBUTE]):''
Note that [ALT_ATTRIBUTE] has to be replaced with the name of the attribute from the node that is getting the image info from. In my case it is "aria-label".
I hope it works for you guys :)

authors: MikeMcChillin aFarkas afwebmaster ccamaralbr mikesnoeren paavo rickydazla


text:
Date picker: no way to disable mouse wheel.

Using a native HTML input date, we can disable mousewheel over it. This is mainly used to avoid users to focus the input, choose a date, scroll down to continue, and notice they've changed the date unintentionally.
Example with jQuery and jQuery-mousewheel:
<input type="date">
<script type="text/javascript">
$(function() {
    $('input[type="date"]').on('mousewheel', function(event) {
        event.preventDefault();
    });
});
</script>

Unfortunately, webshim doesn't reproduce this behavior, or doesn't seems to provide any way to do it.
A good way to test it is to compare Chrome/Firefox behavior

You can disable this with the following option:
webshim.setOptions("forms-ext", {
	"widgets": {
		noSpinbtn: true
	}
});

Ok, I misunderstood this option. Thanks for your quick feedback!

authors: aFarkas zessx

repo: aFarkas/webshim


text:
Empty bubble on fieldset in Chrome

Grouped inputs that are required within a fieldset cause an empty bubble message to fire on submit.
I've created an example on JSFiddle to demonstrate the behaviour on submit: http://jsfiddle.net/dutchcelt/szpwt5km/6/
Setting replaceValidationUI to false makes the problem go away.

This is fixed in master. I will do an release very soon. For more information:
https://github.com/aFarkas/webshim/issues/527

Ah, excellent! My apologies for not spotting the other issues.

Confirmed. Fixed in 1.15.8 release.

thx

Please can you tell me what needs to be done , to fix this issue .Do we need to upgrade both webshims and modernizer ? Or any other

We've only needed to update to version 1.15.8. We have an old version of Modernizr and that doesn't effect the fix.

authors: aFarkas dutchcelt patil-srikanth


text:
Refactor FSD entities

Closes #101
This PR replaces #117 it was easier to rewrite than to fix conflicting brances, restore the changes and fix them again

@illright take a look at how Jest is fixed:

I've added the babel-vite plugins, so the import.meta.env is changed to process.env
I've added dotenv package to parse .env files for Jest since Vite doesn't do it for us now
I've added isomorphic-fetch, so the fetch function is recognized in node environment

Locally, it works, but fails in CI because of the way we've added the variables. Take a look at the previous CI code:
with:
  supabaseUrl: ${{ secrets.VITE_SUPABASE_URL }}
  supabaseKey: ${{ secrets.VITE_SUPABASE_KEY }}

As GitHub documentation states, supabaseUrl is transformed to INPUT_SUPABASEURL which is not what we want in the app. That is why I have changed the code to:
env:
  VITE_SUPABASE_URL: ${{ secrets.VITE_SUPABASE_URL }}
  VITE_SUPABASE_KEY: ${{ secrets.VITE_SUPABASE_KEY }}

This cannot be tested before it gets to the main branch. Therefore, I believe my job is done here:)

Done 👍

repo: aabounegm/cast


text:
Enhancement | Recommended blogs | Backend

Create a new backend route for recommended blogs
GET post/recommended
return top 5 tags with maximum likes.

can I work on this Issue?
We can fetch most liked post from clap table by grouping by postId and counting userId related to postId and return 5 postIds with maximum userIds.

Sure, sounds good. assigning it to you

authors: aadeshkulkarni shubbhhh

repo: aadeshkulkarni/figuringout


text:
🛑 SERVICOS VUE is down

In 456aa62, SERVICOS VUE (https://wsaafyvue.yucatan.gob.mx/vue/services/consultar/recibos) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SERVICOS VUE is back up in 1c54ac7 after 10 minutes.

repo: aafyyuc/upptime


text:
🛑 KIOSKOS - HOME is down

In fca3aa8, KIOSKOS - HOME (https://recaudacion.yucatan.gob.mx) was down:

HTTP code: 0
Response time: 0 ms

Resolved: KIOSKOS - HOME is back up in a6cc84b.


text:
Keyboard layout not saved

Describe the bug
When I change the keyboard layout to "QWERTZ" (French Switzerland in my case) and I close the configuration windows, when I open it again, the configuration is back to "US"
To Reproduce
Steps to reproduce the behavior:

Go to Configuration
Change layout to QWERTZ
Close the windows
Open Configuration again

Expected behavior
QWERTZ must be savd
Desktop (please complete the following information):

macOS version: 10.14.6

thanks for reporting the issue

authors: aahung sachazufferey

repo: aahung/Unshaky


text:
Would Json-lib keep in maintaining?

Hi Andres @aalmiray , json-lib has been widely used in the past few years, although there are a lot of excellent JSON parse software available for developers to choose from, there are still many people who will continue to choose json-lib. In order to make json-lib users have better support, would you consider adding a collaborator to help you manage the community, handle some issues, fix bugs, even add some new features?

@aalmiray

I'm surprised developers still use Json-lib given that there are newer, faster alternatives such as Jackson, Gson, and fast-json. This being said, the development branch contains updates for the upcoming 3.x release which is only missing upgrades to the documentation.
Stay tuned for a release soon.

Thank you for maintaining this software still. A new release will make sense!

Release 3.0.0 has been posted.

authors: Alanscut aalmiray

repo: aalmiray/json-lib


text:
Unable to add any acount

Hey guys i have a problem that the moment i add an account to Vessel it just loads and does nothing.
I have tripple checked all information i am inputting and it is correct.   But it keeps loading without an end. Anyone have this problem also ?

Yeah with steemviz as RPC node it works for me indeed.  Many thanks

repo: aaroncox/vessel


text:
Bit Masking

I will provide a detailed guide, approach, and code piece to solve questions on bit masking.
It will include the following questions:

Counting Bits
Reverse Bits
Check if kth bit is set or not
Find the only odd occurrence of an element in the array
Swap odd and even bits
Maximum AND value

and related problems for better categorization and visualization.
Please assign this issue to me under GSSOC 2023!

I'm a contributor for GSSoC '23, I want to work on this issue. Please assign me.


text:
Errors with python3.7

Hi Aymeric,
I may be missing something, but it seems to me that the code is currently not yet compatible with python 3.7 (tested with top of master)
The best way to reproduce is the first test example of the doc:
import asyncio
import datetime
import random
import websockets

async def time(websocket, path):
    while True:
        now = datetime.datetime.utcnow().isoformat() + 'Z'
        await websocket.send(now)
        await asyncio.sleep(random.random() * 3)

start_server = websockets.serve(time, '127.0.0.1', 5678)
asyncio.get_event_loop().run_until_complete(start_server)
asyncio.get_event_loop().run_forever()

This raises this exception:
TypeError: cannot 'yield from' a coroutine object in a non-coroutine generator

I've seen you are doing some changes at the moment for python3.7, I will be happy to validate further changes. Did not catch it earlier because we were stuck with the pyyaml lib even earlier in our deployment... They are pushing deprecation very strongly!

I'm only able to reproduce this with 5.0.1 and not the top of master.
Make sure you're up to date?

No problem.
I agree, there should be a new release for 3.7 support now that 3.7.0 has been released.

Hi, any eta when a new release will be pushed?

Closing as a duplicate of #405.
@battlemidget No ETA on a release but I'll try to take a look at pending issues over the week-end.

Well, it was a nice sunny weekend, so no progress here.

It's been over a week, any idea on when a new release will be published?

#435 suggests that master isn't compatible with Python 3.7 yet.

(which is a release blocker)

#437 is another release blocker.

Version 6.0 adds support for Python 3.7 and is now available on PyPI: https://pypi.org/project/websockets/6.0/#files

authors: Harmon758 RouquinBlanc aaugustin battlemidget

repo: aaugustin/websockets


text:
Consider accepting 4107 bytes for request maximum accepted line size

The code responsible for parsing a line from the request raises SecurityError("line too long") when the size is greater than MAX_LINE = 4096
Please consider increasing MAX_LINE to 4107 bytes.
Rationale
While the HTTP protocol does not specify limits for request-line size, header size or cookie size, server implementations do (for security reasons). User agents also implement limits for the maximum size of a request-line, header, cookie, ...
So how to choose a reasonable limit for the maximum size a server implementation could enforce when parsing a requests ? We must consider what maximum sizes are enforced by popular recent user agents (let say Firefox and Chrome).
It is safe to assume that the most frequently oversized line in a HTTP request is the one for the cookie header, since website developers tend to abuse this storage facility. On the browsercookielimits website, we can discover that cookie value limits for popular browsers are :

Chrome : 4096 bytes
Firefox : 4097 bytes

If we want to accept any requests made from those browsers even when they include a cookie reaching the user agent limit, we on the server side must consider accepting a request line of 4107 bytes :
cookie: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\r\n
\__ 8 _/\___________ 4097 ____________/\_2/    = 4107

This is interesting. A couple thoughts:

I think we need a bit more space because we could receive set-cookie: ... in a response; that's 4 more bytes (set-).
I'd rather jump to 5000 or 8192 than match an implementation detail that isn't even consistent across browsers.

Sure, and why not allowing to customize this value with an environment variable ? When I was first hit by this limitation, I was a bit disappointed to not be able to increase that limit. I ended up removing the cookie header in Varnish en front of my app (since my websocket endpoint does not care about cookies) and this feels hacky. I use gunicorn+uvicorn and uvicorn depends on this project for websockets.
I also took a look at Hypercorn, and their websocket implementation does not seem to apply limits at all on headers size when accepting connections. However they have a (configurable) limit for websocket frame size. See their Denial Of Service mitigations document.

You can monkey-patch the constant if you really feel strongly about this.
I think the correct limit is:

Set-Cookie:  = 12 bytes
Max cookie size = 4096 bytes (that's what the RFC requires, and while Firefox supports one more byte, Chrome doesn't)
\r\n = 2 bytes

Total = 4110 bytes

authors: aaugustin thomasleveil


text:
🛑 BriefPoint is down

In de37b04, BriefPoint (https://www.briefpoint.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BriefPoint is back up in 60f4bcb after 1 hour, 13 minutes.

repo: abaertsoen/upptime


text:
🛑 BriefPoint is down

In 290968c, BriefPoint (https://www.briefpoint.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BriefPoint is back up in f53675e.


text:
🛑 BriefPoint is down

In 15c8efc, BriefPoint (https://www.briefpoint.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BriefPoint is back up in 29dc345.


text:
Support Windows in CI process

Currently, CI process is done only for Linux and MacOS using Travis. Unfortunately, Travis does not support Windows, so we will use Appveyor as it supports only Windows.

Resolved by #41

authors: abahmed mohamed-moanis

repo: abahmed/Deer


text:
abapGit on ABAP development Toolkit

Hi,
after the SSL certificate change I could not reach the GitHub Repositories due to this error:
HTTP error 421 occured: SSL handshake with github.com:443 failed: SSSLERR_PEER_CERT_UNTRUSTED (-102)
Peer's X.509 certificate (chain) validation failed (missing...
I have tryied to install the new certificates to my computer key stores, but the error is still there... Any clue how to fix it?
Again, I'm not using the abapGit on ABAP App Server, but from eclipse installed on my notebook...
BR,
Milan

GitHub changed the certificate last week, update it to

Hi Lars,
sorry for the stupid question, but this is most probably my issue: how should I update to it?
I just make sure I have installed these new certificates to my user and computer certificates, but still the issue...
BR,
Milan

Hi Lars,
I might understand it now:
I'm working in a project for S/4Hana Cloud System, so this means I need to update this new certificate in the trust of this Cloud System... Have done that and it worked...
Appreciate your help.
BR,
Milan

trying to close it, answer from Lars helped, just for S/4Hana Cloud system use Fiori App: Maintain Certificate Trust List where the certificate needs to be imported....

@MilanNTT yea, perhaps you can help adding the Fiori app reference in the document https://github.com/abapGit/docs.abapgit.org/edit/main/src/user-guide/setup/ssl-setup.md ?

authors: MilanNTT larshp

repo: abapGit/abapGit


text:
Symbols in condition name prevent conditional logic from working correctly

Hi, I am afraid this problem mentioned in issue #128 still exists.

As suggested, I wrote two independent conditions, identical formula, one with a symbol "q2>3" [i.e. with a ">" / Screenshot at a top left] and the other without a symbol "q2larger3" [i.e. Screenshot top-right], and use them to control text [Screenshot at bottom]. However, only yhe one without a symbol woks.

Fixed in version 6.0.2

authors: abelardopardo dfoung


text:
🛑 Tuwexinc API is down

In 9165e8b, Tuwexinc API (https://api.tuwexinc.com/health) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Tuwexinc API is back up in dd8b234 after 7 minutes.

repo: abelfleitas/status


text:
Issue: Test GitHub

Summary
This issue is the first to test GitHub

test

repo: abenhlal/wc


text:
Cannot find component with props, despite showing in browser console

I have this code:

but it produces this error:

even though the Chrome Dev Tools Component tab show this:

This is intersting. Can you check if that component really exists or not.
cy.waitForReact();
cy.get(..).click()
cy.react('component name', {props:{your prop}}).should('be.exists');
cy.getReact(..).getProps(..).should('eq', true);

This is what I see when I try the above:

it's react, not getReact for the exists command:
cy.react('component name', {props:{your prop}}).should('be.exists');

hey, i'm also having this issue.
This is what I'm seeing in react dev tools.

This is the code I'm using to look for the component.
      cy.waitForReact();         cy.react('DisplayLeadDetails').should('exist');
This is the error I'm seeing.

I did notice that if I were to look for say the ba component you see in the screenshot, it does pick it up correctly. Wonder if that can help debug this issue.

Hi, can you guys try with the latest version v2.2.2 and check if still happening.

Still getting the same issue, unfortunately.

Just want to drop a note that this hasn't fell off of my radar, life got unexpectedly busy this week. I will try to get something up next week.

i think it is because of forwardref type react components i think this plugin does not support them cz i also tried fetching them but it's not working

I'm seeing this issue in a component test where each test mounts a new component tree.
The first test works and all other tests work, with .only, but if I allow them all to run, getReact and react queries fail.
This is on cypress 7.2.0.

I have the same problem. I'm using cypress 8.4.1. When running multiple tests using component testing (open-ct), the second test fails to find anything. If I reverse the tests, the first test always passes. I have debugged this to (line 221 in reactHandler v2.3.11):
       ` elements = window.resq.resq$$(component);

`
elements in this case is an empty array.
I have tried this using cy.waitForReact() after the mount in each test case, and without. The results are the same. I imagine this can be reproduced with a simple use of component testing. Since, for component testing, the root of the React tree is actually part of the component testing app, and is not changed/refreshed between test cases, this might have something to do with it, but I can't see how at this point. It looks like a new instance of resq is created after  each waitForReact call.
I will shortly try to prepare a repo that demonstrates this, and perhaps that will help with debugging it.

authors: abhinaba-ghosh francisu joetidee mdn021 rmrao12 sovanyio

repo: abhinaba-ghosh/cypress-react-selector


text:
[question]: launch 2 browsers?

I just tried the latest version of this library, what I found is it launched 2 browsers:  1 is launched by playwright, the other seems launched by the lighthouse, I wonder if it is the expected behaviour or not?

Duplicate of https://github.com/abhinaba-ghosh/playwright-lighthouse/issues/56

No, this is not a duplication of #56 in facto after calling playAudit it runs an extra browser because we are not passing any puppeteer page to "lighthouselib" :
https://github.com/abhinaba-ghosh/playwright-lighthouse/blob/master/src/task.js#L85
Pupetter receives 4 parameters as you can see here:
https://github.com/GoogleChrome/lighthouse/blob/main/core/index.js#L39
The last parameter accepts a puppeteer page instance. If it is not received it will try to connect to the playwright browser instance and open a new page:
https://github.com/GoogleChrome/lighthouse/blob/main/core/gather/navigation-runner.js#L281
That will cause a second browser to be open. The problem is that won't share any session data with Plawright. We have a lack of flexibility when we use this library

authors: abhinaba-ghosh alphonse92 stevez

repo: abhinaba-ghosh/playwright-lighthouse


text:
Add Hussainweb to the list of repos

What type of PR is this? (check all applicable)

[x] 🚀 Added Name
[ ] ✨ Feature
[ ] 🐛 Grammatical Error
[ ] 📝 Documentation Update
[ ] 🚩 Other

Description
I added a new category because I couldn't think of where else to put it. If you think it fits in one of the existing categories, please suggest and I'll move it there. I'm hoping this looks good enough. :)
Add Link of GitHub Profile
@hussainweb

I'm merging now.
P.S - Don't forget to leave a ⭐ if you found this useful.
Thanks

authors: abhisheknaiidu hussainweb