Messaging with Redis (gs-messaging-redis)

Messaging with Redis
This guide walks you through the process of using Spring Data Redis to publish and subscribe to messages sent via Redis.
What you’ll build
You’ll build an application that uses StringRedisTemplate to publish a string message and has a POJO subscribe for it using MessageListenerAdapter.

It may sound strange to be using Spring Data Redis as the means to publish messages, but as you’ll discover, Redis not only provides a NoSQL data store, but a messaging system as well.

What you’ll need

About 15 minutes
A favorite text editor or IDE
JDK 1.8 or later
Gradle 4+ or Maven 3.2+
You can also import the code straight into your IDE:

Spring Tool Suite (STS)
IntelliJ IDEA

Redis server (installation instructions below)

How to complete this guide
Like most Spring Getting Started guides, you can start from scratch and complete each step, or you can bypass basic setup steps that are already familiar to you. Either way, you end up with working code.
To start from scratch, move on to Build with Gradle.
To skip the basics, do the following:

Download and unzip the source repository for this guide, or clone it using Git: git clone https://github.com/spring-guides/gs-messaging-redis.git
cd into gs-messaging-redis/initial
Jump ahead to Create a Redis message receiver.

When you’re finished, you can check your results against the code in gs-messaging-redis/complete.
Build with Gradle
First you set up a basic build script. You can use any build system you like when building apps with Spring, but the code you need to work with Gradle and Maven is included here. If you’re not familiar with either, refer to Building Java Projects with Gradle or Building Java Projects with Maven.
Create the directory structure
In a project directory of your choosing, create the following subdirectory structure; for example, with mkdir -p src/main/java/hello on *nix systems:
└── src
    └── main
        └── java
            └── hello

Create a Gradle build file
Below is the initial Gradle build file.
build.gradle
buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath("org.springframework.boot:spring-boot-gradle-plugin:2.0.5.RELEASE")
    }
}

apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'

bootJar {
    baseName = 'gs-messaging-redis'
    version =  '0.1.0'
}

repositories {
    mavenCentral()
}

sourceCompatibility = 1.8
targetCompatibility = 1.8

dependencies {
    compile("org.springframework.boot:spring-boot-starter")
    compile("org.springframework.boot:spring-boot-starter-data-redis")
    testCompile("junit:junit")
}

The Spring Boot gradle plugin provides many convenient features:

It collects all the jars on the classpath and builds a single, runnable "über-jar", which makes it more convenient to execute and transport your service.
It searches for the public static void main() method to flag as a runnable class.
It provides a built-in dependency resolver that sets the version number to match Spring Boot dependencies. You can override any version you wish, but it will default to Boot’s chosen set of versions.

Build with Maven
First you set up a basic build script. You can use any build system you like when building apps with Spring, but the code you need to work with Maven is included here. If you’re not familiar with Maven, refer to Building Java Projects with Maven.
Create the directory structure
In a project directory of your choosing, create the following subdirectory structure; for example, with mkdir -p src/main/java/hello on *nix systems:
└── src
    └── main
        └── java
            └── hello

pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>org.springframework</groupId>
    <artifactId>gs-messaging-redis</artifactId>
    <version>0.1.0</version>

    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.0.5.RELEASE</version>
    </parent>

    <properties>
        <java.version>1.8</java.version>
    </properties>

    <dependencies>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-data-redis</artifactId>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>
        </plugins>
    </build>

    <repositories>
        <repository>
            <id>spring-releases</id>
            <name>Spring Releases</name>
            <url>https://repo.spring.io/libs-release</url>
        </repository>
    </repositories>
    <pluginRepositories>
        <pluginRepository>
            <id>spring-releases</id>
            <name>Spring Releases</name>
            <url>https://repo.spring.io/libs-release</url>
        </pluginRepository>
    </pluginRepositories>
</project>

The Spring Boot Maven plugin provides many convenient features:

It collects all the jars on the classpath and builds a single, runnable "über-jar", which makes it more convenient to execute and transport your service.
It searches for the public static void main() method to flag as a runnable class.
It provides a built-in dependency resolver that sets the version number to match Spring Boot dependencies. You can override any version you wish, but it will default to Boot’s chosen set of versions.

Build with your IDE

Read how to import this guide straight into Spring Tool Suite.
Read how to work with this guide in IntelliJ IDEA.

Standing up a Redis server
Before you can build a messaging application, you need to set up the server that will handle receiving and sending messages.
Redis is an open source, BSD-licensed, key-value data store that also comes with a messaging system. The server is freely available at http://redis.io/download. You can download it manually, or if you use a Mac with homebrew:
brew install redis

Once you unpack Redis, you can launch it with default settings.
redis-server

You should see a message like this:
[35142] 01 May 14:36:28.939 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
[35142] 01 May 14:36:28.940 * Max number of open files set to 10032
                _._
              _.-``__ ''-._
        _.-``    `.  `_.  ''-._           Redis 2.6.12 (00000000/0) 64 bit
    .-`` .-```.  ```\/    _.,_ ''-._
  (    '      ,       .-`  | `,    )     Running in stand alone mode
  |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
  |    `-._   `._    /     _.-'    |     PID: 35142
    `-._    `-._  `-./  _.-'    _.-'
  |`-._`-._    `-.__.-'    _.-'_.-'|
  |    `-._`-._        _.-'_.-'    |           http://redis.io
    `-._    `-._`-.__.-'_.-'    _.-'
  |`-._`-._    `-.__.-'    _.-'_.-'|
  |    `-._`-._        _.-'_.-'    |
    `-._    `-._`-.__.-'_.-'    _.-'
        `-._    `-.__.-'    _.-'
            `-._        _.-'
                `-.__.-'

[35142] 01 May 14:36:28.941 # Server started, Redis version 2.6.12
[35142] 01 May 14:36:28.941 * The server is now ready to accept connections on port 6379

Create a Redis message receiver
In any messaging-based application, there are message publishers and messaging receivers. To create the message receiver, implement a receiver with a method to respond to messages:
src/main/java/hello/Receiver.java
package hello;

import java.util.concurrent.CountDownLatch;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;

public class Receiver {
    private static final Logger LOGGER = LoggerFactory.getLogger(Receiver.class);

    private CountDownLatch latch;

    @Autowired
    public Receiver(CountDownLatch latch) {
        this.latch = latch;
    }

    public void receiveMessage(String message) {
        LOGGER.info("Received <" + message + ">");
        latch.countDown();
    }
}

The Receiver is a simple POJO that defines a method for receiving messages. As you’ll see when you register the Receiver as a message listener, you can name the message-handling method whatever you want.

For demonstration purposes, it is autowired by its constructor with a countdown latch. That way, it can signal when it has received a message.

Register the listener and send a message
Spring Data Redis provides all the components you need to send and receive messages with Redis. Specifically, you need to configure:

A connection factory
A message listener container
A Redis template

You’ll use the Redis template to send messages and you will register the Receiver with the message listener container so that it will receive messages. The connection factory drives both the template and the message listener container, enabling them to connect to the Redis server.
This example uses Spring Boot’s default RedisConnectionFactory, an instance of JedisConnectionFactory which is based on the Jedis Redis library. The connection factory is injected into both the message listener container and the Redis template.
src/main/java/hello/Application.java
package hello;

import java.util.concurrent.CountDownLatch;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.data.redis.connection.RedisConnectionFactory;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.data.redis.listener.PatternTopic;
import org.springframework.data.redis.listener.RedisMessageListenerContainer;
import org.springframework.data.redis.listener.adapter.MessageListenerAdapter;

@SpringBootApplication
public class Application {

	private static final Logger LOGGER = LoggerFactory.getLogger(Application.class);

	@Bean
	RedisMessageListenerContainer container(RedisConnectionFactory connectionFactory,
			MessageListenerAdapter listenerAdapter) {

		RedisMessageListenerContainer container = new RedisMessageListenerContainer();
		container.setConnectionFactory(connectionFactory);
		container.addMessageListener(listenerAdapter, new PatternTopic("chat"));

		return container;
	}

	@Bean
	MessageListenerAdapter listenerAdapter(Receiver receiver) {
		return new MessageListenerAdapter(receiver, "receiveMessage");
	}

	@Bean
	Receiver receiver(CountDownLatch latch) {
		return new Receiver(latch);
	}

	@Bean
	CountDownLatch latch() {
		return new CountDownLatch(1);
	}

	@Bean
	StringRedisTemplate template(RedisConnectionFactory connectionFactory) {
		return new StringRedisTemplate(connectionFactory);
	}

	public static void main(String[] args) throws InterruptedException {

		ApplicationContext ctx = SpringApplication.run(Application.class, args);

		StringRedisTemplate template = ctx.getBean(StringRedisTemplate.class);
		CountDownLatch latch = ctx.getBean(CountDownLatch.class);

		LOGGER.info("Sending message...");
		template.convertAndSend("chat", "Hello from Redis!");

		latch.await();

		System.exit(0);
	}
}

The bean defined in the listenerAdapter method is registered as a message listener in the message listener container defined in container and will listen for messages on the "chat" topic. Because the Receiver class is a POJO, it needs to be wrapped in a message listener adapter that implements the MessageListener interface required by addMessageListener(). The message listener adapter is also configured to call the receiveMessage() method on Receiver when a message arrives.
The connection factory and message listener container beans are all you need to listen for messages. To send a message you also need a Redis template. Here, it is a bean configured as a StringRedisTemplate, an implementation of RedisTemplate that is focused on the common use of Redis where both keys and values are 'String's.
The main() method kicks everything off by creating a Spring application context. The application context then starts the message listener container, and the message listener container bean starts listening for messages. The main() method then retrieves the StringRedisTemplate bean from the application context and uses it to send a "Hello from Redis!" message on the "chat" topic. Finally, it closes the Spring application context and the application ends.
Build an executable JAR
You can run the application from the command line with Gradle or Maven. Or you can build a single executable JAR file that contains all the necessary dependencies, classes, and resources, and run that. This makes it easy to ship, version, and deploy the service as an application throughout the development lifecycle, across different environments, and so forth.
If you are using Gradle, you can run the application using ./gradlew bootRun. Or you can build the JAR file using ./gradlew build. Then you can run the JAR file:
java -jar build/libs/gs-messaging-redis-0.1.0.jar

If you are using Maven, you can run the application using ./mvnw spring-boot:run. Or you can build the JAR file with ./mvnw clean package. Then you can run the JAR file:
java -jar target/gs-messaging-redis-0.1.0.jar

The procedure above will create a runnable JAR. You can also opt to build a classic WAR file instead.

You should see the following output:
  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.0.5.RELEASE)

2014-04-18 08:03:34.032  INFO 47002 --- [           main] hello.Application                        : Starting Application on retina with PID 47002 (/Users/gturnquist/src/spring-guides/gs-messaging-redis/complete/target/classes started by gturnquist)
2014-04-18 08:03:34.062  INFO 47002 --- [           main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@7a53c84a: startup date [Fri Apr 18 08:03:34 CDT 2014]; root of context hierarchy
2014-04-18 08:03:34.326  INFO 47002 --- [           main] o.s.c.support.DefaultLifecycleProcessor  : Starting beans in phase<PHONE_NUMBER>
2014-04-18 08:03:34.357  INFO 47002 --- [           main] hello.Application                        : Started Application in 0.605 seconds (JVM running for 0.899)
2014-04-18 08:03:34.357  INFO 47002 --- [           main] hello.Application                        : Sending message...
2014-04-18 08:03:34.370  INFO 47002 --- [    container-2] hello.Receiver                           : Received <Hello from Redis!>
2014-04-18 08:03:34.379  INFO 47002 --- [       Thread-1] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@7a53c84a: startup date [Fri Apr 18 08:03:34 CDT 2014]; root of context hierarchy
2014-04-18 08:03:34.380  INFO 47002 --- [       Thread-1] o.s.c.support.DefaultLifecycleProcessor  : Stopping beans in phase<PHONE_NUMBER>

Summary
Congratulations! You’ve just developed a simple publish-and-subscribe application with Spring and Redis.

Redis support is available.

See Also
The following guides may also be helpful:

Messaging with RabbitMQ
Messaging with JMS
Building an Application with Spring Boot

번역작업 진행중


⚠ Bofrost.be has degraded performance

In 1f66602, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1384 ms

Resolved: Bofrost.be performance has improved in ee78d51.


Icubgenova09/test kf

This branch is rebased on https://github.com/ami-iit/robots-configuration/tree/icubgenova09/ft_imus.
Let's wait fot the merging of https://github.com/ami-iit/robots-configuration/tree/icubgenova09/ft_imus and then we can proceed with this PR.

@isorrentino can you rebase this branch?

Do you think this might affect the walking performances?

The walking does not use directly the velocity so in theory no. However, I wouldn't bet on it 🥲


Add signal to remove pending announcement creation on user deletion

This PR ensure that when new announcements are created during a HealthcareUser's cascade deletion that those new announcements are also deleted before the DB update is done.

Test now included

Ok


Broken links to english documentation that contain /en/

Fix contain changed links to English documentation.

thanks for doing this and congrats on your first contribution! 🎉 can you share how did you find the broken links? is there script that you can share? we might have more broken links in other pages that we have translated
/lgtm
/approve


inconsistent behaviour for job_scheduler

run_wizard's prototype is a bit confusing.  It looks as if you can specify using toolkit by passing in "toolkit" to the job_scheduler argument directly, but then later on you see:
# Run experiments
    # ===============
    if job_scheduler is None:
        job_scheduler = args.job_scheduler

    if job_scheduler in [None, "None", '0']:
        job_scheduler = None

    elif job_scheduler in ['toolkit', 'slurm', 'gcp']:
        job_scheduler = args.job_scheduler

    elif job_scheduler in ['1']:
        job_scheduler = 'toolkit'

    else:
        raise ValueError(f'{job_scheduler} does not exist')

So whatever you pass  to job_scheduler will get clobbered by args.job_scheduler, which might different from the job_schduler argument. In addition, the last elif block will take '1' as an argument, but the value for toolkit as suggested by the Readme.md is '-j 2', not '-j 1'
I think job_scheduler should either be read directly from args, and be required, or be read just from the prototype to run_wizard, and be required.  What do you think?

I have changed the examples so that the user can specify which job scheduler they could choose instead of 1 and 2.
I think it makes more sense just to make job_scheduler read by the prototype


Add Troubleshooting for macOS bind address in use

Motivation
Some command help to resolve errors reported on macOS like this:
# pygmy-go up
[ ] amazeeio-mailhog is not able to start on port 1025: listen tcp :1025: bind: address already in use
Please address the above issues before you attempt to start Pygmy again.

I'm assuming that you use the https://github.com/pygmystack/pygmy with it's configurability now :smile:


https://k8s.io/pl/ looks incomplete

This is a Bug Report

Problem:
https://k8s.io/pl/ doesn't look right
I'd thought that the preview for #18659 looked OK but in fact it doesn't and neither does the live site.
Proposed Solution:
Initially: investigate this
Page to Update:
https://kubernetes.io/pl/
/kind bug
/language pl
/priority important-longterm

I think this is intended and that future work will add to the index page.

/remove-kind bug

/remove-kind bug

https://kubernetes.io/pl/ is ready.

:tada:
/close


Vickel: Watch laky[\W_]*+jet

Vickel requests the watch of the watch_keyword laky[\W_]*+jet. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

laky[\W_]*+jet has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Translation to Portuguese - Brazil

Good afternoon my friend, I am translating a tool for users here in Brazil feel more comfortable to use. I would support and after that finish I send the code to do a brief check to be reliable, thus giving assurance that made no change to steal information from any users. and so you offer my version for use in the Portuguese version. for all.
The following image of the ongoing project.
Project
Game in the world of Magera with character Markoz
Portuguese version.
Boa tarde meu amigo, estou traduzindo sua ferramenta para que os usuarios aqui do Brasil se sintam mais confortavel em utilizar. gostaria de seu apoio e logo após que finalizar eu  mando o codigo para que faça uma breve verificação para que fique confiavel, assim dando garantia que não fiz nenhuma alteração para roubar informações de quaisquer usuarios. e assim você disponibilizar a minha versão para o uso na versão em português. para todos.
jogo no mundo de Magera com o personagem Markoz
Segue imagem do projeto em andamento.
Projeto

Could you give an overview of how you intend to do this? If we go down this route, we should do it properly.

That's a very cool idea, and thank you for your contribution.
However, it would be much better if there would be some sort of switch so you can change the language in Tibialyzer itself, rather than needing a different executable for a different language.
I assume what you are doing now is changing the strings in the form elements themselves, correct? What I would like to do if we were to offer a translation is to instead read all the strings from a file.
Then we can provide a button that allows the user to change the language (with e.g. flags for each country). Then we can also easily extend Tibialyzer with different translations, and we don't need to provide a separate executable for each language.
If you want I can extend Tibialyzer so that it is easy to translate in this way, then all you need to do is translate the individual strings in a single file rather than changing the strings hardcoded in the executable.

@Mytherin There are built-in methods to do this in C#. Here is a good overview of how this should be done.

Mytherin believe that had this option to enter a language flag would be good if you can I pass this version with strings to do translation with great satisfaction. so I love to team several heads are much better.
To answer your question but I'm just changing form of the text. not modifying functions.
Portuguese version:
Respondendo sua pergunta sim estou só modificando texto do formulario. não modificando funções.
Mytherin  creio que se tivesse esta opção de entrar em uma bandeira de idioma seria uma boa, se puder  me passar esta versão com strings para a tradução faço com muita satisfação. por isso eu adoro fazer em equipe varias cabeças pensam muito melhor.

My friend EricArndt just not responding to you, but I'm only making minor changes to text in the forms but for sure your idea is good.
I'm sorry but the English google does not help in the translation does some crazy things.
My english is very weak.

Mytherin I do not know if you read my answer above, but I'm hoping simpler version.
:)

you can set generic labels and then your program looking for this label at an .XML file, this structured in supported languages, in the future we just need to translate to a language we want, the community could translate when have a demand in each country. just my five cents.. stay safe guys.

Hello @leosalvadori  think its good design, but I need a return @Mytherin  to continue the work.

I want to help you in the translation. How are you doing it @noxripper? How can I help?
I thought about we share a sheet with the words/ texts that need the translation.
I'm a programmer so if I can help with some code too. The problem is that I'm not familiar with the language, but if I see a part of the code that I can follow I can handle the task ;)

I can't help with the code, but I can with the text!

Hello my friend [Mytherin] (https://github.com/Mytherin)
First I'm sorry the bad writing English; I saw that implemented the exchange of languages, now where is the file for such translations? so I make them.
I'm waiting.
In Portuguese
Ola meu amigo Mytherin
Primeiramente me desculpe o inglês mal escrito; Vi que implementou a troca de idiomas, agora onde fica o arquivo para tais traduções? para que eu faze-las.
Fico no aguardo.

The files for the translation are in the Tibialyzer/Translation directory. The files are called [Name].resx. You can translate the files without Visual Studio, however, this way you cannot test your translation in Tibialyzer itself. I recommend you use Visual Studio so you can test the translation and find out how the translation actually looks. You can find information on how to build Tibialyzer here, and you can download Visual Studio Community Edition for free here.
For each [Name].resx file in the Tibialyzer/Translation directory, you should copy it and create a [Name].pt.resx file. Then in that [Name].pt.resx file, replace the right column (not the left column, these are the keys and should be kept the same) with the Portuguese translation of the text. After you have translated the files, you should be able to compile Tibialyzer and be able to select "Portuguese" in the Main Tab. It should then show you Tibialyzer translated.
If you have any problems let me know, if it doesn't work I can show you how to translate the files without compiling Tibialyzer but then you would not be able to see the translations in Tibialyzer itself.

Thank  [Mytherin] (https://github.com/Mytherin) will start work after finishing will send the files so you can share with all other users. if I have doubts in touch.
Good week..

In Portuguese
Obrigado  [Mytherin] (https://github.com/Mytherin) irei começar o trabalho após finalizar irei enviar os arquivos para que possa compartilhar com todos os outros usuarios. caso eu tenha duvidas entrarei em contato.
Boa semana.


Swapper stale quote after successful quote

Overview
If you change an output asset after getting a quote, you can end up in some very strange state with the wrong route and other broken functionality.
References and additional details
Steps to reproduce

Enter a quote that should produce a 0x trade (for ex. ETH <> FOX)
Once quote is available modify the output asset to something like BTC

Acceptance Criteria
We correctly refresh a quote whenever the input is changed or the output asset is modified.
Need By Date
No response
Screenshots/Mockups
No response
Estimated effort
No response

https://github.com/shapeshift/web/assets/15096737/066ed5a2-643d-4b07-9cda-40820cdf4135


resume

If the train break, how to resume it?
I use the command , but it seem to restart train.

Finally, to train from checkpoint from previous step and 3 refinement stages in network, run python train.py --train-images-folder <COCO_HOME>/train2017/ --prepared-train-labels prepared_train_annotation.pkl --val-labels val_subset.json --val-images-folder <COCO_HOME>/val2017/ --checkpoint-path <path_to>/checkpoint_iter_280000.pth --weights-only --num-refinement-stages 3

How to use the num-refinement-stages ?
Assume
First, num-refinement-stages = 1, we took checkpoint after 370000 iterations as the second.
Second, num-refinement-stages = 2, we took checkpoint after 370000 iterations as the third.
Third, num-refinement-stages = 3, we took checkpoint after 370000 iterations as the  final one.
Final, we took num-refinement-stages = 1  checkpoint after final iterations as the final one.
Is it correct?

Hi! If you will provide checkpoint path, resuming will start automatically (in case of you have not specified --from-mobilenet)

The network resume, but the learning rate?
It start the  iteration 0 ,not the stop iteration.

You can check the code, it resumes properly.

I try to train the network with 512x512 and use the checkpoint_370000.pth
I got the error. Other size can work.
[WARNING] Not found pre-trained parameters for model.layer2.2.conv3.weight
[WARNING] Not found pre-trained parameters for model.layer2.2.bn3.weight
[WARNING] Not found pre-trained parameters for model.layer2.2.bn3.bias
[WARNING] Not found pre-trained parameters for model.layer2.2.bn3.running_mean
[WARNING] Not found pre-trained parameters for model.layer2.2.bn3.running_var
[WARNING] Not found pre-trained parameters for model.layer2.2.bn3.num_batches_tracked
[WARNING] Not found pre-trained parameters for model.layer2.3.conv1.weight
[WARNING] Not found pre-trained parameters for model.layer2.3.bn1.weight
[WARNING] Not found pre-trained parameters for model.layer2.3.bn1.bias
[WARNING] Not found pre-trained parameters for model.layer2.3.bn1.running_mean
[WARNING] Not found pre-trained parameters for model.layer2.3.bn1.running_var
[WARNING] Not found pre-trained parameters for model.layer2.3.bn1.num_batches_tracked
[WARNING] Not found pre-trained parameters for model.layer2.3.conv2.weight
[WARNING] Not found pre-trained parameters for model.layer2.3.bn2.weight
[WARNING] Not found pre-trained parameters for model.layer2.3.bn2.bias
[WARNING] Not found pre-trained parameters for model.layer2.3.bn2.running_mean
[WARNING] Not found pre-trained parameters for model.layer2.3.bn2.running_var
[WARNING] Not found pre-trained parameters for model.layer2.3.bn2.num_batches_tracked
[WARNING] Not found pre-trained parameters for model.layer2.3.conv3.weight
[WARNING] Not found pre-trained parameters for model.layer2.3.bn3.weight
[WARNING] Not found pre-trained parameters for model.layer2.3.bn3.bias
[WARNING] Not found pre-trained parameters for model.layer2.3.bn3.running_mean
[WARNING] Not found pre-trained parameters for model.layer2.3.bn3.running_var
[WARNING] Not found pre-trained parameters for model.layer2.3.bn3.num_batches_tracked

You train other network, not from this repository. That is why parameters differ.

Hope, it helped.


Make 'Changelog-Reviewed-By' configurable?

Specifically this one:
https://github.com/jtojnar/nonemast/blob/aa80440fe17f2f883087242d7ae0c93adfec5987/src/package_update.py#L16
and this one:
https://github.com/jtojnar/nonemast/blob/aa80440fe17f2f883087242d7ae0c93adfec5987/src/window.py#L232
Okay this is going to be 2 feature requests :see_no_evil:
This will allow pushing e.g. Tested-By: xxx commits in one click, and also will allow multiple people pushing Changelog-Reviewed-By: xxx commit on the same change easier (by changing the regex to e.g. ^Changelog-Reviewed-By: Bobby Rong).
The motivation is basically shown on my GitHub profile page.

By doing some copy-and-paste, I actually have a quick draft for this: https://github.com/bobby285271/nonemast/commit/2988b9f059442c4e6805b44e9dab9d2ae84b3085 but I am bad at both UX and python I guess I will just open this issue :-)

Yeah, allowing +1 sounds desirable.
As for other trailers, I am thinking of adding a menu (the left part of the button would default to the last item chosen from the menu):

(source)
For starters, we could hardcode the list of trailers. We can add the ability to register a list of trailers in settings later.
Relevant: https://git-scm.com/docs/git-interpret-trailers

Will probably also want to extend the filters: Reviewed → {Reviewed,Tested} by {me,anyone,specific person}. Maybe something like GitLab has in issue search (but hopefully not that annoying).


Add Java support

Add Java support for both full-file & snippet functionality.
One thing worth looking at is the fact that I added some extra regex parsing for Java specifically, as the compiler is very particular about how classes should be formatted. I figured that would be the better option as it would allow users to just Ctrl+C Ctrl+V from their IDE into Discord, but let me know if you want me to remove that before merging and I will.

 is this intended behavior?

Is this intended behavior?

Due to Java's unique insistence on everything being in a class, the current code processing method is to check for a main function and either pass it directly to the compiler or wrap it in a main class/function. This can be fixed, but it'll require more than one regex pass (and therefore a rewrite of code_processing.py)

Thanks for looking further into it, I think this is good as-is
I'll deploy this ASAP


Endpoint count exceeded

Hi!
I was trying to follow the document on "learn" https://docs.microsoft.com/en-us/learn/modules/data-anomaly-detection-using-azure-iot-hub/8-exercise-search-anomalies-built-in-model-query to create an endpoint in Iot Hub.

However, after I tried to click the 'create' button, it returns me an error.

Could you help me to figure out what should be done please?
Thanks a lot!

@zzzzzyyyyyy As error suggests that you have reached the maximum limit of endpoints. Allowed limit is one and you are creating two.
Please note that, the free tier only allows you to set up one endpoint. To configure multiple endpoints, you must use paid tier.
I would suggest you delete any existing endpoints before creating another one and try.
Also, note that You cannot upgrade from the free tier to either basic or standard. So, you need to create Azure IoT Hub with basic or Standard tier to use multiple endpoints.
Please see IoT Hub quotas and throttling to understand more about the limits.
Hope this helps. Do let us know if you need further help.

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

you should fix your documentation in microsoft learn, instead to close this item.
Your microsoft learn documentation, states : "Select Next: Size and scale to view the capabilities of your hub, noting all the services we need are enabled. Open up Advanced Settings to see the number of partitions. You can leave all entries at their default settings. Or, for peace of mind, you can change Pricing and scale tier to F1: Free tier"
Then we are stuck with this error and unable to finish the module. We have to start all over again

An uknown error occurred while updating your IoT hub. Error Report: Endpoint Count exceeded, ActualCount: 2, MaxAllowedCount: 1. If you contact a support representative please include this correlation identifier: 7c026d87-a40f-464c-b1c6-9e171e067ae4, timestamp: 2021-05-05 14:02:06Z, errorcode: IH400106.
I am using one endpoint.Can you help me?

@AshokPeddakotla-MSFT


Screen not locked state not detected correctly

Ubuntu 20.04.
iRest detects when the screen has been locked with Super+L. However, even after the User logs back in, iRest continues detecting that the screen is locked.

Fixed in commit 48f4cb6f1d10db410c51ddd47c46a7f8b50302c0


LNDg cannot reach the gRPC for LND.

I am running the latest docker image on Linux Mint 21.2 Cinnamon
I get the following error after logging in to the server.
An error has occured!
LNDg cannot reach the gRPC for LND. Make sure LND is running and/or your gRPC settings are correct.
Error Code: StatusCode.UNAVAILABLE

LND is running just fine as well as other tools, like RTL and loop. So the gRPC settings on LND should be correct.
I can't find anything relevant on the docs to solve this. Any help is welcome.

Are you also running LND in a docker container?

Yes

From local works, although the GUI has some issues. But from the container it is not communicating with LND.
Here is the odd rendering of the local GUI. No colored bars, weird alignments, the Toggle dark mode button doesn't work.

Networking between docker containers can be complex unless they are running on the same docker virtual network. You can add the docker network LND is using to your LNDg docker-compose.yaml so they can communicate on the same host or let LND listen on your machine IP and accept requests from the docker network LNDg is using. You can also try running the LNDg container with network_mode: "host" or run LNDg without Docker.
The rendering issue looks like you are missing the required css files. Usually this is not an issue for docker installations, maybe check the dev tools page of your browser to see if there are any issues loading those static files.

Is there a debug flag I can set? I just updated my local instance following the below and can no longer connect to LND upon restart. I get the error titling this ticket.
docker-compose down
git pull
docker-compose build --no-cache
docker-compose up

I run without the -d hoping to see some indication describing why the connection fails. Nothing pops up.
I am very familiar with docker and overlay networking but don't run my lnd in a container.

You can enable the django debug mode with the -dx flag but I'm not sure it will give you any additional information in this case.

It told me just enough. Thanks.  I recently changed my DNS cache from dnsmasq to AdGuardHome. The problem was in the way AdGuardHome handles things vice dnsmasq. Have a Happy and Safe New Year!

I'm facing a similar issue. I've put both LND and LNDg in the same docker network but can't establish a grpc connection:
lndg  | Migration step failed: <_InactiveRpcError of RPC that terminated with:
lndg  | 	status = StatusCode.UNAVAILABLE
lndg  | 	details = "failed to connect to all addresses; last error: UNKNOWN: ipv4:<IP_ADDRESS>:10009: Peer name lnd is not in peer certificate"
lndg  | 	debug_error_string = "UNKNOWN:Error received from peer  {grpc_message:"failed to connect to all addresses; last error: UNKNOWN: ipv4:<IP_ADDRESS>:10009: Peer name lnd is not in peer certificate", grpc_status:14, created_time:"2024-01-07T13:35:34.315727546+00:00"}"
lndg  | >

I've tried to pass certificates explicitly using flag -tls but had no luck. Any hints?

I have not seen this error before, do you want to share how you setup your docker networking?

It was my mistake at the end. I've misconfigured TLS certificates for LND/LNDg.
What one should do is to create/edit lnd.conf for LND and add there
tlscertpath=/etc/lnd-tls/tls.crt
tlskeypath=/etc/lnd-tls/tls.key

This certificate should be generated beforehand and mounted as a volume (for my test environment I'm using simple self-signed certificate) to the container.
The same certificate should be passed to LNDg and passed as an argument to LNDg:
command: ["sh", "-c", "python initialize.py -net 'simnet' -tls '/etc/lnd-tls/tls.crt' -server 'lnd:10009' -d && supervisord && python manage.py runserver <IP_ADDRESS>:8000"]
One should also add the DNS name to the certificate and then it should all work well


A Test commit

Testing manually triggering checks as described in https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/about-status-checks
request-checks: true

And it didn't work. Booo

BTW, you can also add empty commits to trigger the build pipeline:
git commit --allow-empty -m "Trigger the build with empty commit"


Simplify and modernize engine samples

[ ] Simplify/remove/create samples.
[x] Restructure the samples so that each one has its folder.

The engine samples are outdated and contain lots of duplicated code.
With the introduction of #197, it will be possible to shorten the engine samples a lot.
Some of them, (e.g., asset_renderer) are also not necessary anymore.
The engine samples should also reflect a real project structure. Each should be
contained within a folder, in which there may be, optionally,  an assets folder and a
components folder.

Closed in favor of #459.


Date/time value is out of range in the Uber 2014 data

When I import the Uber data for 2014 I get an error message that the date/time field value is out of range for the value 4/13/2014 0:01:00.
$ ./import_uber_trip_data.sh

Tue Feb  9 14:32:16 EET 2016: beginning load for data/uber-raw-data-apr14.csv
ERROR:  date/time field value out of range: "4/13/2014 0:01:00"
HINT:  Perhaps you need a different "datestyle" setting.
CONTEXT:  COPY uber_trips_staging, line 15076, column pickup_datetime: "4/13/2014 0:01:00"
Tue Feb  9 14:32:16 EET 2016: finished raw load for data/uber-raw-data-apr14.csv

It looks as though this value exists in a number of records:
$ grep -n "4/13/2014 0:01:00" data/uber-raw-data-apr14.csv

15076:"4/13/2014 0:01:00",40.7075,-73.9483,"B02512"
98906:"4/13/2014 0:01:00",40.7342,-73.999,"B02598"
98907:"4/13/2014 0:01:00",40.6316,-73.8876,"B02598"
98908:"4/13/2014 0:01:00",40.7668,-73.9676,"B02598"
98909:"4/13/2014 0:01:00",40.7345,-74.0014,"B02598"
98910:"4/13/2014 0:01:00",40.7463,-73.983,"B02598"
98911:"4/13/2014 0:01:00",40.7059,-73.92,"B02598"
263998:"4/13/2014 0:01:00",40.7396,-74.0276,"B02617"
263999:"4/13/2014 0:01:00",40.7386,-74.0055,"B02617"
264000:"4/13/2014 0:01:00",40.737,-73.9882,"B02617"
264001:"4/13/2014 0:01:00",40.7139,-73.9598,"B02617"
422703:"4/13/2014 0:01:00",40.7409,-74.0075,"B02682"
422704:"4/13/2014 0:01:00",40.714,-73.9579,"B02682"
422705:"4/13/2014 0:01:00",40.7336,-74.0048,"B02682"
422706:"4/13/2014 0:01:00",40.7573,-73.9847,"B02682"
422707:"4/13/2014 0:01:00",40.7162,-73.9549,"B02682"
422708:"4/13/2014 0:01:00",40.7358,-73.998,"B02682"
422709:"4/13/2014 0:01:00",40.6923,-73.9878,"B02682"
422710:"4/13/2014 0:01:00",40.7325,-74.0035,"B02682"
422711:"4/13/2014 0:01:00",40.7335,-74.0043,"B02682"
422712:"4/13/2014 0:01:00",40.6776,-73.912,"B02682"
422713:"4/13/2014 0:01:00",40.6352,-73.9503,"B02682"

Just about every other month in 2014 for the Uber data is raising the same issue.

Hmm, I can't reproduce this and just confirmed it works okay on my setup. What OS and version of PostgreSQL are you using? I'm on Postgres 9.4.4 / OS X 10.10.5

It's a fresh install of Ubuntu 14.04.3 LTS. PostgreSQL and Postgis were installed with the following command:
$ sudo apt-get update
$ sudo apt-get install postgresql-9.3-postgis-2.1

I downloaded the data on Saturday (2016-02-06).

Apologies for jumping in to this without sufficient context, I was reading @marklit's blog post but haven't tried reproducing this myself.
@marklit Is it just the 13th that you get errors for, no other days of the month? It looks suspiciously like it's trying to import m/d/y dates as d/m/y. If it's using the machine's locale that may explain why it fails in London and works in NYC.

@MatthewWilkes good idea, thanks!
@marklit can you try running with this change to set the datestyle to MDY: https://github.com/toddwschneider/nyc-taxi-data/commit/0f0860188177f6bf6d68dbe98f180f04d9b376de
If that works, I'll merge into master

It's importing without any complaints now. Thanks @toddwschneider.
Here's my steps in testing out 0f08601:
This was all done on a fresh Ubuntu 15 installation.
$ sudo apt-get install postgresql-9.4-postgis-2.1 postgis git unzip
$ git clone https://github.com/toddwschneider/nyc-taxi-data.git
$ cd nyc-taxi-data
$ git checkout 0f08601
$ vi minimal_downloads.txt

Contents of minimal_downloads.txt:
https://raw.githubusercontent.com/fivethirtyeight/uber-tlc-foil-response/master/uber-trip-data/uber-raw-data-apr14.csv
https://raw.githubusercontent.com/fivethirtyeight/uber-tlc-foil-response/master/uber-trip-data/uber-raw-data-janjune-15.csv.zip

$ cat minimal_downloads.txt | \
          xargs -n 1 -P 6 wget -P data/ &
$ sudo su - postgres -c "psql -c 'CREATE USER mark; ALTER USER mark WITH SUPERUSER;'"
$ ./initialize_database.sh
$ ./import_uber_trip_data.sh

Relevant output from import_uber_trip_data.sh:
Mon Feb 15 09:40:33 PST 2016: beginning load for data/uber-raw-data-apr14.csv
COPY 564516
Mon Feb 15 09:40:35 PST 2016: finished raw load for data/uber-raw-data-apr14.csv
SELECT 564516
CREATE INDEX
SELECT 554565
INSERT 0 564516
TRUNCATE TABLE
DROP TABLE
DROP TABLE
Mon Feb 15 09:40:47 PST 2016: loaded trips for data/uber-raw-data-apr14.csv

Thanks, I merged the change


I have reviewed the material. I want to update ms.date to bring it up…

… to do date.

Hi @roalexan, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (roalexan). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


raftstore: separate RaftlogGc to an individual thread

Signed-off-by: 5kbpers<EMAIL_ADDRESS>
What have you changed?
Previous PR https://github.com/tikv/tikv/pull/5297 merged Compact, RaftlogGc, CleapSST into one thread. But we found that would cause a long-running compaction job blocks raftlog GC, then increase compaction frequency of RaftDB, take up more disk I/O bandwidth.
This PR separates RaftlogGc to an individual thread to fix this problem.
What is the type of the changes?

Improvement (a change which is an improvement to an existing feature)

How is the PR tested?
CI
Does this PR affect documentation (docs) or should it be mentioned in the release notes?
No.
Does this PR affect tidb-ansible?
No.

IMO, compacting raft logs has a higher priority than handing SST and compacting Range. and the handing SST may community with PD to check the region which may also block the following compacting raft logs if the network has a problem.

PTAL @zhangjinpeng1987

Compacting raft logs has a higher priority than the other two, it shouldn't be blocked by the other two kind jobs.

Updated, PTAL @siddontang @zhangjinpeng1987

Why don't we separate CompactTask to an individual thread, instead of RaftlogGc? CompactTask cost more time than other task obviously.

Why don't we separate CompactTask to an individual thread, instead of RaftlogGc? CompactTask cost more time than other task obviously.

In my understanding, CleanupSST seems not a high priority task, it only triggered to remove SSTs the tikv-importer uploaded, it acceptable to delay it a few minutes. RaftlogGc has higher priority and we don't want it blocked by any other task.


MSCRM Export Solution vsts build task error

Receiving error while exporting solution with basic settings in task. (Managed/Unmanaged or if both are checked, receiving same error)
Error:
Exporting Managed Solution
Unrecognized request parameter: ExportSales
PS: I am not checking the checkbox for "Export Sales" from Additional Export Options.
Since I am not able to connect to online version, I am trying to connect to on-premises and continuing my build definition as of now. Referring to the previous query I had put.

Hi, I take it you are using a version that is lower than 365?

I realized when you responded. Thanks, I shall check once the connection issue is solved if Export works fine or not. Thanks :)

Any luck?

Please re-open the issue if you are still facing the problem. This is normally if you have an earlier version of Dynamics prior to 365.

The proxy issue has been resolved and i am able to Export solution successfully. Thanks :+1:

Excellent news glad to hear that.


Image Artefacts after SDC correction

What happened?
We implemented SDC correction using fmriprep 21.02 using phase-difference B0 estimation and found very big artifacts. However, when we applied fsl_prepare_fieldmap command in FSL on the same images using the same fieldmap (we collected SIEMENS data), there were no such big artifacts. Please see the attached screenshots.
What command did you use?
/opt/conda/bin/fmriprep /data /out participant --participant-label sub-*** --write-graph --use-aroma -w /scratch --output-spaces MNI152NLin2009cAsym:res-native T1w:res-native

What version of fMRIPrep are you running?
21.02
How are you running fMRIPrep?
Docker
Is your data BIDS valid?
Yes
Are you reusing any previously computed results?
FreeSurfer
Please copy and paste any relevant log output.
We do not have any errors reported.

Additional information / screenshots
Presentation1.pdf

Thanks for this. We're collecting extreme cases for SDC correction, and may ask you to share your data, if you're willing. Can you at least share a full file listing and the metadata of both your fieldmaps and your BOLD series?

Should be resolved in 23.2.0a1.


Cannot find MAC and IP address

I am relatively new to Linux, so please do help me if I am wrong, thank you.

[x] I have carefully read the README file and haven't managed to resolve my issue.

[ ] I have searched the issues of this repo and believe that this is not a duplicate.
(There are a lot of duplicates as I am aware it, but most ended up in a dead end, so I'm here opening up another issue)

[x] I am running the latest version of KickThemOut.

OS name and version: Microsoft Windows 10 Pro (10.0.19041 Build 19041) and I am using VM as Linux Mint version 20 (Ulyana)

Python version: 3.8.2

Scapy version: kamene (3.0.0)

Nmap version: 7.80

Link of Gist: https://gist.github.com/dippinsauce2077/8802baff07138bd0e5f712a634a1fb16

Description: After running "sudo python3 kickthemout.py", it looks like this

No matter what you put in or not, It will scan your network and ask for Gateway's MAC Address

And again, no matter what you put in or not, there will always be 3 hosts (even when I disconnected all the devices)

All 3 options are nearly the same, so I picked the third one "kickALL0ff"
It looks like it's working. But apparently, all my devices, like my phone and such, are still connected to the internet. Any help?

If the issue is lack of information, please do tell me where to look for more information you needed. Thank you.

It cannot find MAC and IP address for me too. When I input them from 'Network Connection Details' I get 0 hosts.
Also, I get:
Warning: Nmap may not work correctly on Windows Subsystem for Linux.
For best performance and accuracy, use the native Windows build from https://nmap.org/download.html#windows.
I tried adding, alias nmap='"/mnt/c/Program Files (x86)/Nmap/nmap.exe"' , to bashrc but it does not get rid of the warning.

Use scapy


Job collection improvements

.get_jobs returns Jobcollection (for Project & Workflow)
Enable jobcollection.plot()
Simplify Jobcollection download
fix run_parallel_jobs naming schema

LGTM


The write_blif command not working properly.

Version
Final Version
On which OS did this happen?
Linux
Reproduction Steps
I am currently trying to read a blif file with Yosys, run the ABC9 pass on it, and write it as a blif file. I encountered a double definition of a signal when trying to read the blif with ABC. The same thing happens when trying to read the blif using Yosys. Yosys cannot read a blif file generated by itself. I used different blif files and got the same results. This is a and_latch module as an example.
.model and_latch
.inputs and_latch^clock and_latch^a_in and_latch^b_in
.outputs and_latch^out

.names gnd
.names unconn
.names vcc
1

.latch and_latch^bAND~0^lAND~1 and_latch^out_FF re and_latch^clock 3

.names and_latch^a_in and_latch^b_in and_latch^bAND~0^lAND~1
11 1

.names and_latch^out_FF and_latch^out
1 1

.end

Here is my terminal log for your reference
yosys> read_blif and_latch.blif
1. Executing BLIF frontend.

yosys> write_blif output.blif

2. Executing BLIF backend.

yosys> read_blif output.blif

3. Executing BLIF frontend.
ERROR: Duplicate definition of module and_latch in line 3!

Here are some other blif files for your reference.
adder.blif.txt
sv.blif.txt
Expected Behavior
The expected behavior is writing a blif file that can be read by Yosys and ABC.
Actual Behavior
The write_blif command is saving the blif file in the wrong way that cannot be re-read.

What happens in the terminal log you provide is expected behavior. When you are running read_blif for the second time, there's an and_latch module loaded into the design already. You can run design -reset before read_blif to get a clean slate.
Having inserted design -reset before the second read I don't come across any issue with adder.blif.txt, but I get the following when trying to re-read sv.blif.txt, and a similar one when re-reading and_latch:
3. Executing BLIF frontend.
ERROR: Found error in internal cell \sv_chip0_hierarchy_no_mem.$auto$blifparse.cc:386:parse_blif$74008 ($ff) at kernel/rtlil.cc:1041:
  cell $ff $auto$blifparse.cc:386:parse_blif$74008
    connect \Q \sv_chip0_hierarchy_no_mem.ints_fifo_1_gen_1_3^dout~1_FF
    connect \D \n55328
  end

That seems to be a bug indeed, but different from what you report.

I encountered a double definition of a signal when trying to read the blif with ABC.

Trying to get ABC read the BLIF file written by Yosys for and_latch, I get
Line 10: Cannot find the model for subcircuit $dff.
Reading network from file has failed.

That seems to be some other issue. I am not familiar with BLIF files and the tooling around it to say if this is supposed to work.
Anyway, please update the reproduction steps so that it illustrates the actual issue you are running into.

You were right about the adder.blif and and_latch.blif files. But even when exiting Yosys completely and restarting it again the following happens with the sv.blif file which was uploaded earlier.

Also, after running the ABC9 pass on the and_latch.blif file and writing it on another blif file. It cannot be read again by Yosys,
yosys> read_blif and_latch.blif
1. Executing BLIF frontend.

yosys> abc9 -lut 6
.
.
.
yosys> write_blif and_latch2.blif

3. Executing BLIF backend.

yosys> exit

End of script. Logfile hash: d5187a3525, CPU: user 0.05s system 0.00s, MEM: 13.59 MB peak
Yosys 0.36+61 (git sha1 df65634e0, clang  14.0.0-1ubuntu1.1 -fPIC -Os)
Time spent: 60% 1x abc9_exe (0 sec), 21% 5x read_verilog (0 sec), ...

yosys> read_blif and_latch2.blif
1. Executing BLIF frontend.
ERROR: Found error in internal cell \and_latch.$auto$blifparse.cc:386:parse_blif$1 ($dff) at kernel/rtlil.cc:1041:
  cell $dff $auto$blifparse.cc:386:parse_blif$1
    connect \Q \and_latch^out_FF
    connect \D \and_latch^bAND~0^lAND~1
    connect \CLK \and_latch^clock
  end

This is the behavior I get after running the ABC9 pass on the and_latch.blif. I appreciate it if you let me know that I am running the pass the right way.
I am getting the same error in both situations.
Thank you for your time and concern.

I looked some more into this. The issue boils down to read_blif using coarse-level flip-flop cells ($ff, $dff and similar) to represent the sequential elements from the BLIF input, but write_blif expecting fine-level flip-flop cells ($_FF_, $_DFF_P_, $_DFF_N_ etc.) when writing out the output.

I appreciate it if you let me know that I am running the pass the right way.

I would say you are, and we need to make the change for read_blif to use $_FF_ instead of $ff. ($_FF_ is different from $ff by always being single-bit.)
In the meantime, you might as a workaround use techmap t:$ff which converts $ff to $_FF_.
So e.g. the following sequence of commands does work:
read_blif sv.blif.txt
techmap t:$ff
write_blif sv.blif.txt.save
design -reset
read_blif sv.blif.txt.save

Dear @povik,
I was wondering if your pull request for this issue is ready to be merged into the Master branch.
Thank you for your time.


Version support matrix

Is your feature request related to a problem? Please describe.
This is a documentation request. No problems to report 😄
Describe the solution you'd like
Libraries such as kafka-python have clearly listed Kafka compatibility on their docs. It would be great if https://kafka.js.org/ did this too.
Additional context
It appears as though the various docker-compose files in this repo provide the necessary information and verification for version support, so this might be a quick win?

From the README:

It is compatible with Kafka 0.10+ and offers native support for 0.11 features.

Not sure if it's on the website anywhere though.
It's a little tricky to explain version support when it comes to Kafka. 0.10 is the oldest version that we support, but since the protocol is versioned, we will likely support any future version of Kafka as well. However, newer Kafka versions add new features that we may not support - but whether we support them or not doesn't really have anything to do with supporting the version of Kafka itself.
My only fear with explicitly stating that we support for example Kafka 2.4 is that people will then expect us to support every feature that's in 2.4, which is probably not the case.

However, newer Kafka versions add new features that we may not support

You mean certain KIPs may not be implemented in this module, so it wouldn't be entirely accurate to state specific version supports?
If so, then I understand the rationale in not stating explicitly listing Kafka versions 👍

You mean certain KIPs may not be implemented in this module, so it wouldn't be entirely accurate to state specific version supports?

Yes, exactly. A KIP that makes it into Kafka 2.X may or may not make it into KafkaJS, depending on whether or not we have to make some change on the client side, but KafkaJS is still compatible with Kafka 2.X.


Fixed #29232 - Admin filter change title

https://code.djangoproject.com/ticket/29232
The original PR https://github.com/django/django/pull/9793 is almost done, but @dsanders11 did not finish it. I only rebased the commit on master and fixed the docs, as it is instructed by @carltongibson.
The original author created another unfinished PR https://github.com/django/django/pull/9844 to fix the ticket https://code.djangoproject.com/ticket/29282, which this PR depends on. The ticket is nevertheless fixed, as another PR https://github.com/django/django/pull/10652 took care of it.
So, this PR should be ready to be merged. Please tell me if what I am doing is helpful. Thanks

Hmm, it looks like this PR has flown under the radar somehow and it's not mergeable anymore.
Would you have some time to bring it up-to-date (rebase on master and move the release notes for 3.1)?
Once you've done that, please update the ticket posting a link to the new PR and unchecking the "Patch needs improvement" checkbox.
Thanks!

@bmispelon
Just for info/feedback: a lot of PRs "fly under the radar" unfortunately here.
I think it's more fair to leave a review instead of asking for a rebase, for it only to "keep flying under the radar" then again.

Superseded by #12837.


fight yourself?

literally just a quick easy one line fix so that you don't fastclick yourself

also out of curiosity which hosting service are you using?

heroku

also out of curiosity which hosting service are you using?
heroku

also out of curiosity which hosting service are you using?
heroku

just asking because the hosted version on fighthub seems outdated

oh wait never mind that's just the help cmd


Please Create one for Mojave and Catalina

I have several Mac build techs who would love to participate in getting this up to date for the newer OSes but we would rather participate in an overall community effort than just keep it all in house.

Hi comccoy,
Thanks much for the offer and request.  As of this time, CIS has not released the benchmarks for Mojave and Catalina beyond a draft that is definitely going to change.  Once these have been published we can start building the benchmarks for 10.14 and 10.15

No chance of having a "development" or "Beta" available for customers to start evaluating and/or contributing? We can fork the existing and do our own but would rather work off an actual 10.14/10.15 "official" location.

CIS has released the benchmarks for Mojave and Catalina at https://www.cisecurity.org/cis-benchmarks


main cannot be of type a

When compiling this code:
main = Debug.crash "Todo"

I get:
Detected errors in 1 module.
==================================== ERRORS ====================================

-- BAD MAIN TYPE ---------------------------------------------------------------

The `main` value has an unsupported type.

2| main = Debug.crash "Todo"

I need Html, Svg, or a Program so I have something to render on screen, but you gave me:
    a

I think this should compile, because Debug.crash "Todo" has type a, which can be specialized to type Html msg.

Like the error mentions, there are several valid types for main. While a can be specialized to all 3 of them, it can't know which one it should be, since Elm needs different logic for hooking up a virtual-dom node-as-main vs an html program vs a Platform.Program.
There are two ways to handle this:

arbitrarily picking one of those type to specialize to (would be a little weird)
giving an error with the valid types. Arguable, that error could mention "you can add a type signature", but since you can't create a useful program with a crashing main, that would only ever be useful in this specific case, and be a possible source of confusion in every other case.

Note that adding a type signature for one of those types makes the error go away.

Note that in all 3 cases, the end result is the same: the program crashes as soon as it is opened. So arbitrarily picking one isn't that bad.
On the other hand, if Elm ever gets typeclasses (I hope not, but that's another topic), it would break the assumption that any supertype of Html, Svg, and Program is guaranteed to crash.
At the time I came across this, I just wanted to make sure the rest of my code compiled before getting back to my main function, and figuring out what was going on here was a distraction.
This issue caused me some confusion, because I'm used to Debug.crash "Todo" being a valid placeholder anywhere in the program.
I don't know what the best solution is.

Here are some facts:

This must have been true for a couple years now, and this is the first time someone mentioned it.
It is not clear what would constitute "good behavior" in this case.
You can always say text <| Debug.crash "TODO" or text "TODO" and it will work.

So my plan is to leave it as is. If in discussions on slack or elsewhere, folks find a better trade-off, we should open a new issue outlining that alternative conclusion.


🐛 TextFormBox expands not working

Describe the bug
TextFormBox prop expands not working. But with textbox it works perfectly.
To Reproduce
Steps to reproduce the behavior:
add a simple code
import 'package:fluent_ui/fluent_ui.dart';

class TestePage extends StatefulWidget {
  TestePage({Key? key}) : super(key: key);

  @override
  State<TestePage> createState() => _TestePageState();
}

class _TestePageState extends State<TestePage> {
  @override
  Widget build(BuildContext context) {
    return Container(
      color: Colors.red,
      height: 200,
      child: TextFormBox(
        maxLines: null,
        minLines: null,
        expands: true,
      ),
    );
  }
}

Expected behavior
I expected the TextFormField to occupy all the space in the container
Screenshots

I am checking this now! It seems it's caused by the FormRow widget, used inside of TextFormBox

This bug appears again in the latest version 3.12.0.

@bdlukaa Please reopen this bug. This bug still occurs in the latest version 4.5.0.


[Bug]: Script Extender update failed. Script extender not available for game version v<IP_ADDRESS>3

Operating System
Windows 11
BG3 Mod Manager Version
<IP_ADDRESS>
BG3 Game Version
<IP_ADDRESS>3
Bug Summary
When opening the game using the mod manager, I get the above popup which makes the buttons within the game un-interactable.

Links
No response

I have the same issue,yesterday it was working fine got the new kisses and everything.now i get this message and if it succeeds to open it's like it reverted back

Script Extender needs to be updated due to the latest Hotfix causing a SLEW of issues now due to things being changed around. An update is in the works right now, but I suggest waiting until mods and SE is updated before trying to play with any mods at this time as there has been a huge slew of issues due to this hotfix. You can find a lot of mods that aren't working and other issues on this doc that I found through some research on the Subreddit.
A LOT of things are broken due to the update. So give it a few days and hopefully things will get fixed.

So, interestingly enough, I seem to also have randomly started having this issue as well, but it can't be because of the hotfix for me, as I've been firmly staying on Patch 4 for mod compatibility reasons for awhile now. I'm getting a "No extender version found" error on loading up the game, but for version <IP_ADDRESS>1

I managed to get past that issue but struggled all week with resolving that and other things. Now, in camp clothes my character has no arms, chest, legs - in underwear, I'm completely invisible except for my head... weird.

@prof-m
Hey legend, did you find a way to resolve that error? I am getting the same one and trying to resolve this: https://github.com/Norbyte/bg3se/issues/407
https://www.reddit.com/r/BG3mods/s/VCJwkWGgdb


APT whitelist request for libboost1.60-all-dev

Some significant (non-backwards compatible) changes were made in Boost 1.60 so builds that require it break with earlier versions.
It would be great if 1.60 could be included so these builds can pass.
libboost1.60-dev is found in the debian-sid repo.

Hi,
How can I download boost 1.60 packages from travis ? this is not is the default repository. Can you give me a link to a working .travis.yml ?
Thank you

This didn't end up working because Boost 1.60 has other dependencies.  I had to resort to compiling Boost 1.60 before my code: https://github.com/Malvineous/libgamearchive/blob/master/.travis.yml

Thanks for the answer.
I have a issue with static linking with boost as boost seem to use Travis gcc 4.6 and not the 4.8
I see that boost is compiling with gcc 4.6 on your build too:
https://travis-ci.org/Malvineous/libgamearchive/jobs/135385597#L420
I keep searching for forcing boost to compile with gcc 4.8

Looks complicated.  Maybe you can try uninstalling the default gcc first before installing 4.8 and see if you get symlinks to g++ etc. pointing to the 4.8 version?

Nice, It seems to compile with gcc 4.8
https://travis-ci.org/Ifsttar/I-Simpa/builds/151454828#L1304
I just run that before compiling boost
echo "using gcc : 4.8 : gcc-4.8 ;" > ~/user-config.jam

Glad to hear you got it working!


Bazel test gets killed while using emissary as container runtime executor

Checklist

[x] Double-checked my configuration.
[x] Tested using the latest version.
[x] Used the Emissary executor.

Summary
When the containerRuntimeExecutor is set to emissary, the Argo controller kills the Bazel tests that take more than one minute. Usually, it fails after 40-45 seconds.
If I set the containerRuntimeExecutor to pns, it runs without issues.
Also, I tried to set the activeDeadlineSeconds to the workflow, but it didn't help.
The following code can reproduce the issue.
func TestSleep(t *testing.T) {
	fmt.Println("sleep: going to sleep")
	t.Run("sleep test", func(t *testing.T) {
		for i := 0; i < 120; i++ {
			time.Sleep(time.Second)
		}
		fmt.Println("sleep: awakening...")
	})
	fmt.Println("sleep: finished")
}

What version are you running?
Argo: 3.2.9
Bazel: 3.1.0, 4.2.2, and 5.1.1
Logs from the workflow controller:
FAIL: //test/sleep:go_default_test (see /go/src/github.com/xxx/bazel-cache/execroot/xxx/bazel-out/k8-fastbuild/testlogs/test/sleep/go_default_test/test.log)
INFO: From Testing //test/sleep:go_default_test:
==================== Test output for //test/sleep:go_default_test:
external/bazel_tools/tools/test/test-setup.sh: line 399:  6444 Killed                  ( "${TEST_PATH}" "$@" 2>&1 ) 0<&0
================================================================================

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.

@cre8ivejp can you try v3.3?

@sarabala1979, thank you for your reply.
I tried to upgrade it to 3.3 as you suggested, but the workflow is not being created. When I tried to access the YAML on the console, I got thisCannot read properties of undefined (reading 'workflows.argoproj.io/creator') error.

Also, I checked the argo-controller errors logs:
time="2022-05-27T08:30:49.415Z" level=info msg=healthz age=5m0s err="workflow never reconciled:e2e-workflow-54cnz" instanceID= labelSelector="!workflows.argoproj.io/phase,!workflows.argoproj.io/controller-instanceid" managedNamespace=
time="2022-05-27T08:31:19.371Z" level=info msg="List workflowtaskresults 404"
W0527 08:31:19.372053       1 reflector.go:324] pkg/mod/k8s.io/client-go@v0.23.3/tools/cache/reflector.go:167: failed to list *v1alpha1.WorkflowTaskResult: the server could not find the requested resource (get workflowtaskresults.argoproj.io)
E0527 08:31:19.372079       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.23.3/tools/cache/reflector.go:167: Failed to watch *v1alpha1.WorkflowTaskResult: failed to list *v1alpha1.WorkflowTaskResult: the server could not find the requested resource (get workflowtaskresults.argoproj.io)
time="2022-05-27T08:31:20.869Z" level=info msg="Get leases 200"

I will look at the following documentation to see if I am missing something.
https://argoproj.github.io/argo-workflows/breaking-changes/#upgrading-to-v33

@cre8ivejp are you using  install.yaml  for upgrading? looks like  workflowtaskresults  CRD and RBAC is missing.

@sarabala1979, I am using the helm chart to upgrade it.
I checked the CRD and RBAC, and it seems fine.
The only thing that I did was to change the image tag from 3.2.9 to 3.3.0.
CRD
$ kubectl get crds -n argo
clusterworkflowtemplates.argoproj.io             2021-04-23T09:39:34Z
cronworkflows.argoproj.io                        2021-04-23T09:39:34Z
eventbus.argoproj.io                             2021-04-22T04:04:12Z
eventsources.argoproj.io                         2021-04-22T04:04:12Z
sensors.argoproj.io                              2021-04-22T04:04:12Z
workfloweventbindings.argoproj.io                2021-04-23T09:39:34Z
workflows.argoproj.io                            2021-04-23T09:39:34Z
workflowtasksets.argoproj.io                     2021-11-18T05:40:46Z
workflowtemplates.argoproj.io                    2021-04-23T09:39:34Z

RBAC
$ kubectl get role -n argo
NAME                                  CREATED AT
argo-argo-workflows-workflow          2022-02-03T07:11:21Z

$ kubectl describe role -n argo argo-argo-workflows-workflow
Name:         argo-argo-workflows-workflow
Labels:       <none>
Annotations:  pipecd.dev/application: 88163ff1-a859-440b-9740-21e5adf8fa31
              pipecd.dev/commit-hash: 1cd093983adbfc5d542d2a054f03e4550c07b253
              pipecd.dev/managed-by: piped
              pipecd.dev/original-api-version: rbac.authorization.k8s.io/v1
              pipecd.dev/piped: f19bd56a-c85f-493c-b2ac-7237b7356f8f
              pipecd.dev/resource-key: rbac.authorization.k8s.io/v1:Role:argo:argo-argo-workflows-workflow
              pipecd.dev/variant: primary
PolicyRule:
  Resources                            Non-Resource URLs  Resource Names  Verbs
  ---------                            -----------------  --------------  -----
  pods/exec                            []                 []              [create]
  workflowtaskresults.argoproj.io      []                 []              [create]
  pods                                 []                 []              [get watch patch]
  pods/log                             []                 []              [get watch]
  workflowtasksets.argoproj.io         []                 []              [list watch patch]
  workflowtasksets.argoproj.io/status  []                 []              [patch]

@cre8ivejp can you using argo-argo-workflows-workflow for workflow controller? looks like workflow-controller doesn't have permission to access workflowtasksets
time="2022-05-27T08:31:19.371Z" level=info msg="List workflowtaskresults 404"
W0527 08:31:19.372053       1 reflector.go:324] pkg/mod/k8s.io/client-go@v0.23.3/tools/cache/reflector.go:167: failed to list *v1alpha1.WorkflowTaskResult: the server could not find the requested resource (get workflowtaskresults.argoproj.io)
E0527 08:31:19.372079       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.23.3/tools/cache/reflector.go:167: Failed to watch *v1alpha1.WorkflowTaskResult: failed to list *v1alpha1.WorkflowTaskResult: the server could not find the requested resource (get workflowtaskresults.argoproj.io)

@cre8ivejp Have you solved this issue? We use bazel test and met the exactly same issue. It works on v3.3.8 with k8sapi executor. After we switch to the v3.4.2 and emissary, the test process get killed sometimes
Container logs

main

external/bazel_tools/tools/test/test-setup.sh: line 361:  1162 Killed                  ( if ! ( ps -p $$ &> /dev/null || [ "`pgrep -a -g $$ 2> /dev/
null`" != "" ] ); then
    exit 0;
fi; while ps -p $$ &> /dev/null || [ "`pgrep -a -g $$ 2> /dev/null`" != "" ]; do
    sleep 10;
done; kill_group SIGKILL $childPid )
external/bazel_tools/tools/test/test-setup.sh: line 390:  1161 Killed                  ( "${TEST_PATH}" "$@" 2>&1 ) 0<&0

wait

time="2022-10-27T21:25:44.638Z" level=info msg="Starting Workflow Executor" version=v3.4.2
time="2022-10-27T21:25:44.705Z" level=info msg="Using executor retry strategy" Duration=1s Factor=1.6 Jitter=0.5 Steps=5
time="2022-10-27T21:25:44.705Z" level=info msg="Executor initialized" deadline="2022-10-28 05:24:47 +0000 UTC" ...(omitted).. version="&Version{Version:v3.4.2,BuildDate:2022-10-23T04:49:38Z,GitCommit:c08563baf7bafafe3aeb3284cd3410308603cad4,GitTag:v3.4.2,GitTreeState:clean,GoVersion:go1.18.7,Compiler:gc,Platform:linux/amd64,}"
time="2022-10-27T21:25:44.706Z" level=info msg="Starting deadline monitor"
time="2022-10-27T21:26:55.759Z" level=info msg="Main container completed" error="<nil>"
time="2022-10-27T21:26:55.759Z" level=info msg="No Script output reference in workflow. Capturing script output ignored"
time="2022-10-27T21:26:55.759Z" level=info msg="No output parameters"
time="2022-10-27T21:26:55.759Z" level=info msg="No output artifacts"
time="2022-10-27T21:26:55.760Z" level=info msg="S3 Save path: ...(omitted)...
time="2022-10-27T21:26:55.760Z" level=info msg="Creating minio client using static credentials" endpoint=s3.amazonaws.com
time="2022-10-27T21:26:55.768Z" level=info msg="Saving file to s3" ...(omitted)...
time="2022-10-27T21:26:55.850Z" level=info msg="Save artifact" artifactName=main-logs duration=90.322201ms error="<nil>" ......
time="2022-10-27T21:26:55.850Z" level=info msg="not deleting local artifact" localArtPath=/tmp/argo/outputs/logs/main.log
time="2022-10-27T21:26:55.850Z" level=info msg="Successfully saved file: /tmp/argo/outputs/logs/main.log"
time="2022-10-27T21:26:55.861Z" level=info msg="Create workflowtaskresults 201"
time="2022-10-27T21:26:55.863Z" level=info msg="stopping progress monitor (context done)" error="context canceled"
time="2022-10-27T21:26:55.863Z" level=info msg="Deadline monitor stopped"
time="2022-10-27T21:26:55.863Z" level=info msg="Alloc=6687 TotalAlloc=16220 Sys=23762 NumGC=5 Goroutines=9"


Changed cypress workflow JDK to 21.

Description
[Describe what this change achieves]
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Cypress test failed on known flaky test


[master] fix: dubbo-demo-xml-consumer use correct metadata-report address

What is the purpose of the change
The wrong metadata report address was used, causing the demo project to fail to start.
Brief changelog
Change the metadata report address to the correct local IP address.
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #9511 (cbb64b5) into master (0d9b094) will decrease coverage by 0.89%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #9511      +/-   ##
============================================
- Coverage     60.89%   60.00%   -0.90%
+ Complexity      448      447       -1
============================================
  Files          1100     1100
  Lines         44518    44518
  Branches       6478     6460      -18
============================================
- Hits          27110    26713     -397
- Misses        14443    14852     +409
+ Partials       2965     2953      -12

Impacted Files
Coverage Δ

...ookeeper/ZookeeperDynamicConfigurationFactory.java
0.00% <0.00%> (-66.67%)
:arrow_down:

...gcenter/wrapper/CompositeDynamicConfiguration.java
0.00% <0.00%> (-63.34%)
:arrow_down:

...pport/zookeeper/ZookeeperDynamicConfiguration.java
0.00% <0.00%> (-60.00%)
:arrow_down:

...fig/configcenter/TreePathDynamicConfiguration.java
31.42% <0.00%> (-54.29%)
:arrow_down:

...a/org/apache/dubbo/rpc/filter/AccessLogFilter.java
28.35% <0.00%> (-50.75%)
:arrow_down:

.../dubbo/metadata/report/MetadataReportInstance.java
12.50% <0.00%> (-40.63%)
:arrow_down:

...va/org/apache/dubbo/rpc/support/AccessLogData.java
53.16% <0.00%> (-37.98%)
:arrow_down:

.../configcenter/support/zookeeper/CacheListener.java
0.00% <0.00%> (-32.44%)
:arrow_down:

...ng/transport/dispatcher/all/AllChannelHandler.java
62.06% <0.00%> (-27.59%)
:arrow_down:

...ntext/event/AwaitingNonWebApplicationListener.java
46.96% <0.00%> (-25.76%)
:arrow_down:

... and 48 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0d9b094...cbb64b5. Read the comment docs.

Hi, I have submitted the latest code, please review it.


Login with passport('local') does not work and componentDidMount does not call at all in AWS ec2 server

Hello,
I am using the builderbook boilerplate to create some demo but apparently after deploying it to aws ec2 server, componentDidMount does not work. Also local login with passport does not work. After login, I can see session data in mongodb but req.user is still udefined. However this works well in my localhost.
Also, there are few additional data I'm fetching in componentDidMount which also does not work. This works fine in localhost. Same as above one.
Here's my login code:
`
passport.use(new LocalStrategy(
function(username, password, done) {
/Check if Login mode or Signup mode/
User.findOne({ $and: [
{ email:username, password:md5(password) }
]}, function(err, user) {
if (err) { console.log('1');return done(err); }
if (!user) {
return done(null, false, { message: 'Incorrect credentials.' });
} else {
console.log(user);
if(user.status == 0){
return done(null, false, { message: 'User is not active.' });
}
return done(null, user);
}
});
}
));
passport.serializeUser((user, done) => {
done(null, user.id);
});
passport.deserializeUser((id, done) => {
User.findById(id, User.publicFields(), (err, user) => {
done(err, user);
});
});
server.use(passport.initialize());
server.use(passport.session());
router.post('/login', passport.authenticate('local'), function(req, res) {
res.json(req.user);
});
`
Here's my componentDidMount code:
NProgress.start(); try { 	const additionalDetails = await fetchAdditionalDetails({restaurant_id:this.props.restaurant._id, user_id:this.props.user._id}); 	this.setState({bookmarked: additionalDetails.bookmark, visited: additionalDetails.visited, reviewed: additionalDetails.reviewed, rating_value:additionalDetails.review.rating_value, review_text: additionalDetails.review_text, menu:additionalDetails.menu, certificates: additionalDetails.certificates}); 	NProgress.done(); } catch (err) { 	this.setState({ loading: false, error: err.message || err.toString() }); // eslint-disable-line 	NProgress.done(); }

Login issue solved as I moved from HTTP to HTTPS. But component issue is still not able to resolve.

@harshdoshi999 Unfortunately I can't help since you modified the code.
If you have problem with unmodified code, please share code in public repo and provide detailed steps on how to reproduce the problem.


Complete removal of manifest bootstrapper

Moves reconciliation of resources that need to be applied to the guest
cluster to the hosted cluster config operator and completely removes the
need for a manifest bootstrapper pod.

/lgtm
/hold
Feel free to cancel the hold.

Looks good, but since this is a huge change there is a good chance something gets missed so I'd like to see the conformance tests pass against this before we merge. Would you mind waiting for https://github.com/openshift/release/pull/24556 so we can run them?

/test e2e-conformance

/test e2e-conformance

/test e2e-conformance

This is a new failure mode:
Unable to connect to the server: dial tcp: lookup adc548386b8924f0d958170aab04cb2c-168144485.us-east-1.elb.amazonaws.com on <IP_ADDRESS>:53: no such host

(on the management cluster)
/test e2e-conformance

/test e2e-conformance

/test e2e-conformance
/lgtm

@ironcladlou I added a commit with documentation updates

Awesome, thanks!
/lgtm

conformance test is currently busted
/hold cancel


SQL syntax overhaul: generate syntax fragments

Now that we have #8973, we can generate syntax fragments for each SQL command.
Current help messages are generated from the sql.yacc file into a build artifact (help_messages.go). We subsequently extract the syntax for most SQL commands from this artifact.
We can either generate syntax file fragments alongside the help messages, or figure out a way to directly include the syntax from the sql.yacc grammar file.

@ianjevans was this completed with SQL Experience?


Scope state objects are never destroyed

At least, as far as I can tell. I first noticed this in gh-60.
I'll update with a reproducer soon.

Reproducer:
io ::= import "io.ic"

State ::= struct {
  (copy) ::= (self: *State) -> State {
    io.Print("Copying State now\n")
    return State.{}
  }
  (destroy) ::= (self: *State) -> () {
    io.Print("Destroying State now\n")
  }
}

Demo ::= scope(State) {
  enter ::= jump [state: *State] () {
    io.Print("in enter\n")
    goto ok()
  }
  ok ::= block {
    before ::= () -> () {
      io.Print("in ok.before\n")
    }
    after ::= jump [state: *State] () {
      io.Print("in ok.after\n")
      goto done()
    }
  }
  exit ::= () -> () {
    io.Print("in exit\n")
  }
}

io.Print("before scope\n")
Demo () ok {
  io.Print("during scope\n")
}
io.Print("after scope\n")

Output:
before scope
in enter
in ok.before
during scope
in ok.after
after scope

So it turns out we're not destroying the State struct, but also we're never calling the exit function. I did a little code spelunking and found this suspicious pair of TODOs:
https://github.com/asoffer/Icarus/blob/2cd5779aa733e5153801422685505085cd8de7bc/compiler/emit/yield_stmt.cc#L39-L40

Yeah there's still a fair bit of design work needed here, both for the spec (interaction with labeled yields) and the code emission (do we prefer branching or code duplication)?
At least some of this can be fixed readily. The non-labeled case shouldn't be hard for local yields. Returning out nested blocks isnt bad either.

This is obsoleted by #81


Fix: Optimization and fix of tavern tests

More timeouts added, changed authentication order to avoid 404 responses for long running tests.

Changes in this PR are not relevant anymore, therefore it will be closed.


B 18638 create ww order type

Agility ticket
INT PR

Warnings

:warning:
This PR does not include changes to unit tests, even though it affects app code.

  Generated by :no_entry_sign: dangerJS against 22cdbda1ce2f5859695addb8fc2ec7a25bd342ed


Inject CORS headers even when server-side errors occur

TBW

Could you also make sure to fix all line errors, reported by Checkstyle?

Question)
In #5493, CORS headers weren't injected with .mapHeaders() because the HttpResponse was created from an exception or was aborted. HttpResponse.mapHeaders() can be invoked if an HttpResponse was successfully subscribed by HttpServerHandler.
It looks good to use ServerErrorHandler to inject CORS headers. However, for that, the CORS code is refactored quite a lot. Instead, There is a straightforward way to inject CORS headers in CorsService even under error responses. That is by using ServiceRequestContext.addAdditionalResonseHeaders() and its variants.
ctx.mutateAdditionalResponseHeaders(headers -> {
   setCorsResponseHeaders(ctx, req, headers);
});

I was wondering what is the advantage when using CorsExeptionHandler over using ctx.mutateAdditionalResponseHeaders? Maybe I'm missing something.

I was wondering what is the advantage when using CorsExeptionHandler over using ctx.mutateAdditionalResponseHeaders? Maybe I'm missing something.

It can inject CORS headers even when a decorator throws an exception before CorsService.serve() is even invoked. Do you think it's acceptable not to inject CORS headers in such cases?

Do you think it's acceptable not to inject CORS headers in such cases?

Other frameworks seem to use Filter pattern to inject CORS headers.
https://github.com/micronaut-projects/micronaut-core/blob/02a8378b7dd39c79e2b32313f78232d09caa8a45/http-server/src/main/java/io/micronaut/http/server/cors/CorsFilter.java#L140-L146
That means a former filter does not call the next chain in an error situation, CORS may not be injected.
I thought that we could use the same approach. If the decorator in front intercepts the request and returns an exception, CORS headers may not be necessary.
That said, I think the current approach is also good.

I originally also thought of an approach similar to @ikhoon 's idea mainly due to the ease of implementation.

Do you think it's acceptable not to inject CORS headers in such cases?

I thought of this case as analogous to the success case.
e.g. If a decorator before CorsService returns with a HttpResponse(statusCode) early, then CORS headers won't be set.
Having said this, I agree with the current approach users have to worry less about the order of the CorsService decorator.
I think I'm fine with either approach.

@taisey Gentle ping - I think the general consensus here is that the current approache is good and we can continue cleaning up the PR and get it reviewed by other folks. Could you continue working on this PR?

@trustin Thank you for reaching out to me. If possible, I would like to continue working on this pull request.

@taisey Yes, please! Shall we continue addressing the review comments? We also need to fill the PR description following our commit message template here.

@taisey 👏 👏 👏 👍 👍 👍


Add "PyPI Quickstart" section to README.md

In addition to the PyPI docs, this PR also includes a few other markdown formatting fixes

We've added a few steps outlining how we got validation working from within python, but please let us know if there are any omissions or easier ways of going about it!
I'm also aware that this readme gets pulled in as the help text for the command line executable, where the python docs are probably not so relevant. Let me know if you think we should move this docs to a subfolder and just link from the main readme.

Would be great to update the pypi documentation too for future users who might miss this README if they download the package directly.

Would be great to update the pypi documentation too for future users who might miss this README if they download the package directly.

Good call, done! Also a point in favour of splitting out the python docs is that we could only show those in PyPI...

This is great! Thanks!

Fixed :)


Update Detached mode to Hosted

Signed-off-by: zhujian<EMAIL_ADDRESS>Related issue: https://github.com/stolostron/backlog/issues/20682

/lgtm
/approve


[TVMScript] Fix mismatched dtype of IterVar in T.thread_binding

As reported by the community, the dtype of IterVar in T.thread_binding is not consistent with the dtype of the corresponding value. This PR fixes this issue.

look good to me, Thanks.


Repeat transformation

The original Joy python library has a "higher order transformation" called repeat that applies a set of transformations iteratively to a provided initial shape.
Now that we have some transformations, rotate, translate, scale(I think? Not sure if it's been merged), this seems like it would be a fun feature to have.
I have a clear idea of how to implement this declaratively with List.fold_right and would love to get started on it ASAP :)

@FayCarsons this is quite nice! I like how you have the most amazing ideas and are so enthusiastic, it's motivating... :)
Would love to see how this plays out!

@FayCarsons i feel we need a few more changes before it would make sense to start working on this:

I think we should have a shape type for "a list of shapes"
Representing combinations of transformations themselves

A type for group of shapes
Reason behind a separate type instead of using list shape is that I want to be able to make a new shape from existing shapes, and then apply transformations on them as a whole rather than handling that case separately.
e.g. let's say we have a donut
let donut () = shape_sum (circle 50) (circle 100 |> color "black")

I want to be able to scale that donut the same way I scale other shapes
let () = show [donut |> scale 0.5]

Representing series of transformations
This is so that we can combine transformations and represent slightly more advanced transformations such as "scale this shape by 0.5 then rotate by 45 degrees".
We can probably recommend using currying and something like composition for this, and utilise the function signature of a transformation (which is shape -> shape).
Something like:
(* compose right-to-left -- function on right is applied first *)
let compose_rtl f g x = g (f x)

let () =
  let halve_and_rotate = compose_rtl (scale 0.5) (rotate 30) in
  let rectangles = List.iter 6 (fun _ -> rectangle 50 50) in
  show (List.map halve_and_rotate rectangles)

We should create examples for such use cases if this API looks good enough.
@Sudha247 what do you think?

Indeed, shape group and compose transformation are useful features to have. @FayCarsons are you interested in making PRs for those? I'd recommend making them as separate PRs. It's easier to review and merge that way.

I can absolutely take these on! May need to ask more questions than usual but they both seem doable to me.
In the case of the sort of compound shape type, is there any reason we couldn't just extend the shape type to also include shape list and add cases in match blocks to handle that? Like refactoring translate, for example, to map over a shape list if passed that instead of a single shape.

Fixed by #71.


Error in user guide for session config. Fixes #1330

Description
Fixes issue #1330
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPdocs
[ ] Unit testing, with >80% coverage
[x] User guide updated
[x] Conforms to style guide

Are you sure that filter </CodeIgniter4/incoming/filters.html>_ exists? Wouldn't it just be filter <incoming/filters.html>_?

Are you sure that filter </CodeIgniter4/incoming/filters.html>_ exists? Wouldn't it just be filter <incoming/filters.html>_?

The link before change is: https://bcit-ci.github.io/general/filters. not /CodeIgniter4 directory.
so, add /CodeIgniter4 directory I think ok.
@jim-parry

CodeIgniter4 should not be there. The link is relative to the other docs generated.
Not the end of the world - I can fix it post-merge.

I think I see some of the problem. You did not create a feature branch for this, and your "develop" branch also includes some filtering stuff that belongs in another PR. This PR does not conflict, but it addresses more than one thing. Those other changes need to be excluded from this PR, or you might consider doing PRs in feature branches to prevent this from happening.

each PR should deal with a single issue, so that it can be accepted or rejected in its entirety.
Yes, a PR addressung a different issue should be a separate PR, and we strongly recommend using feature branches to keep the PRs separate from each other.

From the PR description, and comments, it looks like the only file that should be changed as part of this PR is the user guide page for sessions. The other changes are not related.

Okay, I understand. Thank you for your explanation.


⚠ Bofrost.at has degraded performance

In 9de594b, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1773 ms

Resolved: Bofrost.at performance has improved in 32df318.


Add support for scrollok(win, bool)

The scrollok function is part of standard curses, and is supported by both ncurses and pdcurses.

scrollok() support is in now, along with setscrreg() which I believe is required to actually make it useful. They'll be in the 0.4 release once that gets done, meanwhile the latest on github should work just fine.


triagle patter finished

This is the triangle pattern in is own brach

Code is there

Hey I already update the fork, and I can't find the any file on the Patterns Folder,
that prints the pattern requested.
The first time that make a pull request for this piece of code,
I forgot to change the branch and I uploaded the the calculator.py again. :crying_cat_face:


Add MessagePack serialization of HTTPError instances

but... how to make the msgpack library an optional dependency?

We don't want to special case MessagePack, but instead deliver the same functionality as part of https://github.com/falconry/falcon/issues/2023.


Fix little bug in Nginx entrypoint.sh file

Fix little bug in Nginx entrypoint.sh file - without /g script replaced only first PROJECT_NAME occur.

thanks @m4rc1no5


Update packages.

Updated the solution packages to the latest versions.

Please change the project version to 1.4.4.


does not correctly encode/decode a timestamp

See the failing test at https://github.com/bonfire-networks/pointers_ulid/commit/472084ba18b6c876e34ddd9781218efe595a204f

fixed by the rather hardcore means of just using someone else's library and making it meet the existing api.


Template lib

There is currently a single test file, I'd like to split this out going forward.
Also, whether or not to do {{{ }}} vs {{ }} should be discussed, I'm hesitant to always allow triple-mustache, but special characters may make their way in sometimes.

Coverage increased (+6.6%) to 18.24% when pulling 8bff7ddc4442c2e38783ec36ff76035f01baa737 on jiwalker-usgs:template_lib into fd2b5038d3b9bf0b6e8b4a2e7465359390cf3bd1 on USGS-VIZLAB:master.


IconData not working properly after upgrading to SDK 2.2.1

I have just upgraded Flutter SDK from 2.0.5 to 2.2.1 and all the icons of my app that used IconData stop showing the correct icons, they were supposed to be arrow and pins.
IconData(59373, fontFamily: 'MaterialIcons')
IconData(59456, fontFamily: 'MaterialIcons')

I have uses-material-design: true in my pubspect.yaml
However, the others as Icon(Icons.home) work as expected!

It seems like the icons codes have changed actually.
https://api.flutter.dev/flutter/material/Icons-class.html
Not sure why replacing the existing ones 😅


python library dependency conflict

steps to reproduce:

run pip install on attached requirements.txt

  pip install -r requirements.txt

System going to throw an error saying "request" having dependency conflict.

Observation
I looked the code, I see dependency on request was basically added for "snowflake". Hence  do we really need this dependency added for big query?
requirements.txt

@konkodi210 It looks like your requirements.txt file includes dbt-biguery==0.19.1 and apache-beam==2.30.0, which requires 'requests>=2.24.0,<3.0.0'.
You're right that dbt v0.19 requires requests<2.24.0, to match the requirements in the pinned version of snowflake-connector-python:
https://github.com/dbt-labs/dbt/blob/745ae3e64ac03fedb19228b31252fea05eb0ed37/core/setup.py#L77-L78
Why coordinate these dependencies? We want to ensure that pip install dbt, which includes both dbt-bigquery and dbt-snowflake, will be able to succeed. However, we're thinking of formally separating their distribution.
In any case, I have good news. The latest version of dbt requires a newer version of snowflake-connector-python, one that has enabled us to significantly loosen the requests requirement:
https://github.com/dbt-labs/dbt/blob/a2caceb3255d86a7a3db4755e9f0fb347efcb712/core/setup.py#L79-L80
Try updating requirements.txt to:
dbt-bigquery==0.20.0
apache-beam[gcp]==2.30.0

Yes I did and it working.. Thanks for quick response


charter school feeds

do charter schools have a feed pattern like DC public schools?

They don't. I will take a look at your other comments soon but in the mean
time big thank you for all this work!
On Wednesday, December 23, 2015, Kate Rabinowitz<EMAIL_ADDRESS>wrote:

do charter schools have a feed pattern like DC public schools?
—
Reply to this email directly or view it on GitHub
https://github.com/codefordc/school-modernization/issues/8.

--
Tim Lee

No problem, I think we were originally thinking of visualizing the schools by their feed patterns, but if this doesn't apply to charters we might want to consider wards or some other higher level grouping


Problems getting it to work in tab control in IE

I love using this plugin, but for whatever reason, I'm having problems getting this to work in IE in a tab control. I'm even invoking match-height on click of each tab. Any ideas? If you'd like to take a look give me an email that I can email you a link.
Thanks!!

What version of IE? Can you send the link to the email listed on my profile? Thanks

Have you tried calling $.fn.matchHeight.update() when the tab changes?


Misspelling 'Asign' in 'Finish validation' confirmation window

Issue came from UAT
Preconditions:
An extraction job is created, all annotation tasks within it are finished.
Steps

Open validation task as assigned user
Select “Valid” in the bottom of panel with labels
Click “Finish validation” button. A dialog window appears
image

Result:
The label 'Asign' is in the window.
Expected result:
'Assign' should be there.

Fixed in: #190

Released in 1.4.0