router selector issue

Hi,
First of all, congrats for your book, it's really well written.
However, I wanted to try some stuff doing a project using angular 12 and ngrx 12. I am stuck with my ArticleCollectionService that is really similar to the IssueCollectionService in the book.
This line give me the following error:
No overload matches this call.
  Overload 1 of 9, '(mapFn: (state: EntityCache) => Article | undefined): Observable<Article | undefined>', gave the following error.
    Argument of type 'MemoizedSelector<RootState, Article | undefined, DefaultProjectorFn<Article | undefined>>' is not assignable to parameter of type '(state: EntityCache) => Article | undefined'.
      Types of parameters 'state' and 'state' are incompatible.
        Property 'router' is missing in type 'EntityCache' but required in type 'RootState'.
  Overload 2 of 9, '(key: string | number): Observable<EntityCollection<any>>', gave the following error.
    Argument of type 'MemoizedSelector<RootState, Article | undefined, DefaultProjectorFn<Article | undefined>>' is not assignable to parameter of type 'string | number'.
      Type 'MemoizedSelector<RootState, Article | undefined, DefaultProjectorFn<Article | undefined>>' is not assignable to type 'number'

I think it's related to some interface declaration but after trying different things I don't manage to find where it is. I also tried on your repo and it seems that upgrading to angular & ngrx 12 give the same error.
By any chance do you know what upgrade could cause this ?

Hey @PasNinii, thanks for the kind words. Would you be able to provide some code or even a reproduction on something like StackBlitz? Pretty hard to investigate the problem from the error message alone.
I'm planning to upgrade the repo and the book to Angular 12, just got to find some time for that.

Here i created a repo with the main part to reproduce the bug https://github.com/PasNinii/duplicate-ngrx-issue
There are two things that strikes me:
-> Firstly it seems that now  fromRouter.selectRouteParam('id'); can return undefined unlike before where it seemed to return a value, at least in the typescript type
-> Secondly  this.articles$ = this.store.select(fromArticle.selectActive) in ArtcileCollectionService returns an error that  i pointed out in my last comments
Thank you for you time :)


Improperly cropped icon in QR code

Dollar sign lay over the QR code for receiving USD is cropped

Issue is with the SVG


SUPER_FAST_ASSERTS fails to compile CHECK_MESSAGE

Version: 2.3.4
It was ok in Version 1.2.9
This does not compile:
  #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
  #define DOCTEST_CONFIG_SUPER_FAST_ASSERTS
  #include "doctest/doctest.h"

   TEST_CASE("simple")
   {
          CHECK_MESSAGE(true == false, "strange");
   }

However when I remove the SUPER_FAST_ASSERTS it does.
Error:
test.c: In function ‘void _DOCTEST_ANON_FUNC_6()’:
doctest/doctest.h:2063:93: error: ‘DT_CHECK’ was not declared in this scope
In file included from test.c:5:0:
doctest/doctest.h:2063:66: error: ‘DOCTEST_ASSERT_IMPLEMENT_2’ was not declared in this scope
I was able to workaround this by simply duplicating the
DOCTEST_ASSERT_IMPLEMENT_1 macro as  "_2"

This is a duplicate of this issue: https://github.com/onqtam/doctest/issues/280
It's fixed in the dev branch and will be made available in the master branch once I release a new official version - not sure when that is happening though... :)

releasing 2.3.5 where this is fixed.


[BUG] Build fails:  "Failed to collect dependencies for ro.isdc.wro4j:wro4j-maven-plugin:jar:1.10.1"

I cloned the project and build it with this command: ./mvnw compile quarkus:dev That gives me the build failure below. I'm on macOS Ventura 13.1. The error happens with both Java 11 and Java 17.
 % ./mvnw compile quarkus:dev
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.quarkus.samples.petclinic:quarkus-petclinic:jar:1.0.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: io.quarkus:quarkus-webjars-locator:jar -> duplicate declaration of version (?) @ line 78, column 17
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ----------< org.quarkus.samples.petclinic:quarkus-petclinic >-----------
[INFO] Building quarkus-petclinic 1.0.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- wro4j-maven-plugin:1.10.1:run (default) @ quarkus-petclinic ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.265 s
[INFO] Finished at: 2023-01-21T10:22:55Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal ro.isdc.wro4j:wro4j-maven-plugin:1.10.1:run (default) on project quarkus-petclinic: Execution default of goal ro.isdc.wro4j:wro4j-maven-plugin:1.10.1:run failed: Plugin ro.isdc.wro4j:wro4j-maven-plugin:1.10.1 or one of its dependencies could not be resolved: Failed to collect dependencies for ro.isdc.wro4j:wro4j-maven-plugin:jar:1.10.1 (): Could not resolve version conflict among [ro.isdc.wro4j:wro4j-maven-plugin:jar:1.10.1 -> ro.isdc.wro4j:wro4j-extensions:jar:1.10.1 -> org.webjars.npm:jshint:jar:2.11.0 -> org.webjars.npm:minimatch:jar:[3.0.2,3.1), ro.isdc.wro4j:wro4j-maven-plugin:jar:1.10.1 -> ro.isdc.wro4j:wro4j-extensions:jar:1.10.1 -> org.webjars.npm:jshint:jar:2.11.0 -> org.webjars.npm:cli:jar:[1.0.0,1.1) -> org.webjars.npm:glob:jar:[7.1.1,8) -> org.webjars.npm:minimatch:jar:[3.1.1,4)] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

@lordofthejars have you seen this?
Is there anything we can do about it?
cc @phillip-kruger who might have some ideas

Seems like an issue with ranges. In Javascript the deps are mostly defined as ranges, and locked with a lock file. The best I can suggest is to defined the problem dependency in your project pom and specify a version that you know is correct. Or you can also go and check (using the UI of webjars.org) that all the correct versions is synced with Maven central...

Thanks @phillip-kruger.
I am actually wondering why this Maven plugin is used in the first place, I don't see it in the original Spring PetClinic.

Yea I can not comment on this. Wro4j does some web resource optimization. see https://github.com/wro4j/wro4j. I assume it's use to make a sleeker UI ?

Ok seems like it's used to process less files into css (see https://github.com/redhat-developer-demos/quarkus-petclinic/tree/master/src/main/less)

Right. I tried removing it and the UI is all broken, so I think we need input from @lordofthejars on why this was added in the first place.

Yea the css will break if you remove it. I'll have a look at the UI (one day) and see if we can not drop less (CSS3 is good enough now) and probably also drop bootstrap ...

👍🏼

It was to compile the less files. I think that probably when I cloned to SB project they were using it as fir the UI I did a "copy/paste"


Add link of the deployment platform

Backend team, could you please add the link at Wiki page?

The url of our API is http://cultidate.herokuapp.com/. Where should we put this on Wiki page? Home or somewhere else? @isikz

As we talked on Slack, I added the URL to Wiki/Home.

Thank you @mertakozcan


[FEAT] Enable .local domain resolution

Objective
Handle .local domain as RaspberryOS does.
Initial Implementation Requirements

Requires more research

Other Considerations
No response

Might be resolved by changes to resolved.conf: https://matrix.to/#/!ZhEZYNzKBfpEAhtQIz:matrix.org/$JAuJp7Esuz4qHeQ5OSx2RYFnVDLpQxAzthWZRqKgIrg?via=matrix.org&via=nitro.chat&via=tomesh.net


Support console: user management redesign (part 2)

~Depends on #998 - merge that first.~ ✅
~Depends on #1002 - merge that first.~ ✅
Context
User management is very commonly used by support agents, and as such, should follow similar best practice design and code patterns.
Changes proposed in this pull request
Tidy up the design of various user management functions in the support console:

editing a user's responsible body
granting access to, and removing access to schools

Guidance to review
Setting a responsible body when there wasn't one before
Before:

After:

Removing a responsible body and moving to a new responsible body
Before:

After:

Removing school access
Before:

After:

Suggesting a new school for access
Before:

After:

New screen when the school name search string is too short:

cc @aliuk2012

Closing this in favour of #1027, #1028 and an as-yet-unopened PR around the school autocomplete flow - this PR is a bit too big with all those things together.


GraphQL-tools cleanup

Hey, I'm working with @JakeDawkins on cleaning up this repository a little bit, and going to use this issue to keep track of a checklist of some things we should do as part of that.

[ ] Deprecate addSchemaLevelResolveFunction - this function might have some bugs, and we definitely recommend using a function to set context rather than having a resolver for this. This should involve removing the function from the docs as well.
[ ] Deprecate addCatchUndefinedToSchema and addErrorLoggingToSchema which are undocumented but exported: https://github.com/apollographql/graphql-tools/blob/a259ccc63ab077a07678880ead9583afce3957d0/src/makeExecutableSchema.ts#L146
[ ] Deprecate logger option in makeExecutableSchema: https://www.apollographql.com/docs/graphql-tools/generate-schema.html#makeExecutableSchema

Ensure that all the features work well together:

[ ] Schema directives and schema stitching: https://github.com/apollographql/graphql-tools/pull/682

@JakeDawkins @stubailo On the bullet point for deprecating logger option in makeExecutableSchema. It is kind of useful (but not totally because there is not really any context of the original error other than message) for logging errors that would normally be swallowed. Is there another recommended way to do that?  Can it be done with graphql-extensions perhaps?

for logging errors that would normally be swallowed

Which errors are you referring to? Ideally, we can make it so that errors are just not swallowed anymore.


Simplifying the feedback back and displaying responses in a table.

Delete the Forms folder and all previous form tables from Supabase.
Add this new table
CREATE TABLE public.event_feedback (
id uuid NOT NULL DEFAULT gen_random_uuid(),
event_id uuid NOT NULL REFERENCES public.event_details(id) ON DELETE CASCADE, -- Foreign key linking to event_details
respondent_email TEXT NOT NULL, -- Email of the person submitting feedback
enjoy_most TEXT NOT NULL, -- Feedback answer for "What did you enjoy the most?"
organization_rating TEXT NOT NULL, -- Feedback answer for "How would you rate the overall organization?" (MCQ: Excellent, Good, Average, Poor)
overall_satisfaction SMALLINT NOT NULL, -- Rating (1-5 scale for satisfaction)
recommendation SMALLINT NOT NULL, -- Slider for recommendation (1-10 scale)
improvement TEXT NOT NULL, -- Feedback answer for "What could we improve?"
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(), -- Timestamp for feedback creation
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(), -- Timestamp for feedback update
CONSTRAINT event_feedback_pkey PRIMARY KEY (id)
);

sir please update the LEARN.md

sir abhi tak form add ny keya kya kuch dikh ny raha how to give feedback

video send karna tho

sir need fix don't know in that section please fix it raise issue and fit it


Add models test case

Coverage increased (+3.7%) to 88.372% when pulling 1341c5dd14de98274250b67f6799c6b72aa0bc61 on master into 15178e26b9df70882726e3cf7a3fad8e8c9fb363 on travis.


Add Docker images to installation docs

As referenced in https://github.com/dmlc/mxnet/issues/273, this PR adds documentation for Docker images to the installation docs, based on what was done for Theano. I'm not sure how you would want the readme changed (as mentioned in a comment), but I can add another commit to this PR if you can specify the change in more detail.
If there are issues with the Docker images then please let me know, or even better submit a fix to my repo.

Sorry about that - amended the commit.


Suggestion: Move content from setup.py into setup.cfg

Depending on how the package is built and installed, Python will use setup.py or setup.cfg. I found that I was able to move everything into setup.cfg and then just have setup.py use it, via setuptools. This made behavior of the installed package more consistent.
For example, see: https://github.com/rstudio/py-htmltools/commit/7c9fffbcbd8eb7097c261fbf1087d7b56764ac40

I see that the template is already doing this -- I was confused about which files to look at.


Type error for MenuOptions with Typescript 5.3.2

node_modules/.pnpm/@imengyu+vue3-context-menu@1.3.3/node_modules/@imengyu/vue3-context-menu/lib/ContextMenu.vue.d.ts:44:5
    44     options: MenuOptions;
           ~~~~~~~
    The expected type comes from property 'options' which is declared here on type 'Partial<{ options: MenuOptions; show: boolean; }> & Omit<{ readonly options: MenuOptions; readonly show: boolean; "onUpdate:show"?: ((...args: any[]) => any) | undefined; onClose?: ((...args: any[]) => any) | undefined; } & ... 4 more ... & { ...; }, "options" | "show"> & Record<...>'

With Typescript 5.2.2 everything is working fine, when updating to 5.3.2 the above errors are thrown.

1.3.6 have replaced the TS generation plugin and now it should be working properly now


Submenu overlap BrowserView possible?

I want the submenu of this titlebar to overlap my added BrowserView same as the native one would, zIndex is not working is this anyhow possible?

Can you provide more information?

Closed due to no response received


Enable pretty color printing in gnome-terminal

term crate has an issue reading terminal properties in gnome-terminal:
https://github.com/Stebalien/term/issues/81
This was fixed in term v0.5.0. Bump version of dependencies term and
prettytable-rs to use term v0.5.* and do minor fixes to use new
prettytable-rs API.

Thanks, lgtm 👍


Releasing a new version with Django 4.2 support

Hi,
when we can expect the PR to be merged and the new version to be released?
https://github.com/jazzband/django-widget-tweaks/pull/127
Thanks,

4.2 support is now on master but I need either @aleksihakli or @camilonova to create a release if they are happy with the changes.

Hey @irtazaakram and @georgek! I baked a new version 1.5.0 release with the changes you implemented, thank you for the updates 🙏 If you have the opportunity to look at the PR #122 enhancing the package further we can also bake a release for that. Anyways, hope you have a great weekend!


spanner.instance.exists - function's callback did not return bool value

OS: Mac OSX 10.13
Node.js version: 6.9.3
npm version: 5.5.1
version: 0.8.0
spanner.instance('name').exists((err, exists) =>
in this callback exists = undefined when instance exist

Hey @Chipintoza, I think this is a bug that affects all of our libraries. I'm going to close this in favor of https://github.com/GoogleCloudPlatform/google-cloud-node/issues/2702, which reported it a few days ago.

hi @stephenplusplus, just for information: it works if i change only spanner version 0.7.1

@stephenplusplus @lukesneeringer  I update spanner to 0.8.1 but it still not works...

@Chipintoza I'm testing this locally and it seems to be working fine, is there any chance there could put together a repo together that reproduces the issue in as few lines as possible?

@callmehiphop thank you...
i make my situation in test project for you spanner-tests
There is old - package-lock.json
run:
npm install
and then run:
node schema.js
log is:

chipintozamac:spanner-tests Chipintoza$ npm install

<EMAIL_ADDRESS>install /Users/Chipintoza/GSS Projects/Tests/1234/spanner-tests/node_modules/@google-cloud/common-grpc/node_modules/grpc
node-pre-gyp install --fallback-to-build --library=static_library

[grpc] Success: "/Users/Chipintoza/GSS<EMAIL_ADDRESS>is installed via remote

<EMAIL_ADDRESS>install /Users/Chipintoza/GSS Projects/Tests/1234/spanner-tests/node_modules/grpc
node-pre-gyp install --fallback-to-build --library=static_library

[grpc] Success: "/Users/Chipintoza/GSS Projects/Tests/1234/spanner-tests/node_modules/grpc/src/node/extension_binary/grpc_node.node" is installed via remote

<EMAIL_ADDRESS>postinstall /Users/Chipintoza/GSS Projects/Tests/1234/spanner-tests/node_modules/@google-cloud/spanner/node_modules/protobufjs
node scripts/postinstall

added 477 packages in 13.634s
chipintozamac:spanner-tests Chipintoza$ node schema.js
{ Error: Instance already exists: projects/spanner-gss-ge/instances/gss-data
at /Users/Chipintoza/GSS Projects/Tests/1234/spanner-tests/node_modules/grpc/src/node/src/client.js:442:17
code: 6,
metadata:
Metadata {
_internal_repr:
{ 'google.rpc.resourceinfo-bin': [Array],
'grpc-status-details-bin': [Array] } } }

when i delete old  package-lock.json
everything work fine:
it looks dependency problems. and in the first situation the wrong<EMAIL_ADDRESS>version is installed

@callmehiphop - you need to change spanner.json

@Chipintoza I don't need a copy of spanner.json, I would delete that ASAP and squash your commits to remove it from history.

As you pointed out @Chipintoza the issue here is with our dependencies. The good news is there is already a plan in motion to phase out one of these dependencies (common-grpc). The bad news is that it is a pretty significant change so it will take some time.

@callmehiphop than you. i will always remove package-lock.json :)


Support storing initialization vector alongside ciphertext when using CipherCodec

Feature Request

Is your feature request related to a problem? Please describe
Some encryption algorithms (for example AES/GCM) require an initialization vector that is unique for each message.  The typical way to work this this is to store the IV alongside the ciphertext.
However, doing this with Lettuce is somewhat complicated since CipherCodec doesn't have native support for it.
I'd like CipherCodec (or possibly a subclass of it?) to support storing the IV as a prefix during encoding, and extracting the IV from the prefix when decoding.
Describe the solution you'd like
Add an API that would allow including the IV in the serialized value.
It could probably be implemented with something like:
In encodeValue, right before callin doWithCipher:
byte[] iv = cipher.getIV();
if (iv != null) {
  target.writeBytes(iv);
}

decoding is a little more complicated,  since the IV is needed for initializing the Cipher.
Probably there would need  to be a way  for the CipherSupplier to specify the size of the IV nad for decrypting get access to that the bytes for the IV during creation.
Alternatively, add a field to the KeyDescriptor for the IV.
Describe alternatives you've considered
Encoding the IV in as part of the "name" of the KeyDescriptor. This is kind of awkward, and requires Base64 encoding the IV, or similar, which is a little wasteful.
Wrapping a CipherSupplier, so that I can write/read the IV myself.  Which involves a fair amount of boilerplate.
Not using the CipherCodec, and encrypting/decrypting the data before passing it in.

Seems like a reasonable improvement, but currently I can commit to implementing it in a specific timeline.
Meanwhile community contributions are welcome.


Fix the location of authentication

Due ', the location was invalid and this PR should fix it.
As a pull request owner and reviewers, I checked that:

[ ] Appropriate testing is done and actually running

/approve

/lgtm


Nebra indoor miner is not making progress on sync status

Hallo Nebra team,
one of my indoor Nebra hotspots (I can provide details like name etc. if needed) is not making any progress on sync status.
I was connected via WiFi and now via LAN as well - it is online in Helium App (synching), online in Nebra dashboard (also connected to update server). But sync status went from 99.9x% to now 97.90% in > 10 days. Making no progress here.
Hotspot firmware is 2<IP_ADDRESS>.
Can u please reply with some guidance and support?
Thanks a lot for your support!
insXs1cht

This is not a support forum. Please contact<EMAIL_ADDRESS>


32bit interface

related to #14

Pair::<f64, f64>::r2r_1d is not cool. <f64, f64> already indicates r2r.

This is breaking change. We have to bump version.


Cannot use properties as types

class Parent {}
const Obj = {};
Obj.Alias = Parent;
class Child extends Obj.Alias {} // Bad type annotation. Unknown type Obj.Alias

Link
The error here stems from the @extends {Obj.Alias} in the transpiled code.
This causes a bug in ES6 module rewriting. If a class is exported directly then things are fine:
export class Parent {
  static staticFunction() { return 'Parent.staticFunction'; }
}

import { Parent } from './input0';
class Child extends Parent {}

Link
Note the type annotation of the extends ends up being Parent$$module$input0.
But if we export using export specs there's an error.
class Parent {
  static staticFunction() { return 'Parent.staticFunction'; }
}
export  { Parent };

import { Parent } from './input0';
class Child extends Parent {} // Bad type annotation. Unknown type module$input0.Parent

Link
Note the type annotation is now module$input0.Parent.
Appears to be an OTI only bug, but seems pretty important.

I don't think we're going to fix the OTI issue but we can at least mark all exported types as @const to get around this. e.g.
class Parent {}
export { Parent };

Becomes
class Parent {}
/** @const */
module$foo.Parent = Parent;

I'm not sure I agree with the title of this issue.  The first link looks WAI to me.
The third link is definitely wrong, but interestingly, doing the class transpilation by hand seems to fix the issue:
https://closure-compiler-debugger.appspot.com/#input0%3Dclass%2520Parent%2520%257B%257D%250A%250Aexport%2520%257B%2520Parent%2520%257D%253B%26input1%3Dimport%2520%257B%2520Parent%2520%257D%2520from%2520'.%252Finput0'%253B%250A%250A%252F**%2520%2540extends%2520%257BParent%257D%2520*%252F%250Aclass%2520Child%2520%257B%257D%250A%26conformanceConfig%26externs%3Dvar%2520goog%253B%250Agoog.inherits%253B%26refasterjs-template%26includeDefaultExterns%3Dtrue%26CHECK_SYMBOLS%3Dtrue%26MISSING_PROPERTIES%3Dtrue%26TRANSPILE%3Dtrue%26CHECK_TYPES%3Dtrue%26CLOSURE_PASS%3Dtrue%26PRESERVE_TYPE_ANNOTATIONS%3Dtrue%26PRETTY_PRINT%3Dtrue
This makes me think it's an ordering issue between ES6 class & module transpilation, rather than something more fundamental.

The first link works in NTI. So either a bug in OTI or in NTI, if behavior differs.
That aside I want to focus on that ES6 module issue, regardless of OTI/NTI.
If you expand your example to actually call goog.inherits you get the following:
/**
 @struct
 @constructor
 @extends {Parent$$module$input0}
 */
var Child$$module$input1 = function() {
};
goog.inherits(Child$$module$input1, module$input0.Parent);

Note the @extends {Parent$$module$input0} but the the inherits call uses module$input0.Parent. This seems wrong to me.
Especially if you look at what goog.module does:
/** @const */ var module$exports$B = {};
/**
 @struct
 @constructor
 @extends {module$exports$A.Parent}
 */
var module$contents$B_Child = function() {
};
goog.inherits(module$contents$B_Child, module$exports$A.Parent);

Link

This affects module interop as well. CommonJS type node rewriting uses the goog module variation.

Just to be clear: my proposed solution is to mark exported classes as @const (regardless as to how they're exported) and then when importing always reference exports.Type rather than Type$local$name.
Chad does that work for you?

Basically the issue is that export class Parent{} is rewritten differently than class Parent {}; export { Parent };.

The typechecker only looks at the extends clause, so that's the only place that it matters in terms of what must be a type reference.  That said, I'm fine with a simplification.
In the goog.module case, it rewrites the original definition to be on the exported name (e.g. module$exports$A.Parent) to avoid creating extra aliases.  That is a good solution, but AFAICT, that rewriting is not currently happening for non-goog modules right now.

CommonJS and Goog Module both look to be in alignment here. So it's ES6 that's different.
Another solution would be to move the type node rewriting into a separate helper class and rewrite based of the module type. That's how I was going to solve this. You'd need the module type map which is currently part of #2729.


Fix tracing output in cargo dev commands

There's probably a more succinct way to do this, but I figure we should have it be similar to uv::main so I copied most of the content from there.
Now cargo dev fetch-python output is shown again.

Do you want the same logging infrastructure in uv-dev as in uv or do you just want basis logging in cargo dev fetch-python?

The change below does basic logging. I want to avoid duplicating this code because it means having to fix any logging bug twice. We can put the logging code into a function and call it from both main functions (uv-dev can depend on uv, i think), or we say basic logging is enough in uv-dev and do the below.
diff --git a/crates/uv-dev/src/main.rs b/crates/uv-dev/src/main.rs
index d3a3b723..75b19dbc 100644
--- a/crates/uv-dev/src/main.rs
+++ b/crates/uv-dev/src/main.rs
@@ -1,6 +1,7 @@
 use std::env;
 use std::path::PathBuf;
 use std::process::ExitCode;
+use std::str::FromStr;
 use std::time::Instant;

 use anstream::{eprintln, println};
@@ -10,9 +11,10 @@ use owo_colors::OwoColorize;
 use tracing::{debug, instrument};
 use tracing_durations_export::plot::PlotConfig;
 use tracing_durations_export::DurationsLayerBuilder;
+use tracing_subscriber::filter::Directive;
 use tracing_subscriber::layer::SubscriberExt;
 use tracing_subscriber::util::SubscriberInitExt;
-use tracing_subscriber::EnvFilter;
+use tracing_subscriber::{EnvFilter, Layer};

 use crate::build::{build, BuildArgs};
 use crate::clear_compile::ClearCompileArgs;
@@ -117,15 +119,21 @@ async fn main() -> ExitCode {
         (None, None)
     };

-    let filter_layer = EnvFilter::try_from_default_env().unwrap_or_else(|_| {
-        EnvFilter::builder()
-            // Show only the important spans
-            .parse("uv_dev=info,uv_dispatch=info")
-            .unwrap()
-    });
+    // Show `INFO` messages from the `uv` crate, but allow `RUST_LOG` to override.
+    let default_directive = Directive::from_str("uv=info").unwrap();
+
+    let filter = EnvFilter::builder()
+        .with_default_directive(default_directive)
+        .from_env()
+        .expect("Valid RUST_LOG directives");
+
     tracing_subscriber::registry()
         .with(duration_layer)
-        .with(filter_layer)
+        .with(
+            tracing_subscriber::fmt::layer()
+                .with_writer(std::io::stderr)
+                .with_filter(filter),
+        )
         .init();

     let start = Instant::now();

@konstin want to just open a PR for that then?


Adjacently and internally tagged enums for non-self-describing formats

It seems that supporting adjacently and internally tagged enums can only work for self-describing formats (see https://github.com/servo/bincode/issues/272). For some non-self-describing formats, it would be nice to support adjacently tagged structs by treating the tag and content values as a tuple instead of additionally serializing the tag string and the content string (i.e. elision of the tag and content strings from serialization and deserialization).

It seems that this is also a problem for msgpack-rust (https://github.com/3Hren/msgpack-rust/issues/250), which serializes adjacently tagged enums as tuples.

I opened #2496 to make progress on one piece of this.


Wrong Text extracted in 'complex' table

When using a complex table (multi rows, columns), the text extracted is wrong: some letters are duplicated, others moved etc
Code used:
# coding: utf-8

require 'rubygems'
require 'pdf/reader'

reader = PDF::Reader.new('sample.pdf')
puts reader.page(1).text

Output:
Title:    Testing the title

Data

Tite2:e    AnnotherLoong TestNaame

Data

I can provide the sample.pdf file via email if needed :)

I have tried what @gpinkham said but that didnt work me. I looked through the code and the problem was completly elsewhere for me. It said that @state.font_size was 300
So in text_run  if (other.x - endx) <( font_size * 0.2) would be < 60 which caused the problems for me. When I replaced @state.font_size with 12, I got the desired results.
I havent figured out why he gives me font_size 300, gonna try to look for it

Without a sample file it's hard to be sure, however there's a very high chance the positioning issues described here are addressed by the fixes I'm working on for #397. Hopefully I'll land them on main in the next few days and we can resolve this issue at the same time


close event description

Hi
close event was not documented , i think it is the one of the most needed event when using this library,
Thanks

Codecov Report

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

@@           Coverage Diff           @@
##           master      #34   +/-   ##
=======================================
  Coverage   31.23%   31.23%
=======================================
  Files           6        6
  Lines         429      429
  Branches       73       73
=======================================
  Hits          134      134
  Misses        284      284
  Partials       11       11

Continue to review full report at Codecov.

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


Tile selection race condition

If a value is set on the tile-selection before the relevant child element has been added, then the tile-selection-option does not have it's selected state set correctly. This change makes sure that, upon a new child element being added to the options, we check the modelValue to see if the selected state needs to be set to true/false on that child.

unit test covering this doesn't get broken in future would be

coverage added for all TileSelection methods


send 'Initial Packet' timeout

How do I set the timeout period for 'Initial Packet' retransmission on a client

hi, anyone here?

From what I can tell there is no way to configure this in Quiche and so no way for us to configure this in netty


pass counter down to publish_tool.py

Needed to unblock #1131

Since it is stand-alone, I've filed a separate PR... but I'm actually going to merge this branch to that other one, and if that is approved and merged, this PR can just be closed.
Given that uncertainty, filing as draft.

Covered by #1131. Closing.


咋编译？来点效果图在 README 呗。

You don't have to compile this project because it runs completely on Unity. You can open this project in any recent version of Unity (2020.3.14 or above) and run it in realtime by clicking the play button. If you need to package for Android please consult the Unity documentation.


Added XmlExtensions Unit Tests.

Implemented the XmlExtensionsUnitTests class for ticket #14.

Yes you are right. Got a little bit short on time. Will fix it tomorrow.

I fixed the issues. What now?

Merged!

Doing even small tickets like these give me more experience with git, Github and how to contribute to open projects.
Ty.


TTX fails to dump CFF table

I have this problem with TTX, maybe someone here can help me :)
My TTX can't dump the CFF table from any CFF-OpenType font. Small character set, or large, doesn't matter. Dumping glyf table from TTFs works fine, but with OTF I get this error, no CFF table found:
Macintosh-4:~ babmo$ ttx -t CFF /Users/babmo/Downloads/source-sans-pro-2.020R-ro-1.075R-it/source-sans-pro-2.020R-ro-1.075R-it/OTF/SourceSansPro-Regular.otf
Dumping "/Users/babmo/Downloads/source-sans-pro-2.020R-ro-1.075R-it/source-sans-pro-2.020R-ro-1.075R-it/OTF/SourceSansPro-Regular.otf" to "/Users/babmo/Downloads/source-sans-pro-2.020R-ro-1.075R-it/source-sans-pro-2.020R-ro-1.075R-it/OTF/SourceSansPro-Regular.ttx"...
No 'CFF' table found.
Macintosh-4:~ babmo$

To be sure, I tried to list the tables that TTX sees, and the CFF is there:
Macintosh-4:~ babmo$ ttx -l /Users/babmo/Downloads/source-sans-pro-2.020R-ro-1.075R-it/source-sans-pro-2.020R-ro-1.075R-it/OTF/SourceSansPro-Regular.otf
Listing table info for "/Users/babmo/Downloads/source-sans-pro-2.020R-ro-1.075R-it/source-sans-pro-2.020R-ro-1.075R-it/OTF/SourceSansPro-Regular.otf":
    tag     checksum   length   offset
    ----  ----------  -------  -------
    BASE  0x651E5DBD       70   223092
    CFF   0x854D0C8E   115352    17484
    DSIG  0xFDABBF24     6424   223164
    GDEF  0x81EA867A      962   140604
    GPOS  0xF52C24A7    66070   157020
    GSUB  0x83FA8F2B    15450   141568
    OS/2  0x5DDDD7A4       96      336
    cmap  0x8C3CEC35    13918     3532
    head  0x09D57A77       54      236
    hhea  0x0A840D58       36      292
    hmtx  0x9B6B0E59     7768   132836
    maxp  0x07965000        6      328
    name  0x1C069216     3099      432
    post  0xFFB80032       32    17452

The OTMaster lists the contents of the CFF table without any trouble. Did anyone encounter something like this?
Oh, this is a crosspost from Glyphs forum, hope you don't mind.

You have to include the space character  for sfnt table tags which are less than 4 character long, like "CFF " or "cvt ".

Thank you very much, it worked with "CFF " (including quotes) :)

I thought we fixed ttx to accept the short tag as well...

That was the subsetter. We shall fix ttx as well.

This got fixed in 79c2b8cbc19ec86a19607705613fe206c56cc0b7 (8 Dec 2015)


Dual Certificate in Ingress gateway

Describe the feature request
Gateway needs to support dual certificate. Nginx and Envoy supports this. Currently Istio supports specifying only one TLS certificate. It is helpful in RSA/ECDSA dual certs. https://github.com/envoyproxy/envoy/pull/16605
Describe alternatives you've considered
I don't see an alternative.
Edit: is it possible with envoy filter specifying secret name without mounting it explicitly?
Affected product area (please put an X in all that apply)
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[x] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Affected features (please put an X in all that apply)
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane
Additional context

If we did support this how would you want to configure this? Store the cert in 2 Secrets and reference both?

Yes. If tls field is converted from map to array to accept two certs it will be great. I prefer credential names so we don't have to manually mount them.

Ack.
http://gateway-api.org/ has support for this by using a list of secret names, for this exact case. So I think adding support is pretty reasonable. Unfortunately we cannot make it a list backwards compatibly, but we can add a new field to allow a list.


Add a comparison section in the documentation

It would be very nice if we could have a comparison section in the documentation, just like kubespray have.
To start with, I think we could compare it to Kata Containers.

Thanks for the suggestion @felipecrs, makes sense, we will work on this soon.

Hi @felipecrs, thanks again for filing this issue.
We've created an article on the Nestybox blog site that compares Sysbox with many alternative technologies:
https://blog.nestybox.com/2020/10/06/related-tech-comparison.html
I've added a link to it from the Sysbox README file too.
Hope this helps!
Closing the issue.

Amazing article, @ctalledo. I really enjoyed reading it. Thanks!

Anytime @felipecrs !


Unreliable on IPadOS 17.6.1

Hello. First of all, thank you for creating this. I would like to use it regularly but it doesn’t work reliably for me on iPadOS 17.6.1. On opening a new tab, my set homepage shows up only about 50% of the time. Otherwise it’s a blank page. Any chance this can be fixed?

Hey,
Sorry to hear it isn’t working well for you. I found it sometimes happens once in a while but it currently appears to work fine on my M1 iPad Air running 17.6.1. Hearing that it’s only working half the time is a bit concerning.
The blank page issue was a major problem when the iOS 18 beta initially came out. The extension simply didn’t work at all on the new OS for some reason. After reporting the issue, Apple identified it was a system bug and was fixed in iOS 18 beta 4. I’m wondering if it’s the same issue that hasn’t been fixed on 17.
I’ll see what I can do on my side, including submitting another bug report to Apple. In the meantime, I suggest rebooting your iPad, and if you’re still facing problems to also try reinstalling the app and toggling the extension off and on.

Please update to either iPadOS 18 or iPadOS 17.7 and see if the problem is still present. Let me know if it is.


assembleAndroidTest doesn’t use packagingOptions

Hi ,
In case of react native projects that use external dependencies we face errors related as follows "More than one file was found with OS independent path 'lib/x86/libc++_shared.so'.
This is because the asssembleAndroidTest doesn't use the packagingOptions provided.
Link to this issue is here: https://discuss.gradle.org/t/assembleandroidtest-doesnt-use-packagingoptions/31673
Can someone please suggest a solution or enhancement ?

@androidparth90 Would you mind posting the question & answer on stackoverflow?


search breaks when source with port added

choco search zip
...works
choco sources add -name mine -source https://localhost:8088
...added
choco search zip
"Invalid URI: Invalid port specified."

I suppose it's a "user error", apparently I have to end the URL with a / then it works.
...closing.


libuv compatibility layer?

Might be nice to have a compatibility layer for handling various libuv uses across node versions?  Maybe I'm the only one who uses libuv from my library, but might be commonly useful.
I have the beginnings of one already, https://github.com/brett19/libcouchbase/blob/master/plugins/io/libuv/libuv_compat.h .

There are some libuv compatibility parts in nan.h now. We can split it out into a separate file at some point if it grows in size.


Bug Cobra Shot / Steady Shot

Good evening, I warn you of a bug when you put the "cobra shot", sometimes it's "Steady Shot" that is put instead (Version of the in French so Tir du cobra et Tir assuré ). Thanks for your help. Hopefully the bug will be solved :).

This is not a bug.  For detailed response see: https://wowlazymacros.com/t/two-most-asked-questions-base-spells-and-macro-locks/17772/4
Short answer: Steady Shot is the base spell for Cobra Shot.  When you swap to Bm Conra Shot replaces Steady Shot. GSE stores the base ability via Blizzards internal function for determining base spells.

Yes so in the end even if it puts this, and on the display we have the "?" in red, it takes into account the cobra shot. If I understood correctly. Thank you for taking the time to answer :).

If you look at your logs you will see Cobra Shot firing in the log.
TimothyLuke

On 10 Nov 2020, at 6:50 am, alexmr06<EMAIL_ADDRESS>wrote:

Yes so in the end even if it puts this, and on the display we have the "?" in red, it takes into account the cobra shot. If I understood correctly. Thank you for taking the time to answer :).
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.

Yes I saw well :). Thanks for the explaining link.
Another question, do you have a link on the site where everything is listed ? /cast, /castsequence / [nochaneling] etc with the description of what it does ? Thanks again for taking your time.

No as that’s all defined by Blizzard - if you google WoW Macro Commands you will find everything that can be in a macro.


36 allow helix index changing in batch

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Can you fill in a bit under each heading of the PR?

Should be updated!


clear the 'multi cursor' please

VSCode Version: 1.17.2
OS Version: Mac OS 10.13

The 'multi cursor' work when i press 'ctrl + alt + up/down'(my key bindings). But it doesn't work with mouse.
Steps :

Holding the 'alt' key
Holding the 'main' key(in mouse) and drag the mouse cursor vertically, and it's behavior is same as holding the 'command' key at step 1. It is just a 'multi line', not 'multi cursor'!

@wu67 Not sure what you mean.
You can get box selection via shift+alt+ and mouse click:

@alexandrudima
emmmmm, now we have 2 way get those selection

holding alt and then click each point
holding alt + shift ,then drag the cursor

i want to merge the 2 way ----> holding alt key, and then select multi point by drag or click

So you would like to change the modifier keys for box selection from shift+alt+ to alt+ ?

@alexandrudima Yes!!!

Thank you, duplicate of #3130


Create and deploy development test environment

@Maurier - can this issue be closed?

Yes, our testing deployment is up and working at https://iguide-dev.cuahsi.io/


Multiple files

Hi,
Um... this is probably real stupid, but how do i use a DMP command in other file than the main? Every time i tried i ended up getting: "Cannot read properties of undefined (reading 'setPaused)". It can be just a simple explanation. I'm new to this.
Here is my code of the resume.js file. Help?

so.... this isn't really a DMP related problem, but... if you insert the guildQueue, Queue, Song, PlayOptions and player values, you don't need to use the massive require on top of the file.
Also, this doesn't provide enough context, but where you call the callback, you should also insert the values, that's why it says Cannot read properties of undefined, since you probably didn't add them.

Okay, well... first of all, you may be right, it isn't DMP related problem, sorry for that, but it seems like the closest support i could find.
Well second of all.... There isn't any context that's missing. The file above is the hole file. How do i make the music stop only using this file. The resume.js file, which isn't the main one.
Would be grateful if you could precise what i should do? "insert the values" but what values if i want a "setPaused" function.

but what values if i want a "setPaused" function.

it should be obvious, since JavaScript is object oriented.

Yeah, still no clear answer. You realised, that i'm new to javascript, which is progress, but still you treat me like a developer. "It should be obvious". Shouldn't it be easier for you, and faster, to just give me an example solution, than to try to get me to do it myself?
I'm truly sorry for wasting your time. When/if you help me i'll send you a watermelon emoji.
Maybe in fact you do need more context. Here is an image of my main file. Im using WOKCommands command handler.

Here is the top of the file, if you need it:

And the resume,js file once again.

Ok, thanks for providing the needed context.
You can access to the player and queue by doing something like this in the command file
callback: ({ client, message }) => {
  const { player } = client; // deconstruction syntax
  const guildQueue = player.getQueue(message.guild.id); // or "createQueue" if the queue in the guild doesn't exist (but since you're resuming, you're supposing that it already exists)

  guildQueue.setPaused(false)
}

this should in theory already be enough for it to work.

THANKS! And be sure i will learn from it. Here is the promised watermelon: 🍉


[MQTT] topic in broker handle

Do not replace topic string in edge handle (set topic in mqtt-handle).
Use util function to get/parse host string.
Fix res leak case when mqtt connection is failed.
Code clean, remove unnecessary conversion after allocating new memory for mqtt-handle.

Signed-off-by: Jaeyun<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #53. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.


Installed mkcert and now XAMPP's Apache is broken.

I installed mkcert using choco and then immediately uninstalled using mkcert -uininstall and now my XAMPP's Apache won't launch. No port 80 or 443 (defaults) are being used.

I don't think this is compatible with xampp. Reinstalled XAMPP's Apache to fix.


Generic module types

Closes #387
Start work on generic modules.

[x] Define a Module type generic of any Msg, Query
[x] Implement this for Bank
[x] Do all initialisation on App::build()
[x] Simplify Apis, eg. using Bank = Module<BankMsg, BankQuery> alias
[x] Contract tests pass
[x] Use this for CustomHandler
[x] Add Panicking implementations for Staking, Distribution

TODO in a future PR:

Use Module for WasmHandler (this is a bit too central and too many special entry-points - we need to expose Sudo somehow)
Clean up APIs some more (with usage)

Seems good, except now we should implement proper staking and distribution modules, as they probably should not fail by default for wasm.

Yeah, that can be another PR. In 0.10.1 or later.
Honestly, I would add that in a contract that needs it and then port it to cw-plus. But this is more important for Terra than us I believe. Now they have hooks to add it.


[Core] Add apiComplianceSuite coverage for getWithRelationship[s]

Adds basic coverage for the relationship query methods. Note: this has deliberately been left in it's somewhat long-winded form, as it hints that we may well want to look at a bit of a refactor of the harness, now its being used at scale.
Closes #914
On-hold prending #968.

@elliotcmorris @feltech how about [this] for improved fixture names as per our discussion (didn't feel the need to split them into specific cases, the suite name seemed enough)?

@feltech this should updated with new args order, but I didn't have the updated BAL to test against yet

@feltech this has WIP BAL test updates to use these for e2e dev https://github.com/foundrytom/OpenAssetIO-Manager-BAL/commits/work/getWithRelationshipTests

Tweaked the fixtures based on our meeting, in which, IIRC, we decided to try to remove "shared" fixtures where possible, to ease readability/discoverability.  See https://github.com/OpenAssetIO/OpenAssetIO-Manager-BAL/pull/50 for implementation.

You're right about the labour of the compliance suite, these tests do have a certain eye-glazing effect.
Worked locally, testing against Davids BAL branch.

That has gotten a lot worse since we aren't using shared fixtures, but the benefit is the names make more sense.

You're right about the labour of the compliance suite, these tests do have a certain eye-glazing effect.
Worked locally, testing against Davids BAL branch.

That has gotten a lot worse since we aren't using shared fixtures, but the benefit is the names make more sense.

I think expecting manager plugin authors to understand what the fixtures mean based on their name isn't likely to work. They'd end up looking in the test case code anyway.  So tying the fixtures more explicitly to the test case, so it's clear which values are used where, will help readability.
I'm not best placed to judge though, since I wrote this.  So if you two think it's easier for plugin authors to understand the shared fixtures, then maybe we should rethink this PR.

You're right about the labour of the compliance suite, these tests do have a certain eye-glazing effect.
Worked locally, testing against Davids BAL branch.

That has gotten a lot worse since we aren't using shared fixtures, but the benefit is the names make more sense.

I think expecting manager plugin authors to understand what the fixtures mean based on their name isn't likely to work. They'd end up looking in the test case code anyway. So tying the fixtures more explicitly to the test case, so it's clear which values are used where, will help readability.
I'm not best placed to judge though, since I wrote this. So if you two think it's easier for plugin authors to understand the shared fixtures, then maybe we should rethink this PR.

Im happy with it as-is for now, and we can use the fixtures as they stand to start a discussion with @mattdaw @antirotor.

I can't add a review as its my PR. But LGTM 🤣


Segmentation fault when calling infer on untrained loaded model

Hey @bab2min, wanted to report a segfault with the following code:
import tomotopy as tp

model = tp.LDAModel()
model.save("/tmp/model.bin")

model = tp.LDAModel.load("/tmp/model.bin")
doc = model.make_doc(["unseen", "document"])
model.infer(doc)

tomotopy 0.12.4

Looks to be fixed in ff3c44a70397ba55a6363cc7c25b9faca4a9fcc0 - thanks @bab2min


Add generating proto files to smallbank_workload

This PR has three main fixes:

#1325 took out generating rust files from protogen script and handled it by using a build.rs file. This PR adds it back in for smallbank_workload.
Removing the wait from the sawtooth_perf long running batch submitter. This is only a short-term fix and will be handled better by work done in STL-1052.
Adding the Cargo.lock to version control since smallbank_workload is a bin. https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html This cargo documentation explains.

@vaporos do we like Cargo.lock files?


Add /bdd/discovery section

Aslak has made some good suggestions for content in this comment.

Closed by @annabaker 's PR


operator cloudcasa-operator (3.2.0)

New operator bundle
Name: cloudcasa-operator
Version: 3.2.0
Certification project: 610d99666655d0fd36c4e488

@rh-operator-bundle-bot Even after merging this commit the updated version viz. CloudCasa 3.2.0 is not visible on OCP cluster's Operatorhub. Could anyone please help in this regard.


quick start guide should reference the Leaflet maintained CDN

Rather than the cdnjs, reference the one maintained by Leaflet

Thanks! It's always difficult to not miss a reference to the CDN urls

:smile_cat:


UriRewriter is confused by many "../" traversals

Minify version: 2.1.2
PHP version: PHP 5.2.4-2ubuntu5.5

What steps will reproduce the problem?
1. include a css rule with a relative path more going up more several
directories, such as:
"/static/js/yui/container/assets/skins/sam/../../../../assets/skins/sam/sprite.p
ng"

2. Minify the css and inspect the output that has the rewritten uri, and
you get: "/static/js/yui/container/assets/assets/skins/sam/sprite.png"

Expected output: /static/js/yui/assets/skins/sam/sprite.png

Actual output: /static/js/yui/container/assets/assets/skins/sam/sprite.png

Did any unit tests FAIL?

I don't see any related tests failing, but here is the full output of
running the suite:

PASS: Minify : 304 response (1 of 1 tests run so far have passed)
PASS: Minify : encoding, cache, and minifier classes aren't loaded for 304s
(2 of 2 tests run so far have passed)
PASS: Minify : JS and Expires (3 of 3 tests run so far have passed)
PASS: Minify : Issue 73 (4 of 4 tests run so far have passed)
PASS: Minify : Issue 89 : bubbleCssImports (5 of 5 tests run so far have
passed)
PASS: Minify : Issue 89 : detect invalid imports (6 of 6 tests run so far
have passed)
PASS: Minify : Issue 89 : don't warn about valid imports (7 of 7 tests run
so far have passed)
PASS: Minify : CSS and Etag/Last-Modified (8 of 8 tests run so far have passed)
PASS: Minify_Build : single file path (9 of 9 tests run so far have passed)
PASS: Minify_Build : multiple file paths (10 of 10 tests run so far have
passed)
PASS: Minify_Build : file path and a Minify_Source (11 of 11 tests run so
far have passed)
PASS: Minify_Build : uri() with no querystring (12 of 12 tests run so far
have passed)
PASS: Minify_Build : uri() with existing querystring (13 of 13 tests run so
far have passed)
!FAIL: Minify_Cache_File : store (1 of 14 tests run so far have failed)
PASS: Minify_Cache_File : getSize (14 of 15 tests run so far have passed)
!FAIL: Minify_Cache_File : isValid (2 of 16 tests run so far have failed)
!FAIL: Minify_Cache_File : display (3 of 17 tests run so far have failed)
!FAIL: Minify_Cache_File : fetch (4 of 18 tests run so far have failed)
!FAIL: Minify_Cache_File : store w/ lock (5 of 19 tests run so far have failed)
PASS: Minify_Cache_File : getSize (15 of 20 tests run so far have passed)
!FAIL: Minify_Cache_File : isValid (6 of 21 tests run so far have failed)
!FAIL: Minify_Cache_File : display w/ lock (7 of 22 tests run so far have
failed)
!FAIL: Minify_Cache_File : fetch w/ lock (8 of 23 tests run so far have failed)
PASS: Minify_CSS : styles (16 of 24 tests run so far have passed)
PASS: Minify_CSS : vladmirated (17 of 25 tests run so far have passed)
PASS: Minify_CSS : paths_rewrite (18 of 26 tests run so far have passed)
PASS: Minify_CSS : selectors (19 of 27 tests run so far have passed)
PASS: Minify_CSS : paths_prepend (20 of 28 tests run so far have passed)
PASS: Minify_CSS : issue62 (21 of 29 tests run so far have passed)
PASS: Minify_CSS : hacks (22 of 30 tests run so far have passed)
PASS: Minify_CSS : unusual_strings (23 of 31 tests run so far have passed)
PASS: Minify_CSS : comments (24 of 32 tests run so far have passed)
PASS: Minify_CSS : subsilver (25 of 33 tests run so far have passed)
PASS: Minify_CSS_UriRewriter (26 of 34 tests run so far have passed)
PASS: Minify_CommentPreserver (27 of 35 tests run so far have passed)
PASS: Minify_CommentPreserver (28 of 36 tests run so far have passed)
PASS: Minify_CommentPreserver (29 of 37 tests run so far have passed)
PASS: Minify_CommentPreserver (30 of 38 tests run so far have passed)
PASS: Minify_HTML (31 of 39 tests run so far have passed)
PASS: Minify_HTML (32 of 40 tests run so far have passed)
PASS: ImportProcessor (33 of 41 tests run so far have passed)
PASS: ImportProcessor : included right files in right order (34 of 42 tests
run so far have passed)
PASS: Minify_Javascript (35 of 43 tests run so far have passed)
PASS: Minify_Javascript : Quotes in RegExp literals (Issue 74) (36 of 44
tests run so far have passed)
PASS: Minify_Lines (37 of 45 tests run so far have passed)
PASS: HTTP_Encoder : recognize "x-gzip" as gzip (38 of 46 tests run so far
have passed)
PASS: HTTP_Encoder : gzip w/ non-zero q (39 of 47 tests run so far have passed)
PASS: HTTP_Encoder : gzip w/ zero q (40 of 48 tests run so far have passed)
PASS: HTTP_Encoder : IE6 w/o "enhanced security" (41 of 49 tests run so far
have passed)
PASS: HTTP_Encoder : IE6 w/ "enhanced security" (42 of 50 tests run so far
have passed)
PASS: HTTP_Encoder : IE5.5 (43 of 51 tests run so far have passed)
PASS: HTTP_Encoder : Opera identifying as IE6 (44 of 52 tests run so far
have passed)
PASS: HTTP_Encoder : IE6 w/ "enhanced security" (45 of 53 tests run so far
have passed)
PASS: HTTP_Encoder : deflate : uncompress possible (46 of 54 tests run so
far have passed)
PASS: HTTP_Encoder : deflate : compressed to 30.14% of original (47 of 55
tests run so far have passed)
PASS: HTTP_Encoder : gzip : uncompress possible (48 of 56 tests run so far
have passed)
PASS: HTTP_Encoder : gzip : compressed to 30.16% of original (49 of 57
tests run so far have passed)
PASS: HTTP_Encoder : compress : uncompress possible (50 of 58 tests run so
far have passed)
PASS: HTTP_Encoder : compress : compressed to 30.20% of original (51 of 59
tests run so far have passed)
PASS: HTTP_ConditionalGet : client has valid If-Modified-Since (52 of 60
tests run so far have passed)
PASS: HTTP_ConditionalGet : client has valid If-Modified-Since with
trailing semicolon (53 of 61 tests run so far have passed)
PASS: HTTP_ConditionalGet : client has valid ETag (54 of 62 tests run so
far have passed)
PASS: HTTP_ConditionalGet : no conditional get (55 of 63 tests run so far
have passed)
PASS: HTTP_ConditionalGet : client has invalid ETag (56 of 64 tests run so
far have passed)
PASS: HTTP_ConditionalGet : client has invalid If-Modified-Since (57 of 65
tests run so far have passed)
PASS: environment : DOCUMENT_ROOT should not end in trailing slash (58 of
66 tests run so far have passed)
PASS: environment : DOCUMENT_ROOT should pass realpath() (59 of 67 tests
run so far have passed)
PASS: environment : DOCUMENT_ROOT should contain this test file (60 of 68
tests run so far have passed)
!FAIL: environment : PHP/server does not auto-HTTP-encode content (9 of 69
tests run so far have failed)

Please provide any additional information below.

I traced it to the preg_replace() call on line 179 of UriRewritter.  It
doesn't seem to handle the relative pathing when its as deep as the example
given.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 18 Mar 2009 at 2:25

Thanks. I'm refactoring this class right now so I'll look into that.

Original comment by<EMAIL_ADDRESS>on 18 Mar 2009 at 2:44

Changed title: UriRewriter is confused by many "../" traversals
Changed state: Accepted
Added labels: Priority-High
Removed labels: Priority-Medium

What are your docRoot and symlink settings?

Original comment by<EMAIL_ADDRESS>on 18 Mar 2009 at 4:39

@laya... : If you're just using that class, just echo Minify_CSS_UriRewriter::
$debugText after calling rewrite() or rewriteRelative().

Original comment by<EMAIL_ADDRESS>on 4 May 2009 at 8:59

I'm having the same problem also (with latest checkout from Trunk).
As I only use UriRewriter class and not the whole minify suite, how do I enable
debug
mode so I can provide additional info?

Original comment by<EMAIL_ADDRESS>on 4 May 2009 at 8:37

Please update your files that were changed in R309, enable debug mode in
config.php,
and add &debug=1 to your minify CSS URI. This will prepend the output with
debugging
info for the URI rewriting process.

The new rewriter also removes trailing slashes from realpath()s, so it's
possible
the update could solve some issues.

Original comment by<EMAIL_ADDRESS>on 19 Mar 2009 at 4:44

Changed state: NeedInfo

Yay

Original comment by<EMAIL_ADDRESS>on 5 May 2009 at 9:18

Changed state: Verified

Fixed!!
YUI has many deeply nested structure, so hopefully this fix will work with even
deeper nesting (more traversals).
Thanks.

Original comment by<EMAIL_ADDRESS>on 5 May 2009 at 9:12

Fix in R328. Can you verify the UriRewriter.php in that rev works for you? I
added a
testcase with your input and it now passes.

Original comment by<EMAIL_ADDRESS>on 5 May 2009 at 1:09

Changed state: Fixed
Added labels: Release-2.1.2

@laya... Yep, definitely a bug. When I remove the traversals by hand I get the
right
URI:
\yui\menu\assets\skins\sam\..\..\..\..\assets\skins\sam\sprite.png
\yui\menu\assets\skins\..\..\..\assets\skins\sam\sprite.png
\yui\menu\assets\..\..\assets\skins\sam\sprite.png
\yui\menu\..\assets\skins\sam\sprite.png
\yui\assets\skins\sam\sprite.png

Original comment by<EMAIL_ADDRESS>on 5 May 2009 at 12:35

Changed state: Accepted

Thanks for the quick reply ;)
With the help of $debugText, I have fixed most of my problems (with one problem
remaining). Previously I was passing $path including the css file name, now I'm
passing just the path [with dirname($path)].

Info:
Trying to use Minify_CSS_UriRewriter::rewrite with YUI.
Doc Root: c:\projects\abc\web
Yui located in: c:\projects\abc\web\yui

CSS I was testing UriRewriter with:
c:\projects\abc\web\yui\menu\assets\skins\sam\menu.css

Code:
$path = 'c:\projects\abc\web\yui\menu\assets\skins\sam\menu.css'
$content = Minify_CSS_UriRewriter::rewrite(
                    file_get_contents($path)
                    ,dirname($path)
                    ,'c:\projects\abc\web'
                    ,array()
            );

$debugText:
docRoot : sf_root_dir\web
currentDir : sf_root_dir\web\yui\menu\assets\skins\sam

file-relative URI : ../../../../assets/skins/sam/sprite.png
path prepended :
sf_root_dir\web\yui\menu\assets\skins\sam\..\..\..\..\assets\skins\sam\sprite.pn
g
docroot stripped :
\yui\menu\assets\skins\sam\..\..\..\..\assets\skins\sam\sprite.png
traversals removed : /yui/menu/assets/assets/skins/sam/sprite.png

The correct absolute path should be: /yui/assets/skins/sam/sprite.png

Original comment by<EMAIL_ADDRESS>on 5 May 2009 at 2:45

Sort of a general question, but any idea when a tag might be made containing
this
fix?  Not sure if you have a 2.1.3 release in mind.  Your fix seems to have
solved
the issues I was having regarding this bug, but I'm hesitant to run off of a
trunk
checkout in case there is work in progress being done.  No rush, just wondering
is
all.  Thanks again.

Original comment by<EMAIL_ADDRESS>on 9 Jun 2009 at 9:02

2.1.3 will be tagged soon. There are bigger changes I want in 2.2.

Original comment by<EMAIL_ADDRESS>on 11 Jun 2009 at 1:14


more detailed build instructions?

would you perhaps be able to write more detailed build instructions? my build is consistiently failing every time and I'm not sure why

It's the typical python setup.py bdist_wheel (in the makefile). What error are you getting?

it runs, but then when I run the test it returns

Jacobs-MacBook-Air:SparseSC jacobcoblentz$ python3 example-code.py

Traceback (most recent call last):

  File "example-code.py", line 13, in <module>

    import SparseSC as SC

ModuleNotFoundError: No module named 'SparseSC'

Jacobs-MacBook-Air:SparseSC jacobcoblentz$

On Tue, Mar 17, 2020 at 1:39 PM Brian Quistorff<EMAIL_ADDRESS>wrote:

It's the typical python setup.py bdist_wheel (in the makefile). What
error are you getting?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/SparseSC/issues/28#issuecomment-600285745,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALJEVLVCU3LRZAUZ7S57CE3RH7NX7ANCNFSM4LNZM3KA
.

The package has to be installed after it's been built. This will depend on your environment, but the simplest way is pip install XXXX.whl.

thanks so much and apologies for this question!
On Tue, Mar 17, 2020 at 8:11 PM Brian Quistorff<EMAIL_ADDRESS>wrote:

The package has to be installed after it's been built. This will depend on
your environment, but the simplest way is pip install XXXX.whl.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/SparseSC/issues/28#issuecomment-600360342,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALJEVLQLVRIDADV6M76EKVTRIAGU5ANCNFSM4LNZM3KA
.


added "Are you a Student?" part and titles

And made arrangements.
This is great tutorial for everyone. Thank you!

@devisasari please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

Contributor License Agreement

@microsoft-github-policy-service agree

Sorry - this change doesn't add any value, and feels like it was just made to meet the hacktoberfest criteria rather than add any value.

Sorry - this change doesn't add any value, and feels like it was just made to meet the hacktoberfest criteria rather than add any value.

If it is as you say, why is "Are you a Student?" part in these repositories of Microsoft (AI For Beginners, Data Science For Beginners)? I think you made a subjective and questionable comment. Even though I didn't put the label "Hacktoberfest", you read intentions!


Package for reading from dinolite usb microscope

#217
Passes CI

very nicely done @wang-edward, small fixes and then this will get merged

very nicely done @wang-edward, small fixes and then this will get merged

@Nick-palmar can you give this a once-over before merge?

Was this tested in any way to make sure it is working properly?

Was this tested in any way to make sure it is working properly?

Yessir💯


targets file is not used when installing the package

When building the first package I did not realize, that I had the original library "unmanagedexports.repack" still in my references and so during the builds of the test project its targets file was used instead of the one from "unmanagedexports.repack.upgrade".
The targets file from "unmanagedexports.repack.upgrade" wasn't written to .csproj.nuget.g.targets because the name of the targets file was not the same as the nuget id.

Fixed with commit bdbbf33ef1ca704f279955ad775a92798fca37a1

Hint: If .NET 3.5 is not installed (hence MSBuild v2) the build command will fail like so:
error MSB4062: The "RGiesecke.DllExport.MSBuild.DllExportAppDomainIsolatedTask" task could not be loaded from the assembly C:\Users\VssAdministrator.nuget\packages\unmanagedexports.repack\1.0.4\build..\tasks\RGiesecke.DllExport.MSBuild.dll. Could not load file or assembly 'Microsoft.Build.Utilities, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.


Clarify an answer for question 10

What happens when we do this?

C: undefined

Undefined is a value, not an event, so it should be clarified what the context for it is.
Perhaps something like

C: bark becomes undefined

?

The answers to the question, like SyntaxError, imply that the syntax is getting parsed so the outcome isn't specifically for some variables to resolve.
The script from the question will output "dog" as last statement and that isn't one of the answers too..
Example:
What will happen?
var a = 1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

A: Nothing, this is totally fine!
B: SyntaxError
C: undefined
D: 1

The answers to the question, like SyntaxError, imply that the syntax is getting parsed so the outcome isn't specifically for some variables to resolve but I do agree that undefined is like an alias for Nothing, this is totally fine! because the syntax is already parsed at that stage.
The script from the question will output "dog" as last statement and that isn't one of the answers, yet. So maybe reword it something like this:
Example:
What happens when we do this?
var a = 1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

A: The script will output undefined
B: The script will output 1
C: SyntaxError

I added a more reasonable choice, thanks 👍


Git should adopt vscode.RelativePattern

This PR fixes #141048

I see more usages of createFileSystemWatcher, which also seem to test on the path being .git or not, but I am not entirely sure we could adopt the relative pattern there.

Addressed by @eamodio in https://github.com/microsoft/vscode/pull/140792


Do ABSEIL + Protobuf Migration

At the request of @BastianZim a little more time is given.
cc: @h-vetinari
xref: https://github.com/conda-forge/or-tools-feedstock/pull/24#issuecomment-1242766384

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Thanks everyone!


Moving from Semver to major.patch versioning

Example of how versioning will look:
https://github.com/IgorGov/mizu/releases

I converted it to draft because two things need to be chnaged and it is not ready to for merge.

semver class https://github.com/up9inc/mizu/blob/develop/shared/semver/semver.go (it will not support those new versions format)
all calls to Auto Increment should use the new step.


Fix broadcast error messages

Example: ValueError: operands could not be broadcast together with shapes (2,) (3,)

lower case "operands"
' '.join instead of ', '.join shapes

Jenkins, test this please.

Jenkins CI test (for commit 8142e69f56640d6a14fc413dc241884fb0f85569, target branch master) failed with status FAILURE.

Jenkins, test this please.

Jenkins CI test (for commit 8142e69f56640d6a14fc413dc241884fb0f85569, target branch master) succeeded!


[BUG] Management Service Bus Solution file has incorrect project references

The solution file at sdk\servicebus\Microsoft.Azure.Management.ServiceBus/Microsoft.Azure.Management.ServiceBus.sln has references to projects that do not exist (they appear to have had their names simplified at some point.
To reproduce: open the solution file in Visual Studio and observe that the projects fail to load.

Hi @OwenDF thanks for reporting this issue. I've tagged it to have the team take a look.
/cc @shahabhijeet


delete fastqc, not required anywhere

FastQC doesn't seem to be required by any of our workflows, this PR deletes it.

Not sure what was causing that, but something about the CUSTOM_DUMPSOFTWAREVERSIONS was weird.
fixed the conflicts locally, should be fine?

Okay getting a very weird S3 error locally, but on the CI it works


OpenSCAD City Two Quarters

Design the city block for 2/4 city
adjacent
opposite

two quarter city with herald option and 90° road option

two quarter opposite city (long boi)
herald option


Crtl + lshift + p does not work, Crtl + rshift + p does

I can not open the command pallette anymore by using ctrl + lshift + p.
After some time I tried to fix it in the key binding settings, but it turns out the 'p' key is not recognized when holding ctrl + lshift. All other keys worked, and when using rshift insted 'p' also worked (I also tried different keyboards).
As of now I can only open my command pallette via ctrl + rshift + p, but it just feels wrong as I am so used to do it with lshift.

/needsMoreInfo can you please follow this guide to narrow down a keyboard problem https://github.com/microsoft/vscode/wiki/Keybinding-Issues


Config is overwritten with defaults on every load

On every (re)load, the config is overwritten with the default.
Tested in 1.4.4

This issue should be resolved, and this plugin has been updated to work with version 1.20 of PaperMC (and probably many other servers and versions). Apologies for the very long delay, but hopefully it's useful!


Crash simulator

Environment:
OS: macOS 10.15.6
Node: 14.3.0
Yarn: 1.22.4
npm: 6.14.4
"react": "16.11.0",
"react-native": "0.62.2",
"@ptomasroos/react-native-multi-slider": "^2.2.2",
Here is the code
<MultiSlider
                values={[Number(minValue), Number(maxValue)]}
                sliderLength={250}
                min={ Number(minValue) }
                max={ Number(maxValue) }
                step={ Number(step) }
                allowOverlap
                snapped
            />

Error and simulator memory leak
Runtime is not ready for debugging. Make sure Packager server is running.

RCTFatal
-[RCTCxxBridge handleError:]
__21-[RCTCxxBridge start]_block_invoke
invocation function for block in facebook::react::(anonymous namespace)::RCTObjcExecutor::RCTObjcExecutor(id<RCTJavaScriptExecutor>, void (NSError*) block_pointer, std::__1::shared_ptr<facebook::react::MessageQueueThread>, std::__1<facebook::react::ExecutorDelegate>)
__58-[RCTWebSocketExecutor _executeJSCall:arguments:callback:]_block_invoke
__44-[RCTWebSocketExecutor sendMessage:onReply:]_block_invoke
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_lane_serial_drain
_dispatch_lane_invoke
_dispatch_workloop_worker_thread
_pthread_wqthread
start_wqthread

Reboot doesn't help

falls on large numbers 3 000 000 000


Layout:update with changing components does not manage them properly

I want dynamically show/hide settings panel (Popup window which appears as part of layout) but it only shows the empty space, looks like it's not mounted or so?  Is this possible?
 local settings_open = false
  chat_input:map("i", "<C-o>", function()
    if settings_open then
      layout:update(Layout.Box({
        Layout.Box(chat_window, { grow = 1 }),
        Layout.Box(chat_input, { size = 3 }),
      }, { dir = "col" }))
    else
      layout:update(Layout.Box({
        Layout.Box({
          Layout.Box(chat_window, { grow = 1 }),
          Layout.Box(chat_input, { size = 3 }),
        }, { dir = "col", grow = 1 }),
        Layout.Box(settings_panel, { size = 30 }), -- Panel added dynamically
      }, { dir = "row" }))
    end
    settings_open = not settings_open
  end, {})

I also tried another option to mount settings_panel and  call :hide()/:show() methods, it works but in my use case I'm want to start with hidden panel, can you help me with that?

nvm it works, I had to run settings_panel:mount():
   local settings_open = false
  for _, popup in ipairs({ settings_panel, chat_input }) do
    for _, mode in ipairs({ "n", "i" }) do
      popup:map(mode, "<C-o>", function()
        if settings_open then
          layout:update(Layout.Box({
            Layout.Box(chat_window, { grow = 1 }),
            Layout.Box(chat_input, { size = 3 }),
          }, { dir = "col" }))
          settings_panel:hide()
          vim.api.nvim_set_current_win(chat_input.winid)
        else
          layout:update(Layout.Box({
            Layout.Box({
              Layout.Box(chat_window, { grow = 1 }),
              Layout.Box(chat_input, { size = 3 }),
            }, { dir = "col", grow = 1 }),
            Layout.Box(settings_panel, { size = 40 }),
          }, { dir = "row" }))
          settings_panel:show()
          settings_panel:mount()

          vim.api.nvim_set_current_win(settings_panel.winid)
          vim.api.nvim_buf_set_option(settings_panel.bufnr, "modifiable", false)
          vim.api.nvim_win_set_option(settings_panel.winid, "cursorline", true)
        end
        settings_open = not settings_open
      end, {})
    end
  end

Re-opeing.
This should be handled automatically. When you're using Layout you shouldn't need to deal with :mount, :unmount etc. for each individual components.

@jackMort can you check if https://github.com/MunifTanjim/nui.nvim/pull/222 fixes your issue? In your example, you shouldn't need to mount / show / hide / unmount settings_panel manually. Layout should do it for you automatically.

Yes, it solves the issue, thank you!


"/notif:notification" not found error on connecting

[version information]
netopeer2 : 2.0.77
libnetconf2 : 2.1.20
libyang : 2.46.3
sysrepo : 2.2.150
Hi,
When connect is executed, the following message is output and the connection does not succeed.
The same thing is happening with callhome.
How do you solve this error?
・connect
$ netopeer2-cli
load_config: No saved configuration.
> connect --host <IP_ADDRESS> --login john
<EMAIL_ADDRESS>password:
　…
ly ERROR: Augment target node "/notif:notification" from module "yuma-system" was not found. (Path "/yuma-system:{augment='/notif:notification'}".)
cmd_connect: Connecting to the <IP_ADDRESS>:830 as user "john" failed.

・listen
> listen --host <IP_ADDRESS> --timeout 800 --login john
Waiting 800s for an SSH Call Home connection on port 4334...
The authenticity of the host '<IP_ADDRESS>' cannot be established.
ssh-ed25519 key fingerprint is XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX.
Are you sure you want to continue connecting (yes/no)? yes
<EMAIL_ADDRESS>password:
　…
ly ERROR: Augment target node "/notif:notification" from module "yuma-system" was not found. (Path "/yuma-system:{augment='/notif:notification'}".)
cmd_listen: Receiving SSH Call Home on port 4334 as user "john" failed.
>

You have quite a mix of the versions, latest libyang and sysrepo and ancient libnetconf2 and netopeer2, which may be a problem on its own. Can you provide yuma-system.yang the server is using?

thank you for your response
yuma-system.yang.txt

Okay, I have modified the module and if you install the latest netopeer2, you should no longer get the error.

I have confirmed that the issue is resolved.
Thank you : )


feature request: enable 2FA Docker Hub logins

Just enabled 2FA on my Docker Hub account & can no longer login via Kitematic (v. 0.17.9 macOS 10.14.6).  Is this feature on the timeline to be added?

Hello! If you still can't login from Kitematic, try with an Access Token for Docker CLI. It worked for me on Kitematic v.0.17.7 in Windows 10.


Improve misleading pop-up login

Hello;
I always found the UI design of the attached login pop-up clearly misleading to the end-user:

I have myself countless times clicked on the "log out" button by impulse. I think this is clearly a bad UI for the following reasons:

Buttons doesn't give any visual clue of wether they lead to a 'positive' action (i.e.: log in, recover password, yes, continue) or 'negative' (i.e: log out, cancel, back)
The negative "log out" button appears on the same color, same size and same position than the previous, positive "log in" button.
There is no other action than "log out" on this modal. To successfully proceed to the admin section, you have to close the modal. The only action that's cleary available on the pop up is the exact opposite of what the user might want to do!!

Proposed solution
The welcome pop-up (and the whole login) should at least provide the following:

Visual clues (icons, colors) on wheter the action is considered "positive" (leading towards the goal of login in) or "negative".
An alternate, bigger "continue" button that closes the pop up and proceeds to the admin section (which is the direction that most users want to take!)

Something like this (but well-designed, of course!)

Describe alternatives you've considered
Another solution, even clearer, might be to just redirect the user to the administration without any popup. I don't find of any use to present the user the option of logging out just a few milliseconds after logging in.

I think the pop up should stay, and be treated as informative, requiring no primary call to action. Just close it via X or clicking outside. "Log out" can be relegated to a small text link in one of the bottom corners.

Just reviewed this, two points and closing:

I now agree that this popup is probably unnecessary and should at least be configurable to remove.
This is a part of an upstream library (linked above), so no fix would happen in this repo.


add joi for req validation

Hello everyone
I am a Junior Nodejs developer and i found this project in github
I can add Joi for request validation data .
is it good?
can someone help me about contribute?

I would rather use AVJ as it‘s faster than joi…
https://ajv.js.orghttps://ajv.js.org/
Am 16.09.2022 um 21:35 schrieb erfan @.***>:

Hello everyone
I am a Junior Nodejs developer and i found this project in github
I can add Joi for request validation data .
is it good?
can someone help me about contribute?
—
Reply to this email directly, view it on GitHubhttps://github.com/sahat/hackathon-starter/issues/1198, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABVYF2LVSWJRVNLE6ZWAJDDV6TDZLANCNFSM6AAAAAAQOTMOII.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

It's true, now that I looked at npm, I noticed that it has a higher number of installs
Does the person in charge of this project agree with adding AJV?

@sahat can you help me :))
I have some good ideas for tidying up the code

@erfuuan I have done this before with joi. add me too.

Closing this issue due to lack of use cases.

Closing this issue due to lack of use cases.

Hello, is it possible to reopen this issue? I can assist you in improving the code.


change effort summary time

Targets #2825
Description
Change effort summary time
Checklist:

[x] I have performed a self-review of my own code.

Can you take pull from master and push the code again


SLING-11651 - support for multiple mime types for eps

Support multiple mime types to an extension.
Fix the sling mime type library to recognize "image/x-eps" and return extension of ".eps"
This change will update the code to support multiple mime types for a file extension.
Examples :

image/x-eps —> eps
application/x-eps —> eps

Thanks for the contribution @agangam . Can you please resubmit a version without formatting/whitespace changes?

Reverted the formatting changes


[WFLY-6660]: Allow to dump Artemis journal to file using WildFly Management API.

Adding an admin-only operation to print the data of a broker.
Testing the data printed in safe and full mode.

Jira: https://issues.redhat.com/browse/WFLY-6660
Proposal: https://github.com/wildfly/wildfly-proposals/pull/350
Should be rebased on https://github.com/wildfly/wildfly/pull/13906 when it is merged

@bstansberry ping for merge :)


Gitlab Groups/SubGroups Roadmap

Hello all,
 Just a simple question, is there a roadmap to solve the problem with groups/subgroups when using gitlab?

Thanks!

See https://github.com/drone/drone/issues/2009#issuecomment-295686484

@tboerger nothing changes since 2017?

Nobody really focused on that, I started to do something into that direction but it's far away from being done at all.


Css selector with data atribute doesn't work

Selenide version: 4.4.3
I'm trying to select an element by css selector which contains data atribute e.g .item[data-name="test"] .btn and I'm using this function $(Selectors.byCssSelector(selector)). Is this a known issue? Thanks!

I'm closing the issues, it works as expected!


Sik-Ho Tang | Review -- Unsupervised Learning of Visual Representations by Solving Jigsaw Puzzles.

Sik-Ho Tang. Review — Unsupervised Learning of Visual Representations by Solving Jigsaw Puzzles.

Overview
Solving Jigsaw Puzzles as Pretext Task for Self-Supervised Learning.

Learning image representations by solving Jigsaw puzzles. (a): The image from which the tiles (marked with green lines) are extracted. (b): A puzzle obtained by shuffling the tiles. (c): determining the relative position (the relative location between the central tile and the top-left and top-middle tiles is ambiguous.)
In this paper, Unsupervised Learning of Visual Representations by Solving Jigsaw Puzzles, Jigsaw Puzzles / CFN, by the University of Bern, is reviewed. In this paper:

Solving Jigsaw puzzles is treated as a pretext task, which requires no manual labeling. By training the CFN to solve Jigsaw puzzles, both

a feature mapping of object part (key!!!)
and their correct spatial arrangement

are learned.

Specifically, the Context Free Network (CFN), a siamese-ennead CNN, is designed to take image tiles as input, and outputs the correct spatial arrangement. By this mean, useful feature representation is learnt and used for several transfer learning benchmarks (downstream tasks).

This is a paper in 2016 ECCV with over 1200 citations.

Feature Learning by Solving Jigsaw Puzzles
Conceptual Idea

Most of the shape of these 2 pairs of images is the same.
Two cars that have different colors and two dogs with different fur patterns. The features learned to solve puzzles in one (car/dog) image will apply also to the other (car/dog) image as they will be invariant to shared patterns.
Naïve Stacked Patches NOT Working
An immediate approach to solve Jigsaw puzzles is to

stack the tiles of the puzzle along the channels (i.e., the input data would have 9×3=27 channels),

and input these channels into a CNN to solve the Jigsaw puzzles.
The problem with this design is that the network

prefers to identify correlations between low-level texture statistics across tiles rather than between the high-level primitives.

A CNN with only low-level features learnt is NOT what we want.
Late fusion is used to force the proposed CFN to learn high-level features.

Extract high-level features first, then fuse data!!!

Context Free Network (CFN): Network Architecture

Context Free Network (CFN): Network Architecture.
Framework
CFN is designed to force the network to learn high-level features.

First of all, the Jigsaw puzzle is permutated before inputting into AlexNet-like CNN.
Then, each patch/puzzle goes through the CNN. In this case, puzzles will NOT communicate each others within the network in early layers.
Each branch shares the same weights.
There are a lot of permutation choices. The task is to predict the index of the chosen permutation (technically, we define as output a probability vector with 1 at the 64-th location and 0 elsewhere).

Training

During training, each input image is resized until either the height or the width matches 256 pixels and preserve the original aspect ratio.
Then, a random region is cropped from the resized image of size 225×225 and is split into a 3×3 grid of 75×75 pixels tiles.

Avoid Shortcuts
One important point is to avoid shortcuts, i.e. avoid the network to learn low-level features which makes the network forgot to learn the high-level features.

A 64×64 region is extracted from each tile by introducing random shifts and feed them to the network. Thus, an average gap of 11 pixels (0 to 22) are between the tiles. This can help to avoid shortcuts due to edge continuity.
To avoid shortcuts due to chromatic aberration, the color channels are jittered. (???)

Experimental Results
The training uses 1.3M (1'300'000) color images of 256×256 pixels from ImageNet. Then the model is transferred to other tasks.
ImageNet

The CFN weights are used to initialize all the conv layers of a standard AlexNet network. Then, the rest of the network is retrained from scratch (Gaussian noise as initial weights) for object classification on ImageNet dataset.
If AlexNet is trained with labels, the reference maximum accuracy is of 57.4%.

The proposed method CFN achieves 34.6% when only fully connected layers are trained.
There is a significant improvement (from 34.6% to 45.3%) when the conv5 layer is also trained. This shows that

the conv5 layer starts to be specialized on the Jigsaw puzzle reassembly task.

PASCAL VOC

Results on PASCAL VOC 2007 Detection and Classification.

For detection, Fast R-CNN framework is used while for segmentation, FCN framework is used.
The trained features using CFN achieve 53.2% mAP using multi-scale training and testing, 67.6% in classification, and 37.6% in semantic segmentation thus outperforming all other methods such as Context Prediction [10], and Context Encoders [30].

Jigsaw Puzzles or CFN is closing the gap with features obtained with supervision (Supervised AlexNet [25]).

Reference

[2016 ECCV] [Jigsaw Puzzles / CFN] Unsupervised Learning of Visual Representations by Solving Jigsaw Puzzles.


feat: create benchmarks for merge

Description
Implements benchmarks that are similar to Spark's Delta benchmarks.
Enable us to have a standard benchmark to measure improvements to merge and some pieces can be factored out to build a framework for bench marking delta workflows.

See https://github.com/delta-io/delta-rs/pull/1720 for example usage


get rid of _async suffix

Hi @iscai-msft , May I know do we have an ETA for this issue?
We will have several IGNITE RPs release as Track2, and will GA Track2 SDK for core RPs in September.

I will do a PR this week, but will have to wait to merge / release until next week when @lmazuel gets back from vacation

Thanks @iscai-msft !

and @changlong-liu just to confirm: with this change all of the libraries will need to be generated, is that ok? Thanks!

and @changlong-liu Changlong Liu FTE just to confirm: with this change all of the libraries will need to be generated, is that ok? Thanks!

Hi @iscai-msft , yes, it's OK.  Currently all Track2 SDKs are in preview, we will generate them as GA next month.

@changlong-liu we just released this fix https://www.npmjs.com/package/@autorest/python. Using flags --v3 --python will get you the latest version. Let me know how this fix works for you!


Default drag preview offset is only accurate when devicePixelRatio is equal to 1

As you can see from the gift below, whenever the devicePixelRatio is different than 1 (like on a Mac with Retina display), the drag preview image position relative to the cursor is changed from that of the source image at the moment the drag action was started.
I tried to compensate for this passing computed values to the useDrag previewOption property, but this didn't have any effect.
Is there any known way to get around this limitation?  Thanks
link to the sandbox in the picture

I can confirm this issue. When zooming out to 50% the dragging work as expected.


Comment count and post score misaligned

Happens in both landscape and portrait
iPad Pro 9.7 iOS 11

Does that only occur with thumbnail mode enabled?

Yes - they are fine with Hide Banner Image disabled

Should be fixed!


Consider consolidating per-restore logs into a single file? (Similarly for backups)

Right now, for restores, we log:

validation errors into the restore API object (.status.validationErrors)
info-level logs to -logs.gz in object storage, using logrus
warnings/errors to -results.gz in object storage, as JSON

We follow a similar pattern for backups, except we don't have the third item (yet).
I wonder whether it would make sense to consolidate this down into just a single per-backup/per-restore log file (e.g. -logs.gz). Since we're now using logrus, we have the ability to use differing log levels as well as other structured logging fields to differentiate between different types of log output. The main benefit that I see of consolidating is that a user now only needs to look in a single place for the full set of results from a backup or restore.  So, for a restore:
We could retain the view that we currently provide in ark restore describe by adding logic to that command to parse the log file and separate out the log statements into different sections within the command output.
Interested to see if other folks think this makes sense/is useful.

@jbeda this is an item we'd like to discuss soon

My read on this would be that this is an internal or developer focused improvement.  Would this add any value for end-users?

I'd also like to raise a discussion on prioritization for this. @ncdc I see you made it P1 - would love to know more, or we can discuss in the context of the larger 1.0 roadmap planning.

Would this add any value for end-users?

Currently, end users asking for help have to look in the 3 locations specified to see the full picture of what happened if a backup or restore didn't work as expected, so I'd say it does have end user impact.

Ah - I understand now. Thanks @nrb. So I'm lumping this under UX / debuggability.
Related to #305

Summarizing discussion from above, here's my straw-man proposal:

Backups and Restores use the following phases:

New: the object has not yet been processed by the Ark server
Processing: the object is currently being processed by the Ark server
Processed: the object has been processed by the Ark server and has reached a terminal state (e.g. for backups, everything that could be backed up was backed up and the tarball/etc have uploaded to object storage; for restores, everything that could be restored was restored and the log has been uploaded to object storage)
Failed: there was a fatal error preventing the object from reaching a normal terminal state (e.g. there was an error uploading the tarball/logs to object storage)

WarningCount and ErrorCount fields are added to the status for both Backups and Restores to store counts of the warnings/errors logged during the backup/restore; backups and restores can now be displayed in ark backup get / ark restore get as e.g. Processed (2 warnings, 1 error)
ark backup describe and ark restore describe display warning/error counts by default.  If --details is specified, the per-item log is fetched from backup storage, and the warning/error lines are displayed as part of the output
For both Backups and Restores, validation errors (i.e. .status.validationErrors) go away; any information currently reported as a validation error gets logged at error level to the per-item log file, and instead of using the FailedValidation phase, objects will be Processed with >0 errors.
FailureReason field is added to the status for both Backups and Restores, to provide the user information about why their backup/restore is Failed rather than Processed (this is particularly useful for when the log fails to upload, and the only other place that errors can be logged currently is to the server log)

All comments welcome -- just wanted to get a draft proposal out!

This proposal makes sense to me. I think FailureReason for cases where the failure is to upload a log makes a lot of sense in terms of visibility.

One thing I'm still thinking about is how to make it more clear that a backup that's failed validation has no data uploaded to object storage.  E.g. a backup with a single validation error that therefore never backed up anything might be displayed as Processed (1 error) which could be the same as for a full-cluster backup that got one error backing up a single PV.  We could:

keep FailedValidation as a phase
FailedValidation -> Failed, rather than Processed
store a count of objects backed up as a summary stat on the API object and display it, e.g. Processed (0 items backed up, 1 error)
something else

FWIW - was thinking about https://github.com/heptio/velero/issues/286#issuecomment-440386348 again, and I think FailedValidation should become Failed (rather than processed).

So, after starting to dig into this, I realized that this could turn into a pretty big ugly PR if tackled wholesale. I thought about how to break it down and here's what I came up with:
For v1.0:

[ ] move RestoreResult https://github.com/heptio/velero/blob/master/pkg/apis/velero/v1/restore.go#L118 out of the API package, since it's not actually part of the API, just a struct that gets JSON'ed and uploaded to object storage. This frees us up to drop it in a 1.x release.
[ ] in velero restore describe, show warning/error counts right next to the status (so it'd show something like Phase: Completed (2 errors, 1 warning). Possibly also update velero restore get output to combine the phase/warnings/errors columns.
[ ] add Warnings and Errors count fields to Backup's status to be consistent with Restores.
[ ] make Backups consistent with Restores re: whether it ends as Failed or Completed.  Failed should mean "failed to start" or "failed to upload tarball", whereas Completed (with errors) would mean individual items failed to backup.

For v1.x:

[ ] enhance velero backup describe or velero backup logs to more easily view errors, by adding filtering, grouping, formatting. Do this for backups first, since we already have leveled logs.
[ ] drop the RestoreResult type for restores, move warning/error reporting into the restore log, and enable them to be shown in the same way as for Backups

For v2.0:

[ ] Once all of the above is working well, drop the ValidationErrors field on Backups/Restores (these will go into the log as regular errors), and drop the FailedValidation phase (this will become Failed).

@nrb @carlisia does this seem reasonable? I tried to focus v1.0 work on (a) make things consistent between Backups/Restores so it's more obvious for the user, and (b) set us up for making additional changes later.

@nrb @carlisia would appreciate any input you have on the above - I'd like to get started on this soon.

I'll look at it in a little bit.

You didn't mention FailureReason , does this no longer make sense to add? It sounded like a good idea.
I like this proposal as is. I especially like rolling the FailedValidation into the Failed phase. Ultimately, I think the priority should be to have 1 phase that unequivocally means "success". If this is Processed, then we definitely should go for "FailedValidation -> Failed, rather than Processed". And I don't think it hurts if this change gets postponed to v2.0.
I'm confused about this Completed (2 errors, 1 warning). How does Phase: Completed relate to Phase: Processed? I found completed in the code but having trouble finding processed. In addition, in the code it says BackupPhaseCompleted means the backup has run successfully without errors. but your proposal says to display in the describe: Phase: Completed (2 errors, 1 warning). If there are errors, how could it be completed?
I'm asking to make sure we don't have discrepancy in meaning with our phases but also for my understanding.
Other then that tho, I like it that you broke out part of this effort into future releases, that is great. 👍

For the v1.0 milestone, how does the user then get this combined stream? velero restore logs? So describe only displays counts and no other information?

Let's chat about this in person next week, I think some discussion will be helpful.

@carlisia @nrb responses to your comments. We should still discuss in person.

You didn't mention FailureReason , does this no longer make sense to add? It sounded like a good idea.

Yeah, this still makes sense, and can be added for v1.0.

For the v1.0 milestone, how does the user then get this combined stream? velero restore logs? So describe only displays counts and no other information?

Based on the latest proposal, not much changes for v1.0 in terms of seeing the results. velero restore logs plus velero restore describe would still be used to see the overall picture. The work to combine into a single stream would be done in a v1.x.
Per https://github.com/heptio/velero/issues/286#issuecomment-479014480, the main work item that I actually want to tackle for v1.0 is deciding on the semantics of Completed vs. Failed, and then making it consistent across backups + restores.  Specifically:

does Completed (or Processed) mean "Completed with no errors"? Or can it mean "Completed with some errors backing up/restoring individual items"?
conversely, does Failed mean "There were >0 errors encountered during backup/restore"? Or does it mean "Fatal error, such as unable to upload/download backup tarball"?

We could also decide to go to Completed, CompletedWithErrors, and Failed as the phase set, to differentiate.

I like Failed as "fatal error, couldn't perform a key operation to start the restore," and CompletedWithErrors or PartialCompletion for a restore where some resources can't be restored. The overlap I see there is if we failed to restore anything into k8s, but velero operations had no error, is that Failed, or CompletedWithErrors/PartialCompletion? If number of artifacts restore == 0, I could see how the latter would be confusing.

For me it hinges on how useful the output of a CompletedWithErrors would be. If 100% unusable, then it should be a plain Failed. I suspect there's a spectrum and maybe we can't even detect that.