config client had been forced to shut down when startup

I have a question when i used spring cloud config client .please give me a hand.
bootstrap.yml
spring:
  application:
    name: api-gateway
  cloud:
    config:
      discovery:
        enabled: true
        service-id: CONFIG-SERVER
      profile: dev
eureka:
  client:
    service-url:
      defaultZone: http://localhost:8080/eureka/
server:
  port: 8083

pom.xml
       <parent>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-parent</artifactId>
		<version>2.0.1.RELEASE</version>
		<relativePath/> <!-- lookup parent from repository -->
	</parent>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
		<java.version>1.8</java.version>
		<spring-cloud.version>Finchley.RC1</spring-cloud.version>
	</properties>

	<dependencies>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-web</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.cloud</groupId>
			<artifactId>spring-cloud-starter-config</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.cloud</groupId>
			<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-devtools</artifactId>
			<scope>runtime</scope>
		</dependency>
		<dependency>
			<groupId>org.projectlombok</groupId>
			<artifactId>lombok</artifactId>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-test</artifactId>
			<scope>test</scope>
		</dependency>
	</dependencies>

It is normal when I start the service to use these dependencies。however ,when i removed spring-boot-starter-web dependency，startup can't start service normally.
        <dependency>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-web</artifactId>
	</dependency>

Here is a complete log of service printing after removal of dependency
2018-05-17 14:24:09.714  INFO 8376 --- [  restartedMain] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at: http://admin-PC:8082/
2018-05-17 14:24:12.725  INFO 8376 --- [  restartedMain] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=client, profiles=[dev], label=master, version=108c820be7f1de376adf4ce46747e1d37d02e370, state=null
2018-05-17 14:24:12.727  INFO 8376 --- [  restartedMain] b.c.PropertySourceBootstrapConfiguration : Located property source: CompositePropertySource {name='configService', propertySources=[MapPropertySource {name='configClient'}, MapPropertySource {name='http://<IP_ADDRESS>:3000/wuzhiqiang/config.git/client-dev.yml'}]}
2018-05-17 14:24:12.738  INFO 8376 --- [  restartedMain] cn.sh.wuzq.PlatformClientApplication     : No active profile set, falling back to default profiles: default
2018-05-17 14:24:12.796  INFO 8376 --- [  restartedMain] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@f7c475a: startup date [Thu May 17 14:24:12 CST 2018]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@10c18d1a
2018-05-17 14:24:15.814  INFO 8376 --- [  restartedMain] o.s.cloud.context.scope.GenericScope     : BeanFactory id=c95d8cbb-5f2c-3d2d-a796-6dcb53d0b05c
2018-05-17 14:24:15.827  INFO 8376 --- [  restartedMain] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2018-05-17 14:24:15.918  INFO 8376 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$3a72d666] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-05-17 14:24:16.037  WARN 8376 --- [  restartedMain] c.n.c.sources.URLConfigurationSource     : No URLs will be polled as dynamic configuration sources.
2018-05-17 14:24:16.037  INFO 8376 --- [  restartedMain] c.n.c.sources.URLConfigurationSource     : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2018-05-17 14:24:16.046  WARN 8376 --- [  restartedMain] c.n.c.sources.URLConfigurationSource     : No URLs will be polled as dynamic configuration sources.
2018-05-17 14:24:16.046  INFO 8376 --- [  restartedMain] c.n.c.sources.URLConfigurationSource     : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2018-05-17 14:24:16.776  INFO 8376 --- [  restartedMain] o.s.b.d.a.OptionalLiveReloadServer       : LiveReload server is running on port 35729
2018-05-17 14:24:17.559  INFO 8376 --- [  restartedMain] com.netflix.discovery.DiscoveryClient    : Shutting down DiscoveryClient ...
2018-05-17 14:24:17.580  INFO 8376 --- [  restartedMain] com.netflix.discovery.DiscoveryClient    : Completed shut down of DiscoveryClient
2018-05-17 14:24:17.721  INFO 8376 --- [  restartedMain] o.s.j.e.a.AnnotationMBeanExporter        : Registering beans for JMX exposure on startup
2018-05-17 14:24:17.739  INFO 8376 --- [  restartedMain] o.s.j.e.a.AnnotationMBeanExporter        : Bean with name 'configurationPropertiesRebinder' has been autodetected for JMX exposure
2018-05-17 14:24:17.741  INFO 8376 --- [  restartedMain] o.s.j.e.a.AnnotationMBeanExporter        : Bean with name 'environmentManager' has been autodetected for JMX exposure
2018-05-17 14:24:17.743  INFO 8376 --- [  restartedMain] o.s.j.e.a.AnnotationMBeanExporter        : Bean with name 'refreshScope' has been autodetected for JMX exposure
2018-05-17 14:24:17.748  INFO 8376 --- [  restartedMain] o.s.j.e.a.AnnotationMBeanExporter        : Located managed bean 'environmentManager': registering with JMX server as MBean [org.springframework.cloud.context.environment:name=environmentManager,type=EnvironmentManager]
2018-05-17 14:24:17.782  INFO 8376 --- [  restartedMain] o.s.j.e.a.AnnotationMBeanExporter        : Located managed bean 'refreshScope': registering with JMX server as MBean [org.springframework.cloud.context.scope.refresh:name=refreshScope,type=RefreshScope]
2018-05-17 14:24:17.816  INFO 8376 --- [  restartedMain] o.s.j.e.a.AnnotationMBeanExporter        : Located managed bean 'configurationPropertiesRebinder': registering with JMX server as MBean [org.springframework.cloud.context.properties:name=configurationPropertiesRebinder,context=f7c475a,type=ConfigurationPropertiesRebinder]
2018-05-17 14:24:17.863  INFO 8376 --- [  restartedMain] o.s.c.support.DefaultLifecycleProcessor  : Starting beans in phase 0
2018-05-17 14:24:17.872  INFO 8376 --- [  restartedMain] o.s.c.n.eureka.InstanceInfoFactory       : Setting initial instance status as: STARTING
2018-05-17 14:24:17.898  INFO 8376 --- [  restartedMain] com.netflix.discovery.DiscoveryClient    : Initializing Eureka in region us-east-1
2018-05-17 14:24:17.927  INFO 8376 --- [  restartedMain] c.n.d.provider.DiscoveryJerseyProvider   : Using JSON encoding codec LegacyJacksonJson
2018-05-17 14:24:17.927  INFO 8376 --- [  restartedMain] c.n.d.provider.DiscoveryJerseyProvider   : Using JSON decoding codec LegacyJacksonJson
2018-05-17 14:24:17.927  INFO 8376 --- [  restartedMain] c.n.d.provider.DiscoveryJerseyProvider   : Using XML encoding codec XStreamXml
2018-05-17 14:24:17.927  INFO 8376 --- [  restartedMain] c.n.d.provider.DiscoveryJerseyProvider   : Using XML decoding codec XStreamXml
2018-05-17 14:24:18.186  INFO 8376 --- [  restartedMain] c.n.d.s.r.aws.ConfigClusterResolver      : Resolving eureka endpoints via configuration
2018-05-17 14:24:18.189  INFO 8376 --- [  restartedMain] com.netflix.discovery.DiscoveryClient    : Disable delta property : false
2018-05-17 14:24:18.189  INFO 8376 --- [  restartedMain] com.netflix.discovery.DiscoveryClient    : Single vip registry refresh property : null
2018-05-17 14:24:18.189  INFO 8376 --- [  restartedMain] com.netflix.discovery.DiscoveryClient    : Force full registry fetch : false
2018-05-17 14:24:18.189  INFO 8376 --- [  restartedMain] com.netflix.discovery.DiscoveryClient    : Application is null : false
2018-05-17 14:24:18.190  INFO 8376 --- [  restartedMain] com.netflix.discovery.DiscoveryClient    : Registered Applications size is zero : true
2018-05-17 14:24:18.190  INFO 8376 --- [  restartedMain] com.netflix.discovery.DiscoveryClient    : Application version is -1: true
2018-05-17 14:24:18.190  INFO 8376 --- [  restartedMain] com.netflix.discovery.DiscoveryClient    : Getting all instance registry info from the eureka server
2018-05-17 14:24:18.202  INFO 8376 --- [  restartedMain] com.netflix.discovery.DiscoveryClient    : The response status is 200
2018-05-17 14:24:18.207  INFO 8376 --- [  restartedMain] com.netflix.discovery.DiscoveryClient    : Starting heartbeat executor: renew interval is: 30
2018-05-17 14:24:18.212  INFO 8376 --- [  restartedMain] c.n.discovery.InstanceInfoReplicator     : InstanceInfoReplicator onDemand update allowed rate per min is 4
2018-05-17 14:24:18.215  INFO 8376 --- [  restartedMain] com.netflix.discovery.DiscoveryClient    : Discovery Client initialized at timestamp<PHONE_NUMBER>215 with initial instances count: 2
2018-05-17 14:24:18.216  INFO 8376 --- [  restartedMain] o.s.c.n.e.s.EurekaServiceRegistry        : Registering application client with eureka with status UP
2018-05-17 14:24:18.218  INFO 8376 --- [  restartedMain] com.netflix.discovery.DiscoveryClient    : Saw local status change event StatusChangeEvent [timestamp=1526538258218, current=UP, previous=STARTING]
2018-05-17 14:24:18.221  INFO 8376 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_CLIENT/admin-PC:client:8083: registering service...
2018-05-17 14:24:18.257  INFO 8376 --- [  restartedMain] cn.sh.wuzq.PlatformClientApplication     : Started PlatformClientApplication in 14.835 seconds (JVM running for 16.361)
2018-05-17 14:24:18.277  INFO 8376 --- [      Thread-11] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@f7c475a: startup date [Thu May 17 14:24:12 CST 2018]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@10c18d1a
2018-05-17 14:24:18.279  INFO 8376 --- [      Thread-11] o.s.c.n.e.s.EurekaServiceRegistry        : Unregistering application client with eureka with status DOWN
2018-05-17 14:24:18.279  WARN 8376 --- [      Thread-11] com.netflix.discovery.DiscoveryClient    : Saw local status change event StatusChangeEvent [timestamp=1526538258279, current=DOWN, previous=UP]
2018-05-17 14:24:18.281  INFO 8376 --- [      Thread-11] o.s.c.support.DefaultLifecycleProcessor  : Stopping beans in phase 0
2018-05-17 14:24:18.289  INFO 8376 --- [      Thread-11] com.netflix.discovery.DiscoveryClient    : Shutting down DiscoveryClient ...
2018-05-17 14:24:18.315  INFO 8376 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_CLIENT/admin-PC:client:8083 - registration status: 204
2018-05-17 14:24:18.316  INFO 8376 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_CLIENT/admin-PC:client:8083: registering service...
2018-05-17 14:24:18.327  INFO 8376 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_CLIENT/admin-PC:client:8083 - registration status: 204
2018-05-17 14:24:18.329  INFO 8376 --- [      Thread-11] com.netflix.discovery.DiscoveryClient    : Unregistering ...
2018-05-17 14:24:18.350  INFO 8376 --- [      Thread-11] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_CLIENT/admin-PC:client:8083 - deregister  status: 200
2018-05-17 14:24:18.362  INFO 8376 --- [      Thread-11] com.netflix.discovery.DiscoveryClient    : Completed shut down of DiscoveryClient
2018-05-17 14:24:18.367  INFO 8376 --- [      Thread-11] o.s.j.e.a.AnnotationMBeanExporter        : Unregistering JMX-exposed beans on shutdown
2018-05-17 14:24:18.370  INFO 8376 --- [      Thread-11] o.s.j.e.a.AnnotationMBeanExporter        : Unregistering JMX-exposed beans
Disconnected from the target VM, address: '<IP_ADDRESS>:65242', transport: 'socket'

Process finished with exit code 0

I am very confused. Do I need to add  spring-boot-starter-web dependency on the eureka client and config server side?

Please learn how to format code on GitHub.
Based on the information you have provided there isnt much we can do.  The complete app in a Git repo or attached as a zip would be more useful.

@ryanjbaxter Thanks a lot for helping me. My problem has been updated. Please recheck it.

If you dont have spring-boot-starter-web then your app is not a web app, so if there is nothing keeping your app running it is just going to start run the main method and then stop.  I think that is what is happening here.  It is not a requirement to have spring-boot-starter-web, but it will keep that app running until you shut it down because the web server is running.

After adding spring-boot-starter-tomcat dependency it worked for me.

yeah,now i had got it,when i asked the question,i am a freshman, that adding spring-boot-stater-tomcat dependency could worked.


Mention the need for specifying platform in bazel docs

See this PR for context

this is now covered in https://docs.tilt.dev/integrating_bazel_with_tilt.html


”Șoimuș” is listed in the drop-down menu

Description:
"Șoimuș" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Șoimuș" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Șoimuș, HUNEDOARA".


Add compatibility info for st (simple terminal)

st (simple terminal) supports the OSC 52 sequence. See: https://git.suckless.org/st/file/st.c.html#l1895
It used to be enabled by default, but the maintainers changed it to be disabled by default for security purposes. See: https://git.suckless.org/st/commit/a2a704492b9f4d2408d180f7aeeacf4c789a1d67.html
It can be enabled by setting allowwindowops to 1.

Thanks!


dts: Add proper handling for boolean properties

We've never handled boolean properties well, if we had a boolean that
existed we'd generate a define of 'True' and if the boolean didn't exist
than nothing would be generated.  So there was no easy way to tell that
the boolean wasn't defined.
Now if we mark a property as boolean in the yaml, we will generate a
define for it regardless if it exists or not.  If it exists we'll
set the value to 1, and if it doesn't to 0.
Fixes #8376
Signed-off-by: Kumar Gala<EMAIL_ADDRESS>

I had tried add basic RS485 support like what linux did in PR #8354, but I can't sloved the dts in that times.

I want has a boolean type node, so I write PR #8401. Now this PR is better.
There maybe some informations in dts node are optional, the drivers can use a default value if that is not defined. But the dts do not generate anything if a node doesn't exist. And I try open PR #8463 to add default value feature.

But the default value feature is not accepted, @erwango do not agree this idea.
Without default value, we should deal with more '#ifndef' in this way:
#ifndef CONFIG_UART_1_RTS_DELAY_1
#define CONFIG_UART_1_RTS_DELAY_1                              0x00
#endif

#ifndef CONFIG_UART_2_RTS_DELAY_1
#define CONFIG_UART_2_RTS_DELAY_2                              0x00
#endif
...

I think we should discuss more about this.

@qianfan-Zhao

But the default value feature is not accepted, @erwango do not agree this idea.

Indeed, I was not in line with generating default value that could be other than 'False' and hence defining values in yaml rather than dts.
Case is different here since since we're not using yaml to configure anything in that case.
Though, we should take care that generated boolean symbols will be always defined now, so they should not be used in #ifdef #ifndef preprocessor statements. It seems this is not the case today, so we're good.


Prepare for ember-modifier v4

Follows ember-modifier v4 migration guide
to remove deprecations added in v3.2.0 and makes addon future ready.
This commit adds useWorkspaces to ember-try config
so that proper version of ember-modifier is used
across the monorepo.
This is needed so that ember-modifier-X ember-try scenarios
resolve to the same version of ember-modifier both in the
test-app and addon workspaces.
ember-classic scenario should not use useWorkspaces flag as only test-app need to get classic flags.
closes #86

@miguelcobain rebased after #81 and #85 got merged


Support multiple static initializers

There can be more than one static initialiser in a class. Right now, CK understands both, but gives them the same name: "(initializer)". It should give different names, e.g., (initializer 1), (initializer 2), ...

Done!


Fix script checking logic

We broke it in #3052 (the only reason for which is a delayed 3.6 C# release), but it has to be restored. Exact release/hardfork/other details are to be decided based on 3.6 progress.

Can be fixed by #3056, ok.


Typo in lib/db.js causes custom connection string to be ignored.

Line 13, conenction_string should read connection_string.

So what happened to this issue. It took me some time to locate the culprit for the weird connection bug to this line. I will try and make a pull request for this.

Oh it already exists #34

fixed! sorry it took so long!


Ability to format inline functions with dependencies through stdin

(Please excuse my lack of proper internals parlance, and I apologise that I am probably mixing a few issues here.)
I often only format selections of a file by passing these to rustfmt by stdin and replacing the selection with the stdout that comes back. This works great for top-level functions that are not part of an implentation, but not so good for functions that have dependencies such as self. In this case, rustfmt trips up because &self is missing a type definition.
Given this code:
impl ToJson for WebDriverError {
    fn to_json(&self) -> Json {
        let mut data = BTreeMap::new();
        data.insert("error".to_string(), self.status_code().to_json());
        data.insert("message".to_string(), self.message.to_json());
        Json::Object(data)
    }
}

Selecting lines 2 through 7 (the to_json function) and passing it through rustfmt yields the following error:
error: expected one of `::` or `:`, found `)`
 --> stdin:1:21
  |rustfmt: exit 2
|
1 |     fn to_json(&self) -> Json {
  |                     ^

If I’m formatting one such function in the middle of a long impl block, I often find myself adding a  impl F { … } to wrap the function so that I will not have to format potentially several hundred lines of code.
What is also problematic is that selecting the inner function deletes the selection because the stdout is nothing. It would be less annoying if stdout was equal to stdin in so the selection could be preserved whenever there is an error.

In other cases where the function is syntactically correct and without dependencies, rustfmt disregards the indentation of the lines because it thinks it is a top-level function. When rustfmt runs in stdin mode, it should preserve this whitespace:
impl Foo {
    pub fn bar() {
        let incorrectly_indented =
            42;
    }
}

Selecting lines 2 through 4 in the above example will result in this:
impl Foo {
pub fn bar() {
    let incorrectly_indented = 42;
}

}

Whereas I would expect this to happen:
impl Foo {
    pub fn bar() {
        let incorrectly_indented = 42;
    }
}

Let me know if I should break this up into multiple issues. Because I’m unfamiliar with the rustfmt terminology, I understand some of this might be replicated in other issues or be available as config options.

SO, the problem here is that rustfmt uses the Rust parser and that expects to start at the module level, so anything you pass it must be an item that can appear in a module. Passing a method doesn't work because they must be inside an impl.
IDEs have a similar problem when you try to reformat a selection, so it is something I very much want to solve. There are a few solutions:

round up the selection to the nearest module-level AST node, in this case an impl. The downside of this is that it can include a lot of code - you might want to format a one line expression and end up with a 1000 line impl.
be smarter about how we use the parser. We'd have to pass info to Rustfmt saying what context to start the parser in, e.g., "expect an item inside an impl" rather than always defaulting to "expect an item inside a module". I'm not sure how you'd specify or compute that info, and you'd still need to 'round up' to an AST node, but at least the AST node could be smaller.
use a more flexible parser than the Rust one - this would be a lot of work

On top of any of these you'd still need to solve the 'starting indent' problem, but that at least should be very easy.

I would’ve guessed this to be a complicated issue, and this is why I have deliberately delayed filing it until rustfmt achieved some maturity (-:
I suspect the easiest thing I can do here as a user is to write a shell script that places anything I pass by stdin that begins with fn inside an impl X { … }, stripping that on its way out.
About the two other issues, should I file separate issues for these?

On encountering an error in stdin mode, to not have it replace the selection with nothing
In stdin mode (I guess?), preserve whitespace or indentation level at the beginning of each line

Despite these issues, I want to use this opportunity to say how much I appreciate the work you and others have put into rustfmt. It makes it an enjoyable experience to work with Rust in editors that rely heavily on integrating with the surrounding system.

It's probably worth filing an issue for the error on stdin stuff. The whitespace thing is tied very closely to knowing the context for parsing so can just be dealt with here.
Thanks, I'm glad its helpful!

Triage: they both seems to be fixed on the current master.

Both issues I described above still reproduces on master at the time of writing this:
error: expected one of `::` or `:`, found `)`
 --> |rustfmt: exit 2
stdin:1:21
  |
1 |     fn to_json(&self) -> Json {
  |                     ^

impl Foo {
pub fn bar() {
    let incorrectly_indented = 42;
}

}

@andreastt  Are you using rustfmt-nightly? I could not reproduce the issues with it. Could you please try with it?

I used cargo install -f from 5b1a84c on the master branch:
% git rev-parse master
5b1a84cc1e97d865e87df5a4700d668ddf962c5d
% cargo install -f
  Installing rustfmt v0.7.1 (file:///home/ato/src/rustfmt)
    Finished release [optimized] target(s) in 0.0 secs
   Replacing /home/ato/.cargo/bin/rustfmt
   Replacing /home/ato/.cargo/bin/cargo-fmt
% rustfmt --version
0.7.1 (5b1a84c)

If I try to install rustfmt-nightly through cargo install -f rustfmt-nightly, the binary isn’t executable:
% cargo install -f rustfmt-nightly
% rustfmt --version
rustfmt: error while loading shared libraries: libsyntax-1e6936bb0e2e42c3.so: cannot open shared object file: No such file or directory

Using rustfmt built from 5b1a84c:
% cat <<EOF | rustfmt
>     fn to_json(&self) -> Json {
>         let mut data = BTreeMap::new();
>         data.insert("error".to_string(), self.status_code().to_json());
>         data.insert("message".to_string(), self.message.to_json());
>         Json::Object(data)
>     }
>
> EOF
error: expected one of `::` or `:`, found `)`
 --> stdin:1:21
  |
1 |     fn to_json(&self) -> Json {
  |                     ^

@andreastt 5b1a84c  is pretty ancient. To get rustfmt-nightly running, see the last tip here https://github.com/rust-lang-nursery/rustfmt#tips

It appears that my upstream remote was https://github.com/nrc/rustfmt.git (and not https://github.com/rust-lang-nursery/rustfmt.git) which explains why 5b1a84c was at the HEAD of master after I pulled.
However, using the nightly rustc, I’m not able to start rustfmt:
% rustfmt
rustfmt: error while loading shared libraries: libsyntax-aa7bda3744948ec2.so: cannot open shared object file: No such file or directory

@andreastt you want the last tip, here - https://github.com/rust-lang-nursery/rustfmt#tips

@nrc By modifying the LD_LIBRARY_PATH I was able to get it running, but the result is still the same:
% git rev-parse master
f0cc060b4147ad7cfc6666dc1986adb213a0ceaf
% LD_LIBRARY_PATH=$(rustc --print sysroot)/lib:$LD_LIBRARY_PATH ./target/debug/rustfmt --version
0.2.1-nightly (f0cc060 2017-07-27)
% LD_LIBRARY_PATH=$(rustc --print sysroot)/lib:$LD_LIBRARY_PATH ./target/debug/rustfmt
    fn to_json(&self) -> Json {
        let mut data = BTreeMap::new();
        data.insert("error".to_string(), self.status_code().to_json());
        data.insert("message".to_string(), self.message.to_json());
        Json::Object(data)
    }
error: expected one of `::` or `:`, found `)`
 --> stdin:1:21
  |
1 |     fn to_json(&self) -> Json {
  |                     ^ expected one of `::` or `:` here

% LD_LIBRARY_PATH=$(rustc --print sysroot)/lib:$LD_LIBRARY_PATH ./target/debug/rustfmt
    pub fn bar() {
        let incorrectly_indented =
            42;
    }
pub fn bar() {
    let incorrectly_indented = 42;
}

Glad you got it working. I would actually expect to still see these issues, at least the way you are testing. If you format the whole file (including the impl), but just select the to_json function using the file_lines option, then you should get a decent reformatting (though not perfect, I think we will round up to the impl, though I might be wrong). I realise this is not quite what you want, but I think it is perhaps close enough? We can certainly improve the support for formatting selections too.

Let me explain my use case a bit better. The reason I want rustfmt to (1) preserve the default whitespace when formatting a selection of indented code and (2) be able to format selections that by themselves are invalid without an encasing impl F { … }, is that I want to pass a selection from my editor and pass it through by stdin to rustfmt. I then receive the stdout from rustfmt and replace the selection.
Quite often you have a long implementation where you made a change to a single function. In this case you don’t want to enforce a code style on the rest of the file you didn’t change, but you want the changed code to be conforming to the rustfmt coding style.

That is pretty much the use-case for the 'file-lines' feature existing and is how we do it in the RLS (although not using stdin/out directly). The one thing we don't really aim to do is 'learn' the indentation from the surrounding file - we assume you've indented the surrounding file properly (so we'll be indented the right amount for the selection, without reformatting the rest of the file).


noita-proxy-linux  file in the release doesn't seem to have any file extension or instruction to use

Is this file meant to be some sort of archive like a zip?
Or some other script to be run in a linux env?

It's just a linux binary.

It now has .86_64 extension in the new release, so it should be fine. Closing as completed.


Update info links under Additional Information

Please remove placeholder ardentmc link and add the following links:
US Food and Drug Administration - http://www.fda.gov
Open FDA API - https://open.fda.gov/

Done...


[1.1.x] Version-insensitive type activation on .NET Framework

See https://github.com/aspnet/DataProtection/issues/235

This patch is approved for 1.1.x. Please follow the patch creation instructions that were sent by email, and submit a PR to the correct branch.

Resolved in https://github.com/aspnet/DataProtection/pull/269.
This fix will be available in the 1.1.3 patch of DataProtection.


Create MCQ (Multiple Choice Question) Builder.md

📝 Description
Add a brief description.
💣 Is this a breaking change (Yes/No):

[ ] Yes
[x] No

🚧 How to migrate?
Don't need.
📝 Additional Information
lol

Dear user, thank you for your contribution. Hacktoberfest has not yet begun, we will hold off on your pull/merge requests until October so they can count! Additionally, ILLA offers various gifts that you can earn by contributing to the AI Agent or ILLA App and accumulating points. For more information about the event, please visit: https://www.illacloud.com/hacktoberfest2023.

@wenzhuo2022 Ok


Next WP version will break Kirki

As soon as this patch is merged we're gonna have an issue with panels & sections: https://core.trac.wordpress.org/ticket/34391
Need to get that resolved before next WP is released

Tested and it seems to be ok, nothing seems to break.


Make the handler being pluggable via settings

The following settings will be included in the settings are going to define the handlers that we want to be available in the importer:
ACTIVE_HANDLERS = os.getenv('ACTIVE_HANDLERS', [
    'importer.handlers.gpkg.handler.GPKGFileHandler',
    'importer.handlers.geojson.handler.GeoJsonFileHandler',
    'importer.handlers.shapefile.handler.ShapeFileHandler'
])

Internally the importer will automatically register the handler:
if getattr(settings, 'ACTIVE_HANDLERS', []):
    _handlers = [import_string(module_path) for module_path in settings.ACTIVE_HANDLERS]
    registered = list(map(lambda item: item.register(), _handlers))
    logger.info(f"The following handlers have been registered: {registered}")

Looks good? @giohappy @etj

@mattiagiupponi I would rename the settings to IMPORTER_HANDLERS


paddlepaddle deepspeech2 on python3

Currently paddlepaddle deepspeech2 is supported only in python2.7.  is it also supported in python 3.

Python3 is not supported at this time, because some third-party libraries used in deepspeech2 only support python2.

@lfchener which is the main technical reason why Python3 is not supported right no? Currently PaddlePaddle supports Python 3.7.
Thank you.

@lfchener  thanks for your reply. It will be very nice if you please let us know when python3 version will be available.

Here a version of DeepSpeech with Python 3.7 support for CPU use only (inference).

Here a version of DeepSpeech with Python 3.7 support for CPU use only (inference).

@lfchener would be awesome to have this integrated in the next releases!!! kudos to @shoegazerstella 🥇

Thanks a lot everyone for publishing the cpu version in python3.7. Also it will be very nice if gpu version in python3 be published soon. I am using paddlepaddle deepspeech2 in gpu in python2.7.

@lfchener , @shoegazerstella
Can you please let us know when the gpu version of paddlepaddle DeepSpeech for python3 will be published. Thanks

@nayanhalder I have added a feature request here https://github.com/shoegazerstella/DeepSpeech_CPU_py37/issues/1

@lfchener , @shoegazerstella
Can you please let us know when the gpu version of paddlepaddle DeepSpeech for python3 will be published. Thanks

will coming soon~


Added plugin for DBT CLI

Overview
Added support for using 1Password to supply credentials when connecting to Redshift and other sources via DBT CLI.
DBT Redshift prefers password-based authentication with passwords stored in plain text file in project root folder or in ~/.DBT/profiles.yml file. This plugin removes the need for storing DB passwords in plain text and injects them via env variables as and when required. This also works with other data sources in DBT that allow auth via password.
Type of change

[x] Created a new plugin
[ ] Improved an existing plugin
[ ] Fixed a bug in an existing plugin
[ ] Improved contributor utilities or experience

Related Issue(s)
NA
Description
DBT is a popular data transformation tool. It allows you to connect to multiple data sources (data warehouses and data lakes) to run SQL queries for analytics. Since it can connect to multiple sources, connection setting varies for each source, and it is encapsulated in profiles.yml file.
We cannot use a single shell plugin to serve all sources as connection schema varies by source. This plugin attempts to provide a way to authenticate to AWS Redshift and other sources that support password-based authentication.
How To Test (Redshift)
Pre-requisites

Redshift Cluster. (If you don't have redshift cluster, postgres db also works)
Install dbt-core and dbt-redshift (dbt-postgres if using postgres) packages. Guide
Create a new entry in your 1Password with credentials for connecting to Redshift. Fill host, port, database, user and password. Type can be 'postgres'.
Create new project or clone existing dbt sample project
In the projects.yml file add the content below.

config:
1pass_redshift:
  target: dev
  outputs:
    dev:
      type: redshift
      host: "{{ env_var('DBT_HOST') }}"
      port: "{{ env_var('DBT_PORT') | as_number }}"
      user: "{{ env_var('DBT_USER') }}"
      pass: "{{ env_var('DBT_PASSWORD') }}"
      dbname: "{{ env_var('DBT_DB') }}"
      schema: "some_schema_name"

Run op init dbt and use the item created in step 3.
You can now run dbt commands to connect to Redshift without having passwords exposed in the profiles.yml file.

Run log

<user_name>@ test-folder % dbt run --select model_1 model_2 --profile 1pass_redshift --target dev
###################################################################################################
# WARNING: 'dbt' is not from the official registry.                                       #
# Only proceed if you are the developer of 'dbt'.                                         #
# Otherwise, delete the file at /Users/<user_name>/.config/op/plugins/local/dbt. #
###################################################################################################
13:51:41  Running with dbt=1.5.2
13:51:43  Found 2 models, 0 tests, 0 snapshots, 0 analyses, 572 macros, 0 operations, 0 seed files, 0 sources, 0 exposures, 0 metrics
13:51:43
13:52:33  Concurrency: 1 threads (target='dev')
13:52:33
13:52:33  1 of 2 START sql table model some_schema_name.model_1 ........................................... [RUN]
13:52:42  1 of 2 OK created sql table model some_schema_name.model_1 ...................................... [SELECT in 8.65s]
13:52:42  2 of 2 START sql table model some_schema_name.model_2 ........................................................ [RUN]
13:52:58  2 of 2 OK created sql table model some_schema_name.model_2 ................................................... [SELECT in 16.78s]
13:53:02
13:53:02  Finished running 2 table models in 0 hours 1 minutes and 18.38 seconds (78.38s).
13:53:02
13:53:02  Completed successfully
13:53:02
13:53:02  Done. PASS=2 WARN=0 ERROR=0 SKIP=0 TOTAL=2

Testing this plugin is an involved process as we need to have DB, some data in it along with DBT project setup to fully run it.
Supported Data Sources via DBT

AWS Redshift
Postgres
Apache Spark (ODBC, HTTP connections)
Databricks
Snowflake (Username-password auth only)
Starbust/Trino (LDAP)
Azure Synapse and Fabric Synapse
Dremio

We cover password based auth for all data platforms supported by DBT except BigQuery via this extension. Naming may be little different for few sources, like in Databricks we configure token in password field.
References

AWS workshop for DBT
dbt-core GitHub repo
dbt-redshift GitHub repo

PS: Sharing this plugin via GitHub for hackathon as I use this some form of this daily for work. Not endorsing DBT, AWS Redshift or my employer with these changes.
Additional information

[x] Check this box if this is a Hashnode Hackathon submission

Hello! Don't forget to also write an accompanying blog post on Hashnode with the tags 1Password and BuildWith1Password (not just putting #1Password in the text - but use the Hashnode tags in the CMS. :)
The full instructions are here.

@techcraver & @arunsathiya Thank you for promptly assigning reviewers and correct tags. I have updated the plugin to expand from Redshift to almost all major data platforms for password auth by DBT by making few fields optional.
I use Redshift version of this for my daily workflow. Regardless of hackathon, I hope you are fine with this contribution going to prod?
I have only tested in Redshift, but verified via docs that it can expand to other sources as well.

Are there any plans to support dynamically choosing 1password item say based on arguments from CLI in shell plugin? I currently create multiple empty folders say for dev and prod connections to achieve this. In the dbt CLI, one can pass profile and target as args for selecting connection.
Combining this with allowing multiple connection templates for a single plugin will make the plugin usage very elegant. Happy to contribute PRs if something similar is on our roadmap.

I have updated the plugin to expand from Redshift to almost all major data platforms for password auth by DBT by making few fields optional.

Love it!

I use Redshift version of this for my daily workflow. Regardless of hackathon, I hope you are fine with this contribution going to prod?

Very much, thank you for this valuable contribution @guru-pochineni!
We'll review this work soon, but please be informed that given that the functionality of the plugin has increased, it may take some time to review it in detail.

Are there any plans to support dynamically choosing 1password item say based on arguments from CLI in shell plugin? I currently create multiple empty folders say for dev and prod connections to achieve this. In the dbt CLI, one can pass profile and target as args for selecting connection.

Could you share some examples here? What arguments are different between the platforms (Redshift and others)? And, how do you envision the 1Password item selection to happen -- at the time of command usage or something else?
At this time though, what's possible is op plugin clear dbt and the next run of dbt or op plugin init dbt will prompt for choosing the 1Password item again.

This is so cool @guru-pochineni ! I come from the data world and I know all my dbt using friends are going to LOOVE this.

hey @guru-pochineni - one note for your Overview section. The branding/capitalization on dbt. It's never DBT - always 'dbt'. :)


invalidateQueries is not working

My invalidateQueries is not working in mutations. This is my sample code:
import 'package:cached_query_flutter/cached_query_flutter.dart';
import 'package:dio/dio.dart';
import 'package:flutter/material.dart';
import 'package:to_do_app/models/todo.dart';

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

  @override
  State<TodosListScreen> createState() => _TodoListScreenState();
}

class _TodoListScreenState extends State<TodosListScreen> {
  @override
  Widget build(BuildContext context) {
    final query = Query<List<Todo>>(
      queryFn: () async =>
          ((await Dio().get("http://localhost:3000/todos")).data as List)
              .map((e) => Todo.fromJson(e))
              .toList(),
      key: ["todos"],
    );

    final toggleTodoMutation = Mutation<dynamic, Todo>(
      invalidateQueries: ['todos'],
      refetchQueries: ['todos'],
      queryFn: (todo) async => ((await Dio()
              .patch("http://localhost:3000/todos/${todo.id}", data: todo))
          .data),
    );

    return QueryBuilder(
      query: query,
      builder: (BuildContext context, QueryState<Object?> state) {
        var todos = state.data as List<Todo>;
        return Column(
          children: [
            if (state.data != null)
              Expanded(
                child: ListView.builder(
                  itemCount: (todos).length,
                  itemBuilder: (context, index) => Row(
                    children: [
                      Expanded(
                        child: CheckboxListTile(
                          value: (todos)[index].completed,
                          onChanged: (newValue) async {
                            Todo todo = (todos)[index];
                            await toggleTodoMutation.mutate(
                                todo.copyWith(completed: !todo.completed!));
                          },
                        ),
                      ),
                      Text((todos)[index].body!),
                    ],
                  ),
                ),
              ),
          ],
        );
      },
    );
  }
}

only when I add
onSuccess: ((res, arg) => {query.refetch()})
to
toggleTodoMutation
it is working.

Hi @iamhaaamed
At the moment there is no fuzzy matching on keys.
Your key in your query is not quite the same as the key you are trying to invalidate. The key in the query is a List ["todos"]. Then in your mutation the invalidation the key is just a string.
Note, refetchQueries and invalidateQueries takes a List of keys.
So to make your sample code work you can change the query key to "todos" OR change the refetchQueries argument to [["todos"]].
So the new query would become:
final query = Query<List<Todo>>(
      queryFn: () async =>
          ((await Dio().get("http://localhost:3000/todos")).data as List)
              .map((e) => Todo.fromJson(e))
              .toList(),
      // Changed to just a string
      key: "todos",
    );

In the future I would like to introduce fuzzy matching on keys, but for now the keys must match exactly.
Let me know if you have any questions

Thank you for your help, but I don't understand why invalidateQueries is not working and why I should call refetchQueries?
In react-query in the onSuccess of the mutations, we can call invalidateQueries and it will automatically calling the relevant queries and updates the cache, but here it is not do the same like react-query.

InvalidateQueries sets the query as stale and will be refetched next time a call to the queryFn happens, this might be useful if you have a large refetchDuration on a query and need to remove the duration.
refetchQueries is the same as the react-query version. It will refetch the query keys immediately.
In your case you do not need the invalidateQueries as you just want to re-fetch the queries immediately.

Got it, thank you.


Exporting 0 zones, but the database have 30 zones

Why does this happen，Are there any mistakes?

This is something we did to control errors on export.
you can comment the line below on lib/globo_dns/export.rb

  check_zones_being_exported(tmp_dir, named_conf_file) unless @slave


SQL statements that require privileges on system tables

Some sql statements require users to have privileges on system tables. We don't document this accurately right now. We need to track down these statements and update the privileges in the docs.
See https://github.com/cockroachdb/docs/pull/2814#issuecomment-377694075

Closing this issue - we searched pkg/sql and also used `git grep 'system.' and didn't find any other statements that need to be updated.


!

Does this occur consistently?
Repro steps:

Action: postCreateWebApp
Error type: ECONNRESET
Error Message: request to https://2restapi2020.scm.azurewebsites.net/api/zipdeploy?isAsync=true&author=VS Code failed, reason: socket hang up
Version: 0.20.0
OS: linux
OS Release: 4.4.0-18362-Microsoft
Product: Visual Studio Code
Product Version: 1.52.1
Language: en

Call Stack
ClientRequest.<anonymous> extension.js:236:264795
ClientRequest.emit events.js:228:7
ClientRequest.EventEmitter.emit domain.js:475:20
TLSSocket.socketOnEnd _http_client.js:440:9
TLSSocket.emit events.js:228:7
TLSSocket.EventEmitter.emit domain.js:475:20
endReadableNT _stream_readable.js:1185:12
processTicksAndRejections task_queues.js:81:21

Please provide detailed repro steps.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Duktape.act() reports wrong line number for callstack entries

Paste the following code into Dukweb to test.  It should print 4 and 5, but instead prints 5 and 8.
(function() {
function cows_eat_kitties() { print(Duktape.act(-3).lineNumber); }
function pigs_eat_cows() { return cows_eat_kitties(); }
pigs_eat_cows();
pigs_eat_cows();

})();

This is an issue as I'm calling Duktape.act() from C to report the filename and line number of a function call with invalid arguments, so I don't want it blaming the wrong call for the error.
Note that when the requested stack entry is the top level of a script (i.e. remove the wrapper function from the above script), line numbers are reported correctly.

Augmenting the test a bit:
(function() {
function cows_eat_kitties() { for (var i = -1; i >= -4; i--) { print(i, JSON.stringify(Duktape.act(i))); }; print(Duktape.act(-3).lineNumber); }
function pigs_eat_cows() { return cows_eat_kitties(); }
pigs_eat_cows();
pigs_eat_cows();

})();

Prints:
-1 {"lineNumber":0,"pc":0}
-2 {"lineNumber":2,"pc":24}
-3 {"lineNumber":5,"pc":4}
-4 {"lineNumber":8,"pc":5}
5
-1 {"lineNumber":0,"pc":0}
-2 {"lineNumber":2,"pc":24}
-3 {"lineNumber":8,"pc":6}
-4 {"lineNumber":8,"pc":5}
8

One issue you see here is that a tailcall will affect the call stack so that indices may not line up as expected. You can prevent a function from being tailcalled by using the following directive:

http://duktape.org/guide.html#use-duk-notail

Quite likely the line number issue is related to how the compiler assigns line numbers with bytecode instructions emitted. It's got a few known issues (which also affect debugging) where the line of an instruction emitted is actually that of the next token.
For instance, if in the example code you add anything that emits bytecode following the problematic calls, the line numbers come out right:
[...]
pigs_eat_cows(); print('dummy');
pigs_eat_cows(); print('dummy');

It's a known issue but fixing it requires some compiler rework: the way line numbers are associated with emitted code needs a bit more plumbing.

Well, it's good to know it's a known issue at least.  I can deal with it for now--it's not a showstopper.  But a fix would be nice if possible, of course. :smiley:
Out of curiosity, is there a way to set the notail flag on C functions, or is it set by default, or...?

Yeah, I'll try to fix that - it also affects debugging (breakpoints).
C functions are never tail called: tail calls currently only happen when an Ecmascript function calls another Ecmascript function.

After looking at the compiler PC/line information it seems this not a compiler issue but rather there's a bug in Duktape.act(). It uses the current PC to come up with the lineNumber but because the PC points to the next instruction to execute (i.e. instruction after a CALL) it needs to be decremented by 1 before the lineNumber lookup. Error augmentation already does the same thing for errors (which come out right).
This diff fixes the issue for the original example:
--- a/src/duk_bi_duktape.c
+++ b/src/duk_bi_duktape.c
@@ -146,6 +146,13 @@ DUK_INTERNAL duk_ret_t duk_bi_duktape_object_act(duk_context *ctx) {
        duk_push_tval(ctx, &act->tv_func);

        pc = (duk_uint_fast32_t) act->pc;
+       if (pc > 0) {
+               /* Relevant PC is just before current one because PC is
+                * post-decremented.  This should match what error augment
+                * code does.
+                */
+               pc--;
+       }
        duk_push_uint(ctx, (duk_uint_t) pc);

I'll add a testcase and merge a fix next week.
(Even with this fix, there are some compiler corner cases where line number assignment may be off by one. This just isn't one of them :-)

(The "post-decremented" in the code comment should of course be "post-incremented".)

Awesome, I'll try this out a bit later and see if it fixes the line numbers reported by my engine for script errors.

This works perfectly!  Thanks for the quick response! :smile:

Fix now in master.


Doesn't work

I am copying and pasting fresh from the official docs and get an "invalid mime type" error when applying this. This library doesn't work or is missing crucial documentation.

It does work, I recently used it. can you share what you're trying to achieve? maybe I can work you through the process.

The documentation is here:
https://www.react-fast-marquee.com/documentation#className
As for the MIME type issue, check the file extension on the type you're using. An invalid MIME type indicates that the code can't process the Media type you provided. What are you trying to upload into the Marquee?
I can confirm that I am currently using this package in a website and that it is working fine.


Made Hamburger a controlled component

This is useful to animate only if a certain condition is met, like only when navigating to a certain page. Also fixed an issue where this.props.active was being used instead of nextProps.active

@sankhadeeproy007 Could you take a look at this?

@himanshu-satija @Nyl000 If either of you have write access to this repo, could you take a look at this PR?

I'd love to see this merged!

Still really looking forward to this! It's a great repo. Please let the community know if you need help maintaining.


Update jsoniter-scala-core, ... to 2.13.36

Updates

com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-core
com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-macros

from 2.13.17 to 2.13.36.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.plokhotnyuk.jsoniter-scala" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "com.github.plokhotnyuk.jsoniter-scala" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #298.


Added option to use SendZc for connectionless streams.

With this changes we can set destination address. It is usefull when working with connectionless UDP, like .send_to().
let std = SocketAddrV6::new(Ipv6Addr::new(1, 2, 3, 4, 5, 6, 7, 8), 9876, 11, 12);
let dest_addr = SockAddr::from(std);
let sendzc = opcode::SendZc::new(Fd(self.as_raw_fd()), buf.as_ptr(), buf.len() as _)
    .dest_addr(dest_addr.as_ptr())
    .dest_addr_len(dest_addr.len())
    .build()
    .user_data(1);

test added

With IO_LINK flag i hope we can rely on consistency

Thank you!


ERROR TypeError: this.initRoot is not a function

I have a problem during the setup of Angular Three.
"dependencies": {     "@angular/animations": "^18.1.0",     "@angular/common": "^18.1.0",     "@angular/compiler": "^18.1.0",     "@angular/core": "^18.1.0",     "@angular/forms": "^18.1.0",     "@angular/platform-browser": "^18.1.0",     "@angular/platform-browser-dynamic": "^18.1.0",     "@angular/platform-server": "^18.1.0",     "@angular/router": "^18.1.0",     "@angular/ssr": "^18.1.3",     "angular-three": "^2.0.0-beta.42",     "express": "^4.18.2",     "ngxtension": "^0.3.0",     "rxjs": "~7.8.0",     "three": "^0.155.0",     "tslib": "^2.3.0",     "zone.js": "~0.14.3"   },   "devDependencies": {     "@angular-devkit/build-angular": "^18.1.3",     "@angular/cli": "^18.1.3",     "@angular/compiler-cli": "^18.1.0",     "@types/express": "^4.17.17",     "@types/jasmine": "~5.1.0",     "@types/node": "^18.18.0",     "@types/three": "^0.155.0",     "jasmine-core": "~5.1.0",     "karma": "~6.4.0",     "karma-chrome-launcher": "~3.2.0",     "karma-coverage": "~2.2.0",     "karma-jasmine": "~5.1.0",     "karma-jasmine-html-reporter": "~2.1.0",     "typescript": "~5.5.2"   }
components:
`import {
ChangeDetectionStrategy,
Component,
CUSTOM_ELEMENTS_SCHEMA,
} from '@angular/core';
import { extend, NgtCanvas } from 'angular-three';
import { BoxGeometry, Mesh } from 'three';
extend({
Mesh,
BoxGeometry,
});
@Component({
standalone: true,
template: <ngt-mesh>     <ngt-box-geometry />   </ngt-mesh>,
schemas: [CUSTOM_ELEMENTS_SCHEMA],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class SceneGraph {}
@Component({
selector: 'app-second-scene',
standalone: true,
imports: [NgtCanvas],
templateUrl: <ngt-canvas [sceneGraph]="sceneGraph"></ngt-canvas>,
styleUrl: './second-scene.component.css',
})
export class SecondSceneComponent {
readonly sceneGraph = SceneGraph;
}`
ERROR:

Hi @Nomackleo for angular version 18.1.0 I'm using:
"angular-three": "^2.0.0-beta.257"  "three": "^0.166.1",
Keep in mind that library is still in beta

Hi @elkestudio, thank you for the help. I'll to try with those versions.

v2 has been released officially. Please check out the documentation for latest info: https://angularthree.org


fix(link): color adjustments

Refs IBM/carbon-components-react#2061.

Tooltip's link's hover underline color should be $link-01, same as link. Also wrong is link's active state

@shixiedesign My finding is this; I saw box-shadow: 0 1px #0062ff on the link in question which seems to match $link-01 color in white theme. The code was using $interactive-01, though, so I replaced $interactive-01 with $link-01. Tried to get an idea on what your feedback means further by digging the history of issues/PRs for link and found this saying that the underlines should be currentColor, which made me start guessing your feedback came from this and went ahead with ensuring text/underline colors are in sync. Hoping the changes matches your intent, but please don't hesitate to speak up anything - Thanks!
Changelog
Changed

Replaced $interactive-01 with $link-01.
Ensured underline color matches text color regardless of the link state

Testing / Reviewing
Testing should make sure our link component (experimental) is not broken, especially its colors.

Thank you Akira for doing to investigation to uncover what my issue really meant. I should definitely work on writing the issues better. But yes this is exactly what I meant. Underline & link text color should be the same, both calling $link-01

got it @shixiedesign , just wanted to confirm if the focus+active link underline should be different from the text color

No problem @shixiedesign and thank you for double-checking that my change matches your intent. And great point @emyarod - Created #2164 to see if the change matches the design intent.


More debug output about connected peers: show messages per second

What is wrong?
It's a derivative metric from other metrics we are already showing, but I want to see messages per second as it is indicative of whether a peer we are connected to is performing well.  It might even be nice to have a full breakdown in the trace logging of individual command types.
How can it be fixed
Change the reporting for peer details to look like:
ETHPeer  <Node(0x5669@<IP_ADDRESS>)>: alive=yes uptime=1m3s msgs=1234 (32/s) timeouts=245 most_rcvd=Transaction

use yes and no instead of true and false since they are more concise.
need a new util to convert a timedelta into a nice human readable string.
figure out the correct period for the messages/time metric.

messages per second seems like it might create too small of numbers
messages per minute might be very large

start tracking timeouts on peers.  Doesn't have to be perfect but we should be able to get close.

In addition, sort the peers by uptime, showing longest uptime first.

#1166 added a timeout counter to the report, as well as average response time, which I believe is more useful than msg/s, so maybe we can close this one?


German translation: Question regarding the form of address ("you")

Hi Tim,
I discovered your cheatsheet yesterday and forked it right away. Right now I started with the translation for German (if you'd like to have that language also - if not, please let me know!) but before I'm getting too deep into it - what kind of salutation / form of address should I choose?
In English there's only the 'you', which can be either formally (e.g. talking with your boss) or more personal (e.g. talking with a friend).
In the German language we have the formally 'sie' and the personal 'du'.
So - which one should I choose..?
I'd vote for the personal 'du' as it's the open source community here, but I thought I'll ask and leave that decision up to you. ;)
Cheers

Hi again,
I started the translation using the personal form of address ("du"), but before I proceed - is this project still active or is it abandoned..?

I have seen plenty of action on this in the past. It has been quiet for a few months. However, activity is community driven. Enjoy the translation!

Ok, so I'll proceed with the translation ;) Thanks

..closing this for now as I decided to go with the more personal form of address ("du")..


Fix docstring inconsistency of bounds in optimizers

This is to solve issue #519.

Codecov Report

Merging #520 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #520   +/-   ##
=======================================
  Coverage   86.32%   86.32%
=======================================
  Files          22       22
  Lines        1667     1667
=======================================
  Hits         1439     1439
  Misses        228      228

Impacted Files
Coverage Δ

skopt/optimizer/base.py
94.82% <ø> (ø)
:arrow_up:

skopt/optimizer/optimizer.py
93.75% <ø> (ø)
:arrow_up:

skopt/optimizer/gp.py
100% <ø> (ø)
:arrow_up:

skopt/optimizer/gbrt.py
100% <ø> (ø)
:arrow_up:

skopt/optimizer/dummy.py
100% <ø> (ø)
:arrow_up:

skopt/optimizer/forest.py
100% <ø> (ø)
:arrow_up:

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 693acb8...38cae60. Read the comment docs.

Thank you! And congratulations on your first contribution!


Support DNS traffic switching using Alias records

We need to support Alias records for DNS traffic switching, i.e. we need to adapt the following code part to not only support CNAME records:
https://github.com/zalando-zmon/zmon-aws-agent/blob/master/zmon_aws_agent/aws.py#L53
Background: Senza switches from CNAME to Alias records (https://github.com/zalando-stups/senza/issues/197).

NOTE: We should support both CNAME and Alias records.

15:21:08.567 zmon-zmon /var/log/application.log  Aug  2 13:21:05 ip-172-31-142-36 docker/4be9b9f37b2f[943]: Traceback (most recent call last):
15:21:08.567 zmon-zmon /var/log/application.log  Aug  2 13:21:05 ip-172-31-142-36 docker/4be9b9f37b2f[943]:   File "/usr/local/bin/zmon-aws-agent", line 9, in <module>
15:21:08.567 zmon-zmon /var/log/application.log  Aug  2 13:21:05 ip-172-31-142-36 docker/4be9b9f37b2f[943]:     load_entry_point('zmon-aws-agent==0.2', 'console_scripts', 'zmon-aws-agent')()
15:21:08.567 zmon-zmon /var/log/application.log  Aug  2 13:21:05 ip-172-31-142-36 docker/4be9b9f37b2f[943]:   File "/usr/local/lib/python3.5/dist-packages/zmon_aws_agent-0.2-py3.5.egg/zmon_aws_agent/main.py", line 110, in main
15:21:08.567 zmon-zmon /var/log/application.log  Aug  2 13:21:05 ip-172-31-142-36 docker/4be9b9f37b2f[943]:   File "/usr/local/lib/python3.5/dist-packages/zmon_aws_agent-0.2-py3.5.egg/zmon_aws_agent/aws.py", line 96, in populate_dns_data
15:21:08.567 zmon-zmon /var/log/application.log  Aug  2 13:21:05 ip-172-31-142-36 docker/4be9b9f37b2f[943]:   File "/usr/local/lib/python3.5/dist-packages/zmon_aws_agent-0.2-py3.5.egg/zmon_aws_agent/aws.py", line 98, in <listcomp>
15:21:08.567 zmon-zmon /var/log/application.log  Aug  2 13:21:05 ip-172-31-142-36 docker/4be9b9f37b2f[943]: KeyError: 'type'


Agents continue to work on disabled/blacklisted subnets

add a large subnet
fire up an agent and let it make some progress
from the web UI disable/blacklist that subnet
agent will continue scanning in that subnet
restart server
agents will correctly move on to the next subnet

Oh this is peculiar. I've reproduced it and I'll pinpoint the cause. It likely won't get released into another "release" version until I've had some time to fix/implement a few other things, but I'll definitely get this figured out.

I have two networks in scope:
<IP_ADDRESS>/24
<IP_ADDRESS>/8
When I toggle <IP_ADDRESS>/8 to blacklist, it appears that the scan manager gets updated but somehow is returning only addresses in <IP_ADDRESS>/24.
@rosswsnider This is happening in your code I think, any ideas what might be causing this?

Turns out it has to do with the IPScanManager networks variable.
I think what's happening is that we're setting the scanmanager to none in the update and then reinstantiating it, but it's retaining some information about the self.networks value. While I'm not entirely sure how or why, the problem vanishes when I explicitly set self.networks = [] in the __init__. I think it gets locked down to the /24 in my case because the actual networks it goes through (<IP_ADDRESS>/24) during instantiation is only a /24, so the random number generator only generates numbers inside the /24 range.
I'll double check this and get a fix pushed into the v0.6.x branch this evening. It'll also make it into the v0.6.4 release, which should happen sometime this week.


get next() cell

Hi !
Is there any method to push my values in forEach by getting next cell in vertical (for ex. A1, B1, C1, D1 etc.).

Use the relativeCell method.


[TESTS][Vega][WORKAROUND] test_conv_embed_db fails with ROCm 4.4 tuning

[Symptom]
test_conv_embed_db fails with ROCm 4.4 tuning on the following stage:
http://micimaster.amd.com/blue/organizations/jenkins/MLLibs%2FMIOpen/detail/tuning-rocm-4.4-fordev/12/pipeline
http://micimaster.amd.com/blue/organizations/jenkins/MLLibs%2FMIOpen/detail/tuning-rocm-4.4-fordev/13/pipeline
http://micimaster.amd.com/blue/organizations/jenkins/MLLibs%2FMIOpen/detail/tuning-rocm-4.4-fordev/14/pipeline

[ ] Fp32 Hip Debug Embedded Vega20

[Root Cause]
unknown yet, not reproducible on local tests
[Plan]
Workaround to unblock performance tuning updates

[ ] test_conv_embed_db DISABLED on all VEGA platforms

It seems like this issue is an "extension" of #874.
The CI logs show that some configs for ConvHipImplicitGemmV4R4Fwd are missing from perf-db. The proper workaround should only disable this solver for the failing test cases instead of disabling the whole test (see #875 for example)

It seems like this issue is an "extension" of #874.
The CI logs show that some configs for ConvHipImplicitGemmV4R4Fwd are missing from perf-db. The proper workaround should only disable this solver for the failing test cases instead of disabling the whole test (see #875 for example)

The anticipation is that we will get this issue fixed within the next two weeks

Note that if ConvHipImplicitGemmV4R4Fwd configs are really missing from perf-db (i.e. this issue is not specific to the "embedded" configuration of the library), then we most likely have performance drop. Why: CI logs show that this Solver is the fastest one, and tuning can make it faster.

Note that if ConvHipImplicitGemmV4R4Fwd configs are really missing from perf-db (i.e. this issue is not specific to the "embedded" configuration of the library), then we most likely have performance drop. Why: CI logs show that this Solver is the fastest one, and tuning can make it faster.

@JehandadKhan  hopefully we can fix this issue with the coming 4.5 tuning?

@atamazov and @junliume  I did tune the solver and add those entries to the db however, was unable to fix the issue when the test runs in the CI. I need to investigate further and figure out if I am doing the right thing.
The tuning PR going through staging would inform us whether there is perf regression elsewhere or not, if discovered we can cover it there.


samples: drivers: crypto: Print correct buffer comparison on failure

When testing whether the CTR mode decrypted the payload properly, a
comparison of decrypt.out_buf with the known plain text plaintext
is performed, but the buffer comparison that is printed uses
plaintext and encrypt.out_buf instead.
Coverity-CID: 181847
Signed-off-by: Leandro Pereira<EMAIL_ADDRESS>

Codecov Report

Merging #6247 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #6247      +/-   ##
==========================================
- Coverage   53.11%   53.11%   -0.01%
==========================================
  Files         414      414
  Lines       40260    40260
  Branches     7759     7759
==========================================
- Hits        21385    21384       -1
- Misses      15708    15709       +1
  Partials     3167     3167

Impacted Files
Coverage Δ

samples/drivers/crypto/src/main.c
47.67% <ø> (ø)
:arrow_up:

samples/philosophers/src/main.c
96.87% <0%> (-1.57%)
:arrow_down:

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 3b2434f...3ca3d57. Read the comment docs.


feat(i18n): Add Japanese translation

This pull request adds Japanese language support.
I made a similar change based on this pull request: https://github.com/fmaclen/hollama/pull/194.

I would be grateful if this could be merged.
🙏

:tada: This PR is included in version 0.17.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


add AJS.contextPath() before url /plugins/servlet/onlyoffice/confluen…

…ce/previews/plugin/access"
add AJS.contextPath() before url /plugins/servlet/onlyoffice/confluence/previews/plugin/access"，when confluence deployed under a context path,the request url path lost the contextPath part.

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

When confluence have a contextPath,rest api url should have a prefix:AJS.contextPath()


Improve the VSphereBinding experience with PowerCLI

Right now the PowerCLI sample requires the following lines to set up the injected authentication:
# Log into the VI Server
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false | Out-Null
Connect-VIServer -Server ([System.Uri]$env:GOVC_URL).Host -User $env:GOVC_USERNAME -Password $env:GOVC_PASSWORD

I believe that in our goal state, the Binding will have configured the environment such that these lines can simply be dropped.

I believe that the key to this is -SaveCredentials support in vmware/powerclicore, which doesn't seem to currently be available:
Connect-VIServer : Cannot bind parameter 'SaveCredentials' to the target. Exception setting "SaveCredentials": "The parameter SaveCredentials of Connect-VIServer cmdlet is not supported on PowerShell Core."

If this support were added, then we could simply pre-seed the appropriate credential files with the authentication that is currently projected into the environment and /var/bindings/vsphere.

No action on the upstream issue, closing for now.


Channel always inactive - Logs seems ok

Background
Hello I have an open channel which is always is state inactive
            "active": false,
            "remote_pubkey": "03abf6f44c355dec0d5aa155bdbdd6e0c8fefe318eff402de65c6eb2e1be55dc3e",
            "channel_point": "617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0",
            "chan_id": "602210215139606528",
            "capacity": "1000000",
            "local_balance": "998915",
            "remote_balance": "0",
            "commit_fee": "1085",
            "commit_weight": "600",
            "fee_per_kw": "1499",
            "unsettled_balance": "0",
            "total_satoshis_sent": "0",
            "total_satoshis_received": "0",
            "num_updates": "0",
            "pending_htlcs": [
            ],
            "csv_delay": 144,
            "private": false
        },

Searching  in my logs the channel point:
2018-10-28 17:07:09.494 [INF] FNDG: Generated ChannelPoint(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0) for pendingID(674e9b30f92b902ecd4e3788d37618d57b5f0713f6d74ae916b
11ca3b4a3d7cb)
2018-10-28 17:07:10.754 [INF] FNDG: Broadcasting funding tx for ChannelPoint(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0): (*wire.MsgTx)(0xc001194040)({
2018-10-28 17:07:10.765 [INF] LNWL: Inserting unconfirmed transaction 617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652
2018-10-28 17:07:11.221 [INF] CNCT: Creating new ChannelArbitrator for ChannelPoint(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0)
2018-10-28 17:07:11.222 [INF] CNCT: ChannelArbitrator(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0): starting state=StateDefault
2018-10-28 17:07:11.233 [INF] NTFN: New spend subscription: utxo=617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0
2018-10-28 17:07:11.893 [INF] FNDG: Finalizing pendingID(674e9b30f92b902ecd4e3788d37618d57b5f0713f6d74ae916b11ca3b4a3d7cb) over ChannelPoint(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cc
e6238993a4652:0), waiting for channel open on-chain
2018-10-28 17:07:11.895 [INF] NTFN: New confirmation subscription: txid=617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652, numconfs=3
2018-10-28 17:07:11.896 [INF] FNDG: Waiting for funding tx (617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652) to reach 3 confirmations
2018-10-28 17:07:11.893 [INF] CNCT: Close observer for ChannelPoint(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0) active
2018-10-28 17:09:08.438 [WRN] FNDG: ChainNotifier shutting down, cannot complete funding flow for ChannelPoint(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0)
2018-10-28 17:10:09.952 [INF] NTFN: New spend subscription: utxo=617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0
2018-10-28 17:10:09.956 [INF] CNCT: Close observer for ChannelPoint(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0) active
2018-10-28 17:10:09.970 [INF] CNCT: ChannelArbitrator(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0): starting state=StateDefault
2018-10-28 17:10:10.802 [INF] LNWL: Inserting unconfirmed transaction 617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652
2018-10-28 17:10:10.897 [INF] NTFN: New confirmation subscription: txid=617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652, numconfs=3
2018-10-28 17:10:10.898 [INF] FNDG: Waiting for funding tx (617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652) to reach 3 confirmations
2018-10-28 17:10:11.565 [INF] PEER: NodeKey(03abf6f44c355dec0d5aa155bdbdd6e0c8fefe318eff402de65c6eb2e1be55dc3e) loading ChannelPoint(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993
a4652:0)
2018-10-28 17:10:11.571 [WRN] PEER: Unable to find our forwarding policy for channel 617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0, using default values
2018-10-28 17:10:11.572 [INF] HSWC: ChannelLink(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0) is starting
2018-10-28 17:10:11.573 [INF] HSWC: HTLC manager for ChannelPoint(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0) started, bandwidth=988915000 mSAT
2018-10-28 17:10:11.574 [INF] HSWC: Attempting to re-resynchronize ChannelPoint(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0)
2018-10-28 17:10:11.577 [INF] HSWC: Received re-establishment message from remote side for channel(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0)
   PreviousOutPoint: (wire.OutPoint) 617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:1,
2018-10-28 17:31:00.720 [INF] LNWL: Marking unconfirmed transaction 617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652 mined in block 547707
2018-10-28 18:11:26.007 [INF] NTFN: Dispatching 3 conf notification for 617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652
2018-10-28 18:11:26.007 [INF] FNDG: ChannelPoint(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0) is now active: ChannelID(52463a993862ce7c350f8d3a06fee1c73f9446e1391e34ca0a
140941a7387a61)
2018-10-28 18:11:26.156 [INF] CNCT: Attempting to update ContractSignals for ChannelPoint(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0)
2018-10-28 18:11:27.266 [INF] CRTR: New channel discovered!
Any ideas?
Thanks
Your environment
lnd-0.5
linux
bitcoind-0.17
Expected behaviour
The channels should be active
Actual behaviour
The channel is not active

The peer is probably not online.

Hello, if I use lncli listpeers it seems to be online:
{
"pub_key": "03abf6f44c355dec0d5aa155bdbdd6e0c8fefe318eff402de65c6eb2e1be55dc3e",
"address": "<IP_ADDRESS>:9735",
"bytes_sent": "4203204",
"bytes_recv": "3286020",
"sat_sent": "0",
"sat_recv": "0",
"inbound": false,
"ping_time": "128583"
},

Ok thanks. Rebooted in debug mode.
found this:
2018-10-29 11:27:52.545 [DBG] CNCT: New ChainEventSubscription(id=0) for ChannelPoint(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0)
2018-10-29 11:27:52.549 [DBG] CNCT: Starting chain watcher for ChannelPoint(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0)
2018-10-29 11:27:52.583 [INF] NTFN: New spend subscription: utxo=617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0
2018-10-29 11:27:52.618 [INF] CNCT: Close observer for ChannelPoint(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0) active
2018-10-29 11:27:53.110 [DBG] CNCT: Starting ChannelArbitrator(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0), htlc_set=(contractcourt.htlcSet) {
2018-10-29 11:27:53.111 [INF] CNCT: ChannelArbitrator(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0): starting state=StateDefault
2018-10-29 11:27:53.171 [DBG] CNCT: ChannelArbitrator(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0): new block (height=547821) examining active HTLC's
2018-10-29 11:27:53.171 [DBG] CNCT: ChannelArbitrator(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0): checking chain actions at height=547821
2018-10-29 11:27:54.841 [DBG] LNWL: ChannelPoint(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0), starting local commitment: (*lnwallet.commitment)(0xc0106f6000)({
    PreviousOutPoint: (wire.OutPoint) 617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0,
2018-10-29 11:27:54.874 [DBG] LNWL: ChannelPoint(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0), starting remote commitment: (*lnwallet.commitment)(0xc0106f6300)({
    PreviousOutPoint: (wire.OutPoint) 617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0,
2018-10-29 11:27:54.877 [INF] PEER: NodeKey(03abf6f44c355dec0d5aa155bdbdd6e0c8fefe318eff402de65c6eb2e1be55dc3e) loading ChannelPoint(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0)
2018-10-29 11:27:54.902 [DBG] CNCT: New ChainEventSubscription(id=1) for ChannelPoint(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0)
2018-10-29 11:27:54.918 [INF] HSWC: ChannelLink(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0) is starting
2018-10-29 11:27:54.924 [INF] HSWC: HTLC manager for ChannelPoint(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0) started, bandwidth=988915000 mSAT
2018-10-29 11:27:54.925 [INF] HSWC: Attempting to re-resynchronize ChannelPoint(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0)
2018-10-29 11:27:54.929 [DBG] SRVR: Announcing channel(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0) disabled=false
2018-10-29 11:27:54.924 [INF] CNCT: Attempting to update ContractSignals for ChannelPoint(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0)
2018-10-29 11:27:54.935 [INF] HSWC: ChannelPoint(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0): resending FundingLocked message to peer
2018-10-29 11:27:54.940 [INF] HSWC: Received re-establishment message from remote side for channel(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0)
2018-10-29 11:27:55.304 [INF] PEER: Already have ChannelPoint(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0), ignoring.
2018-10-29 11:27:55.305 [INF] PEER: Processing retransmitted FundingLocked for ChannelPoint(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0)
2018-10-29 11:28:28.349 [DBG] CNCT: ChannelArbitrator(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0): new block (height=547822) examining active HTLC's
2018-10-29 11:28:28.349 [DBG] CNCT: ChannelArbitrator(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0): checking chain actions at height=547822
2018-10-29 11:29:42.037 [DBG] CNCT: ChannelArbitrator(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0): new block (height=547823) examining active HTLC's
2018-10-29 11:29:42.038 [DBG] CNCT: ChannelArbitrator(617a38a74109140aca341e39e146943fc7e1fe063a8d0f357cce6238993a4652:0): checking chain actions at height=547823

And now the channel is active after almost 24 hours.
Is this a bug?

From the logs you can see that the FundingLocked message was retransmitted, which allowed us to activate the channel.
It is hard to say what caused this, it could either be a bug on your side, or the remote's side. In any case, a reconnection fixed the problem, as the fundingLocked was retransmitted.
Without the full debug logs from when the channel was created, there's not more to be done. Please re-open if you have these logs, or if you encounter it again! 😀

If the remote peer never sends FundingLocked (for w/e reason), then the channel won't be marked as active. That log from the funding manager is a bit misleading, as we print that when it's active from our PoV, and even if the remote party hasn't yet sent the FundingLocked message.

Also another item that can help, is getting a dump of the set of active goroutines. Using the --profile flag can help you obtain this.

Thanks for your help :)

Just had this issue, restarting lnd helped send the FundingLocked. Maybe this message should be sent more than once.

@JoelFrutiger let us know if you see this issue on any of the 0.6rc's. This should have beeen addressed by #2690 and #2902, but note that it probably requires both peers to have this update to fully resolve the issue

Sorry for digging this up, you are correct, one of the peers was using version 0.5.0-beta

Still having problems with 0.5.2
Just upgraded to 0.6 rc3.
Let's see how it goes


Move Mailman systemd service operations to a separate action

We will now skip any interactions with the Mailman service if it is not active at the start of the conversion.
By default, mailman is not configured and the service will fail to start. Therefore, attempts to start it during the revert or finishing stage will also fail.

Regarding the flake8 problem, it's strange. It seems to be checking out the master branch instead of the current branch (because my branch doesn't have grub.py at all). I will investigate it further when I have time

Regarding the flake8 problem, it's strange. It seems to be checking out the master branch instead of the current branch (because my branch doesn't have grub.py at all). I will investigate it further when I have time

It appears that when the master branch adds a file, but the current branch does not, the file remains and triggers flake8 if it is bad. I'm not sure if this can be resolved within the scope of actions/checkout. Will create an issue

It appears that when the master branch adds a file, but the current branch does not, the file remains and triggers flake8 if it is bad. I'm not sure if this can be resolved within the scope of actions/checkout. Will create an issue

Workspace reuse?


Implement HTML preview generation and improve SEO

This PR adds a new generatehtml feature that converts a Cogent Core app to HTML. It is not guaranteed to be perfect HTML, and it should not be used as a replacement for a Cogent Core app. However, it is good enough to be used as a preview and for SEO purposes, which this PR does.
This has several positive side effects, including that we now automatically generate meta descriptions for pages from their first paragraph, which further improves SEO. Also, it allows you to omit the content pages directory setting in config files, since that is now the default for apps that import pages.
This PR also contains a web loading screen improvement that makes it so that the loading screen is displayed up until the moment that the canvas is actually rendered, removing an annoying blank screen during that intermediate period. This PR also contains various cleanup items such as unexporting internal logic.
This PR will also allow us to soon implement an automatic navigation footer that links all pages together, which will also improve SEO support. We can also now use the PreRenderData as the basis for which pages to include in the generated path tree, which will allow us to more easily implement a fix for #1047.
The only remaining major issue here is that this relies on RunMainWindow being called, which does not happen in some apps like Cogent Code. I will work on figuring out a workaround for that.
Fixes #702

The key things is that we need to intercept the Body and prevent the window from actually being run, so to avoid the Cogent Code problem with apps that don't call RunMainWindow, it probably just makes sense to move the logic to RunWindow and add a guard so it is only called once.

I redesigned the ExternalParent logic for RunWindow and RunMainWindow and everything is working now.


feat(node): configurable peers

Fixes #240
⚠ by introducing the use of TVar and forever we have changed the behaviour of thread connect.
now it will restart in case there is a problem with the subscription worker.

While the implementation of this is fine, we decided to not go forward with this and even cancel #240. See https://github.com/input-output-hk/hydra-poc/pull/460#issuecomment-1222180213 for the rationale.


New version

Hello,
I just modified xsr on the olivierlab fork with some improvements: language file, module, external css, image edition, HTML edition, better cursor positioning, an icon, possibilities of interaction, a bash script to choose different configurations, a desktop file for desktop integration. What do you think about it ?

Oh my god, thank you for the work and sorry for disappearing & not responding.
I definitely will take a look soon and make comments. I hope this merge can happen and XSR could relive.
The failing build seems frightening at first, but if I'm right you have just deleted the test.

You had a great idea doing this software. I use it regularly to make tutorials quickly for customers. Tell me if this version is fine for you.

I haven't had time to look into your changes yet, I'll try to schedule it this week.
Actually the original author is @nonnymoose, I'd also like to see his comments, the credits are for him. He did the most of the work on this project.


Hanging OnePlus 5, 8GB RAM

Cannot get the full log, since it hangs immediately, even when setting the "Relaxed" parameter to as low as possible. The phone needs a hard reboot, system completely frozen.

It is probably stuck on computing the aggressor addresses for 1237 * 4MB = 4.8GB, which will take a while. Ideally, we set an upper limit on the amount of memory that we allocate. There is not much active development ongoing though, so perhaps you can try to compile the drammer binary from source (use the geometry branch), hack a limit in yourself, and see if this works.

The new version of the app should no longer expose this issue (although there may be other failures, of course). If you still have access to the phone, feel free to reinstall the Drammer apk and try again!


Create lifecycle rule that expires objects after N days on S3 bucket

S3 supports a feature where objects older than N days are automatically deleted. I think the S3 bucket use for llama should have one of these. I just enabled one manually for my bucket, and used 28 days as the time period.

I've done the same, and have a mention in the README (which is really getting out of control :)): https://github.com/nelhage/llama/#cleaning-up-old-objects
I'll add it to my TODO list for llama bootstrap

I've done the same, and have a mention in the README (which is really getting out of control :)): https://github.com/nelhage/llama/#cleaning-up-old-objects
I'll add it to my TODO list for llama bootstrap

This is done in the new llama bootstrap.


Adds RendezvousSession inside src/transport

RendezvousSession manages the initial connection between a commissioner and a device.
During rendezvous a key pair is generated by SecurePairingSession under the hood.
Embedders can listen to the different states of Rendezvous by implementing
the RendezvousSessionCallback interface. The differents events are:

OnRendezvousConnectionOpened();
OnRendezvousConnectionClosed();
OnRendezvousError(CHIP_ERROR err);
OnRendezvousMessageReceived(System::PacketBuffer * buffer);

fixes #2394

LGTM fails on ../../src/platform/Linux/ThreadStackManagerImpl.h:26:10: fatal error: dbus/client/thread_api_dbus.hpp: No such file or directory
Sounds unrelated to my changes.

@vivien-apple we should eventually move the logic to handle IP address processing (on controller side) to RendezvousSession class. It's currently being passed to the application layer, where it calls ConnectDevice to associate the IP address with the session.

LGTM fails on ../../src/platform/Linux/ThreadStackManagerImpl.h:26:10: fatal error: dbus/client/thread_api_dbus.hpp: No such file or directory
Sounds unrelated to my changes.

I wonder if a rebase will address that.

LGTM fails on ../../src/platform/Linux/ThreadStackManagerImpl.h:26:10: fatal error: dbus/client/thread_api_dbus.hpp: No such file or directory
Sounds unrelated to my changes.

I wonder if a rebase will address that. We don't have a way to land this without Admin help unless LGTM passes.

Let me have a look. It may be my bad after all.


Insecure string pickle

When I try to download a video I get an error message saying "insecure string pickle". After some googling it seems to indicate that one of the reasons why this error message might pop up is if you are forgetting to close the stream that you're using for dumping the data structure. No idea if this is applicable for you though.
Video I tried to download in case that matters:
https://www.youtube.com/watch?v=-8XIR3OwKKo
The only value I changed in your GUI was the location to where it was being downloaded. And I changed it to a folder to which I have write rights.
No log seems to have been generated in the normal places (Mac OS X). Let me know where I can find them in case you are interested in what has been generated there.
I am using Mac OS X 10.14.1

I updated to the latest Mac OS X Mojave, and I also noticed that I on this machine had a really old version of youtube-dl. After making those two changes, it now downloads videos. Closing this one.

Awesome glad to hear it.

It was probably the updating of OS X since the app itself calls an internal youtube-dl binary btw


Add swoole , roadruner entryscript

I have studied yiisoft/docs, but I still can't make yiisoft/app work in swoole, could it add the entry script of swoole and roadrunner to this project ?

What's the problem? Doesn't https://github.com/yiisoft/docs/blob/master/guide/en/tutorial/using-yii-with-swoole.md work?

Because I am new to Yii3, I still don’t know the whole architecture very well, so I hope to have a relatively simple example to get started and learn quickly
pigo@PIGO-PC(18.04):~/projects/yii3app$ php swoole-server.php
Assembling config files
PHP Warning:  require(/home/pigo/projects/src/globals.php): failed to open stream: No such file or directory in /home/pigo/projects/yii3app/swoole-server.php on line 17
Warning: require(/home/pigo/projects/src/globals.php): failed to open stream: No such file or directory in /home/pigo/projects/yii3app/swoole-server.php on line 17
PHP Fatal error:  require(): Failed opening required '/home/pigo/projects/src/globals.php' (include_path='.:/usr/share/php') in /home/pigo/projects/yii3app/swoole-server.php on line 17
Fatal error: require(): Failed opening required '/home/pigo/projects/src/globals.php' (include_path='.:/usr/share/php') in /home/pigo/projects/yii3app/swoole-server.php on line 17

========= I remove require globals.php ================

pigo@PIGO-PC(18.04):~/projects/yii3app$ php swoole-server.php
Assembling config files
PHP Fatal error:  Uncaught Yiisoft\Factory\Exceptions\NotFoundException: No definition for Psr\Http\Message\ResponseFactoryInterface in /home/pigo/projects/yii3app/vendor/yiisoft/di/src/Container.php:232

globals.php was removed. Remove it from your entry script as well. I've updated the guide.

still not work
PHP Fatal error:  Uncaught Yiisoft\Factory\Exceptions\NotFoundException: No definition for Psr\Http\Message\ResponseFactoryInterface in /home/pigo/projects/yii3app/vendor/yiisoft/di/src/Container.php:226
Stack trace:
#0 /home/pigo/projects/yii3app/vendor/yiisoft/di/src/Container.php(203): Yiisoft\Di\Container->buildPrimitive()
#1 /home/pigo/projects/yii3app/vendor/yiisoft/di/src/Container.php(155): Yiisoft\Di\Container->buildInternal()

I modify some code
$container = new Container(
    require Builder::path('web')
);

to
$container = new Container(
    require Builder::path('web'),
    require Builder::path('providers-web')
);

but got other error.

What i care about is
If I want to design a project that will work with php-fpm and swoole in the future
Is it complicated?

Is it complicated?

Kind of. Entry point is easy part. I'll get back to it and fix the guide. Currently it seems that it's outdated :( But that's not the major issue that is easily fixable. What's more complicated is the "worker serves many requests" model i.e. https://github.com/yiisoft/docs/blob/master/guide/en/tutorial/using-with-event-loop.md. If your app isn't ready for it, you'll expect all kinds on complicated issues.


Add beachball and basketball tweaks

About the PR

Media

[ ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

add: Added beach!
tweak: Basketball now rolls like balls do.

cl should say beachball not beach

also this should probably be in the toy box so you can get it

cl should say beachball not beach

typo

also this should probably be in the toy box so you can get it

in what toy box?

the toy box that has unicycle toy hammer etc


ID new owner facts for class 1 counties:
User feedback: something
(notice_contains_sale_document)

Question ID
new owner facts for class 1 counties

Details
Did your landlord ever sell the house while you were living at this address:

I am unable to select Yes and then "I don't know" about the letter. Each time I tried there was a quick refresh and then "I don't know" was deselected. It progressed normally when I selected "No" regarding the letter.
Variable being sought | notice_contains_sale_document
Package version | 1.5.5
Filename | docassemble.MOHUDEvictionProject:data/questions/MOHUDEvictionProject.yml

Just tested this on Mac and Chrome browser and had no issue, will leave open

Tested, no issue


Makefile: fix test failure issue

Signed-off-by: Xintao<EMAIL_ADDRESS>
What problem does this PR solve?
close #7956
What is changed and how it works?
Removed the mem-profiling feature of the default tests
Related changes

PR to update pingcap/docs/pingcap/docs-cn:
PR to update pingcap/tidb-ansible:
Need to cherry-pick to the release branch

Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Side effects
No
Release note

Fix the bug that Makefile cannot run tests

Is it possible to update "malloc_conf" global variable to fix the test instead?

Found an example of setting malloc_conf in code. Not tested though. https://github.com/gnzlbg/jemallocator/blob/master/jemalloc-sys/tests/malloc_conf_set.rs

/merge


k8s: 1.18.1 -> 1.18.2

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

No! :P (yes, more coffee) I'll rerun tests.


As a user I want Game On! to know who I am

@olafwrieden I finally got this working. All Tournament endpoints require auth now. The JavaScript I used to get this working is here: https://github.com/DanielLarsenNZ/gameon/blob/main/server/GameOn/GameOn.Auth/wwwroot/index.html

I'm making this a backend only task. @olafwrieden please create a separate task for frontend (if you still need to)

This is done done.
You can now login with any work/school user from any AAD tenant. Personal accounts (MSA’s Microsoft Accounts) are not supported.
Here’s the process:

Use MSAL to login and get an access token
POST to https://api.gameon.nz/me. This will create a User in GameOn using your AAD profile information
POST to https://api.gameon.nz/tournaments. This will create a new Tournament for the Tenant and make you the owner and first player

Note: /tournaments no longer requires a tenantId URL param. It is retrieved from the user's Claims

This is done done.
You can now login with any work/school user from any AAD tenant. Personal accounts (MSA’s Microsoft Accounts) are not supported.
Here’s the process:

Use MSAL to login and get an access token
POST to https://api.gameon.nz/me. This will create a User in GameOn using your AAD profile information
POST to https://api.gameon.nz/tournaments. This will create a new Tournament for the Tenant and make you the owner and first player

Note: /tournaments no longer requires a tenantId URL param. It is retrieved from the user's Claims


[Windows] Add InnoSetup to windows-2022

Description
Given the high demand for InnoSetup on windows-2022 image and tool popularity we decided to add it to the image.
Related issue:
https://github.com/actions/virtual-environments/issues/5006
Check list

[x] Related issue / work item is attached
[x] Tests are written (if applicable)
[x] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run windows2016, windows2019, windows2022


Update PATH for JCK13 native compilation

JCk13 b09 update introduced some classes which require a source directory to be in the path. This PR fixes it. Details in internal issue.
Signed-off-by<EMAIL_ADDRESS><EMAIL_ADDRESS>

Could you specify which files within $(SRCDIR)/src required but not included by existing source patch?

I've mentioned in the internal issue. @JasonFengJ9


Converting to usize/isize?

I'm not a Rust veteran, but is there a (fixable) reason why the ux types can't be converted directly to usize/isize?
let x = usize::from(u4::new(0)); // the trait bound `usize: std::convert::From<ux::u4>` is not satisfied
let x = usize::from(u8::from(u4::new(0))); // works, but is obviously not ergonomical

Ah... Seems that would be fixed by #22


Add resolv.conf location under WSL

When the LXD snap runs under WSL, and WSL is allowed to manage /etc/resolv.conf automatically (the default), containers are unable to resolve DNS names. This happens because when WSL manages /etc/resolv.conf automatically, /etc/resolv.conf is a symlink to /mnt/wsl/resolv.conf, and AppArmor therefore denies dnsmasq access to it:
Oct 25 10:35:05 pallas-wsl dnsmasq[9258]: started, version 2.80 cachesize 150
Oct 25 10:35:05 pallas-wsl kernel: audit: type=1400 audit(1666712105.134:153): apparmor="DENIED" operation="open" profile="lxd_dnsmasq-lxdbr0_</var/snap/lxd/common/lxd>" name="/mnt/wsl/resolv.conf" pid=9900 comm="dnsmasq" requested_mask="r" denied_mask="r" fsuid=999 ouid=0
Oct 25 10:35:05 pallas-wsl audit[9900]: AVC apparmor="DENIED" operation="open" profile="lxd_dnsmasq-lxdbr0_</var/snap/lxd/common/lxd>" name="/mnt/wsl/resolv.conf" pid=9900 comm="dnsmasq" requested_mask="r" denied_mask="r" fsuid=999 ouid=0
Oct 25 10:35:05 pallas-wsl dnsmasq[9258]: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth nettlehash DNSSEC loop-detect inotify dumpfile

...

Oct 25 10:35:05 pallas-wsl dnsmasq[9258]: using local addresses only for domain lxd
Oct 25 10:35:05 pallas-wsl dnsmasq[9258]: failed to read /etc/resolv.conf: Permission denied
Oct 25 10:35:05 pallas-wsl dnsmasq[9258]: no servers found in /etc/resolv.conf, will retry

This PR adds /mnt/wsl/resolv.conf to the generated profile for dnsmasq, thus fixing this issue.
(I note that this is parallel to the following PR submitted against AppArmor: https://gitlab.com/apparmor/apparmor/-/merge_requests/935 .)
Signed-off-by: Alistair Young<EMAIL_ADDRESS>

This pull request didn't trigger Jenkins as its author isn't in the allow list.
An organization member must perform one of the following:

To have this branch tested by Jenkins, use the "ok to test" command.
To have a one time test done, use the "test this please" command.

Those commands are simple Github comments of the format: "jenkins: COMMAND"

jenkins: test this please

Testsuite passed


Mobile // Tiles in Albums not centered as in Album

This is because we don't apply the "justified" or "unjustified" layouts to the albums view. It's not mobile- or Laravel-specific.

It' "mobile Specific" as it looks "bad" on mobile ;-) Should be centered :-)

I wonder if this can be improved using just a CSS media query...

I think the easy/consistent way (as I said above) is probably to apply the chosen album layout to the albums view.