swagger loops on startup with invalid url

Our application has been using springfox 2.2.2. Upon startup the tomcat access log shows
<IP_ADDRESS> - - [13/May/2017:16:03:23 -0700] "GET /AccountService/swagger-resources/configuration/ui HTTP/1.1" 200 196
In trying to test our application in preparation for the changes I am making for issue 1691 I am starting the same application but upgrading to springfox 2.7.0-SNAPSHOT. Upon startup it goes into a loop immediately as shown below.  As you can see the url now has "null" in it. I made no changes to the application other that upgrading the springfox version.
tomcat access log:
0:0:0:0:0:0:0:1 - - [13/May/2017:15:56:47 -0700] "GET /AccountService/null/swagger-resources/configuration/ui HTTP/1.1" 404 949
0:0:0:0:0:0:0:1 - - [13/May/2017:15:56:48 -0700] "GET /AccountService/null/swagger-resources/configuration/ui HTTP/1.1" 404 949
0:0:0:0:0:0:0:1 - - [13/May/2017:15:56:48 -0700] "GET /AccountService/null/swagger-resources/configuration/ui HTTP/1.1" 404 949
0:0:0:0:0:0:0:1 - - [13/May/2017:15:56:48 -0700] "GET /AccountService/null/swagger-resources/configuration/ui HTTP/1.1" 404 949
0:0:0:0:0:0:0:1 - - [13/May/2017:15:56:48 -0700] "GET /AccountService/null/swagger-resources/configuration/ui HTTP/1.1" 404 949
0:0:0:0:0:0:0:1 - - [13/May/2017:15:56:48 -0700] "GET /AccountService/null/swagger-resources/configuration/ui HTTP/1.1" 404 949
0:0:0:0:0:0:0:1 - - [13/May/2017:15:56:48 -0700] "GET /AccountService/null/swagger-resources/configuration/ui HTTP/1.1" 404 949
0:0:0:0:0:0:0:1 - - [13/May/2017:15:56:48 -0700] "GET /AccountService/null/swagger-resources/configuration/ui HTTP/1.1" 404 949
0:0:0:0:0:0:0:1 - - [13/May/2017:15:56:48 -0700] "GET /AccountService/null/swagger-resources/configuration/ui HTTP/1.1" 404 949
Application log:
2017-05-13 15:55:11,423 [localhost-startStop-1] INFO  {} o.s.w.s.FrameworkServlet.initServletBean:507 - FrameworkServlet 'AccountService': initialization completed in 10156 ms
2017-05-13 15:56:46,712 [http-bio-8081-exec-1] INFO  {} c.n.u.r.w.f.RequestContextFilter.doFilter:44 - Starting request {}/AccountService/null/swagger-resources/configuration/ui
2017-05-13 15:56:46,846 [http-bio-8081-exec-1] WARN  {} o.s.w.s.DispatcherServlet.noHandlerFound:1136 - No mapping found for HTTP request with URI [/AccountService/null/swagger-resources/configuration/ui] in DispatcherServlet with name 'AccountService'
2017-05-13 15:56:46,849 [http-bio-8081-exec-1] INFO  {} c.n.u.r.w.f.RequestContextFilter.doFilter:67 - Request /AccountService/null/swagger-resources/configuration/ui completed in 0.076352020 seconds
2017-05-13 15:56:46,870 [http-bio-8081-exec-2] INFO  {} c.n.u.r.w.f.RequestContextFilter.doFilter:44 - Starting request {}/AccountService/null/swagger-resources/configuration/ui
2017-05-13 15:56:46,899 [http-bio-8081-exec-2] WARN  {} o.s.w.s.DispatcherServlet.noHandlerFound:1136 - No mapping found for HTTP request with URI [/AccountService/null/swagger-resources/configuration/ui] in DispatcherServlet with name 'AccountService'
2017-05-13 15:56:46,900 [http-bio-8081-exec-2] INFO  {} c.n.u.r.w.f.RequestContextFilter.doFilter:67 - Request /AccountService/null/swagger-resources/configuration/ui completed in 0.029688905 seconds
2017-05-13 15:56:46,919 [http-bio-8081-exec-3] INFO  {} c.n.u.r.w.f.RequestContextFilter.doFilter:44 - Starting request {}/AccountService/null/swagger-resources/configuration/ui
2017-05-13 15:56:46,944 [http-bio-8081-exec-3] WARN  {} o.s.w.s.DispatcherServlet.noHandlerFound:1136 - No mapping found for HTTP request with URI [/AccountService/null/swagger-resources/configuration/ui] in DispatcherServlet with name 'AccountService'
2017-05-13 15:56:46,944 [http-bio-8081-exec-3] INFO  {} c.n.u.r.w.f.RequestContextFilter.doFilter:67 - Request /AccountService/null/swagger-resources/configuration/ui completed in 0.025102771 seconds

I was able to solve the problem by adding .pathProvider(new RelativePathProvider(servletContext)) when creating the Docket.

That is the default provider. You could even remove that assignment and it should work.

Hello,
I am facing the same issue now. There is not change in project but suddenly started getting this issue.
I am using version 2.8.0.
Below is my Docket config:
@Bean
public Docket api() {
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage(TestController.class.getPackage().getName()))
.paths(PathSelectors.any())
.build()
.apiInfo(apiInfo())
.securityContexts(Collections.singletonList(securityContext()))
.securitySchemes(Arrays.asList(securitySchema(), apiKey(), apiCookieKey()));
}
Need help.
Thanks.

This is technically not the same issue since its a different version @pankaj-kumar2905
Would you mind creating a new issue with better steps to reproduce this issue.

I solved it by adding below to my white list. but now started getting popup while accessing swagger-ui.html.

Let me know, if I have to create new issue for this as well.
Thanks.

In my case, there was an invalid swagger api endpoint(which was existing before, later deleted) open in chrome and it was continuously trying to hit the wrong endpoint. It took sometime for figure out. Once I closed the chrome tab, the infinite call stopped.

you are right! I


www/caddy: Allow writing *.global and *.conf files in the UI

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
[x] I have searched the existing issues, open and closed, and I'm convinced that mine is new.
[x] When the request is meant for an existing plugin, I've added its name to the title.

Is your feature request related to a problem? Please describe.
I have a caddy LXC in my homelab that I'd like to move into my new opnsense router. Using the UI is extremely tedious compared to writing my simple reverse_proxy directives by hand. The entire value proposition of Caddy is that adding a new entry can be 50 characters of plaintext, but the UI requires a TON of duplication and creating matching entries across multiple tabs.
Describe the solution you'd like
It should be straightforward to allow creating and editing caddy.d/*.global and caddy.d/*.conf files in the UI. It would probably be fine to not even manage multiple files, just one of each with its own textedit widget.
The plugin's Caddyfile is already configured for importing them, and it already has a mechanism to validate the configuration before reloading (not to mention that Caddy is very resilient to bad configs). I don't know opnsense's UI framework but a couple of textedits that sync to disk should be very straightforward.

Can't do that, sorry.
There is another plugin version that is in the community maintained repo, where you can just copy paste the whole Caddyfile into the GUI: https://github.com/mimugmail/opn-repo

You can't... make the plugin work correctly? I followed all the steps in the docs and it won't retrieve certs for domains/handlers set up through the UI, but the exact same domains work exactly as expected when I put them in a caddy.d/*.conf file.
I guess I'll try mimugmail's version.

From what I know the plugin works as intended. Do you have any debug logs that show the certificate requests failing when domains have been set up through the UI?
Please share them with me so I can see what the problem is.

From what I know the plugin works as intended. Do you have any debug logs that show the certificate requests failing when domains have been set up through the UI?

It wasn't the cert request failing, I think it might have been a caching problem with reusing already registered certs? It's working now, but only after several cycles of un/reinstalling the plugin, and manually deleting the certs folder to force it to re-request them all. At this point it was probably user error, but I followed the docs multiple times over a couple days this weekend and I don't see a reason why it wasn't working but is working now.
My only complaint now is that it's rather tedious to flip back and forth between the Domains and Handlers tabs since I only actually care about one field on each side. The mandatory description field is also annoying, since I don't see a reason that an empty description couldn't just automatically take the domain name or something. Between these two things it takes like 5x as much interaction to create a reverse proxy endpoint as it does to type <domain> { reverse_proxy <target> } into a caddyfile.
Maybe a "create matching handler" button in the "commands" section of the domains/subdomains table?
I did try mimugmail's os-caddy-maxit, but it looks like os-caddy doesn't uninstall properly (purely guessing that something is left behind, maybe the UI tabs are defined by directories, and the package uninstaller leaves empty directories?):

screenshot

docs.opnsense.org/development/guidelines/basics.html
If you want to make a proper argument please respect the boundaries of the project.

Maybe that link should be in CONTRIBUTING.md or the issue template.

I couldn't make the GUI simpler since it has a lot of options.
One of my first plugin versions only had one page where you could create only domain/reverse_proxy entries without any other options. https://github.com/Monviech/os-caddy-plugin/tree/1.0.8b
But since the options inside the forms are quite plentiful now, that was not possible anymore.
I'm looking into your feedback, maybe I can improve something, but I don't know yet. Most Caddyfiles of users I have seen so far were pretty simple and static.

Yeah, I think it's a friction and discoverability problem, not a structural issue. I mostly just use reverse_proxy directives, so after I created the first Domain object, it wasn't obvious what I'm supposed to do next. I eventually remembered reading in the Caddy docs that reverse_proxy is basically a macro that implicitly expands into a block of simpler directives, and then Handlers made sense.
Some way to nudge the user from a Domain to creating a matching Handler (prefilling the Domain we came from) ([0]) would:

reduce the amount of motion, making the common path faster for power users without actually removing any options
limit the cognitive load for the new user by making it more obvious what's "supposed" to be next

[0]
and not distracting them with a mandatory irrelevant description field that I don't care about when I just want to reverse proxy something and I'm trying to figure out if it doesn't work because of my DNS or my firewall rules or my inability to read

If you have a good idea here, feel free to propose something in a PR that makes it easier, I'd be interested.

I should have some time this week; I'll see what I can put together!

< info >

Thanks for the links, that looks like a good starting point.

Thanks. If you need any more info feel free to ask when you get stuck.

@DaelonSuzuka FYI https://github.com/opnsense/plugins/pull/4097

@DaelonSuzuka What do you think of something really simple like this? It would reduce friction and save a few button clicks, and there is no extensive logic inside of it that would break in the future, like pre filling forms etc... its really easy to understand for the user and for the dev.
https://github.com/Monviech/opnsense-plugins/commit/e7a360a2f42e383effe621235aa246adb4220024

Hey @Monviech, I meant to get back to this way sooner, but my new job started the week after and I got completely busy.
I've installed those updates to the caddy plugin and they make a big difference! The step 1 and step 2 buttons are a great solution, especially given the constraints of the UI framework.
I think it's a LOT more approachable for someone who's mostly written simple Caddyfiles and hasn't used the JSON API or dug into the internals (aka me). Thanks a lot!


Only process Google Analytics for truthy base paths

When requesting the Google Analytics data for a nil base path, we
surprisingly get results.
We are currently creating a filter in page_views_request by ignoring
all nil base paths, but in the corner case where all base paths
are nil, this results in an empty filter (ie all results are
returned!).
Processing all results then also results in the return of every single
path processed by GA, which includes paths who have no content item.
This in itself results in attempting to fetch a non-existent content
item, which is nil, and causes a NoMethodError when trying to call
update! on it, as seen in this error report.
This change makes a couple of remedial actions. First of all, we no
longer filter out blank base paths when creating a filter. The behaviour
of creating an empty filter is confusing, so instead we should fail
loudly instead of swallowing the error at this low level.
Instead, the guard for nil base paths is moved up to the service layer
in GoogleAnalyticsService, which should be responsible for cleansing
the input it receives.
A second guard is also added at the layer above the service, in the
AllGoogleAnalyticsMetrics importer.
Note that here we do not check for the presence of a content item
when trying to retrieve it by base path. We expect to never try
to retrieve a content item with a non-existent base path, so we should
not swallow that error, and should indeed continue to fail loudly as we
have done in this case.

 We're getting nil errors when trying to fetch base paths that are all nil


Failden docker-compose up

Hi
i have this issue
ERROR: Service 'jespresso' failed to build: ADD failed: file not found in build context or excluded by .dockerignore: stat target/jespresso-0.8.1-SNAPSHOT-UNSTABLE.jar: file does not exist
can you give any idea?

Hi,
are you trying to compile from source?
Maybe build has been failed and docker cannot find jar file. You need to check maven and jdk setup.

Hy
Having the same issue:
Building jespresso
Step 1/5 : FROM adoptopenjdk/openjdk11:latest
---> 95aa255e9fee
Step 2/5 : EXPOSE 8080
---> Using cache
---> f39c702447c8
Step 3/5 : ARG JAR_FILE=target/jespresso-0.8.1-SNAPSHOT-UNSTABLE.jar
---> Using cache
---> adc19a816c04
Step 4/5 : ADD ${JAR_FILE} app.jar
ERROR: Service 'jespresso' failed to build: ADD failed: file not found in build context or excluded by .dockerignore: stat target/jespresso-0.8.1-SNAPSHOT-UNSTABLE.jar: file does not exist
please advise.
thank you :-)

My bad!
The first thing to build is the JAR with ./mvnw.
Works Fine! tks.


Simple gradle init followed by gradlew run fails on exFAT formatted drive

Expected Behavior
Simple example work as described in
https://docs.gradle.org/6.7.1/samples/sample_building_java_applications_multi_project.html
and created by gradle init does support "run" task.
Current Behavior
Run task fails:
.\gradlew run

FAILURE: Build failed with an exception.

* Where:
Build file 'G:\w\jge\sample\app\build.gradle' line: 6

* What went wrong:
Plugin [id: 'sample.java-application-conventions'] was not found in any of the following sources:

- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (plugin dependency must include a version number for this source)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s

Context

Steps to Reproduce
First the interactive init

Select type of project to generate:
  1: basic
  2: application
  3: library
  4: Gradle plugin
Enter selection (default: basic) [1..4] 2

Select implementation language:
  1: C++
  2: Groovy
  3: Java
  4: Kotlin
  5: Scala
  6: Swift
Enter selection (default: Java) [1..6] 3

Split functionality across multiple subprojects?:
  1: no - only one application project
  2: yes - application and library projects
Enter selection (default: no - only one application project) [1..2] 2

Select build script DSL:
  1: Groovy
  2: Kotlin
Enter selection (default: Groovy) [1..2] 1

Project name (default: sample):
Source package (default: sample):

> Task :init
Get more help with your project: https://docs.gradle.org/6.7.1/samples/sample_building_java_applications_multi_project.html

BUILD SUCCESSFUL in 16s
2 actionable tasks: 2 executed

Then proceed with .\gradlew run as written above
Your Environment

------------------------------------------------------------
Gradle 6.7.1
------------------------------------------------------------

Build time:   2020-11-16 17:09:24 UTC
Revision:     2972ff02f3210d2ceed2f1ea880f026acfbab5c0

Kotlin:       1.3.72
Groovy:       2.5.12
Ant:          Apache Ant(TM) version 1.10.8 compiled on May 10 2020
JVM:          14.0.2 (Oracle Corporation 14.0.2+12-46)
OS:           Windows 10 10.0 amd64

Scan of the build: https://scans.gradle.com/s/czlknru5xhauo

Seems to be duplicate to #4329, but it is difficult to track down. Some "locking failed" etc, error message would help.

Supporting exFAT is tracked on #4329. Thanks for the report


chore: fix bug in exact? using ...

Lemmas that generate no subgoals were being incorrectly accepted by exact? using ....

maintainer merge

bors r+


Update to latest release of Argo Rollouts: v1.7.0

Updates to latest release of Argo Rollouts: v1.7.0
Before merging this PR, ensure you check the Argo Rollouts change logs and release notes:

ensure there are no changes to the Argo Rollouts install YAML that we need to respond to with changes in the operator
ensure there are no backwards incompatible API/behaviour changes in the change logs

Thanks for reviewing @jopit!


Hero8 not delivering on port 8554

Hi and thank you for all this work!
My hero8 - I can access its interface IP from CLI - does not deliver anything on the port 8554, nor 8080
The command http://<IP_ADDRESS>/gp/gpControl/execute?p1=gpStream&c1=start delivers "error=0" which I guess means OK
But then with ffplay udp://<IP_ADDRESS>:8554 (nor with port 8080) any UDP is delivered.
What should I do in order to get ffplay work and deliver a video out of the camera?
Details:

GoPro Camera(s): Hero8 with USB = MTP (the value seems not to impact)
Firmware Version: 02.00
Steps to reproduce: Start camera and grab UDP (e.g. via VLC)
Happens every time? [Y/N]: Yes
OS: gnu/linux (not wifi)

nc -vz -u <IP_ADDRESS> 8554 delivers
Connection to <IP_ADDRESS> 8554 port [udp/*] succeeded!

With gopro8 such a command should work:
http://<IP_ADDRESS>/gp/gpControl/execute?p1=gpStream&c1=restart


Further clarify that manual install isn't recommended

Maybe it would be good to have the contents of https://github.com/commercialhaskell/stack/blob/master/doc/install_and_upgrade.md inline on that page?  I noticed this because https://www.stackage.org/install is the 2nd google result for "install haskell stack", so it's a good idea to have something streamlined for this page.

We'll stick to this for now, though pinging @chrisdone for future website thoughts on this.

Looks good.


Rhino closes automatically

Hello. I am using Rhino into an android service.  I use an activity to start the service and it all works, but as soon as i exit the activity the Rhino script closes.
I have uploaded the script that I'm using and the app sources
rhinotest.zip

Are you aware of the Android backround execution limits?

This seems to be the problem. I tested on a 8.0 emulator and I thought it was 7.1. I just tested on 7.1 and works perfectly. I'm sorry


feat: make rpc error more friendly

This PR make the JSON RPC error response more friendly
interface Error<T> {
  // for both end-user and developer to know what
  message: string,
  // for developer, more details about the error,
  // e.g. when a cell cannot be resolved, the `data` will be a outPoint
  data?: T
}

How
if (incorrectCondition) {
  throw NexusError.create({ message: 'Error message' })
}

// or
if (anotherCondition) {
  throw NexusCommonErrors.RequestTimeOut({
    method: 'get_transactions',
    params: [...]
  });
}

it is unnecessary to modify backend.ts in this PR, we can migrate to https://github.com/ckb-js/nexus/pull/112


Better explaining :global vs :global() and :local vs :local()

Forgive my ignorance, but the explanation in the Readme is not very clear. I see that it outputs both as the same. What's the difference?
Lastly, any suggestions when querying for a node? All I have is querySelector('[class^="background"]')

https://github.com/webpack/css-loader/issues/195#issuecomment-162386690

thanks!


fix DataLoaderDispatcher issue in Gaudi

TRL SFT trainer has used IterableDataset and DataLoaderDispatcher will be called. The data shape/tensor will be broadcasted from rank 0 to other rank in DDP.
What does this PR do?

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Traceback (most recent call last):
File "/intel-extension-for-transformers/optimum-habana/examples/trl_example/stack_llama_2/sft_llama2.py", line 184, in
trainer.train()
File "/usr/local/lib/python3.10/dist-packages/trl/trainer/sft_trainer.py", line 281, in train
output = super().train(*args, **kwargs)
File "/intel-extension-for-transformers/optimum-habana/optimum/habana/transformers/trainer.py", line 486, in train
return inner_training_loop(
File "/intel-extension-for-transformers/optimum-habana/optimum/habana/transformers/trainer.py", line 807, in _inner_training_loop
for step, inputs in enumerate(epoch_iterator):
File "/usr/local/lib/python3.10/dist-packages/accelerate/data_loader.py", line 664, in iter
raise ValueError(
ValueError: Batch does not contain any data (None). At the end of all iterable data available before expected stop iteration.
Traceback (most recent call last):
File "/intel-extension-for-transformers/optimum-habana/examples/trl_example/stack_llama_2/sft_llama2.py", line 184, in
trainer.train()
File "/usr/local/lib/python3.10/dist-packages/trl/trainer/sft_trainer.py", line 281, in train
output = super().train(*args, **kwargs)
File "/intel-extension-for-transformers/optimum-habana/optimum/habana/transformers/trainer.py", line 486, in train
return inner_training_loop(
File "/intel-extension-for-transformers/optimum-habana/optimum/habana/transformers/trainer.py", line 807, in _inner_training_loop
for step, inputs in enumerate(epoch_iterator):
File "/usr/local/lib/python3.10/dist-packages/accelerate/data_loader.py", line 664, in iter
raise ValueError(
ValueError: Batch does not contain any data (None). At the end of all iterable data available before expected stop iteration.


Treat slave-priority 0 as unavailable.

As per Redis documentation, slaves given a priority of 0 are never promoted to master, so from the perspective of reading the Sentinel topology they should not be considered available nodes.
This prevents Lettuce making attempts to nodes which it does not have access to, which otherwise adds ~5 second delay to application startup.
Checked against 4.4.x HEAD, but applies to all Lettuce versions.
I don't see current tests for SentinelTopologyProvider so wasn't able to add/update one for the isAvailable function this PR changes, but happy to do that if the appropriate framework is added.

Thanks for raising the issue. Slave priority isn't related to availability but to determine whether a slave can get promoted to a master node. Having slave-only nodes is perfectly fine for some use cases in which you want to read from the node but not allow master promotion.
From your description I understand you don't want to use a specific node for reads/connects. If so, then it would make sense considering a node filter to prevent nodes from being used at all.

But if you want to read from a slave node, you'd connect to the slave - connecting via sentinel means you want the current master.
I'm fine with achieving this using a node filter though, it gives more flexibility/control for if there's other reasons.
Would you see that filter as overriding isAvailable (when the function is specified), or as a second filter call that applies before/after isAvailable?
Presumably the filter function would be specified via a new option in ClientOptions?

But if you want to read from a slave node, you'd connect to the slave - connecting via sentinel means you want the current master.

No. Lettuce supports Sentinel-based setups with two different connection methods:

Connecting to a Sentinel (Cluster?) via MasterSlave allows control from which node to read (master or slaves).
Connecting via RedisClient.connect(…) with a Sentinel URI uses only the master (for read and write).

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.

Not sure what feedback was requested?
The motivation behind this PR is to stop Lettuce attempting to connect to nodes it does not have or need access to.
A node filter that told Lettuce not to use a specific node at all would be an acceptable way of solving that problem.

I'd argue that's nothing that is solved on a driver-level but to addressed as infrastructure concern. If a node is part of your cluster, then it must be connectable, otherwise, it's not part of your cluster.

It is connectable, from within the network it is on, and from the Redis servers.
The application using Lettuce only cares about connecting to the current master, (which will always be one of the Redis servers within the same network as the application server). There is no benefit from the application/Lettuce connecting to a different network to communicate with a guaranteed slave.
Even with regular slaves, if ReadFrom were set to NEAREST I can see it being useful to limit Lettuce to only checking a subset of nodes - i.e. given nodes distributed evenly around the globe, the ones on the opposite side from a client application are never going to be selected, so a way to filter those out and perform half as many checks could be beneficial.
But with ReadFrom set to MASTER there is never going to be a situation where Lettuce should connect to a slave which is defined as never being master.

Thanks for posting your thoughts. Topology discovery and the actual node used for commands (ReadFrom) are only marginally connected. Topology discovery attempts to connect all nodes reported by Redis Sentinel for three purposes:

The node is usable by Lettuce
We have a perception of network latency

Topology discovery happens during initialization and upon receiving a topology update signal from Redis Sentinel (asynchronously). ReadFrom has there no effect as ReadFrom is a behavioral object that implements node selection code, it's not an enum in the sense of a fixed enumeration. Enum values are rather factory entry-points if you don't want to implement your own ReadFrom type.

But with ReadFrom set to MASTER there is never going to be a situation where Lettuce should connect to a slave which is defined as never being master.

If you plan to use a master only, then MasterSlave is not the right tool for this job. In that case you'd rather want to use Sentinel for master discovery only without additional slave features:
RedisURI redisUri = RedisURI.Builder.sentinel("sentinelhost1", "mymaster").withSentinel("sentinelhost2").build();
RedisClient client = RedisClient.create(redisUri);

RedisConnection<String, String> connection = client.connect();

See wiki for more details.


gen_l10n tool marks messages with placeholders as raw strings in generated code

When using the gen_l10n.dart tool to generate message files from ARB files, messages with placeholders are prefixed with r' in generated code, meaning that their placeholder arguments are not expanded when calling the string getter from the UI.
For example, take the following ARB content:
{
  "translate": "Translate from {source} to {target}",
  "@translate": {
    "placeholders": {
      "source": {
        "description": "source locale name",
        "example": "en_US"
      },
      "target": {
        "description": "target locale name",
        "example": "ja_JP"
      }
    }
  }
}

The generated dart code for the message is:
String translate(Object source, Object target) {
    return Intl.message(
      r'Translate from $source to $target',
      locale: _localeName,
      name: 'translate',
      args: <Object>[source, target]
    );
  }

That r'prefix means that the fetched string for the call
AppLocalizations.of(context).translate("English", "Japanese")

is "Translate from $source to $target" rather than "Translate from English to Japanese" as it should be.
I'd attempt to fix it myself but it's not obvious how at first glance to someone unfamiliar with the code, and I don't want to step on ongoing changes from #47008.

I just tested it with the following app and it seems to work:
main.dart
import 'package:flutter/material.dart';

import 'l10n/app_localizations.dart';

void main() => runApp(new MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      localizationsDelegates: AppLocalizations.localizationsDelegates,
      supportedLocales: AppLocalizations.supportedLocales,
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatelessWidget {
  MyHomePage({Key key, this.title}) : super(key: key);
  final String title;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('test'),
      ),
      body: Center(
        child: Text(
          AppLocalizations.of(context).translate('English', 'Japanese'),
          style: Theme.of(context).textTheme.display1,
        ),
      ),
    );
  }
}

Arb files:
{
  "translate": "Translate from {source} to {target}",
  "@translate": {
    "placeholders": {
      "source": {
        "description": "source locale name",
        "example": "en_US"
      },
      "target": {
        "description": "target locale name",
        "example": "ja_JP"
      }
    }
  }
}

app_es.arb
{
  "translate": "traducir del {source} al {target}"
}

I've seen this happen before when a supported language does not have the translation. For instance, when running this app with a device that prefers Spanish, I get:

in main.dart
// In your app
Center(
  child: Text(
    AppLocalizations.of(context).otherWord('text here')
  ),
),

app_en.arb
{
  "translate": "Translate from {source} to {target}",
  "@translate": {
    "placeholders": {
      "source": {
        "description": "source locale name",
        "example": "en_US"
      },
      "target": {
        "description": "target locale name",
        "example": "ja_JP"
      }
    }
  },
  "otherWord": "Some other word with a {placeholder}",
  "@otherWord": {
    "description": "Some other word description",
    "placeholders": {
      "placeholder": {
        "description": "some placeholder text"
      }
    }
  }
}{
  "translate": "Translate from {source} to {target}",
  "@translate": {
    "placeholders": {
      "source": {
        "description": "source locale name",
        "example": "en_US"
      },
      "target": {
        "description": "target locale name",
        "example": "ja_JP"
      }
    }
  },
  "otherWord": "Some other word with a {placeholder}",
  "@otherWord": {
    "description": "Some other word description",
    "placeholders": {
      "placeholder": {
        "description": "some placeholder text"
      }
    }
  }
}

app_es.arb
{
  "translate": "traducir del {source} al {target}"
}

However, when I run this when the device prefers English:

I'm assigning @HansMuller to this issue since I'll be on vacation starting the end of this week until early February and I'm unsure if I'll be able to get to this before I leave.


Implement HTTP DELETE & UPDATE

Is your feature request related to a problem? Please describe.
Implement HTTP DELETE & UPDATE method functionality in the Service Evaluator class. It should already be supported by the DSL.

can i get assigned with this

Could someone please assign this issue to me? "fernandisvegas" is my username.


[Event Request] Reminder Header - procedure InsertLines - after calculating additional fee

We would like to have a new event OnInsertLinesOnAfterGetAdditionalFee in procedure InsertLines in table Reminder Header
    procedure InsertLines()
    ........
        if ReminderLevel.FindLast then begin
            CalcFields("Remaining Amount");
            AdditionalFee := ReminderLevel.GetAdditionalFee("Remaining Amount", "Currency Code", false, "Posting Date");
            OnInsertLinesOnAfterGetAdditionalFee(Rec, ReminderLevel, AdditionalFee); // <-- NEW EVENT

            if AdditionalFee > 0 then begin
                ReminderLine.Reset();
            ......

    [IntegrationEvent(false, false)]
    local procedure OnInsertLinesOnAfterGetAdditionalFee(var ReminderHeader: Record "Reminder Header"; ReminderLevel: Record "Reminder Level"; var AdditionalFee: Decimal)
    begin
    end;

With this event, we can calculate additional fees based on certain settings.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


[UI] (2.2.x backport) - Azure and VMware node templates are tagged to incorrect cloud credentials

Version: v2.2.8
Version: master-head (v2.3) (9/5/19) (tracked separately in issue https://github.com/rancher/rancher/issues/22662)
What kind of request is this (question/bug/enhancement/feature request):
Bug, major
Steps to reproduce (least amount of steps as possible):
Reference: https://github.com/rancher/rancher/issues/18737

In a Rancher HA set up (or single-node rancher), create an Amazon cloud credential.
Create an Azure/VMware cloud credential.
Go to 'Node Templates' page.
Create an Azure/VMware node template.
Select the appropriate azure/vmware cloud credential while creating the template.
After creation of the template, click on 'View in API'
Once you have multiple cloud credentials to pick from (azure, vsphere, do) if you attempt to create a DO nodeTemplate, you'll get an error in the UI:

This happens even though we have properly selected the "DO" cloudCredential in the UI.

Expected Result:
cloudCredentialId should be tagged to the azure/vmware cloud credential selected while creating the template.
Actual Result:
cloudCredentialId is tagged to Amazon cloud credential, which is the first one on the Cloud Credentials page.

Available in UI version 2.2.95 when the new rc is released

Reproduced the issue on 2.2.8
Steps:

In a rancher setup, create an Amazon cloud credential.
Create an Azure/VMware cloud credential.
Go to 'Node Templates' page.
Create an Azure/VMware node template.
Select the appropriate azure/vmware cloud credential while creating the template.
After creation of the template, click on 'View in API'
The aws cloud credential is tagged to the azure node template.

Verified on 2.2-head with UI Tag : 2.2.96.
Steps:

In a rancher setup, create an Amazon cloud credential.
Create an Azure/VMware cloud credential.
Go to 'Node Templates' page.
Create an Azure/VMware node template.
Select the appropriate azure/vmware cloud credential while creating the template.
After creation of the template, click on 'View in API'
The Azure cloud credential is tagged to the azure node template.
Create an AWS node template.
AWS cloud credential is tagged to the AWS node template.


8375 Agnus Option

I would like to suggest that a new revision of this board be made to make it compatible with the 8375 Agnus chip and change the RAM from 1mb to 2mb.

I think anyone willing to invest the time and money into building this board would agree that an 8375 is a nice upgrade.


bug: Fail to compile with nextjs 14

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
1.4.5
Current Behavior
When I use wagmi in a new nextjs 14 project I get this error. Is there anything I can do to fix this?
./node_modules/wagmi/dist/chains.js
Error: It's currently unsupported to use "export *" in a client boundary. Please use named exports instead.

Expected Behavior
The project to build correctly
Steps To Reproduce

Create a nextjs project
npm install @web3modal/wagmi wagmi viem
Do basic implementation step

Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
No response
Anything else?
No response

Hi, how are you exporting chains?

I also encountered this issue in next14 when using Rainbowkit. Have you resolved it

I also encountered the same issue in nextjs 14 (14.0.3 to be specific)

webpack: (config) => {
config.externals.push("pino-pretty", "lokijs", "encoding");
return config;
};
Add this code in the next.config.js file it will fix your issue.


fix(influx2otel): only map to histogram when all fields match

When AddPoint is called with the unknown metric type, it tries to infer the type from the given field names. Right now it infers histogram when any of the fields matches the histogram keys, but that leads to a lot of errors when your data isn't actually a histogram. Instead, only infer a histogram if all fields match the expected histogram keys.
Fixes #312
and maybe also https://github.com/influxdata/telegraf/issues/14371 ?

cc @jacobmarble I see you listed as the code owner on the otel collector side


IOException while provisioning Edge

I'm using aries-mobileagent-xamarin (Osma mobile app), and using Samsung Galaxy A30s android phone.
After tapping "Create Wallet" button, the Function "ProvisionAsync" is called and takes a lot of time and throws the following exception:
Wasn't able to provision the agent: System.Threading.Tasks.TaskCanceledException: The operation was canceled. ---> System.IO.IOException: Unable to read data from the transport connection: Operation aborted. ---> System.Net.Sockets.SocketException: Operation aborted    --- End of inner exception stack trace ---
at System.Net.Sockets.Socket+AwaitableSocketAsyncEventArgs.ThrowException (System.Net.Sockets.SocketError error) [0x00000] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/System.Net.Sockets/src/System/Net/Sockets/Socket.Tasks.cs:1088    at System.Net.Sockets.Socket+AwaitableSocketAsyncEventArgs.GetResult (System.Int16 token) [0x00025] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/System.Net.Sockets/src/System/Net/Sockets/Socket.Tasks.cs:1062    at System.Threading.Tasks.ValueTask1[TResult].get_Result () [0x00028] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/Common/src/CoreLib/System/Threading/Tasks/ValueTask.cs:818
at System.Net.Http.HttpConnection.SendAsyncCore (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00c7a] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnection.cs:537
--- End of inner exception stack trace ---
at System.Net.Http.HttpConnection.SendAsyncCore (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x012b9] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnection.cs:725
at System.Net.Http.HttpConnectionPool.SendWithNtConnectionAuthAsync (System.Net.Http.HttpConnection connection, System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancellationToken) [0x000e6] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionPool.cs:316
at System.Net.Http.HttpConnectionPool.SendWithRetryAsync (System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancellationToken) [0x00101] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionPool.cs:296
at System.Net.Http.RedirectHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00070] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/RedirectHandler.cs:32
at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000a0] in :0
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000be] in :0
at System.Net.Http.HttpClient.FinishSendAsyncBuffered (System.Threading.Tasks.Task1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.CancellationTokenSource cts, System.Boolean disposeCts) [0x0017e] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/System.Net.Http/src/System/Net/Http/HttpClient.cs:506    at Hyperledger.Aries.Agents.HttpMessageDispatcher.DispatchAsync (System.Uri endpointUri, Hyperledger.Aries.Agents.PackedMessageContext message) [0x0008c] in d:\a\1\s\src\Hyperledger.Aries\Agents\Transport\HttpMessageDispatcher.cs:41    at Hyperledger.Aries.Agents.DefaultMessageService.SendReceiveAsync (Hyperledger.Indy.WalletApi.Wallet wallet, Hyperledger.Aries.Agents.AgentMessage message, System.String recipientKey, System.String endpointUri, System.String[] routingKeys, System.String senderKey) [0x00197] in d:\a\1\s\src\Hyperledger.Aries\Agents\Transport\DefaultMessageService.cs:106    at Hyperledger.Aries.Agents.MessageServiceExtensions.SendReceiveAsync (Hyperledger.Aries.Agents.IMessageService service, Hyperledger.Indy.WalletApi.Wallet wallet, Hyperledger.Aries.Agents.AgentMessage message, Hyperledger.Aries.Features.DidExchange.ConnectionRecord connection) [0x000ce] in d:\a\1\s\src\Hyperledger.Aries\Agents\Transport\MessageServiceExtensions.cs:50    at Hyperledger.Aries.Agents.MessageServiceExtensions.SendReceiveAsync[T] (Hyperledger.Aries.Agents.IMessageService service, Hyperledger.Indy.WalletApi.Wallet wallet, Hyperledger.Aries.Agents.AgentMessage message, Hyperledger.Aries.Features.DidExchange.ConnectionRecord connection) [0x0002d] in d:\a\1\s\src\Hyperledger.Aries\Agents\Transport\MessageServiceExtensions.cs:67    at Hyperledger.Aries.Agents.Edge.EdgeProvisioningService.ProvisionAsync (Hyperledger.Aries.Configuration.AgentOptions options) [0x0034f] in <e06152b8defb4dd696ec9779c44d06a3>:0
Expected behavior
The wallet should have been created and new agent should be provisioned. The problem persist in this Phone itself. I'm confused if it has something to do with Samsung Phones as in other android devices I tried including an emulator, it works fine.
Desktop

OS: Windows 10 64-bit
.NET Core sdk version: 3.1.300
libindy _1.15.0

Smartphone:

Device: Samsung Galaxy A30s
OS: Android X

The setup is followed from the instructions given here: https://github.com/hyperledger/aries-mobileagent-xamarin/blob/master/README.md

@naman20sharma Looking at the stack trace, this seems like a connectivity issue. Were you able to get past this?

I was using High speed Wifi network (200 mbps) when this Error showed up. Later, I tried by using hotspot of another mobile phone, and it worked just fine. I'm not getting the reason behind this. My mobile data is slower than the Wifi.


update endowed positions dataset

READY FOR REVIEW
Summary

New endowed positions dataset update. Client would like to go live on Thursday, Oct 24.

Review By Oct 23

Please push to Dev for client review and push to Prod on Thursday.

Criticality

How critical is this PR on a 1-10 scale? Also see Severity Assessment.
E.g., it affects one site, or every site and product?

Review Tasks
Setup tasks and/or behavior to test

Check out this branch
Navigate to...
Verify...

Front End Validation

[ ] Is the markup using the appropriate semantic tags and passes HTML validation?
[ ] Cross-browser testing has been performed?
[ ] Automated accessibility scans performed?
[ ] Manual accessibility tests performed?
[ ] Design is approved by @ user?

Backend / Functional Validation
Code

[ ] Are the naming conventions following our standards?
[ ] Does the code have sufficient inline comments?
[ ] Is there anything in this code that would be hidden or hard to discover through the UI?
[ ] Are there any code smells?
[ ] Are tests provided? eg (unit, behat, or codeception)

Code security

[ ] Are all forms properly sanitized?
[ ] Any obvious security flaws or new areas for attack?

General

[ ] Is there anything included in this PR that is not related to the problem it is trying to solve?
[ ] Is the approach to the problem appropriate?

Affected Projects or Products

Does this PR impact any particular projects, products, or modules?

Associated Issues and/or People

JIRA ticket(s)
Other PRs
Any other contextual information that might be helpful (e.g., description of a bug that this PR fixes, new functionality that it adds, etc.)
Anyone who should be notified? (@mention them here)

Resources

AMP Tool
Accessibility Manual Test Script
HTML Validator
Browserstack and link to Browserstack Credentials

@forrestglick this can be reviewed here:
https://deploy-preview-448--adapt-giving.netlify.app/endowed-positions/bass-university-fellows-in-undergraduate-education-program/

Thanks @yvonnetangsu! You are so quick. Appreciate it :) I'll send to the client for review.


Update build-python.yml to install libomp in macOS CI

Description
For some reasons, CI failed due to missing libomp in CI from a certain version.
Install it in macOS CI
Related Issue

Type of Change

[ ] 📚 Examples / docs / tutorials / dependencies update
[ ] 🔧 Bug fix (non-breaking change which fixes an issue)
[ ] 🥂 Improvement (non-breaking change which improves an existing feature)
[ ] 🚀 New feature (non-breaking change which adds functionality)
[ ] 💥 Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🔐 Security fix

Checklist

[ ] I've read the CODE_OF_CONDUCT.md document.
[ ] I've read the CONTRIBUTING.md guide.
[ ] I've written tests for all new methods and classes that I created.
[ ] I've written the docstring in Google format for all the methods and classes that I used.
[ ] I've updated the pdm.lock running pdm update-lock (only applicable when pyproject.toml has been
modified)

It still requires a better gcs support on macOS


missing licence file

I'm working on packaging dtui for Void Linux, and we require MIT-licenced packages to provide a licence file. can you add that?

Done :)


Segmentation fault in rapidjson

Hello Jungwon,
First of all, thank you very much for providing the software of your paper!
I tried to run your package on Ubuntu 20.04 with ROS noetic but it crushed. I tried to debug and got a segmentation fault at the following line:
https://github.com/qwerty35/lsc_dr_planner/blob/110610c31732ed298e803650f03ec49cb6a804d8/include/rapidjson/filewritestream.h#L65

First of all, thank you for your attention.
I recently modified the code for that part, so make sure the package is the latest version.
If it does not work, please let me know the following:

Launch file that makes the problem.
Full debug message when the seg fault occurs.

Thank you.
Jungwon Park.

Thanks for your reply! It's really helpful. Now the issue is solved.


Support the use of EC2 spot instances as worker nodes

What problem are you facing?

The current worker node spec does not support the use of spot instances.
How could Crossplane help solve your problem?

Expose support for the use of EC2 spot fleets as worker nodes.

Thanks for the feature request @cmdallas! One potential snag here is that we plan to move away from using CloudFormation under the hood in favour of managed node groups as part of https://github.com/crossplane/provider-aws/issues/137. It seems like managed node groups don't currently support spot instances per https://github.com/aws/containers-roadmap/issues/583.

FWIW, it seems like AWS team is currently working on this feature, you can see the issue in We're working on it column here https://github.com/aws/containers-roadmap/projects/1
We'll likely begin the upgrade of EKS to v1beta1 quality very soon but my gut says we'll complete it before the spot instance support. Though it should be pretty straight-forward to add the spot instance support after v1beta1 once AWS supports it.

We have v1beta1 level support for EKS but it seems AWS still hasn't implemented support for spot instances in the official API https://github.com/aws/containers-roadmap/issues/583

Sounds like AWS added spot support in https://github.com/aws/containers-roadmap/issues/583

Seems like no API changes were required, so we should get this support without any code change. It'd be great if someone can test this so that we can close the issue.

@muvaf can't find a way to provide SPOT capacity type similar to https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eks_node_group#capacity_type
Looks like there is not matching field in<EMAIL_ADDRESS>.
Am I missing something?

@ytsarev I think you're right, seems we don't have capacityType. Though in order to add it, we need to bump the AWS SDK v2 version.


False positive prop mutation error

Version
1.0.0-beta.25
The issue is also inside 1.0.0-beta.20 which is the real version we use, but we cannot upgrade to .25 due to https://github.com/vuejs/vue-test-utils/issues/1026, but the bug is inside .25 as well. Reproduction repo uses .25.
Reproduction link
https://github.com/MechJosh0/vue-test-utils-prop-error
Steps to reproduce
npm run test:unit

Output
PASS  src/components/__tests__/Container.spec.js
  @/components/Container
    interaction
      √ it should display a child-block (33ms)

  console.error node_modules/vue/dist/vue.runtime.common.js:589
    [Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "mode"

    found in

    ---> <SimpleButton>
           <Anonymous>
             <Root>

What is expected?
No error.
What is actually happening?
Producing an error saying that the prop mode is being mutated when it is in fact not.

This issue isn caused by how Vue Test Utils implements synchrnous updates. It will be fixed after Vue 2.5.18 is released, which includes synchronous update mode in core.
A temporary workaround is to run your tests asynchronously:
it("renders", () => {
  let wrapper = shallowMount(demo, { sync: false });
  wrapper.setData({selectedDate: testDate})
  setTimeout(() => {
    wrapper.vm.selectedDate.should.be.equal(testDate)
  done()
  })
});

This also happened to me while using wrapper.trigger('click').  Version is 1.0.0-beta.26.


Merge release 1.6.0

@ptuomola ... would be great if you could approve this one... as you can see there's only a small diff... only thing this does: apply automatically proper version based on Git tag/hash (in release we have a different pattern). Note: for the next release (1.7.x) I'll try to automate this more with JReleaser (for most parts) and maybe a little custom plugin to handle the Apache specifics.

@ptuomola Hi Petri... this is already released (see: https://github.com/apache/fineract/blob/1.6.0/build.gradle#L89). It's just to keep this in sync. The only reason to have those two lines is to have the right version pattern when doing a release. This is at the moment done by manually enabling/disabling those lines (on a release branch). I have another improvement lined up to make the release less of a manual experience (including the version pattern)... I think we can reduce the manual steps a lot by using JReleaser + a little custom Gradle plugin to take care of any Fineract/Apache specific steps.

FYI: conflict resolved.

LGTM


issues

When I encountered the following error, I have tried the solution online, how to solve this?
Traceback (most recent call last):
File ".\dataset\process_Dopamine.py", line 16, in
env = gym.make(f'{env_id}', stack=True)  # -v{0, 1, 2, 3, 4} for datasets with the other random seeds
File "C:\Users\FrankGod.conda\envs\STGGPU\lib\site-packages\gym\envs\registration.py", line 184, in make
return registry.make(id, **kwargs)
File "C:\Users\FrankGod.conda\envs\STGGPU\lib\site-packages\gym\envs\registration.py", line 105, in make
spec = self.spec(path)
File "C:\Users\FrankGod.conda\envs\STGGPU\lib\site-packages\gym\envs\registration.py", line 167, in spec
raise error.UnregisteredEnv("No registered env with id: {}".format(id))
gym.error.UnregisteredEnv: No registered env with id: breakout-epoch-50-v0

Hi, could you provide the complete code?


Other universities not supported

Unfortunately these need to be added as domains. I suggest adding them in the following order when the extension is stable enough:

BCE
BME
?

BCE

for student: https://neptun3r.web.uni-corvinus.hu/hallgatoi_2/login.aspx
for lecture: https://neptun3r.oweb.uni-corvinus.hu/oktatoi/


Syntax hl fixes

Since main is very very behind vars wise and Im not using the main style, if you change colors on vars you will find that fixes I made will be broken again.

This needs some tlc before so converting to draft


Add flags for file change types

Coupling the logic to the specific event types that inotify provides is not necessarily ideal and there's no need to have flags for all modes, however, here are the constructors available for the EventTypes type in inotify:
Access
Modify
Attrib
Close
CloseWrite
CloseNoWrite
Open
Move
MoveIn
MoveOut
MoveSelf
Create
Delete
DeleteSelf
OnlyDir
NoSymlink
MaskAdd
OneShot
AllEvents

A quick glance would imply the most needed (for a developer) would be Modify, Close, Open, Move, Create, Delete, and maybe AllEvents, but that might ruin the granularity of it all.

I will need to verify this, but I think there is a bug associated with this in the context that when I have my editor open with two buffers and I write, stickybeak runs twice.

According to this Stack Overflow link, a user generally wants CloseWrite (or IN_CLOSE_WRITE in the native C interface), so allowing different flags could be confusing to users, but would still be somewhat helpful (say someone wants a build to run if someone adds files to a directory, ergo MoveIn).

This is too tightly coupled to inotify, closing.


Add license header for .codecov.yml

LGTM

lgtm

Sorry for the missing header. I thought all ".yml" files do not need the license header, but seems only ".travis.yml" doesn't, maybe because Apache is using Travis as the platform for ci? :P


Mangle all Rust keywords

@homu r+

:pushpin: Commit e622493 has been approved by gkoz

:hourglass: Testing commit e622493 with merge 0354c03...

:sunny: Test successful - status


Ability to search a user among all the courses

Duplicated of https://github.com/mumuki/mumuki-teacher-tools/issues/92


C++11 conforming STL allocator

allocate()  now throws on error
Class is trivially default constructible
Explicitly require C++11 or later because C++98 allocator requirements aren't satisfied anyways

Thanks again everyone -- we have a great STL default allocator now -- wouldn't have succeeded at this without all your input.


Duplicate plugin ('autoprefixer')

Laravel Mix Version<EMAIL_ADDRESS>
Description:
When I add a<EMAIL_ADDRESS>plugin and run webpack get a message in console:
Warning: postcss-cssnext found a duplicate plugin ('autoprefixer') in your postcss plugins. This might be inefficient. You should remove 'autoprefixer' from your postcss plugin list since it's already included by postcss-cssnext.

One can resolve trouble move autoprefixer from mix into webpack.config.js

Resolved:
const mix = require('laravel-mix');
mix.Mix.options.postCss = null;

mix.options({
        postCss: [
            require('postcss-cssnext')({
                browsers: ['> 1%', 'last 2 versions']
            })
        ]
    })


Add test for resolve dependencies from balas having various dist versions

Purpose

$Title

Fixes #
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

This was not merged because of a the test failure due to a known bug in SL GA.


Task System - Remove ResolveTarget as an Enum and just use the type

See https://github.com/decline-cookies/anvil-unity-dots/pull/60#issuecomment-1265692944
We can remove the enum and instead just use the type.

Closing as this is now merged in

In #77


WIP: Updates for PHP 7.1

Coverage increased (+0.03%) to 76.033% when pulling 1afd8442ed39b71f50cd4a20da26f4d749fc544a on davedevelopment:7.1 into 15dc926d6f805edbcd58d0c422590de5fd5533c4 on padraic:master.

Coverage increased (+0.03%) to 76.033% when pulling 820911c43b80753affdd37ac7cecc4b493280923 on davedevelopment:7.1 into 15dc926d6f805edbcd58d0c422590de5fd5533c4 on padraic:master.

Coverage decreased (-0.02%) to 75.992% when pulling 1c05aacc9d1305c6abae3e8f8385f9a8ce9f336d on davedevelopment:7.1 into 15dc926d6f805edbcd58d0c422590de5fd5533c4 on padraic:master.

How look state of this PR? Can I help or will be PR merged?

@grogy I think the state is probably good (travis build fails are because travix was on an older 7.1 RC I think), it's more a case of if there is any other business with regards to 7.1. I could probably merge this and create subsequent PRs as they come up.

Coverage increased (+0.02%) to 76.029% when pulling d3bc6dd38e4ea952af7d2e821129766ceef6ad93 on davedevelopment:7.1 into 15dc926d6f805edbcd58d0c422590de5fd5533c4 on padraic:master.

Merged, will open new PRs as they come

Has there been a release since? I'm still getting the error in issue #635 on version 0.9.6.

OK thanks. That's what we're doing now

Any idea when you will can publish a new version with php7.1 return types support?.

@bruli working on it, but don't have a planned release date yet, you'll need to work from the master branch for now.

I wish it, but I can't update from the master branch because in my project we are using a third party library that use last stable version.

@bruli ah ok. Well, my focus is on building up to 1.0, but if anyone wants to port these to the 0.9 branch and open a PR, I'll get it merged and tagged.


Automation Failures occurring due to change in Virtual Environment

The GA was working fine until the Virtual Environment Set Up job went from this:

Virtual Environment
    Environment: ubuntu-18.04
    Version: 20211219.1
    Included Software: https://github.com/actions/virtual-environments/blob/ubuntu18/20211219.1/images/linux/Ubuntu1804-README.md
    Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu18%2F20211219.1

To this
Virtual Environment
    Environment: ubuntu-18.04
    Version: 20220111.1
    Included Software: https://github.com/actions/virtual-environments/blob/ubuntu18/20220111.1/images/linux/Ubuntu1804-Readme.md
    Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu18%2F20220111.1

Note the difference in version number (20211219.1 vs 20220111.1)
Need to research to see what changed and what may need to be done to fix it

The actual reason for the failure was related to the above, but not necessarily caused by it. The workflow had the following:
    - name: install chrome
      run: |
        sudo apt-get install chromium-chromedriver
        export PATH=$PATH:/usr/lib/chromium-browser/

which worked fine unless a new version is released which doesn't yet know about chromium-chromedriver and would therefore fail
This seems to be the same thing that was happening before (see commit ) and my fix then was to simply change ubuntu-latest to ubuntu-18.04
Now I have
    - name: install chrome
      run: |
        sudo apt-get update
        sudo apt-get install chromium-chromedriver
        export PATH=$PATH:/usr/lib/chromium-browser/

This doesn't lead to a failure any, but I'm monitoring to see if the update still occurs


task: use new setup go features on github actions

Proposed changes
Checklist

[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added any necessary documentation (if appropriate)
[x] I have run make fmt and formatted my code

Further comments
Use the new features of set up go for stable and oldstable versions and auto use of cache

I do see the cache being removed. Happy to port the same to the go-client repository as well

I think you know it but mentioning it: There is this funny problem with updating go version and golang ci lint that many errors started to appear. This is because that versions > 1.18 have much better ast inspection capabilities so golangci lint can go deeper and inspect multi file relationships :)


window management: snap left, snap bottom right, etc

public talent implementation here: https://github.com/dwiel/talon_community/blob/master/misc/window_snap.py

There's a PR for something similar that I held off on since neither Windows nor Linux have support for setting the rect yet.
https://github.com/knausj85/knausj_talon/pull/107
Maybe it's okay to keep it Mac-specific for now.


IdSortable should throw an exception it exhausts its seq bitspace

Specification
If the seq bitspace gets exhausted either within the 1 millisecond interval, or waiting for the OS clock to catch up to the last ID, the IdSortable should throw an exception. Any further generated IDs would no longer be valid, and therefore would violate the monotonic constraint of IdSortable.
Additional Context

https://github.com/uuid6/uuid6-ietf-draft/issues/40
https://github.com/uuid6/uuid6-ietf-draft/issues/51

Tasks

Check if the seq bitspace is exhausted when generating an id
Throw an exception like ErrorIdSortableSequenceRollover or ErrorIdSortableCounterExhausted...
Tests for if one generates too many ids while mocking a static time.
Tests for if the last ID is too far in the past.

I think right now it just rolls over. You'd need to generate over 4K IDs within 1ms for this to be a problem.


Ask for the Supplemenntary Materials of this paper

Hello, sorry for disturbing you!
I saw some details in the article that will be presented in the supplementary materials, but I did not find them on the internet. Therefore, I would like to request that you provide the supplementary materials for this article.
I‘m much obliged to you for helping me.

Hello and thanks for your interest! You can find the supplementary here:
https://www.ecva.net/papers/eccv_2022/papers_ECCV/papers/136770443-supp.zip

I have received it, thank you very much!
------------------ 原始邮件 ------------------
发件人: @.***>;
发送时间: 2023年4月13日(星期四) 下午5:36
收件人: "astra-vision/ManiFest";
抄送: "Author";
主题: Re: [astra-vision/ManiFest] Ask for the Supplemenntary Materials of this paper (Issue #6)
Hello and thanks for your interest! You can find the supplementary here:
https://www.ecva.net/papers/eccv_2022/papers_ECCV/papers/136770443-supp.zip
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


WIP add distribution module

Closing!
The remaining tasks were implemented here: https://github.com/strangelove-ventures/noble/pull/157


Allow reinstall

Tested the following install approaches

clean install
re-install with all params
re-install with some params
re-install with new params

This is a super cool idea but what happens if the customer is using a secret for the sidecar credentials instead of local configs?

for this install script we assume that its used on-prem and wouldnt be used with aws secrets. if someone manually set it, they wouldnt be using this installer. potentially its something we could add, but i think that will be its own update


Add “VVDEC_ENABLE_SIMD_OPT” CMake Flag

1、Add “VVDEC_ENABLE_SIMD_OPT” CMake Flag ，default =1；
2、Ignore 4819 warning at compile time when using VS；
3、Improve the command line usage for cmake.

Please send this pull request to HHI tree, in my tree, my goal is Mobile platform, such as ARM64, I had been cleanup all of x86 intrinsic code in my WIP branch (my HEAD branch), I can't merge your patches over there due to merge conflict.


How to get each item(it's Object) from the ARRAY?

How to get each item(Object, not a single Value) from the ARRAY?
thks!

just like this question:
http://stackoverflow.com/questions/33127718/how-can-i-access-a-sub-object-in-jsondataobjects

You can use the Path[] property.
procedure Test(AData: TJsonObject);
begin
  Obj := MyData.Path['MyArray[1].MySubObject'];
  ...
end;

thks for your answer.
but I test it , it seems not work.
I give a JSON string:
{"menu": {
"header": "SVG Viewer",
"items": [
{"id": "Open"},
{"id": "OpenNew", "label": "Open New"},
null,
{"id": "Help"},
{"id": "About", "label": "About Adobe CVG Viewer..."}
]
}}
How can I Get "Help" in  {"id": "Help"}?
Thks!

if Json.Path['menu.items[3].id'] <> 'Help' then
  raise Exception.Create('Something is wrong');

sorry, I make mistake, I user a wrong JSON string.
Your code is good.
another question:
How to use iterate through the array to show each "id"?
like:
for jsonitem in obj['menu'].['items'] do
  showMessage(jsonitem['id']);

"for in" is not supported. You have to iterate manually using the array's Count property.

OK, thanks a lot of!


Add ability for toggle container to support toggle item dismissal by clicking or tapping outside toggle items

Completed.


Congested footer

The limited space allocated to the footer is compromising its presentability, suggesting the need for adjustments to provide it with a more visually appealing and organized appearance.

Hello @Nandini80,
Thank you for bringing up this issue and suggesting improvements for the footer's appearance. Your attention to detail is appreciated.
Upon reviewing the current state of the footer, I also noticed some existing bugs in both the footer links and the sidebar links. It's possible that these issues are interconnected, as changes to the footer which is impacted the functionality of the sidebar.
Before proceeding with redesigning the footer, it would be beneficial to address these existing bugs. If you're interested, I can assign the task of resolving these issues to you. Once the bugs are fixed, we can then proceed with redesigning the footer to ensure both visual appeal and functionality.
Let me know if you're willing to take on this task, and I'll be happy to assign it to you.
Thank you!✌

Yes, I am willing to solve these bugs. Please assign them to me.

Hello @Nandini80,
Thank you for your willingness to solve the bugs in the footer.
As I've already assigned this task to another contributor, I kindly ask for your patience until the existing bugs are fixed.
Once the bugs are resolved, I'll be happy to assign the footer redesign task to you.
Your cooperation and dedication to improving our project are truly appreciated.

Thank You! ✌

Okay I'll wait


SqlServerDsc: Fix keywords to have space before a parenthesis

Pull Request (PR) description

Changes to SqlServerDsc

Fix keywords to have space before a parenthesis to align with guideline

This Pull Request (PR) fixes the following issues
None
Task list

[x] Added an entry under the Unreleased section of the change log in the CHANGELOG.md.
Entry should say what was changed, and how that affects users (if applicable).
[ ] Resource documentation added/updated in README.md.
[ ] Resource parameter descriptions added/updated in README.md, schema.mof
and comment-based help.
[ ] Comment-based help added/updated.
[ ] Localization strings added/updated in all localization files as appropriate.
[ ] Examples appropriately added/updated.
[ ] Unit tests added/updated. See DSC Resource Testing Guidelines.
[ ] Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
[x] New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

This change is

Codecov Report

Merging #1426 into dev will not change coverage.
The diff coverage is 100%.

@@         Coverage Diff          @@
##            dev   #1426   +/-   ##
====================================
  Coverage    98%     98%
====================================
  Files        38      38
  Lines      5603    5603
====================================
  Hits       5497    5497
  Misses      106     106


If I pin open-wsl.exe to Taskbar, it always looks for /bin/bash

In my wsl-terminal.conf I have:
shell=/usr/bin/zsh
And it works fine when I double click open-wsl.exe in Explorer. However when I pin it to the taskbar, then when I start the program from there, it always says "can't find /bin/bash".

See also https://github.com/goreliu/wsl-terminal/issues/44

I fixed it in v0.8.10.


Outreachy Application: How to provide a timeline for the project

Hi @Julow @panglesd,
I am currently writing my application for this project via the Outreachy portal, and one of the prompts asks us to work with you to provide a timeline of the work we plan to accomplish on the project and what tasks we will finish at each step. May I inquire how to best answer this question and which projects you feel are great to include for this?
Thank you very much.
Best regards,
yokurang

Hello @yokurang (and any applicant interested in submitting a project!)
Happy to know you are applying for this project!
The best is to contact us (@Julow and me, you should have our email address through the outreachy project) by email, with a rough draft of the timeline as you would imagine it. We can then work together on finalizing it before the deadline!

Hi @Julow @panglesd,
I am currently writing my application for this project via the Outreachy portal, and one of the prompts asks us to work with you to provide a timeline of the work we plan to accomplish on the project and what tasks we will finish at each step. May I inquire how to best answer this question and which projects you feel are great to include for this?
Thank you very much.
Best regards, yokurang

@panglesd @Julow, This will be very helpful as we complete the final application.

Hello @maha-sachin,
As I said, the best is to send us a tentative timeline by email, and we will answer with feedback!
Here are some general comments:

Writing a timeline is always a hard exercise, and in the end almost never happen to be correct (even for very experienced programmer, it seems)! However, it is a good way to show you have ideas on what to work on, and that you would be proactive during the internship.

So, try to be avoid generic terms (such as "Implement a feature" (without providing an example of feature), "Debugging", ...).
Try to show that you understood the main topic of this project: accessibility.
Schedule time for research/design (and if possible describe how you would approach this).
Show us what kind of things you are interested in! (Is it more the implementation of complicated features? The design of the UI?)

These are general comments, feel free to add your personal touch!

Hello @maha-sachin,
As I said, the best is to send us a tentative timeline by email, and we will answer with feedback!
Here are some general comments:

Writing a timeline is always a hard exercise, and in the end almost never happen to be correct (even for very experienced programmer, it seems)! However, it is a good way to show you have ideas on what to work on, and that you would be proactive during the internship.

So, try to be avoid generic terms (such as "Implement a feature" (without providing an example of feature), "Debugging", ...).
Try to show that you understood the main topic of this project: accessibility.
Schedule time for research/design (and if possible describe how you would approach this).
Show us what kind of things you are interested in! (Is it more the implementation of complicated features? The design of the UI?)

These are general comments, feel free to add your personal touch!

@panglesd Thank you for providing these helpful guidelines. I will draft a tentative timeline following your recommendations and send it to you via email for you to review.

Applications closed


magic-sdk 9 and 10 do not work on Vercel (NextJS) deployments

🐛 Description
magic-sdk version 9 up works on local NextJS dev server. But when deployed to Vercel, it stops working. I had to downgrade to version 4.1.0 to get it to work.
🧩 Steps to Reproduce

Create NextJS app
Install magic-sdk 9.1.0 or newer
Implement email/sms login
Deploy to vercel
Open vercel deployment
It will be able to send you magic link via email or sms code, but after authentication, the app crashes
Optionally, downgrade to 4.1.0
Redeploy to vercel
Should work as expected

🤔 Expected behavior
Code after authentication (getting did) should execute as it does on version 4.1.0
😮 Actual behavior
Code after authentication (clicking a magic link or submitting SMS code) is not executed
💻 Code Sample
Your example nextjs app can replicate the issue if you upgrade the magic-sdk package version to 9.1.0 or newer
(https://github.com/magiclabs/example-nextjs)
🌎 Environment

Software
Version(s)

magic-sdk
9.1.0 or newer

Browser
Chrome

ok, I also ran into this - was using magic-sdk version  ^13.3.0 and it worked fine locally.
once pushing to vercel I was getting an error with the SDK
n is not defined

I downgraded all the way to  1.0.1 because thats the version they use in their next js example and it works.
nextjs - with magic
which is pretty out of date I suppse.


DDWRT client

Hi
PiVPN is configured and working well from the openvpn app on ipad.
Im now trying to setup a DDWRT to act as client to pivpn but am having no luck making it connect.  If anybody has successfully used DDWRT as client can you post a screenshot of your setup.
Here are the config options available in DDWRT.
maybe if I knew which ciphers were used I could work through it.  what commands in pivpn would tell me this info?
http://imgur.com/a/SoeAN

The configuration file should give you all the information you need.
In any case the cipher is AES-256.

so frustrating how hard you nerds make this ;)
finally got it working!
Im using DDwrt v3.0-r28788 std
with a default client setup on pivpn with no username/password
encryption cipher = AES-256 CBC
hash algorithm = SHA256
user pass auth = disable
tls cipher = none
lzo compression = yes
nat= enable
firewall = disable
ipaddress=blank
subnet =blank
tunnel UDP MSS-Fix = disable
advanced option = enable
nscerttype verification = unchecked
tls authkey = openvpn static key from openvpn config file
additional config = blank
policy based routing = blank
pkcs12 key = blank
static key = blank
ca cert / public client cert / private client key are from openvpn config file.
then go to administration - commands
paste this into the box and click save firewall
iptables -t nat -A POSTROUTING -s <IP_ADDRESS>/24 -j MASQUERADE

I am having the same problem with connecting to my PiVPN (OpenVPN) via Linksys E1500 with DD-WRT v3.0-r42819 mega (03/30/20). Connecting to VPN using OpenVPN Connect on my computer and smartphone works flawlessly.
I'm attaching a screenshot of my setting on router and contents of the .ovpn file here:

######### .ovpn F #######
client
dev tun
proto udp
remote MY.IP.ADD.RESS 1194
resolv-retry infinite
nobind
remote-cert-tls server
tls-version-min 1.2
verify-x509-name homebridge name
cipher AES-256-CBC
auth SHA256
auth-nocache
verb 3

-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----

-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----

-----BEGIN ENCRYPTED PRIVATE KEY-----
-----END ENCRYPTED PRIVATE KEY-----

2048 bit OpenVPN static key

-----BEGIN OpenVPN Static key V1-----
-----END OpenVPN Static key V1-----


remote changes to file onedrive updates date time but not content

I am using the latest version of onedrived and also the latest version of ngrok. When I change a file using another device to onedrive, onedrived detects that, but says it thinks the content is the same but the date/time has changed. Also the webhook seems not to be functioning correctly, even though I think I have set it up correctly.
Here is a relevant snippet from the log...
[2017-09-02 15:48:28,944] INFO: MainThread: Session for account b3d46c9e94730ea3 will expire in 3599 seconds.
[2017-09-02 15:48:28,945] INFO: MainThread: Sweeping onedrived temporary files from local repositories.
[2017-09-02 15:48:29,969] INFO: MainThread: Local ngrok API url: http://<IP_ADDRESS>:4040/api
[2017-09-02 15:48:29,979] ERROR: MainThread: Error reading ngrok API: ngrok API did not return any tunnel.. Retry in 1sec.
[2017-09-02 15:48:30,985] INFO: Webhook: Local webhook server listening on port 8000.
[2017-09-02 15:48:30,985] INFO: MainThread: Scheduled sync task for Drive b3d46c9e94730ea3 of account b3d46c9e94730ea3.
[2017-09-02 15:48:30,985] INFO: Webhook: Webhook server listening on https://0a5a2611.ngrok.io/slvEnYh.
[2017-09-02 15:48:30,986] INFO: MainThread: Updating webhook for Drive b3d46c9e94730ea3.
[2017-09-02 15:48:31,404] ERROR: MainThread: Error: invalidRequest - Error validating notificationUrl. ProtocolError
[2017-09-02 15:48:31,407] WARNING: MainThread: Failed to create webhook. Will deep sync again in 21600 sec.
[2017-09-02 15:48:31,948] INFO: Worker-1: Remote item "/Documents/Personal (Web)" is neither a file nor a directory. Skip it.
[2017-09-02 15:48:32,404] INFO: Worker-0: File "/home/jco/OneDrive/web-site account info.xlsx" seems to have same content but different timestamp<PHONE_NUMBER>.598000,<PHONE_NUMBER>.443000). Fix it.

Here is more detailed debugging output...
Starting onedrived ... OK
[2017-09-02 15:55:13,497] DEBUG: MainThread: Starting new HTTPS connection (1): api.onedrive.com
[2017-09-02 15:55:13,752] DEBUG: MainThread: https://api.onedrive.com:443 "GET /v1.0/drives HTTP/1.1" 200 371
[2017-09-02 15:55:13,756] DEBUG: MainThread: Refreshing repository session.
[2017-09-02 15:55:13,758] DEBUG: MainThread: Starting new HTTPS connection (1): login.live.com
[2017-09-02 15:55:14,780] DEBUG: MainThread: https://login.live.com:443 "POST /oauth20_token.srf HTTP/1.1" 200 1647
[2017-09-02 15:55:14,784] INFO: MainThread: Session for account b3d46c9e94730ea3 will expire in 3599 seconds.
[2017-09-02 15:55:14,784] DEBUG: MainThread: Will refresh session in 3479 seconds.
[2017-09-02 15:55:14,795] INFO: MainThread: Sweeping onedrived temporary files from local repositories.
[2017-09-02 15:55:14,799] DEBUG: Worker-0: Started.
[2017-09-02 15:55:14,799] DEBUG: Worker-1: Started.
[2017-09-02 15:55:15,813] INFO: MainThread: Local ngrok API url: http://<IP_ADDRESS>:4040/api
[2017-09-02 15:55:15,818] DEBUG: MainThread: Starting new HTTP connection (1): <IP_ADDRESS>
[2017-09-02 15:55:15,819] DEBUG: MainThread: http://<IP_ADDRESS>:4040 "GET /api/tunnels HTTP/1.1" 200 388
[2017-09-02 15:55:15,820] DEBUG: WebhookWorker: Started.
[2017-09-02 15:55:15,821] INFO: Webhook: Local webhook server listening on port 8000.
[2017-09-02 15:55:15,821] INFO: Webhook: Webhook server listening on https://1cec37a4.ngrok.io/5TAE7Zq.
[2017-09-02 15:55:15,827] DEBUG: MainThread: Adding task StartRepositoryTask(drive=b3d46c9e94730ea3)...
[2017-09-02 15:55:15,827] INFO: MainThread: Scheduled sync task for Drive b3d46c9e94730ea3 of account b3d46c9e94730ea3.
[2017-09-02 15:55:15,827] DEBUG: Worker-0: Got task StartRepositoryTask(drive=b3d46c9e94730ea3).
[2017-09-02 15:55:15,827] DEBUG: Worker-0: Adding task MergeDirectoryTask(/home/jco/OneDrive, deep=True, remote_unchanged=False, parent_remote_unchanged=False)...
[2017-09-02 15:55:15,827] DEBUG: Worker-0: Got task MergeDirectoryTask(/home/jco/OneDrive, deep=True, remote_unchanged=False, parent_remote_unchanged=False).
[2017-09-02 15:55:15,828] DEBUG: Worker-0: Removing watcher for "/home/jco/OneDrive"
[2017-09-02 15:55:15,827] INFO: MainThread: Updating webhook for Drive b3d46c9e94730ea3.
[2017-09-02 15:55:15,847] DEBUG: MainThread: Starting new HTTPS connection (1): api.onedrive.com
[2017-09-02 15:55:15,894] DEBUG: Worker-0: Starting new HTTPS connection (1): api.onedrive.com
Exception happened during processing of request from ('<IP_ADDRESS>', 60192)
Traceback (most recent call last):
File "/usr/lib64/python3.3/socketserver.py", line 306, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib64/python3.3/socketserver.py", line 332, in process_request
self.finish_request(request, client_address)
File "/usr/lib64/python3.3/socketserver.py", line 345, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib64/python3.3/socketserver.py", line 666, in init
self.handle()
File "/usr/lib64/python3.3/http/server.py", line 400, in handle
self.handle_one_request()
File "/usr/lib64/python3.3/http/server.py", line 388, in handle_one_request
method()
File "/home/jco/.local/lib/python3.3/site-packages/onedrived-2.0.0-py3.3.egg/onedrived/od_webhook.py", line 129, in do_POST
return self.echo(query[self.VALIDATION_REQUEST_QUERY][0])
File "/home/jco/.local/lib/python3.3/site-packages/onedrived-2.0.0-py3.3.egg/onedrived/od_webhook.py", line 112, in echo
self.send_response(http.server.HTTPStatus.OK)
AttributeError: 'module' object has no attribute 'HTTPStatus'
[2017-09-02 15:55:16,270] DEBUG: MainThread: https://api.onedrive.com:443 "POST /v1.0/drives/b3d46c9e94730ea3/root:/:/subscriptions HTTP/1.1" 400 95
[2017-09-02 15:55:16,270] ERROR: MainThread: Error: invalidRequest - Error validating notificationUrl. ProtocolError
[2017-09-02 15:55:16,272] WARNING: MainThread: Failed to create webhook. Will deep sync again in 21600 sec.
[2017-09-02 15:55:16,272] WARNING: MainThread: Executing <Handle gen_start_repo_tasks({'b3d46c9e94730ea3': [<onedrived.od...x7fae24f2c850>]}) at /home/jco/.local/lib/python3.3/site-packages/onedrived-2.0.0-py3.3.egg/onedrived/od_main.py:129 created at /home/jco/.local/lib/python3.3/site-packages/onedrived-2.0.0-py3.3.egg/onedrived/od_main.py:207> took 0.445 seconds
[2017-09-02 15:55:16,308] DEBUG: Worker-0: https://api.onedrive.com:443 "GET /v1.0/drives/b3d46c9e94730ea3/root:/:/children HTTP/1.1" 200 153491
[2017-09-02 15:55:16,479] DEBUG: Worker-0: Adding task MergeDirectoryTask(/home/jco/OneDrive/Documents, deep=True, remote_unchanged=True, parent_remote_unchanged=False)...
[2017-09-02 15:55:16,479] DEBUG: Worker-1: Got task MergeDirectoryTask(/home/jco/OneDrive/Documents, deep=True, remote_unchanged=True, parent_remote_unchanged=False).
[2017-09-02 15:55:16,480] DEBUG: Worker-1: Removing watcher for "/home/jco/OneDrive/Documents"
[2017-09-02 15:55:16,569] DEBUG: Worker-0: Adding task MergeDirectoryTask(/home/jco/OneDrive/Email attachments, deep=True, remote_unchanged=True, parent_remote_unchanged=False)...
[2017-09-02 15:55:16,587] DEBUG: Worker-1: Starting new HTTPS connection (1): api.onedrive.com
[2017-09-02 15:55:16,709] DEBUG: Worker-0: Adding task MergeDirectoryTask(/home/jco/OneDrive/FCRA, deep=True, remote_unchanged=True, parent_remote_unchanged=False)...
[2017-09-02 15:55:16,795] DEBUG: Worker-1: https://api.onedrive.com:443 "GET /v1.0/drives/b3d46c9e94730ea3/items/B3D46C9E94730EA3!112/children HTTP/1.1" 200 35486
[2017-09-02 15:55:16,799] DEBUG: Worker-0: Adding task MergeDirectoryTask(/home/jco/OneDrive/Music, deep=True, remote_unchanged=True, parent_remote_unchanged=False)...
[2017-09-02 15:55:16,832] INFO: Worker-1: Remote item "/Documents/Personal (Web)" is neither a file nor a directory. Skip it.
[2017-09-02 15:55:16,839] DEBUG: Worker-1: Adding watcher for "/home/jco/OneDrive/Documents"
[2017-09-02 15:55:16,840] DEBUG: Worker-1: Got task MergeDirectoryTask(/home/jco/OneDrive/Email attachments, deep=True, remote_unchanged=True, parent_remote_unchanged=False).
[2017-09-02 15:55:16,840] DEBUG: Worker-1: Removing watcher for "/home/jco/OneDrive/Email attachments"
[2017-09-02 15:55:16,919] DEBUG: Worker-0: Adding task MergeDirectoryTask(/home/jco/OneDrive/Pictures, deep=True, remote_unchanged=True, parent_remote_unchanged=False)...
[2017-09-02 15:55:16,921] DEBUG: Worker-1: Starting new HTTPS connection (1): api.onedrive.com
[2017-09-02 15:55:17,009] DEBUG: Worker-0: Adding task MergeDirectoryTask(/home/jco/OneDrive/Public, deep=True, remote_unchanged=True, parent_remote_unchanged=False)...
[2017-09-02 15:55:17,066] DEBUG: Worker-0: Ignored local file "/.directory".
[2017-09-02 15:55:17,066] DEBUG: Worker-0: Adding watcher for "/home/jco/OneDrive"
[2017-09-02 15:55:17,066] DEBUG: Worker-0: Got task MergeDirectoryTask(/home/jco/OneDrive/FCRA, deep=True, remote_unchanged=True, parent_remote_unchanged=False).
[2017-09-02 15:55:17,067] DEBUG: Worker-0: Removing watcher for "/home/jco/OneDrive/FCRA"
[2017-09-02 15:55:17,069] DEBUG: Worker-0: Starting new HTTPS connection (1): api.onedrive.com
[2017-09-02 15:55:17,081] DEBUG: Worker-1: https://api.onedrive.com:443 "GET /v1.0/drives/b3d46c9e94730ea3/items/B3D46C9E94730EA3!1378/children HTTP/1.1" 200 140
[2017-09-02 15:55:17,084] DEBUG: Worker-1: Adding watcher for "/home/jco/OneDrive/Email attachments"
[2017-09-02 15:55:17,084] DEBUG: Worker-1: Got task MergeDirectoryTask(/home/jco/OneDrive/Music, deep=True, remote_unchanged=True, parent_remote_unchanged=False).
[2017-09-02 15:55:17,085] DEBUG: Worker-1: Removing watcher for "/home/jco/OneDrive/Music"
[2017-09-02 15:55:17,086] DEBUG: Worker-1: Starting new HTTPS connection (1): api.onedrive.com
[2017-09-02 15:55:17,379] DEBUG: Worker-0: https://api.onedrive.com:443 "GET /v1.0/drives/b3d46c9e94730ea3/items/B3D46C9E94730EA3!1467/children HTTP/1.1" 200 5550
[2017-09-02 15:55:17,385] DEBUG: Worker-0: Adding watcher for "/home/jco/OneDrive/FCRA"
[2017-09-02 15:55:17,386] DEBUG: Worker-0: Got task MergeDirectoryTask(/home/jco/OneDrive/Pictures, deep=True, remote_unchanged=True, parent_remote_unchanged=False).
[2017-09-02 15:55:17,386] DEBUG: Worker-0: Removing watcher for "/home/jco/OneDrive/Pictures"
[2017-09-02 15:55:17,391] DEBUG: Worker-0: Starting new HTTPS connection (1): api.onedrive.com
[2017-09-02 15:55:17,393] DEBUG: Worker-1: https://api.onedrive.com:443 "GET /v1.0/drives/b3d46c9e94730ea3/items/B3D46C9E94730EA3!299/children HTTP/1.1" 200 139
[2017-09-02 15:55:17,396] DEBUG: Worker-1: Adding watcher for "/home/jco/OneDrive/Music"
[2017-09-02 15:55:17,396] DEBUG: Worker-1: Got task MergeDirectoryTask(/home/jco/OneDrive/Public, deep=True, remote_unchanged=True, parent_remote_unchanged=False).
[2017-09-02 15:55:17,396] DEBUG: Worker-1: Removing watcher for "/home/jco/OneDrive/Public"
[2017-09-02 15:55:17,398] DEBUG: Worker-1: Starting new HTTPS connection (1): api.onedrive.com
[2017-09-02 15:55:17,558] DEBUG: Worker-0: https://api.onedrive.com:443 "GET /v1.0/drives/b3d46c9e94730ea3/items/B3D46C9E94730EA3!110/children HTTP/1.1" 200 4426
[2017-09-02 15:55:17,568] DEBUG: Worker-1: https://api.onedrive.com:443 "GET /v1.0/drives/b3d46c9e94730ea3/items/B3D46C9E94730EA3!111/children HTTP/1.1" 200 139
[2017-09-02 15:55:17,570] DEBUG: Worker-1: Adding watcher for "/home/jco/OneDrive/Public"
[2017-09-02 15:55:17,679] DEBUG: Worker-0: Adding task MergeDirectoryTask(/home/jco/OneDrive/Pictures/Camera Roll, deep=True, remote_unchanged=True, parent_remote_unchanged=True)...
[2017-09-02 15:55:17,680] DEBUG: Worker-1: Got task MergeDirectoryTask(/home/jco/OneDrive/Pictures/Camera Roll, deep=True, remote_unchanged=True, parent_remote_unchanged=True).
[2017-09-02 15:55:17,681] DEBUG: Worker-1: Removing watcher for "/home/jco/OneDrive/Pictures/Camera Roll"
[2017-09-02 15:55:18,189] DEBUG: Worker-0: Adding task MergeDirectoryTask(/home/jco/OneDrive/Pictures/Saved pictures, deep=True, remote_unchanged=True, parent_remote_unchanged=True)...
[2017-09-02 15:55:18,190] DEBUG: Worker-1: Adding watcher for "/home/jco/OneDrive/Pictures/Camera Roll"
[2017-09-02 15:55:18,190] DEBUG: Worker-1: Got task MergeDirectoryTask(/home/jco/OneDrive/Pictures/Saved pictures, deep=True, remote_unchanged=True, parent_remote_unchanged=True).
[2017-09-02 15:55:18,190] DEBUG: Worker-1: Removing watcher for "/home/jco/OneDrive/Pictures/Saved pictures"
[2017-09-02 15:55:18,569] DEBUG: Worker-0: Adding task MergeDirectoryTask(/home/jco/OneDrive/Pictures/Screenshots, deep=True, remote_unchanged=True, parent_remote_unchanged=True)...
[2017-09-02 15:55:18,570] DEBUG: Worker-0: Adding watcher for "/home/jco/OneDrive/Pictures"
[2017-09-02 15:55:18,570] DEBUG: Worker-0: Got task MergeDirectoryTask(/home/jco/OneDrive/Pictures/Screenshots, deep=True, remote_unchanged=True, parent_remote_unchanged=True).
[2017-09-02 15:55:18,570] DEBUG: Worker-0: Removing watcher for "/home/jco/OneDrive/Pictures/Screenshots"
[2017-09-02 15:55:18,570] DEBUG: Worker-1: Adding watcher for "/home/jco/OneDrive/Pictures/Saved pictures"
[2017-09-02 15:55:18,570] DEBUG: Worker-0: Adding watcher for "/home/jco/OneDrive/Pictures/Screenshots"

Looks like the http.server package in Python 3.3 doesn't like something from the ondrived package.


Module publish

TODO:
custom error instead of unwrap

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 41.226%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
96

Relevant Lines:
169

💛  - Coveralls


Dataset preparation

Thanks for sharing the code for this cool project.
I have an issue on setting the train/val data.
Could you provide more detailed descriptions on how to prepare the data?

In a what way should I make the labeled sub-folders to set the standard folder-type dataset?
How can we get the labels for the relative path to set the zip-type dataset?

Are there any codes with helper functions to do these easily?
Thanks,

please refer to https://github.com/jkjung-avt/keras_imagenet


Introduction - Matthew Dressman

Hello! My name is Matthew Dressman and I'm from the Microsoft Security Response Center (MSRC) where I lead vulnerability response engineering. My primary focus is on the platform and tooling supporting ingestion of security and privacy reports from the security research community, automation of vuln assessment, patch lifecycle management, etc., and ultimately release of the security updates and CVEs into the world each month on Patch Tuesday. Happy to share more if you're interested 😉.
I'm extremely passionate about user experience as well as developer experience and I'm excited to contribute in this WG to try and standardize and improve the overall process of managing vulnerabilities.
Before I joined Microsoft, I worked on a number of startups and have a deep appreciation for OSS and the open source community,
Looking forward to collaborating! ✌

@mdressman welcome to the WG!

@mdressman Can you create a PR similar to #20 to add yourself to the list of WG members?

Now that #23 has been merged, this issue can be closed. Once again welcome to the WG!


server init script should not deregister sensu-client

It looks like the sensu-server init script also deregisters the sensu-client:
    Mixlib::ShellOut::ShellCommandFailed
           ------------------------------------
           Expected process to exit with [0], but received '1'
           ---- Begin output of /etc/init.d/sensu-server restart ----
           STDOUT: configuration is valid
            * Deregistering sensu-client
            * Stopping sensu-server
            * Timed out waiting for sensu-server to stop
       ...fail!
           STDERR:
           ---- End output of /etc/init.d/sensu-server restart ----
           Ran /etc/init.d/sensu-server restart returned 1

It would make sense to remove the deregister part from the init script because it is implemented in the core already:
https://github.com/sensu/sensu/pull/1315

0.27.0-1 is in the unstable repositories, it fixes this issue. Will soon be promoted to stable.


Playground: Resize while TS Config is open breaks the UI.

Resize while TS Config is open breaks the UI.

🎥 Video 🎥

Repro:

Open TS Config
grab the resize bar, and drag it over the TS Config panel

Expected behavior:
Update the TS Config panel width to the new size
Actual behavior:
Size stays the same and becomes hidden by the Output panel

Aye, shame.
This is likely to get moved into a sidebar in an upcoming playground release, so I'd only look into this if it's something you're strongly interested in - https://twitter.com/orta/status/1367119200112832514

Not really super interested.
The simple work around is close/reopen the TS Config and it corrects the size.. So it doesn't stop me working..
I can wait for version 4... or will it be version 5?
I forget what we are on.


Error waiting for a debug connection: The log reader failed unexpectedly

Steps to Reproduce

Execute flutter run on the code sample
I have run on simulator iOS then i found this issue but if i run on android is working fine.
After build done it just show white screen on iOS simulator
Last login: Wed Nov 30 13:34:03 on console nguonpisey@nguons-MacBook-Pro-2 tostinh_flutter % flutter run Launching lib/main.dart on iPad Pro (12.9-inch) (4th generation) in debug mode... Running Xcode build...                                                   └─Compiling, linking and signing...                        14.5s Xcode build done.                                           34.8s Error waiting for a debug connection: The log reader failed unexpectedly Error launching application on iPad Pro (12.9-inch) (4th generation).

Expected results:
Actual results:

Code sample

Logs

nguonpisey@nguons-MacBook-Pro-2 tostinh_flutter % flutter doctor -v
[✓] Flutter (Channel stable, 3.3.9, on macOS 13.0.1 22A400 darwin-x64, locale
    en-KH)
    • Flutter version 3.3.9 on channel stable at
      /Users/nguonpisey/Developer/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (7 days ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nguonpisey/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.73.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.54.0

[✓] Connected device (3 available)
    • iPad Pro (12.9-inch) (4th generation) (mobile) •
      1E355C3A-CC6E-4D2F-AE0A-0E4214FCB43B • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-13-7 (simulator)
    • macOS (desktop)                                • macos
      • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)                                   • chrome
      • web-javascript • Google Chrome 107.0.5304.121

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!
nguonpisey@nguons-MacBook-Pro-2 tostinh_flutter %

@Pisey-Nguon
Can you provide flutter doctor -v and a minimal code sample that shows the reported issue ?
You said you are seeing this issue on iOS simulator, but from logs, you seem to be running on iPad. Please confirm on which device you are seeing the behavior.

flutter doctor -v output is in the Logs section, which also shows that the iPad is an iOS 13.7 sim.
I'm able to reliably repro this running against any iOS 13.7 sim on an M1 MacBook Pro running flutter run on a vanilla Flutter app created with flutter create. No issues running against iOS 16.1 sims.

--verbose should be printing this error.
None of the following worked:
$ xcrun simctl spawn --arch=x86_64 <simulator-ID> echo hello
$ arch -x86_64 xcrun simctl spawn <simulator-ID> echo hello
$ xcrun simctl spawn --arch=x86_64 <simulator-ID> arch -x86_64 echo hello

I'm not sure how Flutter can work around this.  I'll file a radar with Apple since it seems xcrun simctl spawn is just not working for x64 simulators on M1 Macs.
In the meantime, you can workaround and test on an iOS 13.7 or any older x64 simulator by running the app in Xcode from ios/Runner.xcworkspace, and then flutter attaching on the command line.  I confirmed that works.

We could stream the log from the Mac host and filter on the pid of the process running on the simulator, since it's actually running on the Mac (you can see it in Activity Monitor, for example).  Would also need to log show and recent logs from that pid in case the observatory logging happens between the time the app launches (and the pid is known) and when the Mac logs start streaming.   That would be a pretty big refactor of the iOS simulator log reader since it would have to only run once the process is launched and the pid is known.
Could also stream logs from the Mac where the processImagePath contains the simulator identifier and the app name.  For example it would be at a path on the Mac like:
/Users/m/Library/Developer/CoreSimulator/Devices/<simulator-ID>/data/Containers/Bundle/Application/B2CF604D-1B5A-4ED5-91E4-360D40F8E1FB/Runner.app/Runner

I don't know what the actual error but if I run with the simulator iOS 16 and also a real device iOS 12 it works fine

I face same issue did you solve it

is this still happening? I cannot launch any 16 OS simulations... app launches but connection breaks

A workaround found
after having the issue for error connection. app did launch but connection stopped.

while doing flutter attach you will receive a list of devices.

select the one you want to launch

(I was running the Terminal w/ Rosetta)

the issue happened after I update my mac & xcode...
I found the real fix here https://github.com/flutter/flutter/issues/111167

I did the same and now works!!

this issue can be closed :wave: