Web UI not seeing installed apps after update

After guv kill, npm update, then restarting guv, the web UI says "No apps are installed", but terminal guv lsapps shows apps still installed (as expected).  Not sure whether this was as a result of the update or the restart, but gut feeling is the restart.

I'm wondering if it's still standard operating procedure to do the following to upgrade...
guv kill
sudo npm remove -g guvnor
sudo npm install -g guvor

That may be your problem.

Yeah, must admit I'd got lazy about that.  Just tried the full thing again but still no joy.
Thanks for the suggestion though.

@TomKaltz It's still standard procedure, yes.  This is because npm has been inconsistent with how update behaves over versions and sometimes will update the top level module but not any dependencies which is not really what you want.  It's more reliable to just blow the old version away and then reinstall.  Also --unsafe-perm should be used when installing otherwise you get lots of warnings and the occasional failure with native modules not being able to access /root/.node-gyp when compiling.
@randomsock what is your setup like?  Are you running guvnor-web under the instance of guvnor that you are upgrading or standalone/on another machine?  Does reloading the page after restarting guvnor make any difference?

At the moment, yes I'm running guv and web on the same instance.  It's my own dev server so I'll trash it and have a play with some sequences, see if I can find a pattern.

It's killing guvnor itself that does it.
Restarting guv-web doesn't affect it - apps still show in the UI.
guv kill then guv to restart (no update or anything between) shows guv-web and apps restarting, then when the UI reloads, it says "No apps are installed".
guv lsapps lists the apps ok, and they are still in /etc/guvnor/apps.json.
Closing and reloading the browser doesn't bring it back.
Hope that helps.


Fix issue #629

Description
Bug fix (deprecated function call)
Fixes #629
Type of change

Bug fix (non-breaking change which fixes an issue)

Testing steps
Done on CI
Checklist

[ ] make before_commit passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

Codecov Report

Merging #630 (63222dc) into master (d43f28f) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #630      +/-   ##
==========================================
- Coverage   79.46%   79.45%   -0.02%
==========================================
  Files          15       15
  Lines        1675     1674       -1
==========================================
- Hits         1331     1330       -1
  Misses        243      243
  Partials      101      101

Impacted Files
Coverage Δ

server/server.go
78.84% <ø> (-0.14%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Upgraded to VS2010; added NUnit; added Language

Hi,
I upgraded the sln to VS2010, added NUnit 2.5.10 via NuGet, and added an enumeration for language preferences.
Cheers, Patrick

Hey Patrick,
Thanks for the pull request.
I haven't really touched this lib since the original port of the Ruby faker gem which provided the inspiration and most of the formatting code. Their approach to i18n is to have a global locale setting which is set once and then applies to any of the culture-specific methods: http://rubydoc.info/github/stympy/faker/master/Faker/Config
That's probably a cleaner approach than adding a language parameter to every method call.
Cheers,
Ben

Hi Ben,
ACK.
I think it would be a good idea to remove the static class property. But I
am open for suggestions...
Should we start looking for a c#-yaml-importer to get i18n? ;-) Or maybe
work with resx-files?
You could accept my first commit, though. It only pushed the version number
in the Solution file and introduced NuGet with current NUnit (2.5.10).
Cheers, Patrick
2011/10/16 Ben Smith <
<EMAIL_ADDRESS>
Hey Patrick,
Thanks for the pull request.
I haven't really touched this lib since the original port of the Ruby faker
gem which provided the inspiration and most of the formatting code. Their
approach to i18n is to have a global locale setting which is set once and
then applies to any of the culture-specific methods:
http://rubydoc.info/github/stympy/faker/master/Faker/Config
That's probably a cleaner approach than adding a language parameter to
every method call.
Cheers,
Ben
--
Reply to this email directly or view it on GitHub:
https://github.com/slashdotdash/faker-cs/pull/1#issuecomment-2423252

You could accept my first commit, though. It only pushed the version number in the Solution file and introduced NuGet with current NUnit (2.5.10).

Ah yes, will do that.
Ben

Can you create another pull request with only commit 87e7e92b90c9b1124b954cb71cd55577e8bded84


Make ingest_utils functions more modular? [Discussion]

I was thinking that the ingest functions all expect lists of data and then loops over them. These feels clunky. Maybe we want to make a ingest_source function which is called by ingest_sources and is also an option to the user in case they want to the do one at time.  (And same for rvs, proper motions, etc.) Thoughts welcome.

Yes, I agree with this- we should have much more object oriented modular functions.
SQLAlchemy does already provide classes that could be very useful for this.
You could probably do something like:
# import the schema definition for our database
from simple import *

# connect to database as normal
from astrodbkit2.astrodb import Database
db = Database(blah)

# use the schema definition to create a source
source_1 = Sources(source='TWA 123', ra=123, dec=-456)
source_2 = Sources(source='TWA 456', ra=123, dec=-456)

# ingest to database
with db.session as session:
     session.add_all([source_1, source_2])
     session.commit()

See also https://docs.sqlalchemy.org/en/20/orm/quickstart.html#create-objects-and-persist
I haven't used the SQLAlchemy ORM very much so I don't know how well-constructed our tables are, but this should be roughly what one can do.

This is being done in the astrodb_scripts repo.


Add support for eIDAS SAML profile

This changeset adds support for eidas attributes and eidas-namespaced nodes - namely SPType and RequestedAttributes.
Three new configuration options are added on the SP configuration section:

sp_type - Per eIDAS profile, the valid values are Public or Private
sp_type_in_metadata - Whether the SPType node should appear in the metadata document or as part of the AuthnRequest.
requested_attributes - A list of attributes that the SP requires from the eIDAS-IdP/eIDAS-Service.

Along are added the schema files (xsd) that were used to generate the respective extension files with parse_xsd2.py and implement the new nodes' definitions.

Would like to see some tests.

@rohe I have added tests for each commit respectively.

Excellent! Thanks !


SSR

I want to merge the core functionality as soon as possible. The public API changes are minimal and I will add them to the documentation ASAP (probably just some minor renames). The new features will be documented when everything is ready (as of now, the code will just "be there" and will be subject to change).
WARNING: THE TESTS ARE BROKEN. I did not want to clutter this PR with test fixes, because some refactoring may still take place.

@wafflepie what is the motivation for merging it asap if the tests are broken?

@aizerin I want to merge it ASAP, but still want a code review to take place. Some changes may occur and I don't want to rewrite the tests all the time. Once we approve these changes, I will write the tests immediately so we can merge. 🙂

@tommmyy Thanks! The changes will be done by Sunday. Anything related to the documentation (such as the bundle-loader upgrade guide) will be done after we approve all the changes to the codebase (but still as a part of this PR).

It's a real pain in the %&# to keep this branch in sync with the master dependency PRs from greenkeeper ;D

@wafflepie keep it up! Give me one week :D

I'm closing this in favour of smaller PRs (#214 and more to come)


Basic example didn't work: "Could not find dependencies"

I went into examples/Basic and ran npm install. I get the following error when I try to run the packager. The error is the same whether I run npm start or react-native start. Thanks.
$ npm start

><EMAIL_ADDRESS>start /Users/foo/react-native-blur/examples/Basic
> node_modules/react-native/packager/packager.sh

Could not find dependencies.
Ensure dependencies are installed - run 'npm install' from project root.

$ npm -v
3.3.6
$ node -v
v5.0.0
$ react-native -v
react-native-cli: 0.1.10
react-native: 0.11.4

Instead of fixing it for React-Native 0.11 I'd say we need to scaffold a new example for 0.19

doesn't work on 0.19

Just submitted a PR w/ a version bump of RN to 0.21.0 and ran great on my end.

I think we should update this example to work just like in side-menu project -> https://github.com/react-native-fellowship/react-native-side-menu/blob/master/examples/Basic/package.json#L6 so that we always run version from master.


Add PRS perf TSG

@dwt0317 : Thanks for your contribution! The author(s) have been notified to review your proposed change. @bi

@dwt0317 : Thanks for your contribution! The author(s) have been notified to review your proposed change. @bi

Hi @dwt0317 - Thanks for your new content submission. A member of the content team will review it.

Hi @dwt0317 - thanks for your PR. There seems to be a lot of placeholder materials. Can you share what you are trying to complete here? Thanks!
cc: @lobrien

Created docs workitem: https://dev.azure.com/mseng/TechnicalContent/_workitems/edit/1771132

Hi @dwt0317 for internal work, please use our private repo. Reach out to Larry O'Brien or Josee Martens for details. Thank you!
#please-close @ktoliver

I was supposed to create a PR to my private repo first. Sorry for the inconvenience.


Incorrect Meetup Information while using 'nextmeetup' command

Bot is not showing the correct schedule when the bot is invoked using the nextmeetup command.The reason for the same is the new architecture of the www.meetup.com website.

Hi @sahilsharma811 please give a detailed information you are getting which can be analysed in order to make the bot better.

Closing this issue as I cannot find the problem.


Relax "REQUIRED_ARGUMENT_AFTER_OPTION" deprecation

Python's typing.Optional does not mean "may be undefined/ has a default", it means "may be None". Just because an argument is nullable doesn't mean that it has some default. As such, it is perfectly reasonable to have a signature like
def my_fn(a: Optional[int], b: int): ...

However, this is not allowed in pyo3:
pub fn my_fn(a: Option<i64>, b: i64) -> ...

error: required arguments after an `Option<_>` argument are ambiguous
       = help: add a `#[pyo3(signature)]` annotation on this function to unambiguously specify the default values for all optional parameters

I'd argue that required arguments after an Option<_> are not ambiguous. As far as I can tell, there is now no way to represent my first case in pyo3, because adding a signature annotation would only allow me to specify a default, which I do not have.
Is it possible to relax this and allow that first case to be represented in the way A) it used to be, and B) is the obvious equivalent between the rust and python representations?

You can represent it like this, making the option required:
#[pyo3(signature = (a, b))]
fn my_fn(a: Option<i64>, b: i64)

For what it's worth, I completely agree with you on this point that Optional does not imply a default. However, PyO3 made a historical design choice to automatically infer all trailing Option arguments have a default of None.
I've proposed to remove this previously, see #2935
There's enough churn in 0.21 that I wouldn't want to proceed with that change right now but I still believe it's the right choice. I suggest you read that thread and if you agree, voice your support there.
Removing that automatic default would also mean that I would remove this error message here which you have encountered. The problem at the moment is that this function has an implicit default of None for a:
fn my_fn(a: Option<i64>) -> ...

but by adding b, because a would no longer be trailing, it doesn't get the implicit default any more. I wanted to avoid this silently breaking user code, hence the error message.

With #4078 merged we will eventually proceed with this, will leave #2935 to track


Ensure unused Provides methods fail at compile-time

For many users, feign will be the first time they see Dagger.  Dagger has a wonderful system of compile-time failures.  However, when Module(library=true) is set, unused bindings will not fail.  This causes an issue when for example, someone binds a parameterized type where a raw type is needed.
Let's hunt down anything that implies users will have to supply Module(library=true) and kill it or identify why.
cc @benjchristensen

dropped support for dagger in #141


Inject headers to alpha network from external source

Extract headers (maybe follow the tip of the mainnet chain) from an execution client, and inject them into a trin client, in a way that offers them to other peers on the network.
TODO:

[x] Manually generate private keys and node ids to create ~8 nodes spread around the DHT ~evenly (perhaps run with larger than usual buckets? Only if that's easier than running more nodes, which seems a little unlikely)
[x] make a bridge-splitter daemon that:

[x] at launch:

[x] runs the ~8 trin nodes, with custom ipc path and port (and data directory?)
[x] connects to 3rd-party service: infura? alchemy? etc
[x] listens for new headers to arrive

[x] when a header arrives:

[x] generate header content-key and content-value
[x] call portal_historyStore on all ~8 nodes with the header
[x] get the transactions and uncles to build the block body, from 3rd party
[x] generate block body content-key and content-value
[x] call portal_historyStore on all ~8 nodes with the block body
[x] get the receipts from 3rd party
[x] generate receipts content-key and content-value
[x] call portal_historyStore on all ~8 nodes with the receipts

[x] In trin, after receiving data via portal_historyStore, gossip it to relevant nodes in routing table (with matching radius) -- depends on #313

[x] Propagate the data, even if it's not stored locally

[x] First approach: #368
[x] Better approach: Pass content values through with the internal Offer request, instead of using database to respond to Accept.

[ ] #411 -- Propagate using portal_historyOffer instead of portal_historyStore
[ ] Use Recursive-Find-Content to confirm that data gets pushed somewhere out to the network from the bridge

It's quick to generate node IDs. I wrote a python script that is generating 10k / second using eth-keys. That was plenty to find these node IDs that seem to be evenly spread:
0001062699225860d6e114c72cae2517e55291148e1ba0357b3ade6827b3f6dd
20026eccb926ffda3c2556597ad5906d4320970f74823722287903e5ab137fba
4002eb4a0645f4f8f3ea2ea75d8b2df567de5a95d7ce9d9a87f2b2f6aa550e77
600122b84f0c22ab6fa95d9747ae76c4c9d4245a88935535039b1b7d861fd534
800048f38a80df283c6100694566532bbb9fb2c8415877530a6dfb161aecd6aa
a0028507e77ed24028ad319176e71792a8423455cd04a5a01bc21ac2d5b789c1
c0020037f5d2261dc391c9a876addceafe51bb64dd9f739433f515939a121718
e000fa0096ffb84e2a148c22ddaa7fff084cef5fd3e2277213d40a82d88d5492

(See the 0, 2, 4, 6... in the upper byte, and 0's in the next bytes)

closing since this functionality has been completed, :flamingo: :axe:


Webscraping with Javascript

Article checklist
Pre-submission checks

Please ensure that you have only one open topic suggestion (issue) + in-review article (linked pull request) at a time. This will ensure that we complete the review process in a timely manner from inception to publishing

If you have not already, please go over our Resources Page for more tips and tricks on how to improve your overall technical writing so reviews are swifter, increase the chance of a payout and provide more value to our readers.

For first-time contributors and for more details on our submission guidelines, see our Contributing Guidelines.

Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes

Remove the backticks and add the issue number below to link and close your Topic Suggestion (issue) when your article has been published (PR has been merged). See this video for more details.

This closes #3177

Finally, delete the article checklist notes in blockquotes and submit your PR. We look forward to reviewing your article.

Hi I'll be your peer reviewer. Glad to see you've included the author details in your first PR!

Remove the backticks and include your issue number as this fixes #3177. I will be taking you through preliminary review

This fixes #3177

Hello @marienjus - Thank you for showing interest in reviewing this article. However, test reviewers are only allowed to review one article at a time. I am going to un-assign you so that another reviewer can review this article.
Regards.

@kimanikevin254
Webscraping with Javascript #3413.pdf
There appear to be many sentences in this article that are taken verbatim from third-party sources. We can't publish any content that is not original or properly cited/referenced. There are many free online tools where you can check this (such as quetext.com, and if you're uncertain about the definitions around plagiarism, this is a good resource to reference.
cc @Dawe-7

@hectorkambow Could you please consider reopening this PR. I fixed the plagiarism mistakes. The problem was that I had included definitions from the official products page.

@hectorkambow ?

@hectorkambow I have re-opened this PR.
Maybe you can run a check again to ensure of it is fine.
@Dawe-7 you can resume with the review if everything is alright.
Regards. 🚀
Cc @Dawe-7
Cc @keerthivarumbudy

@hectorkambow I have re-opened this PR.
Maybe you can run a check again to ensure of it is fine.
@Dawe-7 you can resume with the review if everything is alright.
Regards.
Cc @Dawe-7
Cc @kimanikevin254

@hectorkambow, Could we kindly have another plagiarism check on this PR before i begin the review.

plagiarism check done @kimanikevin254
cc @Dawe-7

@Dawe-7   Requested changes done

Great work. Congrats on your first article and welcome to Section EngEd 🎉 @kimanikevin254
Thank you for the review @Dawe-7
Please go over the changes I made, and:

We always call it Node.js, not NodeJS.
Make sure to double-check the author's file in your next reviews.


Add support for separate bias tensors

🚀 The feature, motivation and pitch
In the transformers implementation of llama, there are optional bias tensors for the LlamaMLP and LlamaAttention modules. Several additional models (specifically Granite Code 3B and 8B) use the llama architecture and have these separate bias tensors.
The proposal here is to add the ability to indicate the presence of bias tensors in TransformerArgs and then support loading them in Attention and FeedForward
Alternatives
If this project is designed to be limited to official Llama models, these bias tensors are not needed.
Additional context
This issue is a piece of the puzzle for adding support for Granite Code 3b/8b which use the llama architecture in transormers, but take advantage several pieces of the architecture that are not currently supported by torchchat. The work-in-progress for Granite Code can be found on my fork: https://github.com/gabe-l-hart/torchchat/tree/GraniteCodeSupport
RFC (Optional)
I have a working implementation to support these optional bias tensors that I plan to submit as a PR. The changes are along the following lines:

Add new parameters to TransformerArgs for attention and ffn bias
Set the bias value based on these parameters in both the Attention and FeedForward modules
Support mapping .bias tensor names in convert_hf_checkpoint
Support permuting .bias tensors in convert_hf_checkpoint
Support loading permuted .bias tensors in model.py

Draft PR up: https://github.com/pytorch/torchchat/pull/1259
Currently, I have all of my branches in sequence in order to avoid merge conflicts since many of them touch similar portions of the code (particularly around TransformerArgs).


tf.nn.depth_to_space is not support

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows10 enterprise
TensorFlow installed from (source or binary): binary (pip install tensorflow==1.14)
TensorFlow version (or github SHA if from source): 1.14

Provide the text output from tflite_convert
Some of the operators in the model are not supported by the standard TensorFlow Lite runtime and are not recognized by TensorFlow. If you have a custom implementation for them you can disable this error with --allow_custom_ops, or by setting allow_custom_ops=True when calling tf.lite.TFLiteConverter(). Here is a list of builtin operators you are using: ADD, BATCH_TO_SPACE_ND, CONV_2D, DEPTHWISE_CONV_2D, SPACE_TO_BATCH_ND, SPACE_TO_DEPTH. Here is a list of operators for which you will need custom implementations: DEPTH_TO_SPACE.

Standalone code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.
Also, please include a link to a GraphDef or the model if possible.
https://gist.github.com/goldflower/dec52a344de461413ae10de84a555b44
Any other info / logs
The code above create the pb file and reproduce the issue.
https://www.tensorflow.org/mlir/tfl_ops
Here says tfl.depth_to_space (TFL::DepthToSpaceOp) can be support but actually not?

@goldflower
Can you try with TF 2.x recent stable version like 2.3 and see if the issue still persists. Thanks!

@goldflower
Can you try with TF 2.x recent stable version like 2.3 and see if the issue still persists. Thanks!

I can convert pb to tflite with TFLiteConverter.from_frozen_graph with TF 2.3.
I also noticed that I can use tflite_convert.exe with TF1.14 to convert without any problem.

@goldflower So everything is working fine with TF 2.3 but you had issues with TF 1.14 only ?
We had a lot of fixes and supported many features in new TF versions. So it is better to stick with new versions.

@karimnosseir
I can use the binary (both taco and tflite_convert under 1.14) to convert it without problem.
I'll use those binaries, thanks.


Menu shade changed after latest W10 update

After the 20-10-15 W10 update, something changed in the menu. It was previously a solid color, now is an awful shaded color.

You mean version 20H2?

Nope.

Ok. An internal team member will have to deal with this.

Huh, you're the second person to report this recently, though we're really not sure what's causing it. The thread we're using to track this is over at /dup #7532. From my experience with this bug, it went away after a reboot, and hasn't come back since, so it's terribly difficult to investigate. You might also be able to mitigate this by rebooting.

I thought that I was the master of finding duplicate issues. 😭

@zadjii-msft I will try to "mitigate" when I reboot. But to be honest, why is it occurring in the first place?

@mwpowellhtx Honestly, I've got no idea. I'm thinking it's an OS bug where ThemeShadows get composited in the wrong z-order. In this case, the shadow from the MenuFlyout is appearing above the MenuFlyout. From what I recall, it was affecting all shadows cast by MenuFlyouts in apps across the OS, including ones in the Xaml Controls Gallery. I wasn't ever able to drive it to a root cause with the composition team, and since it went away for me, I assumed it was just a transient bug that popped up in the middle of a OS release cycle. Apparently, the bug wasn't just transient, and made its way out to users 😢


Dangerfile changelog checking improvements

Summary
Enforces that every package that has changes in the src folder has a changelog modification. Additionally even if only new files have been added a changelog modification is still needed. All packages that need a changelog modification will be listed as opposed to simply stating that a changelog entry need to be included.
Once this gets merged I will likely mirror the changes to other repositories.
Modification of code by @emilyrohrbough

With this change, lets bump to the latest danger version

Updating the danger version requires using babel 7.


Implement pagination support for Consent purpose  list UI.

Implement pagination support for Consent purpose  list UI.

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


typechecker confused about a declaration that isn't

int is just an expression in switch(int) (I assume), yet using it causes int's variable-ness to not be acknowledged in the else below:
    variable Integer int = 1;
    switch (int)
    case (1) {
        int = 2; // ok
    }
    else {
        int = 3; // error: Value is neither variable nor late and is aready definitely specified: int
    }

Hah. This is because the typechecker has no special code for non-narrowing switches, I suppose.

Fixed.


SELECT ERROR

Hi, I'm try using sqlite-vec, follow the README guide.
select
  rowid,
  distance
from vec_examples
where sample_embedding match '[0.890, 0.544, 0.825, 0.961, 0.358, 0.0196, 0.521, 0.175]'
order by distance
limit 2;

but I got an error.
ERROR: A LIMIT or 'k = ?' constraint is required on vec0 knn queries.

I need some help, thank you~

Hey thanks for filing - this is a bug with the SQLite version you're using. TL:DR try this:
select
  rowid,
  distance
from vec_examples
where sample_embedding match '[0.890, 0.544, 0.825, 0.961, 0.358, 0.0196, 0.521, 0.175]'
  and k = 2
order by distance;

The limit 2 syntax only works on SQLite version 3.41 and above, but the k = 2 syntax should work on older versions. You could also upgrade the version of SQLite you're using, but that may be more difficult.
I'll leave this issue open until I improve the error message

Create! It works !! thank you for your reply~

how to install a python SQLite version 3.41?

my sqlite_version=3.41.2, vec_version=v0.1.1 but it not work with follows codes:
      SELECT
        vec_sentences.id,
        distance,
        sentence
      FROM vec_sentences
      LEFT JOIN sentences ON sentences.id = vec_sentences.id
      WHERE sentence_embedding MATCH ?
      ORDER BY distance
      limit 3;

still get follows errors:
Traceback (most recent call last):
  File "query.py", line 27, in <module>
    results = db.execute(
sqlite3.OperationalError: A LIMIT or 'k = ?' constraint is required on vec0 knn queries.

@v-yunbin can you try:
      SELECT
        vec_sentences.id,
        distance,
        sentence
      FROM vec_sentences
      LEFT JOIN sentences ON sentences.id = vec_sentences.id
      WHERE sentence_embedding MATCH ?
        AND k = 3
      ORDER BY distance;

Or possibly upgrade sqlite to >=3.42, I might be wrong about it working on 3.41


How do I authenticate to the Azure CLI for all tasks in a job?

If I have scripts that want to call the Azure CLI outside of this task, how do I permanently authenticate the current job?

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

ID: 8de3304e-98f9-bac0-3ccc-c65f68a89e87
Version Independent ID: 8fb2f6a9-545d-dff1-ff86-974694a85054
Content: Azure CLI task - Azure Pipelines
Content Source: docs/pipelines/tasks/deploy/azure-cli.md
Product: devops
Technology: devops-cicd-tasks
GitHub Login: @ushan
Microsoft Alias: UshaN

@atrauzzi Thank you for the question.
Unfortunately the support options in this forum are limited to specific documentation examples only.
Please reference the documentation below, or use Report a problem or Suggest a feature in the Azure DevOps community to solicit support from the product team.
Otherwise, for additional support options, please see:

Azure DevOps support
Azure DevOps on StackOverflow

Feature requests just take too long and the number of snags I encounter is just far too many.

Sorry for the delay, you can refer to Azure CLI service principals or use one of the support options listed above.
Closing this issue now.

So casually dismissed it is.


Proposal: Refactor the policy structure

Split up the policies according to the data they test
Set the required_checks and optional_checks packages

This is a proposal to put the policies into different directories according to the data that they are supposed to validate(image, repository, clair, rpm_manifest).
Additionally, this change proposes setting the package name for each policy to be either required_checks or optional_checks to allow differentiation when running them together from the same directory.

LGTM but we will also need to change paths in tekton tasks that use these policies


Add compilation utilities to Python interface, clean up repository

This PR:

Closes #26  by renaming stan/ to test_models/
Removes some unnecessary portions of the makefile, fixes make clean
Adds compile_model to the Python interface. This takes in the path to a Stan model and compiles it with bridgestan.
Adds StanModel.from_stan_file() to the Python interface. This is the composition of the above function and the constructor of StanModel.
Fixes an issue where the R tests wouldn't properly report failures (It turns out, R only sets exit codes if you ask it to?)

@bob-carpenter For review, I'm mostly wondering if you think I factored the interface in the right way. I considered updating the constructor to take a stan file instead, but I think it's useful the original way we had it set up, hence the class method. Thoughts?

This looks great.  Just want to double check two things.
Am I reading this correctly in that we assume by default that a to be compiled Stan program lives within BridgeStan's test_models folder?
Can we compile models that don't live within BridgeStan's directory structure?  I'm guessing the answer is yes, if the user calls both set_bridgestan_path() and set_cmdstan_path().  Just want to double check.  Thanks.

We can compile a model anywhere, yes. The default value for BRIDGESTAN_PATH makes the (perhaps unreasonable) guess that you installed the python package from source, so the bridgestan folder should be a parent of the python package location. This is why I check for the existence of Makefile, since that would not appear in, say, Python's site-packages directory.


Option for added non-nullable properties to the RequiredProperties

Wouldn’t it make sense to make non-nullable properties required? When I have a C# propertiy that is non-null and deserialize it without a JSON property for it, I would construct a C# object that violates its nullability claims.

Maybe there is an option for that. However just because it’s not nullable doesnt mean its required - newtonsoft just “deserializes” to the default value (eg 0).

Ok, but that doesn't really work for nun-nollable reference types since the default value is null, which violates exactly the not-null claim of the object contract.

Can you provide a sample (C# and spec)?


Mentions don't showing properly when setting editor initial state.

In my case, I'm using this library to simulate template variables (e.g @[VARIABLE]) which has worked well so far.
So as I mentioned, the problem begins when I try to set a initial state to editor, in order to load some back-end data which contains the HTML to be rendered in the editor, as you see below:
const initializeEditorState = (editor) => {
    // defaultValue is the data that comes from back-end
    if (defaultValue) {
       const parser = new DOMParser();
       const dom = parser.parseFromString(defaultValue, "text/html");
       const nodes = $generateNodesFromDOM(editor, dom);

       $getRoot().select();
       $insertNodes(nodes);
    }
};

const initialConfig = {
    namespace: 'LetterEditor',
    theme: editorTheme,
    onError: (error) => console.error(error),
    editorState: initializeEditorState,
    nodes: [
        HeadingNode,
        ListNode,
        ListItemNode,
        QuoteNode,
        ...createBeautifulMentionNode(CustomMentionComponent),
    ]
};

<LexicalComposer initialConfig={initialConfig}>
    <ToolbarPlugin />
    <RichTextPlugin
        contentEditable={<ContentEditable className="editor" />}
        placeholder={
Escribe...
}
        ErrorBoundary={LexicalErrorBoundary}
    />
    <HistoryPlugin />
    <ListPlugin />
    <BeautifulMentionsPlugin
         items={LETTER_VARIABLES}
         triggers={["@"]}
    />
    <OnChangePlugin onChange={onChange} ignoreSelectionChange />
    <MyCustomAutoFocusPlugin />
</LexicalComposer>

I noticed whenever parsed dom with the defaultValue pass through $generateNodesFromDOM(), this last function erases all the metadata and styles added by ...createBeautifulMentionNode(CustomMentionComponent).
How I saved it on create:

GREETINGS TO YOU @[DD]/@[MM]/@[AAAA]

How it renders on initialize editor (passed through $generateNodesFromDOM() function).

GREETINGS TO YOU @[DD]/@[MM]/@[AAAA]

As you can see, all metadata from metions disappeared in the HTML content, so it couldn't be rendered properly.
Expected behavior
Render the mentions (or variables in this case) correctly on initialize editor state.
Desktop (please complete the following information):

OS: Linux Ubuntu 22.10
Browser: Chrome
Version: 119

How could I fix this?
Or this seems to be a problem with lexical's $generateNodesFromDOM()?
Thank you for the answers and this great library :)

@sodenn Thank you for the correction, now works great!!


no_std + alloc

This crate should be possible to write using only core and alloc, and thus be usable in no_std environments.
The hashbrown implementation should be hugely helpful in figuring out how to do this. In particular, see the magical incantations in src/lib.rs and the use of alloc and core in src/raw/mod.rs. We may be able to simplify some of those since hashbrown has to pull some tricks so that it can be pulled into std. Compare for example with the no_std support in crossbeam-epoch/src/lib.rs.
There are a couple of things that we have to figure out how to operate in a no_std environment:

crossbeam-epoch will need default-features = false and features = ["alloc"]. This will remove epoch::pin (but not epoch::Guard I think), and we'll need to figure out whether the API is still usable (and maybe include some examples).
RandomState is only available with std, so we will want to add a std feature (which is on by default) and only expose it when the feature is enabled. We'll also have to figure out how that affects the default value for S.
Neither num_cpus nor Once (which we use for NCPU) are available on no_std. We'll need to figure out how to determine the stride for transfers without it.
We currently use std::thread::yield_now if we detect an initialization race. It's not entirely clear what we do in this case in a no_std environment. I think it is fine for us to use spin_loop_hint if the std isn't set for the following reason: for there to be a race, there must be another thread running concurrently with us. That thread cannot be blocked on us, since we are not in any mutually-exclusive section. So our goal is just to not waste cycles and give it some time to complete. It is not a requirement that we fully yield.

I'm going to close this for the time being, as we have no compelling use-cases, and the implementation ends up complicating the API a fair amount: #48. If someone does see a strong need for this and are willing to take on supporting this, then let me know and I'll re-open!


Error preview not showing in vim file

First off, this plugin is great! Thanks for the work on this!
When I get a compiler error it does not show up in the error pane (see picture).  At first I thought this was normal behavior for the plugin but I saw a screencast where a detailed error message showed up on the lower portion of the user's screen.  Could one of my other plugins
be interfering with this?  I couldn't find the issue and thought I'd check to see if anyone else had experienced this before manually removing each plugin.  Thanks!

It looks like you are using syntastic. If so, what do your settings for it look like? I need to put the following in my vim config to the syntastic to put the errorsin the location list and open it automatically.
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1

Thanks! I do use syntactic and tried adding those settings but no luck.  Also use the "elm syntactic show warnings" setting (deleting that didn't help).  Here is my vimrc
set encoding=utf-8
set scrolloff=3
set autoindent
set showmode
set showcmd
set hidden
set wildmenu
set wildmode=list:longest
set visualbell
set cursorline
set ttyfast
set ruler
set backspace=indent,eol,start
set laststatus=2
set relativenumber
set undofile
set t_Co=256
set background=dark
colo slate
filetype plugin indent on
syntax on
inoremap jk
set tabstop=4
set shiftwidth=4
set softtabstop=4
set expandtab
let mapleader = "<Space>"
set nocompatible
call plug#begin('~/.vim/plugged')
Plug 'ajh17/vimcompletesme'
Plug 'othree/yajs.vim', { 'for': 'javascript'}
Plug 'othree/es.next.syntax.vim'
Plug 'elzr/vim-json'
Plug 'othree/jsdoc-syntax.vim'
Plug 'heavenshell/vim-jsdoc'
Plug 'marijnh/tern_for_vim', { 'do': 'npm install'}
Plug 'othree/jspc.vim'
Plug 'moll/vim-node'
Plug 'scrooloose/nerdtree'
Plug 'scrooloose/nerdcommenter'
Plug 'scrooloose/syntastic'
Plug 'posva/vim-vue'
Plug 'tpope/vim-sensible'
Plug 'morhetz/gruvbox'
Plug 'vim-airline/vim-airline'
Plug 'elmcast/elm-vim'
let g:polyglot_disabled =['elm']
let g:elm_detailed_complete = 1
let g:elm_format_autosave = 1
let g:elm_syntastic_show_warnings = 1
Plug 'sheerun/vim-polyglot'
call plug#end()


Removed peerDependency

Is there anything that prevents this pr from merging?

@niftylettuce would you mind closing this pr? This was fixed in https://github.com/jorilallo/react-native-emoji/pull/18


PATO_0000051 built as both an object property and a Class.

Mondo term (ID Label)
[PATO_0000051]
Bug/Typo/Error description
[PATO_0000051] is built as both a class and a object property. This is seen in the owl file, and also on OLS. I think the class [PATO_0000051] in this case is the correct modelling, as the class is expected and the object property has no metadata or usage.
Your nano-attribution (ORCID)
If you don't have an ORCID, you can sign up for one here

Hi @gabbysantos - thanks for reporting. yes, this is strange! I'll talk to my team about it and we'll get back to you.

@twhetzel reassigning this to you. We've discussed this and I believe the solution was to update imports. Can you close this when this has been addressed? Thanks!

Based on https://github.com/monarch-initiative/mondo/issues/6712, the imports should be able to be updated now and will work with @sabrinatoro to get this done.

Fixed with https://github.com/monarch-initiative/mondo/pull/6961


Not clear how to submit PRs

Aside from changing the actual source file, does a PR need to include the files that get modified under documentation/ folder? I haven't even changed anything in the documentation, only the homepage. Please clarify in the README.
@reimertz

@yurishkuro agree this should be clarified... I got by with a one-time npm install followed by npm run production prior to submit.
There are a bunch of genfiles which change every time and which should probably be part of a TravisCI step. @reimertz would be better able to make specific suggestions.

Or even better not to have those files changes. As far as I can tell, the change is two-fold, some timestamp is included in JS inside HTML, not sure why, and a couple of js files get a filename based on unix timestamp (things like webpack usually just hash the file content for cache busting, which results in stable file names).
Overall, I am not sure why we need Node to be involved in a jekyll-based site, but then again it was clearly a lot of work to renovate the website that I personally didn't have to do, so I won't complain :-).

@yurishkuro I think the TL;DR is gitbook which has some fancy client-side search features, etc. But I don't actually know (or, frankly, care) either.
Usually when timestamps are involved, it's a way of guaranteeing that browser caches get cleared "no matter what". Not sure if that's the case here.

@yurishkuro I agree with you, the process right is too complex right now and the reason is, as @bensigelman mentioned, because we use gitbook for the documentation part of the page.  I think this flow ended up a bit backwards and needs to be solved.
I think the best solution for this is to add /documentation in the .gitignore and instead run build steps with travis once we get a push to master.
We can then add a badge to in the readme to will show if the latest commit on master is broken or not.
To clarify how a PR should be done, I could create CONTRIBUTE.md with steps necessary to submit a PR.


Bug with check_directory_files_permission

In hubblestack_nova/misc.py , the function check_directory_files_permission has a bug in it on the develop branch:
The "path" parameter is not being used. Relatively, the _execute_shell_command call is always calling "/var/log". I think you may have meant to put the path variable in there?
This function should help to fulfill CIS-4.2.4 in the Ubuntu 16.04 v1.1.0 spec: Ensure permissions on all logfiles are configured.

Good catch. @anuragpaliwal80 can you grab this one? Note that if we just add the path into that command we'll end up with a command injection vulnerability, so we'll need to run that command with python_shell=False on the cmd.run, which is not the default for _execute_shell_command().


Could you share a weight file for the network? Thank you!

The link to Google Drive seems to be down.

+1

@lsh1994 @breath-zw
Sorry I have lost the checkpoint. The unnecessarily complex model architecture is not as novel as the paper claimed, it brings a lot of overhead to inference and scale-up doesn't improve the performance, I suggest don't waste your time on it.


Support user-defined PlatformColors on iOS

Summary
This is a continuation of https://github.com/facebook/react-native/pull/29683. I've talked to @danilobuerger who does not intend on continue work on it and is OK with me picking up where he left. This PR is identical besides adding a test case in the RN Tester app as requested in the original PR.
In summary it gives iOS feature parity with Android in the sense that one can use user-defined native colors, something even the docs claim is possible. It's useful as it enables accessibility features such as high contrast colors and makes implementing dark mode simple. For an example on how it can be used, see https://github.com/klarna-incubator/platform-colors

Changelog
[iOS] [Added] - Allow PlatformColor to return user-defined named asset color
Test Plan
Test case added to RN Tester.

Is there an example for how custom colors can be defined similarly in Android in RN Tester?

@p-sun: In the linked repo there's this for example: https://github.com/klarna-incubator/platform-colors/blob/master/examples/ColorViewerApp/ios/ColorViewerApp/Images.xcassets/accent.colorset/Contents.json Is that what you're asking for?

In summary it gives iOS feature parity with Android in the sense that one can use user-defined native colors

I wondering how this similar feature works in Android and whether there's an usage example.

The main use case for me is supporting dark mode without having to re-implement that logic in JavaScript. Additionally it adds accessibility features such as high contrast color support.

The documentation for PlatformColor can be found here if that helps: https://reactnative.dev/docs/platformcolor

Would this break if the color defined in RCTSemanticColorsMap in RCTConvert.m doesn't match the one defined in Apple's UI Element Colors?
This feature this PR adds is similar to custom colors in Android, but hasn't been documented for iOS, since this custom color is neither a "UIColor Standard Colors" or "UIColor UI Element Colors", from the React Native docs.

If you have a custom color defined with a name conflicting with one defined in RCTSemanticColorsMap it would prefer the custom color.
Re docs: yep that's fair, I'll make a PR updating the docs explicitly stating that custom colors are supported on iOS if this one lands.

I edited my previous comment with a different question.  ^

Do you mean this one?

Is there an example of how custom colors can be defined similarly for Android in RN Tester?

If so it doesn't seem that way aside from textColor, here's an example on how that can look like. Do you want me to add an example for Android too as a part of this PR?

I meant this question.

Would this PR cause a different color to appear if the defined in RCTSemanticColorsMap in RCTConvert.m doesn't match the one defined in Apple's UI Element Colors. i.e. Could this PR cause Apple's UI Element Colors to override the one in RCTSemanticColorsMap?

You don't need to add an example to Android as part of this PR, unless you want too.

To my understanding it would only use RCTSemanticColorsMap if the color doesn't exist on that particular version of iOS. I can change is so that RCTSemanticColorsMap is preferred, but don't think that should matter as the purpose of it is providing fallbacks.

@p-sun: To keep this PR moving, are there any changes you want?


[AutoDiff] Generate transparent ossa reabstraction thunks.

Make the differentiation transform generate transparent, ossa
reabstraction thunks.
This enables these thunks to be inlined into other ossa functions (e.g.
generated VJP and pullback functions) during mandatory inlining.
Resolves TF-989.
Unblocks further autodiff-related optimizations: SR-13390.

@swift-ci Please test

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - 5a20a8ced8612dc77f95c07538325bfcf76b13ec

Build failed
Swift Test OS X Platform
Git Sha - 5a20a8ced8612dc77f95c07538325bfcf76b13ec

@swift-ci Please test macOS

Build failed
Swift Test OS X Platform
Git Sha - 5c96b12361e6e7e17bff85ecad18c1015397b698

macOS CI flaked again.
@swift-ci Please test macOS


Correctly override Object.== everywhere

Using dynamic results in invalid mocks being generated by mockito since ==(dynamic other) can not be overridden by ==(Object other).

The analyzer errors are now gone even without this change, not sure what my problem was actually.
In any case, this seems to be the correct override in post Dart 2.12

Thanks!


Missing GEOS on MacOS / Linux release test instances breaks bbox tests

Side effect of #150 ; GDAL returns different results for a bbox filter when GEOS is available on the system.
All our main CI test instances have GEOS available, but we don't install additional binary dependencies on the wheel test instances (GDAL is packaged in the wheel but not GEOS).
I think we have 3 options:

ensure that GEOS is available on the wheel test instance
parameterize (or skip) the bbox tests to expect different behavior when GEOS is not available (pyogrio.__gdal_geos_version__ is None)
adjust the bounds used for testing to avoid cases where bounding boxes overlap but geometries to not (leaning toward this option)

but we don't install additional binary dependencies on the wheel test instances (GDAL is packaged in the wheel but not GEOS).

GEOS is actually included in the wheels, but the GDAL library for some reason thinks it's not available -> https://github.com/geopandas/pyogrio/issues/92 (the practical outcome is the same of course, the wheels run GDAL without GEOS on MacOS/Linux)

I think we have 3 options:

Maybe keeping some tests where we check the expected result depending on whether pyogrio.__gdal_geos_version__ is None might still be useful?


Getting error when submitting the forms  ( Trying to access array offset on value of type null )

Getting error when submitting the forms
Error Msg : Trying to access array offset on value of type null

It looks like you have an old version of the Form plugin. Please update it as this issue has already been fixed.

It looks like you have an old version of the Form plugin. Please update it as this issue has already been fixed.

Ok. Thank you @mahagr


Skip parsing empty service address

Description
In some cases load balancer service address is empty. This is most likely a temporary state (for example while an address is being assigned to a service). During this period, we should not try to parse the empty address, and instead ignore it.

Related issues/PRs
https://github.com/projectcalico/calico/issues/7916

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

TBD

Reminder for the reviewer
Make sure that this PR has the correct labels and milestone set.
Every PR needs one docs-* label.

docs-pr-required: This change requires a change to the documentation that has not been completed yet.
docs-completed: This change has all necessary documentation completed.
docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

release-note-required: This PR has user-facing changes. Most PRs should have this label.
release-note-not-required: This PR has no user-facing changes.

Other optional labels:

cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

@caseydavenport yeah, I think we should cover this, and also one case for external service IP.


fix(dbm-services): use mysql bin path

关联研发信息
dev_branch: fix/use_mysqldump_bin_path/#8372
target_branch: v1.5.0


What to do if /sys/kernel/btf doesn't exist?

The docs currently say that most distros have /sys/kernel/btf, but there is nothing that explain what to do if that is not the case. Also, it'd be helpful if docs did explain what BTF actually is, as there is no explanation of that either.
Having spent some time digging around the internet, I was able to find out that there is CONFIG_DEBUG_INFO_BTF kernel config option, which sounds like what I should be looking for... But I've found out about that option from some very random page, and I cannot be so sure if it's all I need, or perhaps there could be more options that need checking. I have seen CONFIG_PAHOLE_HAS_SPLIT_BTF is another related option and I definitely have no idea what that might be for.

Yep, here are some pointers on BTF requirements that we could add to explain a little bit more:

https://github.com/libbpf/libbpf#bpf-co-re-compile-once--run-everywhere
https://www.kernel.org/doc/html/latest/bpf/btf.html

If your distro does not have BTF installed (e.g. old Ubuntu versions don't have it!) then this directory /sys/kernel/btf/  would not be available. You need to build the Linux kernel with BTF. Also, setting CONFIG_DEBUG_INFO_BTF=y would be a part of this configuration.
Regarding the information about BTF, including @mtardy links the following could be helpful:

https://facebookmicrosites.github.io/bpf/blog/2018/11/14/btf-enhancement.html

Yep yep indeed! Even the updated version maybe would be better:

https://nakryiko.com/posts/btf-dedup/


Periodic data fetch error

Hi,
I'm seeing this in the logs and a few data points missing corresponding to the entries:
low response status code: 500 (https://api.glowmarkt.com/api/v0-1/resource/47c7c371-c420-412f-a0b6-3897b5fdad55/readings?from=2022-01-01T00:00:00&to=2022-07-26T23:59:59&period=P1Y&offset=-60&function=sum)
Glow response status code: 500 (https://api.glowmarkt.com/api/v0-1/resource/47c7c371-c420-412f-a0b6-3897b5fdad55/tariff)
Glow response status code: 500 (https://api.glowmarkt.com/api/v0-1/resource/8a05a71f-9e0b-4c67-8eb5-d75f89c75086/readings?from=2022-07-26T00:00:00&to=2022-07-26T23:59:59&period=P1D&offset=-60&function=sum)
Glow response status code: 500 (https://api.glowmarkt.com/api/v0-1/resource/47c7c371-c420-412f-a0b6-3897b5fdad55/readings?from=2022-07-26T00:00:00&to=2022-07-26T23:59:59&period=P1D&offset=-60&function=sum)
Glow response status code: 500 (https://api.glowmarkt.com/api/v0-1/resource/28b080e5-4da4-4fa4-bc56-b5f031af29a1/readings?from=2022-07-26T00:00:00&to=2022-07-26T23:59:59&period=P1D&offset=-60&function=sum)

Yes, this is a problem with the instablity of the Glow API.   The intgration is reporting the error from the Glow API.

Same issue reported 100's times a day.
WIll this be feed back to Glow?

Also getting this error and very patchy data, will getting one of their devices to get the data locally resolve this or does it still rely on their API?

I get this every hour now.

I'm getting this every few minutes and all of the sensors are unavailable except 2. Sometimes just 1.
Something has changed either HA end in an update or Glow end in the api???

This should not occur as of v1.0.0


Fix PLW1508 false positive for default string created via a mult operation

Summary
Fix a false positive for default string created via a mult operation.
MY_VAR = os.environ.get("MY_VAR", "0" * 32)

I find the if matches!(op, Operator::Mult) branch inside the Operator::Mult match quite inelegant but was not sure of the most idiomatic way to handle this.
Test Plan
cargo nextest run and cargo insta test.

I find the if matches!(op, Operator::Mult) branch inside the Operator::Mult match quite inelegant but was not sure of the most idiomatic way to handle this.

Agreed -- I fixed it by splitting out the Operator::Mult handling into its own branch 👍 I think that makes more sense, even if it does introduce a tiny bit of repetition.

Wonderful thanks !
Btw, just wanted to say that the dev onboarding was really simple. The Contributing.md is doing a great job.
Thanks for that.


Model code implementation issues

Hello author, I am very interested in the model you propose and first of all I would like to thank the author for making the code public. BTW, I am using the Laplace Pyramid in the code to extract the HF and fusing it with BaseModel to generate an image similar to this, may I ask what is wrong?  HF(p1). output(p2)

Thank you for your question.  In UME-Net, the fusion of high-frequency information is not a simple addition process.  We encode the high-frequency image obtained from high-frequency decomposition to acquire its high-frequency feature representation.  The AFB module  is then used to adaptively fuse this high-frequency representation with the features from the corresponding RGB image encoding layer.  Additionally, we do not feed the enhanced features of the fused high-frequency components back into the encoding layer to avoid affecting the network’s feature extraction.  Instead, these enhanced high-frequency features serve as guiding information to help the network reconstruct a more realistic dehazed image with detailed preservation.


RawKeyboardListener working only up down right left on first click

hello, i am making a flutter app for android tv, i have problem using RawKeyboardListener, i can't event the remote buttons except up, down, left, right button on first click. Can anyone tell me why?

Hi @matamune94,
Please see https://flutter.dev/community for resources and asking questions like this.
You may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


CTIDs

We need to add some special rules to handle the ctid's (maybe we should think later on how to handle special id's inside any community resource, for now let's only solve ctid for cred-reg)

[x] add the prop on the cr resource (credential) schema (cti:ctid)
[ ] check for the pattern: urn:ctid:[guid]
[ ] they are unique (create a uniqueness validation for the  json-schema)
[ ] GET /api/cred-reg/id, generate a new id.

Note there will also be "CredentialID" elements (ctid is child of CredentialID). CredentialIDs can be any arbitrary ID. @stuartasutton has docs on how these two data elements are formally defined.

Yes, the ctid [1] property is a subproperty of credentialId [2] property. While the ctid property is intended to have a CTID, and only a CTID as a value, the credentialID can has as value any globally unique identifier following a publicly recognized format.
[1] http://www.credreg.net/page/propertiesviewer#ctid
[2] http://www.credreg.net/page/propertiesviewer#credentialId


How to add rest api in python using google.api.http?

How to implement grpc-gateway on rest api in python?
syntax = "proto3";
import "google/api/annotations.proto";

service TestService {
    rpc Method(MethodRequest) returns (MethodResponse) {
            option (google.api.http) = {
            post: "/api/v1/test:method"
            body: "*"
        };
    }
}

What should be added here?
    server = grpc.server(futures.ThreadPoolExecutor(max_workers=10))
    stt_pb2_grpc.add_TestServiceServicer_to_server(
        TestService(), server
    )
    address = f"{host}:{port}"
    server.add_insecure_port(address)
    server.start()
    server.wait_for_termination()

The "new issue" form asks users not to post questions as Github issues. Please follow the instructions and use the channels mentioned below to ask questions. For reference, here is the default message that appears when you create a new issue:

PLEASE DO NOT POST A QUESTION HERE. This form is for bug reports and feature requests ONLY!
For general questions and troubleshooting, please ask/look for answers at StackOverflow, with "grpc" tag: https://stackoverflow.com/questions/tagged/grpc
For questions that specifically need to be answered by gRPC team members, please ask/look for answers at grpc.io mailing list: https://groups.google.com/forum/#!forum/grpc-io


Fix issue #641

See issue #641.
The problem was our well known Gazebo "feature" that eliminates fixed joints when converting from URDF to SDF. Then, the pinger link disappeared. I converted the fixed joint into a revolute joint with no movement to bypass the problem.
How to test it?

Launch the simulation as usual:

ros2 launch vrx_gz competition.launch.py world:=sydney_regatta

Look at the WAMV in the entity tree and verify that there is a "pinger" listed. If you select the pinger link, you should observe a tiny sphere between the two pontoons as I enabled a small visual for reference.

Additionally, if you comment out the line 221 in wamv_gazebo.urdf.xacro:

<xacro:wamv_pinger name="pinger" position="-528 191 -2.0" />

You shouldn't see the pinger link in the WAMV entity tree and the functionality of the pinger won't be available (gz topic -l shouldn't report the topic /wamv/pingers/pinger/range_bearing).

@caguero This seems to be working but there is a little quirk where even though gz topic -l doesn't show /wamv/pingers/ping/range_bearing, ros2 topic list still includes it:
/clock
/parameter_events
/rosout
/tf
/tf_static
/vrx/contacts
/vrx/debug/wind/direction
/vrx/debug/wind/speed
/vrx/task/info
/wamv/pingers/pinger/range_bearing
/wamv/pingers/pinger/set_pinger_position
/wamv/pose
...

If I try to echo it I get nothing, so maybe it's ok?

@caguero This seems to be working but there is a little quirk where even though gz topic -l doesn't show /wamv/pingers/ping/range_bearing, ros2 topic list still includes it:
/clock
/parameter_events
/rosout
/tf
/tf_static
/vrx/contacts
/vrx/debug/wind/direction
/vrx/debug/wind/speed
/vrx/task/info
/wamv/pingers/pinger/range_bearing
/wamv/pingers/pinger/set_pinger_position
/wamv/pose
...

If I try to echo it I get nothing, so maybe it's ok?

I just tweaked the code to not advertise the ROS 2 topic if the pinger isn't present.


Code splitting with Webpack2 and System.import does not work

Hello,
I'm trying to do "code splitting" with Webpack 2 and the System.import syntax.
My route looks like so
<Provider store={Store}>
    <Router history={history}>
      <Route
          path="some-page"
          getComponent={(location, cb) => {
            System.import('./some-module.jsx')
              .then((module) => cb(null, module.default))
              .catch((error) => console.error('Dynamic page loading failed', error));
          }}/>
  </Router>
</Provider>

When using 'react-router-redux'
import { routerActions } from 'react-router-redux';
routerActions.push('/some-page')

The url changes but nothing else happens.
Now if I use the react router browserHistory API - it works!
import { browserHistory } from 'react-router/es6';
browserHistory.push('/some-page');

Any ideas on how to solve this with react-router-redux?
Thanks in advance.

This is a bug tracker, not a support system. For usage questions, please use Stack Overflow or Reactiflux. Thanks!


[UPLC] [Docs] Representation of the untyped AST

This shows how to unify a typed AST and an untyped one and explains why I don't like the concept. See the README.

anyone external targeting PLC is likely to target UPLC exclusively

You might even want to target some other typed calculus that still erases to UPLC.

I do like the word "typity" though.

Also, I mentioned this before, but can we modify the CEK machine to use de Bruijn indices (or levels) directly?

I think this might be annoying:

If we use indices directly in environments we have to shift the whole environment every time we go under a binder.
If we use levels like we do in the deBruijn-to-uniques translator, then the level has to be part of the environment for them to make sense, and I'm not sure if that works properly when you store an environment in a closure and then pull it out later.

Translating to uniques isn't that bad, I think we can probably afford to just do it (or worry about it if it turns out to be a problem).

You might even want to target some other typed calculus that still erases to UPLC.

Yep, indeed I think someone mentioned before having a dependently typed language that targets UPLC. This would be much easier than having to go via TPLC, which you'd struggle to make well-typed (and you don't have unsafeCoerce to cheat the typechecker!).

@michaelpj

Another reason to have them completely separate is that anyone external targeting PLC is likely to target UPLC exclusively, so having to also think about TPLC is probably not what they want.

Yep, indeed I think someone mentioned before having a dependently typed language that targets UPLC. This would be much easier than having to go via TPLC, which you'd struggle to make well-typed.

They wouldn't need to think about TPLC too much, but they will need to learn to ignore typed stuff and look through the generalization, which is an unnecessary complication, I agree. Thanks for the point, I'll add it.

(and you don't have unsafeCoerce to cheat the typechecker!)

I guess we can add it as a builtin :trollface:

If we use levels like we do in the deBruijn-to-uniques translator, then the level has to be part of the environment for them to make sense, and I'm not sure if that works properly when you store an environment in a closure and then pull it out later.

Could you expand on this point? Since we have the same type of names that get associated with binders and get assigned to variables, I assume a term with levels looks something like
\₀ \₁ (\₂ 0 (\₃ 3)) (\₂ 1 2)

but that should be a correct term if treated as a term with uniques. And for such terms we can make the variable environment an array/vector/whatever-else-with-O(1)-access, which should speed things up.
Am I misunderstanding something?

So my worry is that level-based environments which get stored in closures can get restored in context where the levels in the environment are no longer correct. I can't think of an example right now but I'll try and come up with one.
I might just be wrong and it's easy to do a machine with de-bruijn names too.

So my worry is that level-based environments which get stored in closures can get restored in context where the levels in the environment are no longer correct. I can't think of an example right now but I'll try and come up with one.

I mean, let's forget about evaluation, can a term with De Bruijn levels treated as a term with names? Is scoping correct? If yes, then any evaluator handling term with names should handle terms with De Bruijn levels.

I mean, let's forget about evaluation, can a term with De Bruijn levels treated as a term with names? Is scoping correct? If yes, then any evaluator handling term with names should handle terms with De Bruijn levels.

Okay yes, I agree that this is true. So yeah it should be fine (I'd forgotten the CEK machine worked with only local uniqueness and not global uniqueness).
That said, you still have to translate indices->levels. If you do it in a pre-pass you might as well go to uniques. I think it should be fine to do it on the fly, though.

That said, you still have to translate indices->levels. If you do it in a pre-pass you might as well go to uniques.

Yes, but levels give us amortized O(1) lookup, which can be a huge deal, since we Scott-encode all data and have a lot of variables. On the other hand, with persistent functional data structures we don't need deep copies of things and copying arrays is not going to be nice. So having variable environments as arrays, saving them in frames and restoring and extending them later etc probably is not worth the trouble.
On the third hand, we probably won't have too big variable environments and knowing that all names are within [0, n] in most cases could allow us to implement some tailored data structure with fast extend and lookup.
Anyway, we don't need to think on this right now, it's just some opportunity for possible optimizations.

And for such terms we can make the variable environment an array/vector/whatever-else-with-O(1)-access, which should speed things up (but we'll need to be able to extend that thing dynamically, not sure how this is normally done in Haskell).

Ah, with deterministic execution we'd know the maximum size in advance.

That said, you still have to translate indices->levels. If you do it in a pre-pass you might as well go to uniques. I think it should be fine to do it on the fly, though.

You might be able to do that off-chain and use the version with levels for transmission.  That might be less compressible though.  You spend a lot of your time referring to variables in nearby scopes: the indices, these are all small numbers, which means that the distribution of the indices is heavily concentrated on the origin.  I suspect that if you used levels they'd be much more evenly distributed so there's less opportunity for using small encodings for common cases.  That would be easy to check though.


Add support for wildcards in the  domains validation

This way, we can validate against, say, *imgur.com, without having to validate i.imgur.com, m.imgur.com, imgur.com separately.
It'd be nice to have "smart" detection of images in which a validation of the domain wouldn't be necessary, but for now, we can focus on this.

Instead of using wildcards, why not just add the known picture domains to the list and have the validation run at O(n) to check whether the domain being checked contains a part of the whitelisted domains.
That way, we can, say, whitelist imgur.com and m.imgur.com, i.imgur.com, imgur.com would pass the validation because the three of them contain the string imgur.com.
Sure, we would need to add manully xyz.com and xyz.net, but if we complete #5 I wonder if it would be worth it to implement a wildcard functionality.


make SMA and RSI features work with customs steps

This PR allows for custom steps for the SMA and RSI features like this:
 features_generators = [SMA(num_days=[5, 10, 15], interval=14, variable='adj_close'),
                                                RSI(num_days=[5, 10, 15], interval=14, variable='adj_close')

It's supposed to be back-wards compatible.

Thank you @uuazed!
At first glance I thought it was a good idea but after digging a bit into the code looks like num_days=[5, 10, 15] will output same result as num_days=15, right? If so, what's the point of this change?
I'm sure I'm missing something here though 😅

It shouldn't output the same. For example looking at the lagged features, num_days=15 will produce ... lag_0, ...lag_1, ...lag_2 ..... lag_15, however num_days=[5, 10, 15] only generates ...lag_0, ..._lag_5, ...lag_10, ....lag_15

oh, know I get it! Very good job!


🚧Update build system to CICD

Complete The Item Below

[X] I have updated the title without removing the 🚧 emoji.

Description
Update the build system to use CICD.
This will require removing all of the current workflows and using the workflows that come with CICD.
Update CICD to the latest version as of the implementation of this issue.
Acceptance Criteria

[x] CICD dotnet tool added to the solution
[x] Workflows replaced/updated.

ToDo Items

[X] Change type labels added to this issue.  Refer to the Change Type Labels section below.
[X] Priority label added to this issue.  Refer to the Priority Type Labels section below.
[X] Issue linked to the correct project (if applicable).
[X] Issue linked to the correct milestone (if applicable).
[x] Draft pull request created and linked to this issue (only required with code changes).

Issue Dependencies

#123

Related Work
No response
Additional Information:
Change Type Labels

Change Type
Label

Bug Fixes
🐛bug

Breaking Changes
🧨breaking changes

New Feature
✨new feature

Workflow Changes
workflow

Code Doc Changes
🗒documentation/code

Product Doc Changes
📝documentation/product

Priority Type Labels

Priority Type
Label

Low Priority
low priority

Medium Priority
medium priority

High Priority
high priority

Code of Conduct

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

Put on hold
Reason:
This is due to the unit tests failing.  This is occurring because pathing is currently only Windows-specific pathing, and the CICD system runs on Ubuntu.  This requires that the pathing code in the main project and in the unit tests all be converted to be cross-platform.
The issue below added as a dependency:

#123

This issue set to a https://github.com/KinsonDigital/CASL/labels/🧨breaking changes
Reason:
The Sound class was set to sealed.


Max/easier head

bug fixes:

head
branches
detach head

Codecov Report

Merging #3 (bed5a24) into main (3b2c95c) will increase coverage by 0.26%.
The diff coverage is 76.47%.

@@            Coverage Diff             @@
##             main       #3      +/-   ##
==========================================
+ Coverage   56.31%   56.58%   +0.26%
==========================================
  Files          11       11
  Lines         950      965      +15
==========================================
+ Hits          535      546      +11
- Misses        415      419       +4

Impacted Files
Coverage Δ

doltcli/__init__.py
100.00% <ø> (ø)

doltcli/dolt.py
51.85% <60.00%> (-0.58%)
:arrow_down:

doltcli/utils.py
93.85% <89.47%> (-0.88%)
:arrow_down:

Continue to review full report at Codecov.

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

released 0.1.1


Propagate exceptions.

Resolves #631

Fails

:no_entry_sign:
Issue marked as feature should have docs commit

  Generated by :no_entry_sign: dangerJS against ef70106548400f11bd79278d71556fdb9b0dbccb

:tada: This PR is included in version 5.0.0-rc.1 :tada:
The release is available on:

5.0.0-rc.1
GitHub release

Your semantic-release bot :package::rocket:


[BUG] error: cannot find macro asm in this scope

Describe the bug
When I tried building the kernel from the source when crates were building at the moment of compilation of lazy_static error: cannot find macro asm in this scope error appeared.
To Reproduce
Steps to reproduce the behavior:

Build the kernel from the instructions on the Github page. The error happened when I ran cargo build

Expected behavior
Expected that the kernel would build succesfully
Additional information

Architecture: x86_64
OS: Debian 11
Build environment: plain linux
QEMU version: QEMU emulator version 5.2.0 (Debian 1:5.2+dfsg-11+deb11u1)
rustc version: rustc 1.59.0-nightly (c5ecc1570 2021-12-15)
Commit hash: here

Several of us are having build issues with Linux. I'm using Arch. I've found today that running a "cargo install" command will succeed. I also tried moving the rust-toolchain file out of the way to see if that made a difference but it didn't. I use the nightly toolchain by default. All of the commands were run from bootstrap.sh file except for installing rustup which is already installed on my systems.
works
cargo install --debug --path .
cargo install --path .
fails
cargo build


Gauntlet Map Doesn't Track Opened Rooms

After today's (5/23/2024) update to the game the plugin no longer tracks what rooms you have opened on the map. I asked about this in the runelite discord and was instructed to report the issue here.
EDIT: One thing that I've noticed is that when you go into a new gauntlet run and open the first room it always shows this room opening, even if you've opened one of the other rooms attached to the start.

Interesting, seems like quite a few plugins broke today. I'll look into it. Thank you for the heads up

Any ETA on a fix?

Seems to be working now, ty for fix!

Huh, still not working for me, what'd you do to fix it?


Refactor key extraction into single method.

This change moves all alternative key logic into a single method.
Allows message keys to be in nested in "data" or "message" object. This is to support parse.com and other providers.
Added additional keys to support Urban Airship.
fixes #147 replaces #218 and #182

Right now this code supports all the providers we know about but I still think we should allow the keys to be externally configurable. I wanted your input on how best to do that. I'm thinking we support the simple alternate keys by default and then allow additional configuration to be passed in to support providers like parse.com and Urban Airship etc.
The config would include some kind of map that the nomalizeKey method could use, a list of prefixes to strip and a list of keys for nested objects to extract.
{
  "alternateKeys": {
      "message": ["message", "alert"],
      "count": ["msgcount", "badge"],
      ....
  },
  "stripPrefix": ["gcm.notification", "com.urbanairship.push"],
  "alternatePayload": ["data", "message"]
}

@smdvdsn Yup, I'm going to merge this now. I agree with your assessment that there should be a configuration file to be able to support other push services. Let me know if you would like committer access to the repo and we can work this out on another branch.

@macdonst I'm happy to keep working on this on another branch. I'm wondering if there is anyway to make this a build time config?

@smdvdsn I think run-time config makes more sense. I'll create a new branch today.


MAINT: Reenable parallel write safety

See https://github.com/scipy/scipy/pull/20897. TL;DR is that the problem was always with reading in parallel, not writing. And the bug is really in Sphinx.
It would be good to detect and clean this up in PST somehow perhaps as well -- maybe with a warning if a top-level / root page ever shows up as a child? This might only be an issue when building in parallel, still not totally clear to me why things were okay in the serial case.
I think any additional changes could be made in a follow-up PR probably.
closes #1643

And the bug is really in Sphinx.

Is there a reference for this somewhere? It triggered under pretty innocent-looking circumstances, so it'd be a pity IMO to have no mechanism in place to diagnose, or at least a sphinx issue to refer to.

Yep, just took me a while to write up!
https://github.com/sphinx-doc/sphinx/issues/12409

Thanks for digging into this issue across scipy/PST/sphinx! 🙏


Add support for Add/Remove Device to/from Collection Endpoints

Add support for the following endpoints that were added to the Collections API:

Add Device to Collection
Remove Device from Collection

Implemented in pull request #15 .


Calcite Query Plan serialization

I've refactored current serialization logic, but we still need to decide how to deal with nodes with multiple inputs.

It looks like no other work is required for now, so, I'm closing the task


Bugfix/tapping behavior

Minor bugfixes.

Fixed a bug where entering a Diners Club card number would not show a card type image.
Fixed a bug where tapping exactly on the '/' character in-between month and year text field or in-between the space between year and cvc text field would let the number input text field become first responder.

👍


redisBufferWrite() failures on send() "continue" case - new with 1.0.0

Converting from 0.13.3 to 1.0.0, we had one usage that consistently failed, keeping the application from starting.  We ended up patching redisNetWrite() to match the behavior of v0.13.3:
@@ -83,7 +83,7 @@ ssize_t redisNetWrite(redisContext *c) {
     ssize_t nwritten = send(c->fd, c->obuf, sdslen(c->obuf), 0);
     if (nwritten < 0) {
         if ((errno == EWOULDBLOCK && !(c->flags & REDIS_BLOCK)) || (errno == EINTR
)) {
-            /* Try again later */
+            return 0 ; /* Try again later - PATCH to match 0.13.3 */
         } else {
             __redisSetError(c, REDIS_ERR_IO, NULL);
             return -1;

The problem with 1.0.0 is that the "Try again later" branch passes the negative return back to redisBufferWrite(), which will declare that as a permanent connection failure.  In 0.13.3, there is no redisNetWrite() and the "Try again later" logic is embedded in redisBufferWrite():
839           nwritten = write(c->fd,c->obuf,sdslen(c->obuf));
840           if (nwritten == -1) {
841               if ((errno == EAGAIN && !(c->flags & REDIS_BLOCK)) || (errno == !
      EINTR)) {
842                   /* Try again later */
843               } else {
844                   __redisSetError(c,REDIS_ERR_IO,NULL);
845                   return REDIS_ERR;
846               }
847           } else if (nwritten > 0) {

So the additional layering of v1.0.0 didn't get the interface behavior quite right.

This will be fixed by #961.

Closing via #1106


Added in back fill metric type, allow for handeling your own packet p…

…rocessing

hello, can you share what is the purpose for this "back fill metric type"? How to use? Thanks.

This was a very quick and some what hacky solution to a problem I had with statsd. We needed some way to aggregate metrics before sending them to InfluxDB, but at the same time we still needed to be able to send metrics with a timestamp for events that happened at some point in the past.
In addition, we needed to be able to slightly modify the way that Statsd processed and validated packets to allow for adding a timestamp to the new metric type.
So far this has been used just a a proof of concept. I intend to revisit this soon and clean this up by making both the processPacket and the metric types modular like the servers/backend are for statsd.


Update records in SQLite via SQL instead of re-creating the database/file

This moves the update from the filesystem layer into the SQL layer, thus
allowing multiple processes to coordinate.  Datasette holds open SQLite
connections and was keeping references to the deleted files.
The new --truncate option to sqlite-utils insert is added in a PR I
submitted https://github.com/simonw/sqlite-utils/pull/118.  For now,
sqlite-utils is installed from our fork.  When/if --truncate is released
officially, we can switch back to installing from PyPI.
Resolves #10.

Alternate to #11.

Well, that was fast: https://twitter.com/simonw/status/1280920409219555328 (or I was slow in merging this!)
I'll update this to use the official version instead of our fork.

Deployed.


Input test for #1940

Add Test_peek_and_get_char to test_timers
Add test_feedinput to feed data to inbuf

I confirmed this test fails with before 8.0.1020.
https://ci.appveyor.com/project/ichizok/vim/build/428
https://travis-ci.org/ichizok/vim/builds/270689255

Codecov Report

Merging #2046 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2046      +/-   ##
==========================================
+ Coverage   74.59%   74.59%   +<.01%
==========================================
  Files          77       77
  Lines      126168   126173       +5
  Branches    28243    28244       +1
==========================================
+ Hits        94113    94123      +10
+ Misses      32055    32050       -5

Impacted Files
Coverage Δ

src/ui.c
45.03% <ø> (+0.32%)
:arrow_up:

src/evalfunc.c
82.6% <100%> (-0.01%)
:arrow_down:

src/if_xcmdsrv.c
85.18% <0%> (-1.3%)
:arrow_down:

src/gui_gtk_x11.c
47.33% <0%> (-0.06%)
:arrow_down:

src/channel.c
79.43% <0%> (-0.05%)
:arrow_down:

src/ex_cmds2.c
80.08% <0%> (+0.05%)
:arrow_up:

src/gui.c
45.72% <0%> (+0.05%)
:arrow_up:

src/term.c
50.66% <0%> (+0.05%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

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

Ozaki Kiichi wrote:

Add Test_peek_and_get_char to test_timers
Add test_feedinput to feed data to inbuf

I confirmed this test fails with before 8.0.1020.
https://ci.appveyor.com/project/ichizok/vim/build/428
https://travis-ci.org/ichizok/vim/builds/270689255

Thanks.  I thought it was difficult to write a test for this, I'm glad
you found a way.
Can you please write documentation for the test_feedinput() function?
The test should check if the test_feedinput function exists.  It is
possible to have the timers feature but not the clientserver feature.
It's safer anyway.
--
Microsoft is to software what McDonalds is to gourmet cooking
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Sorry, I forgot to add document. I updated commit.

The test should check if the test_feedinput function exists.  It is
possible to have the timers feature but not the clientserver feature.
It's safer anyway.

test_feedinput works only when inbuf works, and inbuf works only when
read_from_input_buf is used, i.e. +unix or GUI runnning, therefore I think it is enough to check
has('unix') or has('gui_running').


feat(docgen): generate index file

In #780, all the networks docs were joined, which caused performance issues, and impaires search a bit.
The reason was, a need for index page, as chain docs were moved to another domain, separate from papi.how.
This PR adds a separate index file generation, and effectively rolls back joining of networks' docs.
I've deployed a version of chain docs here: http://chain-docs.ghp.mcornholio.ru/

Thanks Yuri! 😊


Add implementation of local authentication for iOS [SDK-3460]

Description
This PR build up on https://github.com/auth0/auth0-flutter/pull/104 by adding support for local authentication on iOS.
Testing

[ ] This change adds test coverage for new/changed/fixed functionality

Checklist

[ ] I have added documentation for new/changed functionality in this PR or in auth0.com/docs
[ ] All active GitHub checks for tests, formatting, and security are passing
[ ] The correct base branch is being used, if not master

Codecov Report

Merging #108 (940742b) into first-availability (6bb373f) will increase coverage by 3.51%.
The diff coverage is 0.00%.

@@                   Coverage Diff                    @@
##             first-availability     #108      +/-   ##
========================================================
+ Coverage                 93.45%   96.96%   +3.51%
========================================================
  Files                        51       31      -20
  Lines                       794      330     -464
  Branches                     45        0      -45
========================================================
- Hits                        742      320     -422
+ Misses                       45       10      -35
+ Partials                      7        0       -7

Flag
Coverage Δ

auth0_flutter
98.33% <ø> (-0.03%)
:arrow_down:

auth0_flutter_android
?

auth0_flutter_platform_interface
96.66% <0.00%> (-0.73%)
:arrow_down:

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

Impacted Files
Coverage Δ

auth0_flutter/lib/auth0_flutter.dart
100.00% <ø> (ø)

auth0_flutter/lib/src/credentials_manager.dart
100.00% <ø> (ø)

...-manager/options/local_authentication_options.dart
0.00% <0.00%> (ø)

...er_platform_interface/lib/src/request/request.dart
65.00% <0.00%> (-7.23%)
:arrow_down:

...e/lib/src/web-auth/id_token_validation_config.dart
100.00% <ø> (ø)

...est_handlers/api/ResetPasswordApiRequestHandler.kt

...tlin/com/auth0/auth0_flutter/Auth0FlutterPlugin.kt

...h0_flutter/Auth0FlutterWebAuthMethodCallHandler.kt

...edentials_manager/SaveCredentialsRequestHandler.kt

...ter/request_handlers/api/RenewApiRequestHandler.kt

... and 15 more

Continue to review full report at Codecov.

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


Simplify unit tests and make them repeatable

Remove id check in high_performance test. Simplify ros, zmq & high performance tests
Checking for id is not reliable since data multiplexer may discard
some messages. So we can only check whether the number of discarded and
processed messages are coherent.
Also codegen cpp tests need to only check whether data received is correct, so first successfully received message in ros is enough.

Code coverage is reduced in the tests folder. PR #67 will ensure that tests folder are ignored, so the code coverage should not be affected.


Make JSONata classes serializable

Use case:
make (parsed) JSONata expressions usable with RMI, Apache Ignite, Hazelcast etc.

Unfortunately this is not that simple. If I understand this issue correctly, we would like a parsed expression to be serializable such that it can be passed around a cluster. This means that this test code needs to pass:
    Jsonata expr = jsonata("1+2");
    ObjectOutputStream os = new ObjectOutputStream(new ByteArrayOutputStream());
    os.writeObject(expr);

expr ultimately includes all the jsonata bindings for $sum, $split, etc. which are JFunctions. Those, in turn, reference the java.lang.reflect.Method which is not serializable.

Apart from the Method issue, a quick test showed that:

even simple parsed expressions yield "large" serializations:
around 18 kB

contain unnecessary (recomputable) data which should be treated private (internal representation might change in future versions of the lib) and should be transient:

parser's symbol table
default functions (staticFrame)
all unserializable bindings (like methods)

without the unnecessary data:
parsed expressions are serialized to 2 kB (factor 9-10x smaller)


Brapi variantsets

Description
Provide a summary of your changes including motivation and context.
If these changes fix a bug or resolves a feature request, be sure to link to that issue.
Type of change
What type of changes does your code introduce? Put an x in boxes that apply.

[ ] CHANGE (fix or feature that would cause existing functionality to not work as expected)
[x] FEATURE (non-breaking change which adds functionality)
[ ] BUGFIX (non-breaking change which fixes an issue)
[ ] ENHANCEMENT (non-breaking change which improves existing functionality)
[ ] NONE (if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)

Checklist:

[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have updated relevant documentation

Changelog entry
Please add a one-line changelog entry below. This will be copied to the changelog file during the release process.

I would suggest adding a changelog entry in the PR description template so when it gets merged in we have a record of what was merged in the release notes.  It seems that your build is failing due to the DiploidPathFinding.findLikelyParents test again.  I am wondering if we should Ignore that test till @pjbradbury finishes up his refactoring.


Picker representing offset time as UTC

Hi.
Really useful widget, thank you for putting in the effort.
I'm having a problem with picked date-times and time zones, hopefully I'm just missing something and you can point me in the right direction.
My browser is in BST (GMT+01:00) and new Date.getTimezoneOffset() returns the, expected, -60.
The picker pops up and I can select a date & time in the browser local TZ.
However the value going into the input field, despite my specifying a format of 'yyyy-mm-ddThh:ii:ssZ', is still in the local time, no time zone adjustment to UTC has been made.
When the server receives this and interprets it as UTC of course the time is wrong.
I can't see any discussion of TZ issues in the docs and I'd prefer not to use an onSubmit shim to do the TZ adjustment manually unless necessary.
Am I missing something here?
Kind regards,
Matt

This is a real pain +1,  Each user I have uses their own timezone so having no timezone support for the format looks like I will have to stop using this picker :(

+1


autocomplete in csh not working

I tried to register my program with tcsh and it didn't work, after following the direction autocomplete works on zsh, bash but not tcsh in my Mac system
(buildtest) [DOE-7086392:~/Documents/buildtest] siddiq90% eval `register-python-argcomplete --shell tcsh buildtest`
(buildtest) [DOE-7086392:~/Documents/buildtest] siddiq90% buildtest <TAB>
(buildtest) [DOE-7086392:~/Documents/buildtest] siddiq90% echo $SHELL
/bin/csh
(buildtest) [DOE-7086392:~/Documents/buildtest] siddiq90% $SHELL --version
tcsh 6.21.00 (Astron) 2019-05-08 (x86_64-apple-darwin) options wide,nls,dl,bye,al,kan,sm,rh,color,filec

The version of arcomplete is the following
(buildtest) [DOE-7086392:~/Documents/buildtest] siddiq90% pip list | grep argcomplete
argcomplete                   1.12.2
(buildtest) [DOE-7086392:~/Documents/buildtest] siddiq90% python --version
Python 3.7.3

Any idea whats the issue?

Thanks for the report. Can you please export _ARC_DEBUG=1 and paste the output of attempted tab completion?

i dont see any output
(buildtest) [DOE-7086392:~/Documents/buildtest] siddiq90% setenv _ARC_DEBUG 1
(buildtest) [DOE-7086392:~/Documents/buildtest] siddiq90% echo $_ARC_DEBUG
1
(buildtest) [DOE-7086392:~/Documents/buildtest] siddiq90% eval `register-python-argcomplete --shell tcsh buildtest`
(buildtest) [DOE-7086392:~/Documents/buildtest] siddiq90% buildtest <TAB>

Are you able to try again with the change in #342?

ill test it once there is new release. Sorry bit overwhelmed right now.

No problem at all. I'm not in any rush, just trying to help resolve your issue whenever you have the time.

Thank you for your interest in argcomplete. csh is not supported by the maintainers and is only supported by contributors. To help focus maintenance, I will be closing this issue now; please feel free to continue discussion if you have additional information.


The new install.md needs work for SoapySDR (new dependency)

Gross symptoms:
meson build `pwd`
The Meson build system
Version: 0.64.1
Source dir: /home/elkins/BASIS/CyberEther
Build dir: /home/elkins/BASIS/CyberEther/build
Build type: native build
Project name: cyberether
Project version: 0.0.0
C++ compiler for the host machine: ccache c++ (gcc 11.3.0 "c++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
C++ linker for the host machine: c++ ld.bfd 2.38
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Found CMake: /usr/bin/cmake (3.22.1)
Run-time dependency soapysdr found: NO (tried pkgconfig and cmake)

meson.build:16:0: ERROR: Dependency "soapysdr" not found, tried pkgconfig and cmake

A full log can be found at /home/elkins/BASIS/CyberEther/build/meson-logs/meson-log.txt
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.

SoapySDR was installed per https://github.com/pothosware/SoapySDR/wiki/BuildGuide

Solution: change "soapysdr" to "SoapySDR" in meson.build.  See line 17.


Search link is broken

The Search link is Next Steps is giving 404 error.

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

ID: 8fd8f5a8-7ecb-9ee8-0bc9-53b1c5949e41
Version Independent ID: 32eb1cc8-893b-eb61-df92-717bf9f8d4a7
Content: Geocoding Coverage in Azure Maps
Content Source: articles/azure-maps/geocoding-coverage.md
Service: azure-maps
GitHub Login: @kgremban
Microsoft Alias: kgremban

Thanks for pointing out the broken link @swasifali. I also found the same link was broken on the Traffic Coverage article, so fixed both of them. The changes should be live in about four hours if you want to check them out for yourself.

It's fixed, thank you.

@Deinonychus999 thank you for confirming the fix. @SaurabhSharma-MSFT can you #please-close this issue as resolved?

@swasifali We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


withSchema option not working in<EMAIL_ADDRESS>

Introduction
Attempting to perform queries using the withSchema option to target other databases leads to "ER_NO_DB_ERROR: No database selected"
Issue Description
I encountered this issue when attempting to save models on a separate database using the withSchema option. This issue arose after an upgrade to<EMAIL_ADDRESS>from an earlier release. I believe it's related to the automatic refreshes of models after queries.
Steps to reproduce issue
The code being executed is as follows:
await bookshelf.model('Customer').forge(fixtures.models.customer)
  .save(null, { method: 'insert', withSchema: customerSchema });

The queries being executed from the debug log look as follows:
  knex:client acquired connection from pool: __knexUid2 +0ms
  knex:query insert into `customer_db_test`.`customers` (`city`, `country`, `created_at`, `email`, `first_name`, `id`, `last_name`, `mobile_phone`, `move_in_date`, `national_id`, `postal_code`, `street_address`, `updated_at`, `valid_national_id`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) trx12 +0ms
  knex:bindings [ 'City',
  knex:bindings   'Country',
  knex:bindings   '2019-01-09T11:11:06.000Z',
  knex:bindings<EMAIL_ADDRESS>  knex:bindings   'Test',
  knex:bindings   1,
  knex:bindings   'Testman',
  knex:bindings   '000012345678',
  knex:bindings   '1970-01-01T00:00:00.000Z',
  knex:bindings   '1234566789123456789',
  knex:bindings   '12345',
  knex:bindings   'Test St. 1',
  knex:bindings   '2020-01-09T11:11:06.000Z',
  knex:bindings   1 ] trx12 +0ms
  knex:client releasing connection to pool: __knexUid2 +0ms
  knex:client acquired connection from pool: __knexUid2 +0ms
  knex:query select `customers`.* from `customers` where `customers`.`id` = ? limit ? trx12 +0ms
  knex:bindings [ 1, 1 ] trx12 +0ms
  knex:client releasing connection to pool: __knexUid2 +0ms

In the query log i can see that the insert query inserts into the correct database "customer_db_test", however the following select, which i assume refreshes the model, does not target the same database. I believe this to be the root cause of this issue.

I believe this issue is caused by This commit in issue #2012
In the commit on line 1120, the refresh is called on the model, only using the transacting option. Perhaps more of the supported options should be added to this line (And any other related changes which use the automatic refresh.).

Thanks for the report and detailed explanation. You seem to be correct, and doesn't seem that difficult to fix.

Any progress on this? We really need this bug to be fixed.

Then I suggest you submit a fix with tests to confirm the correct behavior, otherwise it may take a while before anyone else works on it.

I tried to fix it, but even with the withSchema option added I ran into other problems. Since this is somewhat of an edge case I added a PR to be able to turn off the refresh functionality instead. #2070
I hope someone could have look and let me know what they think.


Typo

Hey @veggiemonk
just a typo...
Cheers!

hahah, okay - that's funny there is a typo too

Done hahaha 😂