Feature Request: SQL Endpoint with Parameters

Hi there
This project really looks promising! I have one thing I think should be changed: the SQL Endpoint does not seem to support parameters - at least it's not documented. That encourages users to create their SQL by using string concatenation which is not good from a security perspective (SQL injection). I propose to either use JSON Body:
{
"sql": "SELECT * FROM table where name = $name",
"parameters": {"$name": "something that is properly escaped\" drop table table"}
}

Or make use of headers:
POST URLTOTABLE
X-SQL-Parameter-Name: something that is properly escaped" drop table table

SELECT * FROM table where name = $name

What do you think?

that sounds good to me, feel free to send us a PR, we can do the parameter sanitization on the server side.


iOS iframe input focusing bug

Framework7 version: 3.5.2
Platform and Target: iOS 12 (Safari/Chrome/Cordova)

Describe the bug
When trying to click between form inputs inside an iframe it can occur that the click to focus an input doesn't register. It seems that manually closing the keyboard is required to select a different input.
This issue doesn't occur 100% of the time, but very frequently.
If it seems that inputs are working correctly, interacting with an element outside the iframe, then re-entering the iframe and trying again, will cause the issue to surface.
This issue occurs only when Framework7 is initialised. Occurs only on iOS devices. Interestingly in an old Framework7 v1 project, this issue does not occur.
Videos of actual vs expected behaviour
In these videos, all the form elements are within the iframe, the Buy Now button is outside of the iframe.
Issue (Framework7 initialised)
No issue (Framework7 disabled)

Try to add no-fastclick class to iframe


Add the xmllint maker

Thanks!
This appears to come via Syntastic, at least the errorformat is the same (which is good).
Syntastic also uses it for the "xslt" and "docbk" filetypes, and therefore we might want to do the same.

Taking this over (rebased and added fixup).
I'll look into improving the errorformat, since it currently ignores:
validity error : no DTD found!
Document /home/user/src/neomake/t/t.xml does not validate

Finished for now.
This improves the tests by adding a system to generate real fixtures for tests, which will be helpful in the future.
Would be nice if you could test if it works for you, and if not provide some example .xml files.
I've not yet tested if it works for xslt/docb files as expected.

@blueyed I just checked on my usual use case, and it works perfectly.
However, I only check basic syntax (tag matching), and support of extra parameters to the linter (use of relaxng to provide a specific validation schema).

BTW, there are other file formats which as far as I know are actually xml (xsd, fodt, etc...). Should we define xmllint as a maker for those as well ?

xsd, fodt, etc...
Should we define xmllint as a maker for those as well ?

Probably, yes.
But that should not hold this PR back I guess.

Merged, thanks!
Updated the wiki: https://github.com/neomake/neomake/wiki/Makers.


Corrected HTML-escaping behaviour of url template tag.

Due to the URL encoding applied by the tag for all parameters that might be
partly controllable by an end-user, there are no XSS/security problems
caused by this bug, only invalid HTML.

buildbot, test this please


Optimized greatly speed

This version uses an optimized version with vectorization, iterators, continuous integration, and unsafe systems!
This version slice down from 13ns to 2ns on i5-6600 - Linux Debian Rust nightly

Merky


pfire-integration-test regressionTest KO

unexpected issue for a testing configuration with "regression" setting.
Pfire made available using Spack on Sharc:
spack load<EMAIL_ADDRESS>Running pFIRE on brain_2d.conf
Traceback (most recent call last):
File "/home/ac1dt/DEVELOPMENT/pFIRE_refactoring/testdata/integration/regression/mask_test_3d/pyvenv36/bin/pfire-integration-test", line 11, in
load_entry_point('pfire-benchmarking==0.1', 'console_scripts', 'pfire-integration-test')()
File "/home/ac1dt/DEVELOPMENT/pFIRE_refactoring/benchmarking/pfire_benchmarking/main.py", line 41, in main
testsuite.run_tests()
File "/home/ac1dt/DEVELOPMENT/pFIRE_refactoring/benchmarking/pfire_benchmarking/testdespatcher.py", line 99, in run_tests
test.generate_report()
File "/home/ac1dt/DEVELOPMENT/pFIRE_refactoring/benchmarking/pfire_benchmarking/regression_validate.py", line 86, in generate_report
self.pfire_reg_path,
AttributeError: 'RegressionTest' object has no attribute 'pfire_reg_path'

the regression tests do not work with v0.4.0/v0.5.0.
Application_routines.py ->     def run_pfire(self, config_path, comm_size=1):
parses pfire log searching for tokens present only in branch Master

change code phylosophy by reading from configuration file as first choice, instead of parsing log file


One Provider per-process for each certificate using pm2

Hello.
It is mentioned in documentation that

You should only create one Provider per-process for each certificate/key pair you have. You do not need to create a new Provider for each notification. If you are only sending notifications to one app then there is no need for more than one Provider.

i run my application using pm2 -i max
which starts multiple instances of my application therefore multiple Providers are generated.
the question is: is it normal? will i get some errors  or unexpected behaviour ?

You should not create more than one provider per process for each certificate. So, you should be fine.


Managing Corpora of Raw Text and Parsed JSONs

We should use something like DataDeps.jl Paper: https://arxiv.org/abs/1808.01091 for managing the corpus of raw text and the parsed jsons.

@scottagt what is the path on box to the current version of the Automates output JSONs?

The path to the input files is:
/ASKE/Areas/Information Extraction/epireceipes_Automates_GTRI_ASKE_2rules_input
The path to the output files is:
/Users/scott/Box/ASKE/Areas/Information Extraction/epireceipes_Automates_GTRI_ASKE_2rules_output

The path to the input files is:
/ASKE/Areas/Information Extraction/epireceipes_Automates_GTRI_ASKE_2rules_input
The path to the output files is:
ASKE/Areas/Information Extraction/epireceipes_Automates_GTRI_ASKE_2rules_output

Data is available at aske.gtri.gatech.edu/data


Browser font size changed，line-height problem

When I change the font size of my browser
normal:

bigger:

smaller:

I found that in this method only img.offsetTop change when i change the font size of my browser ,the parameters received by the method do not change.I don't know why and how to fix it

Specifications:

html2canvas version tested with:1.4.1
Browser & version:
Operating system:

have any update?

looking for a fix aswell


ENH: Adds quantopian-quandl bundle as new default.

This data bundle will use the quantopian mirror of the quandl WIKI data
instead of downloading from quandl directly. This dramatically improves
the speed because we do not pay the rate limiting for quandl and we can
send the data in the format zipline expects.
NOTE: I need to rebuild the quandl set in s3. To test locally you can change the path to point to s3://.../test/ which is a smaller sample of data which works. I will run the load overnight tonight.

The CLI crashed when I tried to use run from the command line with this:
$ python -m zipline ingest  # Wait 10 seconds or so.  Would be nice to have some progress indication here.
$ python -m zipline run -f zipline/examples/dual_moving_average.py -s 2014 -e 2015

Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/ssanderson/quantopian/qexec/zipline_repo/zipline/__main__.py", line 345, in <module>
    cli()
  File "/home/ssanderson/.virtualenvs/qexec/local/lib/python2.7/site-packages/click/core.py", line 664, in __call__
    return self.main(*args, **kwargs)
  File "/home/ssanderson/.virtualenvs/qexec/local/lib/python2.7/site-packages/click/core.py", line 644, in main
    rv = self.invoke(ctx)
  File "/home/ssanderson/.virtualenvs/qexec/local/lib/python2.7/site-packages/click/core.py", line 991, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/ssanderson/.virtualenvs/qexec/local/lib/python2.7/site-packages/click/core.py", line 837, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/ssanderson/.virtualenvs/qexec/local/lib/python2.7/site-packages/click/core.py", line 464, in invoke
    return callback(*args, **kwargs)
  File "/home/ssanderson/quantopian/qexec/zipline_repo/zipline/__main__.py", line 95, in _
    return f(*args, **kwargs)
  File "/home/ssanderson/quantopian/qexec/zipline_repo/zipline/__main__.py", line 238, in run
    environ=os.environ,
  File "zipline/utils/run_algo.py", line 115, in _run
    bundle_timestamp,
  File "zipline/data/bundles/core.py", line 406, in load
    asset_db_path(name, timestr, environ=environ),
  File "zipline/assets/assets.py", line 108, in __init__
    metadata = sa.MetaData(bind=engine)
  File "/home/ssanderson/.virtualenvs/qexec/local/lib/python2.7/site-packages/sqlalchemy/sql/schema.py", line 3381, in __init__
    self.bind = bind
  File "<string>", line 1, in <lambda>
  File "/home/ssanderson/.virtualenvs/qexec/local/lib/python2.7/site-packages/sqlalchemy/sql/schema.py", line 3477, in _bind_to
    self._bind = sqlalchemy.create_engine(bind)
  File "/home/ssanderson/.virtualenvs/qexec/local/lib/python2.7/site-packages/sqlalchemy/engine/__init__.py", line 386, in create_engine
    return strategy.create(*args, **kwargs)
  File "/home/ssanderson/.virtualenvs/qexec/local/lib/python2.7/site-packages/sqlalchemy/engine/strategies.py", line 49, in create
    u = url.make_url(name_or_url)
  File "/home/ssanderson/.virtualenvs/qexec/local/lib/python2.7/site-packages/sqlalchemy/engine/url.py", line 186, in make_url
    return _parse_rfc1738_args(name_or_url)
  File "/home/ssanderson/.virtualenvs/qexec/local/lib/python2.7/site-packages/sqlalchemy/engine/url.py", line 235, in _parse_rfc1738_args
    "Could not parse rfc1738 URL from string '%s'" % name)
sqlalchemy.exc.ArgumentError: Could not parse rfc1738 URL from string '/home/ssanderson/.zipline/data/quantopian-quandl/1462468523226428000/assets-3.sqlite'

@ssanderson ah, I can repro that in py2. weird that it would change, looking into that now

Coverage increased (+0.3%) to 81.438% when pulling 2565d4f3f42789c67584b35dc23852fef7947a9f on quantopian-quandl into 8756bf2c91c7499da9b27e57e5c8ed8050013b12 on master.

Coverage increased (+0.02%) to 81.429% when pulling 120d60fe273b74ef652e976eb5069459a876a443 on quantopian-quandl into 69972992c09c23a1e3412a46b5ba06738b535bd6 on master.


detailed help for sub-commands

would be nice if bundle install -h worked (same for other sub-commands)

This can be achieved by bundle help <command>, eg. bundle help install.

If you still feel bundle install -h should work, please open an issue in https://github.com/bundler/bundler-features/issues.


ERROR http://<IP_ADDRESS>:14200/rpc/v0 returned no result

ERROR http://<IP_ADDRESS>:14200/rpc/v0 returned no result
DEBUG: method StateMarketStorageDeal / params [1213665, []]
DEBUG: {'jsonrpc': '2.0', 'id': 3, 'error': {'code': 1, 'message': 'deal 1213665 not found - deal may not have completed sealing before deal proposal start epoch, or deal may have been slashed'}}
ERROR http://<IP_ADDRESS>:14200/rpc/v0 returned no result
DEBUG: method StateMarketStorageDeal / params [1213664, []]
DEBUG: {'jsonrpc': '2.0', 'id': 3, 'error': {'code': 1, 'message': 'deal 1213664 not found - deal may not have completed sealing before deal proposal start epoch, or deal may have been slashed'}}
get spammed with mails!

What about now the new version ?


[feature] adapt shortcut: [Toggle Line Comment] editor.action.commentLine

What does 'line command' mean? Does it need to be supported on the side of lsp?

Comment NOT Command

Comment NOT Command

Then how to support it? Does it need to be supported in lsp?

🤔 Let me explore it. Now just for the record via this issue.


Use ThreeTen Backport library from Maven instead of local JSR-310

The ThreeTen library is available as backport for Java 6 and Java 7: http://www.threeten.org/threetenbp/
We should use this one instead of the current local JSR-310 library. This will also prevent a namespace issue when running the narwhal under Java 8 where the 'javax.time' classes were included in the JDK.

Fixed in f2b873effed0e7eb4f577fa00296d9b17aa6fec4


Remove buttons

This is probably a very simple request, but is there an easy way to suppress the buttons (fullsize/share/etc)?
I am trying to incorporate YASQE/YASR into Beaker Notebook and the SVG buttons are weirdly enormous!  I am not a javascript or html guy, so I have no idea how to resize such things.
Here is the example notebook...
https://pub.beakernotebook.com/publications/64bde570-e82f-11e6-8f34-a768de4ad10e

This was a stylesheet problem.


Document -r option for travis encrypt.

This is necessary when the local repo is from a forked repository.
Travis keeps a unique public/private keypair for each repository.
Make sure to encrypt to the public key fromt he main repository, not your own fork.

Maybe this whole section should be moved to the great troubleshooting section added by @adriancole in #90 ?

Actually, travis-ci only recommends adding encrypted properties to the .travis.yml if these are somehow feature or branch dependent, which ours aren't.
I think there's less chance of brute-forcing these credentials when they're simply added to the travis-ci.org job.

Closing this PR as it has been superseded by Contribution guide for java.


Backport PHP 8 function signature fixes to 5.x.x branch

Hi Justin,
I noticed a few deprecation notices when running some tests PHP 8 master builds, and I discovered the recently merged #619 that contains the same fix for it. It was made against the master branch. Here is a PR to backport them to 5.x.x branch, which majority of the dependents currently use. Hopefully we can have a tagged release in 5.x series too :)
Cheers.

If you are going to do backports, can you please do them in the same manner as previous backport PRs. I normally do one every few months - if you take a look at the 5.x.x branch, you'll see what I mean.
I'm happy to tag a new release once the backporting is done.

👍 This is particularly important for composer which uses this dependency, and this warning is raised on every run.

// cc @Seldaek

I opened #631 containing all PHP 8, CI, and composer.json related commits from master branch, cherry-picked for 5.x.x.


add: Paichai University

Thank:s

@saohwan Thank you for your patience while waiting for a review and processing your request. Pull request merged. Please start applying for JetBrains educational subscription at https://www.jetbrains.com/shop/eform/students in an hour, to allow the changes to propagate through JetBrains systems.


Flutter 3.7.3 flutter build windows, But have no UI when I launch my_app.exe, and we can find the app process in Task manager. What's wrong?

Steps to Reproduce

I follow the desktop windows guide of https://docs.flutter.dev/ and create a new project, then, use flutter build  windows to generate a executable file my_app.exe in the folder of build\windows\runner\Release, I want click it open the app, but there is no UI, the icon of my_app can be found in Task manager. If use flutter build windows --debug, the my_app.exe in build\windows\runner\Debug can works.
Environment
my flutter version is 3.7.3, OS is Windows 10.
flutter doctor get the following message:
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel unknown, 3.7.3, on Microsoft Windows [版本 10.0.19044.2604], locale zh-CN)
    ! Flutter version 3.7.3 on channel unknown at C:\develop\flutter\stable
      Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
      If that doesn't fix the issue, reinstall Flutter by following instructions at
      https://flutter.dev/docs/get-started/install.
    ! Unknown upstream repository.
      Reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
[X] Windows Version (Unable to confirm if installed Windows version is 10 or greater)
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    X cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Enterprise 2019 16.11.24)
[√] Android Studio (version 2021.2)
[√] VS Code (version 1.75.1)
[√] Connected device (4 available)
[!] HTTP Host Availability
    X HTTP host "https://pub.dev/" is not reachable. Reason: An error occurred while checking the HTTP host: Connection
      terminated during handshake

! Doctor found issues in 5 categories.

Hi @someboody
Is there any warning/error log from the console that you can notice?
Also, can you try to check:

Retry on the release build if it also happens?
Resizing the window app to see if the widgets can be shown?
Retry on the latest master channel:

flutter channel master
flutter upgrade

Thank you!

This seems to be an issue, this release version can not run in Windows 10, you can download version 3.3.10, this version is no problem.
I see there's some open issues addressing the case you described：#119808 #119415

@huycozy I tried with version 3.7.3, 3.7.4, the same problem happend. build debug exe file can works but release exe cannot. I tried version 3.3.10 (as @zhkkjun commented) ,it works. It seems bo be the same problem with #119415 , Thanks @zhkkjun @huycozy


make the language default can change

please can make the language default can change
because some anonymous people want the strama in arabic language
so the default language is english and can't change just if it login in

Ah ok, sure!

please make it in 1.6.0 RC5

I've added a language select to the edit user modal. So in the next release you can change any users default language including the Anonymous user.


Add Prompts to use System or Managed Python versions or add "auto" option for python preferences

Well sorry for another late Feature request. Ran into an issue at work wherein the downloaded python versions through uv were not detected when passing the command:
uv venv --python 3.8
until I had to re-check the documentation and pass the python preference to be system or managed with command:
uv venv --python 3.8 -p managed
Will it be possible for uv to prompt the user which version to install or can we set it globally to prefer only managed versions?
Thanks.

Just confirming, is this on v0.3.0 or later?

Yes 0.3.0 and later. I am using uv 0.3.2.

From: Charlie Marsh @.>
Sent: Sunday, August 25, 2024 8:01:09 AM
To: astral-sh/uv @.>
Cc: Vasudev @.>; Author @.>
Subject: Re: [astral-sh/uv] Add Prompts to use System or Managed Python versions or add "auto" option for python preferences (Issue #6592)
Just confirming, is this on v0.3.0 or later?
—
Reply to this email directly, view it on GitHubhttps://github.com/astral-sh/uv/issues/6592#issuecomment-2308627528, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANCXKEYSLMM6VLF6JG7MI5DZTE6W3AVCNFSM6AAAAABNB6AI76VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYGYZDONJSHA.
You are receiving this because you authored the thread.Message ID: @.***>

I did install the python versions. Currently I have pipenv installed and managing venv.
So there's no way to declare globally besides using toml config? I had to declare --python- preference managed in cmdline

From: Zanie Blue @.>
Sent: Monday, August 26, 2024 10:17:13 pm
To: astral-sh/uv @.>
Cc: Vasudev @.>; Author @.>
Subject: Re: [astral-sh/uv] Add Prompts to use System or Managed Python versions or add "auto" option for python preferences (Issue #6592)
Are you saying that you had not run uv python install 3.8 but you wanted us to install and use a managed Python version?
For global configuration, you'll want to to set python-preferencehttps://docs.astral.sh/uv/reference/settings/#python-preference to "only-managed" in a user-level uv.tomlhttps://docs.astral.sh/uv/configuration/files/.
—
Reply to this email directly, view it on GitHubhttps://github.com/astral-sh/uv/issues/6592#issuecomment-2310634669, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANCXKE4WK6KXTXNXOOGN5STZTNLY3AVCNFSM6AAAAABNB6AI76VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJQGYZTINRWHE.
You are receiving this because you authored the thread.Message ID: @.***>

I still don't quite follow what you're saying, because --python-preference managed matches out default and should have no effect. Anyway, you can also use UV_PYTHON_PREFERENCE to configure this globally.

I still don't quite follow what you're saying, because --python-preference managed matches out default and should have no effect. Anyway, you can also use UV_PYTHON_PREFERENCE to configure this globally.

I will try to be clear as possible. So I wanted to ask if uv options can be set globally without needing .toml file OR uv should prompt the user asking whether to use system or managed installed when python runtimes are detected without the need for passing --python-preference [managed|system] in the command line.

I don't think we'll block commands for interactive prompting on which Python interpreter to use. We use whatever interpreter we can find to satisfy the Python version — this default is very intentional. If you don't want to use the system interpreters at all, we have several ways to configure that globally and per invocation.

I'll try the uv commands. Is there a documentation link for global commands for uv.

From: Zanie Blue @.>
Sent: Tuesday, August 27, 2024 12:08:12 AM
To: astral-sh/uv @.>
Cc: Vasudev @.>; Author @.>
Subject: Re: [astral-sh/uv] Add Prompts to use System or Managed Python versions or add "auto" option for python preferences (Issue #6592)
I don't think we'll block commands for interactive prompting on which Python interpreter to use. We use whatever interpreter we can find to satisfy the Python version — this default is very intentional. If you don't want to use the system interpreters at all, we have several ways to configure that globally and per invocation.
—
Reply to this email directly, view it on GitHubhttps://github.com/astral-sh/uv/issues/6592#issuecomment-2310830097, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANCXKE4YTPMTWLEGHVOMPOLZTNYZJAVCNFSM6AAAAABNB6AI76VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJQHAZTAMBZG4.
You are receiving this because you authored the thread.Message ID: @.***>

Like https://docs.astral.sh/uv/reference/cli/ ?

Didn't know there it's a web version of entire commands. Been using uv --help to find how to use the commands. Thanks

From: Zanie Blue @.>
Sent: Tuesday, August 27, 2024 9:22:10 PM
To: astral-sh/uv @.>
Cc: Vasudev @.>; Author @.>
Subject: Re: [astral-sh/uv] Add Prompts to use System or Managed Python versions or add "auto" option for python preferences (Issue #6592)
Like https://docs.astral.sh/uv/reference/cli/ ?
—
Reply to this email directly, view it on GitHubhttps://github.com/astral-sh/uv/issues/6592#issuecomment-2312937145, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANCXKE7JGCNM3DXWTZNWQBTZTSOCVAVCNFSM6AAAAABNB6AI76VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJSHEZTOMJUGU.
You are receiving this because you authored the thread.Message ID: @.***>


How to disable demo user on locally hosted OS.js?

Title.
AKA enable register/logon

like, what handler is it

You can use the "example" handler that is included. It's named this way since it's purely an example on how you can do it (but still works fine).
I just updated the docs since they were outdated. Please give them a go and report back if you have any problems or questions.
PHP only at the moment though... I haven't found any time to make one for Node yet :(
https://github.com/andersevenrud/OS.js-v2/blob/master/doc/example-handler.md

I just updated them again. Missed something

Here's a good mile stone: Beta 1 should have node login support

Beta 1 is definately the target to have this in place, including a lot of other stuff. A problem is that I work on this entirely alone (except for the contributors that provide language updates etc.) and I'm very busy with work as of late... so it might take a while :/ My goal is to have a beta this fall/early winter. So stay tuned! :)

Related to: #11

I have just added the nodejs example handler to the repo.
Requirements:

npm install mysql
Follow http://os.js.org/doc/tutorials/create-handler.html

hi i'm active mysql handler, but show error message
APIUser::login()
Error: Cannot enqueue Query after fatal error.


The pipeline editor expects a single "extension", but the new spec allows for an array of "extensions"

this causes a bug where a node isn't created when trying to add a file to the canvas via right click.
@lresende I think this is the bug we were seeing in vscode

fixed


chore(coverage): Update instrumenter

Replace isparta with istambul since isparta is no longer maintained
See: https://github.com/douglasduteil/isparta
Istambul now support es2015/6.
(Also added cross-env to allow it to work on windows)
This PR is not a big deal, just some maintenance, though I did notice the coverage output was slightly more detailed with the babel istambul plugin this PR adds than the isparta loader it replaces.

Changes Unknown when pulling 64d148d273e607b644501e1c65551e2de96759e4 on TheSharpieOne:chore/update-instrumenter into ** on reactstrap:master**.

Changes Unknown when pulling 64d148d273e607b644501e1c65551e2de96759e4 on TheSharpieOne:chore/update-instrumenter into ** on reactstrap:master**.

I think I should restrict tests to latest node version to avoid the double coverage reports.

Yeah, not too sure why it is not about to determine the changes to the coverage either and the branches are "**"... strange.

Coverage remained the same at 100.0% when pulling 27d32b9e94ed789fe2075f361ab83541fc4b24f0 on TheSharpieOne:chore/update-instrumenter into 18a2ef7f02b38660871053fbbafc5648a0fe632f on reactstrap:master.

Coverage remained the same at 100.0% when pulling 27d32b9e94ed789fe2075f361ab83541fc4b24f0 on TheSharpieOne:chore/update-instrumenter into 18a2ef7f02b38660871053fbbafc5648a0fe632f on reactstrap:master.

Coverage remained the same at 100.0% when pulling 27d32b9e94ed789fe2075f361ab83541fc4b24f0 on TheSharpieOne:chore/update-instrumenter into 18a2ef7f02b38660871053fbbafc5648a0fe632f on reactstrap:master.


KUBEDR-4237: Do a live copy of Longhorn PVCs

Skip snapshot of Longhorn PVCs.
Depends on changes in cloudcasa repository but this should be merged first and docker image should be built and pushed to Dockerhub from SWANAND-20-Oct-22 branch.
For test details see https://github.com/catalogicsoftware/cloudcasa/pull/20995

I added changes to be able to enable snapshotting of Longhorn PVCs in a separate commit.

@sshende-catalogicsoftware, can I merge this pull request?

So sorry. Please give me some time. I'll respond in a couple of hours.


docs: Blog on a QA workflow with transformers

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
Closes #4125
Type of change
(Remember to title the PR according to the type of change)

[ ] Documentation update

How Has This Been Tested
(Please describe the tests that you ran to verify your changes.)

[ ] sphinx-autobuild (read Developer Documentation for more details)

Checklist

[ ] I added relevant documentation
[ ] I followed the style guidelines of this project
[ ] I did a self-review of my code
[ ] I made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I filled out the contributor form (see text above)
[ ] I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)

I think we can skip the part on Metadata properties.
maybe some images of the UI would be nice.
also, some more printing of the dataset structure/Python variables would be a good addition. Similar to dataset_hf[0]
@sdiazlor could you add the private space update here?

@kursathalat, it is looking great! Some final remarks, can you add an admonition warning about the usage of an exact quote from the text?

@kursathalat , also QA => Quality Analysis, QnA => Question and Answering, so could you change the usage of these terms a bit?


What's the performance on the nuScene without pre-trained on ImageNet and nuImage ?

Hi, thank you for your excellent work! Can you provide the performance of UniTR on the nuscene without the pre-trained parameters?

Would it be possible to provide the configuration files for pretraining on nuImage and ImageNet? Alternatively, could you share which open-source framework this is based on? Any information or resources would be greatly appreciated. Thanks in advance for your help

We haven't tried training UniTR without pre-trained parameters because using pre-trained parameters has been very common in previous work. Typically, not using pre-training lowers performance. You can experiment by adjusting the command parameters to see how it performs. If you have any more questions or need further assistance, feel free to ask.

Unfortunately, the original configuration files we used for pretraining are lost. We conducted ImageNet pretraining using the MMPretrain and nuImage pretraining using MMDetection3D. For nuImage pretraining, you can refer to the configuration file at this link: nuImage configuration.
Both frameworks have mature configurations that you can adapt for your models and use for pretraining.

Unfortunately, the original configuration files we used for pretraining are lost. We conducted ImageNet pretraining using the MMPretrain and nuImage pretraining using MMDetection3D. For nuImage pretraining, you can refer to the configuration file at this link: nuImage configuration.
Both frameworks have mature configurations that you can adapt for your models and use for pretraining.
Thank you so much for your help!


[BUG] Error publishing APIs across the environments using configuration.env.yaml

Release version
APIOps Toolkit for Azure APIM v4.3.0
Describe the bug
I encountered an issue while trying to publish APIs across environments using the configuration.env.yaml file in the APIOps Toolkit for Azure APIM.
Expected behavior
I expected the APIs to be published successfully in the respective environments. Specifically, when executing the publishing process using the configuration.env.yaml file, I expected the following outcomes:
The APIs defined in the configuration.env.yaml file should be correctly deployed to the target environments specified in the configuration.
The APIs should be accessible and visible within the respective environments' Azure API Management instances.
The API operations, policies, and other configurations specified in the configuration.env.yaml file should be applied to the APIs in the target environments.
The published APIs should be available for consumption and testing by developers in the respective environments' developer portals.
Please feel free to modify or expand upon this section based on your specific expectations and requirements.
Actual behavior
After executing the publishing process using the configuration.env.yaml file, the following behavior was observed:
The publishing process started successfully without any apparent errors or warnings.
However, during the execution of the process, an error occurred, and the publishing process failed.
The specific error message received during the process was as follows:
9 |  if ($LASTEXITCODE -ne 0) { throw "Running publisher failed."}
|                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Running publisher failed.
##[debug]Exit code 1 received from tool '/usr/bin/pwsh'
##[debug]STDIO streams have closed for tool '/usr/bin/pwsh'
##[debug]task result: Failed
##[error]PowerShell exited with code '1'.
##[debug]Processed: ##vso[task.issue type=error;]PowerShell exited with code '1'.
##[debug]Processed: ##vso[task.complete result=Failed;]PowerShell exited with code '1'.
##[debug]task result: Failed
##[error]PowerShell wrote one or more lines to the standard error stream.
##[debug]Processed: ##vso[task.issue type=error;]PowerShell wrote one or more lines to the standard error stream.
##[debug]Processed: ##vso[task.complete result=Failed;]PowerShell wrote one or more lines to the standard error stream.
##[error]Exception: /home/vsts/work/_temp/98a5887d-bfbf-4556-a30d-c8b76b0ff819.ps1:9
Line |
9 |  if ($LASTEXITCODE -ne 0) { throw "Running publisher failed."}
|                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Running publisher failed.
##[debug]Processed: ##vso[task.issue type=error;]Exception: /home/vsts/work/_temp/98a5887d-bfbf-4556-a30d-c8b76b0ff819.ps1:9
Line |
9 |  if ($LASTEXITCODE -ne 0) { throw "Running publisher failed."}
|                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Running publisher failed.
As a result of the error, the APIs defined in the configuration.env.yaml file were not published to the respective environments' Azure API Management instances.
The APIs do not appear in the target environments' Azure API Management instances, and they are not accessible or visible in the respective environments' developer portals.
The API operations, policies, and other configurations specified in the configuration.env.yaml file were not applied to the APIs in the target environments.
Reproduction Steps
Install the APIOps Toolkit for Azure APIM version [APIOps Toolkit for Azure APIM v4.3.0]
Set up the necessary environment configurations and ensure you have the required permissions to perform API publishing in Azure API Management.
Create a configuration.env.yaml file with the appropriate API definitions, environment mappings, and configurations. Ensure that all required information, such as API names, policies, and endpoints, is accurately provided in the configuration file.
Execute the API publishing process using the configuration.env.yaml file by running the corresponding command or script [provide the exact command or script you used].
Observe the execution process and any displayed output or error messages.

I am assuming you called the file
configuration.prod.yaml for production and not configuration.env.yaml? At least by default this is what the production pipeline expects.
Also can you please share the content of the file? Make sure you scrub it first to protect any sensitive information.

We are closing the issue for now. If you are still facing the issue please feel free to reopen.


uv-installed PyPy versions take precedence over non-uv CPython versions

uv 0.4.6 (84f25e8cf 2024-09-05)
I've been playing a bit with uv python and installed pypy3.9 with it and forgot about it.
Now, whenever I run uv venv --python python3.9 I get pypy3.9 instead. It just says Using Python 3.9.19.
My guess is that uv-installed Pythons take hard precedence, because uninstalling it starts giving me my proper Python 3.9 from homebrew, despite the fact I still have a pyp3.9 installed, too.

Hm yeah we'll use a managed Python over an unmanaged one. You think we should prefer the system CPython in this case? You can do --python cpython3.9 or --python cp3.9 to avoid getting PyPy.

Hmmm, fair enough for me, but kinda surprising. I would've never expected to get a PyPy when asking for "Python 3.9". IDK, maybe I'm just set in my ways, by in my mind python3.9 is CPython and pypy3.9 is PyPy.

Yeah that makes sense. We should probably change the ordering, though it'll be a bit of a pain.

I would've never expected to get a PyPy when asking for "Python 3.9". IDK, maybe I'm just set in my ways, by in my mind python3.9 is CPython and pypy3.9 is PyPy.

I've argued this before too. :)

Oh I might be fixing this by accident while working on #7286 haha

To add a datapoint, i'm just running into this and also found the behavior unexpected, especially because the output of a command depends on what other uv-managed pythons were previously installed
uv python install python3.8 pypy.38
uv venv --python python3.8 .venv  # venv created with cpython 3.8

vs
uv python install pypy.38
uv venv --python python3.8 .venv  # venv created with pypy 3.8

Also this produces different results whether run together or separately:
uv python install pypy3.8 python3.8  # installs both cpython & pypy

uv python install pypy3.8
uv python install python3.8  # wont install anything -> already found a 3.8 python pypy


Adding Runway ML AI API Docs to the README file

Adding Runway ML AI API Docs to the README file
Problem Description
Runway ML offers easy-to-use AI tools and APIs for creatives, including capabilities for text, image, video, and 3D content generation. The task is to add a section in the README file of your project that provides documentation and guidance on how to integrate and use the Runway ML API.

Closing due to no PR.


Permission Requirements

this page needs to list the required permissions needed in order to query the data in a .parquet file. Synapse's convoluted permission structure makes it difficult to find where a permission is missing for the errors provided.

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

ID: 7770a017-f3de-4ffb-fbe1-7f673e46b9f6
Version Independent ID: 17f6ec57-f223-63ef-e8a6-971a756c186b
Content: Query Parquet files using serverless SQL pool - Azure Synapse Analytics
Content Source: articles/synapse-analytics/sql/query-parquet-files.md
Service: synapse-analytics
Sub-service: sql
GitHub Login: @azaricstefan
Microsoft Alias: stefanazaric

@Briwalkr
Thanks for the feedback! We have assigned the issue to the content author to further review this and update the document as appropriate.
Hi @julieMSFT - Could you please review the above doc enhancement feedback - Thank you.

#assign:azaricstefan

Hi @Briwalkr
Did you create the external data source as specified here?
This data set is public.
What client are you using? Synapse Studio? SSMS? ADS?


Platform
Linux Debian testing
Plugin
network_info_plus
Version
3.0.1
Flutter SDK
3.3.4
Steps to reproduce

Code Sample
import 'dart:async';
import 'dart:io';

import 'package:device_info_plus/device_info_plus.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:network_info_plus/network_info_plus.dart';

//获取设备信息
Future<String> getinfo() async {
  final wifi = NetworkInfo();
  var wifiIP = await wifi.getWifiIP();
  var wifiName = await wifi.getWifiName();
  String sysinfo = '';
  DeviceInfoPlugin deviceInfo = DeviceInfoPlugin();
  if (Platform.isLinux) {
    LinuxDeviceInfo linux = await deviceInfo.linuxInfo;
    sysinfo = "System_Name: ${linux.prettyName}\nWifi_Name: $wifiName\nWifi_Addr: $wifiIP";
  }
  return sysinfo;
}

void main() {
  runApp(const Login());
}

class Login extends StatefulWidget {
  const Login({super.key});

  @override
  State<Login> createState() => _LoginState();
}

class _LoginState extends State<Login> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        // appBar: AppBar(),
        body: Column(
          children: [
            const Text('Debian testing wifi info'),
            const Divider(),
            FutureBuilder(
              future: getinfo(),
              builder: (context, snapshot) {
                if (snapshot.connectionState == ConnectionState.done) {
                  if (snapshot.hasError) {
                    print("${snapshot.error}"); //flutter: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
                  }
                  if (snapshot.data == null) {
                    return Text('${snapshot.error}');
                  }
                  var sysinfo = snapshot.data!;
                  return Text(
                    sysinfo,
                    style: const TextStyle(fontSize: 16, color: Colors.green),
                  );
                } else {
                  return alert();
                }
              },
            ),
          ],
        ),
      ),
    );
  }
}

Widget alert() {
  const SizedBox(height: 10);
  return const CupertinoActivityIndicator();
}

Logs
flutter run -d linux  --verbose> log.txt

[  +67 ms] executing: uname -m
[  +31 ms] Exit code 0 from: uname -m
[        ] x86_64
[   +6 ms] executing: [/home/Aare/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +3 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] eb6d86ee27deecba4a83536aa20f366a6044895c
[        ] executing: [/home/Aare/flutter/] git tag --points-at eb6d86ee27deecba4a83536aa20f366a6044895c
[  +10 ms] Exit code 0 from: git tag --points-at eb6d86ee27deecba4a83536aa20f366a6044895c
[        ] 3.3.4
[  +48 ms] executing: [/home/Aare/flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[   +1 ms] origin/stable
[        ] executing: [/home/Aare/flutter/] git ls-remote --get-url origin
[   +3 ms] Exit code 0 from: git ls-remote --get-url origin
[        ]<EMAIL_ADDRESS>[  +17 ms] executing: [/home/Aare/flutter/] git rev-parse --abbrev-ref HEAD
[   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +48 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +41 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +69 ms] Skipping pub get: version match.
[  +26 ms] Found plugin device_info_plus at /home/Aare/flutter/.pub-cache/hosted/pub.dartlang.org/device_info_plus-7.0.1/
[  +17 ms] Found plugin network_info_plus at /home/Aare/flutter/.pub-cache/hosted/pub.dartlang.org/network_info_plus-3.0.1/
[  +39 ms] Found plugin device_info_plus at /home/Aare/flutter/.pub-cache/hosted/pub.dartlang.org/device_info_plus-7.0.1/
[   +7 ms] Found plugin network_info_plus at /home/Aare/flutter/.pub-cache/hosted/pub.dartlang.org/network_info_plus-3.0.1/
[  +89 ms] Initializing file store
[   +8 ms] Skipping target: gen_localizations
[   +3 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /home/Aare/nfs_share/flutter/jqh_web/.dart_tool/package_config_subset}
[   +8 ms] Found plugin device_info_plus at /home/Aare/flutter/.pub-cache/hosted/pub.dartlang.org/device_info_plus-7.0.1/
[   +5 ms] Found plugin network_info_plus at /home/Aare/flutter/.pub-cache/hosted/pub.dartlang.org/network_info_plus-3.0.1/
[  +20 ms] gen_dart_plugin_registrant: Complete
[   +1 ms] _composite: Starting due to {}
[        ] _composite: Complete
[   +2 ms] complete
[   +5 ms] Launching lib/main.dart on Linux in debug mode...
[   +4 ms] /home/Aare/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/Aare/flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot --sdk-root /home/Aare/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill /tmp/flutter_tools.CCAFAJ/flutter_tool.JLFYTQ/app.dill --packages /home/Aare/nfs_share/flutter/jqh_web/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build/c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --source /home/Aare/nfs_share/flutter/jqh_web/.dart_tool/flutter_build/dart_plugin_registrant.dart --source package:flutter/src/dart_plugin_registrant.dart -Dflutter.dart_plugin_registrant=file:///home/Aare/nfs_share/flutter/jqh_web/.dart_tool/flutter_build/dart_plugin_registrant.dart --verbosity=error --enable-experiment=alternative-invalidation-strategy
[  +24 ms] Building Linux application...
[  +19 ms] <- compile package:jqh/main.dart
[   +8 ms] executing: [build/linux/x64/debug/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DFLUTTER_TARGET_PLATFORM=linux-x64 /home/Aare/nfs_share/flutter/jqh_web/linux
[ +182 ms] -- The CXX compiler identification is Clang 14.0.6
[  +13 ms] -- Detecting CXX compiler ABI info
[ +173 ms] -- Detecting CXX compiler ABI info - done
[   +9 ms] -- Check for working CXX compiler: /usr/bin/clang++ - skipped
[        ] -- Detecting CXX compile features
[        ] -- Detecting CXX compile features - done
[   +5 ms] -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
[        ] -- Checking for module 'gtk+-3.0'
[  +14 ms] --   Found gtk+-3.0, version 3.24.34
[  +67 ms] -- Checking for module 'glib-2.0'
[  +11 ms] --   Found glib-2.0, version 2.74.0
[  +31 ms] -- Checking for module 'gio-2.0'
[  +11 ms] --   Found gio-2.0, version 2.74.0
[  +34 ms] -- Configuring done
[   +8 ms] -- Generating done
[   +6 ms] -- Build files have been written to: /home/Aare/nfs_share/flutter/jqh_web/build/linux/x64/debug
[  +10 ms] executing: ninja -C build/linux/x64/debug install
[   +6 ms] ninja: Entering directory `build/linux/x64/debug'
[+16362 ms] [1/6] Generating /home/Aare/nfs_share/flutter/jqh_web/linux/flutter/ephemeral/libflutter_linux_gtk.so, /home/Aare/nfs_share/flutter/jqh_web/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h, /home/Aare/nfs_share/flutter/jqh_web/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h, /home/Aare/nfs_share/flutter/jqh_web/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h, /home/Aare/nfs_share/flutter/jqh_web/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h, /home/Aare/nfs_share/flutter/jqh_web/linux/flutter/ephemeral/flutter_linux/fl_engine.h, /home/Aare/nfs_share/flutter/jqh_web/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h, /home/Aare/nfs_share/flutter/jqh_web/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h, /home/Aare/nfs_share/flutter/jqh_web/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h, /home/Aare/nfs_share/flutter/jqh_web/linux/flutter/ephemeral/flutter_linux/fl_method_call.h, /home/Aare/nfs_share/flutter/jqh_web/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h, /home/Aare/nfs_share/flutter/jqh_web/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h, /home/Aare/nfs_share/flutter/jqh_web/linux/flutter/ephemeral/flutter_linux/fl_method_response.h, /home/Aare/nfs_share/flutter/jqh_web/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h, /home/Aare/nfs_share/flutter/jqh_web/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h, /home/Aare/nfs_share/flutter/jqh_web/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h, /home/Aare/nfs_share/flutter/jqh_web/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h, /home/Aare/nfs_share/flutter/jqh_web/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h, /home/Aare/nfs_share/flutter/jqh_web/linux/flutter/ephemeral/flutter_linux/fl_value.h, /home/Aare/nfs_share/flutter/jqh_web/linux/flutter/ephemeral/flutter_linux/fl_view.h, /home/Aare/nfs_share/flutter/jqh_web/linux/flutter/ephemeral/flutter_linux/flutter_linux.h, _phony_
[        ] [  +72 ms] executing: uname -m
[        ] [  +37 ms] Exit code 0 from: uname -m
[        ] [        ] x86_64
[        ] [   +7 ms] executing: [/home/Aare/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [   +3 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] eb6d86ee27deecba4a83536aa20f366a6044895c
[        ] [        ] executing: [/home/Aare/flutter/] git tag --points-at eb6d86ee27deecba4a83536aa20f366a6044895c
[        ] [  +10 ms] Exit code 0 from: git tag --points-at eb6d86ee27deecba4a83536aa20f366a6044895c
[        ] [        ] 3.3.4
[        ] [  +68 ms] executing: [/home/Aare/flutter/] git rev-parse --abbrev-ref HEAD
[        ] [   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[        ] [  +54 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [  +89 ms] executing: [/home/Aare/flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[        ] [   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[        ] [        ] origin/stable
[        ] [        ] executing: [/home/Aare/flutter/] git ls-remote --get-url origin
[        ] [   +3 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ]<EMAIL_ADDRESS>[        ] [        ] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +31 ms] Initializing file store
[        ] [  +14 ms] Skipping target: gen_localizations
[        ] [  +15 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /home/Aare/nfs_share/flutter/jqh_web/.dart_tool/package_config_subset}
[        ] [   +3 ms] unpack_linux: Starting due to {}
[        ] [ +138 ms] unpack_linux: Complete
[        ] [ +543 ms] Found plugin device_info_plus at /home/Aare/flutter/.pub-cache/hosted/pub.dartlang.org/device_info_plus-7.0.1/
[        ] [  +18 ms] Found plugin network_info_plus at /home/Aare/flutter/.pub-cache/hosted/pub.dartlang.org/network_info_plus-3.0.1/
[        ] [  +52 ms] gen_dart_plugin_registrant: Complete
[        ] [   +1 ms] kernel_snapshot: Starting due to {}
[   +1 ms] [   +8 ms] /home/Aare/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/Aare/flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot --sdk-root /home/Aare/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --packages /home/Aare/nfs_share/flutter/jqh_web/.dart_tool/package_config.json --output-dill /home/Aare/nfs_share/flutter/jqh_web/.dart_tool/flutter_build/5672ee7e3979484934f0031db39ad231/app.dill --depfile /home/Aare/nfs_share/flutter/jqh_web/.dart_tool/flutter_build/5672ee7e3979484934f0031db39ad231/kernel_snapshot.d --incremental --initialize-from-dill /home/Aare/nfs_share/flutter/jqh_web/.dart_tool/flutter_build/5672ee7e3979484934f0031db39ad231/app.dill --source /home/Aare/nfs_share/flutter/jqh_web/.dart_tool/flutter_build/dart_plugin_registrant.dart --source package:flutter/src/dart_plugin_registrant.dart -Dflutter.dart_plugin_registrant=file:///home/Aare/nfs_share/flutter/jqh_web/.dart_tool/flutter_build/dart_plugin_registrant.dart --verbosity=error package:jqh/main.dart
[        ] [+13318 ms] kernel_snapshot: Complete
[        ] [ +455 ms] debug_bundle_linux-x64_assets: Starting due to {}
[        ] [ +365 ms] debug_bundle_linux-x64_assets: Complete
[        ] [ +405 ms] Persisting file store
[        ] [   +7 ms] Done persisting file store
[        ] [   +5 ms] build succeeded.
[        ] [  +10 ms] "flutter assemble" took 15,516ms.
[        ] [   +4 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[ +595 ms] [2/6] Building CXX object CMakeFiles/jqh_web.dir/main.cc.o
[  +19 ms] [3/6] Building CXX object CMakeFiles/jqh_web.dir/flutter/generated_plugin_registrant.cc.o
[  +32 ms] [4/6] Building CXX object CMakeFiles/jqh_web.dir/my_application.cc.o
[ +144 ms] [5/6] Linking CXX executable intermediates_do_not_run/jqh_web
[        ] [5/6] Install the project...
[  +16 ms] -- Install configuration: "Debug"
[        ] -- Installing: /home/Aare/nfs_share/flutter/jqh_web/build/linux/x64/debug/bundle/jqh_web
[   +1 ms] -- Set runtime path of "/home/Aare/nfs_share/flutter/jqh_web/build/linux/x64/debug/bundle/jqh_web" to "$ORIGIN/lib"
[        ] -- Installing: /home/Aare/nfs_share/flutter/jqh_web/build/linux/x64/debug/bundle/data/icudtl.dat
[   +5 ms] -- Installing: /home/Aare/nfs_share/flutter/jqh_web/build/linux/x64/debug/bundle/lib/libflutter_linux_gtk.so
[  +85 ms] -- Installing: /home/Aare/nfs_share/flutter/jqh_web/build/linux/x64/debug/bundle/data/flutter_assets
[        ] -- Installing: /home/Aare/nfs_share/flutter/jqh_web/build/linux/x64/debug/bundle/data/flutter_assets/version.json
[        ] -- Installing: /home/Aare/nfs_share/flutter/jqh_web/build/linux/x64/debug/bundle/data/flutter_assets/shaders
[        ] -- Installing: /home/Aare/nfs_share/flutter/jqh_web/build/linux/x64/debug/bundle/data/flutter_assets/shaders/ink_sparkle.frag
[        ] -- Installing: /home/Aare/nfs_share/flutter/jqh_web/build/linux/x64/debug/bundle/data/flutter_assets/NOTICES.Z
[        ] -- Installing: /home/Aare/nfs_share/flutter/jqh_web/build/linux/x64/debug/bundle/data/flutter_assets/kernel_blob.bin
[  +55 ms] -- Installing: /home/Aare/nfs_share/flutter/jqh_web/build/linux/x64/debug/bundle/data/flutter_assets/AssetManifest.json
[        ] -- Installing: /home/Aare/nfs_share/flutter/jqh_web/build/linux/x64/debug/bundle/data/flutter_assets/fonts
[        ] -- Installing: /home/Aare/nfs_share/flutter/jqh_web/build/linux/x64/debug/bundle/data/flutter_assets/fonts/MaterialIcons-Regular.otf
[   +2 ms] -- Installing: /home/Aare/nfs_share/flutter/jqh_web/build/linux/x64/debug/bundle/data/flutter_assets/FontManifest.json
[  +10 ms] Building Linux application... (completed in 18.0s)
[ +212 ms] Observatory URL on device: http://<IP_ADDRESS>:37961/DBG7Z04hAts=/
[   +5 ms] Caching compiled dill
[  +98 ms] Connecting to service protocol: http://<IP_ADDRESS>:37961/DBG7Z04hAts=/
[ +163 ms] Launching a Dart Developer Service (DDS) instance at http://<IP_ADDRESS>:0, connecting to VM service at http://<IP_ADDRESS>:37961/DBG7Z04hAts=/.
[  +84 ms] DDS is listening at http://<IP_ADDRESS>:37347/tovsDCCHgIw=/.
[  +49 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:37961/DBG7Z04hAts=/
[  +26 ms] DevFS: Creating new filesystem on the device (null)
[  +14 ms] DevFS: Created new filesystem on the device (file:///tmp/jqh_webPCTSNX/jqh_web/)
[   +1 ms] Updating assets
[  +87 ms] Syncing files to device Linux...
[   +1 ms] Compiling dart to kernel with 0 updated files
[        ] Processing bundle.
[   +1 ms] <- recompile package:jqh/main.dart afc938d1-30c6-409c-96f7-6b5c6bb9aa43
[        ] <- afc938d1-30c6-409c-96f7-6b5c6bb9aa43
[   +1 ms] Bundle processing done.
[ +140 ms] Updating files.
[        ] DevFS: Sync finished
[   +1 ms] Syncing files to device Linux... (completed in 146ms)
[        ] Synced 0.0MB.
[   +1 ms] <- accept
[   +1 ms] Connected to _flutterView/0x55b752079d30.
[   +2 ms] Flutter run key commands.
[   +1 ms] r Hot reload. 🔥🔥🔥
[        ] R Hot restart.
[        ] h List all available interactive commands.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] 💪 Running with sound null safety 💪
[        ] An Observatory debugger and profiler on Linux is available at: http://<IP_ADDRESS>:37347/tovsDCCHgIw=/
[ +259 ms] The Flutter DevTools debugger and profiler on Linux is available at: http://<IP_ADDRESS>:9102?uri=http://<IP_ADDRESS>:37347/tovsDCCHgIw=/
[  +30 ms] flutter: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
[+3566 ms] Service protocol connection closed.
[        ] Lost connection to device.
[        ] DevFS: Deleting filesystem on the device (file:///tmp/jqh_webPCTSNX/jqh_web/)
[   +2 ms] (jqh_web:13139): GLib-GObject-WARNING **: 21:29:18.819: ../../../gobject/gsignal.c:2772: instance '0x55b7519a21b0' has no handler with id '110'
[ +251 ms] Ignored error while cleaning up DevFS: TimeoutException after 0:00:00.250000: Future not completed
[   +7 ms] "flutter run" took 23,383ms.
[   +5 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[   +1 ms] exiting with code 0

Flutter Doctor
[!] Flutter (Channel stable, 3.3.4, on Debian GNU/Linux bookworm/sid 6.0.0-2-amd64, locale zh_CN.UTF-8)
    • Flutter version 3.3.4 on channel stable at /home/Aare/flutter
    ! Upstream repository<EMAIL_ADDRESS>is not a standard remote
    • Framework revision eb6d86ee27 (3 周前), 2022-10-04 22:31:45 -0700
    • Engine revision c08d7d5efc
    • Dart version 2.18.2
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /home/Aare/Android/Sdk
    • Platform android-33, build-tools 33.0.0
    • ANDROID_HOME = /home/Aare/Android/Sdk
    • ANDROID_SDK_ROOT = /home/Aare/Android/Sdk
    • Java binary at: /home/Aare/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • Debian clang version 14.0.6-2
    • cmake version 3.24.2
    • ninja version 1.11.1
    • pkg-config version 0.29.2

[✓] Android Studio (version 2021.2)
    • Android Studio at /home/Aare/android-studio
    • Flutter plugin version 70.0.2
    • Dart plugin version 212.5744
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.72.2)
    • VS Code at /usr/share/code
    • Flutter extension version 3.50.0

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Debian GNU/Linux bookworm/sid 6.0.0-2-amd64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 107.0.5304.87

Checklist before submitting a bug

[X] I Google'd a solution and I couldn't find it
[X] I searched on StackOverflow for a solution and I couldn't find it
[X] I read the README.md file of the plugin
[X] I'm using the latest version of the plugin
[X] All dependencies are up to date with flutter pub upgrade
[X] I did a flutter clean
[X] I tried running the example project

Can you explain in words what the actual error is and the steps to reproduce it?

The answer may be in your own logs: "The name org.freedesktop.NetworkManager was not provided by any .service files"
Looks like your OS doesn't provide the required services that the plugin needs. Maybe try to install network-manager?


corelib_2/bigint_from_test/3 failing on vm-kernel-reload-mac-release-simdbc64

It has been flaky since at least Sept. 18, but now it's turning the CI build red. Here's an
example log showing the failure:
/=========================================================================\
| corelib_2/bigint_from_test/3 failed again (RuntimeError, expected Pass) |
\=========================================================================/

--- Command "vm_compile_to_kernel []" (took 825ms):
DART_CONFIGURATION=ReleaseSIMDBC64 /b/s/w/ir/pkg/vm/tool/gen_kernel --no-aot --platform=xcodebuild/ReleaseSIMDBC64/vm_platform_strong.dill -o /b/s/w/ir/xcodebuild/ReleaseSIMDBC64/generated_compilations/dartk/tests_corelib_2_bigint_from_test.dart_3/out.dill /b/s/w/ir/tests/corelib_2/bigint_from_test.dart --packages=/b/s/w/ir/.packages -Ddart.developer.causal_async_stacks=true

exit code:
0

--- Command "vm" (took 05.000589s):
DART_CONFIGURATION=ReleaseSIMDBC64 xcodebuild/ReleaseSIMDBC64/dart --hot-reload-test-mode --optimization-counter-threshold=5 --no-background-compilation --ignore-unrecognized-flags --packages=/b/s/w/ir/.packages /b/s/w/ir/xcodebuild/ReleaseSIMDBC64/generated_compilations/dartk/tests_corelib_2_bigint_from_test.dart_3/out.dill

exit code:
255

stderr:
Unhandled exception:
Expect.equals(expected: <4611686018427387900>, actual: <4611686018427387903>) fails.
#0      Expect._fail (package:expect/expect.dart:665:5)
#1      Expect.equals (package:expect/expect.dart:123:7)
#2      testInt (file:///b/s/w/ir/tests/corelib_2/bigint_from_test.dart:73:10)
#3      main (file:///b/s/w/ir/tests/corelib_2/bigint_from_test.dart:23:5)
#4      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:305:19)
#5      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)

--- Re-run this test:
python tools/test.py -n dartk-reload-mac-release-simdbc64 corelib_2/bigint_from_test/3

Unlike #37529, this isn't a crash but an actual wrong generated value. Looking at older issues, this may be a regression related to #34901? Approving for now to turn the builder green.

simdbc64 architecture was discontinued and dartk-reload-mac-release-simdbc64 bot was removed.


“BTN” is not a valid gear set number.

I keep getting this error line and unable to auto change to my set gear after the newest patch, can someone help me solve this issue?


Automatically scrolling to top of note when entering custom link name

Hello!
I've recently noticed (since writing larger notes), that every time I use the "select with custom alias" feature to insert a link to another note, that the note I'm editing is automatically scrolled to the top...
I think this is quite hindersome when using this feature a lot, like I do, and would preferably keep my "scroll progression" when using this feature.
Thanks!

Hi, @lukasschulte03 :)
Unfortunately, I couldn't reproduce it. Could you tell me the reproduction steps in the sandbox vault?


Add tests case covering Spring Profile

Add tests case covering Spring Profile (kubernetes vs dev)  to better document Issue #88

Do we have to relaunch the job as it returned ?
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar (javadoc) on project spring-cloud-kubernetes: Execution javadoc of goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar failed: Plugin org.apache.maven.plugins:maven-javadoc-plugin:2.10.4 or one of its dependencies could not be resolved: Failed to collect dependencies at
org.apache.maven.plugins:maven-javadoc-plugin:jar:2.10.4 -> org.apache.maven.shared:maven-invoker:jar:2.2: Failed to read artifact descriptor for org.apache.maven.shared:maven-invoker:jar:2.2: Could not transfer artifact org.apache.maven.shared:maven-shared-components:pom:21 from/to spring-snapshots (http://repo.spring.io/libs-snapshot-local):
Failed to transfer file: http://repo.spring.io/libs-snapshot-local/org/apache/maven/shared/maven-shared-components/21/maven-shared-components-21.pom. Return code is: 409 , ReasonPhrase:Conflict. -> [Help 1]

Do we have to relaunch the job as it returned ? @iocanel @spencergibb
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar (javadoc) on project spring-cloud-kubernetes: Execution javadoc of goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar failed: Plugin org.apache.maven.plugins:maven-javadoc-plugin:2.10.4 or one of its dependencies could not be resolved: Failed to collect dependencies at
org.apache.maven.plugins:maven-javadoc-plugin:jar:2.10.4 -> org.apache.maven.shared:maven-invoker:jar:2.2: Failed to read artifact descriptor for org.apache.maven.shared:maven-invoker:jar:2.2: Could not transfer artifact org.apache.maven.shared:maven-shared-components:pom:21 from/to spring-snapshots (http://repo.spring.io/libs-snapshot-local):
Failed to transfer file: http://repo.spring.io/libs-snapshot-local/org/apache/maven/shared/maven-shared-components/21/maven-shared-components-21.pom. Return code is: 409 , ReasonPhrase:Conflict. -> [Help 1]

What exactly are we trying to test here?
This look like it tests spring itself, rather than spring cloud kubernetes.
Do I miss something?

Do I miss something?

No. The idea of the test case is to demonstrate what will happen if the Kubernetes profile is used or not. Ideally it should run in a Kubernetes Mocked Server to verify that the profile is active or not

If I remember correctly the kubernetes detection happen by checking the existence of files and environment variables, so we can't mock it.
Since, this test is not actually testing s.p.k I would prefer we keep it out.


add support for save_hyperparameters with Python Data Class

Python Data Classes are convenient in that they automatically generate a bunch of boilerplate code for assigning data to a class. They are particularly useful for PyTorch models that have a lot of hyperparameters and thus a lot of boilerplate.
🐛 Bug
I believe https://github.com/PyTorchLightning/pytorch-lightning/pull/1896 introduced a new bug: when using a data class, save_hyperparameters no longer works since it depends on init args and we instead use __post_init__ with dataclasses. Explicitly passing strings does not work either. Perhaps when passing
Code sample
import pytorch_lightning as pl
from dataclasses import dataclass

@dataclass()
class ConvDecoder(pl.LightningModule):
    imageChannels:int = 3

    def __post_init__(self):
        super().__init__()
        # both fail
#         self.save_hyperparameters()
        self.save_hyperparameters('imageChannels')

model = ConvDecoder()
model.hparams

Expected behavior
There should be a way to use save_hyperparameters with Data Classes

It would be great to have this. However, I wouldn't say this is a bug. save_hyperparameters was never designed with data classes in mind, but it was mentioned before.

@awaelchli I think it's a bug as a method should depend on the object not the context in which it's called--IIUC in this case the method can only be called from __init__, which is not documented.

ok adding back the bug label.

just realize that another issue with current implementation based on init args is that if you use the learning rate finder, which mutates the lr in the model, then this updated lr is not logged.

that's with the latest version? can you make a separate issue please? thanks

Yes, I think it’s appropriate to leave in same issue as the learning rate finder mutates the lr parameter of the LightningModule, which is reasonable, and the problem is that save_hyperparameters is based on the init args, when it should save parameters based on their current state when save_hyperparameters is called. Let me know if you think differently and happy to make another issue?

@tbenst would you like to send a PR with the changes? I'm still not convinced what the bug is.

I also think this should be fixed. I'm in the middle of switching some code over to Lightning and when I read about the save_hyperparameters() method it gave me the idea to get rid of a model config dataclass that I was using to store hyperparameters and just make the LightningModule itself a dataclass with all the hyperparameters on it. That way I can just write self.my_hparam instead of typing self.config.my_hparam all the time.
In the meantime, though, I think this should work: self.save_hyperparameters(**asdict(self)).

Hi, what's the current status of this issue? Is there any way to make a LightningModule also be a Python dataclass while still being able to use save_hyperparameters to load successfully from checkpoints?
Thanks!

@dave-epstein Does this work?
@dataclass()
class ConvDecoder(pl.LightningModule):
    imageChannels:int = 3

    def __init__(self, **kwargs)
        self.save_hyperparameters()
        super().__init__(**kwargs)

Thanks for the prompt response. This isn't working in my terminal (Python version 3.9.4, PL version 1.3.4). I get the following error: AssertionError: failed to inspect the obj init (L201, utilities/parsing.py, in save_hyperparameters), which is the same error I got when I tried this workaround:
@dataclass
class Test(LightningModule):
    x: int = 3
    y: float = 5
    def __post_init__(self): self.save_hyperparameters([f.name for f in fields(self)])

Sorry for the beginner questions but let's put save_hyperparameters aside for a second. How would we build a nn.Module with dataclass, without defining an init?
@dataclass
class BoringModel(LightningModule):

    a: int

    def __post_init__(self):
        # self.save_hyperparameters()
        self.layer = torch.nn.Linear(32, 2)  # does not work??

In this case, you add super().__init__() at the beginning of __post_init__'s body, and then it all works as expected. super() here is LightningModule, rather than something related to dataclass. Note that the dataclass decorator is not altering the object inheritance of the class, which can be seen by running BoringModel.mro().
Excuse me if this turns out not to be 100% accurate either, this is just the best of my understanding :)

I think you were trying to write an explicit __init__ and then forwarding all the parameters to the dataclass __init__. The problem is that dataclass will not generate an __init__ method if one is explicitly specified. So it seems that a more likely successful solution is one that allows passing arbitrary field names to save_hyperparameters without them having to appear in the __init__. I think this should be possible, since the frame inspection call used in get_init_args does give correct results.
That is, _, _, _, local_vars = inspect.getargvalues(f) on the correct frame (L132 of parsing.py) yields {'self': BoringModel(a=WHATEVER), 'a': WHATEVER}.

Yes, I think that makes sense to me.

Can't guarantee it covers all edge cases, running tests now. Here is the draft: #7992
Of course, any input highly welcome.

That change looks reasonable to me, but I'm also not a dataclass expert. I think a lot of the heavy lifting is done by fields, so the save_hyperparameters function should then automatically respect the semantics of the dataclass. Thanks for moving so fast on this!

Maybe I'm missing something here but I didn't find a release where this commit was added. Has it just not been incorporated yet?
Thanks!

This is a new feature that will be available with 1.4.
The 1.3.x releases contain bugfixes, but no new features.

Makes sense. Thanks :)


Asks for password (osascript) when changing server

Everytime I switch it says "osascript wants to make changes"
It didnt used to ask this...

Yes, but you upgraded to Catalina, and now Catalina requires this.


Include a markdown CHANGELOG.md in the repo

Today we have a CHANGES.md, but it looks like that isn't being kept up to date.  The changes recorded in /releases look great - it would be nice to have these in CHANGLOG.md like the other languages as well though.

I think this should be removed as this file is outdated. We can re-add the file when it is ready.

The split repos have this with our newest release tooling


Update AboutUs.md with my info

Closes #20

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:


Partial fix of PageSearchIndex

Partial fix of PageSearchIndex
https://github.com/concrete5/concrete5/issues/9358#issue-802102428
Adds ordering to the query to ensure that blocks within areas are indexed in their on-page order, but does not resolve the issue for area sequence, or for layouts or other accumulations of blocks within areas. Hence it is an improvement, but not a complete solution to a correctly sequenced search index.

This is a good fix, and it might actually improve more than you're assuming, because if you set up your site indexing using the proper area allowlist/disallowlist approach (i.e. only index content in certain areas, etc...) this fix might be all that you need.

Thanks.
The most common scenario I can imagine still causing problems is a layout in the middle of a Main area, so Main gets indexed before and after the layout, but without the content of the layout, then Main-1, Main-2 etc would be indexed after Main.


ReportOnly CA Policy issue with SurfaceHub

Currently we are facing issues with reportonly CA policys when they are assigned to a SurfaceHub. The DeviceAccount is not able to login to Teams (AAD Sign in Interrupted -> Device Authentication is required, Sign-in error code: 50097). On the Device itself the Teams app is showing a black background. After excluding the SurfaceHub Device Account from the reportonly CA policy, the login is working as expected again.

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

ID: 1f70889b-b30f-8295-c6d1-60a6c1d7fc7f
Version Independent ID: b322053d-123b-db51-8098-7c54328e2404
Content: What is Conditional Access report-only mode? - Azure Active Directory
Content Source: articles/active-directory/conditional-access/concept-conditional-access-report-only.md
Service: active-directory
Sub-service: conditional-access
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@Aron-Ziegler -
Thanks for brining this to our attention. We will investigate it further and update you shortly.

@Aron-Ziegler - You might be running on an older version of the Surface Hub. Please take a look at this - https://techcommunity.microsoft.com/t5/surface-it-pro-blog/new-surface-hub-os-update-released-for-public-preview/ba-p/1534823

@MonikaReddy-MSFT - Thank you for your reply. We will change to the Insider Build and test again.

@Aron-Ziegler - Great. At this moment, Since there is no doc update required, We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Split Differences

Task
The mask in images/ contains the differences between the two images. Each white pixel in the mask is a feature that doesn't have a match in the second image. Using morphology, modify the mask to combine the pixels as much as possible but at the same time it should contain multiple components.
E.g. mask1 contains multiple components but has a lot of noise while mask2 is clean but only has one part.
Look up what values should be used instead of using hard-coded values.
Code
Some starting code can be found in this branch (in splitDifferences.py):
https://github.com/vzat/comparing_images/tree/feature/split-differences
mask1

mask2

https://github.com/vzat/comparing_images/blob/master/differenceChecker.py#L395-L486


update to 0.6 for femtocleaner

Codecov Report

Merging #10 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #10   +/-   ##
=======================================
  Coverage   63.23%   63.23%
=======================================
  Files           2        2
  Lines          68       68
=======================================
  Hits           43       43
  Misses         25       25

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 1f2ad01...0a80b15. Read the comment docs.

Sorry I never noticed this.
Looks like the tests were still run on 0.5 on the JuliaGPU buildbot.


Consider allowing cookie creation to be configured, and to be deferred until user accepts

Session cookies are complicated that's why I wanted to use this crate :)
Some best practices:

https://cheatsheetseries.owasp.org/cheatsheets/Session_Management_Cheat_Sheet.html
https://techcommunity.microsoft.com/t5/iis-support-blog/session-state-and-session-cookies-best-practices/ba-p/714333

Taken from the Microsoft page (Fair Use ..  hope MS agrees)

Change the default session ID name. In ASP.NET, the default name is ASP.NET_SessionId. This immediately gives away that the application is ASP.NET and that that cookie contains the session ID value
Make the cookie name configurable

Make sure the length of the session ID is long enough to prevent brute force attacks. Recommended length is 128 bits
checked

Make sure to create the session ID in a completely random way. This ensures that attackers can’t guess the session ID by using predictability analysis checked

Ensure that the session ID does not contain any additional sensitive data. The data should be a random string of characters with no meaning
checked

HTTPS should be used for all session based applications handling sensitive data that depends on the user -  but it could be logged server side

Session cookies should be created with the Secure and HttpOnly attributes note secure wont work if not using https

Prevent concurrent sessions where possible optional and may be complex to implement use ip address / UserAgent?

Destroy sessions upon timeout, logoff, browser close or log-in from a separate location optionally store ip address and destroy session if it changes

Do not store any critical information in cookies. For example, do not store a user’s password in a cookie. As a rule, do not keep anything in a cookie that can compromise your application. Instead, keep a reference in the cookie to a location on the server where the data is checked

Set expiration dates on cookies to the shortest practical time. Avoid using permanent cookies allow to be configured / or left as a session cookie (by not setting expiration)

Consider encrypting information in cookies not useful in this case

Current code in src/manager.rs
hardcodes the session expiry duration:
sess.expires = Utc::now() + Duration::hours(6);

sets the cookie to expire in 20 years:
cookie.make_permanent();

Also in Europe legally you should not set a cookie until the user agrees.
https://www.cookielaw.org/your-cookie-law-rights/
So the cookie should only be created when the session is written to for the first time. Granted this could be handled by configuring layers and routers but at least an example would be good. However, seeing as most websites will get used in Europe as well it would be good to have this as default policy, i.e. when the user agrees to cookies then the session and cookie are created,.
Maybe it would be a good idea to allow all of the following to be configured by a configuration struct:
let cookie = Cookie::build("configuredname", "value")
    .domain("configured domain")
    .same_site(SameSite::Strict)
    .max_age(Duration::minutes(30)) //optional if not set expire on browser close
    .path("/")
    .secure(true)
    .http_only(true)
    .finish();

I could work on a PR if you are interested.

I just saw you were already planning some of the proposed enhancements
 //TODO: Make lifespan Adjustable to be Permenant, Per Session OR Based on a Set Duration from Config.

yes if you would like to help out feel free to. But also know this library should not do everything that the end user should be handling in Axum.  Though the Cookie stuff was a thing i wanted to add in later to help the end user set it up for HTTPS since currently it is not. Also creating a cookie for a Session is a must so we could check if one exists or not and make it so the end user cant get a session until the web back-end developer calls a function allowing it.
Also the Cookie only has a UUID so there is no actual data other than this that I am adding in this library to the cookie.
The Cookie name is configurable via https://github.com/AscendingCreations/AxumSessions/blob/main/src/config.rs#L57
I agree HTTPS is needed for sensitive data. I leave this choice up to the end user though so Adding in more configurations for the cookie can help with making their choice.
Anyways Feel free to help out.

The
Prevent concurrent sessions where possible optional and may be complex to implement use ip address / UserAgent?
This is not really much of a issue unless 2 people are using it at the same time which only way to prevent would be Secure Cookies. Which can be implemented pretty easily. Other than that as long as the Cookie itself is Secure and cant be copied between Sessions we can prevent a decent majority of Session stealing.
Storing a IP address to later destroy if it is different can make it more Secure but can also make it more aggravating to a end user. Especially if they where using a session to store Specific data and just went from a Coffee shop to there home for example. This could cause their site form or other information to be redone from scratch due to a login. So if this is Added it needs to be a Optional feature to the end user with a note saying that Data loss on IP switch can occur.  Id prefer implementing Secure Cookies first here.

@apps4uco hey Andy got any ideas how I should implement what is needed for the European Union laws? I have everything else in now other than that.


VPC not found when using ipam

I am trying to create a VPC with IPAM:
module "vpc" {
  source  = "aws-ia/vpc/aws"
  version = ">= 1.0.0"

  name     = var.network_map["example"].suffix
  az_count = 2

  vpc_ipv4_ipam_pool_id   = module.create_ipam.pools_level_2[var.network_map["example"].ipam_region].id
  vpc_ipv4_netmask_length = var.network_map["example"].netmask_length

  subnets = {
    public = {
      netmask                   = 24
      nat_gateway_configuration = "all_azs"
    }
    private = {
      netmask      = 24
      route_to_nat = true
    }
  }
}

And the first pass would fail with the following error:
│ Error: AWS SDK Go Service Operation Incomplete
│
│   with module.vpc.awscc_ec2_route_table.public["item"],
│   on .terraform/modules/vpc/main.tf line 47, in resource "awscc_ec2_route_table" "public":
│   47: resource "awscc_ec2_route_table" "public" {
│ Waiting for Cloud Control API service CreateResource operation completion returned: waiter state transitioned to FAILED. StatusMessage: The
│ 'vpc-XXXXXXXXXXXXXXXXXXX' does not exist (Service: Ec2, Status Code: 400, Request ID: ....
When I tried to rerun it (making no changes) the script would try to destroy the VPC which would fail because of the dependencies. It was trying to destroy the VPC because the first pass already created a VPC which assigned a cidr range and the 2nd pass would have a difference cidr range. I tried to resolve the initial failure by replacing all the vpc_id calls to the following, but it didn't do any good:
vpc_id             = local.create_vpc ? aws_vpc.main[0].id : local.vpc.id

I also tried putting depends-on statements for various resources thinking it might just need time, but that didn't help. It keeps throwing the same error even when its done toward the end of execution. I even put a data command in to check the VPC existed and that works without issue. The VPC does exist when I go look at it in the console so I'm unsure how to resolve this.

Im guessing you have a hard coded provider block for ... setting your destination region, etc... make sure that you also include a provider reference for awscc as we use both providers
example if only using for region:
provider "aws" {
  region = "us-east-1"
}

provider "awscc" {
  region = "us-east-1"
}

Yup! That looks like it solved the creation failure, but it did lead me to another issue, but I will open a new issue for that.

glad that solved it. ill be on the lookout for another issue
thanks for your feedback!


mmap_windows.go: flush() now calls FlushFileBuffers()

to match msync(,,MS_SYNC) used in mmap_unix.go. Fixes #5.

Thank you for the pull request and the detailed issue!


ScraperGetNeuralHash() is currently a wrapper around GetNeuralHash()

To maintain protocol compatibility of the new NN with the old one to allow for a smoother switchover, even a "soft fork" of the SB formation, the md5 neural hash calculations from the contract data (SB core data) have been maintained by having ScraperGetNeuralHash() wrap the older hash function. This is only intended to be temporary during co-operation of the the old and new NN, and must be changed to a more secure hash function, preferably the native Hash() function as is indicated in the code comments as part of the next mandatory after the rollout of the new NN.
Alternatives, or improvments to this approach should be documented here and implementation changes reference this issue.

This is addressed by https://github.com/gridcoin-community/Gridcoin-Research/pull/1488


Better multi device support

Currently there is no way to set different speed and acceleration settings for different devices.
Example from my own experince:
When I am on the go and using my laptop by itself the builtin touchpad requires the speed to be 60 to feel the same as when I dock the laptop and use the external Magic Trackpad (with community developed Windows Precision Drivers) which requires the speed to be set to 30.
This is only the case when using the ThreeFingerDrag normal operation of the different devices feels the same without any additional steps.

You are right, TFDOW already supports switching from one device to another, but there is no way to adjust settings for each device.
This is not a feature in my top priority but I'll look into it in the next months.


Cypress test. Z-order feature.

Cypress test. Z-order feature.
Motivation and context

How has this been tested?

Checklist

[X] I submit my changes into the develop branch
[ ] I have added description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[X] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[X] I have updated the license header for each file (see an example below)

# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

Coverage increased (+0.1%) to 61.65% when pulling 443a899d3304c1b2e1448cc6a33a5a5faf40d3cf on DmitriyOparin:do/cypress_test_case16_z_order_features into d70796db03ce19f029e5c74dd59f7d810bbf330c on openvinotoolkit:develop.


Atheros AR9271 WiFi USB dongle doesn't work.

Hello.
I'm trying to use a WiFi USB dongle (ALFA AWUS036NHA), which uses chipset Atheros AR9271. I've tested and used it with many other Linux distros without any kind of issue.
I've installed firmware-atheros, lsusb correctly detects the WiFi USB dongle, but I cannot see it with ifconfig.

This requires CONFIG_ATH9K_HTC which is actually set (to 'm') since day 1. What does the kernel console report (dmesg) when you plug in the stick?

I can read this. Looks like it gets disconnected as soon as I connect it.
[  238.260414] usb 3-1: USB disconnect, device number 3
[  255.947201] usb 3-1: new high-speed USB device number 4 using xhci-hcd
[  256.111663] usb 3-1: New USB device found, idVendor=0cf3, idProduct=9271, bcdDevice= 1.08
[  256.111678] usb 3-1: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[  256.111683] usb 3-1: Product: UB91C
[  256.111688] usb 3-1: Manufacturer: ATHEROS
[  256.111693] usb 3-1: SerialNumber: 12345

...but then it is correctly recognized by the USB core. No further printing after that? Does lsmod list ath9k_htc & Co.?

No other messages after that.
Moreover...
 :~$ lsmod | grep ath {no output}
Thank you for your help.

Does modprobe ath9k_htc work?
What image version are you using?

sudo modprobe ath9k_htc modprobe: FATAL: Module ath9k_htc not found in directory /lib/modules/4.19.94-rt39
I suppose this is the image version, right?
v2.1(release):v2.1-421-g996d37930-dirty

Ok, Industrial OS. Then you are actually on the wrong issue tracker because the kernel config of that image is not managed here. Please file a request via the support forum.

Oh, I'm sorry. Thank you.


Kind-of Useful...

...but seems a bit contradictory in places.  For example, the paragraph on returning null for common errors is followed by a heading saying do not return error codes.

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

ID: b1ea31f6-516f-100d-046e-1a0445d92824
Version Independent ID: a713e8c9-8210-761d-9ae7-238793825ff3
Content: Best Practices for Exceptions
Content Source: docs/standard/exceptions/best-practices-for-exceptions.md
Service: unspecified
Product: dotnet
GitHub Login: @mairaw
Microsoft Alias: mairaw

the paragraph on returning null for common errors is followed by a heading saying do not return error codes

How is that a contradiction? Returning null is not the same thing as returning an error code.


[ENHANCEMENT] Support Read only volumes (PVC/PV) and mounts

Describe the bug
mounting a pvc fails when setting readOnly in volume settings
To Reproduce

stock install longhorn v1.1.1
apply manifest:

apiVersion: v1
kind: Pod
metadata:
  name: readonly-test
spec:
  containers:
    - name: alpine
      image: alpine
      command:
        - /bin/sh
        - -c
        - sleep 1000000
      volumeMounts:
        - mountPath: /opt
          name: vol
  volumes:
    - name: vol
      persistentVolumeClaim:
        claimName: vol
        readOnly: true
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: vol
spec:
  accessModes:
    - ReadWriteOnce
  storageClassName: longhorn
  resources:
    requests:
      storage: 1Gi

pod is stuck in container creating:
$ k get pod
NAME            READY   STATUS              RESTARTS   AGE
readonly-test   0/1     ContainerCreating   0          10m

with events
$ k describe pod readonly-test
Name:         readonly-test
Namespace:    default
Priority:     0
Node:         medea/<IP_ADDRESS>
Start Time:   Thu, 06 May 2021 21:18:42 +0200
Labels:       <none>
Annotations:  <none>
Status:       Pending
IP:
IPs:          <none>
Containers:
  alpine:
    Container ID:
    Image:         alpine
    Image ID:
    Port:          <none>
    Host Port:     <none>
    Command:
      /bin/sh
      -c
      sleep 1000000
    State:          Waiting
      Reason:       ContainerCreating
    Ready:          False
    Restart Count:  0
    Environment:    <none>
    Mounts:
      /opt from vol (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-qqbvf (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             False
  ContainersReady   False
  PodScheduled      True
Volumes:
  vol:
    Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
    ClaimName:  vol
    ReadOnly:   true
  kube-api-access-qqbvf:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   BestEffort
Node-Selectors:              <none>
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type     Reason                  Age                   From                     Message
  ----     ------                  ----                  ----                     -------
  Warning  FailedScheduling        11m                   default-scheduler        0/1 nodes are available: 1 persistentvolumeclaim "vol" not found.
  Warning  FailedScheduling        11m (x2 over 11m)     default-scheduler        0/1 nodes are available: 1 pod has unbound immediate PersistentVolumeClaims.
  Normal   Scheduled               11m                   default-scheduler        Successfully assigned default/readonly-test to medea
  Normal   SuccessfulAttachVolume  10m                   attachdetach-controller  AttachVolume.Attach succeeded for volume "pvc-97cac525-7382-4331-95b4-bd22d0365a5f"
  Warning  FailedMount             2m16s (x4 over 9m1s)  kubelet                  Unable to attach or mount volumes: unmounted volumes=[vol], unattached volumes=[vol kube-api-access-qqbvf]: timed out waiting for the condition
  Warning  FailedMount             32s (x13 over 10m)    kubelet                  MountVolume.SetUp failed for volume "pvc-97cac525-7382-4331-95b4-bd22d0365a5f" : rpc error: code = FailedPrecondition desc = Not support readOnly
  Warning  FailedMount             1s                    kubelet                  Unable to attach or mount volumes: unmounted volumes=[vol], unattached volumes=[kube-api-access-qqbvf vol]: timed out waiting for the condition

Expected behavior
volume mounted and pod running
Log
didn't see any relevent logs
Environment:

Longhorn version: v1.1.1
Installation method (e.g. Rancher Catalog App/Helm/Kubectl): kubectl
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: single node bare metal kubeadm v1.21.0

Number of management node in the cluster: 1
Number of worker node in the cluster: 1?

Node config

OS type and version: Linux medea 5.11.16-arch1-1 #1 SMP PREEMPT Wed, 21 Apr 2021 17:22:13 +0000 x86_64 GNU/Linux
CPU per node: 8core/16thread
Memory per node: 64GB
Disk type(e.g. SSD/NVMe): HDD
Network bandwidth between the nodes: single node

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): Baremetal Hetzner AX51
Number of Longhorn volumes in the cluster: 2

Additional context
setting readOnly in the container volumeMounts succeeds, but I'm working with a controller that hardcodes setting the readOnly option in the pvc settings

We currently don't really support readonly volumes.
I left some comments and explanation in this issue https://github.com/longhorn/longhorn/issues/1927

cc @innobead I added this to backlog candidate, for you and @yasker to have look at if this is something we want to support.

For testing you can add an e2e test that uses POD + Readonly PVC

Can be tested together with longhorn/longhorn#1859

Validation: PASSED
Test(1): Create ReadOnly PVC

Create a read-only PVC, consumed by workload using

apiVersion: v1
kind: Pod
metadata:
  name: readonly-test
spec:
  containers:
    - name: alpine
      image: alpine
      command:
        - /bin/sh
        - -c
        - sleep 1000000
      volumeMounts:
        - mountPath: /opt
          name: vol
  volumes:
    - name: vol
      persistentVolumeClaim:
        claimName: vol
        readOnly: true
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: vol
spec:
  accessModes:
    - ReadWriteOnce
  storageClassName: longhorn
  resources:
    requests:
      storage: 1Gi

make sure the workload is running, and exec into the workload, make sure you can't write into the volume, and you get the following error. > touch: test.txt: Read-only file system

Test(2): Create ReadOnly PVC using a storage class that support PV encryption PASSED

Repeat the previous test using an encrypted volume

make sure the workload is running, and exec into the workload, make sure you can't write into the volume, and you get the following error. > touch: test.txt: Read-only file system