Device network requirements

I'm new with LwM2M and CoAP. Reading documentation and specifications I don't well understand how the server can read data from the device or notify it of something. In the past I always used MQTT, where it is always the device that connect to the server and receive message from it.
Some questions:

With LwM2M both the backend server (the server) and the device (the client) will listen to CoAP requests? They both act like a server?
The device need to open CoAP port and the server will contact it directly?
How this is supposed to work when the device is inside a NAT and the server is outside? The device need to register using queue mode?
If a device is behind NAT the UDP socket remains open and the server can contact the device within a short period of time only?
With queue mode it is always the device that decide when to start the connection and in this period can accept ?

I appreciate if you can point me to some documentation that explain better the communication workflow.
thanks!

They both act as CoAP server and CoAP client.
No exactly, the LWM2M client first acts as a CoAP client by sending a register request to the LWM2M server. Now the LWM2M server know the address and port used by the LWM2M client. The LWM2M server could now acts as a CoAP client to send request (like read, write) to the LWM2M client.
Exactly. Using queue mode the communication will always be initiated by the LWM2M client so even if its IP changed, the server should be able to send its request.
That's right.
You get it.

I have no better input than the specification itself sry ... Maybe you can find more information in our wiki

Thanks very much @sbernard31 !
This is based on a NAT traversal technique (https://en.wikipedia.org/wiki/NAT_traversal) or it is something standard with UDP?

Sorry but I don't get it.
What is "this" or "it" ?

I mean the fact that a Leshan server can contact a device behind a NAT as you have explained (only if the device has previously contacted the server).
It is possible due to the nature of UDP and NAT? As explained here: https://tools.ietf.org/html/rfc4787
Or it is something implemented inside Leshan/CoAP?

That's it ! It is possible due to the nature of UDP and NAT. The "route" is open for few seconds/minutes depending of NAT configuration.

Thanks!


Add quarkus tests

This issue is to add quarkus java testing to the external test group, and put a placeholder for the native tests (if we end up tying a graalvm build into our regularly scheduled pipelines).

Grinder with quarkus_java_test ( exclude: quarkus-documentation, which either failedd or hung):
https://ci.adoptopenjdk.net/view/work in progress/job/Grinder_Sandbox/1015/testReport/
With :quarkus-documentation
Failed:
https://ci.adoptopenjdk.net/view/work in progress/job/Grinder_Sandbox/1004/console
Hung:
https://ci.adoptopenjdk.net/view/work in progress/job/Grinder_Sandbox/1010/
https://ci.adoptopenjdk.net/view/work in progress/job/Grinder_Sandbox/1011/
hung happened when doing:
Downloaded from central: https://repo.maven.apache.org/maven2/org/jruby/jruby-stdlib/<IP_ADDRESS>/jruby-stdlib-<IP_ADDRESS>.jar (11 MB at 3.6 MB/s)
or:
Downloaded from central: https://repo.maven.apache.org/maven2/org/jruby/jruby-core/<IP_ADDRESS>/jruby-core-<IP_ADDRESS>.jar (10 MB at 1.5 MB/s)
Both related with jruby

Thanks pushing this forward, and for the update @sophia-guo - with this, I think we can prepare a PR, leaving the quarkus-documention piece excluded for now.

Opened https://github.com/eclipse/openj9/issues/8237 to raise awareness of the LogManager initialization behavioural differences.

Jenkins jobs have been added to https://ci.adoptopenjdk.net/view/Test_external_weekly/, which should be triggered on Jan 12. Will keep an eye on it.

FYI Grinder quarkus_java_test with openjdk8-openj9 ( exclude: quarkus-documentation, which either failed or hung)

Does this only fail / hang on OpenJ9?  If so, please raise a defect for this at the OpenJ9 project and we'll investigate further

Yes, quarkus-documentation fails only openj9, we will be raising an issue shortly after gathering some additional info.

Opened hang issue on https://github.com/eclipse/openj9/issues/8303


"Go back" Jumps to different editor when in split editor mode with same File

VSCode Version: 1.44.2
OS Version: ubuntu 18.04

If you like split mode + Jump to definition then this feature/bug is very annoying.
If you have a file you are working on and you have two editors of that file open:
One for writing code and one for looking around / changing types.
Then if you "Go to definition" while coding (in your main editor), and jump to another file.
Vscode is now treating your look around editor with the file you were working on as your main editor.
Meaning that now the "Go back" command will not reopen the file in your current editor but instead jump to your other editor.
The behavior is very unexpected/disrupting and feels very buggy.
Steps to Reproduce:

Open File A
Split Editor creating Editor A and Editor B both with File A
In Editor A run "jump to definition" in File A jumping to File B
In Editor A run "Go back" while on File B
Observe Editor B jumping to where you last were on Editor A

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

@bpasero which issue is it a duplicate of? #83907 has nothing to do with this issue.

Quite sure: https://github.com/microsoft/vscode/labels/workbench-history

To anyone like me who could find the issue, the one that is related (but is having the problem show up in a different way) is: https://github.com/microsoft/vscode/issues/9526


Streamline releasing and testing

This is a PR about streamlining param releases (fixes #167), and
improving testing.

(1) Added conda recipe and package upload

    Builds and uploads conda packages for (non-PR/simulated) commits
    to master.  I.e. latest master is always available as a conda
    package from anaconda.org/cball/param.

(2) Added pypi package building and uploading

    For tags, builds sdist and universal wheel, and uploads to
    test.pypi (simulating actual releases to pypi).

(3) Enabled testing on Windows via Appveyor.

    Param is pure python, but it's useful to test on windows to catch
    accidental platform specific content (whether that's code,
    developer workflow, testing, or whatever). Fixes #195.

(4) Use tox for testing

    There is now very little scripting in the travis and appveyor
    config files (except for conda, which has no integration with
    travis). The same tests can be run locally as on CI. Nothing is
    platform specific.

    Tox not only tests 'python setup.py develop', but also creates an
    sdist, installs it, and tests it. Fixes #192.

    Changes include:

      * Moved dependencies out of platform-specific travis file and
        into setup.py (if genuine dependency) or tox (if test
        dependency).

      * Now tests that optional dependencies are actually
        optional. Previously, many other packages were present in the
        test environment. Have also started to test that specific
        functionality works when the optional dependencies are
        present. Fixes #189.

      * Fixed running of flake8.

      * Warnings during tests are now displayed (fixes #86).

    Being python only, param can take advantage of the standard python
    ecosystem, so unfortunately not all of this approach is suitable
    for conda-dependent packages.

Also, minor updates to README, inclusing coverage badge (not sure why
hiding it makes sense; closes #65).

Still got two things to address.
Can't build or test sdist between releases
sdist is the basis of a lot of packaging, and those packages are things that actually get installed, so it makes sense to test sdist. However, can't currently do that:
$ git status
On branch pkg
Your branch is ahead of 'origin/pkg' by 1 commit.
  (use "git push" to publish your local commits)
nothing to commit, working tree clean
$ git describe --dirty
v1.5.1-29-g400ab17
$ python setup.py sdist
Traceback (most recent call last):
  File "setup.py", line 45, in <module>
    param.__version__.verify(setup_args['version'])
  File "/Users/cball/code/ioam/param6/param/version.py", line 316, in verify
    raise Exception("Supplied string version does not match current version.")
Exception: Supplied string version does not match current version.

"Latest master" conda packages will not have useful version info
Although the packages themselves will have a reasonable version (see https://github.com/ioam/parambokeh/pull/15), the installed param package will have a version of just e.g. 1.5.1.

I'm not sure about the status of your two TODO items; looks like one can only be tested once on master

Right

but I'm not sure about the other one

This is the one I need to do something about (not just for this PR, but for parambokeh conda packages too). There are two parts to it.
First, I'd like the python package in the conda package to have a meaningful version. I'm considering something like this (proposed by Jean-Luc): python -m param.version --set-conda-info ., which could add __version__.commit_count = <N> and __version__.commit = <SHA> after the existing __version__ in __init__ (would need to change those being from read-only properties in param.version).
Second, I can't actually make sdist between tags at the moment, even to test them, without commenting out a version check. Jean-Luc has proposed modifying the commented-out guard in setup.py to if ('upload' in sys.argv) or ('sdist' in sys.argv) and not 'PARAM_DISABLE_VERSION_CHECK' in os.environ:, so I'm considering that. (E.g. I don't even know if 'upload' is a relevant argument or not any more for pypi uploading - need to check.)

The recent hacks mean this can't currently be merged. But they show behavior that's getting closer to what I want.
$ git describe --dirty
v1.5.1-27-gf7e059d
$ PARAM_MAKING_UNOFFICIAL_RELEASE=1 python setup.py sdist
[...]
creating param-1.5.1.dev27+gf7e059d
[...]
$ mv dist/param-1.5.1.dev27+gf7e059d.tar.gz /tmp/
$ pushd /tmp/
$ tar xf param-1.5.1.dev27+gf7e059d.tar.gz
$ cd param-1.5.1.dev27+gf7e059d/
$ python
>>> import param
>>> param.__version__
1.5.1.dev27+gf7e059d

Also, PARAM_MAKING_UNOFFICIAL_RELEASE=1 conda build conda.recipe/ gives me a conda package with the name param-<IP_ADDRESS>_gf7e059d-pyh2898b3f_0.tar.bz2; when I do conda install -c (the dev channel) param and then I import param, I'll get a version of 1.5.1.dev27+gf7e059d.

@jlstevens and @jbednar: the recent commits to this PR leave it demonstrating (at least in my mind...) how versioneer allows the workflow described in https://github.com/ioam/autover/issues/2. (Albeit I have not changed from the 'pre' versioning scheme I described before Jim suggested a better alternative.)
However: the >2000 lines of versioneer I'm sure revokes Jim's previous review approval ;)
I don't propose to merge this, but I would love to have all projects operating like this. conda packages of master are always available, and 'release candidates' can be made any time with a git tag ... && git push --tags.

And https://github.com/ioam/autover/pull/9 sets up the same workflow on autover itself (but not working), as a target.

Apart from the 2000 lines, that all sounds good to me.   Hopefully Jean-Luc can get that down to 20.


Pull request against a feature branch

Testing PR builds. Do not merge.

Done testing. Closing PR


When is CE3 (cats-effect 3) going to be supported?

Monix is a big project, the changes in Cats-Effect are incompatible to it, and due to being volunteer based, we've been slow to adopt those changes — and also Cats-Effect 3 needed to mature first, because such design decisions then get set in stone.
I'm hopeful that we'll support Cats-Effect 3 soon though, but there's a lot of work ahead.

I'd be interested to try and volunteer some time.  Would be about 1 day a fortnight if that helps. Is there a milestone or any list of what needs to be done.

How can we help?

I can see some attempts have already been made to start a migration:

https://github.com/monix/monix/pull/1390 (by @oleg-py )
https://github.com/monix/monix/pull/1444 (by @vasilmkd)
https://github.com/monix/monix/pull/1533 (by @majk-p)

Any of the authors of those PRs need any help?  Any of these individual efforts coordinated?

@lukestephenson My attempt is not coordinated. In fact, I'm considering extracting part of my PR https://github.com/monix/monix/pull/1533 to a separate library, as rewriting the whole Monix seems overwhelming.
So far, when rewriting my applications to CE3 I only needed FutureLift and CircutBreaker. Additionally MVar is mentioned in the CE3 migration guide https://typelevel.org/cats-effect/docs/migration-guide#mvar so I'm considering starting with those.

Has there been any progress on this?


 Use `show(err)` to see complete types.

It took me a while to realize that my yml file was empty, but this is something we can (and should) easily check.

@nefrathenrici could you take a look at this?
We probably just need to check beforehand that the file is not empty and return an error if it is.


Priority Queue in C

🚀 Feature
(A clear and concise description of what the feature is.)
Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)
Yes
Motivation
(Please outline the motivation for the proposal.)
To Implement a Priority Queue using arrays in C
Pitch
(Please explain why this feature should be implemented and how it would be used.)
This is a very potential question in coding. Being a part of the GSSOC'21, I would like to implement this in C .
Please do assign this to me

@HarshCasper  Since I have the issues resolved can this issue be reassigned to me
since Issues will be assigned on a first come, first serve basis. as per the guidelines

@Alleny244  I've been resolving 2 issues too... working on this one now ...


Have a javascript obj, {a:1,} don't warning or error

Can you provide some code to reproduce the issue, the errors/warnings you get and the errors/warning you expect to get?

Heres some info:
http://www.2ality.com/2013/07/trailing-commas.html
If you try this: (notice es3 option is on rather than default es5)
// jshint es3: true
var a = {a:1,};

You get a warning Extra comma. (it breaks older versions of IE)


WebGLMap vector data support limitations

OpenLayers v5.3.0 API documentation page says: "The WebGLMap uses WebGL for rendering map layers. This renderer has limited support for vector data and no support for vector tiles". Can someone explain what are the limitations for vector data support?

The WebGLMap renderer is gone. We now have a dedicated WebGL points renderer for special uses. See e.g. https://openlayers.org/en/master/examples/filter-points-webgl.html.

What about lines and polygons? Are they not supported?

For now lines and polygons can only be rendered using the default canvas renderer and standard style objects.

Is there a way to access webgl context so that we can draw custom graphics?


[UFC-206] Added custom runtime setting for file document caching (mx9)

Check if in 9.6.1 or 9.6.2 before publishing
Added the EnableFileDocumentCaching setting, which can be used to enable file document caching if desired. We are disabling this by default in the upcoming Mendix 9 version.

OK, I've put all three labels on it for now, please confirm which version it is released in.
Is there a reason why this might be released in a patch release? I think users are less likely to see the release note if it is in a patch?

@MarkvanMents It's for both 9.6.1 and 9.7


How to parse Finviz for stock price monitoring

Would like to set up stock monitoring events using Finviz.   Anyway to parse the table on the screener page.  Here is a link.   I took a look at the source and couldn't figure it out.
http://www.finviz.com/screener.ashx

Hi @educatedwarrior,
the Chrome dev tools are very helpful when looking for the right selector. Right click on inspect and then use Copy -> Copy selector. When dealing with tables you need to remove tbody because it's inserted by chrome and on most sites not present in the actual HTML. These options should work for the table:
{
  "expected_update_period_in_days": "2",
  "url": "http://www.finviz.com/screener.ashx?v=111",
  "type": "html",
  "mode": "all",
  "extract": {
    "no": {
      "css": "#screener-content > table > tr:nth-child(4) > td > table > tr:nth-child(2) > td:nth-child(1)",
      "value": "string(.)"
    },
    "ticker": {
      "css": "#screener-content > table > tr:nth-child(4) > td > table > tr:nth-child(2) > td:nth-child(2)",
      "value": "string(.)"
    }
  }
}

Thank you!!!! I'll give it a try.

@dsander    , nubbie question for you.   What is the "#screen-content for?"  How did you no to use that tag.

...never mind, I think I found it in the div tag as the id property.

@dsander , I got a problem.   It's only pulling back the first row. Any suggestions?

Sorry my first example had a nth-child selector on thetr this returns all rows:
{
  "expected_update_period_in_days": "2",
  "url": "http://www.finviz.com/screener.ashx?v=111",
  "type": "html",
  "mode": "all",
  "extract": {
    "no": {
      "css": "#screener-content > table > tr:nth-child(4) > td > table > tr > td:nth-child(1)",
      "value": "string(.)"
    },
    "ticker": {
      "css": "#screener-content > table > tr:nth-child(4) > td > table > tr > td:nth-child(2)",
      "value": "string(.)"
    }
  }
}

@dsander ,  I think we are almost there.   Now how do you skip the 1st row which has the row headers?  Got to filter that out of the results because when trying to cast a value into a number which text, I get an error.

So.. basically, I need to select the 2nd to n child, skipping the first child for the last tr .

I tried this but it didn't work.
{
"expected_update_period_in_days": "2",
"url": "http://finviz.com/screener.ashx?v=171&f=geo_usa,ta_highlow52w_a0to10h&ft=4&t=AMT,ADM,BMI,CAT,KO,CL,LLY,XOM,JNJ,MCD,POT,PPG,PG,SWK",
"type": "html",
"mode": "all",
"extract": {
"no": {
"css": "#screener-content > table > tr:nth-child(4) > td > table > tr:not(nth-child(1)) > td:nth-child(1)",
"value": "string(.)"
},
"ticker": {
"css": "#screener-content > table > tr:nth-child(4) > td > table > tr:not(nth-child(1)) > td:nth-child(2)",
"value": "string(.)"
}
}
}

I'm thinking maybe, I'm not getting the syntax right.  I've also tried.
{
"expected_update_period_in_days": "2",
"url": "http://www.finviz.com/screener.ashx?v=111",
"type": "html",
"mode": "all",
"extract": {
"no": {
"css": "#screener-content > table > tr:nth-child(4) > td > table > :not(tr:nth-child(1)) > td:nth-child(1)",
"value": "string(.)"
},
"ticker": {
"css": "#screener-content > table > tr:nth-child(4) > td > table > :not(nth-child(1)) > td:nth-child(2)",
"value": "string(.)"
},
"ATR": {
"css": "#screener-content > table > tr:nth-child(4) > td > table > :not(tr:nth-child(1)) > td:nth-child(4)",
"value": "number(.)"
},
"52wk_high": {
"css": "#screener-content > table > tr:nth-child(4) > td > table > :not(tr:nth-child(1)) > td:nth-child(8)",
"value": "string(.)"
},
"52wk_low": {
"css": "#screener-content > table > tr:nth-child(4) > td > table > :not(tr:nth-child(1)) > td:nth-child(9)",
"value": "string(.)"
},
"price": {
"css": "#screener-content > table > tr:nth-child(4) > td > table > :not(tr:nth-child(1)) > td:nth-child(11)",
"value": "number(.)"
}
}
}

Error -
[00:00:01] ERROR -- : Error when fetching url: unexpected 'nth-child(' after ':not('

Figured it out.   I changed tr to tr:nth-child(n+2) and that did the trick.

Nice!


feat: add (de)serialization for time::Tm

Similar to Timespec I had a need to serialize the time::Tm struct.

Thanks!


refactor(scopes): use server scopes for dynamic servers

What type of PR is this?
Refactor: A code change that neither fixes a bug nor adds a feature
What this PR does / why we need it:

reuse scopes defined in the Server model

Special notes for your reviewer:
Since the scopes are defined in the Server model we can use them directly in dynamic server decreaseCount and ensure methods

Thanks! 👍


🐛 [Firebase AppCheck + Cloud Functions] returns Unauthenticated

I have enabled app check in my project without enforcing anything.
I get flutter: [firebase_functions/unauthenticated] Unauthenticated when I make a call to a cloud function
added app check as seen below
void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await Firebase.initializeApp();
  await RemoteConfigService().initialise();
  await FirebaseAppCheck.instance.activate();
  final sharedPreferences = await SharedPreferences.getInstance();
  runApp(
    ProviderScope(
      overrides: [
        sharedPrefsProvider.overrideWithValue(sharedPreferences),
      ],
      child: MyApp(),
    ),
  );
}

also added await FirebaseAppCheck.instance.activate(webRecaptchaSiteKey: 'sampleKeyHere'); but nothing changes
added pod 'Firebase/AppCheck' in Podfile
and
let providerFactory = AppCheckDebugProviderFactory()
 AppCheck.setAppCheckProviderFactory(providerFactory)

in AppDelegate but nothing changes
in pubspec.yaml
  cloud_firestore: ^2.3.0
  cloud_functions: ^2.0.0
  firebase_analytics: ^8.1.1
  firebase_app_check: ^0.0.1+3
  firebase_auth: ^1.3.0
  firebase_database: ^7.1.1
  firebase_remote_config: ^0.10.0+2
  firebase_storage: ^10.0.1

cloud functions dependencies
"firebase-admin": "^9.9.0",
"firebase-functions": "^3.14.1",

Hi @wazini-john
Which device are you testing on? Have you enabled the relevant attestation providers?

App Check has built-in support for using the following services as attestation providers:

DeviceCheck or App Attest on iOS
SafetyNet on Android
reCAPTCHA v3 on web apps

Thank you

AppAttest on ios Simulator

I'm not sure it works on simulators, have you tried on a physical device?

Not yet. We are still developing.
If it only works on physical devices. Is there a work around ? Or is there a way to remove it from the firebase project altogether?

This may be releted but all of a sudden I am getting this on my cloud functions.
 FirebaseAppCheckError: The provided App Check token has expired. Get a fresh App Check token from your client app and try again.

This has only just started happening
I have also noticed app attest as an option on the firebase console that has my team ID already filled in? Is this different to device check, I currently have both enabled.

is there anyway i can remove app attest from the firebase console and just use device check?

@wazini-john @febg11 I'm not aware of any workaround to this on iOS. Controlling this feature is up to the Firebase team and how they develop the functionality for Firebase Console. The FlutterFire plugins just wrap the Firebase SDKs to provide functionality. With a more backend issue like this on a beta feature, I would recommend you contact https://firebase.google.com/support
Labeling the issue for now due to multiple reports.

They have fixed it

@wazini-john Can you provide the details on what has fixed it?

@wazini-john I would also be interested in a solution

This issue is not entirely fixed. Works on some functions and fails on others

I think it's related to: https://github.com/FirebaseExtended/flutterfire/issues/6794. But there are some differences:

In https://github.com/FirebaseExtended/flutterfire/issues/6794 it's not working for any function
It's not working for simulator + real devices

@wazini-john It fails for the ones that you deploy with upgraded versions of sdks.

So what's the best way forward @MaciejCaputa

@wazini-john There are some workarounds: https://github.com/FirebaseExtended/flutterfire/issues/6794#issuecomment-897129319

Well https://github.com/FirebaseExtended/flutterfire/issues/6794 now better tracks the same issue so I think this can safely be closed as a duplicate (even though it is earlier).


Support all functionality when forked

Forking this repository to maintain country-specific translations may be the best approach, but currently this repo has a lot of functionality and documentation with hardcoded URLs. Let's try to revamp things so that all functionality still works the same even when forked. That may mean switching to using Jekyll for the single-page search app.

Fixed by #19


feat: handle reserved system addresses in fuzzer

Motivation
In zkSync any address below 2^16 is demarcated as reserved. During foundry fuzzing, it often hits these addresses that can cause unwanted failures and necessitates the use of vm.assume(addr > address(65535) and 65535 instances :exclamation: of vm.excludeSender(1); vm.excludeSender(2);..... This can inadvertently slow down testing and/or cause "too many rejections" failure in proptest, in addition to being hugely cumbersome.

Solution
Introduce the fuzz config flag no_zksync_reserved_addresses that can be set to offset all proptest generated system reserved addresses by 65536 so they fall in the valid address range.
We explicitly avoid using prop_filter as it can cause the same "too many rejections" failure in proptest, and instead opt to map the invalid addresses in the valid address range, so the fuzzer's performance is practically unaffected.
A side-effect of this is that address(0) would no longer be the boundary value. However since we support foundry's inline test config the option can be selectively applied on certain tests as required.
Notes
The viability of this config option must be well documented as it can cause fuzzer to miss edge cases which might be desirable in  certain situation. In any case, the config can simply not be used, or used with inline-config, when such a scenario is required.

@nbaztec can you add a blurb in the README describing the available foundry configuration and reasoning please.


[0.9.2] dom-repeat issues in 0.9.2

Somewhere between 0.9.0 and 0.9.2, it seems like a bug's been introduced in <dom-repeat>. Here are two JSBins illustrating the problem, nested inside of a <dom-bind> parent:
Working 0.9.0: http://jsbin.com/topize/3/edit
Broken 0.9.2: http://jsbin.com/fuxode/2/edit
In 0.9.2, the

@jeffposnick We should be able to get https://github.com/Polymer/polymer/pull/1618 in a release tomorrow.


Prevent unnecessary navigation map synchronizations

Prevents unnecessary navigation map synchronizations triggered by redundant calls to setters of e.g. region, link or map properties.
The properly biggest, common found issue and performance offender was any transform change to regions or links. Users would often have them or their parents animated with an AnimationPlayer. They would have an animation track for the position / rotation / scale of a region, link or one of the parents. E.g. for an elevator or other moving platforms.
The problem with animation tracks is that they trigger updates every single frame regardless if it is the same keyframe value. As long as the animation was playing as a loop those animation track updates would trigger every single frame. This in turn would trigger synchronization updates for the entire navigation map every single frame (and flood the NavigationServer queue with multiple update commands). This would make every single navigation agent on that map update the navigation path every single frame. This obviously would tank the frame rate.

Thanks!


Show Title for the line

I would like to have line's title beside to the chart, is it possible to do it?
In Angular Chart you are enable to do it.

The angular chart project is probably adding tgia themselves.

tgia?

Sorry, typo on mobile. The angular code is at http://jtblin.github.io/angular-chart.js/
I'd look at their github repo.

I don't know if I understand your message, does the chartJS has this funcitonality that is marked inside of the read selection?

Chart.js itself does not currently have a legend like that.

@jt4000 this will be fixed when the v2.0-legend branch is merged into v2.0-dev.
A snapshot of what we have so far:

Very NICE!

@jt4000 see #1750

Closed by<PHONE_NUMBER>1907797f341a5db7c4b7f47887b18b


Report enhancements

Adding the option to have multiple showfors on a report element.
Fixing a bug in error reporting for data controls.

Coverage increased (+0.04%) to 93.118% when pulling a36d2d4436340096ac592ac23c807afa97b5708f on report-enhancements into 2c3d0075699ae2144d9932f35f49ca15fec97d6b on dev.

Coverage increased (+0.04%) to 93.118% when pulling f6902fa51779dcb84520e841a5c9c50b3de9085b on report-enhancements into 2c3d0075699ae2144d9932f35f49ca15fec97d6b on dev.

Coverage increased (+0.04%) to 93.118% when pulling 438156f0619679c18d54d0fc6d5a51db356cdffc on report-enhancements into 2c3d0075699ae2144d9932f35f49ca15fec97d6b on dev.


CreateMultipartUpload doesn't get signed correctly

Describe the bug
Initializing a multi-upload fails if content-type is passed: The request signature we calculated does not match the signature you provided. Check your key and signing method. According tho AWS doc, content type header ~ A standard MIME type describing the format of the object data so it is expected.
Expected behavior
A multi-upload is initialized for and object with the given MIME type.
Current behavior
The request fails with:
aws.sdk.kotlin.services.s3.model.S3Exception: The request signature we calculated does not match the signature you provided. Check your key and signing method.

Steps to Reproduce
val pendingFile = s3Client.createMultipartUpload {
      bucket = "bucket"
      key = "key"
      contentType = "video/mp4"
}

Possible Solution
Dropping contentType "fixes" the issue.
It might be related to https://github.com/awslabs/aws-sdk-kotlin/issues/567.
There is not a single test that covers this SDK API. Would be great to have some coverage.
Context
No response
AWS Kotlin SDK version used
0.14.3-beta
Platform (JVM/JS/Native)
JVM
Operating System and version
Ubuntu

Thanks for the bug report @wingsofovnia, I've reproduced the issue with the sample you provided. We'll get started root causing this and working on a fix!

It looks like our request adapter strips out the Content-Type header because of how Ktor requires that header to be set on the body (and not as a typical header). We correctly reconfigure content type for non-empty bodies but neglected to do so for empty bodies. Thus, the signature calculation includes the Content-Type header but the actual wire request does not, leading to the signature mismatch.

The PR for this fix has been merged to main and will be included in the next release (likely later this week).


What happened to issue https://github.com/microsoft/vcpkg/issues/16179 ?

Subject has question...
@RyanYCT created this issue:
[microsoft/vcpkg] Failed to install sqlite3 with error msg "Could not locate a complete toolset."(#16179)
He was still having issues accord to this email, but when I went to issues with #16179 to try add more advice, github gives me a 404 page error not found.
The email I received I was going to reply to, now issue missing

RyanYCT<EMAIL_ADDRESS>Fri 2021-02-12 00:54
VS Code does not have its own compiler/linker.
You need to install a compiler/linker such as Visual Studio 2017/2019 (Community Editions are Free), Intel, Cygwin, or Msys2 to name a few.

I try to install Cygwin and SQLlite with it. After adding Cygwin directory to VS Code includePath that's ok to compile c file.
But after I installed Visual Studio 2019 (English language pack), and do integrate remove and install to vcpkg. I can't still install any package with vcpkg.
C:\vcpkg>vcpkg install sqlite3
Computing installation plan...
The following packages will be built and installed:
sqlite3[core]:x86-windows -> 3.33.0
Could not locate a complete toolset.
The following paths were examined:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat
I do the search for vcvarsall.bat in Microsoft Visual Studio directory and found nothing.
p.s. Under this path C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary, there is no Build folder in it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Looks like @RyanYCT is missing.
Does not one's profile turn into a Ghost image if they deactivate it?
How would the whole profile just go missing from yesterday to today?

I think that's a github bug maybe?
I don't know why.

I've create a github ticket to answer the github team.

I've create a github ticket to ask for the github team.

It looks like it is back now, along with the user profile... Thank you @JackBoosY ✔✨👍


[VC] Using labels for super.public crds

Looks like we might have use annotations where all other shared resources use labels see - https://github.com/kubernetes-sigs/multi-tenancy/search?q=PublicObjectKey
Signed-off-by: Chris Hein<EMAIL_ADDRESS>

/assign @Fei-Guo
/cc @weiling61


TF2 tf.distribute.MirroredStrategy() failed

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):  try the code https://github.com/tensorflow/docs/blob/master/site/en/r2/tutorials/distribute/keras.ipynb
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): 2.0 alpha
Python version: 3.6
Bazel version (if compiling from source): 0.23
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: 9.0 / 7.0
GPU model and memory: P40

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with: 1. TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)" 2. TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
Describe the current behavior
File "keras_mnist.py", line 79, in
model.fit(train_dataset, epochs=10, callbacks=callbacks)
File "/data2/huye/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/keras/engine/training.py", line 791, in fit
initial_epoch=initial_epoch)
File "/data2/huye/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/keras/engine/training.py", line 1515, in fit_generator
steps_name='steps_per_epoch')
File "/data2/huye/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/keras/engine/training_generator.py", line 257, in model_iteration
batch_outs = batch_function(*batch_data)
File "/data2/huye/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/keras/engine/training.py", line 1258, in train_on_batch
self._make_fit_function()
File "/data2/huye/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/keras/engine/training.py", line 2177, in _make_fit_function
'_fit_function', [self.total_loss] + metrics_tensors)
File "/data2/huye/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/keras/engine/training.py", line 2149, in _make_train_function_helper
params=self._collected_trainable_weights, loss=self.total_loss)
File "/data2/huye/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/keras/optimizer_v2/optimizer_v2.py", line 454, in get_updates
return [self.apply_gradients(grads_and_vars)]
File "/data2/huye/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/keras/optimizer_v2/optimizer_v2.py", line 406, in apply_gradients
self._distributed_apply, args=(grads_and_vars,), kwargs={"name": name})
File "/data2/huye/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/distribute/distribute_lib.py", line 1375, in merge_call
return self._merge_call(merge_fn, args, kwargs)
File "/data2/huye/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/distribute/distribute_lib.py", line 1382, in _merge_call
return merge_fn(self._strategy, *args, **kwargs)
File "/data2/huye/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/keras/optimizer_v2/optimizer_v2.py", line 440, in _distributed_apply
var, apply_grad_to_update_var, args=(grad,), group=False))
File "/data2/huye/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/distribute/distribute_lib.py", line 1175, in update
return self._update(var, fn, args, kwargs, group)
File "/data2/huye/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/distribute/distribute_lib.py", line 1546, in _update
return self._update_non_slot(var, fn, (var,) + tuple(args), kwargs, group)
File "/data2/huye/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/distribute/distribute_lib.py", line 1551, in _update_non_slot
with ops.colocate_with(colocate_with), UpdateContext(colocate_with):
File "/data2/huye/anaconda3/envs/tf2/lib/python3.6/contextlib.py", line 81, in enter
return next(self.gen)
File "/data2/huye/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 4261, in _colocate_with_for_gradient
with self.colocate_with(op, ignore_existing):
File "/data2/huye/anaconda3/envs/tf2/lib/python3.6/contextlib.py", line 81, in enter
return next(self.gen)
File "/data2/huye/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 4310, in colocate_with
op = _op_to_colocate_with(op)
File "/data2/huye/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 6556, in _op_to_colocate_with
return internal_convert_to_tensor_or_indexed_slices(v, as_ref=True).op
File "/data2/huye/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1347, in internal_convert_to_tensor_or_indexed_slices
value, dtype=dtype, name=name, as_ref=as_ref)
File "/data2/huye/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1186, in internal_convert_to_tensor
ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
File "/data2/huye/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/distribute/values.py", line 731, in _tensor_conversion_mirrored
assert not as_ref
AssertionError
Describe the expected behavior
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

I tried reproducing the issue through colab link provided but the code executed without any error. Can you try once again and let us know if that still gives error. Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


Introspect List

I want to use Introspect on a list which is using the SidebarListStyle. Using introspectTableView doesn't work.

I am unable to remove the separator lines from the list. Is it working ? Any one can please respond .

Same issue here!

Are you using iOS 14? If so this may fix it https://github.com/siteline/SwiftUI-Introspect/pull/56

@lucastimeless We tried #56 on introspectTableView and it didn't seem to work for line separator color.
 .introspectTableView { tableView in
    tableView.separatorColor = UIColor(named: "sectionSeparatorColor")
    tableView.separatorInset = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 0)
    tableView.tableFooterView = UIView()
    let refreshControl = UIRefreshControl()
    refreshControl.addTarget(self.viewModel.self, action: #selector(self.viewModel.pullToRefresh), for: .valueChanged)
    tableView.refreshControl = refreshControl
    self.viewModel.refreshControl = refreshControl
 }

Are you using iOS 14? If so this may fix it #56, haven't tested it with List though, only ScrollView

In my case, using introspectScrollView instead of tableView did work. Thanks!

SwiftUI on macOS:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '<SwiftUI._NSGraphicsView 0x12aa66230> has reached dealloc but still has a super view. Super views strongly reference their children, so this is being over-released, or has been over-released in the past.'
terminating with uncaught exception of type NSException

Add below modifiers to ForEach for removing separators of List. It should work.
        .padding(.horizontal)
        .padding(.vertical, 5)
        .listRowInsets(EdgeInsets())
        .background(Color(UIColor.systemBackground))

@karapurakesh Please open a new issue if this still happens and is not related to this issue.

@melgu Can you confirm this is still an issue? If so, please provide a sample view. I have tested it and it works for me.

As you have not replied within a week I will close this issue for now. Please reopen it if you still experience this issue.

@JannThomas Sorry for my late reply. .introspectTableView does generally work.
It doesn't work as I expected it to when trying to make it the first responder, but using .introspectScrollView worked for that case.

@melgu can you provide example code where this issue happens? From the description it's not clear what exactly isn't working.

If I replace .introspectScrollView with .introspectTableView here, it doesn't focus the list anymore. Unlike the image, the selected item stays gray. I know, it's a really specific issue, so if you can't comment on that, it's absolutely fine – especially as it works when using .introspectScrollView.


How to add package id to Unit test project?

Unit test can't test method like this ApplicationData.Current.TemporaryFolder;. It required packed id.

Сведения о документе
⚠ Не вносите правки в этот раздел. Это необходимо для связывания страницы сайта docs.microsoft.com с вопросом на GitHub.

ID: cf28a713-4e81-45e0-a3c7-0274ba6b2e85
Version Independent ID: 19dd0436-a27d-8e50-5e7b-06c8fcd49a3f
Content: Предоставление идентификаторов для неупакованных классических приложений - Windows applications
Content Source: hub/apps/desktop/modernize/grant-identity-to-nonpackaged-apps.md
Product: uwp
Technology: apps
GitHub Login: @mcleanbyron
Microsoft Alias: mcleans

Thanks for reaching out to us. This repo is unfortunately not intended for technical questions and support requests. Please see the following resources.

Microsoft Q&A offers relevant and timely answers to your technical problems from a community of experts and Microsoft engineers.
For community assistance with development questions, there are our forums, and StackOverflow.
The Windows developer support site explains other support options.
For developer issues, or suspected product bugs, there's Microsoft Support; a support engineer will look at the repro and see whether the issue is a Microsoft product bug, or something else. If it's a bug with a Microsoft product then the ticket will be free of charge.


[V2.0] HDF & Identifier copy removal

Description of change
Removes Copy from HDF, Identifier and connected parts
Ran examples, after updating them

Are we good to merge here?

yes, let's move forward


Retry on TimeoutException

Codecov Report
Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 89.47%. Comparing base (933b556) to head (82f7a07).

Files
Patch %
Lines

...terventionplanapi/client/RetryNetworkExceptions.kt
0.00%
0 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff            @@
##               main      #94   +/-   ##
=========================================
  Coverage     89.47%   89.47%
  Complexity      695      695
=========================================
  Files           119      119
  Lines          2100     2100
  Branches        110      110
=========================================
  Hits           1879     1879
  Misses          175      175
  Partials         46       46

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Enhancement request for workflow steps

Suggestion / feature request
Hi Team,
There is a requirement where we will have more workflow steps so instead of scroll bar is it possible to show ellipsis for the workflow steps similar to the screenshots below

Thank you

Tracked as internal requirement [IX-843]


[doc] Update README.md: syntax errors fix

Some syntax errors I find when reading the README.md.

 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.

run starrocks_clang-tidy

@Sunt-ing
thanks for your contribution


OpenAD active_read_xy fix

Note: this applies a fix to ad_template.active_read_xy.F.  Almost certainly the same changes should be applied to ad_template.active_read_xyz.F.  No idea about ad_template.active_write_xy.F, I don't know where that is used.
What changes does this PR introduce?
(Bug fix, feature, docs update, ...)
Bug fix
What is the current behaviour?
(You can also link to an open issue here)
Without this change, the optimization increments are ignored (using OpenAD, not TAF), per http://mailman.mitgcm.org/pipermail/mitgcm-support/2018-June/011632.html, though I'm not sure why this works.
What is the new behaviour
(if this is a feature change)?
Together with #204 and #207 , the tutorial example now works with OpenAD (the optimization increment gets read in correctly)
Does this PR introduce a breaking change?
(What changes might users need to make in their application due to this PR?)
Hopefully not!
Suggested addition to tag-index
(To avoid unnecessary merge conflicts, please don't update tag-index. One of the admins will do that when merging your pull request.)
Fix tutorial_global_oce_optim example with OpenAD

To be clear, I don't know why this change is necessary or why it seems to work.  Ideally someone familiar with the OpenAD stuff should comment on this.

I tried to run testreport -oad with this modification and got 2 experiments that fail to compile:
Y Y N N .. .. ..  N/O   hs94.1x64x5
so it seems there a problem somewhere.

Okay, this is interesting.  Both of those examples have an OPENAD_OPTIONS.h file that defines an ACTIVE_READ as well as an ACTIVE_WRITE:
#define ALLOW_OPENAD_ACTIVE_READ_XY
#define ALLOW_OPENAD_ACTIVE_WRITE

(Presumably this change breaks them because I changed the template for read_xy but not for write.)
BUT: maybe I shouldn't be making this change at all, and the OpenAD version of tutorial_global_oce_optim should also define ACTIVE_WRITE?  I don't understand enough about what these are supposed to do, just that the current state is broken.
Please advise!

Going to close this PR soon:

Has been stalled for sometime and no one with sufficient knowledge of OpenAD came to rescue it.
Was not complete enough to have all our OpenAD verification experiments to pass.


[ENH] Add solution block with linking to an exercise

From executablebooks/sphinx-proof#17
In addition to exercise, could we please have solution?
The styling can be the same as proof.
Even more awsome would be {proof:solution:exercise_label} or some other syntax --- whatever works --- that produces
"Solution to Exercise X"
as a header and then gives the same styling as proof.

I wonder if these sort of features should eventually make their way into an independent extension for exercises/solution blocks.

This has been addressed :tada:


Unable to change specific version

PS D:\TheBattleCats\tw> python -m BCSFE_Python

You currently have version 1.6.2 installed
The latest version available is 1.6.2

1. Select a save file from file
2. Get the save data from the game automatically using adb
3. Load save data from json
4. Download save data with transfer and confirmation codes
Enter an option (1 to 4):2
Enter your game version (en, jp, kr, tw):tw
Pulling save data from /data/data/jp.co.ponos.battlecatstw/files/SAVE_DATA
Success
Game version: tw

Error: An error has occurred while parsing your save data (address=467492):
Traceback (most recent call last):
  File "D:\Dev\python3.9.5\Lib\site-packages\BCSFE_Python\parse_save.py", line 1390, in start_parse
    save_stats = parse_save(save_data, game_version_country)
  File "D:\Dev\python3.9.5\Lib\site-packages\BCSFE_Python\parse_save.py", line 1715, in parse_save
    lengths = get_gauntlet_current()
  File "D:\Dev\python3.9.5\Lib\site-packages\BCSFE_Python\parse_save.py", line 1095, in get_gauntlet_current
    clear_progress = list(helper.chunks(clear_progress, stars))
  File "D:\Dev\python3.9.5\Lib\site-packages\BCSFE_Python\helper.py", line 25, in chunks
    for i in range(0, len(lst), n):
ValueError: range() arg 3 must not be zero

Hi, Henry.
I get this error in tw version (11.4.0). I tried jp version (11.5.1) then, and all change works.
SAVE_DATA.zip
Attach is the save file and it's a new save.
Thanks in advance.

Should be fixed in latest release


[BUG]: High memory usage with every single http request

What version of drizzle-orm are you using?
0.33.0
What version of drizzle-kit are you using?
No response
Describe the Bug
I am experiencing this locally and deployed in linux container on azure.
I have reached in some cases all the way to 5G
Use something like k6 to simulate 30 virtual users on a time of 10m30s
Using postgres-js or pg does not make any difference
When I remove drizzle and do other operations, this does not happen which leads me to assume is drizzle.
I am using bun 1.1.24
Bun.serve({
	port: 8001,
	async fetch(request, server) {
	        const users = await db.query.users.findFirst();
		const response = Response.json(users);
		response.headers.set('Access-Control-Allow-Origin', '*');
		response.headers.set('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE, OPTIONS');
                 console.log(`${process.memoryUsage().rss / 1024 / 1024}mb`);
		return response;
	}
});

console.log('🤖 Server running on port 8001');

Expected behavior
Not high memory usage over time with identical requests, and memory release when not using.
Environment & setup
Linux or mac
Funny part is that I tested with prisma alone and this did not happen! I just recently made the move from prisma to drizzle but now I am having these issues, does not over pass the 490mb
await prisma.users.findFirst();

It seems that also the connection pool number affects, 1442.788281/s when 10 connections but 1.2gb ram after one minute, if I reduce it consumes less ram but also slower 1209.615446/s but capping on 620mb ram.

Prisma reaches: 2519.719201/s with only 443.03125mb ram.

Note I am not a prisma or drizzle fanatic, I just need to make sure I am using the fastest tool but also not to waste my server resources.

Not interested anymore...


LBaaS object not created in expected routing domain

OpenStack Release
Mitaka
Description
When creating the following objects
neutron lbaas-loadbalancer-create --name test190 --vip-address <IP_ADDRESS> ext
neutron lbaas-loadbalancer-show test190
neutron lbaas-listener-create --loadbalancer test190 --protocol HTTP --protocol-port 80 --name test190

And the configuration is in use (full configuration at the bottom)
f5_global_routed_mode = False
use_namespaces = True
max_namespaces_per_tenant = 1
f5_route_domain_strictness = True

I would expect that the Project's partition would have assigned as default routing domain the routing domain created for the project. But it is not the case:
root@(bigip2)(cfg-sync Changes Pending)(Standby)(/Project_8e9b22cab67040689dcf86f74275a911)(tmos)# list auth partition Project_8e9b22cab67040689dcf86f74275a911 all-properties
auth partition Project_8e9b22cab67040689dcf86f74275a911 {
    default-route-domain 0
    description none
}

For completness the VIP is not created in using the routing domain created for the partition:
ltm virtual test190 {
    destination <IP_ADDRESS>:http
    ip-protocol tcp
    mask <IP_ADDRESS>
    partition Project_8e9b22cab67040689dcf86f74275a911
    profiles {
        /Common/tcp { }
    }
    source <IP_ADDRESS>/0
    source-address-translation {
        pool /Common/Project_8e9b22cab67040689dcf86f74275a911
        type snat
    }
    translate-address enabled
    translate-port enabled
    vlans {
        /Common/tunnel-vxlan-69
    }
    vlans-enabled
    vs-index 2
}

net route-domain Project_8e9b22cab67040689dcf86f74275a911 {
    id 1
    partition Project_8e9b22cab67040689dcf86f74275a911
}

Agent Version
9.1
Operating System
Mirantis 9
Deployment
root@node-5:/etc/neutron/services/f5# egrep -v ^# /etc/neutron/services/f5/f5-openstack-agent.ini
[DEFAULT]
debug = True
periodic_interval = 10
f5_ha_type = scalen
f5_external_physical_mappings = default:1.1:True
f5_vtep_folder = 'Common'
f5_vtep_selfip_name = 'selfip.datanet'
advertised_tunnel_types = vxlan
f5_populate_static_arp = False
l2_population = false
f5_global_routed_mode = False
use_namespaces = True
max_namespaces_per_tenant = 1
f5_route_domain_strictness = True
f5_snat_mode = True
f5_snat_addresses_per_subnet = 1
f5_common_external_networks = False
f5_bigip_lbaas_device_driver = f5_openstack_agent.lbaasv2.drivers.bigip.icontrol_driver.iControlDriver
icontrol_hostname = <IP_ADDRESS>,<IP_ADDRESS>
icontrol_username = admin
icontrol_password = admin
auth_version = v3
os_auth_url = http://localhost:5000/v3
os_username = admin
os_password = changeme
os_user_domain_name = default
os_project_name = admin
os_project_domain_name = default
f5_parent_ssl_profile = clientssl

Changing the Partition's default-routing domain fixes the issue. I was able to create objects and delete them. Seems that only the Partition's creation needs to be fixed.

Actually... it turns out not to be true my previous post:
Text: u'{"code":400,"message":"0107097c:3: The specified route domain (1) is the default route domain for one or more partitions (Project_8e9b22cab67040689dcf86f74275a911) and cannot be deleted.","errorStack":[],"apiError":3}'
2016-10-31 15:35:05.951 6467 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.tenants Traceback (most recent call last):
2016-10-31 15:35:05.951 6467 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.tenants   File "/usr/lib/python2.7/dist-packages/f5_openstack_agent/lbaasv2/drivers/bigip/tenants.py", line 141, in _remove_tenant_replication_mode
2016-10-31 15:35:05.951 6467 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.tenants     self.system_helper.delete_folder(bigip, partition)
2016-10-31 15:35:05.951 6467 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.tenants   File "/usr/lib/python2.7/dist-packages/f5_openstack_agent/lbaasv2/drivers/bigip/system_helper.py", line 41, in delete_folder
2016-10-31 15:35:05.951 6467 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.tenants     obj.delete()
2016-10-31 15:35:05.951 6467 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.tenants   File "/usr/lib/python2.7/dist-packages/f5/bigip/resource.py", line 947, in delete
2016-10-31 15:35:05.951 6467 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.tenants     self._delete(**kwargs)
2016-10-31 15:35:05.951 6467 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.tenants   File "/usr/lib/python2.7/dist-packages/f5/bigip/resource.py", line 929, in _delete
2016-10-31 15:35:05.951 6467 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.tenants     response = session.delete(delete_uri, **requests_params)
2016-10-31 15:35:05.951 6467 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.tenants   File "/usr/lib/python2.7/dist-packages/icontrol/session.py", line 230, in wrapper
2016-10-31 15:35:05.951 6467 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.tenants     raise iControlUnexpectedHTTPError(error_message, response=response)
2016-10-31 15:35:05.951 6467 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.tenants iControlUnexpectedHTTPError: 400 Unexpected Error: Bad Request for uri: https://<IP_ADDRESS>:443/mgmt/tm/sys/folder/~Project_8e9b22cab67040689dcf86f74275a911/
2016-10-31 15:35:05.951 6467 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.tenants Text: u'{"code":400,"message":"0107082a:3: All objects must be removed from a partition (Project_8e9b22cab67040689dcf86f74275a911) before the partition may be removed, type ID (6085)","errorStack":[],"apiError":3}'
2016-10-31 15:35:05.951 6467 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.tenants
2016-10-31 15:35:05.992 6467 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.icontrol_driver [req-582e041b-918f-4f16-a755-aefa1465d9c8 13eeaa5d6b8b4916b695e894968c9a93 8e9b22cab67040689dcf86f74275a911 - - -] Failed to destroy folder Project_8e9b22cab67040689dcf86f74275a911 manual cleanup might be required.
2016-10-31 15:35:05.992 6467 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.icontrol_driver Traceback (most recent call last):
2016-10-31 15:35:05.992 6467 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.icontrol_driver   File "/usr/lib/python2.7/dist-packages/f5_openstack_agent/lbaasv2/drivers/bigip/icontrol_driver.py", line 1145, in _common_service_handler
2016-10-31 15:35:05.992 6467 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.icontrol_driver     all_subnet_hints)
2016-10-31 15:35:05.992 6467 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.icontrol_driver   File "/usr/lib/python2.7/dist-packages/f5_openstack_agent/lbaasv2/drivers/bigip/tenants.py", line 107, in assure_tenant_cleanup
2016-10-31 15:35:05.992 6467 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.icontrol_driver     self._assure_bigip_tenant_cleanup(bigip, service, subnet_hints)
2016-10-31 15:35:05.992 6467 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.icontrol_driver   File "/usr/lib/python2.7/dist-packages/f5_openstack_agent/lbaasv2/drivers/bigip/tenants.py", line 114, in _assure_bigip_tenant_cleanup
2016-10-31 15:35:05.992 6467 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.icontrol_driver     self._remove_tenant_replication_mode(bigip, tenant_id)
2016-10-31 15:35:05.992 6467 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.icontrol_driver   File "/usr/lib/python2.7/dist-packages/f5_openstack_agent/lbaasv2/drivers/bigip/tenants.py", line 149, in _remove_tenant_replication_mode
2016-10-31 15:35:05.992 6467 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.icontrol_driver     "required." % partition)
2016-10-31 15:35:05.992 6467 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.icontrol_driver SystemDeleteException: Failed to destroy folder Project_8e9b22cab67040689dcf86f74275a911 manual cleanup might be required.

So further actions seem that are necessary.
If this is not a bug please describe how is this feature expected to be used.
Many thanks


How to use context.params with Apollo client

I have a route (/client/:id) that points to a component Client. In Client I want to take the ID from context.params and use it as a parameter for my Apollo query.
Apollo has a HOC called graphql that has an "options" parameter. options can be a function that takes in the component props and allows you to transfer the props to the Apollo query. I don't see any way to access the context from within that options function.
Has anybody else run into this issue? Is there a way inside of react to automatically transfer the context to a parameter, or is there a way to do this with Universal Router?

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

I figured out how to do it. In the react starter kit, each route has an index.js file that exports an object with a path and an action. The action property can take in a parameter "context". You can then pass in the params as props to your component.
Something like this
export default {

  path: '/client/:id',

  action(context) {
    return {
      title,
      component: (
        <AppLayout>
          <Client clientCompanyId={context.params.id} title={title} />
        </AppLayout>
      ),
    };
  },

};


UPDATE VIGNETTES

Now that the functionality here works, update all vignettes to test and demonstrate it working!!
then if this is all good - time to merge the open pr!!!

this is largely done
8126f3309f9019b818d0dc67edcb22215388376d
but the vignettes are pretty terse as written currently. lots of work needed.
i also just noted that qualtrics allows SBS matrices with MULTIPLE choice and drop downs... i have a feeling that will break this package pretty quickly... but that shouldn't be allowed!!


[Forwardport] [main] Fix japicmp configuration by treating abstract-to-default method changes as non-breaking

Forwardport of https://github.com/opensearch-project/OpenSearch/pull/16141 to main

@sachinpkale please when you have time, thank you

Thanks for making this change!


Support pregenerated subforms where one or more rows are ready for editing

BR (Brønnøysundregistrene) needs the possibility to have a number of pre-added subform rows in the subform table. These should be possible to configure on the back end.
Requirements:

Pre-added sub forms should be shown as a row in the sub form table.
The sub form should require editing (?). This will solve itself if there are required, non-prefilled fields in the sub form
It should be possible to disable the "Add new sub form"-button (this could be done with the maxCount-prop in applicationMetadata.json - given that the add-button reuses the logic from repeating groups)

I think we're already supporting this by default from our existing implementation. Since we're using the DataController to create DataElements, and this controller supports the insertion of data alongside the request to create the element itself.
Atleast that's my understanding of the process. Will investigate.


Research section: Add content to Bitcoin Core App website

Various UX research efforts have been done on Bitcoin Core App as well as on the node side.
Opening this issue with a draft of content for a research section on the Bitcoin Core app website. Sharing the draft doc here which has the following headings:

Intro to research
Research efforts summary
How research is organised
Past research efforts
How to contribute

Please feel free to have a read through at the moment, just checking in if the structure provides enough context for someone who knows little about research and if the headings are suitable.

Continued to work on the write up:

Added in one image showing a high level overview of the research efforts done
Improved the copy for readability

The research page was added in #94. Can we close this issue?


add_new_features_on_sahaj_app

Read the manual.md file from the [sahaj_app] and suggest me the new features we can add.

hey @Aryamanz29 , kindly accept my PR, i removed the package-lock.json file.


Unable to run Kali Linux after installing

Here are my results to running startxfce4
(kali-rolling)hackrtp@localhost:~$ startxfce4
/usr/bin/startxfce4: Starting X server
X.Org X Server <IP_ADDRESS>
X Protocol Version 11, Revision 0
Current Operating System: Linux localhost 4.14.306-20290-g9799d3cf8bba #1 SMP PREEMPT Sun Apr 16 19:52:36 PDT 2023 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure drm.trace=0x106 root=PARTUUID=3f12be05-ca68-3a4b-b413-07ed2ab9d90a/PARTNROFF=1 rootwait rw dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=0 dm="1 vroot none ro 1,0 5767168 verity payload=ROOT_DEV hashtree=HASH_DEV hashstart=5767168 alg=sha256 root_hexdigest=66dd00a96529cd3d987b9195dad192ce284dd993025f5f4094eb663a53bf3e14 salt=1d6cfe1d927cc90f4dfb325dee4faf12378d33e15f4a07fe4dd8186f4c8ee8b9" noinitrd vt.global_cursor_default=0 kern_guid=3f12be05-ca68-3a4b-b413-07ed2ab9d90a add_efi_memmap boot=local noresume noswap i915.modeset=1 gsmi.s0ix_logging_enable=1 intel_idle.slp_s0_check=1 intel_idle.slp_s0_seed=15
xorg-server 2:21.1.7-2 (https://www.debian.org/support)
Current version of pixman: 0.42.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Wed May 17 00:07:45 2023
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
MESA: warning: Kernel 4.1 required to properly query GPU properties.
error: Kernel is too old (4.16+ required) or unusable for Iris.
Check your dmesg logs for loading failures.
MESA: warning: Kernel 4.1 required to properly query GPU properties.
error: Kernel is too old (4.16+ required) or unusable for Iris.
Check your dmesg logs for loading failures.
(EE)
Fatal server error:
(EE) AddScreen/ScreenInit failed for driver 0
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
/usr/bin/xinit: giving up
/usr/bin/xinit: unable to connect to X server: Connection refused
/usr/bin/xinit: server error
Issue:
I have been trying for 4 hours scowering the internet for answers but none helped me. I am trying to run the Kali linux in the Developers Consoles place [CTRL + ALT + Forward (F3)] but nothing works
Just following the installation steps causes this, I've done nothing else

Have you tried running it from a Crosh (CTRL + ALT + T)  shell?

Have you tried running it from a Crosh (CTRL + ALT + T) shell?

I have thats what I used to install it

#https://github.com/dnschneid/crouton/issues/4976
I am having a error that wont install kali linux, I think both of these might be related some how


How to track dependencies on UNPKG

Are there any plans to track npm package dependencies on UNPKG somehow? Adding all dependencies manually is tedious and error prone also in simple cases. I undestand that complex dependencies can be handled only with bundlers, but for simple cases where LibraryManager is used as an alternative to the deprecated Bower, some kind of interactive help might be very useful.

No, that is not on our radar.  LibMan is intended to consume redist-ready libraries from multiple sources; it is not intended to handle package dependencies.  Our view is that the dependency and bundling problems are already solved by other toolsets, and we're providing an alternative for users whose use cases are too simple to warrant those toolsets.


Changed exports to use module export as namespace

To import use import Microstates, * as MS from 'microstates'

Coverage increased (+0.6%) to 83.495% when pulling 3164d8b89180aa947914487e47cf93e5173619de on change-exports into f2da40fa7c0dd8bc1d04d2c560c2f347bd79979a on master.

Coverage increased (+0.6%) to 83.495% when pulling 3164d8b89180aa947914487e47cf93e5173619de on change-exports into f2da40fa7c0dd8bc1d04d2c560c2f347bd79979a on master.


feat: Include TX body size in TX-Header

Currently the TX-Headline for each Transaction in a Block looks like this (Terminal):
total_output: 573299381, fee: 1202055, hash: 3ace1cb9c563d29203efe7018159d238e76c10dfb58297836f5e544095a4d757, ttl: ...
Would it be possible to also include the TX-Size in bytes in here, similar to the body size in the BLOCK Header?

@gitmachtl yes, it's feasible, but it would require re-enconding the tx into cbor to compute the size.
Since the encoding operation has some overhead, we should hide the feature behind a configuration flag so that users can opt-in only if they care for that value.

@gitmachtl yes, it's feasible, but it would require re-enconding the tx into cbor to compute the size.
Since the encoding operation has some overhead, we should hide the feature behind a configuration flag so that users can opt-in only if they care for that value.

Hmm... is it not possible to get the size directly when you decode the whole block cbor? It would be a super cool value to have for single transactions.

@gitmachtl the problem is that Tx data is not consecutive within the block. For example, auxiliary data (metadata and such) lives in a map structure separate from the inputs / outputs. The only way I can think of for computing the size for the complete Tx is be reconstructing a structure similar to the one used for the original submission of the Tx.
Maybe I'm missing something. @SebastienGllmt @rinor thoughts?

Maybe I'm missing something. @SebastienGllmt thoughts?

Yes, what you said sounds right to me


[documentation] Please document how to test for fail() in Testing for errors section

Hi,
Please could we get an example of testing for fail() in a defined resource type in the Testing for errors section?
Discussion from https://github.com/rodjek/rspec-puppet/issues/318 covers it.  Here's an example:
  context "errors when title (key) not in correct format" do
    let :title do
      "this title is not in the correct format"
    end
    let :params do
      {
        :value => 0,
      }
    end
    it {
      expect {
        is_expected.to compile.and_raise(Puppet::Error, /Incorrect key/)
      }
    }
  end

thanks!

This was fixed in #473


get item by index for byte like object

I would like to also allow bytes like objects to get item(s) by index.

We have issue #3182 about item access syntax with all types. It was recently moved from RF 3.2 scope to RF 3.3 partly for backwards reasons and partly to get already overdue RF 3.2 ready sooner. If there's interest implementing it, we can still add it back to RF 3.2 scope. That would include:

Support all types, not only bytes.
Tests.
Documentation.

Thanks for your feedback, for me having bytes support is very valuable, I will do some extra commits in here to add other types, lets see how far we make it....

You don't need to explicitly test other types. Basically should just replace the current is_list_like with something like is_iterable (doesn't exist yet) to know should item be converted to integer (or slice). Then just try accessing the item directly and handle possible errors.

Updated the code according your recommendations, also fixed the tests which started failing because of my changes....

@pekkaklarck I pulled master and fixed the merge conflicts, anything blocking this PR which I need to fix?

Sorry, don't have time to review until at the end of this week or possibly only next week. I'll add #3182 back to RF 3.2 scope so this won't be forgotten.

Thx!

One thing to decide is how to handle custom objects implementing __getitem__ when used like ${x}[item]. The current implementation considers them iterable (iter(x) returns an iterable if x has __getitem__) and thus we convert item to an index (i.e. integer). This means that a custom object accepting keys won't work unless that object implements Mapping in which case it is considered a dictionary and there's no conversion to the item.
Should we care about custom objects having __getitem__ that aren't list-like but not explicitly mappings? If not, the current implementation in this PR is fine. If yes, then we needed to figure out how to separate such objects from other iterables and that may not be easy. For me the current functionality is good enough, especially if nobody comes up with a simple way to different different iterables reliably. We can also revisit this in the future if there are concrete needs, although later changing this may cause backwards compatibility problems.

I've been thinking this a bit more and think that we should convert the item to an index (or possible slice) only if the accessed variable is a sequence. With other objects we can then pass the item unchanged.
This means that sequences work nicely like ${x}[1] or ${x}[1:] as with the current implementation. An enhancement would be that if a custom object implements only __getitem__, it is possible to use it like ${x}[item]. With the current implementation this would fail for ValueError when converting item to an index. If such a custom object would need the item as an index, it is possible to use something like ${x}[${1}].

Pulled master, fixed utests... ready for another review

It's getting bit late to get this into RF 3.2. The change shouldn't be backwards incompatible and isn't that big so I'll give it a change. Due to my winter holiday I won't have time for a real review now, but I add the original issues to RF 3.2 scope so that this won't be forgotten.

Codecov Report

Merging #3350 into master will not change coverage by %.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3350   +/-   ##
=======================================
  Coverage   73.57%   73.57%
=======================================
  Files         198      198
  Lines       16252    16252
  Branches     2614     2614
=======================================
  Hits        11955    11955
  Misses       3864     3864
  Partials      433      433

Continue to review full report at Codecov.

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

This looks great! I added two comments about the docs in my latest review but I can easily fix those myself after merging this. Thanks for your great work @JasperCraeghs and @bollenn!


Add documentation about configuring images in Harbor to be private

Ported from https://github.com/alphagov/doc-checking/pull/173.

https://github.com/alphagov/gsp/pull/292

The docs are now correct, after testing with #292 and #294.

@issyl0 can you link to this from docs/README.md?


Turn sample processing into a subworkflow

https://github.com/nf-core/rnaseq/blob/29f8b393fc979beff9a88a2b37fcb6cb1d4ee994/workflows/rnaseq.nf#L192-L235
I'd love if we could move this to a nf-core subworkflow, so I can just nf-core subworkflows update it in nascent...
I'd be happy to make it happen, just want to get buy-in first.

This is probably tiny enough that it doesn't warrant needing a subworkflow 😅 Having said that, have you seen this PR to nf-core/fetchngs? This might help here. Could imagine porting this to a nf_core_rnaseq_utils subworkflow that can be shared.
https://github.com/nf-core/fetchngs/pull/213/files

This is now part of the pipeline template in tools v2.14.1 (see here)
However, I still have it in the main workflow because you can't emit branched channels from workflows as you can see here. It made sense to keep this where it is for now but open to change things in the future if functionality changes.


backup metadata failed: runtime error: slice bounds out of range [16:11]

2022/02/14 11:54:30.662942 juicefs[60492] : Mounting volume aidi-store-data at /wll_test ...
2022/02/14 12:00:30.690357 juicefs[60492] : backup metadata failed: runtime error: slice bounds out of range [16:11]
2022/02/14 13:00:30.719926 juicefs[60492] : backup metadata failed: runtime error: slice bounds out of range [16:11]
2022/02/14 14:00:30.752828 juicefs[60492] : backup metadata failed: runtime error: slice bounds out of range [16:11]
2022/02/14 14:18:28.583281 juicefs[60492] : cleanup session 111: %!s()

Do you get the stack? It looks weird since b.Len() is checked. b.Get64() and b.Get(8) should both consume 8 bytes.


Broken examples?

Hello,
I get some JavaScript errors and the examples are not working correctly. The HTML and JavaScript-Tabs are empty (I use chrome).
TypeError: Cannot read property 'configure' of undefined
at Object.$get (http://pc035860.github.io/angular-highlightjs/angular-highlightjs.min.js:6:518)
at Object.e [as invoke] (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.16/angular.min.js:36:315)
at https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.16/angular.min.js:38:110
at d (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.16/angular.min.js:36:13)
at Object.e [as invoke] (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.16/angular.min.js:36:283)
at x.instance (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.16/angular.min.js:76:79)
at https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.16/angular.min.js:59:85
at q (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.16/angular.min.js:7:428)
at M (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.16/angular.min.js:59:69)
at g (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.16/angular.min.js:51:409)

Hi @joerno, thanks for reporting this. It has been fixed.


Update Firefox versions for AnimationPlaybackEvent API

15841

 Quality gate: Passed
 Everything looks good
Details

 Quality gate: NA
Details

 Quality gate: NA
Details

 Quality gate: NA
Details

 Quality gate: NA
Details

 Quality gate: NA
Details


Upgrade to use latest mustache.js. Compile templates once rather than every time they're requested.

If you're interested, this request takes mustache.js up to 0.7.2 and uses Mustache.compile() to speed up repeated applications of the template function.
I added indentation to the base ICanHaz.js output for my own sanity, so the diff of that file isn't terribly readable. Sorry.

Sorry this has been sitting too long, I'm not actively using this project and have been having trouble keeping up with maintenance, would be happy to add you if you're interested: https://github.com/HenrikJoreteg/ICanHaz.js/issues/81

Sorry for not picking this up and merging it in the first place. I've moved on to other things as well. Thanks for your efforts though, this project was very useful!


Passing trigger options fails with TypeError

Subject of the issue
Calling trigger() with a specific set of options fails. I find this odd, because looking at the code it doesn't appear this should happen: https://github.com/vuejs/vue-test-utils/blob/v1.0.0-beta.31/packages/test-utils/src/create-dom-event.js#L93 You would think it just wouldn't set the property if it wasn't set-able, and not report a warning. But clearly this check is being subverted somehow.
Steps to reproduce
In a<EMAIL_ADDRESS>environment:
Call wrapper.trigger('click', { detail: 1 }).
Expected behaviour
The resulting UIEvent is a MouseEvent with the property detail equal to 1.
Actual behaviour
TypeError: Cannot set property detail of [object UIEvent] which has only a getter

Ah, I think I've got it:
https://www.w3.org/TR/uievents/#event-type-click
You can see in the spec that detail is a property of UIEvent, not MouseEvent. But in https://github.com/vuejs/vue-test-utils/blob/v1.0.0-beta.31/packages/test-utils/src/create-dom-event.js#L83 we only look at the very first prototype in the chain, in this case MouseEvent. If I log Object.getPrototypeOf($event) to the console I can see that detail is not set on MouseEvent, but if I chain two getPrototypeOf's together I can see that it is set on UIEvent.
So I think we need to walk the entire prototype chain when determining to set a property or not. I also wonder if we shouldn't give the user a warning in that case. In any case, this still doesn't get me closer to being able to set detail on click events.

Hm. According to MDN https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/detail

The UIEvent.detail read-only property

If this property is read-only, I guess you should not be able to set it. That said, if jsdom implements this, shouldn't it be incremented automatically?
If it is readonly I not sure we should allow passing it in. What test are you trying to write, anyway?

would it be better to do it yourself in a data property

Yeah something like that might be a better solution.
The particular use-case I had was a search-bar component with a text input and a submit button, and I wanted the component to both support native form submission when placed inside a <form> and also emit its own submit custom event in case form submission is being ignored/prevented or it is not placed inside a form.
Emitting the custom event is as simple as listening for keydown.enter on the input and click on the button, but this becomes a problem for native form submission because some browsers (not all, the standard makes it optional) will trigger a separate click event on the nearest submit button when you press enter inside an input. This causes duplicate submit events being emitted. One solution, then, is to pass the UI event to the submit handler, and if it's a MouseEvent, inspect its detail property to see if the event was triggered by the browser or by an actual user click, ignoring it if it's the former.
jsdom does not set the detail property to any value other than 0 no matter how you trigger it, so in order to properly test this behaviour I would have to set it manually, hence this issue. I'm not sure about it being read-only, I think it should always still be possible to set it using Object.defineProperty(..., { value: 1, writable: true }).
I wanted the parent component to be able to do @submit.prevent on this search bar component (in case it did not have access to the parent <form>) so that it cancels native form submission, which means emitting the actual UI event object as the payload of the custom submit event. But this causes a race condition that different browsers apparently handle differently (IIRC Chrome and FF call preventDefault() on the KeyboardEvent after triggering a click event, meaning native form submission works properly, but IE11 calls preventDefault() before meaning the click does not get triggered and nothing gets submitted). So I scrapped the whole idea and just ended up not supporting native form submission at all.


加詞性表

Pull Request Test Coverage Report for Build 63

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

Totals

Change from base Build 62:
0.0%

Covered Lines:
179

Relevant Lines:
223

💛  - Coveralls


Use flexible search in "analyze from top/cursor"

In GitLab by @jakebeal on Jun 12, 2019, 11:13
If you run "analyze from top / analyze from cursor", it won't find close variants, e.g., "arabinose" won't be matched with "L-arabinose".  Can we use flexible search here too?

In GitLab by @nwalczak on Jun 13, 2019, 16:01
assigned to @nwalczak

In GitLab by @nwalczak on Jun 13, 2019, 16:02
created branch 53-use-flexible-search-in-analyze-from-top-cursor

In GitLab by @nwalczak on Jun 14, 2019, 14:52
When you say flexible search, do you have a specific mechanism in mind, or do you mean more broadly?  Right now, the way the code is written, it uses python's string.find function.  The document is represented by a series of XML elements, and in general a paragraph is represented by an element (this is simplified, because text formatting and urls can break it up into multiple elements).  Right now, we get the whole text content for a current element, then call find on it for each item in the dictionary.
This isn't flexible, because it requires exact matches for items in the dictionary, but it does handle cases where dictionary items contain spaces.  For a more flexible search, we would need to implement an algorithm to find common substrings. Python has an implementation for a largest common substring algorithm in difflibs.SequenceMatcher, however that algorithm won't exactly give us what we want, since it will only give one common substring per text block.
I wrote a fairly naive implementation and have pushed it in a branch.  One concern is runtime.  I added some code to time how long it takes to analyze the document.
Prior to changes, average time is: 2335ms
After changes, average time is: 3257ms
This is analyzing the whole document here: https://docs.google.com/document/d/1xMqOx9zZ7h2BIxSdWp2Vwi672iZ30N_2oPs8rwGUoTA/edit#

In GitLab by @jakebeal on Jun 17, 2019, 10:49
This sounds like a good first try --- let's test it and see how it works.

In GitLab by @nwalczak on Jun 25, 2019, 14:42
I wrote some tests for the old analyze version, and then I updated them for flexible search (the test document I was using included some inexact terms, so those terms had to be considered in the test suite).  With that, I think this feature is ready to merge in, so I'm going to merge it.

In GitLab by @nwalczak on Jun 25, 2019, 14:43
mentioned in merge request !10

In GitLab by @nwalczak on Jun 25, 2019, 14:43
closed via merge request !10

In GitLab by @nwalczak on Jun 25, 2019, 14:43
closed via commit a5ea75fe9b1550e7e44108f310ec933891c6a1cc

In GitLab by @nwalczak on Jul 1, 2019, 16:23
mentioned in commit a5ea75fe9b1550e7e44108f310ec933891c6a1cc


hide thumbnails

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Support request

How can I hide the thumbnails (with the modal gallery)? I just want to open the gallery from a button (or a link) — don't want to see the thumbnails on the page. Does this option currently exist? If not…

I'm sorry for the delay.
I'll try to answer this evening or tomorrow. Please be patient 😊

I'm sorry for the delay again.
Version 8.0.0 will improve this feature in a simpler way, but there is a way also today.
In this example you can see a button to open the modal gallery using galleryService, but still with thumbs.
However, you can combine custom layouts of plain gallery with gallery service.
I modified the official live example for you to show you this here: https://stackblitz.com/edit/angular-modal-gallery-v7-vv9e59?file=src%2Fapp%2Fapp.module.ts
Feel free to try and experiment on that example.
If you have any questions feel free to ask.

Is still an issue? If not can you close it?

sorry, not receiving notifications even though I'm subscribed… anyhow, yes, close this; I did eventually arrive at the solution you offer


small Sacramento, CA email typo

"We can not achieve the the drastic overhaul in policing while your hands are in their pockets." -- there are two THE's here.
Thanks!

on it now


Added native.setProperty("mouseCursor", cursorName) Api

This Api allows the Solar developer to change the current operating system mouse cursor within their program on Desktop (Mac/Windows) to the cursor style of their choosing.
Shared cursors
The following cursors are available on both platforms:

"crosshair",
"pointingHand",
"beam",
"notAllowed",
"resizeLeftRight",
"resizeUpDown",
"arrow"

Windows Cursors
The following cursors are available on Windows only:

"appStarting",
"resizeAll",
"resizeNorthEastSouthWest",
"resizeNorthWestSouthEast",
"upArrow",
"hourglass"

Mac Cursors
The following cursors are available on MacOS only:

"closedHand",
"openHand",
"resizeRight",
"resizeLeft",
"resizeUp",
"resizeDown",
"disappearingItem",
"beamHorizontal",
"dragLink",
"dragCopy",
"contextMenu"

Documentation
I will be submitting a pull request with an updated native.setProperty() Api doc once this pull request has been approved, incase there are any changes to cursor names etc.
Test code:
local currentCursor = 0
local cursors = {
	"crosshair",
	"pointingHand",
	"beam",
	"notAllowed",
	"resizeLeftRight",
	"resizeUpDown",
	"arrow"
}
local windowsCursors = {
	"appStarting",
	"resizeAll",
	"resizeNorthEastSouthWest",
	"resizeNorthWestSouthEast",
	"upArrow",
	"hourglass"
}
local macCursors = {
	"closedHand",
	"openHand",
	"resizeRight",
	"resizeLeft",
	"resizeUp",
	"resizeDown",
	"disappearingItem",
	"beamHorizontal",
	"dragLink",
	"dragCopy",
	"contextMenu",
}
local isWindows = system.getInfo("platform") == "win32"

if (isWindows) then
	for i = #windowsCursors, 1, -1 do
		table.insert(cursors, 1, windowsCursors[i])
	end
else
	for i = #macCursors, 1, -1 do
		table.insert(cursors, 1, macCursors[i])
	end
end

local cursorText =
	display.newText(
	{
		text = "",
		fontSize = 24
	}
)
cursorText.x = display.contentCenterX
cursorText.y = display.contentCenterY

local function changeCursor(event)
	currentCursor = currentCursor + 1

	if (currentCursor > #cursors) then
		timer.cancel(event.source)
		return
	end

	cursorText.text = cursors[currentCursor]
	native.setProperty("mouseCursor", cursors[currentCursor])
end

timer.performWithDelay(800, changeCursor, 0)

 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.


Bash completion does not work on fresh macOS 10.12 and brew.sh install

I cannot get bash-completion to work with default install of dotfiles.
.bash_profile script is trying to source the bash_completion file at $(brew --prefix)/share/bash-completion/bash_completion.
However, brew does NOT install bash-completion there.  Instead, the correct location is $(brew --prefix)/etc/bash_completion
Steps to reproduce:

Install macOS 10.12 (latest)
Install brewh.sh: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install bash-completion: brew install bash-completion
Open a new terminal
dd , press Tab twice for completion options

Observed results:

No completion options shown for dd command, which should include things like if= or of=

Expected results:

Completion options should be shown

--help     bs=        conv=      ibs=       obs=       seek=
--version  cbs=       count=     if=        of=        skip=

Suggested fix:
Use $(brew --prefix)/etc/bash_completion in .bash_profile
#https://github.com/HanSooloo/dotfiles/pull/1

bash-completion is for Bash 3, which is the default on macOS.
My dotfiles install bash-completion2 (for Bash 4) along with Bash 4 when running brew.sh: https://github.com/mathiasbynens/dotfiles/blob/ade45bde0b30ac7adc599cb6ddeb4674f8e0e0d5/brew.sh#L26


[release/1.7] Remove overlayfs volatile option on temp mounts

backports:

https://github.com/containerd/containerd/pull/10274
https://github.com/containerd/containerd/pull/9555
part of https://github.com/containerd/containerd/pull/9262 (about how to setup individual containerd)

/retest


Account Switcher when logged in

Based against latest of 'multilogin' branch.
Only last commit is relevant.
Will rebase if more changes done to other branch.

@neerajwahi Rebased against latest master.


[Unit tests] Cleanup tests and improve coverage for sign-in flow

Fixes #971

Things done:

Remove unused code
Cleanup TermsOfServiceViewModelTest
Cleanup MainViewModel
Remove inconsistent tests in MainViewModelTest and replace with exhaustive unit tests for user signin flow.
Fixes a bug in which the offline user is unable to use the app even if they are signed in and terms of service is accepted

Changes verified by running the app manually and performing sign-in / sign-out operations.

@gino-m  PTAL?

/gcbrun

/gcbrun


Kudos not allowed on own activity

We need to check if the current user is the same one as the current selected activity owner.
If so don't allow giving kudos!

That's a feature for narcissists :)
Tempted to turn that into an easter egg.

Not tested this, but I'm guessing you'll get an error when you try it :)


Update javafx-base, javafx-controls, ... to 18-ea+9

Updates

org.openjfx:javafx-base
org.openjfx:javafx-controls
org.openjfx:javafx-fxml
org.openjfx:javafx-graphics
org.openjfx:javafx-media
org.openjfx:javafx-swing
org.openjfx:javafx-web

from 17-ea+8 to 18-ea+9.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

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

labels: library-update, commit-count:1

Superseded by #36.


Adjustments

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
✔

Fixed issues
-

In general, the code is very clean, I think that the README.md, you could create separate documents for each helper and add examples for each one, so I think it would be perfect.


Add async details to README.md.

Adding details on sending emails asynchronously. Touches on #136.

Thanks for the PR @StevenXL , please take a look at my edits, English is not my first language.
I'll also request a review from @stevedomin

👍
thanks @StevenXL and @princemaple


Kubernetes backend with clustering support by using IP addresses

fixes #28

Current coverage is 42.20% (diff: 27.27%)

Merging #89 into master will decrease coverage by 0.79%

@@             master        #89   diff @@
==========================================
  Files            12         13     +1
  Lines           486        507    +21
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            209        214     +5
- Misses          277        293    +16
  Partials          0          0

Powered by Codecov. Last update 1bbc58f...19d278d

Neat, looks like we'll need a preview build soon!  Thanks!

When is this comign guys :-) Massively need it!

So I'm using it from master at the moment, but currently get this, do you know how to resolve it:
=INFO REPORT==== 30-Aug-2016::13:34:27 ===
autocluster: Discovered<EMAIL_ADDRESS>
=ERROR REPORT==== 30-Aug-2016::13:34:27 ===
** System NOT running to use fully qualified hostnames **
** Hostname <IP_ADDRESS> is illegal **

=ERROR REPORT==== 30-Aug-2016::13:34:27 ===
autocluster: Can not communicate with cluster nodes.

Setup your cluster to use "long names", I'm doing it with:
RABBITMQ_USE_LONGNAME=true
RABBITMQ_NODENAME=rabbit@`hostname --ip-address`

You may also need RabbitMQ with this change https://github.com/rabbitmq/rabbitmq-server/pull/892

@xek thank you :-) I will give it a go
Thanks for your work with the k8s support too

@xek I'm so close!  I've built rabbitmq from source and applied your patch, as well as installed rabbitmq-autocluster from the k8s commit - however, in kubernetes, I'm getting this.  As you can see, autocluster is finding both pods, however it's getting 'cannot communicate with cluster nodes.
=INFO REPORT==== 30-Aug-2016::18:46:05 ===
autocluster: Response: [{ok,{{"HTTP/1.1",200,"OK"},
                             [{"date","Tue, 30 Aug 2016 18:46:05 GMT"},
                              {"content-length","823"},
                              {"content-type","application/json"}],
                             "{\"kind\":\"Endpoints\",\"apiVersion\":\"v1\",\"metadata\":{\"name\":\"rabbitmq\",\"namespace\":\"td-integration\",\"selfLink\":\"/api/v1/namespaces/td-integration/endpoints/rabbitmq\",\"uid\":\"1c5745f0-6b09-11e6-8394-42010af000a6\",\"resourceVersion\":\"753469\",\"creationTimestamp\":\"2016-08-25T21:15:55Z\",\"labels\":{\"app\":\"rabbitmq\",\"tier\":\"messaging\"}},\"subsets\":[{\"addresses\":[{\"ip\":\"<IP_ADDRESS>\",\"targetRef\":{\"kind\":\"Pod\",\"namespace\":\"td-integration\",\"name\":\"rabbitmq-3767373793-c1n73\",\"uid\":\"fa3a4d15-6ee1-11e6-8394-42010af000a6\",\"resourceVersion\":\"753465\"}},{\"ip\":\"<IP_ADDRESS>\",\"targetRef\":{\"kind\":\"Pod\",\"namespace\":\"td-integration\",\"name\":\"rabbitmq-3767373793-z01wb\",\"uid\":\"a50cbfb0-6ee1-11e6-8394-42010af000a6\",\"resourceVersion\":\"753429\"}}],\"ports\":[{\"name\":\"amqp\",\"port\":5672,\"protocol\":\"TCP\"},{\"name\":\"amqp-old\",\"port\":5671,\"protocol\":\"TCP\"}]}]}\n"}}]

=INFO REPORT==== 30-Aug-2016::18:46:05 ===
autocluster: Discovered ['rabbit<EMAIL_ADDRESS>
=ERROR REPORT==== 30-Aug-2016::18:46:05 ===
autocluster: Can not communicate with cluster nodes.

The docker container is https://github.com/peopledata/td.rabbitmq
And the kubernetes deployment files are in https://github.com/peopledata/td.rabbitmq/tree/master/kubernetes
Would you mind casting an eye over it and seeing if I'm missing something obvious?

Interestingly, the the cookie hash is different on both pods?

Fixed it!
I didn't put the erlang cookie in the right place

=INFO REPORT==== 30-Aug-2016::19:49:09 ===
Clustering with<EMAIL_ADDRESS>as disc node

=INFO REPORT==== 30-Aug-2016::19:49:10 ===
autocluster: Cluster joined.

Boom!
Thanks!

@xek it's randomly stopped working... https://github.com/aweber/rabbitmq-autocluster/issues/92

I don't know if this issue was originally covering TLS connections but #92 uses TLS, so this is not random.

Folks, im using this commit and run on the old issue: #51
Can anyone help?

@Oloremo nxdomain means a hostname cannot be resolved. Please consider not asking questions in multiple issues, in particular those that have nothing to do with the functionality in this pull request.

@michaelklishin Sorry for that, I wanted to post this issue here(since im using this commit), but I found this old issue which looks like related.
I do understand what is nxdomain is, and I did provide a proof what resolving is working in this container for this exact dns record in a way it should(for DNS discovery)


denovo peptide sequencing

Is that possible to support denovo peptide sequencing using tool like Casanovo in koina?

We need a torchscript/onnx export of the model to make it accessible on Koina. Trying to do that I ran into some issus. I opened an issue with the casanovo developers


Piano tiles with Vanilla JS

I want to add
Piano tiles game
Request
I would love to contribute as a part of hacktoberfest 22
Please assign this issue to me

@ismeet010 go ahead