x/build/cmd/gopherbot: perform gofmt checks before pushing to Gerrit

In https://golang.org/cl/99337 a file using CRLF instead of LF line endings was added. When using git-codereview to send CLs, there is a gofmt check which prevents this. But it seems there is no corresponding check when sending CLs via Github PRs.
It would be nice to run the gofmt check also for PRs submitted via Github.
/cc @bradfitz @andybons

There was a similar issue with https://golang.org/cl/110555

I still would rather prioritize #18548


Micromamba Extension not respecting .condarc file

Environment

node -v: -
npm -v: -
Operating system: OSX Sonoma 14.1.1

Prerequisite
I already have a environment.yml file that contains some packages that are only available through our intern channel. The configuration to access this channel is specified in ~/.condarc. When activating the environment, an error occurred stating the intern channel could not be found.
Expected Behavior
I would expect the extension to allow for a global configuration like ~/.condarc.
Actual Behavior
I didn't find a setting where I could set a global configuration file. Is there something I've missed?

Initially, my thinking was to isolate local micromamba from the global configuration to make sure behavior is the same on all dev machines. I just released a new version, 0.1.20, with enabled rc file resolution and environment variables.
Please see the micromamba docs for rc file usage https://mamba.readthedocs.io/en/latest/user_guide/configuration.html


Dialogflow import failing

Rasa NLU version (e.g. 0.7.3): 0.10.1
Used backend / pipeline (mitie, spacy_sklearn, ...): spacy_sklearn
Operating system (windows, osx, ...): Windows 10
Issue:
Unable to train using Dialogflow export data. I downloaded the export zip from Dialogflow and extracted to data/vita . The contents look similar to:
https://github.com/RasaHQ/rasa_nlu/tree/master/data/examples/dialogflow
(no entities directory in mine but I tried creating an empty one, no difference). Have tried pointing the config data entry to both the agent.json file and the directory itself (as below)
Keep getting this error:
INFO:rasa_nlu.utils.spacy_utils:Trying to load spacy model with name 'en'
INFO:rasa_nlu.components:Added 'nlp_spacy' to component cache. Key 'nlp_spacy-en'.
INFO:rasa_nlu.converters:Training data format at ./data/vita is unk
Traceback (most recent call last):
File "C:\Python\Python36-32\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "C:\Python\Python36-32\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Python\Python36-32\lib\site-packages\rasa_nlu\train.py", line 121, in
do_train(config)
File "C:\Python\Python36-32\lib\site-packages\rasa_nlu\train.py", line 109, in do_train
training_data = load_data(config['data'])
File "C:\Python\Python36-32\lib\site-packages\rasa_nlu\converters.py", line 325, in load_data
raise ValueError("unknown training file format : {} for file {}".format(fformat, resource_name))
ValueError: unknown training file format : unk for file ./data/vita
Content of configuration file (if used & relevant):
{
"pipeline": "spacy_sklearn",
"path" : "./projects",
"data" : "./data/vita"
}

Appears to be a Python compatibility issue. I installed everything on Python 2.7 instead of 3.6.3 and retried, import worked correctly.
Leaving open since I'm not sure if anyone will want to look into this.

Same error here on latest rasa/rasa_nlu:latest-full docker image.
# python --version
Python 2.7.14

# cat config.json
{
  "pipeline": "spacy_sklearn",
  "path" : "./models",
  "data" : "./data/intents"
}

# python -m rasa_nlu.train -c config.json
INFO:rasa_nlu.utils.spacy_utils:Trying to load spacy model with name 'en'
INFO:rasa_nlu.components:Added 'nlp_spacy' to component cache. Key 'nlp_spacy-en'.
INFO:rasa_nlu.converters:Training data format at ./data/intents is unk
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/app/rasa_nlu/train.py", line 125, in <module>
    do_train(config)
  File "/app/rasa_nlu/train.py", line 113, in do_train
    training_data = load_data(config['data'], config['language'])
  File "rasa_nlu/converters.py", line 332, in load_data
    raise ValueError("unknown training file format : {} for file {}".format(fformat, resource_name))
ValueError: unknown training file format : unk for file ./data/intents

I can not reproduce this even with 3.6
I will close it until there is more information about how to reproduce this.


one batch of data

Can this model be used to generate data using only one batch of data

How big is your batch of data?
In either case, just try it out.

There are over 1000 rows and 20 columns, can we directly set N to 1

There are over 1000 rows and 20 columns, can we directly set N to 1

What's going down the rows - samples, or the time dimension?

When data is organized with time dimension along the rows, moving along the rows corresponds to advancing along the time dimension.


BZ#1517101-Adds empty state to service details relationship section

https://bugzilla.redhat.com/show_bug.cgi?id=1517101
When no relationship information was available, we were showing the title with an empty body (made it look like a bug).  This fix adds the pf-empty state to the body that clearly indicates no information is available
After (two examples, cuz its nice to see different types)

Before (two examples, cuz its nice to see different types)

@serenamarie125 any chance we can get your eyes on this today? 🙇♀ ❤

Hey @allenbw - in this case, is it that there is no info available or that no relationships exist?

@serenamarie125 That there is no info available 👍

@serenamarie125 Was that the last issue? Can we ux/approved now that it's fixed? :) Thanks

@serenamarie125 Wording has been update, following screenshots reflect current wording

@miq-bot add_labels ux/review

@miq-bot add_labels ux/approved

Almost LGTM :+1:
Except, oops, one more broken thing..

When you have a service with just vm.service.service_template, that one line is not actually visible in the UI because it's hidden under the window edge..
Looks like somebody forgot to adjust ss-details-wrapper styling when adding a toolbar, or something like that... changing .ss-details-wrapper height from calc(100vh - 98px) to calc(100vh - 149px) makes it look like this..

@AllenBW is that something you want to fix in this PR or is this unrelated?

DANG @himdel fantastic catch <3

Updated, looks like we were missing a ss-details-wrapper-with-toolbar class 🤦♂

Perfect @AllenBW thanks! :)
Retested, merging when green..

Gaprindashvili backport details:
$ git log -1
commit c906bdb0d1d08ff3664fe4dc872ea8456484a9fb
Author: Martin Hradil<EMAIL_ADDRESS>Date:   Tue Dec 5 19:14:53 2017 +0000

    Merge pull request #1292 from AllenBW/BZ/MASTER/#1517101-service-details-relationship-empty-state

    BZ#1517101-Adds empty state to service details relationship section
    (cherry picked from commit 915ac21ed6b0d1814d8d4c551de3293dac6a945e)

    https://bugzilla.redhat.com/show_bug.cgi?id=1524716


Fix console warning

closes https://github.com/axodotdev/oranda/issues/88

Tests are failing because a change in axo-html is required: https://github.com/axodotdev/axohtml/pull/23

axohtml is published, so i'm gonna snag this and get it over the hump

annnnnd axohtml needs a patch,
---- site::it_builds_the_site stdout ----
ERROR: <meta http_equiv="Permissions-Policy"> failed to parse attribute value: Matching variant not found
ERROR: rebuild with nightly to print source location
thread 'site::it_builds_the_site' panicked at 'failed to parse string literal', src/site/head.rs:59:9


required positional argument: 'desc' error

I get the following error when running it:

Traceback (most recent call last):
File "D:\Projects\Python Projects\asynctwitch-master\bot.py", line 25, in
@say.subcommand('this')
File "D:\Projects\Python Projects\asynctwitch-master\asynctwitch\dataclasses.py", line 498, in subcommand
return SubCommand(self, *args, **kwargs)
TypeError: init() missing 1 required positional argument: 'desc'

If you are using the example change the line from
@say.subcommand('this')

to
@say.subcommand('this', desc='sub command')

This entire project will be rewritten, expect the framework to disappear. Instead, see if projects like Sailor can be used. I'm willing to accept PRs addressing this after the rewrite.


Dangling gradient should be always zero

As we are having output that is being dangled, we have to manually set the incoming derivative to zero for this case.
Later we can have a 'constant' (RV of a tensor) which we should integrate this to the tensor management scheme.

:octocat: cibot: Thank you for posting issue #1804. The person in charge will reply soon.


Voting Session #3 Timeline

22 Jan - Proposals due for review
23 Jan to Feb 5 - Review phase (proposals to receive feedback and iterate as needed) - 5 FEB, CLOSE OF BUSINESS GMT
6 Feb  - Snapshot date (including proposals with status:final that have been through the review phase.
8 Feb - Voting Session #3 uploaded (tentative)
10 Feb - Voting Session #3 opens (tentative)
9 Mar - Voting Session #3 closes

Voting session 3 proposals - review phase discussions


Is Mask Actually Used in Inversion?

Hi, thank you for the brilliant work!
May I just ask a quick question --  are the masks actually used during the PTI inversion? The code in projector_withseg.py seems to only read the image directly from the given path, without reading/using the provided masks at all, is this expected?
If so, may I ask if it is actually possible to utilize a mask during the inversion? At the moment, it seems that inversion would fail pretty badly if the image contains a large area of hair.
Thank you in advance!

Yeah I think if you just comment line https://github.com/SizheAn/PanoHead/blob/02073a42f169b4d3dd4e2450f846342e4c2d0525/projector_withseg.py#L320 and uncomment line https://github.com/SizheAn/PanoHead/blob/02073a42f169b4d3dd4e2450f846342e4c2d0525/projector_withseg.py#L319, change it to
dataset_kwargs = dnnlib.EasyDict(class_name='training.dataset.ImageFolderDataset', path=target_img, use_labels=True, max_size=None, xflip=False)

, the pti should still work.
Using the mask won't solve this problem ultimately, IMO. Inversion itself does not fail on finding the closest latent as you can see almost all the reconstruct images for frontal faces are high quality still. The problem occurs when we change the camera pose to side/back, which means the pretrained model's prior is not good/generalizable enough. This is just my opinion, feel free to do something with masks and let us know! :)

Thx a lot! Yeah it makes sense


Can we move to no warnings?

Warnings are universally ignored. Can we decide whether the warnings are important or not and change them to errors?

Major +1 on this.

Here are the current warnings. How about people check off the ones they want to be errors, we remove the rest?
I think there is utility in leaving one as a warning — no-warning-comments, as this highlights TODO/FIXME items — I think that's useful to have in the code, but we should lint and convert them into issues periodically.
Base

[X] array-callback-return https://github.com/LLK/eslint-config-scratch/blob/4ccd256b9436f5908062b409933d57b516f1334e/index.js#L26
[ ] block-scoped-var https://github.com/LLK/eslint-config-scratch/blob/4ccd256b9436f5908062b409933d57b516f1334e/index.js#L27
[X] no-else-return https://github.com/LLK/eslint-config-scratch/blob/4ccd256b9436f5908062b409933d57b516f1334e/index.js#L34
[X] no-extra-bind https://github.com/LLK/eslint-config-scratch/blob/4ccd256b9436f5908062b409933d57b516f1334e/index.js#L38
[X] no-new https://github.com/LLK/eslint-config-scratch/blob/4ccd256b9436f5908062b409933d57b516f1334e/index.js#L47
[X] no-restricted-properties https://github.com/LLK/eslint-config-scratch/blob/4ccd256b9436f5908062b409933d57b516f1334e/index.js#L49-L53
[X] no-sequences https://github.com/LLK/eslint-config-scratch/blob/4ccd256b9436f5908062b409933d57b516f1334e/index.js#L57
[X] no-unmodified-loop-condition https://github.com/LLK/eslint-config-scratch/blob/4ccd256b9436f5908062b409933d57b516f1334e/index.js#L59
[X] no-useless-concat https://github.com/LLK/eslint-config-scratch/blob/4ccd256b9436f5908062b409933d57b516f1334e/index.js#L62
[ ] no-warning-comments https://github.com/LLK/eslint-config-scratch/blob/4ccd256b9436f5908062b409933d57b516f1334e/index.js#L64-L66
[X] no-lonely-if https://github.com/LLK/eslint-config-scratch/blob/4ccd256b9436f5908062b409933d57b516f1334e/index.js#L114
[X] no-mixed-operators https://github.com/LLK/eslint-config-scratch/blob/4ccd256b9436f5908062b409933d57b516f1334e/index.js#L115
[X] no-negated-condition https://github.com/LLK/eslint-config-scratch/blob/4ccd256b9436f5908062b409933d57b516f1334e/index.js#L121
[ ] require-jsdoc https://github.com/LLK/eslint-config-scratch/blob/4ccd256b9436f5908062b409933d57b516f1334e/index.js#L136

ES6

[X] prefer-const https://github.com/LLK/eslint-config-scratch/blob/4ccd256b9436f5908062b409933d57b516f1334e/es6.js#L14

Node

[X] handle-callback-err https://github.com/LLK/eslint-config-scratch/blob/4ccd256b9436f5908062b409933d57b516f1334e/node.js#L5

React

[X] no-string-refs https://github.com/LLK/eslint-config-scratch/blob/4ccd256b9436f5908062b409933d57b516f1334e/react.js#L19
[ ] prefer-stateless-function https://github.com/LLK/eslint-config-scratch/blob/4ccd256b9436f5908062b409933d57b516f1334e/react.js#L24
[X] jsx-no-bind https://github.com/LLK/eslint-config-scratch/blob/4ccd256b9436f5908062b409933d57b516f1334e/react.js#L46-L48

I think there is utility in leaving one as a warning — no-warning-comments, as this highlights TODO/FIXME items — I think that's useful to have in the code, but we should lint and convert them into issues periodically.

+1

I think there is utility in leaving one as a warning — no-warning-comments, as this highlights TODO/FIXME items — I think that's useful to have in the code, but we should lint and convert them into issues periodically.

-1 I disagree. I think it is fine to note those things in the code, and it is good to have a format (i.e. @todo) but you can always ctrl+F through the code to find that. I don't see why we would rely on linting to find it. If you want to use @todo in your development process (like pre-pr) then you can turn it on as an error?

you can always ctrl+F through the code to find that. I don't see why we would rely on linting to find it.

In my mind, spitting out lint warnings for @todo items is about making sure we're aware of them even when we're not actively looking for them. In the bigger picture, it's about motivating us to fix our @todo items.
The most convincing argument I can think of against my current position is to say that these items should either be turned into tracked issues (we really should @todo it) or we shouldn't worry about them (if it's not so important / it's a nice-to-have).

If you want to use @todo in your development process (like pre-pr) then you can turn it on as an error?

I think I'd be OK with this, though I would prefer either having it turned on as a warning at all times or officially declaring "issue or it won't happen" and avoiding @todo.

Δ yeah, i'm softened on this. Particularly because i just encountered several useful todo comments in the code while doing some refactoring :)

I looked at all the warnings that don't have their boxes checked in Ray's comment above. I think my feeling is that all of those should become errors, except for the @todo stuff that @paulkaplan and I have been discussing :)
That means quite a bit of cleanup in scratch-vm, though. Maybe the eslint auto-fix can handle most of it...

@cwillisf You mean that we should check off block-scoped-var and no-restricted-properties?

(hits F5)
...oh. There are more boxes checked now than I thought ;)
block-scoped-var: I'm in favor of this being treated as an error, though I'm not sure it'll come up much given that most of our code is using the ES6 ruleset, including no-var and prefer-const.
no-restricted-properties: I actually missed this one when I was looking through the list. Do we use this right now?

If we turn on require-jsdoc, what would be the required options? The defaults are:
"require": {
            "FunctionDeclaration": true,
            "MethodDefinition": false,
            "ClassDeclaration": false,
            "ArrowFunctionExpression": false
        }

That only requires doc on functions. Seems like we might want more.

I am in favor of having errors only, with the todo items being masked off
via
// eslint-disable-next-line no-warning-comments

Colby

On Mon, Aug 14, 2017 at 8:34 AM chrisgarrity<EMAIL_ADDRESS>wrote:

If we turn on require-jsdoc, what would be the required options? The
defaults are:
"require": {
"FunctionDeclaration": true,
"MethodDefinition": false,
"ClassDeclaration": false,
"ArrowFunctionExpression": false
}
That only requires doc on functions. Seems like we might want more.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/LLK/eslint-config-scratch/issues/11#issuecomment-322178232,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALviVQVdy6QuiR2TOlra6Yiol2Yg-3tks5sYD7PgaJpZM4Ozrov
.

@chrisgarrity yeah I noticed in 3.0 there are a lot of utility functions that don't require jsdoc because they are arrow functions. I guess that might be because they shouldn't be arrow functions (not sure if there is an eslint rule for "no-useless-arrow" or something). However, we probably don't want jsdoc on the react-components and their lifecycle methods.

no-restricted-properties: I actually missed this one when I was looking through the list. Do we use this right now?

It's in use, but I don't think it's warning anywhere. I think I can replace this this lint rule with PR comments :)


Add support for fallback fonts

This adds options fallbackFonts and extraPackages to all fonts, allowing for extra fallback fonts.
I needed this because I want a nerd patched font for waybar, but I also want asian characters.  For example; NotoSans Nerd with fallback on Noto Sans (with cjk support).
I also added a patch to include these fonts into wezterm that natively supports fallback fonts. I do not know if any other programs support that though.

I am facing problems (somewhere it's trying to coerce a list to a string). I will mark it as ready once that is fixed.

New approach seems to work, it only installs the fallback fonts and adds then to fontconfig fallback. Additional support might be needed in programs like Wezterm and i3/sway. I'll handle that in a different PR if there is interest.

Personally I think it would be more elegant to convert the existing options into a list, then assume that the first item is the main choice. Having it that way would promote using fallback fonts whenever possible. However we would need to add backwards compatibility to avoid breaking existing configs. What do you think?

I'll try that, I did something similar before and it backfired 🥲 couldn't figure out the issue.

Personally I think it would be more elegant to convert the existing options into a list, then assume that the first item is the main choice. Having it that way would promote using fallback fonts whenever possible. However we would need to add backwards compatibility to avoid breaking existing configs. What do you think?

Just setting it to a list breaks stylix (see comments in #201 ), until we figure out what is causing that there is no way to even think about backwards compatibility.

Should this PR be closed by https://github.com/danth/stylix/pull/201 as it supersedes it?

Yep, it should, I just forgot about it.


Support Beans#get with Class

Instead of always calling toString, allow getting a bean by Class. This is a rare use case, but we would like to use it for example in an Extension on the Java side which needs to get beans from Spring context.

Can you add some unit tests ?


Update http4s-ember-server to 0.21.18

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s", artifactId = "http4s-ember-server" } ]

labels: library-update, semver-patch

Superseded by #16.


Feature/keystone auth bootstrap

I fixed keystone cookbooks adapting keystone latest improvements(admin-token-auth is deprecated https://github.com/openstack/keystone/commit/5286b4a297b5a94895a311a9e564aa87cb54dbfd).

Thanks for this PR (Sorry for late response. I was really busy for last two months). I know the keystone change made us big impact. With this PR, I don't need re-configure the env manually. thanks again!


#270

#270 Molekul - Search

@pranotoism next time please use proper english word for each component even for ticket title/description >> molekul >>> molecule

@ardiwine
It was synchronized with the ticket which rika made via zenhub if I'm not mistaken. The title/description I addressed was only #270 and nothing more.
Nevertheless, good advice, Ko Edwin.

Is this PR related to #8 @pranotoism ? Cause I have checked the other FMSearch component in #8

Is this PR related to #8 @pranotoism ? Cause I have checked the other FMSearch component in #8

@gilangdarmawan
oops my mistake


[Change Request] Report 5754 "Create Pick"

Describe the request
Hello, can you please move the PerDestination, PerItem, PerZone, PerBin, PerWhseDoc, PerDate, PrintPick, MaxNoOfSourceDoc variables to protected?
Additional context
    var
        Location: Record Location;
        PickWhseWkshLineFilter: Record "Whse. Worksheet Line";
        Cust: Record Customer;
        LocationCode: Code[10];
        AssignedID: Code[50];
        FirstPickNo: Code[20];
        FirstSetPickNo: Code[20];
        LastPickNo: Code[20];
        MaxNoOfLines: Integer;
        MaxNoOfSourceDoc: Integer;
        TempNo: Integer;
        SortPick: Enum "Whse. Activity Sorting Method";
        DoNotFillQtytoHandle: Boolean;
        Text003: Label 'You can create a Pick only for the available quantity in %1 %2 = %3,%4 = %5,%6 = %7,%8 = %9.';
        BreakbulkFilter: Boolean;
        NothingToHandedErr: Label 'There is nothing to handle, because the worksheet lines do not contain a value for quantity to handle.';
        Text001: Label 'Pick activity no. %1 has been created.';
        Text002: Label 'Pick activities no. %1 to %2 have been created.';
        NothingToHandleErr: Label 'There is nothing to handle. %1.';
        SourceDocumentDoesNotExistErr: Label 'The %1 does not exist. Filters: %2.', Comment = '%1 = Table caption; %2 = filters';

    protected var
        PickWhseWkshLine: Record "Whse. Worksheet Line";
        CreatePick: Codeunit "Create Pick";
        PerDestination: Boolean;
        PerItem: Boolean;
        PerZone: Boolean;
        PerBin: Boolean;
        PerWhseDoc: Boolean;
        PerDate: Boolean;
        PrintPick: Boolean;
        MaxNoOfSourceDoc: Integer;

Those variables are currently not accessible when extending the report. We need to be able to read those values in multiple places on reportextension.
Internal work item: AB#522702

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


Deep Reinforcement Learning for AGI

OpenAI Gym vs TensorFlow for Deep RL
Let me know if there is any APIs that support both research and production

https://www.linkedin.com/feed/update/urn:li:activity:6499333884684132352


Does not support the AS keyword

I didn’t find any field in Statement indicating whether to use the AS field. I think it’s necessary to mark it.

Why do you need it? I'm not aware of any SQL dialect in which FROM foo bar and FROM foo AS bar have different meaning, and the current AST cannot, by design, preserve all the detail of the source code (I believe the solution to that is #189). So unless there's a good reason to add it, I'm inclined to close this issue.

Why do you need it? I'm not aware of any SQL dialect in which FROM foo bar and FROM foo AS bar have different meaning, and the current AST cannot, by design, preserve all the detail of the source code (I believe the solution to that is #189). So unless there's a good reason to add it, I'm inclined to close this issue.

If you want to develop a tool to judge the quality of sql and optimize sql, you need to judge whether there is an as keyword in sql

Well, I still believe the proper long-term fix that such a tool would require is #189.
But if you can make a case for adding AS specifically (and not any other non-essential syntax) to sqlparser's current AST, we can reconsider. (Is this tool already available?)
If you've only started working on such a tool I think it's best if you started with a fork of sqlparser, so that you can quickly add what you need, and once you have an MVP, we can consider all the changes en-masse.


Warning: Maximum call stack size exceeded when copying large amount of files

The copy grunt task started to fail when we installed one more library to be copied. This pushed the number of files high enough for grunt-contrib-copy starting to fail:
Running "copy:libs" (copy) task
Warning: Maximum call stack size exceeded Use --force to continue.

When I removed the new library, it succeeded:
Running "copy:libs" (copy) task
Created 12005 directories, copied 102088 files

No comments? This needs to get more attention.


Refactor txResponseCallback to not turn off txnProcessing

Turn off txnProcessing in the callback

https://github.com/deep-ink-ventures/genesis-dao-frontend/pull/277


feat: added initial implementation with test-cases.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

434 of 465 (93.33%)  changed or added relevant lines in 7 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-6.7%) to 93.333%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

operator.go
55
56
98.21%

model.go
9
13
69.23%

ruleengine.go
119
131
90.84%

validator.go
125
139
89.93%

Totals

Change from base Build<PHONE_NUMBER>:
-6.7%

Covered Lines:
434

Relevant Lines:
465

💛  - Coveralls


as cannot be moved to a new line

type foo = string;
const anything: any = undefined;
anything as foo; // <-- works, duh
anything as
   foo; // <-- still works
anything
   as foo; // <-- breaks

This is an intentional part of our grammar (see https://github.com/Microsoft/TypeScript/pull/3201#issuecomment-109068104) because of the ambiguity caused by parenthesized types.
For example:
x
as (Foo)

This example is valid JS code consisting of

a statement expression with an identifier: x
followed by a call expression: as(Foo)


added existing plans array, support for old existing plan schema

https://apps.gcpe.gov.bc.ca/jira/browse/LUP-82

@SteveMHoward Do you think you could take a quick glance over this particular PR? It's the largest of the changes associated with this issue.
Once ready, I'll be merging the changes to the API, admin, and public at once.


Trying to run a simple demo, flutter_windows.dll not found

I tried following both the README on github and the installation instruction on pub.dev, didn't have the smoothest of times as I'm new to flutter and dart generally.
Had issues initially trying to dart compile win32_runner into my demo_app, couldn't resolve the package 'args'.
Resolved that by going into the win32_runner project directory and running dart pub add args which changed 51 dependencies and alerted me 1 package was discontinued.
Then I was able to dart compile win32_runner into my demo_app root directory. But it's now saying the following:
C:\src\demo_app>.\win32_runner.exe `flutter_windows.dll` file not found at "C:\src\demo_app\.\windows\flutter\ephemeral\flutter_windows.dll".
I confirmed that was in fact not there. I was getting sick of fighting with windows cmd so I fired up WSL and the find commands tells me I have flutter_windows.dll in C:\src\flutter\bin\cache\artifacts\engine\windws-x64
So I copied it do the directory in the path relative to my project where it was looking for it, and tried it again.
Window opened for all of a second then everything crashed. I'm now at a loss since I'm not sure why it can't create a view controller:
C:\src\demo_app>.\win32_runner.exe
../../../flutter/shell/platform/embedder/embedder.cc (1828): 'FlutterEngineInitialize' returned 'kInvalidArguments'. Not running in AOT mode but could not resolve the kernel binary.
[ERROR:flutter/shell/platform/windows/flutter_windows_engine.cc(454)] Failed to start Flutter engine: error 2
Unhandled exception:
Exception: Failed to create view controller.
#0      new FlutterEmbedder (package:win32_runner/src/embedder.dart:58)
#1      Application.winMain (file:///c:/src/win32_runner/example/win32_runner.dart:113)
#2      initApp (package:win32/src/utils.dart:74)
#3      main (file:///c:/src/win32_runner/example/win32_runner.dart:14)
#4      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:297)
#5      _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184)
Failed to shutdown NativeSymbolResolver (SymCleanup  6)
Flutter version:
C:\Windows\System32>flutter --version
Flutter 3.22.0-14.0.pre.62 • channel master • https://github.com/flutter/flutter.git
Framework • revision 28675753ff (4 hours ago) • 2024-04-20 08:25:25 -0400
Engine • revision 40110ec82d
Tools • Dart 3.5.0 (build 3.5.0-82.0.dev) • DevTools 2.35.0-dev.8
Windows 10 - 22H2
Any help/guidance is greatly appreciated, thanks in advance!

I've updated the usage instructions to make it more clear. Can you try again?

Worked like a charm!


Environment scripts incorrectly running when no environment set

RH doesn't run a .ENV script unless the environment is specifically specified (https://github.com/chucknorris/roundhouse/blob/master/product/roundhouse.core/environments/DefaultEnvironment.cs#L26) but grate is running those scripts by default (https://github.com/erikbra/grate/blob/main/grate/Migration/DbMigrator.cs#L164)

Good catch, btw! Thanks!


replace apache and mod_php with kweb and php-fpm

fixes #36
TODO:

[x] serve webapp through php-fpm
[ ] make the same change for z-push
[ ] make the same change for kdav

Signed-off-by: Felix Bartels<EMAIL_ADDRESS>

replaced by #138


[Bug] Error creating materialized view

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
0.15
What's Wrong?
1060 - errCode = 2, detailMessage = Duplicate column name 'account', Time: 0.169000s
What You Expected?
-- dwd 表
CREATE TABLE dwd_recharge1 (
 `day` date,
 g VARCHAR(32) NOT NULL ,
 p VARCHAR(32) NOT NULL ,
 account VARCHAR(32) NOT NULL ,
 order_id VARCHAR(50) NOT NULL ,
 s INT NOT NULL ,
 money DECIMAL(19,4) NOT NULL,
 level int  ,
 product_id VARCHAR(32) NOT NULL ,
 product_num VARCHAR(32) NOT NULL ,
 reason VARCHAR(20) ,
 time DATETIME ,
 is_success boolean NOT NULL
)
ENGINE=olap
DUPLICATE KEY(day,g,p,account)
PARTITION BY RANGE(day) (
    PARTITION P_20210926 VALUES [('2021-09-26'), ('2021-09-27')),
    PARTITION P_20210927 VALUES [('2021-09-27'), ('2021-09-28'))
)
DISTRIBUTED BY HASH(account) BUCKETS 16
PROPERTIES(
"dynamic_partition.enable" = "true",
"dynamic_partition.time_unit" = "DAY",
"dynamic_partition.end" = "3",
"dynamic_partition.prefix" = "p",
"dynamic_partition.buckets" = "16",
"replication_num" = "1",
"colocate_with" = "aGroup");

Create materialized view statement：
 create materialized view dwd_recharge_dgp_3 as
select day,p,g,account,
sum(money) money,count(distinct account) num from dwd_recharge1 a group by 1,2,3,4

Creation failed
create materialized view dwd_recharge_dgp as
select day,
sum(money) money from dwd_recharge2 a group by day

Creation success
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Doris currently do not support create count(distinct) materialized view column on varchar column

Doris currently do not support create count(distinct) materialized view column on varchar column

@morningman
请问, 是否有添加「支持 count(distinct varchar列) 来创建物化视图」的计划? varchar 做为列来 count distinct 还是挺常见的
Excuse me, Is there a plan to support count(distinct varchar_column) with materialized view? varchar as a column to do count(distinct) is quite common


Add callback url option to fix regression for OAuth2 1.4

Update old ruby syntax
Fixes regression in omniauth-oauth2 v1.4.0 by intridea/omniauth-oauth2@85fdbe1
Update readme

@nashby Please review and publish a new version to ruby gems :)

Looks like travis is having a bad day

@gauravtiwari hey, thanks for PR!

:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:

Hey, totally forgot about this. Awesome ❤


Fix: Allow mapping Templates with no payload

This PR adds support for adding mappingtemplates with no payload property.
I think this is a very rare case, but due to my lazy playing around with this code i did find it.

:tada: This PR is included in version 0.19.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


--restart don't restart on service docker restart nor on system boot up

Hi!
I've 5 containers:
1.- Elasticsearch
2.- Logstash
3.- MongoDB
4.- Redis
5.- Nginx
All of them with --restart=on-failure:3
But if I restart the docker service with sudo service docker restart or I reboot my server the restart policy works in a random way (sometimes it restart some containers sometimes it doesn't)
Is the --restar policy the way to restart containers on startup or service restart?
Thanks!

Please see the documentation: https://docs.docker.com/reference/run/#restart-policies-restart
on-failure: Restart only if the container exits with a non-zero exit status.

yeah I've readed this
but this http://docs.docker.com/articles/host_integration/ too
So seems that there is a weird situation here:
or we need a new policy like: anyway:3 to try to restart the container 3 times before stop no matter witch exit code is raise cause I don't feel confortable configuring a container that tries again and again to start up becase an error code and an always restart policy
or the host integration help is unacurated or wrong
dont' you think so?
In the same threat: how is the prefered way to start a container on boot? the process manager stuff?
Thanks

@Garito --restart=always should be safe. If the container fails to restart it backs off gradually on the frequency for which it tries to start it.
I would also check and make sure you've started your containers correctly such that pid1 in the container actually responds to signals and exits properly on SIGTERM, otherwise it will get SIGKILL'd when docker restarts... and as such will have a non-zero exit value.

@cpuguy83 fair enought
Thanks a lot!


Where are feature weights?

After running inference, I can see the view dd_graph_weights that has the description of features and the weight ID wid, but which table/view contains the weights themselves, similar to the ones in the census example https://github.com/HazyResearch/deepdive/tree/master/examples/census
lt=# \d dd_graph_weights
  View "public.dd_graph_weights"
   Column    |  Type   | Modifiers
-------------+---------+-----------
 wid         | bigint  |
 isfixed     | boolean |
 initvalue   | integer |
 description | text    |

If you ran deepdive do all, there should be a view called dd_inference_result_weights_mapping.

Great!! I suggest this becomes a part of deepdive run.

@minafarid deepdive run is deprecated... https://github.com/HazyResearch/deepdive/issues/563


Add failing test for NaN timers

I accidentally submitted a setTimeout(…, NaN). This caused backburner to stop processing timers!
I don't know how backburner should handle the NaN timeout itself, but it should definitely not effect other timers. I have created a test that validates this behavior.
Note that removing the bb.setTimeout(function() {}, NaN); line causes the test to pass.

So correct behavior would be to execute as if NaN === 0ms, thanks for the test. Fixing now.

superseded by: https://github.com/ebryn/backburner.js/pull/170


Anonymous Message Board,    This Test Passes without actually passing it.   Passes even with #NODE_ENV=test.

Describe your problem and how to reproduce it:
Add a Link to the page with the problem:
Tell us about your browser and operating system:

Browser Name:
Browser Version:
Operating System:

If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box):

Hello there,
Thank you, for taking the time to open this. However, this is expected behaviour: https://github.com/freeCodeCamp/freeCodeCamp/blob/main/curriculum/challenges/english/09-information-security/information-security-projects/anonymous-message-board.md
The tests have not all be written, yet. And are awaiting contribution to write them. I will point you to this thread, where this is discussed:
https://forum.freecodecamp.org/t/anonymous-message-board-test-errors-and-unclear-directions-on-proper-response-object/448737/6


Update bgfx_shader.sh

New matrix function operations. Needed by the new example

Just removed Get functions. Do you really need them or you added them for completeness?

Yeah I did need them for the example, but i could place them in one of my .sh files in the example, if you prefer that instead.


Documentaion fix and a variable name update

The correct name of the class is BrazilSpecProvider
Variable name 'children' proposed in place of childs

@aprasanna Great! Thank you!

Thanks. I am working on a few more commits. keep up the good work!


Only box types that we generate ourselves

Right now we box everything, but we'd be able to improve the API enumerating all the types, then, during codegen, only Box the generated types (those with potential cycles).

I'm not against this, per say, but I think exceptions should be rare because they make the code more brittle.  When you introduce a class of exceptions, there is always the risk that the stripe teams continues to add them, going forward....  However, if we make it so that fixing the problem is a simple as adding a particular type name to a list, I'm all for this.  It'll be annoying but easy to fix when things break (and because it's Rust, they'll break at compile time.)

This is closed in #160


MenuItems not working

Version: ElectronNET API & CLI 8.31.2 +

Target: .NET Core 3.1 + NodeJS v12.16.2

Steps to Reproduce:

Run the application with VS 2019 Electron.Net App
Try to click menu items

Nothing is happening when i click menu items like Edit, View, Window, Help in the application, it is something that is not happening in version 8.31.1

I am getting the same error after upgrading to ElectronNET API & CLI 8.31.2

duplicate of #401
I suspect that with a more recent Electron version the rules have become a bit stricter... I will implement a workaround... or should it remain that way by default?

I add an workaround for Electron.NET 8.31.3 - if someone has forgotten that a submenu exists and the type has not been set, this is now done automatically in the background.

I added the submenu type and when I run it as "electronize start /watch" the menu works but when I build it it does not work. Any reason or workaround?


Checkbox icon container size incorrect

Closes #1319

Did you take https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/issues/1319#issuecomment-1205033418 into account in this PR ?

I'm closing this PR because I closed its related issue #1319 which will be treated in Issue #1357 instead.


How to implement "or" on where clause

Hi! How can I implement or condition on where clause?  Do I need to build many queries, fetch and then join the results on a List or is there a more elegant way?

You could use query predicate.
http://aqueduct.io/docs/db/advanced_queries/#fallbacks
Other thing you could do is create a column that has all those concatenated and query in it. I would actually use the second approach if I know that it won't increase the database size that much.


Display the base value in reports

The currently reported value doesn't correspond to what is used for deltas

Example: https://github.com/dotnet/aspnetcore/issues/45899
And the logs was
2023-01-05T19:12:03.5298280Z Checking 5124174.96 at 1/4/2023 9:10:57 AM +00:00 with values [5035961.43,5058735.22,5112734.46,5124174.96,5145603.12]
2023-01-05T19:12:03.5299221Z Building stdev (41474.506515488414) from last 7 values [5027737.1,5031667.77,5031744.08,5000724.01,5110824.69,5117502.09,5035961.43]
2023-01-05T19:12:03.5300052Z Next values: 5035961.43 5058735.22 5112734.46 5124174.96 5145603.12
2023-01-05T19:12:03.5300713Z Deviations: 22,774 76,773 88,214 109,642 Allowed deviation: 82,949
2023-01-05T19:12:03.5301519Z Regression detected: 5,112,734 to 5,124,175 for Id:plaintextPlaintext 1- Trends Intel Windows1/4/2023 9:10:57 AM +00:00


Request body example of the service /v1/translate-equipment-sequence-ids-to-ltp-uuids requires a modification

In the request-body example for the service /v1/translate-equipment-sequence-ids-to-ltp-uuids , the “link-id” needs to be changed to string-of-concatenated-sequence-ids

will be changed in oas of v1.0.1 spec

solved via issue coming from mentopolis in paralell.


Bug report: login --authType misses 'secret' value in the autocompleter

Description
When typing m365 login --authType you can use the CLI completion to add values like device, browser, certificate. The value secret is missing though. Even though that is a valid value for the option.
CLI for Microsoft 365 version
5.8
Additional Info
I've looked in the code and indeed, it is not there:
{
        option: '-t, --authType [authType]',
        autocomplete: ['certificate', 'deviceCode', 'password', 'identity', 'browser']
}

It also seems that we're not validating the provided value, so ideally, as part of the fix for this issue, we should define an array of all supported options, and reuse this array for validation and autocomplete.

I just noticed this running the docker container, good catch @martinlingstuyl 👍

Can i work on this one? 👀

Please do!


Markdown syntax highlighting not support alternative header styles

H1 and H2 are not highlighted. The preview is fine.
Tested on VS Code 1.3.1 on OS X 10.11.6

I wanna give this one a try. Here is what I have achieved so far.

@kieferrm Couple of updates on this:

trying to highlight both lines at the same time, the way I was trying above doesn't look practical. It automatically highlights the current line assuming a match of the begin, until it finds a non matching end/while (Basically the line highlights, and if the next line isn't a '-{3,}' then the syntax goes back to normal mode.

The alt heading 2 syntax (just the -{3,} part) is conflicting with the rule meta.separator.markdown, which takes precedence and hence the issue.

Would it be a better option to fix this conflict instead?

It doesn't work with 1.9.0

@tschuegge I believe this is as designed. Getting the TM grammar to highlight both the lines is tricky. If you refer to my previous comment, the first point:

trying to highlight both lines at the same time, the way I was trying above doesn't look practical. It automatically highlights the current line assuming a match of the begin, until it finds a non matching end/while (Basically the line highlights, and if the next line isn't a '-{3,}' then the syntax goes back to normal mode.)

This would be confusing for the user. In simple terms, it means that as soon as a user starts typing, the line highlights, and goes back to normal syntax if the next line is neither of the alternate H1/H2 (---/===) text.
@kieferrm What do you think?

Is it possible to let the line white and if a line starts with --- oder ===, then this one and the previous one switch to blue?
That is the same behavior like in other editors.


Update Composer dependencies (2021-11-02-21-12)

Visual regression test passed!
View the visual regression test report


When using shortcuts keyboard and mouse lose control

Microsoft PowerToys version
0.70.0
Installation method
GitHub
Running as admin
Yes
Area(s) with issue?
Keyboard Manager
Steps to reproduce
When using combination ctrl+backspace as delete, the mouse and keyboard lose control and do not work as expected. (Mouse wheel increases/decreases size of text, keyboard stops writing).
✔ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
No response

can you verify if this is still an issue with v0.73.0 /needinfo


Update list of visible elements

Some elements that don't normally show up in Revit are showing up in VIM

Use the categorization list to determine if elements are showing or not.


RandomSubset is not streaming, but could be.

RandomSubset is currently implemented using a Fisher-Yates shuffle. The comment in the method calls this "The simplest and most efficient way to return a random subet[sic]". It is both simple and cpu-efficient, but achieves speed and clarity by allocating an array the size of the input sequence. For short sequences this probably doesn't matter much. For long sequences this causes LOH allocations with all the attendant headaches.
I have written an implementation of RandomSubset implemented using Algorithm R. It's simple, streaming, and memory-efficient; It's allocations are O(subsetSize) instead of O(sequence.Count()). This works much better for my needs. Only problem is it's about twice as slow as the current version.
I think that limitation can be overcome with a little more work. If you're interested, I'd like to combine the two approaches into adaptive algorithm. Start with Fisher-Yates for speed, then transition to Algorithm R if the allocations grow big enough. If you're not interested in a pull-request like that, I'll refrain.
    public static IEnumerable<T> RandomSubset<T>(this IEnumerable<T> sequence, int subsetSize, Random rand)
    {
        if (rand == null) throw new ArgumentNullException(nameof(rand));
        if (sequence == null) throw new ArgumentNullException(nameof(sequence));
        if (subsetSize < 0) throw new ArgumentOutOfRangeException(nameof(subsetSize));
        return _(); IEnumerable<T> _()
        {
            var subset = new T[subsetSize];
            var enumerator = sequence.GetEnumerator();
            int index = 0;

            while (index < subsetSize && enumerator.MoveNext())
                subset[index++] = enumerator.Current;

            if (index < subsetSize)
                throw new ArgumentOutOfRangeException(nameof(subsetSize), "Subset size must be <= sequence.Count()");

            while (enumerator.MoveNext())
                if (rand.Next(++index) < subsetSize)
                    subset[rand.Next(subsetSize)] = enumerator.Current;

            foreach (var item in subset)
                yield return item;
        }
    }

Looks interesting. I note though that in the last stage you are invoking rand twice, while the description you linked to requires only one. Rand is not exactly free, perhaps that is the source of (part of the) the speed hit?
It would be interesting if you could post numbers and how you got them.

@Gregory-Bell Thanks for the interesting proposal and volunteering to turn this into a PR.
I was confused at first about how you're looking at streaming. I think your main point here is to basically not commit the source sequence to memory as the current implementation does. It's streaming with regards to the source. Correct?
If your second while loop is modelled after the following algorithm (quoting from Wikipedia):
(*
  S has items to sample, R will contain the result
 *)
ReservoirSample(S[1..n], R[1..k])
  // fill the reservoir array
  for i = 1 to k
      R[i] := S[i]

  // replace elements with gradually decreasing probability
  for i = k+1 to n
    j := random(1, i)   // important: inclusive range
    if j <= k
        R[j] := S[i]

then, apart from the remark by @fsateler about how it might impact performance, my question would be why do you randomise twice at all?

It would be interesting if you could post numbers and how you got them.

I'd be curious too.

The correction:
 while (enumerator.MoveNext())                 {                     var replaceAt = rand.Next(++index);                     if (replaceAt < subsetSize)                         subset[replaceAt] = enumerator.Current;                 }
As for making it adaptive, I think there is no clear cut off point for when you should move from the materialized array approach to the streaming approach since the ratio of sample to subset size matters a lot and is unknown. You could go from the streaming to the none streaming since after x items you know the ratio is at least as small as subsetSize / x and so it's probable (only heuristically, you might be on the last item...) better to do the partial shuffle. however that sounds like little benefit for a lot of complexity and of course does not solve the memory limit problem.
I think the streaming option is more in the spirit of Linq, so I would make it the default and maybe let the caller specify the algo as an optional parameter if they know better with comment saying to use ' Fisher-Yates'  if it fits in memory and if the ratio of subset size to sample size is low (Since it will call random once per subset size and not once per sample size).
I haven't run into comments and algorithm selection options before in Linq but why not give the user the option to optimize to their use case? the default option would still be the "pit of success" one as it will not fail on large sample sizes.

@ofirgeller If AlgorithmR version performs as good as the Fisher-Yates ones then we should just replace latter with former. It would be great if someone can share some results using BenchmarkDotNet.


Breaks Node Red split join nodes

Which node-red-contrib-modbus version are you using?
5.23.2
What happened?
When updating to the newest version I noticed that this version breaks the split and join nodes by removing the parts property from the object.

Server
None/This is related to a node that doesn't connect to a server
How can this be reproduced?
Connect split node before Modbus Flex Getter node and join node after.
What did you expect to happen?
For the split/join operations to work like in version 5.21.2
Other Information
No response

Hi @OlivierVerhaegen, a flow would help to test. You can use the node-red-contrib-helper package to build a test fro our e2e testings. Please, insert comment what is expected inside the flow! Thank you in advance!

Hi @biancode , I'm sorry I haven't been able to create an example flow lately because of busy times. I'll post it here when I get to it!
My debugging tests showed that it might be a straight forward issue. The parts property is normally added to an object going through a split node (to be able to reconstruct the array after looping through it). When placing a Modbus flex getter node in the chain the parts property is removed from the object. This causes problems with reconstructing the array in the join node.

Have you tried checking the Option "Keep Msg Properties" in the Modbus flex getter node ?

Hi Andy,
I may have been overlooking this checkmark.
Will try, thank you!


Use multiple OA sources

Thanks for the great plugin!
There is another OA doi resolver: http://doai.io/
In my experience, this sometimes finds OA PDFs where https://oadoi.org/ cannot find one. Would be great to have the unpaywall button as one aggregator that collects them all.

Note that doai.io gets pdf on ResearchGate.

Agree, @nicebread, our goal with Unpaywall is indeed to collect every (legal) OA copy we can. Our tests so far have mostly found that DOAI does not increase coverage much. That said, if you have any examples where DOAI is finding OA and Unpaywall isn't, we'd love to see them...we can either add DOAI coverage or improve oaDOI (the API behind Unpaywall) so we're not missing them anymore.


Fixed ISSUE #10465 - Sentinel Central Workbook Patch

Fixed ISSUE #10465  where incidents were not being counted correctly.
Required items, please complete
Change(s):

Changed KQL Queries to include an arg_max() to prevent incidents from being counted multiple times in Workbooks\Sentinel_Central.json
Updated Change Log in Workbooks\Sentinel_Central.json

Reason for Change(s):

See ISSUE #10465

Version Updated:

Yes
Updated Changelog

Testing Completed:

Yes

Checked that the validations are passing and have addressed any issues that are present:

Yes

@microsoft-github-policy-service agree [company="JMNetwork"]

@microsoft-github-policy-service agree

Pipeline claiming template failing at offset 200461 due to a resource reference. This is line 4088 , which is  "fieldName": "Status", which is obviously not a resource, unless I am missing something.

@v-shukore block removed, checks passed.


Added bootstrap styling on @mentioning unsubscribed user warning button

Added bootstrap btn btn-warning class on warning button shown on @mentioning someone who is not subscribed.

Automated message from Dropbox CLA bot
@s0nskar, it looks like you've already signed the Dropbox CLA. Thanks!

The subscribe button is still not vertically centered and thus looks off; can you fix that?

same problem with yes send button in mention all warning. i tried tweaking various css parameters like verticle-alignment:middle; but it doesn't change anything. I am figuring out a way to solve that meanwhile if you have comments on how to fix that it would be helpful.

Maybe try this:
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
-o-transform: translateY(-50%);
transform: translateY(-50%);
position: absolute;
top: 50%;

Thanks @tommyip, transform: translateY(-13%) fixed it.
@timabbott now everything looks fine, should I squash them ??

yeah, squashing makes sense.

@timabbott Squashed.

Merged, thanks @s0nskar and @tommyip!


setDefaultHeaders values being cached

eg.
RestangularProvider.setDefaultHeaders({
                'Accept': 'application/json',
                'Authorization': localStorage.userToken
            });

Changing localStorage.userToken does not send the updated token with ongoing requests?

@tannerlinsley Did you ever find a good solution for this?

Yeah. I moved to js-data.
On Tue, Mar 10, 2015 at 2:06 PM Elise<EMAIL_ADDRESS>wrote:

@tannerlinsley https://github.com/tannerlinsley Did you ever find a
good solution for this?
—
Reply to this email directly or view it on GitHub
https://github.com/mgonto/restangular/issues/759#issuecomment-78136492.

Haha, good to know. Thanks!


Single tunnel to Active-Active Azure VPN Gateway?

Is it possible to set up a single tunnel just to one instance of the VPN Gateway working in Active-Active mode? Is BGP still required for this case?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ff33c99b-1aa1-b1a3-4c51-00e68de1005d
Version Independent ID: cc777df4-3df5-c9ed-df4e-3d9d7ab344ef
Content: Azure VPN Gateway: Overview - Highly Available gateway configurations
Content Source: articles/vpn-gateway/vpn-gateway-highlyavailable.md
Service: vpn-gateway
GitHub Login: @yushwang
Microsoft Alias: yushwang

@cat-mucius , We are looking into this query and will update you as soon as possible.

@cat-mucius , Yes, you should be able to deploy in a single tunnel but this is a non-recommended way and BGP is optional here. Two tunnels will be more seamless and reduce the blip when Azure gateways go through planned maintenance.
We are closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


Save/Load Datasource/Dataset state from MLflow

Scope of changes:
[Prerequisites to this PR's features]

Persist information about the dataset in the Datasource object
Add new fields to DatasourceSerializedState object (renamed from DatasourceFileStruct): info about the dataset, save timestamp, link, was the query modified from the dataset's query

[Additional stuff implemented along the way]

save_dataset() now sets the dataset as the one assigned to the datasource. Togglable with assign_after_save=False
clear_query() resets the query to the dataset's one by default. Togglable with reset_to_dataset=False
dagshub.init() with MLflow now explicitly logs which repo we're now tracking mlflow into.
Information about the dataset is printed out in the ds.__repr__, so it will show up when printing it out in e.g. Jupyter cell.
black formatting pass over the datasource querying test (sorry for the huge LOC change over there)

[Feature requests of this PR]

Add ds.log_to_mlflow() function, saving the state of the datasource into a json file, uploading that as an artifact to the MLflow's current run.
Add datasources.get_from_mlflow(run_id, artifact_name) and datasets.get_from_mlflow(run_id, artifcat_name) functions that allow importing this serialized state back into python.

Mostly doc/style changes, didn't change anything functionally/no class shuffles. I tried to explain my reasoning for everything, but let me know if you're unconvinced and want me to change stuff.
Honestly right now the only thing I think should be done is moving the as_of and select from Datasource into DatasoureQuery, since they are much more a part of the query. And I think I should try to figure out how to make DatasourceQuery more easier to serialize/deserialize to json

Rolled as_of and select into DatasourceQuery, change serialization/deserialization, so DatasourceSerializedState.query is now DatasourceQuery

Okay, after a talk, another shuffle:

DatasourceQuery is now QueryFilterTree, only has the tree of the filters and composition logic related to that
DatasourceQuery is now a higher level class that contains as_of, select, and filter that is a QueryFilterTree (but still serialized as query due to graphql stuff)

I'm not sure if I actually like what MLflow is doing here with the "_get_or_create_run()", because I can imagine it leading newbie users accidentally creating un-closed runs, but just my 2c.
I made sure to return the run into which we saved the datasource just so there's a way to get the run to which we saved in case there was no run currently.

Ok, weird.
I tried running ds.log_to_mlflow() without first creating a run, and the run it created is marked as FINISHED after the script exited.
Don't know what kind of magic they're doing, but it seems like it's not a big deal


Food 101 training problem library missing

I have issues trying to train for the millestone project. Colab is complaining about a missing DNN library see below. I looked online. It looks something changed in tensorflow new versions. It looks the libraries change faster than I am following this course...
Any idea how to fix that problem?
Thanks,
Marc
Node: 'model_1/efficientnetb0/stem_conv/Conv2D'
DNN library is not found.
[[{{node model_1/efficientnetb0/stem_conv/Conv2D}}]] [Op:__inference_train_function_24154]

I think the issue is that tensorflow is changing. Is there a way to decide which version to use ? Which one is compatible with the code in the course?
THanks.

Are you following the same code that is being written in this repo for food101 milestone project ? If yes then you can downgrade to tensorflow==2.7. I tried it and it gives me no error.
If your code is different then kindly post your steps to reproduce your issue.

The code for food101 milestone project does not work. There is an issue loading EfficientNetB0. I had to change to:
base_model = tf.keras.applications.efficientnet.EfficientNetB0(include_top=False)
But I have a different issue now. Is the code working for you?
Thanks,
Marc
TypeError                                 Traceback (most recent call last)
 in
4 input_shape = (224, 224, 3)
5
----> 6 base_model = tf.keras.applications.efficientnet.EfficientNetB0(include_top=False)
7 base_model.trainable = False # freeze base model layers
8
4 frames
/usr/local/lib/python3.8/dist-packages/keras/utils/traceback_utils.py in error_handler(*args, **kwargs)
65     except Exception as e:  # pylint: disable=broad-except
66       filtered_tb = _process_traceback_frames(e.traceback)
---> 67       raise e.with_traceback(filtered_tb) from None
68     finally:
69       del filtered_tb
TypeError: Exception encountered when calling layer "tf.math.truediv_5" (type TFOpLambda).
x and y must have the same dtype, got tf.float16 != tf.float32.
Call arguments received by layer "tf.math.truediv_5" (type TFOpLambda):
• x=tf.Tensor(shape=(None, None, None, 3), dtype=float16)
• y=tf.Tensor(shape=(3,), dtype=float32)
• name=None

How do downgrade the version?
Thanks,
Marc

De : Saket Munda @.>
Envoyé : jeudi 2 février 2023 03:19
À : mrdbourke/tensorflow-deep-learning @.>
Cc : msolalh @.>; Author @.>
Objet : Re: [mrdbourke/tensorflow-deep-learning] Food 101 training problem library missing (Issue #504)
You need to downgrade the tensorflow version to 2.8 then restart your runtime.
Before compiling your model you can check what version of tensorflow you're running on,
tf.version
It must output 2.8.0 if you've succesfully downgraded the version and restarted the runtime.
—
Reply to this email directly, view it on GitHubhttps://github.com/mrdbourke/tensorflow-deep-learning/issues/504#issuecomment-1413319956, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXMFS5BPJAZYUXIAZHCGIDLWVNUYNANCNFSM6AAAAAAUCVCHZI.
You are receiving this because you authored the thread.Message ID: @.***>

Marc, You can try to run below command in a new cell of a colab,
!pip install tensorflow==2.8
It should start downloading the tensorflow version 2.8

Then when it's done, Restart your Runtime from the Menu Bar,

And you successfully Restarted the Runtime, run,
import tensorflow as tf
print(tf.__version__)
It should print as 2.8.0

It is working now. It looks tensorflow is changing faster than I am doing this course...Any idea why it is not working with current version of tf?
Thanks

I think it is working with 2.11 version, but while saving the model after training produces some issues. It could be also because of combination of mixed precision and EfficientNetBX models is a reason. I'm also new to this thing so I haven't dig deeper much to investigate further, but If I find something I'll post my findings here.

@msolalh Also I would like to ask you to tag this issue as answered if you're satisfied with the above answers/discussions. Thanks

Thanks to SaketMunda. This is a tf version issue.


Game URL

Heya, I have a question. How would I get url to the game?
I have tried using res.currentGames[i].productSlug and res.currentGames[i].customAttributes[2].value but then I have realized not every game has that value which I can use in the url.  Am I missing something or? Thanks

Hi
I don't know how Epic Games manage their slugs but looks like catalogNs object has pageSlug for every offer.

Thanks it works.


Roll Flutter Engine from 9cebd2015688 to c937e48403c8 (2 revisions)

https://github.com/flutter/engine/compare/9cebd2015688...c937e48403c8
2023-08-14<EMAIL_ADDRESS>Roll Skia from afec82ee6a10 to efb8daa0503b (1 revision) (flutter/engine#44676)
2023-08-14<EMAIL_ADDRESS>Roll Dart SDK from 55d7c1b35902 to 452c6617ee36 (1 revision) (flutter/engine#44675)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC chinmaygarde@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Add definitions for material-ui (v1-beta)

https://github.com/mui-org/material-ui/pull/9453 removed Flow type definitions from all components in the<EMAIL_ADDRESS>library. This pulls definitions as they existed (more or less) from https://github.com/mui-org/material-ui/pull/9453 and places them into a version flow-typed definition file.
I know the tests are sparse, but this is mostly not new code. It's also massive, and it took a very long time to extract all of the definitions. It would be great if others could contribute to fix any weakly typed areas (Object and Function abound), and to add tests.

@rsolomon Thanks so much for working on it. We will definitely document the new definitions on Material-UI side once this PR is merged.


Crash when building frequently

Description
When ever you build and reload a mod the following message occasionally
occurs:
The given key was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Terraria.GameInput.PlayerInput.FixDerpedRebinds()
   at Terraria.GameInput.PlayerInput.CheckRebindingProcessKeyboard(String newKey)
   at Terraria.GameInput.PlayerInput.KeyboardInput()
   at Terraria.GameInput.PlayerInput.UpdateInput()
   at Terraria.Main.DoUpdate_HandleInput()
   at Terraria.Main.DoUpdate(GameTime gameTime)
   at Terraria.Main.Update(GameTime gameTime)

Then I have to press continue then try again and it works.
Steps to Reproduce

Build and reload a mod source
and at random times the error occurs

Expected behavior
No error, ever!
Actual behavior
Error appear
Reproduction frequency
5%?
Versions
v<IP_ADDRESS> tModLoader v<IP_ADDRESS>
Mods
HERO's mod - Cheat Sheet - Shorter Respawn Time - OP Rainbow Sword
Additional Information
The error appeared to happen when the mod was building, not when reloading.

This is fixed in the next version already.

Thanks! I just saw it closed in a blink of my eye, and a new notification, thanks for the 20 second responce!


WIP: Preparing release

Preparing release

[ ] Create a proper README.
[x] Update namespace.
[x] Extract fixtures client.
[x] Remove resources? Seems redundant.
[x] Split service provider binds.
[ ] Add changelog file.
[ ] Perhaps increase coverage a bit.

@bbrala, i've addressed your comments!


Integrate Current Cost Envi data

https://github.com/guijemont/CucoLogger
https://github.com/greycubesgav/currentcost-envi
https://github.com/sanmi/powermon
https://github.com/mapkyca/Current-Cost-EnviR

I'm using Current-Cost-EnviR, but the problem I'm having is pretty fundamental. I can't see the device connected via USB. I ran cat /proc/bus/usb/devices both with and without the Envi plugged in, and it listed the same devices both times.

FWIW, the manufacturer is Prolific Technology Inc., the product ID is 0x2303, and the Vendor ID is 0x067b.

Ah-ha, here it is:
T:  Bus=01 Lev=01 Prnt=01 Port=99 Cnt=01 Dev#=  2 Spd=12   MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=067b ProdID=2303 Rev= 3.00
S:  Manufacturer=Prolific Technology Inc.
S:  Product=USB-Serial Controller
S:  SerialNumber=c6a3cfa3ccbecaa4cb88a8c4a5ccbedb
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=  10 Ivl=1ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms

I think it's /dev/usb1.1, because when I connect the cable, dmesg reports:
[47119.992719] usb 1-1: USB disconnect, device number 4
[47127.689134] usb 1-1: new full-speed USB device number 5 using ehci_marvell
[47127.874549] Got empty serial number. Generate serial number from product.

I gave up on installing this on my Synology, which is not /dev/ USB friendly, and set up powermon on a Raspberry Pi. Works great.


Update the debug flag name

When passing 'debug' to the StandardServer it fails:
Unknown server config option "debug" {"exception":"[object] (GraphQL\\Error\\InvariantViolation(code: 0): Unknown server config option \"debug\" at /vol/website/vendor/webonyx/graphql-php/src/Server/ServerConfig.php:50)"}

This is because the option is now called debugFlag

Coverage remained the same at 86.38% when pulling e77d25d661b2e80a02fff943eeb28fafdc353e01 on AdrienPoupa:patch-1 into 3af8b92d07e0d7a9085c0b83daf86beaeb76f092 on webonyx:master.

@vladar what is the process for actually updating the website?

@spawnia It should be as simple as installing mkdocs and running mkdocs gh-deploy (in the repository root folder).

So we can MB convert it into an Action to be run either on Release or Push to master 🤔


[BUG] Redisearch with ENABLE_FLASH=yes

Describe the bug
When using KeyDB with flash, upon startup/restart, redisearch indexes are not created/initialised/loaded. I believe that the current redisearch module starts the indexing process when data is loaded into memory from RDB, and in the case of flash, this step is not performed as data is kept flash. Would like to know if there is a workaround on startup to kick off the indexing process from flash.
To reproduce

Create new DB
Create new search index
Add search data
Confirm search works
Restart KeyDB
Search stops working

Expected behavior
When flash is enabled, KeyDB should initialise search indexes into memory on startup.

We are unable to officially support usage of redisearch with keydb, but we will continue to fix any bugs with the module api.


UI Issue homepage #2

Button fonts are inconsistent and does not match current zemax.com, for example Get Started button on header, Why Zemax button on banner look less bold and different. Similar is the case with most of the buttons, please see below screenshot

Blue banner on top height is more

Some of the heading text alignment is not correct
"Harness the power of Zemax optics software", "Customer Success Stories", "Zemax Training",  center aligned in production but left aligned in dev
What’s New at Zemax? and Featured events not matching also the color not matching

On hover color for contact us page should be changed to match production

In the mobile view social icons should come at bottom of the page but they are in middle

Size of view more button looks different and also looks like the bottom padding is more on dev compared to prod

Carot icon missing for user information on mobile view

Hover boxes on header navigation looks different and also have alignment issues, refer to production site for correct look

Social icons in the footer are not clickable

@synox can you review #184  i think it's missing fixes for 3,4 from the list.

@kunwarsaluja please clear your cache, it works for me on https://184-style--zemax--hlxsites.hlx.page/

@kunwarsaluja my bad, please check again.


Change behaviour of USE_POSIX_COMMIT_CHECKS

The previous setting applied USE_POSIX_COMMIT_CHECKS to snmalloc if it
was a non-release build.  This caused issues in CCF virtual mode, as it
was being built in RelWithDebInfo.
This commit changes the flag to be applied less, but for tests to always
apply the setting independent of build type.
This means that when snmalloc is being used as a library, it will be
off, unless explicitly requested.

While you're in the neighborhood, https://github.com/microsoft/snmalloc/blob/ee470c535e258d93590488a4e1266bbe24dc90f1/src/pal/pal_bsd.h#L34 overrides notify_not_using but doesn't have code handling USE_POSIX_COMMIT_CHECKS, despite that notify_using isn't overridden and will mprotect things if that flag is set.


Tutorial System: User Testing & Suggestions

Overview

Needing to click on the simulator to focus it prior to using the keyboard was a struggle point for all users
The number picker slider sometimes requested numbers that were outside of the bounds. Although students initially tried out the slider, they struggled when it maxed out or with getting the number exactly to where they want it
Hint feature generally was ignored as students found it to be in the way of their work
Struggled differentiating blocks such as set mySprite to sprite of kind player and set projectile to projectile as they looked similar
Deletion was easy for all students to figure out
Users used color and boldness to determine which instructions to read and would skim over sentences without any bold words or blocks
In blocks such as on sprite of kind player overlaps otherSprite of kind player, users struggled with grasping that sprite and otherSprite could be dragged out
Although the tutorials went through the use of variables, it was clear that some students didn't understand the concept through the tutorials and wouldn't know how to fix a variable problem if presented with it
Overall they found work space navigation not to be intuitive and struggled with rearranging work space

Recommendations

Auto snapping: Have the sliders for the number picker snap to big numbers such as every 5th digit so that accuracy isn't as reliant
Cap off number slider at -250 & 250
If student appears to be stuck on a step for a while indicate the hint feature (remove the part where toolbox or work space interaction counts as activity if they are only browsing)
When the student hovers on the correct block for the step they should have an indication they grabbed the correct block
Students should be aware of difficulty of tutorial prior to doing it so some kind of feature to information them of difficulty and potential prerequisites for the steps (on the popup before they start tutorial?)
Some form of auto-formatting so that the user is aware that they can rearrange the work space, zoom in and out, and shift the current view. If they are working with a really long block stack then potentially something like auto-scrolling to introduce the concept of work space maneuvering.
When they work with a programming concept like variables, maybe have a side panel that pops up to explain variables
Students generally didn't seem to have a problem with the number of steps to the tutorial. It's possible that shorter and more steps is more beneficial to their learning than longer and less steps.
Auto progressing should be beneficial with some indication that they have completed the step properly

Tutorial_UserTesting.docx
Feedback doc here.

Closing old issue.


Compatibility with Facebook's SDK

Description
I am trying to import the Facebook SDK to handle user authentication in my CRNA app, but all of the resources/walkthroughs I've found are reliant upon linking the SDK to an XCode project and an .xcodeproj file, and I'm not sure how to reconcile that with Expo / CRNA.
Expected Behavior
After installing the React Native FBSDK wrapper,  I am expecting to see a login button after after bringing in this example Login component.
Observed Behavior
In place of the 'Login with Facebook' button, I see an empty rectangle with a red border. Additionally, these errors appear:
Warning: Native component for "RCTFBLikeView" does not exist
Warning: Native component for "RCTFBLoginButton" does not exist
Warning: Native component for "RCTFBSendButton" does not exist
Warning: Native component for "RCTFBShareButton" does not exist

Environment
Please run these commands in the project folder and fill in their results:

npm ls react-native-scripts<EMAIL_ADDRESS>npm ls react-native<EMAIL_ADDRESS>npm ls expo<EMAIL_ADDRESS>node -v: v7.0.0
npm -v: 4.2.0
yarn --version: 0.21.3
watchman version: { "version": "4.7.0" }

Also specify:

Operating system: macOS Sierra 10.12.5
Phone/emulator/simulator & version: Expo

Closing this issue, as I've found this page of documentation to be helpful. I didn't realize Expo handled Facebook authentication in this way.

Hey @nchastain, did you had any problem with the Facebook login? I made exactly the same thing as the Expo documentation page and every time I call the Expo.Facebook.logInWithReadPermissionsAsync, my app crash and I don't have any error massage.
Thank you for any help!

@thierryskoda Hey, sorry for the delay on this. I can look into my repo tomorrow for the details of my implementation, but from the brief description of your problem (your app crashing without errors) I'm wondering if perhaps if you are trying to make async call to Facebook synchronous by mistake - which would cause your app to hang. Check out this portion of the docs: Is your call to Facebook inside of an async/await function (or similarly in a promise)?
async function logIn() {   const { type, token } = await Expo.Facebook.logInWithReadPermissionsAsync('<APP_ID>', {       permissions: ['public_profile'],     });   if (type === 'success') {     // Get the user's name using Facebook's Graph API     const response = await fetch(       https://graph.facebook.com/me?access_token=${token}`);
Alert.alert(
'Logged in!',
Hi ${(await response.json()).name}!,
);
}
}
Given a valid Facebook application ID in place of <APP_ID>, the code above will prompt the user to log into Facebook then display the user’s name. This uses React Native’s fetch to query Facebook’s Graph API.`

Hey @nchastain, no worry!
This is what I have:
export const onSignInFacebook = async () => {
  try {
    console.log("Trying to signing with Facebook")
    const { type, token } = await Expo.Facebook.logInWithReadPermissionsAsync(491026781274940, {
      permissions: ['public_profile', 'email', 'user_friends'],
    });
    console.log("type", type)
    if (type === 'success') {
      // Get the user's name using Facebook's Graph API
      const response = await fetch(
        `https://graph.facebook.com/me?access_token=${token}`);
      Alert.alert(
        'Logged in!',
        `Hi ${(await response.json()).name}!`,
      );
    }
  } catch(e) {
    console.log("e", e)
  }
}

The link to the expo FB document has changed it seems, and is now here:
https://docs.expo.io/versions/latest/sdk/facebook.html


[SPARK-41308][CONNECT][PYTHON] Improve DataFrame.count()

What changes were proposed in this pull request?

Remove Pandas dataframe None check as there is guaranteed it is no longer None case for toPandas() call.
Improve count() doc.
Add a test case for count().

Why are the changes needed?

Codebase improvements.
Does this PR introduce any user-facing change?

NO
How was this patch tested?

UT

@xinrong-meng @zhengruifeng

lgtm

merged into master


Code coverage is not working

Describe the bug
The following error is thrown when executing vitest --coverage:
Error: Cannot find module<EMAIL_ADDRESS>If we change from ../../dist/cli.js to ../dist/cli.js in the following snippet, it will find the module: https://github.com/vitest-dev/vitest/blob/c6e3ad7da2193322fcce0d03706f959592e921fb/packages/vitest/vitest.mjs#L15
But unfortunately the coverage report will be empty:

Note: c8 vitest run will work just fine.
Reproduction
pnpx -y degit wtchnm/Vitamin#feat/vitest vitest-coverage-bug && cd vitest-coverage-bug && pnpm i && pnpm test:ci
System Info
System:
    OS: Linux 5.15 undefined
    CPU: (16) x64 AMD Ryzen 7 5800X 8-Core Processor
    Memory: 3.23 GB / 15.60 GB
    Container: Yes
    Shell: 3.3.1 - /usr/bin/fish
  Binaries:
    Node: 16.13.1 - /usr/bin/node
    Yarn: 1.22.15 - ~/.npm-global/bin/yarn
    npm: 8.3.0 - /usr/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Firefox: 95.0.2
  npmPackages:
    @vitejs/plugin-react: 1.1.3 => 1.1.3
    vite: 2.7.4 => 2.7.4
    vitest: 0.0.105 => 0.0.105

Used Package Manager
pnpm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Thanks, fixed!

Thanks!


Return all non-section variables when no deliverable or manifest ID is provided

#2160  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @nickgraz and the rest of your teammates on  Graphite


Run on Azure windows VM remotely got error :  Message: An unknown error occurred in the remote end while processing the command.

Hello,
I've got the same issue that was previously posted :
https://github.com/microsoft/WinAppDriver/issues/147
I'm trying to perform an install on .msi installation via the GUI remotely on azure windows 10 vm.
I've tried all the solutions from the post but I have the following error when I'm trying to perform clicks on the windows application.
when I'm running an RDP connection and then trying the script works.
the problem when I'm running in the CI server(Jenkins Linux server) I cannot perform the RDP connection and it not works.
tried the following solutions:
https://community.helpsystems.com/kb-nav/kb-article/?id=548d72cc-68c3-eb11-bacc-000d3a1fe4c0&redirect=false
https://dev.to/beanworks/the-painful-parts-of-end-to-end-test-automation-for-your-windows-application-1dde
tried also:
Psexec - to start the server on the remote machine console
Autologon - to unlock the machine on startup
any suggestions and help?

I mean the RDP workaround change didn't helped according to the following reg keys changes:
https://community.helpsystems.com/kb-nav/kb-article/?id=548d72cc-68c3-eb11-bacc-000d3a1fe4c0&redirect=false
the reg keys changed successfully but I got the same error, without opening the RDP connection by myself with full GUI.
is there any way to simulate opening RDP to win 10 from Jenkins's linux server?

Can you setup teams call @anunay1 ? Not able to figure out what you are trying to achieve?

@anunay1 , yes will try setup call, tomorrow morning around 8.00 UTC time is ok?
via Zoom is ok instead of teams?

Zoom is fine but please schedule a call at 1PM UTC

@anunay1  will you be available around 10-11, or after 15:00 (UTC time)?

@dimag25 did you manage to solve the issue?
Are you running against Appium server or WinAppDriver directly?

hey @bwomsm1 , still not managed to solve the issue.
im running against  server with the following url :
f'http://{vm_address}:4723/wd/hub
I guess its appium server?

Could be both I think ...

ok.. so im uaing this server in the vm and starting the winappdriver with batch file LaunchWAD.cmd :
cmd start /K "C:/Program Files (x86)/Windows Application Driver/WinAppDriver.exe" <IP_ADDRESS> 4723/wd/hub

So it's the WinAppDriver directly

ok, and changing it to use appium server will fix my issue?

No it will not, appium also uses winappdriver.exe under the hood, what you are trying to do is to execute tests in a headless mode which is not possible for WAD as it requires an interactive session.

@anunay1 please check this issue: https://github.com/appium/appium/issues/17572#issuecomment-1269834433
We have a major issue with WinAppDriver.exe, that we got to fix.
I cannot downgrade my python libs, I must have methods which found only in the latest appium client libs.
Can we estimate when this going to be handled? it's quite showstopper.

@DHowett Can we expect any release?

I mostly encounter this issue when the PC is locked or else the buffer is full. There exists a bug with win app driver console at times the buffer is not cleared. As a work around i use to start winappdriver console before the every test and then kill it after the test.

That what I have started doing, I also starting it on every session

@DHowett Can we expect any release?

@DHowett @anunay1 can you share with me when that w3c will be supported?


Apply PGO to Binaries

PGO, or Profile Guided Optimization, is a way that we can accelerate the performance of the most frequently used paths in our applications. We profile the applications with several test scenarios that represent very strenuous or hot paths through the application. The instrumented binaries count up the usages of functions along paths while the test scenarios are run. Then when the applications are rebuilt, the binaries are provided to the linker to guide it as to which functions are the most important. See also: https://docs.microsoft.com/en-us/cpp/build/profile-guided-optimizations?view=vs-2019
During my prototyping phases in dev/miniksa/gotta_go_fast in July 2020, I found that we can get about 10-20% less runtime out of large text processing operations like time cat big.txt, a large list operation, or anything else sending a massive stream of "WriteFile" type operations to our system. Given that massive blocks of data transfer tend to be more noticeable as either a total runtime or a latency issue by our users (versus UI operations like splitting panes), I believe that we should use profiling runs that focus on massive data transfer and add other hot scenarios as necessary to help us squeeze the most performance out of our application.
This feature-size task represents setting up this system for our application.
The https://github.com/microsoft/microsoft-ui-xaml team has already done this for their entire stack. I had attempted to roll my own lesser variation of it, but on doing so, I realized that it will be better overall to just replicate their work against our application.
The following activities are what I imagine will be required to get PGO going:

[ ] Mimic targets/properties from Microsoft UI XAML related to build properties, compiler, and linker flags necessary to generate both a "Training" binary for generating profile data as well as teaching the final "Optimized Release" binary to consume that profile data during linking.
[ ] Set up test automation using the Helix framework/labs such that we can run Input Injection and UI Automation tests in a lab for repeatable "training scenarios" against the training binaries

[ ] BONUS: Also get the ol' UIA tests we have running in this lab
[ ] BONUS: Also get the TerminalApp tests that @zadjii-msft has had as "local only" forever running in this lab.

[ ] Mimic the YAML definitions from Microsoft UI XAML for dispatching these test runs and collecting data from the Helix lab
[x] Convert our artifact storage to use a public NuGet feed as a place to store the large Profile Guided Databases (.PGD files) generated from the training run counts (.PGC files) - See #6954
[ ] Mimic the scripts from Microsoft UI XAML for uploading PGD artifacts to the public NuGet feed as well as the ones to select the most relevant PGD databases to use when compiling (nearest time to the current branch as not every commit SHA is profiled).
[ ] Write tests for our scenarios to run in the Helix lab

[ ] cat big.txt --> output massive amount of unformatted text
[ ] cat ls.txt --> output massive amount of colorized/formatted text
[ ] Fan favorite random cell drawing utilities like cacafire and cmatrix
[ ] Good ol' GIF to ASCII chafa
[ ] Search functionality through UIA tree that @carlos-zamora has had performance issues with when working with NVDA
[ ] Some sort of full stack launch test that can serve as both a canary and provide some weight for optimizing startup time

[ ] Pull it all together, weight and merge the profiles, and release profile optimized builds

If necessary, I have noticed that just profiling the conhost binary when in PTY mode can provide some performance boost without also profiling the WindowsTerminal binary (and all its Terminal* DLLs) as well. We could make incremental progress here, but it is definitely best if we can get end-to-end profile guided optimizations working.

Triaged into Terminal 2.0


About overriding the default breadcrumb behavior.

Descriptive summary
Our UCSD DLDP requested to modify the breadcrumb to have objects include their parent collection in a breadcrumb trail.
For example, the expected breadcrumb behavior is: My Dashboard/Animal Collection/ Bunny, instead of default one: My Dashboard/My Objects/Bunny,
I think it can be done by overriding the #build_breadcrumbs method in hyrax:
https://github.com/projecthydra-labs/hyrax/blob/master/app/controllers/concerns/hyrax/breadcrumbs_for_works.rb#L17
To do that, the collection name and collection path need to be retrieved in work_controller. I tried that the following code can get the collection name:
@document = ::SolrDocument.find(params[:id])
collection_name = @document[:member_of_collections_ssim].first

My question: Is there any available method in hyrax to parse the solr query?
For example:
@doc = some_method(:q => 'has_model_ssim:Collection AND title_tesim:#{collection_name}’)
add_breadcrumb collection_name, hyrax.collection_path(@doc[:id])

Any suggestion is appreciated. Thanks for helping!

Maybe it would be better to use the member_of_collection_ids to load the collection Solrdocument instead of finding by title (there could be multiple collections with the same title):
collection =<EMAIL_ADDRESS>

Thanks @escowles. Yep, there is the "member_of_collection_ids_ssim" solr field which make the things easy!  I think I accidentally checked collection record and didn't find such field.
Thanks for your helping!


rightTitle / leftTitle

rightTitle and leftTitle  doesnt show in (Android Emulator)
I've tried in my project than in the repository example:
 <Scene key="loginModal" component={Login} title="Login" rightTitle="Right" onLeft={Actions.pop}/>
              <Scene
                key="loginModal2"
                component={Login2}
                title="Login2"
                panHandlers={null}
                duration={1}
              />

Where is onRight? I don't see any leftTitle

rightTitle only works with onRight?
I've changed my project and still don wokrs.
Let me show my cenario.
This is my Router Component:
        <Router>
            <Scene key="root" modal hideNavBar>
                <Scene
                    key="auth"
                    initial title="Please Login"
                    onRight={() => console.log('Right button')}
                    rightTitle="Right"
                >
                    <Scene key="login" component={LoginForm} />
                </Scene>
                <Scene key="main">
                    <Scene
                        renderRightButton={() => <Text onPress={() => { console.log('Add'); }}>Add</Text>}
                        key="employeeList"
                        component={EmployeeList}
                        title="Employeessss"
                        onRight={() => alert('Right button')}
                    />
                </Scene>
            </Scene>
        </Router>

I'm trying to use rightTitle in the  key Scene and doesnt show:

Am I doing somenthing wrong?
For now I'm using renderRightButton instead of rightTitle.

Could you try PR #2015 ?

I'm still newbie with git and npm, but I think I've done right:
npm install aksonov/react-native-router-flux#pull/2015/head
My dependencies look like this:

After rerun the rightTitle still not appearing

I can't reproduce. Please check Example from that PR, I've just committed rightTitle for Login Page and see it normally.
If you see it but don't see within your project, fork Example and try to reproduce it with Example.

Should work with v4 beta.8

Still seem to have the same issue - no text appearing - tried rightTitle & leftTitle (using onLeft & onRight too). Currently using ^4.0.0-beta.11
This is with the android emulator on Windows.
"dependencies": {
"firebase": "^4.1.3",
"mobx": "^3.2.1",
"mobx-react": "^4.2.2",
"prop-types": "^15.5.10",
"react": "16.0.0-alpha.12",
"react-native": "0.46.3",
"react-native-router-flux": "^4.0.0-beta.11",
"react-navigation": "^1.0.0-beta.11",
"react-redux": "^5.0.5",
"redux": "^3.7.2",
"redux-thunk": "^2.2.0"
},
"devDependencies": {
"babel-jest": "20.0.3",
"babel-preset-react-native": "2.1.0",
"eslint-config-rallycoding": "^3.2.0",
"jest": "20.0.4",
"react-test-renderer": "16.0.0-alpha.12"
},
"jest": {
"preset": "react-native"
}
}

Could you reproduce it with Example?

17 июля 2017 г., в 0:38, parachute-dev<EMAIL_ADDRESS>написал(а):
Still seem to have the same issue - no text appearing - tried rightTitle & leftTitle (using onLeft & onRight too). Currently using ^4.0.0-beta.11
This is with the android emulator on Windows.
"dependencies": {
"firebase": "^4.1.3",
"mobx": "^3.2.1",
"mobx-react": "^4.2.2",
"prop-types": "^15.5.10",
"react": "16.0.0-alpha.12",
"react-native": "0.46.3",
"react-native-router-flux": "^4.0.0-beta.11",
"react-navigation": "^1.0.0-beta.11",
"react-redux": "^5.0.5",
"redux": "^3.7.2",
"redux-thunk": "^2.2.0"
},
"devDependencies": {
"babel-jest": "20.0.3",
"babel-preset-react-native": "2.1.0",
"eslint-config-rallycoding": "^3.2.0",
"jest": "20.0.4",
"react-test-renderer": "16.0.0-alpha.12"
},
"jest": {
"preset": "react-native"
}
}
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi there - yes of course, thanks for the response - as below.

 console.log('left')}
                            title="Please Login"
                        />

 console.log('right')}
                            component={EmployeeList}
                            title="Employees"
                        />

![desktop screenshot](https://user-images.githubusercontent.com/7774740/28259561-c9f7e838-6ace-11e7-8a1e-af8cca58ad0c.png)

I mean Example project included into this github. Please clone and modify to reproduce the issue.

Hey - sorry - have done so now. Still not seeing what I expect on tab1_1 It should show a right title?
renderRightButton does work however on tab2_1

Could you check iOS? Looks like different behaviour for iOS/Android again...

@diegocouto Do you have the same missed rightTitle on Android for Tab#1_1 ?

@aksonov I do! On Tab#2_1 the right text is displayed, but not the Tab#1_1 button. It's the same issue with positioning that we faced with the back button. I'm already working on a PR.

@diegocouto Thanks - also noticed that the alignment isn't in the centre for the header - not sure if there's another flag to change this in the API?

@parachute-dev The title is center aligned on iOS only, probably to comply to the material design guidelines.
When defining your scene, you can use titleStyle attribute to define new styles to the scene title. 😃

Thanks!
[image: Parachute] http://www.thisisparachute.com/ *David R. Bova *-
Technical
Director at Parachute
Address: 4 Lansdowne Crescent, Glasgow G20 6NQ
Tel: 0141 357 4556 | Mobile: 07514 645179
<EMAIL_ADDRESS>| http://www.thisisparachute.com
http://thisisparachute.com/
[image: Twitter] http://twitter.com/thisisparachute[image: Facebook]
http://www.facebook.com/thisisparachute[image: Pinterest]
http://pinterest.com/thisisparachute
*Confidentiality Note: *This email may contain confidential and/or private
information. If you received this email in error please delete and notify
sender.
On 17 July 2017 at 12:25, Diego Couto<EMAIL_ADDRESS>wrote:

@parachute-dev https://github.com/parachute-dev The title is center
aligned on iOS only, probably to comply to the material design guidelines
https://material.io/guidelines/layout/structure.html#structure-app-bar.
When defining your scene, you can use titleStyle attribute to define new
styles to the scene title. 😃
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aksonov/react-native-router-flux/issues/2019#issuecomment-315729562,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHaiFEtgoVS2_WG7Ils9fcqTovjPKCumks5sO0S1gaJpZM4OVyZY
.

v4 beta.8 also not showing the output of right/leftTitle.

@cadudragon Please try latest master

on 4.0.0-beta.15:
leftTitle is only displayed when no onLeft function is provided.

Have you checked 4.0.0-beta.14?

The same occured using 4.0.0-beta.14.
In fact, it only works when using onLeft={Actions.pop}, not when using onLeft={Actions.mypage}

It means actions is not generated yet i.e. Null value

1 авг. 2017 г., в 11:36, Oriane<EMAIL_ADDRESS>написал(а):
The same occured using 4.0.0-beta.14.
In fact, it only works when using onLeft={Actions.pop}, not when using onLeft={Actions.mypage}
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.

So why I can see  the wanted action using console.log(Actions) before the Router declaration !?


Make Director aware of Warlord's Ruin

Much of the data for Warlord's Ruin is not yet present in the manifest. Looking to have this completed before the second reset of S23, assuming the manifest is updated before then.

Done!