ReferenceError: PIXI is not defined

Hi,
Simply importing the library seems to be causing the issue below. Any idea on what I might be doing wrong? I'm using Next.js + Typescript and loading the component dynamically.
ReferenceError: PIXI is not defined
    at Object../node_modules/revolt-fx/lib/Sprite.js (Sprite.js:41)
    at __webpack_require__ (bootstrap:791)
    at fn (bootstrap:150)
    at Object../node_modules/revolt-fx/lib/FX.js (FX.js:46)
    at __webpack_require__ (bootstrap:791)
    at fn (bootstrap:150)
    at Object../node_modules/revolt-fx/lib/index.js (index.js:3)
    at __webpack_require__ (bootstrap:791)
    at fn (bootstrap:150)
    at Module../components/game.tsx (1.5dd028ef129e64d7c82a.hot-update.js:24)
    at __webpack_require__ (bootstrap:791)
    at fn (bootstrap:150)

My imports:
import * as PIXI from "pixi.js";
import {FX} from 'revolt-fx'
let fx = new FX()

Should be fixed with the latest upate

Hi @bma73 ,
Tested on the new version. The problem still persist.
My currently work around is declaring window.PIXI = PIXI in index.js

I also get this with latest npm version "revolt-fx": "^1.1.1".


Ability to dispatch redux-form actions inside a flow typed redux application

Are you submitting a bug report or a feature request?

Bug Report
What is the current behavior?

The action types are defined using type:string. Which makes it hard to have type safe reducers as shown here https://flow.org/en/docs/react/redux/
What is the expected behavior?
The file: actions.types.js.flow would have hard-coded action 'types', rather than type: string.
In my action definition I hard code the action types to look like this:
export type Actions =
        | {type: "myOtherActions"}
	| {
			type: "@@redux-form/SUBMIT",
			meta: {
				form: string,
			},
			payload: any,
		}
	| {
			type: "@@redux-form/BLUR",
			meta: {
				form: string,
				field: string,
				touch: boolean,
			},
			payload: any,
		}

But flow is throwing this error:
file: 'file:///Users/kristian/Documents/Development/go/src/github.com/Eventarc/go-attendly/rego/js/rego/src/actions/entry.js'
severity: 'Error'
message: 'intersection type (This type is incompatible with the expected param type of union: Action | type application of type `ThunkAction` | array type | ExternalAction Member 1: Action Error: intersection type This type is incompatible with union: object type(s) | intersection type(s) | object type(s) | intersection type(s) | object type | intersection type(s) | object type(s) Member 2: type application of type `ThunkAction` Error: intersection This type is incompatible with function type Member 3: array type Error: intersection This type is incompatible with array type Member 4: ExternalAction Error: intersection This type is incompatible with)'
at: '22,12'
source: 'flow'

Is it possible to add string to the flow definition? Exporting them as well would be amazing.
Sandbox Link

What's your environment?

Node 8.6, redux-form 7.1.0 every thing else is latest...
Other information

Thanks!!!

 But it's probably worth it for the type safety guarantees...

So src/actionTypes.js goes away completely... 😢

or at least src/actionType.js get's a fair bit larger.
I've found it to be worth it as then flow will tell me if I misspell and action type or even if all of the properties are there inside where I narrow the type (IE the case of the switch of a reducer)

@kristian-puccio Something like #3497?

That looks like it will work but seems like your adding extra types that probably aren’t needed.
I mean I haven’t looked through the code but do you need to create types for constants?
Will flow’s literal’s typing be able to take care of it for you? https://flow.org/en/docs/types/literals/ https://flow.org/en/docs/types/literals/

On 9 Oct 2017, at 9:42 pm, Erik Rasmussen<EMAIL_ADDRESS>wrote:
@kristian-puccio https://github.com/kristian-puccio Something like #3497 https://github.com/erikras/redux-form/pull/3497?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/erikras/redux-form/issues/3494#issuecomment-335122110, or mute the thread https://github.com/notifications/unsubscribe-auth/ACA_f1aouCK5CrOir6VxI5_DUykxREQWks5sqfipgaJpZM4PyBKz.


Create Footer

Please do work for this task in a branch called issue-XXX.

Edited/updated information. Ran lint on the code prior to merge.


About  the use of 'tools/reval.py' in README.md file.

Evaluation
For mAP, run the python code tools/reval.py
./tools/reeval.py $output_dir/detections.pkl \
  --dataset voc2007test --cfg configs/baselines/vgg16_voc2007.yaml

For CorLoc, run the python code tools/reval_discovery.py
./tools/reeval.py $output_dir/discovery.pkl \
  --dataset voc2007trainval --cfg configs/baselines/vgg16_voc2007.yaml

I think it shoud have '--result_path' before   '$output_dir/detections.pkl'.I tried with this and it worked well.
I hope I make a useful suggestion.

Thank you for noticing me this. I have corrected the commands.


Contract Internal Transactions

I'd like to have the Contracts page display internal transactions, but this requires modifying a node  so that the EVM processes transaction data to record resulting value transfers.
I'm fine with modifying an EVM for use with the explorer, and having it be open source. I just wonder if a custom EVM defeats the purpose of an open-source explorer.
Pinging @whatisgravity, who is overseeing client developments.

@elaineo I do not think it defeats the purpose of an opensource explorer. One simple way to get around this is put a flag in both front/backends. We would need to make the modified node opensource as well. Lets assume we call the node etcCore. Something like etcCore = true/false; in params, etc. could suffice.

Completed with PR #49


[Cherry-pick][WinAppSDK 1.6] [MRTCore] Sync between WGA.PrimaryLanguageOverride and MWGA.PrimaryLanguageOverride

Sync between old and new API. If old one (Windows.Globalization.ApplicationLanguages.PrimaryLanguageOverride) was set more recently than the new one (Microsoft.Windows.Globalization.ApplicationLanguages.PrimaryLanguageOverride), also update the new one to the latest value.

WARNING:
Comments made by azure-pipelines bot maybe inaccurate.
Please see pipeline link to verify that the build is being ran.
For status checks on the main branch, please use TransportPackage-Foundation-PR
(https://microsoft.visualstudio.com/ProjectReunion/_build?definitionId=81063&_a=summary)
and run the build against your PR branch with the default parameters.

/azp run


form type 'x-mixed-replace'

is 'multipart/x-mixed-replace' supported? If not, I'm happy to contribute, but a couple of pointers would be helpful!

Closing, but feel free to make a PR


[Bug]: Heavy PS4 Controller Mapping Issues (Unplayable)

Tweaks version
0.5
Describe your issue here (please attach the OutRun2006Tweaks.log file with your report, you can drag+drop it into the text area)
Hello,
First of all thanks for all the work that went into the project.
My Issue:
I'm using a PS4 Controller via USB (With Back attachment) and DS4Windows at Version 3.3.3.
Everything is on default.
Unfortunately the game is pretty much unplayable for me with controller due to many issues. I cant map accelerate (button) and breaking to R2 nor R2 or any other button. Menu is mapped by default on R3, back von R2. Everythin is messed up.
Is this a unique problem?
Is mapping keys to buttons via an external program my only option?
I downloaded Outrun 2006 from MyAbondoneWare (ISO) and installed it. Extracted Outrun2006Tweaks the files. VC Redist x86 is already installed. Its a fresh install. I did not customize any setting
Kind Regards

I just tested with my DS4 and I had the same issue. Probably the mapping is different but I found a work around: Use Steam as a launcher.
On "Steam Settings" > "Controller" > "PlayStation Controller Support" must be ENABLED
And then add the OR2006C2C.exe to your Steam Library with "Add a Game" > "Add a Non-Steam Game..."
Then you can run the game like a regular Steam game but the gamepad now works fine =)
I also tried remapping with X360CE with no luck... there seems to be compatibility issue with DS4

Same here... that's why i kept saying this game needs a huge rework for modern controllers support.

Further testing now with a DualSense (PS5 controller): same issue, same work around with Stream
Also in both cases vibration is always on full strength, changing VibrationStrength doesn't affect it.

HERE IS THE FIX!
On DS4 Settings enable "Hide DS4 Controller"

And i've just discovered that DS4Windows still runs on good old Win7... cool.

HERE IS THE FIX!
On DS4 Settings enable "Hide DS4 Controller"

Hey Envido!
Thank you very very much to look into it, took your time and come up with a few work arounds!
I'm excited togive it shot again. :)
Have a good one


Cannot see that user is logged in

If I log in on the front end, I still see the Inloggen button, rather than seeing I'm a logged in user.

@peterdesmet is still reproducible? Think this issue was due to the env setup issues

This is resolved.


Better implementation

Here is the cloudflare bypassing module from SALTS (a kodi plugin). It seems to be a better implementation since it doesn't need any JavaScript engine.
Here is the code :
https://gist.github.com/NitroXenon/ddc338ca75f7f3a4bf587a5b3d92f5f4

Please see my answer here: https://github.com/Anorov/cloudflare-scrape/issues/35#issuecomment-155678177
Especially with the recent change, it seems Cloudflare is more keen to change up their challenge now. This would mean effectively completely rewriting the expression evaluator for every significant change. Or, if they make the challenge generation very dynamic, it would mean a massive sprawlling codebase.
I'd even go so far as to argue that the fact we (and other libraries) using a JS interpreter might actually be discouraging Cloudflare from making very significant changes, since they realize how futile it would be. That might sound a little arrogant, but the change they made about 2 days ago seems to have directly been targeted at temporarily breaking this (or a very similar) library.
You can advertise this script as an alternative implementation for people who'd rather not use Node or PyV8 if you like, but I don't have any plans to change the current implementation.

Okay thanks.


Implement Monoid instance for Maybe data type

@jonwhelan great contribution, thank you.
One one the main goals of this library is also demystification of Monads & brothers by bringing practical examples.
Could you provide practical example of this "feature"?

example should be places under example directory
also update in readme.md would be nice

One more thing, please rebase :)


compiling errors using qtcreator 3.5.1 (Ubuntu 16.04)

expected behaviour:
build with the newset qtcreator
observed behaviour:
not building due to interface changes of qtcreator-dev since 3.3
notes:
I'm trying to fix this and will create a pull request if successful

Tried to use the composite repo and git submodule obviously cloned a wrong changeset of dlangeditor.


Include water=oxbow

(copied from https://github.com/openstreetmap/iD/issues/8314)
Please consider adding water=oxbow in the preset picker, just like for lake, pond, reservoir etc.
natural = water
water       = oxbow
https://wiki.openstreetmap.org/wiki/Tag:water%3Doxbow

Interesting, I didn't realize this tag existed. If these are all lakes, wouldn't this make more sense as a subtag like water=lake + lake=oxbow? In any case, this has lots of usage so supporting it sounds okay.


[CI] Add release type of binary

Would be usefull to have the standalone bin in the github release.

This is a nice to have and will be considered when we prioritize support for multiple platforms or have available resources to support this.


Fix FIFO async breakage because of undefined CFG_TARGET

This works but I'm not sure if this is the proper way to fix it. Shouldn't the module that uses oh_fifo_async also make sure that CFG_TARGET is defined?

https://github.com/parallella/oh/commit/450f398065584f2da55fb524698ecd3aeb60c2ba
should fix it.
so we can close this now?

Sure, can you create a stable branch from "the last time it was stable"? I
have made a lot of changes to main....
The elink is currently broken and I need to fix some stuff.
December version should be solid. Please test.
On Wed, Mar 9, 2016 at 12:35 PM, Ola Jeppsson<EMAIL_ADDRESS>wrote:

450f398
https://github.com/parallella/oh/commit/450f398065584f2da55fb524698ecd3aeb60c2ba
should fix it.
so we can close this now?
—
Reply to this email directly or view it on GitHub
https://github.com/parallella/oh/pull/53#issuecomment-194416329.

--
Andreas Olofsson, CEO/Founder at Adapteva
Cell: +1<PHONE_NUMBER>
Twitter: @adapteva
Web: adapteva.com
Linkedin: linkedin.com/in/andreasolofsson
http://www.adapteva.com/

I don't have write access to oh so I can't push anything.
This commit seems stable (1 board, a couple of hours testing). Should be really close to the bitstream I've used for over a month without seeing any issues:
f4041149ada94c1a7781f184c9760d5d2f2ca2c5
// Ola
On 2016-03-09 18:38, Andreas Olofsson wrote:

Sure, can you create a stable branch from "the last time it was stable"? I
have made a lot of changes to main....
The elink is currently broken and I need to fix some stuff.
December version should be solid. Please test.
On Wed, Mar 9, 2016 at 12:35 PM, Ola Jeppsson<EMAIL_ADDRESS>wrote:

450f398
https://github.com/parallella/oh/commit/450f398065584f2da55fb524698ecd3aeb60c2ba
should fix it.
so we can close this now?
—
Reply to this email directly or view it on GitHub
https://github.com/parallella/oh/pull/53#issuecomment-194416329.

--
Andreas Olofsson, CEO/Founder at Adapteva
Cell: +1<PHONE_NUMBER>
Twitter: @adapteva
Web: adapteva.com
Linkedin: linkedin.com/in/andreasolofsson
http://www.adapteva.com/
—
Reply to this email directly or view it on GitHub https://github.com/parallella/oh/pull/53#issuecomment-194417112.


Grid does not render properly when it was initially hidden

I think it's the same issue as descriped and fixed for Version 1.3.8 here: https://github.com/angular-ui/ng-grid/pull/52
I am using:
angular v1.3.8
ui-grid v3.0.0-rc.20
and can reproduce this in
IE             v 11.0.9600.17691
Chrome    v 41.0.2272.101 m
Firefox     v 36.0.4

Refer http://ui-grid.info/docs/#/tutorial/108_hidden_grids.  Is it a defect or expected behaviour?

Setting the width from 100% to an px value works.
The "ng-if Trick" does not work for me. Perhaps the problem is, that I use the grid inside of my own directive.
I will try to reproduce this in plunker soon

Here the promised plunker: http://plnkr.co/edit/7DhisDMJPePkOZp1Zf6z?p=preview

You can fix it by using uiGridAutoResize feature but it may cause other issues like flickering on resize. See my other issues for a plunker example.

By the way, this is again caused by the selection header (any column pinned to the left) being present. The body (central) container is a static div so it always bumps against the left pinned container div and forced down by the layout engine. This is what you see. All container ideally should use absolute positioning so that browser does not 'bully' them around.

We are using ui-grid with the selection header, but without the pinning feature. I managed to do a workaround with:

multiple grids (some of which are hidden initially)
selection header
auro-resize on

Without:

flickering
misplacement

.ui-grid-render-container-body {
    position: absolute;
    margin-left: 31px;
}

.ui-grid-grid-footer {
    position: absolute;
    bottom: 25px;
}

Keep in mind, that the pinning feature basically breaks this way, because of the CSS override.
This will be fine (for us) until someone comes up with a better alternative / fix for this.

This should be fixed with #3371. Please file another issue if something's still not right for you. I've validated that the plunkers appear to be working well.

The rendering of the next row elements have by default used "float:left" and hence due to the available space the columns fit into that.
Changing this to clear:both will ensure that the new rows are rendered in the next block.
Add this rule to the ui-grid-row class
.ui-grid-row{
clear:both;
}


Multi-line Charts

Closing because this was based on the old web client (pre-#34). If this functionality is desired, I will need to re-write it on top of the new design. I can refer to this version to speed up the process, though.


MediaControl extensibility improvements

Changed MediaControl elements to explicit optionals, so we can safely ignore missing elements when loading custom XIBs.

👍


IE10 flexbox layout not working properly

The calendar is not rendering properly on IE10. I think it's a problem with flexbox.
From "Big Calendar" examples:

Anyone have any idea how to fix this on IE10?

It think the problem is IE10 doesn't provide flexbox support.
http://caniuse.com/#feat=flexbox

@olivergeorge it says in the documentation the calendar should have ie10+ support. There are also fallbacks in the css for handling flexbox in ie10 from what i can se.


feat: use ech for overview charts

Finally drag-drop to change time range is possible now:

Codecov Report

Merging #1241 (adf225c) into master (2cb74ec) will decrease coverage by 7.33%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1241      +/-   ##
==========================================
- Coverage   31.44%   24.11%   -7.34%
==========================================
  Files         289       92     -197
  Lines       17013     9297    -7716
  Branches      667        0     -667
==========================================
- Hits         5350     2242    -3108
+ Misses      11432     6915    -4517
+ Partials      231      140      -91

Flag
Coverage Δ

be_integration_test_latest
?

be_integration_test_v4.0.1
?

be_unit_test
24.11% <ø> (ø)

e2e_test
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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


How to Add Switch to trigger Google Assistant ?

Please can you help me with adding switch to trigger google assistant ? Pressing enter every time is very annoying

See the Google+ discussion about this here

The README is actually referring to the go command line tool:
https://github.com/google/oauth2l/tree/master/go/oauth2client#command-line-tool

We have an example of this in the Mocktails Mixer write-up. Instructions to wire the button are here and the code is here (lines of interest are mainly 150-181).

sysfs method;
1.add the followings definitions
def read_button():
    fp1 = open("/sys/class/gpio/gpio6/value","r")
    value = fp1.read()
    return int(value)
    fp1.close()

def write_led(value):
    fp2 =  open("/sys/class/gpio/gpio20/value","w")
    fp2.write(str(value))
    fp2.close()

Modify the code

        while True:
            if wait_for_user_trigger:
                while True:
                    #print(read_button())
                    button_status = read_button()
                    if button_status == 1:
                        break
            write_led(1)
                #click.pause(info='Press Enter to send a new request...')
            continue_conversation = assistant.converse()
            # wait for user trigger if there is no follow-up turn in
            # the conversation.
            wait_for_user_trigger = not continue_conversation
            write_led(0)
            # If we only want one conversation, break.
            if once and (not continue_conversation):
                break


configure output directory?

Component
Heimdall (CLI)
Question
Currently, the output of the decompiler is inside the output/local/decompiled.sol. Is it possible to configure this to a new directory?

Looks like this issue here https://github.com/Jon-Becker/heimdall-rs/issues/180 shares the same interest as I do. Hope the PR got merged soon

#189

Thanks for pointing me to #189  but still confused on how to use it. I did
heimdall disassemble<PHONE_NUMBER> --output out

Then got
error: Found argument '--output' which wasn't expected, or isn't valid in this context

        If you tried to supply `--output` as a value rather than a flag, use `-- --output`

Has this new feature got added to the wiki doc?

you can install nightly (the main branch) via bifrost -v main
this build includes --output, and will be included in 0.6.5 shortly

Nice thanks much! It works!


Non-Windows OS support

Describe your feature / Опишите ваше предложение
MacOS and Ubuntu are very commonly used, support would be appreciated.

RTFM: https://github.com/ValdikSS/GoodbyeDPI#similar-projects


Unit tests for string and int entitlements

Codecov Report

Merging #58 into master will increase coverage by 4.35%.
The diff coverage is 88.88%.

@@            Coverage Diff             @@
##           master      #58      +/-   ##
==========================================
+ Coverage   59.53%   63.88%   +4.35%
==========================================
  Files          16       16
  Lines        1149     1138      -11
==========================================
+ Hits          684      727      +43
+ Misses        414      354      -60
- Partials       51       57       +6

LGTM


eclib: 20190226 -> 20190909

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/eclib/versions.
meta.description for eclib is: '"Elliptic curve tools"'.
meta.homepage for eclib is: '"https://github.com/JohnCremona/eclib"
Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 20190909 with grep in /nix/store/cafd02i4fv5ksqa8kxbb2g486c8aim9g-eclib-20190909

directory tree listing: https://gist.github.com/e0a34fb8cf7208b69bf7256b9de39374

du listing: https://gist.github.com/d646802a92d9aded2e7e2331ae0c7079

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)
3 package rebuild(s)
3 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
eclib
sage
sageWithDoc

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/cafd02i4fv5ksqa8kxbb2g486c8aim9g-eclib-20190909 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A eclib https://github.com/r-ryantm/nixpkgs/archive/e904be6a8aa4fb8fd95427abf3e1ad6a479e32f6.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/cafd02i4fv5ksqa8kxbb2g486c8aim9g-eclib-20190909
ls -la /nix/store/cafd02i4fv5ksqa8kxbb2g486c8aim9g-eclib-20190909/bin

cc @7c6f434c @timokau for testing.

@GrahamcOfBorg build sage

@GrahamcOfBorg build sage
Relevant upstream ticket by the eclib author: https://trac.sagemath.org/ticket/28472


harpoon based sorting with harpoon2 doesn't sort again after reordering the buffers

The new configuration works great! Thank you for the quick update. However, the buffers don't reorder after reordering the buffers in the harpoon file list.

I was able to achieve this with a slight modification of the extend function
 require('harpoon'):extend {
    ADD = refresh,
    REMOVE = refresh,
    REORDER = refresh,
    LIST_CHANGE = refresh,
}


cmd/compile: return statement does not set result parameters before executing deferred function returned by a literal function

What version of Go are you using (go version)?

$ go version
go version go1.12.4 darwin/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/mark/go"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"

What did you do?
See the playground example: https://play.golang.org/p/SptuCsFa3uw
I have two defer statements in their own functions. They both call anonymous functions that return a function to execute at the end of the function (when the result variable has been assigned the value in the return statement).
The functions differ in how the result variable is assigned it's value. One does it implicitly by returning the expression. The other does a bare return after modifying the named return variable.
What did you expect to see?
I expected to see the anonymous function (that prints "on exit") print the result variable with a value of 16 in the not_working() function.
What did you see instead?
That anonymous function printed 0 for the result return variable (the initial value of the result name return variable).

An equivalent but slightly-more-readable version: https://play.golang.org/p/h5m8NezzYro

CC @randall77 @griesemer @mdempsky

Works as expected with gccgo.
Works as expected with Go 1.4 and earlier, but not with Go 1.5 and later.

I suspect the issue is that return statements don't mark the result parameters as Assigned, so we perform the closure pass-by-value optimization. E.g., adding result = 0 after var f func() = ... in not_working makes it behave correctly.

Actually, I think it's even more mundane than that: the first occurrence of outer here should be outermost, like the rest of the line:
https://github.com/golang/go/blob/24b43013a12ed8bab9adcce5b8265b1fb87ff506/src/cmd/compile/internal/gc/closure.go#L189

Could be related to the introduction of named output arguments and the duality involved (#31630) ?
There are in fact two paths now to return the values:

direct via the return statement (bypassing the output variables that were declared as function arguments)
assignment to output variables where they are picked up by return statement without arguments.

In combination with defer the timeline (sequence of instructions) might not be correct in combination with one or more levels of defer.

@StephanVerbeeck I don't think so. I'm pretty sure it's like I stated in my last comment: outer.Class() != PPARAMOUT should be outermost.Class() != PPARAMOUT, because in multiply-nested function literals when referencing the outermost function's return parameters (like in the issue report), outer.Class() will be PAUTOHEAP instead.

Thanks! How do I find out what version of golang will have the fix?

@sandan The fix will be included in Go 1.13. Thanks for the report!


Plugin stops propagation of all left/right arrow key presses events

Hello Max!
I’ve noticed that Unitgallery catches left/right arrow key pressing events and stops their propagation. So when focus in a , user can switch between rows by pressing up/down arrow key, but he/she can’t move cursor to left or right.
Can you add some option, which will tell for plugin: catch left/right arrow key pressing events only, if Unitgallery element has :hover or :focus sate or some sort of that?

hi, dont understand what you mean. can you please explain another time in
different way? focus what?
On Tue, Nov 3, 2015 at 8:44 PM, erinsasha<EMAIL_ADDRESS>wrote:

Hello Max!
I’ve noticed that Unitgallery catches left/right arrow key pressing events
and stops their propagation. So when focus in a , user can switch between
rows by pressing up/down arrow key, but he/she can’t move cursor to left or
right. Can you add some option, which will tell for plugin: catch
left/right arrow key pressing events only, if Unitgallery element has
:hover or :focus sate or some sort of that?
—
Reply to this email directly or view it on GitHub
https://github.com/vvvmax/unitegallery/issues/40.

Sorry it seems in my previous message the word “textarea” was hidden because it was wrapped as a tag. Also :hover or :focus in the message are CSS or jQuery selectors http://www.w3schools.com/cssref/css_selectors.asp.
I mean that the plugin must catch keyboard events only when a user works with a gallery. For example, if you add textarea element into your …/source/index.html, it will not allow you left/right movement of the cursor.

HI. The gallery can't catch events from inside textarea, sorry. No plugin
can.
On Wed, Nov 4, 2015 at 2:43 PM, erinsasha<EMAIL_ADDRESS>wrote:

Sorry it seems in my previous message the word “textarea” was hidden
because it was wrapped as a tag. Also :hover or :focus in the message are
CSS or jQuery selectors http://www.w3schools.com/cssref/css_selectors.asp.
I mean that the plugin must catch keyboard events only when a user works
with a gallery. For example, if you add textarea element into your
…/source/index.html, it will not allow you left/right movement of the
cursor.
—
Reply to this email directly or view it on GitHub
https://github.com/vvvmax/unitegallery/issues/40#issuecomment-153709389.

Hi, Now I'm understand what you mean. Fixed the bug in current release. Please check.

It works. Thank you!

Cool! Good luck!
On Thu, Nov 5, 2015 at 12:06 PM, erinsasha<EMAIL_ADDRESS>wrote:

It works. Thank you!
—
Reply to this email directly or view it on GitHub
https://github.com/vvvmax/unitegallery/issues/40#issuecomment-154014579.


Renaming webtagging doc

Update of the doc to reflect the changes of the webtagging repo, split  into two:
omero-tagsearch and omero-autotag
Cf to the two corresponding PR:

omero-tagsearch PR
omero-autotag PR

Apps have been released. Merging


Extend CommandDetailParser to include ACL details

Thank you for your contribution. That's merged and polished now.

Thank you for your contribution. That's merged and polished now.


Live aggregations do not map metadata fields

We have the following setup:
public record MyProjection {
   public DateTimeOffset LastModified { get; set; }
   public int Version { get; set; }
}

Schema
    .For<MyProjection>()
    .Metadata(m =>
    {
        m.LastModified.MapTo(x => x.LastModified);
        m.Revision.Mapto(x => x.Version);
    };

When loading the projection via session.LoadAsync<MyProjection>, the both the LastModified and Version fields are populated correctly.  However, when using session.Events.AggregateStreamAsync(version: 3), only the Version field is populated.  LastModified is not.
I would have expected either both metadata fields to be applied, or neither.
For now, our workaround is to, when using AggregateStreamAsync, to apply metadata manually.  Please let me know if this is intended, or if you'd like a PR.  Thanks!

@michaeltnguyen Meh, that's not really a bug, you just hit an unusual combination. The Metadata stuff you're using up there is all in regards to document storage, and when you're using "aggregate stream", you're not loading the projected data as a document.
If this is Marten 7.*, the usage of m.Revision.Mapto(x => x.Version); is not necessary. For the equivalent of m.LastModified.MapTo(x => x.LastModified);, see the ApplyMetadata() from event sourcing
I might try to improve the documentation I guess on this, but I don't think there's anything actionable in terms of code in this issue.

Got it, thanks for the reply.
We were previously just putting the Apply methods inside the MyProjection record itself, per https://martendb.io/events/projections/aggregate-projections.
public record MyProjection {
    public void Apply(MyProjection p, Event e);
}

Does this mean that the recommended structure for a projection is to have both a record T AND a class extending SingleStreamProjection<T>?  (since we are required to subclass SingleStreamProjection in order to override ApplyMetaData?

@michaeltnguyen None of that changed. If you prefer to just keep the Create or Apply methods in the aggregated document and don't need any kind of fancy workflow, just keep doing that. Marten creates a SingleStreamProjection<T> around your type behind the scenes. If you want to use ApplyMetadata(), then yeah, you'd have to move the Apply / Create to a dedicated SingleStreamProjection<MyProjection>


[DRAFT] Update azuread graph endpoint

#5739 #5671 #5911 #5912
This PR is dependent on this backend issue: https://github.com/rancher/rancher/issues/29306 expected to be ready very soon after the 2.6.5 release.
This PR updates the graph endpoints for new auth configs, and warns users with outdated configs that they will need to go press a button. The AzureWarning component shouldn't render anything nor throw any console errors for users who can't access auth configs, setups without azuread auth, and setups with updated/new azuread auth.
Fix azuread page styling and translation (5911 5912)

Graph endpoint warning and update process:

Awesome to see this progress!   Please keep us azure government cloud customers in mind and ensure we can customize all of the endpoints!
Thanks for this enhancement!

I know this is a draft, but just wanted to mention that the Azure app will need to be modified by its admins.
The app would need the following Microsoft Graph permissions (unless it already has them):

User.Read.All
Group.Read.All

We'd need to be explicit about in all warnings.

Updated the warning message and token/auth endpoints:


useI18n hook causes backgroundScheduler.registerPeriodicTask calling twice in ExposureNotificationServiceProvider

What?
useI18n hook causes backgroundScheduler.registerPeriodicTask calling twice in ExposureNotificationServiceProvider. It should be called only once. Being called multiple times wouldn't cause big issues, except it would hit rate limit for provideDiagnosisKeys more quickly.
Proposal
Look into how I18nManager is constructed and create a better version.
From below log, look like the first time it is called, it doesn't return full data or something.
[Thu Jul 09 2020 16:16:22.349]  LOG      ccccccc setExposureNotificationService {"defaultCountry": undefined, "defaultCurrency": undefined, "defaultTimezone": undefined, "getCurrencySymbol": [Function anonymous], "loading": true, "locale": "en", "onError": [Function onError], "pseudolocalize": false, "translations": [{"BottomSheet": [Object], "DataUpload": [Object], "Home": [Object], "HowToIsolate": [Object], "Info": [Object], "LanguageSelect": [Object], "Notification": [Object], "Onboarding": [Object], "OverlayClosed": [Object], "OverlayOpen": [Object], "Partners": [Object], "Privacy": [Object], "RegionLanding": [Object], "RegionPicker": [Object], "RegionalGuidance": [Object], "Sharing": [Object], "ThankYou": [Object], "Tutorial": [Object]}]}

[Thu Jul 09 2020 16:16:22.395]  LOG      ccccccc setExposureNotificationService {"defaultCountry": undefined, "defaultCurrency": undefined, "defaultTimezone": undefined, "getCurrencySymbol": [Function anonymous], "loading": false, "locale": "en", "onError": [Function onError], "pseudolocalize": false, "translations": [{"BottomSheet": [Object], "DataUpload": [Object], "Home": [Object], "HowToIsolate": [Object], "Info": [Object], "LanguageSelect": [Object], "Notification": [Object], "Onboarding": [Object], "OverlayClosed": [Object], "OverlayOpen": [Object], "Partners": [Object], "Privacy": [Object], "RegionLanding": [Object], "RegionPicker": [Object], "RegionalGuidance": [Object], "Sharing": [Object], "ThankYou": [Object], "Tutorial": [Object]}, {"BottomSheet": [Object], "DataUpload": [Object], "Home": [Object], "HowToIsolate": [Object], "Info": [Object], "LanguageSelect": [Object], "Notification": [Object], "Onboarding": [Object], "OverlayClosed": [Object], "OverlayOpen": [Object], "Partners": [Object], "Privacy": [Object], "RegionLanding": [Object], "RegionPicker": [Object], "RegionalGuidance": [Object], "Sharing": [Object], "ThankYou": [Object], "Tutorial": [Object]}]}

https://www.coronawarn.app/de/faq/#ENError13 <-- @henrytao-me just flagging this for visibility.

Looking at the logs could could we simply check on
loading:

I see it's false in the first log and true in the second.

Samsung S10
left the app running in background overnight after exposed to positively diagnosed device.
re-opened the app after 24hr+ and noticed that the home screen displays No exposure detected. close and re-open the app and now I have Exposure detected message.
expected behaviour: background refresh should set the proper message on the home screen.

@mmiron-HC
Can I know how long after you first time open the app until you close / re-open again? Android take EN framework takes time to calculate Exposure Summary. For a small set of keys, it takes around 7s after making a request. Our server has over 800 keys, it might take a bit longer.

@henrytao-me i can't be certain, but it would have been a few minutes b/c I went to check the Exposure checks log to see when the last ping was. then I closed/re-opened the app.


link folder support

can vs code create a link folder ? and "vscode-nextgenas"  will support this feature ？it really useful, my project in FB have many linked folder,code in these folder are shared in several project.

Is a link folder different from the source-path compiler option?

folder in source-path  can not list at vs code "resource manager". because I want open it and edit .as file in link folder just like normal folder in vs code.

In the current version of the extension, files in the source-path will appear in the "ActionScript Source Path" view under your workspace's files. You can open linked classes from here. Unfortunately, there's no way to add more files to the regular file explorer yet.
In an upcoming Visual Studio Code update, "multi-root workspaces" will be supported. As I understand it, this feature will allow you to add folders that are outside of the current workspace to the file explorer. They should be releasing it soon, and then I plan to update the extension to add support for multiple roots.

ok, thanks,wait for your updates

hi josh,source-path config is good , but can you give an option to set folder alias.


Make edlfs GitHub Container Registry packages public

It looks like an organization admin will have to make the docker container images public. This can be done by following this link:
https://github.com/orgs/NASA-Openscapes/packages/container/edlfs/settings
Scrolling to the bottom to the "Danger Zone, selecting "Change Visibility", and selecting "Public"

@betolink do you have, or know who has, the power? @jules32  or @erinmr, maybe?

I'm not an org admin, I think @jules32 is the admin.

Yes! Thanks for the screenshot and description, it's done! (I didn't know you could have part of a public repository be private, (if that's what's going on here?) that's cool).

@jules32 I'm still seeing the packages as marked as private :thinking:

And yes, packages are always private by default on GitHub; they need to be explicitly made public.

Sorry @jhkennedy . I have changed the settings and it still says its disabled; I've filed a ticket with GitHub and will give an update as soon as I have it

@jules32, I think I switched our org settings to make this work. @jhkennedy - i checked public. Let me know if this doesn't fix it?

@jules32 @erinmr that did it! Thank you so much! 🙏


Allow build on OSX

This is a minor change to the Makefile to allow building on OSX.  Specifically it makes the following conditional on not being on OSX:

downloading and using linux cmake binary
static linker flags

AH I forgot this.
Merge first this one then the one in vg?

Yeah thanks!
Best would be to merge the xg pr, then the vg pr, then update the xg
submodule within vg.
On Mon, Aug 31, 2015 at 7:47 PM, Erik Garrison<EMAIL_ADDRESS>wrote:

AH I forgot this.
Merge first this one then the one in vg?
—
Reply to this email directly or view it on GitHub
https://github.com/ekg/xg/pull/4#issuecomment-136529616.


No performance improvement on rebuild with new cache

Expected Behavior
I expected that after the initial build populated a brand new cache that rebuilds (using the watch compiler) would see a performance improvement.
Actual Behavior
It seems that the initial build must be from cache in order to see a performance benefit, so when webpack starts without a usable cache for HardSource to use I must restart the webpack compiler process before I start to see build improvements.

without initial cache
with initial cache

initial build
~72sec
~13sec

rebuilds
~20sec
~ 4sec

Is an error being thrown?
No
Steps to Reproduce
I'm not sure how to setup a reproduction large enough to demonstrate this behavior, but if you'd like to try running the PR I'm working on to integrate HardSource into our project I can share steps for that: https://github.com/elastic/kibana/pull/20105
Operating System, Node, and NPM dependency versions
Mac OS 10.13.5
Node v8.11.3

See dependency versions here: https://github.com/spalger/kibana/blob/ab55f8ae15278bee1d700b901a4f38bf06cd14b2/package.json

Since it's entirely possible this is intended behavior, is there a way to know when HardSource is done writing it's initial cache so we can automatically restart our webpack process and not require user intervention to enable the beautiful rebuild speeds we could be seeing with HardSource?

Alright, I took a shot at implementing your suggestion and you're right, after the second compilation rebuilds are as fast as they are when starting with a populated hard-source cache.
To implement this I used the following:

Okay, great, I was filtering by NormalModules at some point but found things like the ignored modules were being recreated every time. You're right though, it's not worth worrying about webpack recreating them. Mind pointing me to "the hook used to write out the cache"?


[AIRFLOW-1280] Fix Gantt chart height

Dear Airflow maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following AIRFLOW-1280 issues and references them in the PR title.

Description

[x] Here are some details about my PR, including screenshots of any UI changes:
Current:

Expected:

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:
No tests needed.

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

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

@@            Coverage Diff            @@
##           master   #2502      +/-   ##
=========================================
- Coverage   69.71%   69.7%   -0.01%
=========================================
  Files         146     146
  Lines       11444   11444
=========================================
- Hits         7978    7977       -1
- Misses       3466    3467       +1

Impacted Files
Coverage Δ

airflow/www/views.py
67.57% <ø> (ø)
:arrow_up:

airflow/models.py
87.26% <0%> (-0.05%)
:arrow_down:

Continue to review full report at Codecov.

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

lgtm


🚀 Create PIL based visualizer

📝 Description

This PR introduces the ImageVisualizer class to Anomalib, providing a flexible and customizable way to visualize anomaly detection results. The ImageVisualizer can be used as a callback in the Anomalib Engine. The subsequent PRs will add the visualizer to the base model, so users will be able to modify it from there as well.
Addresses #1917

Features

Visualize multiple fields from ImageItem
Fully customizable field selection and layout
Adjustable visualization parameters (gap, font size, background color)
Overlay option to any field (ie. heatmap on image, masks on image etc.)

Examples
1. Default Usage
When not set, Anomalib will use the default visualizer settings, which would be equivalent to the following
from anomalib.data import MVTec
from anomalib.engine import Engine
from anomalib.models import Padim

data = MVTec()
model = Padim()
engine = Engine()
engine.train(datamodule=data, model=model)

The code above will produce the following output

2. Custom Visualizer (Image and Anomaly Map)
from anomalib.data import MVTec
from anomalib.engine import Engine
from anomalib.models import Padim
from anomalib.visualization import ImageVisualizer

data = MVTec()
model = Padim()
visualizer = ImageVisualizer(
    fields=["image", "anomaly_map"],
    overlay_fields=[("image", ["anomaly_map"])],
    field_size=(256, 256),
    alpha=0.2,
)
engine = Engine(callbacks=[visualizer])
engine.train(datamodule=data, model=model)

2. Custom Visualizer (Image, GT Mask and Pred Mask overlayed)
It is possible to overlay any custom field on top of each other. This includes multiple fields, which overall makes this design fully customizable.
data = MVTec()
model = Padim()
visualizer = ImageVisualizer(
    fields=["image"],
    overlay_fields=[("image", ["gt_mask", "pred_mask"])],
    field_size=(256, 256),
    alpha=0.2,
)
engine = Engine(callbacks=[visualizer])
engine.train(datamodule=data, model=model)

✨ Changes
Select what type of change your PR is:

[ ] 🐞 Bug fix (non-breaking change which fixes an issue)
[ ] 🔨 Refactor (non-breaking change which refactors the code base)
[x] 🚀 New feature (non-breaking change which adds functionality)
[ ] 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] 📚 Documentation update
[ ] 🔒 Security update

✅ Checklist
Before you submit your pull request, please make sure you have completed the following steps:

[ ] 📋 I have summarized my changes in the CHANGELOG and followed the guidelines for my type of change (skip for minor changes, documentation updates, and test enhancements).
[ ] 📚 I have made the necessary updates to the documentation (if applicable).
[ ] 🧪 I have written tests that support my changes and prove that my fix is effective or my feature works (if applicable).

For more information about code review checklists, see the Code Review Checklist.

Just a personal preference but since this PR is open: I think it helps when the contours of the mask are overlaid like this for exemple

The new visualizer looks amazing. I have a few minor comments. Also, how do we plan to tackle text-only output of VLM?

This is for image-based models. I'll need to implement VideoVisualizer, and possibly something like VLMVisulizer

@jpcbertoldo, how does it look like now? Both is possible with the updated PR

Looks fine to me. But not sure if I am completely sold on the field config, and overlay field config part. I usually rely on my IDE to suggest customisable parameters. With the nested dict, it is harder to figure how, and to what I can I change the parameters to. How often would we see users change these parameters? If it is not very frequent, then I am in favour of being a little more opinionated and keep these parameters as constants. If the users want something else, they can modify the source.

that'd make my life easier :)

@jpcbertoldo, how does it look like now? Both is possible with the updated PR

Looks really cool. The design is somehow complete but not complicated as expected haha.
I wanted to try something like this
visualizer = ImageVisualizer(
    fields=["image",  "anomaly_map"],
    overlay_fields=[("image", ["anomaly_map", "gt_mask"]), ("anomaly_map", ["gt_mask"])],
    fields_config={"pred_mask": {"color": (255, 0, 0)}},
    overlay_fields_config={
        "anomaly_map": {"alpha": 0.6, "mode": "fill"},
        "pred_mask": {"alpha": 1., "mode": "contour"},
    },
)

Will try tomorrow, my environment has some unsaved stuff right now.
By the way the output of example 5 is outdated, right? Because the pred mask config is set to contour but we see a fill in the image.

@jpcbertoldo, how does it look like now? Both is possible with the updated PR

Looks really cool. The design is somehow complete but not complicated as expected haha.
I wanted to try something like this
visualizer = ImageVisualizer(
    fields=["image",  "anomaly_map"],
    overlay_fields=[("image", ["anomaly_map", "gt_mask"]), ("anomaly_map", ["gt_mask"])],
    fields_config={"pred_mask": {"color": (255, 0, 0)}},
    overlay_fields_config={
        "anomaly_map": {"alpha": 0.6, "mode": "fill"},
        "pred_mask": {"alpha": 1., "mode": "contour"},
    },
)

Will try tomorrow, my environment has some unsaved stuff right now.
By the way the output of example 5 is outdated, right? Because the pred mask config is set to contour but we see a fill in the image.

For some reason, fields_config is overwriting the pred_mask configs in overlay_fields_config. I'll investigate that

Really nice feature!
from anomalib.visualization.image import ImageVisualizer
visualizer = ImageVisualizer(
    overlay_fields=[("image", ["gt_mask"]), ("image", ["anomaly_map", "gt_mask"]), ("anomaly_map", ["gt_mask"])],
    overlay_fields_config={
        "anomaly_map": {"alpha": 0.5, "mode": "fill"},
        "gt_mask": {"alpha": 1., "mode": "contour", "color": (255, 0, 255)},
    },
)
engine = Engine(callbacks=[visualizer])
engine.test(datamodule=data, model=model)

gives

i would suggest gt_mask overlayed as a default, it really helps to compare the images because it gives a reference shape to locate things


Python 3 git downloads fail

Running git for the first time under python 3 prompts the download of gittle (seems to work) and funky, which fails with a urlparse error:
Opening: https://github.com/jsbain/gittle/archive/master.zip
Save as: /private/var/mobile/Containers/Data/Application/9C1705FB-B1F4-413A-8019-47ED3A99543D/tmp//gittle.zip (??? bytes)
28334
Opening: https://github.com/FriendCode/funky/archive/master.zip
Save as: /private/var/mobile/Containers/Data/Application/9C1705FB-B1F4-413A-8019-47ED3A99543D/tmp//funky.zip (??? bytes)
8474
stash: <class 'ModuleNotFoundError'>: No module named '
I do already have them downloaded under python 2.7

git won't work with py3 stash.  dulwich is somewhat py3 compatible, but we have to make sure all arguments get converted to bytes.  Also, gittle and funky just need to go.  I have a half implemented version of git that works with the latest dulwich, and removes gittle and funky dependencies, but just have not had much time to work on finishing it up.

Hi jsbain. I understand that git won’t work with py3 for now.
I am currently switching between py3 and 2 to use git on stash.
I work with middle schoolers who are learning python3 and toggling between py2 and 3 is really easy for them to forget. Do you think git in stash will work in py3 by next year?

@jsbain I’d like to help with the Py3 effort here, what’s the best place to start?

@jsbain I’m hoping to use Pythonista for work and really need git on python3. I’d love to help out in getting this working, could you point me to the best place to start or help?


Real comments on posts

As a user, I want to see real comments on posts, so that I can follow up the threads of conversations on each post.

[ ] make sure test data has appropriate posts with replies


Easiest way to clear the DicomCloud Webapi server DB and storage?

I am testing the DICOMwebjs demo, and I am wondering if there is an easy way to clear the DB and all images stored in the DICOMCloud server?

yes, @shelbypereira these two app keys should help:
    <add key="app:PacsStorageConnection" value="|DataDirectory|\App_Data\Storage\ds" />
    <add key="app:PacsDataArchieve" value="Data Source=(LocalDb)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\DB\DICOMcloud.mdf;Initial Catalog=DICOMcloud;Integrated Security=True" />

Update the "app:PacsStorageConnection" with something you can easily locate and delete (e.g. C:\dicomServer)
The "app:PacsDataArchieve" is attaching a local database which from a directory that gets overwritten from a template database when you "re-build" the WebAPI project, check the project build events:
xcopy "$(ProjectDir)../Resources\Database\DICOMcloud.mdf" "$(ProjectDir)App_Data\DB*" /d /y
xcopy "$(ProjectDir)../Resources\Database\DICOMcloud.ldf" "$(ProjectDir)App_Data\DB*" /d /y


[branch-2.1] Pick "Fix try fix concurrent load problem with auto inc column #36421"

Proposed changes
pick https://github.com/apache/doris/pull/36421

run buildall


EKS - Cannot Provision EKS Cluster

What kind of request is this (question/bug/enhancement/feature request):
BUG
Steps to reproduce (least amount of steps as possible):

run Rancher container Rancher: master on 2/11
add an EKS cluster with all default settings

Result:
Case1: The creation fails at the begining, and the following error message shows in the UI
Error creating stack: stack failed to create: Resource creation canceled

Case2:  The cluster is created and becomes active in AWS's EKS panel, but it does not be active in Rancher's UI, and The following error message shows in the UI
This cluster is currently Provisioning; areas that interact directly with it will not be available until the API is ready.

Error creating config map: Post https://DE976CCC723D69A0B49935E15A76E436.sk1.us-east-1.eks.amazonaws.com/api/v1/namespaces/kube-system/configmaps: dial tcp <IP_ADDRESS>:443: i/o timeout

Other details that may be helpful:
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): master 2/11
Installation option (single install/HA):
single install

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported):
Machine type (cloud/VM/metal) and specifications (CPU/memory):
Kubernetes version (use kubectl version):

(paste the output here)

Docker version (use docker version):

(paste the output here)

The issue is closed because the limit in our resource causes it.


Adding debug_tools to API docs

Summary
Adds docs for Neat and related classes

If this should be added to the 0.31 docs, please cherry-pick to stable/0.31.

Cherry picked to stable/0.31


JDK11 HTTP client used for auth modules should support client authentication

Description
The JDK11 HTTP client implementation which is used in jwt and oauth2 modules in order to send requests to 'JWKs endpoint' and 'authorization server', should support all the client authentication mechanisms. This support is provided for Ballerina 1.2.x versions but it was removed since the client implementation is moved from Ballerina to JDK11 HTTP client.

The client of oauth2 module can only be provided OAuth2 grant types supported by Ballerina. Because with the introduction of other auth schemes, there will be cyclic dependency issues. Same applies for jwt module client as well. Hence, this will be fixed on user request and will be de-prioritized for now.
Sample implementation for oauth2 module:
public type ClientConfiguration record {|
    HttpVersion httpVersion = HTTP_1_1;
    map<string> customHeaders?;
    string customPayload?;
    ClientAuth auth?;
    SecureSocket secureSocket?;
|};

public type ClientAuth ClientCredentialsGrantConfig|PasswordGrantConfig|DirectTokenConfig;

public class ListenerOAuth2Provider {

    public isolated function init(IntrospectionConfig introspectionConfig) {
        // ...
        ClientAuth? auth = introspectionConfig.clientConfig?.auth;
        if (auth is ClientAuth) {
            ClientOAuth2Provider clientOAuth2Provider = new(auth);
            string|Error accessToken = clientOAuth2Provider.generateToken();
            if (accessToken is string) {
                map<string>? customHeadersMap = introspectionConfig.clientConfig?.customHeaders;
                if (customHeadersMap is map<string>) {
                    customHeadersMap["Authorization"] = "Bearer " + accessToken;
                } else {
                    introspectionConfig.clientConfig.customHeaders = { "Authorization" : "Bearer " + accessToken };
                }
            }
        }
    }
// ...
}


Define a series of cases/projects

Participants will be expected to work in groups and develop one use-case/project, based on their interests and level of expertise.
Organisers will provide a list of possible cases to pick from.
This issue is to discuss the number of cases that we will be providing.

Just as an update: I created cases as issues with a specific tag: https://github.com/WarwickCIM/quarto-workshop/issues?q=is%3Aissue+is%3Aopen+label%3Atasks

Closing this issue, as all the cases listed here have been already created as an issue. Furthermore, any future cases should be created as issues, using the template implemented in ac808574fea898b3c8af6a40b233293924a4228d


Option to skip .NET object binding when reading files

the Get* methods are nice for a lot of reasons, but when you just want to get a text representation of the values. you're forced to go through reader.GetValue?.ToString(). Wouldn't it nice to have a perf flag to skip binding altogether and just return the text as a string via reader.GetString()?

Hi,
There was some discussion on this topic here: https://github.com/ExcelDataReader/ExcelDataReader/issues/268
IMHO such feature could easily grow into something unwieldy, so I'd prefer if applications dealt with this themselves.

What text representation are we talking about here? The raw binary data as stored in the source xls/xlsx/xlsb file? Or localized and formatted text as you see it if you open the file in Excel? Or something else?

What text representation are we talking about here? The raw binary data as stored in the source xls/xlsx/xlsb file? Or localized and formatted text as you see it if you open the file in Excel? Or something else?

The general and mass-use case would be to see the localized and formatted text as if you opened the file in Excel, yes.

What text representation are we talking about here? The raw binary data as stored in the source xls/xlsx/xlsb file? Or localized and formatted text as you see it if you open the file in Excel? Or something else?

The general and mass-use case would be to see the localized and formatted text as if you opened the file in Excel, yes.

So not the raw data at all then.
For formatted text see https://github.com/ExcelDataReader/ExcelDataReader#formatting.

What text representation are we talking about here? The raw binary data as stored in the source xls/xlsx/xlsb file? Or localized and formatted text as you see it if you open the file in Excel? Or something else?

The general and mass-use case would be to see the localized and formatted text as if you opened the file in Excel, yes.

So not the raw data at all then.
For formatted text see https://github.com/ExcelDataReader/ExcelDataReader#formatting.

What would reading the raw binary data look like then? You mean to say formulas and etc won't be handled? But for any other cell, it'd still be in human readable form?


FOI: h5_to_json

See https://github.com/flatironinstitute/h5_to_json where I put a prelim readme and am adding installation and usage instructions now. You can take a look at the bullet points there.

This one might even be (more) relevant to https://github.com/dandi/dandiarchive itself at some point

@yarikoptic and all
Check out the example:
https://github.com/flatironinstitute/h5_to_json/blob/master/examples/example1.py
This shows how to get a memmap'd numpy array from a dataset in the .h5.json file
ds1 = h5j.get_value(Y['root']['group1']['_datasets']['ds1'], data_dir='test_dir')

The next step is to seamlessly retrieve a np-array-like object that lazily loads data chunks over the network in the case where the underlying data is on a remote machine.

The right way to do the remote reading might be to create a file-like python object that points to the data URL. Since the server supports the range-header to retrieve chunks of data, it would seem that there must exist a solution for this. The API would need to allow specification of the chunk size and handle caching internally. Looking for such a tool now.
That file-like object would then be passed into np.fromfile(...)

I think I may have found it: https://github.com/intake/filesystem_spec
For example:
with fsspec.open('http://<IP_ADDRESS>:24342/get/sha1/97e19b527ecef3d5541210718abece6ac03e9f70?channel=neuro&signature=d92fc8320e310e3ed6793d25c8d16d69814aa19d') as f:
    f.seek(20)
    x = f.read(20)

I'm pretty sure it only downloads file parts as needed but I will need to investigate further.

It works very well, I can even specify the block_size. But unfortunately np.fromfile() doesn't seem to be cooperating. I'll need to think some more about it.

Even though I have a file-like object to the underlying data on the remote server (permitting lazy loading), I can't find a nice way to feed this to a ndarray-like object. :(

I decided to write my own lazy-loader array-like object. It doesn't handle all the cases but it does handle basic 1d and 2d slicing.
Here's the live example: https://colab.research.google.com/drive/13HKWVLZKii_1XTGk1DikhizbJbh7Mggj
And the relevant code:
import kachery as ka
import h5_to_json as h5j
from matplotlib import pyplot as plt

# configure connection to remote kachery server
ka.set_config(
    url='http://<IP_ADDRESS>:24342',
    channel='public',
    password='public',
    download_only=True,
    verbose=True
)

# load the .nwb.json object (created via h5_to_json)
X = ka.load_object('sha1://5bfc5d6b06c1b927d63ddde446a9c3079271f5f5/bon03.nwb.json')

# create the hierarchical version for convenience
Xh = h5j.hierarchy(X)

# make a pointer to the large LFP array
lfp_lazy = h5j.get_value(Xh['root']['acquisition']['LFP']['bonlfp-3']['_datasets']['data'], use_kachery=True, lazy=True)

# retrieve a small amount of data from a few channels and plot it
data = lfp_lazy[0:5, 1000000:1000500]
plt.plot(data.T);


Add multi  extractor  and one bug went fix about PDF

Add multi  extractor mean that we can put several files together so that he can extract them and send them to Temp folder so that he can cough in time. Like Windows explorer, select them with CTRL and right click and option extract in background
And one bug I use PDF like this get bad and blur  view because first page is very large, other page smaller that like this  PDF
ch 41(3).pdf

Add multi extractor mean that we can put several files together so that he can extract them and send them to Temp folder so that he can cough in time. Like Windows explorer, select them with CTRL and right click and option extract in background

Firstly, I just recommend getting direct images instead of pdf and such, but if that is not possible, there are multiple tools you can find that convert pdf to images. I will try to make one builtin this app when I have enough time.

And one bug I use PDF like this get bad and blur view because first page is very large, other page smaller that like this PDF
ch 41(3).pdf

Are you using a low "PDF scale" value, render quality is totally dependent on that not the first page. You can try 64-bit version of app for a bit faster render, but it will have more RAM usage.

Can access from settings now .


disallowed functions error_log, var_dump

A version of Squiz.PHP.DiscouragedFunctions that only disallows error_log and var_dump. We may be able to do this with properties. Have to look into it.
error_log should be considered heavily. Writting logs to the php error log is sort of like writing to the main linux log. It can be extremely useful when writing libraries and not having access to the application log. Writting to STDERR is not always the right move. Should we really disallow it?

https://github.com/squizlabs/PHP_CodeSniffer/issues/655
asked for a clarification/improvement upstream.

Greg told us we can do , and it worked.
We used Squiz.PHP.DiscouragedFunctions to do it.


Add public building info page for residents without account

Form resubmit after network error -> duplicate with #398


Add support for configurable plugins directory

To use this approach you can run athena in the following way :
$ ATHENA_PLGS_DIR=/path/to/plugins/dir athena <command> <args>

But you need to be aware that if you want to use the base plugin, you should create a symlink in the plugins custom directory to the base plugin, eg.:
$ ln -s /path/to/athena/plugins/base /path/to/custom/plugins/dir/base

Done with release v0.10.0


Defining nested dynamic variables under :dynamic_variables header in DSL

@stock_and_flow begin
:stocks
A
B
   :dynamic_variables
   v = (A + A) / B
   end

fails, when we'd expect it to create an implicit v0 = A + A and then define v = v0 / B

@Saityi


Make NarrateMessage entry default to character name

Alternate:  If the bubble is empty, and they hit the keyboard shortcut a second time, append the name


Return JSON data type

Since richtext field is a text field, when querying from the API, the field will just return as string instead of JSON. What's the recommended method to return the richtext field as JSON data type?

Sorry, but what?

it's json but it's string don't know how to use it

Sorry, but what?

..

What about JSON.parse() ? 😄

@mengqing, @dcakmak
As far as I understand, you propose to change the return data type from string to json. If I'm sober and understood correctly, then here's the answer:
Previously (possibly changed) this was not feasible because Strapi does not allow you to override the data type for those fields that we change. In this case, we are replacing the RichText field.


fix: Fixed compilation on Windows.

On Windows, Wincrypt.h is included.
This header references types defined in Windows.h but does not include this header itself.
It is then necessary to include Windows.h before Wincrypt.h
Wincrypt.h also defines a macro named X509_NAME, which conflicts with the type from OpenSSL:
typedef struct X509_name_st X509_NAME;

The macro from Wincrypt.h is undefined for fixing compilation.

Thanks for the patch! Windows support has been lagging for years now.


First Day of the Week in Calendar stop working[BUG] ...

Describe the bug
The setting First Day of the Week in Calendar at the settings Budget Screen , don't work any more
To Reproduce
Steps to reproduce the behavior:

Go to 'Tookkit for YNAB settings'
Click on Budget Screen
At the "First day of the Week" set it to "Monday"
Go to YNAB, and in any account when you set a new entry, the first day in the week is still Sunday...

Thank you
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. OSX, Windows]
Browser [e.g. chrome, firefox]
Version [e.g. 22]

Setting Export
Please replace the text below with your exported Toolkit settings. You can export these by going to the Toolkit Options page, click the Import/Export Settings button at the bottom left and copying the text in the modal which appears.
REPLACE_ME_WITH_SETTINGS

I have the same issue with Version 2.19.1.
I'm on macOS 10.14.6 with Mozilla Firefox Version 72.0.1 (64-Bit).

I have the same issue with Chrome (Version 79.0.3945.117 (Official Build) (64-bit)).
Using Toolkit for YNAB version 2.19.0.


Add array modifying functions

Added array_set, array_insert, and array_erase.
The query SELECT array_set([1, 2, 3, 4], 2, 9); returns [1, 2, 9, 4].
The query SELECT array_insert([1, 2, 3, 4], 2, 9); returns [1, 2, 9, 3, 4].
The query SELECT array_erase([1, 2, 3, 4], 2); returns [1, 2, 4].
close #5737

There are some subtleties, such as array_set not throwing out of bounds errors, to mirror array_get. Also, negative indexes in general.

@vpetrovykh
I think you are correct that array_set should throw on out of bounds. I was thinking it should imitate array_get as their names are similar, but as a modifying function, it should be treated differently.
Your point about the length of the arrays being an invariant is an interesting way of looking at it.
I don't think it follows then that array_remove should not throw though. If array_set always keeps the length of the array fixed, and array_insert always increases the length by 1, then I think array_remove should always decrease it by 1.
I'm not sure why array_get forms a precedent here.

array_remove is an interesting case.
First of all there might be two different variants:

remove an element at the specified index
remove all elements matching the specified value (this is what array_remove does in Postgres)

Perhaps we want both of the variants? array_remove_index and array_remove_value?
So let's consider a few things about arrays and removing stuff from them. We'll start with option 2), actually, as I think it's easier to conceptualize. I have an array of integers. Should it always be legal to remove the value 3 from it? Sure, why not? If the array has some 3s in it, remove them all, if not, leave the array as is.
For the case 1) it's a little weirder, but the "algorithm" is that when I tell you to remove an element at a certain index n what I mean is kinda "omit this one spot in the array and splice the rest together". In other words, this: val[:n] ++ val[n+1:]. If you try this in EdgeDB right now, you can set n to be any index you like without a problem.

When we try to generalize this logic to adding or setting values at a certain index, we run into trouble because the "reasonable" interpretation of "insert value 99 at index 9 of [1, 2]" is something like [1, 2,,,,,,,,99] which is not a type of array we support. It's that latter fact that makes it illegal.
We can decide that array_set does not actually care about the length of the array being invariant. Then the different case from array_insert will not be how the element right past the end of the array is handled, they both will happily append values at index len(arr). The difference will be how the element before index 0 is handled.
array_insert preserves all existing elements and shifts them over to the right (and then updates the indexes). So array_insert([1, 2], -3, 99) should result in [99, ,1, 2] which is illegal.
array_set however replaces the value at the specified index (and then updates the indexes). So array_set([1, 2], -3, 99) should result in [99,1, 2] which is fine.
Personally, I think it's more intuitive if array_set implies that the length of the array is not affected, so I propose that as the invariant.

@vpetrovykh I've updated array_set to raise an out of bounds exception.
Given that the slicing works well to remove values, perhaps we should hold off on adding a remove function.
In an earlier chat I did briefly mention how c# uses Remove and RemoveAt for your proposed array_remove_index and array_remove_value. There is also a postgres function array_positions which returns all indexes of a value and so we may want find_indexes and array_remove_indexes as well.
Since remove leads to a much bigger design space, maybe we just stick to array_set and array_insert for this first bit.

Let's do array_set and array_insert for this first iteration and revisit "remove" and "find" functionality.

@vpetrovykh Agreed. I've reduced this PR to just array_set and array_insert.

@vpetrovykh Did some benchmarking on whether to "combine" branches in the implementation.
Running each 10k times:

set_empty: SELECT array_set(<array<int64>>[], 0, 1)
set_out_of_bounds: SELECT array_set(<array<int64>>[1,2,3,4,5,6,7,8,9], 25, -1)
set_front: SELECT array_set(<array<int64>>[1,2,3,4,5,6,7,8,9], 0, -1)
set_middle: SELECT array_set(<array<int64>>[1,2,3,4,5,6,7,8,9], 1, -1)
set_back: SELECT array_set(<array<int64>>[1,2,3,4,5,6,7,8,9], 8, -1)
insert_empty: SELECT array_insert(<array<int64>>[], 0, 1)
insert_empty_out_of_bounds: SELECT array_insert(<array<int64>>[], 1, 1)
insert_out_of_bounds: SELECT array_insert(<array<int64>>[1,2,3,4,5,6,7,8,9], 25, -1)
insert_front: SELECT array_insert(<array<int64>>[1,2,3,4,5,6,7,8,9], 0, -1)
insert_middle: SELECT array_insert(<array<int64>>[1,2,3,4,5,6,7,8,9], 1, -1)
insert_back: SELECT array_insert(<array<int64>>[1,2,3,4,5,6,7,8,9], 9, -1)

Results:

Operation
Raises
Existing
Refactored

array_set empty
Yes
7.479
7.310

array_set out of bounds
Yes
9.838
7.121

array_set front
No
5.387
7.522

array_set middle
No
5.713
7.608

array_set back
No
5.686
6.061

array_insert empty
No
5.951
7.025

array_insert empty out of bounds
Yes
6.853
7.145

array_insert out of bounds
Yes
8.010
7.390

array_insert front
No
5.971
5.793

array_insert middle
No
6.015
5.675

array_insert back
No
5.881
5.433

I don't think there's a clear benefit.


Bug: Differ output value type helm get value format json vs yaml

Find differ helm get values json vs yaml
helm get values journal  -n prod -o json
{"containerImage":{"backend":{"tag":"87128000"},"frontend":{"tag":4ff9e430}},"imagePullSecrets":"devops"}
vs
helm get values journal  -n prod -o yaml
containerImage:
  backend:
    tag: 87128000   <--- incorrect
  frontend:
    tag: 4ff9e430
imagePullSecrets: devops

So if i try do something like
helm get values  journal -n prod -o yaml > ovveride.yaml
helm upgrade  journal  docker-compose  --install -f ./ovveride.yaml -n prod

i get error cast 87128000  to 8.7128e+0 representation and get error pull image like couldn't parse image reference "registry/journal/backend:8.7128e+07": invalid reference format"
if change manual tag to "87128000" -> pull succesfull
containerImage:
  backend:
    tag: "87128000"

i try change at my helm template
  spec:
     containers:
       - image: 'registry/journal/backend:{{ .Values.containerImage.backend.tag | toString }}'

and
     spec:
      containers:
        - image: 'registry/journal/backend:{{ .Values.containerImage.backend.tag }}'

and
    spec:
      containers:
        - image: "registry/journal/backend:{{ .Values.containerImage.backend.tag }}"

but value from -f flag convert to int  before inserting in template so it .Values.containerImage.backend.tag --> 8.7128e+07
helm version
version.BuildInfo{Version:"v3.12.0", GitCommit:"c9f554d75773799f72ceef38c51210f1842a1dea", GitTreeState:"clean", GoVersion:"go1.20.3"}
kubectl version
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short.  Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.6", GitCommit:"b39bf148cd654599a52e867485c02c4f9d28b312", GitTreeState:"clean", BuildDate:"2022-09-21T1
3:19:24Z", GoVersion:"go1.18.6", Compiler:"gc", Platform:"windows/amd64"}
Kustomize Version: v4.5.4
Server Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.6", GitCommit:"b39bf148cd654599a52e867485c02c4f9d28b312", GitTreeState:"clean", BuildDate:"2022-09-21T1
3:12:04Z", GoVersion:"go1.18.6", Compiler:"gc", Platform:"linux/amd64"}

Yes, yaml (as per the specification) will interpret the type of a value based on its format. You're not the first to encouter this idiosyncrasy:
https://www.infoworld.com/article/3669238/7-yaml-gotchas-to-avoidand-how-to-avoid-them.html

Yes, yaml (as per the specification) will interpret the type of a value based on its format. You're not the first to encouter this idiosyncrasy:
https://www.infoworld.com/article/3669238/7-yaml-gotchas-to-avoidand-how-to-avoid-them.html

Yes, im know. But this is BUG helm because different type output with single template configuration. See above. If i get format json - it correct output. If get value to yaml - output incorrect. Its not right. It will be equal string type.

If more information needed - please say. But now it bug helm client

That's not the same template configuration.
{"tag":"87128000"} is not the same as {"tag":87128000}. Your yaml is the latter. You can check that with yq:
yq -y <<<  '{"containerImage":{"backend":{"tag":"87128000"},"frontend":{"tag":4ff9e430}},"imagePullSecrets":"devops"}'


Dm 900 Fix deployment to prevent override of origin url

Previous deployments were overriding the setting of the origin url (a vanity url that allows keycloak to redirect the app users to the correct url.)  Documentation has been updated,

@thegentlemanphysicist have you tested these changes with a deployment?

have you tested these changes with a deployment?

Heads up that if we followed the OWASP Docker Security Cheat Sheet RULE #9 - Use static analysis tools we'd have a guardrail that would be helping us detect misconfigurations in Kubernetes & Docker when we update a template file. If we're continuously deploying the branch that this PR will merge into we will end up testing these changes with a deployment by the action of merging, so detecting potential misconfigurations early is how we might shift left & raise confidence that by merging this type of PR we'd have shared confidence that it would deploy correctly with the newfound flexibility to override ORIGIN while still retaining a good default value.


Let hover_docs act like a toggle

That's an early feature request.  I think it would be really cool if one key binding would be enough -- t.i. we wouldn't need a different binding to close the popup/annotation.
For example, consider   { "keys": ["ctrl+q"], "command": "hover_docs"},,  now ctrl+q opens the popup, and a subsequent ctrl+q closes the popup iff we're still on the same token, or if the popup would be identical to the one already open (same position, same content).  Otherwise the popup/annotation gets closed and a new one appears (it gets replaced) just like now.

Unfortunately I'm not aware of a way to do this reliably. Sublime doesn't have an API for determining what popups or annotations are currently visible. I would be toggling based on the last known state, and it's possible that that the popups would have been closed through some other means (eg by scrolling out of the view) and so the keyboard shortcut would try to "remove" a popup that no longer exists.
Basically, I think the better experience with these limitations is to leave it as is. IDK, what do you think?

The tooltips have an "on-close" callback so you actually can record if a tooltip has been closed (for whatever reasons).  I did something along that in GitSavvy (although not very polished code)  https://github.com/timbrel/GitSavvy/blob/8ac1bdc2aad00e5630b03f9c52eb6908ab6e63d8/core/utils.py#L138-L164

I was not aware of that. Thanks for pointing it out!


Regression in 2.9+: conditional type inferring empty object

TypeScript Version:  3.0.0-dev.20180607

Search Terms:
conditional inference empty infer extends mapped
Code
type Combine<C, Prop extends string> = {
  [Key in keyof C]: (
    C[Key] extends { [X in Prop]: infer Just } ? Just :
    C[Key] extends { [X in Prop]?: infer Maybe } ? (Maybe | undefined) :
    undefined
  )
}

type Test = {
  x: {
    test?: boolean,
  },
  y: {
    test?: boolean,
  },
}

type Combined = Combine<Test, 'test'>

let combined: Combined

// Type '{}' is not assignable to type 'boolean'.
let flag: boolean = combined.x

Expected behavior:
Should compile, as the type of combined.x should be boolean.
Actual behavior:
In 2.9+, fails with "Type '{}' is not assignable to type 'boolean'."
In 2.8.1, compiles without error.
Playground Link:
Playground link
Related Issues:

https://github.com/Microsoft/TypeScript/issues/24640

This got fixed in 3.2


Scoping repro

Related to https://github.com/koenbeuk/EntityFrameworkCore.Triggered/issues/128
Run up the sample asp net core app and one the second run of the modified trigger, the service provider that FooFactory uses will be disposed already.

Thanks for your help here!


General. Contact forms. Button "Send inquiry" doesn't work

WTR:

Go ti Contact page
Fill all fields, click on button "Send inquiry"

Result: Nothing happens - Button "Send inquiry" doesn't work
Expected result: Inquiry sended

Tested
Known issues:
https://github.com/VS-work/vs-website/issues/142
https://github.com/VS-work/vs-website/issues/141
https://github.com/VS-work/vs-website/issues/140
https://github.com/VS-work/vs-website/issues/139
https://github.com/VS-work/vs-website/issues/138


Change colour using HTML values?

Hi I have been trying to work out of there is a way to enable the feature where we could put a HTML value in as the colour rather then using the colour Selection wheel like we used to ?
I can’t remember how many versions ago this was enabled but it used to make setting the exact colour across multiple devices much easier.
As below we now have the wheel where as before we had a value generated when you selected the colour which you could copy to other devices.

Thanks !

Hi @matt20v, this is sadly not possible after the change to the new color wheel. (I too miss it :( )

@JohanBendz  Thank you for the confirmation, That is very unfortunate as it did seem much easier to be able to get consistent colours across all devices.
If any one see this and has a way to easily set the same custom colours across multiple devices please do let me know.
Thanks!

@matt20v You can use Homeyscript to achieve that, but it takes a bit of work to set up and manage.

@JohanBendz  thank you for the information. It does sound like a lot more work and i am no coder :).. I will try and look into how this could be setup.
Thanks again i do appreciate the information!

@matt20v Sometimes the brain is stuck in a pattern.. I was stuck at html.. and forgot that you can solve your need by using tags in the Hue card. Not html but still usable across multiple bulbs.


A.15.IR19.kws-in-vocab

This issue has been extracted from the issue list on:https://ies-svn.jrc.ec.europa.eu/issues/2685
Comment
The Test method is wrong in its specifications because it does not accomplish the purpose
'In order to be consistent with ISO 19115, all the keyword values originating from a single version of a single controlled vocabulary shall be grouped in a single instance of the ISO 19115 descriptiveKeywords property.
For each descriptiveKeywords element, the referenced controlled vocabulary should be unique'
Proposed Change
Rewrite the test method as follows:
'In order to be consistent with ISO 19115, all the keyword values originating from a single version of a single controlled vocabulary shall be grouped in a single instance of the ISO 19115 descriptiveKeywords property.
Each referenced controlled vocabulary  must appear in at most one descriptiveKeywords element'

Proposed Resolution
The proposed change allows for one descriptiveKeywords element to contain keywords originating from multiple controlled vocabularies.
Therefore the resolution of this comment should be a combination of the original test method and the proposed change:

For each descriptiveKeywords element, the referenced controlled vocabulary should be unique
Each referenced controlled vocabulary must appear in at most one descriptiveKeywords element


The following will all you to apply attributes to the ul,ol,and li regar...

...dless of there depth also added quick function for common element like p, div, span....

See the following threads for more info
http://codeigniter.com/forums/viewthread/206808/
http://codeigniter.com/forums/viewthread/110356/

No, no, no.

I get the fact that helpers make life easier in some cases, but is it really that hard to just write out an h2 yourself?

I understand all the above about h1,h2,h3,a function etc I know over kill but saves me time the main reason posted this was the ul/ol function I should have left the others off this I think is long over due... look at the changes to the ul/ol function be fore you dismiss entirely. see http://codeigniter.com/forums/viewthread/110356/


python310Packages.fjaraskupan: 1.0.2 -> 2.0.0

Description of changes
https://github.com/elupus/fjaraskupan/releases/tag/2.0.0

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 188125 run on x86_64-linux 1

1 package failed to build:

home-assistant-component-tests.fjaraskupan

2 packages built:

python310Packages.fjaraskupan
python39Packages.fjaraskupan

Result of nixpkgs-review pr 188125 run on x86_64-linux 1

3 packages built:

home-assistant-component-tests.fjaraskupan
python310Packages.fjaraskupan
python39Packages.fjaraskupan


✨ Register toggleTheme API action for dark mode support

Register AMP.toggleTheme() global API action to add support for the dark theme mode by adding amp-dark-mode class to the body.
Features:

Add amp-dark-mode class to the body for dark mode support on action call.
Store the preference of the user for theme mode to local storage on action call.
Add amp-dark-mode class to the body on page load based on the prefers-color-scheme if the local storage is not set.

Usage:
<button on="tap:AMP.toggleTheme()">Toggle Theme</button>

In Progress:

Get approval for using the localStorage as it is forbidden cause of privacy reasons
Test cases

Output/Demo:

This feature is merged 🎉


Should the temporary provisioning repos be deleted?

I found quite a few repositories in my /tmp folder, like /tmp/provisioning-repo7585379810969367448/. Are they needed for anything after a server was installed? Should the tool remove them after provisioning is complete?

They should be removed. IIRC they should be already marked with deleteOnExit(), but I guess we can add MavenSessionManager#close() to make sure it's removed


fix(Core): throw more meaningful error when path value is undefined

Replace "Cannot read property '$type' of undefined" by a more specific error for troubleshooting

I wanted to make this PR on a private fork. Sorry for the noise...


Fixes 3740: clean url during manual introspect

Summary
previously we would 'cleanup' the url when you manually trigger introspection, but this was broken during a refactor
Testing steps
make repos-import
 go run cmd/external-repos/main.go introspect --force https://cdn.redhat.com/content/dist/layered/rhel8/x86_64/ansible/2/os

Without this pr, the command will do nothing, with you should see:
5:44PM DBG Introspecting https://cdn.redhat.com/content/dist/layered/rhel8/x86_64/ansible/2/os/

also during ephemeral deployments you should see the this ansible repo get introspected, without this, its always pending
Checklist

[ ] Tested with snapshotting feature disabled and pulp server URL not configured if appropriate

https://issues.redhat.com/browse/HMS-3740

/retest

Hi
I deployed with OPTIONS_REPOSITORY_IMPORT_FILTER=small so I just get https://cdn.redhat.com/content/dist/layered/rhel8/x86_64/ansible/2/os/ in ephemeral.
I created repo with https://cdn.redhat.com/content/dist/layered/rhel8/aarch64/ansible/2/os/
It introspects quickly enough, less than a minute, but it fails to make a snapshot. I think that is because its a RHEL repo:
 '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)')]..
OK, lgtm. Merge on ack.


Add University of California, Santa Cruz (UCSC)

Official Website URL:
https://www.ucsc.edu/
URL of a page on the official website where a long-term (>1 year) IT related course is offered by the university:
https://catalog.ucsc.edu/Current/General-Catalog/Academic-Units/Baskin-School-of-Engineering/Computer-Science-and-Engineering/Computer-Science-BS
School Address:
1156 High St, Santa Cruz, CA 95064

@ZeCheNgLiu Regrettably, this request has signs of fraud. I have to close it without merging.


Adds sorting to the db secret search in app-interface mode

Owing to the fact that the order of the result from the search is not
deterministic, we now sort these to prevent the issue of two different
secrets causing a pod to flap due to config changes.

Shoudln't the sort be done after the error check for the list API call?

Fixed sort order + added a test


pyocd-tool and flash-tool improvements

Change pyocd-tool to focus on an interactive command mode.
Example interactive session:

creed@sapo:pyOCD-flit$ pyocd-tool
Connected to K64F [Halted]:<PHONE_NUMBER>C50E13B838F3AB
>>> g
Successfully resumed device
>>> stat
Security:       Unlocked
MDM-AP Control: 0x00000000
MDM-AP Status:  0x0000003b
Core status:    Running
>>> h
Successfully halted device
>>> reg
     r0: 0x1fff0414       r6: 0x0000047e      r12: 0xcccccccc
     r1: 0x00000000       r7: 0x77777777       sp: 0x1fff0688
     r2: 0x0000002f       r8: 0x88888888       lr: 0x00000bf3
     r3: 0x00000000       r9: 0x99999999       pc: 0x00000446
     r4: 0x00000000      r10: 0xaaaaaaaa     xpsr: 0x61000000
     r5: 0x0000044f      r11: 0xbbbbbbbb  primask: 0x00000000
>>> r4
r4 = 0x00000000 (0)
>>> pc
pc = 0x00000446 (1094)
>>> d -c pc 32
pc = 0x00000446
0x00000436:  856a      ldr     r5, [r0, #0x28]
0x00000438:  2e00      movs    r6, r5
0x0000043a:  02e0      b       #0x442
0x0000043c:  491e      subs    r1, r1, #1
0x0000043e:  0c19      adds    r4, r1, r4
0x00000440:  0600      movs    r6, r0
0x00000442:  dff80004  ldr.w   r0, [pc, #0x400]
0x00000446:* c069      ldr     r0, [r0, #0x1c]
0x00000448:  0028      cmp     r0, #0
0x0000044a:  2dd0      beq     #0x4a8
0x0000044c:  dff8f403  ldr.w   r0, [pc, #0x3f4]
0x00000450:  d0f81c80  ldr.w   r8, [r0, #0x1c]
0x00000454:  0027      movs    r7, #0

Also added a few minor improvements to pyocd-flashtool such as being able to perform chip and sector erases without writing anything, i.e. pyocd-flashtool -se -a0x40000 -n16 will erase 16 sectors starting at 0x40000. It also can use the file's extension instead of requiring the type to be provided on the command line.

Will continue my review tomorrow.  Automated test passed.
  Being able to run commands directly is really nice.  At this rate we will soon be able to bypass gdb all together and have our own :smile:.  I had a lot of minor comments, but the structure of everything looks good.  I'm glad you kept the command like functionality still, which allows people to run commands from something simple like a batch file.
Also I was unable to install the capstone library.  Does anything special need to be done to get it installed?  If I install it from a local archive I don't get any errors, but it pyocd still can't find it.  If I install it from pip I get the following error:
running install_data

error: can't copy 'src\build\capstone.dll': doesn't exist or not a regular file

Thanks!
For running commands from a batch or shell file, we should add support for processing commands on either stdin or a specified text file.
I also had issues installing Capstone on Windows, with the same error from pip. I hadn't yet tried using a local archive.
Really, we should probably have our own disassembly library. Capstone is good because it is so simple, but it doesn't/can't hook into the ELF and DWARF info. So it won't tell you that some address is really PC-relative data, it just disassembles anyway and you get garbage instructions.
There's another Python disassembler library called amoco that is pretty amazing. But it's focus is on reconstructing the actions of the instruction sequence for security and related analysis.

Looks good to go with all the fixes :+1: .
One further thought to consider:  A command line based tool like this is something that would be fairly straight forward to test with a script.  You could have a batch file (or the linux equivalent) to pipe in a series of commands and then pipe the output to a log.  When a change is made you could diff a log from the previous patch with a log from the current patch to see if anything broke.  You could also use the python coverage package to automatically generate code coverage metrics.
A test batch file like this:
coverage run pyocd.py < test_commands.txt > output.txt
coverage html

And a test script like this:
clock
clock 1000
clock 10000
d
d 0
d 0 10
log warning
log blarg
r16
r16 0
r16 0 10
r32
r32 0
r32 0 10
reg
help
g
h
regs
reset
h
r0
r1
r2
r3
r4
r5
r6
r7
r8
psp
r 3 100
r 0x3 100
r16 0x0
r32 0x0
s
step
stat
status
i
info
r 0
read 0
...

@flit Can you please rebase?

@0xc0170, yes, I'll merge in the latest from master as soon as I get a chance.

@0xc0170 , there were no merge differences when I merged master into dev_tools, so git didn't create a merge commit.

@0xc0170 Merged in master.


Allow the overriding of app config from functional tests

Ideally we wouldn't be setting actual environment vars
The ideal solution would be to supply the config via a configuration file
or as startup parameters
However, I've implemented this way for now to avoid any changes to the actual code

Required by https://github.com/Azure-Samples/chat-with-your-data-solution-accelerator/issues/420

Maybe it will be clearer later, but would someone use this to override config?


Added more history of vim

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

@Shermjj
Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍 We're happy to accept these changes and look forward to future contributions.


A keyword-only helper does not type-check

This commit in the reprouction repo.
As you see, the helper has one positional parameter (that is not mandatory) and any number of named parameters. But glint complains:
app/components/test-component.hbs:1:17 - error TS2322: Type 'string' is not assignable to type 'never'.

1 {{test-helper-1 foo="bar"}}
                  ~~~

Unfortunately this is a limitation in how TypeScript's inference works (playground):
type Named = { hello: string };
type Positionals = [string] | [];

declare function myFunction(named: Named, ...positional: Positionals): void;

type MyParams = Parameters<typeof myFunction>;
// => never

If you make Positionals either [string] or [], you'll MyParams take on the expected type; the issue is just that the union doesn't play nicely.
I'd recommend writing that type as [string?] instead, as it more closely matches how you'd define the corresponding function and has the nice side effect of not flummoxing TypeScript 😄
For reference, optional tuple elements were introduced in 3.0

I see, thanks for pointing that out! Sorry for the false-positive!


N-Element class style affect child component with the same class name

TuSimple/naive-ui version (版本)
2.34.2
Vue version (Vue 版本)
3.2.45
Browser and its version (浏览器及其版本)
Chrome(108.0.5359.124)
System and its version (系统及其版本)
MacOS(13.0.1)
Node version (Node 版本)
18.12.1
Reappearance link (重现链接)
https://github.com/recallwei/resume-generator/blob/main/src/views/Test/index.vue
Reappearance steps (重现步骤)
A father component n-element with a class named "container", and child component also named "container",
child component style will be covered.
Expected results (期望的结果)
The class style on N-Element should not affect the children components.
Actual results (实际的结果)
It changed the style of child component.
Remarks (补充说明)
I use the scoped property.
https://resume.bruceworld.top/test is my test page.

I think this is a vue issue.

I think this is a vue issue.

Thanks, the root element of the child component is always affected by its father component. Maybe I should wrap it with a div or avoid using the same class name on the root element.


Test travis env vars

This is really @junr03 testing that travis env vars are secret to PRs

@Stype with this PR we confirmed that secret env vars cannot be used by forked PRs


#936: Fix lost whitespaces (including linebreaks) on unmarshalling

Fix lost whitespaces (including LF) after unmarshalling of @XmlAnyElement + @XmlMixed content, which was caused by the mixed flag being lost in the middle of the processing, thus calling processText(ignore:true) and rejecting significant whitespaces, including linebreaks.
Fixed by keeping the prev(ious) mixed flag state during State::pop(). This was the least impacting place I could find and at that point, current will point to previous anyways. Please review for other possible scenarios and side-effects (that I tried to cover with unit tests).
I believe this can fix #936 , #1246 and #909 .

Hi @lukasj, could you kindly share the plans for next release? Can this be reviewed and included as it is affecting a lot of scenarios when parsing XML mixed content, please? Thank you! G.


Import 2f7ca40b77: Graphics API jsdoc typos (by Maki)

This is an automated proposal to look at a commit made by Maki and import it into Overte

Commit:
2f7ca40b776919c1b0e6ae5770addc57507a669d

Author:
Maki

Date:
Tue, 21 Jan 2020 22:13

Graphics API jsdoc typos

Stats:

Filename
Stats
Lines
Added
Removed
Lines in blame

libraries/graphics-scripting/src/graphics-scripting/GraphicsScriptingInterface.cpp

2
1
1
1

libraries/graphics-scripting/src/graphics-scripting/ScriptableMesh.cpp

2
1
1
1

libraries/graphics-scripting/src/graphics-scripting/ScriptableMesh.h

2
1
1
1

3 files
-
6
3
3
3

To work on this, please assign the issue to yourself, then look at the commit and decide whether this would be a good addition to Overte.

If the commit is useful, tag it with "Tivoli: Keep", and keep it open until it's merged.
If the commit is not useful, tag it with "Tivoli: Discard", and close it.
If the commit is not useful right now, but might be later, tag it with "Tivoli: Maybe later", and close it.
If it's hard to decide, tag it with "Tivoli: Discuss", and keep it open.

Useful commits should be submitted as a PR against Overte. Tag this issue in PR, so that it's automatically closed once the PR is merged.
You can cherry-pick this issue with this command:
git cherry-pick 2f7ca40b776919c1b0e6ae5770addc57507a669d

All but one of these mistakes is fixed, forEachVertextCallback still being wrong