ROX-11335: Move Scanner DB secret out of main Scanner DB container

This PR makes a few PostgreSQL-related updates:

Move Scanner DB's secret out of the main Scanner DB container

This moves the secret into the init container, as it is only needed there

Use the latest version of PostgreSQL 12 in CI
Some Dockerfile cleanup

Removing reviewers for now, as it is not as ready as i originally thought

I would prefer we unify the Central and Scanner scripts and YAMLs. Does the way that Central-db do initialization work for scanner db?

Central does not initialize the database with data like Scanner does/needs: https://github.com/stackrox/stackrox/blob/3.70.0/image/templates/helm/stackrox-central/templates/01-central-12-central-db.yaml#L43. Central solely calls docker-entrypoint.sh initdb ... which just does initdb https://github.com/stackrox/stackrox/blob/3.70.0/image/postgres/scripts/docker-entrypoint.sh#L341. This just initializes the directory. We need to ensure the initial data is populated https://github.com/stackrox/scanner/blob/master/image/db/rhel/scripts/docker-entrypoint.sh#L336


crystal: init at 0.20.1

Motivation for this change
There is a package request requests the Crystal programming language #21247 .
This pr adds two packages:
crystal: the Crystal compiler
shards: dependency manager for Crystal language
Things done

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

[x] NixOS
[x] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

All sample code provided by crystal is tested. (on NixOS and on darwin)
All sample code works except sdl related sample. (I'm not sure if this is caused by my packaging)
I will test these on other linux distro and i686 when I have time.
cc @mimadrid
All suggestions are welcomed.

travis-ci build fails because the compilation takes too long and no output from crystal compiler.
I wonder if hydra will also kill this? If it does, I will try to find some method to make crystal compiler output something while compiling.

@sifmelcara, the 0.20.3 version was released several minutes ago with optimized compile times, specially on linux perhaps this help a bit. https://github.com/crystal-lang/crystal/releases/tag/0.20.3
Best regards.

updated to the latest version of crystal (0.20.3).
PR title also updated.

After update crystal 0.20.3, the compilation still takes a half hour on my notebook (without output anything).
If it is acceptable to compile this package on hydra without output to terminal, I think this pr is ready to be merged.
Thanks for review!

I'm not sure, but I've seen hydra timing out builds that don't produce any output for some time (something like 7200s).
But we can merge this and fix it afterwards if it turns out hydra doesn't like it.


DraggableLinesHandler is missing methods when compiled to ES5 (with CRA)

Hey there,
thanks for this neat library, I was super happy to find this functionality as a plugin for Leaflet :)
I've been using DraggableLines in a React project, and thought all was fine, but recently I noticed that in the production build it broke at a place where I use DraggableLinesHandler.enableForLayer() and disableForLayer() to switch it on and off.
I don't expect you to fully support all scenarios, and I'm not even sure if this is a problem your code or somewhere else, but I thought I'd report this just in case someone else has a similar issue.

First of all, some relevant package versions (taken from my yarn.lock):

Leaflet: 1.8.0
leaflet-draggable-lines: 1.1.0
react: 18.1.0
react-scripts (i.e. create-react-app): 5.0.1
webpack: 5.69.1

The related issue in my project is: lehnerpat/train-ride-maps#20
Now, for some more details:

I'm using a standard CRA (=create-react-app) setup with Typescript.
With the default settings I'm using, CRA uses babel and webpack to compile and bundle my sources.
Using browserslist, it decides how to compile the app, i.e. what language level to target and what polyfills to include. I'm using the default setting:"browserslist": {
    "production": [">0.2%", "not dead", "not op_mini all"],
    "development": ["last 1 chrome version", "last 1 firefox version", "last 1 safari version"]
}

This currently results in "development" builds being compiled to ES6, while "production" builds are compiled to ES5.

In the development build, DraggableLines works completely fine.
In the production build, when trying to call the enableForLayer() method on a DraggableLines instance, I get the error:Uncaught TypeError: t.draggableLines.enableForLayer is not a function

and similarly for disableForLayer()

Investigating in the browser inspector (Chrome DevTools), I found out that the DraggableLines instance (t.draggableLines) doesn't have any of the methods implemented in DraggableLinesHandler; it only has the method of Leaflet's stock Handler.
From what I can tell, the (ES5-compiled) prototype of DraggableLinesHandler has the methods, but when constructing the object, something goes wrong with the prototype chain, and the instance's prototype is set to Handler, not DraggableLinesHandler.

I'm continuing to investigate this, partly because DraggableLines really fits my use case and I'd prefer not to implement this myself, and partly because I know what is going wrong here exactly.
One hypothesis I have is that mixing the ES6/TS class-based inheritance you use in DraggableLinesHandler with Leaflet's custom-built class system somehow confuses the Babel transpiler or something.
I'm planning to test this by adding another simple subclass of Handler in my own code, and see if it shows the same behavior, and then possibly also trying to change DraggableLinesHandler to use L.Class.extend() instead of ES6 classes.
If you have any ideas or insights, I'd be happy to hear them :)
I'll report here if I find anything significant.

I am using DraggableLinesHandler in production and don't have this problem. I'm also building using webpack, so I wouldn't expect my setup to be super different from yours.
I could imagine that maybe the extension methods get tree-shaken away. Could you also try if it works with<EMAIL_ADDRESS>The build setup was different there, maybe the change has broken something.

Thanks for the quick feedback! That's a good idea, I'll also try that.
Meanwhile, I've managed to narrow the issue down further:
The following class works, i.e. calling "myMethod" works even in production:
class MyHandler extends Handler {
  constructor(map: LeafletMap) {
    super(map);
    console.debug("MyHandler");
  }

  myMethod() {
    console.debug("myMethod");
  }
}

However, when I add
Object.assign(MyHandler.prototype, Evented.prototype);

the method "disappears" in production, just like with DraggableLines.
Tree-shaking was one of my suspects as well, maybe overwriting stuff on the prototype makes webpack/babel lose track of what methods are used and tree-shake too much 🤔

So, I've been diving deeper into the compiled code, and I think I've now figured out what exactly goes wrong (or rather why the Object.assign makes it go wrong), though I'm not sure why it works for you.
I don't know how much this will help in fixing the problem, but for my own memory and peace of mind I'll record my findings here for now.

Here we see the compiled constructor of MyHandler. The class definition is minified as Af, but calling the ctor (on line 29537 in my previous post) puts you into n(t) (line 29467).
Calling Ko (1) just makes sure that it's called with the new operator and not as a plain function.
The call to e (2), indirected via call, is the compiled version of the super(map) call in the original TS, as best I can tell. The this on this line is our newly constructor instance of MyHandler.
We step into e in the next frame.

in this function, fi (1) seems to be a an alias for the builtin function getPrototype, which just returns an object's prototype.
the this (2) here is still our newly constructor instance of MyHandler, its prototype has our myMethod
using this's prototype's ctor to construct a new instance (3) (intended to be the super instance, I think?) seems to make sense
However, this is where it breaks down. Let's take a look at Af (MyHandler) and its constructor.

At the bottom, we see that Af.prototype has our myMethod.
However, Af.prototype.constructor.prototype (which is used as fi(this).constructor above) doesn't have it.
My explanation for this is: when we Object.assign(MyHandler.prototype, Evented.prototype), we also overwrite MyHandler.constructor with Evented.constructor, and Evented.constructor only refers to Evented's own prototype, not to MyHandlers's (augmented) prototype.

So for some reason, the prototype augmentation seems to fall down when compiling to ES5.
I still don't understand why it works fine when compiling to ES6.

This is all I have time for today, next time I'll try compiling with DraggableLines v1.0.11 as you suggested :)

That looks quite complex, I would have to dig into the code to really understand what's going on.
But it somehow seems like the ES5 transpiler is wrapping the constructor in another function, so we are assigning the methods to the prototype of the wrapper, which does not affect the created objects.
I guess that Object.assign() is just not a very good approach to achieve multiple inheritance. If I find time in the next days, I will have a look and try to find a better approach.

Sure thing, there's no rush for this :)
I also definitely don't want to break DraggableLines in another way by "fixing" this.
One thing that might be interesting: Leaflet's offers a L.Class.include() method to add "mixins" to a class. I wonder if this could help here.
If you put together any prototype of an alternative approach, I'd be happy to help test it :)
I'll let you know if I find out anything more.

Feel free to reopen this if the issue persists.


Change Get-FileHash to close file handles before writing output - fixes #12473

PR Summary
Fix #12473 where Get-FileHash holds the hashed file handles open unnecessarily long.
Change is to hash the file contents, then dispose the file stream, then write the results, in that order.
PR Context
Get-ChildItem | Get-FileHash | Rename-Item -NewName {$_.Hash} throws because the file is still open when trying to be renamed, this PR tries to fix that by closing the file handle before Get-FileHash writes output.
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[x] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include:

Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode (which runs in a different PS Host).
Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.
Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).
Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

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

@PoshChan  please retry macos

@vexx32, successfully started retry of PowerShell-CI-macOS

NB. The failing PowerShell-CI-static-analysis test is about URLs in Markdown in the PowerShell 6 CHANGELOG, and is unrelated to these changes.

@HumanEquivalentUnit Please rebase to get a fix for CI-static.

@HumanEquivalentUnit Please rebase to get a fix for CI-static.

OK, I followed https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/syncing-a-fork and think it has merged the updated markdown files. Fingers crossed.

PowerShell-CI-macos check failure is a traceroute one, and not related to this PR; could one of you re-run it? Not sure I can.
@PoshChan please retry macos

@PoshChan please retry macos

@vexx32, successfully started retry of PowerShell-CI-macOS

Thank you for reviewing and improving it, @iSazonov !


royalmail_deliveriestoday goes to unavailable - potentially after a delivery to my house of an item I was not tracking ....

I have noticed that the sensor royalmail_deliveriestoday goes to a state of "unavailable" ... potentially after a delivery to my house of a tracked item that was not in my tracking list.
I will try to monitor this in the coming weeks.
It would help to know where the "mail pieces" data come from? is it the tracking app or some other area of the account?

If I restart home assistant it correctly re-calculates to 0
I also seem to have one "mail piece" shown but don't know what it is ..
checking my online account, in the tracking section, I see three items shown, 2 marked as "In Transit" (but are from February this year) and one marked as "Sorry, we're not able to retrieve tracking information for this item" which I suspect is old.
Is it possible to add more detail, via attributes, to the mail pieces entity?  maybe the tracking ID ?...

Hey, thanks for taking the time to log this bug!
The only time i have encountered this issue myself was due to hitting the API rate limit. I have done a release 2024.10.0 that aims to handle this by increasing the update interval to every 30 minutes. This is very much an experiment as there is no way of knowing what said limit is.
I've also refactored sensor.py. Like my Yodel integration there is now a single sensor for total parcels being tracked, the attributes will include two lists, parcels and out for delivery. These will be a list of parcel numbers.
Let me know if this improves your situation. I'll do what i can blindly but i've no parcels to track right now so i could very easily mess this all up even more.

Thanks for the update - I have installed the new release and will see what happens

Hi - thanks again for the new release ... I have an ancient parcel that shows as still pending so do get a record from the royal mail system.
What I see now is one sensor with the number of parcels and another sensor named after the parcel
I notice that the integration recycles every couple of hours - I guess that's when it checks for parcel updates ... each cycle makes the sensor become unavailable and then gets a value again.

There is a lot of information about the parcel as attributes so that's good ...
As the entity will have a different entity name for each parcel then the integration user will need to use a dynamic form such as "auto-entities" to pick up the parcel entities.  To help with the process it would be good to include an attribute that could be used to pick out the parcel entities .. If I search for "royal mail" I also get the parcel count and update entities.  I could use "carrierShortName" to work around this.
You mention you also do a yodal integration ... maybe it would be good to have a common attribute that would indicate a "parcel for delivery entity" to share across both integrations - that way, if wanted, someone can use one dynamic form to show parcels from both providers ... if they just want one then they can use "carrierShortName" as an additional filter.
As you don't have a pending parcel I am happy to share the attributes I see for the parcel if its of any help - just let me know.
Thanks again for your support.

I'm loving all the detail, thanks!
So i've taken on you suggestion about the auto-entities and add _parcel_ to the entity id of each parcel. I've also done this for my Yodel and Evri integration so that should work with auto-entities if i'm not mistaken.
I've also refactored how the sensor entities are updated in the hope that this will stop the periodic unavailable status.
I don't have a RM parcel right now so it's done blind again, however I do have a Yodel parcel and it looks like it's working on there so lets hope it does here too.
The latest release is 2024.10.4 Good luck and thanks agian!

Thanks again - That's grand
I now have a single card I can use for all parcels from your integrations using a simple search criteria
I used a flex table card to give me tabular results - I need to reform the date but its the bones (I did mention its an ancient parcel that is left in my parcel list - I may get around to deleting it.... )

type: custom:auto-entities
card:
  type: custom:flex-table-card
  title: Parcels
  columns:
    - data: carrierShortName
      name: Provider
    - data: mailPieceId
      name: Parcel ID
    - data: summary_lastEventName
      name: status
    - data: summary_lastEventDateTime
      name: Last update
filter:
  include:
    - entity_id: "*_parcel_*"
  exclude: []

I installed your evri integration as we often get parcels from them .. it now means I can have one card on my home page with a hide if the parcel count is zero on both integrations and it will show deliveries from both.  I may add yodel as we sometimes (rarely) get them from them.
I notices with evri it didn't ask me to authenticate ... is it using some already known value or a bug?

That's a great little card! The auto-entities card is awesome and this is a perfect use case.
So i've done yet another update, that should, in theory at least, work much better to keep all entities updated with the latest changes from the server(s). I've also renamed the Tracked Parcels entities to be less generic i.e. Yodel Parcels etc
I've done it too the Yodel and RM integrations. I have been able to test Yodel as i currently have a parcel but not an RM one.
The Yodel and RM integrations synchronise your account data with those companies. I have yet to figure out quite how to do that with Evri so it separate to the account you might have with them. It can only see parcels you have added directly via HA right now. I will look again at fetching current tracked parcels like the other ones do soon. Last time i looked I couldn't see exactly how it was being done.

Thanks again - That's grand
I now have a single card I can use for all parcels from your integrations using a simple search criteria
I used a flex table card to give me tabular results - I need to reform the date but its the bones (I did mention its an ancient parcel that is left in my parcel list - I may get around to deleting it.... )

type: custom:auto-entities
card:
  type: custom:flex-table-card
  title: Parcels
  columns:
    - data: carrierShortName
      name: Provider
    - data: mailPieceId
      name: Parcel ID
    - data: summary_lastEventName
      name: status
    - data: summary_lastEventDateTime
      name: Last update
filter:
  include:
    - entity_id: "*_parcel_*"
  exclude: []

I installed your evri integration as we often get parcels from them .. it now means I can have one card on my home page with a hide if the parcel count is zero on both integrations and it will show deliveries from both. I may add yodel as we sometimes (rarely) get them from them.
I notices with evri it didn't ask me to authenticate ... is it using some already known value or a bug?

Great card! Works well for RM, I have tried it with Evri and i just get undefined, have you managed to solve this?

I created a template sensors which combines all the totals from each "tracked_parcels" sensor and then use this for the card
type: custom:auto-entities
card:
  type: entities
  title: Tracked Parcels
filter:
  include:
    - entity_id: "*_parcel_*"
  exclude: []
visibility:
  - condition: state
    entity: sensor.tracked_parcels
    state_not: "0"
show_empty: false


[isar_generator]: Update freezed_annotation to the latest version

Because isar_generator >=1.0.0 depends on freezed_annotation ^0.14.3 and my_project depends on freezed_annotation ^1.1.0, isar_generator >=1.0.0 is forbidden.
Version

Platform: iOS, Android, Mac, Windows, Linux, Web
Flutter version: 2.8.1
Isar version: 1.0.0

Updated :)


Flexbox modes

For version 6.2 we're interested in adding optional flexbox modes to components that would benefit from it. This will be a way for us to push the framework forward in terms of web standards, while still keeping our IE9 support.
Here's an initial list of components that could use it:

Input group
Button group
Menu
Top bar
Media object
Reveal (for centering)

A global variable, $global-flexbox would control flexbox mode. Each individual component would also have its own variable that inherits this, i.e. $btngroup-flexbox: $global-flexbox;.
Unlike the flex grid, which is a separate component, these flexbox modes should just modify the existing CSS, so the class structure stays the same.
Additionally, the flexbox utility classes we bundle with the flex grid, such as .align-center and so on, can be repurposed into generic flexbox helpers, usable by any flexbox-enabled component.

In progress at #7862


Limit the number of active renders per guild and/or user

Currently, a massive problem with the bot is that the !render command can be spammed, flooding the bot's queue.
A good fix for this would be limiting the active renders per guild and/or user. Possibly 2 per user, and 6 per server.
However, something more temporary would be putting a limit on the global queue, while a proper fix is made.

Hi!
Thanks for your suggestion
I'll work on it ASAP!


context question index bug fix

The index that corresponds to the question options was not incremented. This fixes it.

Looks good :)


prevent invalid JWKs in StaticJwksResolver

Signed-off-by: Shikugawa<EMAIL_ADDRESS>In previous implementation, invalid JWKs will be accepted in StaticJwksResolver. With this PR, it will throw exception if invalid JWKs are passed through configuration.

thanks for the change. So if the users are setting up the invalid static jwks, what are the behavior different before and after this PR? Before I think authservice will start successfully but fails as the jwt id token verification. how will it look like after this PR?

Yes. In previous code, if the user passed invalid JWKs then failed to verify token. But it is very odd behavior. We should assert users the JWKs are invalid.


package.json requires eslint-plugin-promise twice

Hello 👋,
eslint-plugin-promise is defined twice in package.json with conflicting version numbers.
In dependencies it's listed as ^3.3.0, whilst in devDependencies it's listed as ^2.0.0.
What is the correct course of action? I feel that it should be removed from dependencies and the version bumped to ^3.3.0 in devDependencies.

Apologies for the late reply @flyingbuddha. Just merged @jmeas's kindly contributed pull request to fix this.


fwidth will throw an error in WebGPU renderer

SDF in Lesson9 will throw the following error:
Error while parsing WGSL: :116:16 error: 'fwidth' must only be called from uniform control flow
    let _e16 = fwidth(_e15);

const diagnosticDerivativeUniformityHeader =
      this.device.queryVendorInfo().platformString === 'WebGPU'
        ? 'diagnostic(off,derivative_uniformity);'
        : '';


JavaScript Viterbi code generation

done (albeit not yet formally tested! but replaced with test request issues eg #33) as of 833374285e8c92db07da25940b3dfdd82e41b283

Oops, closed in error. JS Viterbi is not done. Leaving closed because #52 is clearer.


Focus does not return properly when modals are closed

[Clarity Version]
3.1.1
[Test URL]
https://clarity.design/documentation/modals
[WCAG 2.1 Guideline]
WCAG 2.1 Guideline:
2.4.3 Focus Order
(Level A)
https://www.w3.org/TR/WCAG21/#focus-order
[OS]
macOS
[User Agents/Assistive Technologies]
Safari/VoiceOver
[Component]
Modals
[Description]
Focus does not return properly when modals are closed.
See the relevant HTML/CSS below.
[User Impact]
Sighted keyboard-only and blind screen reader users may be confused when focus is lost after closing a modal.
[Steps to Reproduce]

Go to the Test URL
Using Safari/VoiceOver activate the "Small Modal" button
Observe you are reading the contents of the small modal
Close the small modal and observe that VoiceOver is not reading the Small Modal button as expected, but is now reading the beginning of the page.

[Recommendation]
When a modal closes, set focus to the control used to trigger the modals appearance.

Hi there, this is an automated message.
In an effort to dedupe and track accessibility reports consistently, this issue is being closed and tracked internally with our Accessibility team. It will still be triaged and addressed as part of ongoing work.


The timeline doesn't stop.

The problem
Describe the bug
Basically when the timeline stops it starts again.
Why I think this might be happening
In my testing I figured out that if I use an impult lets call "talk" ti start the timeline and continue the timeline and then end the timeline using the talk input then the timeline restarts.
Expected behavior
When talk is pressed to end the timeline, pressing talk a second time will cause the timeline to start.
Version info:

Windows OS
Godot 4.2.2
Dialogic 2.0 alpha 14

Solutions
Workaround
I used different keys to start and advance the timeline, but I don't find this very appealing.
Possible fixes
I don't really know. If you want to see the script then it is down here:
`func _process(delta):
if player_in_area:
	if Input.is_action_just_pressed("talk"):
		run_dialogue(load("res://dialogue/test.dtl"))`

player_in_area just checks if the player is inside of an area2D.

Can you share the run_dialog() function? It's unclear whether you check at all if any dialog is already running before starting a new one.

K
Here is run dialogue
func run_dialogue(dialoguePath):
print(dialoguePath)
var layout = Dialogic.start(dialoguePath)
layout.register_character(load("res://characters/npcs/hello.dch"), marker)
I'm using a textbubble style so thats why the third line is there.

Hey @KirboTheDirbo,
make sure that you are not starting another dialog if there is already a dialog running.
You can find the code snippet here: FAQ: My input action to start dialog conflicts with the advancing input action]
Let us know if that helps.

I fixed it but I don't know how. Maybe moving it out of the process function is what fixed it but I'm not too sure.


Fix the build error on Linux

On the Linux environment, the libinference_engine_c_api.so in openvino can not be moved to the target path successfully. This PR fixes the corresponding error.

Thanks @lionkunonly, merge it.


UnixFS, some missing commands, gofumpt

Go format with gofumpt tool.
UnixFS VFS implemented.
Change of the signature of some functions from the server package to match Golang's patterns.
Move backend to a dedicated package.
New supported functionalities (at least with UnixFS):

Chown
Rename
Link
Symlink
Readlink

Tests with NFStest 3.2 with the following command nfstest_posix --server localhost --nfsversion=4 --notty --createlog:

access: 37/58 pass
chdir: 6/6 pass
chmod: 2/16 pass
close: 4/4 pass
closedir: 1/1 pass
creat: 8/8 pass
fcnlt: 4/4 pass
fcntl: 30/34 pass
fdatasync: 2/2 pass
fstat: 42/42 pass
fstatvfs: 22/22 pass
fsync: 2/2 pass
link: 6/6 pass
lseek: 10/10 pass
lstat: 42/42 pass
mkdir: 8/8 pass
mmap: 15/15 pass
munmap: 13/13 pass
open: 30/31 pass
opendir: 2/2 pass
read: 5/5 pass
readdir: 3/3 pass
readlink: 9/9 pass
rename: 14/14 pass
rewinddir: 4/4 pass
rmdir: 6/6 pass
seekdir: 5/5 pass
stat: 42/42 pass
statvfs: 22/22 pass
symlink: 4/4 pass
sync: 2/2 pass
telldir: 5/5 pass
unlink: 12/12 pass
write: 10/10 pass

Thank you for this pr! UnixFS is great as it is what I need in next days.

I use gofmt a lot but I see gofumpt generates more clear and structured results. I'll switch to gofumpt for this project.


Add Compress

Compress is a one-click, add-free tool to compress videos, easy to use, and with a customizable output file size, along with a 'Discord mode' that automatically sets the size to 8MB.

Closed source. I hate it. This is not a good entry. Also unrelated to the topic of the repo.


fix PAN-3128 truffle config provider definition

PR description
use the new way to declare provider in Truffle config to prevent multithreaded tests to reach a single provider connections limit.
Fixed Issue(s)

fixes PAN-3128

looks good to me.


node binding is loaded into the electron browser

When spawning an electron window, systemjs-babel-node.js is loaded instead of systemjs-babel-browser.js. Think this is because the environment is being detected as node instead of browser.

Specifically this error is thrown
undefined:1 Uncaught (in promise) Error: (SystemJS) http://localhost:3000/jspm_packages/npm/systemjs-plugin-babel@0.0.12/systemjs-babel-node.js:26786
	  var terminator = argv.indexOf('--');
	                       ^
	TypeError: Cannot read property 'indexOf' of undefined

@guybedford can get around with
SystemJS.config({
  "packages": {
<EMAIL_ADDRESS>{
      map: {
        "systemjs-babel-build": "./systemjs-babel-browser.js",
      }
    }
  }
});

But then hit an issue with process not being defined

Is the process error in this file - https://github.com/jspm/nodelibs-process/blob/master/process-node.js?

What version of Node are you using?

undefined:1 Uncaught (in promise) Error: (SystemJS) http://localhost:3000/jspm_packages/github/jspm/nodelibs-process@0.2.0-alpha/process-node.js:3
	var pEnv = process.env;
	                  ^
	TypeError: Cannot read property 'env' of undefined

which is strange, because when I evaluate window.process i get an object back

v6.3.0 however I think issue is on v5 as well, let me check

Yep, same issue on v5.2.0

You can also check the value of System.import('@node/process').then(function(m) { var process = m.default })... which should be the process object, and if not that is a SystemJS bug in Electron.

I hope this isn't my setup. I took an existing JSPM 17 app, and just put it in electron. Checked it and it works outside of electron via the same port

@alexisvincent I just ran the electron quickstart app and then did System.import('@node/process').then(console.log.bind(console)) and am definitely seeing the right process logged. What mode would I need to run Electron in to reproduce this?


Support command line usage

Migrate to Go modules
Support command line usage
The web API itself is not easy to use for a quick check or in a script.
Add a mode for command line usage that validates a given file.

How to use
cat ignition-config.json | ./container-linux-userdata-validator -check-file /dev/stdin
cat cloud-init-config.yaml | ./container-linux-userdata-validator -check-file /dev/stdin
cat cloud-init-shellscript.sh | ./container-linux-userdata-validator -check-file /dev/stdin
(or without cat or < input-file directly -check-file input-file)
Testing done

did that cleanup, and also added a go builder action


change strcpy to strlcpy

Summary
change strcpy->strlcpy
Impact
Testing

base on https://github.com/apache/nuttx/pull/8629

please rebase to the last master.


Able to set path to upload folders directly on widgets

In my NetlifyCMS config file, I have the following:
Globally:
media_folder: "src/images/upload"
public_folder: "images/upload"
Then in the my collections under fields, I can do something like this:
{label: "Upload Image", name: "image", widget: "image" }
{label: "Upload PDF", name: "pdf", widget: "file" }
Per this configuration, when I published a content, both the PDF file and the image file would be uploaded to src/images/upload. Which is fine.

But I believe this feature can be made better by specifying path to upload folders directly on widgets.
For instance:
After specifying media_folder and public_folder globally, we can also do this:

{label: "Upload Image", name: "image", widget: "image" }

{label: "Upload PDF", name: "image", widget: "file", path: "/path/to/upload" }

The first one will default to the global setting, which is the path to the public_folder (or media_folder).
The second one will now take the new path being specified on its widget, which is now its own path.
This is because, on most occasions, we do separate images from other assets. Even most developers would love separating some images from others.

Hi @delanyodevio thank you for opening this issue. I believe this is a duplicate of https://github.com/netlify/netlify-cms/issues/3201 and is already implemented, just not documented https://github.com/netlify/netlify-cms/issues/3671
There is a PR that tries to improve that https://github.com/netlify/netlify-cms/pull/4705


Clear message that .ts file is not included to project in VisualStudio

In VisualStudio 2017 Enterprise 15.3.5 when ts file is not included by tsconfig.json, it is dificult realise where is the problem.
For example, I have next tsconfig.json:
{
     "compilerOptions": {
         ...
        "experimentalDecorators": true,
     },
    "include": [
        "Content1/**/*.ts*"
    ]
}

And I have ts file  in folder Content (not Content1). I open it in VisualStudio and see many strange errors:

Intelllicesnse says that my tsconfig has no experimentalDecorators flag, but I look at config, and flag is there. It is dificult to understand, that my mistake was that current file is not under "include" pattern.
It would be great if VisualSudio will hint, that file is not included by tsconfig somehow... I spent hours until understood the reason.

We're working on improving this experience (stay tuned on the official VS channels) and are no longer tracking VS-specific issues in this repo.


How to get response headers from ObservableWWW.Post?

Is there any way that I can get the response headers from ObservableWWW.Post?

Ok, I found a way... I was using ObservableWWW.Post instead of ObservableWWW.PostWWW
this way I can get the reponse headers from www.responseHeaders


Fix MinGW cross compilation

Some file systems are case sensitive.
In file included from maxminddb_test_helper.c:11:
maxminddb_test_helper.h:16:10: fatal error: Winsock2.h: No such file or directory
16 | #include <Winsock2.h>
    |          ^~~~~~~~~~~~

It is hard to tell what the canonical name is. The Microsoft docs often refer to it as Winsock2.h and I did see reference to WinSock.2. However, given Microsoft seems to prefer #include <winsock2.h> even when it otherwise calls it Winsock2.h, I will go ahead and merge this. This likely only really matters for people cross compiling.


Failed to start container: FailedSync

I create ACS by json below:

{
"apiVersion": "vlabs",
"properties": {
"orchestratorProfile": {
"orchestratorType": "Kubernetes",
"kubernetesConfig": {
"networkPolicy": "azure"
}
},
"masterProfile": {
"count": 1,
"dnsPrefix": "kubernetescni",
"vmSize": "Standard_D2_v2"
},
"agentPoolProfiles": [
{
"name": "agentpool",
"count": 2,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet"
}
],
"linuxProfile": {
"adminUsername": "chenyl",
"ssh": {
"publicKeys": [
{
"keyData": "xxxxxxxxxxx"
}
]
}
},
"servicePrincipalProfile": {
"servicePrincipalClientID": "xxxxxxxxxxx",
"servicePrincipalClientSecret": "xxxxxxxxxxx"
}
}
}

Then I run the command kubectl run nginx --image nginx
However the container start error:

Events:
FirstSeen     LastSeen        Count   From                                    SubObjectPath   Type            Reason          Message

1m            1m              1       default-scheduler                                       Normal          Scheduled       Successfully assigned nginx-2371676037-2qbpj to k8s-agentpool-40914460-0
53s           53s             1       kubelet, k8s-agentpool-40914460-0                       Warning         FailedSync      Error syncing pod, skipping: failed to "KillPodSandbox" for "6cdc07e9-9c51-11e7-9b21-000d3aa09b41" with KillPodSandboxError: "rpc error: code = 2 desc = NetworkPlugin cni failed to teardown pod "nginx-2371676037-2qbpj_default" network: CNI failed to retrieve network namespace path: Error: No such container: a3b7efc4338a4132d832cc122936380bc7e0c67b6a8eba46dce5029115f76141"
51s   51s     1       kubelet, k8s-agentpool-40914460-0               Warning FailedSync      Error syncing pod, skipping: failed to "KillPodSandbox" for "6cdc07e9-9c51-11e7-9b21-000d3aa09b41" with KillPodSandboxError: "rpc error: code = 2 desc = NetworkPlugin cni failed to teardown pod "_" network: CNI failed to retrieve network namespace path: Error: No such container: 38b690d6457f9c0bd707f79d0d8bee6f85abe596bde2f74e6a386e83e2069c1a"
1m    1s      39      kubelet, k8s-agentpool-40914460-0               Warning FailedSync      Error syncing pod, skipping: failed to "CreatePodSandbox" for "nginx-2371676037-2qbpj_default(6cdc07e9-9c51-11e7-9b21-000d3aa09b41)" with CreatePodSandboxError: "CreatePodSandbox for pod "nginx-2371676037-2qbpj_default(6cdc07e9-9c51-11e7-9b21-000d3aa09b41)" failed: rpc error: code = 2 desc = NetworkPlugin cni failed to set up pod "nginx-2371676037-2qbpj_default" network: failed to find plugin "loopback" in path [/opt/loopback/bin /opt/cni/bin]"
1m    0s      41      kubelet, k8s-agentpool-40914460-0               Normal  SandboxChanged  Pod sandbox changed, it will be killed and re-created.

Hi Zackliu, Can you please check if the node (k8s-agentpool-40914460-0) has loopback plugin installed at /opt/cni/bin. Please list the files in /opt/cni/bin directory for the agent node above.

Hi Zackliu, Were you able to get the information that was asked and will help us debug this?

Hi, sorry for not replying at once. There is only azure-vnet and azure-vnet-ipam in /opt/cni/bin. And I have another problem that seems I can't add public IP for agent node (When I tried to associate to NIC of agent node, nothing happened).

@zackliu, acs-engine had a regression a few weeks ago where they uploaded an incorrect package that did not include the loopback plugin. We fixed that as soon as we noticed it. The easiest way to fix this is to git pull your acs-engine and recreate your cluster.

OK, resolved. Thanks.


The jupyter document replication problem

Hi,
I am recently trying to apply senepy on my work, I firstly rerun the EXAMPLE_USAGE.ipynb document, but my output seems slight different with this files shown.
Here is my output in section: Example analyses
fib_subset.obs.sen_score.hist(bins = 50)

sc.pl.umap(fib_subset, color='sen_score', vmax = 8)

I just simply rerun this jupyter, and not edit any code
My python version is 3.10

Hi! Thanks for trying it out. Can you post all lines of your code?

Hi! Thanks for trying it out. Can you post all lines of your code?

Hi, here is the  jupyter output:
https://mega.nz/file/raQmSaTJ#JACJ51kCacNnbUPiI41jEcUSrJMyDNatHGVTS2o2304
Thank you for your help


Rename bigtable-dataflow-import to bigtable-dataflow-seqio

Now that we support import & export we should stop calling this project import. Not sure if we should add shims for backwards compatibility in bigtable-dataflow-import

@mbrukman Are you ok with the new package name?  We should hold off committing this until you give your approval.

TSV and CSV files would be the next logical additions.

after speaking with @mbrukman, the naming convention should be
artifact: bigtable-dataflow-import-export.jar
package: com.google.cloud.bigtable.dataflow.importexport.sequencefile.
I'll create a new PR for that


Glb file format

When I export a maya scene i obtain several files I don't know if there is implemented somewhere in the exporter to obtain a unique Glb file where all the info is packed.

Can you try passing the -glb flag in the "extra flags" box of the UI?

Just perfect! It works!

I couldn't find extra flags. Could you please help me

Select the object you want to export.
Then in your screenshot, you can see a green glTF to Maya button, top left, in the glTF shelf.
Click it.
Then you will see the extra flags text box.
Enter -glb in it.
Click the export button.
See the readme file in this repository for all the possible flags you can type.


Switch License to MIT license

The MIT License (MIT)
Copyright (c) 2015  Reinventing Geospatial, Inc
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
 IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

here's the in-code text:
/* The MIT License (MIT)
*

Copyright (c) 2015 Reinventing Geospatial, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

 IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/


karma not starting custom browser script correctly

I wrote a bash script looking like follows:
#!/bin/bash
path="$(which google-chrome)"
if [[ -z "$path" ]];
  then path="$(which chromium-browser)"
fi
"${path[@]}"

starting it manually does what it is written for: opens chromium
./karma-chrome-browser.sh  http://localhost:9876/?id=12265363
but this is not working through karma's config file and karma start
browsers: [
      './karma-chrome-browser.sh'
]

I am getting this output:
29 03 2017 12:23:00.639:DEBUG [config]: autoWatch set to false, because of singleRun
29 03 2017 12:23:00.643:DEBUG [plugin]: Loading karma-* from /home/kai/git/fnode/node_modules
29 03 2017 12:23:00.645:DEBUG [plugin]: Loading plugin /home/kai/git/fnode/node_modules/karma-chai.
29 03 2017 12:23:00.646:DEBUG [plugin]: Loading plugin /home/kai/git/fnode/node_modules/karma-chrome-launcher.
29 03 2017 12:23:00.651:DEBUG [plugin]: Loading plugin /home/kai/git/fnode/node_modules/karma-coverage.
29 03 2017 12:23:00.844:DEBUG [plugin]: Loading plugin /home/kai/git/fnode/node_modules/karma-mocha.
29 03 2017 12:23:00.845:DEBUG [plugin]: Loading plugin /home/kai/git/fnode/node_modules/karma-phantomjs-launcher.
29 03 2017 12:23:00.848:DEBUG [plugin]: Loading plugin /home/kai/git/fnode/node_modules/karma-script-launcher.
29 03 2017 12:23:00.849:DEBUG [plugin]: Loading plugin /home/kai/git/fnode/node_modules/karma-sinon-chai.
29 03 2017 12:23:00.868:DEBUG [web-server]: Instantiating middleware
29 03 2017 12:23:00.880:DEBUG [reporter]: Trying to load reporter: coverage
29 03 2017 12:23:00.881:DEBUG [reporter]: Trying to load color-version of reporter: coverage (coverage_color)
29 03 2017 12:23:00.882:DEBUG [reporter]: Couldn't load color-version.
29 03 2017 12:23:01.059:INFO [karma]: Karma v1.5.0 server started at http://<IP_ADDRESS>:9876/
29 03 2017 12:23:01.059:INFO [launcher]: Launching browser ./karma-chrome-browser.sh with unlimited concurrency
29 03 2017 12:23:01.066:INFO [launcher]: Starting browser ./karma-chrome-browser.sh
29 03 2017 12:23:01.067:DEBUG [temp-dir]: Creating temp dir at /tmp/karma-32859949
29 03 2017 12:23:01.067:DEBUG [launcher]: karma-chrome-browser.sh http://localhost:9876/?id=32859949
29 03 2017 12:24:01.123:WARN [launcher]: ./karma-chrome-browser.sh have not captured in 60000 ms, killing.
29 03 2017 12:24:03.126:WARN [launcher]: ./karma-chrome-browser.sh was not killed in 2000 ms, sending SIGKILL.
29 03 2017 12:24:05.128:WARN [launcher]: ./karma-chrome-browser.sh was not killed by SIGKILL in 2000 ms, continuing.
29 03 2017 12:24:05.128:DEBUG [launcher]: Process ./karma-chrome-browser.sh exited with code -1
29 03 2017 12:24:05.129:DEBUG [temp-dir]: Cleaning temp dir /tmp/karma-32859949
29 03 2017 12:24:05.134:DEBUG [launcher]: ./karma-chrome-browser.sh failed (timeout). Not restarting.
29 03 2017 12:24:05.136:DEBUG [karma]: Run complete, exiting.
29 03 2017 12:24:05.136:DEBUG [launcher]: Disconnecting all browsers

Any idea what the reason can be for that behavior? It is my first custom browser script, so this might even be a newbie question.
Karma: 1.5.0

Looks like this is a path issue in karma config as in case I work with the absolute path, it opens chromium.
But browser window is not getting opened with the url required and is getting reopen multiple times because of:
29 03 2017 12:40:01.790:DEBUG [temp-dir]: Cleaning temp dir /tmp/karma-37655633
29 03 2017 12:40:01.792:INFO [launcher]: Trying to start /home/kai/git/fnode/karma-chrome-browser.sh again (2/2).
29 03 2017 12:40:01.793:DEBUG [launcher]: Restarting /home/kai/git/fnode/karma-chrome-browser.sh
29 03 2017 12:40:01.794:DEBUG [temp-dir]: Creating temp dir at /tmp/karma-37655633
29 03 2017 12:40:01.794:DEBUG [launcher]: /home/kai/git/fnode/karma-chrome-browser.sh http://localhost:9876/?id=37655633
29 03 2017 12:40:02.915:DEBUG [launcher]: Process /home/kai/git/fnode/karma-chrome-browser.sh exited with code 0
29 03 2017 12:40:02.917:ERROR [launcher]: Cannot start /home/kai/git/fnode/karma-chrome-browser.sh

Is it possible to get the current work directory in karma config to prepend it dynamically as path to the bash script? The bash script is located in the same path as karma.conf.js.
What does the bash script wrong? If starting it manually the correct url is getting opened.

I've rewritten the bash script to
#!/bin/bash
path="$(which google-chrome)"
if [[ -z "$path" ]];
  then path="$(which chromium-browser)"
fi
#"${path[@]}"
eval "$path" "$1"

which opens now the browser window in general correctly, but It opends multiple times (not sure if that's correct...) and produces the following log
29 03 2017 12:59:33.177:DEBUG [config]: autoWatch set to false, because of singleRun
29 03 2017 12:59:33.181:DEBUG [plugin]: Loading karma-* from /home/kai/git/fnode/node_modules
29 03 2017 12:59:33.183:DEBUG [plugin]: Loading plugin /home/kai/git/fnode/node_modules/karma-chai.
29 03 2017 12:59:33.184:DEBUG [plugin]: Loading plugin /home/kai/git/fnode/node_modules/karma-chrome-launcher.
29 03 2017 12:59:33.189:DEBUG [plugin]: Loading plugin /home/kai/git/fnode/node_modules/karma-coverage.
29 03 2017 12:59:33.377:DEBUG [plugin]: Loading plugin /home/kai/git/fnode/node_modules/karma-mocha.
29 03 2017 12:59:33.378:DEBUG [plugin]: Loading plugin /home/kai/git/fnode/node_modules/karma-phantomjs-launcher.
29 03 2017 12:59:33.381:DEBUG [plugin]: Loading plugin /home/kai/git/fnode/node_modules/karma-script-launcher.
29 03 2017 12:59:33.382:DEBUG [plugin]: Loading plugin /home/kai/git/fnode/node_modules/karma-sinon-chai.
29 03 2017 12:59:33.400:DEBUG [web-server]: Instantiating middleware
29 03 2017 12:59:33.412:DEBUG [reporter]: Trying to load reporter: coverage
29 03 2017 12:59:33.414:DEBUG [reporter]: Trying to load color-version of reporter: coverage (coverage_color)
29 03 2017 12:59:33.414:DEBUG [reporter]: Couldn't load color-version.
29 03 2017 12:59:33.602:INFO [karma]: Karma v1.5.0 server started at http://<IP_ADDRESS>:9876/
29 03 2017 12:59:33.603:INFO [launcher]: Launching browser /home/kai/git/fnode/karma-chrome-browser.sh with unlimited concurrency
29 03 2017 12:59:33.609:INFO [launcher]: Starting browser /home/kai/git/fnode/karma-chrome-browser.sh
29 03 2017 12:59:33.610:DEBUG [temp-dir]: Creating temp dir at /tmp/karma-22757103
29 03 2017 12:59:33.610:DEBUG [launcher]: /home/kai/git/fnode/karma-chrome-browser.sh http://localhost:9876/?id=22757103
29 03 2017 12:59:34.495:DEBUG [launcher]: Process /home/kai/git/fnode/karma-chrome-browser.sh exited with code 0
29 03 2017 12:59:34.496:ERROR [launcher]: Cannot start /home/kai/git/fnode/karma-chrome-browser.sh

29 03 2017 12:59:34.499:DEBUG [temp-dir]: Cleaning temp dir /tmp/karma-22757103
29 03 2017 12:59:34.516:INFO [launcher]: Trying to start /home/kai/git/fnode/karma-chrome-browser.sh again (1/2).
29 03 2017 12:59:34.517:DEBUG [launcher]: Restarting /home/kai/git/fnode/karma-chrome-browser.sh
29 03 2017 12:59:34.517:DEBUG [temp-dir]: Creating temp dir at /tmp/karma-22757103
29 03 2017 12:59:34.518:DEBUG [launcher]: /home/kai/git/fnode/karma-chrome-browser.sh http://localhost:9876/?id=22757103
29 03 2017 12:59:34.539:DEBUG [web-server]: serving: /home/kai/git/fnode/node_modules/karma/static/client.html
29 03 2017 12:59:34.563:DEBUG [web-server]: serving: /home/kai/git/fnode/node_modules/karma/static/karma.js
29 03 2017 12:59:34.917:DEBUG [karma]: A browser has connected on socket gBFrh73FZw2vazWgAAAA
29 03 2017 12:59:34.940:DEBUG [web-server]: upgrade /socket.io/?EIO=3&transport=websocket&sid=gBFrh73FZw2vazWgAAAA
29 03 2017 12:59:35.030:INFO [Chromium 56.0.2924 (Ubuntu 0.0.0)]: Connected on socket gBFrh73FZw2vazWgAAAA with id 22757103
29 03 2017 12:59:35.031:DEBUG [launcher]: /home/kai/git/fnode/karma-chrome-browser.sh (id 22757103) captured in 1.428 secs
29 03 2017 12:59:35.053:DEBUG [middleware:karma]: custom files null null null
29 03 2017 12:59:35.053:DEBUG [middleware:karma]: Serving static request /context.html
29 03 2017 12:59:35.059:DEBUG [web-server]: serving: /home/kai/git/fnode/node_modules/karma/static/context.html
29 03 2017 12:59:35.079:DEBUG [web-server]: serving: /home/kai/git/fnode/node_modules/karma/static/context.js
Chromium 56.0.2924 (Ubuntu 0.0.0): Executed 1 of 39 SUCCESS (0 secs / 0.119 secs)
29 03 2017 12:59:35.859:DEBUG [web-server]: serving (cached): /home/kai/git/fnode/node_modules/karma/static/client.html
29 03 2017 12:59:35.906:DEBUG [launcher]: Process /home/kai/git/fnode/karma-chrome-browser.sh exited with code 0
29 03 2017 12:59:35.906:ERROR [launcher]: /home/kai/git/fnode/karma-chrome-browser.sh crashed.

29 03 2017 12:59:35.907:DEBUG [temp-dir]: Cleaning temp dir /tmp/karma-22757103
29 03 2017 12:59:35.909:INFO [launcher]: Trying to start /home/kai/git/fnode/karma-chrome-browser.sh again (2/2).
29 03 2017 12:59:35.910:DEBUG [launcher]: Restarting /home/kai/git/fnode/karma-chrome-browser.sh
29 03 2017 12:59:35.910:DEBUG [temp-dir]: Creating temp dir at /tmp/karma-22757103
Chromium 56.0.2924 (Ubuntu 0.0.0): Executed 3 of 39 SUCCESS (0 secs / 0.317 secs)
29 03 2017 12:59:36.120:DEBUG [web-server]: serving (cached): /home/kai/git/fnode/node_modules/karma/static/karma.js
29 03 2017 12:59:36.238:DEBUG [karma]: A browser has connected on socket nqjSONXIyj2uPHKrAAAB
29 03 2017 12:59:36.266:DEBUG [web-server]: upgrade /socket.io/?EIO=3&transport=websocket&sid=nqjSONXIyj2uPHKrAAAB
Chromium 56.0.2924 (Ubuntu 0.0.0): Executed 7 of 39 SUCCESS (0 secs / 0.441 secs)
29 03 2017 12:59:37.023:DEBUG [web-server]: serving (cached): /home/kai/git/fnode/node_modules/karma/static/client.html
29 03 2017 12:59:37.037:DEBUG [launcher]: Process /home/kai/git/fnode/karma-chrome-browser.sh exited with code 0
29 03 2017 12:59:37.037:ERROR [launcher]: Cannot start /home/kai/git/fnode/karma-chrome-browser.sh

29 03 2017 12:59:37.037:DEBUG [temp-dir]: Cleaning temp dir /tmp/karma-22757103
29 03 2017 12:59:37.047:ERROR [launcher]: /home/kai/git/fnode/karma-chrome-browser.sh failed 2 times (cannot start). Giving up.
29 03 2017 12:59:37.055:DEBUG [karma]: Run complete, exiting.
29 03 2017 12:59:37.056:DEBUG [launcher]: Disconnecting all browsers
29 03 2017 12:59:37.059:DEBUG [coverage]: Writing coverage to /home/kai/git/fnode/coverage/Chromium 56.0.2924 (Ubuntu 0.0.0)
29 03 2017 12:59:37.165:DEBUG [web-server]: serving (cached): /home/kai/git/fnode/node_modules/karma/static/karma.js
29 03 2017 12:59:37.345:DEBUG [karma]: A browser has connected on socket 8BJm5l1KaPGrU5l6AAAC
29 03 2017 12:59:37.429:DEBUG [Chromium 56.0.2924 (Ubuntu 0.0.0)]: New connection 8BJm5l1KaPGrU5l6AAAC (already have gBFrh73FZw2vazWgAAAA, nqjSONXIyj2uPHKrAAAB)

@papakai I've been having serious problems with Karma 1.5.0 not working at all - I'd rule that out first by trying with 1.3.0

I am not having issues with karma 1.5 at all, working fine. Just the above described issue.

@papakai

Looks like this is a path issue in karma config as in case I work with the absolute path, it opens chromium.

Yup, you should use absolute path because inside karma we use path.nomralize

which opens now the browser window in general correctly, but It opens multiple times (not sure if that's correct...) and produces the following log

It's because when you launch the browser it creates a separate process and returns exit code 0.
You should run browser in the same process with the sh script
I have created working gist - https://gist.github.com/maksimr/f4bd64e08c1cf2bfab0fd2f45aaad006
Thanks

@maksimr many thanks for this, helped really a lot and is doing his job nicely. See my comment on your gist.


Generating multiple elements for query parameter of type array

Good Day,
I would like to ask, for a query parameter that is of type array, how can I generate multiple elements for that parameter. For example, something like /users?id=3,4,5
I have encountered some issues where Restler-test module cannot generate it. To explain, I have modified an existing openAPI specification as shown below which restler-compile was able to compile successfully. The query parameter name service-names is of type array and contains 1 or more strings.
- name: service-names
          in: query
          description: Names of the services offered by the NF
          schema:
            type: array
            items:
              anyOf:
                - type: string
                  enum:
                    - nnrf-nfm
                    - nnrf-disc
                    - nnrf-oauth2
                    - nudm-sdm
                    - nudm-uecm
                - type: string
            minItems: 1
            uniqueItems: true
          style: form
          explode: false

In the user document, testing.md, under the Testing all parameter combinations section, it was mentioned that the command line arguement test_all_combinations may be specified in test mode in order to try all parameter values (up to max_combinations). What I understood from this is that restler-test will try up to max cominations for a given parameter, i.e., 1-combination, 2-combination, 3-combination and so on
However when I tried test_all_combinations, restler-test did a n Choose 1 for the query parameter service-names. In other words, it enumerate through the enum list once and did not do any combinations like this /<URI>?service-names=nnrf-nfm,nnrf-disc,nnrf-oauth2
Below is the output of what restler sent, received by my server. As seen, the array for service-names are all of only size 1.
Got a connection from  ('<IP_ADDRESS>', 36126)
Restler sent:
GET /nnrf-disc/v1/nf-instances?service-names=["nnrf-nfm"] HTTP/1.1
Accept: application/json
Host: <IP_ADDRESS>:7777
Accept-Encoding: fuzzstring
If-None-Match: fuzzstring
Content-Length: 0
User-Agent: restler/8.2.0

Got a connection from  ('<IP_ADDRESS>', 36128)
Restler sent:
GET /nnrf-disc/v1/nf-instances?service-names=["nnrf-disc"] HTTP/1.1
Accept: application/json
Host: <IP_ADDRESS>:7777
Accept-Encoding: fuzzstring
If-None-Match: fuzzstring
Content-Length: 0
User-Agent: restler/8.2.0

Got a connection from  ('<IP_ADDRESS>', 36130)
Restler sent:
GET /nnrf-disc/v1/nf-instances?service-names=["nnrf-oauth2"] HTTP/1.1
Accept: application/json
Host: <IP_ADDRESS>:7777
Accept-Encoding: fuzzstring
If-None-Match: fuzzstring
Content-Length: 0
User-Agent: restler/8.2.0

Got a connection from  ('<IP_ADDRESS>', 36132)
Restler sent:
GET /nnrf-disc/v1/nf-instances?service-names=["nudm-sdm"] HTTP/1.1
Accept: application/json
Host: <IP_ADDRESS>:7777
Accept-Encoding: fuzzstring
If-None-Match: fuzzstring
Content-Length: 0
User-Agent: restler/8.2.0

Got a connection from  ('<IP_ADDRESS>', 36138)
Restler sent:
GET /nnrf-disc/v1/nf-instances?service-names=["nudm-uecm"] HTTP/1.1
Accept: application/json
Host: <IP_ADDRESS>:7777
Accept-Encoding: fuzzstring
If-None-Match: fuzzstring
Content-Length: 0
User-Agent: restler/8.2.0

I have included the files that I used to invoke restler-test here, as well as a simple python server that will send a 400 error back regardless, forcing restler to continue all combination.
Steps:

Run the simple_server.py
dotnet ~/restler_bin/restler/Restler.dll test --grammar_file ./grammar.py --dictionary_file dict.json --settings engine_settings.json --no_ssl --test_all_combinations
Observe output from server as well as restler logs.

Please let me know if I am doing anything wrong, I might be misunderstanding the command line argument test_all_combinations
Thank you!
Regards
Justin

Hi Justin, It seems like we are working on a similar project. Are you trying to fuzz 5G Core networks (Open5Gs ?) SBI interfaces? If so, let's get in touch!


iOS: Notification permission is requested right after initialising WebEngage SDK

We want to manually request permission for push notifications later in the user journey. But, the request is being made right after first app open. The issue is present only in iOS and it works after removing WebEngage SDK initialisation:
WebEngage.sharedInstance().application(application, didFinishLaunchingWithOptions: launchOptions)

@raj-patil53 To disable the push request from WebEngage, set autoRegister to false in didFinishLaunchingWithOptions, utilize the following code:
WebEngage.sharedInstance().application(application, didFinishLaunchingWithOptions: launchOptions, autoRegister: false)
For more details, refer to the official documentation.


run ansible-hardening on the kiosk

Signed-off-by: Adam Miller<EMAIL_ADDRESS>

Need to add how to build the Execution Environment into this.


Unable to push after upgrading to CLI 6.1.0 (The specified key does not exist.)

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

How did you install the Amplify CLI?
sudo npm i -g @aws-amplify/cli@latest
If applicable, what version of Node.js are you using?
12.17.0
Amplify CLI Version
6.1.0
What operating system are you using?
MAC OSX 10.15.2
Amplify Categories
Not applicable
Amplify Commands
pull, push
Describe the bug
After upgrading the CLI from v 3.8.0 to v 6.1.0 AND applying changes and considerations according to the merge documentation I can see a upgrade that seemed to work, however the last amplify push is not possible to do and gives me a none verbose error message that seem to have a number of possible reasons but I cannot solve it.
The stack was just updated a few days before and all is working perfectly with the old 3.8.0
I must upgrade to get the swift support modells so I have no option to go back.
This is the output:
There was an error pulling the backend environment dev.
An error occurred during the push operation: The specified key does not exist.
I have tried to:
amplify push --force
same result
I have tried to make a new folder and pull the backend but there is no AmplifyAppId in the teams file
I also cannot see the amplify app in the amplify console (not sure the console was available when I created the app first place, but this never stoped it from running all good)
When making a amplify pull --appId --envName dev it cannot resolve appID
I cannot locate the app id anywhere in the stack locally and I cannot see it in the amplify console as I said.
Please help
Expected behavior
I am expecting it to push the categories needs to be updated after the upgrade to CLI
cannot find ANY logs directories as specified below under .amplify
Reproduction steps
Cannot revert back so have no option to redo the update
GraphQL schema(s)

# Put schemas below this line

Log output

# Put your logs below this line

Additional information
No response

Trying to trace my problem I have concluded with the DEBUG flag set that the zip file from the backend is retrieved and uncompressed, logs say it is unzipped to amplify/.temp/#back.... but when the script is done and saying zip extraction complete the resulting #current_cloud_backend is in fact directly under amplify/#current.... instead
I guess that might be right, it is extracted form the .temp into amplify/ and then removed. So there is no .temp folder when done.
Too bad I see no more info then:
extract-zip mkdir {
dir: '/Users/jorgenbuder/Documents/Amplify/amplify-js-app/amplify/.temp/#current-cloud-backend/function/sendReport/src',
recursive: true
} +0ms
extract-zip opening read stream /Users/jorgenbuder/Documents/Amplify/amplify-js-app/amplify/.temp/#current-cloud-backend/function/sendReport/src/package-lock.json +0ms
extract-zip finished processing function/sendReport/src/package-lock.json +2ms
extract-zip zip extraction complete +1ms
✖ There was an error pulling the backend environment dev.
An error occurred during the push operation: The specified key does not exist.
and so now I know the backend is pulled but it still claims an error, this is interesting...

After yet another hour with our AWS expert we have tried to compare our projects, the essence of this problem seems to be that my amplify stack is old. It does not have a appID in the sense that new amplify apps have today, for instance he has the AmplifyAppId in the team json file, and I do not. I do not have a instance in Amplify console in AWS and so the remaining question is:
Is it possible to migrate an old amplify stack/project into the latest Amplify context?
So far I would say no, but I would be really interested to know if someone made this trip somehow?
My initial amplify version was pre 3.8.0 I think it was 2.x.x something, now I updated from 3.8.0 into 6.1.0 and this seems to simply not work without manual interaction, if at all.

Hey @Buder :wave: thanks for raising this, and sorry to hear about the experience while upgrading! To clarify, how was the project initialized locally? Are you able to step through amplify init and choose to use an existing environment?

I have the same issue (getting "The specified key does not exist" error).
In my case, it works with<EMAIL_ADDRESS>but after upgrade it to v6.3.1 amplify init doesn't work (neither in v4.31.1).

@josefaidt
I tried amplify init but this time selected a new environment, then it successfully created. But when I checkout to the existing env, I got the same error.
Here is the log after running amplify env checkout dev (dev is the existing env)

2021-10-21T08:38:51.523Z|info : amplify env core checkout dev
2021-10-21T08:38:59.220Z|info : amplify-provider-awscloudformation.system-config-manager.getProfileConfig(["myapp"])
2021-10-21T08:38:59.221Z|info : amplify-provider-awscloudformation.system-config-manager.getProfiledAwsConfig.profileConfig([{"region":"ap-northeast-1","output":"json"}])
2021-10-21T08:38:59.221Z|info : amplify-provider-awscloudformation.system-config-manager.getProfileCredentials(["myapp"])
2021-10-21T08:38:59.234Z|info : amplify-provider-awscloudformation.system-config-manager.getProfileConfig(["myapp"])
2021-10-21T08:38:59.234Z|info : amplify-provider-awscloudformation.system-config-manager.getProfiledAwsConfig.profileConfig([{"region":"ap-northeast-1","output":"json"}])
2021-10-21T08:38:59.234Z|info : amplify-provider-awscloudformation.system-config-manager.getProfileCredentials(["myapp"])
2021-10-21T08:38:59.243Z|info : amplify-provider-awscloudformation.zip-util.downloadZip.s3.getFile([{"Key":"[]rent-[]ud-[]d.zip"},null])
2021-10-21T08:38:59.245Z|info : amplify-provider-awscloudformation.aws-s3.s3.getFile([{"Key":"[]rent-[]ud-[]d.zip","Bucket":"[]ts-[]ev-[]112953-[]ment"}])
2021-10-21T08:38:59.555Z|info : amplify-provider-awscloudformation.aws-s3.getAllObjectKey.s3.listObjectVersions([{"Bucket":"[]ts-[]ev-[]112953-[]ment","Prefix":"hooks/"}])
2021-10-21T08:38:59.670Z|info : amplify-provider-awscloudformation.initialize-env.run.cfn.updateamplifyMetaFileWithStackOutputs([{"StackName":"[]ts-[]ev-[]112953"}])
2021-10-21T08:38:59.672Z|info : amplify-provider-awscloudformation.aws-cfn.updateamplifyMetaFileWithStackOutputs.cfn.describeStackResources([{"StackName":"[]ts-[]ev-[]112953"}])
2021-10-21T08:38:59.958Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[]rmation:ap-[]east-[]26:stack/[]ts-[]ev-[]112953-[]nots-[]RYR78/[]b520-[]09-[]ea-[]72-[]766b8"}])
2021-10-21T08:38:59.960Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[]rmation:ap-[]east-[]26:stack/[]ts-[]ev-[]112953-[]69764fa-[]XZVOGR/[]eef0-[]08-[]ea-[]ba-[]76b48"}])
2021-10-21T08:38:59.961Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[]rmation:ap-[]east-[]26:stack/[]ts-[]ev-[]112953-[]eResizer-[]A8R32/[]8880-[]09-[]ea-[]5e-[]5a6ba"}])
2021-10-21T08:38:59.962Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[]rmation:ap-[]east-[]26:stack/[]ts-[]ev-[]112953-[]sTagCount-[]UU8TN8/[]7c10-[]09-[]ea-[]e4-[]58df2"}])
2021-10-21T08:38:59.963Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[]rmation:ap-[]east-[]26:stack/[]ts-[]ev-[]112953-[]loudFront-[]ENCSP/[]ee60-[]08-[]ea-[]37-[]01aee"}])
2021-10-21T08:38:59.964Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[]rmation:ap-[]east-[]26:stack/[]ts-[]ev-[]112953-[]images-[]SBDPW/[]b300-[]08-[]ea-[]7e-[]cd9e4"}])
2021-10-21T08:39:00.325Z|info : amplify-provider-awscloudformation.aws-s3.s3.getFile([{"Key":"[]ify-[]json","Bucket":"[]ts-[]ev-[]112953-[]ment"}])
2021-10-21T08:39:00.430Z|error : amplify-provider-awscloudformation.aws-s3.s3.getFile([{"Key":"[]ify-[]json","Bucket":"[]ts-[]ev-[]112953-[]ment"}])
NoSuchKey: The specified key does not exist.

Hey @taneba and @Buder just wanted to follow up and see if you are still experiencing this issue?

Hi
Yes I am, there is nothing that has changed. My stack in the old account is
"locked" since I cannot update it or maintain it.. :(
And I have not had the time to show you the differences.
I have already in detail explained the problem with the key is that is
missing that is required to fynktion with the later amplify console.
Without it it does not work. And there is no way I can repair it..
/Jörgen..
Den tis 30 nov. 2021 22:16josef @.***> skrev:

Hey @taneba https://github.com/taneba and @Buder
https://github.com/Buder just wanted to follow up and see if you are
still experiencing this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aws-amplify/amplify-cli/issues/8317#issuecomment-983027746,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAESJOX6L4WLQUNX43DCEKDUOU5LRANCNFSM5FBW2ELQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hey @Buder sorry to hear about that! Were you able to successfully update the GraphQL/AppSync API key as shown in the documentation linked in the previous reply? Also, can you verify whether your amplify/backend/amplify-meta.json file includes an AmplifyAppId in providers.awscloudformation?

Hey @Buder just wanted to follow-up on my previous comment to see if you were able to successfully update the API key and verify the information in the amplify-meta.json file?

No net yet, has been a very stressful holliday with lots of work...
/J
On Tue, Jan 4, 2022 at 5:28 PM josef @.***> wrote:

Hey @Buder https://github.com/Buder just wanted to follow-up on my
previous comment to see if you were able to successfully update the API key
and verify the information in the amplify-meta.json file?
—
Reply to this email directly, view it on GitHub
https://github.com/aws-amplify/amplify-cli/issues/8317#issuecomment-1004955109,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAESJOQGZ2O5BSNN45EAWK3UUMN3PANCNFSM5FBW2ELQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Jörgen Buder
Solution Architect
Purple Scout AB
Stortorget 29
211 34 Malmö
An Appcelerator Premium Partner, Training partner and Certified Instructor.
mobile: + 46 708 737879
www.purplescout.se

Closing due to inactivity. @Buder if you are still experiencing this issue please reply back to this thread and we can re-open to investigate further 🙂


Add ability to backup the database

SQLite provides an Online Backup API to make a copy of the whole database without closing it.
This pull request adds the method backup to Blackbird.Database to use said API in a simple manner.

Great work! Thanks.


Update active-directory-devquickstarts-webapp-dotnet.md

yay! my first PR! :)
replaced the word 'controller' by 'action'

@dstrockis - Please review the proposed changes.  Thanks

#sign-off, thanks @BelRarr!

Yeah, thanks @dstrockis!
Le 3 oct. 2017 1:29 PM, Danny Strockis<EMAIL_ADDRESS>a écrit :
#sign-off, thanks @BelRarrhttps://github.com/belrarr!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/pull/3290#issuecomment-333919073, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Ae8NwVimPAZKBfgFwjv93s0hte6NoofLks5som8HgaJpZM4PqH78.


Use in React??

Howcome the buttons don't show up?

Hello all I am e beginner in open source and have a basic knowledge of javascript and want to get started with contributing to this project!Can somebody please help me?

So in React, you will have to initialize AmplitudeJS after the elements are in the document. I'm familiare with VueJS and the the equivalent in VueJS would be the lifecycle hook of "mounted()". The elements have to be in the document before we can bind actions to them. Let me know if this helps!

@danpastori @DavidSSchwartz @arunikayadav42
The  componentDidMount function is what you talking about !
See https://reactjs.org/docs/react-component.html#componentdidmount


[MRG]chapter_preliminaries/ndarray&pandas

Job d2l-zh/PR-561/1 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-561/

Job d2l-zh/PR-561/2 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-561/


Read Mail link not working

Read User Mail link is not working after the theme update.

What theme version do you have installed. What Webmin version?
Mail link doesn't work where? Navigation menu? Are there errors in browser's console?

Webmin 1.890 ... and the Authentic Theme 19.20-beta1
Ream Mail links not working
On Sat, Jul 28, 2018 at 2:13 AM Ilia Rostovtsev<EMAIL_ADDRESS>wrote:

What theme version do you have installed. What Webmin version?
Mail link doesn't work where? Navigation menu? Are there errors in
browser's console?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/authentic-theme/authentic-theme/issues/1177#issuecomment-408585976,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZJs4pjca9F7BfpMhcxPJG6-Zq3IMP5Pks5uLAD7gaJpZM4Vk7FG
.

Hi,
I confirm that this is my bug.
I will fix it in not time.

Please update.
Try new mail in Usermin and share your experience please.
It's important to me.


Migrate RelayLegacyDto to zod

Summary
This migrates the validation of RelayLegacyDto to zod.
Changes

Remove RelayLegacyDtoValidationPipe and associated schemas.
Add test-covered RelayLegacyDtoSchema and infer types from it.
Propagate type requirements.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

8 of 8 (100.0%)  changed or added relevant lines in 3 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.05%) to 93.11%

Files with Coverage Reduction
New Missed Lines
%

src/routes/transactions/mappers/common/transaction-info.mapper.ts
1
73.98%

Totals

Change from base Build<PHONE_NUMBER>:
-0.05%

Covered Lines:
6496

Relevant Lines:
6722

💛  - Coveralls


Box box collider fix

Checking, if edges are almost parallel, before checking edge-edge collisions.

Thanks!

Will there be an updated Nuget Packet?

I suppose so: https://www.nuget.org/packages/BEPUphysics/1.5.2


RxMobius: Adds support for RxJava3

@pettermahlen | @togi is this something we would want? RxJava got released ~2 months ago and some open source libraries already provided some bindings
https://github.com/JakeWharton/RxBinding/blob/master/CHANGELOG.md#version-300-2019-07-23
https://github.com/akarnokd/RxJavaRetrofitAdapter
https://github.com/ReactiveX/RxAndroid/releases/tag/3.0.0


[CORE-1532] Added build script and Dockerfile to build AWS Lambda art…

Fork of https://github.com/aws-samples/aws-secrets-manager-ssh-key-rotation/tree/master/lambda

This seems fine for now? But at some point should have a conversation with PE folks (maybe @lub0v-parsable?) about how we want to go about building lambdas. This seems to use docker to build which is good, but we're not using our internal "official" list of docker images/ not building it via Jenkins. Even though this isn't like an application and is just purely internal tool to help rotate root ssh keys, I feel like we should to follow as much of their desired build process as possible.

This seems fine for now? But at some point should have a conversation with PE folks (maybe @lub0v-parsable?) about how we want to go about building lambdas. This seems to use docker to build which is good, but we're not using our internal "official" list of docker images/ not building it via Jenkins. Even though this isn't like an application and is just purely internal tool to help rotate root ssh keys, I feel like we should to follow as much of their desired build process as possible.

@jfreemanparsable @tomoyaogura is this something we're going to build frequently or it is a one-time process?
in the first case, we should create a simple Jenkinsfile to build it, but if it is a one-time tool we may leave it as is as long as it is properly documented.


fully supports comparison for data in Array data with all comparator …

JIRA Ticket(s) if any

MOB-9146

Description
Fully supports comparison for data in Array data with all comparator types

Verified array data matching works properly


No provider available for the service from registry

我们鼓励使用英文，如果不能直接使用，可以使用翻译软件，您仍旧可以保留中文原文。
We recommend using English. If you are non-native English speaker, you can use the translation software.
Which Component
Nacos Discovery
dubbo provider
Describe the bug
A clear and concise description of what the bug is.
when i use spring cloud alibaba 2.2.1,i use nacos ,and config consumer.check with false;
dubbo:
consumer:
check: false
sometimes some provider can use,and sometimes i get error with 'No provider available for the service from registry'.
i also had trouble with nacos: when i refresh in nacos main page after use it a period of time,my service disappear intermittent
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
java8
spring cloud alibaba 2.2.1
spring boot 2.2.1
nacos  1.3.2
centos7

#1581
like bug 1581,if i use nacos as dubbo.registry.address , it could run well, but when i use spring-cloud as dubbo.registry.address, i run with this bug

no body repair this bug

这个问题修复了？？？？


Add command to show current main release

Would be good to have a command that shows the current release connected to main.

Implemented via the hx-deploy-tool proxy-status command


JSON output

I tested the tool and wanted to use it for a non libgdx project. Unfortunately it does not output in JSON but some weird json like format where the keys and string values are not quoted. Is it possible to output in real JSON?

Not yet, I will add that as option for exporter.

Done, to use normal JSON format, go to Settings -> Export, press Settings button and uncheck "Use minimal output type"


PFE-11: Updated font for skip-link

Description
Skip-link got the wrong font. Should be Futura PT W08 Book.

Changed font for skip-link.
Motivation and Context
It was the wrong font.

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have updated the CHANGELOG document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Review instructions
Review instructions

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


Unable to change Predefined Calendar[BUG]

Describe the bug
I installed Simple Calendar along with some Forbidden Lands modules. I tried to change the Simple Calendar predefined calendar to something else then Gregorian (which is the default). However, it doesn't work. It doesn't matter what I change it to (Forbidden Lands or any of the other calendars that come with Simple Calendar).
I can click the dropdown menu, select another calendar. Then I hit Apply, I do get the confirmation window warning me that it will overwrite all existing calendar configurations. I hit Apply again. As expected, the confirmation window disappears but the dropdown menu goes back to Gregorian.
To Reproduce
Steps to reproduce the behavior:

Open Simple Calendar configuration.
Under General Settings, under the header Quick Setup, change the value of Predefined Calendars to something else.
Click on the green Apply button.
Click on the Apply button in the confirmation window.

Expected behavior
I would expect to either get an error message if something is wrong, or for the Predefined Calendar change to be applied.
Screenshots
If applicable, add screenshots to help explain your problem.
Foundry Information

Foundry Version: 0.8.9
Game System: Forbidden Lands
Simple Calendar Configuration: Default configuration.

Browser (please complete the following information):

OS: Windows 10 Pro 64-bit (10.0, Build 19042)
Browser: Not applicable
Browser Version Not applicable

Additional context

The predefined option isn't really a setting in of itself. It is just used to update all of the other configuration settings with the relevant options for that calendar.
When you click apply and save the configuration the calendar should still update to reflect the calendar that you selected and all of the other configuration settings should be updated to that calendar as well. Which is the most important part.


Use URLs to specify data sources

Instead of __EMPTY__ we use empty://. Instead of __SIMULATED__ we use things like simulated://?numCalls=5&numReferencesPerReferenceSet=1 (and pull the un-specified values from the config). Currently-used file paths get automatically turned into file:// URLs, and file:// URLs can be accepted.
Unless your config requested __EMPTY__ or __SIMULATED__, this is backwards-compatible. It also potentially will let us do stuff like mysql:// in the future if we get more different backends. Maybe one for graphdatabase://?
I sort of thought this might help with #717, keeping with the theme of improving the simulated backend.

hm, interesting idea.  I do agree it is more forwards-compatible.  I don't have any strong objections.  @jeromekelleher  ?

although, smashing together all of the simulated variables into a URL loses some clarity

Nice idea @adamnovak, nice idea. Not sure I like the idea of adding the variables as URL parameters, but the prefix idea is good.
Also, I think the empty backend is superfluous and we should just get rid of it.

If you don't want to smash the variables together, you can just use the config options. It seems like it would be nice if the URL could encode all the config, but maybe something with as many options as the simulator backend (especially if you want to override them all) would be better served by using the config variables.

I think this is a good approach. We'll need to revisit our config if/when we move to CherryPy, so there's no point in putting too much effort in right now. However, the URL approach is a definite improvement, so is a good addition.

I've changed it up a bit; I'm using parameters in the URLs when there are only a couple non-default parameters. and using the config value syntax where there are more. I think this looks cleaner.

Alright, I've finally satisfied PEP8 and made this vaguely robust.

If empty isn't superfluous, it could be spelt in URL form as about:blank :smile:

Possibly.
I (as the person who wrote this) think we should merge this and then worry
about dropping the empty backend later.
-Adam
On Mon, Oct 19, 2015 at 10:41 AM, John Marshall<EMAIL_ADDRESS>wrote:

If empty isn't superfluous, it could be spelt in URL form as about:blank [image:
:smile:]
—
Reply to this email directly or view it on GitHub
https://github.com/ga4gh/server/pull/749#issuecomment-149235780.

I'm still not crazy about having the parameters for the simulated backend embedded in the string. We're making an already horribly complicated function even more complicated for a very limited use-case (creating simulated backends for testing in a couple of lines less code). I hope we'll be able to dump all of this Flask-config horribleness and replace it with something sane and hierarchical at some point, so I don't see much value in making what we have more elaborate (and difficult to maintain).
100% enthusiastic about the file://, simulated:// and empty:// prefixes though (we can drop empty soon).

So you want to see just "simulated://", with all the parameters going
through the config file variables?
I guess it makes sense not to have multiple ways to do things.
On Wed, Oct 21, 2015 at 12:13 PM, Jerome Kelleher<EMAIL_ADDRESS>wrote:

I'm still not crazy about having the parameters for the simulated backend
embedded in the string. We're making an already horribly complicated
function even more complicated for a very limited use-case (creating
simulated backends for testing in a couple of lines less code). I hope
we'll be able to dump all of this Flask-config horribleness and replace it
with something sane and hierarchical at some point, so I don't see much
value in making what we have more elaborate (and difficult to maintain).
100% enthusiastic about the file://, simulated:// and empty:// prefixes
though (we can drop empty soon).
—
Reply to this email directly or view it on GitHub
https://github.com/ga4gh/server/pull/749#issuecomment-149997445.

So you want to see just "simulated://", with all the parameters going
through the config file variables?

That's the idea.

OK I've changed back to the config parameters instead of query parameters. I also had to tweak the dependency versions to get the tests to run on my Ubuntu 12.04 machine with the venerable Python 2.7.3, and (as I had forgotten how to actually run the tests, and I didn't see it documented anywhere) I made a note in CONTRIBUTING.md that you should test with nosetests.

Looks good @adamnovak, thanks. +1 on the latter two commits.
One final question on the first one: what happens when no prefix is specified? If we throw an error then we'll need to go through the docs and the docker images to make sure they are updated. If not, +1.

How's this looking @adamnovak? Will ordinary file paths work without the "file://" prefix?

Yes, ordinary paths are given the file prefix by default. See https://github.com/ga4gh/server/pull/749/files#diff-0ffa05ceeab404c46544eb9c7d18e46aR178
Note that you can do file:///absolute/path/to/file or file:relative/path/to/file or even relative/path or /absolute/path, but file://first-path-component/rest/of/path is out of spec for a file URL (and refers to a remote host named first-path-component).

Great, thanks @adamnovak. Merging.


[atk] update to 2.24.0

Also fix non-Unicode character to avoid warnings when compiling with /utf-8 (this patch may look confusing in GitHub's UI, but in pracitice it just replaces Windows-1252 encoded ñ with UTF-8 encoded ñ).

Thanks!


pkg/cmd: bump pebble nightly runtime

https://github.com/cockroachdb/cockroach/pull/71943 --- Release note (<category, see below>):

No doc impact.


Mysterious crashes of explorer.exe?

I've been experiencing mysterious crashes sometimes of explorer.exe since Windows Anniversary update, not sure can this DLL cause those, but this is a note to myself to investigate.
If someone else is suspecting this DLL and are experiencing similar, thumb this up please.

Found it, fixed in latest DLL. If you called IsPinnedWindow with 0 as HWND it crashed the explorer.exe. If you are using old version, don't do that, ha!


keep the pull request #28

In case we would like to merge it /c @ttoine

should we ?
then, we should also credit the author in a commit or in the merge.

Yep, if you want to keep the PR, you must at least keep the original history.

The branch has been deleted, I can only retrieve the patch file from original PR.


#106 adding support for native attributes for @Watch rule

To prevent seeing the warnings detailed in issue #106, I added a check against known global attributes for HTML elements.

Thanks for the contribution, @laddi-netapp. 🎉

Thanks for the contribution, @laddi-netapp. 🎉

You are most welcome! 😄


Publish command set?

Hi @n8jja, thanks for taking this up!
You said in the Pat VARA issue that you have been in contact with VARA's author Jose Alberto Nieto Ros and that he gave you command set documentation. Is that something that you can share widely in this repo, or does Jose want to keep the command set documentation somewhat proprietary? Can you at least share it with me and other Pat developers, or do we need to get in contact with Jose individually?
Thanks for spurring this conversation!
P.S. I tried to get a hold of you by email at n8jja.com, but it couldn't be delivered; please double-check your DNS MX record.

Hi!
Yes...the email issue has been fixed!  I have posted the command list to the repo as of today.  Please let me know if you have any other questions!
Jeremy
N8JJA


Don't forward signals to roomgraph worker processes

Call os.setpgrp() in worker processes to avoid SIGINTs to be forwarded to them when the roomgraph bot is started from the command line and subsequently terminated with CTRL-C. The SIGINTs received by worked processes caused them to raise a KeyboardInterrupt and exit with a traceback.
This commit also fixes a minor exception propagation problem in the related code block.

What was the minor problem with exception propagation?
I tried to read the docs, but only difference I found was that new version catches smaller subset of exceptions than the old one. Specifically:
>>>
 class Bad():
...     pass
...
>>> try:
...     raise Bad
... except BaseException:
...     print "base"
... except:
...     print "all"
...
all
>>>

You're right! The problem was specifically in this part:
try:
    ...
except:
    yield own_conn.close()
    raise

An exception got raised inside the try block gets reset by yield own_conn.close(), and the raise statement is then effectively raise None. I noticed this when I first had a typo in the os.setpgrp call, which raised an exception :)
I modified the code (see c70c0a5) to handle all raised things like previously.


Error with webpack/buble @next

I call import test from 'vue-infinite-loading' in my js-file. Now i get an error message from webpack/buble: Module build failed: SyntaxError: 'with' in strict mode (1:9374)
I use the @next version with vue2.0

I got it. I just have to exclude the node_modules in my buble-loader: exclude: /(node_modules)/

I got it. I just have to exclude the node_modules in my buble-loader: exclude: /(node_modules)/

Exactly how do you do this?

Do you use Laravel?
Than use this package 'https://github.com/vuejs/laravel-elixir-vue-2' or add the following code to your gulp file
elixir.ready(function() {
    Elixir.webpack.config.module.loaders = [
        { test: /\.vue$/, loader: 'vue' },
        { test: /\.js$/, exclude: /(node_modules)/, loader: 'babel' }
    ]
});

Thanks for the help. I am using Laravel and installed elixir-vue-2. I have added your code to gulpfile and get now this error: "{ [Error: Entry module not found: Error: Can't resolve 'babel' in 'c:\xampp\htdocs\b2c2'
resolve 'babel' in 'c:\xampp\htdocs\b2c2'"
here is my gulpfile;
``const elixir = require('laravel-elixir');
require('laravel-elixir-vue-2');
elixir.ready(function() {
Elixir.webpack.config.module.loaders = [
{ test: /.vue$/, loader: 'vue' },
{ test: /.js$/, exclude: /(node_modules)/, loader: 'babel' }
]
});
elixir(mix => {
mix.sass(['app.scss', 'chat.scss'])
.webpack('app.js')
.webpack('chat.js');
});

ah sry Laravel elixir use buble instead of babel.
I think you dont need to add the elixir ready part. It is part of the laravel-elixir-vue-2 package
try this:
const elixir = require('laravel-elixir');
require('laravel-elixir-vue-2');

elixir(mix => {
  mix
   .sass(['app.scss', 'chat.scss'])
   .webpack('app.js')
   .webpack('chat.js');
});

if that not work try this:
const elixir = require('laravel-elixir');
require('laravel-elixir-vue-2');

elixir.ready(function() {
  Elixir.webpack.config.module.loaders = [
    { test: /.vue$/, loader: 'vue' },
    { test: /.js$/, exclude: /(node_modules)/, loader: 'buble' }
  ]
});

elixir(mix => {
  mix
    .sass(['app.scss', 'chat.scss'])
    .webpack('app.js')
    .webpack('chat.js');
});

When trying to use buble I get this error
 Entry module not found: SyntaxError: c:\xampp\htdocs\b2c2\node_modules\buble-loader\package.json (directory description file): SyntaxError: Unexpected token } in JSON at position 2559]

I get the error now even with my previous configuration!

Okay. I got rid of all errors after destroying the node_modules folder and reinstalling it with npm install. Now I just have to figure out how to use infinte loading within my app :) thanks


Inserting a new line doesn't work after Find (Firefox)

VSCode Version: code-server2.1692-vsc1.39.2-linux-x86_64 and a few previous
OS Version: Fedora 31

Firefox 70 @ Windows 10 1909
Description
I am running VS Code remotely via code-server.
When I use Find function to search something, then press Esc to exit search field and try to insert a new line by Enter, the search field is opened instead of inserting a new line.
It works fine in Chrome though.
Steps to Reproduce

Ctrl+F, type a text, press Enter
press Esc to exit search field, eventually press End to deselect found text
press Enter
search field is opened again instead of inserting a new line

Does this issue occur when all extensions are disabled?: Yes

A similar issue was reported for the monaco-editor. The cause and fix should be the same, so I'm linking it here:
https://github.com/microsoft/monaco-editor/issues/1637

A similar issue was reported for the monaco-editor. The cause and fix should be the same, so I'm linking it here:
microsoft/monaco-editor#1637

Yes, monaco playground behaves the same on my side.

@waclaw66
I wonder if this issue is reproducible when running VSCode in a browser. We allow to run VSCode in a very simplified form in a browser following these steps:

setup to be able to run VSCode out of sources: https://github.com/microsoft/vscode/wiki/How-to-Contribute
run yarn web from a command line
it should open a browser with VSCode running

If you are not able to set this up, we also provide a hosted version of VSCode for Web at: https://vscode-web-test-playground.azurewebsites.net
Does the issue reproduce in that setup in the browser?

I just tried the web version and it reproduces there, too.

@bpasero I have tested the playground on azurewebsites and the issue is reproducible.

Thanks for testing 👍

This problem happens to me too, when using codercom/code-server:2.1688-vsc1.39.2 in Firefox Linux. Enter starts working again when you close the Find box enough times by clicking it instead of pressing Escape.


Add overwrite-settings to disable overwriting settings.xml

In some scenarios there's already a valid Maven settings file which shouldn't or cannot be overwritten by actions/setup-java.
The overwrite-settings (default: true) configuration setting enables users to disable the generation of the Maven settings file by actions/setup-java.
Closes #79
Refs joschi/setup-jdk#11

Anything holding this?

@clarkbw @konradpabjan Is there any interested in me updating this PR to the latest main branch or should we close this PR?

Closing as duplicate of https://github.com/actions/setup-java/pull/136